/* SpeakCoach design system: "the prompt-book" (docs/BRAND.md, docs/UI.md).
   A recording is a SCORE: the transcript sits on a time ruler, pauses are rests, tempo is a marking, fillers are small
   flags in the margin. Warm rehearsal-room paper with a red on-air lamp. Token NAMES are the contract; engineers use
   names, never raw hex (hex appears only in the logo and the illustrations). The same block lives in
   internal/web/static/theme.css. Dark ("house lights down") follows the OS until the toggle stores html[data-theme]
   (localStorage "sc-theme"). */
:root {
  color-scheme: light;
  --bg: #F1EBEA;          /* greenroom plaster */
  --bg-2: #E8DFDE;
  --surface: #FBF8F7;     /* a prompt-book sheet */
  --surface-2: #F5EFEE;
  --ink: #231A29;         /* aubergine ink */
  --muted: #655A6B;       /* AA on --bg */
  --line: #DDD0D1;
  --line-strong: #BFAEB3;
  --brand: #D4243B;       /* the on-air lamp: marks, the record button, the playhead */
  --cta: #BE1B31;         /* lamp red for text-bearing fills (white on it is 6:1) */
  --cta-hover: #9F1427;
  --on-cta: #FFFFFF;
  --brand-ink: #B01D32;   /* lamp red as text on paper */
  --brand-soft: #F9DCDF;
  --tempo: #2A5BD7;       /* pace, the tempo marking, quotes from the transcript */
  --tempo-ink: #1F47AD;
  --tempo-soft: #DCE5FA;
  --rest: #14796A;        /* pauses: the rests between phrases */
  --rest-ink: #0E5C50;
  --rest-soft: #D5ECE7;
  --flag: #E59B00;        /* filler candidates: the small flags */
  --flag-ink: #8A5A00;
  --flag-soft: #FBEBC4;
  --ok: #2D7A3E; --ok-ink: #1F5C2D; --ok-soft: #D8ECDC;
  --warn: #B86E00; --warn-ink: #7E4B00; --warn-soft: #F6E3BF;
  --bad: #C0262D; --bad-ink: #9A1B21; --bad-soft: #F6D6D6;
  --focus: #231A29; --focus-halo: #FBF8F7;
  --scrim: rgba(35,26,41,.52);
  --shadow: 0 1px 0 rgba(35,26,41,.07), 0 10px 22px -16px rgba(60,20,40,.4);
  --shadow-lift: 0 2px 0 rgba(35,26,41,.07), 0 22px 32px -18px rgba(60,20,40,.5);
  --r-sheet: 6px;
  --r-pill: 999px;
  --font-display: "Avenir Next Condensed", "Arial Narrow", "Roboto Condensed", "Helvetica Neue", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ui: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-read: Charter, "Bitstream Charter", "Sitka Text", Cambria, "Noto Serif", Georgia, serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2,.7,.2,1);
  --rail-w: 88px; --bar-h: 52px; --tab-h: 62px; --gutter: 28px; --maxw: 1240px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #15101B; --bg-2: #0F0B14; --surface: #201826; --surface-2: #2A2031;
    --ink: #F4ECEE; --muted: #B3A6B8; --line: #35293D; --line-strong: #4D3E58;
    --brand: #FF5468; --cta: #FF5468; --cta-hover: #FF7C8B; --on-cta: #1B0C12; --brand-ink: #FF8A98; --brand-soft: #4A1D28;
    --tempo: #7FA2FF; --tempo-ink: #A9C0FF; --tempo-soft: #1D2A52;
    --rest: #46C3AE; --rest-ink: #6FD9C6; --rest-soft: #123A35;
    --flag: #FFC247; --flag-ink: #FFD477; --flag-soft: #483510;
    --ok: #62CF7E; --ok-ink: #62CF7E; --ok-soft: #153A21; --warn: #F2B24A; --warn-ink: #F2B24A; --warn-soft: #43320F; --bad: #FF8F8F; --bad-ink: #FF8F8F; --bad-soft: #4A2024;
    --focus: #F4ECEE; --focus-halo: #15101B; --scrim: rgba(8,4,12,.68);
    --shadow: 0 1px 0 rgba(0,0,0,.45), 0 14px 26px -16px rgba(0,0,0,.8); --shadow-lift: 0 2px 0 rgba(0,0,0,.45), 0 24px 34px -18px rgba(0,0,0,.9);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #15101B; --bg-2: #0F0B14; --surface: #201826; --surface-2: #2A2031;
  --ink: #F4ECEE; --muted: #B3A6B8; --line: #35293D; --line-strong: #4D3E58;
  --brand: #FF5468; --cta: #FF5468; --cta-hover: #FF7C8B; --on-cta: #1B0C12; --brand-ink: #FF8A98; --brand-soft: #4A1D28;
  --tempo: #7FA2FF; --tempo-ink: #A9C0FF; --tempo-soft: #1D2A52;
  --rest: #46C3AE; --rest-ink: #6FD9C6; --rest-soft: #123A35;
  --flag: #FFC247; --flag-ink: #FFD477; --flag-soft: #483510;
  --ok: #62CF7E; --ok-ink: #62CF7E; --ok-soft: #153A21; --warn: #F2B24A; --warn-ink: #F2B24A; --warn-soft: #43320F; --bad: #FF8F8F; --bad-ink: #FF8F8F; --bad-soft: #4A2024;
  --focus: #F4ECEE; --focus-halo: #15101B; --scrim: rgba(8,4,12,.68);
  --shadow: 0 1px 0 rgba(0,0,0,.45), 0 14px 26px -16px rgba(0,0,0,.8); --shadow-lift: 0 2px 0 rgba(0,0,0,.45), 0 24px 34px -18px rgba(0,0,0,.9);
}

