:root{--ms-btn-bg:#c2410c;--ms-btn-fg:#fff;--ms-ghost-bg:#eef3f8;--ms-ghost-fg:#082b55;--ms-primary-bg:#0b376b;--ms-primary-fg:#fff;--ms-surface:#fff;--ms-surface-2:#f8fafc;--ms-text:#172033;--ms-text-soft:#4b5b6e;--ms-border:#cfd9e3;--ms-ok-bg:#ecfdf3;--ms-ok-fg:#05603a;--ms-err-bg:#fff1f1;--ms-err-fg:#b42318;--ms-warn-bg:#fff7e6;--ms-warn-fg:#93370d;--ms-info-bg:#eef4fa;--ms-info-fg:#0b376b;--ms-off-bg:#f2f4f7;--ms-off-fg:#475467;--ms-heading:#0b2f5b;--ms-accent:#1d4ed8;--ms-ok-text:#166534;--ms-err-text:#b91c1c;--ms-badge-bg:#e7eef5;--ms-badge-fg:#0f2745;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#102033;background:#f4f7fa}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}.app-shell{display:grid;grid-template-columns:250px 1fr;min-height:100vh}.sidebar{background:#082b55;color:#fff;padding:22px 16px;position:sticky;top:0;height:100vh}.brand{font-size:22px;font-weight:800;margin-bottom:28px}.brand span{display:block;font-size:11px;letter-spacing:1.5px;color:#c8d7e8;margin-top:3px}.sidebar nav{display:grid;gap:7px}.sidebar a{color:#dbe7f5;text-decoration:none;padding:11px 12px;border-radius:8px}.sidebar a.active,.sidebar a:hover{background:#123f7a;color:#fff}.content{min-width:0}.topbar{height:64px;background:#fff;border-bottom:1px solid #e1e8ef;display:flex;align-items:center;justify-content:space-between;padding:0 24px}.page{padding:24px}.page-title h1{margin:0 0 4px}.page-title p{margin:0 0 20px;color:#637286}.card{background:#fff;border:1px solid #e3e9ef;border-radius:12px;box-shadow:0 1px 3px #0000000a}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.stat{padding:18px}.stat span{color:#637286;display:block;font-size:13px}.stat strong{font-size:26px;color:#082b55}.inline-form{padding:14px;display:grid;grid-template-columns:repeat(4,minmax(140px,1fr)) auto;gap:10px;margin-bottom:16px}.grid-form{padding:18px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:16px}.grid-form label,.login-card label{display:grid;gap:6px;font-size:13px;color:#475569}.wide{grid-column:1/-1}.metric-preview{background:#eef4fa;border-radius:8px;padding:10px}.metric-preview strong{display:block;font-size:20px;color:#082b55}input,select{width:100%;padding:10px;border:1px solid #cfd9e3;border-radius:8px;background:#fff}button{border:0;border-radius:8px;padding:10px 14px;background:var(--ms-btn-bg);color:var(--ms-btn-fg);font-weight:700;cursor:pointer}button:disabled{opacity:.6;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--ms-btn-bg);outline-offset:2px}.ghost{background:var(--ms-ghost-bg);color:var(--ms-ghost-fg)}button[style*="background: rgb(255, 255, 255)"],button[style*="background: rgb(248, 250, 252)"],button[style*="background: rgb(241, 245, 249)"],button[style*="background: rgb(226, 232, 240)"],button[style*="background: rgb(238, 242, 247)"],button[style*="background: rgb(238, 243, 248)"]{color:var(--ms-ghost-fg)}button[style*="background: rgb(5, 150, 105)"]{background:#047857}button[style*="background: rgb(255, 106, 26)"],button[style*="background: rgb(249, 115, 22)"],button[style*="background: rgb(255, 107, 11)"]{background:var(--ms-btn-bg)}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;min-width:760px}th,td{padding:12px;border-bottom:1px solid #e7edf3;text-align:left;font-size:14px}th{background:#f8fafc;color:#536274}.badge{padding:4px 8px;border-radius:999px;background:var(--ms-badge-bg);color:var(--ms-badge-fg);font-size:12px}.badge.LOW_STOCK{background:#fff1d6;color:#93370d}.badge.EXHAUSTED{background:#ffe3e3;color:#b42318}.badge.SEALED{background:#e5f7eb;color:#05603a}.login-page,div.center{min-height:100vh;display:grid;place-items:center}.login-card{width:min(390px,calc(100% - 32px));padding:28px;display:grid;gap:14px}.login-card h1{margin:0;color:#082b55}.login-card p{margin:0;color:#637286}@media(max-width:900px){.app-shell{grid-template-columns:1fr}.sidebar{height:auto;position:static}.sidebar nav{display:flex;overflow:auto}.topbar{padding:0 14px}.page{padding:14px}.stats{grid-template-columns:repeat(2,1fr)}.grid-form,.inline-form{grid-template-columns:1fr}.wide{grid-column:auto}}@media(max-width:520px){.stats{grid-template-columns:1fr}.topbar strong{font-size:12px}}@media(pointer:coarse){.ms-nav .ms-section-button,.ms-nav a{min-height:44px!important}}@media(max-width:820px)and (pointer:coarse){input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),select,textarea{font-size:16px!important}}.card{min-width:0;max-width:100%}.card:has(>table){overflow-x:auto}
