:root{
  --g:#1f7a3c; --g-d:#17602f; --g-l:#e8f4ec; --g-ll:#f2f9f4;
  --blue:#2f7be0; --blue-l:#e7f0fc; --red:#e2463f; --red-l:#fde9e8; --amber:#e39a1c;
  --ink:#16201a; --ink2:#4b5852; --ink3:#7d8983; --line:#e4eae6; --bg:#f4f7f5; --card:#fff;
  --r:14px; --r-s:10px; --sh:0 1px 2px rgba(16,40,24,.05),0 4px 14px rgba(16,40,24,.05);
  --side:250px; --safe-b:env(safe-area-inset-bottom,0px);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font:15px/1.45 Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:var(--g);text-decoration:none;font-weight:600}
a:hover{text-decoration:underline}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
h1,h2,h3{margin:0;line-height:1.2}
img,svg{display:block}
:focus-visible{outline:3px solid #8cc9a0;outline-offset:2px;border-radius:6px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.muted{color:var(--ink3)} .small{font-size:13px}
.num{font-variant-numeric:tabular-nums}

/* ===== Layout ===== */
.shell{display:grid;grid-template-columns:var(--side) 1fr;min-height:100vh;min-height:100dvh;background:linear-gradient(90deg,#fff var(--side),transparent 0)}
.side{position:sticky;top:0;height:100vh;height:100dvh;background:#fff;border-right:1px solid var(--line);padding:18px 14px;display:flex;flex-direction:column;gap:18px}
.brand{display:flex;align-items:center;gap:8px;padding:2px 8px;color:var(--g)}
.brand img{width:40px;height:40px}
.brand b{display:block;font-size:26px;font-weight:800;letter-spacing:-.5px;line-height:.9;color:var(--g)}
.brand small{display:block;font-size:15px;font-weight:600;color:var(--ink3);line-height:1}
.brand:hover{text-decoration:none}
.nav{display:flex;flex-direction:column;gap:3px;overflow:auto}
.nav a{display:flex;align-items:center;gap:13px;padding:11px 14px;border-radius:10px;color:var(--ink);font-weight:500}
.nav a:hover{background:var(--g-ll);text-decoration:none}
.nav a.on{background:var(--g);color:#fff}
.nav a .badge{margin-left:auto}
.ic{width:20px;height:20px;flex:none;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.help{margin-top:auto;border:1px solid var(--line);border-radius:var(--r);padding:16px;font-size:14px}
.help .ph{display:flex;gap:10px}
.help .ph span{width:34px;height:34px;border-radius:50%;background:var(--g);color:#fff;display:grid;place-items:center;flex:none}
.help hr{border:0;border-top:1px solid var(--line);margin:12px 0}

.main{min-width:0;padding:16px 28px 40px;max-width:1240px;width:100%}
.top{display:flex;align-items:center;gap:12px;margin-bottom:18px}
.addr{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px 14px;font-weight:500;max-width:100%;min-width:0}
.addr select{border:0;background:transparent;appearance:none;-webkit-appearance:none;padding-right:18px;font-weight:500;min-width:0;text-overflow:ellipsis;cursor:pointer;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23444' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right center/14px no-repeat}
.addr select:focus{outline:0}
.top .sp{flex:1}
.iconbtn{position:relative;width:42px;height:42px;border-radius:50%;border:1px solid var(--line);background:#fff;display:grid;place-items:center;color:var(--ink)}
.iconbtn:hover{background:var(--g-ll)}
.dot{position:absolute;top:4px;right:4px;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:var(--red);color:#fff;font-size:11px;font-weight:700;display:grid;place-items:center;border:2px solid #fff}
.userbtn{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:6px 12px 6px 6px;font-weight:500}
.avatar{width:32px;height:32px;border-radius:50%;background:var(--g-l);color:var(--g);display:grid;place-items:center;font-weight:700;font-size:13px}

.mtop,.tabbar{display:none}

/* ===== Components ===== */
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--sh)}
.pad{padding:18px}
.sec{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:28px 0 14px}
.sec h2{font-size:21px;font-weight:700;padding-left:12px;border-left:4px solid var(--g)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:10px;background:var(--g);color:#fff;font-weight:600;padding:12px 18px;min-height:44px;transition:background .15s,transform .05s;text-decoration:none!important}
.btn:hover{background:var(--g-d)}
.btn:active{transform:translateY(1px)}
.btn.block{width:100%}
.btn.lg{min-height:52px;font-size:16px}
.btn.ghost{background:#fff;color:var(--g);border:1.5px solid var(--g)}
.btn.ghost:hover{background:var(--g-ll)}
.btn.soft{background:var(--g-l);color:var(--g)}
.btn.danger{background:#fff;color:var(--red);border:1.5px solid #f3b8b5}
.btn.sm{min-height:36px;padding:7px 14px;font-size:14px}
.btn:disabled{opacity:.5;cursor:not-allowed}
.badge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:20px;font-size:12px;font-weight:700;background:var(--red);color:#fff}
.pill{display:inline-flex;align-items:center;gap:5px;padding:3px 10px;border-radius:20px;font-size:12.5px;font-weight:600}
.pill.ok{background:var(--g-l);color:var(--g)} .pill.warn{background:#fdf2dc;color:#a46a07} .pill.red{background:var(--red-l);color:var(--red)}
.kind-ic{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;flex:none}
.kind-ic.cold{background:var(--blue-l);color:var(--blue)} .kind-ic.hot{background:var(--red-l);color:var(--red)} .kind-ic.gas{background:#fdf2dc;color:#d48a0c}
.kind-ic .ic{fill:currentColor;stroke:none}

/* Hero */
.hero{position:relative;overflow:hidden;border-radius:var(--r);min-height:164px;padding:30px 34px;color:#fff;
  background:linear-gradient(100deg,#3e6fa6 0%,#5b8fc4 45%,#a9c7e4 100%)}
.hero h1{font-size:34px;font-weight:800;letter-spacing:-.5px;position:relative;z-index:2;text-shadow:0 1px 8px rgba(0,30,60,.25)}
.hero p{max-width:380px;margin:12px 0 0;opacity:.95;position:relative;z-index:2;text-shadow:0 1px 6px rgba(0,30,60,.3)}
.hero img.bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:70% 42%;z-index:0}
.hero:after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(14,44,82,.78) 0%,rgba(14,44,82,.5) 38%,rgba(14,44,82,.05) 70%,transparent 100%)}

/* Stat tiles */
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:16px}
.stat{display:flex;gap:14px;padding:18px;align-items:flex-start}
.stat .si{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;flex:none}
.stat .lbl{font-size:13.5px;color:var(--ink2)}
.stat .val{font-size:21px;font-weight:700;margin:4px 0 6px}
.stat a{font-size:14px}
.si.b{background:var(--blue-l);color:var(--blue)} .si.g{background:var(--g-l);color:var(--g)} .si.v{background:#efeafb;color:#6a4bc4} .si.r{background:var(--red-l);color:var(--red)}

/* Meters grid (desktop cards) */
.meters{display:grid;grid-template-columns:repeat(auto-fit,minmax(215px,1fr));gap:14px}
.mcard{padding:16px;display:flex;flex-direction:column;align-items:center;text-align:center}
.mcard .hd{display:flex;gap:10px;width:100%;text-align:left;align-items:flex-start}
.mcard .hd b{display:block;font-size:15px}
.mcard .hd>div>span{font-size:13px;color:var(--ink2);white-space:nowrap}
.mcard .hd b{white-space:nowrap}
.mcard .hd .more{margin-left:auto;border:0;background:none;padding:4px;color:var(--ink3);border-radius:6px}
.mcard .gauge{width:118px;margin:14px 0 6px}
.mcard .v{font-size:26px;font-weight:800;letter-spacing:-.3px}
.mcard .d{font-size:13px;color:var(--ink2);margin:4px 0 14px}
.mcard .btn{width:100%;margin-top:auto}
sup{font-size:.6em}

/* Meter row (mobile list) */
.mrow{display:flex;align-items:center;gap:14px;padding:12px 4px;border-bottom:1px solid var(--line);color:inherit;font-weight:400}
.mrow:last-child{border-bottom:0}
.mrow:hover{text-decoration:none}
.mrow .gauge{width:62px;flex:none}
.mrow .info{flex:1;min-width:0}
.mrow .info b{display:block;font-size:14.5px}
.mrow .info span{font-size:12.5px;color:var(--ink2)}
.mrow .info .v{font-size:19px;font-weight:800;margin-top:2px}

/* Chart + info */
.split{display:grid;grid-template-columns:1fr 300px;gap:16px;align-items:start}
.tabs{display:flex;gap:6px;flex-wrap:wrap}
.tab{border:0;background:#f0f3f1;border-radius:10px;padding:9px 16px;font-weight:500;font-size:14px;color:var(--ink2)}
.tab.on{background:var(--g);color:#fff}
.legend{display:flex;gap:18px;justify-content:flex-end;font-size:12.5px;color:var(--ink2);margin:10px 0 0}
.legend i{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:6px;vertical-align:0}
.chart{width:100%;height:auto;overflow:visible}
.chart text{font-size:11px;fill:var(--ink3);font-family:inherit}
.chart .bar{transition:opacity .15s}
.chart .bar:hover{opacity:.75}
.select{border:1px solid var(--line);border-radius:10px;padding:9px 34px 9px 12px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23444' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 10px center/14px no-repeat;appearance:none;-webkit-appearance:none;font-size:14px}
.tip{position:fixed;pointer-events:none;background:var(--ink);color:#fff;font-size:12.5px;padding:6px 9px;border-radius:7px;z-index:50;opacity:0;transition:opacity .1s;white-space:nowrap}
.useful h3{font-size:16px;margin-bottom:6px}
.useful .it{display:flex;gap:12px;padding:12px 0}
.useful .it+.it{border-top:1px solid var(--line)}
.useful .it .si{width:34px;height:34px;border-radius:50%;background:var(--g-ll);color:var(--g);display:grid;place-items:center;flex:none}
.useful .it p{margin:0 0 4px;font-size:14px}
.useful .it a{font-size:13.5px}

/* Lists / tables */
.table{width:100%;border-collapse:collapse;font-size:14.5px}
.table th{text-align:left;font-weight:600;color:var(--ink3);font-size:12.5px;text-transform:uppercase;letter-spacing:.03em;padding:12px 16px;border-bottom:1px solid var(--line)}
.table td{padding:14px 16px;border-bottom:1px solid var(--line);vertical-align:middle}
.table tr:last-child td{border-bottom:0}
.table .r{text-align:right}
.table td.num{white-space:nowrap}
.list .li{display:flex;align-items:center;gap:14px;padding:14px 18px;border-bottom:1px solid var(--line);color:inherit;font-weight:400;width:100%;text-align:left;background:none;border-left:0;border-right:0;border-top:0}
.list .li:last-child{border-bottom:0}
.list .li:hover{background:var(--g-ll);text-decoration:none}
.list .li .grow{flex:1;min-width:0}
.list .li b{display:block;font-weight:600}
.list .li .sub{font-size:13px;color:var(--ink3)}
.list .li .chev{color:var(--ink3)}
.page-h{display:flex;align-items:center;gap:12px;margin:4px 0 18px;flex-wrap:wrap}
.page-h h1{font-size:26px;font-weight:800;letter-spacing:-.3px}
.page-h .sp{flex:1}
.back{display:inline-flex;align-items:center;gap:4px;color:var(--ink);font-weight:500;padding:6px 2px}
.empty{padding:40px 20px;text-align:center;color:var(--ink3)}

/* Forms */
.field{display:block;margin-bottom:14px}
.field>span{display:block;font-weight:500;font-size:14px;margin-bottom:6px}
.field>span em{color:var(--red);font-style:normal}
.input{display:flex;align-items:center;gap:10px;border:1.5px solid var(--line);border-radius:12px;background:#fff;padding:0 14px;min-height:54px;transition:border-color .15s,box-shadow .15s}
.input:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px rgba(47,123,224,.12)}
.input.err{border-color:var(--red)}
.input input,.input select,.input textarea{flex:1;border:0;outline:0;background:transparent;min-width:0;padding:14px 0;font-size:16px}
.input textarea{resize:vertical;min-height:70px}
.input .unit{font-weight:600;color:var(--ink2)}
.input .ic{color:var(--ink3)}
.input.lbl{flex-direction:row;align-items:center}
.input.lbl .stack{flex:1;display:flex;flex-direction:column;padding:6px 0}
.input.lbl .stack small{font-size:12px;color:var(--ink3)}
.input.lbl .stack input{padding:2px 0 4px}
.input .eye{border:0;background:none;color:var(--ink3);padding:6px}
.hint{font-size:13px;color:var(--ink2);margin-top:6px}
.errmsg{font-size:13px;color:var(--red);margin-top:6px}
.check{display:flex;align-items:center;gap:8px;font-size:14px}
.check input{width:18px;height:18px;accent-color:var(--g)}
.or{display:flex;align-items:center;gap:12px;color:var(--ink3);font-size:13px;margin:16px 0}
.or:before,.or:after{content:"";flex:1;border-top:1px solid var(--line)}
.btn.alt{background:#fff;color:var(--ink);border:1px solid var(--line);font-weight:500}
.btn.alt:hover{background:#f7f9f8}
.code{display:flex;gap:8px;justify-content:center;margin:20px 0}
.code input{width:48px;height:58px;text-align:center;font-size:24px;font-weight:600;border:1.5px solid var(--line);border-radius:12px;outline:0}
.code input:focus{border-color:var(--g);box-shadow:0 0 0 3px rgba(31,122,60,.12)}

/* Submit flow */
.flow{max-width:620px}
.mhead{display:flex;gap:16px;align-items:center;margin-bottom:16px}
.mhead .gauge{width:100px;flex:none}
.mhead .t{flex:1;min-width:0}
.mhead .t .row{display:flex;gap:10px;align-items:center}
.mhead .t b{display:block}
.mhead .loc{display:flex;gap:6px;align-items:center;background:#f3f6f4;border-radius:10px;padding:8px 10px;font-size:13.5px;margin-top:10px;color:var(--ink2)}
.prev{display:grid;grid-template-columns:1fr 1fr;background:var(--g-ll);border:1px solid #d7ebdd;border-radius:var(--r);padding:16px 18px;margin-bottom:18px}
.prev>div+div{border-left:1px solid #cfe3d5;padding-left:18px}
.prev .k{font-size:13px;color:var(--ink2)}
.prev .vv{font-size:20px;font-weight:700;margin-top:2px}
.prev .exp{color:var(--g)}
.steps{display:flex;gap:6px;margin-bottom:18px}
.steps i{flex:1;height:4px;border-radius:4px;background:var(--line)}
.steps i.on{background:var(--g)}
.example{display:flex;align-items:center;gap:16px;margin:14px 0 18px;flex-wrap:wrap}
.example .gauge{width:130px}
.odo{display:flex;gap:3px;padding:8px 12px;border:2px solid var(--g);border-radius:12px;background:#fff;font-size:30px;font-weight:700;font-variant-numeric:tabular-nums}
.odo span{width:28px;text-align:center}
.odo .red{color:var(--red)}
.drop{border:2px dashed #cfdcd4;border-radius:var(--r);background:#fafcfb;min-height:220px;display:grid;place-items:center;text-align:center;padding:20px;overflow:hidden;position:relative}
.drop img{width:100%;max-height:360px;object-fit:cover;border-radius:10px}
.summary .row{display:flex;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid var(--line)}
.summary .row:last-child{border-bottom:0}
.summary .row .k{color:var(--ink2)}
.summary .row .vv{font-weight:700;text-align:right;font-size:17px}
.summary .row .vv small{display:block;font-weight:400;color:var(--ink3);font-size:13px}
.summary .row.use{background:var(--g-ll)}
.summary .row.use .vv{color:var(--g);font-size:22px}
.verdict{display:flex;gap:14px;align-items:center;border:1.5px solid #b7dcc3;background:var(--g-ll);border-radius:var(--r);padding:16px 18px;margin:16px 0}
.verdict .si{width:42px;height:42px;border-radius:50%;background:var(--g);color:#fff;display:grid;place-items:center;flex:none}
.verdict.warn{border-color:#f0d39b;background:#fff9ec}
.verdict.warn .si{background:var(--amber)}
.verdict b{display:block;color:var(--g)}
.verdict.warn b{color:#a46a07}
.success{text-align:center;padding:24px 8px 10px}
.success .big{width:96px;height:96px;margin:0 auto 18px;border-radius:50%;background:var(--g-l);display:grid;place-items:center;animation:pop .45s cubic-bezier(.2,1.6,.4,1)}
.success .big span .ic{width:36px;height:36px;stroke-width:2.6}
.success .big span{width:66px;height:66px;border-radius:50%;background:var(--g);display:grid;place-items:center;color:#fff}
@keyframes pop{from{transform:scale(.5);opacity:0}to{transform:scale(1);opacity:1}}

/* Auth / onboarding */
.auth{min-height:100vh;min-height:100dvh;display:grid;grid-template-columns:1.1fr 1fr}
.auth .art{position:relative;overflow:hidden;color:#fff;padding:48px;display:flex;flex-direction:column;justify-content:space-between;
  background:linear-gradient(180deg,#6ea0cf 0%,#87b3da 40%,#2f6a3f 78%,#1c4d2c 100%)}
.auth .art>img.bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:35% 50%;z-index:0}
.auth .brand div{display:block!important}
.auth .art>.ov{position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(8,30,50,.45) 0%,rgba(8,30,50,.05) 22%,rgba(8,30,50,.15) 45%,rgba(6,36,22,.72) 72%,rgba(6,36,22,.9) 100%)}
.auth .art>*:not(.bg):not(.ov){position:relative;z-index:2}
.auth .art .brand b,.auth .art .brand small{color:#fff}
.auth .art h1{font-size:44px;font-weight:800;letter-spacing:-.8px;max-width:460px}
.feat{list-style:none;padding:0;margin:22px 0 0;display:grid;gap:12px}
.feat li{display:flex;gap:12px;align-items:center;font-weight:500}
.feat li span{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.18);display:grid;place-items:center}
.auth .form{display:flex;align-items:center;justify-content:center;padding:40px 24px;background:#fff}
.auth .form>div{width:100%;max-width:400px}
.auth .form h1{font-size:30px;font-weight:800;margin:20px 0 8px}
.auth .form .lead{color:var(--ink2);margin:0 0 22px}
.demo-note{background:#fff9ec;border:1px solid #f0d39b;border-radius:10px;padding:10px 12px;font-size:13px;color:#7a5306;margin-bottom:18px}

/* Profile */
.prof{display:flex;align-items:center;gap:14px;padding:18px}
.prof .avatar{width:56px;height:56px;font-size:20px}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.kv{display:grid;grid-template-columns:auto 1fr;gap:10px 18px;font-size:14.5px}
.kv dt{color:var(--ink3)} .kv dd{margin:0;font-weight:500}
.switch{position:relative;width:46px;height:28px;flex:none}
.switch input{opacity:0;width:0;height:0}
.switch i{position:absolute;inset:0;background:#cfd8d3;border-radius:20px;transition:.2s}
.switch i:before{content:"";position:absolute;width:22px;height:22px;left:3px;top:3px;background:#fff;border-radius:50%;transition:.2s;box-shadow:0 1px 3px rgba(0,0,0,.2)}
.switch input:checked+i{background:var(--g)}
.switch input:checked+i:before{transform:translateX(18px)}
details.faq{border-bottom:1px solid var(--line)}
details.faq summary{padding:16px 18px;cursor:pointer;font-weight:600;list-style:none;display:flex;justify-content:space-between;gap:10px}
details.faq summary::-webkit-details-marker{display:none}
details.faq summary:after{content:"+";color:var(--g);font-size:20px;line-height:1}
details.faq[open] summary:after{content:"–"}
details.faq p{margin:0;padding:0 18px 16px;color:var(--ink2)}

/* Modal / sheet */
.modal-bg{position:fixed;inset:0;background:rgba(10,25,15,.45);z-index:60;display:grid;place-items:center;padding:16px;animation:fade .15s}
.modal{background:#fff;border-radius:18px;width:100%;max-width:520px;max-height:90vh;overflow:auto;padding:22px;animation:up .2s}
.modal h2{font-size:20px;margin-bottom:6px}
@keyframes fade{from{opacity:0}}
@keyframes up{from{transform:translateY(20px);opacity:0}}
#toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,30px);background:var(--ink);color:#fff;padding:12px 18px;border-radius:12px;font-size:14px;opacity:0;transition:.25s;z-index:80;pointer-events:none;max-width:90vw}
#toast.on{opacity:1;transform:translate(-50%,0)}

.view{animation:fade .2s}

/* ===== Tablet ===== */
@media (max-width:1180px){
  .stats{grid-template-columns:repeat(2,1fr)}
  .split{grid-template-columns:1fr}
}
@media (max-width:1024px){
  :root{--side:76px}
  .side{padding:16px 10px;align-items:center}
  .brand div,.nav a span,.nav a .badge,.help{display:none}
  .nav a{padding:12px;justify-content:center}
  .brand{padding:0}
}

/* ===== Mobile ===== */
@media (max-width:760px){
  body{background:#fff;font-size:15px}
  .shell{display:block}
  .side,.top{display:none}
  .main{padding:0 16px calc(96px + var(--safe-b))}
  .mtop{display:flex;align-items:center;gap:6px;position:sticky;top:0;z-index:20;background:rgba(255,255,255,.94);backdrop-filter:saturate(1.4) blur(10px);-webkit-backdrop-filter:saturate(1.4) blur(10px);margin:0 -16px;padding:calc(10px + env(safe-area-inset-top,0px)) 16px 10px;border-bottom:1px solid transparent}
  .mtop.scrolled{border-bottom-color:var(--line)}
  .mtop .brand img{width:34px;height:34px}
  .mtop .brand b{font-size:22px} .mtop .brand small{font-size:13px}
  .mtop .sp{flex:1}
  .mtop .iconbtn{border:0;width:40px;height:40px}
  .maddr{margin:2px 0 12px}
  .maddr .addr{width:100%;background:#f4f7f5;border:0}
  .maddr .addr select{flex:1}
  .tabbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:30;background:rgba(255,255,255,.97);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-top:1px solid var(--line);padding:6px 4px calc(6px + var(--safe-b))}
  .tabbar a{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:11.5px;font-weight:500;color:var(--ink2);padding:4px 0;position:relative}
  .tabbar a:hover{text-decoration:none}
  .tabbar a .ic{width:24px;height:24px}
  .tabbar a.on{color:var(--g);font-weight:700}
  .tabbar a.on .ic{background:var(--g-l);border-radius:12px;padding:3px;width:38px;height:30px}
  .tabbar .dot{top:0;right:calc(50% - 22px)}
  .hero{min-height:120px;padding:20px;border-radius:16px}
  .hero h1{font-size:24px}
  .hero p{font-size:13.5px;max-width:58%;margin-top:8px}
  .hero img.bg{object-position:72% 40%}
  .hero:after{background:linear-gradient(90deg,rgba(14,44,82,.86) 0%,rgba(14,44,82,.68) 55%,rgba(14,44,82,.25) 90%)}
  .hero p{max-width:72%}
  .stats{grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}
  .stats .stat:nth-child(4){display:none}
  .stat{flex-direction:column;gap:8px;padding:12px 10px}
  .stat .si{width:32px;height:32px}
  .stat .si .ic{width:17px;height:17px}
  .stat .lbl{font-size:12px}
  .stat .val{font-size:14px;margin:2px 0 0}
  .stat a,.stat .small{display:none}
  .only-m{display:inline}.only-d{display:none}
  .mtop .brand div{display:block}
  .tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin:0 -2px}
  .tabs::-webkit-scrollbar{display:none}
  .tab{white-space:nowrap;padding:8px 13px;font-size:13.5px}
  .example{flex-wrap:nowrap;gap:12px}
  .sec{margin:22px 0 8px}
  .sec h2{font-size:18px;padding-left:10px}
  .sec a{font-size:14px}
  .meters.desk{display:none}
  .mlist{display:block!important}
  .card{box-shadow:none}
  .split .card.pad{padding:14px}
  .legend{justify-content:flex-start}
  .useful{display:none}
  .page-h h1{font-size:22px}
  .page-h .back{width:100%}
  .table.resp thead{display:none}
  .table.resp tr{display:grid;grid-template-columns:1fr auto;gap:2px 10px;padding:12px 14px;border-bottom:1px solid var(--line)}
  .table.resp td{padding:0;border:0}
  .table.resp td[data-l]:before{content:attr(data-l) ": ";color:var(--ink3);font-size:12.5px}
  .table.resp td.hide-m{display:none}
  .grid2{grid-template-columns:1fr}
  .hide-m{display:none}
  .table:not(.resp) th,.table:not(.resp) td{padding:12px 10px}
  .flow{max-width:none}
  .mhead .gauge{width:84px}
  .prev{padding:12px 14px}
  .prev .vv{font-size:18px}
  .prev>div+div{padding-left:12px}
  .stickybar{position:fixed;left:0;right:0;bottom:0;z-index:35;background:#fff;padding:12px 16px calc(12px + var(--safe-b));border-top:1px solid var(--line);display:flex;flex-direction:column;gap:8px}
  .has-sticky .tabbar{display:none}
  .has-sticky .main{padding-bottom:calc(150px + var(--safe-b))}
  .example .gauge{width:104px}
  .odo{font-size:24px}.odo span{width:22px}
  .auth{grid-template-columns:1fr}
  .auth .art{display:none}
  .auth.welcome .art{display:flex;min-height:100dvh;padding:28px 24px calc(28px + var(--safe-b))}
  .auth.welcome .form{display:none}
  .auth .art h1{font-size:32px}
  .auth .form{align-items:flex-start;padding:24px 20px calc(24px + var(--safe-b))}
  .modal-bg{align-items:end;padding:0}
  .modal{border-radius:20px 20px 0 0;padding:22px 18px calc(22px + var(--safe-b))}
  #toast{bottom:calc(84px + var(--safe-b))}
  .code input{width:44px;height:54px}
}
@media (max-width:380px){
  .code{gap:5px}.code input{width:40px}
  .stat .val{font-size:13px}
}
.mlist{display:none}
.only-m{display:none}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
