/* Flettons v2 — quote journey (Property → Your details → Your quote → Booking → payment return) */

.quote-page main { background: var(--canvas); }
.qj, .qr, .qb, .qp { padding: clamp(16px, 2.5vw, 28px) 0 clamp(48px, 6vw, 80px); }
.qj__head { margin-bottom: clamp(16px, 2.5vw, 28px); }
.qj__head + .notice, .qj__head + .error-summary { margin-bottom: 24px; }
.notice + .error-summary { margin-top: 12px; }

/* Shared journey panels --------------------------------------------------- */
.qj__panel { display: block; }
.qj__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(24px, 4vw, 64px); align-items: start; }
.qj__grid--single { grid-template-columns: minmax(0, 1fr); max-width: 56rem; }
.qj__main { display: grid; gap: 22px; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
.qj__panel-head h1, .qj__panel-head h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); line-height: 1.12; outline: none; }
.qj__panel-head .lead { margin-top: 10px; font-size: 1rem; }
.qj__panel-head .eyebrow { margin-bottom: 10px; }
.qj__aside { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 14px; }
.qj__aside .aside-card { padding: 20px; gap: 10px; }
.qj__aside .aside-card p { font-size: 0.95rem; }
.qj__facts { display: grid; gap: 10px; counter-reset: f; }
.qj__facts li { position: relative; padding-left: 30px; color: var(--text-2); font-size: 0.95rem; counter-increment: f; }
.qj__facts li::before { content: counter(f); position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border: 1px solid var(--line-strong); border-radius: 50%; font-size: 0.7rem; font-weight: 600; display: grid; place-items: center; color: var(--text); }
.qj__facts strong { color: var(--text); }
.qj__tiles { display: flex; gap: 10px; flex-wrap: wrap; }
.qj__help a { color: var(--text); font-weight: 600; }
.qj__hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.qj__inline { display: flex; gap: 10px; align-items: stretch; }
.qj__inline input { flex: 1 1 auto; min-width: 0; text-transform: uppercase; }
.qj__inline input::placeholder { text-transform: none; }
.qj__inline .btn { flex: none; min-height: 50px; }
.qj__coverage { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 0.86rem; color: var(--text); }
.qj__coverage.is-yes { border-color: rgba(60, 207, 122, 0.55); }
.qj__coverage.is-yes::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.qj__coverage.is-no { border-color: rgba(232, 193, 90, 0.6); border-radius: var(--r); display: block; padding: 12px 14px; line-height: 1.5; }
.qj__coverage.is-no a { color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.qj__status { display: flex; align-items: center; gap: 10px; min-height: 22px; font-size: 0.92rem; color: var(--text-2); }
.qj__status[hidden] { display: none; }
.qj__status.is-loading::before { content: ""; width: 14px; height: 14px; border: 2px solid var(--text-2); border-right-color: transparent; border-radius: 50%; animation: fs-spin .8s linear infinite; flex: none; }
.qj__status.is-error { color: var(--danger); }
.qj__select { width: 100%; padding: 6px; border: 1.5px solid var(--line-strong); border-radius: var(--r); background: var(--canvas); color: var(--text); font: inherit; font-size: 0.98rem; }
.qj__select option { padding: 10px 12px; border-radius: 6px; }
.qj__select option:checked { background: var(--action-bg); color: var(--action-fg); }
.qj__filter { width: 100%; min-height: 44px; padding: 10px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r); background: var(--canvas); color: var(--text); font: inherit; }
.link-btn { appearance: none; border: 0; padding: 0; background: none; color: var(--text); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-strong); cursor: pointer; }
.link-btn:hover { text-decoration-color: var(--text); }
.qj__selected { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: start; padding: 16px 18px; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--canvas); }
.qj__selected .icon { margin-top: 2px; }
.qj__selected-label { display: block; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); font-weight: 600; }
.qj__selected strong { display: block; margin-top: 2px; line-height: 1.35; overflow-wrap: anywhere; }
.qj__selected-record { display: block; margin-top: 6px; font-size: 0.86rem; color: var(--text-2); }
.qj__manual { display: grid; gap: 16px; margin: 0; padding: 20px; border: 1px solid var(--line); border-radius: var(--r); }
.qj__manual legend { padding: 0 6px; font-weight: 600; }
.qj__fieldset { display: grid; gap: 12px; margin: 0; padding: 0; border: 0; min-width: 0; }
.qj__fieldset legend { padding: 0; margin-bottom: 8px; font-weight: 600; font-size: 0.98rem; }
.qj__fieldset legend span:not(.qj__suggest-badge), .field__label span:not(.qj__suggest-badge) { font-weight: 400; color: var(--text-2); }
.qj__sub { display: grid; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--canvas); }
.qj__suggest-badge { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2); vertical-align: middle; }
.qj__record-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--r); font-size: 0.9rem; color: var(--text-2); }
.qj__record-note .icon { flex: none; margin-top: 2px; color: var(--text); }
.qj__record-note em { font-style: normal; color: var(--text); font-weight: 600; }
.qj__epc-value { display: flex; gap: 12px; align-items: center; min-height: 50px; font-size: 1.1rem; }
.qj__epc-value strong { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: var(--r); font-weight: 700; }
.qj__epc-value a { font-size: 0.88rem; color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.choice--compact { min-height: 50px; padding: 12px 14px; }
.choice--compact .choice__title { font-size: 0.95rem; font-weight: 500; }
.choice-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice--invalid { border-color: var(--danger); }
/* Report style: the two real front covers, so the choice is visual rather than described */
.qb__themes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 540px; }
.choice--cover { grid-template-columns: 1fr auto; grid-template-rows: auto auto; align-items: start; padding: 12px 14px 14px; }
.choice--cover .choice__cover { grid-column: 1 / -1; display: block; aspect-ratio: 480 / 679; overflow: hidden; border-radius: calc(var(--r) - 4px); border: 1px solid var(--line); background: var(--canvas-deep); box-shadow: 0 18px 32px -22px rgba(0, 0, 0, .85); transition: transform .25s ease, box-shadow .25s ease; }
.choice--cover .choice__cover--light { background: #fff; }
.choice--cover .choice__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.choice--cover:hover .choice__cover, .choice--cover:has(input:checked) .choice__cover { transform: translateY(-2px); box-shadow: 0 24px 38px -22px rgba(0, 0, 0, .9); }
.choice--cover .choice__body { margin-top: 12px; }
.choice--cover .choice__mark { margin-top: 12px; }
@media (max-width: 480px) { .qb__themes { gap: 10px; } .choice--cover { padding: 8px 10px 10px; } .choice--cover .choice__hint { display: none; } }
.qj__consent { background: var(--canvas); }
.qj__main .form__row { align-items: start; }
.qj__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 6px; }
.qj__nav .btn--primary { min-width: 200px; }
.qj__recap-list { margin: 0; display: grid; gap: 10px; }
.qj__recap-list dt { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); font-weight: 600; }
.qj__recap-list dd { margin: 2px 0 0; font-size: 0.95rem; overflow-wrap: anywhere; }

