:root{
  /* Lime palette: #1F2A05 #3D520B #648215 #8FB61F #B4D944 #D6EE8D #F1FBD3 */
  --l900:#1F2A05; --l800:#3D520B; --l700:#648215; --l600:#8FB61F; --l500:#B4D944; --l300:#D6EE8D; --l100:#F1FBD3;
  --bg:#F6F9EC; --card:#FFFFFF; --line:#E1E8CF; --line2:#EDF2DF; --ink:#1F2A05; --mute:#56623D;
  --brand:#3D520B; --brand-d:#2B3A07; --brand-soft:#F1FBD3; --side:#1F2A05; --side-on:#3D520B; --mint:#B4D944; --side-hover:#2D3D08; --brand-ink:#3D520B; --side-bg:#F3F8E3; --side-line:#DFE8C4; --glow:#E4F3B5;
  --amber-bg:#FFF4E0; --amber:#6B4100; --red-bg:#FDE9E9; --red:#8A1717; --blue-bg:#E8EEFB; --blue:#2647A0;
}
*{box-sizing:border-box}
html,body{margin:0}
body{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;background:var(--bg);color:var(--ink);font-size:14px;line-height:1.45;font-variant-numeric:tabular-nums}
a{color:var(--brand)}a:hover{color:var(--brand-d)}
h1{font-size:24px;margin:0}
h2{font-size:16px;margin:0}
.ic{width:18px;height:18px;flex:none}

