/* Lightning Fast Repair: the repair flow, booking and the cart. Tokens and the cut-corner plates come from styles.css. */

dialog { color: var(--text); }
dialog::backdrop { background: rgb(4 5 7 / .74); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); animation: fade .3s ease-out; }
@keyframes fade { from { opacity: 0; } }
@keyframes sheet-in { from { opacity: 0; transform: translateY(22px) scale(.975); } }
@keyframes drawer-in { from { opacity: 0; transform: translateX(46px); } }
@keyframes flow-in { from { opacity: 0; transform: scale(1.035); filter: blur(10px); } }
@keyframes step-in { from { opacity: 0; transform: translateX(calc(var(--dir, 1) * 34px)); filter: blur(4px); } }
@keyframes title-in { from { opacity: 0; transform: translateX(calc(var(--dir, 1) * 52px)); filter: blur(7px); } }
@keyframes picked { 0% { --fill: #15181C; } 45% { --fill: #8FE9FF; } 100% { --fill: #1D3640; } }
@keyframes lcd-on { 0% { opacity: 0; } 35% { opacity: 1; } 45% { opacity: .4; } 60%, 100% { opacity: 1; } }

/* ---------- sheets: booking and the cart ---------- */
.sheet { --c: 22px; border: 0; padding: 30px clamp(18px, 4vw, 36px) 32px; width: min(660px, calc(100vw - 20px)); max-height: calc(100dvh - 20px); overflow-y: auto; overscroll-behavior: contain;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  background:
    linear-gradient(135deg, transparent 50%, #56606B 50% calc(50% + 1.2px), transparent calc(50% + 1.2px)) top left / var(--c) var(--c) no-repeat,
    linear-gradient(135deg, transparent calc(50% - 1.2px), #56606B calc(50% - 1.2px) 50%, transparent 50%) bottom right / var(--c) var(--c) no-repeat,
    radial-gradient(120% 60% at 80% 0%, rgb(143 233 255 / .06), transparent 60%), #111418;
  box-shadow: inset 0 0 0 1px #56606B; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.sheet[open] { animation: sheet-in .42s var(--ease-out); }
.sheet h2 { font-size: clamp(24px, 3.4vw, 30px); margin: 8px 0 20px; padding-right: 44px; }
.sheet h3 { font-size: 19px; margin: 18px 0 10px; }
.drawer { margin-right: 10px; width: min(470px, calc(100vw - 20px)); }
.drawer[open] { animation: drawer-in .45s var(--ease-out); }
.x { --c: 8px; position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; color: var(--text); cursor: pointer; --fill: #1B1F24; --edge: #39404A; }
.x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; transition: transform .35s var(--ease-out); }
.x:hover { --edge: #8FE9FF; color: var(--arc-core); }
.x:hover svg { transform: rotate(90deg); }

/* steps: a numbered run, the current one lit */
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 18px; list-style: none; padding: 0; margin: 0; counter-reset: crumb; font: 620 14px/1.2 var(--font); font-stretch: 88%; letter-spacing: .02em; color: var(--dim); }
.crumbs li { counter-increment: crumb; display: flex; align-items: center; gap: 7px; transition: color .3s; }
.crumbs li::before { content: counter(crumb, decimal-leading-zero); color: inherit; opacity: .75; }
.crumbs li.done { color: var(--mute); }
.crumbs li.on { color: var(--arc-core); }
.crumbs li.on::before { color: var(--arc); opacity: 1; }

/* ---------- forms ---------- */
.field { margin-bottom: 14px; }
.field label, .field .lbl { display: block; font-weight: 650; margin-bottom: 7px; font-size: 15.5px; }
.field .opt { font-weight: 420; color: var(--mute); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; border: 1px solid var(--line-2); border-radius: 2px; background: rgb(7 9 11 / .6); padding: 11px 13px; font-size: 16px; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 88px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--arc); box-shadow: 0 0 0 3px rgb(143 233 255 / .14); }
.field input::placeholder, .field textarea::placeholder { color: #7B848E; }
.field input[type="file"] { padding: 8px; font-size: 14.5px; color: var(--mute); cursor: pointer; }
input[type="file"]::file-selector-button { margin-right: 12px; min-height: 34px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 2px; background: var(--control); color: var(--text); font: inherit; font-weight: 650; cursor: pointer; transition: border-color .2s, color .2s; }
input[type="file"]:hover::file-selector-button { border-color: var(--arc); color: var(--arc-core); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }
.pick { display: grid; gap: 8px; margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
.pick legend { font-weight: 680; margin-bottom: 10px; padding: 0; }
.pick label { --c: 9px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 13px 15px; cursor: pointer; --fill: #171A1F; --edge: #2F353D; }
.pick label:hover { --edge: #56606B; }
.pick label:has(input:checked) { --fill: #142229; --edge: #5FB9D2; }
.pick label:has(input:focus-visible) { outline: 2px solid var(--arc); outline-offset: 2px; }
.pick input { width: 20px; height: 20px; accent-color: var(--arc); margin: 0; }
.pick .pp { font-stretch: 125%; font-weight: 800; font-size: 15px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pick small { display: block; color: var(--mute); font-size: 13.5px; line-height: 1.4; margin-top: 2px; }
@media (max-width: 520px) {
  .pick label { grid-template-columns: auto minmax(0, 1fr); row-gap: 4px; }
  .pick .pp { grid-column: 2; justify-self: start; color: var(--arc-core); }
  .sheet .crumbs li:not(.on) { position: absolute; visibility: hidden; }
}
.pick-group { font: 700 13px/1 var(--font); font-stretch: 100%; letter-spacing: .02em; color: var(--arc); margin: 16px 0 4px; }
.dep-lines { list-style: none; margin: 0 0 8px; padding: 0; font-size: 15px; }
.dep-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 2px; border-bottom: 1px dashed var(--line-2); font-variant-numeric: tabular-nums; }
.qty { display: inline-flex; align-items: center; gap: 6px; }
.qty select { min-height: 36px; border-radius: 2px; border: 1px solid var(--line-2); background: var(--control); padding: 0 6px; color: var(--text); }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 6px; margin: -6px -6px 8px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.day { --c: 8px; flex: none; min-width: 80px; padding: 11px 8px; border: 0; background: none; color: var(--text); cursor: pointer; text-align: center; font-weight: 720; line-height: 1.2; --fill: #171A1F; --edge: #2F353D; }
.day small { display: block; font-weight: 420; color: var(--mute); font-size: 13px; margin-top: 2px; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; padding: 6px; margin: 0 -6px; }
.time { --c: 8px; min-height: 48px; border: 0; background: none; color: var(--text); cursor: pointer; font-weight: 720; font-variant-numeric: tabular-nums; --fill: #171A1F; --edge: #2F353D; }
.day:hover, .time:hover { --edge: #56606B; }
.day[aria-pressed="true"], .time[aria-pressed="true"] { --fill: #8FE9FF; --edge: #EAFBFF; color: var(--ink); }
.day[aria-pressed="true"] small { color: #20444F; }
.sheet-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.summary { --c: 12px; padding: 15px 17px; margin: 0 0 18px; --fill: #171A1F; --edge: #2F353D; }
.summary p { margin: 0 0 4px; }
.summary p:last-child { margin: 0; }
.done-mark { width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 14px; background: var(--metal); clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); animation: tile-in .5s var(--spring); }
.done-mark svg { width: 34px; height: 34px; }
.done-mark path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .5s var(--ease-out) .25s forwards; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; margin: 8px 0 14px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--arc); flex: none; }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.cart-line small { color: var(--mute); }
.cart-line .rm { justify-self: start; }
.totals { margin: 16px 0; display: grid; gap: 5px; font-variant-numeric: tabular-nums; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-stretch: 112%; font-weight: 800; font-size: 19px; border-top: 2px solid var(--alu); padding-top: 10px; margin-top: 6px; }
.seg-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0; }
.seg-choice label { --c: 8px; display: flex; gap: 8px; align-items: center; justify-content: center; padding: 13px 10px; cursor: pointer; font-weight: 700; text-align: center; --fill: #171A1F; --edge: #2F353D; }
.seg-choice label:has(input:checked) { --fill: #8FE9FF; --edge: #EAFBFF; color: var(--ink); }
.seg-choice label:has(input:focus-visible) { outline: 2px solid var(--arc); outline-offset: 2px; }
.seg-choice input { position: absolute; opacity: 0; }
.paybox { display: grid; gap: 10px; }
.demo-pay { min-height: 54px; border-radius: 4px; border: 0; background: #FFC439; color: #111; font-weight: 800; cursor: pointer; font-size: 16.5px; }

/* ---------- the repair flow: full screen, one decision at a time ---------- */
.flow { border: 0; padding: 0; margin: 0; width: 100%; max-width: 100%; height: 100%; max-height: 100%; overflow-y: auto; overscroll-behavior: contain; color: var(--text);
  background:
    radial-gradient(90% 60% at 78% 8%, rgb(143 233 255 / .07), transparent 60%),
    linear-gradient(rgb(255 255 255 / .022) 1px, transparent 1px) 0 0 / 100% 44px,
    linear-gradient(90deg, rgb(255 255 255 / .022) 1px, transparent 1px) 0 0 / 44px 100%,
    var(--void);
  background-attachment: local, local, local, scroll; }
.flow[open] { animation: flow-in .5s var(--ease-out); }
.flow[open]::after { content: ''; position: fixed; inset: 0; z-index: 30; pointer-events: none; opacity: 0;
  background: linear-gradient(102deg, transparent 42%, rgb(143 233 255 / .1) 47%, rgb(234 251 255 / .75) 50%, rgb(143 233 255 / .1) 53%, transparent 58%) 0 0 / 300% 100% no-repeat; animation: wipe .8s var(--ease-io) .05s; }
@keyframes wipe { 0% { background-position: 120% 0; opacity: 1; } 100% { background-position: -20% 0; opacity: 1; } }
.flow::backdrop { background: var(--void); }
.flow-top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px var(--pad); min-height: 64px;
  background: rgb(8 10 12 / .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.flow-top .crumbs { margin: 0; }
.flow .x { position: relative; top: auto; right: auto; flex: none; }
.flow-top .crumbs { flex: 1; min-width: 0; }
.x.back svg { width: 20px; height: 20px; }
/* picking a ride for the parts finder: only the first two steps apply */
.flow[data-pick] .crumbs li:nth-child(n+3) { display: none; }
.x.back:hover svg { transform: translateX(-3px); }
/* the keys, for anyone on a keyboard */
.flow-keys { display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 900px) {
  .flow-keys { position: sticky; bottom: 0; z-index: 9; display: flex; gap: 26px; align-items: center; margin: 0; padding: 11px var(--pad); color: var(--dim); font: 600 13px/1 var(--font); font-stretch: 88%; letter-spacing: .02em;
    background: rgb(8 10 12 / .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
  .flow-keys span { display: inline-flex; align-items: center; gap: 4px; }
  .flow-keys kbd { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; color: var(--mute); box-shadow: inset 0 0 0 1px var(--line-2); border-radius: 3px; font-size: 12px; }
  .flow-keys kbd:last-of-type { margin-right: 6px; }
  .flow-grid { min-height: calc(100% - 64px - 47px); }
}
.flow-prog { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; }
.flow-prog i { display: block; height: 100%; transform-origin: left; transform: scaleX(var(--p, .2)); background: linear-gradient(90deg, rgb(143 233 255 / .25), var(--arc) 80%, var(--arc-core)); box-shadow: 0 0 12px rgb(143 233 255 / .9); transition: transform .7s var(--ease-out); }
.flow-grid { max-width: 1320px; margin: 0 auto; padding: clamp(20px, 3vw, 40px) var(--pad) 110px; display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr); gap: 24px clamp(28px, 4vw, 60px); align-items: start; }
.flow-job { position: sticky; top: 96px; padding-top: 42px; }
.flow-job .ride-art { width: 112px; height: 74px; color: #33383E; margin: 0 0 12px; }
.flow-job h3 { font-size: 19px; margin-bottom: 8px; overflow-wrap: anywhere; }
.flow-job p { margin: 0 0 4px; font-size: 14.5px; }
.flow-job .fine { color: #474D53; }
.flow-main { min-width: 0; }
.flow-main.enter > h2, .flow-main.enter > .fl-kicker { animation: title-in .6s var(--ease-out) backwards; }
.flow-main.enter > #flowBody { animation: step-in .55s var(--ease-out) backwards .07s; }
.flow-main > h2 { font-size: clamp(27px, 3.6vw, 44px); margin: 0 0 clamp(18px, 2.4vw, 28px); outline: none; max-width: 22ch; }
.fl-kicker { margin: 0 0 12px; font: 640 14.5px/1.2 var(--font); font-stretch: 88%; letter-spacing: .02em; color: var(--arc); }
.fl-h { font-size: 18px; margin: 32px 0 12px; }
.flow .tag .fine { color: #474D53; }
@media (max-width: 900px) {
  .flow-grid { grid-template-columns: 1fr; gap: 18px; }
  .flow-job { position: relative; top: auto; margin: 0; padding: 30px 18px 14px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 14px; align-items: center; clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%, 0 14px); }
  .flow-job::before { top: 8px; width: 11px; height: 11px; margin-left: -5.5px; }
  .flow-job .ride-art { width: 66px; height: 44px; margin: 0; grid-row: span 3; }
  .flow-job h3 { font-size: 16px; margin: 0; }
  .flow-top .crumbs li:not(.on) { position: absolute; visibility: hidden; }   /* still counted, so the number stays right */
}

/* 1. type and brand */
.flow .brand-tiles { grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); }
.flow .brand-tile, .flow .kind { animation: tile-in .5s var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 28ms); }
.fl-find { margin-top: 24px; max-width: 720px; }
.fl-more { margin: 16px 2px 0; font-size: 15px; }
.az-jump { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 8px; }
.az-jump button { min-width: 36px; min-height: 36px; border: 1px solid var(--line-2); background: transparent; color: var(--text); cursor: pointer; font-weight: 700; transition: border-color .2s, color .2s, background-color .2s; }
.az-jump button:hover { border-color: var(--arc); color: var(--arc-core); background: rgb(143 233 255 / .08); }
.az-h { font-stretch: 125%; font-weight: 800; font-size: 18px; color: var(--arc); margin: 20px 0 6px; padding-top: 8px; border-top: 1px solid var(--line-2); scroll-margin-top: 84px; }
.az-list { list-style: none; margin: 0; padding: 0; columns: 3 190px; column-gap: 22px; }
.az-list li { break-inside: avoid; }
.az-list button { background: none; border: 0; padding: 6px 0; color: var(--text); cursor: pointer; font-size: 15px; text-align: left; transition: color .15s, transform .25s var(--ease-out); }
.az-list button:hover { color: var(--arc-core); transform: translateX(4px); }

/* 2. the gallery of models */
.fl-filter { max-width: 440px; }
.gal-h span { color: var(--mute); font: 620 13px/1 var(--font); font-stretch: 84%; letter-spacing: .04em; margin-left: 6px; font-variant-numeric: tabular-nums; }
.models { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(164px, 1fr)); gap: 10px; }
.models li { display: grid; }
.model { --c: 11px; display: flex; flex-direction: column; align-items: stretch; padding: 0; border: 0; background: none; color: var(--text); cursor: pointer; text-align: left; font-weight: 650; font-size: 15px; line-height: 1.25; --fill: #121519; --edge: #2A3037;
  animation: tile-in .5s var(--ease-out) backwards; animation-delay: calc(min(var(--i, 0), 20) * 24ms); }
.model:hover { --edge: #56606B; --fill: #161B20; }
.model-pic { display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; clip-path: polygon(11px 0, 100% 0, 100% 100%, 0 100%, 0 11px);
  background: radial-gradient(70% 60% at 50% 60%, rgb(143 233 255 / .07), transparent 70%), linear-gradient(rgb(255 255 255 / .035) 1px, transparent 1px) 0 0 / 100% 16px, linear-gradient(90deg, rgb(255 255 255 / .035) 1px, transparent 1px) 0 0 / 16px 100%; }
.model-pic img { width: 100%; height: 100%; object-fit: cover; }
.model-pic .ride-art { width: 58%; height: auto; color: #9AA3AD; transition: color .25s, transform .5s var(--ease-out), filter .25s; }
.model:hover .model-pic .ride-art, .model:focus-visible .model-pic .ride-art { color: var(--arc-core); transform: scale(1.08) translateX(3px); filter: drop-shadow(0 0 8px rgb(143 233 255 / .55)); }
/* a model's own drawing: finer lines at this size, wheels turn when you point at it */
.model-pic .sch-card { width: 92%; --k: 2.6; }
.model-pic .sch-card.own { width: 66%; }
.model-pic .sch-card :is(.x, .w, .n) { display: none; }        /* at card size the outline does the talking */
.model-pic .sch-card .d { opacity: .5; }
.model-pic .sch-card .sch-svg :is(.o, .s, .bo) { stroke: #C9D0D7; transition: stroke .25s; }
.model-pic .sch-card .floor { display: none; }
.model:hover .sch-card .sch-svg :is(.o, .s, .bo), .model:focus-visible .sch-card .sch-svg :is(.o, .s, .bo) { stroke: var(--arc-core); }
.model:hover .sch-card .spin, .model:focus-visible .sch-card .spin { animation: spin 2.4s linear infinite; }
.model-name { display: block; padding: 10px 13px 13px; }
.fl-own { margin-top: 34px; max-width: 540px; }
.fl-own .fl-h { margin-top: 0; }
.fl-credits { margin-top: 18px; font-size: 13.5px; color: var(--mute); }
.fl-credits summary { cursor: pointer; }

/* 3. what is wrong: tap the part, or pick from the list */
.probe { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 30px); align-items: start; margin-bottom: 22px; }
@media (max-width: 1080px) { .probe { grid-template-columns: 1fr; } }
.probe-sch { --c: 18px; padding: 10px 14px 4px; --fill: rgb(10 12 15 / .7); --edge: #2F353D; }
.probe-sch .sch { --k: 1.5; }
.probe-sch .sch.own { width: min(100%, 430px); margin-inline: auto; }
@media (max-width: 520px) { .probe-sch .sch.own { width: min(100%, 310px); } }
.probe-hint { margin: 0 4px 10px; font: 600 14px/1.3 var(--font); font-stretch: 88%; letter-spacing: .02em; color: var(--mute); }
.issues { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.issue { --c: 9px; min-height: 56px; padding: 10px 14px; border: 0; background: none; color: var(--text); cursor: pointer; font-weight: 680; font-size: 15px; line-height: 1.22; text-align: left; --fill: #121519; --edge: #2A3037;
  animation: tile-in .45s var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 26ms); }
.issue:hover { --edge: #56606B; }
.issue.hint { --edge: #8FE9FF; }
.issue[aria-pressed="true"] { --fill: #17313B; --edge: #8FE9FF; color: var(--arc-core); }

/* 4. one question at a time, with the ride beside it and the part in question lit */
.ask { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.ask-view { position: sticky; top: 96px; margin-top: -30px; }
@media (max-width: 1180px) { .ask { grid-template-columns: 1fr; } .ask-view { display: none; } }
.answers { display: grid; gap: 10px; max-width: 640px; }
.answer { --c: 10px; display: flex; align-items: center; gap: 16px; min-height: 62px; padding: 10px 18px 10px 14px; border: 0; background: none; color: var(--text); cursor: pointer; font-weight: 650; font-size: 17px; line-height: 1.25; text-align: left; --fill: #121519; --edge: #2A3037;
  animation: tile-in .45s var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 45ms); }
.answer kbd { flex: none; display: grid; place-items: center; width: 30px; height: 30px; color: var(--arc); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 13px; transition: background-color .2s, color .2s; }
.answer:hover { --edge: #56606B; --fill: #161B20; }
.answer:hover kbd { background: var(--arc); color: var(--ink); }
.answer.picked { animation: picked .34s ease-out forwards; --edge: #8FE9FF; }
.answer.picked kbd { background: var(--arc); color: var(--ink); }
@media (hover: none) { .answer kbd { display: none; } .answer { padding-left: 18px; } }
.fl-code { display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap; }
.fl-code .field { margin: 0; }
.fl-code input { width: 9.5ch; min-height: 66px; font-family: 'DSEG7', var(--font); font-size: 30px; letter-spacing: .06em; text-transform: uppercase; background: var(--screen); color: var(--seg); border-color: #24414D; text-shadow: 0 0 14px rgb(127 233 255 / .7); animation: lcd-on .7s ease-out; }
.fl-code .btn { min-height: 66px; }

/* 5. what it needs */
.need { padding: 0 0 22px; margin: 0 0 22px; border-bottom: 1px solid var(--line); animation: tile-in .55s var(--ease-out) backwards; }
.need h3 { font-size: 22px; margin: 0 0 10px; }
.need p { max-width: 68ch; }
.need h4, .fl-card h4 { font-stretch: 100%; font-size: 15px; font-weight: 720; letter-spacing: 0; margin: 16px 0 6px; }
.tries, .fl-tools, .fl-links { margin: 0; padding-left: 1.2em; }
.tries li, .fl-tools li, .fl-links li { margin-bottom: 5px; }
.tries li::marker, .fl-tools li::marker, .fl-links li::marker { color: var(--arc); }
.stop { border-left: 3px solid var(--stop); background: rgb(255 106 92 / .11); padding: 11px 15px; font-weight: 640; }
.fl-safety { margin-bottom: 22px; }
.fl-card { --c: 16px; margin: 0 0 16px; padding: 22px 22px 18px; --fill: #111418; --edge: #2A3037; animation: tile-in .55s var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 70ms + .1s); }
.fl-card h3 { font-size: 19px; margin: 0 0 12px; }
.fl-result { max-width: 860px; }
.fl-price.tag { margin: 0 0 22px; padding-top: 44px; animation: drop .55s var(--spring) backwards .12s; }
.fl-price .est { grid-template-columns: 1fr auto; column-gap: 0; }
.fl-price .est div { display: contents; }
.fl-price .est dd { text-align: right; white-space: nowrap; padding-left: 14px; font-variant-numeric: tabular-nums; }
.fl-price .est-total dt, .fl-price .est-total dd { font-stretch: 125%; font-weight: 800; font-size: 21px; padding-top: 10px; border-top: 2px solid var(--ink); }
.fl-parts { list-style: none; margin: 0 0 10px; padding: 0; }
.fl-parts li { display: flex; justify-content: space-between; align-items: center; gap: 10px 16px; flex-wrap: wrap; padding: 11px 0; border-bottom: 1px solid var(--line); }
.fl-buy { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.fl-buy select { min-height: 44px; border-radius: 2px; border: 1px solid var(--line-2); background: var(--control); padding: 0 8px; color: var(--text); }
/* how hard it is at home: a four-bar gauge */
.diy { display: inline-flex; align-items: center; gap: 10px; margin-right: 8px; font-weight: 740; }
.meter { display: inline-grid; grid-auto-flow: column; gap: 3px; }
.meter i { width: 16px; height: 9px; background: var(--control); transform: skewX(-18deg); }
.diy-easy { color: var(--go); } .diy-medium { color: var(--arc); } .diy-hard { color: var(--caution); } .diy-shop { color: var(--stop); }
.diy-easy .meter i:nth-child(-n+1), .diy-medium .meter i:nth-child(-n+2), .diy-hard .meter i:nth-child(-n+3), .diy-shop .meter i { background: currentColor; box-shadow: 0 0 8px currentColor; }
.fl-guide { margin: 12px 0 4px; border: 1px solid var(--line-2); padding: 0 15px; }
.fl-guide summary { cursor: pointer; padding: 13px 0; font-weight: 700; }
.fl-guide[open] { border-color: #5FB9D2; }
.fl-guide ol { margin: 0 0 14px; padding-left: 1.3em; }
.fl-guide li { margin-bottom: 7px; }
.fl-guide li::marker { color: var(--arc); font-weight: 700; }
.fl-links { margin-top: 14px; }
.fl-zip { display: flex; gap: 10px 14px; align-items: flex-end; flex-wrap: wrap; }
.fl-zip .field { margin: 0; width: 9.5em; }
.fl-zip .btn { min-height: 50px; }
#flNear { margin-top: 12px; }
.fl-file { position: relative; }
.fl-file input { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
.fl-file:focus-within { outline: 2px solid var(--arc); outline-offset: 3px; }
.cut { margin: 16px 0 8px; }
.cut img { width: 100%; max-width: 360px; height: auto; background: #fff; box-shadow: 0 0 0 1px var(--line-2); }

@media (prefers-reduced-motion: reduce) {
  .done-mark path { stroke-dashoffset: 0; }
}
