:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}html,body,#root{min-width:320px;min-height:100%;margin:0}body{background:#020617}#root{width:100%}:root{--bg:#eef3f7;--surface:#fff;--surface-2:#f6f9fb;--ink:#101827;--muted:#667085;--line:#d9e2ea;--primary:#2563eb;--primary-2:#1d4ed8;--accent:#0f766e;--danger:#dc2626;--warning:#b7791f;--shadow:0 18px 48px #0f172a17;--shadow-soft:0 1px 2px #0f172a0a}*{box-sizing:border-box}body{min-width:320px;color:var(--ink);background:#020617;margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body.modal-open{overflow:hidden}button,input,select,textarea{font:inherit}.app-shell{background:var(--bg);min-height:100vh;color:var(--ink);grid-template-columns:280px minmax(0,1fr);display:grid}.app-shell[data-theme=dark]{--bg:#0c1116;--surface:#141b21;--surface-2:#1d272d;--ink:#edf2f4;--muted:#a4b0ad;--line:#2b373d;--primary:#2dd4bf;--primary-2:#5eead4;--accent:#f97316;--danger:#ef4444;--warning:#f59e0b;--shadow:0 18px 48px #0000004d}.app-shell[data-ui=pro]{--bg:#f5f7f9;--surface:#fff;--surface-2:#f0fdf7;--ink:#111827;--muted:#718096;--line:#e5edf2;--primary:#10b981;--primary-2:#059669;--accent:#f59e0b;--danger:#b91c1c;--warning:#b45309;--shadow:0 12px 28px #0f172a14;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;grid-template-columns:280px minmax(0,1fr);font-size:14px}.app-shell[data-ui=pro][data-theme=dark]{--bg:#0b1114;--surface:#10191c;--surface-2:#162226;--ink:#eef6f4;--muted:#9fb1ad;--line:#26363a;--primary:#34d399;--primary-2:#5eead4;--accent:#f59e0b;--danger:#ef4444;--warning:#f59e0b;--shadow:0 16px 40px #00000057;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.app-shell[data-ui=pro] .sidebar{border-right:1px solid var(--line);background:#fff;padding:18px 14px;box-shadow:1px 0 #0f172a05}.app-shell[data-ui=pro][data-theme=dark] .sidebar{box-shadow:none;background:#070c0f;border-right-color:#1b292d}.app-shell[data-ui=pro] .brand{border-bottom:1px solid var(--line);color:var(--ink);padding:8px 10px 16px}.app-shell[data-ui=pro][data-theme=dark] .brand{color:#f8fafc;border-bottom-color:#1d2b30}.app-shell[data-ui=pro] .brand svg{color:#fff;background:linear-gradient(135deg,#10b981,#14b8a6);border-radius:6px}.app-shell[data-ui=pro] .brand strong{letter-spacing:0}.app-shell[data-ui=pro] .nav-item{color:#64748b;border-radius:6px;padding:11px 12px;font-weight:700}.app-shell[data-ui=pro] .nav-item:hover,.app-shell[data-ui=pro] .nav-item.active{color:#059669;box-shadow:none;background:#eafaf4}.app-shell[data-ui=pro][data-theme=dark] .nav-item{color:#cbd5e1}.app-shell[data-ui=pro][data-theme=dark] .nav-item:hover,.app-shell[data-ui=pro][data-theme=dark] .nav-item.active{color:#6ee7b7;background:#132225}.app-shell[data-ui=pro] .tenant-card{color:var(--ink);background:linear-gradient(145deg,#f8fffc,#eefbf5);border-color:#d8f3e8;border-radius:6px;box-shadow:inset 0 -3px #10b98147}.app-shell[data-ui=pro] .tenant-card span{color:#059669;text-transform:uppercase;font-weight:900}.app-shell[data-ui=pro] .tenant-card small{color:var(--muted)}.app-shell[data-ui=pro][data-theme=dark] .tenant-card{color:#f8fafc;background:#111d22;border-color:#24363b;box-shadow:inset 0 -3px #34d39947}.app-shell[data-ui=pro] .content{width:100%;padding:22px 28px 40px}.app-shell[data-ui=pro] .topbar{border-bottom:1px solid var(--line);background:#ffffffb8;grid-template-columns:minmax(180px,1fr) auto;align-items:center;gap:18px;margin:0 -28px 26px;padding:0 28px 16px;display:grid}.app-shell[data-ui=pro] .topbar>div:first-child,.app-shell[data-ui=pro] .topbar h1{text-align:left}.app-shell[data-ui=pro][data-theme=dark] .topbar{background:#0b1114b8}.app-shell[data-ui=pro] .eyebrow{color:var(--muted)}.app-shell[data-ui=pro] h1{color:var(--ink);font-size:26px}.app-shell[data-ui=pro] .top-actions{flex-wrap:nowrap;justify-content:flex-end;align-items:center;min-width:0;display:flex}.app-shell[data-ui=pro] .ghost,.app-shell[data-ui=pro] .user-chip{white-space:nowrap;border-color:var(--line);min-width:0;height:42px;color:var(--muted);background:#fff}.app-shell[data-ui=pro][data-theme=dark] .ghost,.app-shell[data-ui=pro][data-theme=dark] .user-chip{color:#cbd5e1;background:#10191c;border-color:#26363a}.app-shell[data-ui=pro] .icon-action{flex:none}.app-shell[data-ui=pro] .user-chip{max-width:280px;overflow:hidden}.app-shell[data-ui=pro] .user-chip span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.app-shell[data-ui=pro] .panel,.app-shell[data-ui=pro] .metric{box-shadow:var(--shadow);border-radius:10px}.app-shell[data-ui=pro] .metric{min-height:86px;padding:12px 14px}.app-shell[data-ui=pro] .metric strong{font-size:20px}.app-shell[data-ui=pro] .panel-title svg,.app-shell[data-ui=pro] input,.app-shell[data-ui=pro] select,.app-shell[data-ui=pro] textarea,.app-shell[data-ui=pro] .ghost,.app-shell[data-ui=pro] .user-chip,.app-shell[data-ui=pro] .primary,.app-shell[data-ui=pro] .tabs,.app-shell[data-ui=pro] .tabs button,.app-shell[data-ui=pro] .chart-controls,.app-shell[data-ui=pro] .chart-controls button{border-radius:6px}.app-shell[data-ui=pro] .panel:before{display:none}.app-shell[data-ui=pro] td{padding:9px 10px}.app-shell[data-ui=pro] .primary{min-height:42px}.sidebar{color:#f8fafc;background:linear-gradient(#0f172a 0%,#132033 54%,#0b1220 100%);flex-direction:column;gap:22px;height:100vh;padding:22px 18px;display:flex;position:sticky;top:0}.app-shell[data-theme=dark] .sidebar{border-right:1px solid var(--line);background:#070b0f}.brand,.panel-title,.top-actions,.user-chip,.nav-item,.metric,.row-alert,.checks{align-items:center;display:flex}.brand{gap:12px;padding:10px}.brand svg{width:38px;height:38px;color:var(--primary);background:#dbeafe;border-radius:8px;padding:8px}.brand strong,.brand span{display:block}.brand span,.tenant-card span,.tenant-card small{color:#a8b4bd;font-size:12px}nav{gap:6px;display:grid}.nav-item,.ghost,.primary,.tabs button{cursor:pointer;border:0}.nav-item{color:#d7dee5;text-align:left;background:0 0;border-radius:8px;gap:11px;width:100%;padding:12px 13px}.nav-item svg{width:19px}.nav-item:hover,.nav-item.active{color:#172033;background:#fff;box-shadow:0 10px 24px #0208172e}.app-shell[data-theme=dark] .nav-item:hover,.app-shell[data-theme=dark] .nav-item.active{background:var(--surface-2);color:var(--ink)}.tenant-card{background:linear-gradient(145deg,#ffffff1f,#94a3b814);border:1px solid #ffffff1f;border-radius:8px;margin-top:auto;padding:14px;box-shadow:inset 0 1px #ffffff14}.tenant-card strong{margin:6px 0;display:block}.content{min-width:0;padding:28px}.topbar{justify-content:space-between;align-items:center;gap:18px;margin-bottom:24px;display:flex}.billing-banner{color:#6f331b;background:#fff4ec;border:1px solid #f1cfb8;border-radius:8px;gap:4px;margin-bottom:16px;padding:12px 14px;display:grid}.billing-banner span{font-size:13px}.app-shell[data-theme=dark] .billing-banner{color:#ffd7c2;background:#321f18;border-color:#70402d}.billing-blocked{max-width:760px}.billing-blocked p{color:var(--muted);line-height:1.6}.eyebrow{color:var(--primary);text-transform:uppercase;letter-spacing:0;margin:0 0 3px;font-size:12px;font-weight:800}h1,h2,p{margin-top:0}h1{margin-bottom:0;font-size:30px}h2{margin-bottom:2px;font-size:17px}.top-actions{gap:10px}.user-chip,.ghost{border:1px solid var(--line);background:var(--surface);height:42px;color:var(--muted);border-radius:8px;gap:8px;padding:0 13px}.ghost svg,.user-chip svg{width:17px}.icon-action span{display:inline}.kpi-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin-bottom:18px;display:grid}.metric{--metric-accent:#14b8a6;--metric-soft:#14b8a61f;border:1px solid color-mix(in srgb, var(--metric-accent) 32%, var(--line));border-top:3px solid var(--metric-accent);background:radial-gradient(circle at 92% 10%, color-mix(in srgb, var(--metric-accent) 14%, transparent), transparent 34%), linear-gradient(145deg, #fffffffa, #f7fafcf0), var(--surface);border-radius:8px;flex-direction:column;align-items:stretch;gap:5px;min-height:88px;padding:12px 14px;box-shadow:0 16px 36px #0f172a14}.metric[data-tone=amber]{--metric-accent:#f59e0b;--metric-soft:#f59e0b21}.metric[data-tone=blue]{--metric-accent:#3b82f6;--metric-soft:#3b82f621}.metric[data-tone=violet]{--metric-accent:#8b5cf6;--metric-soft:#8b5cf621}.metric-top{justify-content:space-between;align-items:center;gap:12px;display:flex}.metric svg{background:var(--metric-soft);width:28px;height:28px;color:var(--metric-accent);box-shadow:none;border-radius:8px;padding:6px}.metric span,.panel-title p,.schedule small{color:var(--muted);font-size:12px}.metric strong{color:var(--ink);font-size:21px;line-height:1.1}.metric small{color:var(--metric-accent);font-size:10px;font-weight:800}.app-shell[data-theme=dark] .metric{background:radial-gradient(circle at 92% 10%, color-mix(in srgb, var(--metric-accent) 17%, transparent), transparent 34%), linear-gradient(145deg, #0f1f20fa, #0c1a1bf5), var(--surface);border-color:color-mix(in srgb, var(--metric-accent) 35%, var(--line));box-shadow:0 18px 40px #0000003d}.app-shell[data-theme=dark] .metric span,.app-shell[data-theme=dark] .panel-title p{color:#b8c4c8}.app-shell[data-theme=dark] .metric strong,.app-shell[data-theme=dark] .panel-title h2{color:#f4f7f8}.app-shell[data-theme=dark] .metric svg,.app-shell[data-theme=dark] .panel-title svg{background:color-mix(in srgb, var(--metric-accent,#14b8a6) 18%, #071013);color:var(--metric-accent,var(--primary))}.dashboard-grid,.config-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.config-grid.single{grid-template-columns:1fr}.two-col{grid-template-columns:minmax(320px,430px) minmax(0,1fr);align-items:start;gap:16px;display:grid}.panel{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:8px;min-width:0;padding:18px;position:relative;overflow:hidden}.app-shell[data-theme=dark] .panel{background:linear-gradient(180deg, #10191cfa, #0d1518f5), var(--surface)}.wide{grid-column:span 2}.panel-title{gap:11px;margin-bottom:16px}.panel-title svg{width:36px;height:36px;color:var(--primary);box-shadow:var(--shadow-soft);background:#ecfdf5;border-radius:8px;padding:8px}.panel-title p{margin-bottom:0}.panel-title h2{color:var(--ink);font-weight:800}.panel-title p{color:var(--muted);font-weight:700}.chart{height:310px}.chart-controls{border:1px solid var(--line);background:#f5f7f9;border-radius:8px;gap:4px;margin-bottom:12px;padding:4px;display:inline-flex}.chart-controls button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;padding:8px 12px;font-weight:800}.chart-controls select{background:var(--surface);border-radius:6px;width:auto;min-height:34px;padding:6px 10px;font-weight:800}.app-shell[data-theme=dark] .chart-controls,.app-shell[data-theme=dark] .tabs{background:#0b1417;border-color:#26363a}.chart-controls button.active{background:var(--primary);color:#fff}.app-shell[data-theme=dark] .chart-controls button.active{color:#052e25}.admin-monitor-grid{margin-bottom:16px}.health-strip{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.health-item{border:1px solid var(--line);box-shadow:var(--shadow-soft);background:linear-gradient(145deg,#f8fbff,#f2f7fb);border-radius:8px;gap:8px;padding:12px;display:grid}.health-item span,.health-item small{color:var(--muted);font-size:12px}.health-item strong{font-size:16px}.health-bar{background:color-mix(in srgb, var(--muted) 18%, transparent);border-radius:999px;height:8px;overflow:hidden}.health-bar i{border-radius:inherit;background:linear-gradient(90deg, var(--primary), #22c55e);height:100%;display:block}.check-list{gap:10px;display:grid}.check-list span{border:1px solid var(--line);box-shadow:var(--shadow-soft);background:linear-gradient(145deg,#f8fbff,#f2f7fb);border-radius:8px;align-items:center;gap:8px;padding:10px;font-weight:700;display:flex}.check-list svg{width:18px;height:18px;color:var(--primary);flex:none}.stack{gap:10px;display:grid}.muted{color:var(--muted);font-size:12px}.team-sync-status{border:1px solid color-mix(in srgb, var(--primary) 35%, var(--line));background:color-mix(in srgb, var(--primary) 10%, var(--surface));width:fit-content;color:var(--ink);border-radius:8px;margin:0 0 12px;padding:9px 12px;font-size:12px;font-weight:800}.row-actions{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.mini-button{border:1px solid var(--line);background:var(--surface);min-height:34px;color:var(--ink);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:7px 10px;font-size:12px;font-weight:800;display:inline-flex}.mini-button svg{width:14px;height:14px}.mini-button.success{background:color-mix(in srgb, var(--primary) 13%, var(--surface));border-color:color-mix(in srgb, var(--primary) 45%, var(--line));color:var(--primary)}.mini-button.danger{background:color-mix(in srgb, var(--danger) 10%, var(--surface));border-color:color-mix(in srgb, var(--danger) 45%, var(--line));color:var(--danger)}.mini-button:disabled{opacity:.45;cursor:not-allowed}.compact-action{width:fit-content;min-height:36px;margin:8px 0 10px;padding:8px 12px}.mini-button,.compact-action{text-decoration:none}.compact-checks{grid-template-columns:repeat(2,minmax(140px,1fr));gap:8px;min-width:330px}.row-alert{box-shadow:var(--shadow-soft);background:linear-gradient(145deg,#fffaf0,#fff7e6);border:1px solid #f4d58d;border-radius:8px;justify-content:space-between;gap:12px;padding:12px}.ops-strip{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:-6px 0 16px;display:grid}.ops-card{border:1px solid var(--line);border-left:4px solid var(--primary);background:var(--surface);min-height:70px;box-shadow:var(--shadow-soft);border-radius:8px;gap:4px;padding:11px 13px;display:grid}.ops-card span{color:var(--muted);text-transform:uppercase;font-size:11px;font-weight:900}.ops-card strong{color:var(--ink);font-size:16px;line-height:1.15}.ops-card.expense{border-left-color:var(--danger)}.ops-card.capital{border-left-color:var(--accent)}.ops-card.debt{border-left-color:var(--warning)}.quick-actions-panel{margin:0 0 16px}.quick-actions-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;display:grid}.quick-action{--quick:var(--primary);text-align:left;border:1px solid var(--line);border-left:4px solid var(--quick);background:var(--surface-2);min-height:76px;color:var(--ink);cursor:pointer;box-shadow:var(--shadow-soft);border-radius:12px;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:4px 10px;padding:12px;display:grid}.quick-action:hover{border-color:color-mix(in srgb, var(--quick), var(--line) 45%);transform:translateY(-1px)}.quick-action:disabled{cursor:not-allowed;opacity:.6}.quick-action svg{background:color-mix(in srgb, var(--quick), transparent 84%);width:34px;height:34px;color:var(--quick);border-radius:10px;grid-row:span 2;padding:8px}.quick-action span{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:900;overflow:hidden}.quick-action small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:800;overflow:hidden}.quick-action.success{--quick:var(--success)}.quick-action.warning{--quick:var(--warning)}.quick-action.danger{--quick:var(--danger)}.quick-action.info{--quick:var(--info)}.quick-action.purple{--quick:var(--accent)}.field-summary-list{gap:8px;display:grid}.field-summary-row{border:1px solid var(--line);background:var(--surface-2);border-radius:8px;grid-template-columns:minmax(0,1fr) 76px 76px;align-items:center;gap:8px;padding:10px;display:grid}.field-summary-row strong,.field-summary-row span,.field-summary-row b,.field-summary-row small{display:block}.field-summary-row span,.field-summary-row small{color:var(--muted);font-size:11px;font-weight:800}.field-summary-row b{color:var(--primary-2);font-size:15px}.field-status-card{border:1px solid color-mix(in srgb, var(--primary) 28%, var(--line));background:color-mix(in srgb, var(--primary) 7%, var(--surface));border-radius:8px;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 12px;padding:10px;display:grid}.field-status-card div{gap:2px;min-width:0;display:grid}.field-status-card span{color:var(--muted);text-transform:uppercase;font-size:10px;font-weight:900}.field-status-card strong{color:var(--ink);text-overflow:ellipsis;font-size:15px;overflow:hidden}.inventory-hero{justify-content:space-between;align-items:center;gap:16px;display:flex}.inventory-mini-summary{flex-wrap:wrap;gap:8px;display:flex}.inventory-mini-summary span{border:1px solid var(--line);background:var(--surface-2);color:var(--muted);border-radius:8px;align-items:center;gap:6px;padding:8px 10px;font-size:12px;font-weight:800;display:inline-flex}.inventory-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.inventory-category-card{gap:12px;display:grid}.inventory-category-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.inventory-category-head strong,.inventory-category-head span{display:block}.inventory-category-head strong{font-size:16px}.inventory-category-head span{color:var(--muted);font-size:12px;font-weight:800}.inventory-category-head svg{background:var(--surface-2);width:34px;height:34px;color:var(--primary);border-radius:8px;padding:8px}.stock-list{gap:8px;display:grid}.stock-row{border:1px solid var(--line);border-left:4px solid var(--primary);background:var(--surface-2);border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;display:grid}.stock-row.warning{border-left-color:var(--warning)}.stock-row.danger{border-left-color:var(--danger)}.stock-row strong,.stock-row span,.stock-row b,.stock-row small{display:block}.stock-row span,.stock-row small{color:var(--muted);font-size:11px}.stock-row b{text-align:right}.app-shell[data-theme=dark] .row-alert{background:#331f12;border-color:#7c3f18}.row-alert span{color:var(--warning);font-size:12px;display:block}.schedule{box-shadow:var(--shadow-soft);background:linear-gradient(145deg,#f0f9ff,#ecfeff);border:1px solid #b8dff1;border-radius:8px;padding:12px}.schedule.today{background:linear-gradient(145deg,#ecfdf5,#d1fae5);border-color:#6ee7b7;box-shadow:0 14px 30px #10b98129}.schedule.overdue{background:linear-gradient(145deg,#fff7ed,#ffedd5);border-color:#fdba74}.app-shell[data-theme=dark] .schedule{background:#10252b;border-color:#1f4d5b}.app-shell[data-theme=dark] .schedule.today{background:linear-gradient(145deg,#063327,#0f3f33);border-color:#10b981}.app-shell[data-theme=dark] .schedule.overdue{background:linear-gradient(145deg,#351b0b,#42200d);border-color:#b45309}.schedule span{color:#0891b2;margin-bottom:6px;font-size:12px;font-weight:800;display:inline-flex}.schedule.today span{color:#047857}.schedule.overdue span{color:#c2410c}.app-shell[data-theme=dark] .schedule span{color:#67e8f9}.app-shell[data-theme=dark] .schedule.today span{color:#6ee7b7}.app-shell[data-theme=dark] .schedule.overdue span{color:#fdba74}.schedule strong,.schedule small{display:block}.form-panel{position:sticky;top:18px}.transaction-config-card{position:static}.inline-config-form{border-bottom:1px solid var(--line);margin-bottom:18px;padding-bottom:18px}label{color:#475569;gap:6px;margin-bottom:12px;font-size:13px;font-weight:700;display:grid}.app-shell[data-theme=dark] label{color:#dbe4e7}input,select,textarea{width:100%;color:var(--ink);background:#f8fafc;border:1px solid #cbd5e1;border-radius:8px;min-height:42px;padding:10px 12px;box-shadow:inset 0 1px 1px #0f172a08}.app-shell[data-theme=dark] input,.app-shell[data-theme=dark] select,.app-shell[data-theme=dark] textarea{color:var(--ink);background:#071114;border-color:#334347;box-shadow:inset 0 1px 1px #0000002e}textarea{resize:vertical}input:focus,select:focus,textarea:focus{border-color:var(--primary);background:#fff;outline:3px solid #10b98129}.app-shell[data-theme=dark] input:focus,.app-shell[data-theme=dark] select:focus,.app-shell[data-theme=dark] textarea:focus{background:#0b171a}.total-input{color:#065f46;background:#ecfdf5;border-color:#86efac;min-height:58px;padding:13px 16px;font-size:24px;font-weight:900}.app-shell[data-theme=dark] .total-input{color:#ccfbf1;background:#102724;border-color:#1f766d}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.formula-editor{gap:8px;margin-bottom:12px;display:grid}.formula-editor small{color:var(--muted);font-size:12px;font-weight:800}.formula-editor.compact{min-width:340px;margin-bottom:0}.formula-row{grid-template-columns:minmax(120px,1fr) 110px 38px;align-items:center;gap:8px;display:grid}.formula-row-head{color:var(--muted);text-transform:uppercase;font-size:11px;font-weight:900}.formula-row input{margin:0}.panel-title-row{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px;display:flex}.ghost.danger{color:var(--danger);border-color:#dc262647}.ghost.danger:disabled{opacity:.55}.table-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.save-toast{z-index:80;color:#065f46;background:#ecfdf5;border:1px solid #86efac;border-radius:8px;align-items:center;gap:10px;max-width:min(360px,100vw - 32px);padding:12px 14px;font-weight:800;display:inline-flex;position:fixed;bottom:22px;right:22px;box-shadow:0 20px 45px #0f172a33}.save-toast svg{color:#10b981;flex:none;width:20px;height:20px}.app-shell[data-theme=dark] .save-toast{color:#d1fae5;background:#082f2a;border-color:#0f766e;box-shadow:0 22px 50px #00000073}.report-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.report-actions{justify-content:flex-end;margin-top:6px;display:flex}.report-actions .primary{width:auto;min-width:150px}.primary{background:var(--primary);color:#fff;border-radius:8px;justify-content:center;align-items:center;gap:8px;width:100%;min-height:44px;padding:0 14px;font-weight:800;display:inline-flex}.primary:hover{background:var(--primary-2)}.primary svg{width:18px}.primary.success-action{background:var(--primary)}.primary.success-action:hover{background:var(--primary-2)}.primary.danger-action{background:var(--danger)}.primary.danger-action:hover{background:#991b1b}.total-preview{border:1px solid var(--line);background:#f8fafc;border-radius:8px;gap:4px;margin:4px 0 14px;padding:14px;display:grid}.total-preview span,.total-preview small{color:var(--muted);font-size:12px;font-weight:800}.total-preview strong{font-size:24px}.total-preview.income{background:linear-gradient(145deg,#f0fdf4,#ecfdf5);border-color:#86efac}.total-preview.expense{background:linear-gradient(145deg,#fff5f5,#fef2f2);border-color:#fca5a5}.app-shell[data-theme=dark] .total-preview.income{background:#102724;border-color:#1f766d}.app-shell[data-theme=dark] .total-preview.expense{background:#2b1517;border-color:#7f1d1d}.table-panel{overflow:hidden}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:13px}th{border-bottom:1px solid var(--line);color:var(--muted);text-align:left;text-transform:uppercase;padding:8px 10px;font-size:11px;font-weight:800}th:nth-child(n+3),td:nth-child(n+3){text-align:right}td{border-bottom:1px solid var(--line);white-space:nowrap;padding:11px 10px}tr:nth-child(2n) td{background:#f8fafc}.app-shell[data-theme=dark] tr:nth-child(2n) td{background:#0d171a}.app-shell[data-theme=dark] th{color:#9fb0b5}.tabs{border:1px solid var(--line);background:#f5f7f9;border-radius:8px;width:fit-content;padding:4px;display:inline-flex}.tabs button{color:var(--muted);background:0 0;border-radius:6px;padding:9px 14px;font-weight:800}.tabs button.active{background:var(--primary);color:#fff}.app-shell[data-theme=dark] .tabs button.active{color:#052e25}.config-guide-card{border:1px solid var(--line);background:linear-gradient(135deg, #10b98114, #2563eb0a), var(--surface);border-radius:8px;grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr);gap:16px;padding:16px 18px;display:grid;box-shadow:0 12px 28px #0f172a0d}.config-guide-card span{color:var(--primary);text-transform:uppercase;margin-bottom:4px;font-size:11px;font-weight:900;display:block}.config-guide-card strong{margin-bottom:4px;font-size:16px;display:block}.config-guide-card p{color:var(--muted);margin:0;font-size:13px;line-height:1.5}.config-guide-card ul{color:var(--muted);gap:7px;margin:0;padding-left:18px;font-size:12px;line-height:1.45;display:grid}.app-shell[data-theme=dark] .config-guide-card{background:linear-gradient(135deg, #2dd4bf14, #3b82f60a), var(--surface)}.billing-lock-card{border:1px solid var(--line);background:linear-gradient(135deg, #0f172a08, #10b9810d), var(--surface-2);border-radius:8px;gap:10px;padding:14px;display:grid}.billing-lock-card strong{font-size:14px}.billing-lock-card p{color:var(--muted);margin:0;font-size:12px;line-height:1.45}.billing-lock-card dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;display:grid}.billing-lock-card div{border:1px solid var(--line);background:var(--surface);border-radius:8px;padding:9px 10px}.billing-lock-card dt{color:var(--muted);font-size:11px;font-weight:800}.billing-lock-card dd{margin:2px 0 0;font-weight:900}.checks{gap:12px}.checks label{grid-auto-flow:column;align-items:center;width:fit-content}.checks input{width:18px;min-height:18px}.check-panel{border:1px solid var(--line);background:#f8fbfd;border-radius:8px;gap:10px;margin:8px 0 14px;padding:14px;display:grid}.app-shell[data-theme=dark] .check-panel{background:#0f171c}.check-panel .checks{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;display:grid}.check-panel label{margin-bottom:0;font-size:12px;font-weight:800}.config-editor{gap:14px;display:grid}.config-editor h3{margin-bottom:3px;font-size:16px}.config-editor p{color:var(--muted);margin:0;font-size:13px}.config-table-wrap{border:1px solid var(--line);border-radius:8px;overflow-x:auto}.config-table{min-width:930px;font-size:12px}.config-table th,.config-table td{border-bottom:1px solid var(--line);text-align:left;white-space:nowrap;padding:7px 8px}.config-table th{background:var(--surface-2);color:var(--muted);text-transform:uppercase;font-size:11px;font-weight:900}.config-table tr:last-child td{border-bottom:0}.config-table .category-cell{min-width:210px}.config-table input,.config-table select{border-radius:6px;min-height:32px;padding:6px 8px;font-size:12px}.config-table select{min-width:112px}.config-table .check-cell{text-align:center}.config-table .check-cell input{width:16px;min-height:16px;padding:0}.program-table{min-width:980px}.program-table .table-actions{justify-content:flex-start;align-items:center;gap:6px;display:flex}.program-table .icon-action{border:1px solid var(--line);background:var(--surface);width:32px;height:32px;min-height:32px;color:var(--muted);border-radius:8px;place-items:center;padding:0;display:inline-grid}.program-table .icon-action svg{width:15px;height:15px}.program-table .icon-action.success{color:var(--primary);border-color:#99f6e4}.program-table .icon-action.danger{color:var(--danger);border-color:#fecaca}.import-panel{gap:18px;display:grid}.import-template-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.import-template-card{border:1px solid var(--line);background:var(--surface);min-height:126px;color:var(--text);text-align:left;border-radius:8px;align-content:start;gap:7px;padding:16px;display:grid;box-shadow:0 10px 24px #0f172a0a}.import-template-card strong{font-size:15px}.import-template-card span{color:var(--muted);font-size:12px;line-height:1.55}.import-template-card.active{border-color:var(--primary);background:#ecfdf5}.app-shell[data-theme=dark] .import-template-card.active{background:#0f2a25}.import-actions{grid-template-columns:minmax(220px,auto) 1fr;align-items:stretch;gap:12px;display:grid}.download-link{align-self:stretch;min-height:48px}.upload-box{border:1px dashed var(--line);background:var(--surface-2);min-height:48px;color:var(--muted);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:10px;padding:10px 14px;font-weight:800;display:flex}.upload-box svg{width:18px;height:18px;color:var(--primary)}.upload-box input{display:none}.import-action-buttons{grid-template-columns:1fr 1fr;gap:10px;display:grid}.import-action-buttons button{min-height:48px}.import-confirm-bar{border:1px solid var(--line);background:var(--surface-2);border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:14px;display:flex}.import-confirm-bar>div:first-child{gap:4px;display:grid}.import-confirm-bar span{color:var(--muted);font-size:12px;line-height:1.45}.success-text{color:var(--primary);font-weight:800}.danger-text{color:#ef4444;font-weight:800}.import-preview,.import-guide{gap:12px;display:grid}.import-preview h3{margin-bottom:4px;font-size:16px}.import-preview p{color:var(--muted);margin:0;font-size:13px}.import-preview-toolbar{border:1px solid var(--line);background:var(--surface-2);border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.import-preview-summary{color:var(--muted);flex-wrap:wrap;align-items:center;gap:8px;font-size:12px;display:flex}.compact-check{min-height:34px;color:var(--text);align-items:center;gap:6px;margin:0;font-size:12px;font-weight:800;display:inline-flex}.import-row-error td{background:#ef444414;background:color-mix(in srgb, #ef4444 8%, var(--surface))}.import-example-table{min-width:900px}.import-guide{border:1px solid var(--line);background:var(--surface-2);border-radius:8px;padding:16px}.import-guide ul{color:var(--muted);gap:8px;margin:0;padding-left:18px;font-size:13px;line-height:1.5;display:grid}.medicine-section{gap:12px;margin:12px 0;display:grid}.section-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.section-heading span{color:var(--muted);font-size:12px}.medicine-row{border:1px solid var(--line);background:var(--surface-2);border-radius:8px;gap:10px;padding:12px;display:grid}.medicine-row-title{justify-content:space-between;align-items:center;display:flex}.link-button.inline{width:auto;margin:0;padding:0}.dose-info{background:var(--surface);border:1px solid var(--line);color:var(--muted);border-radius:8px;gap:4px;padding:10px;font-size:12px;font-weight:800;display:grid}.money-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.money-list span{border:1px solid var(--line);background:var(--surface-2);border-radius:8px;gap:4px;padding:10px 12px;display:grid}.money-list b{font-size:15px}.invoice-panel{border-color:#99f6e4}.modal-backdrop{z-index:9999;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#020617b8;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.modal-card{border:1px solid var(--line);background:var(--panel);border-radius:18px;width:min(560px,100%);max-height:min(92vh,760px);overflow:auto;box-shadow:0 26px 70px #0f172a47}.modal-head{justify-content:space-between;align-items:flex-start;gap:14px;padding:14px 18px 6px;display:flex}.icon-button{border:1px solid var(--line);background:var(--surface);width:38px;height:38px;color:var(--ink);cursor:pointer;border-radius:12px;flex:none;place-items:center;display:inline-grid}.icon-button svg{width:17px;height:17px}.form-actions-row{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;display:grid}.form-actions-row .primary{width:100%}.mini-action{border:1px solid var(--line);background:color-mix(in srgb, var(--panel) 88%, var(--brand) 12%);min-height:32px;color:var(--brand-strong);white-space:nowrap;border-radius:8px;align-items:center;gap:6px;padding:7px 10px;font-weight:800;display:inline-flex}.mini-action svg{width:14px;height:14px}.mini-action:disabled{opacity:.5;cursor:not-allowed;color:var(--muted)}.invoice-modal{padding:0}.invoice-receipt{border:1px solid var(--line);border-radius:14px;gap:0;margin:8px 18px 0;display:grid;overflow:hidden}.invoice-receipt div{border-bottom:1px solid var(--line);background:var(--surface);justify-content:space-between;gap:16px;padding:8px 12px;display:flex}.invoice-receipt div:last-child{border-bottom:0}.invoice-receipt span{color:var(--muted);font-size:11px;font-weight:800}.invoice-receipt strong{color:var(--ink);text-align:right;font-size:16px;line-height:1.2}.invoice-receipt-total{align-items:center;background:linear-gradient(135deg,#2dd4bf1f,#2563eb14)!important}.invoice-receipt-total strong{font-size:20px}.modal-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:14px 18px 18px;display:grid}.modal-actions .ghost,.modal-actions .primary{min-height:42px}.modal-actions .primary{grid-column:1/-1}.invoice-lines{gap:8px;margin-bottom:14px;display:grid}.invoice-lines span{border-bottom:1px solid var(--line);color:var(--muted);justify-content:space-between;gap:12px;padding-bottom:8px;display:flex}.invoice-lines b{color:var(--ink);text-align:right}.invoice-actions{gap:10px;display:grid}a.primary{text-decoration:none}.audit-card{gap:12px;display:grid}.audit-card-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.audit-card-head strong,.audit-card-head span{display:block}.audit-card-head strong{color:var(--ink);font-weight:800}.audit-card-head span{color:var(--muted);margin-top:3px;font-size:12px}.audit-card-head b{max-width:42%;color:var(--primary-2);text-align:right;font-size:13px}.audit-kv{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.audit-kv div{border:1px solid var(--line);background:var(--surface-2);border-radius:8px;padding:10px}.audit-kv span,.audit-kv strong{display:block}.audit-kv span{color:var(--muted);text-transform:uppercase;margin-bottom:4px;font-size:11px;font-weight:800}.audit-kv strong{color:var(--ink);word-break:break-word;font-size:13px}.audit-change-table table{min-width:680px}.audit-change-table td,.audit-change-table th{padding:8px 10px}.audit-card pre{white-space:pre-wrap;background:var(--surface-2);border:1px solid var(--line);max-width:100%;color:var(--ink);border-radius:8px;margin:0;padding:14px;font-size:12px;overflow-x:auto}.empty{color:var(--muted);border:1px dashed var(--line);text-align:center;border-radius:8px;padding:16px}.loading{min-height:100vh;color:var(--primary);place-items:center;gap:10px;font-weight:800;display:grid}.auth-page{background:radial-gradient(circle at 88% 12%,#2563eb1f,#0000 30%),radial-gradient(circle at 18% 82%,#14b8a61f,#0000 30%),linear-gradient(135deg,#f8fffd 0%,#eef8f5 55%,#f3f7ff 100%);grid-template-columns:minmax(360px,455px) minmax(0,1fr);align-items:center;gap:clamp(30px,4vw,48px);min-height:100vh;padding:clamp(28px,5vw,56px) clamp(28px,5.6vw,78px);display:grid}.auth-single-page{grid-template-columns:minmax(320px,430px);justify-content:center}.auth-copy{color:#0f172a;text-align:left;background:linear-gradient(145deg,#ffffffad,#ffffff61);border:1px solid #0d948829;border-radius:28px;min-height:min(620px,100vh - 96px);padding:clamp(28px,4vw,42px);position:relative;overflow:hidden;box-shadow:0 30px 90px #0f172a1a}.auth-copy:after{content:"";pointer-events:none;background:radial-gradient(circle,#14b8a638,#0000 64%);border-radius:50%;width:420px;height:420px;position:absolute;bottom:-120px;right:-80px}.auth-copy h1{color:#0f172a;letter-spacing:0;z-index:1;max-width:650px;margin-bottom:22px;font-size:clamp(40px,4.5vw,58px);line-height:1.02;position:relative}.auth-copy h1 span{color:#2563eb}.auth-copy p{color:#475569;z-index:1;max-width:560px;font-size:16px;line-height:1.7;position:relative}.auth-points{z-index:1;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:610px;margin-top:26px;display:grid;position:relative}.auth-points div{background:#ffffffb8;border:1px solid #0d948829;border-radius:18px;min-height:118px;padding:18px;display:grid}.auth-points div:nth-child(2){border-color:#2563eb2e}.auth-points div:nth-child(3){border-color:#f59e0b38}.auth-points div:nth-child(4){border-color:#7c3aed2e}.auth-points svg{color:#0f766e;width:24px;height:24px;margin-bottom:12px}.auth-points span{color:#64748b;text-transform:uppercase;font-size:11px;font-weight:900}.auth-points strong{color:#0f172a;margin:5px 0;font-size:23px;line-height:1.12;display:block}.auth-points small{color:#64748b;line-height:1.45}.auth-card{background:#fffffff0;border:1px solid #0d94882e;border-radius:20px;padding:28px;position:relative;overflow:hidden;box-shadow:0 30px 80px #0f172a1f}.auth-card:before{content:"";background:linear-gradient(90deg,#14b8a6,#2563eb);height:3px;position:absolute;inset:0 0 auto}.auth-card-brand{color:#0f172a;margin-bottom:28px;padding:0}.auth-card-brand svg{color:#fff;background:linear-gradient(135deg,#14b8a6,#2563eb 62%,#7c3aed);box-shadow:0 18px 42px #2563eb38}.auth-card-brand span{color:#64748b}.auth-mode-tabs{background:#f1f5f9cc;border:1px solid #0d948829;border-radius:14px;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:-8px 0 22px;padding:5px;display:grid}.auth-mode-tabs button{color:#64748b;cursor:pointer;background:0 0;border:0;border-radius:10px;min-height:38px;font-size:12px;font-weight:900}.auth-mode-tabs button.active{color:#fff;background:linear-gradient(135deg,#0f766e,#2563eb);box-shadow:0 12px 24px #2563eb2e}.auth-card .panel-title{text-align:left;justify-content:flex-start;margin-bottom:22px}.auth-card .panel-title svg{color:#0f766e;background:#dffaf5;border-radius:14px;width:44px;height:44px;padding:11px}.auth-card .panel-title h2{color:#0f172a;font-size:24px}.auth-card .panel-title p,.auth-card label{color:#334155}.auth-card input{color:#0f172a;background:#fff;border-color:#cfe1dc;min-height:49px}.auth-card input::placeholder{color:#94a3b8}.auth-card .primary{background:linear-gradient(135deg,#0f766e,#2563eb);box-shadow:0 18px 38px #2563eb2e}.auth-card .ghost{color:#0f766e;background:#0d94880f;border-color:#0f766e38}.auth-card .link-button{color:#0f766e}.auth-help{color:#64748b;text-align:left;margin:-4px 0 12px;font-size:13px;line-height:1.5}.full{justify-content:center;width:100%;margin-top:10px}.link-button{width:100%;color:var(--primary);cursor:pointer;background:0 0;border:0;margin-top:12px;font-weight:800}.auth-error{color:var(--danger);background:#fef2f2;border:1px solid #fecaca;border-radius:8px;margin-bottom:10px;padding:10px 12px;font-size:13px}.auth-notice{color:#a7f3d0;background:#10b98121;border:1px solid #2dd4bf52;border-radius:8px;margin-bottom:10px;padding:10px 12px;font-size:13px}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=1100px){.app-shell,.app-shell[data-ui=pro]{grid-template-columns:88px minmax(0,1fr)}.brand div,.nav-item span,.tenant-card{display:none}.sidebar{padding:16px 12px}.nav-item{justify-content:center}.kpi-grid,.dashboard-grid,.config-grid,.health-strip,.two-col{grid-template-columns:1fr}.two-col{gap:18px}.wide{grid-column:span 1}}@media (width>=701px) and (width<=1100px){.app-shell[data-ui=pro]{grid-template-columns:76px minmax(0,1fr)}.app-shell[data-ui=pro] .sidebar{gap:16px;padding:16px 10px}.app-shell[data-ui=pro] .brand{justify-content:center;padding:6px 0 14px}.app-shell[data-ui=pro] .nav-item{justify-content:center;width:52px;height:52px;padding:0}.app-shell[data-ui=pro] .content{padding:20px 22px 36px}.app-shell[data-ui=pro] .topbar{grid-template-columns:minmax(0,1fr) auto;gap:14px;margin:0 -22px 22px;padding:0 22px 14px}.app-shell[data-ui=pro] .topbar>div:first-child{min-width:0}.app-shell[data-ui=pro] .topbar h1{font-size:24px;line-height:1.08}.app-shell[data-ui=pro] .top-actions{gap:8px}.app-shell[data-ui=pro] .icon-action,.app-shell[data-ui=pro] .user-chip{justify-content:center;width:42px;height:42px;padding:0}.app-shell[data-ui=pro] .icon-action span,.app-shell[data-ui=pro] .user-chip span{display:none}.app-shell[data-ui=pro] .kpi-grid,.ops-strip,.quick-actions-grid,.inventory-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell[data-ui=pro] .metric{min-height:108px;padding:14px}.app-shell[data-ui=pro] .metric strong{font-size:20px}.transaction-layout,.production-layout{grid-template-columns:minmax(0,1fr);gap:26px}.transaction-layout .form-panel,.production-layout .form-panel{margin-bottom:0;position:static;overflow:visible}.transaction-layout .table-panel,.production-layout .table-panel{margin-top:0}.import-template-grid,.import-actions,.config-guide-card,.ops-strip,.quick-actions-grid,.inventory-category-grid,.field-status-card{grid-template-columns:1fr}.inventory-hero{display:grid}.field-summary-row{grid-template-columns:minmax(0,1fr) 64px 64px}}@media (width<=700px){.app-shell,.app-shell[data-ui=pro]{padding-bottom:72px;display:block}.sidebar{z-index:20;border-right:0;border-top:1px solid var(--line);flex-direction:row;height:70px;padding:8px;position:fixed;inset:auto 0 0;overflow-x:auto;box-shadow:0 -10px 26px #0f172a14}.app-shell[data-theme=dark] .sidebar{box-shadow:0 -12px 30px #00000057}.brand{display:none}nav{gap:6px;display:flex}.nav-item{flex:none;width:54px;height:54px;padding:0}.content,.app-shell[data-ui=pro] .content{padding:18px}.topbar{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px;margin-bottom:14px;display:grid}.app-shell[data-ui=pro] .topbar{background:0 0;align-items:start;margin:0 0 14px;padding:0 0 14px}.topbar h1{color:var(--ink)}.top-actions,.app-shell[data-ui=pro] .top-actions{grid-template-columns:repeat(3,40px);grid-auto-rows:40px;justify-content:end;gap:6px;width:auto;display:grid}.user-chip,.app-shell[data-ui=pro] .user-chip{display:none}.icon-action,.app-shell[data-ui=pro] .icon-action{justify-content:center;width:40px;height:40px;padding:0}.icon-action span{display:none}.ghost svg,.user-chip svg{flex:none;width:18px}.auth-page{grid-template-columns:1fr;padding:22px}.auth-login-page{align-items:start}.auth-card{order:1}.auth-copy{border-radius:20px;order:2;min-height:auto;padding:24px}.auth-copy h1{font-size:34px}.auth-points,.form-grid{grid-template-columns:1fr}.panel-title-row{grid-template-columns:1fr;display:grid}.panel-title-row .table-actions{justify-content:stretch}.save-toast{justify-content:center;max-width:none;bottom:84px;left:12px;right:12px}.report-filter-grid,.import-template-grid,.import-actions,.config-guide-card{grid-template-columns:1fr}.import-template-card{min-height:auto}h1{font-size:25px}.metric{min-height:88px;padding:13px 15px}.metric svg{width:30px;height:30px;padding:7px}.metric strong{font-size:20px}.form-panel{margin-bottom:0;padding-bottom:18px;position:static;overflow:visible}.mobile-sticky-submit{width:100%;min-height:48px;margin-top:12px;position:static}.table-panel{padding:14px}.transaction-layout,.production-layout{gap:26px}.transaction-layout .table-panel,.production-layout .table-panel{margin-top:0;margin-bottom:14px}.table-panel .panel-title{margin-bottom:10px}table{font-size:12px}th,td{padding:8px 7px}th{font-size:10px}}.app-shell[data-ui=field]{--bg:#020617;--surface:#0f172a;--surface-2:#1e293b;--ink:#f8fafc;--muted:#94a3b8;--line:#334155;--primary:#2563eb;--primary-2:#60a5fa;--accent:#8b5cf6;--danger:#ef4444;--warning:#f59e0b;--success:#10b981;--info:#06b6d4;--audit:#d946ef;--shadow:0 10px 25px #00000075;--shadow-soft:0 4px 12px #00000042;background:var(--bg);color:var(--ink);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;grid-template-columns:128px minmax(0,1fr);font-size:14px}.app-shell[data-ui=field] .sidebar{background:var(--surface);border-right:1px solid var(--line);width:128px;box-shadow:none;align-items:center;gap:8px;padding:15px 10px}.app-shell[data-ui=field] .brand{border:0;justify-items:center;gap:4px;width:100%;padding:0 0 10px;display:grid}.app-shell[data-ui=field] .brand svg{background:linear-gradient(135deg, var(--primary), var(--accent));color:#fff;border-radius:10px;width:42px;height:42px;padding:11px;box-shadow:0 8px 25px #2563eb59}.app-shell[data-ui=field] .brand div{display:none}.app-shell[data-ui=field] nav{gap:6px;width:100%;display:grid}.app-shell[data-ui=field] .nav-item{width:108px;min-height:58px;color:var(--muted);text-align:center;text-transform:uppercase;letter-spacing:.3px;box-shadow:none;background:0 0;border-radius:12px;flex-direction:column;justify-content:center;gap:4px;padding:6px 2px;font-size:10px;font-weight:800;line-height:1.08;display:flex}.app-shell[data-ui=field] .nav-item svg{width:19px;height:19px}.app-shell[data-ui=field] .nav-item:hover{color:#fff;background:#ffffff0d}.app-shell[data-ui=field] .nav-item.active{color:#fff;background:var(--primary);box-shadow:0 4px 12px #2563eb59}.app-shell[data-ui=field] .nav-item:nth-child(2).active{background:var(--success);box-shadow:0 4px 12px #10b98159}.app-shell[data-ui=field] .nav-item:nth-child(3).active{background:var(--warning);color:#020617;box-shadow:0 4px 12px #f59e0b59}.app-shell[data-ui=field] .nav-item:nth-child(4).active{background:var(--accent);box-shadow:0 4px 12px #8b5cf659}.app-shell[data-ui=field] .nav-item:nth-child(5).active,.app-shell[data-ui=field] .nav-item:nth-child(6).active{background:var(--info);box-shadow:0 4px 12px #06b6d459}.app-shell[data-ui=field] .nav-item:nth-child(7).active{background:var(--danger);box-shadow:0 4px 12px #ef444459}.app-shell[data-ui=field] .nav-item:nth-child(8).active{background:var(--audit);box-shadow:0 4px 12px #d946ef59}.app-shell[data-ui=field] .tenant-card{display:none}.app-shell[data-ui=field] .content{background:var(--bg);min-width:0;min-height:100vh;padding:20px 22px;overflow-x:hidden}.app-shell[data-ui=field] .topbar{border-bottom:1px solid var(--line);background:0 0;justify-content:space-between;align-items:center;gap:10px;margin:0 0 24px;padding:0 0 16px;display:flex}.app-shell[data-ui=field] .eyebrow{color:var(--primary-2);text-transform:uppercase;font-size:11px;font-weight:900}.app-shell[data-ui=field] h1{color:#f8fafc;letter-spacing:.3px;font-size:21px}.app-shell[data-ui=field] .top-actions{align-items:center;gap:10px;display:flex}.app-shell[data-ui=field] .ghost,.app-shell[data-ui=field] .user-chip,.app-shell[data-ui=field] .primary,.app-shell[data-ui=field] input,.app-shell[data-ui=field] select,.app-shell[data-ui=field] textarea{border-radius:12px}.app-shell[data-ui=field] .ghost,.app-shell[data-ui=field] .user-chip{color:#93c5fd;background:#2563eb1a;border:1px solid #2563eb40;height:38px;font-size:12px}.app-shell[data-ui=field] .panel,.app-shell[data-ui=field] .metric{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-soft);border-radius:20px}.app-shell[data-ui=field] .panel{min-width:0;padding:22px}.app-shell[data-ui=field] .panel-title svg{color:#93c5fd;background:#2563eb26;border-radius:12px}.app-shell[data-ui=field] .panel-title h2{color:#f8fafc}.app-shell[data-ui=field] .panel-title p,.app-shell[data-ui=field] label,.app-shell[data-ui=field] .muted{color:var(--muted)}.app-shell[data-ui=field] .kpi-grid{gap:12px;margin-bottom:20px}.app-shell[data-ui=field] .metric{border-top:0;border-color:var(--line);cursor:default;background:linear-gradient(145deg,#172236,#0f172a);min-height:96px;padding:14px}.app-shell[data-ui=field] .metric:before{content:"";background:var(--metric-accent,var(--primary));border-radius:20px 20px 0 0;height:3px;margin:-14px -14px 11px;display:block}.app-shell[data-ui=field] .metric strong{color:#fff;font-size:22px}.app-shell[data-ui=field] .metric span,.app-shell[data-ui=field] .metric small{color:var(--muted);text-transform:uppercase;letter-spacing:.6px}.app-shell[data-ui=field] .metric svg{background:#ffffff0d}.app-shell[data-ui=field] .ops-card,.app-shell[data-ui=field] .field-status-card,.app-shell[data-ui=field] .field-summary-row,.app-shell[data-ui=field] .stock-row,.app-shell[data-ui=field] .money-list span,.app-shell[data-ui=field] .medicine-row,.app-shell[data-ui=field] .dose-info,.app-shell[data-ui=field] .import-confirm-bar,.app-shell[data-ui=field] .import-preview-toolbar,.app-shell[data-ui=field] .import-guide{background:var(--surface-2);border-color:var(--line);color:var(--ink)}.app-shell[data-ui=field] .ops-card{border-radius:16px;min-height:74px}.app-shell[data-ui=field] .inventory-category-grid{grid-template-columns:1fr}.app-shell[data-ui=field] .quick-action{border-color:var(--line);background:linear-gradient(145deg,#1e293b,#0f172a);border-radius:16px;min-height:68px}.app-shell[data-ui=field] .quick-actions-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.app-shell[data-ui=field] .quick-action:hover{background:linear-gradient(145deg,#243449,#111827)}.app-shell[data-ui=field] .quick-action span,.app-shell[data-ui=field] .ops-card strong,.app-shell[data-ui=field] .field-status-card strong,.app-shell[data-ui=field] .field-summary-row strong,.app-shell[data-ui=field] .stock-row strong,.app-shell[data-ui=field] .stock-row b{color:#f8fafc}.app-shell[data-ui=field] .chart{background:#0003;border-radius:12px;height:188px;padding:10px}.app-shell[data-ui=field] .chart-panel{padding-bottom:18px}.app-shell[data-ui=field] .chart-panel-head{justify-content:space-between;align-items:center;gap:14px;margin-bottom:12px;display:flex}.app-shell[data-ui=field] .chart-panel-head .panel-title{margin-bottom:0}.app-shell[data-ui=field] .chart-controls{border-color:var(--line);background:#111827;border-radius:12px}.app-shell[data-ui=field] .chart-controls button,.app-shell[data-ui=field] .chart-controls select{color:var(--muted);background:0 0;border-radius:10px}.app-shell[data-ui=field] .chart-controls button.active{background:var(--primary);color:#fff}.app-shell[data-ui=field] input,.app-shell[data-ui=field] select,.app-shell[data-ui=field] textarea{background:var(--surface-2);border:1px solid var(--line);min-height:42px;color:var(--ink);box-shadow:none}.app-shell[data-ui=field] input[type=checkbox]{width:18px;height:18px;min-height:18px;accent-color:var(--primary);box-shadow:none;border-radius:4px;padding:0}.app-shell[data-ui=field] input:focus,.app-shell[data-ui=field] select:focus,.app-shell[data-ui=field] textarea:focus{border-color:var(--primary);background:#1e2d45;outline:0}.app-shell[data-ui=field] .primary{background:var(--primary);color:#fff}.app-shell[data-ui=field] .success-action{background:var(--success);color:#fff}.app-shell[data-ui=field] .danger-action,.app-shell[data-ui=field] .ghost.danger{background:var(--danger);border-color:var(--danger);color:#fff}.app-shell[data-ui=field] table{font-size:12px}.app-shell[data-ui=field] th{color:#f8fafc;border:1px solid var(--line);text-transform:uppercase;background:#1e293b;padding:8px 10px;font-size:11px}.app-shell[data-ui=field] td{border:1px solid var(--line);padding:7px 10px;line-height:1.25}.app-shell[data-ui=field] .table-panel th:first-child,.app-shell[data-ui=field] .table-panel td:first-child{text-align:center;width:54px}.app-shell[data-ui=field] .compact-check{gap:7px;min-height:28px;font-size:11px}.app-shell[data-ui=field] .table-panel .ghost,.app-shell[data-ui=field] .data-card .ghost{height:38px;padding:0 12px}.app-shell[data-ui=field] tr:nth-child(2n) td{background:#ffffff05}.app-shell[data-ui=field] tr:hover td{background:#ffffff0a}.app-shell[data-ui=field] .row-alert{border-color:#f59e0b40;border-left:3px solid var(--warning);background:#f59e0b14}.app-shell[data-ui=field] .schedule{border-color:#8b5cf659;border-left:3px solid var(--accent);background:#1e1b4b}.app-shell[data-ui=field] .schedule.today{background:#a78bfa1f;border-color:#c4b5fd}.app-shell[data-ui=field] .schedule.overdue{border-color:var(--danger);background:#ef444414}.app-shell[data-ui=field] .tabs,.app-shell[data-ui=field] .check-panel,.app-shell[data-ui=field] .checks,.app-shell[data-ui=field] .config-guide-card,.app-shell[data-ui=field] .import-template-card{background:var(--surface);border-color:var(--line)}.app-shell[data-ui=field] .tabs button.active,.app-shell[data-ui=field] .import-template-card.active{background:var(--primary);color:#fff}.app-shell[data-ui=field] .save-toast{background:var(--success);color:#fff}.app-shell[data-ui=field] .modal-card{background:var(--surface);border-color:var(--line)}.app-shell[data-ui=field] .invoice-receipt div{background:var(--surface-2)}.app-shell[data-ui=field] .invoice-receipt strong,.app-shell[data-ui=field] .invoice-lines b{color:#f8fafc}.app-shell[data-ui=field][data-theme=light]{--bg:#eef8f5;--surface:#fff;--surface-2:#f3faf7;--ink:#0f172a;--muted:#64748b;--line:#cfe1dc;--primary:#0d9488;--primary-2:#0f766e;--accent:#7c3aed;--danger:#dc2626;--warning:#d97706;--success:#16a34a;--info:#0284c7;--audit:#c026d3;--shadow:0 18px 42px #0f172a1a;--shadow-soft:0 8px 22px #0f172a14;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:radial-gradient(circle at 0 0,#14b8a629,#0000 34%),linear-gradient(135deg,#f8fffd 0%,#eef8f5 48%,#edf5ff 100%)}.app-shell[data-ui=field][data-theme=light] .sidebar{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffffff0;border-right-color:#0d94882e;box-shadow:12px 0 32px #0f172a14}.app-shell[data-ui=field][data-theme=light] .nav-item{color:#64748b}.app-shell[data-ui=field][data-theme=light] .nav-item:hover{color:#0f766e;background:#0d948817}.app-shell[data-ui=field][data-theme=light] .nav-item.active{color:#fff}.app-shell[data-ui=field][data-theme=light] .content{background:radial-gradient(circle at 100% 0,#7c3aed17,#0000 30%),linear-gradient(135deg,#f8fffd 0%,#eef8f5 56%,#f3f7ff 100%)}.app-shell[data-ui=field][data-theme=light] .topbar{border-bottom-color:#0d94882e}.app-shell[data-ui=field][data-theme=light] h1,.app-shell[data-ui=field][data-theme=light] .panel-title h2,.app-shell[data-ui=field][data-theme=light] .metric strong,.app-shell[data-ui=field][data-theme=light] .ops-card strong,.app-shell[data-ui=field][data-theme=light] .field-status-card strong,.app-shell[data-ui=field][data-theme=light] .field-summary-row strong,.app-shell[data-ui=field][data-theme=light] .stock-row strong,.app-shell[data-ui=field][data-theme=light] .stock-row b,.app-shell[data-ui=field][data-theme=light] .invoice-receipt strong,.app-shell[data-ui=field][data-theme=light] .invoice-lines b{color:#0f172a}.app-shell[data-ui=field][data-theme=light] .ghost,.app-shell[data-ui=field][data-theme=light] .user-chip{color:#0f766e;background:#0d94881a;border-color:#0d948838}.app-shell[data-ui=field][data-theme=light] .panel,.app-shell[data-ui=field][data-theme=light] .metric{box-shadow:var(--shadow-soft);background:#ffffffeb;border-color:#0d948829}.app-shell[data-ui=field][data-theme=light] .metric{background:linear-gradient(145deg,#fffffffa,#f0fdfaeb)}.app-shell[data-ui=field][data-theme=light] .metric svg,.app-shell[data-ui=field][data-theme=light] .panel-title svg{background:color-mix(in srgb, var(--metric-accent,var(--primary)) 14%, white);color:var(--metric-accent,var(--primary))}.app-shell[data-ui=field][data-theme=light] .metric span,.app-shell[data-ui=field][data-theme=light] .metric small,.app-shell[data-ui=field][data-theme=light] .panel-title p,.app-shell[data-ui=field][data-theme=light] label,.app-shell[data-ui=field][data-theme=light] .muted{color:#64748b}.app-shell[data-ui=field][data-theme=light] .ops-card,.app-shell[data-ui=field][data-theme=light] .field-status-card,.app-shell[data-ui=field][data-theme=light] .field-summary-row,.app-shell[data-ui=field][data-theme=light] .stock-row,.app-shell[data-ui=field][data-theme=light] .money-list span,.app-shell[data-ui=field][data-theme=light] .medicine-row,.app-shell[data-ui=field][data-theme=light] .dose-info,.app-shell[data-ui=field][data-theme=light] .import-confirm-bar,.app-shell[data-ui=field][data-theme=light] .import-preview-toolbar,.app-shell[data-ui=field][data-theme=light] .import-guide{color:var(--ink);background:#ffffffe0;border-color:#0d94882e}.app-shell[data-ui=field][data-theme=light] .quick-action{background:linear-gradient(145deg, #fffffffa, color-mix(in srgb, var(--quick) 8%, white));border-color:color-mix(in srgb, var(--quick) 30%, var(--line))}.app-shell[data-ui=field][data-theme=light] .quick-action:hover{background:linear-gradient(145deg, color-mix(in srgb, var(--quick) 12%, white), #fff)}.app-shell[data-ui=field][data-theme=light] .quick-action span{color:#0f172a}.app-shell[data-ui=field][data-theme=light] .chart{background:linear-gradient(#f8fafc,#eef7ff);border:1px solid #0284c71f}.app-shell[data-ui=field][data-theme=light] .chart-controls{background:#fff;border-color:#0d94882e}.app-shell[data-ui=field][data-theme=light] .chart-controls button,.app-shell[data-ui=field][data-theme=light] .chart-controls select{color:#475569}.app-shell[data-ui=field][data-theme=light] .chart-controls button.active{background:linear-gradient(135deg, var(--primary), #2563eb);color:#fff}.app-shell[data-ui=field][data-theme=light] input,.app-shell[data-ui=field][data-theme=light] select,.app-shell[data-ui=field][data-theme=light] textarea{color:#0f172a;background:#fff;border-color:#bfd8d2}.app-shell[data-ui=field][data-theme=light] input:focus,.app-shell[data-ui=field][data-theme=light] select:focus,.app-shell[data-ui=field][data-theme=light] textarea:focus{border-color:var(--primary);background:#fff;box-shadow:0 0 0 3px #0d94881f}.app-shell[data-ui=field][data-theme=light] .primary,.app-shell[data-ui=field][data-theme=light] .success-action{background:linear-gradient(135deg, var(--primary), #2563eb);color:#fff}.app-shell[data-ui=field][data-theme=light] th{color:#164e63;background:linear-gradient(#e7f7f2,#dff2ee);border-color:#cfe1dc}.app-shell[data-ui=field][data-theme=light] td{border-color:#d7e6e2}.app-shell[data-ui=field][data-theme=light] tr:nth-child(2n) td{background:#0d948806}.app-shell[data-ui=field][data-theme=light] tr:hover td{background:#2563eb0b}.app-shell[data-ui=field][data-theme=light] .row-alert{background:#fff7ed;border-color:#fed7aa}.app-shell[data-ui=field][data-theme=light] .schedule{background:#f5f3ff;border-color:#c4b5fd}.app-shell[data-ui=field][data-theme=light] .schedule.today{background:#ecfdf5;border-color:#86efac}.app-shell[data-ui=field][data-theme=light] .schedule.overdue{background:#fef2f2;border-color:#fca5a5}.app-shell[data-ui=field][data-theme=light] .tabs,.app-shell[data-ui=field][data-theme=light] .check-panel,.app-shell[data-ui=field][data-theme=light] .checks,.app-shell[data-ui=field][data-theme=light] .config-guide-card,.app-shell[data-ui=field][data-theme=light] .import-template-card,.app-shell[data-ui=field][data-theme=light] .modal-card,.app-shell[data-ui=field][data-theme=light] .invoice-receipt div{background:#fff;border-color:#0d94882e}.app-shell[data-ui=field][data-theme=light] .tabs button.active,.app-shell[data-ui=field][data-theme=light] .import-template-card.active{background:linear-gradient(135deg, var(--primary), #2563eb);color:#fff}@media (width<=1100px){.app-shell[data-ui=field]{grid-template-columns:92px minmax(0,1fr)}.app-shell[data-ui=field] .sidebar{width:92px;padding:15px 8px}.app-shell[data-ui=field] .nav-item{width:74px;font-size:9px}}@media (width<=900px){.app-shell[data-ui=field]{padding-bottom:72px;display:block}.app-shell[data-ui=field] .sidebar{z-index:20;border-right:0;border-top:1px solid var(--line);flex-direction:row;width:auto;height:70px;padding:8px;position:fixed;inset:auto 0 0;overflow-x:auto}.app-shell[data-ui=field][data-theme=light] .sidebar{background:#fffffff5;border-top-color:#0d948833;box-shadow:0 -14px 30px #0f172a1a}.app-shell[data-ui=field] nav{width:max-content;display:flex}.app-shell[data-ui=field] .nav-item{flex:0 0 54px;width:54px;min-height:54px}.app-shell[data-ui=field] .content{padding:16px}.app-shell[data-ui=field] .top-actions{grid-template-columns:repeat(3,40px);gap:6px;display:grid}.app-shell[data-ui=field] .icon-action,.app-shell[data-ui=field] .user-chip{justify-content:center;width:40px;height:40px;padding:0}.app-shell[data-ui=field] .icon-action span,.app-shell[data-ui=field] .user-chip{display:none}.app-shell[data-ui=field] .panel{padding:16px}.app-shell[data-ui=field] .kpi-grid,.app-shell[data-ui=field] .ops-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.app-shell[data-ui=field] .kpi-grid{margin-bottom:10px}.app-shell[data-ui=field] .metric{border-radius:18px;min-height:96px;padding:12px}.app-shell[data-ui=field] .metric:before{border-radius:18px 18px 0 0;height:4px;margin:-12px -12px 9px}.app-shell[data-ui=field] .metric-top{gap:6px}.app-shell[data-ui=field] .metric svg{width:30px;height:30px;padding:7px}.app-shell[data-ui=field] .metric span{font-size:10px;line-height:1.15}.app-shell[data-ui=field] .metric strong{font-size:18px;line-height:1.08}.app-shell[data-ui=field] .metric small{font-size:9px;line-height:1.2}.app-shell[data-ui=field] .ops-strip{margin:0 0 10px}.app-shell[data-ui=field] .ops-card{border-radius:16px;min-height:72px;padding:10px}.app-shell[data-ui=field] .ops-card span{font-size:9px;line-height:1.2}.app-shell[data-ui=field] .ops-card strong{font-size:14px;line-height:1.08}.app-shell[data-ui=field] .quick-actions-panel{margin-bottom:14px;padding:12px}.app-shell[data-ui=field] .quick-actions-panel .panel-title{margin-bottom:10px}.app-shell[data-ui=field] .dashboard-grid{gap:14px}.app-shell[data-ui=field] .dashboard-grid .panel{border-radius:18px;padding:14px}.app-shell[data-ui=field] .dashboard-grid .panel-title{margin-bottom:10px}.app-shell[data-ui=field] .chart-panel-head{justify-content:space-between;align-items:flex-start;gap:8px;margin-bottom:6px;display:flex}.app-shell[data-ui=field] .chart-panel{margin-bottom:14px;padding:10px 12px 12px}.app-shell[data-ui=field] .panel-title{gap:8px}.app-shell[data-ui=field] .panel-title svg{width:30px;height:30px;padding:7px}.app-shell[data-ui=field] .panel-title h2{font-size:16px;line-height:1.05}.app-shell[data-ui=field] .panel-title p{font-size:10px;line-height:1.15}.app-shell[data-ui=field] .config-grid,.app-shell[data-ui=field] .two-col,.app-shell[data-ui=field] .form-grid,.app-shell[data-ui=field] .check-panel .checks{grid-template-columns:minmax(0,1fr)}.app-shell[data-ui=field] .transaction-config-card,.app-shell[data-ui=field] .inline-config-form,.app-shell[data-ui=field] .config-editor,.app-shell[data-ui=field] .config-table-wrap,.app-shell[data-ui=field] .form-panel,.app-shell[data-ui=field] label,.app-shell[data-ui=field] input,.app-shell[data-ui=field] select,.app-shell[data-ui=field] textarea{min-width:0;max-width:100%}.app-shell[data-ui=field] .tabs{scrollbar-width:none;width:100%;max-width:100%;display:flex;overflow-x:auto}.app-shell[data-ui=field] .tabs::-webkit-scrollbar{display:none}.app-shell[data-ui=field] .tabs button{white-space:nowrap;flex:none}.app-shell[data-ui=field] .config-guide-card{grid-template-columns:minmax(0,1fr);overflow:hidden}.app-shell[data-ui=field] .config-guide-card p,.app-shell[data-ui=field] .config-guide-card li,.app-shell[data-ui=field] .panel-title h2,.app-shell[data-ui=field] .panel-title p,.app-shell[data-ui=field] .muted{overflow-wrap:anywhere}.app-shell[data-ui=field] .compact-checks{grid-template-columns:minmax(0,1fr);min-width:0}.app-shell[data-ui=field] .config-table-wrap{overscroll-behavior-x:contain;width:100%;overflow-x:auto}.app-shell[data-ui=field] .transaction-config-card .config-table-wrap{overflow-x:visible}.app-shell[data-ui=field] .transaction-config-card .config-table{width:100%;min-width:0;display:block}.app-shell[data-ui=field] .transaction-config-card .config-table thead{display:none}.app-shell[data-ui=field] .transaction-config-card .config-table tbody{gap:10px;display:grid}.app-shell[data-ui=field] .transaction-config-card .config-table tr{border:1px solid var(--line);background:var(--surface);border-radius:14px;gap:8px;padding:12px;display:grid}.app-shell[data-ui=field] .transaction-config-card .config-table td{white-space:normal;border:0;grid-template-columns:minmax(88px,.38fr) minmax(0,1fr);align-items:center;gap:8px;min-width:0;padding:0;display:grid}.app-shell[data-ui=field] .transaction-config-card .config-table td:before{color:var(--muted);text-transform:uppercase;font-size:10px;font-weight:900}.app-shell[data-ui=field] .transaction-config-card .config-table td:first-child:before{content:"Kategori"}.app-shell[data-ui=field] .transaction-config-card .config-table td:nth-child(2):before{content:"Logika"}.app-shell[data-ui=field] .transaction-config-card .config-table td:nth-child(3):before{content:"Jenis"}.app-shell[data-ui=field] .transaction-config-card .config-table td:nth-child(4):before{content:"Dampak"}.app-shell[data-ui=field] .transaction-config-card .config-table td:nth-child(5):before{content:"Item"}.app-shell[data-ui=field] .transaction-config-card .config-table td:nth-child(6):before{content:"Unit"}.app-shell[data-ui=field] .transaction-config-card .config-table td:nth-child(7):before{content:"Qty"}.app-shell[data-ui=field] .transaction-config-card .config-table td:nth-child(8):before{content:"Harga"}.app-shell[data-ui=field] .transaction-config-card .config-table td:nth-child(9):before{content:"Total"}.app-shell[data-ui=field] .transaction-config-card .config-table td:nth-child(10):before{content:"Bayar"}.app-shell[data-ui=field] .transaction-config-card .config-table td:nth-child(11):before{content:"Desk"}.app-shell[data-ui=field] .transaction-config-card .config-table .category-cell{min-width:0}.app-shell[data-ui=field] .transaction-config-card .config-table .check-cell{text-align:left}.app-shell[data-ui=field] .transaction-config-card .config-table .check-cell input{justify-self:start}.app-shell[data-ui=field] .quick-actions-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.app-shell[data-ui=field] .quick-action{border-radius:14px;grid-template-columns:32px minmax(0,1fr);min-height:66px;padding:9px}.app-shell[data-ui=field] .quick-action svg{width:30px;height:30px;padding:7px}.app-shell[data-ui=field] .quick-action span,.app-shell[data-ui=field] .quick-action small{white-space:normal}.app-shell[data-ui=field] .quick-action span{font-size:11px;line-height:1.15}.app-shell[data-ui=field] .quick-action small{font-size:9px;line-height:1.2}.app-shell[data-ui=field] .inventory-hero{gap:12px}.app-shell[data-ui=field] .inventory-mini-summary{width:100%}.app-shell[data-ui=field] .inventory-mini-summary span{flex:130px;justify-content:center}.app-shell[data-ui=field] .inventory-category-card{gap:10px}.app-shell[data-ui=field] .stock-row{padding:12px}.app-shell[data-ui=field] .chart-controls{border-radius:11px;flex:none;grid-template-columns:36px 38px 64px 76px;width:auto;margin-bottom:6px;padding:3px;display:grid}.app-shell[data-ui=field] .chart-controls button,.app-shell[data-ui=field] .chart-controls select{border-radius:9px;min-height:30px;padding:5px 7px;font-size:10px}.app-shell[data-ui=field] .chart{border-radius:10px;height:146px;padding:6px}.app-shell[data-ui=field] .row-alert,.app-shell[data-ui=field] .schedule,.app-shell[data-ui=field] .field-summary-row{border-radius:14px;padding:10px}.app-shell[data-ui=field] .schedule{gap:4px}.app-shell[data-ui=field] .schedule span{font-size:11px}.app-shell[data-ui=field] .schedule strong{font-size:13px}.app-shell[data-ui=field] .schedule small{font-size:10px;line-height:1.35}.app-shell[data-ui=field] .field-summary-row{grid-template-columns:minmax(0,1fr) 58px 58px}.app-shell[data-ui=field] .field-summary-row b{font-size:13px}.app-shell[data-ui=field] .field-summary-row span,.app-shell[data-ui=field] .field-summary-row small{font-size:9px}}@media (width>=560px) and (width<=900px){.app-shell[data-ui=field] .chart-panel-head .panel-title{min-width:0}}@media (width<=520px){.app-shell[data-ui=field] .chart-panel{margin-bottom:14px;padding:8px 10px 10px}.app-shell[data-ui=field] .chart-panel .panel-title p{display:none}.app-shell[data-ui=field] .chart-panel-head{align-items:center;gap:5px;margin-bottom:5px}.app-shell[data-ui=field] .chart-controls{grid-template-columns:30px 32px 56px 68px;margin-bottom:5px}.app-shell[data-ui=field] .chart-controls button,.app-shell[data-ui=field] .chart-controls select{min-height:28px;padding:4px 5px;font-size:9px}.app-shell[data-ui=field] .chart{height:132px;padding:5px}}@media print{@page{size:A4;margin:10mm}body{color:#000;background:#fff}.sidebar,.topbar,.report-filter-panel,.report-actions,.content>.panel:first-child,.tabs,.form-panel{display:none!important}.app-shell{background:#fff!important;display:block!important}.content{background:#fff!important;padding:0!important}.report-output{display:block!important}.app-shell[data-ui=field] .panel,.app-shell[data-ui=field][data-theme=light] .panel,.app-shell[data-ui=field][data-theme=dark] .panel,.panel{break-inside:avoid;box-shadow:none!important;background:0 0!important;border:0!important;border-radius:0!important;margin:0 0 8px!important;padding:0!important;overflow:visible!important}.panel-title{gap:0!important;margin:0 0 4px!important}.panel-title svg,.chart{display:none}.panel-title h2{color:#000!important;margin:0!important;font-size:13px!important;line-height:1.15!important}.panel-title p{color:#333!important;margin:1px 0 4px!important;font-size:9px!important;line-height:1.15!important}table{color:#000;font-size:10px;line-height:1.15;border-collapse:collapse!important;width:100%!important}.money-list{grid-template-columns:repeat(3,1fr);gap:4px;margin-bottom:6px}.app-shell[data-ui=field] .money-list span,.app-shell[data-ui=field][data-theme=light] .money-list span,.money-list span{border:1px solid #222;border-radius:0;padding:4px 6px;line-height:1.15;color:#000!important;background:#fff!important}.money-list b{font-size:10px}th,td{border:1px solid #222;padding:3px 5px}th{color:#000!important;background:#f2f2f2!important}tr:nth-child(2n) td{background:#fff!important}}
