/* Two palettes, one consistent data and interaction language. */
:root{--accent-fill:#d8eca2;--accent-ink:#172d28;--focus:#d8eca2;--hero:#1b3428;--chart-negative:#edb4ad;--shadow:0 14px 40px #0003}
:root[data-theme=light]{color-scheme:light;--bg:#f5f4ee;--sidebar:#103f35;--surface:#ffffff;--surface-2:#eef1e8;--surface-3:#e1e8dc;--line:#d6ded5;--line-2:#83958a;--text:#172d28;--muted:#53665e;--dim:#53665e;--green:#216b4a;--lime:#275a37;--cyan:#187a90;--blue:#4266b3;--amber:#875c13;--orange:#b25433;--red:#a33e43;--pink:#a04c92;--accent-fill:#ddf48b;--accent-ink:#172d28;--focus:#216b4a;--hero:#103f35;--chart-negative:#a33e43;--shadow:0 14px 40px #103f3510}
:root[data-theme=dark]{color-scheme:dark}
body,.topbar,.panel,.cc-detail,.cc-topic,.kpis,.cc-roundups>a,.filters input,.filters select,.cc-toolbar select,.cc-search,dialog,.cc-mobile-nav{transition:background-color .22s ease,color .22s ease,border-color .22s ease}
:where(button,a,input,select,summary):focus-visible{outline-color:var(--focus)}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:7px 12px;border:1px solid var(--line-2);background:var(--surface);color:var(--text);font:inherit;font-size:11px;border-radius:20px;cursor:pointer;flex-shrink:0;transition:background-color .2s,border-color .2s}
.theme-toggle:hover{background:var(--surface-3)}.theme-toggle svg{width:17px;height:17px}.theme-sun{display:none}[data-theme=light] .theme-sun{display:block}[data-theme=light] .theme-moon{display:none}.theme-toggle:active{transform:scale(.96)}
.page-head{background:var(--hero);border:1px solid #42614b;border-radius:16px;padding:26px 28px;min-height:142px;--text:#f0f4ed;--muted:#c5d4c4;--line-2:#79927e;--surface-2:#264734;--surface-3:#30563f;--green:#a7d6ae;--lime:#ddf48b;box-shadow:0 6px 24px #061c0f08}
.page-head h1{color:#f0f4ed;font-size:36px}.page-head p{color:#c5d4c4}.page-head .button{background:transparent;color:#f0f4ed;border-color:#79927e}.page-head .button:hover{background:#30563f}.page-head .button.accent{background:var(--accent-fill);color:var(--accent-ink);border-color:var(--accent-fill)}.page-head .eyebrow{color:#ddf48b}
.cc-topic{position:relative;overflow:hidden}.cc-topic.selected{box-shadow:inset -3px 0 0 var(--accent-fill),0 8px 20px #061c0f0a}.cc-topic-heading>svg{transition:transform .2s}.cc-topic:hover .cc-topic-heading>svg{transform:translate(-3px,-3px)}
.cc-card-pulse{display:flex;align-items:center;gap:14px;margin-top:12px;height:30px;pointer-events:none}.cc-card-pulse>span{flex:none;font-size:9px;color:var(--muted)}.cc-card-pulse canvas{min-width:0;max-width:140px;height:30px!important;width:100%!important;direction:ltr;flex:1}
.cc-topic-branches{margin-top:10px}.cc-branches button{transition:background-color .18s,border-color .18s,transform .18s}.cc-branches button:active{transform:scale(.97)}.cc-roundups>a{transition:transform .2s,border-color .2s,background-color .2s}.cc-roundups>a:hover{transform:translateY(-3px)}.cc-evidence a svg{transition:transform .18s}.cc-evidence a:hover svg{transform:translate(-2px,-2px)}
.cc-comparison meter::-webkit-meter-optimum-value{transition:width .45s cubic-bezier(.2,.7,.2,1)}
.cc-published[open] .cc-published-note,.cc-quality[open]>.alert{animation:content-reveal .24s ease-out}.nav-group[open]>.nav-item{animation:content-reveal .2s ease-out}.nav-item,.cc-mobile-nav a{transition:background-color .18s,color .18s}.cc-mobile-nav a:active{transform:scale(.96)}
@keyframes content-reveal{from{opacity:.4;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
::view-transition-old(root),::view-transition-new(root){animation-duration:220ms;animation-timing-function:ease-in-out}
#sidebar{color-scheme:dark}#navigation{scrollbar-width:thin;scrollbar-color:#648773 transparent}
/* Light surfaces: the forest sidebar remains a deliberate brand anchor. */
[data-theme=light] #sidebar{--text:#f0f4ed;--muted:#c0d1c6;--dim:#b8cbc0;--line:#386051;--line-2:#648773;--surface:#174b3c;--surface-2:#225742;--surface-3:#2d654c;--green:#a7d6ae;--lime:#ddf48b;background:#103f35;color:#f0f4ed}
[data-theme=light] #sidebar .nav-item.active{background:#ddf48b;color:#172d28}[data-theme=light] #sidebar .nav-item:hover:not(.active){background:#225742;color:#f0f4ed}[data-theme=light] #sidebar .edition{background:#225742;color:#d8e6da}
[data-theme=light] .topbar{background:#f5f4ee}[data-theme=light] .button.accent{background:#ddf48b;color:#172d28;border-color:#78934b}[data-theme=light] .button.accent:hover{background:#cce879}[data-theme=light] .page-head .button.accent{border-color:#ddf48b}
[data-theme=light] .cc-topic{background:#fff}[data-theme=light] .cc-topic:hover{background:#f1f5e9;border-color:#7a9369}[data-theme=light] .cc-topic.selected{background:#eef5db;border-color:#63833e;box-shadow:inset -3px 0 0 #63833e,0 8px 20px #103f3508}[data-theme=light] .cc-topic-number{color:#536f3e}[data-theme=light] .cc-topic-branches{border-color:#cddbbd}[data-theme=light] .cc-topic-branches>span{color:#42583a}[data-theme=light] .cc-growth{color:#216b4a}[data-theme=light] .cc-growth.down{color:#a33e43}
[data-theme=light] .cc-lead{color:#354e41}[data-theme=light] .cc-branches button{color:#354e41;border-color:#83958a}[data-theme=light] .cc-branches button:hover{background:#eef5db}[data-theme=light] .cc-branches button[aria-pressed=true]{background:#ddf48b;color:#172d28;border-color:#63833e}[data-theme=light] .cc-branches button[aria-pressed=true] b{color:#172d28}[data-theme=light] .cc-search:focus-within{outline-color:#216b4a}
[data-theme=light] .cc-segments button[aria-pressed=true]{background:#ddf48b;color:#172d28}[data-theme=light] .cc-bars meter::-webkit-meter-optimum-value{background:#357756}[data-theme=light] .cc-bars meter::-moz-meter-bar{background:#357756}[data-theme=light] .cc-bars .previous meter::-webkit-meter-optimum-value{background:#8c9e8c}[data-theme=light] .cc-bars .previous meter::-moz-meter-bar{background:#8c9e8c}
[data-theme=light] .cc-evidence-icon{background:#eaf0e2;color:#216b4a}[data-theme=light] .cc-quality .alert{color:#53665e}[data-theme=light] .cc-mobile-nav{background:#f5f4ee}[data-theme=light] .cc-mobile-nav a{color:#53665e}
[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]{background:#ddf48b;color:#172d28}
[data-theme=light] .mission-note,[data-theme=light] .warning-alert{color:#875c13;background:#faf2df;border-color:#c3a96e}[data-theme=light] .alert:not(.warning-alert){color:#7c3439;background:#fcf0ed;border-color:#d6a9a9}[data-theme=light] .cc-quality .alert{background:#fff;color:#53665e;border-color:#d6ded5}
[data-theme=light] .network{background:#eef1e8}[data-theme=light] .network text{fill:#172d28}[data-theme=light] .network circle{stroke:#f5f4ee}[data-theme=light] .network line{stroke:#83958a}[data-theme=light] .network-tip{background:#fff}[data-theme=light] .heatmap .cell:hover:after{background:#103f35;color:#fff}
[data-theme=light] .headline-card{background:#fff}[data-theme=light] .headline-card>span,[data-theme=light] .insight .signal{color:#216b4a!important}[data-theme=light] .kpi-top>svg{color:#216b4a}[data-theme=light] .data-table tbody tr:hover{background:#eef5db}[data-theme=light] .connection-row:hover{background:#eef5db}[data-theme=light] .metric-tooltip{box-shadow:0 12px 32px #103f3526}
[data-theme=light] .heatmap .cell{outline:1px solid #d6ded5}[data-theme=light] .matrix .matrix-cell>span{color:#172d28}[data-theme=light] .cc-published-note a{color:#216b4a}[data-theme=light] input::placeholder{color:#687c70;opacity:1}[data-theme=light] .cc-source-list{color:#172d28}
@media(hover:hover){.kpi:hover{background:var(--surface-2)}.panel:hover{border-color:var(--line-2)}}
@media(max-width:980px){.page-head{padding:23px}.page-head h1{font-size:30px}}
@media(max-width:700px){.page-head{padding:22px 18px;min-height:0}.page-head h1{font-size:27px}.page-head .actions{flex-wrap:wrap}.theme-toggle{min-width:38px;width:38px;padding:7px}.theme-label{display:none}.top-actions{gap:7px}.cc-card-pulse{height:26px;gap:6px}.cc-card-pulse canvas{height:26px!important;max-width:90px}.cc-card-pulse>span{font-size:8px}.cc-topic-branches{margin-top:9px}.cc-topic-heading{margin:8px 0}.cc-topic{padding:13px 11px}.cc-detail{scroll-margin-top:72px}}

/* Brand and independent time comparison on the overview. */
#sidebar .brand{position:relative;isolation:isolate;display:grid;grid-template-columns:52px minmax(0,1fr);gap:10px;align-items:center;padding:12px 10px;margin-bottom:4px;background:linear-gradient(135deg,#244b39,#142a22 72%);border:1px solid #52725c;border-radius:16px;box-shadow:0 10px 25px #071c1550;overflow:hidden;transition:transform .2s,border-color .2s,box-shadow .2s}
#sidebar .brand::before{content:"";position:absolute;z-index:-1;width:100px;height:100px;inset-inline-end:-30px;inset-block-start:-52px;border-radius:50%;background:#d8eca21a;filter:blur(8px)}
#sidebar .brand:hover{transform:translateY(-2px);border-color:#bddb89;box-shadow:0 14px 30px #071c1570}
#sidebar .brand:focus-visible{outline:2px solid var(--lime);outline-offset:3px}
#sidebar .brand-icon,#sidebar .brand-icon img{width:52px;height:52px;border-radius:12px}
#sidebar .brand-icon{background:#f8f8f3;padding:3px;box-shadow:0 2px 12px #071c1550}
#sidebar .brand-icon img{width:46px;height:46px;object-fit:contain}
#sidebar .brand-copy{min-width:0;display:block}
#sidebar .brand b{font-size:23px;line-height:1.2;color:#f7faf4;letter-spacing:-.02em}
#sidebar .brand small{font-size:9px;line-height:1.7;color:#c7d7c9;margin-top:4px}
#sidebar .nav-caption{padding-top:19px}

.recent-toolbar{display:grid;grid-template-columns:minmax(180px,.7fr) minmax(0,1.3fr);gap:18px;align-items:center;position:relative;margin-bottom:16px;padding:18px 20px;background:var(--surface);border:1px solid var(--line-2);border-radius:14px;box-shadow:0 8px 24px #061c0f0b}
.recent-toolbar::before{content:"";position:absolute;inset-block:17px;inset-inline-start:0;width:3px;border-radius:3px;background:var(--lime)}
.recent-toolbar-copy{display:grid;gap:2px}.recent-toolbar-copy .eyebrow{margin:0}.recent-toolbar-copy strong{font-size:17px;line-height:1.5}.recent-toolbar-copy small{color:var(--muted);font-size:10px;line-height:1.8}
.recent-toolbar-controls{display:grid;gap:8px;justify-items:end}.recent-ranges{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}
.recent-ranges button,.recent-custom button{font:inherit;font-size:11px;font-weight:700;min-height:36px;padding:6px 10px;border-radius:8px;border:1px solid var(--line-2);background:var(--surface-2);color:var(--muted);cursor:pointer;transition:background .2s,border-color .2s,color .2s,transform .2s}
.recent-ranges button:hover,.recent-custom button:hover{color:var(--text);border-color:var(--lime);transform:translateY(-1px)}
.recent-ranges button[aria-pressed="true"],.recent-custom button{background:var(--lime);border-color:var(--lime);color:#172d28}
.recent-ranges button svg{width:13px;height:13px;vertical-align:middle;margin-inline-start:4px}
.recent-ranges button:focus-visible,.recent-custom button:focus-visible,.recent-custom input:focus-visible{outline:2px solid var(--lime);outline-offset:2px}
.recent-custom{display:flex;flex-wrap:wrap;align-items:end;justify-content:flex-end;gap:8px}.recent-custom[hidden]{display:none}.recent-custom label{display:grid;gap:3px;color:var(--muted);font-size:10px}.recent-custom input{font:inherit;direction:ltr;text-align:center;width:128px;height:36px;padding:5px 8px;border:1px solid var(--line-2);border-radius:8px;background:var(--surface-2);color:var(--text)}
#recentStatus{font-size:10px;color:var(--muted);min-height:1.2em}#recentStatus:empty{display:none}
.recent-insight-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.recent-list-card{min-width:0;background:var(--surface-2);border:1px solid var(--line);border-radius:10px;overflow:hidden}
.recent-list-card header{display:flex;align-items:center;gap:9px;padding:12px 13px;border-bottom:1px solid var(--line)}.recent-list-icon{width:30px;height:30px;display:grid;place-items:center;background:color-mix(in srgb,var(--lime) 12%,transparent);border-radius:8px;flex-shrink:0}.recent-list-icon svg{width:17px;height:17px}.recent-list-icon-quiet{color:var(--pink)}
.recent-list-card h4{font-size:12px;margin:0}.recent-list-card header small{display:block;color:var(--muted);font-size:9px;line-height:1.7}.recent-list-card ol{list-style:none;margin:0;padding:3px 0}.recent-list-card li{display:grid;grid-template-columns:20px minmax(0,1fr) auto auto;gap:7px;align-items:center;min-height:37px;padding:6px 12px;border-bottom:1px solid var(--line);font-size:10px}.recent-list-card li:last-child{border-bottom:0}.recent-list-card li:hover:not(.recent-empty){background:color-mix(in srgb,var(--lime) 6%,transparent)}.recent-list-card li strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:700}.recent-list-card li>span:not(.recent-rank){color:var(--muted);white-space:nowrap}.recent-list-card li em{font-style:normal;color:var(--green);font-weight:800;direction:ltr}.recent-list-card .recent-rank{color:var(--dim);font-variant-numeric:tabular-nums}.recent-list-card .recent-empty{display:block;color:var(--muted);padding:12px;font-size:10px}.recent-list-card .recent-quiet-days{color:var(--pink)!important;font-weight:700}
.recent-method-note{font-size:10px;line-height:1.8;color:var(--muted);margin:12px 0 0}.recent-loading{display:grid;place-items:center;min-height:170px;background:var(--surface);border:1px dashed var(--line-2);border-radius:12px;color:var(--muted);font-size:12px}
@media(min-width:981px) and (max-width:1250px){#sidebar .brand{grid-template-columns:46px minmax(0,1fr);gap:8px;padding:10px 8px}#sidebar .brand-icon{width:46px;height:46px}#sidebar .brand-icon img{width:40px;height:40px}#sidebar .brand b{font-size:21px}}
@media(max-width:800px){.recent-toolbar{grid-template-columns:1fr}.recent-toolbar-controls{justify-items:start}.recent-ranges{justify-content:flex-start}.recent-custom{justify-content:flex-start}}
@media(max-width:600px){.recent-toolbar{padding:16px}.recent-insight-grid{grid-template-columns:1fr}.recent-ranges button{font-size:10px;min-height:34px;padding:5px 9px}.recent-list-card li{grid-template-columns:20px minmax(0,1fr) auto auto}}
@media(prefers-reduced-motion:reduce){#sidebar .brand,.recent-ranges button,.recent-custom button{transition:none}}
/* The overview introduction is editorial, separate from the data methodology dialog. */
.page-head .actions{align-items:center;flex-wrap:wrap;justify-content:flex-end}
#whatIsVaghaye{display:none}
body[data-route=overview] #whatIsVaghaye{display:flex}
.what-is-button{position:relative;align-items:center;gap:11px;min-width:214px;min-height:62px;padding:10px 14px;border:1px solid #f0ffa9;border-radius:12px;background:linear-gradient(135deg,#e9ffa3,#cbe879);color:#173126;font:inherit;text-align:start;cursor:pointer;box-shadow:0 7px 20px #071e1460;transition:transform .2s,box-shadow .2s,filter .2s}
.what-is-button:hover{transform:translateY(-2px);box-shadow:0 11px 24px #071e1470;filter:brightness(1.04)}
.what-is-button:focus-visible{outline:3px solid #fff;outline-offset:3px}
.what-is-button>svg:first-child{width:23px;height:23px;flex:none}.what-is-button span{display:grid;gap:2px}.what-is-button strong{font-size:16px;line-height:1.35}.what-is-button small{font-size:9px;font-weight:600;line-height:1.5;opacity:.8}.what-is-button .what-is-arrow{width:16px;height:16px;margin-inline-start:auto;flex:none}
.what-is-dialog{width:min(720px,calc(100vw - 28px));max-height:calc(100dvh - 28px);overflow-y:auto;border:1px solid var(--line-2);border-radius:18px;background:var(--surface);color:var(--text)}
.what-is-cover{position:relative;padding:27px 34px 29px;background:radial-gradient(circle at 12% 6%,#5e865654,transparent 45%),linear-gradient(135deg,#224938,#123a2d);color:#f5f8ed}
.what-is-kicker{display:block;color:#d8eca2;font-size:11px;font-weight:800;margin-bottom:16px}.what-is-cover img{width:54px;height:54px;object-fit:contain;background:#fff;border-radius:12px;padding:3px;margin-bottom:14px}.what-is-cover h2{font-size:30px;line-height:1.35;margin:0 0 4px}.what-is-cover p{font-size:12px;line-height:1.8;margin:0;color:#d0dfd0}.what-is-close{position:absolute;inset-block-start:20px;inset-inline-end:23px;display:grid;place-items:center;width:36px;height:36px;border:1px solid #acc8ac70;border-radius:50%;background:#ffffff17;color:#f5f8ed;cursor:pointer}.what-is-close:hover{background:#ffffff2b}.what-is-close svg{width:18px;height:18px}
.what-is-story{padding:25px 34px 30px;max-width:66ch;margin:auto}.what-is-story p{font-size:14px;line-height:2.15;margin:0 0 14px;color:var(--text)}.what-is-story p:last-child{margin-bottom:0}.what-is-story .what-is-lead{font-size:16px;font-weight:650;line-height:2.05;color:var(--text)}
@media(max-width:980px){.page-head .actions{justify-content:flex-start}.what-is-button{min-width:195px}}
@media(max-width:700px){body[data-route=overview] #whatIsVaghaye{width:100%}.what-is-dialog{width:calc(100vw - 20px)}.what-is-cover{padding:23px 22px}.what-is-story{padding:22px}.what-is-story p{font-size:13px}.what-is-story .what-is-lead{font-size:14px}}
@media(prefers-reduced-motion:reduce){.what-is-button{transition:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}}
