@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap";
:root{--forest:#242625;--forest-2:#303231;--olive:#f36b21;--sand:#f3ede3;--paper:#fffaf1;--terracotta:#f36b21;--ink:#242424;--muted:#716d66;--line:#ddd2c2;--success:#3f9950;--danger:#c63c2d;--warning:#e4a300;color:var(--ink);background:var(--sand);font-family:DM Sans,Arial,sans-serif}*{box-sizing:border-box}html{background:var(--sand)}body{background:var(--sand);color:var(--ink);margin:0}button,input,select,textarea{font:inherit}button,a{color:inherit}.appShell{grid-template-columns:268px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{color:#f8f2e8;z-index:40;background:linear-gradient(#173c2a,#102d20);flex-direction:column;height:100vh;padding:26px 16px 18px;display:flex;position:sticky;top:0;overflow:hidden}.sidebar:after{content:"";opacity:.08;pointer-events:none;background:radial-gradient(at bottom,#b8c68e 0 30%,#0000 31%),radial-gradient(at 30% 100%,#b8c68e 0 25%,#0000 26%);height:170px;position:absolute;bottom:90px;left:-40px;right:-40px}.sideBrand{align-items:center;gap:13px;padding:0 10px 30px;display:flex}.sideBrand strong{font:800 17px Manrope;display:block}.sideBrand small,.sideFoot small{color:#a9b9a6;margin-top:2px;font-size:10px;display:block}.brandMark{flex:none;width:42px;height:36px;position:relative}.brandMark:before,.brandMark:after,.brandMark span{content:"";clip-path:polygon(50% 0,100% 100%,73% 100%,50% 48%,27% 100%,0 100%);background:#d8b06d;width:25px;height:25px;position:absolute;bottom:3px}.brandMark:before{left:0}.brandMark:after{transform-origin:bottom;right:0;transform:scale(.75)}.brandMark span{transform-origin:bottom;background:#879d64;left:9px;transform:scale(.55)}.brandMark.large{transform-origin:0;margin-bottom:30px;transform:scale(1.45)}.sidebar nav{gap:5px;display:grid}.sidebar nav button,.sidebar nav a{color:#c6d2c2;text-align:left;cursor:pointer;font-size:inherit;background:0 0;border:0;border-radius:9px;align-items:center;gap:12px;padding:12px 13px;text-decoration:none;transition:all .18s;display:flex}.sidebar nav button:hover,.sidebar nav a:hover{color:#fff;background:#204a34}.sidebar nav button.active{color:#fff;background:#5e7144;box-shadow:inset 3px 0 #d8b06d}.sidebar nav button b{color:#fff;background:#b04734;border-radius:99px;place-items:center;min-width:20px;height:20px;margin-left:auto;font-size:10px;display:grid}.sidebarMotto{color:#83977d;letter-spacing:.25em;z-index:2;margin:auto 12px 22px;font:700 10px/1.55 Manrope;position:relative}.sidebarMotto:after{content:"";background:#c17a50;width:45px;height:3px;margin-top:12px;display:block}.sideFoot{z-index:2;border-top:1px solid #31523d;grid-template-columns:36px 1fr auto;align-items:center;gap:10px;padding:18px 8px 0;display:grid;position:relative}.sideFoot strong{font-size:12px;display:block}.sideFoot button,.mobileClose{color:#b9c7b6;cursor:pointer;background:0 0;border:0}.avatar{color:#213c2c;background:#d7c6a7;border-radius:50%;place-items:center;width:36px;height:36px;font-size:11px;font-weight:800;display:grid}.mainArea{min-width:0;padding:28px 34px 60px}.topbar{justify-content:space-between;align-items:center;height:72px;margin-bottom:24px;display:flex}.topbar h1{margin:4px 0 0;font:800 30px Manrope}.eyebrow{color:#8c795b;letter-spacing:.16em;font:800 10px Manrope}.systemPill{border:1px solid var(--line);color:#52614e;background:#fbf7ee;border-radius:99px;align-items:center;gap:8px;padding:9px 13px;font-size:12px;display:flex}.systemPill span{background:#6a9a57;border-radius:50%;width:8px;height:8px;box-shadow:0 0 0 4px #dce8d3}.mobileMenu,.mobileClose{display:none}.notice{z-index:90;color:#fff;cursor:pointer;background:#173c2a;border:0;border-radius:10px;padding:12px 18px;position:fixed;top:22px;right:24px;box-shadow:0 12px 34px #173c2a55}.primary,.secondary{cursor:pointer;border:0;border-radius:9px;justify-content:center;align-items:center;gap:8px;padding:11px 16px;font-weight:700;display:inline-flex}.primary{background:var(--terracotta);color:#fff;box-shadow:0 6px 18px #aa493025}.primary:disabled{opacity:.55;cursor:not-allowed}.dangerButton{color:var(--danger)!important}.rowActions,.tableActions{gap:6px;display:flex}.rowActions button,.tableActions button,.defectActions>button{border:1px solid var(--line);cursor:pointer;background:#fffdf8;border-radius:8px;place-items:center;width:34px;height:34px;display:grid}.rowActions button:hover,.tableActions button:hover{background:#f0eadf}.pageHero{justify-content:space-between;align-items:end;margin-bottom:20px;display:flex}.officeHeroActions{flex-wrap:wrap;flex-shrink:0;justify-content:flex-end;align-items:center;gap:8px;display:flex}.officeHeroActions .primary,.officeHeroActions .secondary{width:auto;min-width:max-content;height:auto}.pageHero h2{margin:5px 0;font:800 31px Manrope}.pageHero p{color:var(--muted);margin:0}.toolbar{background:#e8e0d2;border:1px solid #d8cebd;border-radius:13px;justify-content:space-between;align-items:center;gap:14px;margin-bottom:14px;padding:11px;display:flex}.search{background:#fffaf1;border:1px solid #d7cebf;border-radius:8px;align-items:center;gap:9px;min-width:320px;height:42px;padding:0 13px;display:flex}.search input{background:0 0;border:0;outline:0;width:100%}.segmented{gap:4px;display:flex}.segmented button{color:#666d62;cursor:pointer;background:0 0;border:0;border-radius:7px;padding:9px 13px}.segmented button.active{background:var(--forest);color:#fff}.stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:14px;display:grid}.stat,.panel,.materialCard,.locationCard,.defectCard{background:var(--paper);border:1px solid var(--line);box-shadow:0 8px 28px #3a33270b}.stat{border-radius:14px;align-items:center;gap:15px;padding:20px;display:flex}.statIcon{width:47px;height:47px;color:var(--forest);background:#e0e7d4;border-radius:12px;place-items:center;display:grid}.stat.alert .statIcon{color:var(--danger);background:#f6dcd3}.stat small,.stat span{color:var(--muted);font-size:11px;display:block}.stat strong{margin:2px 0;font:800 28px Manrope;display:block}.dashboardGrid{grid-template-columns:.9fr 1.35fr;gap:14px;display:grid}.panel{border-radius:14px;padding:20px;overflow:hidden}.panelHead{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.panelHead h2{margin:0;font:800 17px Manrope}.panelHead p{color:var(--muted);margin:4px 0 0;font-size:12px}.materialSummary{gap:8px;display:grid}.materialSummary>div{border-radius:9px;grid-template-columns:48px 1fr auto;align-items:center;gap:12px;padding:8px;display:grid}.materialSummary>div:hover{background:#f4eee2}.materialSummary img{object-fit:cover;border-radius:7px;width:48px;height:42px}.materialSummary strong,.materialSummary small{display:block}.materialSummary small{color:var(--muted);margin-top:3px;font-size:10px}.materialSummary b{text-align:center;background:#e5eadc;border-radius:8px;min-width:38px;padding:7px;font:800 17px Manrope}.materialList{gap:10px;display:grid}.materialCard{border-radius:13px;overflow:hidden}.materialRow{grid-template-columns:28px 82px minmax(190px,1.4fr) 80px 80px 80px minmax(220px,1fr) auto;align-items:center;gap:14px;min-height:104px;padding:10px 14px;display:grid}.expand{color:#596457;cursor:pointer;background:0 0;border:0;padding:0}.materialPhoto{background:#eee5d7;border-radius:9px;width:82px;height:72px;display:block;overflow:hidden}.materialPhoto img{object-fit:cover;width:100%;height:100%}.materialName>span{color:#8c795b;letter-spacing:.13em;font-size:9px;font-weight:800}.materialName h3{margin:3px 0;font:800 16px Manrope}.materialName small{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;max-width:310px;display:block;overflow:hidden}.metric{border-left:1px solid #e4ddd0;padding-left:13px}.metric small,.barcodeRange small{color:var(--muted);font-size:10px;display:block}.metric strong{font:800 20px Manrope}.metric.danger strong{color:var(--danger)}.barcodeRange{background:#f2ecdf;border-radius:8px;align-items:center;gap:9px;padding:10px;display:flex}.barcodeRange code{white-space:nowrap;font-size:10px}.unitTable{border-top:1px solid var(--line);background:#f7f2e8;max-height:470px;padding:0 14px 14px;overflow:auto}.unitTable table{background:#fffdf7}table{border-collapse:collapse;width:100%;font-size:12px}th{text-align:left;color:#74786f;z-index:1;background:#f5efe4;border-bottom:1px solid #ded6c7;padding:11px 10px;font-weight:700;position:sticky;top:0}td{vertical-align:middle;border-bottom:1px solid #ebe4d8;padding:11px 10px}td strong,td small{display:block}td small{color:var(--muted);margin-top:3px;font-size:10px}code{color:#3d4b3d;font-family:DM Sans,monospace;font-weight:700}.status{color:#3d693c;white-space:nowrap;background:#e2ebdc;border-radius:99px;align-items:center;gap:6px;padding:5px 9px;font-size:10px;font-weight:700;display:inline-flex}.status i{background:currentColor;border-radius:50%;width:6px;height:6px}.status.bad{color:#a23c31;background:#f4dcd6}.status.warn{color:#9a6325;background:#f5e7cb}.tableScroll{overflow:auto}.arrow{color:#aa4930;margin:0 5px}.recordCount{color:#4d6349;background:#e1e7d9;border-radius:99px;padding:8px 13px;font-weight:700}.locationGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.locationCard{border-radius:14px;grid-template-columns:48px 1fr auto auto;align-items:center;gap:14px;padding:20px;display:grid}.locationPin{width:48px;height:48px;color:var(--forest);background:#e4eadb;border-radius:12px;place-items:center;display:grid}.locationCard h3{margin:2px 0;font:800 17px Manrope}.locationCard p{color:var(--muted);margin:0;font-size:11px}.locationCard>div>span{color:#aa4930;letter-spacing:.12em;font-size:10px;font-weight:800}.locationCard>strong{text-align:center;font:800 26px Manrope}.locationCard>strong small{color:var(--muted);font:500 9px DM Sans;display:block}.defectGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.defectCard{border-radius:14px;grid-template-columns:130px 1fr auto;gap:14px;padding:12px;display:grid}.defectCard>img{object-fit:cover;border-radius:10px;width:130px;height:145px}.defectBody>div{justify-content:space-between;align-items:center;display:flex}.defectBody h3{margin:10px 0 2px;font:800 17px Manrope}.defectBody p{color:#555c52;margin:10px 0;font-size:12px}.defectBody small{color:var(--muted);font-size:10px}.defectActions{flex-direction:column;gap:6px;display:flex}.defectActions .resolve{width:auto;color:var(--success);gap:6px;padding:0 10px;font-weight:700;display:flex}.userCell{align-items:center;gap:10px;display:flex}.userCell span{width:32px;height:32px;color:var(--forest);background:#d9dfd0;border-radius:50%;place-items:center;font-size:10px;font-weight:800;display:grid}.scanLayout{background:var(--paper);border:1px solid var(--line);border-radius:18px;grid-template-columns:.8fr 1.2fr;max-width:1000px;margin:20px auto;display:grid;overflow:hidden}.scanIntro{background:var(--forest);color:#fff;padding:50px}.scanIntro>svg{color:#d7b16f;width:58px;height:58px;margin-bottom:50px}.scanIntro .eyebrow{color:#b8c6a8}.scanIntro h2{margin:8px 0;font:800 32px Manrope}.scanIntro p{color:#bdc9b9;line-height:1.6}.scanForm{gap:16px;padding:38px;display:grid}.modalBackdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:100;background:#182018a8;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{background:var(--paper);border-radius:16px;width:min(720px,100%);max-height:92vh;padding:24px;overflow:auto;box-shadow:0 24px 80px #17221966}.modal>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;margin-bottom:20px;padding-bottom:16px;display:flex}.modal>header h2{margin:0;font:800 22px Manrope}.modal>header p{color:var(--muted);margin:5px 0 0;font-size:12px}.modal>header button{cursor:pointer;background:#eee7da;border:0;border-radius:50%;place-items:center;width:34px;height:34px;display:grid}.formGrid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.formGrid .full{grid-column:1/-1}label{color:#555d52;gap:7px;font-size:11px;font-weight:700;display:grid}input,select,textarea{width:100%;color:var(--ink);background:#fffdf8;border:1px solid #d5ccbd;border-radius:8px;outline:0;padding:11px 12px}input:disabled{color:#888;background:#eee8dd}textarea{resize:vertical;min-height:85px}fieldset{border:1px solid var(--line);border-radius:10px;padding:14px}legend{color:#5d6859;padding:0 8px;font-size:11px;font-weight:700}legend b{color:var(--terracotta);margin-left:8px}.allocationGrid{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.formActions{justify-content:flex-end;gap:9px;margin-top:14px;display:flex}.error{color:#973a30;background:#f5ded8;border-radius:8px;padding:10px 12px;font-size:12px}.check{grid-column:1/-1;grid-template-columns:auto 1fr;align-items:center;display:flex}.check input{width:17px;height:17px}.upload{cursor:pointer;background:#f4f0e7;border:1px dashed #9fa790;border-radius:10px;grid-template-columns:auto 1fr;align-items:center;padding:15px}.upload input{display:none}.upload span,.upload small{display:block}.upload small{color:var(--muted);margin-top:3px;font-size:9px}.uploadPreview{object-fit:contain;background:#eee7da;border-radius:10px;width:100%;max-height:260px}.generateFields{grid-template-columns:1fr 1fr 1.4fr;gap:12px;display:grid}.barcodePreview{background:#e9e4d9;border-radius:12px;margin:18px 0;padding:16px}.barcodePreview>span{font-size:11px;font-weight:800}.barcodePreview>div{grid-template-columns:repeat(3,1fr);gap:8px;margin:10px 0;display:grid}.barcodeLabel{background:#fffdf7;border-radius:6px;place-items:center;display:grid;overflow:hidden}.barcodeLabel svg{max-width:100%;height:auto}.printSheet{display:none}.empty{color:#999d93;flex-direction:column;grid-column:1/-1;justify-content:center;align-items:center;gap:10px;min-height:150px;display:flex}.empty svg{opacity:.5}.loginPage{grid-template-columns:1.15fr .85fr;min-height:100vh;display:grid}.loginIntro{background:var(--forest);color:#fff;flex-direction:column;justify-content:center;padding:10vw;display:flex;position:relative;overflow:hidden}.loginIntro:after{content:"";border:80px solid #ffffff07;border-radius:50%;height:55%;position:absolute;inset:auto -10% -20% 20%;transform:rotate(-12deg)}.loginIntro>p{letter-spacing:.34em;color:#d8b06d;font:800 11px Manrope}.loginIntro h1{margin:12px 0 28px;font:800 clamp(38px,5vw,72px)/1.06 Manrope}.loginIntro h1 em{color:#d8b06d;font-style:normal}.loginIntro>small{color:#b8c8b9;max-width:460px;line-height:1.7}.loginPanel{background:#f5efe3;place-items:center;padding:40px;display:grid}.loginPanel form{width:min(380px,100%)}.loginPanel h2{margin:9px 0;font:800 34px Manrope}.loginPanel p{color:var(--muted);margin:0 0 32px}.loginPanel label{margin-bottom:15px}.loginPanel .primary{width:100%;margin-top:8px}.secure{color:#81877e;justify-content:center;align-items:center;gap:6px;margin-top:20px;display:flex}.mainArea{background:radial-gradient(circle at 92% 0,#e7d8bd 0,transparent 23%),linear-gradient(180deg,#f8f3e9 0,var(--sand) 48%)}.sidebar{background:linear-gradient(165deg,#123b2a 0,#0d2d20 74%,#173f2d 100%)}.sidebar nav button.active{box-shadow:none;background:linear-gradient(90deg,#c6653d 0 4px,#6e7f55 4px 100%)}.sidebarMotto:after{background:var(--terracotta);border-radius:99px;height:4px}.stat{border-top:3px solid var(--olive);position:relative;overflow:hidden}.stat:nth-child(2){border-top-color:var(--terracotta)}.stat:nth-child(3){border-top-color:#d79b58}.stat:nth-child(4){border-top-color:var(--forest)}.statIcon{background:#e3ead8}.stat:nth-child(2) .statIcon{color:var(--terracotta);background:#f4dfd4}.panelHead h2:after{content:"";background:var(--terracotta);border-radius:99px;width:34px;height:3px;margin-top:8px;display:block}.toolbar{background:#eadfce}.segmented button.active{background:var(--terracotta)}.dataLoading{text-align:center;border:1px solid var(--line);background:linear-gradient(145deg,#fffaf0,#f4ead9);border-radius:18px;flex-direction:column;justify-content:center;align-items:center;min-height:460px;display:flex;box-shadow:0 18px 45px #3b2f1f0f}.dataLoading h2{margin:10px 0 6px;font:800 28px Manrope}.dataLoading p{color:var(--muted);margin:0}.loadingMark{gap:7px;margin-bottom:22px;display:flex}.loadingMark span{background:var(--forest);border-radius:50%;width:11px;height:11px;animation:1s ease-in-out infinite inventoryPulse}.loadingMark span:nth-child(2){background:var(--terracotta);animation-delay:.15s}.loadingMark span:nth-child(3){background:#d9aa63;animation-delay:.3s}@keyframes inventoryPulse{0%,to{opacity:.45;transform:translateY(0)}50%{opacity:1;transform:translateY(-8px)}}.mainArea{background:radial-gradient(circle at 77% 4%,#ffe2c7 0,transparent 20%),linear-gradient(180deg,#faf5ec 0,var(--sand) 55%);padding-top:0}.topbar{color:#fff;background:linear-gradient(100deg,#242625,#1d1f1e);border-bottom:2px solid #f36b21;height:84px;margin:0 -34px 24px;padding:0 34px;box-shadow:0 8px 24px #16161624}.topbar .eyebrow{color:#ff955d}.topbar h1{color:#fff}.systemPill{color:#ece7de;background:#303231;border-color:#494b49}.systemPill span{background:#f36b21;box-shadow:0 0 0 4px #f36b2130}.sidebar{background:linear-gradient(155deg,#222423 0,#171918 72%,#252726 100%);border-right:1px solid #383a38}.sidebar:after{background:radial-gradient(at bottom,#f36b21 0 30%,#0000 31%),radial-gradient(at 30% 100%,#ff9c5c 0 25%,#0000 26%)}.brandMark:before,.brandMark:after{background:#f36b21}.brandMark span{background:#ff9a55}.sideBrand small,.sideFoot small{color:#aaa9a4}.sidebar nav button{color:#d2d1cc}.sidebar nav button:hover{color:#fff;background:#303231}.sidebar nav button.active{color:#ff8a46;background:linear-gradient(90deg,#f36b21 0 5px,#58341f 5px 100%)}.sidebarMotto{color:#c2bdb5}.sidebarMotto:after{background:#f36b21}.sideFoot{border-top-color:#484a48}.avatar{color:#2b2b2b;background:#f6dfc6}.eyebrow{color:#c64e17}.primary{background:linear-gradient(135deg,#f47b28,#e65312);box-shadow:0 8px 22px #e95e1c35}.primary:hover{background:linear-gradient(135deg,#ff8935,#d9490c)}.secondary{color:#313231;background:#e7dfd2}.notice{background:#242625;border-left:4px solid #f36b21}.stats{gap:17px}.stat{background:#fff9ef;border-top:0;box-shadow:0 8px 24px #2e271e12}.stat:nth-child(n){border-top:0}.statIcon,.stat:nth-child(2) .statIcon{color:#fff;background:linear-gradient(145deg,#c04d19,#f47a26);box-shadow:inset 0 0 0 1px #fff2}.stat:nth-child(2) .statIcon{background:linear-gradient(145deg,#b76a0e,#ed9818)}.stat:nth-child(3) .statIcon{background:linear-gradient(145deg,#a62a20,#dc4b2d)}.stat:nth-child(4) .statIcon{background:linear-gradient(145deg,#383a38,#222423)}.panel{background:#fff9ef}.panelHead{color:#fff;background:linear-gradient(100deg,#272928,#202221);border-bottom:2px solid #f36b21;margin:-20px -20px 16px;padding:16px 20px}.panelHead p{color:#bbb8b1}.panelHead h2:after{display:none}.toolbar{color:#fff;background:linear-gradient(100deg,#292b2a,#222423);border-color:#3a3c3a;box-shadow:0 8px 24px #1c1c1c1f}.search{color:#f7f4ed;background:#333534;border-color:#525452}.search input{color:#fff}.search input::placeholder{color:#b9b8b3}.segmented button{color:#d2d1cc}.segmented button.active{color:#fff;background:#f36b21}.materialCard,.locationCard,.defectCard{background:#fff9ef}.materialPhoto{cursor:zoom-in;border:0;padding:0;box-shadow:inset 0 0 0 1px #ded2c2}.materialPhoto:hover img{transform:scale(1.05)}.materialPhoto img{transition:transform .2s}.materialName>span,.locationCard>div>span{color:#db581b}.barcodeRange{background:#f0e5d5}.rowActions button,.tableActions button,.defectActions>button{background:#fffaf1}.rowActions button:hover,.tableActions button:hover{color:#fff;background:#242625}.dangerButton:hover{color:#fff!important;background:#c63c2d!important;border-color:#c63c2d!important}.uploadProminent{background:#fff3e7;border:2px dashed #f36b21;grid-template-columns:52px 1fr auto;min-height:96px;padding:17px 18px}.uploadProminent:hover{background:#ffe8d5;border-color:#d94f0f}.uploadIcon{color:#fff;background:linear-gradient(145deg,#f47b28,#d94f0f);border-radius:12px;place-items:center;width:48px;height:48px;display:grid!important}.uploadProminent b{color:#292a29;font-size:13px}.uploadBrowse{color:#fff;background:#242625;border-radius:8px;padding:10px 13px;font-size:11px;font-weight:800}.uploadProminent small{font-size:10px!important}.uploadPreview{border:1px solid #dccfbd;box-shadow:0 10px 26px #31281d1a}.modalBackdrop{background:#111312c7}.modal{background:#fff9ef}.modal>header{border-bottom-color:#eadcca}.modal>header h2{color:#252625}.modal>header button{color:#fff;background:#252625}.modal>header button:hover{background:#f36b21}input:focus,select:focus,textarea:focus{border-color:#f36b21;box-shadow:0 0 0 3px #f36b2128}.imagePreviewBackdrop{padding:34px}.imagePreview{background:#202221;border:1px solid #414341;border-radius:18px;width:min(900px,94vw);max-height:90vh;position:relative;overflow:hidden;box-shadow:0 30px 100px #0009}.imagePreview>img{object-fit:contain;background:#151716;width:100%;height:min(68vh,690px);display:block}.imagePreview>div{color:#fff;border-top:2px solid #f36b21;padding:18px 22px 22px}.imagePreview>div span{color:#ff8b4b;letter-spacing:.16em;font-size:10px;font-weight:800}.imagePreview h2{margin:5px 0 7px;font:800 22px Manrope}.imagePreview code{color:#ddd8cf}.imagePreviewClose{z-index:2;color:#fff;cursor:pointer;background:#202221dd;border:1px solid #ffffff38;border-radius:50%;place-items:center;width:42px;height:42px;display:grid;position:absolute;top:14px;right:14px}.imagePreviewClose:hover{background:#f36b21}.loginIntro,.scanIntro{background:linear-gradient(145deg,#242625,#151716)}.loginIntro>p,.loginIntro h1 em,.scanIntro>svg{color:#f36b21}.loginPanel{background:#f3ede3}.recordCount,.materialSummary b{color:#ba4611;background:#ffe1ca}.topbarActions{align-items:center;gap:10px;margin-left:auto;display:flex}.installButton{color:#fff;cursor:pointer;background:#303231;border:1px solid #5a5b58;border-radius:8px;align-items:center;gap:7px;height:36px;padding:0 12px;font-size:11px;font-weight:800;display:flex}.installButton:hover{color:#ff9a61;border-color:#f36b21}.scannerPage{max-width:1120px;margin:0 auto}.scannerHero{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:18px;display:flex}.scannerHero h2{margin:5px 0;font:800 30px Manrope}.scannerHero p{color:var(--muted);margin:0}.gpsBadge{color:#6c6c68;background:#e9e1d4;border-radius:9px;align-items:center;gap:8px;padding:10px 13px;font-size:11px;font-weight:700;display:flex}.gpsBadge.ready{color:#407139;background:#e3ecd9}.scannerGrid{grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);align-items:start;gap:17px;display:grid}.cameraCard,.scannerForm{border:1px solid var(--line);background:#fff9ef;border-radius:16px;overflow:hidden;box-shadow:0 10px 34px #271f1512}.cameraViewport{aspect-ratio:4/3;background:#171918;position:relative;overflow:hidden}.cameraViewport video{object-fit:cover;width:100%;height:100%}.cameraEmpty{color:#fff;text-align:center;background:radial-gradient(circle at 50% 45%,#343735,#171918 70%);flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.cameraEmpty svg{color:#f36b21;margin-bottom:13px}.cameraEmpty strong{font:800 18px Manrope}.cameraEmpty small{color:#aaa9a4;margin-top:6px}.scanReticle{pointer-events:none;z-index:2;position:absolute;inset:22%}.scanReticle span{border-style:solid;border-color:#f36b21;width:42px;height:42px;position:absolute}.scanReticle span:first-child{border-width:3px 0 0 3px;top:0;left:0}.scanReticle span:nth-child(2){border-width:3px 3px 0 0;top:0;right:0}.scanReticle span:nth-child(3){border-width:0 3px 3px 0;bottom:0;right:0}.scanReticle span:nth-child(4){border-width:0 0 3px 3px;bottom:0;left:0}.cameraActions{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:15px 17px;display:flex}.cameraActions button{align-items:center;gap:8px;display:flex}.cameraActions small{color:var(--muted);text-align:right;font-size:10px}.attemptMeter{color:var(--muted);justify-content:space-between;align-items:center;padding:12px 17px;font-size:10px;font-weight:800;display:flex}.attemptMeter>div{gap:6px;display:flex}.attemptMeter i{background:#ddd4c6;border-radius:99px;width:30px;height:5px;display:block}.attemptMeter i.active{background:#d3432f}.manualEntry{background:#fff0e3;border:1px solid #f0b187;border-radius:11px;margin:0 17px 17px;padding:14px}.manualEntry>div:first-child{color:#bc4915;align-items:center;gap:10px;display:flex}.manualEntry strong,.manualEntry small{display:block}.manualEntry small{color:#8b624e;margin-top:3px;font-size:9px}.manualRow{grid-template-columns:1fr auto;margin-top:12px;gap:8px!important;display:grid!important}.manualRow button{color:#fff;cursor:pointer;background:#242625;border:0;border-radius:8px;padding:0 14px;font-size:11px;font-weight:800}.scannerForm{padding:22px}.matchCard{color:#888;background:#f5eee3;border:1px dashed #cfc3b3;border-radius:11px;align-items:center;gap:13px;min-height:88px;margin-bottom:2px;padding:12px;display:flex}.matchCard.matched{color:var(--ink);background:#eef5e8;border:1px solid #a8c69a}.matchCard img{object-fit:cover;background:#ddd;border-radius:8px;width:76px;height:66px}.matchCard span{color:#4b8544;text-transform:uppercase;letter-spacing:.1em;align-items:center;gap:5px;font-size:9px;font-weight:900;display:flex}.matchCard h3{margin:3px 0 1px;font:800 16px Manrope}.matchCard small{color:var(--muted);margin-top:5px;font-size:9px;display:block}.scanEvidence.required{background:#fff0ed;border-color:#d3432f}.scanEvidence.required:after{content:"REQUIRED";color:#b62f21;font-size:9px;font-weight:900}.scanError{line-height:1.45}.submitScan{justify-content:center;width:100%;padding:14px}.submitScan:disabled{opacity:.48;cursor:not-allowed;box-shadow:none}@media (max-width:1200px){.materialRow{grid-template-columns:28px 70px minmax(170px,1fr) 65px 65px minmax(180px,1fr) auto}.materialRow>.metric:nth-of-type(3){display:none}.dashboardGrid,.defectGrid{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}}@media (max-width:850px){.appShell{display:block}.sidebar{width:268px;transition:all .2s;position:fixed;left:-285px}.sidebar.open{left:0;box-shadow:20px 0 50px #0005}.mobileClose{display:block;position:absolute;top:10px;right:10px}.mobileMenu{color:#fff;background:0 0;border:0;place-items:center;margin-right:12px;display:grid}.topbar{justify-content:flex-start;height:76px;margin:-18px -16px 22px;padding:0 16px}.topbarActions{margin-left:auto}.systemPill{display:none}.mainArea{padding:18px 16px 45px}.materialRow{grid-template-columns:25px 70px 1fr auto}.materialRow>.metric,.barcodeRange{display:none}.locationGrid,.loginPage{grid-template-columns:1fr}.loginIntro{display:none}.loginPanel{min-height:100vh}.scanLayout,.scannerGrid{grid-template-columns:1fr}.scanIntro{padding:30px}.scanIntro>svg{margin-bottom:20px}.scannerHero{flex-direction:column;align-items:flex-start}.gpsBadge{width:100%}.pageHero{align-items:flex-start;gap:12px}.pageHero h2{font-size:24px}.toolbar{flex-direction:column;align-items:stretch}.search{min-width:0}.formGrid{grid-template-columns:1fr}.formGrid .full{grid-column:auto}.allocationGrid{grid-template-columns:1fr 1fr}.generateFields{grid-template-columns:1fr}.barcodePreview>div{grid-template-columns:1fr 1fr}.uploadProminent{grid-template-columns:48px 1fr}.uploadBrowse{text-align:center;grid-column:1/-1}}@media (max-width:560px){.stats{grid-template-columns:1fr}.pageHero{display:grid}.materialRow{grid-template-columns:22px 58px 1fr}.materialPhoto{width:58px;height:58px}.materialRow>.rowActions{grid-column:2/-1;justify-content:flex-end}.locationCard{grid-template-columns:42px 1fr auto}.locationCard>.rowActions{grid-column:2/-1;justify-content:flex-end}.defectCard{grid-template-columns:95px 1fr}.defectCard>img{width:95px;height:120px}.defectActions{flex-direction:row;grid-column:1/-1;justify-content:flex-end}.topbar h1{font-size:21px}.installButton{justify-content:center;width:38px;padding:0;font-size:0}.installButton svg{width:18px}.modal{padding:18px}.allocationGrid{grid-template-columns:1fr}.scannerHero h2{font-size:26px}.scannerHero p{font-size:12px}.cameraActions{flex-direction:column;align-items:stretch}.cameraActions button{justify-content:center}.cameraActions small{text-align:center}.manualRow{grid-template-columns:1fr!important}.manualRow button{min-height:40px}.scannerForm{padding:16px}.scanReticle{inset:18%}}.sampleCardAssignment{color:var(--muted);overflow-wrap:anywhere;flex-wrap:wrap;gap:8px 22px;padding:0 16px 14px;font-size:13px;display:flex}.sampleCardAssignment>span{min-width:0;max-width:100%}.sampleCardAssignment strong{color:var(--ink)}.scanSessionControls{flex-direction:column;align-items:flex-end;gap:10px;max-width:620px;display:flex}.scanSessionButtons{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.scanSessionButtons button{min-height:44px}.activeSessions{width:100%;color:var(--muted);gap:6px;font-size:11px;display:grid}.activeSessions>div{justify-content:flex-end;align-items:center;gap:10px;display:flex}.activeSessions i{background:var(--success);border-radius:50%;width:7px;height:7px;margin-right:6px;display:inline-block}.activeSessions button{border:1px solid var(--line);background:var(--paper);cursor:pointer;color:var(--danger);border-radius:7px;align-items:center;gap:5px;padding:6px 9px;font-size:11px;font-weight:700;display:inline-flex}.scanLocked{text-align:center;background:var(--paper);border:1px solid var(--line);border-radius:16px;max-width:780px;margin:34px auto;padding:42px 30px;box-shadow:0 10px 34px #271f1512}.scanLocked svg{color:var(--terracotta);margin-bottom:14px}.scanLocked h3{margin:5px 0 10px;font:800 24px Manrope}.scanLocked p{color:var(--muted);margin:0;line-height:1.6}.sessionPicker{flex-wrap:wrap;gap:8px;margin-bottom:16px;display:flex}.sessionPicker button{min-height:44px}.sessionPicker button.active{background:var(--terracotta);color:#fff}@media (max-width:850px){.scanSessionControls{align-items:stretch;width:100%;max-width:none}.scanSessionButtons{justify-content:stretch}.scanSessionButtons button{flex:1;min-width:150px}.activeSessions>div{justify-content:space-between}.scanLocked{margin:20px 0;padding:34px 20px}}@media (max-width:560px){.scanSessionButtons{grid-template-columns:1fr;display:grid}.scanSessionButtons button{width:100%}.sessionPicker{grid-template-columns:1fr;display:grid}.sessionPicker button{width:100%}}.sampleAssignment{background:#fff3e7;min-width:0}.sampleAssignment>p{color:var(--muted);margin:0 0 14px;font-size:13px;line-height:1.5}.sampleAssignmentSummary{border:1px solid var(--line);overflow-wrap:anywhere;background:#fff3e7;border-radius:10px;margin-top:16px;padding:14px}.sampleAssignmentSummary p{margin:8px 0;font-size:14px;line-height:1.7}.sampleAssignmentSummary small{color:var(--muted);line-height:1.5}.sampleAssignmentSummary .error{margin-top:12px}html{-moz-text-size-adjust:100%;text-size-adjust:100%}input,select,textarea{min-width:0;max-width:100%;scroll-margin-block:24px;font-size:16px;line-height:1.4}.appShell,.loginPage{min-height:100dvh}.sidebar{overscroll-behavior:contain;height:100dvh;overflow-y:auto}.mainArea,.panel,.materialCard,.materialName,.locationCard>div,.defectBody,.scannerGrid>*,.scannerForm>*,.formGrid>*,.allocationGrid>*,.generateFields>*,.upload>span,.manualRow>*,.matchCard>div,.materialSummary>div>div{min-width:0}.materialName h3,.locationCard h3,.defectBody h3,.matchCard h3,.matchCard code,.upload small,.gpsBadge span,.sideFoot strong{overflow-wrap:anywhere}.matchCard img,.matchCard>svg,.gpsBadge>svg,.cameraEmpty>svg,.statIcon{flex-shrink:0}.formGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.allocationGrid{grid-template-columns:repeat(3,minmax(0,1fr))}.generateFields{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.4fr)}.manualRow{grid-template-columns:minmax(0,1fr) auto}.manualRow input,.manualRow button{min-height:44px;font-size:16px}.manualEntry small{font-size:12px;line-height:1.5}.manualRow button:disabled{opacity:.5;cursor:not-allowed}.scannerHeroActions{flex-direction:column;align-items:flex-end;gap:10px;min-width:0;display:flex}.scannerRefresh{white-space:normal;min-height:44px;font-size:16px}.manualPhotoRequirement{background:#fff0e3;border:1px solid #edba98;border-radius:11px;padding:14px}.manualPhotoRequirement>strong{color:#99421e;font-size:14px}.manualPhotoRequirement>section{margin-top:10px}@media (max-width:560px){.scannerHeroActions{align-items:stretch;width:100%}.scannerHeroActions .gpsBadge,.scannerRefresh{justify-content:center}.manualEntry{margin-inline:14px}.manualEntry>div:first-child{align-items:flex-start}.manualEntry>div:first-child>svg{flex:none}}.formActions{flex-wrap:wrap}.formActions>button{min-height:44px}.tableScroll,.unitTable{overscroll-behavior-x:contain;max-width:100%}.tableScroll table,.unitTable table{min-width:600px}.topbar>div:not(.topbarActions){min-width:0}.topbar h1{overflow-wrap:anywhere}.topbarActions,.mobileMenu,.installButton,.modal>header>button{flex-shrink:0}.notice{overflow-wrap:anywhere;text-align:left;max-width:min(520px,100% - 32px)}.mobileNavBackdrop{display:none}.setupPage{background:var(--sand);place-items:center;min-height:100dvh;padding:24px;display:grid}.setupCard{background:var(--paper);border:1px solid var(--line);border-radius:18px;width:min(520px,100%);min-width:0;padding:32px}.setupCard form{gap:16px;display:grid}.setupCard h1{overflow-wrap:anywhere;font:800 28px Manrope}.setupCard p{color:var(--muted);line-height:1.6}.setupEyebrow{color:var(--terracotta);font-size:11px;font-weight:800}.setupBack{margin-top:24px}.setupDone{background:#e3ecd9;border-radius:10px;padding:16px}@media (max-width:1500px){.materialRow{grid-template-columns:28px 72px minmax(0,1fr);gap:12px}.materialPhoto{width:72px;height:66px}.materialRow>.metric,.materialRow>.barcodeRange{display:none}.materialRow>.metric:nth-child(4){border:0;grid-column:2/-1;align-items:center;gap:8px;padding:0;display:flex}.materialRow>.metric:nth-child(4) strong{font-size:18px}.materialRow>.rowActions{flex-wrap:wrap;grid-column:2/-1;justify-content:flex-end}.materialName small{white-space:normal;overflow-wrap:anywhere;max-width:100%}}@media (min-width:851px) and (max-width:1200px){.scannerGrid{grid-template-columns:minmax(0,1fr)}.scannerHero{flex-direction:column;align-items:flex-start;gap:12px}.cameraActions{flex-wrap:wrap}.cameraActions small{text-align:left}.locationGrid{grid-template-columns:minmax(0,1fr)}}@media (max-width:850px){.mainArea{padding:0 max(16px,env(safe-area-inset-right)) max(32px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}.topbar{height:auto;min-height:76px;margin:0 calc(-1 * max(16px,env(safe-area-inset-right))) 20px calc(-1 * max(16px,env(safe-area-inset-left)));padding:max(12px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) 12px max(16px,env(safe-area-inset-left));gap:8px}.topbar .mobileMenu{width:44px;height:44px;margin-right:0;padding:0}.topbarActions{gap:6px}.installButton{min-width:44px;min-height:44px}.sidebar{width:min(300px,100% - 44px);height:var(--visible-viewport-height,100dvh);left:0;top:var(--visible-viewport-top,0px);padding:max(24px,env(safe-area-inset-top)) 16px max(18px,env(safe-area-inset-bottom));visibility:hidden;transition:transform .2s;transform:translate(-110%)}.sidebar.open{visibility:visible;transform:translate(0)}.sidebar nav,.sideFoot{flex-shrink:0}.sidebarMotto{padding-top:28px}.mobileClose{width:44px;height:44px;top:max(6px,env(safe-area-inset-top));right:4px}.sideBrand{padding-right:28px}.sideFoot button{width:44px;height:44px}.sideFoot{grid-template-columns:36px minmax(0,1fr) 44px}.mobileNavBackdrop{z-index:39;background:#11131299;border:0;padding:0;display:block;position:fixed;inset:0}.scanLayout,.scannerGrid,.formGrid,.generateFields{grid-template-columns:minmax(0,1fr)}.allocationGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.scanForm{gap:16px}.scanForm label,.formGrid label,.loginPanel label,.setupCard label{font-size:13px}.scanForm input:not([type=checkbox]),.scanForm select,.formGrid input:not([type=checkbox]),.formGrid select,.loginPanel input{min-height:48px}.check{align-items:flex-start;line-height:1.5}.check input{flex:none;margin-top:2px}.scannerHero{gap:12px}.scannerHero p{line-height:1.5}.cameraEmpty{padding:22px}.cameraEmpty small{line-height:1.5}.cameraViewport video{display:block}.cameraViewport{aspect-ratio:4/3}.scannerForm{padding:18px}.scanEvidence.required:after{grid-column:2}.rowActions button,.tableActions button,.defectActions>button{min-width:44px;min-height:44px}.defectActions{flex-wrap:wrap}.defectBody>div{flex-wrap:wrap;gap:6px}.modalBackdrop{top:var(--visible-viewport-top,0px);height:var(--visible-viewport-height,100dvh);padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));bottom:auto;overflow:hidden}.modal{overscroll-behavior:contain;width:100%;min-width:0;max-height:100%;padding:18px;scroll-padding-block:20px}.modal>header{gap:12px}.modal>header>div{min-width:0}.modal>header>button{width:44px;height:44px}.modal>header h2{overflow-wrap:anywhere;font-size:20px}.imagePreview{width:100%;max-height:100%;overflow:auto}.imagePreview>img{height:55dvh;max-height:calc(var(--visible-viewport-height,100dvh) - 160px)}.imagePreview code{white-space:normal;overflow-wrap:anywhere}.loginPanel{min-height:100dvh;padding:max(24px,env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left))}.loginPanel form{min-width:0;max-width:100%}.notice{right:16px;top:max(12px,env(safe-area-inset-top))}}@media (max-width:560px){.materialRow{grid-template-columns:24px 58px minmax(0,1fr);gap:10px;padding:12px}.materialPhoto{width:58px;height:58px}.materialName h3{font-size:15px}.materialName small{font-size:11px;line-height:1.4}.stats,.allocationGrid,.barcodePreview>div{grid-template-columns:minmax(0,1fr)}.formActions{grid-template-columns:minmax(0,1fr);width:100%;display:grid}.formActions>button{width:100%}.pageHero{flex-direction:column;align-items:stretch;gap:14px}.pageHero>button{width:100%}.officeHeroActions{justify-content:stretch}.officeHeroActions .primary,.officeHeroActions .secondary{flex:1;min-width:0}.panel{padding:14px}.panelHead{margin:-14px -14px 14px;padding:14px}.materialSummary>div{grid-template-columns:40px minmax(0,1fr) auto;gap:8px;padding:4px}.materialSummary img{width:40px;height:40px}.materialSummary strong,.materialSummary small{overflow-wrap:anywhere}.locationCard{grid-template-columns:38px minmax(0,1fr) auto;gap:10px;padding:14px}.locationPin{width:38px;height:42px}.defectCard{grid-template-columns:76px minmax(0,1fr);gap:10px}.defectCard>img{width:76px;height:100px}.segmented{flex-wrap:wrap}.segmented button{flex:1;min-height:44px;padding-inline:10px}.search{gap:6px;height:auto;min-height:48px;padding:0 10px}.search input{min-width:0;padding-inline:4px}.setupPage{padding:16px}.setupCard{padding:22px}.setupCard h1{font-size:24px}}@media print{body>*{visibility:hidden}.printSheet,.printSheet *{visibility:visible}.printSheet{background:#fff;padding:10mm;position:absolute;inset:0;display:block!important}.printSheet>button{display:none}.printSheet>div{grid-template-columns:repeat(3,1fr);gap:5mm;display:grid}.printSheet h1{font-size:16px}.printSheet .barcodeLabel{break-inside:avoid;border:1px solid #ddd}}.scannerOfficeNav{color:#ff9a61!important;background:#2a2420!important;border:1px solid #f36b2155!important}.scannerOfficeNav:hover{color:#fff!important;background:#4a2c1c!important}.scannerModeChooser{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 18px;display:grid}.scannerModeCard{border:1px solid var(--line);min-height:92px;color:var(--ink);background:#fff9ef;border-radius:14px;align-items:center;gap:13px;padding:16px;text-decoration:none;display:flex;box-shadow:0 8px 24px #271f150d}.scannerModeCard>svg{color:var(--terracotta);flex:none}.scannerModeCard>div{min-width:0}.scannerModeCard strong,.scannerModeCard small{display:block}.scannerModeCard strong{font:800 15px Manrope}.scannerModeCard small{color:var(--muted);margin-top:5px;font-size:11px;line-height:1.45}.scannerModeCard.active{background:#fff5ea;border-color:#e3c5ae}.scannerModeCard.office{background:linear-gradient(135deg,#fff8ef,#ffe8d5);border-color:#f36b2170}.scannerModeCard.office:hover{border-color:#f36b21;transform:translateY(-1px)}.scannerModeCard.office>svg:last-child{color:#8f4a27;margin-left:auto}@media (max-width:700px){.scannerModeChooser{grid-template-columns:1fr}.scannerModeCard{min-height:84px}}.scannerEvidenceSection{background:#fff7ed;border:1px solid #e2d5c5;border-radius:12px;gap:10px;padding:14px;display:grid}.scannerEvidenceHeading{color:#b44b18;align-items:flex-start;gap:10px;display:flex}.scannerEvidenceHeading>svg{flex:none;margin-top:1px}.scannerEvidenceHeading strong,.scannerEvidenceHeading small{display:block}.scannerEvidenceHeading small{color:var(--muted);margin-top:3px;font-size:10px;line-height:1.45}.defectCheck{color:#9b3d18;background:#fff1e8;border:1px solid #e4b59b;border-radius:10px;padding:12px 14px;font-size:13px;font-weight:800}.defectCapturePanel{background:#fff3e8;border:2px solid #f36b21;border-radius:13px;gap:12px;padding:16px;display:grid;box-shadow:0 8px 24px #f36b2114}.defectCaptureHeading{color:#b74312;align-items:flex-start;gap:10px;display:flex}.defectCaptureHeading>svg{flex:none}.defectCaptureHeading strong,.defectCaptureHeading small{display:block}.defectCaptureHeading strong{font:800 15px Manrope}.defectCaptureHeading small{color:#7d5b48;margin-top:4px;font-size:11px;line-height:1.5}.defectPhotoReady,.defectPhotoMissing{border-radius:9px;align-items:center;gap:8px;padding:10px 12px;font-size:11px;font-weight:700;display:flex}.defectPhotoReady{color:#3f713c;background:#e8f3e2}.defectPhotoMissing{color:#9f371f;background:#fde0d6}@media (max-width:560px){.scannerEvidenceSection,.defectCapturePanel{padding:12px}.uploadProminent{grid-template-columns:46px minmax(0,1fr)}.uploadProminent .uploadBrowse{grid-column:1/-1}}
