:root{font-family:Arial,Helvetica,sans-serif;color:#243b34;background:#f3f6f4;font-synthesis:none;--green:#164c3c;--muted:#73827b;--line:#e8eeea}*{box-sizing:border-box}body{margin:0;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button{cursor:pointer;transition:background-color .15s,color .15s,opacity .15s,transform .1s}button:active{transform:scale(.96)}button:disabled{cursor:default;opacity:.4;transform:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,.table-scroll:focus-visible{outline:3px solid #69bba4;outline-offset:3px}svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.topbar{height:82px;padding:0 48px;display:flex;align-items:center;justify-content:space-between;background:white;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;color:#73827b;text-decoration:none;font-size:15px}.brand-mark{display:flex;align-items:center;justify-content:center;width:37px;height:37px;border-radius:12px;background:var(--green);color:white;font-weight:bold;font-size:30px;padding-bottom:5px}.brand strong{color:#29483c;font-weight:600}.brand-divider{display:inline-block;margin:0 15px;color:#c1ccc5}.environment{font-size:12px;color:#6f7e77;display:flex;align-items:center;gap:7px}.environment span{width:6px;height:6px;border-radius:100%;background:#8d9b94}main{max-width:1600px;margin:0 auto;padding:32px 48px 24px}.hero{background:linear-gradient(110deg,#174c3d,#285a49);padding:28px 32px 0;border-radius:24px;color:white;box-shadow:0 7px 18px #193d2f0a}.hero-top{display:flex;align-items:center;justify-content:space-between;gap:24px}.eyebrow{font-size:10px;letter-spacing:1.9px;color:#c2d9cd;margin:0 0 10px;font-weight:600}h1{font-size:34px;letter-spacing:-1px;line-height:1.15;margin:0 0 12px;text-wrap:balance;font-weight:600}.intro{font-size:14px;color:#d0e0d6;margin:0;text-wrap:pretty}.refresh{display:flex;align-items:center;gap:9px;padding:0 19px;border-radius:25px;background:#fff;color:#174c3d;height:44px;border:none;white-space:nowrap;font-size:14px}.refresh:hover{background:#e4efe8}.refresh svg{width:18px;height:18px}.refresh:disabled{opacity:.7}.hero-bottom{margin-top:26px;min-height:52px;border-top:1px solid #ffffff23;display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:12px;color:#d6e6dc}.live-status{display:flex;align-items:center;gap:8px}.status-dot{width:7px;height:7px;border-radius:100%;background:#c9d8d0}.status-dot.ready{background:#a8d5b5;box-shadow:0 0 0 4px #a8d5b513}.status-dot.warning{background:#f6cb82}.hero-times{display:flex;gap:24px}.hero-times strong{font-weight:400;color:#fff;font-variant-numeric:tabular-nums}.notice{background:#fff6e8;border:1px solid #ead8b9;color:#78511e;border-radius:12px;margin-top:18px;padding:14px 18px;line-height:1.5;font-size:13px}.metrics{margin:24px 0;display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.metrics>div{padding:20px 23px;background:white;border:1px solid #e5ece7;border-radius:18px}.metrics span{display:block;color:#5f7268;font-size:12px}.metrics strong{display:block;color:#214536;font-size:30px;font-weight:500;margin:9px 0 6px;font-variant-numeric:tabular-nums;letter-spacing:-.6px}.metrics small{display:block;font-size:11px;color:#83918a}.metrics .has-negative{color:#b55637}.inventory-panel{background:white;border:1px solid #e3ebe5;border-radius:22px;overflow:hidden;box-shadow:0 6px 18px #29483c04}.panel-title{display:flex;align-items:center;justify-content:space-between;padding:24px 26px 20px;gap:16px}h2{font-size:19px;font-weight:600;letter-spacing:-.3px;margin:0 0 7px}.panel-title p{font-size:12px;color:#87928b;margin:0}.read-only{background:#f1f5f2;padding:7px 11px;border-radius:20px;font-size:11px;color:#6b7d72;white-space:nowrap}.filters{padding:0 26px 20px;display:grid;grid-template-columns:minmax(240px,2fr) 1fr 1.5fr 1fr 1fr;gap:12px}label{font-size:11px;font-weight:500;color:#73847a;display:block}input,select{height:43px;background:white;color:#304b3e;border:1px solid #dce6df;border-radius:10px;width:100%;padding:0 12px;font-size:13px;outline:none}select{cursor:pointer;padding-right:22px}label>select,.search-field{margin-top:7px}.search-field{position:relative}.search-field input{padding-left:39px}.search-field svg{width:17px;height:17px;position:absolute;left:13px;top:13px;color:#8a9a90}input::placeholder{color:#9ca8a0}.result-bar{border-top:1px solid var(--line);padding:13px 26px;display:flex;align-items:center;gap:15px;font-size:12px;color:#75867b;min-height:46px}.reset{background:none;border:0;padding:0;color:#24664d;font-size:12px;text-decoration:underline;text-underline-offset:3px}.category-hint{margin-left:auto;color:#98a49c;font-size:11px}.table-scroll{overflow:auto;max-height:560px;min-height:230px;scrollbar-color:#c8d4cc #f6f8f6;scrollbar-width:thin}table{width:100%;border-collapse:separate;border-spacing:0;text-align:left;table-layout:fixed}th{position:sticky;top:0;z-index:1;background:#f8faf8;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:0 12px;color:#7b8b81;font-size:10px;font-weight:500;letter-spacing:.5px;height:43px}th:first-child,td:first-child{padding-left:26px}th:last-child,td:last-child{padding-right:26px}th:nth-child(1){width:22%}th:nth-child(2){width:35%}th:nth-child(3){width:9%}th:nth-child(4){width:21%}th:nth-child(5){width:13%}th button{font-size:inherit;letter-spacing:inherit;color:inherit;background:none;border:0;min-height:40px;width:100%;padding:0;text-align:left;display:flex;align-items:center;gap:7px}th.number button{justify-content:flex-end;text-align:right}th[aria-sort]{color:#3b5b49}td{padding:15px 12px;border-bottom:1px solid #f0f3f0;font-size:12px;line-height:1.45;vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover td{background:#f8fbf9}.article{font-size:12px;font-family:Consolas,monospace;color:#264b37;overflow-wrap:anywhere}.component-name{color:#53665a;overflow-wrap:anywhere}.category{display:inline-block;border:1px solid #e2e9e3;background:#f8faf8;color:#758779;border-radius:6px;padding:2px 7px;font-size:11px}.warehouse-location{color:#355440}.warehouse-name{font-size:11px;color:#8a9b8e;margin-top:3px}.number{text-align:right;font-variant-numeric:tabular-nums}.quantity{font-weight:600;font-size:14px;color:#28583e;white-space:nowrap}.quantity.negative{color:#b65236}.quantity.zero{color:#929e96}.negative-note{color:#b56a4f;font-size:10px;display:block;font-weight:400;margin-top:2px}.empty{padding:40px 20px 46px;text-align:center;color:#8b998f}.empty svg{width:45px;height:45px;color:#b9c9bc;margin-bottom:13px;stroke-width:1.1}.empty h3{font-size:16px;font-weight:500;color:#3e5b46;margin:0 0 8px}.empty p{font-size:12px;margin:0 auto;max-width:470px;line-height:1.6}.empty button{margin-top:14px;background:#edf4ee;border:0;border-radius:9px;color:#316348;padding:10px 14px;font-size:12px}.pagination{padding:13px 26px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:14px;color:#8c9a90;font-size:11px}.pagination>div{display:flex;align-items:center;gap:10px}.pagination button{width:35px;height:35px;background:#fff;border:1px solid #e1e8e2;border-radius:9px;color:#4f6e58;font-size:17px}.pagination button:hover:not(:disabled){background:#f1f6f2}.pagination #page-number{min-width:50px;text-align:center;color:#6a806f;font-variant-numeric:tabular-nums}.page-size-label{display:flex;align-items:center;gap:10px;margin-right:10px;white-space:nowrap}.page-size-label select{height:34px;width:65px;font-size:11px;border-radius:8px}.page-footer{padding:18px 3px 0;font-size:11px;color:#96a299;display:flex;justify-content:space-between;gap:20px;line-height:1.6}body.is-loading #rows{opacity:.6}[hidden]{display:none!important}@media(min-width:1600px){main{padding-top:38px}}@media(max-width:1150px){.filters{grid-template-columns:2fr 1fr 1.4fr}.filters label:nth-child(4),.filters label:nth-child(5){grid-column:auto}.hero-times{gap:12px}.hero-bottom{font-size:11px}.category-hint{display:none}.metrics{gap:12px}.metrics>div{padding:17px}.metrics small{line-height:1.5}.table-scroll table{min-width:880px}}@media(max-width:720px){.topbar{height:66px;padding:0 20px}.brand{font-size:13px;gap:9px}.brand-divider{margin:0 8px}.environment{font-size:10px}main{padding:20px 14px}.hero{padding:23px 20px 0;border-radius:19px}h1{font-size:27px;letter-spacing:-.6px}.intro{font-size:12px;line-height:1.7}.hero-top{align-items:flex-start;gap:12px}.refresh{width:40px;height:40px;padding:0;justify-content:center;flex-shrink:0}.refresh span{display:none}.hero-bottom{align-items:flex-start;flex-direction:column;padding:14px 0;gap:12px;margin-top:18px}.hero-times{flex-wrap:wrap;gap:14px}.metrics{grid-template-columns:repeat(2,1fr);margin:16px 0;gap:10px}.metrics>div{border-radius:13px;padding:15px}.metrics strong{font-size:26px}.metrics small{font-size:10px}.panel-title{padding:19px 17px}.panel-title p{font-size:11px;line-height:1.6}h2{font-size:17px}.read-only{font-size:10px}.filters{padding:0 17px 17px;grid-template-columns:1fr 1fr;gap:12px}.filters .search-label{grid-column:1/-1}.result-bar{padding:12px 17px}.pagination{padding:12px 17px;flex-wrap:wrap;gap:12px}.pagination>div{margin-left:auto}.page-size-label{font-size:10px}.page-footer{flex-direction:column;gap:7px;font-size:10px}.table-scroll{max-height:510px}}@media(prefers-reduced-motion:reduce){button{transition:none}button:active{transform:none}}
/* Portal controls reuse the existing type, colour and focus conventions. */
.export-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:164px;min-height:40px;padding:8px 13px;border:1px solid #cdded3;border-radius:10px;background:#f1f6f2;color:var(--green);font-size:12px;white-space:nowrap}
.export-button:hover:not(:disabled){background:#e3eee6}
.export-button svg{width:17px;height:17px;flex-shrink:0}
@media(max-width:720px){.result-bar{flex-wrap:wrap}.export-button{margin-left:auto}}
.topbar nav{display:flex;align-items:center;gap:8px;margin-left:auto;margin-right:20px}
.topbar nav a,.topbar nav button{min-height:40px;padding:0 12px;border-radius:10px;display:inline-flex;align-items:center;font-size:12px;color:var(--green);background:transparent;border:1px solid var(--line);text-decoration:none}
.topbar nav a:hover,.topbar nav button:hover{background:#f1f5f2}
#environment-label{width:auto;height:auto;border-radius:0;background:transparent}
.auth-page{max-width:640px;padding-top:10vh}
.auth-page p{line-height:1.6;text-wrap:pretty}
@media(max-width:720px){.topbar{gap:10px;flex-wrap:wrap;height:auto;min-height:66px;padding-top:10px;padding-bottom:10px}.topbar nav{margin:0 0 0 auto;gap:6px}.topbar .environment{width:100%;justify-content:flex-end}.topbar nav a,.topbar nav button{padding:0 10px}}
