/* Eden Companion: Eden's own surface (eden-brand-overlay). Tokens from eden-foundation.css; nothing fills but the one
   primary pill; the chosen state is a lit line, never a colour. */
:root { color-scheme: dark; --gut: 20px; --tabs: 64px; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--eden-black); color: var(--eden-ink); font-family: var(--eden-sans); }
body { font-size: var(--eden-t-16); line-height: var(--eden-lh-ui); min-height: 100dvh; -webkit-text-size-adjust: 100%; }
main { padding: calc(env(safe-area-inset-top) + 12px) calc(env(safe-area-inset-right) + var(--gut)) calc(env(safe-area-inset-bottom) + var(--tabs) + 24px) calc(env(safe-area-inset-left) + var(--gut)); max-width: 680px; margin: 0 auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--eden-iris-cyan); outline-offset: 2px; border-radius: 6px; }

/* type: system eyebrow, title, working body, system meta */
.eyebrow { font-size: 14px; font-weight: var(--eden-w-medium); letter-spacing: var(--eden-track-system); text-transform: uppercase; color: var(--eden-ink-3); margin: 24px 0 8px; }
h1 { font-size: var(--eden-t-30); font-weight: var(--eden-w-regular); letter-spacing: var(--eden-track-title); line-height: var(--eden-lh-title); margin: 12px 0 4px; }
h2 { font-size: var(--eden-t-20); font-weight: var(--eden-w-regular); line-height: var(--eden-lh-ui); margin: 0; }
.sub { color: var(--eden-ink-2); font-size: var(--eden-t-15); line-height: var(--eden-lh-body); margin: 0; }
.meta { color: var(--eden-ink-3); font-size: 14px; font-variant-numeric: tabular-nums; }
.mark { font-weight: var(--eden-w-medium); letter-spacing: .01em; }

/* top bar */
.top { display: flex; align-items: center; justify-content: space-between; min-height: 44px; gap: 12px; }
.top .back { min-height: 44px; display: inline-flex; align-items: center; color: var(--eden-ink-2); font-size: var(--eden-t-15); }
.icon-btn { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; background: none; border: 0; color: var(--eden-ink-2); font-size: var(--eden-t-15); }

/* rows */
.list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--eden-line); }
.row { display: flex; align-items: center; gap: 12px; padding: 14px 0; min-height: 56px; border-bottom: 1px solid var(--eden-line); }
.row .main { flex: 1; min-width: 0; }
.row .name, .row .line { display: block; }
.row .name { font-size: var(--eden-t-16); font-weight: var(--eden-w-medium); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .line { color: var(--eden-ink-2); font-size: var(--eden-t-14); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .chev { color: var(--eden-quiet); }
.state { font-size: 14px; color: var(--eden-ink-3); white-space: nowrap; }
.state.lit { color: var(--eden-ink); font-weight: var(--eden-w-medium); }
.state.warn { color: var(--eden-warn); }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--eden-quiet); }
.dot.on { background: var(--eden-ink); box-shadow: 0 0 0 3px rgba(158,231,255,.18); }
.dot.needs { background: var(--eden-iris-butter); }
.dot.warn { background: var(--eden-warn); }

/* empty and notes */
.empty { color: var(--eden-ink-2); font-size: var(--eden-t-15); line-height: var(--eden-lh-body); padding: 28px 0; }
.banner { position: sticky; top: 0; z-index: 5; padding: calc(env(safe-area-inset-top) + 10px) var(--gut) 10px; background: var(--eden-surface-2); color: var(--eden-warn); font-size: var(--eden-t-14); text-align: center; border-bottom: 1px solid var(--eden-line); }
.note { border: 1px solid var(--eden-line); border-radius: var(--eden-r-14, 14px); padding: 14px 16px; color: var(--eden-ink-2); font-size: var(--eden-t-14); line-height: var(--eden-lh-body); margin: 16px 0; }
.note strong { color: var(--eden-ink); font-weight: var(--eden-w-medium); }

/* the Eden card: Eden's one presence, labelled */
.eden { border: 1px solid var(--eden-line-2); border-radius: var(--eden-r-14, 14px); padding: 14px 16px; margin: 14px 0; background: var(--eden-surface); }
.eden .label { font-size: 14px; letter-spacing: var(--eden-track-system); text-transform: uppercase; color: var(--eden-ink-3); margin-bottom: 6px; }
.eden .label b { color: var(--eden-ink); font-weight: var(--eden-w-medium); }

/* timeline */
.timeline { list-style: none; margin: 8px 0 0; padding: 0; }
.ev { display: grid; grid-template-columns: 14px 1fr; gap: 10px; padding: 8px 0; }
.ev .tick { width: 6px; height: 6px; border-radius: 50%; background: var(--eden-quiet); margin: 8px 4px 0; }
.ev.you .tick { background: var(--eden-ink); }
.ev.key .tick { background: var(--eden-iris-cyan); }
.ev.bad .tick { background: var(--eden-warn); }
.ev .text { font-size: var(--eden-t-15); line-height: var(--eden-lh-body); color: var(--eden-ink-2); white-space: pre-wrap; overflow-wrap: anywhere; }
.ev.you .text, .ev.key .text { color: var(--eden-ink); }
.ev .when { font-size: 14px; color: var(--eden-ink-3); margin-top: 2px; }

/* conversation bubbles: what you asked, and how it stands */
.say { margin: 18px 0; }
.say .you { margin-left: 15%; background: var(--eden-surface-2); border: 1px solid var(--eden-line); border-radius: 16px 16px 4px 16px; padding: 12px 14px; font-size: var(--eden-t-16); line-height: var(--eden-lh-body); white-space: pre-wrap; overflow-wrap: anywhere; }
.say .reply { display: flex; align-items: center; gap: 10px; margin-top: 8px; color: var(--eden-ink-2); font-size: var(--eden-t-14); min-height: 44px; }
.say .reply .go { margin-left: auto; color: var(--eden-ink); }

