*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#050b14;color:#edf5ff;font-family:Vazirmatn,Arial,sans-serif;min-height:100vh}body.light{background:#f4f7fb;color:#102033}.topbar{height:76px;position:sticky;top:0;z-index:50;display:flex;align-items:center;gap:22px;padding:0 5vw;background:#07101de8;border-bottom:1px solid #1a2a3d;backdrop-filter:blur(18px)}body.light .topbar{background:#ffffffee;border-color:#dbe4ef}.brand{display:flex;align-items:center;gap:14px;cursor:pointer;min-width:285px;position:relative}.logo-orbit{width:62px;height:62px;position:relative;display:grid;place-items:center;flex:0 0 62px}.logo-orbit::before{content:"";position:absolute;inset:-3px;border-radius:18px;background:conic-gradient(from 180deg,#00c8ff,#4b5cff,#a66cff,#00c8ff);animation:logoSpin 5s linear infinite;filter:drop-shadow(0 0 12px #16c8ff88)}.logo-orbit::after{content:"";position:absolute;inset:1px;border-radius:15px;background:#050b14;box-shadow:inset 0 0 18px #0e2740}.logo-orbit img{position:relative;z-index:2;width:58px;height:58px;object-fit:cover;border-radius:15px;box-shadow:0 0 0 1px #ffffff22,0 0 24px #00c8ff66,0 8px 28px #0009;transition:.35s transform,.35s filter}.logo-glow{position:absolute;z-index:0;width:90px;height:90px;border-radius:50%;background:#00c8ff33;filter:blur(20px);animation:logoPulse 2.6s ease-in-out infinite}.corebit-brand:hover .logo-orbit img{transform:scale(1.08) rotate(-2deg);filter:brightness(1.15) saturate(1.15)}.brand-copy strong{display:block;font-size:22px;letter-spacing:3px;font-weight:1000;line-height:1;color:#f7fbff;text-shadow:0 0 18px #ffffff18}.brand-copy strong span{color:#00c8ff;text-shadow:0 0 16px #00c8ff99}.brand-copy small{display:block;color:#7e96af;font-size:8px;letter-spacing:1.8px;margin-top:8px;font-weight:800}.brand-copy small i{color:#00c8ff;font-style:normal;margin:0 4px}@keyframes logoSpin{to{transform:rotate(360deg)}}@keyframes logoPulse{0%,100%{transform:scale(.8);opacity:.45}50%{transform:scale(1.15);opacity:.9}}.topbar nav{display:flex;gap:3px;flex:1;overflow:auto}.topbar nav button,.icon-btn{background:transparent;color:#9cb0c8;border:0;padding:10px 11px;border-radius:9px;font:600 11px Vazirmatn;cursor:pointer;white-space:nowrap}.topbar nav button:hover,.topbar nav button.active,.icon-btn:hover{background:#102238;color:#fff}.top-actions{display:flex;gap:4px}.icon-btn{font-size:17px}.page{display:none}.page.active{display:block}.hero{min-height:600px;padding:90px 8vw;display:grid;grid-template-columns:1.1fr .9fr;gap:70px;align-items:center;background:radial-gradient(circle at 80% 20%,#123c60 0,transparent 38%),radial-gradient(circle at 10% 80%,#18204f 0,transparent 28%)}.eyebrow{font-size:10px;letter-spacing:1.7px;color:#64e5ff;font-weight:900}.hero h1{font-size:clamp(40px,5.2vw,70px);line-height:1.08;margin:18px 0}.hero h1 em{font-style:normal;color:#6ae5ff}.hero p{max-width:760px;color:#9bb0c8;line-height:2;font-size:15px}.actions{display:flex;gap:12px;margin:28px 0;flex-wrap:wrap}.primary,.secondary{border:1px solid transparent;border-radius:12px;padding:12px 18px;font:800 11px Vazirmatn;cursor:pointer}.primary{background:linear-gradient(100deg,#675cff,#22d7fa);color:#fff;box-shadow:0 12px 35px #25218444}.secondary{background:#0c1b2c;color:#b9cbe0;border-color:#27435e}.hero-panel,.machine,.advisor-box,.metric,.feature-grid article,.tracker-card,.rank-card,.product-card,.detail-card,.insight-card{background:linear-gradient(145deg,#0b1a2b,#07121f);border:1px solid #1a334c;border-radius:20px}.hero-panel{padding:28px;box-shadow:0 30px 80px #0005}.panel-top{display:flex;justify-content:space-between;color:#6c819a;font-size:9px}.versus{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:center;text-align:center;margin:30px 0}.versus strong{display:block;font-size:15px}.versus small{display:block;color:#71859e;font-size:9px;margin-top:5px}.versus>b{color:#5e6f83}.scoreline{display:flex;align-items:end;justify-content:space-between}.scoreline strong{font-size:60px;color:#69e6ff;line-height:1}.scoreline span{font-weight:900;color:#8ff1bc}.bar,.mini{height:8px;background:#14273a;border-radius:10px;overflow:hidden;margin:12px 0}.bar i,.mini i{height:100%;display:block;background:linear-gradient(90deg,#665bff,#60e5ff)}.microgrid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.microgrid span{background:#091726;border:1px solid #193148;padding:10px;border-radius:9px;color:#7f94ad;font-size:10px}.microgrid b{float:left;color:#e9f3ff}.muted{color:#8196ae;font-size:11px;line-height:1.9}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:0 8vw 70px}.stats div{padding:20px;background:#091725;border:1px solid #193047;border-radius:15px}.stats b{display:block;color:#66e5ff;font-size:26px}.stats span{font-size:10px;color:#6f849c}.section-head{padding:65px 8vw 28px}.section-head h2{font-size:36px;margin:9px 0}.section-head p{color:#8398b0;font-size:13px}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;padding:0 8vw 80px}.feature-grid article{padding:23px;cursor:pointer;transition:.2s}.feature-grid article:hover,.product-card:hover,.rank-card:hover{transform:translateY(-3px);border-color:#315775}.feature-grid article span{font-size:25px}.feature-grid h3{margin:12px 0 5px}.feature-grid p{color:#8499b1;font-size:12px;line-height:1.9}.toolbar{margin:0 8vw 22px;display:flex;align-items:end;gap:10px;flex-wrap:wrap}.toolbar label,.machine label,.advisor-box label,.product-search label{display:block;color:#8499b0;font-size:10px}.toolbar select,.machine input,.machine textarea,.advisor-box input,.tracker-add input,.product-search input,.product-search select{display:block;margin-top:6px;background:#071421;border:1px solid #203b55;color:#eaf4ff;border-radius:9px;padding:11px;font:500 11px Vazirmatn;outline:none}.toolbar select{min-width:180px}.compare-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;padding:0 8vw}.machine{padding:24px;position:relative}.machine-title{display:flex;gap:10px;align-items:center;border-bottom:1px solid #193047;padding-bottom:13px;margin-bottom:15px}.machine-title>span{width:33px;height:33px;display:grid;place-items:center;border-radius:9px;background:#152b43;color:#6de5ff;font-weight:900}.machine-title h3{margin:0}.remove-slot{margin-right:auto;background:transparent;color:#ff8492;border:0;cursor:pointer}.two,.three,.four{display:grid;gap:10px}.two{grid-template-columns:1fr 1fr}.three{grid-template-columns:repeat(3,1fr)}.four{grid-template-columns:repeat(4,1fr)}.machine textarea{width:100%;min-height:70px;resize:vertical}.machine input{width:100%}.machine label{margin:10px 0}.compare-grid+.x{margin-top:0}#compare-result{margin:30px 8vw 80px}.result-card{background:#0a1827;border:1px solid #21405b;border-radius:20px;padding:25px}.result-head{display:flex;justify-content:space-between;align-items:center;gap:20px}.winner{font-size:28px;font-weight:900}.bigscore{font-size:55px;color:#68e6ff;font-weight:900}.confidence{color:#7288a1;font-size:10px}.verdict{background:#081522;border:1px solid #183149;border-radius:13px;padding:16px;color:#9eb2c8;font-size:12px;line-height:2;margin:18px 0}.verdict strong{color:#6ce7ff}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}.metric{padding:14px}.metric .mt{display:flex;justify-content:space-between;color:#94a8bf;font-size:11px}.metric .mt b{color:#edf5ff}.metric small{color:#70869f;font-size:9px}.warnings{background:#241d0d;border:1px solid #5b4a1d;color:#d1c07e;padding:14px;border-radius:12px;font-size:10px;line-height:2;margin-top:15px}.success{background:#09241b;border-color:#1b634b;color:#9be9c2}.insight-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:18px}.insight-card{padding:16px}.insight-card h4{margin:0 0 7px}.score-duel{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:15px 0}.score-duel div{padding:12px;background:#091725;border:1px solid #1b344b;border-radius:10px}.score-duel small{display:block;color:#71879f;font-size:9px}.score-duel b{display:block;margin-top:5px}.advisor-box{margin:0 8vw 80px;padding:28px}.question{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.advisor-box input{width:100%}.chips{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0}.chip{border:1px solid #28455f;background:#091725;color:#8fa4bb;padding:9px 13px;border-radius:999px;cursor:pointer;font:600 10px Vazirmatn}.chip.active{border-color:#58ddfa;color:#67e6ff;background:#0d2234}.slider-row{display:grid;grid-template-columns:140px 1fr 45px;gap:10px;align-items:center;margin:10px 0;color:#90a4bb;font-size:10px}.slider-row input{accent-color:#67e6ff}.slider-row b{color:#eaf3ff;text-align:left}.advisor-result{margin-top:20px}.recommend-card{display:grid;grid-template-columns:55px 1fr 100px;gap:14px;align-items:center;padding:15px;border:1px solid #1b3851;background:#091725;border-radius:13px;margin-top:10px}.recommend-rank{font-size:24px;color:#6de5ff;font-weight:900}.recommend-score{text-align:left;font-size:24px;font-weight:900;color:#6de5ff}.tabs{display:flex;gap:8px;padding:0 8vw 20px;overflow:auto}.tab{background:#0a1827;color:#8297ae;border:1px solid #1d3850;padding:10px 15px;border-radius:9px;font:700 10px Vazirmatn;cursor:pointer;white-space:nowrap}.tab.active{color:#6de5ff;border-color:#4acfe9}.rank-list{display:grid;gap:10px;padding:0 8vw 80px}.rank-card{display:grid;grid-template-columns:55px 1fr 130px;gap:15px;align-items:center;padding:16px;transition:.2s}.rank-num{font-size:20px;font-weight:900;color:#6de5ff}.rank-card h3{margin:0;font-size:14px}.rank-card small{color:#71869f}.rank-score{font-size:26px;font-weight:900;color:#edf5ff;text-align:left}.rank-bar{height:6px;background:#14283b;border-radius:8px;margin-top:8px}.rank-bar i{display:block;height:100%;background:linear-gradient(90deg,#6a5eff,#61e6ff);border-radius:8px}.board-summary{margin:0 8vw 14px;padding:14px 18px;border:1px solid #1d3850;border-radius:12px;background:#091725;color:#8da2ba;font-size:11px}.board-summary b{color:#69e6ff;margin-left:12px}.product-search{margin:0 8vw 25px;display:grid;grid-template-columns:1fr 180px;gap:10px}.product-search input,.product-search select{width:100%}.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;padding:0 8vw 40px}.product-card{padding:18px;cursor:pointer;transition:.2s}.product-card h3{margin:0 0 6px;font-size:14px}.product-card small{color:#71869f}.product-tags{display:flex;flex-wrap:wrap;gap:5px;margin:12px 0}.tag{font-size:9px;padding:5px 7px;border-radius:999px;background:#0e2437;color:#83dff2}.product-score{display:flex;justify-content:space-between;align-items:center}.product-score b{font-size:23px;color:#69e6ff}.detail-wrap{padding:0 8vw 80px}.detail-card{padding:25px}.detail-top{display:flex;justify-content:space-between;gap:20px;align-items:center}.detail-score{font-size:48px;color:#69e6ff;font-weight:900}.detail-actions{display:flex;gap:8px;flex-wrap:wrap}.detail-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:18px}.detail-stat{padding:13px;background:#091725;border:1px solid #19334b;border-radius:10px}.detail-stat small{display:block;color:#71869f;font-size:9px}.detail-stat b{display:block;margin-top:5px}.tracker-add{display:grid;grid-template-columns:1.4fr 1fr 1fr auto;gap:10px;padding:0 8vw 20px}.tracker-list{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;padding:0 8vw 80px}.tracker-card{padding:18px}.tracker-card strong{font-size:14px}.tracker-card .target{color:#68e6ff;font-weight:800}.tracker-card button{float:left;background:transparent;border:0;color:#ff8f9b;cursor:pointer}.status-good{color:#8ff1bc}.status-wait{color:#ffd879}.status-over{color:#ff9a9a}footer{text-align:center;border-top:1px solid #172a3d;padding:28px;color:#5f748d;font-size:10px}@media(max-width:1000px){.hero,.compare-grid{grid-template-columns:1fr}.hero{padding:55px 6vw}.stats,.feature-grid,.product-grid{grid-template-columns:1fr 1fr;padding-left:6vw;padding-right:6vw}.section-head{padding-left:6vw;padding-right:6vw}.toolbar,#compare-result,.advisor-box,.tabs,.rank-list,.tracker-add,.tracker-list,.detail-wrap{margin-left:6vw;margin-right:6vw;padding-left:0;padding-right:0}.compare-grid{padding:0 6vw}.question,.detail-grid{grid-template-columns:1fr 1fr}.metrics,.insight-grid{grid-template-columns:1fr 1fr}.tracker-add{grid-template-columns:1fr 1fr}.product-search{margin-left:6vw;margin-right:6vw}.product-grid{padding-left:6vw;padding-right:6vw}}@media(max-width:650px){.topbar{padding:0 4vw}.topbar nav{display:none}.brand{min-width:0}.stats,.feature-grid,.product-grid,.metrics,.question,.insight-grid,.detail-grid,.score-duel{grid-template-columns:1fr}.two,.three,.four{grid-template-columns:1fr}.hero h1{font-size:40px}.result-head,.detail-top{display:block}.rank-card{grid-template-columns:40px 1fr}.rank-score{text-align:right}.tracker-add,.product-search{display:block;margin-left:6vw;margin-right:6vw}.tracker-add input,.product-search input,.product-search select{margin-bottom:8px;width:100%}.recommend-card{grid-template-columns:40px 1fr}.recommend-score{text-align:right}.hero{padding-top:40px}}

