/* Operate-mode desk in the Nexhelm brand: warm paper ground, a tone-step sidebar, white panels without borders, forest green for actions and state, gold for highlights. Single light theme on purpose: bankers use it at a desk in daylight. */
:root {
  /* Nexhelm brand (nexhelm.ai): warm paper ground, deep ink, forest green for actions and state, gold for the mark and highlights. */
  --ground: #fbfaf9; --side: #f2eee6; --surface: #ffffff; --surface-2: #f7f4ee; --hover: #f5f1ea; --active: #e9e3d8;
  --ink: #14110c; --ink-2: #332e25; --muted: #5f5749; --line: #efebe3; --rule: #e6e0d5; --line-strong: #d6cebf; --primary: #221f1a; --primary-hover: #14110c;
  --accent: #2f4a33; --accent-hover: #243a28; --accent-tint: #e3ece1; --accent-ink: #2f4a33;
  --gold: #d9a520; --gold-tint: #f3dc9e; --gold-ink: #6b4b0b;
  --ok: #2f6b3a; --ok-bg: #e2eedf; --warn: #7d570c; --warn-bg: #f8ebc8; --bad: #9e2a1c; --bad-bg: #f6e0da;
  --info: #3f5568; --info-bg: #e8ecef; --mute: #5f5749; --mute-bg: #eeeae1;
  --chrome: #1a1713; --chrome-ink: #f4f1e9; --chrome-muted: #aaa396;
  --font: Inter, "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --code: ui-monospace, "Cascadia Mono", Consolas, monospace;
  --r: 10px; --rc: 9px;
  --lift: 0 -1px 0 0 rgba(0,0,0,.22) inset, 0 2px 6px 0 rgba(0,0,0,.18);
  color-scheme: light;
}
* { box-sizing: border-box }
html { scrollbar-color: #cfc7b8 transparent; -webkit-text-size-adjust: 100% }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.5; caret-color: var(--accent) }
::selection { background: var(--accent-tint); color: var(--ink) }
a { color: var(--accent-ink); text-underline-offset: 3px }
button, input, select, textarea { font: inherit; color: inherit }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px }
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 650 }
h1 { font-size: 24px; line-height: 1.25; letter-spacing: -0.01em } h2 { font-size: 16.5px } h3 { font-size: 15px }
p { margin: 0 } ul, ol { margin: 0; padding: 0; list-style: none } dl, dd { margin: 0 }
code { font-family: var(--code); font-size: 13px; background: var(--surface-2); padding: 1px 5px; border-radius: 3px }
.num, table, .kpi b, .fr b, .hb b, time { font-variant-numeric: tabular-nums }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0) }

/* prototype bar (not part of the product) */
.proto { background: var(--chrome); color: var(--chrome-ink); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding-block: 8px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); font-size: 13.5px }
.proto strong { font-weight: 600 }
.proto nav { display: flex; flex-wrap: wrap; gap: 4px }
.proto a { color: var(--chrome-ink); text-decoration: none; padding: 4px 10px; border-radius: 999px }
.proto a:hover { background: #2b2722 }
.proto a.on { background: #3a342b; font-weight: 600 }
.proto .pnote { margin-left: auto; color: var(--chrome-muted) }

/* desk shell */
.app { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: calc(100vh - 42px) }
.side { background: var(--side); padding: 18px 12px 24px; padding-left: max(12px, env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; gap: 16px }
.brand { padding: 0 8px; display: grid; gap: 2px }
.brand b { font-size: 16px; font-weight: 700; letter-spacing: -0.01em }
.brand span { font-size: 13px; color: var(--muted) }
.mselect { padding: 0 4px }
.mselect select { width: 100%; height: 38px; border: 0; border-radius: var(--r); background: var(--surface); padding: 0 10px; font-weight: 600; font-size: 14px }
.nav { display: grid; gap: 14px }
.nav .grp { display: grid; gap: 1px }
.nav .gt { font-size: 12.5px; color: var(--muted); padding: 0 10px 4px; font-weight: 500 }
.nav a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: var(--r); color: var(--ink-2); text-decoration: none; font-size: 14.5px; transition: background-color .15s ease }
.nav a:hover { background: var(--active) }
.nav a.on { background: var(--surface); color: var(--ink) }
.nav svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round }
.nav .ct { margin-left: auto; font-size: 12px; font-weight: 600; background: var(--primary); color: #fff; border-radius: 999px; padding: 0 7px; line-height: 19px }
.main { min-width: 0; display: flex; flex-direction: column }
.top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding-block: 12px; padding-left: 28px; padding-right: max(28px, env(safe-area-inset-right, 0px)); background: var(--ground) }
.crumb { color: var(--muted); font-size: 14px; display: flex; gap: 8px; flex-wrap: wrap }
.crumb b { color: var(--ink); font-weight: 600 }
.top .search { margin-left: auto; display: flex; align-items: center; gap: 8px; background: var(--surface); border-radius: var(--r); padding: 0 10px; height: 36px; min-width: 0; flex: 0 1 300px }
.top .search svg { width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 1.7; stroke-linecap: round; flex: none }
.top .search input { border: 0; outline: 0; background: transparent; width: 100%; min-width: 0; font-size: 14px }
.who { display: flex; align-items: center; gap: 8px; font-size: 14px }
.content { padding: 8px 28px 48px; padding-right: max(28px, env(safe-area-inset-right, 0px)); max-width: 1320px; width: 100% }
.solo { padding-block: 28px 56px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)) }
.solo > .page { max-width: 780px; margin: 0 auto }
.solo .kpis { grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)) }