/* ---- base ---------------------------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--font-ui); -webkit-font-smoothing: antialiased; min-height: 100vh; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); line-height: 1.02; letter-spacing: .005em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); font-weight: 800; text-transform: uppercase; }
h2 { font-size: 1.5rem; font-weight: 800; text-transform: uppercase; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 .8em; }
a { color: var(--brand-ink); text-underline-offset: 3px; }
img, svg { max-width: 100%; }
hr { border: 0; border-top: 1px solid var(--line); margin: 8px 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--bg); border-radius: var(--r-sheet); }
.skip:focus { top: 10px; }
.grow { flex: 1 1 auto; } .muted { color: var(--muted); } .mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.ico { width: 20px; height: 20px; flex: none; vertical-align: -4px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 5px var(--focus-halo); border-radius: 4px; }
::selection { background: var(--brand-soft); color: var(--ink); }
.eyebrow { margin: 0 0 8px; font: 700 .72rem/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
[hidden] { display: none !important; }

/* ---- shell: the rail (desktop) / top strip + tab bar (phone) -------------------------------------------- */
body.app { padding-left: var(--rail-w); }
.rail { position: fixed; inset: 0 auto 0 0; z-index: 30; width: var(--rail-w); display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 14px 8px 12px;
  background: var(--ink); color: var(--bg); border-right: 1px solid var(--line-strong); }
