:root {
  --ink: #061f21;
  --ink-2: #0a2b2d;
  --ink-3: #103537;
  --panel: #0b292b;
  --panel-2: #0e3133;
  --panel-soft: #12383a;
  --cream: #f2eadb;
  --muted: #a8b8b4;
  --faint: #718783;
  --gold: #e0ad43;
  --gold-2: #f2c65d;
  --green: #55b88a;
  --red: #ff6b57;
  --line: rgba(190, 218, 210, .16);
  --line-strong: rgba(190, 218, 210, .28);
  --shadow: 0 16px 42px rgba(0, 0, 0, .22);
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--cream);
  background: var(--ink);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--ink); }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 200; top: -80px; left: 20px; padding: 12px 18px; background: var(--gold); color: var(--ink); font-weight: 800; }
.skip-link:focus { top: 16px; }
.ui-icon { width: 18px; height: 18px; filter: invert(89%) sepia(8%) saturate(282%) hue-rotate(109deg) brightness(91%); }
.muted { color: var(--muted); }
.eyebrow, .section-kicker { margin: 0 0 8px; color: #69b596; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -.025em; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 42px; border: 1px solid transparent; border-radius: 5px; padding: 10px 16px; font-size: .75rem; font-weight: 800; cursor: pointer; transition: background .15s ease, border-color .15s ease, transform .15s ease; }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button:disabled { cursor: not-allowed; opacity: .5; }
.button--primary { border-color: #f1c15c; background: var(--gold); color: #10201f; }
.button--primary:hover:not(:disabled) { background: var(--gold-2); }
.button--primary .ui-icon { filter: none; }
.button--ghost { border-color: var(--line-strong); background: rgba(255, 255, 255, .025); color: var(--cream); }
.button--ghost:hover:not(:disabled) { border-color: rgba(224, 173, 67, .55); background: rgba(224, 173, 67, .08); }
.button--danger { border-color: rgba(255, 107, 87, .45); background: rgba(255, 107, 87, .1); color: #ff9181; }
.button--wide { width: 100%; }
.text-button { display: inline-flex; align-items: center; gap: 7px; border: 0; padding: 5px 0; background: none; color: #77c6a5; font-size: .72rem; font-weight: 800; cursor: pointer; }
.text-button .ui-icon { width: 14px; height: 14px; }
.positive { color: var(--green) !important; }
.negative { color: var(--red) !important; }

/* Setup */
.setup-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(420px, .9fr); background: #061d1f; }
.setup-story { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: clamp(48px, 8vw, 120px); border-right: 1px solid var(--line); background: #082527; }
.setup-story::after { content: ""; position: absolute; right: -12vw; bottom: -28vw; width: 64vw; aspect-ratio: 1; border: 1px solid rgba(224, 173, 67, .14); border-radius: 50%; box-shadow: 0 0 0 6vw rgba(224, 173, 67, .025), 0 0 0 12vw rgba(224, 173, 67, .02); }
.setup-story > * { position: relative; z-index: 1; }
.setup-story h1 { margin: 28px 0; font: 500 clamp(4.6rem, 9vw, 9.4rem)/.73 Georgia, serif; letter-spacing: -.07em; }
.setup-story h1 em { color: var(--gold); font-weight: 500; }
.setup-lead { max-width: 620px; color: #c9d7d2; font-size: clamp(1.05rem, 1.5vw, 1.32rem); line-height: 1.6; }
.setup-principles { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.setup-principles span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 99px; color: #bfd0ca; font-size: .76rem; }
.brand-mark { display: flex; gap: 5px; align-items: flex-end; height: 28px; }
.brand-mark span { display: block; width: 7px; background: var(--gold); transform: skew(-15deg); }
.brand-mark span:nth-child(1) { height: 14px; }.brand-mark span:nth-child(2) { height: 22px; }.brand-mark span:nth-child(3) { height: 28px; }
.setup-panel { display: flex; flex-direction: column; justify-content: center; gap: 26px; padding: clamp(32px, 6vw, 90px); background: #0a292b; }
.setup-panel h2 { margin-bottom: 8px; font: 500 2.7rem/1 Georgia, serif; }
.setup-panel form { display: grid; gap: 18px; }
.setup-panel form > label, .select-label { display: grid; gap: 7px; color: #c9d5d1; font-size: .8rem; font-weight: 700; }
.setup-panel input, .select-label select { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid var(--line-strong); border-radius: 4px; background: #071f21; color: var(--cream); }
.setup-panel fieldset { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; padding: 0; border: 0; }
.setup-panel legend { margin-bottom: 8px; color: #c9d5d1; font-size: .8rem; font-weight: 700; }
.radio-card { position: relative; }
.radio-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.radio-card span { display: grid; gap: 3px; height: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 4px; background: #0d3234; cursor: pointer; }
.radio-card input:checked + span { border-color: var(--gold); background: rgba(224, 173, 67, .1); }
.radio-card:focus-within span { outline: 3px solid var(--gold-2); outline-offset: 3px; }
.radio-card small, .setup-note { color: var(--faint); font-size: .68rem; }
.setup-note { margin: 0; text-align: center; }

/* Shell */
.game-shell { min-height: 100vh; padding-top: 74px; }
.topbar { position: fixed; z-index: 50; top: 0; right: 0; left: 0; height: 74px; display: grid; grid-template-columns: 250px minmax(500px, 1fr) auto; align-items: stretch; border-bottom: 1px solid var(--line); background: #061a1d; box-shadow: 0 8px 22px rgba(0,0,0,.16); }
.wordmark { display: flex; align-items: center; gap: 10px; padding: 0 22px; border-right: 1px solid var(--line); color: var(--cream); text-decoration: none; }
.wordmark > span { display: grid; place-items: center; width: 36px; aspect-ratio: 1; background: var(--gold); color: #142321; font-weight: 900; }
.wordmark strong { font: 600 .92rem/1.05 Georgia, serif; }
.wordmark em { display: block; margin-top: 3px; color: var(--gold); font-size: .78rem; }
.topnav { display: flex; align-items: stretch; min-width: 0; }
.topnav button { position: relative; display: flex; align-items: center; gap: 7px; min-width: 0; padding: 0 clamp(9px, 1.2vw, 18px); border: 0; background: transparent; color: #bdcac6; font-size: .76rem; font-weight: 700; cursor: pointer; }
.topnav button::after { content: ""; position: absolute; right: 10px; bottom: 0; left: 10px; height: 3px; background: transparent; }
.topnav button:hover { color: var(--cream); background: rgba(255,255,255,.025); }
.topnav button.active { color: var(--cream); }
.topnav button.active::after { background: var(--gold); }
.topnav button b { display: grid; place-items: center; min-width: 18px; height: 18px; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: .58rem; }
.topnav .ui-icon { width: 17px; height: 17px; }
.topbar-actions { display: flex; align-items: center; gap: 10px; padding: 0 16px; }
.save-quick { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 4px; background: transparent; cursor: pointer; }
.save-quick:hover { border-color: rgba(224,173,67,.55); background: rgba(224,173,67,.08); }
.term-status { display: flex; align-items: center; gap: 8px; min-width: 126px; color: #d2ddd9; font-size: .7rem; font-weight: 700; }
.term-status .ui-icon { width: 17px; }
.advance-main { min-width: 152px; }
.mobile-menu { display: none; }
.content { width: 100%; max-width: 1680px; margin: 0 auto; padding: 26px 28px 52px; outline: 0; }

/* Sala de Crise */
.crisis-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 16px; }
.crisis-heading { padding-top: 9px; }
.crisis-heading .eyebrow { display: none; }
.crisis-heading h1 { display: inline; margin: 0 18px 0 0; font: 500 clamp(2.45rem, 4vw, 3.7rem)/1 Georgia, serif; }
.crisis-heading > div > p:last-child { display: inline; color: var(--muted); font-size: .82rem; }
.advance-secondary { display: none; }
.crisis-layout { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 18px; align-items: start; }
.crisis-main { min-width: 0; }
.risk-banner { display: grid; grid-template-columns: 72px minmax(260px, 1fr) 170px 130px; align-items: center; gap: 16px; min-height: 102px; padding: 16px 20px; border: 1px solid rgba(255,107,87,.42); border-radius: 5px; background: #102629; }
.risk-symbol { display: grid; place-items: center; width: 58px; aspect-ratio: 1; border: 8px solid rgba(255,107,87,.28); border-radius: 50%; background: rgba(255,107,87,.08); }
.risk-symbol .ui-icon { width: 28px; height: 28px; filter: invert(51%) sepia(94%) saturate(2061%) hue-rotate(329deg) brightness(108%); }
.risk-banner small, .diagnostic-panel small, .response-row small { display: block; color: #8fa7a2; font-size: .61rem; letter-spacing: .07em; text-transform: uppercase; }
.risk-banner h2 { margin: 5px 0 4px; color: var(--red); font-size: 1.18rem; text-transform: uppercase; }
.risk-banner p { margin: 0; color: #c3cfcb; font-size: .74rem; }
.risk-banner > div:nth-last-child(-n+2) { min-height: 54px; padding-left: 18px; border-left: 1px solid var(--line); }
.risk-banner > div:nth-last-child(-n+2) strong { display: block; margin-top: 8px; font-size: .78rem; }
.section-kicker { margin: 18px 0 9px; }
.diagnostic-panel { display: grid; grid-template-columns: 42% 1fr; border: 1px solid var(--line); border-radius: 5px; background: var(--panel); }
.inflation-focus { display: grid; grid-template-columns: 1fr 1.35fr; gap: 5px 22px; align-content: center; min-height: 205px; padding: 22px; border-right: 1px solid var(--line); }
.inflation-focus > small, .inflation-focus > strong, .inflation-focus > span { grid-column: 1; }
.inflation-focus > strong { font: 500 2.8rem/1 Georgia, serif; }
.inflation-focus > span { color: var(--muted); font-size: .72rem; }
.inflation-focus label { grid-column: 1; display: grid; gap: 4px; margin-top: 16px; color: #829792; font-size: .62rem; text-transform: uppercase; }
.inflation-chart { grid-column: 2; grid-row: 1 / 6; position: relative; align-self: center; min-height: 110px; padding: 12px; border-left: 1px solid var(--line); }
.inflation-chart .sparkline { position: static; width: 100%; height: 100px; opacity: 1; }
.inflation-chart .sparkline polyline { stroke: var(--red); stroke-width: 2; }
.inflation-chart meter { width: 100%; height: 24px; margin-top: 34px; accent-color: var(--red); }
.pressure-list { display: grid; align-content: start; padding: 16px 20px; }
.pressure-list > div { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.cause-icon { display: grid; place-items: center; width: 34px; aspect-ratio: 1; border-radius: 5px; background: rgba(85,184,138,.1); }
.cause-icon .ui-icon { width: 19px; height: 19px; filter: invert(63%) sepia(31%) saturate(668%) hue-rotate(105deg) brightness(97%); }
.pressure-list p { display: grid; gap: 3px; margin: 0; }
.pressure-list p strong { font-size: .78rem; }
.pressure-list p small { color: #91a39f; font-size: .64rem; letter-spacing: 0; text-transform: none; }
.pressure-list > div > b { font-size: .8rem; }
.pressure-list .text-button { justify-self: start; margin-top: 7px; }

.response-table { overflow: hidden; border: 1px solid var(--line); border-radius: 5px; background: var(--panel); }
.response-row { display: grid; grid-template-columns: 24px minmax(190px, 1.35fr) 92px 68px minmax(132px, 1fr) 98px 98px 108px; align-items: center; gap: 12px; min-height: 104px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.response-row:last-child { border-bottom: 0; }
.response-row.selected { box-shadow: inset 0 0 0 1px var(--gold); background: rgba(224,173,67,.035); }
.response-row.disabled { opacity: .58; }
.choice-marker { width: 18px; aspect-ratio: 1; border: 2px solid #78908b; border-radius: 50%; }
.response-row.selected .choice-marker { border: 5px solid var(--gold); }
.response-name { display: grid; gap: 4px; }
.response-name strong { font-size: .82rem; }
.response-name small { color: #9eb0ac; line-height: 1.35; letter-spacing: 0; text-transform: none; }
.response-row > div:not(.response-name):not(.response-effects):not(.response-groups) strong { display: block; margin-top: 8px; font-size: .82rem; }
.response-effects, .response-groups { display: grid; gap: 4px; }
.response-effects span, .response-groups span { font-size: .66rem; }
.response-effects strong { margin-left: 3px; }
.response-row .button { min-height: 38px; padding: 8px 11px; font-size: .66rem; }
.response-row .button .ui-icon { width: 14px; height: 14px; }

.effect-timeline { margin-top: 12px; padding: 16px 18px 12px; border: 1px solid var(--line); border-radius: 5px; background: var(--panel); }
.timeline-title { margin-bottom: 14px; color: #77c6a5; font-size: .66rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.effect-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.effect-steps > div { position: relative; display: grid; gap: 5px; min-height: 48px; padding: 0 14px; border-top: 2px solid #395553; }
.effect-steps > div::before { content: ""; position: absolute; top: -6px; left: 10px; width: 10px; aspect-ratio: 1; border-radius: 50%; background: var(--gold); }
.effect-steps small { padding-top: 9px; color: #7f9691; font-size: .59rem; text-transform: uppercase; }
.effect-steps strong { font-size: .67rem; }
.effect-timeline > p { margin: 9px 0 0; color: #6f8580; font-size: .58rem; }

.government-rail { display: grid; gap: 12px; }
.government-rail > article { padding: 17px; border: 1px solid var(--line); border-radius: 5px; background: var(--panel); }
.government-rail .section-kicker { margin-top: 0; }
.approval-ring { position: relative; display: grid; place-content: center; width: 120px; margin: 12px auto 18px; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(var(--gold) calc(var(--value) * 1%), #234642 0); text-align: center; }
.approval-ring::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: var(--panel); }
.approval-ring strong, .approval-ring span { position: relative; z-index: 1; }
.approval-ring strong { font: 500 2rem Georgia, serif; }
.approval-ring span { color: var(--muted); font-size: .65rem; }
.rail-row { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .65rem; }
.rail-row b { color: var(--cream); }
.rail-value { display: block; margin: 8px 0 10px; font: 500 1.8rem Georgia, serif; }
.rail-value small { color: var(--muted); font: 500 .66rem "Segoe UI", sans-serif; }
.progress { overflow: hidden; width: 100%; height: 5px; border-radius: 8px; background: #405451; }
.progress i { display: block; height: 100%; background: var(--gold); }
.rail-note { display: block; margin-top: 9px; color: #91a59f; font-size: .66rem; }
.alerts .section-kicker { display: flex; justify-content: space-between; }
.alerts .section-kicker b { display: grid; place-items: center; min-width: 19px; height: 19px; border-radius: 50%; background: var(--red); color: white; font-size: .6rem; }
.alerts > div { display: flex; align-items: flex-start; gap: 9px; padding: 10px 0; border-top: 1px solid var(--line); color: #cbd6d2; font-size: .65rem; line-height: 1.35; }
.alerts > div .ui-icon { flex: 0 0 auto; filter: invert(51%) sepia(94%) saturate(2061%) hue-rotate(329deg) brightness(108%); }

/* Remaining views */
.page-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 26px; }
.page-head h1 { margin-bottom: 8px; font: 500 clamp(2.3rem, 4vw, 4rem)/.95 Georgia, serif; }
.page-head > div > p:last-child { max-width: 720px; margin-bottom: 0; color: var(--muted); }
.time-actions, .resource-pills { display: flex; gap: 8px; }
.pulse-card, .metric-card, .panel, .policy-card, .budget-summary article, .timeline-card, .save-card { border: 1px solid var(--line); background: var(--panel); box-shadow: none; }
.hero-grid { display: grid; grid-template-columns: minmax(230px,.62fr) 2fr; gap: 14px; }
.pulse-card, .panel { padding: 22px; }
.pulse-row { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 11px; }
.metrics-grid--hero { grid-template-columns: repeat(2,1fr); }
.metric-card { position: relative; overflow: hidden; min-height: 124px; padding: 17px; }
.metric-card__head { display: flex; justify-content: space-between; color: var(--muted); font-size: .67rem; }
.metric-card > strong { display: block; margin-top: 12px; font: 500 1.7rem Georgia, serif; }
.delta { color: var(--faint); font-weight: 700; }
.sparkline { position: absolute; right: 10px; bottom: 5px; left: 10px; width: calc(100% - 20px); height: 32px; opacity: .7; }
.sparkline polyline { fill: none; stroke: var(--green); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.section-block { margin-top: 40px; }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
.section-title h2 { margin: 0; font: 500 1.55rem Georgia, serif; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.service-list { display: grid; gap: 14px; }
.service-list > div { display: grid; grid-template-columns: 115px 1fr 30px; align-items: center; gap: 12px; font-size: .72rem; }
.meter, .fiscal-track { overflow: hidden; height: 6px; border-radius: 20px; background: #294745; }
.meter i, .fiscal-track i { display: block; height: 100%; background: var(--green); }
.budget-hero { display: flex; align-items: baseline; gap: 9px; margin: 18px 0; }
.budget-hero strong { font: 500 2.3rem Georgia, serif; }
.budget-hero span, .panel > .muted { color: var(--muted); font-size: .7rem; }
.news-compact { display: grid; grid-template-columns: repeat(3,1fr); gap: 13px; }
.news-compact article { padding-left: 11px; border-left: 2px solid var(--gold); }
.news-compact span { color: #6fc09e; font-size: .56rem; font-weight: 700; text-transform: uppercase; }
.news-compact h3 { margin: 5px 0 8px; font: 500 .96rem/1.15 Georgia, serif; }
.news-compact small, .empty { color: var(--faint); font-size: .62rem; }
.active-list { display: grid; gap: 7px; }
.active-list > div { display: flex; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.source-icon, .save-icon { display: grid; place-items: center; width: 29px; aspect-ratio: 1; border-radius: 50%; background: rgba(85,184,138,.12); color: var(--green); }
.active-list p { display: grid; gap: 2px; margin: 0; font-size: .75rem; }
.active-list small { color: var(--faint); }
.mandate-end { display: grid; grid-template-columns: 1fr auto; gap: 8px 28px; margin-bottom: 22px; padding: 22px; border: 1px solid var(--gold); background: var(--panel); }
.mandate-end .eyebrow, .mandate-end h2, .mandate-end p { grid-column: 1; margin: 0; }
.mandate-end > strong { grid-column: 2; grid-row: 1/4; font: 500 4rem Georgia, serif; color: var(--gold); }

.resource-pills span { display: grid; gap: 3px; padding: 9px 13px; border: 1px solid var(--line); background: var(--panel); color: var(--faint); font-size: .62rem; }
.resource-pills strong { color: var(--cream); font-size: .82rem; }
.filter-row { display: flex; gap: 7px; overflow: auto; padding-bottom: 12px; margin-bottom: 12px; }
.filter-row button { flex: 0 0 auto; padding: 8px 12px; border: 1px solid var(--line); border-radius: 99px; background: transparent; color: var(--muted); font-size: .68rem; cursor: pointer; }
.filter-row button.active { border-color: var(--gold); background: rgba(224,173,67,.1); color: var(--cream); }
.policy-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.policy-card { display: flex; flex-direction: column; min-height: 405px; padding: 20px; }
.policy-card.disabled { opacity: .58; }
.policy-card__top { display: flex; justify-content: space-between; color: #6fc09e; font-size: .61rem; font-weight: 700; text-transform: uppercase; }
.status-dot { color: var(--faint); text-transform: none; }
.policy-card h2 { margin: 20px 0 8px; font: 500 1.55rem/1.05 Georgia, serif; }
.policy-card > p { min-height: 55px; color: var(--muted); font-size: .75rem; line-height: 1.5; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 5px 0 17px; }
.tags span { padding: 4px 8px; background: rgba(85,184,138,.1); color: var(--green); font-size: .58rem; }
.policy-cost { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; padding: 11px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.policy-cost div { display: grid; gap: 3px; }.policy-cost small { color: var(--faint); font-size: .58rem; }.policy-cost strong { font-size: .68rem; }
.policy-card details { margin: 12px 0; font-size: .66rem; }.policy-card summary { color: var(--green); font-weight: 700; cursor: pointer; }.policy-card ul { padding-left: 18px; color: var(--muted); line-height: 1.5; }.policy-card > .button { margin-top: auto; }

.budget-summary { display: grid; grid-template-columns: repeat(4,1fr); gap: 11px; margin-bottom: 14px; }
.budget-summary article { display: grid; gap: 7px; padding: 17px; }.budget-summary span { color: var(--muted); font-size: .66rem; }.budget-summary strong { font: 500 1.4rem Georgia, serif; }.budget-summary .warning { border-top: 3px solid var(--red); }.budget-summary .success { border-top: 3px solid var(--green); }
.budget-panel { padding: 28px; }.stacked-bar { display: flex; overflow: hidden; height: 20px; margin: 23px 0; background: #294745; }.mandatory { background: #30725d; }.debt { background: var(--red); }.policy { background: var(--gold); }.reserve { background: #718783; }
.budget-table { display: grid; }.budget-table > div { display: grid; grid-template-columns: 1fr 130px 110px; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); font-size: .72rem; }.budget-table > div > span { display: flex; align-items: center; gap: 9px; }.budget-table small { color: var(--faint); text-align: right; }.legend { width: 8px; height: 8px; border-radius: 50%; }.budget-callout { border-color: rgba(224,173,67,.5); }.budget-callout > strong { font: 500 3.3rem Georgia, serif; }.explain-text { color: var(--muted); line-height: 1.7; }

.select-label { min-width: 230px; }.select-label select { background: var(--panel); }
.cause-summary { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 24px; margin-bottom: 36px; padding: 26px; border: 1px solid var(--line); background: var(--panel); }
.cause-focus span, .cause-summary > div:last-child span { color: var(--faint); font-size: .63rem; text-transform: uppercase; }.cause-focus h2 { margin: 5px 0; font: 500 1.55rem Georgia, serif; }.cause-focus strong, .cause-summary > div:last-child strong { display: block; font: 500 2.3rem Georgia, serif; color: var(--gold); }.cause-line { display: flex; justify-content: space-between; position: relative; }.cause-line::before { content: ""; position: absolute; right: 0; left: 0; top: 50%; height: 1px; background: var(--line-strong); }.cause-line i { position: relative; width: 10px; aspect-ratio: 1; border: 2px solid var(--gold); border-radius: 50%; background: var(--panel); }
.timeline { max-width: 900px; margin: 0 auto; }.timeline > article { position: relative; display: grid; grid-template-columns: 120px 1fr; gap: 28px; padding-bottom: 22px; }.timeline > article::before { content: ""; position: absolute; top: 16px; bottom: -4px; left: 133px; width: 1px; background: var(--line); }.timeline > article:last-child::before { display: none; }.timeline-dot { position: absolute; z-index: 1; top: 12px; left: 128px; width: 11px; aspect-ratio: 1; border: 3px solid var(--ink); border-radius: 50%; background: var(--green); }.timeline-dot.down { background: var(--red); }.timeline-date { padding-top: 10px; color: var(--faint); font-size: .64rem; text-align: right; }.timeline-card { padding: 19px; }.timeline-card > div { display: flex; justify-content: space-between; }.event-kind { color: var(--green); font-size: .58rem; font-weight: 700; text-transform: uppercase; }.timeline-card h2 { margin: 8px 0 5px; font: 500 1.3rem Georgia, serif; }.timeline-card p, .timeline-card small { color: var(--muted); font-size: .74rem; }.scheduled { display: inline-block; margin-top: 9px; padding: 4px 7px; background: rgba(85,184,138,.1); color: var(--green); font-size: .58rem; }.empty-state { padding: 48px; border: 1px dashed var(--line-strong); text-align: center; }

.newspaper-head { padding-bottom: 22px; border-bottom: 3px double var(--line-strong); text-align: center; }.newspaper-head > div { width: 100%; }.newspaper-head h1 { font-size: clamp(3rem,7vw,6rem); }.newspaper-grid { display: grid; grid-template-columns: repeat(3,1fr); }.news-story { padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }.news-story:nth-child(3n) { border-right: 0; }.news-story.lead { grid-column: span 2; }.news-story > span { color: var(--green); font-size: .58rem; font-weight: 700; text-transform: uppercase; }.news-story h2 { margin: 9px 0; font: 500 1.65rem/1.08 Georgia, serif; }.news-story.lead h2 { font-size: 2.65rem; }.news-story p { color: var(--muted); font: 500 .96rem/1.55 Georgia, serif; }
.save-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }.save-card { display: flex; flex-direction: column; align-items: flex-start; min-height: 270px; padding: 22px; }.save-card h2 { margin: 23px 0 8px; font: 500 1.6rem Georgia, serif; }.save-card p { color: var(--muted); line-height: 1.5; }.save-card .button { margin-top: auto; }.file-button { position: relative; cursor: pointer; }.file-button input { position: absolute; width: 1px; height: 1px; opacity: 0; }.file-button:focus-within { outline: 3px solid var(--gold); outline-offset: 3px; }.save-details { margin-top: 14px; }.save-details dl { display: grid; grid-template-columns: repeat(5,1fr); margin: 0; }.save-details dl div { padding: 11px; border-left: 1px solid var(--line); }.save-details dt { color: var(--faint); font-size: .62rem; }.save-details dd { margin: 5px 0 0; font-size: .76rem; overflow-wrap: anywhere; }
.toast { position: fixed; z-index: 100; right: 22px; bottom: 22px; max-width: 380px; padding: 14px 18px; border-left: 4px solid var(--gold); background: #112f31; color: var(--cream); box-shadow: var(--shadow); font-size: .76rem; }

@media (max-width: 1250px) {
  .topbar { grid-template-columns: 215px minmax(430px,1fr) auto; }.wordmark { padding-inline: 14px; }.wordmark strong { font-size: .78rem; }.topnav button { padding-inline: 9px; }.topnav .ui-icon { display: none; }.term-status { display: none; }
  .response-row { grid-template-columns: 22px minmax(180px,1.2fr) 80px 62px minmax(120px,1fr) 90px 100px; }.response-row .response-groups:nth-last-of-type(2) { display: none; }
}

@media (max-width: 1050px) {
  .crisis-layout { grid-template-columns: 1fr; }.government-rail { grid-template-columns: repeat(4,1fr); }.government-rail .approval-ring { width: 92px; }.alerts { grid-column: span 2; }
  .policy-grid { grid-template-columns: repeat(2,1fr); }.metrics-grid { grid-template-columns: repeat(2,1fr); }.news-compact { grid-template-columns: 1fr; }.budget-summary { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 900px) {
  .topbar { grid-template-columns: 56px 1fr auto; }.mobile-menu { display: grid; place-items: center; border: 0; border-right: 1px solid var(--line); background: transparent; }.wordmark { border: 0; }.topbar-actions { padding-right: 10px; }.advance-main { min-width: 132px; }.topnav { position: fixed; z-index: 45; top: 74px; right: 0; left: 0; display: grid; padding: 10px; border-bottom: 1px solid var(--line); background: #061a1d; box-shadow: var(--shadow); transform: translateY(-120%); visibility: hidden; pointer-events: none; transition: transform .18s ease, visibility 0s linear .18s; }.menu-open .topnav { transform: translateY(0); visibility: visible; pointer-events: auto; transition-delay: 0s; }.topnav button { min-height: 46px; padding: 0 14px; border-bottom: 1px solid var(--line); }.topnav button::after { top: 8px; right: auto; bottom: 8px; left: 0; width: 3px; height: auto; }.topnav .ui-icon { display: block; }
  .content { padding: 22px 16px 52px; }.crisis-heading { align-items: start; }.crisis-heading > div > p:last-child { display: block; margin-top: 8px; }.risk-banner { grid-template-columns: 58px 1fr; }.risk-banner > div:nth-last-child(-n+2) { display: none; }.diagnostic-panel { grid-template-columns: 1fr; }.inflation-focus { border-right: 0; border-bottom: 1px solid var(--line); }
  .response-table { overflow-x: auto; }.response-row { min-width: 890px; grid-template-columns: 22px 210px 90px 70px 150px 100px 100px 105px; }.response-row .response-groups:nth-last-of-type(2) { display: grid; }
  .government-rail { grid-template-columns: repeat(2,1fr); }.alerts { grid-column: auto; }
  .page-head { display: grid; align-items: start; }.time-actions, .resource-pills { width: 100%; }.hero-grid, .split-grid { grid-template-columns: 1fr; }.policy-grid { grid-template-columns: 1fr; }.newspaper-grid { grid-template-columns: 1fr; }.news-story, .news-story:nth-child(3n) { border-right: 0; }.news-story.lead { grid-column: auto; }.save-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .topbar { height: 66px; grid-template-columns: 50px 1fr auto; }.game-shell { padding-top: 66px; }.topnav { top: 66px; }.wordmark { gap: 0; padding: 0 8px; }.wordmark > span { width: 32px; }.wordmark strong { display: none; }.advance-main { min-width: 0; min-height: 38px; padding: 8px 11px; }.advance-main .ui-icon { display: none; }
  .crisis-heading h1 { display: block; font-size: 2.4rem; }.advance-secondary { display: inline-flex; }.risk-banner { padding: 14px; }.risk-symbol { width: 48px; border-width: 6px; }.risk-banner h2 { font-size: .95rem; }.inflation-focus { grid-template-columns: 1fr; }.inflation-chart { grid-column: 1; grid-row: auto; margin-top: 10px; border-top: 1px solid var(--line); border-left: 0; }.pressure-list { padding: 14px; }.pressure-list > div { grid-template-columns: 34px 1fr; }.pressure-list > div > b { grid-column: 2; }
  .effect-steps { grid-template-columns: 1fr 1fr; gap: 16px 0; }.government-rail { grid-template-columns: 1fr 1fr; }.government-rail > article:first-child, .alerts { grid-column: 1 / -1; }
  .setup-shell { grid-template-columns: 1fr; }.setup-story { min-height: 50vh; padding: 42px 24px; }.setup-story h1 { font-size: 4.2rem; }.setup-panel { padding: 38px 22px; }.setup-panel fieldset { grid-template-columns: 1fr; }
  .budget-summary, .metrics-grid, .metrics-grid--hero { grid-template-columns: 1fr; }.budget-table > div { grid-template-columns: 1fr auto; }.budget-table small { grid-column: 1 / 3; text-align: left; }.cause-summary { grid-template-columns: 1fr; }.cause-line { height: 28px; transform: rotate(90deg); }.timeline > article { grid-template-columns: 1fr; gap: 7px; padding-left: 24px; }.timeline > article::before { left: 5px; }.timeline-dot { left: 0; }.timeline-date { text-align: left; }.save-details dl { grid-template-columns: 1fr 1fr; }.resource-pills { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