/* The building step names the property it is about */
.qj__property-line { display: block; margin-top: 12px; font-size: 0.95rem; line-height: 1.5; }
.qj__property-line .icon { color: var(--text-2); vertical-align: -4px; margin-right: 6px; }
.qj__property-line strong { overflow-wrap: anywhere; margin-right: 10px; }

/* Property record summary (building step): confirm first, edit only if wrong */
.qj__record { display: grid; gap: 14px; padding: 18px 20px; border: 1px solid var(--line-strong); border-radius: var(--r-card); background: var(--canvas); }
.qj__record .eyebrow { margin-bottom: 6px; }
.qj__record-lead { color: var(--text-2); font-size: 0.95rem; }
.qj__record-list { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px 20px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.qj__record-item { min-width: 0; }
.qj__record-list dt { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); font-weight: 600; }
.qj__record-list dd { margin: 3px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.qj__record-list dd a { font-weight: 400; font-size: 0.86rem; color: var(--text-2); text-decoration: underline; text-underline-offset: 4px; margin-left: 6px; }
.qj__record-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.qj__record.is-confirmed { border-color: rgba(60, 207, 122, 0.55); }
.qj__record.is-confirmed [data-record-confirm] { display: none; }
.qj__record.is-confirmed [data-record-edit] { min-height: 40px; padding-inline: 14px; font-size: 0.9rem; }
.qj__record.is-confirmed .qj__record-lead { display: none; }
@media (max-width: 820px) { .qj__record { padding: 16px 14px; } .qj__record-actions .btn { width: 100%; } }

/* Stage 3 — results -------------------------------------------------------- */
.qr__intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr); gap: 16px 40px; align-items: end; margin-bottom: clamp(16px, 2.5vw, 28px); }
.qr__intro h1 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem); line-height: 1.1; }
.qr__intro .lead { margin-top: 10px; max-width: 40rem; font-size: 1rem; }
.qr__email-note { display: none; }
.qj__inline--end { justify-content: flex-end; margin-top: 8px; }
.qr__property { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); font-size: 0.95rem; }
.qr__property .icon { margin-top: 2px; }
.qr__property strong { display: block; line-height: 1.35; overflow-wrap: anywhere; }
.qr__property span { display: block; margin-top: 4px; color: var(--text-2); }
.qr__property-change { display: inline-block; margin-top: 10px; font-size: 0.88rem; color: var(--text); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-strong); }
.qr__property-change:hover { text-decoration-color: var(--text); }
.qr__review { display: grid; grid-template-columns: auto 1fr; gap: 16px; margin-bottom: 24px; padding: 22px 24px; border: 1px solid var(--warn); border-radius: var(--r-card); background: var(--surface); }
.qr__review .icon { color: var(--warn); margin-top: 2px; }
.qr__review h2 { font-size: 1.2rem; margin-bottom: 6px; }
.qr__review p { color: var(--text-2); }
.qr__review a { color: var(--text); font-weight: 600; }
.qr__layout, .qb__layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(20px, 3vw, 40px); align-items: start; }
.qr__services { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
.qr__services .svc--ineligible, .qr__services .svc--unavailable, .qr__services .svc--needs_review { grid-column: 1 / -1; }
.qr__services[data-purchasable="1"] .svc { grid-column: 1 / -1; }

.svc { display: grid; gap: 14px; padding: clamp(18px, 2.5vw, 24px); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); transition: border-color .15s ease; }
.svc.is-selected { border-color: var(--text); box-shadow: 0 0 0 1px var(--text); }
.svc--recommended:not(.is-selected) { border-color: var(--line-strong); }
.svc--ineligible, .svc--unavailable { background: transparent; gap: 10px; padding-block: 16px; }
.svc--ineligible .svc__head, .svc--unavailable .svc__head { align-items: center; }
.svc--ineligible .svc__price, .svc--unavailable .svc__price, .svc--needs_review .svc__price { display: none; }
.svc__extras .choice--disabled .choice__price { font-size: 0.86rem; }
.svc--ineligible .svc__title h2, .svc--unavailable .svc__title h2 { color: var(--text-2); }
.svc__head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; }
.svc__kicker { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; min-height: 0; }
.svc__kicker:empty { display: none; }
.svc__title h2 { font-size: 1.25rem; line-height: 1.2; }
.svc__desc { margin-top: 6px; color: var(--text-2); font-size: 0.92rem; max-width: 42rem; }
.svc__price { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.svc__price strong { font-size: 1.9rem; font-weight: 700; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.svc__price span { font-size: 0.78rem; color: var(--text-2); }
.svc__price--na { color: var(--text-3); }
.svc__reasons { display: grid; gap: 6px; padding: 12px 14px; border-radius: var(--r); background: var(--canvas); border: 1px solid var(--line); font-size: 0.93rem; color: var(--text-2); }
.svc__reasons li { position: relative; padding-left: 18px; }
.svc__reasons li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--text-2); }
.svc--ineligible .svc__reasons li::before { background: var(--danger); }
.svc--needs_review .svc__reasons li::before { background: var(--warn); }
.svc__inclusions summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; min-height: 40px; font-weight: 600; font-size: 0.95rem; }
.svc__inclusions summary::-webkit-details-marker { display: none; }
.svc__inclusions summary::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid var(--text); border-bottom: 1.5px solid var(--text); transform: rotate(45deg); transition: transform .2s ease; }
.svc__inclusions[open] summary::after { transform: rotate(-135deg); }
.svc__inclusions .checks { margin-top: 10px; font-size: 0.95rem; color: var(--text-2); }
.svc__extras { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; }
.svc__extras legend { margin-bottom: 8px; font-weight: 600; font-size: 0.95rem; }
.svc__extras legend span { font-weight: 400; color: var(--text-2); }
.svc__extras .choice { grid-template-columns: 1fr auto auto; min-height: 48px; padding: 10px 14px; }
.svc__extras .choice__hint { font-size: 0.84rem; }
.svc__extras .choice--disabled .choice__price { color: var(--text-2); font-weight: 500; }
.svc:not(.is-selected) .svc__extras { opacity: .55; }
.svc:not(.is-selected) .svc__extras .choice { pointer-events: none; }
.svc__choose { display: block; position: relative; margin-top: 4px; }
.svc__choose input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.svc__choose .btn { cursor: pointer; pointer-events: none; }
.svc__choose:has(input:focus-visible) .btn { outline: 2px solid var(--focus); outline-offset: 3px; }
.svc__foot { font-size: 0.92rem; color: var(--text-2); }
.svc__foot a { color: var(--text); font-weight: 600; }

