/* ═══ CF DESIGN SYSTEM · one copy ═══
 *
 * Every page links this file and /ds/ds.js and defines nothing of its own
 * beyond page layout. A page that redefines a component is a drawing, not
 * a design. The brand name is carried once, in brand.js (window.DS_BRAND),
 * the same file the server reads; nothing below spells it.
 *
 * Family: the PrimaMind palette (emerald, mint, champagne, warm neutrals,
 * serif display over Inter). Different brand: its own mark, its own voice.
 */

/* ─── Tokens ─── */
:root {
  --brand-name: "…";                                   /* set by ds.js from brand.js */

  --font-ui: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "New York", "Iowan Old Style", "Palatino Linotype", ui-serif, Georgia, serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* type scale */
  --fs-0: 10px; --fs-1: 11px; --fs-2: 12.5px; --fs-3: 14px; --fs-4: 16px; --fs-5: 20px;
  --fs-6: 26px; --fs-7: 34px; --fs-8: clamp(34px, 4.6vw, 52px);
  --lh: 1.55; --lh-tight: 1.15;

  /* spacing */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px;

  /* radii */
  --r-sm: 6px; --r: 10px; --r2: 14px; --r-pill: 999px;

  /* motion */
  --t-fast: 120ms; --t: 200ms; --ease: cubic-bezier(.2, .7, .2, 1);

  /* light */
  --paper: #F5F2EA; --bg: #F6F5F1; --panel: #FFFFFF; --panel2: #FAF9F5; --panel3: #EFEDE6;
  --line: #E6E2D6; --line2: #D3CEC0;
  --ink: #1A2E26; --ink2: #4A5850; --ink3: #5F6D66; --ink4: #AEB5B0;
  --brand: #116B4C; --brand-ink: #0B4A35; --brand-soft: rgba(17, 107, 76, .09); --brand-line: rgba(17, 107, 76, .38);
  --mint: #3FCB98; --gold: #7A6224; --champagne: #C6AD7F; --gold-soft: rgba(198, 173, 127, .18);
  --ok: #0A7550; --warn: #9A5F12; --bad: #B3402F;
  --ok-soft: rgba(10, 117, 80, .10); --warn-soft: rgba(154, 95, 18, .10); --bad-soft: rgba(179, 64, 47, .10);
  --on-brand: #FFFFFF;
  --sh1: 0 1px 2px rgba(26, 46, 38, .06); --sh2: 0 10px 30px rgba(26, 46, 38, .10); --sh3: 0 24px 60px rgba(26, 46, 38, .18);
  --focus: 0 0 0 3px rgba(17, 107, 76, .28);
  color-scheme: light;
}
html[data-theme="dark"], .theme-dark {
  --paper: #07231B; --bg: #0A1F18; --panel: #0E2A21; --panel2: #0C261D; --panel3: #133328;
  --line: rgba(239, 233, 220, .10); --line2: rgba(239, 233, 220, .22);
  --ink: #EFE9DC; --ink2: #C4BEAF; --ink3: #9AA39C; --ink4: #5F6963;
  --brand: #3FCB98; --brand-ink: #8AE6C4; --brand-soft: rgba(63, 203, 152, .12); --brand-line: rgba(63, 203, 152, .42);
  --gold: #C6AD7F; --gold-soft: rgba(198, 173, 127, .14);
  --ok: #3FCB98; --warn: #E8A06F; --bad: #F08C7A;
  --ok-soft: rgba(63, 203, 152, .12); --warn-soft: rgba(232, 160, 111, .12); --bad-soft: rgba(240, 140, 122, .12);
  --on-brand: #0A1F18;
  --sh1: 0 1px 2px rgba(0, 0, 0, .3); --sh2: 0 10px 30px rgba(0, 0, 0, .35); --sh3: 0 24px 60px rgba(0, 0, 0, .5);
  --focus: 0 0 0 3px rgba(63, 203, 152, .35);
  color-scheme: dark;
}