:root[data-theme="dark"] .rail { background: var(--bg-2); color: var(--ink); border-right-color: var(--line); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .rail { background: var(--bg-2); color: var(--ink); border-right-color: var(--line); } }
.rail a, .rail button { color: inherit; }
.brandmark span { display: block; text-align: center; }
.brandmark { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 4px 0 12px; text-decoration: none; font: 800 .74rem/1 var(--font-display); letter-spacing: .12em; text-transform: uppercase; }
.brandmark svg { width: 44px; height: 44px; border-radius: 11px; }
.cues { display: flex; flex-direction: column; gap: 2px; margin-top: 2px; }
.cue { position: relative; display: grid; justify-items: center; gap: 3px; padding: 10px 2px 8px; border-radius: var(--r-sheet); text-decoration: none; color: color-mix(in srgb, currentColor 72%, transparent); min-height: 44px; }
.cue .ico { width: 22px; height: 22px; }
.cue-l { font: 700 .66rem/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.cue-n { position: absolute; left: 6px; top: 5px; font: 600 .56rem/1 var(--font-mono); opacity: .55; }
.cue:hover { color: currentColor; background: color-mix(in srgb, currentColor 10%, transparent); }
.cue[aria-current="page"] { color: currentColor; background: color-mix(in srgb, currentColor 14%, transparent); }
.cue[aria-current="page"]::after { content: ""; position: absolute; right: -9px; top: 12px; bottom: 12px; width: 4px; border-radius: 4px 0 0 4px; background: var(--brand); }
.cue-rec .ico { color: var(--brand); }
.cue-gap { flex: 1 1 8px; }
.tools { display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 10px; border-top: 1px dashed color-mix(in srgb, currentColor 28%, transparent); }
.tape { display: grid; gap: 2px; justify-items: center; width: 100%; padding: 7px 4px; border-radius: var(--r-sheet); background: color-mix(in srgb, currentColor 10%, transparent); text-decoration: none; color: inherit; font: 700 .62rem/1.15 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; text-align: center; }
.tape b { font-size: 1rem; letter-spacing: 0; }
.tape i { display: block; width: 100%; height: 3px; border-radius: 3px; background: color-mix(in srgb, currentColor 22%, transparent); overflow: hidden; }
.tape i::after { content: ""; display: block; width: var(--left, 0%); height: 100%; background: var(--brand); }
.iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--r-pill); background: transparent; color: inherit; cursor: pointer; }
.iconbtn:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; border: 2px solid color-mix(in srgb, currentColor 50%, transparent); border-radius: 50%; background: transparent; color: inherit; font: 800 1rem var(--font-display); cursor: pointer; }
.avatar:hover { border-color: currentColor; }
.profile { position: relative; }
.menu { position: fixed; z-index: 70; left: calc(var(--rail-w) + 8px); bottom: 14px; width: 270px; padding: 8px; border: 1px solid var(--line-strong); border-radius: var(--r-sheet); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lift); }
.menu a, .menu button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 0 10px; border: 0; border-radius: 4px; background: transparent; color: var(--ink); font: 500 .95rem var(--font-ui); text-decoration: none; text-align: left; cursor: pointer; }
.menu a:hover, .menu button:hover { background: var(--bg-2); }
.menu-head { display: grid; padding: 8px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.menu-head strong { font: 800 1.1rem var(--font-display); text-transform: uppercase; } .menu-head span { color: var(--muted); font-size: .84rem; overflow-wrap: anywhere; }
.menu hr { margin: 4px 0; }
.topstrip { display: none; }
.banners:empty { display: none; }
.banner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 var(--gutter) 0; padding: 12px 16px; border: 1px solid var(--flag); border-left-width: 6px; border-radius: var(--r-sheet); background: var(--flag-soft); color: var(--ink); }
.banner.bad { border-color: var(--bad); background: var(--bad-soft); }
.banners { padding-top: 14px; }
.page { display: block; max-width: var(--maxw); margin: 0 auto; padding: 28px var(--gutter) 48px; outline: none; }
.pagehead { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 24px; margin-bottom: 26px; }
.pagehead p { margin: 10px 0 0; color: var(--muted); max-width: 60ch; }
.foot { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; max-width: var(--maxw); margin: 0 auto; padding: 18px var(--gutter) 30px; border-top: 1px dashed var(--line-strong); color: var(--muted); font-size: .84rem; }
.foot a { color: var(--muted); }