/* layout primitives */
.page { display: flex; flex-direction: column; gap: 18px }
.eyebrow { display: none }
.ph { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 20px; padding-top: 6px }
.ph > div:first-child { min-width: 0; display: grid; gap: 4px }
.ph .sub { color: var(--muted); font-size: 14.5px; max-width: 72ch }
.actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center }
.g2, .g3, .g4 { display: grid; gap: 16px; align-items: start }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)) }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)) }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)) }
.stack { display: flex; flex-direction: column; gap: 16px; min-width: 0 }
.row { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center }
.spacer { flex: 1 }

/* panels: a tone step from the ground, no border, no shadow */
.card { background: var(--surface); border-radius: var(--r); padding: 18px 20px; min-width: 0; display: flex; flex-direction: column; gap: 12px }
.card .card { background: var(--surface-2); padding: 14px 16px }
.card.flat { background: transparent; padding: 0 }
.card.accent { background: var(--accent-tint) }
.ch { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px }
.ch h2 { margin-right: auto }
.ch .meta, .meta { color: var(--muted); font-size: 13.5px }
.ch .actions { margin-left: auto }

/* stats strip: plain numbers in one panel, not hero tiles */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px 20px; background: var(--surface); border-radius: var(--r); padding: 16px 20px }
.card .kpis { padding: 0; background: transparent }
.kpi { display: grid; gap: 2px; align-content: start; min-width: 0; padding-left: 20px; box-shadow: inset 1px 0 0 var(--rule) }
.kpi:first-child { padding-left: 0; box-shadow: none }
.kpi .k { font-size: 13.5px; color: var(--muted) }
.kpi b { font-size: 24px; font-weight: 500; line-height: 1.25 }
.kpi em { font-style: normal; font-size: 13px; color: var(--muted) }
.kpi em.up { color: var(--ok) } .kpi em.down { color: var(--bad) }

/* tables */
.tw { overflow-x: auto; border-radius: var(--r); background: var(--surface) }
.card .tw { background: transparent; margin: 0 -4px }
table.t { width: 100%; border-collapse: collapse; font-size: 14px }
.t th { text-align: left; font-weight: 500; font-size: 13px; color: var(--muted); padding: 9px 12px; white-space: nowrap; box-shadow: inset 0 -1px 0 var(--rule) }
.t td { padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: top }
.t .num { text-align: right }
.t td:first-child { min-width: 170px }
.t tr[data-go] { cursor: pointer }
.t tr[data-go] td:first-child b, .t tr[data-go] td:first-child > a { color: var(--accent-ink) }
.t tr[data-go]:hover td:first-child b { text-decoration: underline; text-underline-offset: 3px }
.two { display: grid; gap: 1px; min-width: 0 }
.two b { font-weight: 600; font-size: 14px }
.two span { font-size: 13px; color: var(--muted) }

