:root {
  --bg: #f7f6f2; --card: #fff; --panel: #f2f3f1; --text: #17191c; --dim: #68716d;
  --line: #e3e6e9; --ok: #16794b; --bad: #c0362c; --warn: #8a6100;
  --accent: #315c4b; --accent-soft: #edf4f0;
  --r: 12px;
  --shadow: 0 1px 2px rgba(16,20,28,.05), 0 4px 16px rgba(16,20,28,.05);
}
* { box-sizing: border-box }
html { -webkit-text-size-adjust: 100% }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 ui-sans-serif, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.skip-link { position: fixed; left: 16px; top: 8px; z-index: 120; padding: 9px 12px;
             border-radius: 8px; background: var(--text); color: #fff;
             transform: translateY(-150%); transition: transform .15s }
.skip-link:focus { transform: translateY(0) }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace }
.small { font-size: 12px }
a { color: var(--accent) }

/* header ------------------------------------------------------------------ */
header { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.92);
         position: sticky; top: 0; z-index: 35; backdrop-filter: blur(12px);
         -webkit-backdrop-filter: blur(12px) }
.bar { display: flex; align-items: center; gap: 12px; height: 64px }
.logo { font-weight: 640; letter-spacing: -.01em; font-size: 17px;
        text-decoration: none; color: var(--text) }
.conn { margin-left: auto; display: flex; align-items: center; gap: 6px }
.nav-button { border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px;
              color: var(--text); background: var(--card); font-size: 12.5px }
.nav-button:hover { border-color: var(--accent); color: var(--accent) }
.status { font-size: 12.5px; color: var(--dim); display: inline-flex;
          align-items: center; gap: 7px }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%;
                  background: var(--dim); flex: none }
.status.live { color: var(--ok) } .status.live::before { background: var(--ok) }
.status.down { color: var(--bad) } .status.down::before { background: var(--bad) }

/* intro ------------------------------------------------------------------- */
.intro { padding: 52px 0 26px; max-width: 620px }
.intro h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.03;
            letter-spacing: -.045em; margin: 0 0 16px }
.intro p { color: var(--dim); margin: 0; max-width: 56ch; font-size: 17px }
.eyebrow { display: block; color: var(--accent); font-size: 10.5px; font-weight: 700;
           line-height: 1.4; letter-spacing: .09em; text-transform: uppercase }
.intro .eyebrow { margin-bottom: 8px; max-width: none }

h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .07em;
     color: var(--dim); font-weight: 600; margin: 34px 0 12px }
h2.lede { margin-top: 30px }

/* quick actions ----------------------------------------------------------- */
.quick { display: flex; flex-wrap: wrap; gap: 8px }
.chip { border: 1px solid var(--line); background: var(--card); border-radius: 999px;
        padding: 8px 15px; font: inherit; font-size: 14px; cursor: pointer;
        color: var(--text); transition: border-color .15s, background .15s }