/* ---- actions -------------------------------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 1.5px solid var(--ink); border-radius: var(--r-sheet); background: var(--surface); color: var(--ink); font: 700 .96rem var(--font-ui); text-decoration: none; cursor: pointer; transition: transform .12s var(--ease), background .12s; }
.btn:hover { background: var(--bg-2); } .btn:active { transform: translateY(1px); }
.btn.sm { min-height: 44px; padding: 0 14px; font-size: .88rem; }
.btn.quiet { border-color: var(--line-strong); background: transparent; }
.btn.danger { border-color: var(--bad); color: var(--bad-ink); background: transparent; } .btn.danger:hover { background: var(--bad-soft); }
.btn.cta { border-color: var(--cta); background: var(--cta); color: var(--on-cta); box-shadow: 0 3px 0 color-mix(in srgb, var(--cta) 55%, #000); }
.btn.cta:hover { background: var(--cta-hover); border-color: var(--cta-hover); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn[aria-busy="true"] { position: relative; color: transparent; pointer-events: none; }
.btn[aria-busy="true"]::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2.5px solid currentColor; border-color: var(--ink) transparent var(--ink) transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.btn.cta[aria-busy="true"]::after { border-color: var(--on-cta) transparent var(--on-cta) transparent; }
@keyframes spin { to { transform: rotate(360deg); } }
.link { background: none; border: 0; padding: 0; color: var(--brand-ink); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---- forms ---------------------------------------------------------------------------------------------- */
.field { display: grid; gap: 6px; align-content: start; } .field > label, .field > .lab { font: 700 .74rem/1.2 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.input, .select, .textarea { width: 100%; min-height: 44px; padding: 9px 12px; border: 1.5px solid var(--line-strong); border-radius: var(--r-sheet); background: var(--surface); color: var(--ink); font: 400 1rem var(--font-ui); }
.textarea { min-height: 110px; resize: vertical; line-height: 1.5; font-family: var(--font-read); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px var(--focus-halo), 0 0 0 5px var(--focus); }
.help { margin: 0; font-size: .84rem; color: var(--muted); } .err { color: var(--bad-ink); font-size: .88rem; min-height: 1.2em; }
.check { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; padding: 8px 0; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--cta); flex: none; }
.seg { display: inline-flex; flex-wrap: wrap; border: 1.5px solid var(--ink); border-radius: var(--r-sheet); overflow: hidden; background: var(--surface); }
.seg button, .seg label { min-height: 44px; padding: 0 16px; border: 0; background: transparent; color: var(--ink); font: 700 .86rem var(--font-ui); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.seg button + button, .seg label + label { border-left: 1px solid var(--line-strong); }
.seg [aria-pressed="true"], .seg [aria-checked="true"], .seg label:has(input:checked) { background: var(--ink); color: var(--bg); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.switch { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; }
.switch input { appearance: none; position: relative; width: 46px; height: 26px; margin: 0; border-radius: 13px; background: var(--line-strong); cursor: pointer; flex: none; transition: background .15s; }
.switch input::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--surface); transition: transform .15s var(--ease); }
.switch input:checked { background: var(--cta); } .switch input:checked::after { transform: translateX(20px); }

/* ---- paper ---------------------------------------------------------------------------------------------- */
.sheet { position: relative; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r-sheet); background: var(--surface); box-shadow: var(--shadow); }
.sheet.margin { padding-left: 76px; }
.sheet.margin::before { content: ""; position: absolute; left: 58px; top: 0; bottom: 0; width: 2px; background: color-mix(in srgb, var(--brand) 55%, transparent); }
.tag { display: inline-flex; align-items: center; gap: 5px; min-height: 24px; padding: 0 9px; border-radius: 4px; background: var(--bg-2); color: var(--ink); font: 700 .68rem/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.tag.tempo { background: var(--tempo-soft); color: var(--tempo-ink); } .tag.rest { background: var(--rest-soft); color: var(--rest-ink); } .tag.flag { background: var(--flag-soft); color: var(--flag-ink); }
.tag.ok { background: var(--ok-soft); color: var(--ok-ink); } .tag.warn { background: var(--warn-soft); color: var(--warn-ink); } .tag.bad { background: var(--bad-soft); color: var(--bad-ink); } .tag.brand { background: var(--brand-soft); color: var(--brand-ink); }
.note { padding: 12px 14px; border-left: 4px solid var(--tempo); background: var(--tempo-soft); color: var(--ink); border-radius: 0 var(--r-sheet) var(--r-sheet) 0; font-size: .92rem; }
.empty { display: grid; justify-items: start; gap: 6px; padding: 28px 24px; border: 1.5px dashed var(--line-strong); border-radius: var(--r-sheet); background: var(--surface-2); }
.empty h3 { font-size: 1.5rem; text-transform: uppercase; font-weight: 800; } .empty p { margin: 0; max-width: 52ch; }
.err-state { display: grid; justify-items: start; gap: 10px; padding: 24px; border: 1.5px solid var(--bad); border-radius: var(--r-sheet); background: var(--bad-soft); }
.skels { display: grid; gap: 14px; }
.skel { border-radius: var(--r-sheet); background: linear-gradient(100deg, var(--bg-2) 30%, var(--surface-2) 50%, var(--bg-2) 70%) 0 0 / 220% 100%; animation: shimmer 1.4s linear infinite; }
.skel.title { height: 40px; width: 52%; } .skel.line { height: 14px; } .skel.block { height: 140px; }
@keyframes shimmer { to { background-position: -120% 0; } }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.acts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 18px; }