/* composer */
.composer { position: fixed; left: 0; right: 0; bottom: calc(env(safe-area-inset-bottom) + var(--tabs)); background: var(--eden-glass); -webkit-backdrop-filter: var(--eden-glass-filter); backdrop-filter: var(--eden-glass-filter); border-top: 1px solid var(--eden-line); padding: 10px calc(env(safe-area-inset-right) + 12px) 10px calc(env(safe-area-inset-left) + 12px); z-index: 4; }
.composer.inline { position: static; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; padding: 0; margin-top: 12px; }
.composer form { display: flex; align-items: flex-end; gap: 8px; max-width: 680px; margin: 0 auto; }
.composer textarea { flex: 1; min-height: 44px; max-height: 160px; resize: none; background: var(--eden-surface); border: 1px solid var(--eden-line-2); border-radius: 22px; padding: 11px 16px; font-size: var(--eden-t-16); line-height: 1.35; font-weight: var(--eden-w-light); }
.composer textarea::placeholder { color: var(--eden-ink-3); }
.composer textarea:focus { outline: none; border-color: var(--eden-line-strong); box-shadow: 0 0 0 1px rgba(158,231,255,.35); }
.mic { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--eden-line-2); background: none; display: grid; place-items: center; }
.mic svg { width: 20px; height: 20px; }
.mic.on { border-color: var(--eden-iris-cyan); box-shadow: 0 0 0 4px rgba(158,231,255,.14); }
.hint { font-size: 14px; color: var(--eden-ink-3); margin: 6px 4px 0; max-width: 680px; margin-inline: auto; }
.hint.on { color: var(--eden-ink); }
.has-composer main { padding-bottom: calc(env(safe-area-inset-bottom) + var(--tabs) + 110px); }

/* buttons: one primary, paper-white pill; the rest are quiet */
.btn { min-height: 44px; padding: 0 18px; border-radius: 22px; border: 1px solid var(--eden-line-2); background: none; font-size: var(--eden-t-15); font-weight: var(--eden-w-medium); display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn.primary { background: var(--eden-ink); color: var(--eden-black); border-color: var(--eden-ink); }
.btn.primary:active { background: var(--eden-ink-hover); }
.btn.quiet { border-color: transparent; color: var(--eden-ink-2); }
.btn.warn { color: var(--eden-warn); border-color: rgba(217,178,124,.35); }
.btn[disabled] { opacity: .45; }
.send { width: 44px; padding: 0; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.actions .btn.primary { flex: 1 1 100%; }

/* review */
.seg { display: inline-flex; border: 1px solid var(--eden-line-2); border-radius: 22px; padding: 3px; gap: 2px; }
.seg button { min-height: 38px; min-width: 76px; padding: 0 12px; border-radius: 19px; border: 0; background: none; color: var(--eden-ink-2); font-size: var(--eden-t-14); }
.seg button[aria-pressed="true"] { color: var(--eden-ink); background: var(--eden-fill-on); }
.controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 12px 0; }
.page { margin: 18px 0 24px; }
.page .pname { font-size: var(--eden-t-15); font-weight: var(--eden-w-medium); display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.shot { display: block; width: 100%; margin-top: 10px; border-radius: 10px; border: 1px solid var(--eden-line); background: var(--eden-surface); overflow: hidden; max-height: 46vh; padding: 0; }
.shot img { display: block; width: 100%; height: auto; }
.shot.phone { max-width: 260px; margin-inline: auto; }
.missing { padding: 28px 16px; text-align: center; color: var(--eden-ink-3); font-size: var(--eden-t-14); }
.report dl { margin: 0; }
.report dt { font-size: 14px; letter-spacing: var(--eden-track-system); text-transform: uppercase; color: var(--eden-ink-3); margin-top: 12px; }
.report dd { margin: 4px 0 0; color: var(--eden-ink); font-size: var(--eden-t-15); line-height: var(--eden-lh-body); }
.report ul { margin: 4px 0 0; padding-left: 18px; }

/* zoom */
.zoom { position: fixed; inset: 0; z-index: 20; background: #000; display: flex; flex-direction: column; }
.zoom .close { position: absolute; top: calc(env(safe-area-inset-top) + 8px); right: 12px; z-index: 2; min-height: 44px; padding: 0 16px; border-radius: 22px; border: 1px solid var(--eden-line-2); background: var(--eden-glass); }
.zoom-scroll { flex: 1; overflow: auto; touch-action: pan-x pan-y pinch-zoom; padding-top: calc(env(safe-area-inset-top) + 60px); }
.zoom img { display: block; width: 100%; height: auto; }

/* toggles */
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; min-height: 56px; border-bottom: 1px solid var(--eden-line); }
.toggle input { appearance: none; -webkit-appearance: none; width: 48px; height: 28px; border-radius: 14px; background: var(--eden-fill-on); position: relative; flex: none; border: 1px solid var(--eden-line-2); }
.toggle input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--eden-ink-3); transition: transform .18s, background .18s; }
.toggle input:checked { border-color: var(--eden-iris-cyan); }
.toggle input:checked::after { transform: translateX(20px); background: var(--eden-ink); }
.toggle .t { font-size: var(--eden-t-16); }
.toggle .d { font-size: 14px; color: var(--eden-ink-3); margin-top: 2px; }

/* pairing */
.code { font-size: 44px; letter-spacing: .08em; font-weight: var(--eden-w-regular); font-variant-numeric: tabular-nums; margin: 24px 0 8px; }
.steps { padding-left: 20px; color: var(--eden-ink-2); line-height: var(--eden-lh-body); font-size: var(--eden-t-15); }