/* ─── Base ─── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--fs-3)/var(--lh) var(--font-ui); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p { margin: 0; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
code { font-family: var(--font-mono); font-size: .92em; background: var(--panel3); padding: 1px 5px; border-radius: 4px; }
img, svg { display: inline-block; vertical-align: middle; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus); }
::selection { background: var(--brand-soft); }
.tnum, .v, .tb td, .price, .kpi .v { font-variant-numeric: tabular-nums; }
.muted { color: var(--ink3); } .small { font-size: var(--fs-2); } .right { text-align: right; }
.sp { flex: 1; }
hr.rule { border: 0; border-top: 1px solid var(--line); margin: var(--s6) 0; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ─── Site bar ─── */
.site { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); }
.site .wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--s5); height: 58px; display: flex; align-items: center; gap: var(--s5); }
.brand { display: inline-flex; align-items: center; gap: calc(var(--wm-size, 20px) * .5); color: inherit; text-decoration: none !important; }
.brand .mark { width: calc(var(--wm-size, 20px) * 1.3); height: calc(var(--wm-size, 20px) * 1.3); flex: 0 0 auto; }
.wm { font-family: var(--font-display); font-weight: 600; font-size: var(--wm-size, 20px); letter-spacing: .01em; line-height: 1; }
.wm::after { content: var(--brand-name); }
.brand small { font-family: var(--font-mono); font-size: var(--fs-0); letter-spacing: .16em; text-transform: uppercase; color: var(--ink3); margin-left: 4px; padding-left: 10px; border-left: 1px solid var(--line2); }
.site nav { display: flex; gap: 2px; }
.site nav a { padding: 7px 11px; border-radius: var(--r-sm); color: var(--ink2); font-size: var(--fs-3); }
.site nav a:hover { background: var(--panel3); text-decoration: none; color: var(--ink); }
.site nav a.on { color: var(--brand-ink); background: var(--brand-soft); font-weight: 500; }
.site .tools { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.site .tools a { font-family: var(--font-mono); font-size: var(--fs-1); letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); padding: 6px 8px; border-radius: var(--r-sm); }
.site .tools a:hover, .site .tools a.on { color: var(--ink); background: var(--panel3); text-decoration: none; }
.iconbtn { width: 34px; height: 34px; display: inline-grid; place-items: center; border: 1px solid var(--line); background: var(--panel); border-radius: var(--r-sm); color: var(--ink2); cursor: pointer; transition: background var(--t-fast) var(--ease); }
.iconbtn:hover { background: var(--panel3); color: var(--ink); }
.iconbtn svg { width: 16px; height: 16px; }
.site .menu { display: none; }

/* ─── Footer ─── */
.foot { border-top: 1px solid var(--line); margin-top: var(--s8); background: var(--paper); }
.foot .wrap { max-width: 1180px; margin: 0 auto; padding: var(--s6) var(--s5) var(--s7); display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s6); }
.foot .brand .mark { width: 22px; height: 22px; } .foot .wm { font-size: 17px; }
.foot p { color: var(--ink3); font-size: var(--fs-2); margin-top: var(--s3); max-width: 38ch; }
.foot h4 { font-family: var(--font-mono); font-size: var(--fs-0); letter-spacing: .16em; text-transform: uppercase; color: var(--ink3); margin-bottom: var(--s3); font-weight: 500; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot ul a { color: var(--ink2); font-size: var(--fs-2); } .foot ul a:hover { color: var(--brand); }
.foot .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: var(--s4); display: flex; gap: var(--s4); flex-wrap: wrap; color: var(--ink3); font-size: var(--fs-1); font-family: var(--font-mono); letter-spacing: .02em; }

/* ─── Editorial (hub, brief, brand) ─── */
.hub { max-width: 920px; margin: 0 auto; padding: var(--s7) var(--s5) var(--s8); }
.hub.wide { max-width: 1180px; }
.kick { font-family: var(--font-mono); font-size: var(--fs-0); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; font-weight: 500; }
h1.display { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-7); line-height: var(--lh-tight); letter-spacing: -.01em; max-width: 22ch; }
h1.display .g, .g { color: var(--brand); }
.lede { font-size: var(--fs-4); color: var(--ink2); line-height: 1.6; max-width: 62ch; margin-top: var(--s4); }
.stage { margin-top: var(--s7); }
.stage > h2 { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-6); line-height: 1.2; letter-spacing: -.01em; margin-bottom: var(--s4); }
.stage > h2 + .why, .why { color: var(--ink3); font-size: var(--fs-3); margin: -8px 0 var(--s4); max-width: 64ch; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.cols.three { grid-template-columns: repeat(3, 1fr); }
.cols.four { grid-template-columns: repeat(4, 1fr); }
.note { border-left: 3px solid var(--champagne); background: var(--gold-soft); padding: 12px 16px; border-radius: 0 var(--r) var(--r) 0; color: var(--ink2); font-size: var(--fs-3); }
.note b { color: var(--ink); }
.gap { border: 1.5px dashed var(--line2); border-radius: var(--r); padding: 14px 16px; color: var(--ink3); font-size: var(--fs-3); background: transparent; }
.gap .kick { margin-bottom: 4px; } .gap b { color: var(--ink2); }
.two-lists { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.list { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r2); padding: var(--s4) var(--s5); }
.list h3 { font-family: var(--font-mono); font-size: var(--fs-1); letter-spacing: .16em; text-transform: uppercase; color: var(--brand); font-weight: 600; margin-bottom: var(--s3); }
.list.no h3 { color: var(--bad); }
.list ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.list li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: baseline; }
.list .n { font-family: var(--font-mono); font-size: var(--fs-1); color: var(--ink4); letter-spacing: .06em; }
.list li b { display: block; font-weight: 600; color: var(--ink); }
.list li span { display: block; color: var(--ink3); font-size: var(--fs-2); margin-top: 2px; line-height: 1.5; }