/* pills */
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 1px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 500; line-height: 20px; white-space: nowrap; background: var(--mute-bg); color: var(--mute) }
.pill.ok { background: var(--ok-bg); color: var(--ok) } .pill.warn { background: var(--warn-bg); color: var(--warn) }
.pill.bad { background: var(--bad-bg); color: var(--bad) } .pill.info { background: var(--info-bg); color: var(--info) }
.pill.mute { background: var(--mute-bg); color: var(--mute) }
.pill.t1 { background: var(--gold-tint); color: var(--gold-ink); font-weight: 600 } .pill.t2 { background: #e6f1ee; color: var(--accent-ink) } .pill.t3 { background: var(--mute-bg); color: var(--mute) }
.pill { flex: none }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 14px; border: 0; border-radius: var(--rc); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--ink); font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; text-decoration: none; transition: background-color .15s ease, box-shadow .15s ease }
.btn:hover { background: var(--hover) }
.btn:active { background: var(--side) }
.btn.pri { background: var(--primary); color: #fff; box-shadow: var(--lift); font-weight: 600 }
.btn.pri:hover { background: var(--primary-hover) }
.btn.ghost { background: transparent; box-shadow: none; color: var(--accent-ink) }
.btn.ghost:hover { background: var(--hover) }
.btn.danger { color: var(--bad); box-shadow: inset 0 0 0 1px #e3b7b1 }
.btn.danger:hover { background: var(--bad-bg) }
.btn.sm { height: 30px; padding: 0 10px; font-size: 13.5px }
.btn[disabled] { opacity: .5; cursor: not-allowed }
.btn[disabled]:hover { background: var(--surface) }
.btn.pri[disabled]:hover { background: var(--primary) }
@media (pointer: coarse) { .btn { min-height: 44px } .btn.sm { min-height: 40px } .nav a { padding-block: 10px } }

/* evidence lines */
.ev { display: grid; gap: 10px }
.ev li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 10px; align-items: start }
.ev li > i { font-style: normal; font-size: 12px; font-weight: 700; text-align: center; border-radius: 3px; padding: 2px 0; line-height: 18px }
.ev li.kept > i { background: var(--ok-bg); color: var(--ok) }
.ev li.cut > i { background: var(--bad-bg); color: var(--bad) }
.ev li.cut p { color: var(--ink-2) }
.ev cite { display: block; font-style: normal; font-size: 13px; color: var(--muted) }

/* key-value */
.kv { display: grid; gap: 8px }
.kv > div { display: grid; grid-template-columns: minmax(110px, 38%) minmax(0, 1fr); gap: 12px }
.kv dt { color: var(--muted); font-size: 14px }
.kv dd { font-size: 14.5px; min-width: 0 }

/* a drafted message, set like a letter */
.note { background: var(--surface); border-radius: var(--r); padding: 22px 26px; display: grid; gap: 10px; max-width: 70ch; font-size: 15.5px; line-height: 1.62 }
.card .note { background: var(--surface-2) }
.note .to { font-size: 13.5px; color: var(--muted) }
.note .subj { font-weight: 650; font-size: 16px }
.note .body { display: grid; gap: 10px; white-space: pre-line }
.note mark { color: inherit; border-radius: 2px; padding: 0 1px }
.note mark.claim { background: var(--accent-tint); box-shadow: inset 0 -2px 0 #a9c3a4 }
.note mark.fund { background: var(--info-bg); box-shadow: inset 0 -2px 0 #b5c3cf }
.note del.blocked { color: var(--bad); background: var(--bad-bg); text-decoration-thickness: 1.5px }
.note .legend { font-size: 13px; color: var(--muted) }

/* bars, funnel, steps */
.bar { height: 8px; background: var(--mute-bg); border-radius: 999px; overflow: hidden; min-width: 40px }
.bar i { display: block; height: 100%; background: var(--accent); border-radius: 999px }
.funnel { display: grid; gap: 9px }
.fr { display: grid; grid-template-columns: minmax(110px, 170px) minmax(0, 1fr) 64px; gap: 12px; align-items: center; font-size: 14px }
.fr b { text-align: right; font-weight: 600 }
.hbars { display: grid; gap: 9px }
.hb { display: grid; grid-template-columns: minmax(100px, 150px) minmax(0, 1fr) minmax(70px, auto); gap: 12px; align-items: center; font-size: 14px }
.hb b { font-weight: 500; text-align: right; white-space: nowrap }
.steps { display: flex; flex-wrap: wrap; gap: 6px }
.steps li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 10px; border-radius: 999px; background: var(--mute-bg); color: var(--mute); font-size: 13.5px }
.steps li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .45 }
.steps li.done { background: var(--ok-bg); color: var(--ok) }
.steps li.done::before { opacity: 1 }
.steps li.now { background: var(--primary); color: #fff; font-weight: 600 }
.steps li.now::before { opacity: 1; background: #fff }

/* chips, timeline, kanban, split */
.chips { display: flex; flex-wrap: wrap; gap: 6px }
.chip { display: inline-flex; padding: 2px 10px; border-radius: 999px; background: var(--surface-2); font-size: 13px; color: var(--ink-2) }
.card .chip { background: var(--mute-bg) }
.tl { display: grid; gap: 10px }
.tl li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 10px; font-size: 14px }
.tl time { color: var(--muted); font-size: 13px }
.kanban { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 6px }
.col { background: var(--side); border-radius: var(--r); padding: 12px; display: flex; flex-direction: column; gap: 8px; min-width: 0 }
.col h3 { font-size: 14px; display: flex; gap: 8px; align-items: center }
.col h3 span { color: var(--muted); font-weight: 500 }
.kc { background: var(--surface); border-radius: var(--r); padding: 10px 12px; display: grid; gap: 2px; cursor: pointer; transition: background-color .15s ease }
.kc:hover { background: var(--hover) }
.kc b { font-size: 14px; font-weight: 600 } .kc span { font-size: 13px; color: var(--muted) }
.split { display: grid; grid-template-columns: minmax(250px, 360px) minmax(0, 1fr); gap: 16px; align-items: start }
.split .list { background: var(--surface); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column }
.li { padding: 12px 14px; border-top: 1px solid var(--line); cursor: pointer; display: grid; gap: 3px; transition: background-color .15s ease }
.li:first-child { border-top: 0 }
.li:hover { background: var(--surface-2) }
.li.on { background: var(--active) }
.split .detail { min-width: 0; display: flex; flex-direction: column; gap: 16px }

/* callouts, empty, sources */
.callout { background: var(--info-bg); color: var(--ink); border-radius: var(--r); padding: 12px 14px; font-size: 14.5px }
.callout.warn { background: var(--warn-bg) } .callout.bad { background: var(--bad-bg) } .callout.ok { background: var(--ok-bg) }
.empty { padding: 28px 16px; display: grid; gap: 4px; justify-items: start }
.empty b { font-size: 15px } .empty p { color: var(--muted); font-size: 14px; max-width: 56ch }
.src { font-size: 13px; color: var(--muted) }

/* forms */
.field { display: grid; gap: 5px; min-width: 0 }
.field label { font-size: 13.5px; font-weight: 500 }
.field input, .field select, .field textarea, select.in, input.in { width: 100%; min-height: 38px; border: 1px solid var(--line-strong); border-radius: var(--rc); background: var(--surface); padding: 6px 10px; font-size: 14.5px }
.field textarea { min-height: 120px; line-height: 1.55; resize: vertical }
.field small { color: var(--muted); font-size: 13px }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: 2px solid var(--accent-tint); outline-offset: 0 }
.drop { border: 1.5px dashed var(--line-strong); border-radius: var(--r); padding: 22px; text-align: center; color: var(--muted); background: var(--surface-2) }
.switch { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 4px 0; cursor: pointer; font-size: 14.5px; color: var(--ink); text-align: left }
.switch i { position: relative; width: 36px; height: 20px; border-radius: 999px; background: var(--line-strong); flex: none; transition: background-color .18s ease }
.switch i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .18s ease }
.switch.on i { background: var(--accent) }
.switch.on i::after { transform: translateX(16px) }

