/* Executive Edge brand layer: a companion to Executive Intelligence.
   Same type (Source Serif 4 headlines, Libre Franklin text), same paper/ink palette, hairlines,
   square edges, pill chips and double-rule header. Edge's own colour is brass, where
   Exec Intel's is navy. Loaded after the dashboard's own styles; changes look only, never layout
   or structure. Tokens are dark-first like the dashboard. */
:root{
  --bg:#000000;--surface:#000000;--raised:#111111;--line:#2a2a2a;--ink-rule:#f2f2f2;
  --fg:#f2f2f2;--muted:#a8a8a8;--faint:#7c7c7c;
  --gold:#d9b25a;--gold-soft:rgba(217,178,90,.15);
  --red:#f2f2f2;--on-red:#000000;--red-t:#ff6b5e;
  --pf:#5eb1ff;--ai:#b49cff;--oi:#ff8fb3;
  --shadow:0 10px 32px rgba(0,0,0,.6);--scrim:rgba(0,0,0,.6);
  --serif:"Source Serif 4","Source Serif Pro",Georgia,"Times New Roman",serif;
  --sans:"Libre Franklin","Franklin Gothic Medium","Helvetica Neue",Arial,sans-serif;
  --t-display:700 30px/1.08 var(--serif);
  --t-title:700 22px/1.2 var(--serif);
  --t-head:700 18px/1.28 var(--serif);
  --t-body:500 16px/1.5 var(--sans);
  --t-small:500 14px/1.4 var(--sans);
  --t-label:800 10.5px/1.2 var(--sans);
  --t-fig:700 24px/1 var(--sans);
}
@media (prefers-color-scheme:light){:root:not([data-theme="dark"]){
  --bg:#f9f7f2;--surface:#f9f7f2;--raised:#f1eee6;--line:#dcd8ce;--ink-rule:#121212;
  --fg:#121212;--muted:#6b675f;--faint:#8f8a80;
  --gold:#7d5f17;--gold-soft:rgba(125,95,23,.11);
  --red:#121212;--on-red:#f9f7f2;--red-t:#a3221c;
  --pf:#1a4a80;--ai:#5b3fa6;--oi:#9b2f5c;
  --shadow:0 10px 32px rgba(18,18,18,.14);--scrim:rgba(18,18,18,.38)}}
:root[data-theme="light"]{
  --bg:#f9f7f2;--surface:#f9f7f2;--raised:#f1eee6;--line:#dcd8ce;--ink-rule:#121212;
  --fg:#121212;--muted:#6b675f;--faint:#8f8a80;
  --gold:#7d5f17;--gold-soft:rgba(125,95,23,.11);
  --red:#121212;--on-red:#f9f7f2;--red-t:#a3221c;
  --pf:#1a4a80;--ai:#5b3fa6;--oi:#9b2f5c;
  --shadow:0 10px 32px rgba(18,18,18,.14);--scrim:rgba(18,18,18,.38)}

/* Kicker labels: Exec Intel's tight uppercase */
.lbl,.tnext .nl,.lrow .st,.lrow .tx small,.ring .rv small,.slbl,.inner h3,.times .sec{letter-spacing:.08em}

/* Header: centred serif name over a double ink rule, bare icon at the side, as in Exec Intel */
.top{display:grid;grid-template-columns:40px minmax(0,1fr) 40px;align-items:center;gap:8px;padding-bottom:10px;border-bottom:3px double var(--ink-rule)}
.top::after{display:none}
.top>div:first-child{grid-column:2;text-align:center;min-width:0}
.top>div:first-child .lbl{display:none}
.top h1{font:700 23px/1.1 var(--serif);letter-spacing:-.02em;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.set{grid-column:3;justify-self:end}
.icbtn{border:0;background:transparent;color:var(--muted);border-radius:0}
.icbtn:hover{color:var(--fg)}
.icbtn[aria-expanded="true"]{color:var(--fg)}
@media (min-width:960px){.top h1{font-size:28px}}

/* Paper, not cards: square edges and hairlines everywhere a card was */
.card,.tile,.ch,.menu,.sbox,.pending,.dock .in{border-radius:0}
.tile:hover,.tile[aria-pressed="true"],.ch.cur{border-color:color-mix(in srgb,var(--fg) 38%,var(--line))}
.chb:focus-visible{border-radius:0}
.art,.mg{border-radius:0}
.art{background:var(--raised);border:1px solid var(--line);font:700 24px/1 var(--serif);letter-spacing:0}
.art.sm{font-size:18px}
.mg{font:700 16px/1 var(--serif);border-color:var(--line)}
.is-n .mg{border-color:var(--fg)}
.dock .in{border:1px solid var(--line);border-left:0;border-right:0;box-shadow:none}

/* Theme switch: Exec Intel's square segmented control, filled ink when chosen */
.seg{background:transparent;border:1px solid var(--line);border-radius:0;padding:0;gap:0}
.seg button{border-radius:0;height:34px}
.seg button+button{border-left:1px solid var(--line)}
.seg button[aria-pressed="true"]{background:var(--fg);color:var(--bg);box-shadow:none}

/* Chips stay pills like Exec Intel's topic chips; the done chip fills with ink */
.chip{background:transparent;font-weight:600}
.chip:hover{border-color:var(--fg)}
.chip svg{color:currentColor}
.chip.ok{background:var(--fg);color:var(--bg)}

/* Search sits on paper with a hairline */
.search{background:transparent}
.search:focus-within{border-color:var(--fg)}

/* Play is solid ink, its ring follows */
.play.on::after{border-color:var(--fg)}

/* Reading pane */
.txs .inner{font:400 19px/1.5 var(--serif)}
.inner .txmsg{font:var(--t-body)}
.ctitle,.lrow .tx b,.chb .tx b{font-family:var(--serif);font-weight:700}
.lrow .tx b{font-size:16px;line-height:1.35}
.is-p .lrow .tx b{font-weight:600}
