/* Warm white and orange reading palette. The dark option remains available. */
.national-issues-entry{display:grid;grid-template-columns:1.2fr 1fr;gap:28px;align-items:center;margin:30px 0 45px;padding:30px;border:1px solid var(--line-2);border-radius:22px;background:radial-gradient(circle at 0 0,color-mix(in srgb,var(--orange) 12%,transparent),transparent 60%),var(--surface)}.national-issues-intro h2{font-size:27px;margin:6px 0 8px;font-weight:900}.national-issues-intro p{color:var(--muted);font-size:12px;line-height:2;margin:0 0 20px;max-width:420px}.national-issues-examples{display:grid;gap:10px}.national-issues-examples a{display:flex;align-items:center;gap:13px;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text);text-decoration:none;transition:transform .2s,border-color .2s}.national-issues-examples a:hover{transform:translateX(-3px);border-color:var(--orange)}.national-issues-examples a>span{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:color-mix(in srgb,var(--orange) 12%,var(--surface));color:var(--green)}.national-issues-examples b{font-size:13px;font-weight:700}.national-issues-examples a>svg{margin-inline-start:auto;width:16px;color:var(--green)}.national-issues-examples span svg{width:20px;height:20px}@media(max-width:720px){.national-issues-entry{grid-template-columns:1fr;padding:22px;gap:22px}.national-issues-intro h2{font-size:24px}}@media(prefers-reduced-motion:reduce){.national-issues-examples a{transition:none}}
:root[data-theme=light]{
  --bg:#fffaf6;--sidebar:#fff;--surface:#fff;--surface-2:#fff6ee;--surface-3:#ffe9d8;
  --line:#ead8cb;--line-2:#d9bba5;--text:#30231b;--muted:#6c594c;--dim:#8a7262;
  --green:#ba541b;--lime:#d66525;--cyan:#a66e4d;--blue:#b98260;--amber:#e9983d;
  --orange:#e87329;--pink:#a86152;--accent-fill:#ff9f52;--accent-ink:#2a1c13;
  --focus:#d45d1a;--hero:#fff3e8;--heat-rgb:232,115,41;
  --viz-glow:#e873291a;--viz-grid:#c77a4523;--shadow:0 12px 32px #9a59201a;
}

