/* Old POS — Modern design layer (v12.0.0)
   Same colours as before (brand blue, light + dark). New: app-style phone header, hero turnover card, icon stat cards,
   quick-action tiles, floating centre button, and a cleaner, calmer desktop. Loaded last so it can refine everything. */

:root{
  --card-r:20px;
  --card-sh:0 1px 2px rgba(15,23,42,.04),0 8px 24px -14px rgba(15,23,42,.18);
  --tint:color-mix(in srgb,var(--primary) 5%,var(--bg));
  --t-p:var(--primary);--t-pbg:color-mix(in srgb,var(--primary) 13%,var(--card));
  --t-g:#059669;--t-gbg:color-mix(in srgb,#10b981 14%,var(--card));
  --t-w:#d97706;--t-wbg:color-mix(in srgb,#f59e0b 16%,var(--card));
  --t-i:#0284c7;--t-ibg:color-mix(in srgb,#0ea5e9 15%,var(--card));
}
html.dark{
  --card-sh:0 1px 2px rgba(0,0,0,.45),0 10px 26px -14px rgba(0,0,0,.7);
  --t-g:#34d399;--t-w:#fbbf24;--t-i:#38bdf8;
}
.t-p{color:var(--t-p);background:var(--t-pbg)}
.t-g{color:var(--t-g);background:var(--t-gbg)}
.t-w{color:var(--t-w);background:var(--t-wbg)}
.t-i{color:var(--t-i);background:var(--t-ibg)}

