
:root{--scc-navy:#06172e;--scc-navy-2:#0c2444;--scc-teal:#42c8c6;--scc-aqua:#7be4e1;--scc-gold:#d6a84f;--scc-ink:#0d2038;--scc-muted:#61708a;--scc-bg:#f4f8fb;--scc-card:#ffffff;--scc-line:#d9e5ef;--shadow:0 18px 45px rgba(6,23,46,.12)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.scc-page{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;background:linear-gradient(180deg,#eef4f8 0,#f6fafc 320px,#f4f8fb 100%);color:var(--scc-ink);line-height:1.55;position:relative}
body.scc-page:before{content:"";position:fixed;right:-120px;bottom:4vh;width:min(40vw,520px);aspect-ratio:1;background:url("brand/scc_nexus_icon_perfect.svg") center/contain no-repeat;opacity:.035;pointer-events:none;z-index:0}
main,.site-header,.site-topbar,.site-footer{position:relative;z-index:1}
.shell{width:min(1280px,calc(100% - 40px));margin:auto}
.skip-link{position:absolute;left:-999px}.skip-link:focus{left:1rem;top:1rem;background:#fff;padding:.7rem 1rem;z-index:20}
.site-topbar{background:#06172e;color:#e0eefb;font-size:.84rem}.site-topbar-inner{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding:8px 0}
.site-header{background:rgba(255,255,255,.97);border-bottom:1px solid var(--scc-line);position:sticky;top:0;z-index:10;box-shadow:0 6px 18px rgba(6,23,46,.06);backdrop-filter:blur(10px)}
.header-shell{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:86px}
.brand{display:flex;align-items:center;text-decoration:none;color:var(--scc-navy);font-weight:900;font-size:1.45rem;min-width:0}.brand-logo{height:58px;max-width:280px;width:auto}
.menu-toggle{display:none;align-items:center;gap:.6rem;border:1px solid var(--scc-line);background:#fff;border-radius:18px;padding:.75rem 1rem;font-weight:800;color:var(--scc-navy);cursor:pointer}
.hamburger,.hamburger:before,.hamburger:after{display:block;width:24px;height:3px;background:var(--scc-navy);border-radius:3px;content:""}.hamburger:before{transform:translateY(-7px)}.hamburger:after{transform:translateY(4px)}
.primary-nav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.2rem}.primary-nav a{color:var(--scc-navy);text-decoration:none;font-weight:800;padding:.65rem .78rem;border-radius:999px;white-space:nowrap}.primary-nav a:hover,.primary-nav a.active{background:#e8f6f7;color:#073a56}
.hero-gradient{color:#fff;position:relative;overflow:hidden;padding:70px 0 76px;border-bottom:1px solid rgba(255,255,255,.12);background:linear-gradient(120deg,#07182f,#0e3153 50%,#12706d)}
.hero-media{position:absolute;inset:0;z-index:0}.hero-media:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,23,46,.84) 0%,rgba(8,29,56,.7) 34%,rgba(8,29,56,.28) 100%),radial-gradient(circle at 82% 18%,rgba(132,234,255,.18),transparent 30%)}
.hero-video{width:100%;height:100%;object-fit:cover;display:block;opacity:.92}
.hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:34px;align-items:center}
.eyebrow{margin:0 0 .8rem;color:#85f0eb;font-weight:900;letter-spacing:.14em;text-transform:uppercase;font-size:.84rem}
.hero-copy h1{font-size:clamp(2.4rem,5.2vw,5rem);line-height:1.03;margin:.1rem 0 1.15rem;letter-spacing:-.045em;max-width:13ch}
.lead{font-size:clamp(1.08rem,1.8vw,1.45rem);max-width:850px;color:rgba(255,255,255,.92)}
.hero-actions{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:1.5rem}
.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:14px;padding:.9rem 1.2rem;text-decoration:none;font-weight:900;transition:transform .15s ease,background-color .15s ease,border-color .15s ease}.btn:hover{transform:translateY(-1px)}
.btn-light{background:white;color:var(--scc-navy)}.btn-ghost{border:1px solid rgba(255,255,255,.52);color:white;background:rgba(255,255,255,.08)}
.hero-panel{display:grid;gap:1rem}.metric{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.24);backdrop-filter:blur(10px);border-radius:28px;padding:1.35rem 1.4rem;box-shadow:0 24px 60px rgba(0,0,0,.13)}.metric span{display:block;color:rgba(255,255,255,.8);font-weight:800;text-transform:uppercase;letter-spacing:.03em;font-size:.84rem}.metric strong{display:block;font-size:clamp(2.1rem,5vw,3.4rem);line-height:1;margin:.38rem 0}.metric small{color:rgba(255,255,255,.78);font-weight:700}
.section{padding:58px 0}.overview-shell{margin-top:-20px;position:relative;z-index:2}.section-tint{background:#eaf3f7}.section-head{max-width:920px;margin-bottom:24px}.section-head h2{font-size:clamp(1.9rem,3vw,3.05rem);line-height:1.06;margin:.1rem 0 .95rem;letter-spacing:-.03em}.section-head p{margin:.25rem 0;color:#34465e}
.card-grid{display:grid;gap:18px}.card-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:22px}.data-grid{align-items:start}
.card{background:var(--scc-card);border:1px solid var(--scc-line);border-radius:26px;box-shadow:var(--shadow);padding:24px;min-width:0}.card h3{margin:0 0 12px;font-size:1.22rem;color:var(--scc-navy)}.card p{margin:.35rem 0 0;color:#51657b}
.kpi-card strong{font-size:2.15rem;display:block;color:var(--scc-navy);line-height:1.05}.kpi-card span{display:block;color:#5f6f84;font-weight:900;text-transform:uppercase;letter-spacing:.05em;font-size:.82rem;margin-bottom:.45rem}.kpi-card p{font-size:.98rem}
.chart-card{min-height:370px}.chart-card canvas{display:block;width:100% !important;height:300px !important}
.toolbar{display:flex;gap:1rem;flex-wrap:wrap;margin:0 0 16px}.toolbar input,.toolbar select{border:1px solid var(--scc-line);border-radius:999px;padding:.9rem 1rem;background:white;min-width:230px;font:inherit}
.table-wrap{overflow:auto;max-width:100%;border-radius:18px;border:1px solid var(--scc-line);background:#fff}.data-table-wrap{max-height:430px}table{border-collapse:collapse;width:100%;background:#fff}th,td{text-align:left;border-bottom:1px solid #edf2f7;padding:.82rem .9rem;vertical-align:top}th{font-size:.78rem;text-transform:uppercase;letter-spacing:.07em;color:#53657d;background:#f7fbfd;position:sticky;top:0;z-index:1}td{font-size:.92rem}.compact-table{max-height:330px}
.badge{display:inline-flex;align-items:center;padding:.28rem .62rem;border-radius:999px;font-size:.8rem;font-weight:800;background:#eef6ff;color:#17406f;border:1px solid #d5e6f7}.badge.ok{background:#e8f7ee;color:#1f7a4f;border-color:#cde9d7}.badge.warn{background:#fff3e0;color:#9a5b02;border-color:#f3dfb8}
.site-footer{background:var(--scc-navy);color:#d8e6f2;padding:48px 0 24px}.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:32px}.site-footer h2,.site-footer h3{color:#fff}.site-footer a{color:#b8fbff}.footnote{border-top:1px solid rgba(255,255,255,.14);margin-top:28px;padding-top:18px;color:#9fb3c8}.public-note{color:var(--scc-muted);font-weight:700}.load-error{background:#fff4f4;border:1px solid #ffc9c9;color:#7a1212;border-radius:18px;padding:1rem;margin:1rem 0}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.hero-video{display:none}.hero-gradient{background:linear-gradient(135deg,#06172e 0%,#173a55 48%,#5fc7c4 100%)}}
@media (max-width:1024px){.hero-grid,.grid-two,.footer-grid{grid-template-columns:1fr}.card-grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-copy h1{max-width:none}.hero-panel{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}.metric strong{font-size:2.2rem}.overview-shell{margin-top:0}}
@media (max-width:900px){.menu-toggle{display:flex}.primary-nav{display:none;position:absolute;left:20px;right:20px;top:78px;background:#fff;border:1px solid var(--scc-line);border-radius:22px;box-shadow:var(--shadow);padding:12px;flex-direction:column}.primary-nav.open{display:flex}.primary-nav a{padding:.9rem 1rem}.hero-gradient{padding:54px 0}.brand-logo{height:48px;max-width:220px}.hero-panel{grid-template-columns:1fr}}
@media (max-width:560px){.shell{width:min(100% - 28px,1280px)}.card-grid.four{grid-template-columns:1fr}.toolbar input,.toolbar select{width:100%;min-width:0}.card{padding:18px}.header-shell{min-height:76px}.brand-logo{height:42px;max-width:190px}.site-topbar-inner{justify-content:center;text-align:center}.chart-card canvas{height:260px !important}}


/* v14: align Historical hero/header proportions with the main SCC Nexus V4 site */
body.scc-historical-page main{
  max-width:none !important;
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
}

body.scc-historical-page .shell{
  width:min(1380px,calc(100% - 44px));
}

body.scc-historical-page .site-header .header-shell{
  min-height:82px;
}

body.scc-historical-page .brand-logo{
  height:56px;
  max-width:320px;
}

body.scc-historical-page .hero-gradient{
  width:100%;
  margin:0;
  padding:54px 0 58px;
  min-height:0;
}

body.scc-historical-page .hero-grid{
  grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);
  gap:30px;
  align-items:center;
}

body.scc-historical-page .hero-copy h1{
  font-size:clamp(34px,4.2vw,54px);
  line-height:1.04;
  letter-spacing:-.035em;
  max-width:900px;
  margin:12px 0 16px;
}

body.scc-historical-page .lead{
  font-size:clamp(16px,1.6vw,19px);
  line-height:1.55;
  max-width:860px;
}

body.scc-historical-page .hero-actions{
  margin-top:20px;
}

body.scc-historical-page .btn{
  border-radius:10px;
  padding:11px 16px;
}

body.scc-historical-page .hero-panel{
  gap:14px;
}

body.scc-historical-page .metric{
  border-radius:22px;
  padding:22px 24px;
  color:#fff;
}

body.scc-historical-page .metric span,
body.scc-historical-page .metric small{
  color:rgba(255,255,255,.82) !important;
}

body.scc-historical-page .metric strong{
  color:#fff !important;
  font-size:clamp(32px,4vw,46px);
}

body.scc-historical-page .overview-shell{
  margin-top:0;
}

body.scc-historical-page .section{
  padding:46px 0;
}

body.scc-historical-page .section-head h2{
  font-size:clamp(23px,2.4vw,30px);
}

@media (max-width:1024px){
  body.scc-historical-page .hero-grid{
    grid-template-columns:1fr;
  }

  body.scc-historical-page .hero-panel{
    grid-template-columns:1fr;
    max-width:720px;
  }

  body.scc-historical-page .hero-copy h1{
    max-width:820px;
  }
}

@media (max-width:900px){
  body.scc-historical-page .hero-gradient{
    padding:44px 0 48px;
  }

  body.scc-historical-page .brand-logo{
    height:48px;
    max-width:230px;
  }
}

@media (max-width:560px){
  body.scc-historical-page .shell{
    width:min(100% - 28px,1380px);
  }

  body.scc-historical-page .hero-copy h1{
    font-size:clamp(32px,10vw,42px);
  }

  body.scc-historical-page .lead{
    font-size:16px;
  }

  body.scc-historical-page .metric strong{
    font-size:32px;
  }
}


/* v18 final formatting harmonisation: force historical page to match main SCC Nexus proportions */
html body.scc-historical-page{
  background:linear-gradient(180deg,#e9f0f6 0,#f8fafc 360px,#fff 100%) !important;
}

html body.scc-historical-page main#main{
  display:block !important;
  max-width:none !important;
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden;
}

html body.scc-historical-page .shell{
  width:min(1380px,calc(100% - 44px)) !important;
  max-width:1380px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

html body.scc-historical-page .site-topbar{
  background:#06172e !important;
  color:#d9e8f6 !important;
  font-size:13px !important;
}

html body.scc-historical-page .site-topbar-inner{
  padding:8px 0 !important;
}

html body.scc-historical-page .site-header{
  background:rgba(255,255,255,.97) !important;
  border-bottom:1px solid #d9e3ec !important;
  box-shadow:0 4px 20px rgba(10,28,55,.08) !important;
}

html body.scc-historical-page .header-shell{
  min-height:82px !important;
  padding-top:12px !important;
  padding-bottom:12px !important;
}

html body.scc-historical-page .brand-logo{
  height:56px !important;
  max-width:320px !important;
  object-fit:contain !important;
}

html body.scc-historical-page .primary-nav a{
  font-size:12.5px !important;
  padding:8px 10px !important;
  border-radius:999px !important;
}

html body.scc-historical-page .hero-gradient{
  width:100% !important;
  min-height:0 !important;
  max-height:none !important;
  margin:0 !important;
  padding:54px 0 58px !important;
  border-radius:0 !important;
}

html body.scc-historical-page .hero-media{
  inset:0 !important;
}

html body.scc-historical-page .hero-video{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
}

html body.scc-historical-page .hero-grid{
  display:grid !important;
  grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr) !important;
  gap:30px !important;
  align-items:center !important;
}

html body.scc-historical-page .hero-copy h1{
  font-size:clamp(34px,4.2vw,54px) !important;
  line-height:1.04 !important;
  letter-spacing:-.02em !important;
  max-width:900px !important;
  margin:12px 0 16px !important;
}

html body.scc-historical-page .lead{
  font-size:clamp(16px,1.6vw,19px) !important;
  line-height:1.55 !important;
  max-width:860px !important;
}

html body.scc-historical-page .eyebrow{
  font-size:12px !important;
  letter-spacing:.13em !important;
  margin-bottom:12px !important;
}

html body.scc-historical-page .hero-actions{
  margin-top:20px !important;
  gap:8px !important;
}

html body.scc-historical-page .btn{
  border-radius:10px !important;
  padding:11px 16px !important;
  font-size:15px !important;
}

html body.scc-historical-page .hero-panel{
  display:grid !important;
  gap:14px !important;
}

html body.scc-historical-page .metric{
  border-radius:22px !important;
  padding:22px 24px !important;
  min-height:auto !important;
}

html body.scc-historical-page .metric span{
  color:rgba(255,255,255,.82) !important;
  font-size:12.5px !important;
}

html body.scc-historical-page .metric strong{
  color:#fff !important;
  font-size:clamp(32px,4vw,46px) !important;
  line-height:1 !important;
  margin:6px 0 !important;
}

html body.scc-historical-page .metric small{
  color:rgba(255,255,255,.82) !important;
  font-size:13px !important;
}

html body.scc-historical-page .overview-shell{
  margin-top:0 !important;
}

html body.scc-historical-page .section{
  padding:46px 0 !important;
}

html body.scc-historical-page .section-head{
  max-width:920px !important;
  margin-bottom:24px !important;
}

html body.scc-historical-page .section-head h2{
  font-size:clamp(23px,2.4vw,30px) !important;
  line-height:1.12 !important;
  letter-spacing:-.02em !important;
}

html body.scc-historical-page .card{
  border-radius:18px !important;
  padding:20px !important;
}

html body.scc-historical-page .chart-card{
  min-height:340px !important;
}

html body.scc-historical-page .chart-card canvas{
  height:280px !important;
}

@media (max-width:1024px){
  html body.scc-historical-page .hero-grid{
    grid-template-columns:1fr !important;
  }

  html body.scc-historical-page .hero-panel{
    max-width:720px !important;
  }
}

@media (max-width:900px){
  html body.scc-historical-page .hero-gradient{
    padding:44px 0 48px !important;
  }

  html body.scc-historical-page .brand-logo{
    height:48px !important;
    max-width:230px !important;
  }
}

@media (max-width:560px){
  html body.scc-historical-page .shell{
    width:min(100% - 28px,1380px) !important;
  }

  html body.scc-historical-page .hero-copy h1{
    font-size:clamp(32px,10vw,42px) !important;
  }

  html body.scc-historical-page .lead{
    font-size:16px !important;
  }

  html body.scc-historical-page .metric strong{
    font-size:32px !important;
  }

  html body.scc-historical-page .chart-card canvas{
    height:250px !important;
  }
}


/* v27 desktop moving banner assurance.
   The real .webm plays when present. If the server lacks the .webm or the browser
   cannot autoplay it, this provides a subtle animated poster/background so the
   desktop hero still has movement. */
.scc-historical-page .hero-moving{
  isolation:isolate;
}

.scc-historical-page .hero-moving .hero-media{
  overflow:hidden;
  background:
    radial-gradient(circle at 78% 20%, rgba(123,228,225,.16), transparent 26%),
    linear-gradient(120deg,#07182f,#0e3153 50%,#12706d);
}

.scc-historical-page .hero-moving .hero-media::before{
  content:"";
  position:absolute;
  inset:-8%;
  z-index:0;
  background-image:url("banners/desktop_banner_1.png"), url("../assets/banners/desktop_banner_1.png");
  background-size:cover;
  background-position:center;
  opacity:.72;
  transform:scale(1.04);
  animation:sccHistoricalBannerDrift 22s ease-in-out infinite alternate;
  will-change:transform,filter;
}

.scc-historical-page .hero-moving .hero-video{
  position:absolute;
  inset:0;
  z-index:1;
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:.9;
}

.scc-historical-page .hero-moving.video-fallback .hero-video,
.scc-historical-page .hero-moving:not(.video-ready) .hero-video{
  opacity:0;
}

.scc-historical-page .hero-moving .hero-media::after{
  z-index:2;
}

@keyframes sccHistoricalBannerDrift{
  0%{transform:scale(1.04) translate3d(-1.2%,0,0);filter:saturate(1.04) brightness(.96)}
  50%{transform:scale(1.08) translate3d(1.3%,-.8%,0);filter:saturate(1.16) brightness(1)}
  100%{transform:scale(1.05) translate3d(-.4%,1%,0);filter:saturate(1.08) brightness(.98)}
}

@media (prefers-reduced-motion:reduce){
  .scc-historical-page .hero-moving .hero-media::before{
    animation:none;
  }
}


/* v25: align historical banner with main site and avoid over-dominant chart cards. */
body.scc-historical-page .hero-gradient{padding:54px 0 58px !important;background:#06172e !important;}
body.scc-historical-page .hero-copy h1{font-size:clamp(34px,4.2vw,54px) !important;max-width:900px !important;}
body.scc-historical-page .hero-media:after{background:linear-gradient(90deg,rgba(6,23,46,.84),rgba(8,29,56,.62),rgba(8,29,56,.24)) !important;}
body.scc-historical-page .brand-logo{height:56px !important;max-width:320px !important;object-fit:contain !important;}
body.scc-historical-page #lenderChart{height:300px !important;}
@media(max-width:900px){body.scc-historical-page .hero-gradient{padding:44px 0 48px !important;}body.scc-historical-page .brand-logo{height:48px !important;max-width:230px !important;}}

/* Final shell harmonisation: match the original V4 hero proportions without a new overlay layer. */
body.scc-historical-page .hero-gradient{padding:54px 0 58px !important;background:#06172e !important;}
body.scc-historical-page .hero-media::before{background-image:url("banners/desktop_banner_1.png") !important;}
body.scc-historical-page .hero-media::after{background:linear-gradient(90deg,rgba(6,23,46,.62),rgba(9,47,84,.38) 52%,rgba(8,127,121,.22)) !important;}
body.scc-historical-page .hero-video{opacity:.72 !important;object-position:center center !important;}
body.scc-historical-page .hero-grid{width:min(1380px,calc(100% - 44px)) !important;}
body.scc-historical-page .hero-panel{gap:12px !important;padding:20px 22px !important;}
@media(max-width:720px){body.scc-historical-page .hero-gradient{padding:28px 0 32px !important;}body.scc-historical-page .hero-grid{width:min(100% - 24px,1380px) !important;}}

/* v26 hero parity: keep the dashboard hero the same depth as the core pages and make KPI cards a scroll rail. */
body.scc-historical-page .hero-gradient{padding:54px 0 58px !important;min-height:360px !important;}
body.scc-historical-page .hero-grid{grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr) !important;align-items:center !important;}
body.scc-historical-page .hero-panel{display:flex !important;gap:12px !important;overflow-x:auto !important;overflow-y:hidden !important;scroll-snap-type:x mandatory !important;-webkit-overflow-scrolling:touch !important;padding:0 0 8px !important;max-width:100% !important;}
body.scc-historical-page .hero-panel::-webkit-scrollbar{height:6px}
body.scc-historical-page .hero-panel::-webkit-scrollbar-thumb{background:rgba(255,255,255,.35);border-radius:999px}
body.scc-historical-page .hero-panel .metric{flex:0 0 min(340px,100%) !important;min-height:154px !important;scroll-snap-align:start !important;}
@media(max-width:1024px){body.scc-historical-page .hero-grid{grid-template-columns:1fr !important;}body.scc-historical-page .hero-panel{width:100% !important;}body.scc-historical-page .hero-panel .metric{flex-basis:clamp(260px,70vw,340px) !important;}}
@media(max-width:720px){body.scc-historical-page .hero-gradient{padding:34px 0 38px !important;min-height:360px !important;}}
/* v28 dashboard hero repair: same banner footprint as core pages, one rotating KPI card, no stacked/clipped cards. */
html body.scc-historical-page main#main,html body.scc-weekly-page main#main{max-width:none !important;width:100% !important;margin:0 !important;padding:0 !important;overflow:hidden !important;}
html body.scc-historical-page .hero-gradient,html body.scc-weekly-page .weekly-hero{width:100% !important;margin:0 !important;padding:54px 0 58px !important;min-height:420px !important;background:#06172e !important;}
html body.scc-historical-page .hero-grid,html body.scc-weekly-page .weekly-hero-grid{width:min(1380px,calc(100% - 44px)) !important;max-width:1380px !important;margin:0 auto !important;display:grid !important;grid-template-columns:minmax(0,1.25fr) minmax(360px,.75fr) !important;gap:30px !important;align-items:center !important;}
html body.scc-historical-page .hero-panel,html body.scc-weekly-page .hero-panel{position:relative !important;display:block !important;width:100% !important;min-height:168px !important;max-width:520px !important;margin-left:auto !important;overflow:hidden !important;padding:0 !important;}
html body.scc-historical-page .hero-panel .metric,html body.scc-weekly-page .hero-panel .metric{position:absolute !important;inset:0 !important;width:100% !important;min-height:168px !important;border-radius:22px !important;padding:24px 26px !important;opacity:0 !important;transform:translateX(28px) !important;animation:sccHeroMetricRotate 15s ease-in-out infinite !important;}
html body.scc-historical-page .hero-panel .metric:nth-child(1),html body.scc-weekly-page .hero-panel .metric:nth-child(1){animation-delay:0s !important;}
html body.scc-historical-page .hero-panel .metric:nth-child(2),html body.scc-weekly-page .hero-panel .metric:nth-child(2){animation-delay:5s !important;}
html body.scc-historical-page .hero-panel .metric:nth-child(3),html body.scc-weekly-page .hero-panel .metric:nth-child(3){animation-delay:10s !important;}
@keyframes sccHeroMetricRotate{0%,8%{opacity:0;transform:translateX(28px)}12%,30%{opacity:1;transform:translateX(0)}36%,100%{opacity:0;transform:translateX(-28px)}}
@media(max-width:1024px){html body.scc-historical-page .hero-grid,html body.scc-weekly-page .weekly-hero-grid{grid-template-columns:1fr !important;}html body.scc-historical-page .hero-panel,html body.scc-weekly-page .hero-panel{margin-left:0 !important;max-width:520px !important;}}
@media(max-width:720px){html body.scc-historical-page .hero-gradient,html body.scc-weekly-page .weekly-hero{padding:34px 0 38px !important;min-height:500px !important;}html body.scc-historical-page .hero-grid,html body.scc-weekly-page .weekly-hero-grid{width:min(100% - 28px,1380px) !important;}html body.scc-historical-page .hero-panel,html body.scc-weekly-page .hero-panel{min-height:158px !important;}html body.scc-historical-page .hero-panel .metric,html body.scc-weekly-page .hero-panel .metric{min-height:158px !important;padding:20px 22px !important;}}
@media(prefers-reduced-motion:reduce){html body.scc-historical-page .hero-panel .metric,html body.scc-weekly-page .hero-panel .metric{animation:none !important;opacity:0 !important;transform:none !important;}html body.scc-historical-page .hero-panel .metric:first-child,html body.scc-weekly-page .hero-panel .metric:first-child{opacity:1 !important;}}
/* v29 uniform dashboard hero carousel: match core pages with a visible rotating banner-card on desktop and mobile. */
html body.scc-historical-page .hero-gradient,html body.scc-weekly-page .weekly-hero{width:100% !important;margin:0 !important;padding:50px 0 56px !important;min-height:0 !important;background:#06172e !important;}
html body.scc-historical-page .hero-grid,html body.scc-weekly-page .weekly-hero-grid{position:relative !important;z-index:1 !important;width:min(1380px,calc(100% - 44px)) !important;max-width:1380px !important;margin:0 auto !important;display:grid !important;grid-template-columns:minmax(0,1fr) minmax(360px,540px) !important;gap:34px !important;align-items:center !important;}
html body.scc-historical-page .hero-panel.banner-card,html body.scc-weekly-page .hero-panel.banner-card{position:relative !important;display:block !important;align-self:center !important;width:100% !important;max-width:540px !important;min-height:224px !important;margin:0 0 0 auto !important;padding:0 !important;overflow:hidden !important;border:1px solid rgba(255,255,255,.24) !important;border-radius:20px !important;background:linear-gradient(135deg,rgba(15,39,68,.82),rgba(31,113,118,.68)) !important;box-shadow:0 22px 58px rgba(0,0,0,.2) !important;backdrop-filter:blur(10px) !important;}
html body.scc-historical-page .hero-panel.banner-card .metric,html body.scc-weekly-page .hero-panel.banner-card .metric{position:absolute !important;inset:0 !important;display:flex !important;flex-direction:column !important;justify-content:center !important;width:100% !important;min-height:0 !important;padding:28px 34px 46px !important;border:0 !important;border-radius:0 !important;background:transparent !important;box-shadow:none !important;backdrop-filter:none !important;color:#fff !important;opacity:0 !important;transform:translateX(24px) !important;animation:sccDashboardCardCycle 15s ease-in-out infinite !important;}
html body.scc-historical-page .hero-panel.banner-card .metric:nth-child(1),html body.scc-weekly-page .hero-panel.banner-card .metric:nth-child(1){animation-delay:0s !important;}
html body.scc-historical-page .hero-panel.banner-card .metric:nth-child(2),html body.scc-weekly-page .hero-panel.banner-card .metric:nth-child(2){animation-delay:5s !important;}
html body.scc-historical-page .hero-panel.banner-card .metric:nth-child(3),html body.scc-weekly-page .hero-panel.banner-card .metric:nth-child(3){animation-delay:10s !important;}
html body.scc-historical-page .hero-panel.banner-card .metric span,html body.scc-weekly-page .hero-panel.banner-card .metric span{font-size:13px !important;letter-spacing:.04em !important;color:rgba(255,255,255,.82) !important;}
html body.scc-historical-page .hero-panel.banner-card .metric strong,html body.scc-weekly-page .hero-panel.banner-card .metric strong{display:block !important;margin:10px 0 !important;font-size:clamp(34px,5vw,48px) !important;line-height:1 !important;color:#fff !important;}
html body.scc-historical-page .hero-panel.banner-card .metric small,html body.scc-weekly-page .hero-panel.banner-card .metric small{font-size:15px !important;line-height:1.45 !important;color:rgba(255,255,255,.84) !important;}
html body.scc-historical-page .hero-panel.banner-card .dots,html body.scc-weekly-page .hero-panel.banner-card .dots{position:absolute !important;left:26px !important;bottom:22px !important;display:flex !important;gap:8px !important;z-index:3 !important;}
html body.scc-historical-page .hero-panel.banner-card .dot,html body.scc-weekly-page .hero-panel.banner-card .dot{width:12px !important;height:12px !important;border-radius:999px !important;background:rgba(255,255,255,.4) !important;}
html body.scc-historical-page .hero-panel.banner-card .dot.active,html body.scc-weekly-page .hero-panel.banner-card .dot.active{background:#fff !important;}
@keyframes sccDashboardCardCycle{0%,6%{opacity:0;transform:translateX(24px)}10%,31%{opacity:1;transform:translateX(0)}37%,100%{opacity:0;transform:translateX(-24px)}}
@media(max-width:900px){html body.scc-historical-page .hero-gradient,html body.scc-weekly-page .weekly-hero{padding:42px 0 50px !important;min-height:0 !important;}html body.scc-historical-page .hero-grid,html body.scc-weekly-page .weekly-hero-grid{width:min(100% - 40px,1380px) !important;grid-template-columns:1fr !important;gap:0 !important;}html body.scc-historical-page .hero-panel.banner-card,html body.scc-weekly-page .hero-panel.banner-card{max-width:none !important;min-height:224px !important;margin:26px 0 0 !important;}html body.scc-historical-page .hero-actions,html body.scc-weekly-page .hero-actions{display:grid !important;grid-template-columns:1fr !important;gap:10px !important;margin-top:26px !important;}html body.scc-historical-page .hero-actions .btn,html body.scc-weekly-page .hero-actions .btn{width:100% !important;min-height:62px !important;border-radius:10px !important;}}
@media(max-width:560px){html body.scc-historical-page .hero-copy h1,html body.scc-weekly-page .weekly-hero h1{font-size:clamp(40px,11vw,56px) !important;line-height:1.03 !important;}html body.scc-historical-page .lead,html body.scc-weekly-page .lead{font-size:21px !important;line-height:1.55 !important;}html body.scc-historical-page .hero-panel.banner-card .metric,html body.scc-weekly-page .hero-panel.banner-card .metric{padding:24px 24px 46px !important;}html body.scc-historical-page .hero-panel.banner-card .metric strong,html body.scc-weekly-page .hero-panel.banner-card .metric strong{font-size:34px !important;}}
@media(prefers-reduced-motion:reduce){html body.scc-historical-page .hero-panel.banner-card .metric,html body.scc-weekly-page .hero-panel.banner-card .metric{animation:none !important;opacity:0 !important;transform:none !important;}html body.scc-historical-page .hero-panel.banner-card .metric:first-child,html body.scc-weekly-page .hero-panel.banner-card .metric:first-child{opacity:1 !important;}}
