@font-face{font-family:'Vazirmatn';src:local('Vazirmatn'),url('../fonts/Vazirmatn-Variable.woff2') format('woff2');font-weight:100 900;font-display:swap}

:root{
  --p:#1565ff; --pd:#0b3fb8; --n:#0d1b4f; --m:#6b7aa1;
  --bg:#eef3fc; --line:#e3eaf8; --g:#17a85f; --r:20px;
  --sh:0 10px 30px rgba(21,58,140,.09);
}
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:Vazirmatn,Tahoma,sans-serif;background:var(--bg);color:var(--n);line-height:1.8;font-size:15px;min-height:100vh}
a{color:inherit;text-decoration:none}
button,input{font:inherit;color:inherit;border:0;background:none}
button{cursor:pointer}
svg.lucide,i[data-lucide]{width:20px;height:20px;stroke-width:2;flex:none;display:inline-block}
svg.lucide{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round}
.logo svg{fill:var(--p)}

/* ---------- Buttons, cards, badges ---------- */
.btn{display:inline-flex;align-items:center;gap:8px;padding:12px 22px;border-radius:999px;font-weight:700;font-size:14px;border:1.5px solid transparent;transition:background .2s,box-shadow .2s;white-space:nowrap}
.btn-p{background:var(--p);color:#fff;box-shadow:0 8px 20px rgba(21,101,255,.35)}
.btn-p:hover{background:var(--pd)}
.btn-n{background:var(--n);color:#fff}
.btn-o{background:#fff;border-color:#c9d7f6}
.btn-s{padding:8px 16px;font-size:13px}
.card{background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:22px}
.ch{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}
.ch h3{font-size:16px;font-weight:800;display:flex;align-items:center;gap:8px}
.ch h3 svg{color:var(--p)}
.lk{color:var(--p);font-size:13px;font-weight:600;display:inline-flex;align-items:center;gap:4px}
.ic{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;background:#e8f0ff;color:var(--p);flex:none}
.bd{display:inline-flex;align-items:center;gap:6px;padding:3px 12px;border-radius:999px;font-size:12px;font-weight:700;white-space:nowrap}
.bg{background:#dcf6e8;color:#14864d}
.bb{background:#e1ebff;color:#1550d6}
.bo{background:#ffe9d6;color:#d96a1e}
.dot{width:9px;height:9px;border-radius:50%;display:inline-block;background:var(--p);flex:none}
.dg{background:var(--g)}
.grid{display:grid;gap:20px}
.g4{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.g2{display:grid;grid-template-columns:1fr 1fr;gap:20px}

/* ---------- Dashboard shell ---------- */
.app{display:flex;min-height:100vh}
.side{width:240px;flex:none;background:#fff;padding:26px 18px;display:flex;flex-direction:column;gap:6px;position:sticky;top:0;height:100vh;height:100dvh;overflow-y:auto;overscroll-behavior:contain;box-shadow:-6px 0 30px rgba(21,58,140,.06)}
.logo{display:flex;align-items:center;gap:8px;font-weight:800;font-size:22px;margin:0 8px 26px}
.logo svg{color:var(--p);fill:var(--p)}
.nav{display:flex;flex-direction:column;gap:6px;flex:1}
.nav a{display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:14px;font-weight:600;font-size:14px}
.nav a svg{color:var(--p)}
.nav a.on{background:var(--p);color:#fff;box-shadow:0 8px 18px rgba(21,101,255,.3)}
.nav a.on svg{color:#fff}
.nav a.out{margin-top:auto;color:#e53e3e}
.nav a.out svg{color:#e53e3e}
.main{flex:1;min-width:0;padding:24px 30px;display:grid;gap:22px;align-content:start}
.top{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}
.me{display:flex;align-items:center;gap:10px;background:#fff;border-radius:999px;padding:6px 16px 6px 6px;box-shadow:var(--sh)}
.me small{display:block;color:var(--g);font-size:12px;line-height:1.2}
.av{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;font-weight:800;background:linear-gradient(135deg,#cfe0ff,#6f9bff);color:#fff;position:relative;flex:none}
.av.on::after{content:"";position:absolute;bottom:0;inset-inline-end:0;width:11px;height:11px;border-radius:50%;background:var(--g);border:2px solid #fff}
.bell{position:relative;width:48px;height:48px;border-radius:50%;background:#fff;display:grid;place-items:center;box-shadow:var(--sh);flex:none}
.bell b{position:absolute;top:8px;inset-inline-end:8px;width:10px;height:10px;border-radius:50%;background:#f33;border:2px solid #fff}
.bell b.n{width:auto;height:auto;min-width:18px;padding:1px 4px;font-size:11px;line-height:1.4;color:#fff;text-align:center;top:4px;inset-inline-end:4px}
.hero{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:30px 40px;border-radius:var(--r);background:linear-gradient(100deg,#e4edff 0%,#b9d0ff 70%,#dce8ff 100%);overflow:hidden;min-height:180px}
.hero h1{font-size:26px;font-weight:800}
.hero p{color:#2e4a8c;margin-top:4px}
.art{display:flex;align-items:center}
.art svg{width:130px;height:130px;color:#fff;stroke-width:1.5;filter:drop-shadow(0 12px 20px rgba(21,58,140,.35))}
.art svg+svg{width:120px;height:140px;margin-inline-start:-34px;color:#1f5ae6;fill:#3d7bff;stroke:#fff}

/* ---------- Stats ---------- */
.st{display:flex;flex-direction:column;align-items:center;text-align:center;gap:2px;padding:24px 16px}
.st .ic{background:none;width:auto;height:auto;margin-bottom:6px}
.st .ic svg{width:30px;height:30px}
.st b{font-size:26px;font-weight:800}
.st span{color:var(--m);font-size:13px}
.st .lk,.st .bd{margin-top:4px}

/* ---------- Subscription / activity / quick settings ---------- */
.sub{position:relative;overflow:hidden;background:linear-gradient(100deg,#fff 35%,#e3ecff)}
.sub-body{padding-inline-start:200px}
.sub-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}
.sub-top h3{font-size:16px;font-weight:800}
.plan{font-size:20px;font-weight:800}
.days{display:flex;align-items:center;gap:10px;font-size:34px;font-weight:800;color:var(--p);margin-top:2px}
.days svg{width:26px;height:26px}
.pb{height:8px;border-radius:99px;background:#dbe6fb;overflow:hidden;margin:16px 0 18px;max-width:390px}
.pb i{display:block;height:100%;background:linear-gradient(90deg,#5b93ff,var(--p));border-radius:99px}
.li{display:flex;justify-content:space-between;align-items:center;padding:14px 2px;border-top:1px solid var(--line);font-weight:600;font-size:14px}
.li:first-of-type{border-top:0}
.li span{display:flex;align-items:center;gap:10px}
.li small{color:var(--m);font-size:12.5px;font-weight:400}
.more{display:block;text-align:center;margin-top:10px}
.qs{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.qs a{border:1px solid var(--line);border-radius:16px;padding:22px 10px;display:flex;flex-direction:column;align-items:center;gap:10px;font-weight:600;font-size:13.5px;text-align:center}
.qs svg{color:var(--p);width:26px;height:26px}
.tint{background:linear-gradient(100deg,#f1f6ff,#dfe9ff);display:flex;justify-content:space-between;align-items:center;gap:16px;overflow:hidden}
.tint p{color:#2e4a8c;margin:4px 0 14px}
.sup h3 svg{color:var(--p)}

/* ---------- Admin ---------- */
.search{flex:1;max-width:360px;display:flex;align-items:center;gap:10px;background:#fff;border-radius:999px;padding:11px 20px;box-shadow:var(--sh)}
.search input{flex:1;min-width:0;outline:none}
.search svg{color:var(--m)}
.date{display:flex;align-items:center;gap:10px;background:#fff;border-radius:16px;padding:8px 16px;font-size:12.5px;line-height:1.5;box-shadow:var(--sh)}
.date svg{color:var(--p)}
.kpi{display:grid;grid-template-columns:1fr auto;gap:6px 10px;align-items:center}
.kpi b{font-size:26px;font-weight:800;direction:ltr;text-align:start;display:block}
.kpi>div span{color:var(--m);font-size:13px}
.kpi .ic{width:44px;height:44px}
.kf{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center}
.up{color:#14864d;font-weight:700;font-size:13px;direction:ltr}
.spark{width:150px;height:36px}
.sel{display:flex;align-items:center;gap:6px;padding:7px 14px;border-radius:12px;border:1px solid var(--line);font-size:13px;font-weight:600}
.chart{position:relative;padding-inline-end:46px;margin-top:8px}
.plot{display:block;width:100%;height:170px}
.yax{position:absolute;top:0;inset-inline-end:0;height:170px;display:flex;flex-direction:column;justify-content:space-between;font-size:11px;color:var(--m);text-align:end}
.tip{position:absolute;top:4px;left:60%;transform:translateX(-50%);background:#fff;box-shadow:var(--sh);border-radius:12px;padding:6px 14px;font-weight:700;font-size:13px;white-space:nowrap;border:1px solid var(--line)}
.xax{direction:ltr;display:flex;justify-content:space-between;font-size:11px;color:var(--m);margin-top:8px}
.tbl{width:100%;border-collapse:collapse;font-size:13.5px}
.tbl th{background:#eef4ff;color:var(--m);font-weight:600;text-align:start;padding:10px 12px}
.tbl td{padding:11px 12px;border-top:1px solid var(--line);text-align:start;font-weight:600}
.u{display:flex;align-items:center;gap:8px;direction:ltr;flex-direction:row-reverse;justify-content:flex-start}
.u .av{width:30px;height:30px;font-size:12px}
.srv{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.srv div{background:#f4f8ff;border-radius:16px;padding:16px 8px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:2px}
.srv .fl{font-size:30px;line-height:1.3}
.srv strong{font-size:22px;font-weight:800;direction:ltr}
.srv .bd{margin-top:4px}

/* ---------- Landing page ---------- */
.nav-top{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:14px 56px;position:sticky;top:0;z-index:5;background:rgba(255,255,255,.85);backdrop-filter:blur(10px);box-shadow:0 1px 0 var(--line)}
.nav-top .logo{margin:0}
.menu{display:flex;gap:24px;font-size:14px;font-weight:600}
.menu a{display:inline-flex;align-items:center;gap:4px;padding:6px 0;position:relative}
.menu a.on{color:var(--p)}
.menu a.on::after{content:"";position:absolute;inset-inline:0;bottom:-6px;height:3px;border-radius:3px;background:var(--p)}
.acts{display:flex;gap:10px}
.hero2{display:grid;grid-template-columns:1fr 1.15fr;align-items:center;gap:30px;padding:48px 56px 28px}
.hero2 h1{font-size:46px;font-weight:800;line-height:1.35}
.hero2 h1 em{font-style:normal;color:var(--p)}
.lead{font-size:16px;color:#2e4a8c;margin:10px 0 22px;max-width:520px}
.chips{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:24px}
.chips span{display:inline-flex;align-items:center;gap:6px;background:#fff;border-radius:999px;padding:6px 14px;font-size:13px;font-weight:600;box-shadow:var(--sh)}
.chips svg{color:var(--g)}
.cta-row{display:flex;gap:12px;flex-wrap:wrap}
.hvis{position:relative;width:100%;max-width:560px;aspect-ratio:505/385;margin-inline:auto}
.hvis img{position:absolute;height:auto}
.globe-img{left:17.8%;top:10.6%;width:59.6%}
.ctrl-img{left:4.4%;top:47%;width:45.1%;filter:drop-shadow(0 16px 20px rgba(10,30,90,.3))}
.shield-img{left:52.7%;top:46.8%;width:27.1%;filter:drop-shadow(0 12px 18px rgba(10,40,140,.35))}
.rocket{position:absolute;left:79.2%;top:3.6%;width:20.6%}
.rocket svg{width:84px;height:84px;color:var(--p);stroke-width:1.5}
.ms1{top:10.4%;left:0}
.ms2{top:39%;left:auto;right:0}
.crown{position:absolute;inset-inline-start:18px;bottom:6px;width:170px;height:auto}
.robot{width:200px;height:auto;flex:none}
.art img{height:130px;width:auto;filter:drop-shadow(0 12px 20px rgba(21,58,140,.3))}
.art img+img{height:120px;margin-inline-start:-30px}
.cta-photo{flex:none;width:192px;height:177px}
.cta-photo img{display:block;width:100%;height:auto}
.ms{position:absolute;background:#fff;border-radius:16px;padding:12px 18px;box-shadow:var(--sh);min-width:150px}
.ms small{display:block;font-size:12px;color:var(--m)}
.ms b{font-size:24px;font-weight:800;direction:ltr;display:block;text-align:start}
.feat{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;padding:0 56px}
.f{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:24px 14px;font-weight:700;font-size:14px;line-height:1.6}
.f .ic{width:52px;height:52px}
.promo{display:grid;grid-template-columns:1.65fr 1fr;gap:20px;padding:24px 56px}
.pr{position:relative;overflow:hidden;border-radius:var(--r);padding:32px 36px;display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:230px;box-shadow:var(--sh)}
.pr h2{font-size:24px;font-weight:800;margin-bottom:6px}
.pr p{color:#2e4a8c;margin-bottom:18px;max-width:440px}
.pr-gift{background:linear-gradient(100deg,#e5edff,#c1d4ff)}
.pr-trophy{background:linear-gradient(100deg,#f0f6ff,#dbe7ff)}
.pr>svg{width:150px;height:150px;color:var(--p);stroke-width:1.4;fill:#ffd166}
.pr-trophy>svg{color:#e3a008;fill:#ffd166}
.sec{padding:20px 56px}
.stitle{text-align:center;font-size:20px;font-weight:800;margin-bottom:20px}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.step{position:relative;background:#fff;border-radius:var(--r);padding:20px 22px;display:flex;gap:16px;align-items:center;box-shadow:var(--sh)}
.step b{display:block;font-size:15px}
.step small{color:var(--m);font-size:13px}
.num{position:absolute;top:-8px;inset-inline-end:-8px;width:28px;height:28px;border-radius:50%;background:var(--p);color:#fff;display:grid;place-items:center;font-size:13px;font-weight:700}
.bottom{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:20px 56px}
details{border:1px solid var(--line);border-radius:14px;padding:14px 16px;margin-top:10px;font-weight:600;background:#fff}
summary{list-style:none;display:flex;justify-content:space-between;align-items:center;cursor:pointer}
summary::-webkit-details-marker{display:none}
summary svg{color:var(--p)}
details p{font-weight:400;color:var(--m);font-size:13.5px;margin-top:8px}
.cta{align-items:center}
.cta p{color:var(--m);margin:4px 0 16px}
.cta h3{font-size:19px;font-weight:800}
.foot{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:26px 56px;border-top:1px solid var(--line);margin-top:30px;font-size:13px;color:var(--m);flex-wrap:wrap}
.foot nav{display:flex;gap:16px}
.soc{display:flex;gap:14px}
.soc a{width:36px;height:36px;border-radius:50%;background:#fff;display:grid;place-items:center;box-shadow:var(--sh);color:var(--n)}
.totop{position:fixed;bottom:24px;inset-inline-start:24px;width:46px;height:46px;border-radius:50%;background:var(--p);color:#fff;display:grid;place-items:center;box-shadow:0 8px 20px rgba(21,101,255,.35)}
/* ---------- Responsive ---------- */
.pr-img{height:190px;width:auto;flex:none}
.step-img{width:64px;height:auto;flex:none}
.ch{flex-wrap:wrap}
.tw{overflow-x:auto;-webkit-overflow-scrolling:touch}
.tbl{min-width:480px}
.g2.wl{grid-template-columns:1.2fr 1fr}
.g2.wc{grid-template-columns:1.45fr 1fr}
.nav a,.menu a,.btn{white-space:nowrap}
.main>*,.g2>*,.g4>*,.g2>*>*,.grid>*{min-width:0}
/* ---------- Hamburger menu (mobile) ---------- */
.mnav-check{position:absolute;opacity:0;pointer-events:none;width:0;height:0}
.burger,.scrim,.drawer{display:none}
@media (max-width:1100px){
  .g4{grid-template-columns:repeat(2,1fr)}
  .feat{grid-template-columns:repeat(3,1fr)}
  .qs,.srv{grid-template-columns:repeat(2,1fr)}
  .sub-body{padding-inline-start:150px}
}
@media (max-width:900px){
  .burger{display:flex;flex:none;width:46px;height:46px;border-radius:14px;background:#fff;box-shadow:var(--sh);flex-direction:column;align-items:center;justify-content:center;gap:5px;cursor:pointer}
  .burger i{display:block;width:20px;height:2.5px;border-radius:3px;background:var(--n);transition:transform .3s,opacity .3s}
  #mnav:checked ~ * .burger i:nth-child(1){transform:translateY(7.5px) rotate(45deg)}
  #mnav:checked ~ * .burger i:nth-child(2){opacity:0}
  #mnav:checked ~ * .burger i:nth-child(3){transform:translateY(-7.5px) rotate(-45deg)}
  .scrim{display:block;position:fixed;inset:0;background:rgba(13,27,79,.35);opacity:0;pointer-events:none;transition:opacity .3s;z-index:30}
  #mnav:checked ~ .scrim{opacity:1;pointer-events:auto}
  .side{position:fixed;top:0;right:0;bottom:0;width:270px;height:100vh;height:100dvh;padding:24px 16px;transform:translateX(105%);transition:transform .3s ease;z-index:40;overflow-y:auto;box-shadow:-10px 0 30px rgba(21,58,140,.12)}
  #mnav:checked ~ .app .side{transform:none}
  .nav{flex:1;overflow:visible}
  .nav a.out{margin-top:auto}
  .drawer{display:flex;flex-direction:column;gap:6px;position:fixed;top:0;bottom:0;right:0;width:min(290px,82%);background:#fff;padding:24px 18px;box-shadow:-10px 0 30px rgba(21,58,140,.12);transform:translateX(105%);transition:transform .3s ease;z-index:40;overflow-y:auto}
  #mnav:checked ~ .drawer{transform:none}
  .drawer a{display:flex;align-items:center;gap:10px;padding:13px 14px;border-radius:14px;font-weight:600;font-size:15px}
  .drawer a.on{background:#e8f0ff;color:var(--p)}
  .drawer .btn{margin-top:12px;justify-content:center}
  .nav-top{flex-wrap:nowrap;padding:12px 20px;gap:12px}
  .nav-top .menu{display:none}
  .acts{margin-inline-start:auto;margin-inline-end:4px}
  .acts .btn-o{display:none}
  .main{padding:18px 16px}
  .g2,.g2.wl,.g2.wc{grid-template-columns:1fr}
  .sub-body{padding-inline-start:0}
  .crown{display:none}
  .hero2{grid-template-columns:1fr;padding:28px 20px 16px;gap:24px}
  .hero2 h1{font-size:clamp(28px,6vw,40px)}
  .hvis{margin-inline:auto}
  .feat,.promo,.sec,.bottom{padding-inline:20px}
  .promo,.bottom,.steps{grid-template-columns:1fr}
  .foot{padding:22px 20px;justify-content:center;text-align:center}
  .foot nav{flex-wrap:wrap;justify-content:center}
  .search{max-width:none;flex:1 1 100%}
}
@media (max-width:600px){
  .g4{grid-template-columns:repeat(2,1fr)}
  .st b,.kpi b{font-size:20px}
  .st{padding:18px 10px}
  .card{padding:18px}
  .feat{grid-template-columns:repeat(2,1fr);gap:12px}
  .f{padding:18px 10px;font-size:13px}
  .srv,.qs{grid-template-columns:repeat(2,1fr)}
  .hero{flex-direction:column;align-items:flex-start;padding:22px 20px;gap:12px}
  .hero h1{font-size:22px}
  .art img{height:100px}
  .art img+img{height:90px;margin-inline-start:-24px}
  .pr{flex-direction:column;align-items:flex-start;padding:24px;min-height:0}
  .pr h2{font-size:20px}
  .pr-img{height:150px}
  .cta{flex-direction:column;align-items:flex-start}
  .cta-photo{width:100%;height:auto;max-width:240px}
  .ms{padding:8px 12px;min-width:0}
  .ms b{font-size:18px}
  .ms small{font-size:11px}
  .lead{font-size:14px}
  .chips span{font-size:12px;padding:5px 10px}
  .acts .btn{padding:8px 12px;font-size:12px}
  .step-img{width:52px}
  .totop{bottom:16px;inset-inline-start:16px}
  .date{font-size:11.5px}
  .tip{font-size:11px;padding:4px 8px}
  .xax{font-size:9px}
  .xax span:nth-child(2n){visibility:hidden}
}
@media (max-width:420px){
  .g4,.srv,.qs,.feat{grid-template-columns:1fr}
  .feat{grid-template-columns:1fr 1fr}
  .me small{display:none}
}

/* ---------- Admin header ---------- */
.top{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:nowrap}
.search{flex:1;min-width:0;max-width:440px}
.tools{display:flex;align-items:center;gap:12px;flex:none}
.date{padding:7px 14px;white-space:nowrap}
.bell{width:46px;height:46px}
.bell b{top:8px;inset-inline-start:9px;inset-inline-end:auto}
.bell b.n{top:3px;inset-inline-start:2px;inset-inline-end:auto;width:auto;height:auto;min-width:18px;padding:1px 4px;font-size:11px;line-height:1.4;text-align:center;color:#fff}
.me{padding:5px 14px 5px 5px}
@media (max-width:1280px){.search{max-width:300px}}
@media (max-width:900px){
  .date{display:none}
  .search{flex:1 1 auto;max-width:none}
}
@media (max-width:600px){
  .top{gap:8px}
  .tools{gap:8px}
  .me div{display:none}
  .me{padding:4px 6px 4px 4px;gap:4px}
}

/* ---------- Dashboard header ---------- */
.ptitle b{display:block;font-size:20px;font-weight:800;line-height:1.3}
.ptitle small{color:var(--m);font-size:13px}
@media (max-width:900px){.ptitle{display:none}}

/* ---------- Inner pages ---------- */
.page-h{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;flex-wrap:wrap;margin:2px 0 4px}
.page-h h1{font-size:26px;font-weight:800;line-height:1.3}
.page-h p{color:var(--m);font-size:14px}
.pills{display:flex;gap:10px;flex-wrap:wrap;margin:6px 0 4px}
.pill{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border-radius:999px;background:#fff;box-shadow:var(--sh);font-size:13px;font-weight:600}
.pill.on{background:var(--p);color:#fff}
.pill small{opacity:.8;font-size:11px}
.g3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.pc{position:relative;background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:28px 24px;display:flex;flex-direction:column;gap:14px}
.pc h3{font-size:18px;font-weight:800}
.pc p{color:var(--m);font-size:13.5px;margin-top:-8px}
.pc.hl{background:linear-gradient(160deg,#1565ff,#0b3fb8);color:#fff}
.pc.hl p{color:#dce7ff}
.pc.hl svg{color:#fff}
.price{font-size:34px;font-weight:800;direction:ltr;display:inline-block;line-height:1.2}
.pc ul{list-style:none;display:grid;gap:10px;margin-top:4px}
.pc li{display:flex;gap:8px;align-items:center;font-size:14px}
.pc li svg{color:var(--g);width:18px;height:18px}
.pc .btn{justify-content:center;margin-top:auto}
.badge-top{position:absolute;top:-13px;left:50%;transform:translateX(-50%);background:#f08a3c;color:#fff;padding:4px 14px;border-radius:999px;font-size:12px;font-weight:700;white-space:nowrap}
.field{display:grid;gap:6px}
.field label{font-size:13px;font-weight:600;color:var(--m)}
.inp{width:100%;border:1px solid var(--line);border-radius:12px;padding:11px 14px;background:#fff;font:inherit;color:var(--n);outline:none}
.inp:focus{border-color:var(--p)}
textarea.inp{min-height:110px;resize:vertical}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.form-grid .full{grid-column:1/-1}
.btn-block{width:100%;justify-content:center}
.sw{position:relative;width:46px;height:26px;border-radius:99px;background:#cfd9ee;flex:none;display:inline-block}
.sw::after{content:"";position:absolute;top:3px;inset-inline-start:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.2)}
.sw.on{background:var(--g)}
.sw.on::after{inset-inline-start:23px}
.sw-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--line);font-weight:600;font-size:14px}
.sw-row small{display:block;color:var(--m);font-weight:400;font-size:12.5px}
.auth{max-width:440px;margin:24px auto;padding:34px 30px;text-align:center}
.auth .logo{justify-content:center;margin:0 0 12px}
.auth form{display:grid;gap:14px;text-align:start;margin-top:18px}
.auth .row{display:flex;justify-content:space-between;align-items:center;font-size:13px;gap:10px}
.chip{display:inline-flex;padding:3px 10px;border-radius:999px;background:#eef4ff;color:#1550d6;font-size:12px;font-weight:700;margin:2px}
.bars{display:flex;align-items:flex-end;gap:10px;height:200px;padding-top:10px}
.bars i{flex:1;background:linear-gradient(#5b93ff,var(--p));border-radius:8px 8px 4px 4px;display:block}
.donut{width:170px;height:170px;border-radius:50%;background:conic-gradient(var(--p) 0 45%,#7fb0ff 45% 75%,#d7e4ff 75% 100%);display:grid;place-items:center;margin:8px auto}
.donut span{width:110px;height:110px;border-radius:50%;background:#fff;display:grid;place-items:center;font-weight:800;font-size:18px}
.legend{display:grid;gap:8px;margin-top:12px;font-size:13.5px}
.legend div{display:flex;align-items:center;gap:8px}
.copy{display:flex;align-items:center;gap:10px;background:#f4f8ff;border:1px dashed #b8cbf5;border-radius:14px;padding:12px 14px;direction:ltr;justify-content:space-between;font-size:14px;flex-wrap:wrap}
.video{height:240px;border-radius:var(--r);background:linear-gradient(135deg,#0b2c8c,#1565ff);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#fff;font-weight:700}
.video svg{width:54px;height:54px;fill:#fff}
.acts-cell{display:flex;gap:12px;color:var(--p)}
.acts-cell .danger{color:#e53e3e}
.li{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px 2px;border-top:1px solid var(--line);font-weight:600;font-size:14px}
.li small{color:var(--m);font-size:12.5px;font-weight:400}
@media (max-width:900px){.g3,.form-grid{grid-template-columns:1fr}.page-h h1{font-size:22px}}
.br{background:#ffe1e1;color:#d62f2f}

/* ---------- Dashboard subscriptions list ---------- */
.sub-top + .sub-item{border-top:0;padding-top:4px}
.sub-item{padding:14px 0;border-top:1px solid var(--line)}
.sub-line{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.sub-item .days{font-size:22px}
.sub-item .pb{margin:10px 0 12px;max-width:none}
.sub-item .btn{align-self:flex-start}

/* ---------- Sidebar fit ---------- */
@media (max-height:860px){
  .side{padding-top:18px;padding-bottom:14px}
  .logo{margin-bottom:14px}
  .nav{gap:4px}
  .nav a{padding:9px 14px}
}

/* ---------- App interactions ---------- */
#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);background:var(--n);color:#fff;padding:12px 22px;border-radius:14px;opacity:0;transition:.3s;z-index:99;font-size:14px;pointer-events:none;max-width:90vw;text-align:center}
#toast.show{opacity:1;transform:translate(-50%,0)}
.sw,.pill,a{cursor:pointer}
.thread{display:grid;gap:10px}
.bubble{padding:12px 14px;border-radius:14px;background:#f4f8ff;max-width:85%}
.bubble.adm{background:#e8f0ff;margin-inline-start:auto}
.bubble b{font-size:12.5px;color:var(--m)}
.bubble p{margin-top:4px}