[data-theme=light] body,[data-theme=light] .sector-page{background:#fffaf6;color:var(--text)}
[data-theme=light] .topbar,[data-theme=light] .sp-header{background:#fffdfaf2;border-color:#ecd9c9}
[data-theme=light] #sidebar{
  color-scheme:light;background:#fff;color:#30231b;border-color:#ecd9c9;
  --text:#30231b;--muted:#6c594c;--dim:#8a7262;--line:#ead8cb;--line-2:#d9bba5;
  --surface:#fff;--surface-2:#fff6ee;--surface-3:#ffe9d8;--green:#ba541b;--lime:#d66525;
}
[data-theme=light] #sidebar .brand{
  background:linear-gradient(135deg,#fff,#fff1e5);border-color:#efd3ba;
  box-shadow:0 8px 25px #9a59201a,inset 0 1px 0 #fff;
}
[data-theme=light] #sidebar .brand::before{background:#ffae682a}
[data-theme=light] #sidebar .brand:hover{border-color:#e87329;box-shadow:0 12px 28px #9a592028}
[data-theme=light] #sidebar .brand-icon{background:#fff;border-color:#eac5a7;box-shadow:0 5px 14px #9a59201f}
[data-theme=light] #sidebar .brand-icon img{filter:none;mix-blend-mode:normal}
[data-theme=light] #sidebar .brand b{color:#30231b}
[data-theme=light] #sidebar .brand small{color:#755b49}
[data-theme=light] #sidebar .nav-item.active{background:#ffab62;color:#2b1c13;box-shadow:inset 3px 0 0 #d65f1c}
[data-theme=light] #sidebar .nav-item:hover:not(.active){background:#fff0e2;color:#9c4215}
[data-theme=light] #sidebar .edition{background:#fff0e3;color:#805940}
[data-theme=light] #navigation{scrollbar-color:#d9bba5 transparent}

[data-theme=light] .page-head{
  background:radial-gradient(circle at 4% 7%,#ffbe8738,transparent 30%),linear-gradient(120deg,#fff,#fff2e7 77%,#ffe7d4);
  border-color:#edc8a8;box-shadow:0 12px 32px #9a59201b;
  --text:#30231b;--muted:#6c594c;--line-2:#d9bba5;--green:#ba541b;--lime:#d66525;
}
[data-theme=light] .page-head h1{color:#30231b}
[data-theme=light] .page-head p{color:#6c594c}
[data-theme=light] .page-head .eyebrow{color:#c55b20}
[data-theme=light] .page-head .button{color:#473225;border-color:#d9bba5;background:#fff8f2}
[data-theme=light] .page-head .button:hover{background:#ffe7d4}
[data-theme=light] .page-head .button.accent{background:#ff9f52;color:#2a1c13;border-color:#ff9f52}
[data-theme=light] .what-is-button{background:linear-gradient(135deg,#ffa850,#f38334);border-color:#f4ad70;color:#2a1c13;box-shadow:0 8px 21px #b55a1d27}
[data-theme=light] .what-is-cover{background:radial-gradient(circle at 11% 75%,#ffbd8c63,transparent 41%),linear-gradient(130deg,#fffaf4,#ffe7d2);color:#30231b;border-color:#ed954f}
[data-theme=light] .what-is-cover h2,[data-theme=light] .what-is-cover p{color:#30231b}
[data-theme=light] .what-is-kicker{background:#fff3e7;color:#ae4f19;border-color:#edbc93}
[data-theme=light] .what-is-cover h2 span{color:#c95a19}

[data-theme=light] .filters .search,[data-theme=light] .filters select,[data-theme=light] .panel,[data-theme=light] .kpis,[data-theme=light] .module-guide{background:#fff;border-color:#ead8cb}
[data-theme=light] .cc-topic:hover,[data-theme=light] .data-table tbody tr:hover,[data-theme=light] .connection-row:hover{background:#fff1e5;border-color:#e9ae80}
[data-theme=light] .cc-topic.selected{background:#fff0e2;border-color:#dc7b39}
[data-theme=light] .cc-mobile-nav{background:#fff;border-color:#ead8cb}
[data-theme=light] .cc-mobile-nav a{color:#6c594c}
[data-theme=light] body[data-route=overview] .cc-mobile-nav [data-route=overview],
[data-theme=light] body[data-route=published-trends] .cc-mobile-nav [data-route=published-trends],
[data-theme=light] body[data-route=directory] .cc-mobile-nav [data-route=directory],
[data-theme=light] body[data-route=topics] .cc-mobile-nav [data-route=topics],
[data-theme=light] body[data-route=network] .cc-mobile-nav [data-route=network]{background:#ffab62;color:#2b1c13}

[data-theme=light] .sector-section{background:linear-gradient(145deg,#fff,#fff6ee);border-color:#ead8cb;box-shadow:0 12px 32px #9a592014}
[data-theme=light] .sector-card:not(.sector-placeholder){background:#fff;border-color:#ead8cb;box-shadow:0 8px 22px #9a592016}
[data-theme=light] .sector-card:not(.sector-placeholder):hover{background:#fff;border-color:#e87930;box-shadow:0 16px 30px #9a592029}
[data-theme=light] .sector-card-body h3{color:#30231b}
[data-theme=light] .sector-card-stats strong{color:#30231b}
[data-theme=light] .sector-card-foot{color:#ba541b}
[data-theme=light] .sector-card-foot .down{color:#806b5c}
[data-theme=light] .sector-card-photo::after{background:linear-gradient(90deg,#f6ba77,#e87329)}
[data-theme=light] .sector-range button[aria-pressed=true]{background:#ff9f52;border-color:#ff9f52;color:#2a1c13}

[data-theme=light] .sp-scope,[data-theme=light] .sp-performance,[data-theme=light] .sp-panel,[data-theme=light] .sp-latest,[data-theme=light] .sp-stat-grid article{background:#fff;border-color:#ead8cb;box-shadow:0 9px 25px #9a59200e}
[data-theme=light] .sp-chart-wrap,[data-theme=light] .sp-post,[data-theme=light] .sp-custom input{background:#fff7f0;border-color:#ecd6c4}
[data-theme=light] .sp-title-icon,[data-theme=light] .sp-panel-title>span{background:#fff0e3;color:#bf571d}
[data-theme=light] .sp-sector-nav a.active,[data-theme=light] .sp-range a.active,[data-theme=light] .sp-post-controls button[aria-pressed=true]{background:#ff9f52;border-color:#ff9f52;color:#2a1c13}
[data-theme=light] .sp-brand-icon{background:#fff;border:1px solid #eac5a7;box-shadow:0 5px 14px #9a59201f}
[data-theme=light] .sp-brand-icon img{filter:none}

[data-theme=light] .tf-hero{background:linear-gradient(120deg,#fff,#fff1e4);border-color:#edc8a8;box-shadow:0 12px 30px #9a59201b}
[data-theme=light] .tf-hero,[data-theme=light] .tf-hero h2,[data-theme=light] .tf-hero p,[data-theme=light] .tf-count span{color:#30231b!important}
[data-theme=light] .tf-kicker,[data-theme=light] .tf-count strong{color:#b9551d}
[data-theme=light] .tf-count{background:#fff8f2;border-color:#efc9a8}
[data-theme=light] .tf-row,[data-theme=light] .tf-toolbar input{background:#fff;color:#30231b;border-color:#ead8cb}
[data-theme=light] .tf-row:hover{background:#fff1e4;border-color:#e87329}
[data-theme=light] .tf-metrics b,[data-theme=light] .tf-arrow{color:#ba541b}

@media(prefers-reduced-motion:reduce){[data-theme=light] .sector-card:not(.sector-placeholder){transition:none}}

/* Source cohorts: one persistent scope across every analytical view. */
.source-scope{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 22px;margin:24px 0 16px;border:1px solid var(--line,#dedede);border-radius:22px;background:var(--surface,#fff)}
.source-scope-copy{display:grid;gap:4px;min-width:105px}.source-scope-copy strong{font-size:16px}.source-scope-tabs,.sp-cohorts{display:flex;gap:6px;flex-wrap:wrap}.source-scope-tabs{padding:5px;border-radius:17px;background:var(--bg,#faf7f3)}
.source-scope-tabs button,.sp-cohorts a{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:10px 20px;border:1px solid transparent;border-radius:13px;font:inherit;font-weight:700;text-decoration:none;color:var(--text,#282520);background:transparent;cursor:pointer;transition:background .18s,box-shadow .18s}
.source-scope-tabs button svg{width:19px;height:19px}.source-scope-tabs button[aria-pressed=true],.sp-cohorts a.active{background:#ff8b3d;color:#241608;box-shadow:0 4px 14px #f8792724}.source-scope-tabs button:focus-visible,.sp-cohorts a:focus-visible{outline:3px solid #f57922;outline-offset:3px}
.sp-cohorts{margin:0 0 20px;padding:6px;border:1px solid var(--line,#dedede);border-radius:18px;width:fit-content;background:var(--surface,#fff)}
@media(max-width:600px){.source-scope{display:block;padding:15px;margin-top:18px}.source-scope-copy{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.source-scope-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}.source-scope-tabs button{padding:9px 6px;font-size:12px;gap:5px}.sp-cohorts{width:100%;display:grid;grid-template-columns:repeat(3,1fr)}.sp-cohorts a{padding:10px 5px;font-size:12px}}

.source-kind-label{display:block;margin-top:5px;color:var(--muted);font-size:10px}

/* All thirty issues, with compact, accessible links on the overview. */
.national-issues-entry.national-issues-compact{display:block;padding:22px;border-radius:22px;background:var(--panel,var(--bg));box-shadow:none}
.national-issues-compact .national-issues-intro{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.national-issues-compact .national-issues-intro h2{font-size:25px;line-height:1.6;margin:3px 0}
.national-issues-compact .national-issues-intro p{font-size:12px;line-height:1.9;margin:3px 0;color:var(--muted)}
.national-issues-compact .eyebrow{font-size:10px}
.national-issues-all{display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:11px;color:var(--orange);text-decoration:none}
.national-issues-all svg{width:16px;height:16px}
.national-issue-links{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.national-issue-links>a{display:flex;align-items:center;gap:7px;min-height:48px;padding:8px 10px;border:1px solid var(--line);border-radius:11px;text-decoration:none;color:var(--text);background:var(--surface,var(--panel));transition:border-color .18s,background .18s,transform .18s}
.national-issue-mark{display:grid;place-items:center;flex:0 0 19px;color:var(--orange)}
.national-issue-mark svg{width:18px;height:18px;stroke-width:1.7}
.national-issue-name{font-size:11px;line-height:1.8;font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.national-issue-links>a:hover{border-color:var(--orange);transform:translateY(-2px)}
.national-issue-links>a:focus-visible,.national-issues-all:focus-visible{outline:2px solid var(--orange);outline-offset:3px}
[data-theme=light] .national-issues-entry.national-issues-compact{background:#fffdfb;border-color:#ecd9ca}
[data-theme=light] .national-issue-links>a{background:#fff;border-color:#efded0;color:#38291f}
[data-theme=light] .national-issue-links>a:hover{background:#fff5eb;border-color:#ed9a59}
@media(max-width:1200px){.national-issue-links{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.national-issues-entry.national-issues-compact{padding:16px;border-radius:18px}.national-issues-compact .national-issues-intro{display:block;margin-bottom:14px}.national-issues-compact .national-issues-intro h2{font-size:21px}.national-issues-compact .national-issues-intro p{font-size:11px}.national-issues-all{margin-top:9px;font-size:10px}.national-issue-links{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.national-issue-links>a{padding:5px 7px;gap:5px;min-height:44px}.national-issue-name{font-size:10px;line-height:1.65}.national-issue-mark{flex-basis:16px}.national-issue-mark svg{width:16px;height:16px}}
@media(max-width:420px){.national-issue-links{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.national-issue-links>a{transition:none}.national-issue-links>a:hover{transform:none}}