/* Shell: the app sits in a soft rounded frame (desktop) */
body.app{background:#DCE2CC;padding:14px}
.shell{display:flex;min-height:calc(100vh - 28px);border-radius:28px;overflow:hidden;background:linear-gradient(135deg,#FFFFFF 0%,var(--bg) 45%,var(--glow) 130%);box-shadow:0 30px 70px -30px rgba(31,42,5,.45)}
.navtoggle{display:none}
.side{width:244px;flex:none;background:var(--side-bg);border-right:1px solid var(--side-line);padding:18px 14px;display:flex;flex-direction:column;gap:12px;align-self:stretch}
.brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:17px;color:var(--ink);padding:0 4px}
.brand .logo{width:34px;height:34px;border-radius:50%;background:var(--side);color:var(--mint);display:flex;align-items:center;justify-content:center;flex:none}
.brand .logo .ic{stroke-width:2.6}
.brand .logo.initials{font-size:12px;font-weight:800;color:var(--mint)}
.sidesearch{display:flex;align-items:center;gap:8px;height:42px;padding:0 12px;border-radius:12px;background:rgba(255,255,255,.7);border:1px solid var(--side-line);color:var(--mute)}
.sidesearch input{border:0;background:transparent;height:40px;padding:0;outline:none;font-size:13px}
.tiles-nav{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.tilenav{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;height:76px;border-radius:14px;background:rgba(255,255,255,.75);border:1px solid var(--side-line);color:var(--ink);text-decoration:none;font-size:12px;font-weight:500;text-align:center}
.tilenav:hover{background:#fff;color:var(--ink)}
.tilenav.on{background:var(--side);border-color:var(--side);color:#fff}
.tilenav.on .ic{color:var(--mint)}
.tilenav .badge{position:absolute;top:6px;right:6px;margin:0}
.badge{margin-left:auto;background:#E5484D;color:#fff;font-size:11px;padding:1px 7px;border-radius:10px}
.navgroup{display:flex;flex-direction:column;gap:4px}
.navgroup .gh{font-size:12px;font-weight:600;color:var(--mute);padding:6px 6px 2px;display:flex;align-items:center;gap:6px}
.navgroup .gh::before{content:"";width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid var(--mute)}
.navgroup a{display:flex;align-items:center;gap:10px;height:40px;padding:0 12px;border-radius:12px;background:rgba(255,255,255,.6);border:1px solid transparent;color:var(--ink);text-decoration:none;font-size:13px}
.navgroup a:hover{background:#fff}
.navgroup a.on{background:#fff;border-color:var(--side-line);font-weight:600}
.me{margin-top:auto;display:flex;align-items:center;gap:10px;background:var(--side);color:#fff;border-radius:14px;padding:8px 8px 8px 10px}
.avatar{width:34px;height:34px;border-radius:50%;background:var(--mint);color:var(--side);font-weight:700;font-size:13px;display:flex;align-items:center;justify-content:center;flex:none}
.who{display:flex;flex-direction:column;min-width:0}.who strong{color:#fff;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.who small{color:var(--l300);font-size:11px}
.out{margin-left:auto;color:var(--l300);padding:8px;display:flex;border-radius:10px}.out:hover{color:#fff;background:rgba(255,255,255,.1)}
.side .credit{margin:0;padding:0 4px;color:var(--mute)}
.side .credit a{color:var(--brand-ink)}.side .credit a:hover{color:var(--ink)}
.main{flex:1;min-width:0;display:flex;flex-direction:column}
.topbar{display:flex;align-items:center;gap:12px;padding:18px 30px 0}
.hamb{display:none;padding:8px;cursor:pointer;border-radius:10px}
.crumbs{display:flex;gap:8px;font-size:13px;color:var(--mute)}
.crumbs a{color:var(--ink);text-decoration:none;font-weight:600}
.topacts{margin-left:auto;display:flex;gap:8px}
.iconbtn{position:relative;width:42px;height:42px;border-radius:12px;background:rgba(255,255,255,.8);border:1px solid var(--line);display:flex;align-items:center;justify-content:center;color:var(--ink)}
.iconbtn:hover{background:#fff;color:var(--ink)}
.dotbadge{position:absolute;top:-5px;right:-5px;background:#E5484D;color:#fff;font-size:10px;min-width:18px;height:18px;border-radius:9px;display:flex;align-items:center;justify-content:center;padding:0 4px}
.content{padding:18px 30px 48px;display:flex;flex-direction:column;gap:18px;max-width:1440px;width:100%}

@media (max-width:900px){
  body.app{padding:0}
  .shell{border-radius:0;min-height:100vh;box-shadow:none}
  .side{position:fixed;left:0;top:0;z-index:50;height:100vh;max-height:none;transform:translateX(-100%);transition:transform .2s}
  .navtoggle:checked ~ .side{transform:none;box-shadow:0 0 0 100vmax rgba(0,0,0,.35)}
  .topbar{position:sticky;top:0;z-index:40;padding:10px 14px;background:rgba(255,255,255,.85);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
  .hamb{display:flex}
  .content{padding:16px 14px 40px}
}

/* Headings & toolbars */
.pagehead{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.pagehead .t{margin-right:auto;display:flex;flex-direction:column;gap:3px}
.sub{color:var(--mute);font-size:14px}
.row{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.grow{flex:1}

/* Buttons & inputs */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:42px;padding:0 16px;border-radius:10px;border:1px solid #CCD6B6;background:#fff;color:var(--ink);font:inherit;font-weight:600;text-decoration:none;cursor:pointer;white-space:nowrap}
.btn:hover{background:#F6F9EC;color:var(--ink)}
.btn.primary{background:var(--brand);border-color:var(--brand);color:#fff}.btn.primary:hover{color:#fff}.btn.primary:hover{background:var(--brand-d)}
.btn.danger{color:var(--red);border-color:#F0C4C4}.btn.danger:hover{background:var(--red-bg)}
.btn.sm{height:34px;padding:0 12px;font-size:13px}
.btn.block{width:100%}
.btn:disabled{opacity:.5;cursor:not-allowed}
label.f{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:500;color:#3F4A2A}
input,select,textarea{font:inherit;color:var(--ink);background:#fff;border:1px solid #D3DCC0;border-radius:10px;padding:0 12px;height:42px;width:100%;min-width:0}
textarea{padding:10px 12px;height:auto}
input:focus,select:focus,textarea:focus{outline:2px solid var(--mint);outline-offset:0;border-color:var(--brand)}
input[type=checkbox]{width:18px;height:18px;accent-color:var(--brand)}
.check{display:flex;align-items:center;gap:8px;font-size:14px}
.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
@media (max-width:640px){.grid2,.grid3{grid-template-columns:1fr}}
.searchbox{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #D3DCC0;border-radius:10px;padding:0 12px;height:42px}
.searchbox input{border:0;height:40px;padding:0;outline:none}

/* Cards, KPIs */
.card{background:rgba(255,255,255,.82);border:1px solid var(--line);border-radius:20px;padding:18px 20px}
.card.flush{padding:0}
.card .cardhead{display:flex;align-items:center;gap:12px;padding:16px 20px 10px}
.kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px}
.kpi{display:flex;flex-direction:column;gap:6px;text-decoration:none;color:inherit}
.kpi .l{font-size:13px;color:var(--mute);font-weight:500}
.kpi .v{font-size:24px;font-weight:700}
.kpi .s{font-size:13px;color:var(--mute)}
.kpi.amber{background:#FFF7E8;border-color:#F3DDB0}.kpi.amber .l,.kpi.amber .s,.kpi.amber .v{color:var(--amber)}
.kpi.red{background:#FDEEEE;border-color:#F4C9C9}.kpi.red .l,.kpi.red .s,.kpi.red .v{color:var(--red)}
.split{display:flex;flex-wrap:wrap;gap:16px}.split>*{flex:1 1 320px;min-width:0}.split>.wide{flex:2 1 480px}

/* Tables */
.tablewrap{overflow-x:auto}
table.t{width:100%;border-collapse:collapse}
table.t th{text-align:left;font-size:12px;color:var(--mute);text-transform:uppercase;letter-spacing:.04em;font-weight:600;padding:10px 12px;background:#F9FBF3;white-space:nowrap}
table.t td{padding:12px;border-top:1px solid var(--line2);vertical-align:middle}
table.t th:first-child,table.t td:first-child{padding-left:20px}
table.t th:last-child,table.t td:last-child{padding-right:20px}
.r{text-align:right}.nowrap{white-space:nowrap}
.muted{color:var(--mute)}.small{font-size:12px}
.strong{font-weight:600}
.empty{padding:28px 20px;text-align:center;color:var(--mute)}

/* Pills & flashes */
.pill{display:inline-block;padding:3px 10px;border-radius:12px;font-size:12px;font-weight:600;white-space:nowrap}
.pill.green{background:var(--brand-soft);color:var(--brand-ink)}
.pill.amber{background:var(--amber-bg);color:var(--amber)}
.pill.red{background:var(--red-bg);color:var(--red)}
.pill.dark{background:var(--red);color:#fff}
.pill.blue{background:var(--blue-bg);color:var(--blue)}
.pill.gray{background:#EEF2E4;color:#3F4A2A}
.flash{padding:12px 16px;border-radius:10px;font-weight:500}
.flash.ok{background:var(--brand-soft);color:var(--brand-ink);border:1px solid var(--l300)}
.flash.err{background:var(--red-bg);color:var(--red);border:1px solid #F4C9C9}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{height:34px;display:inline-flex;align-items:center;padding:0 14px;border-radius:17px;border:1px solid #DCE4C9;background:#fff;color:var(--ink);text-decoration:none;font-size:13px}
.chip.on{background:var(--ink);border-color:var(--ink);color:#fff;font-weight:600}
.pager{display:flex;gap:8px;align-items:center;padding:12px 20px;border-top:1px solid var(--line2)}

/* Chart */
.bars{display:flex;align-items:flex-end;gap:6px;height:200px;border-bottom:1px solid var(--line)}
.bars div{flex:1;background:var(--l300);border-radius:4px 4px 0 0;min-height:2px;position:relative}
.bars div.today{background:var(--brand)}
.barlabels{display:flex;gap:6px;font-size:11px;color:var(--mute);margin-top:6px}.barlabels span{flex:1;text-align:center}
.meter{height:6px;background:var(--line2);border-radius:3px}.meter i{display:block;height:6px;background:var(--mint);border-radius:3px}

/* POS */
.pos{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start}
.pos .left{flex:3 1 420px;min-width:0;display:flex;flex-direction:column;gap:14px}
.pos .cart{flex:1 1 340px;min-width:0;position:sticky;top:16px;display:flex;flex-direction:column;gap:12px}
.scan{height:52px;border:2px solid var(--brand);border-radius:12px;font-size:16px}
.tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px}
.tile{all:unset;box-sizing:border-box;cursor:pointer;background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:4px;min-height:108px}
.tile:hover{border-color:var(--brand)}
.tile:focus-visible{outline:2px solid var(--mint)}
.tile .n{font-weight:600;line-height:1.3}
.tile .b{margin-top:auto;display:flex;align-items:center;gap:6px}
.tile .p{font-weight:700;margin-right:auto}
.tile.off{opacity:.55;cursor:not-allowed}
.line{display:flex;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line2)}
.line .nm{flex:1;min-width:0}
.qty{display:flex;align-items:center;border:1px solid #D3DCC0;border-radius:8px}
.qty button{all:unset;cursor:pointer;width:32px;height:34px;text-align:center;font-size:16px}
.qty input{width:44px;height:34px;border:0;text-align:center;padding:0}
.tot{display:flex;justify-content:space-between}
.tot.big{font-size:22px;font-weight:700;border-top:1px solid var(--line2);padding-top:10px}
.pay{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.pay label{display:flex;align-items:center;justify-content:center;height:46px;border:1px solid #D3DCC0;border-radius:10px;font-weight:600;cursor:pointer}
.pay input{position:absolute;opacity:0;width:1px;height:1px}
.pay input:checked+span{color:var(--brand-ink)}
.pay label:has(input:checked){border:2px solid var(--brand);background:var(--brand-soft)}
.warn{background:#FFF7E8;border:1px solid #F3DDB0;color:var(--amber);border-radius:10px;padding:10px 12px;font-size:13px}

/* Receipt */
.receipt{max-width:380px;margin:0 auto;background:#fff;padding:24px;border:1px solid var(--line);border-radius:12px;font-size:13px}
.receipt h2{text-align:center}
.receipt table{width:100%;border-collapse:collapse}
.receipt td{padding:4px 0;vertical-align:top}
@media print{
  .side,.topbar,.noprint{display:none!important}
  body{background:#fff}
  .content{padding:0}
  .receipt{border:0;max-width:none}
}

/* Branding */
.brand .bname{line-height:1.2;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:16px}
.plogo{width:36px;height:36px;border-radius:50%;object-fit:contain;background:#fff;flex:none}
.logobox{width:84px;height:84px;border-radius:14px;border:1px dashed #C9D4AF;display:flex;align-items:center;justify-content:center;background:#F9FBF3;overflow:hidden;flex:none}
.logobox img{max-width:100%;max-height:100%;object-fit:contain}
.logobox span{font-size:24px;font-weight:800;color:var(--brand)}
.swatches{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.sw{position:relative;cursor:pointer}
.sw input{position:absolute;opacity:0;width:1px;height:1px}
.sw span{display:block;width:38px;height:38px;border-radius:10px;border:3px solid #fff;box-shadow:0 0 0 1px #D3DCC0}
.sw input:checked+span{box-shadow:0 0 0 2px var(--ink)}
.sw input:focus-visible+span{outline:2px solid var(--mint);outline-offset:2px}
.vh,.hp{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.kpi.blue{background:#EEF3FC;border-color:#CCD9F3}


/* ===== Auth pages (login / register / reset / install) ===== */
body.auth{min-height:100vh;background:radial-gradient(1200px 600px at 10% 0%,#F1FBD3 0,transparent 60%),radial-gradient(900px 700px at 100% 100%,#D6EE8D 0,transparent 55%),#EEF2E2;overflow-x:hidden}
.stage{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 16px;gap:14px;position:relative}
.blurleaf{position:fixed;width:520px;pointer-events:none;filter:blur(7px);opacity:.45;z-index:0}
.blurleaf.one{left:-140px;top:-60px;transform:rotate(30deg)}
.blurleaf.two{right:-160px;bottom:-80px;transform:rotate(200deg)}
.authcard{position:relative;z-index:1;width:100%;max-width:980px;min-height:600px;background:#fff;border-radius:34px;box-shadow:0 30px 80px -20px rgba(31,42,5,.35),0 2px 6px rgba(31,42,5,.08);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);overflow:hidden}
.authform{order:1;padding:44px 56px;display:flex;flex-direction:column;justify-content:center;gap:16px;position:relative;z-index:2}
.authart{order:2;position:relative}
.authart svg{position:absolute;inset:0;width:100%;height:100%;display:block}
.authform .brand{color:var(--ink);text-decoration:none;font-size:18px;padding:0;margin-bottom:6px}
.authform .brand .logo{background:var(--l500);color:var(--l900)}
.authform .card{background:transparent;border:0;padding:0;display:flex;flex-direction:column;gap:14px;border-radius:0}
.authform h1{font-size:30px;font-weight:600;letter-spacing:-.01em}
.authform h2{font-size:15px;margin-top:6px}
.authform label.f{font-size:12px;color:var(--mute);padding-left:14px}
.authform input:not([type=checkbox]):not([type=radio]),.authform select{height:46px;border-radius:999px;padding:0 18px;border:1.5px solid #CFD8B8;background:#fff}
.authform input:focus,.authform select:focus{outline:3px solid var(--l300);border-color:var(--l700)}
.authform .btn{height:48px;border-radius:999px}
.authform .btn.primary{background:var(--l800);border-color:var(--l800);font-size:15px}
.authform .btn.primary:hover{background:var(--l900)}
.authform a{color:var(--l800);font-weight:600}
.authform .foot{text-align:center;color:var(--mute);margin:4px 0 0;font-size:14px}
.authform .flash{border-radius:14px}
.authform .warn{border-radius:14px}
.pw{position:relative;display:block}
.pw input{padding-right:48px!important}
.eye{all:unset;cursor:pointer;position:absolute;right:8px;top:50%;transform:translateY(-50%);width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:50%;color:var(--mute)}
.eye:hover{background:var(--l100)}.eye:focus-visible{outline:2px solid var(--l600)}
.credit{font-size:11px;margin:12px 0 0;padding:0 8px;color:#9AAA74}
.credit a{color:#D6E2B4;font-weight:600;text-decoration:none}.credit a:hover{color:#fff;text-decoration:underline}
.credit.bare{position:relative;z-index:1;font-size:13px;color:var(--mute);margin:0}
.credit.bare a{color:var(--l800)}.credit.bare a:hover{color:var(--l900)}
@media (max-width:820px){
  .stage{padding:0;justify-content:flex-start}
  .authcard{display:block;border-radius:0;min-height:100vh;max-width:none;box-shadow:none;padding:28px 16px 32px;background:transparent}
  .authart{position:fixed;inset:0;z-index:0}
  .authform{max-width:440px;margin:24px auto 0;padding:28px 22px;border-radius:28px;background:rgba(255,255,255,.62);-webkit-backdrop-filter:blur(18px) saturate(1.3);backdrop-filter:blur(18px) saturate(1.3);border:1px solid rgba(255,255,255,.7);box-shadow:0 20px 50px -18px rgba(31,42,5,.45)}
  .blurleaf{display:none}
  .credit.bare{background:rgba(255,255,255,.7);padding:6px 12px;border-radius:999px;margin:0 auto 20px}
}

/* ===== Landing ===== */
body.landing{background:#E7ECDA;color:var(--ink)}
.lwrap{max-width:1240px;margin:0 auto;padding:0 20px}
.frame{position:relative;margin:20px auto 0;max-width:1280px;min-height:min(820px,92vh);border-radius:44px;overflow:hidden;box-shadow:0 40px 90px -30px rgba(31,42,5,.55);isolation:isolate}
.scene{position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#1F2A05 0%,#3D520B 34%,#648215 62%,#8FB61F 100%)}
.scene svg{position:absolute;left:0;right:0;bottom:0;width:100%;height:62%}
.scene .sun{position:absolute;width:520px;height:520px;border-radius:50%;right:-80px;top:40px;background:radial-gradient(circle,#D6EE8D 0,rgba(180,217,68,.35) 40%,transparent 70%);filter:blur(4px)}
.glass{background:rgba(255,255,255,.22);-webkit-backdrop-filter:blur(20px) saturate(1.4);backdrop-filter:blur(20px) saturate(1.4);border:1px solid rgba(255,255,255,.45);box-shadow:0 10px 40px -12px rgba(31,42,5,.35)}
.glass.light{background:rgba(255,255,255,.78);border-color:rgba(255,255,255,.9)}
.topbar2{display:flex;align-items:center;gap:12px;padding:22px 26px}
.pillbtn{display:inline-flex;align-items:center;gap:10px;height:52px;padding:0 24px;border-radius:999px;text-decoration:none;color:var(--ink);font-weight:600;white-space:nowrap}
.pillbtn .arr{width:18px;height:18px;color:var(--l700)}
.pillbtn.cta{background:var(--l500);border:0}
.pillbtn.cta:hover{background:var(--l300);color:var(--ink)}
.infobar{margin:0 auto;display:flex;gap:4px;padding:6px 10px;border-radius:999px}
.infobar div{display:flex;flex-direction:column;padding:6px 18px;border-right:1px solid rgba(31,42,5,.12)}
.infobar div:last-child{border-right:0}
.infobar small{font-size:11px;color:var(--mute)}
.infobar b{font-size:14px;color:var(--ink)}
.rail{position:absolute;left:22px;top:50%;transform:translateY(-42%);display:flex;flex-direction:column;gap:10px;padding:10px;border-radius:999px;z-index:2}
.rail a{width:46px;height:46px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--ink);text-decoration:none;background:rgba(255,255,255,.75)}
.rail a:hover{background:#fff}
.rail a.on{background:var(--l900);color:var(--l500)}
.headline{text-align:center;padding:40px 24px 0;position:relative}
.headline h1{margin:0 auto;font-size:clamp(44px,9vw,128px);line-height:.95;letter-spacing:-.035em;font-weight:700;color:rgba(255,255,255,.88);max-width:1050px}
.headline h1 em{font-style:normal;color:var(--l500)}
.headline p{max-width:520px;margin:22px auto 0;color:#E9F2CF;font-size:17px;line-height:1.55}
.floaters{position:absolute;left:96px;right:28px;bottom:28px;display:flex;justify-content:space-between;align-items:flex-end;gap:20px}
.fcard1{width:min(400px,100%);border-radius:32px;padding:26px;color:var(--ink)}
.fcard1 h3{margin:0 0 8px;font-size:22px}
.fcard1 p{margin:0 0 18px;color:var(--mute);font-size:14px}
.fcard1 .big{display:flex;align-items:center;gap:14px}
.fcard1 .big b{font-size:48px;line-height:1;letter-spacing:-.03em}
.fcard1 .big span{font-size:13px;color:var(--mute);max-width:150px;line-height:1.3}
.roundarrow{width:52px;height:52px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;color:var(--ink);flex:none;margin-left:auto;text-decoration:none;box-shadow:0 4px 14px rgba(31,42,5,.15)}
.roundarrow:hover{background:var(--l500)}
.mark{width:96px;height:96px;border-radius:50%;background:var(--l900);display:flex;align-items:center;justify-content:center;color:var(--l500);box-shadow:0 12px 30px rgba(31,42,5,.4);flex:none;align-self:flex-end}
.mark .ic{width:44px;height:44px;stroke-width:3}
.fcard2{width:min(340px,100%);border-radius:32px;padding:24px;color:#fff;background:rgba(31,42,5,.62)!important;border-color:rgba(214,238,141,.35)!important}
.fcard2 .t{display:flex;align-items:flex-start;gap:12px}
.fcard2 h3{margin:0;font-size:20px}
.fcard2 .meta{font-size:13px;color:#F1FBD3;margin-top:4px}
.fcard2 p{font-size:13px;color:#E9F2CF;margin:14px 0}
.fcard2 .facts{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px;font-size:13px}
.fcard2 .facts span{display:flex;gap:6px;align-items:center}
.fcard2 .dot{width:8px;height:8px;border-radius:50%;background:var(--l500)}
.fcard2 .acts{display:flex;gap:8px;margin-top:16px}
.fcard2 .acts span{flex:1;text-align:center;font-size:12px;padding:10px 0;border-radius:999px;background:rgba(255,255,255,.18)}
.tag{display:inline-block;background:var(--l500);color:var(--l900);font-size:11px;font-weight:700;padding:3px 10px;border-radius:999px}
.lsec{padding:80px 0}
.lsec h2{font-size:clamp(28px,4.5vw,48px);letter-spacing:-.025em;margin:0 0 10px;line-height:1.05}
.lsec .lede{color:var(--mute);font-size:17px;max-width:620px;margin:0 0 36px}
.fgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:16px}
.fcard{background:#fff;border-radius:28px;padding:26px;border:1px solid var(--line)}
.fcard h3{margin:16px 0 6px;font-size:18px}
.fcard p{margin:0;color:var(--mute)}
.ficon{width:48px;height:48px;border-radius:50%;background:var(--l100);color:var(--l800);display:flex;align-items:center;justify-content:center}
.ficon .ic{width:22px;height:22px}
.fcard.dark{background:var(--l900);color:#fff;border-color:var(--l900)}
.fcard.dark p{color:#D6E2B4}.fcard.dark .ficon{background:var(--l500);color:var(--l900)}
.steps{list-style:none;padding:0;margin:0 0 32px;display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px;counter-reset:s}
.steps li{background:var(--l100);border-radius:28px;padding:26px;display:flex;flex-direction:column;gap:6px;counter-increment:s}
.steps li::before{content:counter(s);width:40px;height:40px;border-radius:50%;background:var(--l900);color:var(--l500);font-weight:700;display:flex;align-items:center;justify-content:center;margin-bottom:8px}
.steps b{font-size:18px}.steps span{color:var(--mute)}
.ctaband{background:var(--l900);color:#fff;border-radius:40px;padding:48px;display:flex;flex-wrap:wrap;gap:20px;align-items:center;justify-content:space-between}
.ctaband h2{color:#fff;margin:0}
.ctaband p{color:#D6E2B4;margin:8px 0 0}
.lfoot{padding:28px 0 36px;color:var(--mute)}
.lfoot .lwrap{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px}
.lfoot .credit{margin:0;padding:0;font-size:14px;color:var(--mute)}
.lfoot .credit a{color:var(--l800)}
@media (max-width:980px){
  .infobar{display:none}
  .rail{display:none}
  .frame{margin:0;border-radius:0 0 32px 32px;min-height:auto}
  .floaters{position:static;flex-direction:column;align-items:stretch;padding:28px 16px 24px}
  .fcard1,.fcard2{width:auto}
  .mark{display:none}
  .headline{padding-top:28px}
  .topbar2{padding:16px}
  .pillbtn{height:44px;padding:0 18px}
  .ctaband{padding:32px 24px;border-radius:28px}
}

/* ===== Dashboard ===== */
.hello{display:flex;flex-wrap:wrap;align-items:center;gap:20px;padding:4px 0 6px}
.hello-main{flex:1 1 480px;min-width:0}
.hello h1{font-size:clamp(28px,3.4vw,40px);font-weight:600;letter-spacing:-.02em;margin:0}
.hello .sub{margin:6px 0 22px}
.stats{display:flex;flex-wrap:wrap;gap:14px 34px}
.stat{display:grid;grid-template-columns:auto auto;align-items:center;gap:2px 8px}
.stat .sico{grid-row:1;width:26px;height:26px;border-radius:50%;background:rgba(255,255,255,.85);border:1px solid var(--line);display:flex;align-items:center;justify-content:center;color:var(--mute)}
.stat .sico .ic{width:14px;height:14px}
.stat b{font-size:clamp(22px,2.6vw,32px);font-weight:500;letter-spacing:-.02em;line-height:1.1}
.stat small{grid-column:1/-1;color:var(--mute);font-size:12px}
.stat .up{color:var(--brand-ink);font-weight:700}.stat .down{color:var(--red);font-weight:700}
.gauge{position:relative;width:220px;flex:none;margin:0 auto}
.gauge svg{width:100%;display:block}
.gval{position:absolute;left:0;right:0;top:34%;text-align:center;display:flex;flex-direction:column;align-items:center}
.gval b{font-size:34px;font-weight:600;letter-spacing:-.02em}
.gval span{font-size:13px;color:var(--ink)}
.gval small{font-size:11px;color:var(--mute);max-width:130px;line-height:1.3}
.getstarted ol{margin:8px 0 0;padding-left:20px;line-height:1.9}
.dgrid{display:grid;grid-template-columns:minmax(260px,1fr) minmax(320px,1.35fr) minmax(240px,.9fr);gap:16px}
@media (max-width:1180px){.dgrid{grid-template-columns:1fr 1fr}.dgrid .status{grid-column:1/-1}}
@media (max-width:760px){.dgrid{grid-template-columns:1fr}}
.cardtop{display:flex;align-items:flex-start;gap:10px;margin-bottom:12px}
.cardtop h2{flex:1}.cardtop>div{flex:1}
.roundbtn{width:38px;height:38px;border-radius:50%;background:#fff;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;color:var(--ink);flex:none}
.roundbtn:hover{background:var(--l500);border-color:var(--l500);color:var(--l900)}
.roundbtn .ic{width:16px;height:16px}
.bignum{font-size:28px;font-weight:600;letter-spacing:-.02em}
.seg{display:flex;flex-wrap:wrap;gap:6px}
.seg>input{position:absolute;opacity:0;width:1px;height:1px}
.seg>label{flex:1;text-align:center;height:34px;line-height:34px;border-radius:999px;background:rgba(31,42,5,.05);font-size:13px;color:var(--mute);cursor:pointer}
.seg>input:checked+label{background:var(--side);color:#fff;font-weight:600}
.seg>input:focus-visible+label{outline:2px solid var(--l500)}
.pane{display:none;width:100%;flex-direction:column;gap:8px;margin-top:8px}
#t-exp:checked~.p-exp,#t-low:checked~.p-low{display:flex}
.item{display:flex;flex-direction:column;gap:4px;padding:12px 14px;border-radius:16px;background:#fff;border:1px solid var(--line)}
.item.hot{background:linear-gradient(135deg,var(--l100),var(--l300));border-color:var(--l300)}
.lchart{width:100%;height:190px;display:block}
.status{display:flex;flex-direction:column}
.status .right{text-align:right;margin-top:-6px}
.ink{color:var(--ink)}
.cols{flex:1;min-height:200px;display:flex;align-items:flex-end;gap:8px;margin-top:10px}
.col{flex:1;border-radius:18px 18px 12px 12px;display:flex;flex-direction:column;justify-content:space-between;align-items:center;padding:12px 4px;text-decoration:none;min-height:80px}
.col .n{width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.35);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700}
.col .l{font-size:12px;font-weight:600}
.col.c1{background:linear-gradient(180deg,var(--l500),var(--l600));color:var(--l900)}
.col.c2{background:linear-gradient(180deg,#3A4A16,var(--side));color:#fff}
.col.c3{background:linear-gradient(180deg,#B9BFA8,#959C82);color:#1F2A05}
.minis{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px}
.mini{position:relative;display:flex;flex-direction:column;gap:4px;background:rgba(255,255,255,.82);border:1px solid var(--line);border-radius:18px;padding:14px 16px;text-decoration:none;color:var(--ink)}
a.mini:hover{background:#fff;color:var(--ink)}
.mdot{width:10px;height:10px;border-radius:50%;background:var(--l500);margin-bottom:4px}
.mini small{color:var(--mute);font-size:12px}
.mini b{font-size:18px;font-weight:600}
.mfoot{display:flex;align-items:center;font-size:11px;color:var(--mute);margin-top:6px;border-top:1px solid var(--line2);padding-top:8px}
.miniarrow{margin-left:auto;width:24px;height:24px;border-radius:50%;background:var(--l100);display:flex;align-items:center;justify-content:center;font-style:normal}
.miniarrow .ic{width:12px;height:12px}
.avatar.sm{width:30px;height:30px;font-size:11px;background:var(--l300);color:var(--l900)}
.right{text-align:right}

/* Platform logo */
.mark-img{width:38px;height:38px;flex:none}
.mark{background:transparent!important;box-shadow:0 12px 30px rgba(31,42,5,.45);padding:0}
.mark img{width:100%;height:100%;display:block}
.lbrand{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none;font-weight:700;font-size:20px;margin-right:6px}
.lbrand img{width:46px;height:46px}
@media (max-width:980px){.lbrand span{display:none}}

/* ===== v0.3: photo backgrounds, sections & footer ===== */
body.landing{background:#F4F6EE}
.scene.photo{background:
  linear-gradient(180deg,rgba(255,255,255,.15) 0%,rgba(255,255,255,0) 30%,rgba(241,251,211,.35) 70%,rgba(241,251,211,.9) 100%),
  radial-gradient(60% 55% at 50% 38%,rgba(255,255,255,.55),rgba(255,255,255,0) 70%),
  url("img/hero-capsule.webp") center 55%/cover no-repeat}
.frame{background:#EEF1E6}
.frame .lbrand{color:var(--l900)}
.frame .headline h1{color:var(--l900)}
.frame .headline h1 em{color:var(--l700)}
.frame .headline p{color:#3F4A2A;font-weight:500}
.frame .rail{background:rgba(255,255,255,.35)}
.pillbtn.glass.light{color:var(--ink)}
.fcard2{background:rgba(31,42,5,.72)!important}

.featlayout{display:grid;grid-template-columns:minmax(260px,.8fr) 2fr;gap:16px;align-items:stretch}
.featlayout .fgrid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}
@media (max-width:860px){.featlayout{grid-template-columns:1fr}.photo-card.tall{min-height:420px}}
.photo-card{position:relative;margin:0;border-radius:28px;overflow:hidden;background:var(--l100);min-height:260px}
.photo-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.photo-card figcaption{position:absolute;left:12px;right:12px;bottom:12px;border-radius:20px;padding:14px 16px;display:flex;flex-direction:column;gap:3px}
.photo-card figcaption b{font-size:16px;color:var(--ink)}
.photo-card figcaption span{font-size:13px;color:#3F4A2A}
.lsec.soft{background:linear-gradient(180deg,#F4F6EE,#EAF3CC 60%,#F4F6EE)}
.shopgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.photo-card.shop{min-height:360px;transition:transform .2s}
.photo-card.shop:hover{transform:translateY(-4px)}
.howlayout{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center}
.howlayout .steps{grid-template-columns:1fr;margin:0}
@media (max-width:860px){.howlayout{grid-template-columns:1fr}}
.howart{position:relative;min-height:460px}
.howart .a1{position:absolute;right:0;top:0;width:78%;aspect-ratio:1;object-fit:cover;border-radius:32px;box-shadow:0 30px 60px -30px rgba(31,42,5,.5)}
.howart .a2{position:absolute;left:0;bottom:0;width:38%;aspect-ratio:3/5;object-fit:cover;border-radius:28px;border:6px solid #F4F6EE;box-shadow:0 20px 40px -20px rgba(31,42,5,.5)}
.howart .a3{position:absolute;right:16px;bottom:24px;display:flex;align-items:center;gap:10px;padding:12px 16px;border-radius:20px}
.howart .a3 div{display:flex;flex-direction:column}.howart .a3 small{color:var(--mute)}
.ctaband.smoke{position:relative;overflow:hidden;background:var(--l900);isolation:isolate;margin-bottom:60px}
.ctaband.smoke::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(31,42,5,.95) 30%,rgba(31,42,5,.55)),url("img/green-smoke.webp") right center/60% auto no-repeat;opacity:1}

.sfoot{background:var(--l900);color:#D6E2B4;position:relative;overflow:hidden;isolation:isolate}
.sfoot::before{content:"";position:absolute;right:-120px;top:-80px;width:520px;height:520px;z-index:-1;background:url("img/green-smoke.webp") center/cover;opacity:.18;border-radius:50%;filter:blur(2px)}
.sfgrid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.2fr;gap:28px;padding:56px 0 36px}
@media (max-width:800px){.sfgrid{grid-template-columns:1fr 1fr}.sfbrand{grid-column:1/-1}}
.sfoot .lbrand{color:#fff}
.sfoot .lbrand img{width:52px;height:52px}
.sfbrand p{margin:12px 0 0;max-width:300px;color:#C3D29A}
.sfgrid b{display:block;color:#fff;margin-bottom:10px}
.sfgrid a,.sfgrid span{display:block;color:#D6E2B4;text-decoration:none;padding:4px 0;font-size:14px;overflow-wrap:anywhere}
.sfgrid a:hover{color:var(--l500)}
.sfbottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;border-top:1px solid rgba(214,238,141,.18);padding:18px 0 26px;font-size:13px;color:#AEBD8A}
.sfbottom .credit{margin:0;padding:0;font-size:13px;color:#AEBD8A}
.sfbottom .credit a{color:var(--l500)}

/* Auth pages: image one as a soft backdrop */
body.auth{background:linear-gradient(180deg,rgba(244,246,238,.55),rgba(241,251,211,.75)),url("img/hero-capsule-soft.webp") center/cover fixed no-repeat,#EEF2E2}
.blurleaf{opacity:.25}

.impbar{position:sticky;top:0;z-index:60;display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;background:#6B4100;color:#fff;padding:8px 14px;font-size:14px;margin:-14px -14px 14px;border-radius:0}
.impbar button{all:unset;cursor:pointer;background:#fff;color:#6B4100;font-weight:700;padding:6px 14px;border-radius:999px}
@media (max-width:900px){.impbar{margin:0}}
a.who{text-decoration:none}a.who:hover strong{text-decoration:underline}

.inline-edit{display:inline-block;position:relative;text-align:left}
.inline-edit>summary{list-style:none}.inline-edit>summary::-webkit-details-marker{display:none}
.inline-edit[open]>summary{background:var(--l100)}
.editbox{display:flex;flex-direction:column;gap:8px;margin-top:8px;padding:12px;background:#fff;border:1px solid var(--line);border-radius:14px;min-width:240px}

.trialbar{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;justify-content:space-between;padding:12px 18px;border-radius:16px;background:linear-gradient(135deg,var(--l100),var(--l300));color:var(--l900);text-decoration:none;border:1px solid var(--l300)}
.trialbar:hover{color:var(--l900);filter:brightness(.98)}
.trialbar span{font-weight:600}
.paygrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}
.paygrid .btn{height:48px;border-radius:999px;white-space:normal;text-align:center}

/* Printed documents carry the pharmacy's letterhead */
.printhead{display:none}
@media print{
  @page{margin:14mm}
  body.app{background:#fff;padding:0}
  .shell{display:block;box-shadow:none;border-radius:0;background:#fff;min-height:0}
  .side,.topbar,.trialbar,.impbar,.chips,.pager,.noprint,.flash,form.row,.pagehead .btn,.pagehead form,td form,th:last-child.noprint,.cardhead .btn,.roundbtn{display:none!important}
  .content{padding:0;max-width:none}
  .printhead{display:flex;align-items:center;gap:16px;border-bottom:3px solid var(--brand);padding-bottom:12px;margin-bottom:8px}
  .printhead img{width:64px;height:64px;object-fit:contain}
  .printhead .ph-main{flex:1;display:flex;flex-direction:column;gap:2px;font-size:11px;color:#333}
  .printhead .ph-main b{font-size:18px;color:var(--brand)}
  .printhead .ph-doc{text-align:right;display:flex;flex-direction:column;gap:2px;font-size:11px;color:#333}
  .printhead .ph-doc b{font-size:15px;color:#000}
  .card,.kpi{box-shadow:none;background:#fff;border-color:#ccc;break-inside:avoid}
  table.t th{background:#f2f2f2!important}
  .tablewrap{overflow:visible}
  table.t{min-width:0!important;font-size:11px}
  a{color:#000;text-decoration:none}
}

/* ===== Public site (v0.4): photo "shots" in rounded frames, after the Orizon reference ===== */
body.site{margin:0;font-family:Outfit,Inter,system-ui,sans-serif;color:#1F2A05;background:#E9ECE2;min-height:100vh}
.s-backdrop{position:fixed;inset:0;z-index:-1;background:url("img/hero-capsule-soft.webp") center/cover no-repeat;filter:grayscale(.55) brightness(1.02)}
.s-backdrop::after{content:"";position:absolute;inset:0;background:rgba(236,239,230,.45)}
.s-corner{max-width:1280px;margin:0 auto;padding:22px 28px 0;display:flex;justify-content:space-between;align-items:center;font-size:14px;letter-spacing:.06em;color:#3F4A2A}
.s-mini{display:flex;align-items:center;gap:10px;color:#1F2A05;text-decoration:none;font-weight:600}
.s-mini img{width:30px;height:30px}
.s-stack{max-width:1280px;margin:0 auto;padding:18px 20px 60px;display:flex;flex-direction:column;gap:28px}
.shot{position:relative;isolation:isolate;overflow:hidden;border-radius:46px;min-height:min(820px,94vh);padding:28px 28px 28px 110px;color:#fff;box-shadow:0 40px 80px -40px rgba(31,42,5,.55);border:7px solid rgba(255,255,255,.85);display:flex;flex-direction:column}
.s-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.s-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(31,42,5,.35) 0%,rgba(31,42,5,.05) 35%,rgba(31,42,5,.15) 65%,rgba(31,42,5,.55) 100%)}
.s-shade.dark{background:linear-gradient(180deg,rgba(31,42,5,.55) 0%,rgba(31,42,5,.25) 40%,rgba(31,42,5,.35) 70%,rgba(31,42,5,.7) 100%)}
.s-shade.light{background:linear-gradient(180deg,rgba(255,255,255,.2),rgba(241,251,211,.35))}
.s-shade.footer{background:linear-gradient(90deg,rgba(31,42,5,.95) 0%,rgba(31,42,5,.85) 55%,rgba(31,42,5,.55) 100%)}
.light-shot{color:#1F2A05}
.ic.chev{width:14px;height:14px;opacity:.6}
/* top bar */
.s-top{display:flex;align-items:center;gap:14px;margin-left:-82px}
.s-pill{display:inline-flex;align-items:center;gap:12px;height:56px;padding:0 28px;border-radius:999px;background:rgba(255,255,255,.88);color:#1F2A05;text-decoration:none;font-weight:500;font-size:15px;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 8px 24px -12px rgba(31,42,5,.4)}
a.s-pill:hover{background:#fff}
.s-arr{display:flex;color:#E0812F}.s-arr .ic{width:18px;height:18px}
.s-filter{margin:0 auto;padding:0 10px;gap:0}
.s-filter>*{display:flex;flex-direction:column;padding:0 22px;color:#1F2A05;text-decoration:none;border-right:1px solid rgba(31,42,5,.1)}
.s-filter>*:last-child{border-right:0}
.s-filter small{display:flex;align-items:center;gap:5px;font-size:11px;color:#5A6640}
.s-filter small .ic{width:12px;height:12px}
.s-filter b{display:flex;align-items:center;gap:6px;font-weight:600;font-size:14px}
/* left rail */
.s-rail{position:absolute;left:24px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;align-items:center;gap:12px;z-index:3}
.s-railgroup{display:flex;flex-direction:column;gap:8px;padding:8px;border-radius:999px;background:rgba(255,255,255,.88);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
.s-railgroup a{width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#1F2A05;background:rgba(31,42,5,.05)}
.s-railgroup a:hover{background:#fff}
.s-railgroup a.on{background:#1F2A05;color:#B4D944}
.s-railgroup .ic{width:18px;height:18px}
.s-avatar{width:60px;height:60px;border-radius:50%;padding:4px;background:rgba(255,255,255,.9)}
.s-avatar img{width:100%;height:100%;display:block}
/* headline */
.s-giant{margin:44px 0 0;text-align:center;font-weight:500;font-size:clamp(46px,8.6vw,124px);line-height:.98;letter-spacing:-.035em;color:rgba(255,255,255,.9);text-shadow:0 2px 30px rgba(31,42,5,.25)}
.light-shot .s-giant{color:rgba(31,42,5,.88);text-shadow:none}
.s-intro{max-width:300px;margin:26px 0 0;font-size:14px;line-height:1.55;color:rgba(255,255,255,.92)}
.light-shot .s-intro{color:#3F4A2A}
/* cards */
.s-card{border-radius:30px;padding:24px;display:flex;flex-direction:column;gap:10px;position:relative}
.s-card h3{margin:0;font-size:20px;font-weight:600;letter-spacing:-.01em}
.s-card p{margin:0;font-size:13px;line-height:1.5}
.s-card.light{background:rgba(255,255,255,.94);color:#1F2A05}
.s-card.light p{color:#5A6640}
.s-card.frost{background:rgba(255,255,255,.2);-webkit-backdrop-filter:blur(22px) saturate(1.3);backdrop-filter:blur(22px) saturate(1.3);border:1px solid rgba(255,255,255,.4);color:#fff}
.s-card.frost p{color:rgba(255,255,255,.88)}
.s-bl{position:absolute;left:110px;bottom:28px;width:min(380px,40%)}
.s-br{position:absolute;right:28px;bottom:28px;width:min(330px,34%)}
.s-stat{display:flex;align-items:center;gap:12px;margin-top:8px}
.s-stat b{font-size:46px;font-weight:600;letter-spacing:-.03em;line-height:1}
.s-stat small{font-size:12px;color:#5A6640;line-height:1.2}
.s-thumbs{display:flex;margin-left:6px}
.s-thumbs img{width:40px;height:40px;border-radius:50%;object-fit:cover;border:3px solid #fff;margin-left:-12px}
.s-thumbs img:first-child{margin-left:0}
.s-round{width:48px;height:48px;border-radius:50%;background:#fff;color:#1F2A05;display:flex;align-items:center;justify-content:center;margin-left:auto;flex:none;box-shadow:0 6px 16px -6px rgba(31,42,5,.4);text-decoration:none}
.s-round.sm{width:42px;height:42px}
.s-round .ic{width:18px;height:18px}
.s-card.light .s-round{background:#F1F3EC}
a.s-round:hover{background:#B4D944}
.s-cardhead{display:flex;align-items:flex-start;gap:10px}
.s-cardhead>div{flex:1}
.s-loc{display:flex;align-items:center;gap:6px;font-size:13px;margin-top:6px;opacity:.9}
.s-loc .ic{width:14px;height:14px}
.s-facts{display:grid;grid-template-columns:1fr 1fr;gap:8px 10px;font-size:13px}
.s-facts span{display:flex;align-items:center;gap:6px}
.s-facts .ic{width:15px;height:15px;opacity:.85}
.s-acts{display:flex;gap:10px;margin-top:6px}
.s-acts span{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:11px;flex:1}
.s-acts i{width:42px;height:42px;border-radius:50%;background:rgba(255,255,255,.28);display:flex;align-items:center;justify-content:center;font-style:normal}
.s-acts .ic{width:16px;height:16px}
.s-logo{position:absolute;left:50%;bottom:34px;transform:translateX(-50%);width:104px;height:104px;border-radius:50%;box-shadow:0 18px 40px -12px rgba(31,42,5,.7)}
.s-logo img{width:100%;height:100%;display:block}
.s-ico{width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.28);display:flex;align-items:center;justify-content:center;color:#fff}
.s-ico.dark{background:#1F2A05;color:#B4D944}
.s-ico .ic{width:20px;height:20px}
.s-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px}
.s-bottom{margin-top:auto;padding-top:30px}
.s-shop{flex-direction:row;align-items:center;gap:14px;padding:12px}
.s-shop img{width:84px;height:84px;border-radius:22px;object-fit:cover;flex:none}
.s-shop h3{font-size:16px}
.s-contact{flex-direction:row;align-items:center;gap:14px;text-decoration:none;background:rgba(255,255,255,.9);color:#1F2A05;padding:18px 18px 18px 18px}
.s-contact:hover{background:#fff}
.s-contact .s-ico{background:#1F2A05;color:#B4D944;flex:none}
.s-contact.wa .s-ico{background:#25D366;color:#fff}
.s-contact div{display:flex;flex-direction:column;min-width:0}
.s-contact small{font-size:12px;color:#5A6640}
.s-contact b{font-size:17px;font-weight:600;overflow-wrap:anywhere}
/* footer shot */
.s-footer{min-height:auto;padding:40px 40px 28px}
.s-fgrid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:28px}
.s-fbrand{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.s-fbrand img{width:84px;height:84px}
.s-fbrand b{font-size:26px;font-weight:600}
.s-fbrand p{margin:0;max-width:280px;color:#D6E2B4;font-size:14px}
.s-fgrid small{display:block;text-transform:uppercase;letter-spacing:.08em;font-size:11px;color:#B4D944;margin-bottom:10px}
.s-fgrid a{display:block;color:#fff;text-decoration:none;padding:4px 0;font-size:15px;overflow-wrap:anywhere}
.s-fgrid a:hover{color:#B4D944}
.s-fgrid .s-pill{display:inline-flex;height:48px;color:#1F2A05;margin-top:6px;font-size:14px}
.s-fbottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;margin-top:34px;padding-top:18px;border-top:1px solid rgba(214,238,141,.2);font-size:13px;color:#C3D29A}
.s-fbottom .credit{margin:0;padding:0;font-size:13px;color:#C3D29A}
.s-fbottom .credit a{color:#B4D944}
.s-wafloat{position:fixed;right:18px;bottom:18px;z-index:20;display:flex;align-items:center;gap:10px;height:54px;padding:0 20px 0 16px;border-radius:999px;background:#25D366;color:#fff;text-decoration:none;font-weight:600;box-shadow:0 12px 30px -10px rgba(0,0,0,.4)}
.s-wafloat .ic{width:24px;height:24px}
.s-wafloat:hover{filter:brightness(.95);color:#fff}
@media (max-width:1000px){
  .s-filter{display:none}
  .s-top{margin-left:0;justify-content:space-between}
  .s-rail{display:none}
  .shot{padding:16px;border-radius:30px;border-width:5px;min-height:auto}
  .s-giant{margin-top:36px}
  .s-intro{margin:18px auto 0;text-align:center}
  .s-bl,.s-br{position:static;width:auto;margin-top:16px}
  .s-bl{margin-top:40px}
  .s-logo{position:static;transform:none;margin:16px auto 0;width:84px;height:84px}
  .s-pill{height:46px;padding:0 18px}
  .s-fgrid{grid-template-columns:1fr 1fr}
  .s-fbrand{grid-column:1/-1}
  .s-footer{padding:28px 22px}
  .s-wafloat span{display:none}
  .s-wafloat{padding:0;width:56px;justify-content:center}
  .s-corner span{display:none}
}

/* Login / register: closer to reference 3 */
.authform{align-items:stretch}
.authform>.card,.authform>form,.authform>div.card{max-width:340px;width:100%;margin:0 auto}
.authform .brand{justify-content:center;margin:0 auto 4px}
.authform h1{text-align:center;font-size:32px;font-weight:500}
.authform h1+p.muted{text-align:center}
.authform label.f{padding-left:16px;font-size:12px}
.authform .foot{max-width:340px;margin:0 auto}
.blurleaf{opacity:.6!important;filter:blur(9px)}
.blurleaf.three{position:fixed;width:420px;right:12%;top:-120px;transform:rotate(120deg);pointer-events:none;z-index:0}
.authcard{box-shadow:0 40px 100px -30px rgba(31,42,5,.45),0 0 0 1px rgba(255,255,255,.6)}
.s-contact.trial{background:#1F2A05;color:#fff}.s-contact.trial small{color:#B4D944}.s-contact.trial .s-ico{background:#B4D944;color:#1F2A05}.s-contact.trial:hover{background:#2D3D08}
.s-bottom.contact{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}
.s-contact b{font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.s-intro{text-shadow:0 1px 12px rgba(31,42,5,.6)}
.light-shot .s-intro{text-shadow:none}

/* ===== Wordmark ===== */
.wm{display:inline-flex;align-items:center;gap:.55em;font-family:Outfit,Inter,sans-serif;color:inherit;line-height:1}
.wm img{width:2.5em;height:2.5em;flex:none;filter:drop-shadow(0 4px 10px rgba(31,42,5,.25))}
.wm-t{display:flex;flex-direction:column;gap:.28em}
.wm-t b{font-size:1.45em;font-weight:600;letter-spacing:-.035em}
.wm-t b::after{content:"";display:inline-block;width:.22em;height:.22em;border-radius:50%;background:#8FB61F;margin-left:.08em}
.wm-t small{font-size:.56em;font-weight:500;letter-spacing:.32em;text-transform:uppercase;opacity:.7}
.wm.lg{font-size:17px}
.wm.light{color:#fff}.wm.light .wm-t small{color:#B4D944;opacity:1}
.brand-wm{display:flex;justify-content:center;text-decoration:none;color:#1F2A05;margin-bottom:6px}
.tenantbrand{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;margin-bottom:6px}
.tenantbrand img,.tenantbrand .tinit{width:76px;height:76px;border-radius:50%;object-fit:contain;background:#fff;box-shadow:0 10px 26px -10px rgba(31,42,5,.4);border:3px solid #fff}
.tenantbrand .tinit{display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:24px}
.tenantbrand b{font-family:Outfit,Inter,sans-serif;font-size:22px;font-weight:600;letter-spacing:-.02em}
.tenantbrand small{font-size:12px;color:var(--mute);letter-spacing:.06em}
.authart .art-h{display:none}

/* ===== Auth on phones: no box. Paper-cut leaves header, form flows on the page ===== */
@media (max-width:820px){
  body.auth{background:#fff}
  .stage{padding:0;display:block;min-height:100vh}
  .blurleaf{display:none}
  .authcard{display:block;max-width:none;min-height:0;border-radius:0;box-shadow:none;padding:0;background:#fff;overflow:visible}
  .authart{position:relative;inset:auto;height:clamp(210px,36vh,300px);z-index:0}
  .authart .art-v{display:none}
  .authart .art-h{display:block;position:absolute;inset:0;width:100%;height:100%}
  .authform{max-width:440px;margin:-56px auto 0;padding:0 22px 28px;border-radius:0;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;border:0;box-shadow:none;position:relative;z-index:2}
  .authform .brand-wm,.authform .tenantbrand{margin:0 auto 8px}
  .authform .brand-wm .wm img{background:#fff;border-radius:50%;padding:4px;width:3.6em;height:3.6em;box-shadow:0 12px 28px -12px rgba(31,42,5,.5)}
  .authform .brand-wm .wm{flex-direction:column;gap:.6em}
  .authform .brand-wm .wm-t{align-items:center}
  .authform h1{font-size:28px;margin-top:4px}
  .credit.bare{background:none;margin:8px auto 26px;text-align:center;display:block}
}

/* Login backdrop: the pharmacy counter, softly blurred, with drifting pills */
body.auth{background:linear-gradient(180deg,rgba(241,251,211,.72),rgba(244,246,238,.82)),url("img/counter-blur.webp") center/cover fixed no-repeat,#EEF2E2}
.fpills{position:fixed;inset:0;pointer-events:none;z-index:0;overflow:hidden}
.fpill{position:absolute;transform:rotate(var(--r));filter:drop-shadow(0 14px 18px rgba(31,42,5,.25));animation:drift 9s ease-in-out infinite alternate}
@keyframes drift{from{transform:translateY(0) rotate(var(--r))}to{transform:translateY(-18px) rotate(calc(var(--r) + 8deg))}}
@media (prefers-reduced-motion:reduce){.fpill{animation:none}}
@media (max-width:820px){.fpills{display:none}body.auth{background:#fff}}
@supports (-webkit-touch-callout:none){body.auth{background-attachment:scroll}}

/* ===== Site v0.5: identical structure on every shot (reference layout) ===== */
.shot{min-height:max(760px,min(880px,96vh));padding-bottom:28px}
.s-cards{position:absolute;left:110px;right:28px;bottom:28px;display:flex;justify-content:space-between;align-items:flex-end;gap:20px;pointer-events:none}
.s-cards>*{pointer-events:auto}
.s-cards .s-bl,.s-cards .s-br{position:static}
.s-cards .s-bl{width:min(390px,38%)}
.s-cards .s-br{width:min(340px,32%)}
.s-badge{width:104px;height:104px;border-radius:50%;background:#1F2A05;color:#B4D944;display:flex;align-items:center;justify-content:center;box-shadow:0 18px 40px -12px rgba(31,42,5,.7);flex:none;margin-bottom:6px;border:4px solid rgba(255,255,255,.85)}
.s-badge .ic{width:44px;height:44px;stroke-width:1.8}
.s-badge img{width:100%;height:100%;display:block}
.s-badge:has(img){border:0;background:transparent}
.s-acts a{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:11px;flex:1;color:inherit;text-decoration:none}
.s-acts a:hover i{background:rgba(255,255,255,.45)}
.chev{display:inline-flex}.chev .ic{width:14px;height:14px;opacity:.55}
.s-filter a{color:#1F2A05}
.s-mini .wm{font-size:14px;color:#1F2A05}
.s-corner span{font-family:Outfit,Inter,sans-serif}
.wm.xl{font-size:22px}
.s-fbrand .wm img{width:3em;height:3em}
.linkbtn{all:unset;cursor:pointer;display:block;color:#fff;padding:4px 0;font-size:15px}
.linkbtn:hover{color:#B4D944}
.s-ioshint{background:rgba(255,255,255,.12);border-radius:16px;padding:10px 14px;margin:16px 0 0;font-size:14px}
.s-railgroup a .ic{width:19px;height:19px}

@media (max-width:1000px){
  .shot{min-height:0;padding:16px 16px 58px}
  .s-cards{position:static;display:flex;gap:12px;margin:28px -16px 0;padding:6px 16px 8px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;justify-content:flex-start;align-items:stretch}
  .s-cards::-webkit-scrollbar{display:none}
  .s-cards .s-bl,.s-cards .s-br{flex:0 0 86%;width:auto;max-width:380px;scroll-snap-align:center;margin:0}
  .s-badge{position:absolute;right:18px;top:84px;width:62px;height:62px;margin:0;border-width:3px}
  .s-badge .ic{width:28px;height:28px}
  .shot:not(.hero) .s-badge{top:18px}
  #top .s-badge{top:auto;bottom:auto;display:none}
  .shot::after{content:"Swipe  »";position:absolute;right:16px;bottom:14px;font-family:Outfit,sans-serif;font-size:13px;padding:6px 14px;border-radius:999px;border:1px solid rgba(255,255,255,.6);color:#fff;letter-spacing:.02em}
  .light-shot::after{color:#1F2A05;border-color:rgba(31,42,5,.4)}
  .s-footer::after{display:none}
  .s-giant{font-size:clamp(40px,12vw,64px)}
  .s-intro{font-size:14px}
  .s-stat b{font-size:38px}
}
@media (max-width:1000px){
  .s-cards .s-bl,.s-cards .s-br{flex:0 0 78%}
  .s-card.light{background:rgba(255,255,255,.72);-webkit-backdrop-filter:blur(18px) saturate(1.3);backdrop-filter:blur(18px) saturate(1.3);border:1px solid rgba(255,255,255,.6)}
  .s-card{border-radius:34px 34px 34px 12px}
  .s-cards .s-br{border-radius:34px 34px 12px 34px}
  .s-card h3{font-size:18px}
  .s-wafloat{bottom:calc(18px + env(safe-area-inset-bottom))}
}

/* Medicine catalog */
.catbar{display:flex;flex-wrap:wrap;gap:14px;align-items:center;padding:12px 16px;margin-bottom:10px}
.catbar .searchbox{min-width:240px}
.catchips{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 8px;scrollbar-width:thin;margin-bottom:6px}
.catchip{all:unset;cursor:pointer;flex:none;display:flex;align-items:center;gap:8px;height:40px;padding:0 14px 0 10px;border-radius:999px;background:rgba(255,255,255,.85);border:1px solid var(--line);font-size:13px;white-space:nowrap}
.catchip .ic{width:16px;height:16px;color:var(--brand-ink)}
.catchip b{font-weight:600;font-size:11px;background:var(--l100);color:var(--l800);border-radius:999px;padding:1px 7px}
.catchip.on{background:var(--side);color:#fff;border-color:var(--side)}.catchip.on .ic{color:var(--mint)}.catchip.on b{background:rgba(255,255,255,.15);color:#fff}
.catchip:focus-visible{outline:2px solid var(--mint)}
table.cat tr.cathead td{background:var(--l100);font-weight:600;font-size:13px;color:var(--brand-ink);padding-top:10px;padding-bottom:10px}
table.cat tr.cathead td .ic{width:15px;height:15px;vertical-align:-3px;margin-right:8px}
table.cat tr.citem.have{opacity:.6}
table.cat tr.citem:has(input[name="ids[]"]:checked){background:var(--l100)}
.mini-in{height:36px;width:100%;max-width:140px;text-align:right;border-radius:10px}
.addbar{position:sticky;bottom:14px;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding:10px 10px 10px 22px;border-radius:999px;background:var(--side);color:#fff;box-shadow:0 18px 40px -16px rgba(31,42,5,.6)}
.addbar .btn.primary{background:var(--mint);border-color:var(--mint);color:var(--side);border-radius:999px}
.bulkbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:10px 20px;background:var(--l100);border-bottom:1px solid var(--line2)}
@media (max-width:760px){
  table.cat{min-width:0!important}
  table.cat thead{display:none}
  table.cat tr.citem{display:grid;grid-template-columns:40px 1fr 104px;grid-template-areas:"chk name price" "chk type reorder";align-items:center;column-gap:8px;padding:10px 12px;border-top:1px solid var(--line2)}
  table.cat tr.citem>td{border:0;padding:2px 0!important}
  table.cat tr.citem>td:nth-child(1){grid-area:chk}
  table.cat tr.citem>td:nth-child(2){grid-area:name}
  table.cat tr.citem>td:nth-child(3){grid-area:type}
  table.cat tr.citem>td:nth-child(4){grid-area:price}
  table.cat tr.citem>td:nth-child(5){grid-area:reorder}
  table.cat tr.citem[hidden]{display:none}
  table.cat tr.cathead{display:block}
  table.cat tr.cathead td{display:block;padding:10px 14px!important}
  table.cat .mini-in{height:34px;font-size:14px}
  table.cat tr.citem td:nth-child(5) .mini-in{height:30px}
  table.cat tr.citem td:nth-child(5) .mini-in::placeholder{content:"Reorder"}
  .catbar{flex-direction:column;align-items:stretch}
  .tablewrap:has(table.cat){overflow:visible}
}
@media (max-width:760px){
  table.cat,table.cat tbody{display:block;width:100%}
  table.cat tr.cathead[hidden],table.cat tr#none[hidden]{display:none}
  table.cat tr.citem{grid-template-columns:34px minmax(0,1fr) 96px;box-sizing:border-box;width:100%}
  table.cat .mini-in{max-width:96px}
  table.cat tr.citem .pill{padding:2px 8px;font-size:11px}
}

/* =====================================================================
   Homepage v0.7 — organic, no boxes: waves, circles, blobs, real screens
   ===================================================================== */
body.home{margin:0;background:#fff;color:#1F2A05;font-family:Inter,system-ui,sans-serif;overflow-x:hidden}
.home h1,.home h2,.home h3{font-family:Outfit,Inter,sans-serif;letter-spacing:-.025em}
.h-wrap{max-width:1180px;margin:0 auto;padding:0 22px}
.h-wrap.narrow{max-width:820px}
.h-center{text-align:center;display:flex;flex-direction:column;align-items:center}
.pwaves{display:block;width:100%;height:clamp(60px,9vw,130px);position:relative;z-index:1}
.pwaves.top{transform:scaleY(-1);margin-bottom:-2px}

/* nav */
.h-nav{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.82);-webkit-backdrop-filter:blur(16px) saturate(1.4);backdrop-filter:blur(16px) saturate(1.4)}
.h-navin{display:flex;align-items:center;gap:20px;height:74px}
.h-brand{text-decoration:none;color:#1F2A05}.h-brand .wm{font-size:14px}.h-brand.light{color:#fff}
.h-links{display:flex;gap:26px;margin-left:auto}
.h-links a{color:#3F4A2A;text-decoration:none;font-size:15px;font-weight:500}.h-links a:hover{color:#1F2A05}
.h-login{color:#1F2A05;font-weight:600;text-decoration:none;font-size:15px}
.h-btn{display:inline-flex;align-items:center;gap:10px;height:54px;padding:0 26px;border-radius:999px;background:#1F2A05;color:#fff;text-decoration:none;font-weight:600;font-size:16px;border:0;cursor:pointer;box-shadow:0 14px 30px -14px rgba(31,42,5,.7);transition:transform .15s}
.h-btn:hover{color:#fff;transform:translateY(-1px)}
.h-btn .ic{width:18px;height:18px;color:#B4D944}
.h-btn.sm{height:44px;padding:0 20px;font-size:14px}
.h-btn.light{background:#fff;color:#1F2A05}.h-btn.light .ic{color:#648215}

/* hero */
.h-hero{position:relative;background:radial-gradient(900px 500px at 85% 20%,#F1FBD3 0,rgba(241,251,211,0) 70%),radial-gradient(700px 500px at 0% 100%,#F6FBE6 0,rgba(246,251,230,0) 70%),#fff;padding-top:28px}
.h-herogrid{display:grid;grid-template-columns:1.05fr .95fr;gap:40px;align-items:center;padding-bottom:20px}
.h-kicker{display:inline-flex;align-items:center;gap:10px;font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#648215}
.h-kicker i{width:8px;height:8px;border-radius:50%;background:#8FB61F;box-shadow:0 0 0 5px rgba(143,182,31,.18)}
.h-kicker.dark{color:#D6EE8D}
.h-hero h1{font-size:clamp(38px,5.6vw,68px);line-height:1.02;font-weight:600;margin:16px 0 18px}
.h-hero h1 em{font-style:normal;color:#648215;background:linear-gradient(transparent 62%,#D6EE8D 62%);padding:0 .08em}
.h-lead{font-size:clamp(16px,1.6vw,19px);line-height:1.6;color:#3F4A2A;max-width:540px;margin:0 0 26px}
.h-quick{display:flex;flex-wrap:wrap;gap:8px;padding:8px;border-radius:999px;background:#fff;box-shadow:0 20px 50px -24px rgba(31,42,5,.45),0 0 0 1px #E1E8CF;max-width:600px}
.h-quick label{flex:1 1 160px;display:flex}
.h-quick input{border:0;height:48px;border-radius:999px;padding:0 18px;font-size:15px;background:#F6F9EC;width:100%}
.h-quick input:focus{outline:2px solid #B4D944}
.h-quick button{display:inline-flex;align-items:center;gap:8px;height:48px;padding:0 22px;border-radius:999px;border:0;background:#1F2A05;color:#fff;font:inherit;font-weight:600;cursor:pointer;white-space:nowrap}
.h-quick button .ic{width:16px;height:16px;color:#B4D944}
.h-trust{list-style:none;padding:0;margin:20px 0 0;display:flex;flex-wrap:wrap;gap:10px 22px;font-size:14px;color:#3F4A2A}
.h-trust li{display:flex;align-items:center;gap:8px}
.h-trust .ic{width:18px;height:18px;color:#648215}
.h-talk{display:inline-flex;align-items:center;gap:8px;margin-top:18px;color:#1F2A05;font-weight:600;text-decoration:none;font-size:15px}
.h-talk .ic{width:20px;height:20px;color:#25D366}
.h-talk.light{color:#fff}

.h-visual{position:relative;min-height:560px}
.h-blob{position:absolute;inset:20px 0 30px 40px;border-radius:58% 42% 47% 53% / 52% 46% 54% 48%;overflow:hidden;box-shadow:0 40px 80px -40px rgba(31,42,5,.6);animation:morph 14s ease-in-out infinite alternate}
.h-blob img{width:100%;height:100%;object-fit:cover}
@keyframes morph{to{border-radius:44% 56% 60% 40% / 45% 58% 42% 55%}}
.h-ring{position:absolute;inset:0 -10px 10px 20px;border:2px dashed #B4D944;border-radius:50%;opacity:.7}
.h-phone{position:absolute;margin:0;right:6%;bottom:-6px;width:min(230px,42%);border-radius:34px;padding:7px;background:#1F2A05;box-shadow:0 30px 60px -20px rgba(31,42,5,.7)}
.h-phone img{display:block;width:100%;border-radius:28px}
.h-bubble{position:absolute;display:flex;align-items:center;gap:12px;padding:10px 18px 10px 10px;border-radius:999px;background:rgba(255,255,255,.92);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 18px 40px -18px rgba(31,42,5,.55);font-size:13px;animation:float 6s ease-in-out infinite alternate}
.h-bubble b{display:block;font-size:14px}.h-bubble small{color:#56623D}
.h-bubble.b1{left:0;top:16%}
.h-bubble.b2{left:6%;bottom:18%;animation-delay:-3s}
@keyframes float{to{transform:translateY(-10px)}}
.h-ico{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex:none}
.h-ico .ic{width:20px;height:20px}
.h-ico.warn{background:#FFF1D6;color:#8A4B00}.h-ico.ok{background:#E6F4C7;color:#3D520B}
.h-orbit{position:absolute;right:-6px;top:4%;display:flex;flex-direction:column;gap:10px}
.h-orbit img{width:64px;height:64px;border-radius:50%;object-fit:cover;border:4px solid #fff;box-shadow:0 10px 24px -10px rgba(31,42,5,.5)}
.h-orbit img:nth-child(2){margin-left:-26px}
@media (prefers-reduced-motion:reduce){.h-blob,.h-bubble{animation:none}}

/* section headings */
.h-title{font-size:clamp(30px,4vw,48px);font-weight:600;text-align:center;margin:0 0 12px;line-height:1.08}
.h-title.light{color:#fff}.h-title.left{text-align:left}
.h-sub{text-align:center;font-size:17px;color:#56623D;max-width:640px;margin:0 auto 46px;line-height:1.6}
.h-sub.light{color:#D6E2B4}.h-sub.left{text-align:left;margin-left:0}

/* why */
.h-why{padding:40px 0 30px}
.h-flow{position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:36px}
.h-flowline{position:absolute;left:0;right:0;top:10px;width:100%;height:110px;z-index:0}
.h-step{position:relative;z-index:1;text-align:center;display:flex;flex-direction:column;align-items:center}
.h-pair{display:flex;align-items:center;gap:8px;margin-bottom:18px}
.h-circ{width:86px;height:86px;border-radius:50%;display:flex;align-items:center;justify-content:center}
.h-circ .ic{width:34px;height:34px;stroke-width:1.7}
.h-circ.prob{background:#FDECEC;color:#B42318;box-shadow:inset 0 0 0 1px #F7CDCD}
.h-circ.fix{background:#1F2A05;color:#B4D944;width:104px;height:104px;box-shadow:0 18px 30px -16px rgba(31,42,5,.7)}
.h-arrow{color:#8FB61F}.h-arrow .ic{width:22px;height:22px;transform:rotate(45deg)}
.h-step h3{font-size:21px;margin:0 0 10px;font-weight:600;max-width:300px}
.h-step p{margin:0;color:#56623D;line-height:1.6;max-width:330px}

/* tour */
.h-tour{position:relative;background:#1F2A05;color:#fff;overflow:hidden;margin-top:30px}
.h-tour::before{content:"";position:absolute;width:620px;height:620px;right:-180px;top:120px;border-radius:50%;background:radial-gradient(circle,rgba(180,217,68,.28),rgba(180,217,68,0) 65%)}
.h-tour .h-wrap{position:relative;padding-top:10px;padding-bottom:30px}
.h-tabs{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:-16px 0 34px}
.h-tab{all:unset;cursor:pointer;height:44px;padding:0 20px;border-radius:999px;border:1px solid rgba(214,238,141,.35);color:#D6E2B4;font-weight:500;font-size:14px;display:flex;align-items:center}
.h-tab.on{background:#B4D944;color:#1F2A05;border-color:#B4D944;font-weight:600}
.h-tab:focus-visible{outline:2px solid #fff}
.h-devices{position:relative;max-width:980px;margin:0 auto;padding-right:90px}
.h-laptop .h-screen{border-radius:22px 22px 0 0;padding:12px 12px 0;background:#0E1503;box-shadow:0 0 0 2px #33450A}
.h-laptop .h-screen img{display:block;width:100%;border-radius:12px 12px 0 0;transition:opacity .15s}
.h-laptop .h-base{height:22px;margin:0 -40px;background:linear-gradient(#3B4A1A,#1A2304);border-radius:0 0 40px 40px;box-shadow:0 30px 50px -20px rgba(0,0,0,.7)}
.h-phone.sm{right:0;bottom:-30px;width:min(190px,30%)}
.h-points{list-style:none;padding:0;margin:70px 0 0;display:grid;grid-template-columns:repeat(4,1fr);gap:26px}
.h-points li{display:flex;gap:14px;align-items:flex-start}
.h-points .ic{width:46px;height:46px;padding:12px;border-radius:50%;background:rgba(180,217,68,.14);color:#B4D944;flex:none;box-sizing:border-box}
.h-points b{display:block;font-family:Outfit,Inter,sans-serif;font-size:17px;margin-bottom:4px;color:#fff}
.h-points span{color:#C3D29A;font-size:14px;line-height:1.55}

/* how */
.h-how{padding:30px 0 70px}
.h-path{list-style:none;padding:0;margin:0 0 40px;display:grid;grid-template-columns:repeat(3,1fr);gap:34px;position:relative}
.h-path::before{content:"";position:absolute;left:12%;right:12%;top:46px;border-top:3px dotted #B4D944}
.h-path li{position:relative;text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px}
.h-num{width:92px;height:92px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#D6EE8D,#8FB61F);color:#1F2A05;font-family:Outfit,sans-serif;font-size:40px;font-weight:600;display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 10px #fff,0 20px 40px -18px rgba(100,130,21,.8);margin-bottom:10px}
.h-path b{font-family:Outfit,Inter,sans-serif;font-size:21px}
.h-path span:not(.h-num){color:#56623D;line-height:1.6;max-width:300px}

/* who */
.h-who{padding:40px 0 70px;background:radial-gradient(800px 400px at 20% 50%,#F1FBD3,rgba(241,251,211,0) 70%)}
.h-whogrid{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center}
.h-circles{position:relative;height:420px}
.h-circles img{position:absolute;border-radius:50%;object-fit:cover;border:6px solid #fff;box-shadow:0 24px 50px -24px rgba(31,42,5,.6)}
.h-circles img:nth-child(1){width:250px;height:250px;left:10%;top:0}
.h-circles img:nth-child(2){width:180px;height:180px;right:6%;top:30px}
.h-circles img:nth-child(3){width:160px;height:160px;left:0;bottom:10px}
.h-circles img:nth-child(4){width:210px;height:210px;right:14%;bottom:0}
.h-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:16px}
.h-list li{display:flex;align-items:center;gap:14px;font-size:16px}
.h-list .ic{width:44px;height:44px;padding:11px;border-radius:50%;background:#1F2A05;color:#B4D944;flex:none;box-sizing:border-box}

/* pricing */
.h-price{padding:20px 0 70px}
.h-priceblob{position:relative;max-width:900px;margin:0 auto;padding:70px 60px;text-align:center;color:#fff;background:radial-gradient(circle at 20% 20%,#648215,#2D3D08 60%,#1F2A05);border-radius:46% 54% 42% 58% / 58% 44% 56% 42%;box-shadow:0 40px 80px -40px rgba(31,42,5,.8);display:flex;flex-direction:column;align-items:center;gap:14px}
.h-priceblob h2{font-size:clamp(28px,3.6vw,44px);margin:6px 0 0;font-weight:600;max-width:600px;line-height:1.1}
.h-priceblob p{color:#D6E2B4;max-width:560px;margin:0;line-height:1.6}
.h-contacts{display:flex;justify-content:center;gap:28px;flex-wrap:wrap;margin:14px 0 10px}
.h-contacts a{display:flex;flex-direction:column;align-items:center;gap:6px;color:#fff;text-decoration:none}
.h-contacts a span{width:72px;height:72px;border-radius:50%;background:rgba(255,255,255,.12);display:flex;align-items:center;justify-content:center;transition:background .15s}
.h-contacts a:hover span{background:#B4D944;color:#1F2A05}
.h-contacts a.wa span{background:#25D366}
.h-contacts .ic{width:28px;height:28px}
.h-contacts b{font-size:15px}.h-contacts small{color:#C3D29A;font-size:13px}

/* faq */
.h-faq{padding:20px 0 70px}
.h-qa{border-bottom:1px solid #E1E8CF}
.h-qa summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 4px;font-family:Outfit,Inter,sans-serif;font-size:19px;font-weight:500}
.h-qa summary::-webkit-details-marker{display:none}
.h-plus{width:36px;height:36px;border-radius:50%;background:#F1FBD3;position:relative;flex:none;transition:transform .2s}
.h-plus::before,.h-plus::after{content:"";position:absolute;left:50%;top:50%;width:14px;height:2px;background:#3D520B;transform:translate(-50%,-50%)}
.h-plus::after{transform:translate(-50%,-50%) rotate(90deg)}
.h-qa[open] .h-plus{transform:rotate(45deg);background:#B4D944}
.h-qa p{margin:0 4px 22px;color:#56623D;line-height:1.7;font-size:16px}

/* final */
.h-final{position:relative;background:#1F2A05;color:#fff;padding-bottom:70px;overflow:hidden}
.h-final::after{content:"";position:absolute;width:520px;height:520px;left:-160px;bottom:-200px;border-radius:50%;background:radial-gradient(circle,rgba(180,217,68,.22),rgba(180,217,68,0) 65%)}
.h-final .h-wrap{position:relative;z-index:1}
.h-finallogo{width:84px;height:84px;margin-bottom:10px}
.h-final h2{font-size:clamp(32px,4.6vw,56px);margin:0 0 10px;font-weight:600}
.h-final p{color:#D6E2B4;margin:0 0 26px}
.h-final .h-quick{margin:0 auto;background:rgba(255,255,255,.08);box-shadow:0 0 0 1px rgba(214,238,141,.25)}
.h-final .h-quick input{background:#fff}
.h-final .h-quick button{background:#B4D944;color:#1F2A05}.h-final .h-quick button .ic{color:#1F2A05}

/* footer */
.h-foot{background:#151D03;color:#C3D29A;padding:50px 0 26px}
.h-footgrid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:28px}
.h-footgrid p{margin:12px 0 0;max-width:280px;font-size:14px}
.h-footgrid b{display:block;color:#fff;margin-bottom:10px;font-family:Outfit,sans-serif}
.h-footgrid a,.h-footgrid .linkbtn{display:block;color:#C3D29A;text-decoration:none;padding:4px 0;font-size:14px;overflow-wrap:anywhere}
.h-footgrid a:hover,.h-footgrid .linkbtn:hover{color:#B4D944}
.h-footbottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;margin-top:34px;padding-top:18px;border-top:1px solid rgba(214,238,141,.15);font-size:13px}
.h-footbottom .credit{margin:0;padding:0;font-size:13px;color:#C3D29A}.h-footbottom .credit a{color:#B4D944}
.h-ioshint{background:rgba(255,255,255,.08);border-radius:16px;padding:10px 14px;margin-top:16px;font-size:14px}
.h-wafloat{position:fixed;right:18px;bottom:calc(18px + env(safe-area-inset-bottom));z-index:40;width:58px;height:58px;border-radius:50%;background:#25D366;color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 14px 30px -10px rgba(0,0,0,.45)}
.h-wafloat .ic{width:28px;height:28px}

/* responsive */
@media (max-width:980px){
  .h-links{display:none}
  .h-navin{height:64px;gap:14px}
  .h-login{margin-left:auto}
  .h-herogrid{grid-template-columns:1fr;gap:20px}
  .h-visual{min-height:440px;order:-1;margin:0 -6px}
  .h-blob{inset:10px 10px 40px 10px}
  .h-ring{display:none}
  .h-bubble{font-size:12px;padding:8px 14px 8px 8px}.h-bubble b{font-size:13px}
  .h-bubble.b1{top:6%;left:2%}.h-bubble.b2{bottom:6%;left:2%}
  .h-phone{width:min(170px,40%);right:4%}
  .h-orbit{display:none}
  .h-flow,.h-path{grid-template-columns:1fr;gap:44px}
  .h-flowline,.h-path::before{display:none}
  .h-points{grid-template-columns:1fr 1fr;gap:20px}
  .h-devices{padding-right:0}
  .h-phone.sm{width:30%;bottom:-20px;right:-6px}
  .h-laptop .h-base{margin:0 -14px}
  .h-whogrid{grid-template-columns:1fr;gap:20px}
  .h-circles{height:300px;max-width:420px;margin:0 auto;width:100%}
  .h-circles img:nth-child(1){width:170px;height:170px}.h-circles img:nth-child(2){width:120px;height:120px}
  .h-circles img:nth-child(3){width:110px;height:110px}.h-circles img:nth-child(4){width:150px;height:150px}
  .h-priceblob{padding:56px 26px;border-radius:40% 60% 38% 62% / 30% 26% 74% 70%}
  .h-footgrid{grid-template-columns:1fr 1fr}
  .h-footgrid>div:first-child{grid-column:1/-1}
}
@media (max-width:560px){
  .h-quick{border-radius:28px;flex-direction:column}
  .h-quick label{flex:none}
  .h-quick button{justify-content:center}
  .h-points{grid-template-columns:1fr}
  .h-btn.sm{display:none}
  .h-contacts{gap:18px}
  .h-contacts a span{width:60px;height:60px}
}
@media (max-width:980px){
  .h-visual{order:0;min-height:360px;margin-top:10px}
  .h-hero{padding-top:14px}
  .h-hero h1{margin-top:12px}
  .h-wafloat{width:52px;height:52px;right:14px}
}
