:root{--page:#ECF2EE;--bg:#F7FAF8;--surface:#FFFFFF;--sunk:#EEF4F0;--ink:#1C2420;--muted:#62706A;--line:#DCE6E0;--rose:#1F7A5C;--rose-soft:#E1F1E9;--gold:#B7842A;--gold-soft:#F8EDD5;--good:#2E8B57;--good-soft:#E3F3EA;--bad:#C2413A;--bad-soft:#FBEAE8;--on-rose:#FFFFFF;--rev:#2F6DB5;--rev-soft:#E4EEF9;--cost:#D29B45;--cost-soft:#F8EDD9;--shadow:0 1px 2px rgba(34,32,42,.04),0 4px 16px rgba(34,32,42,.04);--font:"IBM Plex Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}@media (prefers-color-scheme: dark){:root:not([data-theme=light]){--page:#0A100D;--bg:#101814;--surface:#17211C;--sunk:#1E2A24;--ink:#EEF5F1;--muted:#9DB0A6;--line:#2A3832;--rose:#5FCFA0;--rose-soft:#16332A;--gold:#E9B95B;--gold-soft:#3A2F18;--good:#6CCB94;--good-soft:#173126;--bad:#F08C84;--bad-soft:#3A1F1D;--on-rose:#0B1A14;--rev:#8FB2E8;--rev-soft:#1D2A3F;--cost:#E2B56A;--cost-soft:#3A2F18;--shadow:none;color-scheme:dark}}:root[data-theme=dark]{--page:#0A100D;--bg:#101814;--surface:#17211C;--sunk:#1E2A24;--ink:#EEF5F1;--muted:#9DB0A6;--line:#2A3832;--rose:#5FCFA0;--rose-soft:#16332A;--gold:#E9B95B;--gold-soft:#3A2F18;--good:#6CCB94;--good-soft:#173126;--bad:#F08C84;--bad-soft:#3A1F1D;--on-rose:#0B1A14;--rev:#8FB2E8;--rev-soft:#1D2A3F;--cost:#E2B56A;--cost-soft:#3A2F18;--shadow:none;color-scheme:dark}html,body{height:100%}body{background:var(--page);color:var(--ink);font-family:var(--font);font-size:14px;line-height:1.45;font-variant-numeric:tabular-nums}*{box-sizing:border-box}button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;padding:0}button:focus-visible,input:focus-visible,.tap:focus-visible{outline:2px solid var(--rose);outline-offset:2px}input{font:inherit;color:var(--ink)}#root{height:100%}.app{height:100%;max-width:560px;margin:0 auto;display:flex;flex-direction:column;background:var(--bg);position:relative;overflow:hidden}@media (min-width:600px){.app{border-left:1px solid var(--line);border-right:1px solid var(--line)}}.top{padding:calc(14px + env(safe-area-inset-top,0px)) max(18px,env(safe-area-inset-right,0px)) 10px max(18px,env(safe-area-inset-left,0px));display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line);background:var(--bg)}.brand{display:flex;align-items:center;gap:9px;font-weight:800;font-size:16px}.logo{width:26px;height:26px;color:var(--rose);flex:none}.top .meta{font-size:11.5px;color:var(--muted);text-align:right}.screen{flex:1;overflow-y:auto;padding:16px 16px 24px;display:flex;flex-direction:column;gap:14px}.nav{display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid var(--line);background:var(--surface);padding:6px 4px calc(8px + env(safe-area-inset-bottom,0px))}.nav button{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:10.5px;font-weight:600;color:var(--muted);padding:5px 0;border-radius:10px}.nav button svg{width:22px;height:22px}.nav button[aria-current=page],.nav button.close-btn[aria-current=page],.nav button.close-btn{color:var(--rose)}.nav .close-btn .pill{background:var(--rose);color:var(--on-rose);border-radius:12px;padding:3px 10px;display:flex}.nav .close-btn .pill svg{width:20px;height:20px}h2{margin:0;font-size:20px;font-weight:800;letter-spacing:-.01em}h3{margin:0;font-size:13px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}.card{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:14px}.row{display:flex;justify-content:space-between;align-items:center;gap:10px}.kpis{display:grid;grid-template-columns:1fr 1fr;gap:10px}.kpi{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:12px;display:flex;flex-direction:column;gap:3px;min-width:0}.kpi .l{font-size:11.5px;color:var(--muted);font-weight:600}.kpi .v{font-size:20px;font-weight:800;letter-spacing:-.01em}.kpi .s{font-size:11.5px;color:var(--muted)}.bar{height:6px;border-radius:4px;background:var(--sunk);overflow:hidden}.bar i{display:block;height:100%;background:var(--rose);border-radius:4px}.good{color:var(--good)}.bad{color:var(--bad)}.need{background:var(--gold-soft);border:1px solid var(--gold);border-radius:18px;padding:14px;display:flex;justify-content:space-between;gap:12px;align-items:center;text-align:left;width:100%}.need .l{font-size:12px;font-weight:700;color:var(--gold)}.need .v{font-size:22px;font-weight:800}.need .s{font-size:12px;color:var(--muted)}.chev{width:18px;height:18px;color:var(--muted);flex:none}.proj{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:4px 10px;align-items:center;width:100%;text-align:left;padding:12px 14px;background:var(--surface);border:1px solid var(--line);border-radius:16px}.proj b{font-size:14.5px}.proj .sub{grid-column:1/2;font-size:12px;color:var(--muted)}.proj .res{font-weight:800;text-align:right}.chip{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:700;padding:2px 8px;border-radius:999px}.chip.good{background:var(--good-soft)}.chip.bad{background:var(--bad-soft)}.chip.gold{background:var(--gold-soft);color:var(--gold)}.chip.rose{background:var(--rose-soft);color:var(--rose)}.seg{display:flex;background:var(--sunk);border-radius:12px;padding:3px;gap:3px}.seg button{flex:1;padding:7px 0;border-radius:9px;font-size:12.5px;font-weight:700;color:var(--muted)}.seg button[aria-pressed=true]{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px #00000014}.back{display:inline-flex;align-items:center;gap:4px;color:var(--rose);font-weight:700;font-size:13px;align-self:flex-start}.chart{position:relative;padding-top:8px}.bars{display:flex;align-items:flex-end;gap:3px;height:120px;border-bottom:1px solid var(--line)}.bars button{flex:1;background:var(--rose);opacity:.55;border-radius:4px 4px 0 0;min-width:0}.bars button.we{opacity:.8}.bars button.sel{opacity:1;background:var(--gold)}.axis{display:flex;justify-content:space-between;font-size:10.5px;color:var(--muted);margin-top:4px}.tip{font-size:12.5px;margin-top:8px;display:flex;justify-content:space-between}.target{position:absolute;left:0;right:0;border-top:1.5px dashed var(--gold)}.target span{position:absolute;right:0;top:-16px;font-size:10px;color:var(--gold);font-weight:700}.cost{display:grid;grid-template-columns:92px minmax(0,1fr) 74px 38px;gap:8px;align-items:center;font-size:13px;padding:5px 0}.cost .t{height:8px;background:var(--sunk);border-radius:5px;overflow:hidden}.cost .t i{display:block;height:100%;background:var(--cost);border-radius:5px}.cost .a{text-align:right;font-weight:600}.cost .p{text-align:right;color:var(--muted);font-size:12px}.cost .p.over{color:var(--bad);font-weight:700}.sum{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:8px;margin-top:4px;font-weight:700}.list{display:flex;flex-direction:column}.li{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:10px;padding:10px 0;border-bottom:1px solid var(--line);align-items:center}.li:last-child{border-bottom:0}.li .d{font-size:12px;font-weight:700;color:var(--rose);background:var(--rose-soft);border-radius:10px;text-align:center;padding:6px 0;line-height:1.1}.li .d small{display:block;font-size:10px;font-weight:600}.li .w{min-width:0}.li .w b{display:block;font-size:13.5px;font-weight:600}.li .w span{font-size:11.5px;color:var(--muted)}.li .a{font-weight:700}.tx{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;padding:9px 0;border-bottom:1px solid var(--line)}.tx:last-child{border-bottom:0}.tx b{font-weight:600;font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tx span{font-size:11.5px;color:var(--muted)}.tx .a{font-weight:700;text-align:right}.calc div{display:flex;justify-content:space-between;padding:4px 0;font-size:13.5px}.calc .tot{border-top:1px solid var(--line);margin-top:4px;padding-top:8px;font-weight:800;font-size:15px}.share div{display:flex;justify-content:space-between;padding:5px 0;font-size:13.5px}.tbl{overflow-x:auto;border:1px solid var(--line);border-radius:16px;background:var(--surface)}table{border-collapse:collapse;width:100%;min-width:430px;font-size:12.5px}th,td{padding:9px 8px;text-align:right;border-bottom:1px solid var(--line);white-space:nowrap}th:first-child,td:first-child{text-align:left;position:sticky;left:0;background:var(--surface)}th{font-size:10.5px;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}tr:last-child td{border-bottom:0}td.over{color:var(--bad);font-weight:800;background:var(--bad-soft)}.login{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px;padding:28px;text-align:center}.login .logo{width:72px;height:72px}.login h2{font-size:26px}.btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:13px;border-radius:14px;font-weight:700;font-size:15px}.btn.primary{background:var(--rose);color:var(--on-rose)}.btn.ghost{border:1px solid var(--line);background:var(--surface)}.field{width:100%;padding:12px 14px;border-radius:12px;border:1px solid var(--line);background:var(--surface)}.or{font-size:12px;color:var(--muted)}.fine{font-size:11.5px;color:var(--muted);max-width:260px}.faceid{position:absolute;top:0;right:0;bottom:0;left:0;background:#1410188c;display:flex;align-items:center;justify-content:center;z-index:5}.faceid div{background:var(--surface);border-radius:22px;padding:24px 30px;display:flex;flex-direction:column;align-items:center;gap:8px;font-weight:700}.faceid svg{width:54px;height:54px;color:var(--good)}.chat{display:flex;flex-direction:column;gap:9px}.msg{max-width:85%;padding:10px 13px;border-radius:18px;font-size:13.5px}.msg.bot{background:var(--surface);border:1px solid var(--line);align-self:flex-start;border-bottom-left-radius:6px}.msg.me{background:var(--rose);color:var(--on-rose);align-self:flex-end;border-bottom-right-radius:6px}.msg.sys{align-self:center;font-size:11.5px;color:var(--muted);background:none;padding:2px}.photo{width:150px;height:96px;border-radius:12px;background:repeating-linear-gradient(0deg,var(--sunk) 0 7px,var(--surface) 7px 9px);border:1px solid var(--line);display:flex;align-items:flex-end;padding:6px;font-size:11px;font-weight:700;color:var(--muted)}.read{display:grid;grid-template-columns:auto auto;gap:2px 14px;font-size:12.5px;margin-top:6px}.read span:nth-child(2n){text-align:right;font-weight:700}.read .blur{color:var(--gold)}.replies{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end}.replies button{padding:8px 13px;border-radius:999px;border:1.5px solid var(--rose);color:var(--rose);font-weight:700;font-size:13px;background:var(--surface)}.replies button.solid{background:var(--rose);color:var(--on-rose)}.inrow{display:flex;gap:7px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.inrow label{font-size:12.5px;font-weight:600;color:var(--muted)}.inrow input{width:96px;padding:8px 10px;border-radius:10px;border:1px solid var(--line);background:var(--surface);text-align:right}.inrow input.wide{width:100%;text-align:left}.summary{background:var(--surface);border:1.5px solid var(--rose);border-radius:18px;padding:13px;font-size:13px;align-self:stretch}.summary div{display:flex;justify-content:space-between;gap:12px;padding:3px 0}.typing{display:inline-flex;gap:4px}.typing i{width:6px;height:6px;border-radius:50%;background:var(--muted);opacity:.5}@media (prefers-reduced-motion:no-preference){.typing i{animation:blink 1s infinite}.typing i:nth-child(2){animation-delay:.2s}.typing i:nth-child(3){animation-delay:.4s}@keyframes blink{50%{opacity:1}}.msg,.replies,.summary{animation:pop .22s ease-out}@keyframes pop{0%{transform:translateY(6px);opacity:.4}to{transform:none;opacity:1}}}.set{display:flex;flex-direction:column}.set .item{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid var(--line);gap:12px}.set .item:last-child{border-bottom:0}.set .item span{font-size:12px;color:var(--muted);display:block}.sw{width:44px;height:26px;border-radius:13px;background:var(--sunk);position:relative;flex:none;border:1px solid var(--line)}.sw:after{content:"";position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:50%;background:var(--surface);box-shadow:0 1px 3px #0003;transition:left .18s}.sw[aria-checked=true]{background:var(--rose);border-color:var(--rose)}.sw[aria-checked=true]:after{left:20px}.toast{position:absolute;left:16px;right:16px;bottom:84px;background:var(--ink);color:var(--bg);padding:12px 14px;border-radius:14px;font-weight:600;font-size:13px;z-index:6}.banner{font-size:11px;color:var(--muted);text-align:center}.empty{color:var(--muted);font-size:13px;padding:6px 0}.err{background:var(--bad-soft);color:var(--bad);border-radius:12px;padding:10px 12px;font-size:13px}.select{width:100%;padding:11px 12px;border-radius:12px;border:1px solid var(--line);background:var(--surface);color:var(--ink);font:inherit}.photo img{width:100%;height:100%;object-fit:cover;border-radius:10px}.photo.has{padding:0;background:none}.code{letter-spacing:.4em;text-align:center;font-size:20px;font-weight:700}.brief .bl{display:grid;grid-template-columns:14px minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid var(--line)}.brief .bl:last-of-type{border-bottom:0}.brief .w b{display:block;font-size:13.5px}.brief .w span{display:block;font-size:11.5px;color:var(--muted)}.brief .w .why{color:var(--ink);opacity:.8}.dot{width:12px;height:12px;border-radius:50%;display:block}.dot.green{background:var(--good)}.dot.amber{background:var(--gold)}.dot.red{background:var(--bad)}.call{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:700;color:var(--rose);border:1.5px solid var(--rose);border-radius:999px;padding:5px 10px;text-decoration:none}.wa{padding:8px 13px;border-radius:999px;border:1.5px solid var(--good);color:var(--good);font-weight:700;font-size:13px;text-decoration:none;background:var(--surface)}.tabs{display:flex;gap:6px;overflow-x:auto}.tabs button{padding:7px 12px;border-radius:999px;border:1px solid var(--line);font-weight:700;font-size:12.5px;color:var(--muted);background:var(--surface);white-space:nowrap}.tabs button[aria-pressed=true]{background:var(--rose);border-color:var(--rose);color:var(--on-rose)}.prog{height:8px;border-radius:5px;background:var(--sunk);overflow:hidden}.prog i{display:block;height:100%;background:var(--rose);transition:width .3s}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:8px}.grid2 label,.stack label{font-size:11.5px;font-weight:600;color:var(--muted);display:flex;flex-direction:column;gap:3px}.grid2 input,.grid2 select,.stack input,.stack select,.stack textarea{padding:9px 10px;border-radius:10px;border:1px solid var(--line);background:var(--surface);color:var(--ink);font:inherit;width:100%}.stack{display:flex;flex-direction:column;gap:8px}.q{background:var(--gold-soft);border:1px solid var(--gold);border-radius:12px;padding:10px 12px;font-size:13px}.pages{display:flex;gap:8px;overflow-x:auto}.pages img{height:220px;border-radius:10px;border:1px solid var(--line)}.lines{overflow-x:auto;border:1px solid var(--line);border-radius:12px}.lines table{min-width:760px;font-size:12px}.lines td,.lines th{padding:5px 6px;text-align:left}.lines input,.lines select{width:100%;min-width:52px;padding:5px 6px;border-radius:8px;border:1px solid var(--line);background:var(--surface);color:var(--ink);font:inherit;font-size:12px}.lines td.n input{text-align:right}.bill{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;padding:10px 0;border-bottom:1px solid var(--line);text-align:left;width:100%}.bill:last-child{border-bottom:0}.bill b{font-size:13.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bill span{font-size:11.5px;color:var(--muted)}.bill .a{font-weight:700;text-align:right;color:var(--ink)}.hbar{display:grid;grid-template-columns:minmax(0,120px) minmax(0,1fr) 78px;gap:8px;align-items:center;font-size:12.5px;padding:4px 0}.hbar span:first-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hbar .t{height:9px;background:var(--sunk);border-radius:5px;overflow:hidden}.hbar .t i{display:block;height:100%;background:var(--rose);opacity:.8;border-radius:5px}.hbar .a{text-align:right;font-weight:700}.up{color:var(--bad);font-weight:700}.down{color:var(--good);font-weight:700}.mic{display:inline-flex;align-items:center;gap:5px}.mic.on{background:var(--bad);border-color:var(--bad);color:#fff}.shell{height:100%;display:flex;flex-direction:column;background:var(--bg)}.main{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden;position:relative}.shell.is-wide{flex-direction:row;background:var(--page)}.is-wide .main{background:var(--bg)}.side-nav{width:248px;flex:none;display:flex;flex-direction:column;background:var(--surface);border-right:1px solid var(--line);padding:18px 14px}.side-brand{display:flex;gap:10px;align-items:center;padding:4px 8px 18px}.side-brand .logo{width:30px;height:30px}.side-brand b{display:block;font-size:16px;font-weight:800}.side-brand span{font-size:11.5px;color:var(--muted)}.ws{position:relative}.ws-name{font-size:11.5px;color:var(--muted)}.ws-btn{white-space:nowrap;display:inline-flex;align-items:center;gap:4px;border:0;background:none;padding:2px 0;font:inherit;font-size:12px;font-weight:600;color:var(--muted);cursor:pointer;min-height:24px}.ws-btn:hover,.ws-btn[aria-expanded=true]{color:var(--rose)}.ws-btn svg{transform:rotate(90deg);width:14px;height:14px}.ws-btn[aria-expanded=true] svg{transform:rotate(-90deg)}.ws-menu{position:absolute;z-index:40;top:calc(100% + 6px);left:0;min-width:220px;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 32px #00000024;padding:6px;display:flex;flex-direction:column}.set .item .ws-menu{left:auto;right:0}.ws-menu button{display:flex;flex-direction:column;align-items:flex-start;gap:1px;border:0;background:none;padding:9px 10px;border-radius:8px;font:inherit;color:var(--ink);text-align:left;cursor:pointer;min-height:44px}.ws-menu button:hover{background:var(--sunk)}.ws-menu button[aria-selected=true]{background:var(--rose-soft)}.ws-menu button[aria-selected=true] b{color:var(--rose)}.ws-menu b{font-size:13.5px;display:block}.ws-menu span{font-size:11.5px;color:var(--muted)}.ws-msg{font-size:11.5px;color:var(--muted);padding:6px 10px}.ws-menu{max-height:min(70vh,520px);overflow:auto}.ws-projects{display:flex;flex-direction:column;margin:2px 0 6px 10px;padding-left:8px;border-left:2px solid var(--rose-soft)}.ws-projects button{flex-direction:row;align-items:center;gap:8px;min-height:36px;padding:6px 8px;font-size:13px;font-weight:500}.ws-projects .dot{width:8px;height:8px;border-radius:50%;display:inline-block;flex:none}.side-nav nav{display:flex;flex-direction:column;gap:2px;flex:1}.side-nav nav button{display:flex;align-items:center;gap:11px;padding:9px 10px;border-radius:10px;font-weight:600;font-size:13.5px;color:var(--muted);text-align:left}.side-nav nav button svg{width:19px;height:19px;flex:none}.side-nav nav button:hover{background:var(--sunk);color:var(--ink)}.side-nav nav button[aria-current=page]{background:var(--rose-soft);color:var(--rose)}.side-nav nav button.last{margin-top:auto}.side-nav nav em{margin-left:auto;font-style:normal;font-size:11px;font-weight:800;background:var(--rose);color:var(--on-rose);border-radius:999px;padding:1px 7px}.side-foot{border-top:1px solid var(--line);padding-top:12px;margin-top:10px;display:flex;flex-direction:column;gap:10px}.viewas{display:flex;flex-direction:column;gap:4px;font-size:11px;font-weight:700;color:var(--gold);text-transform:uppercase;letter-spacing:.05em}.viewas select,.filters select,.filters input{padding:8px 10px;border-radius:10px;border:1px solid var(--line);background:var(--surface);color:var(--ink);font:inherit;font-size:13px;text-transform:none;letter-spacing:0;font-weight:500}.who{display:flex;gap:9px;align-items:center;min-width:0}.who b{display:block;font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:170px}.who span{font-size:11.5px;color:var(--muted)}.avatar{width:30px;height:30px;border-radius:50%;background:var(--rose-soft);color:var(--rose);display:grid;place-items:center;font-weight:800;flex:none}.is-wide .screen{padding:28px max(32px,calc((100% - 1280px)/2)) 48px;gap:18px}.is-wide .screen.narrow{padding-inline:max(32px,calc((100% - 760px)/2))}.is-wide .top{padding:14px 32px;background:var(--bg)}.is-wide .top .logo{display:none}.is-wide .top:has(+.screen.wide){display:none}.narrow{display:flex;flex-direction:column;gap:14px;max-width:760px;width:100%}.pagehead{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap}.pagehead p{margin:2px 0 0;color:var(--muted);font-size:13px}@media (max-width:1023px){.pagehead h2{display:none}.pagehead{align-items:stretch}}.filters{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.filters input{min-width:200px;flex:1}.filters.tight{flex-wrap:nowrap}@media (max-width:640px){.filters.tight{flex-wrap:wrap;width:100%}.filters.tight select{flex:1}.filters input{min-width:0}}.seg.small button{padding:5px 10px;font-size:12px;flex:none}.tiles{display:grid;gap:12px}.tiles.four{grid-template-columns:repeat(4,minmax(0,1fr))}.tiles.three{grid-template-columns:repeat(3,minmax(0,1fr))}@media (max-width:820px){.tiles.four{grid-template-columns:1fr 1fr}}@media (max-width:520px){.tiles.three{grid-template-columns:1fr 1fr}.tiles.three>:last-child{grid-column:1/3}}.tile{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:14px 16px;display:flex;flex-direction:column;gap:2px;position:relative;text-align:left;box-shadow:var(--shadow);min-width:0}.tile span{font-size:12px;color:var(--muted);font-weight:600}.tile b{font-size:24px;font-weight:800;letter-spacing:-.02em}.tile small{font-size:11.5px;color:var(--muted)}.tile .spark{position:absolute;right:14px;top:14px;opacity:.9}@media (max-width:520px){.tile b{font-size:19px}.tile .spark{display:none}}button.tile:hover{border-color:var(--gold)}.tile.warn{background:var(--gold-soft);border-color:var(--gold)}.tile.bad-t{background:var(--bad-soft);border-color:var(--bad)}.spark.rev{stroke:var(--rev)}.spark.cost{stroke:var(--cost)}.spark.good{stroke:var(--good)}.spark.bad{stroke:var(--bad)}.duo,.grid-1-1{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}.grid-2-1{display:grid;grid-template-columns:2fr 1fr;gap:16px}.split{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px;align-items:start}.split .side{display:flex;flex-direction:column;gap:16px}@media (max-width:1100px){.grid-2-1,.grid-1-1,.duo,.split{grid-template-columns:minmax(0,1fr)}}.is-wide .card{padding:18px;box-shadow:var(--shadow)}.card.flush{padding:0;overflow:hidden}.cardhead{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.card.flush .cardhead{padding:14px 16px 0;margin-bottom:8px}.headline{margin:3px 0 0;font-size:15px;font-weight:700;color:var(--ink);text-transform:none;letter-spacing:0}.hint{font-size:11.5px;color:var(--muted);margin-top:10px}.link{color:var(--rose);font-weight:700;text-decoration:underline;text-underline-offset:2px}.legend{display:flex;gap:12px;font-size:12px;color:var(--muted);flex-wrap:wrap}.legend span{display:inline-flex;align-items:center;gap:5px}.legend i{width:10px;height:10px;border-radius:3px;display:inline-block}.vchart{display:grid;grid-template-columns:auto 1fr;gap:8px;height:220px}.vchart .grid{display:flex;flex-direction:column;justify-content:space-between;font-size:10.5px;color:var(--muted);padding-bottom:22px;text-align:right}.vchart .cols{display:flex;gap:4px;align-items:stretch;background:linear-gradient(var(--line),var(--line)) 0 0/100% 1px no-repeat,linear-gradient(var(--line),var(--line)) 0 calc(50% - 11px) /100% 1px no-repeat}.col{flex:1;display:flex;flex-direction:column;align-items:stretch;min-width:0;border-radius:8px;padding:0 1px}.col:hover:not(:disabled){background:var(--sunk)}.col .pair{flex:1;display:flex;align-items:flex-end;justify-content:center;gap:2px;border-bottom:1px solid var(--line)}.col .pair i{display:block;width:44%;max-width:16px;border-radius:4px 4px 0 0;min-height:1px;transition:opacity .2s}.col .rev{background:var(--rev)}.col .cost{background:var(--cost)}.col .lbl{font-size:10.5px;color:var(--muted);text-align:center;height:22px;line-height:22px;font-weight:600}.col .lbl.loss{color:var(--bad)}.col.dim .pair i{opacity:.28}.col.on .lbl{color:var(--ink);font-weight:800}@media (max-width:520px){.vchart{height:180px}.col .lbl{font-size:9.5px}}.rchart{display:flex;gap:4px;height:220px;position:relative}.rcol{flex:1;display:flex;flex-direction:column;min-width:0;position:relative;border-radius:8px}.rcol:hover:not(:disabled){background:var(--sunk)}.rcol .half{flex:1;display:flex;justify-content:center}.rcol .up{align-items:flex-end;border-bottom:1px solid var(--muted)}.rcol .down{align-items:flex-start}.rcol i{display:block;width:60%;max-width:18px;min-height:1px}.rcol .plus{background:var(--good);border-radius:4px 4px 0 0}.rcol .minus{background:var(--bad);border-radius:0 0 4px 4px}.rcol .lbl{font-size:10px;color:var(--muted);text-align:center;height:22px;line-height:22px}.rcol.dim i{opacity:.28}.rcol .tag{position:absolute;top:0;left:50%;transform:translate(-50%);font-size:11px;background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:2px 6px;white-space:nowrap;z-index:1}.hlist{display:flex;flex-direction:column}.hrow{display:grid;grid-template-columns:minmax(0,130px) minmax(0,1fr) 84px 44px;gap:10px;align-items:center;padding:7px 4px;border-radius:8px;text-align:left;font-size:13px}.hrow:hover:not(:disabled){background:var(--sunk)}.hrow .n{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600}.hrow .t{height:10px;border-radius:5px;background:var(--sunk);overflow:hidden}.hrow .t i{display:block;height:100%;background:var(--cost);border-radius:5px}.hrow .a{text-align:right;font-weight:700}.hrow .p{text-align:right;color:var(--muted);font-size:12px}.hrow .p.over{color:var(--bad);font-weight:800}.hfoot{font-size:11.5px;color:var(--muted);margin-top:6px}@media (max-width:520px){.hrow{grid-template-columns:minmax(0,96px) minmax(0,1fr) 72px 36px;gap:6px}}.ptable .ph,.ptable .pr{display:grid;grid-template-columns:minmax(0,1.6fr) 1fr 1fr 1fr;gap:10px;align-items:center;padding:10px 16px}.ptable .ph{font-size:10.5px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);font-weight:700;border-bottom:1px solid var(--line)}.ptable .pr{width:100%;text-align:left;border-bottom:1px solid var(--line);font-size:13px}.ptable .pr:last-child{border-bottom:0}.ptable .pr:hover:not(:disabled){background:var(--sunk)}.ptable .w b{display:block;font-weight:700}.ptable .w small{color:var(--muted);font-size:11.5px}.r{text-align:right}.strong{font-weight:800}@media (max-width:640px){.ptable .ph,.ptable .pr{grid-template-columns:minmax(0,1.5fr) 1fr 1fr}.opt{display:none!important}}.txt{display:flex;flex-direction:column}.txh,.txr{display:grid;grid-template-columns:62px minmax(0,2.4fr) minmax(0,1fr) minmax(0,1fr) 92px 110px;gap:12px;align-items:center;padding:10px 16px}.txh{font-size:10.5px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);font-weight:700;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--surface);z-index:1}.txr{width:100%;text-align:left;border-bottom:1px solid var(--line);font-size:13px}.txr:last-child{border-bottom:0}.txr:hover:not(:disabled){background:var(--sunk)}.txr .d{color:var(--muted);font-size:12px;font-weight:600}.txr .w{min-width:0}.txr .w b{display:block;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.txr .w small{display:block;font-size:11.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.txr .m{color:var(--muted);font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.txr .a{font-weight:700}.txt.people .txh,.txt.people .txr{grid-template-columns:minmax(0,2fr) 120px minmax(0,2fr) 90px 24px}.drawer .txh,.drawer .txr{grid-template-columns:52px minmax(0,1fr) 78px 92px;padding:9px 4px}.drawer .opt{display:none}@media (max-width:820px){.txh,.txr{grid-template-columns:50px minmax(0,1fr) 70px 86px;gap:8px;padding:10px 12px}.txt.people .txh,.txt.people .txr{grid-template-columns:minmax(0,1fr) 92px 0}.opt{display:none!important}}.doc{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:700;padding:3px 8px;border-radius:999px;justify-self:start;white-space:nowrap}.doc.ok{background:var(--good-soft);color:var(--good)}.doc.miss{background:var(--bad-soft);color:var(--bad)}.doc.std{background:var(--rev-soft);color:var(--rev)}.doc.warn{background:var(--gold-soft);color:var(--gold)}.doc.na{color:var(--muted);padding-inline:12px}.empty.pad{padding:18px 16px}.balance{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:10px 16px;text-align:right;box-shadow:var(--shadow)}.balance span{display:block;font-size:11.5px;color:var(--muted);font-weight:600}.balance b{font-size:22px;font-weight:800}.balance small{display:block;font-size:11px;color:var(--muted)}.kv div{display:flex;justify-content:space-between;padding:6px 0;border-bottom:1px solid var(--line);font-size:13px}.kv div:last-child{border-bottom:0}.legendlist{display:flex;flex-direction:column;gap:8px;font-size:12.5px;color:var(--muted)}.legendlist div{display:grid;grid-template-columns:76px 1fr;gap:8px;align-items:center}.drawer-wrap{position:fixed;top:0;right:0;bottom:0;left:0;background:#14101861;z-index:20;display:flex;justify-content:flex-end}.drawer{background:var(--bg);width:min(520px,100%);height:100%;display:flex;flex-direction:column;box-shadow:-8px 0 30px #0000001f}.drawer-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:18px 20px 12px;border-bottom:1px solid var(--line)}.drawer-head b{display:block;font-size:17px;font-weight:800}.drawer-head span{font-size:12.5px;color:var(--muted)}.x{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;color:var(--muted);flex:none}.x:hover{background:var(--sunk)}.drawer-body{flex:1;overflow-y:auto;padding:16px 20px 28px;display:flex;flex-direction:column;gap:14px}@media (max-width:1023px){.drawer-wrap{align-items:flex-end}.drawer{height:auto;max-height:88%;border-radius:20px 20px 0 0;padding-bottom:env(safe-area-inset-bottom,0px)}}@media (prefers-reduced-motion:no-preference){.drawer{animation:slide .22s ease-out}@keyframes slide{0%{transform:translate(24px);opacity:.6}to{transform:none;opacity:1}}}.big{font-size:28px;font-weight:800;letter-spacing:-.02em}.facts{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px}.facts div{display:flex;flex-direction:column;gap:1px;min-width:0}.facts .wide{grid-column:1/3}.facts span{font-size:11.5px;color:var(--muted);font-weight:600}.facts b{font-size:13.5px;font-weight:700;overflow-wrap:anywhere}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:500!important;font-size:12px!important}.note{background:var(--sunk);border-radius:12px;padding:10px 12px;font-size:13px}.note.warn{background:var(--gold-soft);border:1px solid var(--gold)}.billpages{display:flex;flex-direction:column;gap:10px}.billpages img{width:100%;border-radius:10px;border:1px solid var(--line);background:#fff}.billph{height:220px;border:1.5px dashed var(--line);border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--muted);font-size:13px}.morelist{display:flex;flex-direction:column}.morelist button{display:grid;grid-template-columns:24px 1fr 16px;gap:12px;align-items:center;padding:14px 4px;border-bottom:1px solid var(--line);font-weight:600;text-align:left}.morelist svg{width:20px;height:20px;color:var(--muted)}.rolechip{font-size:11.5px;font-weight:700;padding:3px 9px;border-radius:999px;background:var(--sunk)}.r-owner{background:var(--rose-soft);color:var(--rose)}.r-investor{background:var(--rev-soft);color:var(--rev)}.r-cashier{background:var(--good-soft);color:var(--good)}.r-gf{background:var(--gold-soft);color:var(--gold)}.roles{display:grid;grid-template-columns:1fr 1fr;gap:8px}.rolecard{border:1.5px solid var(--line);border-radius:12px;padding:10px;text-align:left;background:var(--surface)}.rolecard b{display:block;font-size:13.5px}.rolecard span{font-size:11.5px;color:var(--muted)}.rolecard[aria-pressed=true]{border-color:var(--rose);background:var(--rose-soft)}.sees{display:flex;flex-wrap:wrap;gap:6px}.sees span{display:inline-flex;align-items:center;gap:4px;font-size:11.5px;padding:3px 8px;border-radius:999px;background:var(--sunk);color:var(--muted);text-decoration:line-through}.sees span.on{background:var(--good-soft);color:var(--good);text-decoration:none;font-weight:700}.checks{display:flex;flex-direction:column;gap:6px}.checks label{display:flex;gap:8px;align-items:center;font-size:13.5px}.lab{font-size:12px;font-weight:700;color:var(--muted);display:flex;flex-direction:column;gap:4px}.row-btns{display:flex;gap:8px;flex-wrap:wrap}.btn.auto{width:auto;padding:10px 16px;font-size:14px}.btn.danger{background:var(--bad);color:#fff}.dangertext{color:var(--bad)}.btn:disabled{opacity:.45;cursor:default}.matrix{overflow-x:auto}.matrix .mh,.matrix .mr{display:grid;grid-template-columns:90px repeat(8,minmax(64px,1fr));gap:4px;align-items:center;padding:7px 0;border-bottom:1px solid var(--line);font-size:12.5px;min-width:620px}.matrix .mh{font-size:10.5px;color:var(--muted);font-weight:700;text-transform:uppercase;letter-spacing:.03em}.matrix .mr span{text-align:center;color:var(--good)}.matrix .mh span{text-align:center}.matrix .mr i{display:inline-block;width:10px;height:2px;background:var(--line)}.matrix .mr:last-child{border-bottom:0}.cost.tap{width:100%;text-align:left;border-radius:8px}.cost.tap:hover{background:var(--sunk)}.filters .seg button,.pagehead .seg button{flex:none;padding:7px 12px;white-space:nowrap}.txr .m.bad{color:var(--bad)}@media (max-width:640px){.filters:not(.tight){display:grid;grid-template-columns:1fr 1fr}.filters:not(.tight) input{grid-column:1/3}.filters select{min-width:0;width:100%}}@media (max-width:520px){.txt:not(.people) .txh{display:none}.txt:not(.people) .txr{grid-template-columns:minmax(0,1fr) auto;gap:4px 10px}.txt:not(.people) .txr .d{display:none}.txt:not(.people) .txr .w{grid-row:1/3}.txt:not(.people) .txr .doc{grid-column:2;grid-row:2;justify-self:end}.txt:not(.people) .txr .a{grid-column:2;grid-row:1}}.drop.over{border-color:var(--rose);background:var(--rose-soft)}.dropzone{border:1.5px dashed var(--line);border-radius:12px;padding:14px;text-align:center;font-size:12.5px;color:var(--muted)}@media (max-width:1023px){.dropzone{display:none}}.uplist{display:flex;flex-direction:column}.upr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 16px;border-top:1px solid var(--line)}.upr .w b{display:block;font-size:13px;font-weight:600;overflow-wrap:anywhere}.upr .w small{display:block;font-size:11.5px;color:var(--muted)}.upr .prog{display:block;margin-top:6px;height:6px}.scanner{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;background:#0d0b10;color:#fff;display:flex;flex-direction:column}.scan-top{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:calc(10px + env(safe-area-inset-top,0px)) 14px 10px;font-size:13px;font-weight:600}.x.light{color:#fff}.autobtn{font-size:12px;font-weight:700;padding:6px 12px;border-radius:999px;border:1px solid rgba(255,255,255,.35);color:#fff}.autobtn.on{background:#2e8b57;border-color:#2e8b57}.scan-view{position:relative;flex:1;min-height:0;overflow:hidden}.scan-view video,.scan-view canvas{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover}.scan-msg{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;gap:14px;align-items:center;justify-content:center;text-align:center;padding:24px;font-size:14px}.scan-review{position:absolute;top:0;right:0;bottom:0;left:0;background:#0d0b10;display:flex;align-items:center;justify-content:center;padding:12px}.scan-review img{max-width:100%;max-height:100%;border-radius:6px;background:#fff}.scan-bottom{padding:12px 14px calc(16px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;gap:12px}.scan-hint{text-align:center;font-size:13px;font-weight:600;color:#f08a80}.scan-hint.steady{color:#6ccb94}.scan-hint.neutral{color:#fff}.scan-actions{display:grid;grid-template-columns:1fr auto 1fr;align-items:center}.shutter{width:72px;height:72px;border-radius:50%;background:#fff;border:5px solid rgba(255,255,255,.35);background-clip:padding-box}.shutter:active{transform:scale(.94)}.scan-choices{display:grid;grid-template-columns:1fr 1fr;gap:8px}.btn.light{color:#fff;border-color:#ffffff59;background:transparent}.btn svg{flex:none}.billpages .pg,.pages .pg{padding:0;border:0;background:none;cursor:zoom-in;display:block}.pages .pg img{height:220px;width:auto}.viewer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;background:#0e0c12f0;display:flex;flex-direction:column;color:#f2eef5}.vbar{display:flex;align-items:center;gap:10px;padding:calc(10px + env(safe-area-inset-top,0px)) 14px 10px;border-bottom:1px solid rgba(255,255,255,.12)}.vbar b{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.vcount{font-size:12.5px;color:#c9c2d0;white-space:nowrap}.vtools{display:flex;gap:6px;align-items:center}.vtools button,.vtools a{min-height:36px;min-width:36px;padding:0 10px;border-radius:9px;border:1px solid rgba(255,255,255,.2);background:#ffffff0f;color:inherit;font:inherit;font-size:13px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer}.vtools button:disabled{opacity:.4;cursor:default}.vstage{flex:1;overflow:auto;display:flex;align-items:flex-start;justify-content:center;padding:12px}.vstage img{max-width:100%;max-height:100%;object-fit:contain;background:#fff;border-radius:6px;margin:auto}.vstage iframe{width:100%;height:100%;border:0;background:#fff;border-radius:6px}.vthumbs{display:flex;gap:8px;overflow-x:auto;padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px));border-top:1px solid rgba(255,255,255,.12);align-items:center}.vthumbs button{flex:none;height:64px;min-width:44px;padding:0;border-radius:8px;border:2px solid transparent;background:#ffffff14;color:inherit;font-size:20px;cursor:pointer;overflow:hidden}.vthumbs button.on{border-color:var(--rose)}.vthumbs button:disabled{opacity:.35}.vthumbs img{height:100%;width:auto;display:block}@media (max-width:600px){.vtools a,.vcount{display:none}}.sdot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:8px;vertical-align:middle;background:var(--muted)}.sdot.good{background:var(--good)}.sdot.bad{background:var(--bad)}.sdot.warnc{background:var(--gold)}.stackcol{display:flex;flex-direction:column;gap:16px;min-width:0}.tile .bar{margin:6px 0 2px}@media (max-width:1100px){.split.side-first .side{order:-1}}.ptable.projs .ph,.ptable.projs .pr{grid-template-columns:minmax(0,2fr) 1fr 1fr 1fr 1fr}@media (max-width:640px){.ptable.projs .ph,.ptable.projs .pr{grid-template-columns:minmax(0,1.6fr) 1fr 1fr}}.txh.due,.txr.due{grid-template-columns:62px minmax(0,2fr) minmax(0,1.2fr) minmax(0,1fr) 110px}@media (max-width:820px){.txh.due,.txr.due{grid-template-columns:50px minmax(0,1fr) 96px}}.tbl table.cmp{width:100%;border-collapse:collapse;font-size:13px;white-space:nowrap}.tbl table.cmp th{position:sticky;top:0;background:var(--surface);font-size:10.5px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);font-weight:700;padding:10px 12px;border-bottom:1px solid var(--line)}.tbl table.cmp td{padding:10px 12px;border-bottom:1px solid var(--line)}.tbl table.cmp tr:last-child td{border-bottom:0}.tbl table.cmp th:first-child,.tbl table.cmp td:first-child{position:sticky;left:0;background:var(--surface);text-align:left;z-index:1}.tbl table.cmp td.over{color:var(--bad);font-weight:800}.tbl table.cmp tbody tr:hover td{background:var(--sunk)}.tree{display:flex;flex-direction:column}.tree-tools{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px;flex-wrap:wrap}.tree-head,.tree-row{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(0,1fr) 110px 64px;gap:12px;align-items:center}.tree-head{font-size:10.5px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);font-weight:700;padding:6px 8px;border-bottom:1px solid var(--line)}.tree-row{width:100%;text-align:left;padding:9px 8px;border-bottom:1px solid var(--line);font-size:13px;border-radius:0}.tree-row:hover{background:var(--sunk)}.tree-row .tw{display:flex;align-items:center;gap:6px;min-width:0}.tree-row .tl{min-width:0;display:flex;flex-direction:column}.tree-row .tl b{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tree-row .tl small{font-size:11.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tree-row.l1 .tw{padding-left:18px}.tree-row.l1 .tl b{font-weight:600}.tree-row.l2 .tw{padding-left:36px}.tree-row.l2 .tl b{font-weight:500}.tree-row.l3 .tw{padding-left:54px}.tree-row.leaf{background:var(--bg)}.tree-row.leaf .tl b{font-weight:500}.tree-row .caret{font-style:normal;display:inline-block;width:14px;color:var(--muted);transition:transform .15s;flex:none;font-size:15px}.tree-row .caret.open{transform:rotate(90deg)}.tree-row .tbar{height:6px;border-radius:4px;background:var(--sunk);overflow:hidden}.tree-row .tbar i{display:block;height:100%;background:var(--cost,var(--gold));border-radius:4px}.tree-row .ta{text-align:right;font-weight:700;white-space:nowrap}.tree-row .tp{text-align:right;color:var(--muted);font-size:12px}.tree-foot{display:flex;justify-content:space-between;padding:10px 8px 0;font-size:13.5px}@media (max-width:640px){.tree-head,.tree-row{grid-template-columns:minmax(0,1fr) 92px 40px}.tree-row .tbar,.tree-head>:nth-child(2){display:none}.tree-row.l1 .tw{padding-left:10px}.tree-row.l2 .tw{padding-left:20px}.tree-row.l3 .tw{padding-left:30px}}.chk{display:flex;gap:8px;align-items:center;font-size:13px}.txh.run,.txr.run{grid-template-columns:62px minmax(0,2fr) 110px 110px}@media (max-width:820px){.txh.run,.txr.run{grid-template-columns:50px minmax(0,1fr) 86px 86px}}.paypanel .fld{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--muted);font-weight:600}.paypanel .scope{flex-wrap:wrap}.paypanel .scope button{white-space:normal;text-align:left}.paypanel .attach .row{display:flex;justify-content:space-between;gap:8px;font-size:12.5px;padding:6px 0;border-top:1px solid var(--line)}.mini{display:flex;flex-direction:column;max-height:360px;overflow-y:auto}.mrow{display:grid;grid-template-columns:52px minmax(0,1fr) auto 90px;gap:8px;align-items:center;padding:7px 4px;border-bottom:1px solid var(--line);font-size:12.5px;text-align:left;width:100%}.mrow:hover,.mrow.on{background:var(--sunk)}.mrow .w{color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.txh.sup,.txr.sup{grid-template-columns:minmax(0,2fr) minmax(0,1.4fr) 80px 90px 120px}@media (max-width:820px){.txh.sup,.txr.sup{grid-template-columns:minmax(0,1fr) 64px 100px}}.drawer .txh.sup,.drawer .txr.sup{grid-template-columns:minmax(0,1fr) 64px 100px}.trust{display:flex;flex-direction:column;gap:6px;font-size:11.5px;color:var(--muted);padding:10px 12px;border-radius:12px;background:var(--rose-soft)}.trust div{display:flex;align-items:center;gap:7px}.trust svg{width:14px;height:14px;color:var(--rose);flex:none}.trust b{color:var(--ink);font-weight:700}.side-foot .trust{margin-bottom:10px}.login .trust{align-self:stretch}.login .tag{color:var(--muted);font-size:13.5px;margin-top:-6px}.side-nav{background:linear-gradient(180deg,var(--rose-soft) 0,var(--surface) 160px)}.trust span{text-align:left}:root{--ctl:40px;--ctl-s:32px;--r:10px;--r-card:14px;--warn:var(--gold);--warn-soft:var(--gold-soft);--fw-strong:700}@media (max-width:640px){:root{--ctl:44px;--ctl-s:36px}}body{font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}h2{font-size:22px;font-weight:700;letter-spacing:-.015em}h3{font-size:11.5px;font-weight:600;letter-spacing:.07em}b,strong,.strong{font-weight:600}.kpi .v,.tile b,.need .v,.proj .res,.li .a,.tx .a,.txr .a,.calc .tot,.sum{font-weight:var(--fw-strong)}.tile b{font-size:24px;letter-spacing:-.02em}@media (max-width:520px){.tile b{font-size:19px}}.card,.tile,.kpi,.proj,.tbl,.need,.summary{border-radius:var(--r-card)}.card{padding:16px}.card.flush{padding:0}.tile{padding:14px 16px}.screen{gap:16px}.btn,.replies button,.btn.auto{min-height:var(--ctl);height:auto;padding:0 16px;border-radius:var(--r);font-size:14px;font-weight:600;line-height:1.2;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:background-color .15s,border-color .15s,color .15s}.btn{width:100%}.btn.auto{width:auto}.btn.primary,.replies button.solid{background:var(--rose);color:var(--on-rose);border:1px solid var(--rose)}.btn.primary:hover:not(:disabled),.replies button.solid:hover:not(:disabled){filter:brightness(.95)}.btn.ghost,.replies button{background:var(--surface);color:var(--ink);border:1px solid var(--line)}.btn.ghost:hover:not(:disabled),.replies button:not(.solid):hover:not(:disabled){border-color:var(--rose);color:var(--rose)}.btn:disabled,.replies button:disabled{opacity:.45;cursor:default}.replies{gap:8px}.btn.danger{background:var(--surface);color:var(--bad);border:1px solid var(--bad)}.tabs button,.seg button,.seg.small button,.filters .seg button,.pagehead .seg button{min-height:var(--ctl-s);padding:0 12px;font-size:13px;font-weight:600;display:inline-flex;align-items:center;justify-content:center}.tabs button{border-radius:999px}.seg{border-radius:var(--r);padding:3px}.seg button{border-radius:calc(var(--r) - 3px)}.tabs button[aria-pressed=true]{background:var(--rose-soft);border-color:var(--rose);color:var(--rose)}.field,.select,.grid2 input,.grid2 select,.stack input,.stack select,.viewas select,.filters select,.filters input,.inrow input,label>input,label>select{min-height:var(--ctl);padding:0 12px;border-radius:var(--r);border:1px solid var(--line);background:var(--surface);color:var(--ink);font:inherit;font-size:14px}.stack textarea,.grid2 textarea{padding:10px 12px;border-radius:var(--r);min-height:84px}.field:focus,.select:focus,input:focus,select:focus,textarea:focus{outline:none;border-color:var(--rose);box-shadow:0 0 0 3px var(--rose-soft)}select{cursor:pointer}.grid2 label,.stack label{display:flex;flex-direction:column;gap:6px;font-size:12.5px;font-weight:600;color:var(--muted)}.field.code{letter-spacing:.3em;text-align:center;font-size:18px}@media (max-width:640px){input,select,textarea{font-size:16px!important}}.cost .p.over,.hrow .p.over,td.over{color:var(--warn)}td.over{background:var(--warn-soft)}.up{color:var(--warn)}.doc.miss{background:var(--warn-soft);color:var(--warn)}.side-nav nav button{min-height:40px;font-weight:500}.side-nav nav button[aria-current=page]{font-weight:600}.nav button{min-height:48px;font-weight:500}.nav button[aria-current=page]{font-weight:600}.txh{font-weight:600;letter-spacing:.06em}.txr{min-height:48px}th{font-weight:600}.empty{font-size:13.5px}.hint{line-height:1.5}.pagehead h2{font-size:24px}.pagehead p{font-size:13.5px}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}.paygroups{display:flex;flex-direction:column;gap:16px}.payhead{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px 10px}.payhead h3{display:flex;align-items:center;gap:8px}.payhead .sum{border:0;padding:0;margin:0;font-size:15px}.paydot{width:8px;height:8px;border-radius:50%;display:inline-block}.paydot.late{background:var(--bad)}.paydot.soon{background:var(--warn)}.paydot.later{background:var(--rev)}.paydot.none{background:var(--muted)}.payrow{display:grid;grid-template-columns:76px minmax(0,1fr) minmax(0,.8fr) 120px;gap:12px;align-items:center;padding:10px 16px;border-top:1px solid var(--line);width:100%;text-align:left;min-height:52px;font-size:13.5px}button.payrow:hover{background:var(--sunk)}.payrow .when{font-size:12.5px;font-weight:600;color:var(--muted)}.payrow .when.late{color:var(--bad)}.payrow .pwho b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.payrow .pwho small{display:block;font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.payrow .proj-n{color:var(--muted);font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.payrow .amt{text-align:right;font-weight:700}.prio{display:inline-block;font-size:10.5px;font-weight:600;color:var(--warn);background:var(--warn-soft);border-radius:999px;padding:1px 7px;margin-left:6px;vertical-align:1px}@media (max-width:640px){.payrow{grid-template-columns:64px minmax(0,1fr) 96px;padding:10px 12px}.payrow .proj-n{display:none}}.cover{display:flex;flex-direction:column;gap:8px}.cover .bar{height:10px;border-radius:6px}.cover .bar i{background:var(--good)}.cover .row span{font-size:12.5px;color:var(--muted)}.screen>*{flex-shrink:0}@media (max-width:640px){.filters,.filters.tight{display:flex;flex-direction:column;align-items:stretch;gap:8px;width:100%}.filters select,.filters input{width:100%;min-width:0}.pagehead>.btn,.pagehead>div>.btn{width:100%}.tabs{margin:0 -16px;padding:0 16px 2px;scrollbar-width:none}.tabs::-webkit-scrollbar{display:none}}.note{background:var(--rev-soft);color:var(--ink);border-radius:var(--r);padding:12px 14px;font-size:13.5px;border:1px solid transparent}.pagehead{align-items:center}@media (max-width:640px){.filters:not(.tight){display:flex;flex-direction:column;align-items:stretch}.filters:not(.tight) input{grid-column:auto}.card .cardhead{flex-wrap:wrap}.cardhead>.seg.small{flex:1 1 100%}.cardhead>.seg.small button{flex:1}}
