:root {
  color-scheme: light;
  --navy: #102f48;
  --navy-deep: #082238;
  --ink: #203449;
  --muted: #617286;
  --copper: #ad7442;
  --copper-light: #f6ece2;
  --line: #dce5ea;
  --line-strong: #c7d5dc;
  --surface: #ffffff;
  --soft: #f6f9fa;
  --soft-blue: #edf4f7;
  --green: #237462;
  --green-soft: #e9f5f1;
  --amber: #956520;
  --amber-soft: #faf2e3;
  --shadow: 0 20px 60px rgba(12, 44, 65, .07);
  --font: "IBM Plex Sans Arabic", "Cairo", "Segoe UI", Tahoma, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.85; }
body.dialog-open { overflow: hidden; }
a { color: #145c82; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: #8c552a; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
button, a, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #bd814a; outline-offset: 3px; border-radius: 4px; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: -60px; right: 20px; padding: 9px 16px; color: white; background: var(--navy); border-radius: 0 0 8px 8px; }
.skip-link:focus { top: 0; }
.top-progress { position: fixed; z-index: 120; top: 0; right: 0; height: 3px; width: 0; background: var(--copper); transition: width .15s linear; }

.site-header { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; padding: 12px clamp(20px, 3vw, 46px); background: rgba(255,255,255,.96); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-symbol { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border: 1px solid #b88d68; border-radius: 11px; color: var(--navy); background: linear-gradient(145deg, #fff, #f8f1e9); font-size: 25px; font-weight: 700; line-height: 1; }
.brand-title { color: var(--navy); font-size: 16px; font-weight: 700; line-height: 1.25; }
.brand-subtitle { color: var(--muted); font-size: 11px; line-height: 1.5; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-text-link { color: var(--navy); text-decoration: none; font-size: 13px; font-weight: 700; }
.icon-button { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--navy); font-size: 28px; line-height: 1; transition: background .2s, border .2s, transform .2s; }
.icon-button:hover { background: var(--soft-blue); border-color: #a8c0cd; transform: translateY(-1px); }
.primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 20px; border: 1px solid var(--navy); border-radius: 11px; text-decoration: none; font-weight: 700; font-size: 14px; transition: transform .2s, box-shadow .2s, background .2s; }
.primary-button { background: var(--navy); color: #fff; }
.primary-button:hover { color: #fff; background: #164566; box-shadow: 0 8px 20px rgba(16,47,72,.17); transform: translateY(-2px); }
.secondary-button { color: var(--navy); background: #fff; }
.secondary-button:hover { color: var(--navy); background: var(--soft-blue); transform: translateY(-2px); }
.primary-button.compact { min-height: 42px; padding: 8px 15px; border-radius: 9px; font-size: 13px; }
.site-shell { display: grid; grid-template-columns: 222px minmax(0,1fr); min-height: calc(100vh - 76px); direction: rtl; }
.side-nav { position: sticky; top: 76px; height: calc(100vh - 76px); padding: 32px 15px 26px; overflow-y: auto; border-left: 1px solid var(--line); background: #fff; }
.side-label { padding: 0 12px 12px; color: var(--copper); font-size: 11px; font-weight: 700; letter-spacing: .03em; }
.side-nav a { display: flex; align-items: center; gap: 11px; min-height: 42px; margin: 3px 0; padding: 7px 11px; border-radius: 10px; color: #52657a; text-decoration: none; font-size: 13px; font-weight: 500; line-height: 1.4; transition: color .2s, background .2s; }
.side-nav a:hover { background: var(--soft); color: var(--navy); }
.side-nav a.active { background: var(--soft-blue); color: var(--navy); font-weight: 700; }
.nav-num { color: #acb8c0; font-size: 10px; direction: ltr; }
.side-nav a.active .nav-num { color: var(--copper); }
.side-note { margin: 30px 10px 0; padding: 14px 10px 0; border-top: 1px solid var(--line); color: #85929d; font-size: 10px; line-height: 1.7; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-left: 4px; border-radius: 50%; background: var(--green); }
main { min-width: 0; }
.section { max-width: 1480px; margin: 0 auto; padding: 90px clamp(28px, 5vw, 86px); scroll-margin-top: 76px; }
.soft-section { max-width: none; background: var(--soft); }
.soft-section > * { max-width: 1290px; margin-inline: auto; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 28px; }
.section-kicker, .eyebrow, .mini-label { display: block; color: var(--copper); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.section-heading h2 { max-width: 790px; margin: 10px 0 0; color: var(--navy); font-size: clamp(27px, 3vw, 42px); line-height: 1.4; letter-spacing: -.035em; }
.section-heading p { max-width: 340px; margin: 0; color: var(--muted); font-size: 14px; }
h3 { color: var(--navy); }
p { margin: 0 0 14px; }
.muted-small { color: var(--muted); font-size: 12px; }
.source-line { margin: 18px 0 0; color: var(--muted); font-size: 11px; }

.hero { padding-top: 66px; padding-bottom: 58px; }
.hero-rail { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.independent-badge { display: inline-flex; align-items: center; min-height: 28px; padding: 3px 10px; border: 1px solid #d9e1e5; border-radius: 20px; color: #718292; background: #f9fbfc; font-size: 10px; font-weight: 700; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(28px, 5vw, 80px); padding: 30px 0 35px; }
.hero-copy h1 { max-width: 830px; margin: 0 0 23px; color: var(--navy-deep); font-size: clamp(45px, 5.2vw, 78px); line-height: 1.2; letter-spacing: -.055em; }
.hero-copy h1 em { display: block; color: var(--copper); font-style: normal; }
.hero-lead { max-width: 700px; margin-bottom: 27px; color: #52677b; font-size: clamp(16px, 1.45vw, 19px); line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-visual { min-height: 390px; padding: 22px 26px; border: 1px solid #d3dfe5; border-radius: 22px; background: radial-gradient(circle at 50% 44%, #fff 0, #f7fafb 48%, #edf4f6 100%); box-shadow: var(--shadow); }
.visual-topline { display: flex; justify-content: space-between; gap: 6px; padding-bottom: 12px; border-bottom: 1px solid var(--line); color: #718392; font-size: 10px; font-weight: 700; }
.visual-core { position: relative; display: grid; place-items: center; min-height: 280px; }
.visual-core::before, .visual-core::after { content: ""; position: absolute; border: 1px solid #cbd9df; border-radius: 50%; }
.visual-core::before { width: 250px; height: 250px; }
.visual-core::after { width: 170px; height: 170px; border-color: #e0c8b2; }
.visual-center { position: relative; z-index: 2; display: grid; align-content: center; justify-items: center; width: 135px; height: 135px; border: 1px solid #ae794f; border-radius: 50%; color: #fff; background: var(--navy); text-align: center; font-size: 22px; font-weight: 700; line-height: 1.45; box-shadow: 0 16px 35px rgba(16,47,72,.18); }
.visual-center small { font-size: 8px; font-weight: 500; }
.visual-orbit { position: absolute; z-index: 3; display: grid; place-items: center; min-width: 88px; min-height: 28px; padding: 4px 9px; border: 1px solid #d5e2e6; border-radius: 30px; background: white; color: var(--navy); box-shadow: 0 5px 13px rgba(20,50,65,.06); font-size: 10px; font-weight: 700; }
.orbit-one { top: 2px; right: 36px; }.orbit-two { top: 75px; left: -6px; }.orbit-three { bottom: 20px; right: 10px; }.orbit-four { bottom: 37px; left: 24px; }
.visual-caption { padding-top: 12px; border-top: 1px solid var(--line); color: #718392; text-align: center; font-size: 11px; }
.insight-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: var(--line); }
.insight-strip > div { min-height: 88px; padding: 16px 19px; background: #fff; }
.insight-label { display: block; margin-bottom: 3px; color: #82919e; font-size: 10px; }
.insight-strip strong { color: var(--navy); font-size: 13px; line-height: 1.5; }
.explore-section { padding-top: 44px; padding-bottom: 75px; }
.explore-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.explore-card { display: flex; flex-direction: column; min-height: 250px; padding: 22px; border: 1px solid var(--line); border-radius: 15px; color: var(--ink); background: linear-gradient(145deg,#fff,#f7fafb); text-decoration: none; transition: transform .2s,border-color .2s,box-shadow .2s; }
.explore-card:hover { transform: translateY(-3px); border-color: #9ebbc7; box-shadow: var(--shadow); color: var(--ink); }
.explore-card:nth-child(2) { background: linear-gradient(145deg,#fff,#fbf7f2); }
.explore-card:nth-child(3) { background: linear-gradient(145deg,#fff,#f6faf8); }
.explore-card .explore-num { color: var(--copper); font-size: 10px; font-weight: 700; }
.explore-card h3 { margin: 19px 0 8px; font-size: 18px; }
.explore-card p { color: #607383; font-size: 12px; line-height: 1.75; }
.explore-card strong { margin-top: auto; padding-top: 15px; color: var(--navy); font-size: 11px; }
.explore-inline { margin-top: 16px; font-size: 13px; font-weight: 700; }

.mandate-grid, .card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.mandate-card, .law-card, .service-card, .product-card, .opportunity-card { position: relative; min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 15px; background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s; }
.mandate-card:hover, .law-card:hover, .service-card:hover, .product-card:hover, .opportunity-card:hover { border-color: #c4d6df; box-shadow: var(--shadow); transform: translateY(-2px); }
.card-icon { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 14px; border-radius: 10px; color: var(--copper); background: var(--copper-light); font-size: 16px; font-weight: 700; }
.mandate-card h3, .law-card h3, .service-card h3, .product-card h3, .opportunity-card h3 { margin: 0 0 8px; font-size: 16px; line-height: 1.5; }
.mandate-card p, .law-card p, .service-card p, .product-card p, .opportunity-card p { color: #5e7080; font-size: 13px; line-height: 1.75; }
.card-label { display: inline-block; margin-bottom: 7px; color: var(--copper); font-size: 10px; font-weight: 700; }
.card-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 17px; padding-top: 13px; border-top: 1px solid #eef2f3; }
.card-foot a { font-size: 11px; font-weight: 700; }
.evidence-tag { display: inline-flex; align-items: center; min-height: 23px; padding: 2px 8px; border-radius: 20px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.evidence-tag.legal { color: #1e6252; background: var(--green-soft); }
.evidence-tag.announced { color: #315e86; background: #e9f2f9; }
.evidence-tag.proposal { color: #8b5e25; background: var(--amber-soft); }
.evidence-tag.unknown { color: #687887; background: #edf1f3; }
.evidence-tag.signal { color: #8e5d3e; background: #f7eee9; }
.actor-panel { display: grid; grid-template-columns: 265px minmax(0,1fr); gap: 18px; margin-top: 28px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--soft); }
.actor-list { display: grid; align-content: start; gap: 6px; }
.actor-list button { min-height: 44px; padding: 9px 13px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: #516578; text-align: right; font-size: 12px; font-weight: 600; }
.actor-list button { display: flex; align-items: center; gap: 11px; line-height: 1.45; }
.actor-list button > span:last-child { min-width: 0; }
.actor-list button:hover, .actor-list button[aria-pressed="true"] { border-color: #c5dbe5; color: var(--navy); background: white; }
.actor-mark { display: grid; place-items: center; flex: none; width: 42px; height: 42px; padding: 5px; border: 1px solid #d9e4dd; border-radius: 12px; background: #fff; }
.actor-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.actor-mark .atlas-icon { width: 23px; height: 23px; }
.actor-mark--category { color: #006d67; background: #e7f3ed; border-color: #c8dfd2; }
.actor-mark--large { width: 70px; height: 70px; padding: 8px; border-radius: 17px; }
.actor-mark--wide { width: 66px; }
.actor-mark--large.actor-mark--wide { width: 104px; }
.actor-mark--large .atlas-icon { width: 34px; height: 34px; }
.actor-heading { display: flex; align-items: center; gap: 15px; }
.actor-heading h3 { margin-bottom: 0; }
.actor-media-context { margin: 12px 0 17px; padding: 10px 13px; border-right: 3px solid #a98445; border-radius: 8px; color: #5d6e68; background: #f7faf7; font-size: 11px; line-height: 1.7; }
.actor-media-context a { margin-inline-start: 5px; font-weight: 700; white-space: nowrap; }
.actor-detail { min-height: 282px; padding: 24px 28px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.actor-detail h3 { margin: 2px 0 15px; font-size: 22px; }
.actor-detail .relationship-line { display: grid; grid-template-columns: 120px 1fr; gap: 11px; padding: 9px 0; border-bottom: 1px solid #eef2f3; font-size: 13px; }
.relationship-line span:first-child { color: var(--muted); }
.actor-detail .source-links { margin-top: 15px; }
.source-links { display: flex; flex-wrap: wrap; gap: 6px 10px; }
.source-links a { color: #145c82; font-size: 10px; font-weight: 700; }
.institution-facts { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin-top: 23px; }
.institution-facts > div { padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: #fbfcfc; }
.institution-facts span { display: block; margin-bottom: 5px; color: var(--copper); font-size: 10px; font-weight: 700; }
.institution-facts strong { display: block; color: var(--navy); font-size: 15px; line-height: 1.45; }
.institution-facts p { margin: 7px 0 0; color: #6e7f8c; font-size: 10px; line-height: 1.7; }
.institution-facts a { white-space: nowrap; font-size: 10px; }
.legislative-flow { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 9px; }
.legislative-card { padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.legislative-card .flow-num { color: var(--copper); font-size: 10px; font-weight: 700; }
.legislative-card h4 { margin: 5px 0 8px; color: var(--navy); font-size: 13px; line-height: 1.5; }
.legislative-card p { margin: 0; color: #6b7c89; font-size: 10px; line-height: 1.65; }

.journey-layout { display: grid; grid-template-columns: 305px minmax(0,1fr); align-items: start; gap: 20px; }
.journey-steps { display: grid; gap: 6px; max-height: 584px; padding-left: 8px; overflow-y: auto; }
.journey-steps button { display: flex; align-items: center; gap: 11px; min-height: 49px; padding: 8px 10px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: #526679; text-align: right; font-size: 13px; font-weight: 600; }
.journey-steps button:hover { background: #fff; }
.journey-steps button[aria-selected="true"] { border-color: #cedee5; background: #fff; color: var(--navy); box-shadow: 0 5px 18px rgba(14,45,65,.05); }
.journey-steps .step-number { display: grid; place-items: center; flex: none; width: 29px; height: 29px; border: 1px solid #c7d6dc; border-radius: 9px; color: var(--muted); font-size: 11px; direction: ltr; }
.journey-steps button[aria-selected="true"] .step-number { border-color: var(--navy); color: #fff; background: var(--navy); }
.journey-detail { min-height: 555px; padding: clamp(22px, 3vw, 37px); border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 15px 40px rgba(11,42,61,.04); }
.journey-detail .stage-index { color: var(--copper); font-size: 11px; font-weight: 700; }
.journey-detail h3 { margin: 5px 0 20px; font-size: 31px; line-height: 1.35; }
.journey-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.detail-cell { min-height: 106px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 11px; background: #fbfcfd; }
.detail-cell span { display: block; margin-bottom: 5px; color: #7c8a96; font-size: 11px; font-weight: 700; }
.detail-cell p { margin: 0; color: var(--ink); font-size: 13px; }
.detail-cell.wide { grid-column: 1 / -1; }
.journey-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.step-controls { display: flex; gap: 6px; }
.step-controls button { min-width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 9px; background: white; color: var(--navy); font-size: 17px; }
.step-controls button:hover:not(:disabled) { background: var(--soft-blue); }
.learning-note { margin-top: 24px; padding: 15px 20px; border-right: 3px solid var(--copper); border-radius: 7px 0 0 7px; background: #fff8f1; color: #5f6670; font-size: 12px; line-height: 1.85; }
.learning-note strong { color: var(--navy); }

.filter-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin: 25px 0 14px; }
.search-field { display: flex; align-items: center; gap: 9px; min-width: min(100%, 370px); min-height: 44px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 10px; background: white; color: #7b8c98; }
.search-field:focus-within { border-color: var(--copper); box-shadow: 0 0 0 3px rgba(173,116,66,.12); }
.search-field svg { flex: none; width: 17px; height: 17px; }
.search-field input { min-width: 0; width: 100%; height: 42px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 13px; }
.search-field input::placeholder { color: #8b9aa5; }
.segmented { display: flex; flex-wrap: wrap; gap: 5px; }
.segmented button, .audience-tabs button { min-height: 39px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: #5b6d7d; font-size: 12px; font-weight: 700; }
.segmented button:hover, .audience-tabs button:hover { background: var(--soft-blue); color: var(--navy); }
.segmented button[aria-pressed="true"], .audience-tabs button[aria-selected="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }
.results-meta { min-height: 25px; margin-bottom: 12px; color: #7a8b99; font-size: 11px; }
.law-card { display: flex; flex-direction: column; }
.law-card p { margin-bottom: 10px; }
.law-card .card-foot { margin-top: auto; }
.law-card .implication { padding-top: 10px; border-top: 1px solid #edf0f2; color: var(--navy); }
.audience-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 15px; }
.audience-tabs button { min-height: 44px; padding: 9px 17px; font-size: 13px; }
.audience-summary { margin-bottom: 19px; padding: 19px 23px; border: 1px solid #cddce3; border-radius: 12px; background: #fff; color: #52697d; font-size: 14px; }
.audience-summary strong { color: var(--navy); }
.service-card .service-status { margin-bottom: 10px; }

.verdict-card { display: grid; grid-template-columns: 48px 1fr; gap: 19px; margin: 30px 0 45px; padding: 26px 31px; border: 1px solid #b8ccd6; border-radius: 18px; background: linear-gradient(112deg, #f7fbfc, #fff 65%); }
.verdict-icon { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 13px; background: var(--navy); color: white; font-size: 23px; }
.verdict-card h3 { max-width: 880px; margin: 5px 0 9px; font-size: clamp(19px, 2vw, 25px); line-height: 1.5; }
.verdict-card p { max-width: 920px; margin: 0; color: #627586; font-size: 13px; }
.subsection-title { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin: 38px 0 15px; }
.subsection-title h3 { margin: 0; font-size: 20px; }
.subsection-title span { color: #83929f; font-size: 11px; }
.dga-timeline { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.dga-card { min-height: 147px; padding: 17px 19px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.dga-card .year { display: block; margin-bottom: 10px; color: var(--copper); font-size: 11px; font-weight: 700; direction: ltr; text-align: right; }
.dga-card strong { display: block; margin-bottom: 2px; color: var(--navy); font-size: 23px; line-height: 1.3; }
.dga-card .stage { display: block; color: #526879; font-size: 12px; }
.dga-card small { display: block; margin-top: 9px; color: #83939e; font-size: 10px; }
.dga-card a { font-size: 10px; }
.product-card { min-height: 203px; }
.product-card summary { list-style: none; cursor: pointer; }
.product-card summary::-webkit-details-marker { display: none; }
.product-card summary::after { content: "+"; float: left; color: var(--copper); font-size: 21px; line-height: 1; }
.product-card[open] summary::after { content: "−"; }
.product-card .expanded { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); color: #5a6c7b; font-size: 12px; }
.milestone-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
.milestone { display: grid; grid-template-columns: 72px 1fr; gap: 15px; padding: 16px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.milestone .date { color: var(--copper); font-size: 11px; font-weight: 700; direction: ltr; text-align: right; }
.milestone strong { display: block; color: var(--navy); font-size: 13px; }
.milestone p { margin: 3px 0 5px; color: #71818e; font-size: 10px; }
.scorecard { border: 1px solid var(--line); border-radius: 15px; overflow: hidden; }
.score-row { display: grid; grid-template-columns: 185px 1fr 1fr; gap: 22px; padding: 17px 21px; border-bottom: 1px solid var(--line); background: #fff; font-size: 12px; line-height: 1.7; }
.score-row:nth-child(even) { background: #fafcfc; }
.score-row:last-child { border-bottom: 0; }
.score-row .axis { color: var(--navy); font-weight: 700; font-size: 13px; }
.score-row span { color: #657686; }
.score-row .unknown { color: #8a6740; }

.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.metric-card { min-height: 206px; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.metric-card .metric-name { color: #657787; font-size: 12px; font-weight: 700; }
.metric-card strong { display: block; margin: 11px 0 4px; color: var(--navy); font-size: clamp(24px, 2.6vw, 38px); font-weight: 700; line-height: 1.3; direction: ltr; text-align: right; }
.metric-card p { margin: 0; color: #728391; font-size: 11px; line-height: 1.75; }
.metric-card .card-foot { margin-top: 12px; padding-top: 10px; }
.two-column { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; margin-top: 22px; }
.panel { padding: 24px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 15px; }
.panel-heading h3 { margin: 0; font-size: 18px; }
.signal-item, .kpi-item { padding: 12px 0; border-bottom: 1px solid #edf1f2; }
.signal-item:last-child, .kpi-item:last-child { border-bottom: 0; }
.signal-item strong, .kpi-item strong { display: block; color: var(--navy); font-size: 13px; }
.signal-item p, .kpi-item p { margin: 2px 0; color: #697b89; font-size: 11px; }
.signal-item a { font-size: 10px; }

.role-banner { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 20px; padding: 24px 28px; border: 1px solid #c9d9df; border-radius: 15px; background: linear-gradient(115deg, #f8fbfc, #fff); }
.role-banner h3 { margin: 4px 0 7px; font-size: 20px; }
.role-banner p { max-width: 920px; margin: 0; color: #647786; font-size: 12px; }
.role-banner .role-chips { display: flex; flex-wrap: wrap; gap: 6px; max-width: 230px; }
.role-chips span { padding: 4px 9px; border-radius: 20px; background: var(--soft-blue); color: #396780; font-size: 10px; font-weight: 700; }
.opportunity-card .value-line { margin: 13px 0; color: #536b7d; font-size: 12px; }
.opportunity-card .value-line strong { color: var(--navy); }
.roadmap { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.roadmap-card { position: relative; min-height: 200px; padding: 20px; border: 1px solid var(--line); border-top: 3px solid var(--copper); border-radius: 10px; background: #fff; }
.roadmap-card .period { display: block; color: var(--copper); font-size: 11px; font-weight: 700; }
.roadmap-card h4 { margin: 7px 0; color: var(--navy); font-size: 16px; }
.roadmap-card p, .roadmap-card li { color: #657887; font-size: 11px; }
.roadmap-card ul { margin: 5px 0 0; padding-right: 18px; }

.library-section { padding-bottom: 75px; }
.library-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 13px; }
.library-card { display: flex; flex-direction: column; min-height: 245px; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.library-card:hover { color: inherit; transform: translateY(-2px); box-shadow: var(--shadow); }
.library-card.featured { border-color: #b6cbd6; background: var(--soft-blue); }
.library-card span { color: var(--copper); font-size: 10px; font-weight: 700; }
.library-card strong { display: block; margin: 11px 0 7px; color: var(--navy); font-size: 17px; line-height: 1.45; }
.library-card p { color: #6b7d8a; font-size: 11px; line-height: 1.7; }
.library-card b { margin-top: auto; color: #195a7c; font-size: 11px; }
.method-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; margin-top: 28px; }
.method-grid > div { padding-top: 15px; border-top: 1px solid var(--line); }
.method-grid p { margin: 8px 0 0; color: #72818e; font-size: 11px; line-height: 1.7; }
.site-footer { display: flex; align-items: start; justify-content: space-between; gap: 20px; max-width: 1480px; margin: auto; padding: 24px clamp(28px, 5vw, 86px) 35px; border-top: 1px solid var(--line); color: #80909c; font-size: 11px; }
.site-footer strong { color: var(--navy); font-size: 13px; }
.site-footer p { margin: 2px 0 0; }

.search-dialog { box-sizing: border-box; width: min(720px, calc(100vw - 30px)); max-width: calc(100vw - 30px); max-height: min(680px, calc(100vh - 40px)); padding: 0; overflow-x: hidden; border: 1px solid #d1dde2; border-radius: 18px; background: white; box-shadow: 0 25px 90px rgba(10,35,53,.2); }
.search-dialog::backdrop { background: rgba(7,30,47,.45); backdrop-filter: blur(3px); }
.dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 12px; padding: 24px 26px 8px; }
.dialog-head h2 { margin: 3px 0 0; color: var(--navy); font-size: 23px; }
.search-dialog .search-field.large { box-sizing: border-box; width: calc(100% - 52px); min-width: 0; margin: 10px 26px 15px; min-height: 50px; }
.search-dialog .search-field input { height: 48px; font-size: 15px; }
.global-results { max-height: 435px; padding: 0 26px 23px; overflow-y: auto; }
.search-result { display: block; padding: 11px 8px; border-bottom: 1px solid var(--line); text-decoration: none; }
.search-result:hover { background: var(--soft); }
.search-result span { color: #745724; font-size: 12px; }
.search-result strong { display: block; color: var(--navy); font-size: 14px; }
.search-result p { margin: 2px 0 0; color: #526b69; font-size: 13px; line-height: 1.7; }
.empty-state { padding: 24px; border: 1px dashed var(--line-strong); border-radius: 11px; color: #7e8d9a; text-align: center; font-size: 13px; }
.toast { position: fixed; z-index: 200; bottom: 22px; left: 22px; padding: 10px 16px; border-radius: 9px; background: var(--navy); color: #fff; font-size: 12px; box-shadow: var(--shadow); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 1200px) {
  .explore-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .site-shell { grid-template-columns: 190px minmax(0,1fr); }
  .side-nav a { font-size: 12px; }
  .section { padding-inline: clamp(25px, 4vw, 55px); }
  .hero-grid { gap: 26px; }
  .hero-copy h1 { font-size: clamp(42px, 5vw, 60px); }
  .mandate-grid, .law-grid, .services-grid, .product-grid, .opportunity-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .library-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .site-header { min-height: 68px; padding: 9px 19px; }
  .site-shell { display: block; }
  .side-nav { position: sticky; top: 68px; z-index: 80; display: flex; align-items: center; gap: 3px; height: auto; min-height: 51px; padding: 5px 13px; overflow-x: auto; overflow-y: hidden; border-left: 0; border-bottom: 1px solid var(--line); white-space: nowrap; scrollbar-width: thin; }
  .side-nav a { flex: none; min-height: 37px; margin: 0; padding: 6px 10px; font-size: 11px; }
  .side-label, .side-note, .nav-num { display: none; }
  .section { padding: 70px 26px; scroll-margin-top: 120px; }
  .hero { padding-top: 45px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 650px; }
  .section-heading { align-items: start; }
  .dga-timeline, .metric-grid, .roadmap { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .institution-facts, .legislative-flow { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .score-row { grid-template-columns: 135px 1fr 1fr; gap: 12px; }
  .method-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 650px) {
  .search-dialog { max-height: calc(100dvh - 24px); }
  .dialog-head { padding: 18px 18px 6px; }
  .search-dialog .search-field.large { width: calc(100% - 36px); margin: 9px 18px 14px; }
  .global-results { padding-inline: 18px; }
  .explore-grid { grid-template-columns: 1fr; }
  .explore-card { min-height: 190px; }
  body { font-size: 15px; }
  .brand-title { font-size: 14px; }
  .brand-subtitle { font-size: 10px; }
  .brand-symbol { width: 37px; height: 37px; flex-basis: 37px; font-size: 23px; }
  .header-actions { gap: 7px; }
  .header-text-link { display: none; }
  .header-actions .primary-button.compact { min-height: 38px; padding: 6px 9px; font-size: 11px; }
  .icon-button { width: 39px; height: 39px; }
  .section { padding: 58px 19px; }
  .hero { padding-top: 36px; }
  .hero-copy h1 { font-size: clamp(39px, 10vw, 57px); }
  .hero-lead { font-size: 15px; }
  .hero-visual { min-height: 365px; }
  .visual-core::before { width: 230px; height: 230px; }
  .visual-core::after { width: 160px; height: 160px; }
  .insight-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .insight-strip > div { min-height: 81px; padding: 13px; }
  .section-heading { display: block; margin-bottom: 20px; }
  .section-heading h2 { font-size: 27px; }
  .section-heading p { max-width: none; margin-top: 11px; font-size: 12px; }
  .mandate-grid, .card-grid, .law-grid, .services-grid, .product-grid, .opportunity-grid, .library-grid, .two-column, .roadmap, .milestone-list { grid-template-columns: 1fr; }
  .actor-panel, .journey-layout { grid-template-columns: 1fr; }
  .actor-panel { padding: 10px; }
  .actor-list { display: flex; overflow-x: auto; }
  .actor-list button { flex: none; white-space: nowrap; }
  .actor-list button { gap: 8px; padding: 5px 10px; }
  .actor-list .actor-mark { width: 40px; height: 40px; padding: 4px; border-radius: 9px; }
  .actor-list .actor-mark--wide { width: 62px; }
  .actor-heading .actor-mark { width: 68px; height: 68px; }
  .actor-heading .actor-mark--wide { width: 98px; }
  .actor-detail { min-height: 0; padding: 19px; }
  .actor-detail .relationship-line { grid-template-columns: 1fr; gap: 1px; }
  .institution-facts, .legislative-flow { grid-template-columns: 1fr; }
  .journey-steps { display: flex; max-height: none; padding: 1px 0 7px; overflow-x: auto; overflow-y: hidden; }
  .journey-steps button { flex: none; min-height: 43px; white-space: nowrap; font-size: 11px; }
  .journey-detail { min-height: 0; padding: 20px; }
  .journey-detail h3 { font-size: 24px; }
  .journey-detail-grid { grid-template-columns: 1fr; }
  .detail-cell.wide { grid-column: auto; }
  .filter-bar { display: block; }
  .search-field { width: 100%; }
  .segmented { margin-top: 10px; }
  .segmented button { font-size: 11px; }
  .audience-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
  .audience-tabs button { flex: none; }
  .verdict-card { grid-template-columns: 1fr; padding: 21px; }
  .dga-timeline, .metric-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .dga-card { padding: 14px; }
  .dga-card strong { font-size: 19px; }
  .score-row { grid-template-columns: 1fr; gap: 6px; padding: 15px; }
  .role-banner { grid-template-columns: 1fr; }
  .role-banner .role-chips { max-width: none; }
  .site-footer { display: block; padding-inline: 19px; }
  .site-footer > div + div { margin-top: 9px; }
}
@media (max-width: 380px) {
  .brand-subtitle { display: none; }
  .hero-visual { padding-inline: 11px; }
  .visual-orbit { font-size: 9px; min-width: 75px; }
  .orbit-one { right: 7px; }.orbit-two { left: 0; }.orbit-three { right: 0; }.orbit-four { left: 8px; }
  .metric-grid { grid-template-columns: 1fr; }
  .hero-actions > a { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
