
/* Original: assets/style.css */
:root{color-scheme:dark;
  --bg:#050d19;
  --panel:#101f32;
  --panel2:#14263c;
  --stroke:#57708b;
  --orange:#dc2626;
  --yellow:#ff0000;
  --text:#f6f8ff;
  --muted:#b9c8db}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:radial-gradient(ellipse at 50% 0%,#102745 0%,#06101e 45%,#040a14 100%);
  font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:var(--text);font-size:15px}
a{color:#fff;text-decoration:none}
button{font:inherit;cursor:pointer}
em{font-style:normal;color:var(--yellow)}
.top{background:linear-gradient(110deg,#0b1a2d,#ff0000 58%,#ed0000);
  box-shadow:0 5px 28px #0005}
.top-inner
{
  max-width:1500px;
  margin:auto;
  min-height:88px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 30px;
  gap:18px}
.brand{display:flex;align-items:center;gap:12px}.brand img{width:70px;height:70px;object-fit:contain;filter:drop-shadow(0 4px 8px #3218)}
.brand strong{font-size:clamp(23px,2.5vw,38px);letter-spacing:-1.5px;white-space:nowrap;font-weight:900}
.brand small{display:block;font-size:14px;margin-top:2px}.head-right{display:flex;align-items:center;gap:18px}
.today{background:#b900002a;padding:10px 16px;border-radius:15px;font-weight:700}
.today small{display:block;font-weight:400;font-size:12px}
.head-right button{border:0;background:#12263a;color:#fff;border-radius:25px;padding:10px 14px;font-size:20px}
.head-right 
.bell,.head-right 
.hamb{background:transparent;font-size:27px}
.wrap{max-width:1500px;margin:auto;padding:0 26px 30px}
.nav{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;background:#0b1a2d;border-radius:0 0 20px 20px;padding:8px;margin-bottom:16px}
.nav a{text-align:center;padding:15px 8px;font-weight:800;border-radius:12px;color:#e4ecf7;transition:.2s}
.nav a:hover{background:#1e344d}
.nav a.active{background:linear-gradient(110deg,#ff0000,#ff0000);
  box-shadow:inset 0 0 0 1px #ff4040,0 3px 14px #dc262650;color:white}
.hero{height:clamp(200px,22vw,300px);
  position:relative;border-radius:23px;overflow:hidden;border:1px solid #5b78a1;background:#07162e;margin-bottom:16px}
.hero>img{width:100%;height:100%;object-fit:cover;object-position:center}
.hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#020b20f2 0%,#06112cce 28%,#06112c35 62%,transparent)}
.hero-overlay{position:absolute;z-index:1;top:50%;left:5%;transform:translateY(-50%)}
.live-chip{background:#e91526;color:white;border-radius:40px;padding:6px 14px;font-weight:900;font-size:13px}
.hero h1{font-size:clamp(30px,4vw,54px);letter-spacing:-2px;margin:8px 0 2px;font-weight:900}
.hero p{font-size:clamp(15px,1.8vw,23px);margin:0 0 12px}
.hero ul{list-style:none;padding:0;margin:0;display:grid;gap:6px}.hero li:before{content:'✓';
  background:#dc2626;border-radius:50%;padding:2px 5px;margin-right:9px;font-weight:900}
.twocards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:16px}
.mini,
.panel,
.countdown{background:linear-gradient(125deg,#1a2d40,#09192b 62%,#10243a);
  border:1px solid var(--stroke);border-radius:20px;box-shadow:inset 0 1px #ffffff0c}
.mini{display:flex;align-items:center;gap:17px;padding:16px 24px;min-height:96px}
.miniicon{font-size:33px;color:#ef4444;background:#dc262625;padding:12px;border-radius:14px;text-shadow:0 0 16px #dc2626}
.mini h2{font-size:20px;margin:0 0 6px}
.mini p{margin:0;color:#d7e0ec}
.mini .arrow{margin-left:auto;font-size:30px;color:#a9bcd2}
.status.good{color:#58f6a3!important}
.status.warn{color:#ff7373!important}
.countdown{
  position:relative;
  overflow:hidden;
  text-align:center;
  padding:15px 15px 18px;
  margin-bottom:16px;
  border-color:#dc2626;
  background:radial-gradient(ellipse at 50% 130%,#b70000 0%,#1c2532 50%,#0a1727 85%)}
.countdown:before,
.countdown:after{content:'';
  position:absolute;
  width:50%;
  height:85px;
  bottom:-55px;
  border:8px solid #ef4444;
  border-radius:50%;
  filter:blur(7px);pointer-events:none}
.countdown:before{left:-10%}
.countdown:after{right:-10%}
.countdown h2{font-size:clamp(16px,1.7vw,23px);margin:0 0 13px}
.digits{display:flex;align-items:center;justify-content:center;gap:12px}
.digits>div{display:grid;gap:5px;min-width:100px}
.digits b{font-size:clamp(30px,4vw,55px);
  font-variant-numeric:tabular-nums;
  letter-spacing:2px;
  background:linear-gradient(#171923,#060b16);
  border:1px solid #ff0000;
  border-radius:14px;
  box-shadow:0 0 16px #dc2626aa,inset 0 0 14px #dc262640;
  padding:6px 15px}
.digits small{font-size:12px;font-weight:800}
.digits i{font-size:35px;font-style:normal;font-weight:900;transform:translateY(-12px)}
.dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.dashboard-main,.dashboard-side{min-width:0;display:flex;flex-direction:column;gap:16px}
.panel{padding:20px 22px;margin-bottom:16px}
.dashboard-grid 
.panel{margin-bottom:0}
.sectionhead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.sectionhead h2,
.side-intro h2{margin:0;font-size:clamp(17px,1.7vw,23px);letter-spacing:-.5px}
.sectionhead p{margin:5px 0 0;color:#c5d5e7;font-size:13px}
.sectionhead a{color:#ff0000;font-weight:800;white-space:nowrap;font-size:13px}
.official
{
  background:#056e3b;
  border:1px solid #00e578;
  border-radius:12px;
  padding:9px 11px;
  white-space:nowrap;
  font-weight:700;
  font-size:12px}
.balls{display:flex;justify-content:center;gap:12px;margin:18px 0 15px}
.balls span
{
  display:grid;place-items:center;width:min(20%,100px);aspect-ratio:1.2;
  border-radius:16px;
  background:radial-gradient(ellipse at 50% 35%,#0a0d15,#0a0d15 75%);
  border:2px solid #ff0000;
  box-shadow:0 0 16px #dc2626aa,inset 0 0 16px #dc262644;
  font-size:clamp(33px,5vw,70px);
  font-weight:900;
  text-shadow:0 0 2px #fff9}
.resultsub{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.resultsub div{text-align:center;background:#172c43;border:1px solid #3b5876;border-radius:13px;padding:9px;font-weight:800}
.resultsub strong{display:block;color:var(--yellow);font-size:30px;line-height:1.1}
.tablewrap{overflow-x:auto}
table{border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums}
th{background:#20354d;color:#dce7f5;padding:10px 8px;font-size:13px}
td{padding:9px 7px;text-align:center;border-bottom:1px solid #2a3b50;font-weight:650}
td:first-child,
th:first-child{text-align:left}
tr:last-child 
td{border-bottom:0}
.pill
{
  display:inline-block;
  background:linear-gradient(#9d0000,#ef0000,#9a0000);
  border:1px solid #ff0000;
  border-radius:22px;
  padding:5px 20px;
  box-shadow:0 0 12px #ff000065;
  font-weight:900;
  letter-spacing:1px}
.paito p,
.side-intro p{color:#486b86;font-size:13px;line-height:1.65}
.paitotable td,
.paitotable th{border:1px solid #456079;text-align:center;padding:7px 5px}
.paitodigit{display:inline-grid;place-items:center;width:29px;height:29px;border-radius:6px;color:#06111f;font-weight:900}
.side-intro{padding:14px 20px}.side-intro p{margin:7px 0 0}
.shortcuts{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:18px 0 25px}
.shortcuts a{display:grid;place-items:center;text-align:center;gap:12px;padding:20px 10px;border:1px solid #ef4444;
  border-radius:20px;background:linear-gradient(145deg,#721e1e,#281d21);font-weight:900;min-height:125px}
.shortcuts a:nth-child(2){background:linear-gradient(145deg,#173c60,#101c2d);border-color:#87b5de}
.shortcuts a:nth-child(3){background:linear-gradient(145deg,#571616,#211b17);border-color:#ff0000}
.shortcuts a span{font-size:42px;color:#dc2626}
.shortcuts a:nth-child(3) 
span{color:#ff0000}
.article{line-height:1.8;max-width:960px;margin:20px auto}
.article h1{font-size:30px}
.empty{color:#d3e0ed;text-align:center;padding:22px}
.sponsor{display:block;margin:12px auto;max-width:950px}
.sponsor img{max-width:100%;height:auto;display:block;margin:auto}
footer{border-top:1px solid #40546d;text-align:center;padding:22px 10px;color:#dce5f1}
footer strong{color:white}
footer p{font-size:12px;color:#8fa5bb;max-width:850px;margin:12px auto 0}
.light{--text:#102238;--muted:#435c76;background:#e7edf5;color:#102238}
.light .panel,
.light .mini{background:#fff;color:#14263d}
.light .mini p,
.light .sectionhead p,
.light .paito p{color:#425870}
.light .nav{background:#243850}
.light .resultsub div{color:white}
.light .countdown{color:white}
@media(min-width:1000px)
{
  .dashboard-grid .dashboard-side .paito{flex:1}
  .dashboard-grid 
  .dashboard-side 
  .side-intro{display:none}
  .dashboard-grid 
  .dashboard-side .paito .tablewrap{flex:1}.dashboard-grid .dashboard-side .paito p{margin-top:4px}}
@media(max-width:900px){.top-inner{padding:10px 16px}.brand img{width:55px;height:55px}.brand strong{font-size:25px}.head-right{gap:6px}.today,.theme,.bell{display:none!important}.wrap{padding:0 12px 20px}.nav{display:flex;overflow-x:auto;scrollbar-width:none}.nav a{flex:0 0 auto;padding:13px 16px;font-size:13px}.dashboard-grid{grid-template-columns:1fr}.dashboard-main,.dashboard-side{gap:13px}.panel{margin-bottom:13px}.hero{height:225px}.twocards{gap:10px}.mini{padding:12px;gap:9px;min-height:80px}.mini h2{font-size:14px}.mini p{font-size:11px}.miniicon{font-size:24px;padding:9px}.mini .arrow{display:none}.dashboard-grid .side-intro{display:none}.shortcuts{gap:9px}.shortcuts a{font-size:12px;min-height:100px}.shortcuts a span{font-size:30px}}
@media(max-width:520px){.brand strong{font-size:22px}.brand small{font-size:10px}.brand img{width:45px;height:45px}.top-inner{min-height:65px}.head-right .hamb{font-size:22px;padding:8px}.nav{margin-bottom:12px}.hero{height:205px;border-radius:15px}.hero-overlay{left:5%}.hero h1{font-size:29px;letter-spacing:-1px}.hero p{font-size:14px}.hero li{font-size:11px}.hero ul{gap:5px}.live-chip{font-size:10px}.mini{border-radius:14px}.mini h2{font-size:12px}.mini p{font-size:10px}.miniicon{font-size:20px;padding:7px}.countdown{border-radius:15px}.countdown h2{font-size:15px}.digits{gap:7px}.digits>div{min-width:75px}.digits b{font-size:34px;padding:6px 8px}.digits i{font-size:24px}.panel{padding:14px 12px;border-radius:15px}.sectionhead h2{font-size:16px}.sectionhead a,.official{font-size:10px}.official{padding:6px}.balls{gap:8px}.balls span{font-size:39px;border-radius:11px}.resultsub strong{font-size:25px}th,td{font-size:11px;padding:8px 5px}.pill{padding:5px 11px}.shortcuts a{padding:10px 4px;min-height:80px;font-size:10px;border-radius:12px}.shortcuts a span{font-size:23px}footer{font-size:12px}}

/* Paito manual painting */
.paito-tools{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:12px 0}.tool-label{font-size:13px;font-weight:800}.paito-palette{display:flex;flex-wrap:wrap;gap:7px}.paito-swatch{width:30px;height:30px;border-radius:8px;border:2px solid #6a8097;cursor:pointer}.paito-swatch.chosen{outline:3px solid #fff;outline-offset:2px}.paito-tool-btn{background:#172e47;color:#fff;border:1px solid #65809b;padding:8px 11px;border-radius:9px;font-weight:700}.paito-tool-btn.chosen{background:#c40000;border-color:#ff0000}.paito-hint{font-size:12px!important;color:#b7cce2!important}.paitodigit{border:1px solid #ffffff70;cursor:pointer;font:inherit;font-weight:900;transition:transform .12s}.paitodigit:hover,.paitodigit:focus-visible{transform:scale(1.12);outline:2px solid #fff;outline-offset:2px}.paitodigit.manual-colored{box-shadow:inset 0 0 0 2px #fff8}


/* App install promotion: separate module, preserves user's existing CSS */
.install-promo{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:13px 0 17px;padding:13px 19px;border:1px solid #ff2f2f;border-radius:17px;background:linear-gradient(110deg,#851414 0%,#2b2134 37%,#102b48 78%,#0b1a2e 100%);box-shadow:0 5px 22px #ff00001b;color:#fff}
.install-promo[hidden],.install-guide[hidden]{display:none!important}
.install-promo-brand{display:flex;align-items:center;gap:13px;min-width:0;flex:1}
.install-promo-brand img{width:62px;height:62px;object-fit:contain;border-radius:13px;background:#0a2039;box-shadow:0 0 0 1px #ff4c4c,0 4px 16px #0007}
.install-promo-brand h2{font-size:clamp(16px,2vw,22px);margin:0 0 4px;font-weight:800;line-height:1.2;color:white}
.install-promo-brand h2 em{font-style:normal;color:#ff0000}
.install-promo-brand p{font-size:12px;color:#e0e8f3;margin:0;line-height:1.4}
.install-promo-benefits{display:flex;gap:16px;border-left:1px solid #ffffff55;padding-left:18px}
.install-promo-benefits span{display:flex;align-items:center;flex-direction:column;font-size:20px;color:#ff1b1b;gap:2px}
.install-promo-benefits small{font-size:10px;color:white}
.install-promo-actions{display:flex;align-items:center;gap:12px}
.install-promo-btn{white-space:nowrap;border:1px solid #ff5b5b;border-radius:24px;padding:12px 21px;background:linear-gradient(180deg,#ff0000,#ff0000);color:white;font-size:15px;font-weight:800;cursor:pointer;box-shadow:0 3px 10px #ff000050}
.install-promo-btn:hover{filter:brightness(1.12)}
.install-promo-dismiss{border:0;background:transparent;color:#e2e8f1;text-decoration:underline;cursor:pointer;font-size:11px;white-space:nowrap}
.install-guide{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;background:#000b;padding:20px}
.install-guide-card{position:relative;width:min(420px,100%);background:#11243b;border:1px solid #ff1818;border-radius:17px;padding:27px;color:white;box-shadow:0 12px 45px #0009}
.install-guide-card h2{margin:0 0 12px;font-size:22px}.install-guide-card p{line-height:1.6;color:#e0e8f3}
.install-guide-close{position:absolute;right:14px;top:9px;font-size:27px;color:white;border:0;background:transparent;cursor:pointer}
.install-guide-ok{background:#dc2626;border:0;border-radius:10px;color:white;font-weight:800;padding:10px 20px;cursor:pointer}
@media(max-width:900px){.install-promo-benefits{display:none}.install-promo{padding:12px 14px}}
@media(max-width:600px){.install-promo{flex-wrap:wrap;gap:9px;margin:10px 0 13px;padding:11px 12px}.install-promo-brand{flex-basis:100%}.install-promo-brand img{width:48px;height:48px}.install-promo-brand h2{font-size:16px}.install-promo-brand p{font-size:11px}.install-promo-actions{width:100%;justify-content:center;gap:17px}.install-promo-btn{font-size:13px;padding:9px 25px}.install-promo-dismiss{font-size:11px}}

/* Web Partner drawer - isolated from existing design */
.partner-backdrop[hidden]{display:none!important}
.partner-backdrop{position:fixed;inset:0;background:rgba(1,8,19,.72);z-index:1200;backdrop-filter:blur(3px)}
.partner-drawer{position:fixed;top:0;right:0;bottom:0;width:min(390px,92vw);z-index:1201;overflow-y:auto;background:linear-gradient(155deg,#162a44,#071321 70%);border-left:1px solid rgba(220,38,38,.55);box-shadow:-15px 0 55px #0009;color:#fff;padding:22px;transform:translateX(105%);transition:transform .25s ease;visibility:hidden}
.partner-drawer.is-open{transform:translateX(0);visibility:visible}
.partner-drawer-head{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #ffffff25;padding-bottom:18px}
.partner-eyebrow{font-size:11px;font-weight:800;letter-spacing:1.4px;color:#ff3636}
.partner-drawer h2{margin:5px 0;font-size:25px;color:#fff}
.partner-drawer p{margin:0;color:#b6c9dc;font-size:13px;line-height:1.5}
.partner-close{background:#dc2626;color:#fff;border:0;border-radius:12px;width:40px;height:40px;font-size:27px;cursor:pointer;flex:none}
.partner-links{display:grid;gap:10px;padding:20px 0}
.partner-link{display:flex;align-items:center;gap:12px;background:#172c44;border:1px solid #38516b;border-radius:13px;padding:13px;color:#fff;text-decoration:none;font-weight:700;font-size:14px;transition:background .15s,border-color .15s}
.partner-link:hover,.partner-link:focus-visible{background:#263e58;border-color:#dc2626;color:#fff}
.partner-link-icon{display:grid;place-items:center;background:#dc262624;color:#ff2b2b;border-radius:9px;width:35px;height:35px;font-size:18px}
.partner-external{margin-left:auto;color:#ff3636}
.partner-note{border-top:1px solid #ffffff25;padding-top:14px!important}
body.partner-menu-open{overflow:hidden}
@media(prefers-reduced-motion:reduce){.partner-drawer{transition:none}}

/* SEO editorial: preserve existing dashboard theme */
.seo-links,.seo-page-intro{margin:18px 0;padding:20px;border:1px solid #3b536e;border-radius:18px;background:#102036;color:#e8f1fc}
.seo-links h2,.seo-page-intro h1{margin:0 0 12px}.seo-links a,.article a{color:#ff3b3b;text-decoration:underline;text-underline-offset:3px}
.seo-links ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:9px 24px;padding-left:20px}
.seo-article-card{padding:15px 0;border-bottom:1px solid #34475f}.seo-article-card h2{margin:0 0 8px}.article article p{line-height:1.85}.article article h2{margin-top:24px}.article nav{margin-bottom:16px;line-height:1.7}

/* SDY432D accessible theme overrides */
body:not(.light){color:var(--text)}
body:not(.light) .panel,body:not(.light) .mini{color:#f6f8ff}
body:not(.light) .panel a{color:#ff7676}
body.light{color:#102238;background:#e7edf5}
body.light .panel,body.light .mini,body.light .seo-page-intro,body.light .article{color:#14263d;background:#fff}
body.light .panel a,body.light .article a,body.light .seo-links a{color:#a80000}
body.light .panel p,body.light .panel td,body.light .panel th,body.light .seo-page-intro p{color:#233b55}
body.light .panel .pill,body.light .panel .paitodigit{color:#101b2b}
body.light .nav a,body.light .top,body.light .top a,body.light .hero,body.light .countdown,body.light .resultsub{color:#fff}
body.light .install-promo,body.light .install-promo *{color:#fff}

/* Default paito selalu putih; warna hanya muncul setelah pengguna memilihnya. */
.paitotable .paitodigit{background:#fff;color:#111827;border:1px solid #a4b3c3}
.paitotable .paitodigit.manual-colored{color:#111827}
body.light .paitotable .paitodigit{color:#111827}
.sdy-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:16px 0 4px;font-size:14px}.sdy-pagination>div{display:flex;gap:6px;flex-wrap:wrap}.sdy-pagination a{border:1px solid #ef4949;border-radius:8px;padding:7px 11px;color:inherit;text-decoration:none}.sdy-pagination a[aria-current=page]{background:#dc2626;color:#fff;font-weight:700}

.visitor-stats{margin:20px 0 18px}.visitor-stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.visitor-stat{border:1px solid var(--border,#dce1e7);border-radius:12px;padding:13px;background:transparent;color:inherit;min-width:0}
.visitor-stat span{display:block;font-size:12px;opacity:.8;margin-bottom:5px}.visitor-stat strong{display:block;font-size:clamp(18px,2.3vw,25px);color:inherit;font-variant-numeric:tabular-nums}
.visitor-disclaimer{font-size:12px;opacity:.75;margin:12px 0 0}@media(max-width:600px){.visitor-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* SDY readability patch v4: accessible contrast in both themes */
.result .balls span,
.light .result .balls span,
body.light .result .balls span {
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  text-shadow:0 1px 3px rgba(0,0,0,.75)!important;
}
.result .resultsub div,
.light .result .resultsub div {background:#172c43!important;color:#ffffff!important}
.result .resultsub strong,
.light .result .resultsub strong {color:#ff8282!important}
.result .sectionhead h2,.light .result .sectionhead h2 {color:var(--text)!important}
.light .result .sectionhead p {color:#334155!important}
.light .result .official {color:#ffffff!important;background:#056e3b!important}
.sdytools .sdy-heatmap td,.sdy-mini-heatmap .sdy-heatmap td,
.light .sdytools .sdy-heatmap td,.light .sdy-mini-heatmap .sdy-heatmap td {
  color:#430707!important;
  -webkit-text-fill-color:#430707!important;
  text-shadow:none!important;
  font-weight:800!important;
  border:1px solid #a10707!important;
  font-variant-numeric:tabular-nums;
}
.sdytools .sdy-heatmap th,.sdy-mini-heatmap .sdy-heatmap th,
.light .sdytools .sdy-heatmap th,.light .sdy-mini-heatmap .sdy-heatmap th {
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  background:#7c1212!important;
  border:1px solid #991b1b!important;
}
.sdytools .sdy-heatmap,.sdy-mini-heatmap .sdy-heatmap{border:1px solid #991b1b}
.light .sdytools,.light .sdy-mini-heatmap{color:#172033!important}
.light .sdytools h1,.light .sdytools h2,.light .sdy-mini-heatmap h2{color:#172033!important}
.light .sdytools p,.light .sdy-mini-heatmap p,.light .sdytools label,
.light .sdytools #sdyNotifyStatus,.light .sdytools .sdy-pager span{color:#334155!important}
.light .sdytools a,.light .sdy-mini-heatmap a{color:#991b1b!important}
.light .sdytools .sdy-stats>div{background:#fef2f2!important;color:#7c1212!important}
.light .sdytools .sdy-stats small,.light .sdytools .sdy-stats strong{color:#7c1212!important}
.light .sdytools .sdy-controls input,.light .sdytools .sdy-controls select{background:#fff!important;color:#111827!important}
.light .sdytools .sdy-tools-table td{background:#fff!important;color:#111827!important}
.light .sdytools .sdy-tools-table th{background:#7c1212!important;color:#fff!important}


/* Original: assets/analysis.css */

/* Dashboard analisis historis */
.ana-panel{margin:22px 0}.ana-panel h2{margin:27px 0 10px;font-size:1.2rem}.ana-panel p{line-height:1.65}
.ana-filters,.ana-search{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:18px 0;padding:14px;border:1px solid #e2e8f0;border-radius:12px}
.ana-filters select,.ana-search input{padding:10px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#111827;max-width:220px}
.ana-filters button,.ana-search button{padding:10px 16px;background:#b91c1c;color:#fff;border:0;border-radius:8px;cursor:pointer}
.ana-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:12px;margin:15px 0}
.ana-stats>div{padding:15px;border-radius:12px;background:#fef2f2;border:1px solid #fecaca;display:flex;flex-direction:column;gap:8px}
.ana-stats small{color:#7c1212}.ana-stats strong{font-size:1.35rem;color:#991b1b}
.ana-bars{display:grid;gap:10px;margin:16px 0}.ana-bar{display:grid;grid-template-columns:24px minmax(50px,1fr) 120px;align-items:center;gap:10px;font-size:.9rem}
.ana-track{height:13px;background:#fee2e2;border-radius:12px;overflow:hidden}.ana-track span{display:block;height:100%;background:#dc2626;border-radius:12px}
.ana-table{width:100%;border-collapse:collapse;text-align:center;min-width:470px}.ana-table th,.ana-table td{border:1px solid #e2e8f0;padding:9px 6px}.ana-table th{background:#fef2f2;color:#7c1212}.ana-table small{display:block;font-size:.72rem;color:#64748b}
.ana-pairs{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:18px}.ana-formula{padding:18px;border-left:4px solid #dc2626;background:#fef2f2;border-radius:8px;font-weight:600}
@media(max-width:600px){.ana-bar{grid-template-columns:18px minmax(50px,1fr) 95px;font-size:.8rem}.ana-panel h2{font-size:1.06rem}}


/* Contrast accessibility fixes for SDY dark theme */
.sdytools,.sdy-mini-heatmap,.ana-panel{color:#f8fafc!important}
.sdytools h1,.sdytools h2,.sdytools h3,.sdy-mini-heatmap h2,.ana-panel h1,.ana-panel h2,.ana-panel h3{color:#ffffff!important}
.sdytools p,.sdy-mini-heatmap p,.ana-panel p,.sdytools label,.ana-panel label{color:#e2e8f0!important}
.sdytools .sectionhead p,.sdy-mini-heatmap .sectionhead p,.ana-panel .sectionhead p{color:#cbd5e1!important}
.sdytools a,.sdy-mini-heatmap a,.ana-panel a{color:#ff6b6b!important;text-decoration:underline;text-underline-offset:3px}
.sdytools a:hover,.sdy-mini-heatmap a:hover,.ana-panel a:hover{color:#ffe1b8!important}
.sdytools .sdy-stats>div,.ana-panel .ana-stats>div{background:#fef2f2!important;color:#7c1212!important}
.sdytools .sdy-stats small,.sdytools .sdy-stats strong,.ana-panel .ana-stats small,.ana-panel .ana-stats strong{color:#7c1212!important}
.sdytools .sdy-controls input,.sdytools .sdy-controls select,.ana-panel .ana-filters select,.ana-panel .ana-search input{background:#fff!important;color:#111827!important;border:2px solid #64748b!important}
.sdytools .sdy-controls input::placeholder,.ana-panel .ana-search input::placeholder{color:#475569!important;opacity:1}
.sdytools .sdy-controls button,.sdytools .sdy-notify-btn,.ana-panel .ana-filters button,.ana-panel .ana-search button{background:#991b1b!important;color:#fff!important;font-weight:700}
.sdytools .sdy-tools-table th,.sdytools .sdy-heatmap th,.sdy-mini-heatmap .sdy-heatmap th{background:#7c1212!important;color:#fff!important}
.sdytools .sdy-tools-table td{background:#ffffff!important;color:#111827!important}
.sdytools .sdy-heatmap td,.sdy-mini-heatmap .sdy-heatmap td{color:#111827!important;text-shadow:0 1px 1px #ffffffaa!important}
.ana-panel .ana-table th{background:#7c1212!important;color:#fff!important}
.ana-panel .ana-table td{background:#fff!important;color:#111827!important}
.ana-panel .ana-table td small{color:#475569!important}
.ana-panel .ana-formula{background:#fef2f2!important;color:#7c1212!important}
.ana-panel .ana-formula strong{color:#991b1b!important}
.sdytools .sdy-pager span,.sdytools #sdyNotifyStatus{color:#f8fafc!important}
.sdytools :focus-visible,.ana-panel :focus-visible{outline:3px solid #fb2424!important;outline-offset:2px}


/* Original: assets/features.css */

/* SDY Smart Tools — readable in both light and dark site modes */
.sdytools,.sdy-mini-heatmap{margin:18px 0}
.sdytools h1,.sdytools h2,.sdy-mini-heatmap h2{color:inherit}
.sdytools h2{margin:25px 0 10px;font-size:1.2rem}
.sdy-controls{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:15px 0;padding:12px;border:1px solid #fecaca;border-radius:12px}
.sdy-controls input,.sdy-controls select{padding:10px 12px;border:1px solid #cbd5e1;border-radius:8px;background:#fff!important;color:#111827!important;min-height:42px;max-width:240px}
.sdy-controls button,.sdy-notify-btn{background:#b91c1c;color:#fff!important;border:0;border-radius:8px;padding:11px 16px;cursor:pointer}
.sdy-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin:15px 0}
.sdy-stats>div{background:#fef2f2;color:#7c1212;border:1px solid #fecaca;border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:8px}
.sdy-stats small{color:#991b1b}.sdy-stats strong{color:#7c1212;overflow-wrap:anywhere}
.sdy-tools-table,.sdy-heatmap{border-collapse:collapse;width:100%;text-align:center;min-width:500px}
.sdy-tools-table th,.sdy-tools-table td,.sdy-heatmap th,.sdy-heatmap td{border:1px solid #cbd5e1;padding:9px 6px}
.sdy-tools-table th,.sdy-heatmap th{background:#991b1b!important;color:#fff!important}
.sdy-tools-table td{background:#fff;color:#111827}
.sdy-heatmap td{color:#111827!important;font-weight:700;text-shadow:0 1px 1px rgba(255,255,255,.5)}
.sdy-pager{display:flex;gap:15px;align-items:center;justify-content:center;margin:15px 0}
.sdy-pager a,.sdy-mini-heatmap a{color:#b91c1c}
.sdy-caption{font-size:.85rem;margin:12px 0}
@media(max-width:600px){.sdy-heatmap th,.sdy-heatmap td{padding:7px 4px;font-size:.78rem}}


/* Contrast accessibility fixes for SDY dark theme */
.sdytools,.sdy-mini-heatmap,.ana-panel{color:#f8fafc!important}
.sdytools h1,.sdytools h2,.sdytools h3,.sdy-mini-heatmap h2,.ana-panel h1,.ana-panel h2,.ana-panel h3{color:#ffffff!important}
.sdytools p,.sdy-mini-heatmap p,.ana-panel p,.sdytools label,.ana-panel label{color:#e2e8f0!important}
.sdytools .sectionhead p,.sdy-mini-heatmap .sectionhead p,.ana-panel .sectionhead p{color:#cbd5e1!important}
.sdytools a,.sdy-mini-heatmap a,.ana-panel a{color:#ff6b6b!important;text-decoration:underline;text-underline-offset:3px}
.sdytools a:hover,.sdy-mini-heatmap a:hover,.ana-panel a:hover{color:#ffe1b8!important}
.sdytools .sdy-stats>div,.ana-panel .ana-stats>div{background:#fef2f2!important;color:#7c1212!important}
.sdytools .sdy-stats small,.sdytools .sdy-stats strong,.ana-panel .ana-stats small,.ana-panel .ana-stats strong{color:#7c1212!important}
.sdytools .sdy-controls input,.sdytools .sdy-controls select,.ana-panel .ana-filters select,.ana-panel .ana-search input{background:#fff!important;color:#111827!important;border:2px solid #64748b!important}
.sdytools .sdy-controls input::placeholder,.ana-panel .ana-search input::placeholder{color:#475569!important;opacity:1}
.sdytools .sdy-controls button,.sdytools .sdy-notify-btn,.ana-panel .ana-filters button,.ana-panel .ana-search button{background:#991b1b!important;color:#fff!important;font-weight:700}
.sdytools .sdy-tools-table th,.sdytools .sdy-heatmap th,.sdy-mini-heatmap .sdy-heatmap th{background:#7c1212!important;color:#fff!important}
.sdytools .sdy-tools-table td{background:#ffffff!important;color:#111827!important}
.sdytools .sdy-heatmap td,.sdy-mini-heatmap .sdy-heatmap td{color:#111827!important;text-shadow:0 1px 1px #ffffffaa!important}
.ana-panel .ana-table th{background:#7c1212!important;color:#fff!important}
.ana-panel .ana-table td{background:#fff!important;color:#111827!important}
.ana-panel .ana-table td small{color:#475569!important}
.ana-panel .ana-formula{background:#fef2f2!important;color:#7c1212!important}
.ana-panel .ana-formula strong{color:#991b1b!important}
.sdytools .sdy-pager span,.sdytools #sdyNotifyStatus{color:#f8fafc!important}
.sdytools :focus-visible,.ana-panel :focus-visible{outline:3px solid #fb2424!important;outline-offset:2px}

/* SDY readability patch v4: accessible contrast in both themes */
.result .balls span,
.light .result .balls span,
body.light .result .balls span {
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  text-shadow:0 1px 3px rgba(0,0,0,.75)!important;
}
.result .resultsub div,
.light .result .resultsub div {background:#172c43!important;color:#ffffff!important}
.result .resultsub strong,
.light .result .resultsub strong {color:#ff8282!important}
.result .sectionhead h2,.light .result .sectionhead h2 {color:var(--text)!important}
.light .result .sectionhead p {color:#334155!important}
.light .result .official {color:#ffffff!important;background:#056e3b!important}
.sdytools .sdy-heatmap td,.sdy-mini-heatmap .sdy-heatmap td,
.light .sdytools .sdy-heatmap td,.light .sdy-mini-heatmap .sdy-heatmap td {
  color:#430707!important;
  -webkit-text-fill-color:#430707!important;
  text-shadow:none!important;
  font-weight:800!important;
  border:1px solid #a10707!important;
  font-variant-numeric:tabular-nums;
}
.sdytools .sdy-heatmap th,.sdy-mini-heatmap .sdy-heatmap th,
.light .sdytools .sdy-heatmap th,.light .sdy-mini-heatmap .sdy-heatmap th {
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  background:#7c1212!important;
  border:1px solid #991b1b!important;
}
.sdytools .sdy-heatmap,.sdy-mini-heatmap .sdy-heatmap{border:1px solid #991b1b}
.light .sdytools,.light .sdy-mini-heatmap{color:#172033!important}
.light .sdytools h1,.light .sdytools h2,.light .sdy-mini-heatmap h2{color:#172033!important}
.light .sdytools p,.light .sdy-mini-heatmap p,.light .sdytools label,
.light .sdytools #sdyNotifyStatus,.light .sdytools .sdy-pager span{color:#334155!important}
.light .sdytools a,.light .sdy-mini-heatmap a{color:#991b1b!important}
.light .sdytools .sdy-stats>div{background:#fef2f2!important;color:#7c1212!important}
.light .sdytools .sdy-stats small,.light .sdytools .sdy-stats strong{color:#7c1212!important}
.light .sdytools .sdy-controls input,.light .sdytools .sdy-controls select{background:#fff!important;color:#111827!important}
.light .sdytools .sdy-tools-table td{background:#fff!important;color:#111827!important}
.light .sdytools .sdy-tools-table th{background:#7c1212!important;color:#fff!important}


/* Original: assets/compare.css */
.cmp{--cmp-blue:#1976d2;--cmp-gray:#64748b;--cmp-line:#d9e1ec;--cmp-surface:#fff;color:#17283d;max-width:100%;padding:12px 0 36px}.cmp *{box-sizing:border-box}.cmp-header{display:flex;justify-content:space-between;gap:14px;align-items:center;margin:14px 0 22px}.cmp-header h1{font-size:clamp(25px,3vw,38px);line-height:1.2;margin:7px 0}.cmp-header h1 span{color:#176bd0}.cmp-header p,.cmp-panelhead p{color:#64748b;margin:4px 0}.cmp-eyebrow{font-size:11px;letter-spacing:1.5px;font-weight:800;color:#2563eb}.cmp-pill{background:#eaf3ff;border:1px solid #bfd9ff;color:#165aab;border-radius:30px;padding:9px 12px;font-size:11px;font-weight:800;white-space:nowrap}.cmp-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.cmp-field,.cmp-periods fieldset,.cmp-panel,.cmp-metrics>div{background:var(--cmp-surface);border:1px solid var(--cmp-line);border-radius:13px}.cmp-field{padding:12px}.cmp-field label,.cmp-periods label{display:block;font-size:12px;font-weight:700;color:#4c5e74;margin-bottom:7px}.cmp select,.cmp input{width:100%;max-width:100%;background:#fff;color:#17283d;border:1px solid #cbd5e1;border-radius:8px;padding:10px;font:inherit;font-size:13px}.cmp-periods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}.cmp-periods fieldset{padding:15px;min-width:0}.cmp-periods legend{font-size:12px;font-weight:800;color:#2366b5;padding:0 6px}.cmp-dates{display:grid;grid-template-columns:1fr 1fr;gap:12px}.cmp-periods fieldset>span{display:block;margin-top:10px;color:#64748b;font-size:12px}.cmp-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:12px 0 18px}.cmp-actions button{border:0;border-radius:9px;background:#196dc8;color:#fff;padding:10px 13px;cursor:pointer;font-size:13px;font-weight:700}.cmp-actions button+button{background:#eaf2fc;color:#15549d;border:1px solid #c9ddf5}.cmp-actions span{font-size:12px;color:#65758b}.cmp-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}.cmp-metrics>div{padding:16px}.cmp-metrics small{display:block;color:#60718a;font-size:12px}.cmp-metrics strong{display:block;font-size:30px;line-height:1.3;color:#12395f;font-variant-numeric:tabular-nums}.cmp-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:14px}.cmp-panel{padding:18px;margin-bottom:14px;min-width:0}.cmp-panel h2{font-size:18px;margin:0 0 5px;color:#173a62}.cmp-panelhead{display:flex;justify-content:space-between;gap:12px;align-items:start}.cmp-panelhead label{font-size:12px;color:#526782;min-width:150px}.cmp-legend{display:flex;gap:20px;margin:18px 0;font-size:12px;color:#4e6078}.cmp-legend i{display:inline-block;width:11px;height:11px;border-radius:3px;margin-right:5px}.cmp-a,.cmp-fill-a{background:#1d75d4}.cmp-b,.cmp-fill-b{background:#8b9aad}.cmp-bars{display:grid;gap:11px}.cmp-barrow{display:grid;grid-template-columns:18px minmax(0,1fr) 110px;gap:9px;align-items:center;font-size:12px}.cmp-barrow>b{font-size:13px}.cmp-barrow>div{display:grid;gap:3px}.cmp-barrow small{text-align:right;color:#526782}.cmp-track{height:8px;background:#edf1f6;border-radius:5px;overflow:hidden}.cmp-track span{display:block;height:100%;border-radius:5px}.cmp-panel table{width:100%;border-collapse:collapse;font-size:13px}.cmp-panel th,.cmp-panel td{padding:10px;border-bottom:1px solid #e4eaf2;text-align:left;color:#22364f}.cmp-panel thead th{color:#536982;font-size:12px;background:#f3f6fb}.cmp-tablewrap{overflow-x:auto}.cmp-table{min-width:560px}.cmp-table td:not(:first-child),.cmp-table th:not(:first-child){text-align:right}.cmp-positive{color:#116e4c!important;font-weight:700}.cmp-negative{color:#bb3131!important;font-weight:700}.cmp-note{color:#66778d;font-size:12px;line-height:1.65}.cmp-archivecols{display:grid;grid-template-columns:1fr 1fr;gap:18px}.cmp-archivecols>div{min-width:0}.cmp-archivecols h3{font-size:14px;color:#325b8d}.cmp-archivecols table{font-variant-numeric:tabular-nums}.cmp-empty{color:#64748b;font-size:13px}.cmp-compact .cmp-insights,.cmp-compact .cmp-archive{display:none}.cmp-compact .cmp-layout{display:block}.cmp-compact .cmp-chart{width:100%}
@media(prefers-color-scheme:dark){body:not(.light) .cmp{--cmp-surface:#172438;--cmp-line:#3b4d66;color:#edf3fb}body:not(.light) .cmp select,body:not(.light) .cmp input{background:#1c2e45;border-color:#52637a;color:#f3f7ff}body:not(.light) .cmp h2,body:not(.light) .cmp-metrics strong,body:not(.light) .cmp-panel td,body:not(.light) .cmp-panel th{color:#f0f5fc}body:not(.light) .cmp-panel thead th{background:#25364c}body:not(.light) .cmp-panel td,body:not(.light) .cmp-panel th{border-color:#3b4d66}body:not(.light) .cmp-field label,body:not(.light) .cmp-periods label{color:#d3ddeb}}
@media(max-width:900px){.cmp-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.cmp-layout{grid-template-columns:1fr}}@media(max-width:580px){.cmp-header{align-items:start;flex-direction:column}.cmp-pill{font-size:10px}.cmp-controls,.cmp-periods,.cmp-archivecols{grid-template-columns:1fr}.cmp-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.cmp-dates{grid-template-columns:repeat(2,minmax(0,1fr))}.cmp-panel{padding:12px}.cmp-barrow{grid-template-columns:16px minmax(0,1fr) 90px}.cmp-panelhead{flex-direction:column}}


/* Original: assets/mini-compare.css */
.sdy-mini{margin-block:20px}.sdy-mini-head{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.sdy-mini-head h2{margin:5px 0}.sdy-mini-eyebrow{font-size:11px;letter-spacing:.08em;color:#d94665}.sdy-mini-head a{align-self:center;padding:9px 13px;border:1px solid currentColor;border-radius:8px}.sdy-mini-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}.sdy-mini-cards>div{border:1px solid var(--border,#64748b);border-radius:10px;padding:14px;display:grid;gap:6px}.sdy-mini-cards small{opacity:.8}.sdy-mini-bars{height:155px;display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:5px;align-items:end}.sdy-mini-col{height:100%;display:flex;align-items:end;justify-content:center;gap:2px;position:relative;padding-bottom:22px}.sdy-mini-bar{width:36%;min-height:1px;border-radius:4px 4px 0 0}.sdy-mini-bar.a{background:#e11d48}.sdy-mini-bar.b{background:#64748b}.sdy-mini-col small{position:absolute;bottom:0}.sdy-mini-note{font-size:12px;opacity:.8}.sdy-mini-chart>p{font-weight:600;font-size:13px}@media(max-width:480px){.sdy-mini-cards{gap:6px}.sdy-mini-cards>div{padding:9px}}

/* Original: assets/sdy-contrast-v4.css */
/* SDY432D contrast and readability: dark is default; light uses body.light */
.cmp,.sdy-mini,.sdy-guides{color:#f8fafc!important}
.cmp .cmp-panel,.cmp .cmp-archive,.cmp .cmp-stat,.cmp .cmp-card,.cmp .cmp-controls,.cmp .cmp-tablewrap,.cmp .cmp-archivecols>div{background:#192b41!important;color:#f8fafc!important;border-color:#496078!important}
.cmp h1,.cmp h2,.cmp h3,.cmp p,.cmp label,.cmp small,.cmp span,.cmp strong,.cmp th,.cmp td,.cmp .cmp-note,.cmp .cmp-panelhead p,.cmp .cmp-header p{color:#f1f5f9!important}
.cmp .cmp-table th,.cmp table th{background:#334b65!important;color:#fff!important}
.cmp .cmp-table td,.cmp table td{background:#192b41!important;color:#f8fafc!important;border-color:#496078!important}
.cmp .cmp-table tr:nth-child(even) td,.cmp table tr:nth-child(even) td{background:#243a53!important}
.cmp input,.cmp select,.cmp button{background:#273d55!important;color:#fff!important;border:1px solid #8da3b8!important}
.cmp option{background:#273d55;color:#fff}.cmp a,.sdy-guides a{color:#93c5fd!important;text-decoration:underline}
.sdy-mini,.sdy-guides{background:#172b42!important;border:1px solid #48617b!important}.sdy-mini h2,.sdy-mini p,.sdy-mini small,.sdy-mini span,.sdy-guides h2,.sdy-guides p{color:#f8fafc!important}
body.light .cmp,body.light .sdy-mini,body.light .sdy-guides{color:#14243a!important}
body.light .cmp .cmp-panel,body.light .cmp .cmp-archive,body.light .cmp .cmp-stat,body.light .cmp .cmp-card,body.light .cmp .cmp-controls,body.light .cmp .cmp-tablewrap,body.light .cmp .cmp-archivecols>div{background:#fff!important;color:#14243a!important;border-color:#bdcad8!important}
body.light .cmp h1,body.light .cmp h2,body.light .cmp h3,body.light .cmp p,body.light .cmp label,body.light .cmp small,body.light .cmp span,body.light .cmp strong,body.light .cmp td,body.light .cmp .cmp-note,body.light .cmp .cmp-panelhead p,body.light .cmp .cmp-header p{color:#14243a!important}
body.light .cmp .cmp-table th,body.light .cmp table th{background:#dce7f2!important;color:#14243a!important}
body.light .cmp .cmp-table td,body.light .cmp table td{background:#fff!important;color:#14243a!important;border-color:#bdcad8!important}
body.light .cmp .cmp-table tr:nth-child(even) td,body.light .cmp table tr:nth-child(even) td{background:#edf3f9!important}
body.light .cmp input,body.light .cmp select,body.light .cmp button{background:#fff!important;color:#14243a!important;border:1px solid #71869b!important}
body.light .cmp option{background:#fff;color:#14243a}body.light .cmp a,body.light .sdy-guides a{color:#0755a1!important}
body.light .sdy-mini,body.light .sdy-guides{background:#fff!important;border-color:#bdcad8!important}body.light .sdy-mini h2,body.light .sdy-mini p,body.light .sdy-mini small,body.light .sdy-mini span,body.light .sdy-guides h2,body.light .sdy-guides p{color:#14243a!important}
.sdy-guides{margin:20px 0;padding:20px;border-radius:16px}.sdy-guides ul{line-height:1.9;padding-left:22px}.sdy-mini{margin:20px 0}.cmp table{width:100%;border-collapse:collapse}.cmp .cmp-tablewrap{overflow-x:auto}.cmp td,.cmp th{padding:10px;white-space:nowrap}.cmp :focus-visible,.sdy-guides a:focus-visible{outline:3px solid #f87171!important;outline-offset:2px}
@media(max-width:600px){.cmp{font-size:14px}.cmp td,.cmp th{padding:8px 6px}.cmp .cmp-header{flex-wrap:wrap}}


/* Original: assets/sdy-orange-ui-v5.css */

/* SDY432D: orange identity and readable analytics. Loaded after v4. */
body:not(.light) .sdy-mini{background:#1d2634!important;border:2px solid #f87171!important;color:#f8fafc!important;box-shadow:0 10px 28px #0003}
body:not(.light) .sdy-mini .sdy-mini-cards>div{background:#293445!important;border-color:#a82929!important;color:#fff!important}
.sdy-mini .sdy-mini-eyebrow{color:#f87171!important;font-weight:800}
.sdy-mini .sdy-mini-head a{background:#991b1b!important;border-color:#f87171!important;color:#fff!important;font-weight:750;text-decoration:none!important}
.sdy-mini .sdy-mini-head a:hover{background:#991b1b!important}
.sdy-mini .sdy-mini-bar.a{background:#dc2626!important}
.sdy-mini .sdy-mini-bar.b{background:#fb2424!important}
.sdy-mini .sdy-mini-col small{color:inherit!important;font-weight:700}
body.light .sdy-mini{background:#fffaf5!important;border:2px solid #991b1b!important;color:#172033!important}
body.light .sdy-mini .sdy-mini-cards>div{background:#fff0dd!important;border-color:#fca5a5!important;color:#430707!important}
body.light .sdy-mini .sdy-mini-cards small,body.light .sdy-mini .sdy-mini-cards strong{color:#7c1212!important}
body.light .sdy-mini .sdy-mini-eyebrow{color:#991b1b!important}
body.light .sdy-mini .sdy-mini-head a{background:#991b1b!important;color:#fff!important}
body.light .sdy-mini .sdy-mini-bar.a{background:#991b1b!important}
body.light .sdy-mini .sdy-mini-bar.b{background:#9a0000!important}
/* Compare PRO - use real body.light toggle rather than OS theme. */
.cmp{--cmp-blue:#dc2626!important;--cmp-gray:#fb2424!important;--cmp-line:#5b6878!important;--cmp-surface:#1c2b3b!important}
body:not(.light) .cmp .cmp-field,body:not(.light) .cmp .cmp-periods fieldset,body:not(.light) .cmp .cmp-panel,body:not(.light) .cmp .cmp-metrics>div{background:#1c2b3b!important;border-color:#53667a!important;color:#f8fafc!important}
body:not(.light) .cmp :is(h1,h2,h3,p,label,small,strong,legend,.cmp-note,.cmp-legend,.cmp-barrow,.cmp-empty,.cmp-actions span,.cmp-periods fieldset>span){color:#f1f5f9!important}
body:not(.light) .cmp .cmp-eyebrow,body:not(.light) .cmp .cmp-header h1 span{color:#fca5a5!important}
body:not(.light) .cmp .cmp-panel :is(th,td){color:#f8fafc!important;border-color:#50647a!important}
body:not(.light) .cmp .cmp-panel thead th{background:#384d63!important;color:#fff!important}
body:not(.light) .cmp .cmp-panel tbody tr:nth-child(even) td{background:#283d52!important}
body:not(.light) .cmp :is(input,select){background:#111f30!important;color:#fff!important;border:2px solid #94a3b8!important}
.cmp .cmp-actions button{background:#991b1b!important;color:#fff!important;border:1px solid #f87171!important}
.cmp .cmp-actions button+button{background:#7c1212!important;color:#fff!important}
.cmp .cmp-a,.cmp .cmp-fill-a{background:#dc2626!important}
.cmp .cmp-b,.cmp .cmp-fill-b{background:#ea0808!important}
.cmp .cmp-track{background:#526072!important}
body.light .cmp{--cmp-surface:#fff!important;--cmp-line:#cbd5e1!important;color:#172033!important}
body.light .cmp .cmp-field,body.light .cmp .cmp-periods fieldset,body.light .cmp .cmp-panel,body.light .cmp .cmp-metrics>div{background:#fff!important;border-color:#cbd5e1!important;color:#172033!important}
body.light .cmp :is(h1,h2,h3,p,label,small,strong,legend,.cmp-note,.cmp-legend,.cmp-barrow,.cmp-empty,.cmp-actions span,.cmp-periods fieldset>span){color:#243449!important}
body.light .cmp .cmp-eyebrow,body.light .cmp .cmp-header h1 span{color:#991b1b!important}
body.light .cmp .cmp-panel :is(th,td){color:#172033!important;border-color:#cbd5e1!important}
body.light .cmp .cmp-panel thead th{background:#fee2e2!important;color:#7c1212!important}
body.light .cmp .cmp-panel tbody tr:nth-child(even) td{background:#fef2f2!important}
body.light .cmp :is(input,select){background:#fff!important;color:#172033!important;border:2px solid #64748b!important}
body.light .cmp .cmp-actions button{background:#991b1b!important;color:#fff!important}
body.light .cmp .cmp-actions button+button{background:#7c1212!important;color:#fff!important}
body.light .cmp .cmp-track{background:#e2e8f0!important}
/* Historical analysis - undo dark-only rules in analysis.css when light mode is active. */
body:not(.light) .ana-panel :is(h1,h2,h3,p,label){color:#f8fafc!important}
body:not(.light) .ana-panel .ana-stats>div{background:#382b22!important;border-color:#b82d2d!important}
body:not(.light) .ana-panel .ana-stats :is(small,strong){color:#ffdfb6!important}
body:not(.light) .ana-panel .ana-table th{background:#7c1212!important;color:#fff!important}
body:not(.light) .ana-panel .ana-table td{background:#1d2d40!important;color:#f8fafc!important;border-color:#637083!important}
body:not(.light) .ana-panel .ana-table tr:nth-child(even) td{background:#2b3b50!important}
body:not(.light) .ana-panel .ana-table small{color:#e2e8f0!important}
body:not(.light) .ana-panel .ana-formula{background:#382b22!important;color:#ffdfb6!important}
body:not(.light) .ana-panel .ana-formula strong{color:#fff!important}
body.light .ana-panel,body.light .ana-panel :is(h1,h2,h3,p,label){color:#172033!important}
body.light .ana-panel .ana-filters,body.light .ana-panel .ana-search{background:#fff!important;border-color:#cbd5e1!important}
body.light .ana-panel .ana-stats>div{background:#fff3e6!important;border-color:#fca5a5!important}
body.light .ana-panel .ana-stats :is(small,strong){color:#7c1212!important}
body.light .ana-panel .ana-table th{background:#fee2e2!important;color:#7c1212!important;border-color:#cbd5e1!important}
body.light .ana-panel .ana-table td{background:#fff!important;color:#172033!important;border-color:#cbd5e1!important}
body.light .ana-panel .ana-table tr:nth-child(even) td{background:#fef2f2!important}
body.light .ana-panel .ana-table small{color:#475569!important}
body.light .ana-panel .ana-formula{background:#fff3e6!important;color:#7c1212!important}
body.light .ana-panel .ana-formula strong{color:#7c1212!important}
body.light .ana-panel :is(input,select){background:#fff!important;color:#172033!important;border:2px solid #64748b!important}
body.light .ana-panel a{color:#991b1b!important}
:is(.cmp,.ana-panel,.sdy-mini) :focus-visible{outline:3px solid #f87171!important;outline-offset:3px}
@media(max-width:600px){.sdy-mini .sdy-mini-cards{grid-template-columns:1fr}.cmp .cmp-tablewrap,.ana-panel .tablewrap{overflow-x:auto;max-width:100%}}


/* Original: assets/sdy-footer-readable-v6.css */
/* SDY432D footer contrast v6. Scoped to footer, preserves text, Gmail link and site features. */
body.light footer{
  background:#fffaf5!important;
  color:#292524!important;
  -webkit-text-fill-color:#292524!important;
  border-top:2px solid #991b1b!important;
}
body.light footer strong{
  color:#991b1b!important;
  -webkit-text-fill-color:#991b1b!important;
}
body.light footer p{
  color:#44403c!important;
  -webkit-text-fill-color:#44403c!important;
  opacity:1!important;
}
body.light footer a.btn,
body.light footer a.btn:visited{
  background:#991b1b!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  border:2px solid #7c1212!important;
  font-weight:750!important;
  opacity:1!important;
  text-decoration:none!important;
}
body.light footer a.btn:hover{background:#7c1212!important}
body:not(.light) footer{
  background:#142131!important;
  color:#f8fafc!important;
  -webkit-text-fill-color:#f8fafc!important;
  border-top:2px solid #f87171!important;
}
body:not(.light) footer strong{
  color:#fca5a5!important;
  -webkit-text-fill-color:#fca5a5!important;
}
body:not(.light) footer p{
  color:#e2e8f0!important;
  -webkit-text-fill-color:#e2e8f0!important;
  opacity:1!important;
}
body:not(.light) footer a.btn,
body:not(.light) footer a.btn:visited{
  background:#991b1b!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  border:2px solid #f87171!important;
  font-weight:750!important;
  opacity:1!important;
}
footer a.btn:focus-visible{outline:3px solid #f50b0b!important;outline-offset:3px!important}
@media(max-width:520px){
 footer{padding:22px 12px!important}
 footer a.btn{max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.5}
}


/* Original: sponsor/style.css */
/* Semua komponen sponsor memakai namespace sdy-ad agar tidak bentrok dengan UI */
.sdy-ad-zone{margin:14px 0 20px;clear:both}.sdy-ad-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
.sdy-ad{position:relative;min-width:0;overflow:hidden;border-radius:12px;border:1px solid rgba(125,125,125,.25);background:#fff;color:#444;padding:19px 6px 6px;box-shadow:0 2px 12px rgba(0,0,0,.08)}
.sdy-ad a{display:block;line-height:0}.sdy-ad img{display:block;width:100%;height:auto;max-height:170px;object-fit:contain;aspect-ratio:728/90}
.sdy-ad-label{position:absolute;top:4px;left:9px;font-size:10px;letter-spacing:.02em;color:#5b6470;line-height:1.3}
.sdy-ad-close,.sdy-ad-popup-close{position:absolute;z-index:2;right:4px;top:3px;width:30px;height:30px;border:0;border-radius:8px;background:#f1f3f5;color:#1f2937;font:700 23px/1 Arial,sans-serif;cursor:pointer;display:grid;place-items:center}
.sdy-ad-close:hover,.sdy-ad-popup-close:hover{background:#fee2e2}.sdy-ad-close:focus-visible,.sdy-ad-popup-close:focus-visible{outline:3px solid #dc2626;outline-offset:2px}
.sdy-ad-floating{position:fixed;z-index:1000;left:50%;bottom:12px;transform:translateX(-50%);width:min(960px,calc(100vw - 28px));margin:0;pointer-events:none}
.sdy-ad-floating .sdy-ad-grid{pointer-events:auto}.sdy-ad-floating .sdy-ad{box-shadow:0 6px 22px rgba(0,0,0,.22)}.sdy-ad-floating .sdy-ad img{max-height:105px}
.sdy-ad-popup[hidden]{display:none!important}.sdy-ad-popup{position:fixed;z-index:1100;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.42);padding:18px;overflow:auto}
.sdy-ad-popup-inner{position:relative;width:min(560px,100%);max-height:85vh;overflow:auto;background:#fff;border-radius:16px;padding:42px 12px 12px;box-shadow:0 16px 60px rgba(0,0,0,.25)}
.sdy-ad-popup-close{right:9px;top:8px}.sdy-ad-popup .sdy-ad-grid{grid-template-columns:1fr}.sdy-ad-popup .sdy-ad img{max-height:330px;aspect-ratio:auto}
@media(max-width:650px){.sdy-ad-grid{grid-template-columns:1fr;gap:8px}.sdy-ad-zone{margin:10px 0 16px}.sdy-ad img{max-height:135px}.sdy-ad-floating{bottom:6px;width:min(350px,calc(100vw - 24px))}.sdy-ad-floating .sdy-ad-grid{gap:5px}.sdy-ad-floating .sdy-ad{padding:15px 4px 4px}.sdy-ad-floating .sdy-ad img{max-height:65px}.sdy-ad-floating .sdy-ad-close{height:25px;width:25px;font-size:20px}.sdy-ad-popup-inner{padding:43px 9px 9px}}
@media(prefers-reduced-motion:reduce){.sdy-ad-popup{scroll-behavior:auto}}


/* Original: assets/sdy-live6d.css */
/* SDY432D Live 6D — isolated, no changes to existing tables */
.sdy6d{margin-bottom:16px}.sdy6d-grid{display:grid;gap:9px;margin-top:12px}
.sdy6d-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;border:1px solid rgba(220,38,38,.25);border-radius:12px;background:rgba(220,38,38,.055)}
.sdy6d-row:first-child{border-color:#dc2626;background:rgba(220,38,38,.13)}
.sdy6d-label{font-weight:700;white-space:nowrap}.sdy6d-number{font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:.16em;font-size:clamp(15px,3.5vw,25px);color:#dc2626;text-align:right}
.sdy6d-note{font-size:12px;opacity:.8;margin:12px 0 0}
body.light .sdy6d-row{background:#fef2f2;color:#222}body.light .sdy6d-number{color:#991b1b}
@media(max-width:440px){.sdy6d-row{padding:11px 9px}.sdy6d-label{font-size:12px}.sdy6d-number{font-size:15px;letter-spacing:.07em}}


/* Original: assets/paito-pro.css */
.ppro{margin:18px 0;padding:22px!important;color:var(--text,#e5e7eb)}.ppro *{box-sizing:border-box}.ppro-heading{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.ppro-heading h2{margin:4px 0 8px;font-size:clamp(20px,3vw,27px)}.ppro-heading p,.ppro-pane p,.ppro-note{font-size:13px;line-height:1.6;opacity:.82}.ppro-kicker{color:#dc2626;font-size:11px;letter-spacing:.12em;font-weight:800}.ppro-chip{border:1px solid #dc2626;border-radius:30px;padding:7px 10px;font-size:10px;white-space:nowrap}.ppro-controls{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.ppro-controls label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:700;min-width:190px;flex:1}.ppro-controls select{background:var(--card,#1f2937);color:inherit;border:1px solid #8894a555;border-radius:9px;padding:11px;max-width:100%}.ppro-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:15px}.ppro-stats>div,.ppro-pane{border:1px solid #8894a533;border-radius:13px;padding:15px;background:rgba(128,128,128,.045)}.ppro-stats small{display:block;font-size:11px;opacity:.75;margin-bottom:8px}.ppro-stats strong{font-size:clamp(13px,2vw,20px);overflow-wrap:anywhere}.ppro-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.ppro-pane h3{font-size:16px;margin:0 0 7px}.ppro-heat{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:16px}.ppro-cell{background:rgba(185,28,28,var(--intensity));border:1px solid #b91c1c66;border-radius:10px;min-height:65px;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#fff;text-shadow:0 1px 2px #0008}.ppro-cell b{font-size:23px}.ppro-cell span{font-size:12px}.ppro-scale{display:flex;justify-content:space-between;font-size:11px;opacity:.7;margin-top:8px}.ppro-scroll{overflow-x:auto}.ppro-table{width:100%;border-collapse:collapse;font-size:13px;font-variant-numeric:tabular-nums}.ppro-table th,.ppro-table td{border-bottom:1px solid #8894a533;padding:8px 5px;text-align:center;white-space:nowrap}.ppro-table th:first-child{text-align:left}.ppro-distribution{margin-top:14px}.ppro-note{margin:10px 0 0}@media(max-width:760px){.ppro{padding:14px!important}.ppro-two{grid-template-columns:1fr}.ppro-stats{grid-template-columns:1fr 1fr}.ppro-stats>div:last-child{grid-column:span 2}.ppro-heading{flex-direction:column}.ppro-cell{min-height:56px}}


/* Original: assets/sdy-floating-app.css */
/* SDY432D floating top + bottom navigation, 2026-11-20. */
:root{--sdy-app-top-height:86px;--sdy-app-bottom-height:80px;--sdy-app-side-gap:0px;--sdy-app-radius:16px}
html{scroll-padding-top:calc(var(--sdy-app-top-height) + 14px)!important}
html [id]{scroll-margin-top:calc(var(--sdy-app-top-height) + 14px)}
body{padding-top:var(--sdy-app-top-height)!important;padding-bottom:calc(var(--sdy-app-bottom-height) + env(safe-area-inset-bottom,0px) + 22px)!important}
header.top{position:fixed!important;top:0!important;left:var(--sdy-app-side-gap)!important;right:var(--sdy-app-side-gap)!important;width:auto!important;max-width:none!important;margin:0!important;z-index:2130!important;box-sizing:border-box!important;border-radius:0 0 var(--sdy-app-radius) var(--sdy-app-radius)!important;box-shadow:0 6px 22px rgba(0,0,0,.25)!important;transform:none!important}
/* Keep dropdowns usable; round the header background itself. */
header.top::before{border-radius:inherit}
nav#nav{position:fixed!important;top:auto!important;bottom:calc(8px + env(safe-area-inset-bottom,0px))!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:min(96vw,1050px)!important;max-width:1050px!important;margin:0!important;padding:7px!important;z-index:2140!important;display:flex!important;flex-flow:row nowrap!important;align-items:stretch!important;justify-content:space-around!important;gap:3px!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior-x:contain!important;box-sizing:border-box!important;border-radius:18px!important;background:#0c1a2e!important;box-shadow:0 8px 28px rgba(0,0,0,.35)!important}
nav#nav::-webkit-scrollbar{display:none}
nav#nav>a{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;flex:1 0 0!important;min-width:74px!important;max-width:none!important;padding:8px 5px!important;border-radius:11px!important;text-align:center!important;white-space:nowrap!important;color:#ffffff!important;font-size:17px!important;line-height:1.2!important;text-decoration:none!important}
nav#nav>a span{display:block!important;font-size:11px!important;line-height:1.25!important}
nav#nav>a.active,nav#nav>a[aria-current=page]{background:#dc2626!important;color:#fff!important}
nav#nav>a:focus-visible{outline:2px solid #fff!important;outline-offset:-2px!important}
@media(max-width:760px){:root{--sdy-app-side-gap:0px;--sdy-app-radius:14px}header.top{max-width:none!important}nav#nav{width:calc(100vw - 12px)!important;bottom:calc(5px + env(safe-area-inset-bottom,0px))!important;border-radius:14px!important;justify-content:flex-start!important;padding:5px!important}nav#nav>a{flex:0 0 68px!important;min-width:68px!important;padding:7px 3px!important}nav#nav>a span{font-size:10px!important}body{overflow-x:clip}}
@media(max-width:380px){:root{--sdy-app-side-gap:0px;--sdy-app-radius:12px}}
@media(prefers-reduced-motion:reduce){nav#nav{scroll-behavior:auto!important}}

/* Full viewport width with gently rounded bottom corners; bottom navigation unchanged. */
header.top{left:0!important;right:0!important;width:100%!important;max-width:100%!important;border-radius:0 0 16px 16px!important}
@media(max-width:760px){header.top{border-radius:0 0 14px 14px!important}}
@media(max-width:380px){header.top{border-radius:0 0 12px 12px!important}}
/* V3: enforce full-viewport sticky top without changing bottom navigation */
html body > header.top, body header.top {
  position:fixed!important; inset:0 0 auto 0!important;
  left:0!important;right:0!important;top:0!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  margin:0!important;box-sizing:border-box!important;
  border-radius:0 0 16px 16px!important;
  overflow:visible!important;
  background-clip:padding-box!important;
  z-index:2130!important;
}
body header.top > .top-inner{width:100%!important;max-width:1200px;margin-inline:auto!important;box-sizing:border-box!important}
@media(max-width:760px){html body > header.top,body header.top{border-radius:0 0 14px 14px!important}}


/* Calendar scoped to the home dashboard; does not affect Paito PRO. */
.sdy-calendar-panel{min-width:0;display:flex;flex-direction:column;gap:13px}
.sdy-calendar-panel .sdy-cal-heading{align-items:flex-start;gap:10px;margin-bottom:2px}
.sdy-calendar-panel .sdy-cal-heading h2{font-size:clamp(1.12rem,1.6vw,1.45rem);line-height:1.3;margin:0 0 6px}
.sdy-calendar-panel .sdy-cal-heading p{margin:0;color:#a9c2d9;font-size:.84rem;line-height:1.5}
.sdy-calendar-panel .sdy-cal-heading a{white-space:nowrap;color:#ff5252;font-size:.83rem}
.sdy-cal-nav{display:flex;align-items:center;justify-content:center;gap:clamp(8px,2vw,22px);margin:2px 0}
.sdy-cal-nav strong{min-width:155px;text-align:center;border:1px solid #304f6b;border-radius:12px;background:#18314a;padding:9px 14px;color:#f6f9ff;font-size:.95rem;text-transform:capitalize}
.sdy-cal-nav button{width:40px;height:40px;border-radius:11px;background:#152b42;color:#fff;border:1px solid #56718a;font-size:1.75rem;line-height:1;cursor:pointer}
.sdy-cal-nav button:hover,.sdy-cal-nav button:focus-visible{border-color:#ef4444;outline-offset:2px}
.sdy-cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;border:1px solid #35506b;padding:8px;border-radius:13px;align-content:start}
.sdy-cal-weekday{text-align:center;font-size:.77rem;font-weight:800;color:#e9f4ff;padding:7px 0;border-radius:6px;background:#213c56}
.sdy-cal-blank{min-height:37px}
.sdy-cal-day{min-width:0;min-height:37px;border-radius:9px;background:#1b354e;color:#eef5ff;border:1px solid #28415a;font-weight:750;cursor:pointer;font-size:.86rem;font-variant-numeric:tabular-nums}
.sdy-cal-day.has-result{border-color:#e90a0a;box-shadow:inset 0 0 0 1px #b70707}
.sdy-cal-day.is-selected{background:#f80000!important;border-color:#ff3b3b!important;color:#fff;box-shadow:0 0 13px #e8000066}
.sdy-cal-day.is-today:not(.is-selected){outline:1px dashed #e1eaf5;outline-offset:-4px}
.sdy-cal-day:hover,.sdy-cal-day:focus-visible{border-color:#ff4646;outline-offset:2px}
.sdy-cal-day:disabled{cursor:default;opacity:.48}
.sdy-cal-legend{display:flex;flex-wrap:wrap;gap:14px;color:#b6c9db;font-size:.73rem}
.sdy-cal-legend span{display:flex;align-items:center;gap:6px}
.sdy-cal-dot{display:inline-block;width:11px;height:11px;border:1px solid #e90a0a;border-radius:3px}
.sdy-cal-dot.selected{background:#f80000}
.sdy-cal-detail{border:1px solid #9c1818;background:#182e46;border-radius:12px;padding:12px 14px;min-height:75px;color:#eaf3fc}
.sdy-cal-detail p{margin:0;font-size:.86rem;color:#c5d8e8;line-height:1.5}
.sdy-cal-result{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between}
.sdy-cal-result-date{font-size:.85rem;font-weight:700;flex:1 1 160px}
.sdy-cal-numbers{display:flex;gap:14px;align-items:center}
.sdy-cal-numbers div{display:flex;flex-direction:column;gap:3px;align-items:center}
.sdy-cal-numbers small{font-size:.7rem;color:#b4c9dd}
.sdy-cal-numbers strong{font-size:1.18rem;color:#ff5050;font-variant-numeric:tabular-nums}
.sdy-cal-result a{display:inline-block;padding:9px 12px;background:#f80000;color:white;text-decoration:none;font-weight:750;font-size:.78rem;border-radius:9px}
.sdy-cal-result a:hover{background:#ff3030}
body.light .sdy-calendar-panel .sdy-cal-heading p,body.light .sdy-cal-legend{color:#50647a}
body.light .sdy-cal-detail{background:#eef5fc;color:#18334c}body.light .sdy-cal-detail p{color:#405a72}
@media(max-width:520px){.sdy-cal-grid{gap:3px;padding:5px}.sdy-cal-day{min-height:36px;font-size:.8rem}.sdy-cal-weekday{font-size:.67rem}.sdy-cal-nav strong{min-width:145px}.sdy-cal-result{align-items:flex-start}.sdy-cal-numbers{gap:15px}}

/* Homepage-only research center */
.ha{--ha-orange:#f87171;--ha-line:#425d78;color:#f6f9ff;display:grid;gap:12px;margin:14px 0}.ha *{box-sizing:border-box}.ha-heading,.ha-card,.ha-guide,.ha-faq{background:linear-gradient(135deg,#182b42,#101d30);border:1px solid var(--ha-line);border-radius:13px;padding:18px}.ha-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;border-color:#e71515;background:linear-gradient(105deg,#20283b,#482c29)}.ha-kicker{font-size:10px;color:#f87171;font-weight:800;letter-spacing:.09em}.ha h2,.ha h3,.ha p{margin:0}.ha h2{font-size:clamp(18px,2.5vw,24px);line-height:1.35;margin:5px 0 8px}.ha h3{font-size:17px;margin-bottom:9px}.ha p{color:#cad8e8;font-size:13px;line-height:1.65}.ha-bubble{font-size:38px;color:var(--ha-orange)}.ha-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ha-card{min-width:0}.ha-searchrow{display:flex;gap:7px;margin-top:14px}.ha-searchrow input{flex:1;min-width:0;padding:12px;border-radius:8px;border:1px solid #65809a;background:#0e2035;color:#fff;font-size:13px}.ha button,.ha-action{background:#ea0b0b;color:white;border:1px solid #f50b0b;border-radius:8px;padding:10px 12px;font-weight:800;font-size:12px;cursor:pointer;text-decoration:none}.ha button:hover,.ha-action:hover{filter:brightness(1.15)}.ha-tabs,.ha-period{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.ha-tabs label{display:flex;align-items:center;gap:5px;font-size:12px;padding:7px 10px;background:#253a51;border:1px solid #526982;border-radius:7px;cursor:pointer}.ha-tabs input{accent-color:#dc2626}.ha-period button{background:#243a52;border-color:#526982}.ha-period button.is-active{background:#ea0b0b;border-color:#f50b0b}.ha-hint{font-size:11px!important;color:#9cb4cd!important;margin-top:9px!important}.ha-stat{padding:12px;background:#233850;border:1px solid #415d7b;border-radius:8px;display:grid;gap:5px;margin-bottom:12px}.ha-stat span,.ha-stat small{color:#b9cadd;font-size:11px}.ha-stat strong{font-size:14px;color:#fff}.ha-action{display:flex;align-items:center;justify-content:space-between}.ha-results{display:grid;gap:5px;margin-top:8px}.ha-result{display:flex;align-items:center;justify-content:space-between;padding:7px 10px;background:#22374e;border:1px solid #3c5772;border-radius:7px;font-size:12px}.ha-result strong{color:#f87171}.ha-guide{display:grid;grid-template-columns:1.5fr 1fr;gap:18px;border-color:#de2222}.ha-guide p{margin:9px 0}.ha-guide a,.ha-verify a{color:#f87171;text-decoration:underline}.ha-verify{background:#21364d;border:1px solid #526a83;border-radius:10px;padding:14px}.ha-verify ul{padding-left:18px;color:#d5e0ec;font-size:12px;line-height:1.8;margin:0}.ha-verify p{margin-bottom:0}.ha-faq details{border-top:1px solid #435b75;padding:11px 0}.ha-faq summary{font-size:13px;font-weight:750;cursor:pointer}.ha-faq details p{padding:8px 0}.ha-sr{position:absolute;left:-9999px}
@media(max-width:680px){.ha-grid,.ha-guide{grid-template-columns:1fr}.ha-heading,.ha-card,.ha-guide,.ha-faq{padding:14px}.ha-searchrow{flex-wrap:wrap}.ha-searchrow input{flex-basis:100%}.ha-searchrow button{width:100%}.ha-period button{flex:1}.ha-bubble{font-size:27px}}

/* Home only; deliberately excludes calendar and upper dashboard. */
.hk-home-grid{display:grid;grid-template-columns:1.12fr 1fr;gap:12px;margin:16px 0;align-items:stretch}.hk-home-grid>.panel,.sdy-mini-heatmap,.ha .ha-card,.ha .ha-guide,.ha .ha-faq{background:linear-gradient(135deg,#301820 0%,#142234 72%);border:1px solid #b83a49;border-radius:14px;box-shadow:inset 0 1px 0 #ffffff0d;color:#f8fafc}.hk-home-grid>.panel{margin:0;min-width:0;padding:14px}.hk-home-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}.hk-home-kpis>div{display:grid;gap:7px;padding:12px 8px;border:1px solid #9b3444;border-radius:10px;background:linear-gradient(145deg,#56202c,#182332);text-align:center}.hk-home-kpis span,.hk-home-note{font-size:12px;color:#cbd5e1}.hk-home-kpis strong{font-size:23px;color:#fff}.hk-home-grid .sectionhead h2,.ha h2,.ha h3{color:#fff}.hk-home-grid .tablewrap{overflow:auto}.hk-home-grid table{width:100%;font-size:12px}.hk-home-grid .pill{background:#b91c2c;color:white}.ha .ha-heading{background:linear-gradient(90deg,#381822,#142234);border-color:#b83a49}.ha .ha-guide{background:linear-gradient(90deg,#101d30e8,#301820f5),url('/assets/hongkong-harbour.webp') center/cover}.ha .ha-faq details{background:#182333;border:1px solid #743641;border-radius:8px;margin:7px 0;padding:12px}.ha .ha-faq summary{color:#fff}.ha .ha-faq a{color:#fda4af}.ha .ha-faq details p{color:#dbe4ef}.ha .ha-card p,.ha .ha-guide p{color:#dbe4ef}.ha .ha-faq summary:focus-visible,.ha a:focus-visible,.ha button:focus-visible{outline:2px solid #fda4af;outline-offset:3px}body.light .hk-home-grid>.panel,body.light .sdy-mini-heatmap,body.light .ha .ha-card,body.light .ha .ha-guide,body.light .ha .ha-faq,body.light .ha .ha-heading{background:#fff7f7;color:#253247;border-color:#d9a1a8}body.light .hk-home-grid .sectionhead h2,body.light .ha h2,body.light .ha h3,body.light .ha .ha-card p,body.light .ha .ha-guide p,body.light .hk-home-note{color:#253247}body.light .ha .ha-faq details{background:#fff}body.light .ha .ha-faq summary,body.light .ha .ha-faq details p{color:#253247}body.light .ha .ha-faq a{color:#a51930}body.light .ha .ha-verify h3{color:#fff}@media(max-width:680px){.hk-home-grid{grid-template-columns:1fr}.hk-home-grid>.panel{padding:12px}}
/* V16: scoped to lower homepage only. */
body:not(.light) .hk-home-grid>.panel,body:not(.light) .sdy-mini-heatmap,body:not(.light) .ha .ha-card,body:not(.light) .ha .ha-guide,body:not(.light) .ha .ha-faq{background:radial-gradient(ellipse at 85% 0%,#71152188,transparent 65%),linear-gradient(155deg,#39131d,#15131e 62%,#20141d);border:1px solid #e13b49;box-shadow:inset 0 0 18px #e11d4820,0 3px 12px #0005;border-radius:16px}
.hk-home-grid{gap:10px;margin:16px 0 10px}.hk-home-grid .sectionhead h2,.ha h2,.sdy-mini-heatmap h2{font-size:clamp(15px,1.6vw,20px);font-weight:750;letter-spacing:-.025em}.hk-home-grid .sectionhead a,.sdy-mini-heatmap .sectionhead a{color:#ff6375;font-weight:700}.hk-home-grid .tablewrap{border-radius:9px}.hk-home-grid table th,.hk-home-grid table td{padding:8px 6px}.hk-home-grid .pill{background:linear-gradient(#ff3043,#a60012);border-radius:30px;min-width:48px;display:inline-block;box-shadow:0 0 8px #ff173d44}.hk-home-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.hk-home-kpis>div{padding:14px 4px;background:linear-gradient(155deg,#782333,#261622 75%);border-color:#ac394a;box-shadow:inset 0 1px 0 #ff829433;align-content:center}.hk-home-kpis i{font-style:normal;font-size:26px;color:#ff6579;line-height:1}.hk-home-kpis span{font-size:11px}.hk-home-kpis strong{font-size:clamp(16px,2vw,24px)}.ha .ha-grid{gap:10px;margin:10px 0}.ha .ha-card{padding:16px}.ha .ha-card button[type=submit],.ha .ha-action{background:linear-gradient(#ff3547,#bc0015);border:1px solid #ff5366;border-radius:9px;box-shadow:0 2px 8px #ed173d33}.ha .ha-guide{display:grid;grid-template-columns:120px 1fr;gap:16px;align-items:center;padding:16px;overflow:hidden}.hk-guide-art{align-self:stretch;min-height:120px;border-radius:10px;background:url('/assets/hongkong-harbour.webp') center/cover no-repeat}.ha .ha-guide .ha-verify{grid-column:2;background:#ffffff09;border:1px solid #a54a55;border-radius:10px}.ha .ha-faq{display:grid;grid-template-columns:minmax(145px, .7fr) minmax(0,1.5fr);gap:20px;padding:18px;align-items:start}.hk-faq-intro{padding:8px 0}.hk-faq-intro>span{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:linear-gradient(#ff475b,#b30019);color:white;font-size:28px;font-weight:bold;margin-bottom:12px}.hk-faq-intro h2{font-size:25px;line-height:1.15;margin:0 0 12px}.hk-faq-intro p{font-size:13px;line-height:1.5}.ha .ha-faq details{padding:0;margin:0 0 7px;background:linear-gradient(100deg,#64202b66,#171722);border-color:#71323d}.ha .ha-faq summary{padding:11px 28px 11px 12px;cursor:pointer;position:relative;list-style:none}.ha .ha-faq summary::-webkit-details-marker{display:none}.ha .ha-faq summary:after{content:'⌄';position:absolute;right:12px;color:#ff5366;font-size:20px;top:5px}.ha .ha-faq details[open] summary:after{content:'⌃'}.ha .ha-faq details p{padding:0 12px 12px;margin:0}.light .hk-home-kpis>div{background:#fff1f2;border-color:#e6a3ad}.light .hk-home-kpis strong,.light .hk-home-kpis span{color:#541827}.light .ha .ha-faq details{background:#fff}.light .ha .ha-guide .ha-verify{background:#fff1f2;color:#541827}.light .ha .ha-guide .ha-verify h3{color:#541827}@media(max-width:680px){.hk-home-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.ha .ha-faq,.ha .ha-guide{grid-template-columns:1fr}.ha .ha-guide .ha-verify{grid-column:auto}.hk-guide-art{min-height:100px}.hk-faq-intro h2 br{display:none}.hk-faq-intro h2{font-size:21px}.ha .ha-grid{grid-template-columns:1fr}}

/* V17: fill left column with history, keep calendar unchanged. */
.dashboard-main > .history{margin:0;min-width:0;padding:14px;border:1px solid #e13b49;border-radius:16px;background:radial-gradient(ellipse at 85% 0%,#71152188,transparent 65%),linear-gradient(155deg,#39131d,#15131e 62%,#20141d);color:#f8fafc}.dashboard-main > .history .tablewrap{overflow:auto;border-radius:9px}.dashboard-main > .history table{width:100%;font-size:12px}.dashboard-main > .history th,.dashboard-main > .history td{padding:8px 6px}.dashboard-main > .history .pill{background:linear-gradient(#ff3043,#a60012);color:white;border-radius:30px;min-width:42px;display:inline-block}.dashboard-main > .history .sectionhead a{color:#ff6375}.hk-home-grid.hk-home-summary{grid-template-columns:minmax(0,1fr);margin-top:12px}.hk-home-summary .hk-home-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}body.light .dashboard-main > .history{background:#fff7f7;color:#253247;border-color:#d9a1a8}body.light .dashboard-main > .history .sectionhead a{color:#a51930}@media(max-width:480px){.hk-home-summary .hk-home-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-main > .history{padding:10px}}


.sdy-context-links{margin:20px 0;padding:18px;border:1px solid #fecaca;border-radius:15px;background:#fef2f2;color:#7c2d12}
.sdy-context-links h2{font-size:1.1rem;line-height:1.4;margin:0 0 12px;color:#7f1d1d}
.sdy-context-links-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.sdy-context-links-grid a{display:block;padding:12px;border:1px solid #fecaca;border-radius:10px;background:#fff;color:#7f1d1d;text-decoration:none;font-weight:600;line-height:1.5}
.sdy-context-links-grid a:hover,.sdy-context-links-grid a:focus-visible{background:#fee2e2;text-decoration:underline}
@media(max-width:600px){.sdy-context-links-grid{grid-template-columns:1fr}}

/* SEO panel spacing: visually separate content and place guides above app promotion. */
.sdy-topic-guides{display:block;clear:both;margin:28px 0 18px!important;padding:22px 24px!important;border-radius:18px!important;border:1px solid #38536c!important;background:#10263d!important;box-shadow:0 8px 24px rgba(0,0,0,.12)}
.sdy-topic-guides h2{margin:0 0 12px!important;line-height:1.35;color:#f8fafc!important}
.sdy-topic-guides p{margin:0 0 12px!important;color:#d8e4ef!important}
.sdy-topic-guides ul{margin:0;padding-left:22px;line-height:1.75}
.sdy-topic-guides li{padding:2px 0}
.sdy-topic-guides a{color:#fca5a5!important;text-decoration:underline;text-underline-offset:3px}
.sdy-topic-guides a:hover,.sdy-topic-guides a:focus-visible{color:#fecaca!important}
.sdy-context-links{clear:both;margin:18px 0 26px!important}
.sdy-context-links + .install-promo,.sdy-topic-guides + .install-promo{margin-top:26px!important}
@media(max-width:600px){.sdy-topic-guides{margin:22px 0 16px!important;padding:18px 17px!important}.sdy-topic-guides h2{font-size:1.12rem}}

.hero-live-6d .hero-overlay h1{font-size:clamp(1.45rem,3.1vw,2.65rem);line-height:1.14;max-width:850px;text-wrap:balance}@media(max-width:600px){.hero-live-6d .hero-overlay h1{font-size:clamp(1.28rem,5vw,1.7rem)}}
/* HKG432D: SDY432D template geometry, HK red identity */
:root{--orange:#dc2626!important;--primary:#dc2626!important;--accent:#ef4444!important;--brand:#dc2626!important;--sdy-orange:#dc2626!important;--sdy-accent:#ef4444!important;}
body{--brand-primary:#dc2626;--brand-accent:#ef4444}
.top,.top-inner,.nav a.active,.bottom-nav a.active,.floating-nav a.active{--accent:#ef4444}
.sdy-center-hero,.du-hero,.sk-hero,.ha-hero,.sdy-analytics-hero{border-color:rgba(239,68,68,.35)}
.sdy-center-kicker,.du-hero em,.sdy-center-hero em,.sk-kicker{color:#f87171!important}
.sdy-center-tab[aria-selected="true"],.sdy-center-tabs .active,.du button.active,.sk-categories button.active{background:#b91c1c!important;border-color:#ef4444!important;color:#fff!important}


/* V34: reserve the header's natural height in normal flow from first paint. */
body{padding-top:0!important}
html body > header.top,body header.top{position:sticky!important;inset:0 auto auto auto!important;top:0!important}