/* ─── Catalogue (index) ─── */
.start { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); margin-top: var(--s6); }
.start a { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r2); padding: var(--s4); color: var(--ink); display: block; transition: border-color var(--t) var(--ease), transform var(--t) var(--ease); }
.start a:hover { text-decoration: none; border-color: var(--brand-line); transform: translateY(-1px); }
.start b { display: block; font-size: var(--fs-4); font-weight: 600; } .start span { display: block; color: var(--ink3); font-size: var(--fs-2); margin-top: 4px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: var(--s6); }
.filters .lbl { font-family: var(--font-mono); font-size: var(--fs-0); letter-spacing: .16em; text-transform: uppercase; color: var(--ink3); margin-right: 6px; }
.tg { border: 1px solid var(--line); background: var(--panel); color: var(--ink2); padding: 4px 10px; border-radius: var(--r-pill); font-size: var(--fs-2); cursor: pointer; }
.tg.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
h2.sec { font-family: var(--font-display); font-size: var(--fs-5); font-weight: 600; margin: var(--s6) 0 var(--s3); display: flex; align-items: baseline; gap: 12px; }
h2.sec span { font: 400 var(--fs-2)/1.4 var(--font-ui); color: var(--ink3); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.lib-card { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r2); overflow: hidden; color: var(--ink); transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.lib-card:hover { text-decoration: none; border-color: var(--brand-line); box-shadow: var(--sh2); }
.shot { aspect-ratio: 16 / 9; background: var(--panel3); border-bottom: 1px solid var(--line); padding: 14px 18px 0; position: relative; overflow: hidden; }
.mini { background: var(--bg); border: 1px solid var(--line2); border-bottom: 0; border-radius: 6px 6px 0 0; height: 100%; }
.mini .mb { height: 9px; border-bottom: 1px solid var(--line); background: var(--panel); border-radius: 6px 6px 0 0; }
.mini .mbody { padding: 8px; display: grid; gap: 5px; }
.mini .ml { height: 5px; background: var(--line2); border-radius: 2px; width: 70%; }
.mini .ml.w { width: 95%; } .mini .ml.y { background: var(--brand); width: 32%; } .mini .ml.c { background: var(--champagne); width: 48%; }
.lib-card .meta { padding: var(--s4); }
.lib-card .title { font-weight: 600; font-size: var(--fs-4); }
.lib-card .desc { color: var(--ink3); font-size: var(--fs-2); margin-top: 4px; line-height: 1.5; }
.lib-card .footr { margin-top: 10px; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; font-family: var(--font-mono); font-size: var(--fs-0); color: var(--ink3); letter-spacing: .04em; }
.tag { border: 1px solid var(--line); border-radius: var(--r-pill); padding: 1px 7px; }
.tag.live { color: var(--ok); border-color: var(--ok); } .tag.sketch { color: var(--warn); border-color: var(--warn); } .tag.frozen { color: var(--ink4); }

/* ─── Page layout ─── */
.page { max-width: 1180px; margin: 0 auto; padding: var(--s6) var(--s5) var(--s7); }
.page.narrow { max-width: 860px; }
.hero { padding: var(--s8) 0 var(--s7); }
.hero h1 { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-8); line-height: 1.08; letter-spacing: -.015em; max-width: 18ch; }
.hero .lede { font-size: 18px; margin-top: var(--s5); }
.hero .btns { margin-top: var(--s6); }
.section { margin-top: var(--s8); }
.section > h2 { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-6); line-height: 1.2; letter-spacing: -.01em; max-width: 28ch; }
.section > .why { margin: var(--s2) 0 var(--s5); }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; margin-bottom: var(--s4); }
.head h2 { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-5); }
.stack { display: grid; gap: var(--s3); }
.row { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.split { display: grid; grid-template-columns: 1fr 380px; gap: var(--s5); align-items: start; }
.split > *, .cols > *, .stack > *, .two-lists > *, .pair > *, .demo > *, .kpis > * { min-width: 0; }
.split.left { grid-template-columns: 300px 1fr; }
.sticky { position: sticky; top: 74px; }

/* ─── Buttons ─── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: var(--r-sm); border: 1px solid var(--line2); background: var(--panel); color: var(--ink); font-weight: 500; font-size: var(--fs-3); cursor: pointer; white-space: nowrap; text-decoration: none !important; transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.btn:hover { background: var(--panel3); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 15px; height: 15px; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.btn.primary:hover { background: var(--brand-ink); border-color: var(--brand-ink); }
html[data-theme="dark"] .btn.primary:hover, .theme-dark .btn.primary:hover { background: var(--brand-ink); color: var(--on-brand); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--ink2); }
.btn.ghost:hover { background: var(--panel3); color: var(--ink); }
.btn.danger { color: var(--bad); border-color: var(--bad); background: transparent; }
.btn.sm { height: 30px; padding: 0 11px; font-size: var(--fs-2); }
.btn.lg { height: 46px; padding: 0 22px; font-size: var(--fs-4); }
.btn.block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btns { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.link { color: var(--brand); font-weight: 500; display: inline-flex; align-items: center; gap: 4px; } .link svg { width: 14px; height: 14px; }

/* ─── Fields ─── */
.field { display: grid; gap: 6px; }
.field > label, .lbl { font-size: var(--fs-2); font-weight: 500; color: var(--ink2); }
.field .help { font-size: var(--fs-2); color: var(--ink3); }
.field .err { font-size: var(--fs-2); color: var(--bad); }
.in { height: 40px; width: 100%; padding: 0 12px; border: 1px solid var(--line2); border-radius: var(--r-sm); background: var(--panel); color: var(--ink); transition: border-color var(--t-fast) var(--ease); }
.in::placeholder { color: var(--ink4); }
.in:hover { border-color: var(--ink4); }
.in:focus { border-color: var(--brand); box-shadow: var(--focus); outline: none; }
.field.bad .in { border-color: var(--bad); }
textarea.in { height: auto; min-height: 96px; padding: 10px 12px; resize: vertical; }
select.in { appearance: none; -webkit-appearance: none; padding-right: 34px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235F6D66' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 12px center; }
html[data-theme="dark"] select.in, .theme-dark select.in { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239AA39C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>"); }
.in-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.in-row.three { grid-template-columns: repeat(3, 1fr); }
.search { position: relative; }
.search .in { padding-left: 36px; }
.search svg { position: absolute; left: 11px; top: 12px; width: 16px; height: 16px; color: var(--ink3); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-3); color: var(--ink2); cursor: pointer; }
.check input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--brand); }