/* Visual upgrade: WOW.js + Chart.js */
.charts-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:22px 0}
.chart-card{background:var(--card,#101722);border:1px solid var(--border,#243044);border-radius:22px;padding:20px;min-height:330px;box-shadow:0 18px 50px rgba(0,0,0,.12)}
.chart-card h3{margin:0 0 14px;font-weight:800}
.chart-card canvas{width:100%!important;height:270px!important}
.wow{visibility:hidden}.wow.animate__animated{visibility:visible}
@media(max-width:900px){.charts-grid{grid-template-columns:1fr}.chart-card{min-height:300px}.chart-card canvas{height:240px!important}}

@media(max-width:650px){.brand{min-width:0;gap:10px}.logo-orbit{width:50px;height:50px;flex-basis:50px}.logo-orbit img{width:46px;height:46px;border-radius:12px}.brand-copy strong{font-size:17px;letter-spacing:2px}.brand-copy small{font-size:6px;letter-spacing:1px;margin-top:5px}}

/* Corebit company identity — use the full Corebit logo as the primary mark */
.corebit-brand{color:inherit;text-decoration:none;cursor:pointer}
.cb-brand-orbit{display:grid!important;place-items:center;position:relative;overflow:visible!important}
.cb-mark{width:62px;height:62px;display:grid;place-items:center;border-radius:20px;font-weight:1000;font-size:24px;letter-spacing:-1px;color:#fff;background:linear-gradient(145deg,#0ea5e9,#2563eb 52%,#7c3aed);border:1px solid rgba(255,255,255,.34);box-shadow:0 0 0 1px rgba(14,165,233,.22),0 0 28px rgba(14,165,233,.48),inset 0 1px 0 rgba(255,255,255,.35);text-shadow:0 2px 8px rgba(0,0,0,.28);transition:transform .35s ease,box-shadow .35s ease}
.cb-mark::after{content:"";position:absolute;inset:-8px;border-radius:24px;border:1px solid rgba(56,189,248,.35);animation:cbPulse 2.2s ease-in-out infinite;pointer-events:none}
.corebit-brand:hover .cb-mark{transform:translateY(-2px) scale(1.06) rotate(-2deg);box-shadow:0 0 0 1px rgba(14,165,233,.35),0 0 42px rgba(14,165,233,.7),inset 0 1px 0 rgba(255,255,255,.45)}
.brand-copy em{display:block;font-size:9px;font-style:normal;color:#7dd3fc;margin-top:3px;font-weight:700;opacity:.9}
.company-signature{margin-top:18px}
.company-signature a,.footer-brand,.company-link{display:inline-flex;align-items:center;gap:9px;color:inherit;text-decoration:none}
.company-signature a{padding:9px 13px;border:1px solid rgba(56,189,248,.22);border-radius:999px;background:rgba(14,165,233,.07);transition:.25s ease}
.company-signature a:hover{transform:translateY(-2px);border-color:rgba(56,189,248,.5);background:rgba(14,165,233,.12)}
.cb-mark-xs{width:28px;height:28px;border-radius:9px;font-size:11px}
.cb-mark-xs::after{inset:-4px;border-radius:12px}
.site-footer{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:14px;border-top:1px solid #1a2a3d;color:#8ea2b9}
.footer-brand{font-size:17px;font-weight:900;color:#edf5ff}.footer-brand span:last-child{color:#38bdf8}
.footer-brand strong span{color:#38bdf8}
.company-link{font-weight:800;color:#7dd3fc}.company-link:hover{text-decoration:underline}
.cb-mark-sm{width:34px;height:34px;border-radius:11px;font-size:12px}.cb-mark-sm::after{inset:-4px;border-radius:14px}
@keyframes cbPulse{0%,100%{transform:scale(.92);opacity:.35}50%{transform:scale(1.08);opacity:.9}}
@media(max-width:760px){.brand-copy em{display:none}.site-footer{padding-inline:18px}.cb-mark{width:52px;height:52px;font-size:20px;border-radius:16px}.brand-copy strong{font-size:20px}}
body.light .footer-brand{color:#102033}body.light .company-signature a{background:rgba(14,165,233,.06);border-color:rgba(14,165,233,.2)}

.floating-corebit{position:fixed;left:24px;bottom:24px;z-index:100;display:flex;align-items:center;gap:10px;padding:8px 12px 8px 8px;border:1px solid rgba(56,189,248,.32);border-radius:18px;background:rgba(7,16,29,.88);backdrop-filter:blur(16px);box-shadow:0 12px 40px rgba(0,0,0,.3),0 0 24px rgba(14,165,233,.18);color:#fff;text-decoration:none;transition:transform .3s ease,border-color .3s ease,box-shadow .3s ease}
.floating-corebit:hover{transform:translateY(-4px);border-color:rgba(56,189,248,.72);box-shadow:0 16px 48px rgba(0,0,0,.34),0 0 34px rgba(14,165,233,.34)}
.cb-float-mark::after{inset:-5px;border-radius:16px}
.floating-corebit-text{display:flex;flex-direction:column;line-height:1.05}.floating-corebit-text b{font-size:12px;letter-spacing:.7px}.floating-corebit-text small{font-size:9px;color:#7dd3fc;margin-top:4px;direction:ltr;text-align:left}
body.light .floating-corebit{background:rgba(255,255,255,.92);color:#102033;box-shadow:0 12px 40px rgba(15,23,42,.14),0 0 24px rgba(14,165,233,.12)}
@media(max-width:600px){.floating-corebit{left:14px;bottom:14px;padding:7px}.floating-corebit-text{display:none}}

/* Prominent Corebit site identity */
.site-logo-image{position:relative;z-index:3;width:118px;height:74px;object-fit:contain;object-position:center;filter:drop-shadow(0 0 12px rgba(0,200,255,.45)) drop-shadow(0 8px 20px rgba(0,0,0,.5));transition:transform .35s ease,filter .35s ease}

.corebit-brand:hover .site-logo-image{transform:scale(1.07);filter:drop-shadow(0 0 20px rgba(0,200,255,.75)) drop-shadow(0 10px 25px rgba(0,0,0,.55))}
.hero-logo-wrap{position:relative;width:min(390px,72vw);margin-bottom:18px;display:flex;align-items:center;justify-content:flex-start}
.hero-logo-image{width:100%;height:auto;max-height:210px;object-fit:contain;object-position:left center;filter:drop-shadow(0 0 24px rgba(0,200,255,.25));animation:heroLogoFloat 4s ease-in-out infinite}

@keyframes heroLogoFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
@media(max-width:650px){.site-logo-image{width:88px;height:56px}.hero-logo-wrap{width:min(330px,82vw)}.hero-logo-image{max-height:165px}}


/* Currency converter */
.currency-wrap{padding:0 8vw 80px}.currency-card{background:#091725;border:1px solid #1d3b55;border-radius:24px;padding:28px;box-shadow:0 20px 60px rgba(0,0,0,.16)}.currency-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.currency-head h3{margin:5px 0 0;font-size:22px}.currency-grid{display:grid;grid-template-columns:1fr 1.2fr 1.2fr;gap:14px}.currency-grid label{display:flex;flex-direction:column;gap:8px;color:#9bb0c5;font-size:11px}.currency-grid input,.currency-grid select{width:100%;background:#07121f;color:#edf5ff;border:1px solid #23445f;border-radius:12px;padding:14px;font:600 13px Vazirmatn;outline:none}.currency-grid input:focus,.currency-grid select:focus{border-color:#67e6ff;box-shadow:0 0 0 3px rgba(103,230,255,.08)}.currency-result{margin-top:20px}.currency-main{display:grid;grid-template-columns:1fr auto 1fr;gap:20px;align-items:center;padding:24px;border-radius:18px;background:linear-gradient(135deg,#0a1b2b,#0d2235);border:1px solid #21445f}.currency-main>div:not(.currency-divider){display:flex;flex-direction:column;gap:7px}.currency-main small{color:#71869e;font-size:10px}.currency-main strong{font-size:30px;color:#68e6ff;line-height:1.25}.currency-main span{font-size:11px;color:#a7b8c9}.currency-divider{font-size:26px;color:#67e6ff}.currency-empty{padding:20px;border:1px dashed #31516a;border-radius:14px;color:#8197ad;text-align:center}.currency-scenarios{margin-top:22px}.scenario-title{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:10px;color:#dce9f5}.scenario-title small{color:#71869e;font-size:10px}.currency-scenario-grid{display:grid}.currency-scenario{display:flex}.currency-scenarios #currency-scenario-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:9px}.currency-scenario{padding:14px;border:1px solid #1c374d;background:#071522;border-radius:13px;display:flex;flex-direction:column;gap:5px}.currency-scenario small{color:#71869f;font-size:9px}.currency-scenario strong{color:#edf5ff;font-size:13px}.currency-scenario.current{border-color:#4fd9f4;background:#0a2232;box-shadow:0 0 20px rgba(79,217,244,.09)}.currency-note{margin-top:18px;padding:13px;border-radius:12px;background:#07131f;color:#7890a7;font-size:10px;line-height:2}.currency-note b{color:#9bdff0}body.light .currency-card{background:#fff;border-color:#dbe6f0}body.light .currency-grid input,body.light .currency-grid select{background:#f8fbfe;color:#172638;border-color:#cad8e6}body.light .currency-main{background:#f4f9fd;border-color:#cfe0ec}body.light .currency-scenario{background:#f7fbfe;border-color:#d7e3ed}body.light .currency-note{background:#f4f8fb}@media(max-width:900px){.currency-grid{grid-template-columns:1fr 1fr}.currency-scenarios #currency-scenario-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:650px){.currency-wrap{padding:0 6vw 60px}.currency-head{display:block}.currency-head button{margin-top:12px}.currency-grid{grid-template-columns:1fr}.currency-main{grid-template-columns:1fr;text-align:center}.currency-divider{transform:rotate(90deg)}.currency-scenarios #currency-scenario-grid{grid-template-columns:1fr 1fr}}

/* ===== Corebit Light Theme — full visual override ===== */
body.light{background:#f6f9fc;color:#172536}
body.light .topbar{background:rgba(255,255,255,.94);border-bottom-color:#d9e3ed;box-shadow:0 8px 30px rgba(30,60,90,.06)}
body.light .topbar nav button,body.light .icon-btn{color:#53677d}
body.light .topbar nav button:hover,body.light .topbar nav button.active,body.light .icon-btn:hover{background:#eaf3fa;color:#122235}
body.light .logo-orbit::after{background:#f8fbff;box-shadow:inset 0 0 18px #d9edf8}
body.light .brand-copy strong{color:#172536;text-shadow:none}
body.light .brand-copy small{color:#647a90}
body.light .hero{background:radial-gradient(circle at 80% 20%,#dff5ff 0,transparent 38%),radial-gradient(circle at 10% 80%,#e8e7ff 0,transparent 30%)}
body.light .hero p{color:#52677c}
body.light .hero-panel,body.light .machine,body.light .advisor-box,body.light .metric,body.light .feature-grid article,body.light .tracker-card,body.light .rank-card,body.light .product-card,body.light .detail-card,body.light .insight-card{background:linear-gradient(145deg,#fff,#f7fafc);border-color:#d7e2ec;box-shadow:0 12px 34px rgba(31,61,90,.07)}
body.light .panel-top,body.light .versus small,body.light .muted,body.light .feature-grid p,body.light .confidence,body.light .metric small,body.light .rank-card small,body.light .product-card small,body.light .detail-stat small{color:#657b90}
body.light .secondary{background:#fff;color:#345069;border-color:#cbd9e5}
body.light .stats div{background:#fff;border-color:#d9e3ed;box-shadow:0 8px 25px rgba(31,61,90,.05)}
body.light .stats span,body.light .section-head p{color:#60758a}
body.light .toolbar select,body.light .machine input,body.light .machine textarea,body.light .advisor-box input,body.light .tracker-add input,body.light .product-search input,body.light .product-search select{background:#fff;color:#1b2d40;border-color:#cbd9e5}
body.light .machine-title{border-bottom-color:#dce6ee}
body.light .machine-title>span{background:#e7f4fb}
body.light .bar,body.light .mini,body.light .rank-bar{background:#dfe9f1}
body.light .microgrid span,body.light .score-duel div,body.light .recommend-card,body.light .tab,body.light .board-summary{background:#f4f8fb;border-color:#d8e3ec;color:#52697e}
body.light .microgrid b,body.light .metric .mt b,body.light .score-duel b,body.light .recommend-score,body.light .rank-score{color:#1c3044}
body.light .result-card{background:#fff;border-color:#d4e0ea;box-shadow:0 16px 45px rgba(31,61,90,.08)}
body.light .verdict{background:#f5f9fc;border-color:#dbe5ed;color:#53697e}
body.light .warnings{background:#fff8e7;border-color:#ead9a8;color:#76622a}
body.light .success{background:#effbf5;border-color:#b9e4d0;color:#28704f}
body.light .chip{background:#f5f9fc;color:#5b7085;border-color:#ccdbe7}
body.light .chip.active{background:#e9f8fd;color:#0785b4;border-color:#52cde8}
body.light .slider-row{color:#5d7287}
body.light .slider-row b{color:#1c3044}
body.light .tab.active{background:#e9f8fd;color:#0785b4;border-color:#55cce7}
body.light .rank-bar{background:#dfe8ef}
body.light .detail-stat{background:#f5f9fc;border-color:#d9e4ed}
body.light .chart-card{--card:#fff;--border:#d8e3ec;background:#fff;border-color:#d8e3ec;box-shadow:0 12px 34px rgba(31,61,90,.07)}
body.light .site-footer{border-top-color:#dbe5ed;color:#62788d;background:#f8fafc}
body.light .footer-brand{color:#172536}
body.light .floating-corebit{background:rgba(255,255,255,.96);border-color:#bcdceb}
body.light .currency-card{background:#fff;border-color:#d5e1eb;box-shadow:0 16px 45px rgba(31,61,90,.08)}
body.light .currency-grid label{color:#5d7287}
body.light .currency-grid input,body.light .currency-grid select{background:#fff;color:#172a3d;border-color:#c9d8e4}
body.light .currency-main{background:linear-gradient(135deg,#f1f8fc,#f8fbfd);border-color:#cfe0eb}
body.light .currency-main span{color:#536a80}
body.light .currency-empty{border-color:#cbdbe6;color:#60778c}
body.light .currency-scenario{background:#f5f9fc;border-color:#d7e3ec}
body.light .currency-scenario strong{color:#203448}
body.light .currency-scenario.current{background:#eaf8fc;border-color:#4fcde8}
body.light .currency-note{background:#f3f8fb;color:#60778c;border:1px solid #dbe6ee}
body.light footer .company-link{color:#087fae}
body.light .company-signature a{color:#314d65}
body.light .hero-logo-image{filter:drop-shadow(0 0 18px rgba(0,150,210,.22))}

/* ===== Corebit Light Theme v2 — Sky Blue + White ===== */
body.light{
  background:linear-gradient(180deg,#eaf8ff 0%,#f7fcff 42%,#ffffff 100%);
  color:#17324a;
}
body.light .topbar{
  background:linear-gradient(90deg,rgba(255,255,255,.97),rgba(232,248,255,.96),rgba(255,255,255,.97));
  border-bottom:1px solid #bfe5f5;
  box-shadow:0 8px 32px rgba(30,144,190,.10);
}
body.light .topbar nav button,body.light .icon-btn{color:#41647d}
body.light .topbar nav button:hover,body.light .topbar nav button.active,body.light .icon-btn:hover{
  background:#dff4fd;color:#087fae;box-shadow:inset 0 0 0 1px #b8e4f5;
}
body.light .brand-copy strong{color:#15334b}
body.light .brand-copy strong span{color:#079bd0}
body.light .brand-copy small{color:#63829a}
body.light .hero{
  background:
    radial-gradient(circle at 82% 18%,rgba(83,211,255,.28) 0,transparent 35%),
    radial-gradient(circle at 8% 82%,rgba(171,231,255,.32) 0,transparent 34%),
    linear-gradient(135deg,#e7f8ff 0%,#ffffff 62%,#eaf8ff 100%);
}
body.light .hero h1{color:#12314a}
body.light .hero h1 em{color:#079bd0}
body.light .hero p{color:#4e6d84}
body.light .eyebrow{color:#078fbd}
body.light .hero-panel,body.light .machine,body.light .advisor-box,body.light .metric,
body.light .feature-grid article,body.light .tracker-card,body.light .rank-card,
body.light .product-card,body.light .detail-card,body.light .insight-card{
  background:linear-gradient(145deg,#ffffff 0%,#f4fbff 100%);
  border-color:#bfe1ef;
  box-shadow:0 16px 42px rgba(24,119,158,.10);
}
body.light .hero-panel{box-shadow:0 22px 60px rgba(21,139,190,.14)}
body.light .panel-top,body.light .versus small,body.light .muted,body.light .feature-grid p,
body.light .confidence,body.light .metric small,body.light .rank-card small,
body.light .product-card small,body.light .detail-stat small{color:#607e94}
body.light .secondary{background:#fff;color:#24516d;border-color:#a9d6e9}
body.light .primary{background:linear-gradient(100deg,#159bd0,#55d6f7);box-shadow:0 12px 30px rgba(21,155,208,.22)}
body.light .stats div{
  background:linear-gradient(145deg,#ffffff,#eefaff);
  border-color:#c4e4f1;box-shadow:0 10px 28px rgba(30,132,174,.08)
}
body.light .stats b{color:#079bd0}
body.light .stats span,body.light .section-head p{color:#5d7b91}
body.light .toolbar select,body.light .machine input,body.light .machine textarea,
body.light .advisor-box input,body.light .tracker-add input,body.light .product-search input,
body.light .product-search select{
  background:#fff;color:#19364d;border-color:#b8d8e7;box-shadow:0 4px 14px rgba(39,128,166,.05)
}
body.light .toolbar select:focus,body.light .machine input:focus,body.light .machine textarea:focus,
body.light .advisor-box input:focus,body.light .tracker-add input:focus,
body.light .product-search input:focus,body.light .product-search select:focus{
  border-color:#48c6ec;box-shadow:0 0 0 3px rgba(72,198,236,.13)
}
body.light .machine-title{border-bottom-color:#d5e9f2}
body.light .machine-title>span{background:#dff5fc;color:#078fbd}
body.light .bar,body.light .mini,body.light .rank-bar{background:#d7eaf2}
body.light .microgrid span,body.light .score-duel div,body.light .recommend-card,
body.light .tab,body.light .board-summary{
  background:linear-gradient(145deg,#f9fdff,#eef9fd);border-color:#c8e1ec;color:#4f6e84
}
body.light .microgrid b,body.light .metric .mt b,body.light .score-duel b,
body.light .recommend-score,body.light .rank-score{color:#17364e}
body.light .result-card{
  background:linear-gradient(145deg,#ffffff,#f1faff);border-color:#b9dce9;
  box-shadow:0 18px 48px rgba(31,128,169,.10)
}
body.light .verdict{background:#edf9fe;border-color:#c5e5f1;color:#4f6d82}
body.light .warnings{background:#fff9e9;border-color:#ead8a4;color:#756126}
body.light .success{background:#effcf7;border-color:#b7e6d2;color:#286e50}
body.light .chip{background:#f4fbfe;color:#527187;border-color:#bddce9}
body.light .chip.active{background:#dff7fe;color:#057da9;border-color:#49c9ed;box-shadow:0 0 18px rgba(73,201,237,.12)}
body.light .slider-row{color:#58758b}
body.light .slider-row b{color:#17364e}
body.light .tab.active{background:#dff7fe;color:#057da9;border-color:#4bc9ed}
body.light .detail-stat{background:linear-gradient(145deg,#f8fcfe,#edf8fc);border-color:#c9e1eb}
body.light .chart-card{--card:#fff;--border:#c7e0ea;background:linear-gradient(145deg,#fff,#f2faff);border-color:#c7e0ea;box-shadow:0 14px 38px rgba(30,132,174,.08)}
body.light .site-footer{border-top-color:#bfe0ec;color:#5c788e;background:linear-gradient(180deg,#f4fbfe,#eaf7fc)}
body.light .footer-brand{color:#17344b}
body.light .company-link{color:#078fbd}
body.light .floating-corebit{background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(225,247,255,.97));border-color:#9fd5e9;color:#17344b;box-shadow:0 14px 40px rgba(25,121,161,.14),0 0 28px rgba(65,199,239,.16)}
body.light .currency-card{
  background:linear-gradient(145deg,#ffffff 0%,#eefaff 100%);
  border-color:#b8ddea;box-shadow:0 18px 50px rgba(24,127,168,.11)
}
body.light .currency-grid label{color:#557389}
body.light .currency-grid input,body.light .currency-grid select{background:#fff;color:#17364e;border-color:#b8d8e7}
body.light .currency-main{
  background:linear-gradient(135deg,#dff6fd 0%,#ffffff 52%,#eaf8fd 100%);
  border-color:#9ed8ea;box-shadow:inset 0 0 35px rgba(81,203,239,.08)
}
body.light .currency-main strong{color:#078fbd}
body.light .currency-main span{color:#4d6c82}
body.light .currency-empty{border-color:#afd4e3;color:#5e7a90;background:rgba(255,255,255,.55)}
body.light .currency-scenario{background:linear-gradient(145deg,#fff,#eff9fd);border-color:#c3e0eb}
body.light .currency-scenario strong{color:#1c3b52}
body.light .currency-scenario.current{background:#dff7fe;border-color:#43c8ed;box-shadow:0 0 22px rgba(67,200,237,.12)}
body.light .currency-note{background:#eaf7fc;color:#58768b;border:1px solid #c6e1eb}
body.light .currency-note b{color:#087fae}
body.light .hero-logo-image{filter:drop-shadow(0 0 24px rgba(0,158,211,.28))}
body.light .site-logo-image{filter:drop-shadow(0 0 15px rgba(0,158,211,.30)) drop-shadow(0 8px 18px rgba(30,120,160,.16))}
body.light .logo-orbit::after{background:#f5fcff;box-shadow:inset 0 0 18px #bfeafa}
/* Corebit Decision Engine v2 */
.market-toolbar,.finder-fields{display:grid;grid-template-columns:1fr auto;gap:14px;margin-bottom:18px}.finder-fields{grid-template-columns:repeat(4,1fr)}
.market-grid,.finder-results,.trust-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.market-card,.finder-card,.trust-card,.source-card{background:var(--card);border:1px solid var(--border);border-radius:22px;padding:20px;box-shadow:0 14px 35px rgba(0,0,0,.08)}
.market-card h3,.finder-card h3{margin:0 0 8px}.price-row{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid var(--border)}.price-row:last-child{border-bottom:0}.price-good{color:#0b9b6b}.price-fair{color:#1684b8}.price-high{color:#c27b00}.price-unknown{color:#7d8c98}.source-list{display:grid;gap:12px;margin-top:18px}.source-card{display:flex;justify-content:space-between;gap:20px;align-items:center}.source-card a{color:#0b8ebd}.market-trust{margin-top:18px;padding:16px 18px;border-radius:18px;background:rgba(87,203,239,.08);border:1px solid rgba(87,203,239,.28)}
.finder-box{padding:22px;border:1px solid var(--border);background:var(--card);border-radius:24px}.finder-card .finder-score{font-size:34px;font-weight:900;color:#078fbd}.finder-card ul{padding-right:20px}.finder-card li{margin:6px 0}.confidence{font-size:12px;padding:5px 9px;border-radius:999px;background:rgba(87,203,239,.12);display:inline-block}.weight-row{display:grid;grid-template-columns:150px 1fr 50px;gap:12px;align-items:center;margin:12px 0}.weight-row input{width:100%}
body.light .market-card,body.light .finder-card,body.light .trust-card,body.light .source-card,body.light .finder-box{background:linear-gradient(145deg,#fff,#effaff);border-color:#c0dfeb;box-shadow:0 14px 38px rgba(31,128,169,.08)}
@media(max-width:900px){.market-grid,.finder-results,.trust-grid,.finder-fields{grid-template-columns:1fr 1fr}.market-toolbar{grid-template-columns:1fr}.weight-row{grid-template-columns:110px 1fr 45px}}
@media(max-width:600px){.market-grid,.finder-results,.trust-grid,.finder-fields{grid-template-columns:1fr}.source-card{display:block}.source-card a{display:block;margin-top:8px}}


/* =========================================================
   Corebit Decision Engine — Premium UI Patch
   Scoped to the newly added market/finder/trust modules.
   ========================================================= */
:root{
  --cb-sky:#35c8f3;
  --cb-blue:#168dcc;
  --cb-ink:#102b3f;
  --cb-muted:#668196;
  --cb-soft:#effaff;
}
.market-toolbar{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:14px;
  padding:14px;
  margin-bottom:18px;
  border:1px solid #17324a;
  border-radius:20px;
  background:linear-gradient(145deg,#0b1726,#0a2032);
  box-shadow:0 16px 40px rgba(0,0,0,.14);
}
.market-toolbar select,.market-toolbar button{min-height:48px}
.market-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.market-card,.finder-card,.trust-card,.source-card{
  position:relative;
  overflow:hidden;
  border-radius:22px;
  border:1px solid #203b53;
  background:linear-gradient(145deg,#0b1726,#0b1d2d);
  box-shadow:0 18px 42px rgba(0,0,0,.13);
}
.market-card::before,.finder-card::before,.trust-card::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:3px;
  background:linear-gradient(90deg,transparent,var(--cb-sky),transparent);
  opacity:.65;
}
.market-card h3,.finder-card h3,.trust-card h3{margin:8px 0 10px}
.market-card p,.finder-card p,.trust-card p,.source-card p{color:#91a8ba;line-height:1.9}
.price-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  padding:13px 0;
  border-bottom:1px solid rgba(139,181,207,.14);
}
.price-row:last-child{border-bottom:0}
.price-row b{font-size:15px;color:#f2f8fc}
.price-row em{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:76px;
  margin-inline:8px;
  padding:5px 9px;
  border-radius:999px;
  font-size:11px;
  font-style:normal;
  font-weight:800;
}
.price-row em.good{background:#103e32;color:#70e2b0;border:1px solid #1c7159}
.price-row em.ok{background:#3c3516;color:#f0d46a;border:1px solid #756622}
.price-row em.high{background:#481d26;color:#ff9ca7;border:1px solid #7e3440}
.price-row a,.source-card a{color:#58cff5;text-decoration:none;font-weight:700}
.price-row a:hover,.source-card a:hover{text-decoration:underline}
.market-trust{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:18px;
  padding:16px 18px;
  border-radius:18px;
  border:1px solid rgba(53,200,243,.25);
  background:linear-gradient(90deg,rgba(53,200,243,.10),rgba(53,200,243,.03));
  color:#a9bdcb;
  line-height:1.9;
}
.market-trust b{color:#62d4f6}
.finder-box{
  padding:24px;
  border:1px solid #c2e1ec;
  border-radius:26px;
  background:linear-gradient(145deg,#ffffff,#eefaff);
  box-shadow:0 18px 50px rgba(27,126,166,.10);
}
.finder-fields{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin-bottom:20px;
}
.finder-fields label{
  display:flex;
  flex-direction:column;
  gap:8px;
  color:#5a7589;
  font-size:12px;
  font-weight:800;
}
.finder-fields input{
  width:100%;
  min-height:48px;
  border:1px solid #b9d9e6;
  border-radius:14px;
  padding:0 14px;
  background:#fff;
  color:#17364e;
  outline:none;
  transition:.2s;
}
.finder-fields input:focus{
  border-color:#40c8ef;
  box-shadow:0 0 0 4px rgba(64,200,239,.12);
}
#finder-weights{
  display:grid;
  gap:8px;
  padding:16px;
  margin:16px 0 20px;
  border:1px solid #d1e7ef;
  border-radius:18px;
  background:rgba(255,255,255,.7);
}
.weight-row{
  display:grid;
  grid-template-columns:150px minmax(0,1fr) 46px;
  align-items:center;
  gap:12px;
  padding:7px 0;
  color:#496b81;
}
.weight-row b{
  text-align:center;
  color:#078fbd;
  font-size:13px;
}
.weight-row input{width:100%;accent-color:#27b9e8}
#finder-result{margin-top:20px}
.finder-results{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin-top:16px;
}
.finder-card{
  padding:20px;
  background:linear-gradient(145deg,#ffffff,#effaff);
  border-color:#c0dfeb;
  color:#17364e;
  box-shadow:0 14px 38px rgba(31,128,169,.08);
}
.finder-card p,.finder-card li{color:#5e788c}
.finder-card ul{margin:16px 0;padding-right:20px}
.finder-card li{margin:8px 0}
.finder-score{
  display:flex;
  align-items:baseline;
  gap:5px;
  margin:10px 0;
  font-size:42px;
  line-height:1;
  font-weight:950;
  color:#078fbd;
  letter-spacing:-1px;
}
.finder-score small{font-size:14px;color:#7190a2}
.confidence{
  display:inline-flex;
  padding:5px 9px;
  border-radius:999px;
  border:1px solid #b9d9e6;
  background:#effaff;
  color:#537388;
  font-size:10px;
  font-weight:800;
}
.trust-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}
.trust-card{padding:22px}
.trust-card b{
  display:block;
  margin-bottom:8px;
  color:#bcefff;
  font-size:14px;
}
.source-list{display:grid;gap:12px;margin-top:18px}
.source-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:18px 20px;
}
.source-card>div:first-child{min-width:0}
.source-card b{color:#edf7fc}
.source-card p{margin:6px 0 0;font-size:12px}
.source-card>div:last-child{text-align:left;line-height:2}
body.light .market-toolbar{
  border-color:#c4e2ec;
  background:linear-gradient(135deg,#e7f8fd,#ffffff 55%,#eaf8fc);
  box-shadow:0 16px 40px rgba(27,126,166,.09);
}
body.light .market-toolbar select,
body.light .market-toolbar input{
  background:#fff;color:#17364e;border-color:#b9d9e6;
}
body.light .market-card,
body.light .trust-card,
body.light .source-card{
  background:linear-gradient(145deg,#ffffff,#eefaff);
  border-color:#c0dfeb;
  color:#17364e;
  box-shadow:0 14px 38px rgba(31,128,169,.08);
}
body.light .market-card h3,
body.light .trust-card b,
body.light .source-card b{color:#17364e}
body.light .market-card p,
body.light .trust-card p,
body.light .source-card p{color:#5d788c}
body.light .price-row{border-bottom-color:#d9eaf1}
body.light .price-row b{color:#17364e}
body.light .market-trust{
  background:linear-gradient(90deg,#e4f8fd,#f9fdff);
  border-color:#b9deea;color:#58758a;
}
body.light .market-trust b{color:#087fae}
body.light .price-row em.good{background:#eafaf3;color:#207252;border-color:#a8dcc6}
body.light .price-row em.ok{background:#fff9df;color:#806d18;border-color:#ead78c}
body.light .price-row em.high{background:#fff0f2;color:#a23845;border-color:#e7b2b9}
body.light .confidence{background:#effaff;border-color:#b9dce9;color:#55758a}
@media(max-width:1100px){
  .trust-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .finder-results,.market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .finder-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  .market-grid,.finder-results,.trust-grid,.finder-fields{grid-template-columns:1fr}
  .market-toolbar{grid-template-columns:1fr}
  .source-card{display:block}
  .source-card>div:last-child{text-align:right;margin-top:12px}
  .weight-row{grid-template-columns:105px minmax(0,1fr) 40px}
  .finder-box{padding:16px}
}


/* ==========================================================
   COREBIT MOBILE NAVIGATION — responsive section switching
   ========================================================== */
.mobile-menu-toggle{display:none}
@media(max-width:700px){
  body{overflow-x:hidden}
  .topbar{
    position:sticky;top:0;z-index:1000;
    min-height:64px;padding:8px 12px;
    display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;
  }
  .corebit-brand{min-width:0;gap:8px}
  .site-logo-image{width:42px!important;height:42px!important}
  .cb-brand-orbit{width:46px!important;height:46px!important;flex:0 0 46px}
  .brand-copy strong{font-size:17px!important;letter-spacing:1px!important}
  .brand-copy small{font-size:7px!important;white-space:nowrap}
  .brand-copy em{display:none!important}
  .top-actions{gap:5px}
  .top-actions .icon-btn{width:36px;height:36px}

  .mobile-menu-toggle{
    display:flex;align-items:center;justify-content:center;gap:5px;
    min-width:78px;height:38px;padding:0 10px;border-radius:12px;
    border:1px solid #27516d;background:#0a1a2a;color:#dff7ff;
    font:800 11px Vazirmatn;cursor:pointer;white-space:nowrap;
  }
  .mobile-menu-toggle span{font-size:10px}
  body.light .mobile-menu-toggle{background:linear-gradient(135deg,#e9f8ff,#fff);border-color:#a9d9ea;color:#087fae}

  .topbar nav{
    position:absolute;top:calc(100% + 8px);right:10px;left:10px;
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;
    padding:10px;border:1px solid #244761;border-radius:16px;
    background:rgba(7,16,29,.97);backdrop-filter:blur(18px);
    box-shadow:0 20px 55px rgba(0,0,0,.28);
    opacity:0;visibility:hidden;transform:translateY(-8px);pointer-events:none;
    transition:opacity .2s ease,transform .2s ease,visibility .2s ease;
  }
  .topbar nav.mobile-open{opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto}
  .topbar nav button{
    width:100%;min-height:44px!important;padding:8px 7px!important;
    border-radius:11px!important;font-size:11px!important;
    white-space:normal!important;text-align:center;
    border:1px solid transparent;
  }
  body.light .topbar nav{background:rgba(255,255,255,.98);border-color:#b9dfec;box-shadow:0 20px 55px rgba(31,128,169,.16)}
  body.light .topbar nav button{background:#f4fbfe;border-color:#d4e9f1;color:#31566e}
  body.light .topbar nav button.active{background:#dff5fd;border-color:#62cce9;color:#087fae}

  /* Pages should use the full phone width without horizontal overflow. */
  main{width:100%;overflow:hidden}
  .page{padding:26px 14px 56px!important}
  .section-head h2{font-size:24px!important;line-height:1.45}
  .section-head p{font-size:11px;line-height:2}
  .hero{grid-template-columns:1fr!important;padding:20px 0!important;gap:18px!important}
  .hero h1{font-size:34px!important}
  .hero-logo-image{max-width:190px!important}
  .hero-panel{order:2}
  .actions{display:grid!important;grid-template-columns:1fr 1fr;gap:8px}
  .actions button{width:100%}
  .stats{grid-template-columns:repeat(2,1fr)!important;gap:8px!important}
  .stats div{padding:14px 8px!important}
  .feature-grid{grid-template-columns:1fr!important}

  .toolbar,.product-search,.tracker-add,.market-toolbar{display:grid!important;grid-template-columns:1fr!important;gap:9px!important}
  .toolbar button,.market-toolbar button,.tracker-add button{width:100%}
  .compare-grid{grid-template-columns:1fr!important}
  .machine{min-width:0!important;width:100%!important}
  .machine input,.machine textarea,.machine select{max-width:100%!important}
  .metrics{grid-template-columns:1fr!important}
  .tabs{display:flex!important;overflow-x:auto!important;flex-wrap:nowrap!important;gap:7px!important;padding:4px 2px 9px!important;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
  .tabs::-webkit-scrollbar{display:none}
  .tab{flex:0 0 auto!important;min-width:max-content!important;scroll-snap-align:start}

  .finder-fields{grid-template-columns:1fr!important}
  .finder-results,.market-grid,.trust-grid{grid-template-columns:1fr!important}
  .finder-card,.market-card,.trust-card,.source-card{min-width:0!important}
  .market-card[style*="grid-column"]{grid-column:auto!important}
  .price-row{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  .price-row>span:last-child{display:flex;flex-wrap:wrap;gap:7px;align-items:center}
  .source-card{display:block!important}
  .source-card>div:last-child{text-align:right!important;margin-top:10px}
  .currency-wrap{padding:0!important}
  .currency-main{grid-template-columns:1fr!important;text-align:center}
  .currency-divider{transform:rotate(90deg)}
  .currency-scenarios #currency-scenario-grid{grid-template-columns:repeat(2,1fr)!important}
  .currency-grid{grid-template-columns:1fr!important}
  .detail-top{display:grid!important;grid-template-columns:1fr!important;gap:15px}
  .detail-score{justify-self:start}
  .detail-grid{grid-template-columns:repeat(2,1fr)!important}
  .rank-card{grid-template-columns:auto 1fr auto!important;gap:9px!important}
  .rank-card h3{font-size:12px!important}

  /* Touch-friendly controls. */
  button,input,select,textarea{font-size:12px}
  input,select,textarea{min-height:44px}
  button{min-height:42px}
}

@media(max-width:380px){
  .topbar{grid-template-columns:auto 1fr auto;gap:5px;padding-inline:8px}
  .mobile-menu-toggle{min-width:68px;padding-inline:7px}
  .brand-copy small{display:none!important}
  .site-logo-image{width:36px!important;height:36px!important}
  .cb-brand-orbit{width:40px!important;height:40px!important}
  .hero h1{font-size:29px!important}
  .actions{grid-template-columns:1fr!important}
  .detail-grid{grid-template-columns:1fr!important}
}

/* ==========================================================
   COREBIT DECISION ENGINE — FINAL UI CONSISTENCY LAYER
   ========================================================== */
:root{
  --engine-card:#0d1f31;
  --engine-card-2:#10273b;
  --engine-border:#214761;
  --engine-text:#e9f8ff;
  --engine-muted:#8faabd;
  --engine-accent:#56d5f7;
  --engine-accent-2:#2a9fd1;
  --engine-shadow:0 18px 50px rgba(0,0,0,.22);
}
body.light{
  --engine-card:#ffffff;
  --engine-card-2:#f2fbfe;
  --engine-border:#bfe3ef;
  --engine-text:#17384d;
  --engine-muted:#5e788b;
  --engine-accent:#139dcc;
  --engine-accent-2:#58c9ed;
  --engine-shadow:0 18px 50px rgba(35,145,185,.12);
}

/* New sections: one visual language */
#page-iran-price,
#page-finder,
#page-trust{position:relative}
#page-iran-price::before,
#page-finder::before,
#page-trust::before{
  content:"";position:absolute;inset:0 0 auto;height:220px;pointer-events:none;z-index:-1;
  background:radial-gradient(circle at 80% 0%,rgba(86,213,247,.12),transparent 58%);
}
body.light #page-iran-price::before,
body.light #page-finder::before,
body.light #page-trust::before{
  background:radial-gradient(circle at 80% 0%,rgba(86,201,237,.16),transparent 62%);
}

#page-iran-price .section-head,
#page-finder .section-head,
#page-trust .section-head{margin-bottom:22px}

.market-toolbar{align-items:stretch}
.market-toolbar select,
.market-toolbar button,
.finder-box input,
.finder-box select{
  border:1px solid var(--engine-border)!important;
  background:var(--engine-card)!important;
  color:var(--engine-text)!important;
  border-radius:14px!important;
  box-shadow:none!important;
}
.market-toolbar select{padding:0 14px;min-height:48px}
.market-toolbar button{min-height:48px}
.market-toolbar select:focus,
.finder-box input:focus,
.finder-box select:focus{
  outline:none;border-color:var(--engine-accent)!important;
  box-shadow:0 0 0 3px rgba(86,213,247,.12)!important;
}

.market-grid,.finder-results,.trust-grid{align-items:stretch}
.market-card,.finder-card,.trust-card,.source-card,.finder-box{
  position:relative;overflow:hidden;
  background:linear-gradient(145deg,var(--engine-card),var(--engine-card-2))!important;
  border:1px solid var(--engine-border)!important;
  color:var(--engine-text)!important;
  box-shadow:var(--engine-shadow)!important;
}
.market-card::before,.finder-card::before,.trust-card::before,.source-card::before{
  content:"";position:absolute;inset:0 0 auto;height:3px;
  background:linear-gradient(90deg,var(--engine-accent-2),var(--engine-accent),transparent);
  opacity:.9;
}
.market-card:hover,.finder-card:hover,.trust-card:hover,.source-card:hover{
  transform:translateY(-3px);
  border-color:rgba(86,213,247,.55)!important;
  transition:.2s ease;
}

.market-card h3,.finder-card h3,.trust-card h3,
.market-card b,.finder-card b,.trust-card b,.source-card b{color:var(--engine-text)}
.market-card p,.finder-card p,.trust-card p,.source-card p,
.finder-card li{color:var(--engine-muted)!important}

.price-row{border-color:var(--engine-border)!important}
.price-row>span:first-child{display:flex;flex-direction:column;gap:3px}
.price-row small{color:var(--engine-muted);font-size:11px}
.price-row>span:last-child{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.price-row a{font-size:11px;padding:5px 9px;border-radius:9px;background:rgba(86,213,247,.1);color:var(--engine-accent)!important;text-decoration:none}
.price-row em{font-style:normal;font-size:11px;font-weight:800;padding:5px 9px;border-radius:999px}
.price-good{background:rgba(31,190,128,.12);color:#19b87b!important}
.price-fair{background:rgba(42,159,209,.12);color:var(--engine-accent)!important}
.price-high{background:rgba(240,170,57,.13);color:#d69425!important}
.price-unknown{background:rgba(140,155,168,.12);color:var(--engine-muted)!important}

.market-trust{
  background:linear-gradient(135deg,rgba(86,213,247,.10),rgba(42,159,209,.04))!important;
  border:1px solid rgba(86,213,247,.28)!important;
  color:var(--engine-muted)!important;
}
.market-trust b{color:var(--engine-accent)!important}

.finder-box{padding:24px!important;margin-bottom:22px}
.finder-fields label{
  color:var(--engine-text);font-weight:800;font-size:12px;
  display:flex;flex-direction:column;gap:8px;
}
.finder-fields input{padding:0 13px}
#finder-uses{margin:20px 0}
#finder-uses .chip{
  border:1px solid var(--engine-border)!important;
  background:var(--engine-card-2)!important;color:var(--engine-muted)!important;
  min-height:42px;padding:8px 14px;border-radius:12px;cursor:pointer;
}
#finder-uses .chip:hover{border-color:var(--engine-accent)!important;color:var(--engine-text)!important}
#finder-uses .chip.active{
  background:linear-gradient(135deg,rgba(86,213,247,.2),rgba(42,159,209,.13))!important;
  border-color:var(--engine-accent)!important;color:var(--engine-text)!important;
  box-shadow:0 8px 22px rgba(42,159,209,.12);
}
#finder-weights{padding:12px 0 8px}
.weight-row{padding:10px 0;border-bottom:1px solid var(--engine-border)}
.weight-row:last-child{border-bottom:0}
.weight-row label,.weight-row span{color:var(--engine-muted)}
.weight-row input[type=range]{accent-color:var(--engine-accent)}
.weight-row strong{color:var(--engine-text)}

.finder-card{padding:22px!important}
.finder-card .confidence,.confidence{
  color:var(--engine-accent)!important;
  background:rgba(86,213,247,.10)!important;
  border:1px solid rgba(86,213,247,.18);
}
.finder-score{
  display:inline-flex;align-items:baseline;gap:4px;
  color:var(--engine-accent)!important;
  text-shadow:0 0 24px rgba(86,213,247,.14);
}
.finder-score small{color:var(--engine-muted)!important}
.finder-card .source-list{margin-top:18px;padding-top:14px;border-top:1px solid var(--engine-border)}
.finder-card .source-list a{
  display:inline-flex;margin:3px 0;padding:7px 10px;border-radius:10px;
  background:rgba(86,213,247,.08);color:var(--engine-accent)!important;
  text-decoration:none;font-size:11px;
}

.trust-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.trust-card{min-height:190px;padding:24px!important}
.trust-card b{display:block;font-size:15px;margin-bottom:12px}
.trust-card p{line-height:2!important;margin:0}
.source-list{gap:14px}
.source-card{padding:18px 20px!important}
.source-card>div:first-child{min-width:0}
.source-card>div:last-child{display:flex;flex-direction:column;gap:7px;align-items:flex-start}
.source-card a{color:var(--engine-accent)!important;text-decoration:none;font-size:12px}
.source-card a:hover{text-decoration:underline}

/* Empty / insufficient-data states */
.market-empty,.finder-empty,.trust-empty{
  padding:30px 22px;border-radius:20px;text-align:center;
  border:1px dashed var(--engine-border);
  background:var(--engine-card-2);color:var(--engine-muted);
}

@media(max-width:1100px){
  .trust-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  #page-iran-price .section-head,
  #page-finder .section-head,
  #page-trust .section-head{margin-bottom:16px}
  .finder-box{padding:16px!important;border-radius:18px!important}
  .trust-card{min-height:auto;padding:18px!important}
  .market-card,.finder-card,.trust-card,.source-card{border-radius:18px!important}
  .market-card:hover,.finder-card:hover,.trust-card:hover,.source-card:hover{transform:none}
  .price-row>span:last-child{justify-content:flex-start}
  .weight-row{grid-template-columns:92px minmax(0,1fr) 38px!important;gap:8px!important}
  #finder-uses{display:flex;overflow-x:auto;flex-wrap:nowrap;padding-bottom:6px;-webkit-overflow-scrolling:touch}
  #finder-uses::-webkit-scrollbar{display:none}
  #finder-uses .chip{flex:0 0 auto;white-space:nowrap}
  .source-card>div:last-child{align-items:stretch!important}
  .source-card a{display:block}
}

/* ==========================================================
   COREBIT FINDER — FINAL RESPONSIVE UI POLISH
   ========================================================== */
#page-finder{--finder-accent:#42b9e6;--finder-accent-2:#7edcff;--finder-bg:var(--card);--finder-border:var(--border);--finder-text:var(--engine-text);--finder-muted:var(--engine-muted)}
#page-finder .section-head{margin-bottom:22px}
#page-finder .section-head h2{margin-bottom:10px}
#page-finder .section-head p{max-width:850px}
#page-finder .finder-box{position:relative;overflow:hidden;background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(231,248,255,.96));border:1px solid #b9e3f2;box-shadow:0 18px 45px rgba(37,151,194,.10);padding:28px;border-radius:26px}
body:not(.light) #page-finder .finder-box{background:linear-gradient(145deg,rgba(22,35,49,.98),rgba(18,42,57,.98));border-color:rgba(92,197,235,.22)}
#page-finder .finder-box:before{content:"";position:absolute;inset:auto -80px -110px auto;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(79,201,239,.20),transparent 68%);pointer-events:none}
#page-finder .finder-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}
#page-finder .finder-fields label{display:flex;flex-direction:column;gap:9px;font-weight:800;color:var(--finder-text);font-size:14px}
#page-finder .finder-fields input{width:100%;height:48px;border-radius:14px;border:1px solid #b8dbe8;background:#fff;color:#173b4d;padding:0 14px;font:inherit;outline:none;transition:.2s;box-sizing:border-box}
body:not(.light) #page-finder .finder-fields input{background:#10202d;border-color:#294656;color:#eaf8ff}
#page-finder .finder-fields input:focus{border-color:#45bce9;box-shadow:0 0 0 4px rgba(69,188,233,.14)}
#finder-uses{display:flex;gap:10px;flex-wrap:wrap;margin:4px 0 24px}
#finder-uses .chip{border:1px solid #b9dce9!important;background:rgba(255,255,255,.85)!important;color:#416578!important;border-radius:999px!important;padding:10px 15px!important;font-weight:800;cursor:pointer;transition:.2s;white-space:nowrap}
body:not(.light) #finder-uses .chip{background:#122634!important;border-color:#315263!important;color:#b8d4df!important}
#finder-uses .chip:hover{transform:translateY(-1px);border-color:#55c7ed!important;color:#087da8!important}
#finder-uses .chip.active{background:linear-gradient(135deg,#42b9e6,#76d8f7)!important;color:#073c51!important;border-color:#42b9e6!important;box-shadow:0 8px 20px rgba(66,185,230,.20)}
#finder-weights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 22px;padding:18px;border:1px solid #c8e3ec;border-radius:20px;background:rgba(255,255,255,.58)}
body:not(.light) #finder-weights{background:rgba(8,20,29,.36);border-color:#294858}
#finder-weights:before{content:"اهمیت هر معیار";grid-column:1/-1;font-weight:900;color:var(--finder-text);font-size:15px;margin-bottom:2px}
#finder-weights .weight-row{display:grid;grid-template-columns:minmax(105px,150px) 1fr 48px;gap:12px;align-items:center;margin:0;padding:11px 12px;border-radius:14px;background:rgba(255,255,255,.68);border:1px solid rgba(184,219,232,.65)}
body:not(.light) #finder-weights .weight-row{background:rgba(18,36,48,.72);border-color:#294858}
#finder-weights .weight-row span{font-weight:800;color:var(--finder-text);font-size:13px}
#finder-weights .weight-row b{display:flex;align-items:center;justify-content:center;height:30px;border-radius:9px;background:rgba(66,185,230,.12);color:#0785b4;font-size:12px}
#finder-weights input[type=range]{width:100%;accent-color:#42b9e6;cursor:pointer}
#page-finder .finder-box>.primary{min-height:50px;border-radius:15px;padding:0 24px;font-weight:900;box-shadow:0 12px 26px rgba(37,157,202,.18)}
#finder-result{margin-top:30px}
#finder-result>.section-head{padding:22px 24px;border-radius:22px;background:linear-gradient(145deg,rgba(255,255,255,.92),rgba(235,250,255,.90));border:1px solid #c4e4ef;box-shadow:0 12px 32px rgba(37,151,194,.07)}
body:not(.light) #finder-result>.section-head{background:linear-gradient(145deg,rgba(21,36,49,.94),rgba(17,44,59,.94));border-color:#294858}
#finder-result>.section-head h3{margin:7px 0 5px;color:var(--finder-text)}
#finder-result>.section-head p{margin:0;color:var(--finder-muted)}
#finder-result .finder-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:18px;align-items:stretch}
#finder-result .finder-card{position:relative;display:flex;flex-direction:column;min-width:0;padding:22px!important;border-radius:22px!important;background:linear-gradient(145deg,#fff,#effaff)!important;border:1px solid #bfdfeb!important;box-shadow:0 15px 35px rgba(37,151,194,.09)!important;overflow:hidden}
body:not(.light) #finder-result .finder-card{background:linear-gradient(145deg,#172936,#10232f)!important;border-color:#2b4b5b!important}
#finder-result .finder-card:before{content:"";position:absolute;inset:0 0 auto;height:4px;background:linear-gradient(90deg,#42b9e6,#9be5ff)}
#finder-result .finder-card:hover{transform:translateY(-4px);box-shadow:0 20px 42px rgba(37,151,194,.14)!important}
#finder-result .finder-card h3{font-size:18px;line-height:1.6;margin:14px 0 8px;color:var(--finder-text)}
#finder-result .finder-score{font-size:42px;line-height:1;font-weight:950;letter-spacing:-1px;color:#078fbd;margin:4px 0 16px}
#finder-result .finder-score small{font-size:15px;font-weight:800;color:var(--finder-muted)}
#finder-result .finder-card ul{list-style:none;margin:0;padding:0;display:grid;gap:9px}
#finder-result .finder-card li{margin:0!important;padding:9px 10px;border-radius:11px;background:rgba(66,185,230,.07);color:var(--finder-muted)!important;font-size:13px;line-height:1.65}
#finder-result .confidence{align-self:flex-start;border:1px solid rgba(66,185,230,.25);background:rgba(66,185,230,.10);color:#087da8;padding:7px 10px;border-radius:999px;font-weight:800;font-size:11px}
#finder-result .source-list{margin-top:auto!important;padding-top:16px;border-top:1px solid var(--finder-border)!important;display:flex;flex-wrap:wrap;gap:8px}
#finder-result .source-list a{display:inline-flex;align-items:center;min-height:34px;padding:0 11px;border-radius:10px;background:rgba(66,185,230,.09);color:#087da8!important;text-decoration:none;font-size:12px;font-weight:800}
#finder-result .source-list a:hover{text-decoration:underline;background:rgba(66,185,230,.16)}
#finder-result:has(.finder-empty) .section-head{margin-bottom:0}
.finder-empty{padding:26px;border-radius:20px;border:1px dashed #b8dce9;background:rgba(66,185,230,.06);color:var(--finder-muted);text-align:center}
@media(max-width:1050px){#finder-result .finder-results{grid-template-columns:repeat(2,minmax(0,1fr))}#page-finder .finder-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){#page-finder .finder-box{padding:17px;border-radius:20px}#page-finder .finder-fields{grid-template-columns:1fr;gap:12px}#finder-weights{grid-template-columns:1fr;padding:12px}#finder-weights .weight-row{grid-template-columns:100px 1fr 42px;padding:9px}#finder-result .finder-results{grid-template-columns:1fr;gap:14px}#finder-result>.section-head{padding:18px;border-radius:18px}#finder-result .finder-card{padding:18px!important;border-radius:18px!important}#finder-result .finder-score{font-size:36px}#page-finder .finder-box>.primary{width:100%}}
@media(max-width:380px){#finder-weights .weight-row{grid-template-columns:82px 1fr 38px;gap:8px}#finder-weights .weight-row span{font-size:12px}#finder-result .finder-card h3{font-size:16px}}
