:root{--cream:#f7f4ed;--navy:#192c3c;--orange:#b94d23;--muted:#647079;--line:#deded5;--white:#fffefb;--green:#2f6653;font-family:system-ui,-apple-system,"Noto Sans SC",sans-serif;color:var(--navy);background:var(--cream);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,input,select{min-height:48px}button{cursor:pointer;border:1px solid var(--line);border-radius:12px;background:var(--white);color:var(--navy);padding:10px 15px;font-weight:650;touch-action:manipulation}button:hover{border-color:var(--orange)}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #df8f51;outline-offset:3px}input,select{border:1px solid #b9c1c4;border-radius:10px;padding:12px;width:100%;background:#fff;color:var(--navy);font-size:17px}input[type=file]{font-size:14px}label,legend{font-weight:650;font-size:15px}form>label{display:block;margin:20px 0 8px}h1{font-size:26px;letter-spacing:-.5px;margin:12px 0 14px}h1>span{display:block}h2{font-size:23px;overflow-wrap:anywhere}.masthead{background:var(--navy);color:var(--cream);padding:25px max(20px,calc((100vw - 1000px)/2));display:flex;justify-content:space-between;align-items:center;gap:15px}.brand{display:flex;align-items:center;gap:13px}.brand-mark{font-weight:850;font-size:24px;border:1px solid #73818b;border-radius:10px;padding:9px 8px;letter-spacing:-1px}.brand strong{font-size:21px;display:block}.brand strong+strong{margin-top:2px}.header-note{font-size:12px;line-height:1.7;color:#d9dfdf;text-align:right;white-space:nowrap;margin-left:auto}
.masthead{flex-wrap:wrap;row-gap:6px}main{max-width:1040px;margin:auto;padding:20px}.tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;background:#e9e8e1;padding:5px;border-radius:15px}.tabs button{border:0;background:transparent;font-size:17px}.tabs button.active{background:var(--navy);color:white;box-shadow:0 2px 5px #192c3c22}.tabs button>span{margin-left:4px}.sync-line{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:12px;color:var(--muted);margin:9px 0 18px}.text-button{background:transparent;border:0;padding:8px 10px;font-size:14px}
.sync-line .text-button{white-space:nowrap;flex-shrink:0}
.tabs button,.results-heading,.sync-line,.chips button{word-break:keep-all}.intro{margin:25px 0 18px}.eyebrow{font-size:13px;font-weight:750;letter-spacing:.3px;color:var(--orange)}.search-label{font-size:13px;display:block;margin-bottom:9px}.search-box{display:flex;align-items:center;border:2px solid var(--navy);border-radius:14px;background:white;padding-left:15px;box-shadow:0 4px 0 #192c3c08}.search-box>span{font-size:32px}.search-box input{min-width:0;border:0;background:transparent;font-size:17px;min-height:58px}.search-box button{border:0;background:transparent;font-size:25px;min-width:48px}.chips{display:flex;overflow-x:auto;gap:8px;padding:15px 0 12px;scrollbar-width:thin}.chips button{flex-shrink:0;font-size:13px;border-radius:25px;padding:10px 15px}.chips button.active{background:var(--navy);color:#fff;border-color:var(--navy)}.results-heading{display:flex;justify-content:space-between;align-items:center;margin:16px 0;gap:10px}.results-heading strong{font-size:14px}.results-heading>span{font-size:10px;color:var(--muted)}.results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.card{border:1px solid var(--line);background:var(--white);border-radius:18px;overflow:hidden;box-shadow:0 3px 12px #192c3c05}.product-image{width:100%;aspect-ratio:4/3;display:block;object-fit:contain;background:#eeede7}.no-photo{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;color:#67757a;font-size:14px}.no-photo>span:first-child{font-size:32px;opacity:.65}.card-body{padding:17px}.card h2{font-size:19px;line-height:1.4;margin:5px 0 8px}.metadata{font-size:12px;color:var(--muted);line-height:1.6;overflow-wrap:anywhere}.stock-location{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;border-top:1px solid var(--line);margin-top:17px;padding-top:14px}.metric-label{font-size:11px;color:var(--muted);display:block;margin-bottom:5px}.metric{font-size:27px;font-weight:780;line-height:1.2;overflow-wrap:anywhere}.location-value{color:var(--orange)}.split{font-size:12px;color:var(--muted);margin-top:6px}.warning{font-size:13px;padding:10px;background:#fff0d9;color:#805020;border-radius:9px;line-height:1.6;overflow-wrap:anywhere}.card button{margin-top:15px;width:100%}.primary{background:var(--orange);color:white;border-color:var(--orange);width:100%;margin-top:22px;min-height:54px}.panel{background:var(--white);padding:24px;border:1px solid var(--line);border-radius:18px;margin:20px 0}.panel p{font-size:14px;line-height:1.7;color:var(--muted)}.panel form{max-width:600px}.staff-bar{display:flex;gap:8px;flex-wrap:wrap;align-items:center;font-size:13px}.staff-bar>span{margin-right:auto;font-weight:650}.notice,.form-status:not(:empty){padding:13px 15px;border-radius:10px;background:#e9f1eb;color:var(--green);line-height:1.6;font-size:14px;white-space:pre-line;overflow-wrap:anywhere}.notice{margin-top:15px}.notice.error,.form-status.error{background:#fff0e9;color:#983f24}.notice.warning{background:#fff0d9;color:#805020}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.section-heading h1{font-size:22px}fieldset{border:0;margin:24px 0 0;padding:0;min-width:0}legend{margin-bottom:12px}.steppers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.stepper label{display:block;text-align:center;font-size:12px;margin-bottom:8px}.stepper-controls{display:grid;grid-template-columns:1fr 1fr;gap:4px}.stepper input{grid-column:1 / -1;text-align:center;font-size:24px;font-weight:750;appearance:textfield;padding:8px;min-width:0}.stepper input::-webkit-inner-spin-button{appearance:none}.stepper button{padding:7px;font-size:22px}.location-preview{font-size:24px;font-weight:750;margin:12px 0;color:var(--orange)}.location-tools{display:flex;justify-content:space-between;align-items:center;gap:10px}.help{font-size:12px!important;color:var(--muted);line-height:1.7}.color-choices{display:flex;flex-wrap:wrap;gap:7px;max-height:240px;overflow:auto;border:1px solid var(--line);border-radius:12px;padding:10px}.color-choice{display:flex;align-items:center;gap:8px;min-height:48px;font-size:13px;padding:5px 10px;border-radius:8px;background:var(--cream)}.color-choice input{width:21px;min-height:24px;accent-color:var(--orange)}.photo-preview{display:block;max-height:240px;max-width:100%;margin:12px auto;border-radius:12px}.empty{grid-column:1 / -1;padding:45px 20px;text-align:center;background:var(--white);border:1px dashed var(--line);border-radius:16px;line-height:1.9;color:var(--muted)}dialog{width:min(640px,calc(100% - 24px));max-height:92dvh;padding:0;border:1px solid var(--line);border-radius:20px;background:var(--cream);color:var(--navy)}dialog::backdrop{background:#112634b3}.dialog-inner{padding:22px}dialog .product-image{max-height:260px;border-radius:12px}dialog .stock-location{margin-bottom:15px}footer{font-size:12px;color:var(--muted);border-top:1px solid var(--line);margin-top:40px;padding:23px 0;line-height:1.8}footer span{display:block}[hidden]{display:none!important}@media(max-width:600px){main{padding:16px}.results{grid-template-columns:1fr}.card-body{padding:18px}.product-image{aspect-ratio:4/3}.panel{padding:20px}.masthead{padding:22px 20px}.tabs button>span{display:block;margin:2px 0 0}
.tabs button{padding:10px 6px}.metric{font-size:28px}.results-heading>span{font-size:10px}.section-heading{align-items:flex-start}}@media(max-width:600px){.masthead{padding-top:16px;padding-bottom:16px}.sync-line{margin:4px 0 8px}.intro{margin:12px 0}.intro>.eyebrow{display:none}.intro h1{font-size:23px;margin:8px 0}.no-photo{aspect-ratio:auto;height:150px}dialog .no-photo{height:120px}}
button{min-width:48px}
@media(max-width:600px){.dialog-inner{padding:14px}.steppers{gap:2px}.stepper-controls{gap:2px}}
@media(max-width:380px){.steppers{grid-template-columns:1fr;gap:12px}.stepper-controls{grid-template-columns:48px 1fr 48px}.stepper input{grid-column:2;grid-row:1}.stepper button:nth-child(2){grid-column:1;grid-row:1}.stepper button:nth-child(3){grid-column:3;grid-row:1}}
.search-box input::-webkit-search-cancel-button{appearance:none}
@media(prefers-reduced-motion:no-preference){button{transition:background .15s,border-color .15s}}.count-steppers{grid-template-columns:repeat(2,minmax(0,1fr))}.count-steppers .stepper label{font-size:17px}.count-steppers .stepper input{font-size:30px;min-height:58px}.count-steppers .stepper button{min-height:56px;font-size:26px}.count-system{font-size:18px;font-weight:700}.count-done{font-size:20px!important;font-weight:750}#edit-form>label{display:block;margin:20px 0 8px}
@media(max-width:380px){.count-steppers{grid-template-columns:1fr}}
.stock-location .metric-label{font-size:13px;margin-bottom:0}.condition-line{font-size:17px;line-height:1.45;overflow-wrap:anywhere;padding:8px 10px;border-radius:10px;background:#f1efe7;border-left:4px solid var(--green)}.condition-used{border-left-color:var(--orange)}.condition-label{font-weight:650}.condition-qty{font-weight:800}.condition-where strong{font-weight:750}.condition-where .unset{color:var(--muted);font-weight:600}.location-code{white-space:nowrap}