.qr__summary, .qb__aside { position: sticky; top: calc(var(--header-h) + 20px); }
.qr__summary-card { display: grid; gap: 14px; padding: 20px; border: 1px solid var(--line-strong); border-radius: var(--r-card); background: var(--surface); }
.qr__summary-card .eyebrow { margin-bottom: 0; }
.qr__summary-empty { color: var(--text-2); font-size: 0.95rem; }
.qr__lines { display: grid; gap: 8px; margin: 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.qr__lines li { display: flex; justify-content: space-between; gap: 12px; }
.qr__lines li span { color: var(--text-2); }
.qr__lines li strong { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.qr__lines-note span, .qr__lines-note strong { color: var(--text-3); font-weight: 400; }
.qr__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.qr__total span { font-weight: 600; }
.qr__total small { display: block; font-size: 0.78rem; color: var(--text-2); font-weight: 400; }
.qr__total strong { font-size: 1.9rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.is-pricing .qr__total strong { opacity: .5; transition: opacity .15s ease; }
.qr__summary-error { margin: 0; }
.qr__meta { display: grid; gap: 6px; font-size: 0.84rem; color: var(--text-2); }
.qr__meta a { color: var(--text); font-weight: 600; }
.qr__summary-card .small .icon { vertical-align: -2px; margin-right: 4px; }

/* Stage 4 — booking --------------------------------------------------------- */
.qb__main { display: grid; gap: 16px; }
.qb__section { display: grid; gap: 16px; padding: clamp(18px, 2.5vw, 24px); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
.qb__section h2 { font-size: 1.2rem; }
.qb__section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.qb__section-head .link-btn { font-size: 0.88rem; font-weight: 500; }
.qb__facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; padding: 16px 18px; border-radius: var(--r); background: var(--canvas); border: 1px solid var(--line); }
.qb__facts dt { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); font-weight: 600; }
.qb__facts dd { margin: 3px 0 0; font-size: 0.95rem; overflow-wrap: anywhere; }
.qb__conditional { display: grid; gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--canvas); }
.qb__terms { display: grid; gap: 10px; max-height: 220px; overflow: auto; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--canvas); font-size: 0.92rem; color: var(--text-2); }
.qb__terms strong { color: var(--text); }
.qb__chosen { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
.qb__chosen strong { display: block; font-size: 1.05rem; }
.qb__chosen a { display: inline-block; margin-top: 2px; font-size: 0.86rem; color: var(--text-2); text-decoration: underline; text-underline-offset: 4px; }
.qb__chosen a:hover { color: var(--text); }

/* Payment return -------------------------------------------------------------- */
.qp__card { max-width: 46rem; margin: 0 auto; display: grid; gap: 16px; padding: clamp(22px, 3.5vw, 36px); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
.qp__card h1 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem); line-height: 1.1; }
.qp__card h2 { font-size: 1.2rem; margin-top: 10px; }
.qp__card .eyebrow { margin-bottom: 0; }
.qp__mark { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line-strong); color: var(--text); }
.qp__mark--ok { background: var(--ok); border-color: var(--ok); color: var(--ok-ink); }
.qp__mark--fail { border-color: var(--danger); color: var(--danger); }
.qp__spinner { width: 24px; height: 24px; border: 2.5px solid var(--text-2); border-right-color: transparent; border-radius: 50%; animation: fs-spin .9s linear infinite; }
.qp__lines { border-bottom: 0; padding-bottom: 0; }
.qp__total { padding-top: 12px; border-top: 1px solid var(--line-strong); }
.qp__total strong { font-size: 1.5rem; }
.qp__steps { display: grid; gap: 12px; counter-reset: s; }
.qp__steps li { position: relative; padding-left: 36px; color: var(--text-2); font-size: 0.98rem; counter-increment: s; }
.qp__steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 1px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.qp__steps strong { color: var(--text); }
.qp__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.qp__note { padding: 14px 16px; border: 1px solid var(--warn); border-radius: var(--r); color: var(--text-2); font-size: 0.95rem; }
.qp__note a { color: var(--text); font-weight: 600; }