/* ─── Segmented control ─── */
.seg { display: inline-flex; flex-wrap: wrap; max-width: 100%; background: var(--panel3); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 2px; gap: 2px; }
.seg button { border: 0; background: transparent; color: var(--ink2); padding: 6px 12px; border-radius: 4px; font-size: var(--fs-2); font-weight: 500; cursor: pointer; transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease); white-space: nowrap; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--panel); color: var(--ink); box-shadow: var(--sh1); }
.seg.brand button[aria-pressed="true"] { color: var(--brand-ink); }
.seg.lg button { padding: 9px 16px; font-size: var(--fs-3); }

/* ─── Cards ─── */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r2); padding: var(--s4) var(--s5); }
.card.tight { padding: var(--s3) var(--s4); }
.card.accent { border-color: var(--brand-line); }
.card.soft { background: var(--panel2); }
.card .ct { font-family: var(--font-mono); font-size: var(--fs-0); letter-spacing: .16em; text-transform: uppercase; color: var(--ink3); margin-bottom: 10px; font-weight: 500; }
.card h3 { font-size: var(--fs-4); font-weight: 600; }
.card .ch { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }

/* ─── KPIs ─── */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); }
.kpi { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r2); padding: 14px 16px; }
.kpi .l { font-size: var(--fs-2); color: var(--ink3); }
.kpi .v { font-family: var(--font-display); font-size: 28px; font-weight: 600; line-height: 1.1; margin-top: 4px; letter-spacing: -.01em; }
.kpi .v.g { color: var(--brand); }
.kpi .s { font-size: var(--fs-2); color: var(--ink3); margin-top: 4px; }
.kpi .v small { font: 500 var(--fs-1)/1 var(--font-mono); color: var(--ink3); letter-spacing: .08em; margin-right: 4px; }

/* ─── Tables ─── */
.tbw { overflow-x: auto; min-width: 0; max-width: 100%; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r2); background: var(--panel); }
.tb { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--fs-3); }
.tb th { text-align: left; font: 500 var(--fs-0)/1.3 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--panel2); white-space: nowrap; }
.tb td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tb tr:last-child td { border-bottom: 0; }
.tb td.num, .tb th.num { text-align: right; }
.tb tr.on td { background: var(--brand-soft); }
.tb td.best { background: var(--brand-soft); font-weight: 600; color: var(--brand-ink); }
.tb td b { font-weight: 600; }
.tb .sub { display: block; color: var(--ink3); font-size: var(--fs-2); margin-top: 2px; }
.tb.compare th:first-child, .tb.compare td:first-child { position: sticky; left: 0; background: var(--panel); z-index: 1; box-shadow: 1px 0 0 var(--line); }
.tb.compare th:first-child { background: var(--panel2); }
.tb.compare tr.on td:first-child { background: color-mix(in srgb, var(--brand-soft), var(--panel)); }
.tb.dense td, .tb.dense th { padding: 8px 12px; }

