/* Fonts: self-hosted, no outside lookups */
@font-face { font-family: "Sora"; font-weight: 600; font-display: swap; src: url("fonts/sora-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 700; font-display: swap; src: url("fonts/sora-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 800; font-display: swap; src: url("fonts/sora-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

/* BLXBX Design System tokens (artifact "BLXBX Design System", v1) + Blueprint sheet */
:root {
  --bg: #f3f5f9; --panel: #ffffff; --card-bg: #eef2f7; --tile: #ffffff; --ink: #0d1526; --muted: #55627a; --line: #d9e0ea;
  --navy: #0b1324; --navy-2: #18233a; --navy-ink: #e7ecf5; --navy-muted: #93a1ba;
  --accent: #2563eb; --accent-soft: #e6eefe; --accent-ink: #163e9c; --btn: #2563eb;
  --good: #15803d; --warn: #a16207; --warn-soft: #fef7c3; --bad: #dc2626; --scrim: rgba(8,13,25,.55);
  --display: "Sora", "Segoe UI", system-ui, sans-serif; --body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif; --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --s1: 5px; --s2: 6px; --s3: 10px; --s4: 16px; --r-sm: 8px; --r-md: 10px; --r-lg: 12px; --r-pill: 999px;
  --print: #0a1d44; --print-2: #0d2554; --grid: rgba(132, 176, 255, .09); --grid-major: rgba(132, 176, 255, .16); --line-ink: #8fb8ff;
  --lift: 0 1px 0 rgba(13, 21, 38, .04), 0 8px 24px -12px rgba(13, 21, 38, .18);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a0f1b; --panel: #111a2b; --card-bg: #1a2438; --tile: #0f1828; --ink: #e6ebf4; --muted: #97a3b9; --line: #26324c;
    --accent: #4f86f7; --accent-soft: #16264a; --accent-ink: #b9cdfb; --good: #4ade80; --warn: #facc15; --warn-soft: #3a3210; --bad: #f87171;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a0f1b; --panel: #111a2b; --card-bg: #1a2438; --tile: #0f1828; --ink: #e6ebf4; --muted: #97a3b9; --line: #26324c;
  --accent: #4f86f7; --accent-soft: #16264a; --accent-ink: #b9cdfb; --good: #4ade80; --warn: #facc15; --warn-soft: #3a3210; --bad: #f87171;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/24px var(--body); -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; }
a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -.01em; }
h2 { font-size: 17px; line-height: 22px; font-weight: 700; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.hidden { display: none !important; }

/* Header: a blueprint sheet. Drafting grid, the stage as the drawing title, the sheet number outlined. */
.top {
  position: relative; overflow: hidden; color: var(--navy-ink);
  padding: 16px var(--s4) 22px; padding-top: max(16px, env(safe-area-inset-top));
  background:
    linear-gradient(var(--grid-major) 1px, transparent 1px) 0 0 / 96px 96px,
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px) 0 0 / 96px 96px,
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 16px 16px,
    radial-gradient(120% 140% at 85% 0%, var(--print-2), var(--print) 60%);
  border-bottom: 1px solid rgba(143, 184, 255, .25);
}
.top .row { display: flex; align-items: flex-start; gap: var(--s3); max-width: 760px; margin: 0 auto; position: relative; }
.top .who { flex: 1; min-width: 0; position: relative; z-index: 1; }
.top .brand { font: 600 12px/16px var(--display); letter-spacing: .02em; color: var(--line-ink); display: flex; align-items: center; gap: 8px; }
.top .brand::before { content: ""; width: 14px; height: 14px; border: 1.5px solid var(--line-ink); border-radius: 3px; box-shadow: inset 0 0 0 3px var(--print), inset 0 0 0 5px var(--line-ink); }
.top .kicker { font: 500 12px/16px var(--mono); color: #facc15; margin-top: 18px; }
.top .name { font: 800 30px/34px var(--display); letter-spacing: -.025em; margin-top: 4px; overflow-wrap: anywhere; }
.top:not(.has-num) .name { margin-top: 14px; font-size: 26px; line-height: 30px; }
.top .sub { color: var(--navy-muted); font-size: 14px; line-height: 20px; margin-top: 4px; }
.top .tools { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; position: relative; z-index: 1; }
.top .linkbtn { background: rgba(10, 29, 68, .6); border: 1px solid rgba(143, 184, 255, .35); color: var(--navy-ink); border-radius: var(--r-md); padding: 6px 11px; font-size: 13px; font-weight: 600; cursor: pointer; backdrop-filter: blur(4px); }
.top .linkbtn:hover { border-color: var(--line-ink); }
.sheetno { position: absolute; right: -6px; top: 34px; font: 800 118px/1 var(--display); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(143, 184, 255, .24); pointer-events: none; user-select: none; }
@media (min-width: 640px) { .top .name { font-size: 40px; line-height: 44px; } .sheetno { font-size: 150px; top: 4px; } .top { padding-bottom: 26px; } }
.avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--navy-2); flex: none; }

/* Stage track drawn as a dimension line: a tick per stage, the run you've finished in green, where you are in yellow. */
.dim { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(8, 1fr); position: relative; z-index: 1; }
.dim .seg { position: relative; padding-top: 12px; min-width: 0; border-top: 2px dashed rgba(143, 184, 255, .35); }
.dim .seg::before { content: ""; position: absolute; left: 0; top: -7px; width: 2px; height: 12px; background: rgba(143, 184, 255, .55); }
.dim .seg:last-child::after { content: ""; position: absolute; right: 0; top: -7px; width: 2px; height: 12px; background: rgba(143, 184, 255, .55); }
.dim .seg.done { border-top: 2px solid #4ade80; }
.dim .seg.done::before { background: #4ade80; }
.dim .seg.now { border-top: 3px solid #facc15; margin-top: -.5px; }
.dim .seg.now::before { background: #facc15; height: 14px; top: -8px; }
.dim .n { display: block; font: 500 11px/14px var(--mono); color: var(--navy-muted); padding-left: 5px; }
.dim .l { display: block; font: 500 11px/14px var(--body); color: var(--navy-muted); padding-left: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dim .done .n, .dim .done .l { color: #86efac; }
.dim .now .n, .dim .now .l { color: #fde047; font-weight: 600; }
@media (max-width: 639px) { .dim .l { display: none; } }
@media (prefers-reduced-motion: no-preference) {
  .dim .seg.done, .dim .seg.now { animation: draw .5s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i) * 70ms); }
  @keyframes draw { from { border-top-color: rgba(143, 184, 255, .35); } }
}

main { max-width: 760px; margin: 0 auto; padding: var(--s4); }
.panel { background: var(--panel); border-radius: 14px; padding: 18px var(--s4); margin-bottom: 12px; box-shadow: var(--lift); border: 1px solid var(--line); }
.panel > h2 { margin-bottom: var(--s3); }
.lead { margin: 0 0 var(--s3); }
.muted { color: var(--muted); }
.small { font-size: 13px; line-height: 19px; }

/* Checklist card: the bar fills as items get done; its edge takes the color of the stage status. */
.stage-card { position: relative; overflow: hidden; margin-top: -2px; }
.stage-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent); }
.stage-card:has(> .status.bad)::before, .stage-card:has(> .next > .status.bad)::before { background: var(--bad); }
.stage-card:has(> .status.warn)::before, .stage-card:has(> div > .status.warn)::before { background: var(--warn); }
.stage-card:has(> div > .status.good)::before { background: var(--good); }
.stage-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); margin-bottom: 10px; }
.stage-head .count { font: 500 12px/16px var(--mono); color: var(--muted); }
.meter { height: 6px; border-radius: 3px; background: var(--card-bg); overflow: hidden; margin-bottom: 12px; }
.meter i { display: block; height: 100%; background: var(--good); border-radius: 3px; }

/* Next step: one obvious button to the first thing left to do */
.next { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.btn.nextbtn { width: 100%; justify-content: space-between; text-align: left; }
.btn.nextbtn::after { content: "›"; font-size: 22px; line-height: 18px; margin-left: 10px; }
/* Checklist rows you still owe are buttons */
.check li.todo { padding: 0; }
.rowbtn { all: unset; box-sizing: border-box; width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); padding: 9px 0; cursor: pointer; }
.rowbtn:hover > span:first-child { color: var(--accent); }
.rowbtn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.rowbtn .go { display: inline-flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.rowbtn .chev { color: var(--muted); font-size: 20px; line-height: 14px; }
/* Where a jump lands: a short glow so the eye finds it */
.flash { animation: flash 1.4s ease-out; border-radius: var(--r-md); }
@keyframes flash { 0%, 30% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 45%, transparent); } 100% { box-shadow: 0 0 0 4px transparent; } }
@media (prefers-reduced-motion: reduce) { .flash { animation: none; outline: 3px solid var(--accent); outline-offset: 4px; } }
/* Plan lists open on tap */
details.included { border: 0; padding: 4px 0 0; }
details.included summary { color: var(--accent); font-size: 14px; padding: 6px 0; }
.plan-full_service details.included summary { color: #fde047; }

/* Easy mode: one question per screen, big targets, plain help */
.btn.big { min-height: 54px; font-size: 16px; border-radius: 12px; }
.linkish { background: none; border: 0; padding: 8px 4px; color: var(--accent); font: 600 14px/20px var(--body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.linkish.small { font-size: 13px; }
.big-input { font-size: 20px !important; min-height: 54px !important; letter-spacing: .02em; }
.code-input::placeholder { color: var(--line); }
.code-input { font: 600 28px/32px var(--mono) !important; letter-spacing: .35em; text-align: center; }
.guide { padding: 20px var(--s4) 16px; }
.guide .stage-head { margin-bottom: 8px; }
.guide-q { font: 800 24px/30px var(--display); letter-spacing: -.02em; margin: 6px 0 10px; }
details.whats { border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 12px; margin-bottom: 16px; background: var(--accent-soft); }
details.whats summary { color: var(--accent-ink); padding: 10px 0; font-size: 15px; }
details.whats p { margin: 0 0 10px; color: var(--ink); }
.guide-body { margin-bottom: 8px; }
.guide-body.single > .field > label, .guide-body.single > .field > .q { display: none; }
.guide-body.single > .rec { border: 0; padding: 0; background: none; }
.guide-body.single > .rec > .head { justify-content: flex-end; }
.guide-body.single > .rec > .head .t, .guide-body.single > .rec > .t { display: none; }
.guide-body .chip { min-height: 46px; font-size: 15px; padding: 11px 16px; }
.guide-nav { display: flex; gap: 10px; margin-top: 18px; position: sticky; bottom: max(10px, env(safe-area-inset-bottom)); background: var(--panel); padding-top: 8px; }
.guide-nav .btn { min-height: 54px; font-size: 16px; }
.guide-nav .grow { flex: 1; }
.datesel { display: grid; grid-template-columns: 1.6fr .9fr 1.1fr; gap: 8px; }
.photo-first { margin-top: 10px; }
.fb.block { display: block; }
.install { border-style: dashed; }
.blink-soft { animation: blink-soft 1.6s ease-in-out infinite; }
@keyframes blink-soft { 50% { filter: brightness(1.25); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 35%, transparent); } }
@media (prefers-reduced-motion: reduce) { .blink-soft { animation: none; } }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=date], input[type=url], select, textarea { min-height: 48px; font-size: 16px; }

/* Status: colored text only */
.status { font: 600 13px/18px var(--body); }
.good { color: var(--good); } .warn { color: var(--warn); } .bad { color: var(--bad); } .info { color: var(--accent); }
.blink { animation: blink 1.1s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .blink { animation: none; text-decoration: underline; text-decoration-thickness: 2px; } }

/* Tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tile { background: var(--tile); border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px 11px; min-height: 64px; position: relative; text-align: left; cursor: default; }
button.tile { cursor: pointer; }
.tile .tl { font: 600 12px/16px var(--body); color: var(--muted); padding-right: 22px; }
.tile .tv { font: 500 12px/16px var(--body); margin-top: 4px; }
.tile .eye { position: absolute; top: 7px; right: 7px; width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--line); background: var(--tile); color: var(--accent); font-size: 12px; line-height: 20px; text-align: center; text-decoration: none; }
/* Countdown tile: the day count is the headline, the top edge carries the color. */
.tile.cd { border-top: 3px solid var(--line); padding-top: 9px; }
.tile.cd.s-good { border-top-color: var(--good); } .tile.cd.s-warn { border-top-color: var(--warn); } .tile.cd.s-bad { border-top-color: var(--bad); }
.days { margin-top: 6px; display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; }
.days b { font: 800 26px/28px var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.days span { font: 500 12px/16px var(--body); color: var(--muted); }
@media (max-width: 380px) { .tiles { grid-template-columns: repeat(2, 1fr); } }

/* Checklist */
.check { list-style: none; margin: 0; padding: 0; }
.check li { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); padding: 9px 0; border-bottom: 1px solid var(--line); }
.check li:last-child { border-bottom: 0; }
.check .who { font-size: 12px; color: var(--muted); }

/* Fields */
.field { margin-bottom: 16px; }
.field > label, .field > .q { display: block; font: 600 13px/18px var(--body); color: var(--ink); margin-bottom: 7px; }
.field .q.say { font: 400 15px/22px var(--body); }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=date], input[type=url], select, textarea {
  width: 100%; background: var(--tile); border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px 12px; min-height: 44px; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
textarea { min-height: 96px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line); background: var(--tile); border-radius: var(--r-pill); padding: 8px 14px; font: 500 13px/16px var(--body); cursor: pointer; min-height: 36px; transition: background .12s, border-color .12s, color .12s; }
.chip:hover { border-color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--btn); border-color: var(--btn); color: #fff; }
.chip[aria-pressed="true"]::before { content: "✓"; margin-right: 6px; font-weight: 700; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
@media (max-width: 480px) { .grid2 { grid-template-columns: 1fr; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; background: var(--btn); color: #fff; border: 0; border-radius: var(--r-md); padding: 11px 18px; font: 600 14px/18px var(--body); cursor: pointer; min-height: 44px; box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 6px 16px -8px rgba(37, 99, 235, .7); transition: transform .08s, filter .15s; }
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); filter: none; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; filter: none; transform: none; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: var(--s3); }

/* Send-for-approval bar stays in reach on a phone */
.panel.cta { position: sticky; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 20; background: color-mix(in srgb, var(--panel) 94%, transparent); padding: 12px var(--s4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

.panel.cta .actions { margin-top: 6px; }
.panel.cta .actions .btn.ghost { min-height: 36px; padding: 7px 14px; font-size: 13px; }

/* Notes */
.note { background: var(--accent-soft); color: var(--accent-ink); border-radius: var(--r-md); padding: 10px 12px; font-size: 13px; line-height: 19px; margin-bottom: var(--s3); }
.note.warnbox { background: var(--warn-soft); color: var(--ink); }

/* Records: the left edge carries the item's status color */
.rec { border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 14px; margin-bottom: 8px; background: var(--tile); position: relative; }
.rec[class*=" s-"] { border-left-width: 4px; }
.rec.s-good { border-left-color: var(--good); } .rec.s-warn { border-left-color: var(--warn); } .rec.s-bad { border-left-color: var(--bad); } .rec.s-info { border-left-color: var(--accent); }
.rec .head { display: flex; justify-content: space-between; gap: var(--s3); align-items: baseline; }
.rec .t { font: 600 15px/20px var(--display); letter-spacing: -.01em; }
.rec .actions { margin-top: 8px; }
.rec .actions .btn.ghost { min-height: 34px; padding: 6px 12px; font-size: 13px; }
.mono { font: 500 13px/18px var(--mono); }

/* Admin list */
.list-row { display: grid; grid-template-columns: 1fr auto; gap: 4px var(--s3); padding: 13px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 8px; text-decoration: none; color: var(--ink); box-shadow: var(--lift); transition: border-color .15s; }
.list-row:hover { border-color: var(--accent); }
.list-row .nm { font: 600 15px/20px var(--display); }
.list-row .meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; line-height: 18px; color: var(--muted); }
.stage-pill { font: 500 12px/16px var(--mono); color: var(--accent); }

/* Plans: Free is plain paper, Full Service is printed on the blueprint */
.plan { border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin-bottom: 10px; background: var(--tile); }
.plan .head { display: flex; justify-content: space-between; gap: var(--s3); align-items: baseline; }
.plan .t { font: 700 13px/18px var(--display); letter-spacing: .01em; color: var(--muted); }
.plan .price { font: 800 24px/29px var(--display); letter-spacing: -.02em; margin-top: 4px; }
.plan .tagline { margin: 6px 0 10px; font-size: 14px; line-height: 21px; color: var(--muted); }
.plan .note { margin: 8px 0 12px; }
.plan .check li { padding: 8px 0; }
.plan-full_service { color: var(--navy-ink); border-color: rgba(143, 184, 255, .35);
  background: linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 16px 16px, linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 16px 16px, radial-gradient(120% 120% at 100% 0%, var(--print-2), var(--print) 65%); }
.plan-full_service .t { color: #fde047; }
.plan-full_service .tagline, .plan-full_service .muted { color: var(--navy-muted); }
.plan-full_service .check li { border-color: rgba(143, 184, 255, .18); }
.plan-full_service .note { background: rgba(143, 184, 255, .1); color: var(--navy-ink); border: 1px solid rgba(143, 184, 255, .22); }
.plan-full_service .info { color: var(--line-ink); }
.plan-full_service .good { color: #4ade80; }
.plan.mine { box-shadow: 0 0 0 2px var(--good); }

/* Pitch */
.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.points li { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--tile); }
.points b { display: block; font: 700 15px/20px var(--display); margin-bottom: 2px; }
.points .muted { font-size: 14px; line-height: 21px; }
@media (min-width: 640px) { .points { grid-template-columns: 1fr 1fr; } }
details { border-bottom: 1px solid var(--line); padding: 11px 0; }
details summary { cursor: pointer; font-weight: 600; }
details[open] summary { color: var(--accent); }
table.comp { width: 100%; border-collapse: collapse; }
table.comp td { padding: 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.comp td:first-child { color: var(--muted); width: 40%; }

/* Signature pad */
.sigpad { width: 100%; height: 160px; background: #fff; border: 1px dashed var(--line); border-radius: var(--r-md); touch-action: none; display: block; }
.sigimg { max-width: 100%; max-height: 120px; background: #fff; border-radius: var(--r-sm); border: 1px solid var(--line); }

/* Toast + sheet */
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); background: var(--print); color: var(--navy-ink); border: 1px solid rgba(143, 184, 255, .3); border-radius: var(--r-lg); padding: 11px 16px; font-size: 13px; max-width: calc(100% - 32px); z-index: 50; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.scrim { position: fixed; inset: 0; background: var(--scrim); z-index: 40; display: flex; align-items: flex-end; justify-content: center; }
.sheet { background: var(--panel); border-radius: 16px 16px 0 0; width: 100%; max-width: 560px; max-height: 92vh; overflow: auto; padding: 20px var(--s4); }
@media (min-width: 640px) { .scrim { align-items: center; } .sheet { border-radius: 16px; } }

/* Disclosures: smallest compliant size, grey */
.disc { color: var(--muted); font-size: 11px; line-height: 15px; }
.disc b { color: var(--ink); }
footer { max-width: 760px; margin: 0 auto; padding: 4px var(--s4) 28px; text-align: center; }
footer a { color: var(--muted); font-size: 11px; }
.center { text-align: center; }
.login { max-width: 400px; margin: 40px auto; }
