:root{--accent:#3fbeb7;--accent-600:#2a9d96;--accent-700:#22857f;--accent-50:#e8f7f6;--accent-100:#d2f0ee;--accent-ring:#3fbeb740;--blue:#5b8cff;--ink:#0b1220;--ink-2:#1f2937;--muted:#5b6475;--muted-2:#8a93a3;--bg:#f4f4f4;--surface:#fff;--surface-2:#f8f9fa;--surface-3:#eef1f3;--border:#0b122017;--border-2:#0b122024;--danger:#e5484d;--danger-50:#fdecec;--warn:#e07a1f;--warn-50:#fff3e6;--ok:#1e9e6a;--ok-50:#e3f6ee;--purple:#8a4fe0;--shadow-sm:0 1px 2px #0b12200d;--shadow:0 1px 2px #0b12200a, 0 8px 24px -12px #0b122024;--shadow-lg:0 30px 70px -20px #0b122059;--r-sm:8px;--r:12px;--r-lg:16px;--r-xl:22px;--sidebar:252px;--font:-apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--mono:ui-monospace, "SF Mono", Menlo, Consolas, monospace;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}[data-theme=dark]{--ink:#eef2f6;--ink-2:#d8dee6;--muted:#9aa4b5;--muted-2:#6f7a8c;--bg:#0a0f1a;--surface:#121a28;--surface-2:#172133;--surface-3:#1d2940;--border:#ffffff14;--border-2:#ffffff24;--accent-50:#3fbeb721;--accent-100:#3fbeb738;--danger-50:#e5484d24;--warn-50:#e07a1f24;--ok-50:#1e9e6a29;--shadow:0 1px 2px #0000004d, 0 8px 24px -12px #0009;--shadow-lg:0 30px 70px -20px #000000b3;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body,#root{height:100%}body{font-family:var(--font);color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased;margin:0;font-size:14px;line-height:1.45}a{color:var(--accent-600);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit;color:inherit}img{max-width:100%}h1,h2,h3,h4{letter-spacing:-.015em;margin:0;line-height:1.15}p{margin:0}::selection{background:var(--accent-100)}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.shell{grid-template-columns:var(--sidebar) 1fr;min-height:100vh;display:grid}.sidebar{height:calc(100vh - var(--banner,0px));background:var(--surface);border-right:1px solid var(--border);flex-direction:column;gap:6px;padding:16px 12px;display:flex;position:sticky;top:0;overflow-y:auto}.brand{align-items:center;gap:10px;padding:4px 8px 12px;display:flex}.brand img{border-radius:9px;width:34px;height:34px}.brand b{letter-spacing:.01em;font-size:20px;font-weight:600}.brand small{color:var(--muted-2);letter-spacing:.04em;margin-top:-2px;font-size:10.5px;display:block}.company-switch{border-radius:var(--r);background:var(--surface-2);border:1px solid var(--border);cursor:pointer;text-align:left;align-items:center;gap:10px;width:100%;margin-bottom:8px;padding:10px;display:flex}.company-switch:hover{border-color:var(--accent)}.company-switch .logo{background:var(--accent-50);width:36px;height:36px;color:var(--accent-600);border-radius:9px;flex:none;place-items:center;font-weight:700;display:grid;overflow:hidden}.company-switch .logo img{object-fit:contain;background:#fff;width:100%;height:100%}.company-switch .meta{flex:1;min-width:0}.company-switch .meta b{white-space:nowrap;text-overflow:ellipsis;font-size:13.5px;display:block;overflow:hidden}.company-switch .meta span{color:var(--muted);font-size:12px}.nav-label{text-transform:uppercase;letter-spacing:.07em;color:var(--muted-2);padding:12px 10px 4px;font-size:11px;font-weight:600}.nav a,.nav button{color:var(--ink-2);cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:11px;width:100%;padding:9px 10px;font-size:14px;font-weight:500;text-decoration:none;display:flex}.nav a svg,.nav button svg{width:19px;height:19px;color:var(--muted);flex:none}.nav a:hover,.nav button:hover{background:var(--surface-2);text-decoration:none}.nav a.active{background:var(--accent-50);color:var(--accent-700)}[data-theme=dark] .nav a.active{color:var(--accent)}.nav a.active svg{color:var(--accent-600)}.nav .count{background:var(--danger);color:#fff;border-radius:10px;place-items:center;min-width:20px;height:20px;margin-left:auto;padding:0 6px;font-size:11px;font-weight:700;display:grid}.nav .count.soft{background:var(--accent)}.sidebar .spacer{flex:1}.plan-card{border-radius:var(--r);background:linear-gradient(135deg, var(--accent-50), #5b8cff1a);border:1px solid var(--border);padding:12px}.plan-card b{align-items:center;gap:6px;font-size:13px;display:flex}.plan-card p{color:var(--muted);margin-top:3px;font-size:12px}.plan-card .bar{background:var(--surface-3);border-radius:3px;height:6px;margin-top:8px;overflow:hidden}.plan-card .bar i{background:var(--accent);border-radius:3px;height:100%;display:block}.user-card{border-radius:var(--r);cursor:pointer;text-align:left;background:0 0;border:0;align-items:center;gap:10px;width:100%;padding:8px;display:flex}.user-card:hover{background:var(--surface-2)}.user-card .meta{flex:1;min-width:0}.user-card b{white-space:nowrap;text-overflow:ellipsis;font-size:13px;display:block;overflow:hidden}.user-card span{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:12px;display:block;overflow:hidden}.main{flex-direction:column;min-width:0;display:flex}.topbar{z-index:20;background:color-mix(in srgb, var(--bg) 88%, transparent);-webkit-backdrop-filter:saturate(1.4)blur(14px);backdrop-filter:saturate(1.4)blur(14px);border-bottom:1px solid #0000;align-items:center;gap:12px;padding:14px 28px;display:flex;position:sticky;top:0}.topbar.scrolled{border-bottom-color:var(--border)}.topbar h1{font-size:22px;font-weight:700}.topbar .sub{color:var(--muted);font-size:13px}.topbar .actions{align-items:center;gap:8px;margin-left:auto;display:flex}.page{flex:1;width:100%;max-width:1440px;padding:8px 28px 48px}.page.narrow{max-width:920px}.mobile-only{display:none!important}.demo-banner{color:#fff;background:linear-gradient(90deg,#0b1220,#1d2b45);flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;padding:8px 16px;font-size:13px;display:flex}.demo-banner b{color:#7fe0d8}.demo-banner button{color:#fff;cursor:pointer;background:#ffffff1f;border:1px solid #fff3;border-radius:999px;padding:4px 12px;font-size:12.5px}.readonly-banner{border-radius:var(--r);background:var(--warn-50);color:var(--ink);border:1px solid #e07a1f40;align-items:center;gap:12px;margin:0 28px 12px;padding:12px 16px;display:flex}.readonly-banner svg{color:var(--warn);flex:none}.mobile-header,.tabbar{display:none}@media (width<=900px){.shell{grid-template-columns:1fr}.sidebar{display:none}.mobile-only{display:initial!important}.desktop-only{display:none!important}.mobile-header{background:var(--surface);border-bottom:1px solid var(--border);z-index:25;align-items:center;gap:10px;padding:10px 14px;display:flex;position:sticky;top:0}.mobile-header .brand{padding:0}.mobile-header .brand b{font-size:17px}.mobile-header .right{align-items:center;gap:4px;margin-left:auto;display:flex}.topbar{padding:12px 14px;position:static}.topbar h1{font-size:20px}.page{padding:4px 14px 96px}.readonly-banner{margin:0 14px 10px}.tabbar{z-index:30;background:color-mix(in srgb, var(--surface) 92%, transparent);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-top:1px solid var(--border);padding:6px 4px calc(6px + env(safe-area-inset-bottom));grid-template-columns:repeat(5,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.tabbar a{color:var(--muted);flex-direction:column;align-items:center;gap:2px;padding:4px 0;font-size:10.5px;text-decoration:none;display:flex;position:relative}.tabbar a svg{width:22px;height:22px}.tabbar a.active{color:var(--accent-600)}.tabbar .count{background:var(--danger);color:#fff;border-radius:9px;place-items:center;min-width:17px;height:17px;padding:0 4px;font-size:10px;font-weight:700;display:grid;position:absolute;top:0;left:calc(50% + 6px)}}.btn{border:1px solid var(--border-2);background:var(--surface);height:38px;color:var(--ink);cursor:pointer;white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:0 15px;font-size:13.5px;font-weight:600;transition:background .15s,border-color .15s,box-shadow .15s,transform 50ms;display:inline-flex;text-decoration:none!important}.btn:hover{background:var(--surface-2)}.btn:active{transform:translateY(1px)}.btn svg{width:17px;height:17px}.btn.primary{background:var(--accent);border-color:var(--accent);color:#fff;box-shadow:0 6px 16px -8px #3fbeb7e6}.btn.primary:hover{background:var(--accent-600);border-color:var(--accent-600)}.btn.danger{background:var(--danger);border-color:var(--danger);color:#fff}.btn.danger:hover{filter:brightness(.95)}.btn.ghost{background:0 0;border-color:#0000}.btn.ghost:hover{background:var(--surface-3)}.btn.soft{background:var(--accent-50);color:var(--accent-700);border-color:#0000}[data-theme=dark] .btn.soft{color:var(--accent)}.btn.soft:hover{background:var(--accent-100)}.btn.danger-soft{background:var(--danger-50);color:var(--danger);border-color:#0000}.btn.sm{border-radius:9px;height:32px;padding:0 11px;font-size:13px}.btn.lg{border-radius:12px;height:46px;padding:0 22px;font-size:15px}.btn.block{width:100%}.btn:disabled,.btn[aria-disabled=true]{opacity:.45;cursor:not-allowed;box-shadow:none;transform:none}.icon-btn{width:36px;height:36px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:10px;flex:none;place-items:center;display:inline-grid;position:relative}.icon-btn:hover{background:var(--surface-3);color:var(--ink)}.icon-btn svg{width:19px;height:19px}.icon-btn.sm{border-radius:8px;width:30px;height:30px}.icon-btn.sm svg{width:16px;height:16px}.icon-btn.accent{color:var(--accent-600)}.icon-btn.danger:hover{color:var(--danger);background:var(--danger-50)}.icon-btn .dot{background:var(--danger);border:2px solid var(--surface);border-radius:50%;width:8px;height:8px;position:absolute;top:6px;right:6px}.icon-btn:disabled{opacity:.35;cursor:not-allowed}.field{flex-direction:column;gap:6px;min-width:0;display:flex}.field>label,.label{color:var(--muted);font-size:12.5px;font-weight:600}.field .hint{color:var(--muted-2);font-size:12px}.field .err{color:var(--danger);font-size:12px}.req{color:var(--danger);margin-left:2px}.input,.select,.textarea{border:1px solid var(--border-2);background:var(--surface);border-radius:10px;outline:none;width:100%;height:40px;padding:0 12px;font-size:14px;transition:border-color .15s,box-shadow .15s}.textarea{resize:vertical;height:auto;min-height:90px;padding:10px 12px}.input:focus,.select:focus,.textarea:focus{border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-ring)}.input.invalid{border-color:var(--danger)}.input:disabled,.select:disabled,.textarea:disabled{background:var(--surface-2);color:var(--muted)}.input-group{align-items:stretch;display:flex}.input-group .input{border-radius:0}.input-group>:first-child{border-radius:10px 0 0 10px}.input-group>:last-child{border-radius:0 10px 10px 0}.input-group .addon{background:var(--surface-2);border:1px solid var(--border-2);color:var(--muted);place-items:center;padding:0 12px;font-size:13px;font-weight:600;display:grid}.input-group .addon:first-child{border-right:0}.input-group .addon:last-child{border-left:0}.input-icon{position:relative}.input-icon>svg{width:17px;height:17px;color:var(--muted-2);pointer-events:none;position:absolute;top:50%;left:11px;transform:translateY(-50%)}.input-icon .input{padding-left:36px}.input-icon .clear{position:absolute;top:50%;right:6px;transform:translateY(-50%)}.stepper{border:1px solid var(--border-2);background:var(--surface);border-radius:10px;align-items:center;height:40px;display:inline-flex;overflow:hidden}.stepper button{background:var(--surface-2);cursor:pointer;width:38px;height:100%;color:var(--ink-2);border:0;place-items:center;display:grid}.stepper button:hover{background:var(--surface-3)}.stepper button svg{width:16px;height:16px}.stepper input{text-align:center;background:0 0;border:0;outline:none;width:80px;height:100%;font-weight:600}.row{align-items:center;gap:12px;display:flex}.row.wrap{flex-wrap:wrap}.row.end{justify-content:flex-end}.row.between{justify-content:space-between}.grid2{grid-template-columns:1fr 1fr;gap:14px;display:grid}.grid3{grid-template-columns:repeat(3,1fr);gap:14px;display:grid}@media (width<=700px){.grid2,.grid3{grid-template-columns:1fr}}.stack{flex-direction:column;gap:14px;display:flex}.stack.sm{gap:8px}.stack.lg{gap:22px}.toggle{flex:none;width:44px;height:26px;position:relative}.toggle input{opacity:0;width:0;height:0;position:absolute}.toggle span{background:var(--surface-3);border:1px solid var(--border-2);cursor:pointer;border-radius:13px;transition:background .2s;position:absolute;inset:0}.toggle span:before{content:"";background:#fff;border-radius:50%;width:20px;height:20px;transition:transform .2s;position:absolute;top:2px;left:2px;box-shadow:0 1px 3px #00000040}.toggle input:checked+span{background:var(--accent);border-color:var(--accent)}.toggle input:checked+span:before{transform:translate(18px)}.toggle input:focus-visible+span{box-shadow:0 0 0 4px var(--accent-ring)}.check-row{justify-content:space-between;align-items:center;gap:12px;padding:10px 0;display:flex}.segmented{background:var(--surface-3);border-radius:11px;gap:2px;padding:3px;display:inline-flex}.segmented button{cursor:pointer;color:var(--muted);white-space:nowrap;background:0 0;border:0;border-radius:8px;align-items:center;gap:6px;padding:6px 12px;font-size:13px;font-weight:600;display:inline-flex}.segmented button.on{background:var(--surface);color:var(--ink);box-shadow:var(--shadow-sm)}.segmented button svg{width:15px;height:15px}.segmented.block{display:flex}.segmented.block button{flex:1;justify-content:center}.checkbox{cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:8px;display:inline-flex}.checkbox input{width:17px;height:17px;accent-color:var(--accent)}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);box-shadow:var(--shadow-sm)}.card.pad{padding:18px}.card-head{border-bottom:1px solid var(--border);align-items:center;gap:10px;padding:14px 18px;display:flex}.card-head h3{font-size:15px;font-weight:700}.card-head .sub{color:var(--muted);font-size:12.5px}.card-head .right{align-items:center;gap:6px;margin-left:auto;display:flex}.card-body{padding:16px 18px}.section-title{text-transform:uppercase;letter-spacing:.07em;color:var(--muted-2);margin:22px 0 8px;font-size:12px;font-weight:700}.list{flex-direction:column;display:flex}.list-row{border-top:1px solid var(--border);align-items:center;gap:12px;min-height:54px;padding:11px 18px;display:flex}.list-row:first-child{border-top:0}.list-row.clickable{cursor:pointer}.list-row.clickable:hover{background:var(--surface-2)}.list-row .main-col{flex:1;min-width:0}.list-row .main-col b{white-space:nowrap;text-overflow:ellipsis;font-weight:600;display:block;overflow:hidden}.list-row .main-col span{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:12.5px;display:block;overflow:hidden}.list-row .end{flex:none;align-items:center;gap:4px;margin-left:auto;display:flex}.list-row .ico{background:var(--accent-50);width:34px;height:34px;color:var(--accent-600);border-radius:9px;flex:none;place-items:center;display:grid}.list-row .ico svg{width:18px;height:18px}.chev{color:var(--muted-2);flex:none;width:18px;height:18px}.empty{text-align:center;color:var(--muted);padding:48px 20px}.empty .ico{background:var(--accent-50);width:64px;height:64px;color:var(--accent-600);border-radius:20px;place-items:center;margin:0 auto 14px;display:grid}.empty .ico svg{width:30px;height:30px}.empty h3{color:var(--ink);margin-bottom:6px;font-size:17px}.empty p{max-width:380px;margin:0 auto 16px}.chip{background:var(--surface-3);height:24px;color:var(--ink-2);white-space:nowrap;border-radius:999px;align-items:center;gap:5px;padding:0 9px;font-size:12px;font-weight:600;display:inline-flex}.chip.accent{background:var(--accent-50);color:var(--accent-700)}[data-theme=dark] .chip.accent{color:var(--accent)}.chip.warn{background:var(--warn-50);color:var(--warn)}.chip.danger{background:var(--danger-50);color:var(--danger)}.chip.ok{background:var(--ok-50);color:var(--ok)}.chip svg{width:13px;height:13px}.chip button{cursor:pointer;color:inherit;background:0 0;border:0;margin-left:2px;padding:0;display:grid}.chips{flex-wrap:wrap;gap:6px;display:flex}.filter-chips{scrollbar-width:none;gap:6px;padding-bottom:2px;display:flex;overflow-x:auto}.filter-chips::-webkit-scrollbar{display:none}.filter-chips button{border:1px solid var(--border-2);background:var(--surface);color:var(--muted);cursor:pointer;border-radius:999px;flex:none;align-items:center;gap:5px;padding:6px 12px;font-size:13px;font-weight:600;display:inline-flex}.filter-chips button svg{width:14px;height:14px}.filter-chips button.on{background:var(--accent);border-color:var(--accent);color:#fff}.avatar{background:linear-gradient(135deg, var(--accent), var(--blue));color:#fff;border-radius:50%;flex:none;place-items:center;width:34px;height:34px;font-size:13px;font-weight:700;display:grid;overflow:hidden}.avatar img{object-fit:cover;width:100%;height:100%}.avatar.lg{width:72px;height:72px;font-size:24px}.thumb{background:var(--surface-3);width:44px;height:44px;color:var(--muted-2);border:1px solid var(--border);border-radius:10px;flex:none;place-items:center;display:grid;overflow:hidden}.thumb img{object-fit:cover;background:#fff;width:100%;height:100%}.thumb svg{width:20px;height:20px}.thumb.lg{border-radius:12px;width:64px;height:64px}.thumb.xl{aspect-ratio:1;border-radius:14px;width:100%;height:auto}.table-wrap{overflow-x:auto}table.table{border-collapse:separate;border-spacing:0;width:100%}.table th{text-align:left;color:var(--muted-2);text-transform:uppercase;letter-spacing:.06em;border-bottom:1px solid var(--border);white-space:nowrap;background:var(--surface);padding:10px 12px;font-size:11.5px;font-weight:700;position:sticky;top:0}.table th.num,.table td.num{text-align:right}.table td{border-bottom:1px solid var(--border);vertical-align:middle;padding:10px 12px}.table tbody tr:last-child td{border-bottom:0}.table tbody tr.clickable{cursor:pointer}.table tbody tr.clickable:hover td{background:var(--surface-2)}.table tbody tr.selected td{background:var(--accent-50)}.table .th-sort{cursor:pointer;-webkit-user-select:none;user-select:none}.table .th-sort:hover{color:var(--ink)}.cell-title{align-items:center;gap:12px;min-width:220px;display:flex}.cell-title b{font-weight:600;display:block}.cell-title span{color:var(--muted);font-size:12px;display:block}.muted{color:var(--muted)}.muted-2{color:var(--muted-2)}.small{font-size:12.5px}.strong{font-weight:700}.mono{font-family:var(--mono);font-size:12.5px}.ellipsis{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.right{text-align:right}.danger-text{color:var(--danger)}.ok-text{color:var(--ok)}.warn-text{color:var(--warn)}.accent-text{color:var(--accent-600)}.overlay{z-index:100;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#080c1673;justify-content:center;align-items:center;padding:20px;animation:.15s fade;display:flex;position:fixed;inset:0}@keyframes fade{0%{opacity:0}}@keyframes pop{0%{opacity:0;transform:translateY(10px)scale(.98)}}@keyframes slide{0%{opacity:0;transform:translate(30px)}}@keyframes up{0%{opacity:0;transform:translateY(40px)}}.modal{background:var(--surface);border-radius:var(--r-xl);box-shadow:var(--shadow-lg);flex-direction:column;width:100%;max-width:520px;max-height:calc(100vh - 40px);animation:.18s pop;display:flex;overflow:hidden}.modal.wide{max-width:760px}.modal.xwide{max-width:1040px}.modal.narrow{max-width:420px}.modal-head{align-items:center;gap:10px;padding:16px 18px 12px;display:flex}.modal-head h2{font-size:18px;font-weight:700}.modal-head .sub{color:var(--muted);margin-top:2px;font-size:13px}.modal-head .icon-btn{margin-left:auto}.modal-body{padding:6px 18px 18px;overflow-y:auto}.modal-foot{border-top:1px solid var(--border);background:var(--surface-2);justify-content:flex-end;gap:8px;padding:12px 18px;display:flex}.drawer-overlay{justify-content:flex-end;padding:0}.drawer{background:var(--surface);width:min(720px,100vw);height:100vh;box-shadow:var(--shadow-lg);flex-direction:column;animation:.2s slide;display:flex}.drawer .modal-head{border-bottom:1px solid var(--border);padding:14px 20px}.drawer .modal-body{flex:1;padding:18px 20px 28px}@media (width<=700px){.overlay{align-items:flex-end;padding:0}.modal{border-radius:20px 20px 0 0;max-height:92vh;animation:.2s up;max-width:none!important}.drawer{width:100vw}}.toasts{z-index:300;pointer-events:none;flex-direction:column;align-items:center;gap:8px;display:flex;position:fixed;bottom:22px;left:50%;transform:translate(-50%)}.toast{pointer-events:auto;color:#fff;box-shadow:var(--shadow-lg);background:#0b1220;border-radius:12px;align-items:center;gap:10px;max-width:min(560px,92vw);padding:11px 16px;font-weight:500;animation:.2s up;display:flex}.toast svg{flex:none;width:18px;height:18px}.toast.ok svg{color:#7fe0d8}.toast.err svg{color:#ff8b8e}@media (width<=900px){.toasts{bottom:86px}}.spinner{border:2.5px solid var(--accent-100);border-top-color:var(--accent);border-radius:50%;width:22px;height:22px;animation:.7s linear infinite spin;display:inline-block}.spinner.sm{border-width:2px;width:16px;height:16px}.btn .spinner{border-width:2px;border-color:#fff #fff6 #fff6;width:15px;height:15px}.btn:not(.primary):not(.danger) .spinner{border-color:var(--accent-100);border-top-color:var(--accent)}@keyframes spin{to{transform:rotate(360deg)}}.center-screen{place-items:center;min-height:100vh;display:grid}.loading-block{color:var(--muted);justify-content:center;align-items:center;gap:10px;padding:40px;display:flex}.skeleton{background:linear-gradient(90deg, var(--surface-3), var(--surface-2), var(--surface-3));background-size:200% 100%;border-radius:8px;animation:1.2s infinite shimmer}@keyframes shimmer{to{background-position:-200% 0}}.stat-grid{grid-template-columns:repeat(3,1fr);gap:16px;display:grid}@media (width<=1150px){.stat-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=640px){.stat-grid{grid-template-columns:1fr}}.stat{border-radius:var(--r-lg);background:var(--surface);border:1px solid var(--border);cursor:pointer;text-align:left;flex-direction:column;gap:12px;min-height:168px;padding:18px;transition:transform .2s,box-shadow .2s,border-color .2s;display:flex;position:relative;overflow:hidden}.stat:hover{box-shadow:var(--shadow);border-color:var(--accent-100);transform:translateY(-3px)}.stat .top{align-items:center;gap:10px;display:flex}.stat .ico{border-radius:11px;place-items:center;width:38px;height:38px;display:grid}.stat .ico svg{width:20px;height:20px}.stat h3{font-size:14.5px;font-weight:700}.stat .top .chev{margin-left:auto}.stat .big{letter-spacing:-.02em;font-size:28px;font-weight:800}.stat .meta{color:var(--muted);flex-wrap:wrap;gap:16px;font-size:13px;display:flex}.stat .meta b{color:var(--ink);font-weight:700}.stat .spark{opacity:.9;position:absolute;top:66px;right:16px}.c-teal{background:var(--accent-50);color:var(--accent-600)}.c-blue{color:#4b6fe6;background:#5b8cff1f}.c-green{background:var(--ok-50);color:var(--ok)}.c-orange{background:var(--warn-50);color:var(--warn)}.c-purple{color:var(--purple);background:#8a4fe01f}.c-red{background:var(--danger-50);color:var(--danger)}.mini-list{flex-direction:column;gap:6px;font-size:13px;display:flex}.mini-list div{justify-content:space-between;gap:10px;display:flex}.mini-list span{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.kpi-row{grid-template-columns:repeat(4,1fr);gap:12px;display:grid}@media (width<=800px){.kpi-row{grid-template-columns:repeat(2,1fr)}}.kpi{border-radius:var(--r);background:var(--surface-2);border:1px solid var(--border);padding:14px}.kpi span{color:var(--muted);font-size:12px;font-weight:600}.kpi b{letter-spacing:-.01em;margin-top:4px;font-size:20px;font-weight:800;display:block}.chart{width:100%}.chart .bar{fill:var(--accent)}.chart .bar.b2{fill:var(--blue)}.chart .bar.b3{fill:var(--warn)}.chart .axis{stroke:var(--border-2)}.chart text{fill:var(--muted-2);font-size:11px}.legend{color:var(--muted);flex-wrap:wrap;gap:14px;font-size:12.5px;display:flex}.legend i{vertical-align:-1px;border-radius:3px;width:10px;height:10px;margin-right:6px;display:inline-block}.progress{background:var(--surface-3);border-radius:4px;height:8px;overflow:hidden}.progress i{background:var(--accent);border-radius:4px;height:100%;display:block}.toolbar{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:12px;display:flex}.toolbar .grow{flex:1;min-width:220px}.item-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px;display:grid}.item-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);cursor:pointer;flex-direction:column;transition:transform .2s,box-shadow .2s;display:flex;overflow:hidden}.item-card:hover{box-shadow:var(--shadow);transform:translateY(-3px)}.item-card .pic{aspect-ratio:4/3;border-bottom:1px solid var(--border);background:#fff;place-items:center;display:grid;position:relative}[data-theme=dark] .item-card .pic{background:#fff}.item-card .pic img{object-fit:contain;width:100%;height:100%;padding:10px}.item-card .pic svg{width:36px;height:36px;color:var(--muted-2)}.item-card .pic .badges{flex-wrap:wrap;gap:4px;display:flex;position:absolute;top:8px;left:8px}.item-card .body{flex-direction:column;flex:1;gap:4px;padding:12px 14px;display:flex}.item-card .body b{font-weight:700;line-height:1.3}.item-card .body .sub{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.item-card .foot{justify-content:space-between;align-items:center;gap:6px;padding:8px 10px 10px 14px;display:flex}.item-card .price{font-size:15px;font-weight:800}.qty-pill{background:var(--surface-3);border-radius:999px;align-items:center;gap:4px;padding:3px 9px;font-size:12.5px;font-weight:700;display:inline-flex}.qty-pill.low{background:var(--warn-50);color:var(--warn)}.qty-pill.out{background:var(--danger-50);color:var(--danger)}.row-actions{justify-content:flex-end;gap:2px;display:flex}.gallery{grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:10px;display:grid}.gallery .g{aspect-ratio:1;border:1px solid var(--border);background:#fff;border-radius:12px;position:relative;overflow:hidden}.gallery .g img{object-fit:contain;width:100%;height:100%}.gallery .g .icon-btn{color:var(--danger);background:#ffffffe6;position:absolute;top:4px;right:4px}.gallery .g .first{position:absolute;bottom:6px;left:6px}.gallery .add{border:1.5px dashed var(--border-2);background:var(--surface-2);cursor:pointer;color:var(--muted);text-align:center;place-items:center;font-size:12.5px;font-weight:600;display:grid}.gallery .add:hover{border-color:var(--accent);color:var(--accent-600)}.gallery .add svg{width:22px;height:22px;margin:0 auto 4px;display:block}.form-section{border:1px solid var(--border);border-radius:var(--r-lg);background:var(--surface);padding:16px}.form-section>h4{text-transform:uppercase;letter-spacing:.07em;color:var(--muted-2);align-items:center;gap:8px;margin-bottom:12px;font-size:12px;font-weight:700;display:flex}.form-section>h4 svg{width:15px;height:15px;color:var(--accent-600)}.picker-btn{border:1px solid var(--border-2);background:var(--surface);cursor:pointer;text-align:left;border-radius:10px;align-items:center;gap:8px;width:100%;min-height:40px;padding:6px 10px 6px 12px;display:flex}.picker-btn:hover{border-color:var(--accent)}.picker-btn .val{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}.picker-btn .ph{color:var(--muted-2)}.picker-btn svg{width:17px;height:17px;color:var(--muted-2);flex:none}.breadcrumb{color:var(--muted);flex-wrap:wrap;align-items:center;gap:4px;font-size:13px;display:flex}.breadcrumb button{cursor:pointer;color:var(--accent-600);background:0 0;border:0;border-radius:6px;padding:2px 4px;font-weight:600}.breadcrumb button:hover{background:var(--accent-50)}.breadcrumb svg{width:14px;height:14px}.tree-row{border-radius:10px;align-items:center;gap:10px;padding:9px 12px;display:flex}.tree-row:hover{background:var(--surface-2)}.timeline{flex-direction:column;display:flex}.timeline .ev{border-top:1px solid var(--border);gap:12px;padding:10px 0;display:flex}.timeline .ev:first-child{border-top:0}.timeline .ev .ico{border-radius:10px;flex:none;place-items:center;width:32px;height:32px;display:grid}.timeline .ev .ico svg{width:16px;height:16px}.cart-layout{grid-template-columns:1fr 380px;align-items:start;gap:18px;display:grid}@media (width<=1100px){.cart-layout{grid-template-columns:1fr}}.summary-row{justify-content:space-between;gap:10px;padding:6px 0;font-size:14px;display:flex}.summary-row span{color:var(--muted)}.summary-row.total{border-top:1px dashed var(--border-2);margin-top:6px;padding-top:12px;font-size:18px;font-weight:800}.summary-row.total span{color:var(--ink)}.sticky-col{position:sticky;top:76px}.qa-grid{grid-template-columns:repeat(3,1fr);gap:14px;display:grid}@media (width<=1100px){.qa-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=640px){.qa-grid{grid-template-columns:1fr}}.qa-card{border:1.5px solid var(--border);background:var(--surface);border-radius:var(--r-lg);cursor:pointer;flex-direction:column;gap:12px;padding:16px;transition:border-color .2s,box-shadow .2s;display:flex;position:relative}.qa-card:hover{border-color:var(--accent-100)}.qa-card.on{border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-ring), 0 10px 30px -12px #3fbeb799}.qa-card .check{background:var(--accent);color:#fff;border-radius:50%;place-items:center;width:24px;height:24px;display:grid;position:absolute;top:12px;right:12px}.qa-card .check svg{width:15px;height:15px}.qa-card h3{align-items:center;gap:10px;font-size:15px;display:flex}.qa-card h3 .ico{border-radius:10px;place-items:center;width:36px;height:36px;display:grid}.qa-card h3 .ico svg{width:19px;height:19px}.scan-panel{grid-template-columns:1.1fr 1fr;gap:18px;display:grid}@media (width<=900px){.scan-panel{grid-template-columns:1fr}}.scan-input{height:56px;font-size:18px;font-family:var(--mono);letter-spacing:.04em}.video-box{aspect-ratio:4/3;border-radius:var(--r-lg);background:#0b1220;position:relative;overflow:hidden}.video-box video{object-fit:cover;width:100%;height:100%}.video-box .frame{border:3px solid var(--accent);border-radius:18px;position:absolute;inset:18% 14%;box-shadow:0 0 0 999px #00000040}.video-box .msg{text-align:center;color:#fff;text-shadow:0 1px 3px #0009;font-size:13px;position:absolute;bottom:12px;left:0;right:0}.log{flex-direction:column;gap:6px;max-height:360px;display:flex;overflow:auto}.log .entry{background:var(--surface-2);border-radius:10px;align-items:center;gap:10px;padding:9px 12px;font-size:13px;animation:.2s pop;display:flex}.log .entry.ok{background:var(--ok-50)}.log .entry.err{background:var(--danger-50)}.log .entry svg{flex:none;width:16px;height:16px}.auth{grid-template-columns:1.05fr 1fr;min-height:100vh;display:grid}@media (width<=960px){.auth{grid-template-columns:1fr}.auth-art{display:none!important}}.auth-art{color:#fff;background:radial-gradient(900px 600px at 10% 0,#3fbeb78c,#0000 60%),radial-gradient(700px 500px at 100% 100%,#5b8cff73,#0000 60%),#0b1220;flex-direction:column;justify-content:space-between;padding:48px;display:flex;position:relative;overflow:hidden}.auth-art .brand b{color:#fff}.auth-art h2{letter-spacing:-.03em;max-width:560px;font-size:clamp(34px,3.6vw,52px);font-weight:800;line-height:1.05}.auth-art h2 span{background:linear-gradient(100deg,#7fe0d8,#9db7ff);color:#0000;-webkit-background-clip:text;background-clip:text}.auth-art p.lead{color:#b7c0cf;max-width:520px;margin-top:16px;font-size:17px}.auth-art .feat{grid-template-columns:1fr 1fr;gap:12px;max-width:560px;margin-top:28px;display:grid}.auth-art .feat div{color:#d8dee6;background:#ffffff0f;border:1px solid #ffffff1a;border-radius:14px;align-items:flex-start;gap:10px;padding:14px;font-size:13.5px;display:flex}.auth-art .feat svg{color:#7fe0d8;flex:none;width:18px;height:18px;margin-top:1px}.auth-art .mock{opacity:.14;width:420px;position:absolute;bottom:-40px;right:-60px}.auth-form{background:var(--surface);justify-content:center;align-items:center;padding:40px 24px;display:flex}.auth-card{flex-direction:column;gap:16px;width:100%;max-width:400px;display:flex}.auth-card h1{letter-spacing:-.02em;font-size:28px;font-weight:800}.auth-card .sub{color:var(--muted)}.oauth{flex-direction:column;gap:10px;display:flex}.oauth .btn{height:44px}.oauth .btn img,.oauth .btn svg{width:18px;height:18px}.divider{color:var(--muted-2);align-items:center;gap:12px;font-size:12.5px;display:flex}.divider:before,.divider:after{content:"";background:var(--border);flex:1;height:1px}.alert{border-radius:10px;align-items:flex-start;gap:10px;padding:11px 13px;font-size:13.5px;display:flex}.alert svg{flex:none;width:18px;height:18px;margin-top:1px}.alert.err{background:var(--danger-50);color:var(--danger)}.alert.ok{background:var(--ok-50);color:var(--ok)}.alert.info{background:var(--accent-50);color:var(--accent-700)}[data-theme=dark] .alert.info{color:var(--accent)}.alert.warn{background:var(--warn-50);color:var(--warn)}.code-input{justify-content:center;gap:8px;display:flex}.code-input input{text-align:center;border:1px solid var(--border-2);background:var(--surface);border-radius:12px;outline:none;width:48px;height:58px;font-size:26px;font-weight:700}.code-input input:focus{border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-ring)}.company-card{border-radius:var(--r-lg);border:1.5px solid var(--border);background:var(--surface);cursor:pointer;text-align:left;align-items:center;gap:14px;width:100%;padding:14px;transition:border-color .15s,box-shadow .15s;display:flex}.company-card:hover{border-color:var(--accent);box-shadow:var(--shadow)}.company-card .logo{background:var(--accent-50);width:48px;height:48px;color:var(--accent-600);border-radius:12px;flex:none;place-items:center;font-size:18px;font-weight:800;display:grid;overflow:hidden}.company-card .logo img{object-fit:contain;background:#fff;width:100%;height:100%}.company-card b{font-size:15.5px;display:block}.company-card span{color:var(--muted);font-size:13px}.settings-layout{grid-template-columns:260px 1fr;align-items:start;gap:22px;display:grid}@media (width<=1000px){.settings-layout{grid-template-columns:1fr}.settings-nav.collapsed-mobile{display:none}}.settings-nav{position:sticky;top:76px}.settings-nav .group{margin-bottom:14px}.settings-nav .group>span{text-transform:uppercase;letter-spacing:.07em;color:var(--muted-2);padding:0 10px 6px;font-size:11px;font-weight:700;display:block}.settings-nav a{color:var(--ink-2);border-radius:10px;align-items:center;gap:10px;padding:8px 10px;font-weight:500;text-decoration:none;display:flex}.settings-nav a:hover{background:var(--surface)}.settings-nav a.active{background:var(--surface);box-shadow:var(--shadow-sm);color:var(--accent-700);border:1px solid var(--border)}[data-theme=dark] .settings-nav a.active{color:var(--accent)}.settings-nav a .si{color:#fff;border-radius:7px;flex:none;place-items:center;width:26px;height:26px;display:grid}.settings-nav a .si svg{width:15px;height:15px}.settings-home{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px;display:grid}.qr-sheet{gap:14px;display:grid}.qr-tile{border:1px dashed var(--border-2);text-align:center;break-inside:avoid;color:#000;background:#fff;border-radius:10px;padding:10px}.qr-tile canvas,.qr-tile img{width:100%;height:auto;image-rendering:pixelated}.qr-tile div{word-break:break-word;margin-top:4px;font-size:11px}@media print{body *{visibility:hidden!important}.print-area,.print-area *{visibility:visible!important}.print-area{width:100%;padding:0;position:absolute;top:0;left:0}.qr-tile{border:1px dashed #bbb}.overlay{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:0 0!important}}.help-fab{z-index:40;position:fixed;bottom:22px;right:22px}@media (width<=900px){.help-fab{display:none}}.kbd{font-family:var(--mono);border:1px solid var(--border-2);background:var(--surface-2);color:var(--muted);border-radius:5px;padding:1px 6px;font-size:11.5px}.stars{gap:4px;display:inline-flex}.stars button{cursor:pointer;color:var(--surface-3);background:0 0;border:0;padding:2px}.stars button.on{color:var(--accent)}.stars svg{fill:currentColor;width:24px;height:24px}.dropzone{border:2px dashed var(--border-2);border-radius:var(--r-lg);text-align:center;background:var(--surface-2);cursor:pointer;padding:34px;transition:border-color .2s,background .2s}.dropzone:hover,.dropzone.drag{border-color:var(--accent);background:var(--accent-50)}.dropzone svg{width:36px;height:36px;color:var(--accent-600)}.steps{flex-wrap:wrap;gap:6px;display:flex}.steps .s{background:var(--surface-3);color:var(--muted);border-radius:999px;align-items:center;gap:8px;padding:6px 12px 6px 6px;font-size:13px;font-weight:600;display:flex}.steps .s i{background:var(--surface);border-radius:50%;place-items:center;width:22px;height:22px;font-size:12px;font-style:normal;display:grid}.steps .s.on{background:var(--accent-50);color:var(--accent-700)}.steps .s.on i{background:var(--accent);color:#fff}.steps .s.done i{background:var(--ok);color:#fff}.color-dot{border:2px solid var(--surface);width:22px;height:22px;box-shadow:0 0 0 1px var(--border-2);cursor:pointer;border-radius:50%;display:inline-block}.color-dot.on{box-shadow:0 0 0 2px var(--accent)}.menu-pop{z-index:200;background:var(--surface);border:1px solid var(--border);width:220px;box-shadow:var(--shadow-lg);border-radius:12px;padding:6px;animation:.12s pop;position:fixed}.menu-item{cursor:pointer;text-align:left;width:100%;color:var(--ink-2);background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;padding:8px 10px;font-size:13.5px;font-weight:500;display:flex}.menu-item:hover{background:var(--surface-2)}.menu-item svg{width:16px;height:16px;color:var(--muted)}.menu-item.danger,.menu-item.danger svg{color:var(--danger)}.menu-item:disabled{opacity:.4;cursor:not-allowed}.menu-div{background:var(--border);height:1px;margin:5px 4px}@media (width<=900px){.transfer-bar{bottom:78px!important;left:12px!important;right:12px!important}}.table .chips{flex-wrap:nowrap}.list-row .main-col .chip{display:inline-flex}.stack>.segmented:not(.block),.stack>.steps{align-self:flex-start}.cart-layout>*,.grid2>*,.scan-panel>*,.settings-layout>*{min-width:0}
