/* The door check's own styles, from design/mockups/t11-door-check.html; tokens.css and site.css come from @showroom/ui. */
/* The module is a phone screen. On anything wider it sits as a phone-wide stage, centred, on the cloud background. */
html { background: var(--tedee-cloud); scroll-padding-bottom: calc(10rem + env(safe-area-inset-bottom, 0px)); } /* a control focused or brought into view never lands under the sticky bar, its strip included (mobile test findings, 14 Nov 2026) */
body { margin: 0; background: var(--tedee-cloud); --tedee-gutter: 1.25rem; }
.stage { max-width: 27rem; min-height: 100dvh; margin-inline: auto; background: var(--tedee-white); display: flex; flex-direction: column; }
@media (min-width: 27rem) { .stage { border-inline: 1px solid var(--tedee-line); } }
.door-b { display: grid; gap: var(--tedee-space-6); padding: var(--tedee-space-6) var(--tedee-gutter) var(--tedee-space-12); }
.app-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: var(--tedee-space-4) var(--tedee-gutter) 0; }
.app-bar__logo { grid-column: 2; height: 1.25rem; justify-self: center; }
.app-bar__close { grid-column: 3; justify-self: end; font-size: 1.5rem; line-height: 1; color: var(--tedee-ink); background: none; border: 0; min-width: var(--tedee-target); min-height: var(--tedee-target); display: grid; place-items: center; cursor: pointer; }
.app-bar__back { grid-column: 1; justify-self: start; font-size: .875rem; }
.app-bar__back.is-gone { visibility: hidden; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--tedee-link); text-decoration: underline; text-underline-offset: .18em; font: inherit; font-weight: 600; cursor: pointer; }
.progress li { font-size: .75rem; }
.cam { position: relative; aspect-ratio: 3 / 4; background: #1a232c; border-radius: var(--tedee-radius-control); overflow: hidden; color: var(--tedee-white); }
.cam video, .cam svg, .cam .cam__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cam--photo { aspect-ratio: 3 / 4; }
/* The first screen: three reasons in a row each, an icon in a cyan disc. */
.why { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--tedee-space-4); }
.why li { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: var(--tedee-space-3); align-items: start; }
.why i { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: rgba(52,207,253,.18); color: var(--tedee-ink); }
.why svg { width: 1.375rem; height: 1.375rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.why b { display: block; font-weight: 600; }
.why span { display: block; color: var(--tedee-muted); font-size: var(--tedee-text-small); line-height: 1.45; }
/* The person's earlier shot in the corner of the live camera, the chosen lock ringed. */
.cam__ref { position: absolute; left: .75rem; bottom: .75rem; width: 31%; aspect-ratio: 3 / 4; border-radius: 8px; overflow: hidden; border: 2px solid rgba(255,255,255,.9); box-shadow: 0 2px 8px rgba(0,0,0,.4); background: #1a232c; }
.cam__ref img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* The reading: the photo stays, a bar runs along the bottom. */
.cam--reading .cam__photo { filter: brightness(.85); }
.cam__bar { position: absolute; left: .75rem; right: .75rem; bottom: .75rem; height: .375rem; border-radius: 999px; background: rgba(255,255,255,.35); overflow: hidden; }
.cam__bar i { display: block; height: 100%; width: 0; background: var(--tedee-cyan); border-radius: inherit; transition: width .3s linear; }
.cam .target { position: absolute; border: 1.5px dashed rgba(255,255,255,.55); border-radius: 6px; pointer-events: none; }
.cam .target--door, .cam .target--doorTwo, .cam .target--inside, .cam .target--insideTwo { inset: 14% 30% 10% 30%; }
.cam .target--pivot { inset: 8% 16% 6% 16%; }
.cam .target--closer, .cam .target--scale { inset: 36% 36%; border-radius: 50%; }
/* The drawn scenes: the camera, the ready cards, the pictures and the start screens' hero (mobile test findings, 14 Nov 2026: the hero drew them black). */
.cam .ln, .ready__pic .ln, .pic .ln, .hero--photo .ln { fill: none; stroke: rgba(255,255,255,.75); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.cam .fl, .ready__pic .fl, .pic .fl, .hero--photo .fl { fill: rgba(255,255,255,.06); stroke: rgba(255,255,255,.75); stroke-width: 1.4; stroke-linejoin: round; }
.cam .dm, .ready__pic .dm, .pic .dm, .hero--photo .dm { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 1; }
.cam .hi, .ready__pic .hi, .pic .hi, .hero--photo .hi { fill: none; stroke: var(--tedee-cyan); stroke-width: 2; stroke-dasharray: 5 4; }
.cam .hf, .ready__pic .hf, .pic .hf, .hero--photo .hf { fill: rgba(52,207,253,.14); stroke: var(--tedee-cyan); stroke-width: 1.5; }
.cam .tx, .ready__pic .tx, .pic .tx, .hero--photo .tx { font: 600 11px Manrope, sans-serif; fill: var(--tedee-cyan); }
.cam .mk, .ready__pic .mk, .pic .mk { fill: var(--tedee-ink); stroke: var(--tedee-white); stroke-width: 1.5; }
.cam .mt, .ready__pic .mt, .pic .mt { font: 700 10px Manrope, sans-serif; fill: var(--tedee-white); text-anchor: middle; }
/* The cut-out over the live camera and the objective at the top (the way an ID or face capture frames its subject). */
.cam .mask { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cam .mask__edge { fill: none; stroke: rgba(255,255,255,.9); stroke-width: 2; vector-effect: non-scaling-stroke; transition: stroke .2s; }
.cam.is-ok .mask__edge { stroke: var(--tedee-success); stroke-width: 3; }
.cam__head { position: absolute; top: 0; left: 0; right: 0; padding: .75rem .9rem 1.5rem; background: linear-gradient(rgba(0,0,0,.7), rgba(0,0,0,0)); color: #fff; pointer-events: none; }
.cam__title { margin: 0; font-weight: 700; font-size: 1.0625rem; line-height: 1.3; }
/* The ready card before a look. */
.ready { display: grid; gap: var(--tedee-space-4); }
.ready__pic { position: relative; height: min(36vh, 19rem); width: calc(min(36vh, 19rem) * .75); margin-inline: auto; border-radius: var(--tedee-radius-control); overflow: hidden; background: #1a232c; }
.ready__pic img, .ready__pic svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ready__steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: var(--tedee-space-3); font-size: 1.0625rem; }
.ready__steps li { display: grid; grid-template-columns: 1.75rem minmax(0, 1fr); gap: var(--tedee-space-3); align-items: start; counter-increment: s; }
.ready__steps li::before { content: counter(s); display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--tedee-ink); color: var(--tedee-white); font-size: .875rem; font-weight: 700; }
.cam__guide { position: absolute; top: .75rem; left: .75rem; right: .75rem; display: flex; justify-content: center; pointer-events: none; }
.pill { display: inline-flex; align-items: center; gap: .45em; padding: .4rem .85rem; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--tedee-ink); font-weight: 600; font-size: .875rem; line-height: 1.3; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.pill::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--tedee-cyan); }
.pill--ok::before { background: var(--tedee-success); }
.outline { position: absolute; pointer-events: none; }
.outline i { position: absolute; width: 22px; height: 22px; border: 3px solid var(--tedee-cyan); }
.outline i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 8px; }
.outline i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 8px; }
.outline i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 8px; }
.outline i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 8px; }
.cam__foot { position: absolute; left: .75rem; right: .75rem; bottom: .75rem; display: grid; gap: .5rem; justify-items: center; pointer-events: none; }
.cam__ctl { display: flex; gap: var(--tedee-space-3); align-items: center; justify-content: center; flex-wrap: wrap; margin-top: var(--tedee-space-3); }
.ring { width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 3px solid rgba(255,255,255,.3); border-top-color: var(--tedee-cyan); border-right-color: var(--tedee-cyan); animation: spin 1.6s linear infinite; }
.ring--done { border-color: var(--tedee-success); display: grid; place-items: center; font-weight: 700; color: var(--tedee-success); animation: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ring { animation: none; } }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; }
.chip { padding: .25rem .6rem; border-radius: 999px; background: rgba(26,35,44,.85); border: 1px solid rgba(255,255,255,.25); color: var(--tedee-white); font-size: .75rem; font-weight: 600; }
.chip--ok { border-color: var(--tedee-success); }
.confirm { display: flex; flex-wrap: wrap; gap: var(--tedee-space-3); align-items: center; padding: var(--tedee-space-4); border: 1px solid var(--tedee-line); border-radius: var(--tedee-radius-panel); background: var(--tedee-white); color: inherit; text-align: left; font: inherit; width: 100%; cursor: pointer; }
.confirm > div { flex: 1 1 11rem; min-width: 0; }
.confirm > .btn, .confirm__acts { flex: 0 0 auto; margin-left: auto; }
.confirm__acts { display: flex; gap: var(--tedee-space-2); }
.confirm__t { font-weight: 600; margin: 0; }
.confirm__p { font-size: var(--tedee-text-small); color: var(--tedee-muted); margin: 0; }
.badge { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--tedee-ink); color: var(--tedee-white); font-size: .75rem; font-weight: 700; }
/* What to have at hand (the canvas C0, 14 Nov 2026): the ruler and the keys. */
.need { border: 1.5px solid var(--tedee-cyan); border-radius: var(--tedee-radius-control); padding: .75rem .875rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: .625rem; background: rgba(52,207,253,.05); }
.need__k { grid-column: 1 / -1; margin: 0; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tedee-muted, #53606b); }
.need__photo img { display: block; width: 100%; height: 7rem; object-fit: cover; border-radius: 8px; }
.need__i { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.need__i span { display: grid; }
.need__i b { font-size: .9375rem; line-height: 1.2; }
.need__i small { font-size: .75rem; color: var(--tedee-muted, #53606b); }
.need__why { margin: 0; font-size: .8125rem; line-height: 1.35; color: var(--tedee-muted, #53606b); } /* R-99: what the second key is for */
.q { font-weight: 700; }
.choices { display: grid; gap: var(--tedee-space-2); }
.where { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--tedee-space-3); }
.where__i { display: grid; gap: .5rem; justify-items: center; align-content: start; text-align: center; padding: var(--tedee-space-4) 0; border: 1px solid var(--tedee-line); border-radius: var(--tedee-radius-panel); background: var(--tedee-white); color: inherit; font: inherit; font-weight: 600; cursor: pointer; }
.where__i svg { width: 4.5rem; height: 4.5rem; }
.where__i .ln { fill: none; stroke: var(--tedee-ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.where__i .fl { fill: var(--tedee-cloud); stroke: var(--tedee-ink); stroke-width: 1.5; }
/* The tile's padding named a spacing token that does not exist (--tedee-space-5: the scale has 4 and 6), so the browser
   dropped it and the words touched the border (found 15 Nov 2026). Room above and below; the names keep the tile's whole
   width, so none of them wraps that did not before; the line under a name gets its room at the sides. */
.where__i small { font-weight: 400; color: var(--tedee-muted); font-size: .75rem; padding-inline: var(--tedee-space-2); }
/* Start inside your home (D-29): the one place to start, nothing to choose. */
.where--one { grid-template-columns: minmax(0, 1fr); }
.where__i--one { cursor: default; padding: var(--tedee-space-6, 1.5rem) .75rem; }
.where__i--one svg { width: 6.5rem; height: 6.5rem; }
.where__i--one small { font-size: .8125rem; }
.fam { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--tedee-space-3); }
.fam__i { display: grid; grid-template-rows: 3.5rem auto auto; gap: .35rem; justify-items: center; text-align: center; padding: var(--tedee-space-4) var(--tedee-space-3); border: 1px solid var(--tedee-line); border-radius: var(--tedee-radius-panel); background: var(--tedee-white); color: inherit; font: inherit; font-size: .875rem; font-weight: 600; cursor: pointer; }
.fam__i[aria-current="true"] { border-color: var(--tedee-cyan-stroke); box-shadow: inset 0 0 0 1px var(--tedee-cyan-stroke); }
.fam__i svg { width: 3.5rem; height: 3.5rem; }
.fam__i .ln { fill: none; stroke: var(--tedee-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fam__i .fl { fill: var(--tedee-cloud); stroke: var(--tedee-ink); stroke-width: 1.6; }
.fam__i small { font-weight: 400; color: var(--tedee-muted); font-size: .75rem; line-height: 1.3; }
/* D-57 (27 Nov 2026). F1: the words under Start, a little air under the bar; "How we use your photos", the light sheet of
   "Steps and why" laid over the whole screen, the notice in short blocks, each a bold word and its sentence. */
.start-words { margin: .5rem 0 0; }
.callout--info > svg { color: var(--tedee-link); }
.vf__sheet.notice-sheet { position: fixed; inset: 0; z-index: 50; }
.notice { display: grid; gap: .625rem; }
.notice p { margin: 0; font-size: .9375rem; line-height: 1.45; color: var(--tedee-ink); }
.notice b { font-weight: 700; }
/* F2, "Continue on your phone": the code large and centred on white, the caption under it, Copy the link across the panel. */
.handoff { display: grid; gap: .75rem; padding: 1.25rem; }
.handoff__qr { justify-self: center; padding: .5rem; border-radius: 12px; background: #fff; line-height: 0; }
.handoff__qr svg { display: block; width: 15rem; height: 15rem; max-width: 100%; }
.handoff .small { margin: 0; }
.handoff__cap { text-align: center; font-weight: 600; }
.handoff__link { font-size: .875rem; }
/* F5: the check's number under the last screen's lines, and the quiet way to delete it. */
.hero p.hero__num { margin-top: .5rem; color: #fff; }
.hero__num b { font-weight: 700; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.hero .linkbtn--quiet { color: rgba(255,255,255,.72); font-weight: 500; font-size: .875rem; }
.hero .hero__sep { color: rgba(255,255,255,.5); }
.fact-chip { display: inline-flex; align-items: center; gap: .35em; padding: .1rem .5rem; border: 1px dashed var(--tedee-warning); border-radius: 4px; color: var(--tedee-warning); font-size: .75rem; font-weight: 700; }
[data-status] { display: inline-flex; align-items: center; padding: .1rem .5rem; border: 1px dotted var(--tedee-muted); border-radius: 4px; color: var(--tedee-muted); font-size: .75rem; font-weight: 700; }
/* The journey as designed (door-check.md §12r, the canvas row X): one frame, the bar, the strip, the facts, the pills. */
.app-bar { grid-template-columns: 1fr auto 1fr; }
.app-bar__back { grid-column: 1; justify-self: start; display: inline-flex; align-items: center; gap: .15rem; min-height: var(--tedee-target); padding: 0 .25rem; background: none; border: 0; font: inherit; font-weight: 600; font-size: .9375rem; color: var(--tedee-ink); cursor: pointer; }
.app-bar__back svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.app-bar__cancel { grid-column: 3; justify-self: end; min-height: var(--tedee-target); padding: 0 .25rem; background: none; border: 0; font: inherit; font-weight: 500; font-size: .9375rem; color: var(--tedee-muted); cursor: pointer; }
.app-bar__cancel.is-gone, .app-bar__back.is-gone { visibility: hidden; }
.app-bar__logo { visibility: hidden; }
.stage.has-logo .app-bar__logo { visibility: visible; }
.door-b { display: flex; flex-direction: column; min-height: calc(100dvh - 4rem); gap: var(--tedee-space-4); }
.grow { flex: 1 1 0; min-height: var(--tedee-space-2); }
.stack-2 { display: grid; gap: var(--tedee-space-2); }
.foot { position: sticky; bottom: 0; display: grid; gap: .5rem; padding: .625rem 0 calc(.75rem + env(safe-area-inset-bottom, 0px)); margin-bottom: -1.5rem; background: #fff; box-shadow: 0 -12px 12px -8px rgba(255,255,255,.95); }
.bar { display: flex; gap: .625rem; }
.bar__sec, .bar__pri { flex: 1; min-height: 3.25rem; padding: 0 .875rem; border-radius: 10px; font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.25; cursor: pointer; }
.bar__pri { background: var(--tedee-ink); color: #fff; border: 1px solid var(--tedee-ink); }
.bar__pri:disabled { background: #e8ebee; color: var(--tedee-muted); border-color: #e8ebee; cursor: default; }
.bar__sec { background: #fff; color: var(--tedee-ink); border: 1.5px solid var(--tedee-line); }
.pic { position: relative; aspect-ratio: 3 / 4; max-height: 42vh; width: min(100%, calc(42vh * .75)); margin-inline: auto; border-radius: 12px; overflow: hidden; background: #1a232c; }
.cam__badge.cam__badge--right { left: auto; right: .75rem; }
.part--hinges { transform: translateX(-50%); }
.pic img, .pic svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.part { position: absolute; pointer-events: none; }
.part--hinges { background: rgba(52,207,253,.9); width: 4px !important; border-radius: 2px; }
.part--handle { border: 2.5px solid var(--tedee-cyan); border-radius: 8px; }
.tag { position: absolute; display: inline-flex; align-items: center; padding: .2rem .55rem; border-radius: 999px; background: var(--tedee-cyan); color: var(--tedee-ink); font-size: .75rem; font-weight: 700; white-space: nowrap; transform: translateY(-50%); box-shadow: 0 1px 3px rgba(0,0,0,.35); }
.pills { display: flex; flex-wrap: wrap; gap: .375rem; }
.pill { display: inline-flex; align-items: center; gap: .35em; padding: .3rem .65rem; border-radius: 999px; background: #eef1f3; color: var(--tedee-muted); font-weight: 600; font-size: .8125rem; line-height: 1.2; box-shadow: none; }
.pill::before { content: none; }
.pill--ok { background: #e4f6ea; color: #1a6b3a; } .pill--bad { background: #fdeaea; color: #a12b2b; } .pill--wait { background: #eef1f3; color: var(--tedee-muted); }
.cam { aspect-ratio: 3 / 4; max-height: 52vh; width: min(100%, calc(52vh * .75)); margin-inline: auto; }
.cam__pills { position: absolute; left: .75rem; right: .75rem; top: .75rem; }
.cam__badge { position: absolute; left: .75rem; top: .75rem; background: rgba(255,255,255,.94); }
/* R-100 (27 Nov 2026): the camera's status row on the viewfinder's edge, never on the subject frame. The frame is fixed
   (252 x 336 of the mask's 300 x 400, its top at 32), so its top edge lies --ftop below the camera's top: 32/400 of a 3 : 4
   picture whose width is --camw (the room's container units, as .vf .cam.vf__live sizes it). The switch-camera button sits
   at the row's right end (--btop down, up to 8 px, as the room allows), the pills at its left, centred on it, and both end
   above the frame's top edge. Where the camera is too small for that (a short room: the camera narrower than 272 px), the
   button stands beside the camera in the room's dark margin, at the row's height. Its 44 x 44 touch area reaches down. */
.vf__pic { --camw: min(100cqw, 75cqh); --ftop: calc(var(--camw) * .10667); --btop: clamp(0px, calc(var(--ftop) - 2.0625rem), .5rem); }
.vf__live .cam__pills { left: .5rem; right: 2.75rem; top: clamp(1px, min(calc(var(--btop) + 5.5px), calc(var(--ftop) - 18.5px)), 13.5px); flex-wrap: nowrap; gap: .25rem; }
.vf__live .cam__pills .pill { height: 1.0625rem; padding: 0 .45rem; font-size: .75rem; line-height: 1; white-space: nowrap; }
.cam__switch { position: absolute; z-index: 2; top: var(--btop); left: calc(50cqw + var(--camw) / 2 - .5rem - 1.75rem); width: 1.75rem; height: 1.75rem; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(16,24,32,.72); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); color: #fff; cursor: pointer; }
.cam__switch::before { content: ""; position: absolute; inset: 0 -.5rem -1rem -.5rem; }
.cam__switch svg { width: 1.125rem; height: 1.125rem; }
.cam__switch[hidden] { display: none; }
@container (max-height: 362px) { .cam__switch { left: calc(75cqw + var(--camw) / 4 - .875rem); } }
.cam__count { position: absolute; left: 50%; bottom: 2.75rem; transform: translateX(-50%); display: grid; justify-items: center; gap: .3rem; color: #fff; font-weight: 600; font-size: .8125rem; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.ring--count { width: 4rem; height: 4rem; display: grid; place-items: center; background: rgba(0,0,0,.35); border-width: 4px; animation: spin 3s linear infinite; }
.ring--count b { font-size: 1.25rem; color: #fff; animation: none; }
.cam__veil { position: absolute; inset: 0; background: rgba(16,24,32,.45); display: grid; place-content: center; justify-items: center; gap: .6rem; color: #fff; font-weight: 600; }
.cam__veil--dim { background: rgba(16,24,32,.5); }
.cam.is-rec .mask__edge { stroke: var(--tedee-cyan); stroke-width: 3; }
.box { display: inline-block; flex: none; width: 1.375rem; height: 1.375rem; border-radius: 6px; border: 2px solid var(--tedee-line); box-sizing: border-box; }
.box.on { border-color: var(--tedee-ink); background: var(--tedee-ink); position: relative; }
.box.on::after { content: ""; position: absolute; left: .4rem; top: .1rem; width: .3rem; height: .6rem; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.choice { display: flex; align-items: center; gap: .75rem; width: 100%; padding: .8rem .9rem; border: 1.5px solid var(--tedee-line); border-radius: 12px; background: #fff; color: inherit; font: inherit; font-size: .9375rem; font-weight: 600; text-align: left; cursor: pointer; }
.choice[aria-current="true"] { border-color: var(--tedee-ink); box-shadow: inset 0 0 0 1px var(--tedee-ink); }
.choice > span:not(.box):not(.badge):not(.ticks) { flex: 1; min-width: 0; } .choice small { display: block; font-weight: 500; color: var(--tedee-muted); font-size: .8125rem; }
.choice--row { padding: .6rem .8rem; min-height: 3.25rem; }
.choice--example img { display: block; width: 100%; height: clamp(8rem, 23vh, 12rem); object-fit: cover; }
.badge { display: inline-grid; place-items: center; flex: none; width: 1.875rem; height: 1.875rem; border-radius: 50%; background: #eef1f3; color: var(--tedee-ink); font-size: .8125rem; font-weight: 700; }
.ticks { display: flex; gap: .375rem; } .tick { width: 1.5rem; height: 1.5rem; border-radius: 50%; border: 1.5px solid var(--tedee-line); background: #fff; color: var(--tedee-muted); font: inherit; font-size: .6875rem; font-weight: 700; cursor: pointer; }
.tick.on { background: var(--tedee-ink); color: #fff; border-color: var(--tedee-ink); }
.seg { display: flex; padding: 3px; border-radius: 999px; background: #f3f5f6; border: 1px solid var(--tedee-line); }
.seg button { flex: 1; min-height: 2.5rem; border: 0; border-radius: 999px; background: transparent; font: inherit; font-size: .875rem; font-weight: 600; color: var(--tedee-muted); cursor: pointer; }
.seg button[aria-current="true"] { background-color: var(--tedee-ink) !important; color: #fff !important; }
.facts { display: flex; flex-direction: column; padding: .25rem 1rem; border: 1.5px solid var(--tedee-line); border-radius: 12px; }
.fact { display: flex; align-items: center; gap: .6rem; padding: .55rem 0; border-top: 1px solid var(--tedee-line); font-size: .9375rem; line-height: 1.3; }
.fact:first-child { border-top: 0; }
.fact i { flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: #eef1f3; display: grid; place-items: center; }
.fact i svg { width: 1rem; height: 1rem; fill: none; stroke: var(--tedee-ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.fact span { color: var(--tedee-muted); } .fact .chip { margin-left: auto; padding: .15rem .5rem; border-radius: 6px; background: #dff7ff; color: var(--tedee-ink); font-weight: 700; font-size: .9375rem; border: 0; text-align: right; }
/* The number and its two buttons give way on a narrow phone (the end-to-end review of 18 Nov 2026, SL-E2E-08: at 320 px the
   row was 300 px wide in a 245 px box, so the page was 369 px wide and + was cut off). The buttons never go under 2.75 rem,
   the smallest target; from 390 px on everything is the size it was. */
.stepper { display: flex; align-items: center; justify-content: center; gap: clamp(.4rem, 3vw, 1.1rem); padding: .5rem 0; min-width: 0; }
.stepper button { flex: none; width: clamp(2.75rem, 13.5vw, 3.25rem); height: clamp(2.75rem, 13.5vw, 3.25rem); border-radius: 50%; border: 1.5px solid var(--tedee-line); background: #fff; color: var(--tedee-ink); font-size: 1.5rem; cursor: pointer; }
.stepper span { font-size: 2.25rem; font-weight: 700; letter-spacing: -.02em; color: var(--tedee-muted); } .stepper span b { color: var(--tedee-ink); }
.stepper button { -webkit-touch-callout: none; user-select: none; touch-action: manipulation; }
.stepper__v { display: inline-flex; align-items: baseline; gap: .3rem; min-width: 0; font-size: clamp(1.5rem, 8vw, 2.25rem); font-weight: 700; letter-spacing: -.02em; color: var(--tedee-muted); }
.stepper .stepper__v span { font-size: inherit; }
.stepper__in { width: 4.5ch; min-width: 0; padding: 0; border: 0; border-bottom: 2px solid var(--tedee-line); background: transparent; font: inherit; font-size: inherit; font-weight: 700; text-align: center; color: var(--tedee-ink); -moz-appearance: textfield; }
.stepper__in::-webkit-outer-spin-button, .stepper__in::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper__in:focus { outline: none; border-bottom-color: var(--tedee-cyan); }
/* What is wrong with the number typed, beside the field (Astra's mobile test, MOB-18-02). */
.step-err { margin: 0; color: var(--tedee-error, #c62828); font-weight: 600; }
.step-err:empty { display: none; }
.field .input { width: 100%; margin-top: .3rem; padding: .7rem .9rem; border: 1.5px solid var(--tedee-line); border-radius: 10px; font: inherit; font-size: 1.0625rem; font-weight: 600; color: var(--tedee-ink); background: #fff; }
.field .input:focus { outline: none; border-color: var(--tedee-cyan); }
h1:focus { outline: none; }
/* A photo seen large (the owner's test, 17 Nov 2026): a layer over the screen, pinch or double-tap to zoom, drag to move. */
.thumb--btn { padding: 0; border: 0; cursor: zoom-in; }
.thumb--btn:focus-visible { outline: 2px solid var(--tedee-cyan); outline-offset: 2px; }
.pic__zoom { position: absolute; right: .5rem; bottom: .5rem; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff; display: grid; place-items: center; cursor: zoom-in; }
.pic__zoom svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
body.has-zoom { overflow: hidden; }
.zoom { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; background: #0b1117; color: #fff; }
.zoom__top { display: flex; align-items: center; justify-content: space-between; padding: .75rem 1rem; padding-top: max(.75rem, env(safe-area-inset-top, 0px)); font-size: .9375rem; }
.zoom__x { width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 1.1rem; cursor: pointer; }
.zoom__area { flex: 1; min-height: 0; display: grid; place-items: center; overflow: hidden; touch-action: none; cursor: grab; }
.zoom__area img { max-width: 100%; max-height: 100%; transform-origin: center; user-select: none; -webkit-user-drag: none; will-change: transform; }
.zoom__hint { margin: 0; padding: .6rem 1rem; padding-bottom: max(.6rem, env(safe-area-inset-bottom, 0px)); text-align: center; font-size: .8125rem; color: rgba(255,255,255,.65); }
.hero { display: grid; gap: .5rem; padding: 1.375rem 1.25rem; border-radius: 16px; background: var(--tedee-ink); color: #fff; }
.hero__k { font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--tedee-cyan); text-wrap: pretty; } /* D-56 (B): no word alone on the last line */
.hero h1 { margin: 0; font-size: 1.5rem; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; color: #fff; }
.hero p { margin: 0; font-size: .875rem; line-height: 1.45; color: rgba(255,255,255,.8); } .hero__note { color: var(--tedee-cyan) !important; }
.hero--no { background: #3a3f45; }
.hero--photo { position: relative; padding: 0; min-height: 12.5rem; overflow: hidden; }
.hero--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,24,32,0) 30%, rgba(16,24,32,.85)); }
.hero--photo .hero__over { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1rem; display: grid; gap: .25rem; z-index: 1; }
/* D-67: the start's two small lines, "About ten minutes" over "Eight photos and one recording", each on one line. */
.hero--photo .hero__k { white-space: nowrap; }
.tiles { display: flex; gap: .5rem; }
.tile { flex: 1; display: grid; justify-items: center; gap: .35rem; padding: .6rem .35rem; border-radius: 10px; background: #f3f5f6; font-size: .75rem; font-weight: 600; text-align: center; line-height: 1.3; }
.tile span { width: 1.625rem; height: 1.625rem; border-radius: 50%; background: var(--tedee-ink); color: #fff; display: grid; place-items: center; font-size: .75rem; font-weight: 700; }
.sheet { margin: auto -1.25rem -3rem; padding: 1.25rem 1.25rem 1.75rem; border-radius: 18px 18px 0 0; background: #fff; box-shadow: 0 -8px 30px rgba(16,24,32,.25); display: grid; gap: .75rem; }
.sheet__handle { width: 2.5rem; height: 4px; border-radius: 2px; background: var(--tedee-line); justify-self: center; }
div.box { display: grid; gap: .35rem; width: auto; height: auto; padding: .9rem 1rem; border: 1.5px solid var(--tedee-line); border-radius: 12px; }
.box__t { margin: 0; font-weight: 600; }
.where__i[aria-current="true"] { border-color: var(--tedee-ink); box-shadow: inset 0 0 0 1px var(--tedee-ink); }
.ready__steps { font-size: .9375rem; }
/* D-53: the card's one sentence, its photo, its count; the card at the camera; what needs the customer on the list. */
.pic__badge { position: absolute; left: .6rem; top: .6rem; background: rgba(255,255,255,.92); color: var(--tedee-ink); font-weight: 700; }
.example-pair { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; padding: 2.25rem .5rem .5rem; border-radius: 12px; background: var(--tedee-cloud); }
.example-pair .pic__badge { top: .35rem; }
.example-pair figure { margin: 0; }
.example-pair img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; border-radius: 8px; }
.example-pair figcaption { margin: .3rem .2rem 0; font-size: .8125rem; font-weight: 600; }
.cam__card { position: absolute; left: .75rem; top: .75rem; width: 4.5rem; aspect-ratio: 3 / 4; border: 2px solid rgba(255,255,255,.9); border-radius: 8px; overflow: hidden; padding: 0; background: #000; cursor: pointer; }
.cam__card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cam__peek { position: absolute; inset: 0; border: 0; padding: 0; background: #000; cursor: pointer; display: flex; flex-direction: column; }
.cam__peek img { flex: 1; min-height: 0; width: 100%; object-fit: contain; }
.cam__peek span { padding: .6rem .8rem; color: #fff; font-size: .9375rem; font-weight: 700; text-align: center; background: rgba(0,0,0,.6); }
.callout--warn { background: #fff4dc; border-color: #e7cf95; }
.needrow { display: flex; flex-direction: column; gap: .35rem; padding: .5rem 0; border-top: 1px solid #e7cf95; }
.needrow:first-of-type { border-top: 0; }
.needrow small { color: var(--tedee-muted); }
.needrow .cluster { gap: .5rem; }
.needrow .btn { min-height: 2.5rem; padding: .4rem .9rem; font-size: .9375rem; }
/* D-60 (G2): the box on "Before you send" as a comparison: the two side photos side by side, the same size, the whole
   3 : 4 picture, each with its label under it; one sentence; the box's two buttons as built. */
.pairshots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .625rem; margin: .125rem 0; }
.pairshots figure { margin: 0; display: grid; gap: .3rem; min-width: 0; }
.pairshots img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; background: #1a232c; }
.pairshots figcaption { font-size: .8125rem; line-height: 1.3; color: var(--tedee-ink); }
.pairshots figcaption b { font-weight: 700; }
.pairshots__say { margin: 0; font-size: .9375rem; line-height: 1.35; font-weight: 600; color: var(--tedee-ink); }


/* Collect first, check at the end (owner, 5 Nov; the canvas row Y). */
.bgline { display: inline-flex; align-items: center; gap: .5rem; align-self: flex-start; margin: 0; padding: .4rem .8rem; border-radius: 999px; background: #f3f5f6; font-size: .8125rem; font-weight: 600; color: var(--tedee-ink); }
.bgline i { width: .7rem; height: .7rem; border-radius: 50%; border: 2px solid var(--tedee-cyan); border-top-color: transparent; animation: spin 1.2s linear infinite; }
.bgline i.is-done { border-color: var(--tedee-success); animation: none; }
.bgline span { color: var(--tedee-muted); font-weight: 500; }
.shotlist { display: flex; flex-direction: column; border: 1.5px solid var(--tedee-line); border-radius: 12px; padding: .25rem .9rem; }
.shotrow { display: flex; align-items: center; gap: .75rem; padding: .5rem 0; border-top: 1px solid #e3e8eb; font-size: .9375rem; }
.shotrow:first-child { border-top: 0; }
.shotrow b { font-weight: 600; } .shotrow .pill { margin-left: auto; }
.shotrow--box { border: 1.5px solid var(--tedee-line); border-radius: 12px; padding: .6rem .9rem; }
.thumb { flex: none; width: 3rem; height: 3rem; border-radius: 8px; overflow: hidden; background: #1a232c; }
.thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* The one "Is this right?" (D-29): each photo with what was read on it. Edit on every line (D-35): the words and Edit are
   one button, the small photo beside them opens large; a line the person changed says so; a photo taken again shows it
   is being read. The list is a little tighter at the sides so the longest title keeps one line at 390 px. */
.shotrow__t { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.shotrow__t small { font-size: .8125rem; color: var(--tedee-muted, #53606b); line-height: 1.35; }
.shotrow__go { margin-left: auto; font-style: normal; font-size: 1.375rem; line-height: 1; color: var(--tedee-muted, #53606b); }
.shotlist--edit { padding-inline: .75rem; overflow: hidden; }
.shotlist--edit .shotrow { gap: .625rem; }
.shotrow__open { flex: 1; min-width: 0; display: flex; align-items: center; gap: .5rem; min-height: 3rem; margin: 0; padding: 0; background: none; border: 0; border-radius: 8px; text-align: left; font: inherit; color: inherit; cursor: pointer; }
div.shotrow__open { cursor: default; }
.shotrow__open .shotrow__t { flex: 1; }
.shotrow__edit { flex: none; padding: .6rem 0; font-size: .8125rem; font-weight: 600; color: var(--tedee-link); text-decoration: underline; text-underline-offset: .18em; }
.edtag { display: inline-block; margin-left: .45rem; padding: .05rem .4rem; border-radius: 6px; background: #dff7ff; color: var(--tedee-ink); font-style: normal; font-size: .6875rem; font-weight: 700; line-height: 1.45; white-space: nowrap; vertical-align: .06em; }
.shotrow__t small.shotrow__reading { color: var(--tedee-ink); font-weight: 600; }
/* D-37: a photo kept after it was refused, and the person's reason. */
.edtag.edtag--kept { background: #ffedc7; color: #4a3200; }
.shotrow__t small.shotrow__note { display: block; margin-top: .2rem; color: var(--tedee-ink); font-style: italic; }
.pill--kept { background: #ffedc7; color: #4a3200; border: 1px solid #e9c87a; }
.notefield { display: grid; gap: .35rem; }
.field textarea.notefield__in { display: block; min-height: 5.25rem; margin-top: 0; resize: vertical; line-height: 1.45; font-size: 1rem; }
.shotrow__reading i { display: inline-block; width: .7rem; height: .7rem; margin-right: .4rem; border-radius: 50%; border: 2px solid var(--tedee-cyan); border-top-color: transparent; animation: spin 1.2s linear infinite; vertical-align: -.08em; }
.shotrow.is-flash { animation: row-flash 1.8s ease-out 1; }
@keyframes row-flash { from { box-shadow: 0 0 0 .5rem #dff7ff; background: #dff7ff; } to { box-shadow: 0 0 0 .5rem transparent; background: transparent; } }
.foot .bgline { justify-self: start; }
/* One line opened with Edit (D-35): the photo, then two separate ways, each under its own small heading. */
.edhead { display: grid; gap: .15rem; }
.edopt { display: grid; gap: .5rem; }
/* A line's Save that did not reach the server (SL-E2E-04): above the bar, in sight wherever the form is scrolled. */
.unsaved { margin: 0; padding: .55rem .75rem; border-radius: 10px; background: #fdeaea; color: #7a1f1f; font-size: .875rem; line-height: 1.4; }
.unsaved b { color: #a12b2b; }
.edk { margin: 0; font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--tedee-muted); }
.edbox { display: grid; grid-template-columns: minmax(0, 1fr); gap: .85rem; padding: .9rem 1rem; border: 1.5px solid var(--tedee-line); border-radius: 12px; }
.edopt, .edbox .field, .notefield { min-width: 0; }
.edopt { grid-template-columns: minmax(0, 1fr); }
.edl { margin: 0; font-size: .9375rem; font-weight: 600; line-height: 1.3; color: var(--tedee-ink); }
.edbox .field { gap: .4rem; }
.edbox .field .input { margin-top: 0; }
.edbox .stepper { padding: .1rem 0; }
.edgo .badge svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: var(--tedee-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.meter { height: .5rem; border-radius: 4px; background: #e3e8eb; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--tedee-cyan); transition: width .4s; }
.dots { display: flex; gap: .375rem; margin: 0; padding: 0; list-style: none; }
.dots li { flex: 1; height: .3rem; border-radius: 3px; background: var(--tedee-line); }
.dots li.done { background: var(--tedee-ink); } .dots li.cur { background: var(--tedee-cyan); }
.checkhead { margin: 0; font-size: .8125rem; font-weight: 600; color: var(--tedee-muted); }
.countdown { display: grid; place-items: center; padding: 1rem 0; }
.ring--big { width: 8rem; height: 8rem; border-width: 8px; border-color: #e3e8eb; border-top-color: var(--tedee-cyan); border-right-color: var(--tedee-cyan); display: grid; place-items: center; }
.ring--big b { font-size: 1.75rem; font-weight: 700; font-variant-numeric: tabular-nums; animation: spin 1.6s linear infinite reverse; }
/* Past its time the ring says "Almost there": two short lines that fit inside it (they ran out of the ring at the size of the digits). */
.ring--big b.is-soon { max-width: 5.5rem; font-size: 1.0625rem; line-height: 1.2; text-align: center; }
@media (prefers-reduced-motion: reduce) { .bgline i, .ring--big, .ring--big b { animation: none; } }

/* The measuring shots (door-check.md §12aa): what we check before the shot is read, and the points the number was read between. */
.checks { display: flex; flex-direction: column; gap: .35rem; padding: .7rem .9rem; border-radius: 12px; background: var(--tedee-bg-soft, #f3f5f6); font-size: .9375rem; }
.checks b { font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--tedee-muted, #53606b); font-weight: 700; }
.checks span { display: flex; align-items: center; gap: .5rem; }
.checks i { display: grid; place-items: center; width: 1.125rem; height: 1.125rem; border-radius: 50%; font-style: normal; font-size: .6875rem; font-weight: 700; flex: none; }
.checks i.ok { background: #d9f5e7; color: #11845a; }
.checks i.no { background: #fde3e3; color: #c23b3b; }
/* What a photo is for (D-29): what is taken from it, numbered, then why. */
.checks i.n { background: #dff3fb; color: #00536e; }
.checks--why b + span, .checks--why b + p { margin-top: .1rem; }
.checks--why span + b, .checks--why p + b { margin-top: .35rem; }
.checks--why p { margin: 0; }
/* The follow-up (D-31, the canvas KF): the line in hand in place of the rail; the list of lines, done ones ticked. */
.fhead { display: flex; align-items: center; gap: .75rem; font-size: .8125rem; font-weight: 700; color: var(--tedee-muted, #53606b); }
.fhead__k { white-space: nowrap; }
.fhead__p { flex: 1; height: 4px; border-radius: 2px; background: var(--tedee-line); overflow: hidden; }
.fhead__p i { display: block; height: 100%; background: var(--tedee-cyan); }
.flist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.flist li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .75rem; align-items: start; padding: .75rem .85rem; border: 1.5px solid var(--tedee-line); border-radius: 12px; background: #fff; }
.flist li b { display: block; font-size: .9375rem; } .flist li small { display: block; color: var(--tedee-muted); font-size: .8125rem; margin-top: .15rem; }
.flist__n { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: #dff3fb; color: #00536e; font-weight: 700; font-size: .75rem; }
.flist li.is-done .flist__n { background: #d9f5e7; color: #11845a; }
.flist__k { font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tedee-muted); }
/* The points' names on the customer's photo (§12aa): a line from the point, the name at its end, under the point or over
   it; screens.ts readPoints places them so that none covers another or leaves the picture (V-06).
   Amber, said outright (V-06, 18 Nov 2026): the warning token is the brown of warning text, so the amber meant here never
   applied and the names were ink on brown. */
.pic .rps { position: absolute; width: 2px; transform: translateX(-50%); background: #ffb547; box-shadow: 0 0 0 1px rgba(0,0,0,.25); pointer-events: none; }
.pic .rpn { position: absolute; transform: translateX(-50%); font-size: .6875rem; font-weight: 700; line-height: 1.3; color: var(--tedee-ink); background: #ffb547; padding: .1rem .4rem; border-radius: 5px; white-space: nowrap; pointer-events: none; }
.pic .rpn.rpn--up { transform: translate(-50%, -100%); }


/* What is open for the installer, each with why (mobile test findings, 14 Nov 2026); a route that waits on a check is "?", never a tick. */
.hero ul.hero__open { margin: 0; padding-left: 1.1rem; list-style: disc outside; display: grid; gap: .3rem; font-size: .875rem; line-height: 1.45; color: rgba(255,255,255,.88); }
/* The demo, said on the result. Not .demo: that is the site's product demo stage, a two-column grid above 860 px. */
.sim-note { font-size: .875rem; }

/* D-54, the viewfinder (door-check.md §12ce; documentation/viewfinder-cards.md): the photo loop on a dark frame, the
   example taking the room the words leave. html.is-vf is set by the client while one of its screens is drawn. */
html.is-vf, html.is-vf body { background: #101820; }
html.is-vf .stage { height: 100dvh; min-height: 0; background: #101820; }
html.is-vf .app-bar { background: #101820; }
html.is-vf .app-bar__back, html.is-vf .app-bar__cancel { color: #fff; }
html.is-vf #main { flex: 1; min-height: 0; display: flex; flex-direction: column; }
html.is-vf .door-b { flex: 1; min-height: 0; padding: 0; gap: 0; }
.vf { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; color: #fff; padding-top: .75rem; }
.vf > .progress { padding: 0 var(--tedee-gutter) .5rem; gap: 4px; }
.vf > .progress li { font-size: 0; gap: 0; color: transparent; }
.vf > .progress li::before { background: #3a4652; }
.vf > .progress li[data-s="done"]::before { background: #fff; }
.vf > .progress li[data-s="current"]::before { background: var(--tedee-cyan); }
.vf > .fhead { padding: 0 var(--tedee-gutter) .5rem; color: #aeb8c1; }
.vf > .fhead .fhead__p { background: #3a4652; }
/* the picture's room: the example placed by the client from its keep box (placeExample) */
.vf__pic { position: relative; flex: 1 1 0; min-height: 9rem; overflow: hidden; container-type: size; }
.vf__ex { position: absolute; left: 0; top: 0; width: 100%; height: auto; max-width: none; display: block; user-select: none; -webkit-user-select: none; }
.vf__top { position: absolute; left: .75rem; right: .75rem; top: .625rem; display: flex; flex-wrap: wrap; gap: .375rem; align-items: center; pointer-events: none; }
.vf__chip { display: inline-flex; align-items: center; gap: .4rem; margin: 0; padding: .4rem .65rem; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--tedee-ink); font-size: .75rem; font-weight: 700; line-height: 1; white-space: nowrap; }
.vf__chip--read { margin-left: auto; background: rgba(16,24,32,.82); color: #fff; }
.vf__chip--read i { width: .6rem; height: .6rem; border-radius: 50%; border: 2px solid var(--tedee-cyan); border-top-color: transparent; animation: spin 1.2s linear infinite; }
.vf__chip--read i.is-done { border-color: #6fd3a0; animation: none; }
/* D-60 (G2): the band at the one change of side, across the top of photo 7's example: solid Tedee cyan, dark text; the
   customer's own photo of the same subject inside on the left, "Now go outside" on the right; the chips under it, the
   example under both (main.ts passes the strip they take to placeExample). */
.gohead { position: absolute; left: 0; right: 0; top: 0; z-index: 1; display: flex; flex-direction: column; gap: .5rem; pointer-events: none; }
.gohead .vf__top { position: static; padding: 0 .75rem; }
.goband { display: flex; align-items: center; gap: .875rem; padding: .625rem var(--tedee-gutter) .625rem .875rem; background: var(--tedee-cyan); color: var(--tedee-ink); }
.goband__was { flex: none; margin: 0; display: grid; justify-items: center; gap: .3rem; }
.goband__was img { display: block; width: 3.5rem; height: 3.5rem; border-radius: 10px; object-fit: cover; box-shadow: 0 0 0 2px rgba(16,24,32,.2); }
.goband__was figcaption { font-size: .6875rem; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.goband__go { min-width: 0; display: grid; gap: .25rem; }
.goband__t { margin: 0; font-size: 1.375rem; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
.goband__s { margin: 0; font-size: .875rem; line-height: 1.3; font-weight: 600; }
/* the camera, the shot, the reading: the whole 3 : 4 picture, never cropped to fill the room */
.vf .cam.vf__live { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: min(100%, calc(52vh * .75)); width: min(100cqw, 75cqh); max-height: none; height: auto; aspect-ratio: 3 / 4; margin: 0; border-radius: 10px; }
.vf__live .vf__chip--read { position: absolute; left: .625rem; bottom: .625rem; }
.vf__live .cam__card { left: auto; top: auto; right: .625rem; bottom: .625rem; width: 4.75rem; }
/* the words, docked under the picture */
.vf__panel { flex: none; max-height: 62%; overflow-y: auto; display: flex; flex-direction: column; gap: .25rem; padding: .75rem var(--tedee-gutter) calc(.875rem + env(safe-area-inset-bottom, 0px)); }
.vf__k { margin: 0; font-size: .6875rem; line-height: 1.4; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: #aeb8c1; }
.vf__k:focus { outline: none; }
/* D-56 (B): the sentence fills the line and wraps only when it must, never one word alone on its last line (was `balance`, which broke every two-line sentence near its middle). */
.vf__lead { margin: 0; font-size: 1.0625rem; line-height: 1.3; font-weight: 700; color: #fff; text-wrap: pretty; }
.vf__legend { list-style: none; counter-reset: m; margin: .125rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .1rem .75rem; font-size: .8125rem; line-height: 1.55; color: #cfd8df; }
.vf__legend li { counter-increment: m; display: inline-flex; align-items: center; gap: .3rem; }
.vf__legend li::before { content: counter(m); display: inline-grid; place-items: center; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--tedee-cyan); color: var(--tedee-ink); font-size: .6875rem; font-weight: 800; }
.vf__small { margin: .125rem 0 0; font-size: .75rem; line-height: 1.4; color: #aeb8c1; }
.vf__small .linkbtn { color: #fff; }
.vf__note { display: block; width: 100%; margin: 0 0 .375rem; padding: .5rem .7rem; border: 0; border-left: 3px solid var(--tedee-cyan); border-radius: 8px; background: rgba(52,207,253,.14); color: #d9f5ff; font: inherit; font-size: .8125rem; line-height: 1.35; text-align: left; }
.vf__note b { color: #fff; }
.vf__note--need { min-height: 2.75rem; background: #fff4dc; color: #5c4000; border-left-color: #d99a00; cursor: pointer; }
.vf__note--need b { color: #3d2a00; }
.vf__note--need .vf__do { font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.vf__note--error { background: rgba(255,107,107,.14); border-left-color: #ff6b6b; color: #ffdede; }
.vf__panel .checks { margin: .25rem 0; background: rgba(255,255,255,.07); color: #cfd8df; font-size: .8125rem; }
.vf__panel .checks b { color: #aeb8c1; }
.vf .foot { position: static; margin: .625rem 0 0; padding: 0; background: none; box-shadow: none; }
.vf .bar__sec { flex: 1; background: transparent; color: #fff; border-color: #4a5764; }
.vf .bar__pri { flex: 1.35; background: var(--tedee-cyan); border-color: var(--tedee-cyan); color: var(--tedee-ink); font-weight: 700; }
.vf .bar__pri:disabled { background: #2a3540; border-color: #2a3540; color: #8b97a2; }
/* steps and why: a sheet over the picture; its words scroll, its two buttons stay */
.vf__sheet { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; justify-content: flex-end; }
.vf__dim { position: absolute; inset: 0; border: 0; padding: 0; background: rgba(0,0,0,.5); cursor: pointer; }
.vf__sheet-in { position: relative; max-height: calc(100% - 1.75rem); display: flex; flex-direction: column; background: #fff; color: var(--tedee-ink); border-radius: 18px 18px 0 0; box-shadow: 0 -8px 30px rgba(0,0,0,.45); animation: vf-up .2s ease-out; }
.vf__sheet-in::before { content: ""; align-self: center; flex: none; width: 2.5rem; height: 4px; margin-top: .625rem; border-radius: 2px; background: #d4dbe0; }
.vf__body { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: .75rem; padding: .75rem var(--tedee-gutter) .875rem; }
.vf__h2 { margin: 0; font-size: 1.125rem; line-height: 1.25; font-weight: 800; }
.vf__h2:focus { outline: none; }
.vf__body .checks { margin: 0; }
.vf__sheet .foot { margin: 0; padding: .75rem var(--tedee-gutter) calc(.875rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #e6eaed; }
.vf__sheet .bar__sec { color: var(--tedee-ink); border-color: var(--tedee-line); }
.vf__sheet .bar__pri { background: var(--tedee-ink); border-color: var(--tedee-ink); color: #fff; }
@keyframes vf-up { from { transform: translateY(1.5rem); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .vf__sheet-in { animation: none; } }
/* a phone on its side: the card scrolls rather than squeezing the picture */
@media (max-height: 479px) {
  html.is-vf .stage { height: auto; min-height: 100dvh; }
  .vf__pic { flex: none; height: 30rem; }
  .vf__panel { max-height: none; overflow: visible; }
}
/* The questions by the same rule (D-54): the picture that is the answer, a picture across the width above the question. */
.choice--example { position: relative; display: block; padding: 0; overflow: hidden; min-height: 0; border-width: 2px; }
.choice--example > span { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.4rem 1rem .8rem; background: linear-gradient(180deg, rgba(16,24,32,0), rgba(16,24,32,.88)); color: #fff; font-size: 1.125rem; font-weight: 700; }
.choice--example small { color: #dfe6eb; font-size: .875rem; }
.choice--example[aria-current="true"] { border-color: var(--tedee-cyan); box-shadow: 0 0 0 2px var(--tedee-cyan); }
/* D-66, corrected on 29 Nov 2026 (the design session's review): a drawn choice is a low row, so the three choices and their
   words fit above the bar with Back on a phone (at 9:5 across the width three were about 600 pt high, the words of the
   third under the bar). Its words on the left on the plain door, the lock side of the drawing on the right. The background
   is the drawings' own door color (#e3d3b8, public/cards/lock*.svg), not a brand color: the door runs on to the left edge
   without a seam. The whole drawing shows at every width, pinned to the right, nothing cropped; the vh line is for a
   browser without dvh. The words end half a rem before the handle: it starts at x = 92 of the drawing's 180, so 0.88 of
   the picture's height from its right edge; "The middle lock" wraps if it must. The selected state stays the cyan border. */
.choice--drawn { background: #e3d3b8; }
.choice--drawn img { height: clamp(5.25rem, 13vh, 7rem); height: clamp(5.25rem, 13dvh, 7rem); aspect-ratio: auto; object-fit: contain; object-position: right center; }
.choice--drawn > span { top: 0; right: calc(.88 * clamp(5.25rem, 13vh, 7rem) + .5rem); right: calc(.88 * clamp(5.25rem, 13dvh, 7rem) + .5rem); display: flex; align-items: center; padding: 0 0 0 1rem; background: none; color: var(--tedee-ink); }
/* A short screen (320 × 568): the title and its line take two or three lines each there, and three rows of 5.25 rem
   ended 44 px under the bar (64 px with three locks); the picture comes down to 3.75 rem, still whole. */
@media (max-height: 640px) { .choice--drawn img { height: 3.75rem; } .choice--drawn > span { right: calc(.88 * 3.75rem + .5rem); } }
.bleed { margin-inline: calc(-1 * var(--tedee-gutter)); }
.bleed .pic { width: 100%; max-height: none; border-radius: 0; }
.bleed .example-pair { border-radius: 0; padding-inline: var(--tedee-gutter); }
.bleed--photo { position: relative; height: 28vh; min-height: 10rem; overflow: hidden; background: #101820; }
.bleed--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bleed--photo .pic__badge { left: var(--tedee-gutter); }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.choice-grid .choice { align-items: flex-start; min-height: 4.5rem; padding: .7rem .75rem; }
.choice-grid .choice small { font-size: .75rem; line-height: 1.3; }

/* ==== D-56, the customer's screens after the phone test of 27 Nov 2026 (door-check.md §12cj); lifted from the design's
   "Round two" (output/journey-feedback-2026-11-27/design.css). */
/* A4, the place: a quiet label centred in the top bar between Back and Cancel, words with a 6 px dot of the side's colour,
   a faint tint of it in the fill (14 %) and a hairline of it (35 %); the bar keeps its own colour. Amber from inside, the
   brand's cyan from outside, a neutral gray on a table and at the door's edge. It shares the logo's cell (never both). */
.app-bar__logo { grid-row: 1; }
.place { grid-column: 2; grid-row: 1; justify-self: center; display: inline-flex; align-items: center; gap: .4375rem; height: 1.75rem; padding: 0 .75rem 0 .625rem; border-radius: 999px; border: 1px solid; font-size: .8125rem; font-weight: 600; line-height: 1; white-space: nowrap; color: var(--tedee-ink); }
.place[hidden] { display: none; }
.place i { flex: none; width: 6px; height: 6px; border-radius: 50%; }
html.is-vf .place { color: #fff; }
.place--in { background: rgba(245,181,71,.14); border-color: rgba(245,181,71,.35); }
.place--in i { background: #f5b547; }
.place--out { background: rgba(52,207,253,.14); border-color: rgba(52,207,253,.35); }
.place--out i { background: var(--tedee-cyan); }
.place--table, .place--edge { background: rgba(174,184,193,.14); border-color: rgba(174,184,193,.35); }
.place--table i, .place--edge i { background: #aeb8c1; }
html:not(.is-vf) .place--table, html:not(.is-vf) .place--edge { background: rgba(138,150,163,.14); border-color: rgba(138,150,163,.35); }
html:not(.is-vf) .place--table i, html:not(.is-vf) .place--edge i { background: #8a96a3; }
/* E4, one pattern for a question with one answer: the tiles of "You lock it with…", selected said by aria-pressed; an odd
   last tile across both columns. */
.choice[aria-pressed="true"] { border-color: var(--tedee-ink); box-shadow: inset 0 0 0 1px var(--tedee-ink); }
.choice-grid .choice--span { grid-column: 1 / -1; min-height: 0; }
/* D4, while a reading would suggest the answer: the line along the photo's foot and one line of small words under it;
   when it is back the line runs to the end and fades with its words, their place kept so nothing jumps. The answer
   suggested: a soft cyan ring while it stays selected, and a short pop where it arrives. */
.bleed--photo .readline { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--tedee-cyan); transition: width .25s linear; }
.readline[data-ending] { animation: readline-end .3s ease-out forwards, readline-fade .3s ease-out .3s forwards; }
.belt { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; margin: -.5rem 0 0; font-size: .8125rem; font-weight: 500; line-height: 1.35; color: var(--tedee-muted); }
.belt__t { flex: none; font-variant-numeric: tabular-nums; }
.belt[data-faded] { opacity: 0; }
.belt[data-ending] { animation: readline-fade .3s ease-out .3s forwards; }
@keyframes readline-end { to { width: 100%; } }
@keyframes readline-fade { to { opacity: 0; } }
.choice[data-pop] { box-shadow: inset 0 0 0 1px var(--tedee-ink), 0 0 0 4px rgba(52,207,253,.35); }
.choice[data-pop="now"] { animation: tile-pop .25s ease-out .3s; }
@keyframes tile-pop { 50% { transform: scale(1.03); } }
@media (prefers-reduced-motion: reduce) { .readline[data-ending], .belt[data-ending] { animation: none; opacity: 0; } .choice[data-pop="now"] { animation: none; } .bleed--photo .readline { transition: none; } }
/* E1, "I couldn't try it": the Why row under the tiles, two small chips. */
.whyrow { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: -.25rem; }
.whyrow__k { font-size: .875rem; font-weight: 700; color: var(--tedee-muted); margin-right: .125rem; }
.pickchip { min-height: 2.25rem; padding: 0 .875rem; border-radius: 999px; border: 1.5px solid var(--tedee-line); background: #fff; color: var(--tedee-ink); font: inherit; font-size: .875rem; font-weight: 600; cursor: pointer; }
.pickchip[aria-pressed="true"] { background: var(--tedee-ink); border-color: var(--tedee-ink); color: #fff; }
/* E3, the sound of the lock as a tenth shot, in the photos' dark frame: the example across the room; the recorder in the
   camera's place, the live wave across it and the seconds on a chip, one round button (a red dot, then a rounded square);
   "Your recording" with its clear moments numbered over the wave and Play. */
.vf__ex.vf__ex--cover { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 47% 50%; }
.recbox { background: #1a232c; }
.recbox__wave { position: absolute; left: 1rem; right: 1rem; top: 50%; transform: translateY(-50%); }
.recbox__wave canvas { display: block; width: 100%; height: 5rem; }
.recbox__wave.wwrap { width: auto; }
.recbox__t { position: absolute; left: .625rem; top: .625rem; background: rgba(16,24,32,.82); color: #fff; font-variant-numeric: tabular-nums; }
.recbox__t i { width: .5rem; height: .5rem; border-radius: 50%; background: #8a96a3; }
.recbox.is-rec .recbox__t i { background: #e5484d; }
.recbox__play { position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%); display: inline-flex; align-items: center; gap: .4rem; min-height: 2.75rem; padding: 0 1.1rem 0 .9rem; border: 0; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--tedee-ink); font: inherit; font-size: .9375rem; font-weight: 700; cursor: pointer; }
.cam .recbox__play svg { position: static; width: .875rem; height: .875rem; fill: currentColor; } /* not the camera's full-box svg (.cam svg) */
.recstop { display: grid; justify-items: center; gap: .375rem; margin-top: .75rem; color: #fff; }
.rec__btn { display: grid; place-items: center; width: 4.5rem; height: 4.5rem; padding: 0; border-radius: 50%; border: 4px solid #fff; background: transparent; cursor: pointer; }
.rec__btn i { display: block; width: 3.375rem; height: 3.375rem; border-radius: 50%; background: #e5484d; }
.rec__btn--stop i { width: 1.625rem; height: 1.625rem; border-radius: 6px; }
.rec__btn:disabled { opacity: .5; cursor: default; }
.rec__btn:focus-visible { outline: 3px solid var(--tedee-cyan); outline-offset: 3px; }
.rec__label { font-size: .9375rem; font-weight: 700; line-height: 1.2; }
.wwrap { position: relative; width: 100%; padding-top: 1.75rem; }
.wwrap canvas { display: block; width: 100%; height: 3.5rem; }
.wmark { position: absolute; top: 0; transform: translateX(-50%); display: grid; justify-items: center; gap: .2rem; pointer-events: none; }
.wmark b { font-size: .6875rem; font-weight: 800; line-height: 1; color: #fff; }
.wmark i { width: .4375rem; height: .4375rem; border-radius: 50%; background: var(--tedee-cyan); }
/* the question about the sound: the recording's wave where "You lock it with…" has the photo */
.bleed--wave { display: flex; align-items: center; padding: 0 var(--tedee-gutter); }
.bleed--wave .wwrap canvas { height: 5rem; }