/* ---------- Dashboard (all sizes) ---------- */
.dash2{display:block}
.d2-greet{
  display:flex;flex-direction:column;gap:6px;
  margin:0 0 14px;padding:14px 16px;
  background:var(--card);border:1px solid var(--border);border-radius:16px;
  box-shadow:var(--card-sh)
}
.d2-title{margin:18px 2px 10px;font-size:15px;font-weight:750;letter-spacing:-.01em;color:var(--text)}
.d2-to-reports{cursor:pointer;transition:border-color .15s,box-shadow .15s}
.d2-to-reports:hover{border-color:var(--primary);box-shadow:0 0 0 1px color-mix(in srgb,var(--primary) 25%,transparent)}
.lock-warn{border-color:color-mix(in srgb,#f59e0b 45%,var(--border));background:color-mix(in srgb,#f59e0b 8%,var(--card))}
html.dark .lock-warn{background:color-mix(in srgb,#f59e0b 12%,var(--card))}

.hero2{position:relative;overflow:hidden;color:#fff;border-radius:26px;padding:20px 20px 16px;margin-bottom:14px;
  background:linear-gradient(135deg,#3b82f6 0%,#2563eb 45%,#1e40af 100%);box-shadow:0 18px 36px -18px rgba(30,64,175,.75)}
.hero2::before{content:"";position:absolute;right:-70px;top:-80px;width:230px;height:230px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.22),rgba(255,255,255,0) 68%)}
.hero2::after{content:"";position:absolute;left:-60px;bottom:-90px;width:200px;height:200px;border-radius:50%;border:30px solid rgba(255,255,255,.07)}
.h2-row{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:14px}
.h2-main{min-width:0}
.h2-k{font-size:12px;font-weight:700;letter-spacing:.1em;opacity:.82}
.h2-v{margin-top:4px;font-size:clamp(32px,9.4vw,44px);font-weight:800;letter-spacing:-.035em;line-height:1.08;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.h2-sub{margin-top:6px;font-size:13px;font-weight:500;opacity:.88;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.hm-d{position:static!important;display:inline-flex;align-items:center;padding:2px 8px;border-radius:99px;font-size:11px;font-weight:700;background:rgba(255,255,255,.2);color:#fff}
.hm-d.up{background:rgba(34,197,94,.3);color:#dcfce7}.hm-d.dn{background:rgba(248,113,113,.32);color:#fee2e2}
.h2-sell{flex:none;display:inline-flex;align-items:center;gap:8px;border:0;border-radius:16px;padding:14px 18px;background:#fff;color:#1d4ed8;font:inherit;font-weight:750;font-size:15px;cursor:pointer;
  box-shadow:0 8px 18px -8px rgba(0,0,0,.35);transition:transform .15s,box-shadow .2s}
.h2-sell:hover{transform:translateY(-1px)}.h2-sell:active{transform:scale(.96)}
.h2-line{position:relative;z-index:1;height:1px;margin:16px 0 12px;background:rgba(255,255,255,.28)}
.h2-metrics{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.hero2 .hm2{all:unset;box-sizing:border-box;display:block;min-width:0;cursor:pointer;color:#fff;border-radius:12px;padding:2px 0}
.hero2 .hm2.r{text-align:right}
.hero2 .hm2 .k{display:block;font-size:12px;font-weight:500;opacity:.82;margin:0 0 3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hero2 .hm2 .v{display:block;font-size:17px;font-weight:800;letter-spacing:-.02em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.hero2 .hm2:focus-visible{outline:2px solid #fff;outline-offset:2px}
.hero2 .hm2.stat-locked .lock-mask{background:rgba(255,255,255,.22);color:#fff;padding:3px 9px;font-size:12px;border-radius:99px}
.hero2 .hm2.stat-locked .lock-mask em{display:none}

.sc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:6px}
.sc{all:unset;box-sizing:border-box;display:block;min-width:0;cursor:pointer;background:var(--card);border:1px solid var(--border);border-radius:var(--card-r);padding:16px 16px 14px;box-shadow:var(--card-sh);
  transition:transform .15s,box-shadow .2s,border-color .2s}
.sc:hover{border-color:color-mix(in srgb,var(--primary) 35%,var(--border));box-shadow:var(--shadow-lg)}
.sc:active{transform:scale(.98)}.sc:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
.sc-h{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.sc-t{font-size:13.5px;font-weight:600;color:var(--muted);line-height:1.3}
.sc-i{flex:none;width:42px;height:42px;border-radius:13px;display:grid;place-items:center}
.sc-v{margin-top:6px;font-size:clamp(22px,6.4vw,27px);font-weight:800;letter-spacing:-.03em;font-variant-numeric:tabular-nums;color:var(--text);overflow-wrap:anywhere}
.sc-v.bad{color:var(--bad)}
.sc-s{margin-top:4px;font-size:12px;color:var(--muted)}
.sc.stat-locked .lock-mask{font-size:13px}

.qa2{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.qa2-b{all:unset;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;gap:8px;padding:14px 4px 12px;cursor:pointer;text-align:center;
  background:var(--card);border:1px solid var(--border);border-radius:18px;box-shadow:var(--card-sh);font-size:12.5px;font-weight:650;color:var(--text);min-width:0;transition:transform .15s,border-color .2s}
.qa2-b:hover{border-color:color-mix(in srgb,var(--primary) 35%,var(--border))}.qa2-b:active{transform:scale(.96)}
.qa2-b:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
.qa2-i{width:48px;height:48px;border-radius:50%;display:grid;place-items:center}
.qa2-b span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}

.trend2{margin-top:16px;border-radius:var(--card-r);box-shadow:var(--card-sh)}
.tr-t{font-size:15.5px;font-weight:750;letter-spacing:-.01em}.tr-s{font-size:12.5px;color:var(--muted);margin-top:2px}
.tr-i{display:flex;align-items:center;gap:8px;color:var(--primary);font-size:12px}.tr-i b{font-weight:750;color:var(--text);font-size:13px}
.dash2 .card{border-radius:var(--card-r);box-shadow:var(--card-sh)}
.dash2 .stats .stat{border-radius:16px;box-shadow:var(--card-sh)}
.guide{border-radius:var(--card-r)}

/* ---------- Phone ---------- */
@media(max-width:1023px){
  html body{background:var(--bg)}
  html body .topbar{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:calc(72px + env(safe-area-inset-top));
    padding:calc(10px + env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) 10px max(14px,env(safe-area-inset-left));
    background:var(--tint);border-bottom:0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
  .tb-brand{display:flex;align-items:center;gap:12px;min-width:0}
  .tb-brand .logo{width:46px;height:46px;border-radius:14px;flex:none;overflow:hidden;background:#fff;box-shadow:0 2px 8px -3px rgba(15,23,42,.35);display:grid;place-items:center}
  .tb-brand .logo img{width:100%;height:100%;object-fit:cover}
  .tb-id{display:flex;flex-direction:column;min-width:0;line-height:1.2}
  .tb-shop{font-size:17px;font-weight:800;letter-spacing:.01em;text-transform:uppercase;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:48vw}
  .tb-shop em{font-style:normal;color:var(--primary)}
  .tb-sub{font-size:12.5px;color:var(--muted);font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:48vw}
  .topbar-actions{gap:8px;flex:none}
  .tb-theme{all:unset;box-sizing:border-box;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;cursor:pointer;color:var(--primary);
    background:color-mix(in srgb,var(--primary) 10%,var(--card));font-size:17px;transition:transform .15s}
  .tb-theme:active{transform:scale(.92)}.tb-theme:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
  html body .topbar .sync-chip{border-radius:99px;min-height:38px;padding:0 12px;background:color-mix(in srgb,var(--primary) 11%,var(--card));
    border:1px solid color-mix(in srgb,var(--primary) 22%,var(--border));font-weight:650;font-size:13px}
  html body .topbar .tg-btn{display:none}

  html body .main{padding:12px max(14px,env(safe-area-inset-right)) calc(112px + env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left))}
  html body[data-view="pos"] .main{padding-bottom:calc(150px + env(safe-area-inset-bottom))}

  /* bottom bar: Home · Products · (New sale) · Reports · More */
  html body .bottom-nav{grid-template-columns:1fr 1fr 84px 1fr 1fr;min-height:calc(68px + env(safe-area-inset-bottom));padding:6px 8px calc(6px + env(safe-area-inset-bottom));
    background:var(--tint);border-top:1px solid color-mix(in srgb,var(--primary) 10%,var(--border));border-radius:24px 24px 0 0;box-shadow:0 -10px 30px -18px rgba(15,23,42,.35)}
  html body .bottom-nav button{gap:3px;font-size:12px;font-weight:600;color:var(--muted);-webkit-tap-highlight-color:transparent}
  html body .bottom-nav button.active{color:var(--primary);font-weight:750}
  html body .bottom-nav button.active::after{display:none}
  html body .bottom-nav button.active svg{transform:translateY(-1px)}
  html body .bottom-nav .bn-scan{width:66px;height:66px;margin:-34px auto 0;border-radius:50%;background:linear-gradient(135deg,#3b82f6,#1d4ed8);color:#fff;
    box-shadow:0 12px 24px -8px rgba(29,78,216,.7),0 0 0 6px var(--tint)}
  html body .bottom-nav .bn-scan.active{box-shadow:0 12px 26px -6px rgba(29,78,216,.85),0 0 0 6px var(--tint),0 0 0 9px color-mix(in srgb,var(--primary) 25%,transparent)}
  html body .cart-bar{bottom:calc(84px + env(safe-area-inset-bottom))}
  html body #toast{bottom:calc(98px + env(safe-area-inset-bottom))}

  .qa2-b{padding:12px 2px 10px;font-size:11.5px;border-radius:16px}.qa2-i{width:44px;height:44px}
  html.dark .hero2{box-shadow:0 18px 36px -20px rgba(0,0,0,.8)}
}
@media(max-width:359px){.h2-metrics{grid-template-columns:1fr 1fr}.hero2 .hm2.r{text-align:left}.h2-row{flex-direction:column;align-items:flex-start}.qa2{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:560px) and (max-width:1023px){.sc-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.hero2{padding:24px 26px 18px}}

/* ---------- Desktop ---------- */
@media(min-width:1024px){
  html body .topbar,html body .bottom-nav{display:none}
  html body .sidebar{background:var(--card);border-right:1px solid var(--border);box-shadow:none}
  html body .sidebar .brand{padding:20px 18px 14px}
  html body .sidebar .logo{width:42px;height:42px;border-radius:13px;overflow:hidden;box-shadow:0 2px 8px -3px rgba(15,23,42,.3)}
  html body .nav-link{border-radius:12px;padding:11px 14px;font-weight:550;color:var(--muted);transition:background .15s,color .15s}
  html body .nav-link:hover{background:var(--hover);color:var(--text)}
  html body .nav-link.active{background:color-mix(in srgb,var(--primary) 11%,var(--card));color:var(--primary);font-weight:700;box-shadow:none}
  html body .desk-bar{height:60px;background:color-mix(in srgb,var(--card) 86%,transparent);-webkit-backdrop-filter:saturate(1.4) blur(14px);backdrop-filter:saturate(1.4) blur(14px);border-bottom:1px solid var(--border)}
  html body .db-title b{font-size:19px;font-weight:800;letter-spacing:-.02em}
  html body .main{padding:0 28px 40px}
  html body .view{max-width:1480px;padding-top:12px}
  .d2-greet{
    flex-direction:row;align-items:center;justify-content:space-between;gap:16px;
    margin:0 0 16px;padding:16px 22px;border-radius:14px;
    background:linear-gradient(135deg,color-mix(in srgb,var(--card) 92%,var(--primary) 8%),var(--card));
    border:1px solid var(--border);box-shadow:0 1px 2px rgba(15,23,42,.04),0 6px 16px -12px rgba(15,23,42,.12)
  }
  .d2-hi{font-size:17px}
  .d2-shop{font-size:14.5px}
  .d2-greet-meta{gap:8px 14px;font-size:13px}
  .d2-chip{padding:4px 12px;font-size:12px}
  .d2-desk{display:inline-flex!important}
  .d2-dot.d2-desk{display:block!important}

  .hero2{padding:28px 32px 22px;border-radius:30px}
  .h2-v{font-size:56px}.h2-k{font-size:13px}.h2-sub{font-size:14px}
  .h2-sell{padding:16px 26px;font-size:16px;border-radius:18px}
  .h2-line{margin:22px 0 16px}
  .h2-metrics{max-width:720px;gap:28px}
  .hero2 .hm2 .k{font-size:13px}.hero2 .hm2 .v{font-size:22px}
  .sc-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
  .sc{padding:20px 20px 18px}.sc-v{font-size:30px}.sc-i{width:46px;height:46px}
  .qa2{gap:16px}.qa2-b{flex-direction:row;justify-content:flex-start;gap:14px;padding:16px 18px;font-size:14.5px}
  .qa2-i{width:46px;height:46px;flex:none}
  .d2-title{font-size:16px;margin:24px 2px 12px}
  .trend2{padding:22px 24px}
  html body .card{border-radius:18px}
}
@media(min-width:1400px){.h2-metrics{max-width:820px}}

/* ---------- Shared polish ---------- */
html body .btn{border-radius:12px;font-weight:650}
html body .btn-primary{background:linear-gradient(180deg,#3b82f6,#2563eb);box-shadow:0 6px 14px -8px rgba(37,99,235,.8)}
html body .input,html body select.input,html body textarea.input{border-radius:12px}
html body .card.pad,html body .card{border-color:var(--border)}
html body .drawer{border-radius:0 24px 24px 0}html body .drawer.right{border-radius:24px 0 0 24px}
html body #toast{border-radius:14px}
:focus-visible{outline-offset:2px}
@media(prefers-reduced-motion:reduce){.sc,.qa2-b,.h2-sell,.tb-theme{transition:none}}
@media print{.hero2,.sc-grid,.qa2{break-inside:avoid}}

/* v12 fine-tuning */
.dash2 .guide{margin-top:16px}
.hero2 .hm2 .k{font-size:11.5px;letter-spacing:-.005em}
@media(min-width:1024px){.hero2 .hm2.r{text-align:left}.hero2 .hm2 .k{font-size:13px}.dash2 .guide{margin-top:20px}}

/* ===================== v12.0.1 — professional sign-in page + slim dashboard ===================== */

/* ---------- Sign-in page ---------- */
.welcome{background:radial-gradient(900px 520px at 85% -10%,rgba(59,130,246,.30),transparent 60%),radial-gradient(700px 420px at -10% 110%,rgba(30,64,175,.26),transparent 60%),var(--bg)}
.welcome .gate{max-width:980px;border-radius:28px;grid-template-columns:1.02fr 1fr;box-shadow:0 36px 80px -34px rgba(15,23,42,.55)}

/* phone */
@media(max-width:780px){
  .welcome .gate{max-width:none;border-radius:0;grid-template-columns:1fr}
  .welcome .gate-brand{padding:calc(22px + env(safe-area-inset-top)) 20px 44px;align-items:stretch}
  .gb-top{gap:12px}
  .welcome .gate-logo{width:52px;height:52px;border-radius:16px}
  .gb-id h1{font-size:24px}
  .gb-head,.welcome .gate-feats{display:none}
  .gate-stats{margin-top:16px}
  .welcome .gate-card{margin-top:-24px;padding:24px 18px 14px}
  .gc-in{max-width:none}
  .welcome .gate-card h2{font-size:22px}
}
@media(max-width:360px){.gate-pill{display:none}}
html.dark .welcome .gate{box-shadow:0 36px 80px -34px rgba(0,0,0,.85)}

/* ---------- Dashboard: slim turnover card + tighter cards (phone, tablet, desktop) ---------- */
.hero2{border-radius:20px;padding:14px 16px 12px;margin-bottom:12px;box-shadow:0 14px 28px -18px rgba(30,64,175,.7)}
.hero2::before{right:-60px;top:-90px;width:190px;height:190px}
.hero2::after{left:-70px;bottom:-110px;width:170px;height:170px;border-width:24px}
.h2-row{gap:12px}
.h2-k{font-size:10.5px;letter-spacing:.12em}
.h2-v{margin-top:2px;font-size:clamp(26px,7.4vw,32px);line-height:1.1}
.h2-sub{margin-top:3px;font-size:12px}
.hm-d{padding:1px 7px;font-size:10.5px}
.h2-sell{gap:7px;border-radius:13px;padding:10px 14px;font-size:13.5px;box-shadow:0 6px 14px -8px rgba(0,0,0,.4)}
.h2-sell svg{width:18px;height:18px}
.h2-line{margin:10px 0 8px}
.h2-metrics{gap:8px}
.hero2 .hm2{padding:0}
.hero2 .hm2 .k{font-size:11px;margin:0 0 1px}
.hero2 .hm2 .v{font-size:14.5px}
.sc-grid{gap:10px}
.sc{padding:12px 13px 11px;border-radius:16px}
.sc-t{font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.sc-i{width:34px;height:34px;border-radius:11px}.sc-i svg{width:19px;height:19px}
.sc-v{margin-top:4px;font-size:clamp(19px,5.4vw,23px)}
.sc-s{margin-top:2px;font-size:11.5px}
.d2-title{margin:16px 2px 8px;font-size:14.5px}
.qa2{gap:8px}
.qa2-b{padding:10px 2px 9px;gap:6px;border-radius:15px}
.qa2-i{width:40px;height:40px}.qa2-i svg{width:21px;height:21px}
@media(max-width:1023px){.qa2-b{padding:10px 2px 9px;font-size:11.5px;border-radius:15px}.qa2-i{width:40px;height:40px}}
@media(max-width:359px){.h2-row{flex-direction:row;align-items:center}.h2-sell span{display:none}.h2-sell{padding:10px 12px}}
@media(min-width:560px) and (max-width:1023px){.hero2{padding:16px 22px 14px}.h2-v{font-size:34px}}
@media(min-width:1024px){
  .hero2{padding:18px 24px 14px;border-radius:22px}
  .h2-k{font-size:11.5px}.h2-v{font-size:38px}.h2-sub{font-size:12.5px}
  .h2-sell{padding:11px 20px;font-size:14.5px;border-radius:14px}
  .h2-line{margin:12px 0 10px}
  .h2-metrics{max-width:640px;gap:24px}
  .hero2 .hm2 .k{font-size:12px}.hero2 .hm2 .v{font-size:17px}
  .sc-grid{gap:14px}
  .sc{padding:14px 16px 13px}.sc-v{font-size:25px}.sc-i{width:38px;height:38px}
  .qa2{gap:12px}.qa2-b{padding:12px 16px;gap:12px;font-size:14px}.qa2-i{width:40px;height:40px}
  .d2-title{margin:20px 2px 10px}
}

/* v12.0.1 — sign-in layout overflow guard */
.welcome .gate{grid-template-columns:minmax(0,1.02fr) minmax(0,1fr)}
.welcome .gate>*,.js-tg-slot{min-width:0}
@media(max-width:780px){.welcome .gate{grid-template-columns:minmax(0,1fr)}.welcome .gate-card .tg-go{padding:7px 13px}}
html.needs-login,html.needs-login body{scrollbar-gutter:auto}
body.gated{scrollbar-gutter:auto}

/* ===================== v12.0.2 — landing page (before sign-in) ===================== */
.welcome.lp{display:block;padding:0;background:var(--bg);overflow-x:hidden;scroll-behavior:smooth;-webkit-overflow-scrolling:touch}
.lp *{box-sizing:border-box}
:where(.lp) :is(h1,h2,h3,p){margin:0}
.lp-wrap{width:100%;max-width:1120px;margin:0 auto;padding:0 20px}
.lp-narrow{max-width:760px}

.lp-nav{position:sticky;top:0;z-index:5;background:color-mix(in srgb,var(--card) 88%,transparent);-webkit-backdrop-filter:saturate(1.4) blur(14px);backdrop-filter:saturate(1.4) blur(14px);border-bottom:1px solid var(--border);padding-top:env(safe-area-inset-top)}
.lp-nav-in{display:flex;align-items:center;justify-content:space-between;gap:12px;height:60px}
.lp-brand{display:flex;align-items:center;gap:10px;color:var(--text);text-decoration:none;font-size:17px;letter-spacing:-.02em}
.lp-logo{width:34px;height:34px;border-radius:10px;overflow:hidden;flex:none;background:#fff;display:block;box-shadow:0 2px 8px -3px rgba(15,23,42,.35)}
.lp-logo img{width:100%;height:100%;object-fit:cover;display:block}
.lp-links{display:none;gap:4px}
.lp-links a{padding:8px 12px;border-radius:10px;color:var(--muted);font-weight:600;font-size:14px;text-decoration:none}
.lp-links a:hover{background:var(--hover);color:var(--text)}
.lp-nav-act{display:flex;align-items:center;gap:8px}
.lp-tgi{display:inline-flex;width:22px;height:22px;flex:none}.lp-tgi svg{width:100%;height:100%;display:block}
.lp-tg-mini{display:inline-flex;align-items:center;gap:8px;height:38px;padding:0 12px 0 8px;border-radius:99px;text-decoration:none;color:var(--text);font-weight:650;font-size:13.5px;background:rgba(42,171,238,.12);border:1px solid rgba(42,171,238,.35)}
.lp-signin{all:unset;box-sizing:border-box;cursor:pointer;height:38px;padding:0 16px;border-radius:99px;display:inline-flex;align-items:center;color:#fff;font-weight:700;font-size:13.5px;background:linear-gradient(180deg,#3b82f6,#2563eb);box-shadow:0 6px 14px -8px rgba(37,99,235,.9)}
.lp-signin:focus-visible,.lp-tg-mini:focus-visible,.lp-tg-btn:focus-visible{outline:2px solid var(--primary);outline-offset:2px}

.lp-hero{position:relative;overflow:hidden;background:radial-gradient(700px 380px at 90% -10%,rgba(59,130,246,.22),transparent 62%),radial-gradient(600px 360px at -10% 100%,rgba(30,64,175,.14),transparent 62%)}
.lp-hero-in{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;padding-top:28px;padding-bottom:36px}
.lp-badge{display:inline-flex;align-items:center;gap:7px;padding:6px 12px;border-radius:99px;font-size:12.5px;font-weight:650;color:var(--primary);background:color-mix(in srgb,var(--primary) 10%,var(--card));border:1px solid color-mix(in srgb,var(--primary) 22%,var(--border))}
.lp-hero h1{margin-top:14px;font-size:clamp(30px,8.4vw,52px);line-height:1.08;letter-spacing:-.04em;font-weight:800;color:var(--text);max-width:14em}
.lp-lead{margin-top:14px;font-size:clamp(15px,3.9vw,18px);line-height:1.6;color:var(--muted);max-width:34em}
.lp-cta{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.lp-cta .btn-google{min-height:52px;border-radius:14px;padding:0 22px;font-weight:700;box-shadow:0 1px 2px rgba(15,23,42,.08),0 10px 22px -14px rgba(15,23,42,.45)}
.lp-tg-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 20px 0 14px;border-radius:14px;text-decoration:none;font-weight:700;font-size:15px;color:#fff;background:#2AABEE;box-shadow:0 10px 22px -12px rgba(42,171,238,1)}
.lp-tg-btn .lp-tgi{background:#fff;border-radius:50%;width:26px;height:26px}
.lp-tg-btn:hover{filter:brightness(1.05)}
.lp-hero .gate-msg{text-align:left;margin-top:10px}
.lp-hero .gate-link{margin:6px 0 0;display:block}
.lp-trust{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;margin-top:20px;font-size:13px;font-weight:600;color:var(--muted)}
.lp-trust i{color:var(--primary);margin-right:5px}
.lp-users{all:unset;box-sizing:border-box;cursor:pointer;display:inline-flex;align-items:center;gap:8px;padding:7px 13px;border-radius:99px;font-size:13px;font-weight:650;color:var(--text);background:var(--card);border:1px solid var(--border);box-shadow:var(--card-sh)}
.lp-users i{margin:0;color:var(--primary)}
.lp-users b{padding-left:8px;border-left:1px solid var(--border);font-weight:800;font-variant-numeric:tabular-nums}
.lp-consent{margin-top:14px;font-size:12px;color:var(--muted)}.lp-consent a{color:var(--muted);text-decoration:underline;text-underline-offset:2px}

.lp-hero-art{position:relative;display:flex;justify-content:center;padding:6px 0 0}
.lp-phone{width:min(230px,58vw);aspect-ratio:405/880;border-radius:30px;padding:7px;background:#0f172a;box-shadow:0 30px 60px -26px rgba(30,64,175,.7),0 0 0 1px rgba(255,255,255,.06) inset}
.lp-phone img{width:100%;height:100%;object-fit:cover;object-position:top;border-radius:24px;display:block;background:#fff}
.lp-float{position:absolute;display:inline-flex;align-items:center;gap:7px;padding:8px 13px;border-radius:99px;font-size:12.5px;font-weight:700;color:var(--text);background:var(--card);border:1px solid var(--border);box-shadow:0 12px 26px -14px rgba(15,23,42,.5)}
.lp-float i{color:var(--primary)}
.lp-float.f1{left:max(0px,calc(50% - 190px));top:22%}
.lp-float.f2{right:max(0px,calc(50% - 190px));bottom:20%}

.lp-strip{background:linear-gradient(135deg,#1e40af,#1d4ed8 55%,#172554);color:#fff}
.lp-strip-in{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px;padding-top:20px;padding-bottom:20px;text-align:center}
.lp-strip b{display:block;font-size:clamp(20px,5vw,26px);font-weight:800;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.lp-strip span{display:block;margin-top:2px;font-size:12.5px;opacity:.8}

.lp-sec{padding:44px 0}
.lp-alt{background:color-mix(in srgb,var(--primary) 4%,var(--card));border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.lp-head{text-align:center;max-width:620px;margin:0 auto 26px}
.lp-head h2{font-size:clamp(23px,5.6vw,32px);line-height:1.18;letter-spacing:-.03em;font-weight:800;color:var(--text)}
.lp-head p{margin-top:8px;color:var(--muted);font-size:15px;line-height:1.55}
.lp-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.lp-f{background:var(--card);border:1px solid var(--border);border-radius:18px;padding:18px;box-shadow:var(--card-sh)}
.lp-fi{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;font-size:17px;color:var(--primary);background:color-mix(in srgb,var(--primary) 11%,var(--card));margin-bottom:12px}
.lp-f h3{font-size:16px;font-weight:750;letter-spacing:-.01em;color:var(--text)}
.lp-f p{margin-top:5px;font-size:13.8px;line-height:1.6;color:var(--muted)}
.lp-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr);gap:12px;counter-reset:s}
.lp-steps li{position:relative;background:var(--card);border:1px solid var(--border);border-radius:18px;padding:18px 18px 18px 66px;box-shadow:var(--card-sh)}
.lp-steps li span{position:absolute;left:16px;top:16px;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;font-weight:800;color:#fff;background:linear-gradient(135deg,#3b82f6,#1d4ed8)}
.lp-steps h3{font-size:16px;font-weight:750;color:var(--text)}.lp-steps p{margin-top:4px;font-size:13.8px;line-height:1.55;color:var(--muted)}
.lp-who{margin:22px auto 0;max-width:620px;text-align:center;font-size:14px;line-height:1.6;color:var(--muted)}

.lp-tgband{display:flex;flex-direction:column;align-items:flex-start;gap:16px;padding:24px 22px;border-radius:24px;color:#fff;background:radial-gradient(420px 240px at 100% 0%,rgba(255,255,255,.28),transparent 62%),linear-gradient(135deg,#2AABEE,#1b86c9 70%,#176fa8);box-shadow:0 24px 44px -26px rgba(23,111,168,.9)}
.lp-tgbig{width:54px;height:54px;border-radius:50%;background:#fff;display:block;padding:0;flex:none;overflow:hidden}.lp-tgbig svg{width:100%;height:100%;display:block}
.lp-tgtxt h2{font-size:clamp(21px,5vw,28px);line-height:1.2;letter-spacing:-.02em;font-weight:800;color:#fff}
.lp-tgtxt p{margin-top:6px;font-size:14.5px;line-height:1.55;color:rgba(255,255,255,.88)}
.lp-tg-light{background:#fff;color:#1479b3;box-shadow:0 12px 24px -14px rgba(0,0,0,.5)}
.lp-tg-light .lp-tgi{background:transparent}

.lp details{background:var(--card);border:1px solid var(--border);border-radius:14px;margin-bottom:10px;overflow:hidden}
.lp summary{cursor:pointer;list-style:none;padding:15px 16px;font-weight:700;font-size:15px;color:var(--text);display:flex;justify-content:space-between;gap:12px;align-items:center}
.lp summary::-webkit-details-marker{display:none}
.lp summary::after{content:"+";font-size:20px;line-height:1;color:var(--primary);font-weight:600;flex:none}
.lp details[open] summary::after{content:"–"}
.lp details p{padding:0 16px 15px;font-size:14px;line-height:1.65;color:var(--muted)}

.lp-final{background:radial-gradient(500px 260px at 50% 0%,rgba(59,130,246,.2),transparent 65%)}
.lp-final-in{text-align:center}
.lp-final h2{font-size:clamp(22px,5.4vw,30px);letter-spacing:-.03em;font-weight:800;color:var(--text);max-width:18em;margin:0 auto}
.lp-cta-c{justify-content:center}
.lp .lp-about-slot .gate-about{max-width:760px;margin:0 auto;padding:10px 20px 34px;text-align:center}
.lp-foot{border-top:1px solid var(--border);background:var(--card);padding:26px 0 calc(26px + env(safe-area-inset-bottom))}
.lp-foot-in{display:flex;flex-direction:column;gap:16px}
.lp-foot-brand{display:flex;align-items:center;gap:10px}.lp-foot-brand b{display:block;color:var(--text)}.lp-foot-brand small{color:var(--muted);font-size:12.5px}
.lp-foot nav{display:flex;flex-wrap:wrap;gap:8px 18px}.lp-foot nav a{color:var(--muted);font-size:13.5px;font-weight:600;text-decoration:none}.lp-foot nav a:hover{color:var(--primary)}
.lp-copy{color:var(--muted);font-size:12.5px}

@media(min-width:640px){
  .lp-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lp-steps{grid-template-columns:repeat(3,minmax(0,1fr))}
  .lp-steps li{padding:70px 18px 18px}.lp-steps li span{left:18px;top:18px}
  .lp-strip-in{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(min-width:900px){
  .lp-links{display:flex}
  .lp-wrap{padding:0 28px}
  .lp-hero-in{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:center;gap:40px;padding-top:56px;padding-bottom:64px}
  .lp-phone{width:260px}
  .lp-float.f1{left:4%}.lp-float.f2{right:4%}
  .lp-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
  .lp-sec{padding:68px 0}
  .lp-tgband{flex-direction:row;align-items:center;gap:22px;padding:30px 34px}
  .lp-tgtxt{flex:1}
  .lp-foot-in{flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap}
}
@media(max-width:420px){.lp-tg-mini span:last-child{display:none}.lp-tg-mini{padding:0 8px}.lp-cta .btn-google,.lp-cta .lp-tg-btn{flex:1 1 100%}}
@media(prefers-reduced-motion:reduce){.welcome.lp{scroll-behavior:auto}}

/* ===================== v12.0.2 — much slimmer dashboard boxes ===================== */
/* turnover card: one tight block */
.hero2{padding:10px 14px 9px;border-radius:16px;margin-bottom:10px}
.hero2::before{width:150px;height:150px;top:-80px;right:-50px}.hero2::after{display:none}
.h2-row{align-items:center}
.h2-k{font-size:10px;letter-spacing:.1em}
.h2-v{margin-top:0;font-size:clamp(22px,6.4vw,27px);line-height:1.1}
.h2-sub{margin-top:1px;font-size:11.5px}
.h2-sell{padding:8px 12px;border-radius:11px;font-size:13px;gap:6px}.h2-sell svg{width:16px;height:16px}
.h2-line{margin:8px 0 6px}
.h2-metrics{gap:6px}
.hero2 .hm2 .k{font-size:10.5px;margin:0}
.hero2 .hm2 .v{font-size:13.5px}
/* four stat boxes: icon on the left, text stacked on the right */
.sc-grid{gap:8px}
.sc{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:10px;align-items:center;padding:9px 11px;border-radius:14px}
.sc-h{display:contents}
.sc-i{grid-column:1;grid-row:1/4;width:34px;height:34px;border-radius:10px}.sc-i svg{width:18px;height:18px}
.sc-t{grid-column:2;grid-row:1;font-size:11.5px;line-height:1.2}
.sc-v{grid-column:2;grid-row:2;margin:1px 0 0;font-size:clamp(16px,4.6vw,19px);line-height:1.2}
.sc-s{grid-column:2;grid-row:3;margin:1px 0 0;font-size:10.5px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.d2-title{margin:12px 2px 7px}
.qa2-b{padding:8px 2px 7px;gap:5px;border-radius:14px}.qa2-i{width:36px;height:36px}.qa2-i svg{width:19px;height:19px}
@media(min-width:560px) and (max-width:1023px){.hero2{padding:12px 18px 10px}.h2-v{font-size:28px}}
@media(min-width:1024px){
  .hero2{padding:12px 20px 10px;border-radius:18px}
  .h2-v{font-size:30px}.h2-k{font-size:10.5px}.h2-sub{font-size:12px}
  .h2-sell{padding:9px 18px;font-size:14px;border-radius:12px}
  .h2-line{margin:8px 0 6px}
  .h2-metrics{max-width:560px;gap:20px}
  .hero2 .hm2 .k{font-size:11.5px}.hero2 .hm2 .v{font-size:15px}
  .sc-grid{gap:12px}
  .sc{padding:10px 14px}.sc-i{width:38px;height:38px}.sc-t{font-size:12px}.sc-v{font-size:20px}.sc-s{font-size:11px}
  .qa2-b{padding:9px 14px}.qa2-i{width:36px;height:36px}
  .d2-title{margin:16px 2px 8px}
}