/* people */
.av { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-ink); font-size: 12px; font-weight: 700; flex: none }
.avs { display: inline-flex } .avs .av { margin-left: -6px; box-shadow: 0 0 0 2px var(--surface) } .avs .av:first-child { margin-left: 0 }

/* tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 2px; background: var(--side); padding: 3px; border-radius: 6px; width: fit-content; max-width: 100% }
.tabs button { border: 0; background: transparent; padding: 6px 12px; border-radius: var(--r); font-size: 14px; cursor: pointer; color: var(--ink-2); transition: background-color .15s ease }
.tabs button:hover { background: var(--active) }
.tabs button.on { background: var(--surface); color: var(--ink); font-weight: 600 }

/* overlays */
.scrim { position: fixed; inset: 0; background: rgba(26, 23, 19, .42); display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); z-index: 40; animation: fadein .16s ease-out }
.dialog { background: var(--surface); border-radius: 6px; width: min(560px, 100%); max-height: calc(100vh - 48px); overflow: auto; padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 18px 50px rgba(20, 32, 29, .25) }
.dialog .actions { justify-content: flex-end }
.toast { position: fixed; right: max(20px, env(safe-area-inset-right, 0px)); bottom: max(20px, env(safe-area-inset-bottom, 0px)); background: var(--chrome); color: var(--chrome-ink); padding: 11px 16px; border-radius: var(--r); font-size: 14px; max-width: min(420px, calc(100vw - 40px)); z-index: 50; box-shadow: 0 10px 30px rgba(20, 32, 29, .25); animation: rise .2s ease-out }
@keyframes fadein { from { opacity: 0 } }
@keyframes rise { from { opacity: 0; transform: translateY(8px) } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important } }

