
/* Original: assets/style.css */
:root{color-scheme:dark;
  --bg:#050d19;
  --panel:#101f32;
  --panel2:#14263c;
  --stroke:#57708b;
  --orange:#ff7900;
  --yellow:#ffd000;
  --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,#ff6300 58%,#ed4900);
  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:#b944002a;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,#ff9700,#ff6100);
  box-shadow:inset 0 0 0 1px #ffb340,0 3px 14px #ff7b0050;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:#ff7900;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:#ff8500;background:#ff7b0025;padding:12px;border-radius:14px;text-shadow:0 0 16px #ff7900}
.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:#ffd073!important}
.countdown{
  position:relative;
  overflow:hidden;
  text-align:center;
  padding:15px 15px 18px;
  margin-bottom:16px;
  border-color:#ff7900;
  background:radial-gradient(ellipse at 50% 130%,#b74b00 0%,#1c2532 50%,#0a1727 85%)}
.countdown:before,
.countdown:after{content:'';
  position:absolute;
  width:50%;
  height:85px;
  bottom:-55px;
  border:8px solid #ff8300;
  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 #ffae00;
  border-radius:14px;
  box-shadow:0 0 16px #ff8000aa,inset 0 0 14px #ff790040;
  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:#ffa100;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 #ff9700;
  box-shadow:0 0 16px #ff7900aa,inset 0 0 16px #ff7b0044;
  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(#9d3500,#ef6800,#9a2e00);
  border:1px solid #ffb000;
  border-radius:22px;
  padding:5px 20px;
  box-shadow:0 0 12px #ff710065;
  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 #ff8200;
  border-radius:20px;background:linear-gradient(145deg,#72371e,#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,#574016,#211b17);border-color:#ffd100}
.shortcuts a span{font-size:42px;color:#ff8a00}
.shortcuts a:nth-child(3) 
span{color:#ffd100}
.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:#c45a00;border-color:#ff9b00}.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 #ff9b2f;border-radius:17px;background:linear-gradient(110deg,#853214 0%,#2b2134 37%,#102b48 78%,#0b1a2e 100%);box-shadow:0 5px 22px #ff75001b;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 #ffa54c,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:#ffd200}
.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:#ffb11b;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 #ffc15b;border-radius:24px;padding:12px 21px;background:linear-gradient(180deg,#ffac00,#ff7000);color:white;font-size:15px;font-weight:800;cursor:pointer;box-shadow:0 3px 10px #ff780050}
.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 #ff8d18;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:#ff8000;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(255,142,19,.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:#ffae36}
.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:#ff7b00;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:#ff8a00;color:#fff}
.partner-link-icon{display:grid;place-items:center;background:#ff7b0024;color:#ffa42b;border-radius:9px;width:35px;height:35px;font-size:18px}
.partner-external{margin-left:auto;color:#ffae36}
.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:#ffb13b;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:#ffca76}
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:#a84c00}
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 #ef9b49;border-radius:8px;padding:7px 11px;color:inherit;text-decoration:none}.sdy-pagination a[aria-current=page]{background:#f97300;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:#ffe082!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:#431407!important;
  -webkit-text-fill-color:#431407!important;
  text-shadow:none!important;
  font-weight:800!important;
  border:1px solid #a16207!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:#7c2d12!important;
  border:1px solid #c2410c!important;
}
.sdytools .sdy-heatmap,.sdy-mini-heatmap .sdy-heatmap{border:1px solid #9a3412}
.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:#9a3412!important}
.light .sdytools .sdy-stats>div{background:#fff7ed!important;color:#7c2d12!important}
.light .sdytools .sdy-stats small,.light .sdytools .sdy-stats strong{color:#7c2d12!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:#7c2d12!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:#ea580c;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:#fff7ed;border:1px solid #fed7aa;display:flex;flex-direction:column;gap:8px}
.ana-stats small{color:#7c2d12}.ana-stats strong{font-size:1.35rem;color:#9a3412}
.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:#ffedd5;border-radius:12px;overflow:hidden}.ana-track span{display:block;height:100%;background:#f97316;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:#fff7ed;color:#7c2d12}.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 #f97316;background:#fff7ed;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:#ffb56b!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:#fff7ed!important;color:#7c2d12!important}
.sdytools .sdy-stats small,.sdytools .sdy-stats strong,.ana-panel .ana-stats small,.ana-panel .ana-stats strong{color:#7c2d12!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:#c2410c!important;color:#fff!important;font-weight:700}
.sdytools .sdy-tools-table th,.sdytools .sdy-heatmap th,.sdy-mini-heatmap .sdy-heatmap th{background:#7c2d12!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:#7c2d12!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:#fff7ed!important;color:#7c2d12!important}
.ana-panel .ana-formula strong{color:#9a3412!important}
.sdytools .sdy-pager span,.sdytools #sdyNotifyStatus{color:#f8fafc!important}
.sdytools :focus-visible,.ana-panel :focus-visible{outline:3px solid #fbbf24!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 #fed7aa;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:#ea580c;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:#fff7ed;color:#7c2d12;border:1px solid #fed7aa;border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:8px}
.sdy-stats small{color:#9a3412}.sdy-stats strong{color:#7c2d12;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:#9a3412!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:#ea580c}
.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:#ffb56b!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:#fff7ed!important;color:#7c2d12!important}
.sdytools .sdy-stats small,.sdytools .sdy-stats strong,.ana-panel .ana-stats small,.ana-panel .ana-stats strong{color:#7c2d12!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:#c2410c!important;color:#fff!important;font-weight:700}
.sdytools .sdy-tools-table th,.sdytools .sdy-heatmap th,.sdy-mini-heatmap .sdy-heatmap th{background:#7c2d12!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:#7c2d12!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:#fff7ed!important;color:#7c2d12!important}
.ana-panel .ana-formula strong{color:#9a3412!important}
.sdytools .sdy-pager span,.sdytools #sdyNotifyStatus{color:#f8fafc!important}
.sdytools :focus-visible,.ana-panel :focus-visible{outline:3px solid #fbbf24!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:#ffe082!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:#431407!important;
  -webkit-text-fill-color:#431407!important;
  text-shadow:none!important;
  font-weight:800!important;
  border:1px solid #a16207!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:#7c2d12!important;
  border:1px solid #c2410c!important;
}
.sdytools .sdy-heatmap,.sdy-mini-heatmap .sdy-heatmap{border:1px solid #9a3412}
.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:#9a3412!important}
.light .sdytools .sdy-stats>div{background:#fff7ed!important;color:#7c2d12!important}
.light .sdytools .sdy-stats small,.light .sdytools .sdy-stats strong{color:#7c2d12!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:#7c2d12!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:#bb4d31!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 #fb923c!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 #fb923c!important;color:#f8fafc!important;box-shadow:0 10px 28px #0003}
body:not(.light) .sdy-mini .sdy-mini-cards>div{background:#293445!important;border-color:#a85d29!important;color:#fff!important}
.sdy-mini .sdy-mini-eyebrow{color:#fb923c!important;font-weight:800}
.sdy-mini .sdy-mini-head a{background:#c2410c!important;border-color:#fb923c!important;color:#fff!important;font-weight:750;text-decoration:none!important}
.sdy-mini .sdy-mini-head a:hover{background:#9a3412!important}
.sdy-mini .sdy-mini-bar.a{background:#f97316!important}
.sdy-mini .sdy-mini-bar.b{background:#fbbf24!important}
.sdy-mini .sdy-mini-col small{color:inherit!important;font-weight:700}
body.light .sdy-mini{background:#fffaf5!important;border:2px solid #c2410c!important;color:#172033!important}
body.light .sdy-mini .sdy-mini-cards>div{background:#fff0dd!important;border-color:#fdba74!important;color:#431407!important}
body.light .sdy-mini .sdy-mini-cards small,body.light .sdy-mini .sdy-mini-cards strong{color:#7c2d12!important}
body.light .sdy-mini .sdy-mini-eyebrow{color:#9a3412!important}
body.light .sdy-mini .sdy-mini-head a{background:#9a3412!important;color:#fff!important}
body.light .sdy-mini .sdy-mini-bar.a{background:#c2410c!important}
body.light .sdy-mini .sdy-mini-bar.b{background:#9a6700!important}
/* Compare PRO - use real body.light toggle rather than OS theme. */
.cmp{--cmp-blue:#f97316!important;--cmp-gray:#fbbf24!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:#fdba74!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:#c2410c!important;color:#fff!important;border:1px solid #fb923c!important}
.cmp .cmp-actions button+button{background:#7c2d12!important;color:#fff!important}
.cmp .cmp-a,.cmp .cmp-fill-a{background:#f97316!important}
.cmp .cmp-b,.cmp .cmp-fill-b{background:#eab308!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:#9a3412!important}
body.light .cmp .cmp-panel :is(th,td){color:#172033!important;border-color:#cbd5e1!important}
body.light .cmp .cmp-panel thead th{background:#ffedd5!important;color:#7c2d12!important}
body.light .cmp .cmp-panel tbody tr:nth-child(even) td{background:#fff7ed!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:#9a3412!important;color:#fff!important}
body.light .cmp .cmp-actions button+button{background:#7c2d12!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:#b86b2d!important}
body:not(.light) .ana-panel .ana-stats :is(small,strong){color:#ffdfb6!important}
body:not(.light) .ana-panel .ana-table th{background:#7c2d12!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:#fdba74!important}
body.light .ana-panel .ana-stats :is(small,strong){color:#7c2d12!important}
body.light .ana-panel .ana-table th{background:#ffedd5!important;color:#7c2d12!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:#fff7ed!important}
body.light .ana-panel .ana-table small{color:#475569!important}
body.light .ana-panel .ana-formula{background:#fff3e6!important;color:#7c2d12!important}
body.light .ana-panel .ana-formula strong{color:#7c2d12!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:#9a3412!important}
:is(.cmp,.ana-panel,.sdy-mini) :focus-visible{outline:3px solid #fb923c!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 #c2410c!important;
}
body.light footer strong{
  color:#9a3412!important;
  -webkit-text-fill-color:#9a3412!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:#9a3412!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  border:2px solid #7c2d12!important;
  font-weight:750!important;
  opacity:1!important;
  text-decoration:none!important;
}
body.light footer a.btn:hover{background:#7c2d12!important}
body:not(.light) footer{
  background:#142131!important;
  color:#f8fafc!important;
  -webkit-text-fill-color:#f8fafc!important;
  border-top:2px solid #fb923c!important;
}
body:not(.light) footer strong{
  color:#fdba74!important;
  -webkit-text-fill-color:#fdba74!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:#c2410c!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  border:2px solid #fb923c!important;
  font-weight:750!important;
  opacity:1!important;
}
footer a.btn:focus-visible{outline:3px solid #f59e0b!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 #f97316;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(249,115,22,.25);border-radius:12px;background:rgba(249,115,22,.055)}
.sdy6d-row:first-child{border-color:#f97316;background:rgba(249,115,22,.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:#f97316;text-align:right}
.sdy6d-note{font-size:12px;opacity:.8;margin:12px 0 0}
body.light .sdy6d-row{background:#fff7ed;color:#222}body.light .sdy6d-number{color:#9a3412}
@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:#f97316;font-size:11px;letter-spacing:.12em;font-weight:800}.ppro-chip{border:1px solid #f97316;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(234,88,12,var(--intensity));border:1px solid #ea580c66;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:#ff7900!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}}

