:root {
    --ink: #122a21;
    --ink-soft: #335247;
    --muted: #71837b;
    --paper: #f5f2e9;
    --line: rgba(18, 42, 33, .14);
    --green: #187a55;
    --green-dark: #0e3d2e;
    --teal: #2b8d87;
    --gold: #dcac43;
    --orange: #d87940;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--paper);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: radial-gradient(circle at 8% 0%, #fffdf6 0, var(--paper) 38%, #e9eee4 100%); }
button, a { font: inherit; }
button { color: inherit; }
.app-shell { min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto; }
.topbar { display: flex; align-items: center; gap: 28px; min-height: 72px; padding: 14px clamp(18px, 4vw, 62px); border-bottom: 1px solid var(--line); background: rgba(245, 242, 233, .82); backdrop-filter: blur(18px); }
.brand { display: inline-flex; gap: 11px; align-items: center; color: var(--ink); text-decoration: none; }
.brand strong { display: block; letter-spacing: .14em; font-size: .86rem; }
.brand small { display: block; margin-top: 3px; color: var(--muted); font-size: .55rem; font-weight: 800; letter-spacing: .16em; }
.flag-mark { display: flex; width: 33px; height: 33px; overflow: hidden; border-radius: 9px; border: 1px solid rgba(18,42,33,.17); box-shadow: 0 3px 8px rgba(18,42,33,.08); }
.flag-mark i { flex: 1; background: #15945b; }
.flag-mark i:nth-child(2) { background: #fbfbf4; }
.season-note { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; color: var(--muted); font-size: .63rem; font-weight: 800; letter-spacing: .11em; }
.pulse-dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 4px rgba(24,122,85,.12); }
.top-metrics { display: flex; align-items: center; gap: 20px; }
.top-metrics div { display: grid; gap: 3px; min-width: 78px; }
.top-metrics small { color: var(--muted); font-size: .59rem; letter-spacing: .08em; text-transform: uppercase; }
.top-metrics strong { font-size: .86rem; }
.ghost-button, .small-map-button, .advance-button { border: 1px solid var(--line); border-radius: 7px; padding: 8px 10px; background: rgba(255,255,255,.35); color: var(--ink-soft); cursor: pointer; font-size: .68rem; font-weight: 800; }
.ghost-button:hover, .small-map-button:hover, .advance-button:hover { border-color: var(--green); color: var(--green-dark); background: white; }
.main-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, 390px); gap: clamp(22px, 4vw, 64px); width: min(1480px, 100%); margin: 0 auto; padding: clamp(28px, 4.8vw, 70px) clamp(18px, 4vw, 62px) 30px; }
.map-panel { min-width: 0; }
.map-heading { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.eyebrow { margin: 0; color: var(--green); font-size: .61rem; font-weight: 900; letter-spacing: .15em; line-height: 1.2; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: 10px 0 12px; color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.3rem, 4.4vw, 4.6rem); font-weight: 400; letter-spacing: -.045em; line-height: .94; }
h1 em { color: var(--green); font-style: italic; }
.intro { max-width: 440px; margin-bottom: 0; color: var(--ink-soft); font-size: .83rem; line-height: 1.55; }
.map-legend { display: grid; align-content: end; gap: 8px; padding-bottom: 4px; color: var(--muted); font-size: .62rem; white-space: nowrap; }
.map-legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(220,172,67,.14); }
.legend-line { width: 20px; border-top: 1px dashed var(--teal); }
.map-stage { position: relative; min-height: 490px; overflow: hidden; border: 1px solid rgba(18,42,33,.17); border-radius: 16px; background: linear-gradient(160deg, #d7ebe0, #a9d1c0 45%, #79aa92 100%); box-shadow: 0 22px 65px rgba(25,61,47,.14); isolation: isolate; }
.map-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 76% 29%, rgba(255,232,162,.62), transparent 22%), radial-gradient(circle at 15% 81%, rgba(17,90,67,.22), transparent 38%), linear-gradient(140deg, rgba(255,255,255,.14), transparent 45%); }
.map-grid-lines { position: absolute; inset: 0; opacity: .27; background-image: linear-gradient(rgba(18,74,55,.26) 1px, transparent 1px), linear-gradient(90deg, rgba(18,74,55,.26) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to bottom, transparent, black 26%, black 82%, transparent); }
.map-asset { position: absolute; z-index: 0; width: min(73%, 610px); left: 11%; top: 10%; opacity: .2; filter: grayscale(1) contrast(1.1) sepia(.2); mix-blend-mode: multiply; pointer-events: none; }
#nigeriaCanvas { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; touch-action: none; cursor: grab; }
#nigeriaCanvas:active { cursor: grabbing; }
.map-overlay-top, .map-overlay-bottom { position: absolute; z-index: 3; left: 17px; right: 17px; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.map-overlay-top { top: 17px; }
.map-overlay-bottom { bottom: 16px; color: rgba(246,250,240,.9); font-size: .62rem; font-weight: 700; text-shadow: 0 1px 2px rgba(10,50,35,.4); }
.location-chip, .small-map-button { pointer-events: auto; }
.location-chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; border-radius: 999px; background: rgba(247,250,237,.88); color: var(--green-dark); box-shadow: 0 5px 20px rgba(15,56,41,.15); font-size: .67rem; font-weight: 800; }
.pin-icon { color: var(--orange); font-size: .95rem; }
.small-map-button { border-color: rgba(247,250,237,.45); background: rgba(15,57,42,.35); color: #f7faed; }
.map-hint { color: rgba(225,244,231,.65); font-size: .54rem; letter-spacing: .1em; }
.webgl-fallback { position: absolute; inset: auto 18px 55px; z-index: 4; padding: 10px; border-radius: 8px; background: rgba(15,57,42,.82); color: white; font-size: .72rem; text-align: center; }
.hub-strip { display: flex; gap: 8px; margin-top: 13px; overflow-x: auto; padding-bottom: 4px; }
.hub-button { flex: 1 0 100px; display: grid; gap: 3px; padding: 10px 11px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.38); color: var(--ink-soft); cursor: pointer; text-align: left; }
.hub-button:hover { background: rgba(255,255,255,.9); border-color: rgba(24,122,85,.4); }
.hub-button.active { background: var(--green-dark); border-color: var(--green-dark); color: #f3f4e8; }
.hub-button strong { font-size: .74rem; }
.hub-button small { color: var(--muted); font-size: .58rem; }
.hub-button.active small { color: #a9c6b5; }
.council-panel { padding-top: 11px; }
.council-head { display: flex; align-items: start; justify-content: space-between; gap: 15px; padding-bottom: 21px; border-bottom: 1px solid var(--line); }
.council-head h2 { margin: 9px 0 5px; font-family: Georgia, serif; font-size: 1.75rem; font-weight: 400; letter-spacing: -.035em; }
.council-head p:last-child { margin: 0; color: var(--muted); font-size: .7rem; }
.status-badge { padding: 6px 8px; border: 1px solid rgba(24,122,85,.25); border-radius: 999px; color: var(--green); font-size: .56rem; font-weight: 900; letter-spacing: .1em; }
.brief-card { margin-top: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.5); }
.priority-card { background: rgba(232, 239, 226, .72); border-color: rgba(24,122,85,.18); }
.card-topline, .progress-meta, .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mandate-count, .cost, .section-heading > span:last-child { color: var(--muted); font-size: .62rem; font-weight: 800; }
.brief-card h3 { margin: 13px 0 6px; font-family: Georgia, serif; font-size: 1.22rem; font-weight: 400; }
.brief-card p { margin-bottom: 15px; color: var(--ink-soft); font-size: .72rem; line-height: 1.45; }
.progress-track { height: 5px; overflow: hidden; border-radius: 9px; background: rgba(24,122,85,.12); }
.progress-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green), var(--teal)); transition: width .3s ease; }
.progress-meta { margin-top: 8px; color: var(--muted); font-size: .6rem; }
.progress-meta strong { color: var(--green); }
.action-card { background: var(--green-dark); color: #f0f2e6; border-color: var(--green-dark); }
.action-card .eyebrow, .action-card .cost { color: #abc9b7; }
.action-card p { color: #bed2c4; }
.primary-button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 12px 13px; border: 1px solid #e8c873; border-radius: 7px; background: var(--gold); color: #183225; cursor: pointer; font-size: .72rem; font-weight: 900; }
.primary-button:hover { background: #f2cf79; }
.primary-button span:last-child { font-size: 1rem; }
.action-alternates { display: flex; gap: 6px; margin-top: 10px; }
.action-alternates button { flex: 1; padding: 7px 4px; border: 1px solid rgba(214,231,216,.2); border-radius: 5px; background: rgba(255,255,255,.06); color: #c5d8ca; cursor: pointer; font-size: .57rem; }
.action-alternates button:hover, .action-alternates button.selected { background: rgba(255,255,255,.14); color: white; }
.pulse-section { margin-top: 28px; }
.section-heading { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.pulse-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.pulse-stat { position: relative; display: grid; grid-template-columns: 24px 1fr; grid-template-rows: auto auto; column-gap: 6px; padding: 14px 0 12px; border-bottom: 1px solid var(--line); }
.stat-icon { grid-row: 1 / 3; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: rgba(24,122,85,.1); color: var(--green); font-size: .95rem; }
.pulse-stat small { color: var(--muted); font-size: .58rem; }
.pulse-stat strong { margin-top: 4px; font-size: .9rem; }
.pulse-stat em { position: absolute; right: 0; bottom: 12px; color: var(--green); font-size: .56rem; font-style: normal; font-weight: 800; }
.pulse-stat em.warning { color: var(--orange); }
.activity-section { margin-top: 23px; }
.advance-button { padding: 6px 8px; color: var(--green); background: transparent; }
.advance-button span { margin-left: 3px; }
.activity-feed { display: grid; gap: 10px; padding-top: 11px; }
.feed-item { display: grid; grid-template-columns: 7px 1fr auto; gap: 9px; align-items: start; color: var(--ink-soft); font-size: .65rem; line-height: 1.4; }
.feed-item i { width: 7px; height: 7px; margin-top: 5px; border-radius: 50%; background: var(--teal); }
.feed-item:first-child i { background: var(--gold); }
.feed-item time { color: var(--muted); font-size: .58rem; white-space: nowrap; }
.footer-bar { display: flex; justify-content: space-between; gap: 16px; padding: 13px clamp(18px, 4vw, 62px); border-top: 1px solid var(--line); color: var(--muted); font-size: .56rem; font-weight: 800; letter-spacing: .1em; }
.footer-bar a { color: var(--green); text-decoration: none; }
@media (max-width: 900px) { .main-grid { grid-template-columns: 1fr; max-width: 720px; } .council-panel { padding-top: 0; } .map-stage { min-height: min(64vw, 520px); } .season-note { display: none; } }
@media (max-width: 560px) { .topbar { gap: 12px; padding: 12px 15px; } .top-metrics { gap: 8px; } .top-metrics div { display: none; } .ghost-button { padding: 7px 8px; font-size: .6rem; } .main-grid { padding: 28px 15px 22px; } .map-heading { display: block; } .map-legend { display: flex; margin-top: 19px; } h1 { font-size: 2.7rem; } .map-stage { min-height: 410px; } .map-hint { display: none; } .footer-bar { flex-wrap: wrap; padding: 12px 15px; } .footer-bar span:nth-child(2) { display: none; } }
