*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%;font-family:Segoe UI,Microsoft YaHei,Arial,sans-serif;color:#18202b;background:#eef1f4;letter-spacing:0}button,input,select,textarea{font:inherit;letter-spacing:0}button{cursor:pointer}.app-shell{min-height:100vh;display:grid;grid-template-columns:224px 1fr}.sidebar{position:sticky;top:0;height:100vh;background:#121922;color:#aeb8c5;display:flex;flex-direction:column;z-index:20}.brand{height:82px;display:flex;align-items:center;gap:12px;padding:0 20px;border-bottom:1px solid #283240}.brand-mark{width:34px;height:34px;background:#e94635;color:#fff;display:grid;place-items:center}.brand-mark svg{width:20px}.brand strong{display:block;color:#fff;font-size:17px}.brand small{display:block;font-size:9px;color:#738092;margin-top:3px}.mobile-close{display:none}.sidebar nav{padding:16px 10px;display:grid;gap:3px}.sidebar nav button{height:44px;border:0;background:transparent;color:#aeb8c5;display:flex;align-items:center;gap:12px;padding:0 13px;text-align:left;border-left:3px solid transparent}.sidebar nav button svg{width:18px}.sidebar nav button span{flex:1}.sidebar nav button b{background:#e94635;color:#fff;min-width:20px;height:20px;display:grid;place-items:center;font-size:11px}.sidebar nav button:hover{background:#1b2531;color:#fff}.sidebar nav button.active{background:#263240;color:#fff;border-left-color:#e94635}.sidebar-foot{margin-top:auto;border-top:1px solid #283240;padding:16px;display:flex;gap:10px;align-items:center}.sidebar-foot .avatar{width:32px;height:32px;background:#314052;color:#fff;display:grid;place-items:center;font-weight:700}.sidebar-foot div{min-width:0;flex:1}.sidebar-foot strong,.sidebar-foot small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-foot strong{color:#fff;font-size:12px}.sidebar-foot small{font-size:10px;margin-top:3px}.sidebar-foot button{border:0;background:transparent;color:#7e8b9b;padding:4px}.sidebar-foot svg{width:17px}main{min-width:0}header{height:82px;background:#fff;border-bottom:1px solid #d8dee6;display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:sticky;top:0;z-index:10}header small{font-size:11px;color:#7a8694}header h1{font-size:21px;margin:5px 0 0}.header-actions{display:flex;align-items:center;gap:10px}.local-status{font-size:11px;color:#536171;display:flex;align-items:center;gap:7px}.local-status i{width:7px;height:7px;background:#28a56a;border-radius:50%}.icon-button,.menu-button{width:36px;height:36px;border:1px solid #d8dee6;background:#fff;display:grid;place-items:center}.icon-button svg,.menu-button svg{width:17px}.menu-button{display:none}.page{padding:24px 28px 40px;max-width:1680px;margin:auto}.kpi-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:#d8dee6;border:1px solid #d8dee6;margin-bottom:18px}.kpi{background:#fff;padding:17px 20px;border:0;border-top:3px solid #253446;text-align:left;color:inherit;min-width:0}.kpi:hover{background:#f8fafc}.kpi.active{box-shadow:inset 0 0 0 2px #1687a7;background:#f2fbfd}.kpi:focus-visible{outline:2px solid #1687a7;outline-offset:2px;position:relative;z-index:1}.kpi.danger{border-top-color:#e94635}.kpi span,.kpi small{display:block;color:#6d7986;font-size:11px}.kpi strong{display:block;font-size:27px;margin:5px 0 3px}.kpi.danger strong{color:#d33d30}.work-panel{background:#fff;border:1px solid #d8dee6}.work-panel.full{min-height:calc(100vh - 130px)}.panel-head{min-height:76px;border-bottom:1px solid #d8dee6;padding:16px 18px;display:flex;justify-content:space-between;align-items:center;gap:16px}.panel-head h2{margin:0;font-size:17px}.panel-head p{margin:4px 0 0;font-size:11px;color:#74808d}.panel-head button,.command-row button,.filters button,.inline-create button,.report-item button{height:36px;padding:0 12px;border:1px solid #cbd3dc;background:#fff;display:inline-flex;align-items:center;gap:7px;color:#334155}.panel-head button svg,.command-row button svg,.filters button svg,.inline-create button svg,.report-item button svg{width:16px}.primary{background:#e94635!important;border-color:#e94635!important;color:#fff!important;font-weight:600}.wide{width:100%;justify-content:center}.command-row{display:flex;gap:8px}.filters{padding:12px 18px;background:#f7f8fa;border-bottom:1px solid #d8dee6;display:flex;gap:9px;align-items:center}.search{height:36px;max-width:530px;flex:1;position:relative}.search svg{position:absolute;left:11px;top:9px;width:16px;color:#87929f}.search input{width:100%;height:100%;padding:0 12px 0 36px;border:1px solid #cbd3dc;background:#fff}.filters select,.form-grid select,.form-grid input,.form-grid textarea,.inline-create input,.scan-input input{height:36px;border:1px solid #cbd3dc;background:#fff;padding:0 10px;outline:none}.filters input:focus,.filters select:focus,.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus,.scan-input input:focus{border-color:#4d647b;box-shadow:0 0 0 2px #dfe7ef}.result-count{margin-left:auto;font-size:11px;color:#778390}.table-wrap{overflow:auto}.table-wrap table{width:100%;border-collapse:collapse;font-size:12px}.table-wrap th{height:38px;text-align:left;padding:0 13px;background:#f1f3f6;color:#5d6876;font-size:10px;text-transform:uppercase;position:sticky;top:0;white-space:nowrap}.table-wrap td{height:46px;padding:7px 13px;border-top:1px solid #edf0f3;white-space:nowrap}.table-wrap tr:hover td{background:#f9fafb}.table-wrap .num{text-align:right}.muted{color:#697583}.danger-text{color:#d43d32}.location{display:inline-flex;align-items:center;gap:5px}.location svg{width:13px;color:#73808d}.mode,.status{display:inline-flex;align-items:center;gap:5px;height:24px;padding:0 7px;background:#eaf0f5;color:#425466;font-size:10px;border:1px solid transparent}.mode.critical{background:#fff1ed;color:#c73c2e;border-color:#ffd2c9}.status svg{width:12px}.status.ok{background:#ebf7f0;color:#247f50}.status.warn{background:#fff5e3;color:#a76710}.row-menu{height:28px;border:1px solid #cbd3dc;background:#fff;color:#38516b}.empty-cell{text-align:center!important;color:#8b96a2;height:140px!important}.inline-actions{display:flex;gap:6px}.inline-actions button{height:28px;border:1px solid #cbd3dc;background:#fff}.inline-actions .approve{background:#253446;color:#fff;border-color:#253446}.report-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.report-item{background:#fff;border:1px solid #d8dee6;padding:22px;display:grid;grid-template-columns:42px 1fr auto;gap:15px;align-items:center}.report-item>span{width:42px;height:42px;background:#eef2f5;display:grid;place-items:center;color:#34465a}.report-item svg{width:21px}.report-item h2{font-size:15px;margin:0}.report-item p{font-size:11px;color:#6c7885;max-width:440px;margin:5px 0 0}.location-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#d8dee6}.location-item{background:#fff;min-height:72px;padding:12px 15px;display:flex;align-items:center;gap:12px}.location-item>div{display:flex;align-items:center;gap:10px;flex:1}.location-item svg{width:18px;color:#667789}.location-item strong,.location-item small{display:block}.location-item small{font-size:10px;color:#77828f;margin-top:3px}.location-item>b{font-size:11px;color:#677483}.location-item button{width:30px;height:30px;border:1px solid #d8dee6;background:#fff}.inline-create{padding:12px 18px;background:#f7f8fa;border-bottom:1px solid #d8dee6;display:flex;gap:8px}.scan-layout{display:grid;grid-template-columns:1fr 1fr;gap:16px;min-height:560px}.scanner,.scan-result{background:#fff;border:1px solid #d8dee6;padding:35px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.scan-icon{width:104px;height:104px;border:2px dashed #8190a0;display:grid;place-items:center;background:#f5f7f9}.scan-icon svg{width:48px;color:#33475b}.scanner h2,.scan-result h2{font-size:19px;margin:22px 0 6px}.scanner p,.scan-result p{color:#73808c;font-size:11px}.scan-input{display:flex;width:min(100%,430px);margin-top:17px}.scan-input input{flex:1}.scan-input button{height:36px;border:0;padding:0 18px}.scan-result{align-items:stretch;text-align:left;justify-content:flex-start}.result-type{font-size:10px;color:#e94635;font-weight:700;margin-top:30px}.scan-result h2{font-size:25px}.scan-list{margin-top:18px;border-top:1px solid #e1e5e9}.scan-list button{width:100%;border:0;border-bottom:1px solid #e1e5e9;background:#fff;min-height:60px;display:flex;align-items:center;text-align:left;gap:10px}.scan-list button span{flex:1}.scan-list strong,.scan-list small{display:block}.scan-list small{color:#798592;font-size:10px;margin-top:3px}.scan-list svg{width:16px}.empty-state{margin:auto;text-align:center;color:#8793a0}.empty-state svg{width:46px}.segmented{border:1px solid #cbd3dc;display:flex}.segmented button{border:0!important;height:30px!important}.segmented button.active{background:#253446;color:#fff}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#111923a8;z-index:100;display:grid;place-items:center;padding:20px}.modal{width:min(620px,100%);max-height:90vh;overflow:auto;background:#fff;box-shadow:0 18px 60px #0005}.modal-head{height:62px;border-bottom:1px solid #d8dee6;padding:0 20px;display:flex;align-items:center;justify-content:space-between}.modal-head h2{font-size:17px}.modal-head button{border:0;background:transparent}.modal-head svg{width:18px}.modal-body{padding:20px}.modal-body>p{font-size:13px;color:#5f6c79;line-height:1.7}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-grid label{display:grid;gap:6px;font-size:11px;color:#556270}.form-grid textarea{height:auto;padding:9px;resize:vertical}.span2{grid-column:1/-1}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.dialog-actions button{height:36px;border:1px solid #cbd3dc;background:#fff;padding:0 16px;display:inline-flex;align-items:center;gap:7px}.dialog-actions svg{width:16px}.dialog-actions.vertical{display:grid}.dialog-note{border-top:1px solid #e1e5e9;padding-top:14px!important;font-size:11px!important}.detail-grid{display:grid;grid-template-columns:1fr 1fr;border:1px solid #d8dee6}.detail-grid span{padding:12px;font-size:10px;color:#75818e;border-bottom:1px solid #e8ebee}.detail-grid b{display:block;color:#24303d;font-size:13px;margin-top:4px}.setting-row{display:flex;justify-content:space-between;align-items:center}.setting-row strong{font-size:13px}.setting-row p{margin:5px 0 0;font-size:11px;color:#74808d}.danger-button{border:1px solid #e0a5a0;background:#fff;color:#bc352c;height:36px;padding:0 12px;display:flex;align-items:center;gap:7px}.danger-button svg{width:15px}.login-page{min-height:100vh;background:#121922;display:grid;place-items:center;padding:20px}.login-panel{width:min(390px,100%);background:#fff;border-top:4px solid #e94635;padding:34px}.login-brand span{width:44px;height:44px;background:#253446;color:#fff;display:grid;place-items:center}.login-brand svg{width:24px}.login-brand h1{font-size:25px;margin:16px 0 5px}.login-brand p{font-size:12px;color:#768290;margin:0 0 28px}.login-panel form{display:grid;gap:14px}.login-panel label{display:grid;gap:6px;font-size:11px;color:#586675}.login-panel input{height:40px;border:1px solid #cbd3dc;padding:0 11px}.login-panel button{height:42px;border:0;display:flex;align-items:center;gap:7px}.login-panel button svg{width:16px}.form-error{font-size:11px;color:#c4382e;margin:0}.login-hint{display:block;margin-top:18px;color:#8a95a0;text-align:center}.mobile-close{border:0;background:transparent;color:#fff}.menu-button{margin-right:12px}@media (max-width:900px){.app-shell{display:block}.sidebar{position:fixed;left:-245px;width:224px;transition:left .2s}.sidebar.open{left:0;box-shadow:15px 0 50px #0008}.mobile-close{display:block;margin-left:auto}.menu-button{display:grid}header{padding:0 15px}.header-actions .local-status{display:none}.page{padding:14px}.kpi-strip{grid-template-columns:1fr 1fr}.inventory-head{align-items:flex-start}.panel-head{flex-wrap:wrap}.command-row{width:100%;overflow:auto}.filters{flex-wrap:wrap}.search{max-width:none;min-width:100%}.location-grid{grid-template-columns:1fr 1fr}.report-grid,.scan-layout{grid-template-columns:1fr}.scanner,.scan-result{min-height:390px}.table-wrap table{min-width:820px}.report-item{grid-template-columns:38px 1fr}.report-item button{grid-column:1/-1;justify-content:center}.form-grid{grid-template-columns:1fr}.span2{grid-column:auto}}@media (max-width:520px){header{height:68px}header h1{font-size:17px}.page{padding:10px}.kpi-strip{grid-template-columns:1fr 1fr}.kpi{padding:12px}.kpi strong{font-size:22px}.location-grid{grid-template-columns:1fr}.panel-head{padding:14px}.filters{padding:10px}.command-row button{white-space:nowrap}.modal-backdrop{padding:0;align-items:end}.modal{width:100%;max-height:94vh}.login-panel{padding:26px}.scan-layout{gap:10px}.scanner,.scan-result{padding:24px}.report-grid{gap:10px}}@media print{.sidebar,header,.panel-head,.filters,.inline-create{display:none!important}.app-shell{display:block}.page{padding:0}.location-item button{display:none}}.scan-list button.selected{background:#fff4f1;border-left:3px solid #e94635;padding-left:10px}.mobile-operation-layout{display:block;min-height:0}.mobile-location-result{min-height:0;align-items:stretch}.mobile-location-result>.result-type{margin-top:0}.inline-movement{margin-top:24px;border-top:2px solid #253446;padding-top:18px}.inline-movement h3{font-size:17px;margin:0 0 16px}.mobile-location-result .form-grid{background:#f7f8fa;border:1px solid #d8dee6;padding:16px}.mobile-inspection-actions{margin-top:22px;padding-top:22px;border-top:3px solid #253446}.mobile-inspection-actions h3{margin:0 0 16px;font-size:20px}.mobile-inspection-actions .dialog-actions.vertical{align-items:stretch}.mobile-inspection-actions button{min-height:48px;justify-content:center}@media (max-width:700px){.modal-backdrop{align-items:flex-end;padding:0}.modal{width:100%;max-width:none;max-height:92dvh;border-radius:18px 18px 0 0}.modal-body{overflow-y:auto;max-height:calc(92dvh - 72px);padding:20px 16px 28px}.modal .form-grid{grid-template-columns:1fr;gap:16px}.modal .form-grid .span2{grid-column:span 1}.modal .dialog-actions{flex-direction:column;align-items:stretch}.modal .dialog-actions button{width:100%;min-height:48px}.modal select,.modal input,.modal textarea{width:100%;max-width:100%;font-size:17px}.mobile-location-result .form-grid{grid-template-columns:1fr}.mobile-location-result .form-grid .span2{grid-column:span 1}}.unified-operation{display:block}.operation-picker{display:grid;gap:8px;margin-bottom:16px;color:#647386}.operation-picker select{width:100%;min-height:48px}.unified-operation .form-grid{margin-top:0}.unified-operation .history-link{width:100%;min-height:48px;margin-top:12px;justify-content:center}.unified-inspection-form>.primary{width:100%;min-height:50px}.unified-operation label input+input,.unified-operation label select+input{margin-top:10px}.success-button{background:#138a63!important;border-color:#138a63!important;color:#fff!important;font-weight:800;min-height:50px}.success-button:active{background:#0f7353!important}.location-link{display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;color:#087f73;padding:5px 7px;margin:-5px -7px;font-weight:700}.location-link:hover,.location-link:focus-visible{background:#e8f6f3;color:#05685f}.location-link svg{width:15px;height:15px}.table-wrap thead{position:sticky;top:0;z-index:2}.table-wrap tbody tr{transition:background .15s ease}.table-wrap tbody tr:hover{background:#f7fafb}.drawer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:70;background:#12192257;display:flex;justify-content:flex-end}.location-drawer{width:min(680px,92vw);height:100%;background:#f4f7f8;border-left:1px solid #cfd9df;box-shadow:-18px 0 46px #12192229;display:flex;flex-direction:column;animation:drawer-in .2s ease-out}.drawer-head{height:auto;min-height:104px;padding:22px 26px;background:#fff;border-bottom:1px solid #d8e1e6;display:flex;align-items:flex-start;justify-content:space-between}.drawer-head small,.drawer-head p{color:#71808b}.drawer-head h2{font-size:28px;margin:4px 0}.drawer-head p{margin:0}.drawer-scroll{padding:20px 24px 40px;overflow-y:auto}.location-summary{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid #d6e0e5}.location-summary span{padding:16px;border-right:1px solid #e2e8eb}.location-summary span:last-child{border:0}.location-summary small,.location-summary strong{display:block}.location-summary small{color:#71808b}.location-summary strong{font-size:24px;margin-top:6px}.drawer-section{margin-top:18px;padding:20px;background:#fff;border:1px solid #d6e0e5}.drawer-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.drawer-section-head h3{margin:0;font-size:18px}.drawer-section-head p{margin:4px 0 0;color:#71808b}.drawer-section-head button{white-space:nowrap}.drawer-molds{display:grid;gap:8px}.drawer-molds>button{display:flex;justify-content:space-between;align-items:center;text-align:left;padding:13px 14px;border:1px solid #d5dfe5;background:#fff}.drawer-molds>button.selected{border-color:#087f73;box-shadow:inset 3px 0 #087f73;background:#f0faf8}.drawer-molds span:last-child{text-align:right}.drawer-molds small,.drawer-molds b,.drawer-molds strong{display:block}.drawer-molds small{color:#71808b;margin-top:4px}.drawer-operation .form-grid{background:#f6f8f9;border:1px solid #d9e2e6;padding:16px}.drawer-inspection-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}.drawer-inspection-buttons button{justify-content:center}.location-history{display:grid}.location-history article{padding:14px 2px;border-top:1px solid #e0e7ea}.location-history article:first-child{border-top:0}.location-history article>div{display:flex;align-items:center;justify-content:space-between}.location-history time,.location-history small{color:#71808b}.location-history strong{display:block;margin-top:9px}.location-history p{margin:6px 0;color:#43525e}.drawer-empty{padding:28px;text-align:center;color:#71808b;background:#f7f9fa;border:1px dashed #cfdae0}@keyframes drawer-in{0%{transform:translate(30px);opacity:.5}to{transform:none;opacity:1}}@media (max-width:700px){.location-drawer{width:100vw;max-width:none;border:0}.drawer-head{min-height:92px;padding:18px}.drawer-scroll{padding:14px 12px 30px}.location-summary{grid-template-columns:1fr 1fr}.location-summary span:nth-child(2){border-right:0}.location-summary span:nth-child(-n+2){border-bottom:1px solid #e2e8eb}.drawer-section{padding:15px;margin-top:12px}.drawer-section-head{align-items:flex-start;flex-direction:column}.drawer-section-head select,.drawer-section-head button{width:100%}.drawer-molds>button{gap:12px}.drawer-operation .form-grid{padding:12px}.drawer-inspection-buttons{grid-template-columns:1fr}.location-history article>div{gap:10px}.location-history time{font-size:12px}}@media (prefers-reduced-motion:reduce){.location-drawer,.table-wrap tbody tr{animation:none;transition:none}}.table-wrap tbody tr.procurement-complete td{background:#eef7ff}.table-wrap tbody tr.procurement-complete:hover td{background:#e3f2ff}.table-wrap tbody tr.procurement-pending td{background:#fff9e6}.table-wrap tbody tr.procurement-pending:hover td{background:#fff3cc}.table-wrap tbody tr.procurement-repair td{background:#fff0f0}.table-wrap tbody tr.procurement-repair:hover td{background:#ffe3e3}.qr-preview{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:4px 0 10px}.qr-preview img{width:min(280px,80vw);height:auto}.qr-preview strong{font-size:22px}.qr-preview span{font-size:12px;color:#687582}.label-tools{display:flex;align-items:center;gap:8px;margin-bottom:12px}.label-tools button{height:32px;border:1px solid #cbd3dc;background:#fff;padding:0 10px}.label-tools span{margin-left:auto;font-size:11px;color:#687582}.label-list{border:1px solid #d8dee6;max-height:48vh;overflow:auto}.label-list label{display:flex;align-items:center;gap:10px;padding:11px 12px;border-bottom:1px solid #e8ecef;cursor:pointer}.label-list label:last-child{border-bottom:0}.label-list input{width:17px;height:17px}.label-list span,.label-list b,.label-list small{display:block}.label-list small{margin-top:3px;color:#74808d;font-size:10px}.operation-success{display:flex;align-items:center;justify-content:center;gap:8px;margin:0;padding:12px;border:1px solid #8fd8b6;border-radius:6px;background:#eaf8f1;color:#087451;font-weight:700}.operation-success svg{width:19px;height:19px}.mobile-inspection-actions{margin-top:18px;padding-top:16px;border-top:1px solid var(--line,#dde4e8)}.mobile-inspection-actions>strong{display:block;margin-bottom:10px;font-size:14px;color:#53616b}html,body,#root{font-size:14px}.sidebar nav button{font-size:15px}.brand strong{font-size:18px}.brand small,.sidebar-foot small{font-size:11px}.sidebar-foot strong,header small,.local-status,.panel-head p,.result-count{font-size:13px}header h1{font-size:23px}.panel-head h2{font-size:19px}.panel-head button,.command-row button,.filters button,.inline-create button,.report-item button{height:40px;font-size:14px}.search,.filters select,.form-grid select,.form-grid input,.inline-create input,.scan-input input{height:40px}.search input,.filters select{font-size:14px}.search svg{top:11px}.table-wrap table{font-size:14px}.table-wrap th{height:42px;font-size:12px;font-weight:600}.table-wrap td{height:52px;padding-top:9px;padding-bottom:9px}.mode,.status{height:27px;padding:0 9px;font-size:12px}.row-menu,.inline-actions button{height:32px;font-size:13px}.location svg{width:15px}.form-grid label,.report-item p,.scanner p,.scan-result p{font-size:13px}.detail-grid span,.location-item small,.scan-list small{font-size:12px}.detail-grid b{font-size:14px}.pending-text{color:#b96308}.repair-text{color:#c43d32}.detail-grid i{font-style:normal}.inspection-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;margin-bottom:18px;background:#d8dee6;border:1px solid #d8dee6}.inspection-summary span{padding:12px;background:#f7f8fa;color:#667382;font-size:12px}.inspection-summary b{display:block;margin-top:5px;color:#1f2b38;font-size:14px}.quantity-check{margin:0;padding:10px 12px;background:#fff5e3;color:#8f5a0c;font-size:12px}.inspection-empty{padding:60px 20px;text-align:center;color:#7b8794}.inspection-history{display:grid;gap:10px}.inspection-history article{padding:15px;border:1px solid #d8dee6}.inspection-history article>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px}.inspection-history article p,.inspection-history article small{display:block;margin:7px 0 0;color:#697583;font-size:12px}.inspection-state{padding:4px 8px;font-size:12px}.inspection-state.pending{background:#fff5e3;color:#a76710}.inspection-state.done{background:#ebf7f0;color:#247f50}.inspection-counts{display:grid!important;grid-template-columns:repeat(4,1fr);gap:1px!important;margin-top:10px;background:#e1e5e9}.inspection-counts span{padding:8px;background:#f7f8fa;color:#6a7683;font-size:11px}.inspection-counts b{display:block;margin-top:3px;color:#202b37;font-size:14px}.inspection-history .inline-actions{margin-top:12px}.kpi-strip{grid-template-columns:repeat(6,1fr)}.result-count.searching{color:#e94635}.pagination{min-height:58px;padding:10px 18px;border-top:1px solid #d8dee6;display:flex;align-items:center;justify-content:flex-end;gap:16px;color:#667382;font-size:13px}.pagination>div{display:flex;gap:6px}.pagination button{width:36px;height:36px;border:1px solid #cbd3dc;background:#fff;color:#334155;display:grid;place-items:center}.pagination button:disabled{color:#aeb7c1;background:#f4f6f8;cursor:default}.pagination svg{width:17px}@media (max-width: 520px){header h1{font-size:19px}.table-wrap table{font-size:13px}}@media (max-width: 1200px) and (min-width: 901px){.kpi-strip{grid-template-columns:repeat(3,1fr)}}:root{--brand-primary:#1687a7;--brand-primary-hover:#11758f;--sidebar-bg:#18222b;--sidebar-active:#233640;--canvas:#f1f4f7;--surface:#fff;--line:#dbe2e7;--status-success:#16835a;--status-warning:#a76500;--status-danger:#c53e37;--focus-ring:#b7e2ec}html,body,#root{color:#18242d;background:var(--canvas)}.app-shell{grid-template-columns:156px 1fr;background:var(--canvas)}.sidebar{background:var(--sidebar-bg);color:#aebbc5;box-shadow:1px 0 #ffffff0a}.brand{height:68px;gap:8px;padding:0 11px;border-bottom-color:#ffffff17;overflow:hidden}.brand-mark{width:32px;height:32px;flex:0 0 32px;border-radius:6px;background:var(--brand-primary);box-shadow:0 5px 16px #1687a740}.brand-mark svg{width:23px;height:23px}.brand strong{font-size:14px;white-space:nowrap}.brand small{font-size:7px;color:#71828d;white-space:nowrap}.sidebar nav{padding:13px 8px;gap:4px}.sidebar nav button{height:40px;gap:8px;padding:0 8px;border-left:0;border-radius:5px;font-size:13px;white-space:nowrap;overflow:hidden;position:relative}.sidebar nav button svg{width:16px;min-width:16px}.sidebar nav button:hover{background:#202f39}.sidebar nav button.active{background:var(--sidebar-active);box-shadow:inset 3px 0 var(--brand-primary)}.sidebar nav button b{background:var(--status-danger);border-radius:9px;min-width:18px;height:18px}.sidebar-foot{padding:12px 9px;gap:7px;border-top-color:#ffffff17}.sidebar-foot .avatar{width:28px;height:28px;flex:0 0 28px;border-radius:5px;background:#253844;color:#8ed8e9}.sidebar-foot strong{font-size:11px}.sidebar-foot small{font-size:9px}.sidebar-foot button{padding:2px}.sidebar-foot svg{width:15px}header{height:72px;padding:0 24px;border-bottom-color:var(--line);box-shadow:0 1px #18222b05}header h1{font-size:20px}.page{padding:20px 24px 40px}.local-status i{background:var(--status-success);box-shadow:0 0 0 3px #e3f4ec}.icon-button,.menu-button,.panel-head button,.command-row button,.filters button,.inline-create button,.report-item button,.row-menu,.inline-actions button,.dialog-actions button,.location-item button{border-color:var(--line);border-radius:5px;transition:background .15s,border-color .15s,color .15s,transform .15s}.icon-button:hover,.panel-head button:hover,.command-row button:hover,.filters button:hover,.report-item button:hover{border-color:#b8c7cf;background:#f6fafb}.primary{background:var(--brand-primary)!important;border-color:var(--brand-primary)!important;box-shadow:0 4px 12px #1687a729}.primary:hover{background:var(--brand-primary-hover)!important;border-color:var(--brand-primary-hover)!important}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--brand-primary);outline-offset:2px}.kpi-strip{gap:8px;background:transparent;border:0}.kpi{border:1px solid var(--line);border-top:3px solid var(--brand-primary);border-radius:5px;padding:16px 18px}.kpi:nth-child(2){border-top-color:var(--status-success)}.kpi:nth-child(3){border-top-color:#f2a529}.kpi:nth-child(4),.kpi.danger{border-top-color:#e45858}.kpi:nth-child(5){border-top-color:#d68d25}.kpi:nth-child(6){border-top-color:#667f91}.kpi.danger strong{color:var(--status-danger)}.work-panel,.report-item,.scanner,.scan-result,.drawer-section,.location-summary{border-color:var(--line);border-radius:5px;box-shadow:0 3px 12px #18222b09}.panel-head,.filters,.inline-create{border-color:var(--line)}.filters,.inline-create{background:#f6f8fa}.filters input:focus,.filters select:focus,.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus,.scan-input input:focus{border-color:var(--brand-primary);box-shadow:0 0 0 3px var(--focus-ring)}.table-wrap th{background:#f3f6f8;color:#65737d}.table-wrap td{border-top-color:#e9eef1}.table-wrap tr:hover td{background:#f4fafb}.mode{background:#e7f1f5;color:#315d6b;border-radius:12px}.mode.critical{background:#fde9e7;color:var(--status-danger);border-color:#f4cbc7}.status{border-radius:12px}.status.ok{background:#e6f5ee;color:var(--status-success)}.status.warn{background:#fff1d8;color:var(--status-warning)}.pending-text{color:var(--status-warning)}.repair-text,.danger-text{color:var(--status-danger)}.result-type,.location-link{color:var(--brand-primary)}.location-link:hover,.location-link:focus-visible{background:#e5f3f7;color:#106c83}.scan-list button.selected{background:#e8f5f8;border-left-color:var(--brand-primary)}.inline-movement,.mobile-inspection-actions{border-top-color:var(--brand-primary)}.segmented button.active,.inline-actions .approve{background:#24404c;color:#fff}.modal{border-radius:6px}.modal-backdrop{background:#0d171fa3}.location-drawer{background:#f1f5f7;border-left-color:var(--line)}.drawer-molds>button.selected{border-color:var(--brand-primary);box-shadow:inset 3px 0 var(--brand-primary);background:#eaf6f8}.login-page{background:var(--sidebar-bg)}.login-panel{border-top-color:var(--brand-primary);border-radius:6px;box-shadow:0 22px 70px #0000003d}.login-brand span{border-radius:6px;background:var(--brand-primary);color:#fff}.login-brand svg{width:29px;height:29px}.success-button{background:var(--status-success)!important;border-color:var(--status-success)!important}@media (max-width:900px){.sidebar{left:-176px;width:164px}.sidebar.open{left:0}.brand{padding-right:6px}.mobile-close{padding:2px}}@media (max-width:520px){header{height:68px}.page{padding:10px}}@media print{.app-shell{display:block}}
