:root{font-family:Arial,Helvetica,sans-serif;color:#f2f4f6;background:#16191f;font-size:16px}*{box-sizing:border-box}body{margin:0;min-width:300px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}input,select,textarea{width:100%;border:1px solid #414851;background:#232832;color:#f3f4f5;border-radius:9px;padding:12px 13px;outline:none}input:focus,select:focus,textarea:focus{border-color:#ed6c27;box-shadow:0 0 0 2px #ed6c2740}textarea{resize:vertical;min-height:85px}label{display:block;color:#c1c8d0;font-size:.9rem;font-weight:600;margin:0 0 15px}label input,label select,label textarea{margin-top:7px}h1,h2,h3,p{margin-top:0}h1{font-size:1.75rem;line-height:1.2;letter-spacing:-.03em}h2{font-size:1.1rem}p{line-height:1.5}.subtle{color:#9ea7b2}.error{color:#ff9999;min-height:22px}.login-wrap{min-height:100dvh;display:grid;place-items:center;padding:20px;background:radial-gradient(circle at 85% 10%,#3a2a24 0,transparent 35%),#15181d}.login-card{width:min(100%,440px);padding:34px;border:1px solid #363e48;border-radius:18px;background:#1e232b;box-shadow:0 24px 80px #0005}.login-card h1{margin:28px 0 8px}.login-card p{color:#aab2bb}.brand{display:flex;align-items:center;gap:11px;line-height:1}.brand strong{display:block;font-size:1.06rem;letter-spacing:.16em}.brand small{display:block;font-size:.59rem;font-weight:700;letter-spacing:.22em;color:#ff8b4a;margin-top:5px}.mark{display:grid;place-items:center;width:37px;height:37px;border:3px solid #ef702d;color:#ef702d;clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%);font-weight:900}.primary,.scan-btn{border:0;border-radius:9px;background:#ed6c27;color:#15181d;padding:12px 17px;font-weight:800;min-height:44px}.primary:hover,.scan-btn:hover{background:#ff8a43}.login-card .primary{width:100%}.quiet{border:1px solid #3a414a;background:#242a33;color:#e6e9ed;border-radius:8px;padding:9px 13px;min-height:40px}.quiet:hover{border-color:#ed6c27}.topbar{height:69px;border-bottom:1px solid #333a43;display:flex;justify-content:space-between;align-items:center;padding:0 max(22px,calc((100vw - 1320px)/2));background:#1b2027}.account{display:flex;align-items:center;gap:13px;font-size:.85rem;color:#c4cbd2}main{max-width:1364px;margin:auto;padding:34px 22px 95px}.page-head{display:flex;justify-content:space-between;gap:20px;align-items:center}.eyebrow{font-size:.7rem;font-weight:800;letter-spacing:.17em;color:#e88348;margin-bottom:10px}.head-actions{display:flex;gap:9px}.tabs{display:flex;gap:2px;border-bottom:1px solid #333b45;margin:22px 0 23px;overflow:auto}.tabs button{border:0;border-bottom:3px solid transparent;background:none;color:#acb5be;padding:13px 18px;white-space:nowrap;font-weight:700}.tabs button.active{border-bottom-color:#f07835;color:#fff}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;margin-bottom:15px}.metric{background:#222831;border:1px solid #343c46;border-radius:12px;padding:17px 20px}.metric small{display:block;text-transform:uppercase;letter-spacing:.1em;color:#9ba5b1;font-size:.68rem;font-weight:800}.metric strong{display:block;font-size:1.75rem;margin-top:9px}.metric.warn strong{color:#ff785b}.two-col{display:grid;grid-template-columns:1.25fr 1fr;gap:15px}.panel{background:#20262e;border:1px solid #343d46;border-radius:13px;padding:18px;min-width:0}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.panel-head h2{margin:0}.search{max-width:350px}.list{display:grid;gap:8px}.row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;background:#262d36;border:1px solid #333e48;border-radius:9px;min-width:0}.row-main{min-width:0}.row-title{font-weight:800;overflow-wrap:anywhere}.row-sub{font-size:.82rem;color:#a6b0ba;margin-top:4px;overflow-wrap:anywhere}.row-right{display:flex;align-items:center;gap:9px;flex-shrink:0}.badge{padding:5px 8px;border-radius:6px;background:#36404b;color:#d5dbe0;font-size:.76rem;font-weight:800;white-space:nowrap}.badge.low{background:#4d282c;color:#ff9899}.badge.good{background:#223e35;color:#85d8ae}.badge.orange{background:#533828;color:#ffbc87}.empty{color:#9da8b3;padding:22px;border:1px dashed #3b444e;border-radius:9px}.notice{padding:12px 15px;border-radius:9px;background:#243a30;color:#b4f0ce;margin-bottom:17px}.notice.bad{background:#4e292b;color:#ffd1d1}.export-grid{display:grid;gap:9px}.export-grid a{color:#ffc093;background:#29313a;border:1px solid #3b4854;padding:12px;border-radius:8px;text-decoration:none}dialog{border:1px solid #49535e;background:#20262e;color:#f4f5f6;border-radius:16px;width:min(630px,calc(100% - 24px));max-height:88dvh;padding:0;box-shadow:0 20px 80px #000a}dialog::backdrop{background:#071016bd}.modal-head{display:flex;justify-content:space-between;align-items:center;padding:17px 20px;border-bottom:1px solid #3b434c}.modal-head h2{margin:0}.modal-head button{border:0;background:none;color:#fff;font-size:1.6rem}.modal-body{padding:19px 20px;overflow:auto;max-height:calc(88dvh - 65px)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 13px}.span2{grid-column:1/-1}.form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:9px}.camera{width:100%;max-height:300px;background:#0e1115;border-radius:10px}.ocr-text{white-space:pre-wrap;background:#151b22;padding:13px;border-radius:8px;color:#cfd5dd;max-height:200px;overflow:auto;font-size:.82rem}.mobile-actions{display:none}.photo-thumb{width:65px;height:55px;object-fit:cover;border-radius:5px}.stack{display:grid;gap:10px}.hint{color:#9ea8b3;font-size:.82rem}.pill{border-left:3px solid #e87236;padding-left:9px}.count-bad{border-color:#813d3e}.view[hidden],#app[hidden],#login[hidden],[hidden]{display:none!important}
@media(max-width:800px){.topbar{padding:0 16px}.account span{display:none}main{padding:22px 13px 100px}.page-head{align-items:flex-start}.head-actions{display:none}.two-col{grid-template-columns:1fr}.metrics{grid-template-columns:repeat(2,1fr)}.panel{padding:13px}.mobile-actions{position:fixed;bottom:0;left:0;right:0;display:flex;background:#1c222a;border-top:1px solid #3c4550;padding:9px 12px calc(9px + env(safe-area-inset-bottom));z-index:3;gap:8px}.mobile-actions button{flex:1;border:1px solid #42505e;border-radius:8px;background:#2a323c;color:#fff;padding:10px 6px;min-height:48px;font-weight:700}.mobile-actions button:first-child{background:#ed6c27;color:#17191d;border-color:#ed6c27}.row{padding:12px;align-items:flex-start}.row-right{flex-direction:column;align-items:flex-end}.panel-head{align-items:flex-start;flex-direction:column}.search{max-width:none}.tabs button{padding:12px 14px}.form-grid{grid-template-columns:1fr}.span2{grid-column:auto}}@media(max-width:380px){.metric{padding:12px}.metric strong{font-size:1.45rem}.row-right .quiet{padding:7px}}

.brand-login,.brand-header{display:flex;flex-direction:column;align-items:flex-start;gap:4px}.brand-login img{display:block;width:min(100%,360px);height:auto}.brand-header img{display:block;width:216px;max-width:100%;height:auto}.brand-login small,.brand-header small{display:block;font-size:.72rem;font-weight:700;letter-spacing:.14em;color:#b6bec8}.brand-header small{margin-left:3px}@media(max-width:600px){.brand-header img{width:168px}.brand-header small{font-size:.64rem;letter-spacing:.09em}}
.brand-login,.brand-header{background:#fff;border-radius:10px;padding:10px 12px;width:max-content;max-width:100%}
.brand-login small,.brand-header small{color:#313942}
.brand-header img{width:178px}
.topbar{height:100px}
@media(max-width:600px){.brand-header{padding:5px 8px}.brand-header img{width:136px}.brand-header small{font-size:.58rem}.topbar{height:78px}}

/* Wolfpack Cloud palette: charcoal surfaces, violet navigation, orange actions. */
.brand-login small,.brand-header small{color:#242831}
.page-head h1,.panel h2,.modal-head h2{color:#f7f5ff}
.eyebrow{color:#c7b8ff}
.tabs button.active{border-bottom-color:#6943ee;color:#f7f5ff}
.tabs button:hover,.quiet:hover{color:#d3c8ff;border-color:#6943ee}
.metric strong{color:#f7f5ff}
.metric.warn strong{color:#ff9365}
.primary,.scan-btn,.mobile-actions button:first-child{background:#ff7b2f;color:#1b1e26}
.primary:hover,.scan-btn:hover{background:#ff9b60}
input:focus,select:focus,textarea:focus{border-color:#7957ee;box-shadow:0 0 0 2px #7957ee44}
.inventory-filter{display:flex;align-items:center;gap:10px;margin:14px 0 18px;color:#c9d2dc;font-size:1rem}.inventory-filter select{min-height:44px;min-width:195px;border:1px solid #4b5868;border-radius:9px;background:#232b35;color:#f7f7fa;padding:8px 12px;font:inherit}.inventory-filter select:focus-visible{outline:2px solid #ff7b2f;outline-offset:2px}@media(max-width:800px){.inventory-filter{margin:12px 0 16px}.inventory-filter select{flex:1;min-width:0}}
.access-types{border:1px solid #49535e;border-radius:9px;padding:12px 14px;margin:8px 0;color:#f4f5f6}.access-types legend{padding:0 5px}.access-types label{display:flex;align-items:center;gap:9px;margin:6px 0}.access-types input{width:18px;height:18px;accent-color:#ff7b2f}
.damage-panel{margin-top:18px}.damage-panel a{color:#ffb883}@media(max-width:800px){.mobile-actions button{font-size:.86rem;padding:10px 3px}.account{gap:5px}}
.catalog-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:14px}.catalog-actions a{color:#ffb883;font-size:.9rem}.catalog-actions .hint{flex-basis:100%;margin:0}
.scan-result{display:grid;grid-template-columns:minmax(130px,200px) 1fr;gap:18px}.scan-result-photo,.scan-result-placeholder{width:100%;aspect-ratio:1;object-fit:contain;border-radius:10px;background:#151b22}.scan-result-placeholder{display:grid;place-items:center;padding:15px;text-align:center;color:#aab3be}.scan-result h3{font-size:1.25rem;margin:0 0 12px}.scan-result p{margin-bottom:10px}.scan-result-locations{padding:12px;border:1px solid #3b4651;border-radius:9px;color:#d9dfe5}.scan-result-locations div{display:flex;justify-content:space-between;gap:10px;padding:3px 0}.scan-result-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}@media(max-width:550px){.scan-result{grid-template-columns:1fr}.scan-result-photo,.scan-result-placeholder{max-height:240px}.scan-result-actions button{flex:1 1 40%}}