/* ─── Price breakdown · official fee and our fee, always side by side ─── */
.price { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r2); overflow: hidden; }
.price .ph-row, .price .pr, .price .pt { display: grid; grid-template-columns: 1fr 130px 130px; gap: 12px; align-items: baseline; padding: 10px 16px; }
.price .ph-row { background: var(--panel2); border-bottom: 1px solid var(--line); font: 500 var(--fs-0)/1.3 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); }
.price .ph-row span:nth-child(2), .price .pr .official, .price .pt .official { text-align: right; }
.price .ph-row span:nth-child(3), .price .pr .ours, .price .pt .ours { text-align: right; }
.price .ph-row .ours { color: var(--brand); }
.price .pr { border-bottom: 1px solid var(--line); }
.price .pr .it b { font-weight: 500; display: block; }
.price .pr .it small { color: var(--ink3); font-size: var(--fs-2); display: block; }
.price .pr .official, .price .pt .official { color: var(--ink); }
.price .pr .ours { color: var(--brand-ink); }
.price .pr .ours:empty::before, .price .pt .ours:empty::before { content: "·"; color: var(--ink4); }
.price .pt { background: var(--panel2); font-weight: 600; padding: 12px 16px; }
.price .pt .it { font-size: var(--fs-3); }
.price .pt .official, .price .pt .ours { font-family: var(--font-display); font-size: var(--fs-5); }
.price .pt .ours { color: var(--brand); }
.price .pf { padding: 10px 16px; border-top: 1px solid var(--line); color: var(--ink3); font-size: var(--fs-2); display: flex; gap: 14px; flex-wrap: wrap; }
.price .total-line { padding: 14px 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price .total-line b { font-family: var(--font-display); font-size: var(--fs-6); font-weight: 600; letter-spacing: -.01em; }
.price .total-line b small { font: 500 var(--fs-1)/1 var(--font-mono); color: var(--ink3); letter-spacing: .08em; margin-right: 6px; }
.kind { font-family: var(--font-mono); font-size: var(--fs-0); letter-spacing: .1em; text-transform: uppercase; padding: 1px 6px; border-radius: 4px; border: 1px solid var(--line2); color: var(--ink3); vertical-align: 1px; }
.kind.official { color: var(--brand-ink); border-color: var(--brand-line); }
.kind.agent { color: var(--warn); border-color: var(--warn); }
.kind.derived { color: var(--ink3); border-style: dashed; }
.kind.table { color: var(--ink3); border-style: dashed; }

/* ─── Placeholder for a number we do not have ─── */
.ph { display: inline-block; border: 1.5px dashed var(--line2); border-radius: 4px; padding: 0 7px; color: var(--ink3); font: 500 var(--fs-1)/20px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.ph.wide { display: block; padding: 10px 12px; line-height: 1.5; text-transform: none; letter-spacing: 0; font-family: var(--font-ui); font-size: var(--fs-2); }

/* ─── Stepper · a multi-step application ─── */
.stepper { display: flex; gap: 0; counter-reset: st; }
.stepper .st { flex: 1; position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; padding-right: 16px; }
.stepper .st .sn { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 600 var(--fs-1)/1 var(--font-mono); border: 1.5px solid var(--line2); color: var(--ink3); background: var(--panel); position: relative; z-index: 1; }
.stepper .st .sl { font-size: var(--fs-2); color: var(--ink3); padding-top: 5px; }
.stepper .st .sl b { display: block; color: var(--ink2); font-weight: 500; font-size: var(--fs-3); }
.stepper .st::after { content: ""; position: absolute; top: 14px; left: 28px; right: 16px; height: 1.5px; background: var(--line2); }
.stepper .st:last-child::after { display: none; }
.stepper .st.done .sn { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.stepper .st.done .sn svg { width: 14px; height: 14px; }
.stepper .st.done::after { background: var(--brand); }
.stepper .st.on .sn { border-color: var(--brand); color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.stepper .st.on .sl b { color: var(--ink); font-weight: 600; }
.stepper.vertical { flex-direction: column; gap: 18px; }
.stepper.vertical .st::after { top: 28px; left: 13.5px; right: auto; bottom: -18px; width: 1.5px; height: auto; }

/* ─── Document upload slot ─── */
.upload { border: 1.5px dashed var(--line2); border-radius: var(--r); padding: 14px 16px; display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; background: var(--panel); transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease); cursor: pointer; }
.upload:hover, .upload.over { border-color: var(--brand-line); background: var(--brand-soft); }
.upload .ic { width: 36px; height: 36px; border-radius: var(--r-sm); background: var(--panel3); display: grid; place-items: center; color: var(--ink3); }
.upload .ic svg { width: 18px; height: 18px; }
.upload .t b { display: block; font-weight: 500; }
.upload .t small { display: block; color: var(--ink3); font-size: var(--fs-2); margin-top: 2px; }
.upload .act { font-size: var(--fs-2); color: var(--brand); font-weight: 500; white-space: nowrap; }
.upload.done { border-style: solid; border-color: var(--line); cursor: default; }
.upload.done .ic { background: var(--ok-soft); color: var(--ok); }
.upload.done .act { color: var(--ink3); font-weight: 400; }
.upload.err { border-style: solid; border-color: var(--bad); }
.upload.err .ic { background: var(--bad-soft); color: var(--bad); }
.upload.err .t small { color: var(--bad); }

/* ─── Status pill ─── */
.pill { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px 0 7px; border-radius: var(--r-pill); font-size: var(--fs-2); font-weight: 500; background: var(--panel3); color: var(--ink2); white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .9; }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.bad { background: var(--bad-soft); color: var(--bad); }
.pill.brand { background: var(--brand-soft); color: var(--brand-ink); }
.pill.dim { color: var(--ink3); }
.pill.plain::before { display: none; }

/* ─── Chips (labels without a state dot) ─── */
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: var(--r-pill); font-size: var(--fs-2); border: 1px solid var(--line); color: var(--ink2); background: var(--panel); white-space: nowrap; }
.chip.brand { color: var(--brand-ink); border-color: var(--brand-line); background: var(--brand-soft); }
.chip.gold { color: var(--gold); border-color: var(--champagne); background: var(--gold-soft); }
.chip.ok { color: var(--ok); border-color: var(--ok); } .chip.warn { color: var(--warn); border-color: var(--warn); } .chip.bad { color: var(--bad); border-color: var(--bad); }
.chip.dim { color: var(--ink3); border-style: dashed; }
.chip.x { gap: 6px; padding-right: 6px; cursor: pointer; } .chip.x svg { width: 12px; height: 12px; }

/* ─── Timeline ─── */
.tl { list-style: none; margin: 0; padding: 0; display: grid; }
.tl li { display: grid; grid-template-columns: 110px 20px 1fr; gap: 12px; position: relative; padding-bottom: 18px; }
.tl li:last-child { padding-bottom: 0; }
.tl .when { font-family: var(--font-mono); font-size: var(--fs-1); color: var(--ink3); letter-spacing: .04em; padding-top: 3px; text-align: right; }
.tl .dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--line2); background: var(--panel); margin: 6px auto 0; position: relative; z-index: 1; }
.tl li::before { content: ""; position: absolute; left: 131px; top: 16px; bottom: -2px; width: 1.5px; background: var(--line); }
.tl li:last-child::before { display: none; }
.tl li.done .dot { background: var(--brand); border-color: var(--brand); }
.tl li.on .dot { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.tl li.wait .dot { border-color: var(--warn); }
.tl .what b { display: block; font-weight: 500; }
.tl .what span { display: block; color: var(--ink3); font-size: var(--fs-2); margin-top: 2px; }
.tl.compact li { grid-template-columns: 20px 1fr; } .tl.compact .when { display: none; } .tl.compact li::before { left: 9px; }

/* ─── Free zone card ─── */
.zone-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r2); padding: var(--s4) var(--s5); display: grid; gap: 12px; transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.zone-card:hover { border-color: var(--brand-line); box-shadow: var(--sh2); }
.zone-card .zh { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.zone-card .zh h3 { font-size: var(--fs-4); font-weight: 600; line-height: 1.3; }
.zone-card .zh small { display: block; color: var(--ink3); font-size: var(--fs-2); font-weight: 400; margin-top: 2px; }
.zone-card .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; font-size: var(--fs-2); color: var(--ink3); }
.zone-card .facts b { display: block; color: var(--ink); font-weight: 500; font-size: var(--fs-3); }
.zone-card .from { border-top: 1px solid var(--line); padding-top: 12px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.zone-card .from .l { font-size: var(--fs-2); color: var(--ink3); }
.zone-card .from .v { font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
.zone-card .from .v small { font: 500 var(--fs-1)/1 var(--font-mono); color: var(--ink3); letter-spacing: .08em; margin-right: 4px; }
.zone-card .src { margin-top: -4px; }
.zone-card.pick { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }

/* ─── Filter bar ─── */
.filterbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 10px 12px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r2); }
.filterbar .search { flex: 1; min-width: 200px; } .filterbar .search .in { height: 34px; }
.filterbar .in { height: 34px; width: auto; }
.filterbar .seg button { padding: 5px 10px; }
.filterbar .count { font-family: var(--font-mono); font-size: var(--fs-1); color: var(--ink3); letter-spacing: .06em; margin-left: auto; white-space: nowrap; }

