@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');
:root{font-family:'DM Sans',-apple-system,BlinkMacSystemFont,sans-serif;color:#22251f;background:#f7f8f5;font-synthesis:none;text-rendering:optimizeLegibility;--ink:#22251f;--muted:#858a80;--line:#e7e9e3;--paper:#fff;--green:#315c45;--pale:#eaf0e9;--orange:#e57a43;--radius:18px}*{box-sizing:border-box}body{margin:0;min-height:100vh}.app-shell{max-width:1160px;margin:auto;padding:0 36px}.topbar{height:78px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none;font:700 17px 'Space Grotesk';letter-spacing:-.8px}.brand-mark{width:34px;height:34px;background:var(--green);color:white;border-radius:10px;display:grid;place-items:center;font:700 19px 'Space Grotesk'}.brand-light{font-weight:400;color:#7b8278}.brand small{display:block;font:500 9px 'DM Sans';letter-spacing:1.4px;text-transform:uppercase;color:#9a9e95;margin-top:2px}.top-actions{display:flex;align-items:center;gap:18px}.live-dot{font-size:11px;color:#738072}.live-dot:before{content:'';display:inline-block;width:7px;height:7px;background:#66a779;border-radius:50%;margin-right:7px}.icon-btn{border:1px solid var(--line);background:white;border-radius:50%;height:36px;width:36px;color:#656b60;cursor:pointer}.intro{padding:54px 0 34px;display:flex;justify-content:space-between;align-items:end}.eyebrow,.section-kicker{color:#899086;font-size:10px;font-weight:700;letter-spacing:1.4px}.intro h1,.login-card h1{font:600 clamp(36px,5vw,56px)/1.08 'Space Grotesk';letter-spacing:-2.6px;margin:12px 0}.intro h1 span{color:var(--orange)}.lead{max-width:550px;color:#7b8177;line-height:1.65;margin:0;font-size:15px}.stock-total{text-align:right;padding-bottom:4px}.stock-total strong{display:block;font:600 42px 'Space Grotesk';letter-spacing:-2px}.stock-total span{font-size:11px;color:var(--muted)}.tabs{display:flex;border-bottom:1px solid var(--line);gap:30px}.tab{background:none;border:0;padding:14px 0 15px;font:600 13px 'DM Sans';color:#81867c;cursor:pointer;position:relative}.tab.active{color:var(--green)}.tab.active:after{content:'';position:absolute;height:2px;background:var(--green);bottom:-1px;left:0;right:0}.tab span{font-size:10px;background:#ecefe9;border-radius:8px;padding:3px 6px;margin-left:4px}.view{padding:30px 0 68px}.hidden{display:none!important}.scan-layout{display:grid;grid-template-columns:1fr 1.05fr;gap:18px}.capture-card,.result-card{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:24px;min-width:0}.section-kicker{display:flex;align-items:center;gap:10px;margin-bottom:22px}.section-kicker span{color:var(--orange);font:600 12px 'Space Grotesk'}.dropzone{border:1px dashed #cdd4ca;background:#fafbf9;border-radius:14px;min-height:365px;padding:32px 22px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.camera-glyph{width:62px;height:62px;border-radius:20px;background:#edf2ec;color:var(--green);font-size:35px;display:grid;place-items:center;margin-bottom:22px}.dropzone strong{font:600 18px 'Space Grotesk'}.dropzone p,.empty-result p{max-width:290px;color:#92988e;line-height:1.55;font-size:12px;margin:9px 0 20px}.button{border:0;border-radius:11px;padding:13px 17px;font:600 12px 'DM Sans';cursor:pointer;transition:transform .15s,background .15s}.button:active{transform:scale(.98)}.primary{background:var(--green);color:white}.primary:hover{background:#254c37}.primary span{margin-left:14px;font-size:16px}.secondary{background:#eff2ed;color:var(--green)}.text-button{background:none;border:0;color:#6d786d;font:600 11px 'DM Sans';padding:13px;cursor:pointer}.preview-wrap{border-radius:14px;overflow:hidden;background:#f4f5f2}.preview-wrap img{display:block;width:100%;height:330px;object-fit:contain}.preview-actions{padding:12px 14px;display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#7d847a}.status{padding:12px 14px;margin-top:14px;border-radius:10px;background:#edf3ed;color:#41614a;font-size:12px}.status.error{background:#fff0ec;color:#a54f36}.empty-result{min-height:365px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.empty-symbol{width:62px;height:62px;border-radius:20px;background:#f4f5f2;color:#a2aaa0;font-size:30px;display:grid;place-items:center;margin-bottom:18px}.empty-result strong{font:600 16px 'Space Grotesk'}.empty-result p{max-width:270px}.module-form{display:block}.detected-title{display:flex;align-items:center;justify-content:space-between;margin:0 0 20px}.detected-title h2{font:600 19px 'Space Grotesk';margin:5px 0 0;letter-spacing:-.6px}.confidence{border-radius:20px;background:#edf3ed;color:var(--green);padding:6px 9px;font-size:10px;font-weight:700}.review-warning{background:#fff2e8;color:#925a30;border-radius:9px;padding:10px 12px;font-size:11px;margin-bottom:15px}.fields-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.fields-grid label,.login-card label{font-size:10px;color:#81877d;font-weight:600;display:flex;flex-direction:column;gap:6px}.fields-grid input,.fields-grid select,.destination select,.login-card input{width:100%;height:39px;border:1px solid #e6e9e2;border-radius:9px;padding:0 10px;background:#fff;color:#343a32;font:500 12px 'DM Sans';outline:none}.fields-grid input:focus,.fields-grid select:focus,.destination select:focus,.login-card input:focus{border-color:#8da995}.fields-grid .wide{grid-column:1/-1}.destination{margin-top:18px;padding:15px;background:#f5f7f3;border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:12px}.destination strong{display:block;font:600 13px 'Space Grotesk';margin:5px 0}.destination p{margin:0;font-size:10px;color:#8a9086}.destination select{max-width:160px}.save-button{width:100%;margin-top:14px;height:47px}.save-hint{text-align:center;color:#9a9e96;font-size:10px;margin:10px 0 0}.view-head{display:flex;justify-content:space-between;align-items:end;margin:5px 0 22px}.view-head h2{font:600 30px 'Space Grotesk';letter-spacing:-1.2px;margin:7px 0 0}.muted{color:#999f95;font-size:11px}.search-row{display:flex;gap:10px;margin-bottom:17px}.search-box{height:46px;display:flex;align-items:center;gap:10px;flex:1;padding:0 14px;border:1px solid var(--line);border-radius:11px;background:white;color:#858d82}.search-box span{font-size:23px}.search-box input{border:0;outline:0;flex:1;font:12px 'DM Sans';min-width:0}.search-box kbd{font:10px 'DM Sans';color:#a1a69e;background:#f3f4f1;padding:4px 6px;border-radius:5px}.search-row select{border:1px solid var(--line);border-radius:10px;background:white;padding:0 12px;color:#666;font:11px 'DM Sans'}.inventory-list{display:flex;flex-direction:column;gap:8px}.module-row{display:grid;grid-template-columns:52px 1fr auto auto;gap:14px;align-items:center;background:white;border:1px solid var(--line);padding:12px;border-radius:12px}.module-thumb{width:52px;height:52px;border-radius:9px;background:#f1f3ef;object-fit:cover}.module-thumb.placeholder{display:grid;place-items:center;color:#9ca79b;font-size:22px}.module-main strong{font:600 13px 'Space Grotesk';display:block}.module-main span{display:block;color:#92988d;font-size:10px;margin-top:5px}.chip{background:#edf2ec;color:#4e7257;border-radius:7px;padding:6px 8px;font-size:10px;white-space:nowrap}.row-box{font-size:10px;color:#697767;min-width:85px;text-align:right}.row-actions{display:flex;gap:5px}.row-actions button{background:#f4f5f2;border:0;border-radius:7px;padding:7px;color:#747c71;cursor:pointer}.boxes-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.box-card{background:white;border:1px solid var(--line);border-radius:14px;padding:20px}.box-top{display:flex;justify-content:space-between;align-items:center}.box-icon{width:40px;height:40px;border-radius:12px;background:#edf2ec;color:var(--green);display:grid;place-items:center;font-size:19px}.box-count{font:600 22px 'Space Grotesk'}.box-card input,.box-card textarea{width:100%;border:1px solid #e9ebe6;border-radius:8px;padding:9px;margin-top:12px;font:12px 'DM Sans';color:#444}.box-card textarea{resize:vertical;min-height:54px}.box-meta{font-size:10px;color:#999f95;margin-top:8px}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);opacity:0;background:#242b25;color:white;border-radius:10px;padding:12px 18px;font-size:12px;transition:.2s;pointer-events:none;z-index:9}.toast.show{opacity:1;transform:translate(-50%,0)}footer{border-top:1px solid var(--line);padding:20px 0 28px;display:flex;justify-content:space-between;color:#697267;font:600 9px 'Space Grotesk';letter-spacing:1px}.login-screen{position:fixed;inset:0;z-index:20;background:#f7f8f5;display:grid;place-items:center;padding:20px}.login-card{width:min(410px,100%);background:white;border:1px solid var(--line);border-radius:20px;padding:30px;display:flex;flex-direction:column;gap:14px}.login-card h1{font-size:34px;margin:0}.login-card>p:not(.eyebrow){line-height:1.5;font-size:12px;margin:0 0 10px}.login-card label{gap:8px}.login-card input{height:44px}.login-card .button{height:46px}.error{color:#b34f3b;font-size:11px}.empty-note{padding:40px;text-align:center;color:#92988e;font-size:12px;background:white;border:1px dashed var(--line);border-radius:12px}
@media(max-width:760px){.app-shell{padding:0 17px}.topbar{height:64px}.brand{font-size:15px}.intro{padding:38px 0 25px;align-items:start}.intro h1{font-size:38px;letter-spacing:-1.8px}.lead{font-size:13px;max-width:290px}.stock-total{display:none}.tabs{gap:22px;overflow:auto}.tab{white-space:nowrap;font-size:12px}.view{padding:20px 0 45px}.scan-layout{grid-template-columns:1fr;gap:12px}.capture-card,.result-card{padding:17px}.dropzone{min-height:300px;padding:23px 18px}.preview-wrap img{height:260px}.empty-result{min-height:230px}.fields-grid{gap:10px}.destination{align-items:start;flex-direction:column}.destination select{max-width:none;height:44px}.view-head h2{font-size:25px}.view-head{align-items:start;gap:12px}.search-row{flex-wrap:wrap}.search-box{flex-basis:100%}.search-row select{height:42px;flex:1}.module-row{grid-template-columns:44px 1fr auto;gap:9px;padding:10px}.module-thumb{width:44px;height:44px}.row-box{grid-column:2;text-align:left;min-width:0}.row-actions{grid-column:3;grid-row:1/3}.chip{font-size:9px}.boxes-grid{grid-template-columns:1fr}.box-card{padding:16px}footer{gap:12px;line-height:1.5}footer span:last-child{text-align:right;max-width:160px}.top-actions{gap:8px}.live-dot{font-size:10px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
