:root {
  --ink: #17232a;
  --muted: #6d7d83;
  --paper: #f5f7f5;
  --panel: #ffffff;
  --line: #dce5e3;
  --teal: #167b73;
  --teal-dark: #0f5e59;
  --teal-soft: #e7f3f0;
  --coral: #db725e;
  --coral-soft: #fff0eb;
  --amber: #c18b38;
  --amber-soft: #fff7e8;
  --navy: #172d3c;
  --shadow: 0 14px 36px rgba(31, 55, 59, .07);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--paper); }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.skip-link { position: absolute; left: 16px; top: -80px; background: var(--navy); color: white; padding: 10px 14px; border-radius: 0 0 8px 8px; z-index: 5; }
.skip-link:focus { top: 0; }

.topbar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px clamp(20px, 5vw, 72px); background: var(--navy); color: white; }
.brand-lockup, .topbar-actions, .hero-meta, .detail-actions, .filter-row { display: flex; align-items: center; }
.brand-lockup { gap: 12px; }
.brand-mark { width: 28px; height: 28px; display: flex; align-items: end; gap: 3px; }
.brand-mark span { width: 6px; background: #70c7b7; border-radius: 3px 3px 1px 1px; }
.brand-mark span:nth-child(1) { height: 12px; opacity: .65; }.brand-mark span:nth-child(2) { height: 22px; }.brand-mark span:nth-child(3) { height: 17px; opacity: .82; }
.eyebrow { margin: 0 0 7px; color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.topbar .eyebrow { color: #99b5b8; margin-bottom: 2px; }.brand-name { margin: 0; font-size: .98rem; font-weight: 750; letter-spacing: -.01em; }
.topbar-actions { gap: 18px; }.fixture-pill { color: #b9d8d3; font-size: .74rem; }.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #6dd4ae; box-shadow: 0 0 0 3px rgba(109, 212, 174, .12); }
.button { border: 0; border-radius: 7px; padding: 10px 14px; font-weight: 760; font-size: .76rem; transition: transform .18s ease, background .18s ease, color .18s ease; }.button:hover { transform: translateY(-1px); }.button:focus-visible, .filter-chip:focus-visible, .text-button:focus-visible { outline: 3px solid #8edbcf; outline-offset: 2px; }
.button-quiet { color: white; border: 1px solid #54717b; background: transparent; }.button-quiet:hover { background: rgba(255,255,255,.08); }.button-primary { color: white; background: var(--teal); }.button-primary:hover { background: var(--teal-dark); }.button-secondary { color: var(--teal-dark); background: var(--teal-soft); }.button-secondary:hover { background: #d6ebe6; }.full-width { width: 100%; }

.page-shell { width: min(1440px, 100%); margin: 0 auto; padding: 0 clamp(20px, 5vw, 72px) 48px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr); gap: 50px; align-items: end; padding: 58px 0 44px; }.hero h1 { max-width: 760px; margin: 0 0 18px; color: var(--navy); font-family: Georgia, serif; font-size: clamp(2.55rem, 5vw, 4.7rem); font-weight: 500; letter-spacing: -.055em; line-height: .99; }.hero-lede { max-width: 650px; margin: 0; color: #506167; font-size: 1.08rem; line-height: 1.58; }.accent { color: var(--teal); }.hero-meta { flex-wrap: wrap; gap: 12px 28px; margin-top: 28px; color: #587076; font-size: .78rem; }.hero-meta strong { display: block; margin-bottom: 3px; color: var(--navy); font-size: .67rem; letter-spacing: .08em; text-transform: uppercase; }
.hero-note { display: flex; gap: 13px; align-items: flex-start; padding: 19px; border: 1px solid #beddd8; border-radius: 10px; background: var(--teal-soft); color: #496568; font-size: .78rem; line-height: 1.5; }.note-icon { flex: 0 0 auto; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--teal); color: white; font-weight: 850; }.hero-note p { margin: 0; }.hero-note .note-title { margin-bottom: 6px; color: var(--teal-dark); font-weight: 800; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin-bottom: 26px; }.metric-card { min-height: 126px; padding: 19px 20px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); box-shadow: var(--shadow); }.metric-card-highlight { border-color: #efc6ba; background: #fffaf8; }.metric-label { color: var(--muted); font-size: .7rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }.metric-value { margin: 12px 0 11px; color: var(--navy); font-family: Georgia, serif; font-size: 2.15rem; line-height: .8; }.metric-foot { display: flex; align-items: center; gap: 8px; color: #718187; font-size: .7rem; }.tiny-bar { width: 28px; height: 4px; border-radius: 4px; background: var(--teal); }.tiny-bar.coral { background: var(--coral); }.tiny-bar.amber { background: var(--amber); }.tiny-bar.blue { background: #5a93b4; }

.workspace { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 18px; align-items: start; }.panel { border: 1px solid var(--line); border-radius: 10px; background: var(--panel); box-shadow: var(--shadow); }.side-panel { position: sticky; top: 18px; overflow: hidden; }.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 22px 17px; }.panel h2 { margin: 0; color: var(--navy); font-size: 1.17rem; letter-spacing: -.02em; }.count-badge { padding: 5px 8px; border-radius: 999px; background: var(--navy); color: white; font-size: .68rem; font-weight: 800; }.search-label, .note-label { display: block; margin: 0 22px 7px; color: #52676d; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }.search-wrap { display: flex; align-items: center; gap: 8px; margin: 0 22px 14px; padding: 0 10px; border: 1px solid var(--line); border-radius: 6px; color: #89a0a4; }.search-wrap input { width: 100%; height: 36px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: .78rem; }.filter-row { gap: 6px; padding: 0 22px 15px; }.filter-chip { border: 1px solid var(--line); border-radius: 999px; padding: 7px 9px; background: white; color: #6d7d83; font-size: .68rem; font-weight: 750; }.filter-chip.active { border-color: var(--teal); background: var(--teal-soft); color: var(--teal-dark); }.area-list { border-top: 1px solid #edf1f0; }.area-item { display: block; width: 100%; padding: 16px 22px; border: 0; border-bottom: 1px solid #edf1f0; background: white; text-align: left; color: var(--ink); }.area-item:hover { background: #f7fbfa; }.area-item.selected { padding-left: 19px; border-left: 3px solid var(--teal); background: #f1f8f6; }.area-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; }.area-name { font-size: .82rem; font-weight: 800; }.area-code { margin-top: 4px; color: #8a999d; font-size: .68rem; }.area-score { color: var(--coral); font-family: Georgia, serif; font-size: 1.25rem; }.area-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }.mini-tag { padding: 4px 6px; border-radius: 4px; color: #617175; background: #f1f4f3; font-size: .61rem; font-weight: 750; }.mini-tag.priority { color: #aa5544; background: var(--coral-soft); }.sidebar-footnote { padding: 16px 22px; color: #89979a; font-size: .68rem; line-height: 1.45; }.legend-dot { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: var(--coral); }

.detail-column { min-width: 0; }.detail-panel { padding: 25px; }.detail-header { display: flex; justify-content: space-between; gap: 26px; align-items: flex-start; }.detail-header h2 { font-size: 1.75rem; }.subhead { max-width: 630px; margin: 8px 0 0; color: #6c7b80; font-size: .88rem; line-height: 1.45; }.detail-actions { flex-direction: column; align-items: flex-end; gap: 14px; }.confidence-badge, .workflow-status { padding: 6px 9px; border-radius: 5px; font-size: .66rem; font-weight: 850; }.confidence-badge.medium { color: #96621e; background: var(--amber-soft); }.confidence-badge.high { color: var(--teal-dark); background: var(--teal-soft); }.confidence-badge.low { color: #a85443; background: var(--coral-soft); }
.signal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 28px; }.signal-card { padding: 15px; border: 1px solid var(--line); border-radius: 7px; background: #fbfcfb; }.signal-card-top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }.signal-label { color: #6f8083; font-size: .68rem; font-weight: 750; line-height: 1.2; }.signal-value { margin: 11px 0 5px; color: var(--navy); font-family: Georgia, serif; font-size: 1.75rem; }.signal-context { color: #819094; font-size: .67rem; line-height: 1.3; }.signal-direction { font-size: .85rem; font-weight: 800; }.up { color: var(--coral); }.down { color: var(--teal); }.flat { color: var(--amber); }.signal-bar { height: 5px; margin-top: 13px; overflow: hidden; border-radius: 5px; background: #e8eeec; }.signal-bar span { display: block; height: 100%; border-radius: inherit; background: var(--teal); }.signal-card.need .signal-bar span, .signal-card.funding .signal-bar span { background: var(--coral); }.signal-card.supply .signal-bar span { background: var(--teal); }.signal-card.reach .signal-bar span { background: var(--amber); }
.insight-strip { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 16px; border-radius: 7px; background: var(--navy); color: #d2e3e2; }.insight-icon { display: grid; place-items: center; flex: 0 0 auto; width: 25px; height: 25px; border-radius: 5px; background: #31545c; color: #8fdbcc; font-size: 1rem; font-weight: 850; }.insight-strip strong { color: white; font-size: .8rem; }.insight-strip p { margin: 5px 0 0; font-size: .76rem; line-height: 1.45; }
.lower-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(280px, .82fr); gap: 18px; margin-top: 18px; }.evidence-panel, .workflow-panel { min-width: 0; }.source-count { color: #75878a; font-size: .69rem; font-weight: 750; }.evidence-list { padding: 0 22px; }.evidence-item { display: grid; grid-template-columns: 9px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 15px 0; border-top: 1px solid #edf1f0; }.evidence-marker { width: 9px; height: 9px; margin-top: 4px; border-radius: 2px; background: var(--teal); }.evidence-marker.coral { background: var(--coral); }.evidence-marker.amber { background: var(--amber); }.evidence-item strong { display: block; color: var(--navy); font-size: .76rem; line-height: 1.35; }.evidence-item p { margin: 5px 0 0; color: #78888b; font-size: .7rem; line-height: 1.45; }.evidence-state { color: var(--teal); font-size: .62rem; font-weight: 850; white-space: nowrap; }.evidence-state.caveat { color: var(--amber); }.method-note { margin: 0; padding: 16px 22px 20px; color: #88979a; font-size: .67rem; line-height: 1.5; }
.workflow-status { color: #8b6a2c; background: var(--amber-soft); }.workflow-status.started { color: var(--teal-dark); background: var(--teal-soft); }.workflow-intro { padding: 0 22px; margin: -2px 0 16px; color: #718184; font-size: .75rem; line-height: 1.45; }.checklist { padding: 0 22px; }.check-row { display: flex; gap: 9px; align-items: flex-start; padding: 9px 0; color: #506269; font-size: .73rem; line-height: 1.35; cursor: pointer; }.check-row input { flex: 0 0 auto; width: 16px; height: 16px; margin: 0; accent-color: var(--teal); }.check-row input:checked + span { color: #91a0a2; text-decoration: line-through; }.note-label { margin-top: 14px; }.workflow-panel textarea { display: block; width: calc(100% - 44px); resize: vertical; margin: 0 22px 12px; padding: 10px; border: 1px solid var(--line); border-radius: 6px; outline-color: var(--teal); color: var(--ink); font-size: .73rem; line-height: 1.4; }.workflow-panel .button { margin: 0 22px; width: calc(100% - 44px); }.saved-note { margin: 10px 22px 0; color: var(--teal); font-size: .68rem; }.saved-note[hidden] { display: none; }
.methodology-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 34px; margin-top: 18px; padding: 24px; background: #edf3f0; box-shadow: none; }.methodology-copy h2 { font-family: Georgia, serif; font-size: 1.65rem; font-weight: 500; }.methodology-copy p:last-child { max-width: 570px; margin-bottom: 0; color: #607276; font-size: .77rem; line-height: 1.55; }.methodology-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; align-items: start; }.methodology-points div { padding-left: 13px; border-left: 2px solid #b7d8cf; }.methodology-points span { color: var(--teal); font-size: .65rem; font-weight: 850; }.methodology-points strong { display: block; margin-top: 10px; color: var(--navy); font-size: .76rem; }.methodology-points p { margin: 6px 0 0; color: #768689; font-size: .68rem; line-height: 1.4; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 22px clamp(20px, 5vw, 72px) 30px; color: #8b999c; font-size: .68rem; }.site-footer strong { color: var(--navy); }.text-button { padding: 0; border: 0; background: transparent; color: var(--teal); font-size: inherit; font-weight: 750; text-decoration: underline; }
.empty-state { padding: 25px 22px; color: #829194; font-size: .75rem; }

@media (max-width: 1000px) { .hero { grid-template-columns: 1fr; gap: 24px; }.hero-note { max-width: 620px; }.workspace { grid-template-columns: 240px minmax(0, 1fr); }.lower-grid { grid-template-columns: 1fr; }.methodology-panel { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .topbar { align-items: flex-start; flex-direction: column; }.topbar-actions { width: 100%; justify-content: space-between; }.metric-grid { grid-template-columns: repeat(2, 1fr); }.workspace { grid-template-columns: 1fr; }.side-panel { position: static; }.area-list { display: grid; grid-template-columns: repeat(3, 1fr); }.area-item { border-right: 1px solid #edf1f0; }.detail-header { flex-direction: column; }.detail-actions { flex-direction: row; align-items: center; flex-wrap: wrap; }.signal-grid { grid-template-columns: repeat(2, 1fr); }.methodology-points { grid-template-columns: 1fr; gap: 18px; }.site-footer { flex-direction: column; } }
@media (max-width: 500px) { .page-shell { padding-inline: 14px; }.hero { padding-top: 40px; }.hero h1 { font-size: 2.65rem; }.metric-grid { gap: 8px; }.metric-card { padding: 15px 13px; }.metric-value { font-size: 1.8rem; }.area-list { display: block; }.area-item { border-right: 0; }.detail-panel { padding: 18px; }.signal-grid { gap: 7px; }.signal-card { padding: 12px; }.signal-value { font-size: 1.5rem; }.evidence-item { grid-template-columns: 9px minmax(0, 1fr); }.evidence-state { grid-column: 2; }.methodology-panel { padding: 19px; } }

@media print { .topbar-actions, .side-panel, .workflow-panel, .site-footer, .button, .filter-row, .search-wrap { display: none !important; }.page-shell { padding: 0; }.hero { padding-top: 20px; }.workspace { display: block; }.detail-panel, .evidence-panel, .methodology-panel { box-shadow: none; break-inside: avoid; margin-bottom: 16px; }.lower-grid { display: block; }.methodology-panel { margin-top: 16px; } }
