:root {
  color-scheme: dark;
  --bg: #090b0e; --bg-soft: #0d1015; --card: #12161c; --border: #252a33;
  --border-soft: rgba(255,255,255,.065); --text: #f3f1eb; --text-soft: #c9c7c1;
  --text-muted: #858b95; --gold: #d7ad4a; --gold-bright: #f1ca6a;
  --gold-dim: rgba(215,173,74,.11); --positive: #66d19e; --negative: #ff7777;
  --mixed: #efbd58; --neutral: #89919d; --link: #e8c86f; --radius: 16px;
  --shadow: 0 18px 48px rgba(0,0,0,.22);
  --font: "Avenir Next", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 88% -8%, rgba(215,173,74,.08), transparent 28rem), linear-gradient(145deg,var(--bg),var(--bg-soft)); color: var(--text); font-family: var(--font); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }
a { color: var(--link); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--gold-bright); }
.shell { min-height: 100vh; display: grid; grid-template-columns: 272px minmax(0,1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 28px 20px 22px; display: flex; flex-direction: column; gap: 25px; overflow-y: auto; background: rgba(11,14,18,.96); border-right: 1px solid var(--border-soft); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); font-weight: 680; letter-spacing: -.01em; }
.brand-mark { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border: 1px solid rgba(215,173,74,.42); border-radius: 12px; background: linear-gradient(145deg,rgba(215,173,74,.2),rgba(215,173,74,.04)); color: var(--gold-bright); font-size: .78rem; font-weight: 760; letter-spacing: .08em; box-shadow: inset 0 1px rgba(255,255,255,.06); }
.brand-copy { min-width: 0; }
.brand small { display: block; margin-top: 2px; color: var(--text-muted); font-size: .68rem; font-weight: 500; letter-spacing: .02em; }
.nav { display: flex; flex: 1; flex-direction: column; gap: 4px; }
.nav a,.side-meta a { position: relative; display: block; padding: 10px 12px; border-radius: 10px; color: #979da7; font-size: .9rem; font-weight: 540; }
.nav a::before { content: ""; position: absolute; left: 0; top: 50%; width: 2px; height: 0; border-radius: 2px; background: var(--gold); transform: translateY(-50%); transition: height .18s ease; }
.nav a:hover,.side-meta a:hover { color: var(--text); background: rgba(255,255,255,.035); }
.nav a.active { color: var(--text); background: linear-gradient(90deg,var(--gold-dim),rgba(215,173,74,.025)); }
.nav a.active::before { height: 20px; }
.side-meta { padding-top: 16px; border-top: 1px solid var(--border-soft); color: var(--text-muted); font-size: .72rem; }
.side-meta a { padding: 6px 8px; font-size: .78rem; }
.side-meta form { margin: 6px 0; }
.side-meta .btn { min-height: 34px; padding: 7px 10px; font-size: .78rem; }
.nav-secondary-label { margin: 0 8px 6px; color: #666d78; font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }
.main { width: min(100%,1480px); padding: 24px clamp(18px,2.6vw,40px) 52px; }
.mobile-header,.mobile-nav { display: none; }
.topbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin: 0 0 16px; }
.topbar h1 { margin: 0; font-size: clamp(1.45rem,2vw,1.95rem); font-weight: 660; letter-spacing: -.035em; }
.topbar .note { max-width: 64%; color: var(--text-muted); font-size: .8rem; text-align: right; }
.overview-heading { margin-bottom: 16px; }
.grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 12px; }
.compact-grid { gap: 12px; }
.span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; } .span-6 { grid-column: span 6; } .span-8 { grid-column: span 8; } .span-12 { grid-column: span 12; }
.card { position: relative; min-width: 0; overflow: hidden; padding: 16px 18px; border: 1px solid var(--border-soft); border-radius: 14px; background: linear-gradient(150deg,rgba(21,25,32,.97),rgba(16,20,26,.97)); box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,.025); }
.card.compact { padding: 14px 16px; }
.card::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: linear-gradient(120deg,rgba(255,255,255,.022),transparent 30%); }
.hero-card { min-height: 0; padding: 16px 18px; }
.hero-card::before { content: ""; position: absolute; right: -30px; top: -50px; width: 150px; height: 150px; border-radius: 50%; filter: blur(4px); opacity: .55; }
a.card-link { color: inherit; text-decoration: none; display: block; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
a.card-link:hover, a.card-link:focus-visible { border-color: rgba(215,173,74,.42); box-shadow: var(--shadow), 0 0 0 2px rgba(215,173,74,.16); outline: none; transform: translateY(-1px); }
a.heading-link { color: inherit; text-decoration: none; }
a.heading-link:hover, a.heading-link:focus-visible { color: var(--gold-bright); outline: none; }
a.list-link { display: block; color: inherit; text-decoration: none; border-radius: 8px; }
a.list-link:hover .title, a.list-link:focus-visible .title { color: var(--gold-bright); }
a.list-link:focus-visible { outline: 2px solid rgba(215,173,74,.45); outline-offset: 2px; }
.bg-structured .bg-block { margin-top: 0.85rem; }
.bg-structured .bg-block:first-child { margin-top: 0.35rem; }
.period-pill[aria-busy="true"] { opacity: .65; pointer-events: none; }
.gold-card::before { background: radial-gradient(circle,rgba(215,173,74,.18),transparent 70%); }
.outlook-card::before { background: radial-gradient(circle,rgba(118,133,157,.14),transparent 70%); }
.background-card::before { background: radial-gradient(circle,rgba(102,209,158,.11),transparent 70%); }
.card h2,.card h3 { margin: 0 0 10px; color: #9298a2; font-size: .66rem; font-weight: 720; text-transform: uppercase; letter-spacing: .12em; }
.metric { font-size: clamp(1.55rem,2.6vw,2.15rem); line-height: 1.08; font-weight: 690; font-variant-numeric: tabular-nums; letter-spacing: -.045em; }
.metric.secondary { margin-top: 4px; color: var(--text-soft); font-size: .98rem; font-weight: 520; letter-spacing: -.01em; }
.meta { margin-top: 5px; color: var(--text-muted); font-size: .8rem; }
.stack { display: flex; flex-direction: column; gap: 6px; }
.row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.045); }
.row:last-child { padding-bottom: 0; border-bottom: 0; }
.row .label { color: var(--text-muted); } .row .value { color: var(--text-soft); font-variant-numeric: tabular-nums; text-align: right; }
.badge { display: inline-flex; align-items: center; gap: 9px; padding: 7px 12px; border: 1px solid var(--border); border-radius: 999px; background: rgba(255,255,255,.025); color: var(--text-soft); font-size: .8rem; font-weight: 650; }
.badge::before { content: ""; width: 10px; height: 10px; flex: 0 0 10px; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px currentColor; }
.badge.positive { color: var(--positive); border-color: rgba(102,209,158,.24); background: rgba(102,209,158,.065); }
.badge.negative { color: var(--negative); border-color: rgba(255,119,119,.23); background: rgba(255,119,119,.06); }
.badge.mixed { color: var(--mixed); border-color: rgba(239,189,88,.23); background: rgba(239,189,88,.06); }
.badge.muted { color: var(--neutral); }
.list { margin: 0; padding: 0; list-style: none; }
.list li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.055); }
.list.dense li { padding: 8px 0; }
.list li:first-child { padding-top: 2px; } .list li:last-child { padding-bottom: 2px; border-bottom: 0; }
.list .title { color: var(--text-soft); font-weight: 620; line-height: 1.38; }
.list .sub { margin-top: 3px; color: var(--text-muted); font-size: .8rem; line-height: 1.45; }
.list .sub.provenance { color: #9aa1ab; }
.text-wrap,.title,.sub,.prose,a { overflow-wrap: anywhere; word-break: normal; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.change-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.change-card { min-width: 0; padding: 12px 14px; border: 1px solid var(--border-soft); border-radius: 11px; background: rgba(255,255,255,.018); }
.change-card .title { color: var(--text-soft); font-weight: 650; }
.change-card .sub { margin-top: 4px; color: var(--text-muted); font-size: .84rem; }
.factor-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.factor-card { display: flex; align-items: flex-start; gap: 10px; min-width: 0; padding: 12px; border: 1px solid var(--border-soft); border-radius: 11px; background: rgba(255,255,255,.02); color: var(--text-soft); line-height: 1.45; }
.factor-index { width: 24px; height: 24px; flex: 0 0 24px; display: grid; place-items: center; border-radius: 8px; background: var(--gold-dim); color: var(--gold-bright); font-size: .72rem; font-weight: 750; }
.prose { color: var(--text-soft); line-height: 1.55; white-space: pre-wrap; } .prose p { margin: 0 0 10px; }
.muted { color: var(--text-muted) !important; }
.disclaimer { margin-top: 17px; padding: 14px 16px; border: 1px solid rgba(215,173,74,.16); border-left: 3px solid var(--gold); border-radius: 3px 12px 12px 3px; background: rgba(215,173,74,.045); color: #a9a69f; font-size: .82rem; }
.pill-row { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 15px; }
.pill { padding: 6px 11px; border: 1px solid var(--border); border-radius: 999px; color: var(--text-muted); font-size: .79rem; font-weight: 600; }
.pill:hover { border-color: #474e59; color: var(--text); } .pill.active { border-color: rgba(215,173,74,.38); background: var(--gold-dim); color: var(--gold-bright); }
.chart-wrap { position: relative; width: 100%; height: 360px; }
.changes-grid .change-highlight { min-height: 112px; }
.theme-card { margin-bottom: 0; }
.theme-card .section-label { margin: 13px 0 3px; color: #717884; font-size: .65rem; font-weight: 720; text-transform: uppercase; letter-spacing: .1em; }
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 50% 20%,rgba(215,173,74,.09),transparent 28rem); }
.login-card { width: min(430px,100%); padding: 34px; border: 1px solid var(--border); border-radius: 20px; background: rgba(18,22,28,.96); box-shadow: 0 30px 90px rgba(0,0,0,.42); }
.login-card::before { content: "GI"; width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 22px; border: 1px solid rgba(215,173,74,.42); border-radius: 14px; background: var(--gold-dim); color: var(--gold-bright); font-size: .82rem; font-weight: 760; letter-spacing: .08em; }
.login-card h1 { margin: 0 0 7px; font-size: 1.55rem; letter-spacing: -.025em; }
.form-field { margin: 18px 0; } .form-field label { display: block; margin-bottom: 7px; color: #a2a6ae; font-size: .8rem; font-weight: 600; }
.form-field input { width: 100%; min-height: 45px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; outline: none; background: #0c0f13; color: var(--text); font: inherit; transition: border-color .18s ease,box-shadow .18s ease; }
.form-field input:focus { border-color: rgba(215,173,74,.55); box-shadow: 0 0 0 3px rgba(215,173,74,.08); }
.btn { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; border: 0; border-radius: 10px; background: linear-gradient(135deg,var(--gold-bright),#c79a35); color: #17130a; font: inherit; font-weight: 720; cursor: pointer; }
.btn:hover { filter: brightness(1.06); } .btn.secondary { border: 1px solid var(--border); background: transparent; color: var(--text-muted); }
.error { margin: 12px 0; padding: 12px 14px; border: 1px solid rgba(255,119,119,.25); border-radius: 10px; background: rgba(255,119,119,.07); color: #ff9696; }
@media (max-width: 1100px) { .shell { grid-template-columns: 232px minmax(0,1fr); } .sidebar { padding-inline: 15px; } .main { padding-inline: 24px; } .span-3,.span-4 { grid-column: span 6; } .hero-card:last-of-type { grid-column: span 12; min-height: 180px; } }
@media (max-width: 820px) { .shell { display: block; } .sidebar { display: none; } .main { width: 100%; padding: 14px 14px 40px; } .mobile-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; } .mobile-header .brand-mark { width: 32px; height: 32px; flex-basis: 32px; border-radius: 10px; font-size: .65rem; } .mobile-header strong { font-size: .9rem; } .mobile-nav { display: flex; gap: 7px; margin: 0 -14px 16px; padding: 0 14px 8px; overflow-x: auto; scrollbar-width: none; } .mobile-nav::-webkit-scrollbar { display: none; } .mobile-nav a { flex: 0 0 auto; padding: 7px 11px; border: 1px solid var(--border); border-radius: 999px; color: var(--text-muted); font-size: .75rem; font-weight: 620; white-space: nowrap; } .mobile-nav a.active { border-color: rgba(215,173,74,.38); background: var(--gold-dim); color: var(--gold-bright); } .topbar { align-items: flex-start; flex-direction: column; gap: 6px; margin-bottom: 14px; } .topbar .note { max-width: 100%; text-align: left; } .span-3,.span-4,.span-6,.span-8 { grid-column: span 12; } .hero-card { min-height: auto; } .chart-wrap { height: 260px; } }
@media (max-width: 520px) { body { font-size: 14px; } .grid,.compact-grid { gap: 10px; } .card,.card.compact { padding: 14px; border-radius: 12px; } .metric { font-size: 1.7rem; } .row { align-items: flex-start; flex-direction: column; gap: 2px; } .row .value { text-align: left; } .login-card { padding: 25px; } .change-cards,.factor-grid { grid-template-columns: 1fr; } .section-heading { align-items: flex-start; flex-direction: column; gap: 2px; } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto !important; transition: none !important; } }