/* ─── Assistant · chat bubble with citations ─── */
.chat { display: grid; gap: 14px; }
.chat .q, .chat .a { max-width: 72ch; padding: 12px 16px; border-radius: var(--r2); font-size: var(--fs-3); line-height: 1.6; }
.chat .q { justify-self: end; background: var(--panel3); color: var(--ink); border-bottom-right-radius: 4px; }
.chat .a { background: var(--panel); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chat .a p + p { margin-top: 8px; }
.chat .a .ref { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 4px; background: var(--brand-soft); color: var(--brand-ink); font: 600 var(--fs-0)/1 var(--font-mono); vertical-align: 2px; margin-left: 2px; text-decoration: none; }
.chat .a .ref:hover { background: var(--brand); color: var(--on-brand); }
.cites { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.cites .h { font-family: var(--font-mono); font-size: var(--fs-0); letter-spacing: .16em; text-transform: uppercase; color: var(--ink3); }
.cite { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: var(--fs-2); align-items: baseline; }
.cite .n { font: 600 var(--fs-0)/18px var(--font-mono); color: var(--brand-ink); background: var(--brand-soft); border-radius: 4px; text-align: center; height: 18px; }
.cite a { color: var(--ink); font-weight: 500; word-break: break-word; }
.cite small { display: block; color: var(--ink3); font-family: var(--font-mono); font-size: var(--fs-0); letter-spacing: .04em; margin-top: 1px; word-break: break-all; }
.chat .a.nosrc { border-color: var(--warn); }
.chat .a.nosrc .cites { border-top-color: var(--warn-soft); }
.who { font-family: var(--font-mono); font-size: var(--fs-0); letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); display: block; margin-bottom: 6px; }
.ask { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line2); background: var(--panel); border-radius: var(--r); padding: 6px 6px 6px 14px; min-height: 48px; }
.ask input { flex: 1; border: 0; background: transparent; outline: none; font-size: var(--fs-3); color: var(--ink); min-width: 0; }
.ask input::placeholder { color: var(--ink4); }
.ask .k { font-family: var(--font-mono); font-size: var(--fs-0); color: var(--ink3); border: 1px solid var(--line); border-radius: 4px; padding: 2px 6px; }
.ask .btn { height: 34px; }
.suggest { display: flex; gap: 8px; flex-wrap: wrap; }
.suggest button { border: 1px solid var(--line); background: var(--panel); color: var(--ink2); border-radius: var(--r-pill); padding: 6px 12px; font-size: var(--fs-2); cursor: pointer; text-align: left; }
.suggest button:hover { border-color: var(--brand-line); color: var(--ink); }