/* Responsive ------------------------------------------------------------------ */
@media (max-width: 1023px) {
  .qj__grid, .qr__layout, .qb__layout, .qr__intro { grid-template-columns: 1fr; }
  .qj__aside, .qr__summary, .qb__aside { position: static; }
  .qj__aside { order: 2; }
  .qr__summary { order: -1; }
  .qb__aside { order: -1; }
  .qr__summary-card, .qb__aside .qr__summary-card { padding: 20px; }
}

@media (max-width: 820px) {
  .qj, .qr, .qb, .qp { padding-top: 12px; }
  .qj__main, .svc, .qb__section { padding: 18px 14px; border-radius: var(--r-card); }
  .qr__services { grid-template-columns: 1fr; }
  .qj__inline { flex-direction: column; }
  .qj__inline .btn { width: 100%; }
  .choice-grid--3 { grid-template-columns: 1fr; }
  .qj__nav { flex-direction: column-reverse; align-items: stretch; }
  .qj__nav .btn { width: 100%; }
  .qj__nav > span { display: none; }
  .svc__price strong { font-size: 1.6rem; }
  .svc__extras .choice { grid-template-columns: 1fr auto; }
  .svc__extras .choice__price { grid-row: 2; justify-self: start; font-size: 0.9rem; }
  .svc__extras .choice__mark { grid-row: 1 / span 2; align-self: center; }
  .qb__facts { grid-template-columns: 1fr; }
  .qp__actions .btn { width: 100%; }
  /* Mobile: the results summary becomes a compact bar fixed to the bottom of the viewport */
  .qr { padding-bottom: 140px; }
  html:has(.qr__summary) { scroll-padding-bottom: 170px; }
  /* top:auto matters: the desktop sticky rule sets top, and fixed + top + bottom would stretch the bar over the whole screen. */
  .qr__summary { order: 2; position: fixed; left: 0; right: 0; top: auto; bottom: 0; height: auto; z-index: 240; }
  .qr__summary-card { grid-template-columns: 1fr auto; align-items: center; gap: 8px 14px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-radius: 0; border-width: 1px 0 0; background: rgba(23, 26, 28, 0.97); backdrop-filter: blur(12px); }
  .qr__summary-card .eyebrow { display: none; }
  .qr__summary-card .qr__lines, .qr__summary-card .qr__meta, .qr__summary-card .small { display: none; }
  .qr__summary-card .qr__total { flex-direction: column; align-items: flex-start; gap: 0; }
  .qr__summary-card .qr__total span { font-size: 0.8rem; }
  .qr__summary-card .qr__total strong { font-size: 1.5rem; }
  .qr__summary-card .btn { min-height: 48px; width: auto; padding-inline: 16px; font-size: 0.92rem; }
  .qr__summary-card .qr__summary-error { grid-column: 1 / -1; }
  .qr__summary-card .qr__summary-empty { grid-column: 1 / -1; font-size: 0.88rem; }
  .qr__email-note { display: block; margin: -8px 0 18px; font-size: 0.88rem; color: var(--text-2); }
  body:has(.qr__summary) #voice-assistant-root { display: none; }
}