/* sign-in */

/* responsive */
@media (max-width: 1080px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)) } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 860px) {
  .app { grid-template-columns: minmax(0, 1fr) }
  .side { padding: 12px 0; gap: 10px }
  .brand, .mselect { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)) }
  .nav { display: flex; overflow-x: auto; gap: 4px; padding: 0 max(16px, env(safe-area-inset-left, 0px)) 4px }
  .nav .grp { display: flex; gap: 4px }
  .nav .gt { display: none }
  .nav a { white-space: nowrap }
  .top, .content { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)) }
  .split { grid-template-columns: minmax(0, 1fr) }
}
@media (max-width: 640px) {
  .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr) }
  .fr, .hb { grid-template-columns: minmax(0, 1fr) 56px } .fr .bar, .hb .bar { grid-column: 1 / -1; grid-row: 2 }
  .kv > div { grid-template-columns: minmax(0, 1fr); gap: 2px }
  .card { padding: 16px }
  .proto .pnote { margin-left: 0 }
  .top .search { flex-basis: 100%; order: 3 }
}

/* real desk additions: loading and error states, sign-out, sign-in pages */
.boot { min-height: 60vh; display: grid; place-items: center; padding: 24px 16px }
.boot .card { width: min(460px, 100%) }
.who .btn { margin-left: 4px }

/* Nexhelm mark: the logo as a mask, filled in brand gold (as on nexhelm.ai) */
.nxbrand { display: inline-flex; align-items: center; gap: 9px; font-weight: 650; font-size: 17px; letter-spacing: -0.01em; color: var(--ink) }
.nxmark { width: 23px; height: 18px; background: var(--gold); -webkit-mask: url("/assets/nexhelm-mark.png") center / contain no-repeat; mask: url("/assets/nexhelm-mark.png") center / contain no-repeat; flex: none }
.nxprod { font-size: 12.5px; font-weight: 600; color: var(--accent-ink); background: var(--accent-tint); border-radius: 999px; padding: 2px 9px; letter-spacing: 0 }
.proto .nxbrand { color: var(--chrome-ink); font-size: 15.5px; margin-right: 6px }
.proto .nxprod { background: #2b2722; color: var(--gold-tint) }

/* sign-in, forgot and reset pages */
.signin { min-height: 100vh; display: grid; place-items: center; padding: 32px max(16px, env(safe-area-inset-right, 0px)) 32px max(16px, env(safe-area-inset-left, 0px));
  background: radial-gradient(1100px 520px at 50% -8%, #f3ecdc 0%, rgba(243, 236, 220, 0) 70%), var(--ground) }
.signin-wrap { width: min(420px, 100%); display: grid; gap: 22px; justify-items: center }
.signin-wrap > .nxbrand { font-size: 19px }
.signin-card { width: 100%; background: var(--surface); border-radius: 14px; padding: 30px 28px; display: grid; gap: 16px;
  box-shadow: 0 0 0 1px rgba(60, 50, 34, .07), 0 18px 40px -18px rgba(60, 50, 34, .28) }
.signin-card h1 { font-size: 26px; letter-spacing: -0.025em; margin-bottom: 4px }
.signin-card .meta { color: var(--muted); font-size: 14.5px }
.signin-card .field input { min-height: 44px; border-radius: var(--rc); background: var(--surface-2); border-color: var(--rule) }
.signin-card .field input:focus { background: var(--surface) }
.signin-card .callout { font-size: 14px }
.btn.wide { width: 100%; height: 44px; font-size: 15px; border-radius: 11px }
.signin-card .links { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px }
.signin-card .links a { color: var(--accent-ink); font-weight: 500 }
.signin-foot { color: var(--muted); font-size: 13px; text-align: center }
details.fold > summary { cursor: pointer; color: var(--accent-ink); font-weight: 500; font-size: 14px; padding: 4px 0; list-style-position: inside }
details.fold[open] > summary { margin-bottom: 10px }