/* ─── Empty state ─── */
.empty { text-align: center; padding: var(--s7) var(--s5); border: 1.5px dashed var(--line2); border-radius: var(--r2); color: var(--ink3); }
.empty .ic { width: 40px; height: 40px; border-radius: var(--r); background: var(--panel3); display: grid; place-items: center; margin: 0 auto 12px; color: var(--ink3); }
.empty .ic svg { width: 18px; height: 18px; }
.empty b { display: block; color: var(--ink); font-weight: 600; font-size: var(--fs-4); }
.empty p { margin-top: 4px; font-size: var(--fs-3); max-width: 40ch; margin-left: auto; margin-right: auto; }
.empty .btn { margin-top: 14px; }

/* ─── Toast ─── */
.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: grid; gap: 8px; max-width: min(380px, calc(100vw - 40px)); }
.toast { display: grid; grid-template-columns: 20px 1fr auto; gap: 10px; align-items: start; background: var(--ink); color: var(--bg); padding: 12px 14px; border-radius: var(--r); box-shadow: var(--sh2); font-size: var(--fs-3); animation: toast-in var(--t) var(--ease); }
html[data-theme="dark"] .toast, .theme-dark .toast { background: var(--panel3); color: var(--ink); border: 1px solid var(--line2); }
.toast svg { width: 18px; height: 18px; margin-top: 1px; }
.toast b { display: block; font-weight: 600; } .toast span { display: block; opacity: .8; font-size: var(--fs-2); }
.toast.ok svg { color: var(--mint); } .toast.bad svg { color: var(--bad); } .toast.warn svg { color: var(--warn); }
html[data-theme="dark"] .toast.bad svg, .theme-dark .toast.bad svg { color: var(--bad); }
.toast .x { background: transparent; border: 0; color: inherit; opacity: .6; cursor: pointer; padding: 0; width: 20px; height: 20px; display: grid; place-items: center; }
.toast .x:hover { opacity: 1; } .toast .x svg { width: 14px; height: 14px; margin: 0; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.toast.static { animation: none; }

/* ─── Modal ─── */
.modal-back { position: fixed; inset: 0; background: rgba(10, 31, 24, .45); z-index: 50; display: none; align-items: center; justify-content: center; padding: var(--s5); }
.modal-back.open { display: flex; }
.modal { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r2); box-shadow: var(--sh3); width: min(560px, 100%); max-height: calc(100vh - 48px); display: grid; grid-template-rows: auto 1fr auto; }
.modal .mh { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.modal .mh h3 { font-family: var(--font-display); font-size: var(--fs-5); font-weight: 600; }
.modal .mh .x { margin-left: auto; }
.modal .mb { padding: 18px 20px; overflow: auto; color: var(--ink2); }
.modal .mb p + p { margin-top: 10px; }
.modal .mf { padding: 14px 20px; border-top: 1px solid var(--line); display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.modal.static { position: relative; box-shadow: var(--sh2); }

/* ─── Steps (how it works) ─── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); counter-reset: step; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r2); padding: var(--s5); }
.step .sn { font-family: var(--font-mono); font-size: var(--fs-1); letter-spacing: .14em; color: var(--brand); font-weight: 600; }
.step h3 { font-family: var(--font-display); font-size: var(--fs-5); font-weight: 600; margin: 8px 0 6px; line-height: 1.25; }
.step p { color: var(--ink3); font-size: var(--fs-3); }

/* ─── Citation line ─── */
.src { display: inline-flex; gap: 6px; align-items: baseline; font-family: var(--font-mono); font-size: var(--fs-0); letter-spacing: .04em; color: var(--ink3); word-break: break-word; }
.src a { color: var(--ink3); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--line2); }
.src a:hover { color: var(--brand); }
.src .d { color: var(--ink4); }
.src.block { display: flex; }

/* ─── Facts list (definition rows) ─── */
.facts-list { display: grid; gap: 0; }
.facts-list .f { display: grid; grid-template-columns: 180px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-3); }
.facts-list .f:last-child { border-bottom: 0; }
.facts-list .f .k { color: var(--ink3); font-size: var(--fs-2); padding-top: 2px; }
.facts-list .f .v { color: var(--ink); }
.facts-list .f .v small { display: block; color: var(--ink3); font-size: var(--fs-2); }
.tick { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tick li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; font-size: var(--fs-3); color: var(--ink2); }
.tick li svg { width: 16px; height: 16px; color: var(--ok); margin-top: 3px; }
.tick.no li svg { color: var(--bad); }