/* tabs */
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; display: flex; justify-content: space-around; background: var(--eden-glass); -webkit-backdrop-filter: var(--eden-glass-filter); backdrop-filter: var(--eden-glass-filter); border-top: 1px solid var(--eden-line); padding: 6px calc(env(safe-area-inset-right) + 6px) calc(env(safe-area-inset-bottom) + 6px) calc(env(safe-area-inset-left) + 6px); }
.tabs a { flex: 1; min-height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 14px; color: var(--eden-ink-3); position: relative; }
.tabs .glyph { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tabs a[aria-current="page"] { color: var(--eden-ink); }
.tabs a[aria-current="page"]::before { content: ""; position: absolute; top: -7px; left: 28%; right: 28%; height: 2px; border-radius: 1px; background: var(--eden-iris-band); }
.count { position: absolute; top: 4px; left: calc(50% + 8px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--eden-ink); color: var(--eden-black); font-size: 14px; font-weight: var(--eden-w-strong); display: grid; place-items: center; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* sign in */
.signin { margin-top: 20px; max-width: 420px; }
.field-l { display: grid; gap: 6px; margin: 0 0 14px; font-size: 14px; color: var(--eden-ink-2); }
.field-l input { min-height: 48px; background: var(--eden-surface); border: 1px solid var(--eden-line-2); border-radius: 12px; padding: 0 14px; font-size: var(--eden-t-16); color: var(--eden-ink); }
.field-l input:focus { outline: none; border-color: var(--eden-line-strong); box-shadow: 0 0 0 1px rgba(158,231,255,.35); }
.linkish { background: none; border: 0; padding: 0; min-height: 32px; }

/* ===== The V3 shape (2026-11-21): the desktop app's titlebar crumbs, quiet-nav menus and corner chat, made for a phone.
   Values are V3's own (Eden-v3 desktop/shell/shell.css, studio/lib/quiet-mode.js) so the two read as one app. ===== */
:root { --tabs: 0px; --card: #17191c; --bar-h: 44px; }
main { padding-top: calc(env(safe-area-inset-top) + var(--bar-h) + 8px); padding-bottom: calc(env(safe-area-inset-bottom) + 24px); }
body.has-dock main { padding-bottom: calc(env(safe-area-inset-bottom) + 150px); }
body.nobar main { padding-top: calc(env(safe-area-inset-top) + 12px); }

/* titlebar */
.titlebar { position: fixed; top: 0; left: 0; right: 0; z-index: 8; height: calc(env(safe-area-inset-top) + var(--bar-h)); padding: env(safe-area-inset-top) calc(env(safe-area-inset-right) + 8px) 0 calc(env(safe-area-inset-left) + 8px);
  display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #121214; border-bottom: 1px solid rgba(247,248,248,.08); }
.qcrumbs { display: flex; align-items: center; gap: 2px; min-width: 0; font: 400 14px/1 var(--eden-sans); }
.qcrumbs .b { display: inline-flex; align-items: center; gap: 5px; padding: 6px 8px; border-radius: 7px; border: 0; background: none; color: rgba(247,248,248,.45); max-width: 46vw; min-height: 32px; position: relative; font: inherit; }
.qcrumbs .b span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qcrumbs .b.biz span { font-weight: 600; color: rgba(247,248,248,.7); }
.qcrumbs .b:active, .qcrumbs .b:hover { background: rgba(247,248,248,.06); color: #f7f8f8; }
.qcrumbs .b svg { width: 10px; height: 10px; flex: none; opacity: .6; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.qcrumbs .sl { color: rgba(247,248,248,.28); }
.qcrumbs .ping { position: absolute; top: 5px; right: 3px; width: 6px; height: 6px; border-radius: 50%; background: #9EE7FF; }
.tb-r { display: flex; align-items: center; gap: 6px; flex: none; }
.ib { width: 34px; height: 34px; border-radius: 10px; border: 0; background: none; color: rgba(247,248,248,.55); display: grid; place-items: center; }
.ib svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.av { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(247,248,248,.14); background: #17191c; color: #f7f8f8; font: 600 14px/1 var(--eden-sans); }

/* the crumb menus: V3's quiet-nav, a card under the titlebar */
.sheet { position: fixed; z-index: 9; top: calc(env(safe-area-inset-top) + var(--bar-h) + 6px); left: calc(env(safe-area-inset-left) + 8px); right: calc(env(safe-area-inset-right) + 8px); max-height: calc(100dvh - env(safe-area-inset-top) - var(--bar-h) - 24px); overflow: auto; }
.qnav { background: var(--card); border: 1px solid rgba(247,248,248,.14); border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.55); font: 14px/1.35 var(--eden-sans); padding-bottom: 6px; animation: qn-in .2s cubic-bezier(.2,.7,.2,1); }
@keyframes qn-in { from { opacity: 0; transform: translateY(-6px) scale(.985); } }
.qnav .q { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-bottom: 1px solid rgba(247,248,248,.08); color: rgba(247,248,248,.45); }
.qnav .q svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; flex: none; }
.qnav .q input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: #f7f8f8; font: 15px var(--eden-sans); }
.qnav .q input::placeholder { color: rgba(247,248,248,.38); }
.qnav .g { margin: 0; padding: 12px 14px 4px; font: 600 14px/1 var(--eden-sans); letter-spacing: .1em; text-transform: uppercase; color: rgba(247,248,248,.28); display: flex; justify-content: space-between; }
.qnav .r { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 0 6px; padding: 0 9px; border-radius: 7px; color: rgba(247,248,248,.65); }
.qnav .r:active, .qnav .r:hover { background: rgba(247,248,248,.05); color: #f7f8f8; }
.qnav .r.on { background: rgba(247,248,248,.10); color: #f7f8f8; }
.qnav .r .n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.qnav .r .m { font-size: 14px; color: rgba(247,248,248,.28); white-space: nowrap; }
.qnav .r .m.here { color: #9EE7FF; }
.qnav .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(247,248,248,.24); flex: none; }
.qnav .dot.on { background: #9EE7FF; }
.qnav .tile { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font: 700 14px/1 var(--eden-sans); color: #121214; font-style: normal; flex: none; }
.qnav .tw { width: 32px; height: 32px; margin-right: -6px; border: 0; background: none; color: rgba(247,248,248,.45); display: grid; place-items: center; border-radius: 7px; }
.qnav .tw svg, .qnav .back svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.qnav .back { display: inline-flex; align-items: center; gap: 6px; margin: 10px 14px 0; padding: 0; border: 0; background: none; color: rgba(247,248,248,.55); font: 14px var(--eden-sans); min-height: 28px; }
.qnav .acts { display: flex; gap: 6px; padding: 4px 15px 8px 33px; }
.qnav .acts button { flex: 1; min-height: 36px; border-radius: 999px; border: 1px solid rgba(247,248,248,.14); background: none; color: #f7f8f8; font: 500 14px var(--eden-sans); }
.qnav .pad, .qnav .list-wait { padding: 8px 15px; color: rgba(247,248,248,.45); }
.qh-row { display: grid; gap: 2px; margin: 0 6px; padding: 9px 10px; border-radius: 9px; }
.qh-row:active, .qh-row:hover { background: rgba(247,248,248,.05); }
.qh-row .t { font-size: 14px; color: #f7f8f8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qh-row .s { font-size: 14px; color: rgba(247,248,248,.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qh-row .u { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: rgba(247,248,248,.32); }
.qh-row .u.work { color: #9EE7FF; }

/* Eden | Team */
#seg:empty { display: none; }
.qseg { display: inline-flex; padding: 2px; border-radius: 8px; background: rgba(247,248,248,.05); margin: 4px 0 10px; }
.qseg button { min-height: 28px; padding: 0 14px; border: 0; border-radius: 6px; background: none; color: rgba(247,248,248,.55); font: 14px var(--eden-sans); }
.qseg button[aria-selected="true"] { background: rgba(247,248,248,.10); color: #f7f8f8; }

/* the conversation: V3's corner chat, kept and scrolling */
.stream { display: flex; flex-direction: column; gap: 10px; font: 15px/1.45 var(--eden-sans); }
.turn { display: flex; flex-direction: column; gap: 10px; padding: 6px 0; border-radius: 12px; transition: background .6s; }
.turn.flash { background: rgba(158,231,255,.06); }
.qb { max-width: 85%; white-space: pre-wrap; overflow-wrap: anywhere; }
.qb.you { align-self: flex-end; padding: 8px 12px; border-radius: 14px 14px 4px 14px; background: rgba(158,231,255,.16); color: #f7f8f8; }
.qb.ai { align-self: stretch; max-width: none; color: rgba(247,248,248,.86); }
.qcap { margin: -6px 0 0; font-size: 14px; line-height: 1.4; color: rgba(247,248,248,.55); }
.qb a { color: #9ee7ff; text-decoration: underline; text-underline-offset: 2px; }
.qb.mate { align-self: flex-start; padding: 8px 12px; border-radius: 14px 14px 14px 4px; background: rgba(247,248,248,.07); color: #f7f8f8; }
.qb.qb-run { margin-top: -5px; }
.qb.you.qb-run { border-top-right-radius: 4px; }
.qb.mate.qb-run { border-top-left-radius: 4px; }
.qb-who { margin: 4px 0 -6px; font-size: 14px; color: rgba(247,248,248,.45); }
.qstep { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; font-size: 14px; color: #9EE7FF; opacity: .85; }
.qstep .stop { height: 24px; padding: 0 10px; border-radius: 999px; border: 1px solid rgba(247,248,248,.14); background: none; color: rgba(247,248,248,.65); font: 14px var(--eden-sans); }
.qmeta { margin: 0; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: rgba(247,248,248,.32); }
.qmeta.warn { color: var(--eden-warn); text-transform: none; letter-spacing: 0; font-size: 14px; }
.qmeta.dim { margin-top: 8px; }
.dim { color: rgba(247,248,248,.55); }
.hello { padding: 30vh 0 0; }
.eden-says { margin: 0 0 6px; font-size: 17px; color: rgba(247,248,248,.86); }
.empty-chat { padding-top: 30vh; }

/* "Needs you" and review: V3's ask card, with its iridescent edge */
.ask { position: relative; align-self: stretch; padding: 12px 14px; border-radius: 14px; background: var(--card); }
.ask::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--eden-iris-band); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .7; pointer-events: none; }
.ask p { margin: 4px 0 0; }
.ask .acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ask .acts button { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(247,248,248,.14); background: none; color: #f7f8f8; font: 500 14px var(--eden-sans); }
.ask .acts .pri { background: #f7f8f8; color: #121214; border-color: #f7f8f8; flex: 1 1 100%; }
.ask .acts .quiet { border-color: transparent; color: rgba(247,248,248,.55); }
.rp { margin-top: 10px; }
.rp-h { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: #f7f8f8; }
.rep ul { margin: 4px 0 0; padding-left: 18px; font-size: 14px; color: rgba(247,248,248,.86); }
.linkish { background: none; border: 0; padding: 0; color: rgba(247,248,248,.55); font: 14px var(--eden-sans); min-height: 28px; }

/* pictures in the chat */
.shots { display: grid; gap: 8px; margin-top: 6px; }
.shots.n2 { grid-template-columns: 1fr 1fr; }
.shots figure { margin: 0; }
.shots figcaption { margin-top: 4px; font-size: 14px; color: rgba(247,248,248,.45); }
.pic { display: block; width: 100%; padding: 0; border: 1px solid rgba(247,248,248,.08); border-radius: 10px; overflow: hidden; background: var(--card); max-height: 220px; }
.pic img { display: block; width: 100%; height: auto; }
.pic.tall { max-height: 360px; margin-top: 8px; }
.shots.n1 .pic { max-height: 320px; }

/* the Foundation */
.found { align-self: stretch; background: var(--card); border: 1px solid rgba(247,248,248,.08); border-radius: 14px; padding: 4px 12px 8px; }
.found details { border-top: 1px solid rgba(247,248,248,.06); }
.found details:first-child { border-top: 0; }
.found summary { list-style: none; display: flex; justify-content: space-between; min-height: 40px; align-items: center; font: 600 14px var(--eden-sans); letter-spacing: .1em; text-transform: uppercase; color: rgba(247,248,248,.45); }
.found summary::-webkit-details-marker { display: none; }
.found summary span { color: rgba(247,248,248,.28); }
.found .sw { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px 8px; padding: 2px 0 10px; }
.found .s { display: grid; gap: 4px; }
.found .s i { display: block; height: 36px; border-radius: 8px; border: 1px solid rgba(247,248,248,.12); }
.found .s span { font-size: 14px; color: rgba(247,248,248,.55); overflow-wrap: anywhere; line-height: 1.25; }
.found .sp { display: grid; gap: 6px; padding: 2px 0 10px; }
.found .sp div { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(247,248,248,.55); }
.found .sp i { display: block; height: 10px; border-radius: 3px; background: rgba(158,231,255,.45); min-width: 2px; }

/* the dock: V3's corner card, pinned to the foot */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 7; padding: 8px calc(env(safe-area-inset-right) + 12px) calc(env(safe-area-inset-bottom) + 10px) calc(env(safe-area-inset-left) + 12px); background: linear-gradient(to top, #121214 70%, rgba(18,18,20,0)); display: flex; align-items: flex-end; gap: 10px; }
.dock .qcard { flex: 1; min-width: 0; background: var(--card); border: 1px solid rgba(247,248,248,.14); border-radius: 14px; box-shadow: 0 18px 44px rgba(0,0,0,.5); }
.dock .to { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px 0; font-size: 14px; color: rgba(247,248,248,.55); }
.dock .to span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock .to button { width: 22px; height: 22px; border: 0; border-radius: 6px; background: none; color: rgba(247,248,248,.45); display: grid; place-items: center; flex: none; }
.dock .to svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.dock .qreply { display: flex; align-items: flex-end; gap: 8px; padding: 6px 8px 6px 14px; }
.dock textarea { flex: 1; min-height: 34px; max-height: 140px; resize: none; border: 0; outline: none; background: none; color: #f7f8f8; padding: 8px 0; font: 16px/1.35 var(--eden-sans); }
.dock textarea::placeholder { color: rgba(247,248,248,.38); }
.dock .go { min-height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(247,248,248,.22); background: none; color: #f7f8f8; font: 500 14px var(--eden-sans); }
.dock .hint { margin: 0; padding: 0 14px 8px; font-size: 14px; color: rgba(247,248,248,.45); }
.dock .hint.on { color: #9EE7FF; }
.dock .qrow { display: flex; gap: 8px; padding-bottom: 2px; }
.qc { width: 44px; height: 44px; border-radius: 50%; background: var(--card); border: 1px solid rgba(247,248,248,.14); color: rgba(247,248,248,.55); box-shadow: 0 8px 22px rgba(0,0,0,.45); display: grid; place-items: center; position: relative; }
.qc svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.qc.on::after { content: ""; position: absolute; top: 4px; right: 4px; width: 7px; height: 7px; border-radius: 50%; background: #7BD88F; }

/* ===== The Foundation on a phone (2026-11-21): a small card in the chat, and a viewer that shows one thing at a time ===== */
.fcard { align-self: stretch; background: var(--card); border: 1px solid rgba(247,248,248,.08); border-radius: 14px; padding: 12px 14px 14px; display: grid; gap: 12px; }
.fc-h { display: flex; justify-content: space-between; gap: 8px; }
.keys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 8px; }
.kc { display: grid; justify-items: center; gap: 5px; min-width: 0; }
.kc i { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(247,248,248,.16); }
.kc span { font-size: 14px; color: rgba(247,248,248,.55); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.tprev { display: grid; gap: 6px; border-radius: 10px; overflow: hidden; }
.tcrop { position: relative; width: 100%; overflow: hidden; border-radius: 8px; background: #fff; }
.tcrop img { display: block; width: 100%; height: auto; }
.tcrop.big { margin-top: 6px; }
.spark { display: flex; align-items: flex-end; gap: 3px; height: 30px; }
.spark i { flex: 1; border-radius: 2px; background: rgba(158,231,255,.45); }
.fcard .open { min-height: 40px; border-radius: 999px; border: 1px solid rgba(247,248,248,.14); background: none; color: #f7f8f8; font: 500 14px var(--eden-sans); }

body.locked { overflow: hidden; }
.fview { position: fixed; inset: 0; z-index: 20; background: #121214; display: flex; flex-direction: column; animation: fv-in .22s cubic-bezier(.2,.7,.2,1); }
@keyframes fv-in { from { opacity: 0; transform: translateY(12px); } }
.fv-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: calc(env(safe-area-inset-top) + 10px) calc(env(safe-area-inset-right) + 12px) 6px calc(env(safe-area-inset-left) + 16px); }
.fv-h .qmeta { margin: 0; }
.fv-t { margin: 2px 0 0; font-size: 20px; color: #f7f8f8; }
.fv-h .ib svg { width: 12px; height: 12px; }
.fv-tabs { padding: 4px calc(env(safe-area-inset-right) + 16px) 0 calc(env(safe-area-inset-left) + 16px); }
.fv-tabs .qseg { display: flex; margin: 0 0 8px; }
.fv-tabs .qseg button { flex: 1; min-height: 34px; }
.fv-b { flex: 1; overflow: auto; -webkit-overflow-scrolling: touch; padding: 0 calc(env(safe-area-inset-right) + 16px) calc(env(safe-area-inset-bottom) + 24px) calc(env(safe-area-inset-left) + 16px); }
.chips { display: flex; gap: 6px; overflow-x: auto; padding: 4px 0 12px; scrollbar-width: none; position: sticky; top: 0; background: #121214; z-index: 1; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(247,248,248,.14); background: none; color: rgba(247,248,248,.65); font: 14px var(--eden-sans); white-space: nowrap; }
.chip span { color: rgba(247,248,248,.32); margin-left: 4px; }
.chip.on { border-color: #9EE7FF; color: #f7f8f8; }
.flist { list-style: none; margin: 0; padding: 0; }
.frow { width: 100%; display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; min-height: 56px; padding: 0; border: 0; border-bottom: 1px solid rgba(247,248,248,.06); background: none; color: inherit; text-align: left; font: inherit; }
.frow:active { background: rgba(247,248,248,.04); }
.frow .sw { width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(247,248,248,.14); }
.fn { font-size: 14px; color: #f7f8f8; overflow-wrap: anywhere; }
.fv { font-size: 14px; color: rgba(247,248,248,.55); font-variant-numeric: tabular-nums; white-space: nowrap; }
.trow { padding: 14px 0; border-bottom: 1px solid rgba(247,248,248,.06); }
.trow .tl { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.trow .ff { display: block; margin-top: 6px; font-size: 14px; color: rgba(247,248,248,.38); }
.srow { display: grid; grid-template-columns: 74px 1fr 36px; align-items: center; gap: 10px; min-height: 40px; border-bottom: 1px solid rgba(247,248,248,.06); }
.srow .bar { height: 10px; }
.srow .bar i { display: block; height: 100%; border-radius: 3px; background: rgba(158,231,255,.45); }
.srow .fv { text-align: right; }
.pad { padding: 16px 0; }
.toast { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom) + 24px); transform: translateX(-50%); margin: 0; padding: 10px 16px; border-radius: 999px; background: #f7f8f8; color: #121214; font: 500 14px var(--eden-sans); }

/* ===== Mobile pass (2026-11-21, Josh: clear navigation, one column of pictures, the Foundation in accordions, nothing under 14px) ===== */
/* screens and the bottom bar */
body.has-tabs main { padding-bottom: calc(env(safe-area-inset-bottom) + 96px); }
.screen-t { font-size: 28px; font-weight: 400; letter-spacing: -.01em; margin: 8px 0 16px; }
.bizsec { margin: 0 0 22px; }
.biz-t { margin: 0 0 6px; font-size: 14px; font-weight: 600; color: rgba(247,248,248,.55); }
.plist { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(247,248,248,.08); }
.prow { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 0; border-bottom: 1px solid rgba(247,248,248,.08); color: inherit; }
.prow .pm { flex: 1; min-width: 0; display: grid; gap: 3px; }
.prow .pn { font-size: 17px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prow .ps { font-size: 14px; color: rgba(247,248,248,.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prow .ps.lit { color: #FFF4C2; }
.prow .go { width: 12px; height: 12px; flex: none; fill: none; stroke: rgba(247,248,248,.32); stroke-width: 1.5; stroke-linecap: round; }
.prow .dot { width: 9px; height: 9px; }
.dim.big { font-size: 17px; padding: 24px 0; }
.tabs a { font-size: 14px; min-height: 56px; }
.tabs .glyph { width: 24px; height: 24px; }
.back-b { margin-left: -4px; flex: none; }
.back-b svg { width: 14px; height: 14px; }

/* the titlebar a little larger on a phone */
.qcrumbs { font-size: 15px; }
.qcrumbs .b { max-width: 38vw; min-height: 40px; }

/* pictures: one column, as large as the screen allows */
.shots, .shots.n2 { grid-template-columns: 1fr; gap: 14px; }
.pic, .shots.n1 .pic { max-height: 75vh; border-radius: 12px; }
.shots figcaption { font-size: 14px; margin: 0 0 6px; order: -1; }
.shots figure { display: flex; flex-direction: column; }

/* accordions: closed to start, one thing at a time */
.acc { align-self: stretch; border-top: 1px solid rgba(247,248,248,.08); }
.acc > summary { list-style: none; display: flex; align-items: center; gap: 10px; min-height: 52px; cursor: pointer; }
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary span:first-child { flex: 1; font-size: 16px; font-weight: 500; color: #f7f8f8; }
.acc > summary .cnt { font-size: 14px; color: rgba(247,248,248,.45); white-space: nowrap; }
.acc > summary svg { width: 12px; height: 12px; flex: none; fill: none; stroke: rgba(247,248,248,.45); stroke-width: 1.5; stroke-linecap: round; transition: transform .2s; }
.acc[open] > summary svg { transform: rotate(180deg); }
.acc-b { padding: 0 0 12px; }
.acc.sub { border-top-color: rgba(247,248,248,.06); }
.acc.sub > summary { min-height: 48px; }
.acc.sub > summary span:first-child { font-size: 15px; font-weight: 400; color: rgba(247,248,248,.86); }
.fcard.acc { padding: 0 14px; border: 1px solid rgba(247,248,248,.08); border-radius: 14px; background: var(--card); display: block; }
.fcard > summary span:first-child { font-size: 17px; }
.fcard > summary .cnt { white-space: normal; text-align: right; }
.fcard .keys { padding: 4px 0 14px; }
.fcard .flist .fn { font-size: 15px; }

/* nothing under 14px */
.qmeta { font-size: 14px; text-transform: none; letter-spacing: 0; color: rgba(247,248,248,.45); }
.qstep, .qstep .stop, .qb-who, .shots figcaption, .kc span, .fv, .fc-h, .dock .to, .dock .hint, .linkish, .hint, .meta, .state, .row .line, .note, .sub, .chip,
.qnav .r .m, .qnav .g, .qnav .back, .qh-row .s, .qh-row .u, .toast, .found summary, .found .s span, .found .sp div, .trow .ff, .rp-h, .eyebrow, .tabs a, .count { font-size: 14px; }
.qnav .g, .qh-row .u, .eyebrow, .found summary { letter-spacing: .02em; text-transform: none; }
.qnav .r .n { font-size: 16px; }
.qb, .stream { font-size: 16px; }
.dock textarea { font-size: 16px; }
.kc i { width: 40px; height: 40px; }
.keys { grid-template-columns: repeat(4, 1fr); }
.count { min-width: 22px; height: 22px; border-radius: 11px; font-size: 14px; padding: 0 6px; }

.home-mark { font-size: 16px; padding: 0 8px; color: #f7f8f8; }
.qcrumbs .b { align-items: center; line-height: 1.2; }
.qcrumbs .b span { display: block; }

.look { display: flex; flex-direction: column; gap: 10px; }

.btile { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; flex: none; font: 700 15px/1 var(--eden-sans); color: #121214; font-style: normal; }

/* settings rows: the title on top, its description under it, the switch to the side (Josh: "stack the text vs cramming it all in") */
.toggle { align-items: center; gap: 16px; padding: 14px 0; min-height: 64px; }
.toggle > span:first-child { flex: 1; min-width: 0; display: grid; gap: 4px; }
.toggle .t { display: block; font-size: 17px; line-height: 1.3; color: #f7f8f8; }
.toggle .d { display: block; font-size: 15px; line-height: 1.4; color: rgba(247,248,248,.55); margin: 0; }
.toggle input { flex: none; }

/* ===== The Hub's look (2026-11-21, Josh: "have app look more like the hub ui. same sort of cards and icons"). Values from
   apps/studio/enter.html, sized up to the phone's 14px floor. ===== */
:root { --hub-ease: cubic-bezier(.22,.61,.36,1); --iris-line: linear-gradient(90deg,#9EE7FF,#C9B7FF,#F6C7E7,#FFF4C2,#9EE7FF); }
.screen-t { font-size: 30px; font-weight: 400; letter-spacing: -.015em; line-height: 1.25; margin: 6px 0 20px; }

/* the Hub's top bar: translucent, blurred */
.titlebar { background: rgba(18,18,20,.88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.home-mark { font-size: 15px; font-weight: 500; color: rgba(247,248,248,.65); }

/* cards: the Hub's business and project cards, one per row on a phone */
.hcards { display: grid; grid-template-columns: 1fr; gap: 12px; }
.hcard { position: relative; display: flex; flex-direction: column; min-height: 132px; padding: 20px; border-radius: 14px; background: #0F1011; border: 1px solid rgba(247,248,248,.08); color: #f7f8f8;
  transition: background .16s var(--hub-ease), transform .16s var(--hub-ease); }
.hcard:active { background: #16181B; transform: translateY(-1px); }
.hcard .ic { color: rgba(247,248,248,.5); margin-bottom: auto; padding-bottom: 22px; transition: color .16s; }
.hcard:active .ic { color: #f7f8f8; }
.hcard b { font-size: 18px; font-weight: 500; line-height: 1.3; padding-right: 36px; }
.hcard .desc { margin-top: 4px; font-size: 15px; line-height: 1.45; color: rgba(247,248,248,.5); }
.hcard .desc.lit, .hcard .p.lit, .banner-c .bl.lit { color: #FFF4C2; }
.hcard .count { position: absolute; top: 20px; right: 20px; left: auto; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 13px; display: grid; place-items: center; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; color: #121214; background: #FFF4C2; }
.hcard.proj { min-height: 0; padding: 16px; }
.hcard .plate { display: block; height: 72px; border-radius: 6px; margin-bottom: 14px; background: linear-gradient(115deg,#9EE7FF,#C9B7FF 36%,#F6C7E7 68%,#FFF4C2);
  -webkit-mask: radial-gradient(circle,#000 1px,transparent 1.35px) 0 0 / 9px 9px; mask: radial-gradient(circle,#000 1px,transparent 1.35px) 0 0 / 9px 9px; opacity: .45; }
.hcard .p { font-size: 14px; color: rgba(247,248,248,.5); margin-bottom: 4px; }
.hcard .w { display: flex; align-items: center; gap: 6px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(247,248,248,.06); font-size: 15px; color: rgba(247,248,248,.65); }
.hcard .w svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; margin-left: auto; }

/* the Hub's iridescent ring: hidden at rest, lit while pressed */
.ring::before { content: ""; position: absolute; inset: -1px; border-radius: 15px; padding: 1px; pointer-events: none;
  background: conic-gradient(from 0deg, rgba(158,231,255,.42), rgba(201,183,255,.38), rgba(246,199,231,.38), rgba(255,244,194,.34), rgba(158,231,255,.42));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .16s; }
.ring:active::before, .ring:focus-visible::before { opacity: 1; filter: brightness(1.45) saturate(1.25); }

/* needs you: the Hub's banners */
.banners { display: grid; gap: 10px; }
.banner-c { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: start; padding: 16px; border-radius: 14px; background: #0F1011; border: 1px solid rgba(247,248,248,.08); color: #f7f8f8; }
.banner-c:active { background: #16181B; }
.banner-c .ic { grid-row: 1 / 3; color: rgba(247,248,248,.5); padding-top: 1px; }
.banner-c .bm { display: grid; gap: 3px; min-width: 0; }
.banner-c b { font-size: 17px; font-weight: 500; line-height: 1.3; }
.banner-c .desc { font-size: 15px; color: rgba(247,248,248,.5); }
.banner-c .bl { grid-column: 2; margin-top: 8px; font-size: 14px; color: rgba(247,248,248,.65); }

/* the bottom bar: the Hub's icons and its iridescent underline */
.tabs .glyph { stroke-width: 1.3; }
.tabs a[aria-current="page"]::before { background: var(--iris-line); background-size: 200% 100%; }

/* the Hub's switch, made for a thumb */
.toggle input { width: 46px; height: 28px; border-radius: 14px; background: none; border: 1px solid rgba(247,248,248,.14); position: relative; }
.toggle input::after { top: 4px; left: 4px; width: 18px; height: 18px; background: rgba(247,248,248,.44); }
.toggle input:checked { border-color: transparent; background: rgba(247,248,248,.06); box-shadow: 0 0 0 1px rgba(201,183,255,.55), 0 0 0 1px rgba(158,231,255,.35) inset; }
.toggle input:checked::after { transform: translateX(18px); background: #f7f8f8; }

/* buttons: the Hub's white pill and line pill */
.btn { border-radius: 999px; font-size: 15px; }
.btn.primary { background: #f7f8f8; color: #121214; border: 0; }

/* Eden's live voice: one quiet card above the dock while the line is open */
.dock .qc.talk svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.dock .qc.on { border-color: var(--eden-iris-cyan); box-shadow: 0 0 0 4px rgba(158,231,255,.14); color: #9EE7FF; }
.voice { position: fixed; left: calc(env(safe-area-inset-left) + 12px); right: calc(env(safe-area-inset-right) + 12px); bottom: calc(env(safe-area-inset-bottom) + 84px); z-index: 8;
  background: var(--card); border: 1px solid rgba(247,248,248,.14); border-radius: 14px; box-shadow: 0 18px 44px rgba(0,0,0,.5); padding: 12px 14px; }
.voice .v-h { display: flex; align-items: center; gap: 10px; }
.voice .v-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(247,248,248,.3); flex: none; }
.voice.live .v-dot { background: #9EE7FF; box-shadow: 0 0 0 4px rgba(158,231,255,.16); }
.voice .v-st { flex: 1; font: 500 15px var(--eden-sans); }
.voice .v-end { min-height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(247,248,248,.22); background: none; color: #f7f8f8; font: 500 14px var(--eden-sans); }
.voice p { margin: 10px 0 0; font-size: 15px; line-height: 1.45; max-height: 6.5em; overflow: auto; }
.voice .v-you { color: rgba(247,248,248,.6); }
.voice p[hidden] { display: none; }

/* many businesses: a compact list like the Hub's business menu, with a search field */
.find { display: block; width: 100%; box-sizing: border-box; min-height: 44px; margin: 0 0 10px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(247,248,248,.14); background: #0F1011; color: #f7f8f8; font: 16px var(--eden-sans); outline: none; }
.find:focus { border-color: rgba(247,248,248,.32); }
.find::placeholder { color: rgba(247,248,248,.38); }
.hlist { border-radius: 14px; background: #0F1011; border: 1px solid rgba(247,248,248,.08); overflow: hidden; }
.hrow { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 14px; color: #f7f8f8; text-decoration: none; border-top: 1px solid rgba(247,248,248,.06); }
.hrow:first-child { border-top: 0; }
.hrow[hidden] { display: none; }
.hrow:active { background: #16181B; }
.hrow .ic { color: rgba(247,248,248,.5); flex: none; display: grid; }
.hrow .bm { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.hrow b { font-size: 16px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hrow .desc { font-size: 14px; color: rgba(247,248,248,.5); }
.hrow .desc.lit { color: #FFF4C2; }
.hrow .count { position: static; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px; display: grid; place-items: center; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; color: #121214; background: #FFF4C2; flex: none; }
.hcards + .biz-t { margin-top: 24px; }
.hcards.two { grid-template-columns: 1fr 1fr; gap: 10px; }
.hcards.two .hcard { min-height: 116px; padding: 16px; }
.hcards.two .hcard .ic { padding-bottom: 16px; }
.hcards.two .hcard b { font-size: 16px; padding-right: 26px; overflow-wrap: anywhere; }
.hcards.two .hcard .desc { font-size: 14px; }
.hcards.two .hcard .count { top: 14px; right: 14px; }

/* a project's home: its pages as pictures, two to a row */
#phFound { margin: 16px 0 0; }
.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pcard { display: flex; flex-direction: column; gap: 8px; padding: 0; border: 0; background: none; color: #f7f8f8; text-align: left; font: inherit; }
.pthumb { display: block; aspect-ratio: 390 / 440; border-radius: 12px; overflow: hidden; background: #0F1011; border: 1px solid rgba(247,248,248,.08); }
.pthumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pthumb img:not([src]) { visibility: hidden; }
.pthumb.none { background: #0F1011 linear-gradient(135deg, transparent 49.5%, rgba(247,248,248,.06) 50%, transparent 50.5%); }
.pcard .pn { font-size: 15px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard:active .pthumb { border-color: rgba(247,248,248,.3); }
.hcards.two + #phFound + .biz-t, .hcards.two + .biz-t { margin-top: 24px; }

.hometip { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 18px; padding: 14px; border-radius: 14px; background: #0F1011; border: 1px solid rgba(158,231,255,.28); }
.hometip .ic { flex: none; color: #9EE7FF; display: grid; }
.hometip .ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.hometip b { display: block; font-size: 16px; font-weight: 500; }
.hometip .desc { display: block; margin-top: 2px; font-size: 14px; line-height: 1.45; color: rgba(247,248,248,.6); }

.homeask { position: fixed; inset: 0; z-index: 30; background: rgba(0,0,0,.55); display: flex; align-items: flex-end; }
.ha-card { width: 100%; box-sizing: border-box; padding: 22px 20px calc(env(safe-area-inset-bottom) + 20px); background: #17191c; border-top: 1px solid rgba(247,248,248,.14); border-radius: 18px 18px 0 0; animation: ha-up .28s cubic-bezier(.2,.8,.2,1); }
@keyframes ha-up { from { transform: translateY(40px); opacity: 0; } }
.ha-t { margin: 0 0 12px; font-size: 20px; font-weight: 500; }
.ha-card ol { margin: 0; padding-left: 22px; font-size: 16px; line-height: 1.5; }
.ha-card li + li { margin-top: 6px; }
.ha-i { display: inline-grid; vertical-align: -4px; color: #9EE7FF; }
.ha-i svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.ha-s { margin: 12px 0 16px; font-size: 14px; line-height: 1.45; color: rgba(247,248,248,.6); }
.ha-card .btn { width: 100%; }
/* opened from the Home Screen, iOS draws its status bar over the top of the app: the bar sits a little lower, clear of it
   (Josh, 2026-11-21: "the Eden logo is a little too high up... blocked by the iOS gradient") */
html.standalone .titlebar { height: calc(env(safe-area-inset-top) + var(--bar-h) + 14px); padding-top: calc(env(safe-area-inset-top) + 14px); }
html.standalone main { padding-top: calc(env(safe-area-inset-top) + var(--bar-h) + 22px); }
html.standalone body.nobar main { padding-top: calc(env(safe-area-inset-top) + 26px); }
html.standalone .sheet { top: calc(env(safe-area-inset-top) + var(--bar-h) + 20px); }
.hrow { width: 100%; border-left: 0; border-right: 0; border-bottom: 0; background: none; font: inherit; text-align: left; }
.hlist .hrow:first-child { border-top: 0; }
.hrow .go { font-size: 14px; color: rgba(247,248,248,.5); flex: none; }

/* inside a project: what it is, under its name; the chat box takes the tab bar's place, with one line above it */
.about { margin: -8px 0 20px; font-size: 16px; line-height: 1.5; color: rgba(247,248,248,.68); max-width: 60ch; }
body.has-dock .tabs { display: none; }
.dock { flex-wrap: wrap; }
.dock .peek { flex: 0 0 100%; display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; margin-bottom: 2px; border-radius: 12px; background: #0F1011; border: 1px solid rgba(247,248,248,.1); color: #f7f8f8; text-decoration: none; font-size: 14px; }
.dock .peek[hidden] { display: none; }
.dock .peek span:first-of-type { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock .peek .pl { color: rgba(247,248,248,.55); flex: none; }
.dock .peek svg { width: 10px; height: 10px; fill: none; stroke: rgba(247,248,248,.45); stroke-width: 1.5; flex: none; }
.dock .peek .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(247,248,248,.3); flex: none; }
.dock .peek .dot.on { background: #9EE7FF; }
.dock .peek .dot.need { background: #FFF4C2; }

/* the chat box: full width, the words on top, the buttons in a row inside it */
.dock .qcard { flex: 1 1 100%; }
.dock .qreply { display: block; padding: 4px 8px 8px 14px; }
.dock .qreply textarea { display: block; width: 100%; box-sizing: border-box; padding: 10px 6px 6px 0; }
.dock .qbar { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.dock .qbar .qc { width: 36px; height: 36px; box-shadow: none; background: none; border-color: rgba(247,248,248,.16); }
.dock .qbar .qc svg { width: 17px; height: 17px; }
.dock .qbar .go { min-height: 36px; padding: 0 16px; background: #f7f8f8; color: #121214; border-color: #f7f8f8; }
.dock .qbar .go[hidden] { display: none; }
body.has-dock main { padding-bottom: calc(env(safe-area-inset-bottom) + 190px); }
.voice { bottom: calc(env(safe-area-inset-bottom) + 160px); }

/* a page's preview (2026-11-22): the page drawn at its board's width, Mobile 390 or Desktop 1440, scaled to the screen */
.pvtop { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
.pvfull { color: var(--eden-ink-2); font-size: var(--eden-t-14); text-decoration: none; padding: 10px 4px; }
.pvstage { position: relative; overflow: hidden; border-radius: 14px; border: 1px solid rgba(247,248,248,.12); background: #fff; min-height: 240px; }
.pvstage iframe { position: absolute; left: 0; top: 0; border: 0; background: #fff; transform-origin: 0 0; opacity: 0; transition: opacity .2s; }
.pvstage.ready iframe { opacity: 1; }
.pvstage .pvwait { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: #5b5d62; }
.pvstage.ready .pvwait { display: none; }
