:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#eef2f6;color:#111827;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}.auth-shell{align-items:center;background:#0a1020;display:grid;min-height:100vh;padding:24px}.auth-panel{background:#fff;border-radius:10px;box-shadow:0 24px 60px #00000047;display:grid;gap:16px;margin:0 auto;max-width:430px;padding:28px;width:100%}.auth-panel h1{color:#0a1020;font-size:30px;margin:0}.app-shell{display:grid;grid-template-columns:320px minmax(0,1fr);min-height:100vh}.sidebar{background:#0a1020;color:#fff;display:flex;flex-direction:column;gap:24px;padding:28px}.brand-block{display:grid;gap:18px}.brand-mark{align-items:center;background:#fff;border:1px solid rgba(255,255,255,.18);border-radius:10px;box-shadow:0 14px 34px #00000038;display:flex;min-height:86px;justify-content:center;overflow:hidden;padding:10px;width:100%}.brand-mark img{display:block;height:auto;max-height:66px;max-width:100%;object-fit:contain}.auth-panel .brand-mark{box-shadow:none;min-height:92px}.brand-block h1,.topbar h2,.section-heading h3{letter-spacing:0;margin:0}.brand-block h1{color:#fff;font-size:28px;line-height:1.05}.eyebrow{color:#2f855a;font-size:12px;font-weight:900;letter-spacing:0;margin:0 0 5px;text-transform:uppercase}.sidebar .eyebrow{color:#ff2a2a;font-size:13px}.role-switcher{background:#ffffff0f;border:1px solid rgba(255,255,255,.14);border-radius:8px;display:grid;gap:8px;padding:8px}.role-switcher button,.agent-picker button,.agent-toggle{align-items:center;border:0;border-radius:8px;display:flex;font-weight:800;gap:8px;min-height:42px;padding:0 12px}.role-switcher button{background:transparent;color:#d6dded;justify-content:flex-start}.role-switcher button.selected{background:#fff;color:#07135f}.day-panel{border:1px solid rgba(255,255,255,.12);border-radius:8px;margin-top:auto;padding:16px}.day-panel p{color:#cbd5e1;line-height:1.5;margin:10px 0 0}.day-status{align-items:center;display:flex;gap:8px}.day-status.open{color:#fff}.day-status.closed{color:#fca5a5}.workspace{display:flex;flex-direction:column;gap:18px;padding:28px}.topbar{align-items:center;display:flex;justify-content:space-between;gap:20px}.topbar h2{font-size:28px}.topbar-actions{align-items:center;display:flex;gap:10px}.rate-lock{align-items:center;background:#fff;border:1px solid #d6dee9;border-radius:8px;color:#0f172a;display:flex;font-weight:900;gap:8px;min-height:44px;padding:0 14px}.icon-button{align-items:center;background:#fff;border:1px solid #d6dee9;border-radius:8px;color:#07135f;display:inline-flex;height:44px;justify-content:center;width:44px}.alert{border:1px solid;border-radius:8px;font-weight:800;padding:12px 14px;text-align:left}.alert.error{background:#fee2e2;border-color:#fca5a5;color:#991b1b}.alert.success{background:#e8edff;border-color:#b7c3ff;color:#07135f}.alert.warning{background:#fff7ed;border-color:#fed7aa;color:#9a3412}.product-stock-card,.panel,.inventory-band,.ledger-table{background:#fff;border:1px solid #d6dee9;border-radius:8px}.inventory-band{align-items:center;display:grid;gap:18px;grid-template-columns:260px minmax(0,1fr);padding:16px}.inventory-band strong{display:block;font-size:16px}.stock-track{background:#e2e8f0;border-radius:999px;height:14px;overflow:hidden}.stock-track span{background:linear-gradient(90deg,#07135f,#ff1010);display:block;height:100%}.product-stock-grid{display:grid;gap:12px;grid-template-columns:repeat(3,minmax(220px,1fr))}.product-stock-card{display:grid;gap:14px;padding:16px}.product-stock-head,.product-stock-values,.product-stock-foot{align-items:center;display:flex;justify-content:space-between;gap:12px}.product-stock-head h3{font-size:18px;margin:0}.product-stock-head span{background:#e8edff;border-radius:999px;color:#07135f;font-size:12px;font-weight:900;padding:6px 9px}.product-stock-values{align-items:stretch}.product-stock-values div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;display:grid;flex:1;gap:5px;min-height:76px;padding:10px}.product-stock-values small,.product-stock-foot{color:#64748b;font-size:12px;font-weight:800}.product-stock-values strong{color:#111827;font-size:17px;line-height:1.15}.depot-history{border-top:1px solid #e2e8f0;padding-top:2px}.depot-history summary{color:#07135f;cursor:pointer;font-size:13px;font-weight:900;list-style-position:inside;padding:6px 0}.depot-history p{color:#64748b;font-size:13px;font-weight:700;margin:8px 0 0}.depot-history-list{display:grid;gap:8px;margin-top:8px}.depot-history-row{align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;display:flex;justify-content:space-between;gap:10px;padding:10px}.depot-history-row div{display:grid;gap:3px}.depot-history-row.reversed{opacity:.72}.depot-history-row strong{color:#111827;font-size:14px}.depot-history-row span{color:#64748b;font-size:12px;font-weight:800}.rate-history{border-top:1px solid #e2e8f0;display:grid;gap:10px;padding-top:12px}.rate-history-list{display:grid;gap:8px}.rate-history-row{align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;display:flex;gap:10px;justify-content:space-between;padding:10px}.rate-history-row div{display:grid;gap:3px}.history-actions,.depot-history-row .history-actions,.rate-history-row .history-actions{align-items:center;display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.rate-history-row strong{color:#111827;font-size:14px}.rate-history-row span,.rate-history-row small,.reversal-note{color:#64748b;font-size:12px;font-weight:800}.rate-history-row.reversed{opacity:.72}.control-grid{display:grid;gap:14px;grid-template-columns:repeat(2,minmax(260px,1fr))}.panel{display:flex;flex-direction:column;gap:14px;padding:18px}.account-panel{border-color:#b7c3ff}.panel-title{align-items:center;display:flex;gap:10px}.panel-title span{align-items:center;background:#eef2ff;border-radius:8px;color:#07135f;display:flex;height:36px;justify-content:center;width:36px}.panel-title h3{font-size:18px;margin:0}.muted{color:#64748b;line-height:1.45;margin:0}label{color:#334155;display:grid;font-size:13px;font-weight:800;gap:7px}.field-label{color:#334155;font-size:13px;font-weight:800;margin:0}input,select{background:#fff;border:1px solid #cbd5e1;border-radius:8px;color:#111827;min-height:44px;outline:none;padding:0 12px}input:focus,select:focus{border-color:#07135f;box-shadow:0 0 0 3px #07135f24}.button{border:0;border-radius:8px;color:#fff;font-weight:900;min-height:46px;padding:0 16px}.button.primary{background:#07135f}.button.secondary{background:#ff1010}.button.danger{background:#b91c1c}.button.ghost{background:#fff;border:1px solid #cbd5e1;color:#07135f}.align-end{align-self:end;width:100%}.agent-admin-list,.agent-picker,.bank-list{display:flex;flex-wrap:wrap;gap:8px}.bank-list span{background:#f8fafc;border:1px solid #d6dee9;border-radius:8px;color:#334155;font-size:12px;font-weight:800;padding:8px 10px}.agent-toggle{background:#f8fafc;border:1px solid #d6dee9;color:#334155;justify-content:space-between;min-width:170px}.agent-admin-card{align-items:stretch;display:flex;gap:6px}.agent-admin-card.active .agent-toggle{border-color:#b7c3ff;color:#07135f}.agent-toggle small{font-weight:900}.agent-delete{background:#fee2e2;border:1px solid #fecaca;border-radius:8px;color:#991b1b;font-size:12px;font-weight:900;padding:0 10px}.full-span{grid-column:1 / -1}.support-list,.audit-list{display:grid;gap:10px}.support-row,.audit-row{align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;display:flex;gap:12px;justify-content:space-between;padding:12px}.support-actions{align-items:flex-end;display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.support-row>div:first-child,.audit-row div{display:grid;gap:4px}.support-row strong,.audit-row strong{color:#111827;font-size:14px}.support-row span,.support-row small,.audit-row span,.audit-row small{color:#64748b;font-size:12px;font-weight:800}.agent-workflow{display:block}.sale-panel{max-width:900px}.agent-picker button{background:#eef2f7;color:#334155}.agent-picker button.selected{background:#e8edff;color:#07135f}.form-row{display:grid;gap:12px;grid-template-columns:repeat(2,minmax(180px,1fr))}.computed-value{align-items:center;background:#f8fafc;border:1px solid #d6dee9;border-radius:8px;display:flex;justify-content:space-between;gap:12px;padding:14px}.computed-value span{color:#64748b;font-weight:800}.computed-value strong{font-size:24px}.manager-report{margin-top:22px}.report-brand{align-items:center;border-bottom:1px solid #d6dee9;display:flex;gap:16px;margin-bottom:18px;padding-bottom:16px}.report-brand img{background:#fff;border:1px solid #d6dee9;border-radius:8px;height:70px;object-fit:contain;padding:8px;width:220px}.report-brand h2{font-size:24px;margin:0}.report-actions{display:grid;gap:10px;justify-items:end}.print-button{align-items:center;display:inline-flex;gap:8px;justify-content:center}.report-summary,.report-grid{display:grid;gap:12px}.report-summary{grid-template-columns:repeat(4,minmax(160px,1fr));margin:14px 0}.report-summary div,.report-card{background:#f8fafc;border:1px solid #d6dee9;border-radius:8px}.report-summary div{display:grid;gap:6px;padding:12px}.report-summary small{color:#64748b;font-size:12px;font-weight:900;text-transform:uppercase}.report-grid{grid-template-columns:repeat(2,minmax(260px,1fr))}.report-card{padding:14px}.report-card h3{font-size:18px;margin:0 0 12px}.report-table{min-width:620px}.ledger-table{padding:18px}.section-heading{align-items:flex-start;display:flex;justify-content:space-between;gap:14px;margin-bottom:14px}.sales-filters{display:grid;gap:10px}.audit-controls{display:grid;gap:10px;justify-items:end}.sales-filter{min-width:220px}.page-size-filter{max-width:220px;width:100%}.table-wrap{overflow-x:auto}.profit-panel{margin-bottom:22px}.profit-table .profit-total-row td,.ledger-total-row td{background:#f8fafc;color:#07135f;font-size:15px;font-weight:900}.pagination-bar{align-items:center;color:#64748b;display:flex;font-size:13px;font-weight:800;gap:12px;justify-content:space-between;padding-top:14px}.pagination-actions{align-items:center;display:flex;gap:10px}.pagination-actions .button{min-height:38px}table{border-collapse:collapse;min-width:1220px;width:100%}th,td{border-bottom:1px solid #e2e8f0;padding:12px 10px;text-align:left;white-space:nowrap}th{color:#64748b;font-size:12px;text-transform:uppercase}td{color:#111827;font-size:14px;font-weight:700}.reversed-row td{color:#64748b}.status-chip{background:#e8edff;border-radius:999px;color:#07135f;display:inline-flex;font-size:12px;font-weight:900;padding:6px 9px}.status-chip.reversed{background:#fee2e2;color:#991b1b}.link-button{background:transparent;border:0;color:#07135f;font-weight:900;min-height:auto;padding:4px 0}.danger-link{color:#b91c1c}.empty-state{align-items:center;color:#64748b;display:flex;gap:10px;justify-content:center;min-height:120px}.empty-state.compact{min-height:90px}@media(max-width:1100px){.app-shell{grid-template-columns:1fr}.sidebar{min-height:auto}.product-stock-grid{grid-template-columns:repeat(2,minmax(220px,1fr))}}@media(max-width:720px){.workspace,.sidebar{padding:18px}.topbar,.section-heading,.computed-value{align-items:flex-start;flex-direction:column}.product-stock-grid,.control-grid,.form-row,.report-grid,.report-summary,.inventory-band{grid-template-columns:1fr}.topbar h2{font-size:24px}.report-brand{align-items:flex-start;flex-direction:column}.computed-value strong{font-size:20px}}