/* ─── Code block (for the MCP section) ─── */
.code { background: var(--ink); color: #DCE7E1; border-radius: var(--r); padding: 14px 16px; font: 12.5px/1.6 var(--font-mono); overflow: auto; white-space: pre; }
html[data-theme="dark"] .code, .theme-dark .code { background: var(--paper); border: 1px solid var(--line); }
.code .c { color: #8FA39A; } .code .k { color: var(--mint); } .code .s { color: var(--champagne); }

/* ─── Swatches (brand page) ─── */
.swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s3); }
.sw { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--panel); }
.sw i { display: block; height: 56px; }
.sw b { display: block; padding: 8px 10px 0; font-size: var(--fs-2); font-weight: 600; }
.sw span { display: block; padding: 0 10px 8px; font-family: var(--font-mono); font-size: var(--fs-0); color: var(--ink3); letter-spacing: .04em; }
.specimen { display: grid; gap: 14px; }
.specimen .row { align-items: baseline; gap: 16px; }
.specimen .lab { font-family: var(--font-mono); font-size: var(--fs-0); letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); width: 160px; flex: 0 0 160px; }
.markwall { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); }
.markwall > div { border: 1px solid var(--line); border-radius: var(--r2); display: grid; place-items: center; aspect-ratio: 1; padding: 20px; }
.markwall .onbrand { background: var(--brand); } .markwall .onpaper { background: var(--paper); } .markwall .onink { background: #1A2E26; }
.voice { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.voice .ex { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r2); padding: var(--s4) var(--s5); }
.voice .ex .h { font-family: var(--font-mono); font-size: var(--fs-0); letter-spacing: .16em; text-transform: uppercase; font-weight: 600; margin-bottom: 8px; }
.voice .ex.do .h { color: var(--ok); } .voice .ex.dont .h { color: var(--bad); }
.voice .ex q { display: block; font-size: var(--fs-4); line-height: 1.5; quotes: none; color: var(--ink); }
.voice .ex.dont q { color: var(--ink2); text-decoration: line-through; text-decoration-color: var(--bad); text-decoration-thickness: 1px; }
.voice .ex small { display: block; color: var(--ink3); font-size: var(--fs-2); margin-top: 8px; }

/* ─── Specimen frames (components page): the same piece in both themes ─── */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.demo { background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r2); padding: 20px; display: grid; gap: 12px; align-content: start; }
.demo .ct { font-family: var(--font-mono); font-size: var(--fs-0); letter-spacing: .16em; text-transform: uppercase; color: var(--ink3); }
.demo.theme-dark { color-scheme: dark; }

/* ─── Responsive ─── */
@media (max-width: 1000px) {
  .cols, .cols.three, .cols.four, .two-lists, .grid, .start, .steps, .voice { grid-template-columns: 1fr 1fr; }
  .pair { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .split, .split.left { grid-template-columns: 1fr; } .sticky { position: static; }
  .swatches { grid-template-columns: repeat(3, 1fr); } .markwall { grid-template-columns: repeat(2, 1fr); }
  .foot .wrap { grid-template-columns: 1fr 1fr; }
  .site nav { display: none; position: absolute; top: 58px; left: 0; right: 0; background: var(--panel); border-bottom: 1px solid var(--line); padding: 8px; flex-direction: column; box-shadow: var(--sh2); }
  .site.open nav { display: flex; }
  .site .menu { display: inline-grid; }
  .site .tools a { display: none; }
  .brand small { display: none; }
}
@media (max-width: 640px) {
  .page, .hub { padding-left: var(--s4); padding-right: var(--s4); }
  .site .wrap { padding: 0 var(--s4); gap: var(--s3); }
  .cols, .cols.three, .cols.four, .two-lists, .grid, .start, .steps, .voice, .kpis, .in-row, .in-row.three { grid-template-columns: 1fr; }
  .hero { padding: var(--s6) 0 var(--s5); }
  .hero .lede { font-size: var(--fs-4); }
  h1.display { font-size: 28px; }
  .stepper { flex-direction: column; gap: 14px; }
  .stepper .st { padding-right: 0; }
  .stepper .st::after { top: 28px; left: 13.5px; right: auto; bottom: -14px; width: 1.5px; height: auto; }
  .price .ph-row, .price .pr, .price .pt { grid-template-columns: 1fr 92px 92px; gap: 8px; padding: 10px 12px; }
  .price .pt .official, .price .pt .ours { font-size: var(--fs-4); }
  .tl li { grid-template-columns: 20px 1fr; } .tl .when { display: none; } .tl li::before { left: 9px; }
  .facts-list .f { grid-template-columns: 1fr; gap: 2px; }
  .swatches { grid-template-columns: repeat(2, 1fr); }
  .foot .wrap { grid-template-columns: 1fr; gap: var(--s5); }
  .filterbar .count { margin-left: 0; width: 100%; }
  .toasts { right: 12px; bottom: 12px; left: 12px; max-width: none; }
  .zone-card .facts { grid-template-columns: 1fr 1fr; }
  .specimen .lab { width: 100%; flex-basis: 100%; }
  .btns .btn.lg { width: 100%; }
}