.chip:hover { border-color: var(--accent); background: var(--accent-soft) }
.chip.copied { border-color: var(--ok); color: var(--ok); background: #eef7f2 }
.chip.copied::after { content: " · copied"; font-size: 12px }

/* layout ------------------------------------------------------------------ */
.cols { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start }

/* primary search ---------------------------------------------------------- */
.assistant-block { background: linear-gradient(135deg, #17241f, #263d34); color: #fff;
                   padding: 24px; border-radius: 20px; box-shadow: var(--shadow);
                   margin-bottom: 36px }
.assistant-title { display: flex; align-items: flex-start; justify-content: space-between;
                   gap: 20px; margin-bottom: 14px }
.assistant-title h2 { margin: 2px 0 0; color: #fff; font-size: 23px; text-transform: none;
                      letter-spacing: -.02em }
.assistant-block .eyebrow { color: #a9d3c1 }
.privacy-note { font-size: 11.5px; color: #d8e8e1; border: 1px solid rgba(255,255,255,.2);
                padding: 5px 9px; border-radius: 999px; white-space: nowrap }
.assistant-block .chat { border: 0; border-radius: 13px; background: #fff; color: var(--text) }
.assistant-block .chat-log { min-height: 0; max-height: 180px; padding: 0 }
.assistant-block .chat-log:not(:empty) { padding: 12px; border-bottom: 1px solid var(--line) }
.assistant-block .chat-form { border-top: 0 }
.assistant-block .chat-form input { padding: 15px 16px; font-size: 16px }
.assistant-block .chat-form button { border: 0; border-left: 1px solid var(--line);
                                     padding: 0 20px; font-size: 13px; font-weight: 650;
                                     color: var(--accent); background: #f7faf8 }
.assistant-block .chat-form .search-cancel { color: var(--bad); background: #fff }
.assistant-block .quick { margin-top: 12px }
.delivery-control { display: flex; align-items: center; gap: 9px; margin: -2px 0 12px;
                    color: #d8e8e1; font-size: 12px }
.delivery-control select { min-height: 36px; border: 1px solid rgba(255,255,255,.25);
                           border-radius: 999px; padding: 5px 28px 5px 10px;
                           background: #fff; color: var(--text); font: inherit; font-size: 12px }
.assistant-block .chip { border-color: rgba(255,255,255,.22); color: #f7fbf9;
                         background: rgba(255,255,255,.08); font-size: 12.5px;
                         padding: 6px 11px }
.assistant-block .chip:hover { border-color: #fff; background: rgba(255,255,255,.16) }
.assistant-block .chip.copied { color: #fff; background: rgba(255,255,255,.16) }

.section-heading, .basket-heading { display: flex; align-items: end; justify-content: space-between;
                                    gap: 16px; margin: 0 0 13px }
.section-heading h2, .basket-heading h2 { margin: 2px 0 0; color: var(--text);
                                         font-size: 20px; text-transform: none;
                                         letter-spacing: -.02em }
.basket-panel { background: rgba(255,255,255,.7); border: 1px solid var(--line);
                border-radius: 16px; padding: 16px }
.count { min-width: 27px; height: 27px; border-radius: 999px; display: grid;
         place-items: center; background: var(--text); color: #fff; font-size: 12px }
.checkout-button { width: 100%; margin-top: 12px; background: var(--accent);
                   border-color: var(--accent); color: #fff; font-weight: 650 }
.checkout-button:hover { background: #244638 }
.checkout-button:disabled { cursor: not-allowed; opacity: .42 }
.basket-note { margin: 8px 2px 0; color: var(--dim); font-size: 10.5px; line-height: 1.4 }

/* catalog ----------------------------------------------------------------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
        padding: 14px; transition: border-color .3s, box-shadow .3s, transform .3s }
.card:hover { border-color: #c7cfcb; box-shadow: var(--shadow); transform: translateY(-2px) }
.card.touched { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px) }
.grid.has-focus .card:not(.focused) { border-color: #e1e5e3; background: #f7f8f7 }
.card.focused { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow) }
.variant-note { margin-top: 7px; color: var(--dim); font-size: 11px }
.variant-picker { display: grid; gap: 4px; margin-top: 8px; color: var(--dim); font-size: 11px }
.variant-picker select { width: 100%; min-height: 40px; border: 1px solid var(--line);
                         border-radius: 8px; padding: 6px 8px; background: #fff;
                         color: var(--text); font: inherit; font-size: 12px }
.swatch { height: 84px; border-radius: 8px; margin-bottom: 12px; display: grid;
          place-items: center; font-weight: 640; font-size: 22px; color: #fff;
          letter-spacing: -.02em }
.card .name { font-weight: 560; line-height: 1.35; min-height: 2.7em;
              display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
              overflow: hidden }
.card .meta { display: flex; justify-content: space-between; align-items: baseline;
              margin-top: 6px; gap: 8px }
.card .price { font-variant-numeric: tabular-nums; font-weight: 560 }
.card .stock { font-size: 12px; color: var(--dim) }
.card .stock.out { color: var(--bad) }
.card-action { display: flex; gap: 8px; align-items: center; margin-top: 11px }
.add-button { flex: 1; padding: 7px 10px; border-color: var(--text);
              background: var(--text); color: #fff; font-size: 12.5px }
.add-button:hover { background: var(--accent); border-color: var(--accent) }
.add-button:disabled { cursor: not-allowed; opacity: .45 }
.compare-button { flex: 1; padding: 7px 8px; font-size: 12.5px; background: #fff }
.compare-button:hover, .compare-button[aria-pressed="true"] {
  border-color: var(--accent); color: var(--accent); background: var(--accent-soft) }

/* comparison -------------------------------------------------------------- */
.comparison { border: 1px solid #ccd7fc; background: #f8faff; border-radius: var(--r);
              margin: 0 0 18px; overflow: hidden; box-shadow: var(--shadow) }
.comparison-head { display: flex; justify-content: space-between; align-items: center;
                   gap: 16px; padding: 14px 16px; border-bottom: 1px solid #dfe5f8 }
.comparison-head h3 { margin: 2px 0 0; font-size: 17px; letter-spacing: -.01em }
button.quiet { padding: 5px 9px; color: var(--dim); background: transparent;
               border-color: transparent; font-size: 12px }
button.quiet:hover { color: var(--bad); border-color: var(--line) }
.comparison-scroll { overflow-x: auto }
.comparison table { width: 100%; min-width: 560px; border-collapse: collapse;
                    table-layout: fixed; font-size: 12.5px }
.comparison th, .comparison td { padding: 9px 12px; text-align: left;
                                 border-bottom: 1px solid #e5e9f5; vertical-align: top }
.comparison thead th { background: #f2f5ff; font-size: 12px; line-height: 1.35 }
.comparison thead th:first-child, .comparison tbody th { width: 145px; color: var(--dim);
                                                          font-weight: 560 }
.comparison tbody tr:last-child > * { border-bottom: 0 }
.comparison tbody tr { transition: opacity .18s, background .18s }
.comparison tbody tr.evidence { background: #fff4c7 }
.comparison tbody.has-evidence tr:not(.evidence) { background: #f7f8fb }
.comparison tbody.has-evidence tr:not(.evidence) > * { color: #59616c }
.comparison .merchant { display: block; color: var(--dim); font-weight: 400;
                        margin-top: 2px; font-size: 11px }

/* cart -------------------------------------------------------------------- */
.cart { background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
        padding: 14px }
.merchant-group { padding: 4px 0 10px; border-bottom: 1px solid var(--line) }
.merchant-group + .merchant-group { padding-top: 12px }
.merchant-group h3 { margin: 0 0 4px; font-size: 12px; color: var(--accent) }
.basket-separation { margin: 10px 0 0; color: var(--dim); font-size: 11.5px }
.line { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0;
        font-size: 14.5px; font-variant-numeric: tabular-nums }
.line small { display: block; color: var(--dim); font-size: 10.5px; line-height: 1.3 }
.line-end { display: flex; align-items: center; gap: 5px; flex: none }
.remove-line { border: 0; width: 44px; height: 44px; padding: 0; border-radius: 999px;
               color: var(--dim); background: transparent; line-height: 1 }
.remove-line:hover { color: var(--bad); background: #fdf0ef }
.line.sum { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px;
            font-weight: 640 }
.line .disc { color: var(--ok) }
.empty { color: var(--dim); font-size: 14px; margin: 2px 0 }

/* progressive disclosure --------------------------------------------------- */
.disclose { margin-top: 12px; border: 1px solid var(--line); border-radius: var(--r);
            background: var(--card); overflow: hidden }
.disclose > summary { cursor: pointer; padding: 11px 14px; font-size: 13px;
                      color: var(--dim); list-style: none; display: flex;
                      align-items: center; gap: 8px }
.disclose > summary::-webkit-details-marker { display: none }
.disclose > summary::after { content: "›"; margin-left: auto; transition: transform .2s;
                             font-size: 16px; line-height: 1 }
.disclose[open] > summary::after { transform: rotate(90deg) }
.disclose > summary:hover { color: var(--text) }
.disclose > *:not(summary) { padding: 0 14px 14px }
.disclose .hint { color: var(--line); font-size: 12px }
.disclose.flat { border: 0; background: none; margin: 24px 0 }
.disclose.flat > summary { padding-left: 0 }
.disclose.flat > *:not(summary) { padding: 0; color: var(--dim); font-size: 14px;
                                  max-width: 66ch }

/* tooltip-style popovers --------------------------------------------------- */
.pop { position: relative; display: inline-block }
.pop > summary { list-style: none; cursor: pointer; width: 18px; height: 18px;
                 border-radius: 50%; border: 1px solid var(--line); color: var(--dim);
                 font-size: 11px; display: grid; place-items: center; background: var(--card) }
.pop > summary::-webkit-details-marker { display: none }
.pop > summary:hover { border-color: var(--accent); color: var(--accent) }
.pop-body { position: absolute; right: 0; top: 26px; width: 270px; z-index: 20;
            background: var(--card); border: 1px solid var(--line); border-radius: 10px;
            padding: 12px 14px; box-shadow: var(--shadow); font-size: 13.5px;
            line-height: 1.5; color: var(--dim) }
.pop-body p { margin: 0 0 8px } .pop-body p:last-child { margin: 0 }
.pop.inline { display: block; margin-top: 14px }
.pop.inline > summary { width: auto; height: auto; border: 0; border-radius: 0;
                        display: inline; font-size: 13px; color: var(--dim);
                        text-decoration: underline; text-underline-offset: 3px }
.pop.inline .pop-body { position: static; width: auto; margin-top: 10px; box-shadow: none }

/* trust + activity --------------------------------------------------------- */
.trust .tool { display: flex; align-items: baseline; gap: 8px; padding: 7px 0;
               border-bottom: 1px solid var(--line); flex-wrap: wrap }
.trust .tool:last-child { border-bottom: 0 }
.trust .nm { font-family: ui-monospace, monospace; font-size: 12.5px }
.trust .from { font-size: 11.5px; color: var(--dim); margin-left: auto }
.trust .from.foreign { color: var(--accent) }
.badge { font-size: 10px; border-radius: 4px; padding: 1px 6px; border: 1px solid var(--line);
         color: var(--dim); text-transform: uppercase; letter-spacing: .04em }
.badge.danger { border-color: var(--bad); color: var(--bad) }
.badge.untrusted { border-color: var(--warn); color: var(--warn) }
.trust .note { font-size: 12px; color: var(--dim); padding-top: 10px; line-height: 1.5 }
.activity { max-height: 190px; overflow-y: auto; font-family: ui-monospace, monospace;
            font-size: 11.5px; color: var(--dim) }
.activity div { padding: 2px 0 }
.ok { color: var(--ok) } .bad { color: var(--bad) } .warn { color: var(--warn) }

iframe { width: 100%; height: 128px; border: 1px solid var(--line); border-radius: 8px;
         background: var(--panel) }

/* approval sheet ----------------------------------------------------------- */
/* An author `display` beats the UA's [hidden] rule, so state it explicitly.
   Without this the approval sheet is visible from page load — which is exactly
   what happened, and property checks in tests did not reveal it. */
.sheet[hidden], [hidden] { display: none !important }
.sheet { position: fixed; inset: 0; background: rgba(18,22,28,.42); z-index: 90;
         display: grid; place-items: center; padding: 24px;
         animation: fade .18s ease-out }
@keyframes fade { from { opacity: 0 } }
.sheet-card { background: var(--card); border-radius: 16px; padding: 26px;
              max-width: 400px; width: 100%; box-shadow: 0 20px 60px rgba(16,20,28,.24) }
.sheet-card h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -.015em }
.charge { margin: 0 0 20px; color: var(--dim) }
.charge b { color: var(--text); font-variant-numeric: tabular-nums }
.sheet-actions { display: flex; gap: 10px }
.approval-items { display: grid; gap: 6px; margin: -8px 0 14px; padding: 10px 12px;
                  border-radius: 10px; background: var(--panel); font-size: 12.5px }
.approval-items small { display: block; color: var(--dim) }
.handoff-links { display: grid; gap: 9px; margin: 0 0 16px }
.handoff-link { display: flex; align-items: center; justify-content: space-between;
                gap: 12px; padding: 11px 13px; border: 1px solid var(--line);
                border-radius: 10px; color: var(--text); text-decoration: none;
                background: var(--card) }
.handoff-link:hover { border-color: var(--accent); color: var(--accent);
                      background: var(--accent-soft) }
.handoff-link small { display: block; color: var(--dim); font-size: 11px }
.full-button { width: 100% }
button { font: inherit; border-radius: 9px; padding: 10px 18px; cursor: pointer;
         border: 1px solid var(--line); background: var(--card); color: var(--text) }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 35%, transparent);
  outline-offset: 2px;
}
button.primary { background: var(--text); border-color: var(--text); color: #fff; flex: 1 }
button.primary:hover { background: #000 }
button.ghost:hover { border-color: var(--bad); color: var(--bad) }

footer { border-top: 1px solid var(--line); margin-top: 56px; padding: 8px 0 48px }
footer p { color: var(--dim); font-size: 12.5px; max-width: 70ch }

/* advanced drawer --------------------------------------------------------- */
.drawer-backdrop { position: fixed; inset: 0; z-index: 70; background: rgba(18,22,28,.38);
                   display: flex; justify-content: flex-end; animation: fade .16s ease-out }
.drawer { width: min(460px, 100%); height: 100%; overflow-y: auto; background: var(--card);
          padding: 24px; box-shadow: -20px 0 60px rgba(16,20,28,.18) }
.drawer-head { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start;
               padding-bottom: 18px; border-bottom: 1px solid var(--line) }
.drawer-head h2 { margin: 2px 0 0; color: var(--text); font-size: 23px;
                  text-transform: none; letter-spacing: -.025em }
.icon-button { width: 36px; height: 36px; padding: 0; border-radius: 999px;
               display: grid; place-items: center; font-size: 22px; line-height: 1 }
.drawer-section { padding: 18px 0; border-bottom: 1px solid var(--line) }
.drawer-section h3 { margin: 0 0 5px; font-size: 14px }
.drawer-section p, .drawer-copy { color: var(--dim); margin: 0; font-size: 13px; line-height: 1.55 }
.drawer .disclose { margin-top: 12px }
.drawer iframe { height: 170px }
body.drawer-open { overflow: hidden }

@media (max-width: 820px) {
  .cols { grid-template-columns: 1fr; gap: 28px }
  .intro { padding-top: 32px } .intro h1 { font-size: 25px }
}

/* assistant ---------------------------------------------------------------- */
h2 .pop { margin-left: 6px; vertical-align: middle }
.chat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
        overflow: hidden }
.chat-log { max-height: 260px; min-height: 96px; overflow-y: auto; padding: 12px;
            display: flex; flex-direction: column; gap: 8px; font-size: 14px }
.msg { padding: 8px 11px; border-radius: 11px; max-width: 92%; line-height: 1.45 }
.msg.user { align-self: flex-end; background: var(--text); color: #fff;
            border-bottom-right-radius: 3px }
.msg.bot { align-self: flex-start; background: var(--panel);
           border-bottom-left-radius: 3px }
.msg.bot.err { background: #fdf0ef; color: var(--bad) }
.msg.pending { opacity: .6 }
.msg.tool { align-self: flex-start; background: none; padding: 0 2px; font-size: 11.5px;
            color: var(--dim); font-family: ui-monospace, monospace }
.chat-form { display: flex; border-top: 1px solid var(--line) }
.chat-form input { flex: 1; border: 0; padding: 11px 13px; font: inherit; font-size: 14px;
                   background: none; color: var(--text); min-width: 0 }
.chat-form input:focus { outline: 2px solid var(--accent-soft); outline-offset: -2px }
.chat-form button { border: 0; border-left: 1px solid var(--line); border-radius: 0;
                    background: none; padding: 0 16px; color: var(--dim) }
.chat-form button:hover { color: var(--accent) }
.fine { font-size: 11.5px; color: var(--dim); margin: 8px 0 0; line-height: 1.45 }

/* product imagery from real shops */
.shot { width: 100%; height: 150px; object-fit: cover; border-radius: 8px;
        margin-bottom: 10px; background: var(--panel); display: block }
.shop { font-size: 12px; color: var(--dim); text-decoration: none; display: inline-block;
        margin-top: 3px }
.shop:hover { color: var(--accent) }
#coverage { font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 11.5px }

/* mobile ------------------------------------------------------------------- */
/* The sidebar layout squeezed everything on a phone; below 820px the assistant
   leads, because talking to it is the whole point. */
@media (max-width: 820px) {
  .wrap { padding: 0 16px }
  .cols { display: flex; flex-direction: column; gap: 24px }
  .cols aside { order: 0 }
  .intro { padding: 26px 0 4px; max-width: none }
  .intro h1 { font-size: 24px }
  .intro p { max-width: none }
  .grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px }
  .shot { height: 108px }
  .chat-log { max-height: 42vh }
  .quick { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px;
           scrollbar-width: none; -webkit-overflow-scrolling: touch }
  .quick::-webkit-scrollbar { display: none }
  .chip { flex: 0 0 auto }
  .pop-body { position: fixed; left: 16px; right: 16px; top: auto; width: auto }
  .sheet { align-items: flex-end; padding: 0 }
  .sheet-card { border-radius: 16px 16px 0 0; max-width: none; padding: 22px 20px 30px }
  .sheet-actions { flex-direction: column-reverse }
  .sheet-actions button { width: 100%; padding: 13px }
  /* Inputs below 16px make iOS zoom the page on focus. */
  .chat-form input { font-size: 16px }
  .assistant-block { padding: 18px; border-radius: 16px; margin-bottom: 26px }
  .assistant-title { display: block }
  .delivery-control { align-items: flex-start; flex-direction: column; gap: 5px }
  .privacy-note { display: inline-block; margin-top: 9px }
  .basket-panel { padding: 14px }
  .comparison-scroll { overflow-x: visible }
  .comparison table, .comparison thead, .comparison tbody, .comparison tr,
  .comparison th, .comparison td { display: block; min-width: 0; width: auto }
  .comparison thead { display: none }
  .comparison tbody tr { padding: 11px 14px; border-bottom: 1px solid #e5e9f5 }
  .comparison tbody th { width: auto; padding: 0 0 7px; border: 0; color: var(--text) }
  .comparison tbody td { padding: 4px 0; border: 0 }
  .comparison tbody td::before { content: attr(data-product); display: block;
                                 color: var(--dim); font-size: 10.5px }
}
@media (max-width: 420px) {
  .grid { grid-template-columns: 1fr 1fr }
  .logo { font-size: 16px }
  .status { font-size: 11px }
  .conn .pop { display: none }
}


/* floating composer ---------------------------------------------------------
   The input should always be within reach without occupying the page. On a
   phone it docks to the bottom edge like a messaging app; on a wide screen the
   whole assistant panel sticks as the results scroll past it. Neither steals
   space from what the shopper came to look at. */

@media (min-width: 821px) {
  .cols aside { position: sticky; top: 80px }
}

@media (max-width: 820px) {
  .chat { overflow: visible }
  .chat-form {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    border-top: 1px solid var(--line);
    background: color-mix(in srgb, var(--card) 88%, transparent);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    /* clear of the home indicator on notched phones */
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .chat-form input { padding: 14px 16px }
  .chat-form button { padding: 0 20px; font-size: 18px }
  /* Nothing should ever end up underneath the bar. */
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)) }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important;
                           animation: none !important }
}