/* ---- dialog and toast ----------------------------------------------------------------------------------- */
dialog { width: min(520px, calc(100vw - 24px)); padding: 24px; border: 1.5px solid var(--ink); border-radius: var(--r-sheet); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lift); }
dialog::backdrop { background: var(--scrim); }
dialog h2 { margin-bottom: 12px; padding-right: 40px; } dialog .x { position: absolute; right: 8px; top: 8px; }
.toasts { position: fixed; z-index: 90; right: 16px; bottom: 16px; display: grid; gap: 8px; width: min(380px, calc(100vw - 32px)); }
.toast { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--ink); border-radius: var(--r-sheet); background: var(--surface); box-shadow: var(--shadow-lift); }
.toast.ok { border-color: var(--ok); } .toast.bad { border-color: var(--bad); background: var(--bad-soft); } .toast.warn { border-color: var(--warn); }
.toast .body { flex: 1; font-size: .94rem; } .toast .x { width: 32px; height: 32px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }

/* ---- phone ---------------------------------------------------------------------------------------------- */
@media (max-width: 860px) {
  body.app { padding: calc(var(--bar-h) + env(safe-area-inset-top)) 0 calc(var(--tab-h) + env(safe-area-inset-bottom)); }
  .rail { display: contents; }
  .topstrip { display: block; position: fixed; z-index: 28; inset: 0 0 auto 0; height: calc(var(--bar-h) + env(safe-area-inset-top)); background: var(--ink); border-bottom: 1px solid var(--line-strong); }
  :root[data-theme="dark"] .topstrip { background: var(--bg-2); }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .topstrip { background: var(--bg-2); } }
  .brandmark { position: fixed; z-index: 31; left: 14px; top: env(safe-area-inset-top); height: var(--bar-h); flex-direction: row; padding: 0; color: var(--bg); }
  :root[data-theme="dark"] .brandmark { color: var(--ink); }
  .brandmark svg { width: 34px; height: 34px; border-radius: 9px; }
  .tools { position: fixed; z-index: 31; right: 8px; top: env(safe-area-inset-top); height: var(--bar-h); flex-direction: row; padding: 0; border: 0; gap: 2px; color: var(--bg); }
  :root[data-theme="dark"] .tools { color: var(--ink); }
  .tape { display: none; }
  .menu { left: auto; right: 8px; top: calc(var(--bar-h) + 6px + env(safe-area-inset-top)); bottom: auto; }
  .cues { position: fixed; z-index: 30; inset: auto 0 0 0; height: calc(var(--tab-h) + env(safe-area-inset-bottom)); padding: 0 6px env(safe-area-inset-bottom); flex-direction: row; gap: 0; margin: 0; background: var(--surface); border-top: 1.5px solid var(--ink); color: var(--ink); }
  .cue { flex: 1; padding: 8px 0; gap: 2px; align-content: center; color: var(--muted); }
  .cue-n, .cue-gap, .cue-more { display: none; }
  .cue[aria-current="page"] { background: transparent; color: var(--ink); }
  .cue[aria-current="page"]::after { left: 30%; right: 30%; top: 0; bottom: auto; width: auto; height: 4px; border-radius: 0 0 4px 4px; }
  .page { padding: 20px 16px 36px; } .foot { padding: 16px; } .banner { margin: 0 16px; }
  .toasts { bottom: calc(var(--tab-h) + 12px); }
}
@media (max-width: 520px) { .sheet { padding: 18px 16px; } .sheet.margin { padding-left: 48px; } .sheet.margin::before { left: 34px; } .acts .btn { flex: 1; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; } }

/* The public bar (shared page, privacy, errors): its brand mark must not depend on which page sheet is loaded. */
.pubbar { display: flex; align-items: center; gap: 14px; padding: 10px clamp(16px, 4vw, 40px); border-bottom: 1px solid var(--line); }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 800 1.1rem var(--font-display); letter-spacing: .08em; text-transform: uppercase; }
.lp-brand svg { width: 34px; height: 34px; border-radius: 9px; flex: none; }
