@font-face{font-family:"Onest";src:url(fonts/onest.woff2) format("woff2");font-weight:300 800;font-style:normal;font-display:swap}
:root{
  --g9:#08321B;--g8:#0E4A28;--g7:#14633A;--ac:#15803D;--ac-d:#0F6A31;--g3:#BFE0C6;--g2:#DCEFDF;--g1:#EBF6EC;
  --bg:#F1F6F2;--surface:#fff;--ink:#0F2A17;--ink-2:#2E4536;--muted:#4D6254;--line:#DCE7DE;--line-2:#C3D4C7;
  --lime:#C9E2AA;--gold:#C79A2E;--gold-ink:#6E5008;
  --warn:#6F4400;--warn-bg:#FFF3D6;--warn-line:#F0D79A;
  --red:#A0281D;--red-bg:#FCEDEA;
  --sky:#E5EEF5;--sky-ink:#294B66;
  --r-s:10px;--r:18px;--r-l:24px;
  --shadow:0 1px 2px rgba(15,42,23,.05),0 6px 18px rgba(15,42,23,.05);
  --ease:cubic-bezier(.2,.7,.2,1);
  --strip-h:40px;
  color-scheme:light;
}
*{box-sizing:border-box}
html,body{margin:0;height:100%}
body{font-family:"Onest",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:16px;line-height:1.5;color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased;display:flex;flex-direction:column;min-height:100dvh;height:100dvh;overflow:hidden}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
a{color:var(--ac-d)}
h1,h2,h3,h4,p{margin:0}
:focus-visible{outline:2.5px solid var(--ac);outline-offset:2px;border-radius:6px}
[tabindex="-1"]:focus{outline:none}
.ic{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.ic.s{width:18px;height:18px}
.ic.l{width:28px;height:28px}
.vh{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.num,.amt,table{font-variant-numeric:tabular-nums lining-nums;font-feature-settings:"tnum" 1,"lnum" 1}

/* Demo strip */
.strip{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:var(--strip-h);padding:6px 16px;background:var(--g9);color:#DDEBDF;font-size:13px;line-height:1.35}
.strip strong{font-weight:650;color:#fff}
.strip-link{color:#fff;font-weight:600;text-decoration:underline;text-underline-offset:3px;white-space:nowrap;padding:6px 0}
.strip-link:focus-visible{outline-color:#fff}
@media (max-width:899px){.strip{display:none!important}}

/* Stage */
.stage{flex:1;min-height:0;display:flex}
.side{display:none}
.device{flex:1;min-height:0;display:flex}
.phone{position:relative;flex:1;min-height:0;display:flex;flex-direction:column;background:var(--bg);overflow:hidden}
.statusbar{display:none}
.screen{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 0 calc(84px + env(safe-area-inset-bottom));outline:none;-webkit-overflow-scrolling:touch}
@media (min-width:900px){
  body{background:radial-gradient(1100px 620px at 72% 18%,#E1EFE3 0,transparent 62%),var(--bg)}
  .stage{align-items:center;justify-content:center;gap:clamp(40px,6vw,96px);padding:24px clamp(24px,4vw,64px)}
  .side{display:block;flex:0 1 440px;min-width:300px;max-height:100%;overflow:auto;padding:4px}
  .device{flex:none;height:min(860px,calc(100dvh - var(--strip-h) - 48px));display:block}
  .phone{width:400px;height:100%;border-radius:48px;border:10px solid #10241A;box-shadow:0 0 0 1px #29402F,0 30px 70px -20px rgba(15,42,23,.36),0 10px 24px -12px rgba(15,42,23,.25)}
  .statusbar{display:flex;flex:none;justify-content:space-between;align-items:center;height:34px;padding:6px 26px 0;font-size:14px;font-weight:650;background:var(--bg)}
  .statusbar .sb-icons{display:flex;gap:6px;align-items:center}
  .statusbar svg{height:11px;width:auto}
  .screen{padding-bottom:88px;scrollbar-width:thin}
}
.side-kicker{font-size:13px;font-weight:650;letter-spacing:.06em;text-transform:uppercase;color:var(--ac-d)}
.side-title{font-size:32px;line-height:1.1;letter-spacing:-.025em;font-weight:700;margin:8px 0 10px}
.side-lead{color:var(--ink-2);font-size:16px}
.side-sub{margin:16px 0 8px;font-weight:650;font-size:15px}
.side-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.side-list button{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:7px 14px;font-size:15px;transition:border-color .2s,transform .2s var(--ease)}
.side-list button .ic{color:var(--ac)}
.side-list button:hover{border-color:var(--ac);transform:translateX(2px)}
.side-legend{margin-top:16px;font-size:14px;color:var(--muted);display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.side-cta{display:inline-flex;align-items:center;gap:10px;margin-top:18px;background:var(--g8);color:#fff;text-decoration:none;font-weight:650;padding:12px 20px;border-radius:999px}
.side-cta:hover{background:var(--g9)}

/* Tab bar */
.tabbar{position:absolute;left:0;right:0;bottom:0;z-index:5;display:grid;grid-template-columns:repeat(5,1fr);background:rgba(255,255,255,.95);backdrop-filter:saturate(1.4) blur(14px);-webkit-backdrop-filter:saturate(1.4) blur(14px);border-top:1px solid var(--line);padding:6px 4px calc(6px + env(safe-area-inset-bottom))}
.tabbar a{display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px 2px;min-height:52px;font-size:12px;font-weight:550;color:var(--muted);text-decoration:none;border-radius:12px}
.tabbar a[aria-current="page"]{color:var(--ac-d)}
.tabbar a[aria-current="page"] .ic{stroke-width:2.1}
@media (min-width:900px){.tabbar{padding-bottom:14px}}

/* Screen pieces */
.top{position:sticky;top:0;z-index:4;display:flex;align-items:center;gap:8px;padding:12px 16px 10px;background:rgba(241,246,242,.93);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.top h2{font-size:20px;font-weight:700;letter-spacing:-.01em;flex:1;min-width:0}
.top.big{padding-top:18px}
.top.big h2{font-size:28px;letter-spacing:-.025em}
.iconbtn{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:var(--surface);color:var(--ink);flex:none;position:relative}
.iconbtn:hover{border-color:var(--line-2)}
.iconbtn .dot{position:absolute;top:9px;right:10px;width:9px;height:9px;border-radius:50%;background:#C2410C;border:2px solid #fff}
.wrap{padding:4px 16px 16px;display:grid;gap:16px}
.sec-h{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-top:6px}
.sec-h h3{font-size:17px;font-weight:700}
.sec-h a,.linkbtn{font-size:14px;font-weight:600;color:var(--ac-d);background:none;border:0;padding:6px 0;text-decoration:none}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:16px;box-shadow:var(--shadow)}
.card.flat{box-shadow:none}
.muted{color:var(--muted)}
.small{font-size:14px}
.xs{font-size:13px}
.strong{font-weight:650}
.row{display:flex;align-items:center;gap:12px}
.row.top-a{align-items:flex-start}
.row.sb{justify-content:space-between}
.grow{flex:1;min-width:0}
.stack{display:grid;gap:10px}
.right{text-align:right}
.pos{color:var(--ac-d)}
.neg{color:var(--ink)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:10px 18px;border-radius:14px;border:1px solid transparent;font-weight:650;font-size:15px;text-decoration:none;transition:background .2s,border-color .2s,transform .15s var(--ease)}
.btn:active{transform:scale(.98)}
.btn.pri{background:var(--g8);color:#fff}
.btn.pri:hover{background:var(--g9)}
.btn.sec{background:var(--surface);border-color:var(--line-2);color:var(--ink)}
.btn.sec:hover{border-color:var(--ac)}
.btn.soft{background:var(--g2);color:var(--g8)}
.btn.ghost{background:transparent;color:var(--ac-d);padding-inline:10px}
.btn.block{width:100%}
.btn.sm{min-height:38px;padding:6px 12px;font-size:14px;border-radius:11px}
.btn[disabled]{opacity:.5;cursor:not-allowed}
.btns{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.badge-native{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:650;padding:3px 9px 3px 7px;border-radius:999px;background:var(--sky);color:var(--sky-ink);white-space:nowrap;vertical-align:middle}
.badge-native .ic{width:14px;height:14px}
.pill{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:650;padding:3px 9px;border-radius:999px;background:var(--g2);color:var(--g8);white-space:nowrap}
.pill.warn{background:var(--warn-bg);color:var(--warn)}
.pill.gray{background:#E9EEEA;color:var(--ink-2)}
.pill.red{background:var(--red-bg);color:var(--red)}
.note{display:flex;gap:10px;align-items:flex-start;font-size:13px;color:var(--muted);padding:12px 14px;border-radius:12px;background:#E7EFE9}
.note .ic{width:18px;height:18px;margin-top:1px}
.divider{height:1px;background:var(--line);margin:2px 0}
.amt .cur{font-size:.62em;font-weight:600;margin-right:2px;vertical-align:.32em;opacity:.8}

/* Home header */
.hello{display:flex;align-items:center;gap:12px;padding:16px 16px 6px}
.avatar{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--g8);color:#fff;font-weight:700;font-size:15px;flex:none;letter-spacing:.02em}
.hello .t{font-size:13px;color:var(--muted)}
.hello .n{font-size:19px;font-weight:700;letter-spacing:-.01em;line-height:1.2}

/* Balance hero */
.hero{position:relative;overflow:hidden;border-radius:var(--r-l);padding:18px 18px 16px;background:linear-gradient(150deg,#13603A 0%,var(--g8) 46%,var(--g9) 100%);color:#fff;box-shadow:0 16px 30px -18px rgba(8,50,27,.7)}
.hero .guil{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;opacity:.22}
.hero>*:not(.guil){position:relative}
.hero .lbl{font-size:13px;color:#CFE6D4;display:flex;align-items:center;gap:6px}
.hero .big{font-size:36px;font-weight:650;letter-spacing:-.02em;line-height:1.15;margin-top:2px}
.hero .sub{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px;margin-top:14px;padding-top:12px;border-top:1px solid rgba(255,255,255,.16)}
.hero .sub a{color:#fff;text-decoration:none;border-radius:10px;padding:2px 0}
.hero .sub .k{font-size:12px;color:#BFDCC6;display:block}
.hero .sub .v{font-size:15px;font-weight:650;display:block}
.hero .eye{position:absolute;top:12px;right:12px;width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.08);color:#fff;display:grid;place-items:center}
.hero .eye:hover{background:rgba(255,255,255,.16)}
.hero :focus-visible{outline-color:#fff}
.hero .locked{display:flex;align-items:center;gap:10px;margin-top:8px}
.hero .locked .btn{background:#fff;color:var(--g8)}
.mask{letter-spacing:.08em}

/* Due alert */
.due{display:flex;gap:12px;align-items:flex-start;padding:14px;border-radius:var(--r);background:var(--warn-bg);border:1px solid var(--warn-line);color:var(--warn)}
.due .ic{margin-top:2px}
.due h3{font-size:15px;font-weight:700;color:#4D3000}
.due p{font-size:14px}
.due .btn{margin-top:10px}
.due.ok{background:var(--g1);border-color:var(--g3);color:var(--g8)}
.due.ok h3{color:var(--g8)}

/* Tiles */
.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.tile{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:13px 10px 12px;overflow-wrap:anywhere;border-radius:16px;background:var(--surface);border:1px solid var(--line);text-decoration:none;color:var(--ink);font-size:13.5px;font-weight:600;line-height:1.25;min-height:94px;transition:border-color .2s,transform .2s var(--ease)}
.tile .ti{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;background:var(--g1);color:var(--ac-d)}
.tile:hover{border-color:var(--ac);transform:translateY(-1px)}

/* Lists */
.list{list-style:none;margin:0;padding:0;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);overflow:hidden}
.list>li+li{border-top:1px solid var(--line)}
.li{display:flex;align-items:center;gap:12px;padding:12px 14px;width:100%;background:none;border:0;text-align:left;text-decoration:none;color:inherit}
button.li:hover,a.li:hover{background:#F7FAF7}
.li .lic{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:var(--g1);color:var(--ac-d);flex:none}
.li .lic.out{background:#EEF1EF;color:var(--ink-2)}
.li .t{font-weight:600;font-size:15px;line-height:1.3}
.li .s{font-size:13px;color:var(--muted)}
.li .v{font-weight:650;font-size:15px;white-space:nowrap;text-align:right}
.li .v small{display:block;font-weight:500;font-size:12px;color:var(--muted)}
.mday{font-size:13px;font-weight:650;color:var(--muted);padding:10px 14px 6px;background:#F7FAF7}

/* Segmented, chips */
.seg{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;background:#E3ECE5;border-radius:14px;padding:4px;gap:4px}
.seg a,.seg button{display:flex;align-items:center;justify-content:center;min-height:40px;border-radius:11px;font-size:14px;font-weight:600;color:var(--ink-2);text-decoration:none;border:0;background:transparent;padding:4px 6px;text-align:center}
.seg [aria-current="page"],.seg [aria-pressed="true"]{background:#fff;color:var(--ink);box-shadow:0 1px 3px rgba(15,42,23,.12)}
.chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 -16px;padding:0 16px}
.chips::-webkit-scrollbar{display:none}
.chip{flex:none;min-height:38px;padding:6px 14px;border-radius:999px;border:1px solid var(--line-2);background:var(--surface);font-size:14px;font-weight:550;color:var(--ink-2)}
.chip[aria-pressed="true"]{background:var(--g8);border-color:var(--g8);color:#fff}
.search{display:flex;align-items:center;gap:8px;background:var(--surface);border:1px solid var(--line-2);border-radius:12px;padding:0 12px;min-height:44px}
.search input{border:0;outline:0;background:transparent;flex:1;min-width:0;padding:10px 0}
.search:focus-within{border-color:var(--ac);box-shadow:0 0 0 3px rgba(21,128,61,.15)}
.filters{display:grid;grid-template-columns:1fr 1fr;gap:8px}

/* Forms */
.field{display:grid;gap:6px}
.field>span,.field>label,.lbl2{font-size:14px;font-weight:600;color:var(--ink-2)}
.input,select.input,textarea.input{width:100%;min-height:46px;padding:10px 12px;border-radius:12px;border:1px solid var(--line-2);background:#fff}
.input:focus{outline:none;border-color:var(--ac);box-shadow:0 0 0 3px rgba(21,128,61,.15)}
.check{display:flex;gap:10px;align-items:flex-start;font-size:14px}
.check input{width:20px;height:20px;margin-top:1px;accent-color:var(--ac);flex:none}
.radio-list{display:grid;gap:8px}
.ropt{display:flex;gap:12px;align-items:center;padding:12px 14px;border:1px solid var(--line-2);border-radius:14px;background:#fff;cursor:pointer}
.ropt input{width:20px;height:20px;accent-color:var(--ac);flex:none}
.ropt:has(input:checked){border-color:var(--ac);background:var(--g1)}
.ropt .t{font-weight:600}
.ropt .s{display:block;font-size:13px;color:var(--muted)}
.ropt:focus-within{box-shadow:0 0 0 3px rgba(21,128,61,.2)}

/* Simulator */
.lines{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 -16px;padding:2px 16px 4px}
.lines::-webkit-scrollbar{display:none}
.line-b{flex:none;display:grid;gap:2px;text-align:left;min-width:132px;padding:10px 12px;border-radius:14px;border:1px solid var(--line-2);background:#fff}
.line-b .t{font-weight:650;font-size:14px}
.line-b .s{font-size:12px;color:var(--muted)}
.line-b[aria-pressed="true"]{border-color:var(--g8);background:var(--g8);color:#fff}
.line-b[aria-pressed="true"] .s{color:#CFE6D4}
.slider{display:grid;gap:8px}
.slider .row{justify-content:space-between}
.slider .val{font-size:22px;font-weight:650;letter-spacing:-.01em}
.slider .rng{display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}
input[type=range]{-webkit-appearance:none;appearance:none;width:100%;height:28px;background:transparent;margin:0}
input[type=range]::-webkit-slider-runnable-track{height:6px;border-radius:6px;background:linear-gradient(90deg,var(--ac) 0 var(--p,50%),#D5E2D8 var(--p,50%) 100%)}
input[type=range]::-moz-range-track{height:6px;border-radius:6px;background:#D5E2D8}
input[type=range]::-moz-range-progress{height:6px;border-radius:6px;background:var(--ac)}
input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:26px;height:26px;border-radius:50%;background:#fff;border:2px solid var(--g8);margin-top:-10px;box-shadow:0 2px 6px rgba(15,42,23,.25)}
input[type=range]::-moz-range-thumb{width:22px;height:22px;border-radius:50%;background:#fff;border:2px solid var(--g8)}
input[type=range]:focus-visible{outline:2.5px solid var(--ac);outline-offset:2px}
.quote{border-radius:var(--r-l);padding:18px;background:var(--g9);color:#fff;display:grid;gap:12px}
.quote .k{font-size:13px;color:#BFDCC6}
.quote .big{font-size:38px;font-weight:650;letter-spacing:-.025em;line-height:1.1}
.quote .kv{display:grid;grid-template-columns:1fr 1fr;gap:10px 14px;padding-top:12px;border-top:1px solid rgba(255,255,255,.15)}
.quote .kv .v{font-weight:650;font-size:15px}
.splitbar{display:flex;height:10px;border-radius:6px;overflow:hidden;background:rgba(255,255,255,.12)}
.splitbar i{display:block;height:100%}
.legend{display:flex;gap:14px;font-size:12px;color:#CFE6D4}
.legend span{display:inline-flex;align-items:center;gap:6px}
.legend i{width:10px;height:10px;border-radius:3px;display:inline-block}
.amort{width:100%;border-collapse:collapse;font-size:13px}
.amort th{position:sticky;top:0;background:#F3F7F4;font-weight:650;color:var(--ink-2);text-align:right;padding:8px 8px;border-bottom:1px solid var(--line)}
.amort th:first-child,.amort td:first-child{text-align:left}
.amort td{text-align:right;padding:7px 6px;border-bottom:1px solid #EDF2EE;white-space:nowrap}
.amort tbody tr:nth-child(12n){border-bottom:2px solid var(--line-2)}
.amort tfoot td{font-weight:700;background:#F3F7F4}
.tbl-wrap{max-height:340px;overflow:auto;border:1px solid var(--line);border-radius:14px;background:#fff}

/* Charts */
.spark{width:100%;height:78px;display:block}
.bars{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;align-items:end;height:90px}
.bars .b{display:grid;gap:4px;justify-items:center;font-size:11px;color:var(--muted);height:100%;align-content:end}
.bars .b i{display:block;width:100%;max-width:28px;border-radius:6px 6px 2px 2px;background:var(--g3)}
.bars .b.cur i{background:var(--ac)}
.prog{height:8px;border-radius:6px;background:#E2EBE4;overflow:hidden}
.prog i{display:block;height:100%;background:var(--ac);border-radius:6px}

/* Steps / timeline */
.stepper{display:flex;gap:6px}
.stepper i{flex:1;height:4px;border-radius:4px;background:#D5E2D8}
.stepper i.on{background:var(--ac)}
.tl{list-style:none;margin:0;padding:0;display:grid;gap:0}
.tl li{display:grid;grid-template-columns:28px 1fr;gap:10px;position:relative;padding-bottom:16px}
.tl li:last-child{padding-bottom:0}
.tl li::before{content:"";position:absolute;left:13px;top:26px;bottom:-2px;width:2px;background:#D5E2D8}
.tl li:last-child::before{display:none}
.tl li.done::before{background:var(--ac)}
.tl .dotc{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;border:2px solid #C3D4C7;background:#fff;color:#fff}
.tl .dotc .ic{width:16px;height:16px;stroke-width:2.4}
.tl li.done .dotc{background:var(--ac);border-color:var(--ac)}
.tl li.now .dotc{border-color:var(--ac);box-shadow:0 0 0 4px rgba(21,128,61,.15)}
.tl li.now .dotc::after{content:"";width:10px;height:10px;border-radius:50%;background:var(--ac)}
.tl .t{font-weight:650;font-size:15px}
.tl .s{font-size:13px;color:var(--muted)}

/* Documents */
.docs{display:grid;gap:10px}
.doc{display:grid;grid-template-columns:64px 1fr;gap:12px;align-items:center;padding:12px;border:1px dashed var(--line-2);border-radius:14px;background:#fff}
.doc.ok{border-style:solid;border-color:var(--g3);background:var(--g1)}
.doc .thumb{width:64px;height:46px;border-radius:8px;background:#EEF3EF;display:grid;place-items:center;color:var(--muted);overflow:hidden}
.doc .thumb img{width:100%;height:100%;object-fit:cover}
.doc .acts{display:flex;gap:6px;margin-top:8px;flex-wrap:wrap}
.filebtn{position:relative;overflow:hidden}
.filebtn input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}
.filebtn:focus-within{outline:2.5px solid var(--ac);outline-offset:2px}

/* Scanner */
.scan{position:absolute;inset:0;z-index:40;background:#0B130E;color:#fff;display:flex;flex-direction:column}
.scan .sh{display:flex;align-items:center;gap:10px;padding:14px 16px}
.scan .sh h3{flex:1;font-size:17px}
.scan .vf{position:relative;flex:1;min-height:0;margin:0 12px;border-radius:18px;overflow:hidden;background:radial-gradient(120% 80% at 50% 40%,#4A4036,#231D18)}
.scan video,.scan .mockdoc{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.scan .quad{position:absolute;inset:0;width:100%;height:100%}
.scan .quad polygon{fill:rgba(74,222,128,.14);stroke:#4ADE80;stroke-width:3;transition:all .5s var(--ease)}
.scan .quad circle{fill:#4ADE80;transition:all .5s var(--ease)}
.scan .hint{position:absolute;left:12px;right:12px;bottom:12px;text-align:center;font-size:14px;font-weight:600;background:rgba(0,0,0,.55);padding:8px 12px;border-radius:12px}
.scan .sf{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px 22px}
.shutter{width:72px;height:72px;border-radius:50%;border:4px solid #fff;background:rgba(255,255,255,.2);display:grid;place-items:center}
.shutter::after{content:"";width:54px;height:54px;border-radius:50%;background:#fff}
.shutter[disabled]{opacity:.45}
.scan .btn.sec{background:rgba(255,255,255,.12);color:#fff;border-color:rgba(255,255,255,.3)}
.scan :focus-visible{outline-color:#4ADE80}
.scanres{display:grid;gap:12px;padding:0 16px 16px}
.scanres img{width:100%;border-radius:12px;background:#fff}

/* Coupons / agreements */
.conv{display:grid;grid-template-columns:52px 1fr auto;gap:12px;align-items:center}
.conv .lg{width:52px;height:52px;border-radius:14px;display:grid;place-items:center;font-weight:750;font-size:15px;letter-spacing:.02em}
.conv .off{font-weight:750;font-size:17px;color:var(--ac-d);text-align:right;line-height:1.1}
.conv .off small{display:block;font-weight:500;font-size:11px;color:var(--muted)}
.coupon{border:2px dashed var(--ac);border-radius:16px;padding:16px;text-align:center;background:var(--g1)}
.coupon .code{font-size:28px;font-weight:700;letter-spacing:.14em;color:var(--g8);font-variant-numeric:tabular-nums}
.mapbox{border-radius:var(--r);overflow:hidden;border:1px solid var(--line);background:#E8EFE6}
.mapbox svg{display:block;width:100%;height:auto}
.mappin{cursor:pointer}
.mappin:focus{outline:none}
.mappin:focus-visible circle.ring{stroke:#0F2A17;stroke-width:3}

/* Assembly */
.quorum{display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:center}
.ring-g{width:86px;height:86px}
.cand{display:grid;grid-template-columns:44px 1fr auto;gap:12px;align-items:center;padding:12px 14px;border:1px solid var(--line-2);border-radius:14px;background:#fff;cursor:pointer}
.cand input{width:22px;height:22px;accent-color:var(--ac)}
.cand:has(input:checked){border-color:var(--ac);background:var(--g1)}
.cand:has(input:disabled){cursor:default}
.cand:focus-within{box-shadow:0 0 0 3px rgba(21,128,61,.2)}
.cand .av{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;font-weight:700;color:var(--g8);background:var(--g2)}
.res{display:grid;gap:10px}
.res .r{display:grid;gap:4px}
.res .bar{height:10px;border-radius:6px;background:#E2EBE4;overflow:hidden}
.res .bar i{display:block;height:100%;background:var(--ac);border-radius:6px;transition:width .6s var(--ease)}
.res .r.lead .bar i{background:var(--g8)}

/* Turn */
.turn{border-radius:var(--r-l);padding:20px;background:var(--g9);color:#fff;text-align:center;display:grid;gap:6px}
.turn .code{font-size:52px;font-weight:700;letter-spacing:.02em;line-height:1}
.turn .k{color:#BFDCC6;font-size:14px}

/* Native */
.nat{display:grid;gap:12px}
.nat .nh{display:flex;align-items:center;gap:10px}
.nat .nh .ti{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:var(--g1);color:var(--ac-d);flex:none}
.nat .nh h3{font-size:16px;flex:1}
.homescreen{border-radius:22px;padding:16px;background:linear-gradient(160deg,#2E5F4B 0%,#1C3A4E 55%,#2B2140 100%);display:grid;grid-template-columns:repeat(4,1fr);gap:14px 10px}
.homescreen .wdg{grid-column:span 2;grid-row:span 2;border-radius:20px;background:rgba(255,255,255,.94);padding:12px;color:var(--ink);display:grid;gap:4px;align-content:start;min-height:142px;border:0;text-align:left}
.homescreen .wdg .wl{white-space:nowrap;display:flex;align-items:center;gap:6px;font-size:11px;font-weight:650;color:var(--ac-d)}
.homescreen .wdg .wl .ic{width:14px;height:14px}
.homescreen .wdg .wk{font-size:11px;color:var(--muted);margin-top:4px}
.homescreen .wdg .wv{font-size:17px;font-weight:700;letter-spacing:-.01em;line-height:1.1}
.homescreen .app{display:grid;justify-items:center;gap:4px;font-size:10px;color:#fff}
.homescreen .app i{width:46px;height:46px;border-radius:12px;display:block}
.bio{display:grid;justify-items:center;gap:12px;padding:12px 0}
.bio-ring{width:96px;height:96px;border-radius:28px;display:grid;place-items:center;background:var(--g1);color:var(--ac-d);position:relative}
.bio-ring .ic{width:52px;height:52px;stroke-width:1.5}
.bio-ring.scanning::after{content:"";position:absolute;inset:-6px;border-radius:32px;border:3px solid var(--ac);border-right-color:transparent;border-bottom-color:transparent;animation:spin 1s linear infinite}
.bio-ring.ok{background:var(--ac);color:#fff}

/* Gate */
#gate:empty{display:none}
.gate{position:absolute;inset:0;z-index:20;display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:48px 24px 36px;text-align:center;background:linear-gradient(170deg,#11552F 0%,var(--g9) 70%);color:#fff;overflow:auto}
.gate .guil{position:absolute;inset:0;width:100%;height:100%;opacity:.16;pointer-events:none}
.gate>*:not(.guil){position:relative}
.gate .brand{display:grid;justify-items:center;gap:10px}
.gate .mk{width:64px;height:64px;border-radius:20px;background:#fff;color:var(--g8);display:grid;place-items:center}
.gate .mk .ic{width:40px;height:40px;stroke-width:1.9}
.gate .bn{font-size:22px;font-weight:700;letter-spacing:-.01em}
.gate .hi{color:#CFE6D4;font-size:15px}
.gate .bio-ring{background:rgba(255,255,255,.1);color:#fff}
.gate .bio-ring.scanning::after{border-color:#9BE3B0;border-right-color:transparent;border-bottom-color:transparent}
.gate .bio-ring.ok{background:#fff;color:var(--g8)}
.gate .acts{display:grid;gap:10px;width:100%;max-width:320px}
.gate .btn.pri{background:#fff;color:var(--g9)}
.gate .btn.pri:hover{background:#E9F5EB}
.gate .btn.sec{background:transparent;color:#fff;border-color:rgba(255,255,255,.4)}
.gate .note{background:rgba(255,255,255,.08);color:#D4E8D9;text-align:left}
.gate :focus-visible{outline-color:#fff}
.pin{display:flex;gap:12px;justify-content:center}
.pin i{width:14px;height:14px;border-radius:50%;border:2px solid #fff}
.pin i.on{background:#fff}
.keypad{display:grid;grid-template-columns:repeat(3,64px);gap:10px;justify-content:center}
.keypad button{height:56px;border-radius:50%;border:0;background:rgba(255,255,255,.12);color:#fff;font-size:22px;font-weight:600}
.keypad button:hover{background:rgba(255,255,255,.2)}

/* Push */
.push-wrap{position:absolute;left:8px;right:8px;top:8px;z-index:30;display:grid;gap:8px;pointer-events:none}
@media (min-width:900px){.push-wrap{top:40px}}
.push{pointer-events:auto;background:rgba(250,252,250,.97);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-radius:20px;box-shadow:0 12px 32px -8px rgba(15,42,23,.34),0 0 0 1px rgba(15,42,23,.06);padding:12px 14px;animation:drop .45s var(--ease)}
.push .ph{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);font-weight:600}
.push .ph .app{display:grid;place-items:center;width:20px;height:20px;border-radius:6px;background:var(--g8);color:#fff}
.push .ph .app .ic{width:15px;height:15px;stroke-width:2.2}
.push .ph .badge-native{margin-left:auto}
.push .pt{font-weight:700;font-size:15px;margin-top:6px}
.push .pb{font-size:14px;color:var(--ink-2)}
.push .pa{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:6px;margin-top:10px}
.push .pa button{min-height:40px;border-radius:12px;border:0;background:#E5EDE7;font-weight:650;font-size:14px;color:var(--ink)}
.push .pa button:first-child{background:var(--g8);color:#fff}
.push.out{animation:lift .3s ease-in forwards}

/* Sheet / overlay */
.ov{position:absolute;inset:0;z-index:25;background:rgba(8,30,16,.42);display:flex;align-items:flex-end;animation:fade .25s}
.ov.center{align-items:center;justify-content:center;padding:20px}
.sheet{width:100%;background:var(--surface);border-radius:24px 24px 0 0;padding:10px 18px calc(22px + env(safe-area-inset-bottom));display:grid;gap:14px;animation:up .35s var(--ease);max-height:92%;overflow:auto}
.sheet .grab{width:40px;height:5px;border-radius:5px;background:var(--line-2);justify-self:center}
.sheet h3{font-size:19px}
.sheet>.badge-native{justify-self:start}
.ov.center .sheet{border-radius:24px}
.receipt{display:grid;gap:8px;padding:14px;border-radius:14px;background:#F5F8F5;border:1px solid var(--line)}
.receipt .row{justify-content:space-between;font-size:14px}
.okmark{width:64px;height:64px;border-radius:50%;background:var(--ac);color:#fff;display:grid;place-items:center;justify-self:center}
.okmark .ic{width:34px;height:34px;stroke-width:2.4}

/* Toast */
.toast{position:absolute;left:16px;right:16px;bottom:96px;z-index:35;display:grid;justify-items:center;pointer-events:none}
.toast .tm{background:var(--ink);color:#fff;padding:12px 16px;border-radius:14px;font-size:14px;font-weight:550;box-shadow:0 10px 24px -8px rgba(0,0,0,.35);display:flex;gap:10px;align-items:center;animation:up .3s var(--ease)}
.toast .tm .ic{width:18px;height:18px;color:#9BE3B0}

/* Profile */
.prof{display:flex;gap:14px;align-items:center}
.prof .avatar{width:56px;height:56px;font-size:19px}
.kv{display:grid;grid-template-columns:auto 1fr;gap:6px 14px;font-size:14px}
.kv dt{color:var(--muted)}
.kv dd{margin:0;text-align:right;font-weight:600}
.empty{text-align:center;padding:24px 12px;color:var(--muted);font-size:14px}

@keyframes drop{from{transform:translateY(-120%);opacity:0}to{transform:none;opacity:1}}
@keyframes lift{to{transform:translateY(-120%);opacity:0}}
@keyframes up{from{transform:translateY(24px);opacity:0}to{transform:none;opacity:1}}
@keyframes fade{from{opacity:0}to{opacity:1}}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.45}}
.live-dot{width:8px;height:8px;border-radius:50%;background:#16A34A;display:inline-block;animation:pulse 1.6s infinite}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
}

.amt-big{font-size:32px;font-weight:650;letter-spacing:-.02em;line-height:1.15}
.quote .kv>div{display:grid}
.err{color:var(--red);font-size:14px;font-weight:600}
.err:empty{display:none}
.gate .btn.ghost{color:#fff}
.switch{position:relative;width:48px;height:28px;flex:none;border-radius:999px;background:#C3D4C7;border:0;padding:0}
.switch::after{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.2);transition:transform .2s var(--ease)}
.switch[aria-checked="true"]{background:var(--ac)}
.switch[aria-checked="true"]::after{transform:translateX(20px)}
.asam-h{border-radius:var(--r-l);padding:16px;background:var(--g1);border:1px solid var(--g3);display:grid;gap:6px}
