:root {
  --font-ui: system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #F3F7FB;
  --border: #DCE4EE;
  --border-strong: #C0CDDD;
  --ink: #1A2D4D;
  --muted: #5B6B82;
  --faint: #9AA7B8;
  --accent: #2E75B6;
  --accent-soft: rgba(46,117,182,.10);
  --chart-line: #1F4E79;
  --chart-line2: #2E75B6;
  --chart-line3: #9DC3E6;
  --chart-fill: #EAF0F7;
  --grid: #ECECEC;
  --marker: #1F4E79;
  --recession: rgba(140,150,165,.20);
  --pos: #2E7D52;
  --warn: #C8861A;
  --neg: #C0392B;
  --lvl-vlow: #1F4E79;
  --lvl-low: #2E8B8B;
  --lvl-mid: #5B6B82;
  --lvl-high: #C8861A;
  --lvl-vhigh: #C0392B;
  --shadow: 0 14px 40px rgba(26,45,77,.12);
  --stk-now: #12508C;
  --stk-then: #C8772E;
  --stk-base: #9AA3B2;
  --stk-axis: #C9CFD8;
  --stk-under: rgba(180,60,60,.045);
}
* { box-sizing: border-box; }
body { margin: 0; background: #54606f; color: var(--ink); font-family: var(--font-ui); }
.slide { position: relative; width: 1100px; height: 825px; margin: 22px auto; background: #fff;
  box-shadow: 0 10px 40px rgba(0,0,0,.4); padding: 46px 56px 50px; overflow: hidden; }
.slide-head { display: flex; justify-content: space-between; align-items: center;
  border-bottom: 2px solid var(--navy2, #13315C); padding-bottom: 10px; }
.slide-section { font-size: 15px; font-weight: 700; letter-spacing: .04em; color: #0B2545; text-transform: uppercase; }
.slide-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: .06em; color: #0B2545; font-size: 14px; }
.slide-brand svg { width: 22px; height: 22px; color: #13315C; }
.slide-kicker { font-size: 12px; letter-spacing: .12em; color: #4A6FA5; text-transform: uppercase; margin: 26px 0 6px; font-weight: 700; }
.slide-thesis { font-size: 29px; line-height: 1.22; font-weight: 700; color: #1B2733; margin: 0 0 4px; max-width: 90%; }
.slide-sub { font-size: 15px; color: #5A6B82; margin: 4px 0 0; }
.slide-chart { position: absolute; left: 56px; right: 56px; top: 230px; bottom: 138px; }
.slide-chart svg { width: 100%; height: 100%; }
.slide-take { position: absolute; left: 56px; right: 96px; bottom: 60px; font-size: 16px; line-height: 1.45;
  color: #33414F; min-height: 24px; }
.slide-foot { position: absolute; left: 56px; right: 56px; bottom: 26px; display: flex;
  justify-content: space-between; font-size: 11px; color: #94A3B8; font-family: var(--font-mono);
  border-top: 1px solid #E1E7F0; padding-top: 8px; }
.cover { display: flex; flex-direction: column; justify-content: center; background: #0B2545; color: #fff; }
.cover .slide-head { border-color: rgba(255,255,255,.25); }
.cover .slide-section, .cover .slide-brand { color: #fff; }
.cover .slide-brand svg { color: #D2A94E; }
.cover h1 { font-size: 52px; margin: 0; letter-spacing: .01em; }
.cover .ctag { font-size: 19px; color: #AFC0D8; margin-top: 14px; }
.cover .cmeta { font-size: 13px; color: #8FA4C4; margin-top: 30px; font-family: var(--font-mono); }
.chip { font-family: var(--font-mono); font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 20px;
  border: 1px solid #C8861A; color: #B8860B; background: rgba(184,134,11,.1); }
.summary p { font-size: 17px; line-height: 1.6; color: #33414F; max-width: 86%; }
.print-hint { position: fixed; top: 12px; left: 12px; background: #0B2545; color: #fff; padding: 8px 14px;
  border-radius: 8px; font: 13px var(--font-mono); z-index: 9; opacity: .92; display: flex; gap: 12px; align-items: center; }
.print-hint button { background: #fff; color: #0B2545; border: none; border-radius: 6px; padding: 5px 11px;
  font: 700 12px var(--font-mono); cursor: pointer; }
/* on-demand export: author the headline / subtitle / takeaway in place */
.slide-thesis[contenteditable], .slide-sub[contenteditable], .slide-take[contenteditable] {
  outline: none; border-radius: 5px; transition: box-shadow .12s; }
.slide-thesis[contenteditable]:hover, .slide-sub[contenteditable]:hover, .slide-take[contenteditable]:hover {
  box-shadow: 0 0 0 1px #C9D2E0; }
.slide-thesis[contenteditable]:focus, .slide-sub[contenteditable]:focus, .slide-take[contenteditable]:focus {
  box-shadow: 0 0 0 2px rgba(46,117,182,.4); }
/* faint prompt shown only while a field is empty */
[data-ph]:empty::before { content: attr(data-ph); color: #AEB9C7; pointer-events: none; }
.slide-reset { position: absolute; top: 96px; right: 20px; width: 26px; height: 26px; border-radius: 7px;
  border: 1px solid #C9D2E0; background: #fff; color: #5A6B82; cursor: pointer; font-size: 14px; line-height: 1;
  display: flex; align-items: center; justify-content: center; z-index: 3; }
.slide-reset:hover { color: #0B2545; border-color: #0B2545; }
.slide-empty { max-width: 760px; margin: 60px auto; padding: 0 24px; color: #E9EFF7;
  font: 16px/1.6 var(--font-ui); text-align: center; }
@media print {
  @page { size: 11in 8.5in; margin: 0; }
  body { background: #fff; }
  .print-hint, .slide-reset { display: none !important; }
  [data-ph]:empty::before { content: none !important; }
  .slide-thesis[contenteditable]:hover, .slide-thesis[contenteditable]:focus,
  .slide-sub[contenteditable]:hover, .slide-sub[contenteditable]:focus,
  .slide-take[contenteditable]:hover, .slide-take[contenteditable]:focus { box-shadow: none; }
  .slide { width: 100%; height: 100vh; margin: 0; box-shadow: none; page-break-after: always; }
}
