:root{--nv:#050c3a;--nv2:#0a1456;--bl:#0047f5;--bl2:#0032d4;--cy:#1aa8ff;--gr:#01a76f;--rd:#dc2626;--am:#d97706;--bg:#f3f7ff;--card:#fff;--tx:#0a1240;--mu:#667392;--br:#e3e9f7;--r:16px;--sh:0 1px 2px rgba(5,12,58,.04),0 8px 24px rgba(5,12,58,.05)}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;padding:0}
body.ica{background:var(--bg);color:var(--tx);font:14px/1.5 'Plus Jakarta Sans',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;-webkit-font-smoothing:antialiased}
#ica a,.ov a{text-decoration:none}:where(#ica) a{color:inherit}
#ica button,#ica input,#ica select,#ica textarea{font:inherit}
:where(#ica) button,:where(#ica) input,:where(#ica) select,:where(#ica) textarea{color:inherit}
.ov button,.ov input,.ov select,.ov textarea{font:inherit;color:inherit}.ov .btn{color:#fff}.ov .btn.s{color:var(--tx)}.ov a{color:inherit}
.boot{height:100vh;display:grid;place-items:center}.boot span{width:30px;height:30px;border:3px solid var(--br);border-top-color:var(--bl);border-radius:50%;animation:sp .7s linear infinite}@keyframes sp{to{transform:rotate(1turn)}}
svg.i{width:18px;height:18px;flex:none;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
/* Shell */
.app{display:flex;min-height:100vh}
.side{display:none;width:244px;flex:none;background:var(--nv);color:#c9d3ff;padding:22px 16px;position:sticky;top:0;height:100vh;flex-direction:column}
.side .lg{height:34px;margin:2px 8px 26px;display:block}
.side nav{display:flex;flex-direction:column;gap:2px}
.nv{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:11px;color:#b6c3ff;font-weight:600;font-size:13.5px;cursor:pointer;border:0;background:none;text-align:left;width:100%}
.nv:hover{background:rgba(255,255,255,.06);color:#fff}.nv.on{background:linear-gradient(135deg,var(--bl),var(--bl2));color:#fff;box-shadow:0 6px 16px rgba(0,71,245,.35)}
.nv .ct{margin-left:auto;background:rgba(255,255,255,.14);border-radius:99px;font-size:11px;padding:1px 8px}
.side .sp{flex:1}
.pro-tile{background:linear-gradient(160deg,#0a1456,#0b2a9a);border:1px solid rgba(255,255,255,.1);border-radius:14px;padding:14px;margin-bottom:14px}
.pro-tile b{color:#fff;display:flex;align-items:center;gap:6px}.pro-tile p{margin:4px 0 10px;font-size:12px;color:#a9b8f5}
.me-row{display:flex;align-items:center;gap:10px;padding:8px 6px;border-top:1px solid rgba(255,255,255,.08);padding-top:14px}
.me-row small{display:block;color:#8d9ddd;font-size:11.5px;overflow:hidden;text-overflow:ellipsis;max-width:130px;white-space:nowrap}.me-row b{color:#fff;font-size:13px;display:block;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.me-row a{margin-left:auto;color:#8d9ddd}.me-row a:hover{color:#fff}
.main{flex:1;min-width:0;padding-bottom:84px}
.top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;position:sticky;top:0;z-index:5;background:rgba(243,247,255,.88);backdrop-filter:blur(10px)}
.top .lg{height:28px}.top h1{margin:0;font-size:19px;font-weight:800;letter-spacing:-.01em}
.top .r{display:flex;align-items:center;gap:10px}
.page{padding:6px 16px 30px;max-width:1080px;margin:0 auto}
.av{width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,var(--bl),var(--cy));color:#fff;display:grid;place-items:center;font-weight:800;font-size:13px;flex:none}
.av.lg2{width:56px;height:56px;font-size:19px}
.bnav{position:fixed;left:0;right:0;bottom:0;background:#fff;border-top:1px solid var(--br);display:flex;padding:6px 4px calc(6px + env(safe-area-inset-bottom,0px));z-index:20;box-shadow:0 -6px 20px rgba(5,12,58,.06)}
.bnav button{flex:1;border:0;background:none;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:10.5px;font-weight:600;color:var(--mu);padding:6px 0;cursor:pointer;position:relative}
.bnav button.on{color:var(--bl)}.bnav button.on svg{stroke-width:2.4}
.bnav .dot{position:absolute;top:2px;left:calc(50% + 6px);background:var(--rd);color:#fff;border-radius:9px;min-width:16px;height:16px;font-size:10px;display:grid;place-items:center;padding:0 4px}
@media (min-width:900px){.side{display:flex}.bnav{display:none}.main{padding-bottom:30px}.top{padding:22px 34px 10px}.top .lg{display:none}.top h1{font-size:22px}.page{padding:10px 34px 40px}}
/* Cards & bits */
.card{background:var(--card);border:1px solid var(--br);border-radius:var(--r);padding:18px;box-shadow:var(--sh)}
.card+.card{margin-top:14px}
.h2{display:flex;align-items:center;justify-content:space-between;margin:0 0 12px;font-size:15px;font-weight:800;letter-spacing:-.01em}.h2 a,.h2 button{font-size:12.5px;font-weight:700;color:var(--bl);background:none;border:0;cursor:pointer;padding:0}
.mu{color:var(--mu)}.sm{font-size:12.5px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:11px;padding:10px 16px;font-weight:700;font-size:13.5px;cursor:pointer;background:linear-gradient(135deg,var(--bl),var(--bl2));color:#fff;box-shadow:0 6px 16px rgba(0,71,245,.22);transition:transform .08s,box-shadow .15s}
.btn:hover{box-shadow:0 8px 20px rgba(0,71,245,.3)}.btn:active{transform:scale(.98)}.btn[disabled]{opacity:.6;pointer-events:none}
.btn.s{background:#fff;color:var(--tx);border:1px solid var(--br);box-shadow:none}.btn.s:hover{border-color:#c9d6f5;background:#f8faff}
.btn.w{background:#fff;color:var(--bl2);box-shadow:none}.btn.g{background:var(--gr);box-shadow:0 6px 16px rgba(1,167,111,.25)}.btn.sm{padding:7px 12px;font-size:12.5px;border-radius:9px}.btn.full{width:100%}.btn.red{background:#fff;color:var(--rd);border:1px solid #f4c9c9;box-shadow:none}
.chip{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;font-weight:700;padding:3px 9px;border-radius:99px;background:#eef3ff;color:var(--bl2);white-space:nowrap}
.chip.g{background:#e6f8f1;color:#01835a}.chip.r{background:#fee9e9;color:#c01f1f}.chip.a{background:#fff3df;color:#b46a04}.chip.n{background:#f1f3f9;color:var(--mu)}
.row{display:flex;align-items:center;gap:12px}.sp{justify-content:space-between}.fx{flex:1;min-width:0}.wrap{flex-wrap:wrap}.gap{gap:8px}
/* Hero */
.hero{background:linear-gradient(120deg,var(--nv) 0%,#0a2a9e 62%,#0a64f0 100%);color:#fff;border:0;position:relative;overflow:hidden;padding:22px}
.hero:after{content:"";position:absolute;right:-60px;top:-70px;width:240px;height:240px;border-radius:50%;background:radial-gradient(circle,rgba(26,168,255,.45),transparent 70%)}
.hero h2{margin:0;font-size:21px;font-weight:800;letter-spacing:-.02em;position:relative}.hero p{margin:5px 0 0;color:#c4d2ff;position:relative;max-width:460px}
.hero .row{position:relative}
.ring{--p:0;width:64px;height:64px;border-radius:50%;background:conic-gradient(var(--cy) calc(var(--p)*1%),rgba(255,255,255,.18) 0);display:grid;place-items:center;flex:none}
.ring i{width:50px;height:50px;border-radius:50%;background:#0a1d7a;display:grid;place-items:center;font-style:normal;font-weight:800;font-size:14px}
.ring.sm2{width:46px;height:46px;background:conic-gradient(var(--gr) calc(var(--p)*1%),#e6ecf8 0)}.ring.sm2 i{width:36px;height:36px;background:#fff;color:var(--tx);font-size:12px}
.stats{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:14px 0}
@media (min-width:700px){.stats{grid-template-columns:repeat(4,1fr)}}
.stat{background:#fff;border:1px solid var(--br);border-radius:var(--r);padding:14px 16px;box-shadow:var(--sh)}.stat b{display:block;font-size:24px;font-weight:800;letter-spacing:-.02em;line-height:1.1}.stat span{color:var(--mu);font-size:12px;font-weight:600}
.stat .ic{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;margin-bottom:8px;background:#eef3ff;color:var(--bl)}
.cols{display:grid;gap:14px}@media (min-width:900px){.cols{grid-template-columns:1.05fr 1fr}.cols .card+.card{margin-top:0}}
/* Lists */
.li{display:flex;align-items:center;gap:12px;padding:11px 0;border-top:1px solid var(--br)}.li:first-child{border-top:0;padding-top:0}
.li .t{font-weight:700;font-size:13.5px;line-height:1.35;display:block}.li .s{color:var(--mu);font-size:12px}
.day{min-width:52px;text-align:center;border-radius:11px;padding:6px 4px;background:#eef3ff;color:var(--bl2);font-weight:800;line-height:1.1}.day small{display:block;font-size:10px;font-weight:700;opacity:.8}.day.hot{background:#fee9e9;color:var(--rd)}.day.warn{background:#fff3df;color:#b46a04}
.mcard{display:flex;gap:12px;padding:14px;border:1px solid var(--br);border-radius:14px;background:#fff;align-items:flex-start;transition:border-color .15s,box-shadow .15s}.mcard:hover{border-color:#c9d6f5;box-shadow:var(--sh)}
.mcard+.mcard{margin-top:10px}.mcard .t{font-weight:800;font-size:14px;line-height:1.35;display:block;margin-bottom:2px}
.thumb{width:48px;height:48px;border-radius:12px;background:linear-gradient(135deg,#e5edff,#d5e6ff);color:var(--bl2);display:grid;place-items:center;font-weight:800;flex:none;overflow:hidden}.thumb img{width:100%;height:100%;object-fit:cover}
.tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
.lock{border:1px dashed #b7c8f7;background:linear-gradient(135deg,#f4f8ff,#eaf1ff);border-radius:14px;padding:16px;text-align:center;margin-top:12px}
.empty{text-align:center;padding:36px 14px;color:var(--mu)}.empty b{display:block;color:var(--tx);font-size:15px;margin:10px 0 4px}.empty .ico{width:54px;height:54px;border-radius:16px;background:#eef3ff;color:var(--bl);display:grid;place-items:center;margin:0 auto}
/* Tracker */
.chips{display:flex;gap:8px;overflow-x:auto;padding:2px 0 10px;scrollbar-width:none}.chips::-webkit-scrollbar{display:none}
.fchip{border:1px solid var(--br);background:#fff;border-radius:99px;padding:7px 13px;font-weight:700;font-size:12.5px;color:var(--mu);cursor:pointer;white-space:nowrap}.fchip.on{background:var(--nv);border-color:var(--nv);color:#fff}.fchip b{margin-left:4px;opacity:.7}
.app-c{background:#fff;border:1px solid var(--br);border-radius:14px;padding:14px;box-shadow:var(--sh)}.app-c+.app-c{margin-top:10px}
.stepper{display:flex;gap:4px;margin:12px 0 4px}.stepper i{flex:1;height:5px;border-radius:9px;background:#e6ecf8}.stepper i.on{background:linear-gradient(90deg,var(--bl),var(--cy))}.stepper.rej i.on{background:#e5a0a0}.stepper.win i.on{background:var(--gr)}
.sel{appearance:none;border:1px solid var(--br);background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23667392' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;border-radius:10px;padding:7px 28px 7px 11px;font-weight:700;font-size:12.5px;cursor:pointer}
.note{width:100%;border:1px solid var(--br);border-radius:10px;padding:9px 11px;margin-top:10px;resize:vertical;min-height:60px;background:#fafcff}
/* Forms */
.f{display:grid;gap:14px}@media (min-width:700px){.f.two{grid-template-columns:1fr 1fr}}
.fl label{display:block;font-weight:700;font-size:12.5px;margin-bottom:6px;color:#2a3566}.fl .h{font-weight:500;color:var(--mu);font-size:12px;margin-top:5px}
.in{width:100%;border:1px solid var(--br);background:#fff;border-radius:11px;padding:11px 13px;font-size:14px;outline:0;transition:border-color .15s,box-shadow .15s}.in:focus{border-color:var(--bl);box-shadow:0 0 0 3px rgba(0,71,245,.12)}
.opts{display:flex;flex-wrap:wrap;gap:8px}.opt{border:1px solid var(--br);background:#fff;border-radius:99px;padding:8px 14px;font-weight:600;font-size:13px;cursor:pointer;color:#34406b;transition:all .12s}.opt:hover{border-color:#b7c8f7}.opt.on{background:var(--bl);border-color:var(--bl);color:#fff}
.seg{display:flex;gap:4px;background:#e9eefb;border-radius:13px;padding:4px;overflow-x:auto;scrollbar-width:none;margin-bottom:14px}.seg::-webkit-scrollbar{display:none}.seg button{flex:1;border:0;background:none;border-radius:10px;padding:9px 14px;font-weight:700;font-size:13px;color:var(--mu);cursor:pointer;white-space:nowrap}.seg button.on{background:#fff;color:var(--tx);box-shadow:0 2px 8px rgba(5,12,58,.08)}
.cert{border:1px solid var(--br);border-radius:13px;padding:14px;background:#fafcff}.cert+.cert{margin-top:10px}
/* Pro */
.plans{display:grid;gap:12px}@media (min-width:700px){.plans{grid-template-columns:1fr 1fr}}
.plan{border:2px solid var(--br);border-radius:16px;padding:18px;cursor:pointer;background:#fff;position:relative;transition:border-color .12s}.plan.on{border-color:var(--bl);box-shadow:0 0 0 4px rgba(0,71,245,.08)}.plan b{font-size:26px;letter-spacing:-.03em}.plan .tag{position:absolute;top:-10px;right:14px;background:var(--gr);color:#fff;font-size:11px;font-weight:800;padding:3px 10px;border-radius:99px}
.feat{list-style:none;margin:0;padding:0;display:grid;gap:10px}.feat li{display:flex;gap:10px;align-items:flex-start}.feat svg{color:var(--gr);margin-top:2px}.feat li span.x{color:var(--mu);font-size:12.5px;display:block}
.crown{background:linear-gradient(135deg,#f9c23c,#f08a24);color:#fff;border-radius:99px;font-size:10.5px;font-weight:800;padding:2px 8px;display:inline-flex;align-items:center;gap:4px;letter-spacing:.03em}
.bank{background:#f6f9ff;border:1px solid var(--br);border-radius:13px;padding:14px;display:grid;gap:8px}.bank div{display:flex;justify-content:space-between;gap:10px}.bank b{font-variant-numeric:tabular-nums}
/* Auth */
.auth{min-height:100vh;display:grid}@media (min-width:900px){.auth{grid-template-columns:1.05fr 1fr}}
.aside{background:linear-gradient(150deg,var(--nv),#0a2a9e);color:#fff;padding:34px 28px;display:none;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}@media (min-width:900px){.aside{display:flex;padding:48px}}
.aside:after{content:"";position:absolute;right:-120px;bottom:-120px;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(26,168,255,.4),transparent 70%)}
.aside h2{font-size:32px;line-height:1.15;letter-spacing:-.03em;margin:0 0 14px}.aside li{display:flex;gap:10px;margin:12px 0;color:#d4defe}.aside ul{list-style:none;padding:0;margin:20px 0}
.form{display:flex;align-items:center;justify-content:center;padding:30px 18px}.form .box{width:100%;max-width:400px}.form .lg{height:30px;margin-bottom:26px}.form h1{font-size:25px;letter-spacing:-.03em;margin:0 0 6px}
.err{background:#fee9e9;color:#a31919;border-radius:10px;padding:10px 12px;font-size:13px;margin-bottom:12px}
/* Wizard / modal */
.ov{position:fixed;inset:0;background:rgba(5,12,58,.55);backdrop-filter:blur(3px);z-index:50;display:flex;align-items:flex-end;justify-content:center}@media (min-width:700px){.ov{align-items:center}}
.sheet{background:#fff;width:100%;max-width:560px;max-height:92vh;overflow:auto;border-radius:22px 22px 0 0;padding:22px;animation:up .22s ease}@media (min-width:700px){.sheet{border-radius:22px}}@keyframes up{from{transform:translateY(24px);opacity:0}}
.wiz{position:fixed;inset:0;background:var(--bg);z-index:40;overflow:auto}.wiz .in2{max-width:640px;margin:0 auto;padding:22px 16px 40px}
.bar{height:6px;border-radius:9px;background:#e1e8f8;overflow:hidden;margin:14px 0 22px}.bar i{display:block;height:100%;background:linear-gradient(90deg,var(--bl),var(--cy));border-radius:9px;transition:width .3s}
.toast{position:fixed;left:50%;bottom:92px;transform:translateX(-50%);background:var(--nv);color:#fff;padding:11px 18px;border-radius:12px;font-weight:600;font-size:13px;z-index:99;box-shadow:0 10px 30px rgba(5,12,58,.3);max-width:90vw;animation:up .2s}@media (min-width:900px){.toast{bottom:30px}}
.hide{display:none!important}
@media (max-width:899px){.top h1,.top .r .btn{display:none}.top .row{gap:0}.top .lg{height:30px}}
img.av{object-fit:cover;display:block}.av.lg2{width:56px;height:56px}
.hm{gap:6px}.hm svg{width:15px;height:15px}
@media (max-width:899px){.hm span{display:none}.top .r .btn.hm{display:inline-flex!important;padding:8px 9px}.top .r .btn{display:none}.bnav .bl{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:10.5px;font-weight:600;color:var(--mu);padding:6px 0}.bnav button{font-size:10px}}
@media (min-width:900px){.bnav .bl{display:none}}
.svcs{display:grid;gap:12px}@media (min-width:700px){.svcs{grid-template-columns:repeat(3,1fr)}}
.svc{border:1px solid var(--br);border-radius:14px;padding:14px;display:flex;flex-direction:column;align-items:flex-start;background:linear-gradient(160deg,#fff,#f6f9ff)}.svc .ic{width:36px;height:36px;border-radius:11px;background:#eef3ff;color:var(--bl);display:grid;place-items:center;margin-bottom:10px}.svc b{font-size:13.5px;margin-bottom:2px}
.wabox{background:#effaf5;border:1px solid #bfe9d6;border-radius:13px;padding:13px;margin:0 0 14px}.wal{display:inline-flex;align-items:center;gap:7px;background:#fff;border:1px solid #bfe9d6;color:#01835a!important;font-weight:700;font-size:13px;border-radius:99px;padding:7px 13px}.wal svg{width:16px;height:16px}

/* v1.2: even bottom bar, smaller type */
.bnav{display:grid;grid-template-columns:repeat(5,1fr);padding:4px 2px calc(6px + env(safe-area-inset-bottom,0px))}
.bnav button,.bnav .bl{min-width:0;font-size:10px;gap:2px;padding:6px 0;white-space:nowrap}
.bnav button svg{width:21px;height:21px}
@media (max-width:899px){.top .r .btn.gs{display:inline-flex!important;padding:8px 9px}.top .r .btn.gs svg{width:16px;height:16px}}
@media (min-width:900px){.top .r .btn.gs{display:none!important}}
.top h1{font-size:16px}
.page{font-size:13.5px}
.page h2{font-size:18px}.page h3{font-size:14.5px}
.nv{font-size:13px}
@media (min-width:900px){.top h1{font-size:19px}}
