:root{font-family:'DM Sans','Noto Sans Thai',Tahoma,sans-serif;color:#20342f;background:#f6f8f5;font-synthesis:none;--green:#216d59;--dark:#1b3c32;--muted:#7f9189;--line:#e8ede8;--cream:#f7f8f5}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #8abdae;outline-offset:2px}button{border:0;background:none;color:inherit}.shell{min-height:100vh;display:flex}.sidebar{width:237px;background:#fff;border-right:1px solid #e8eee9;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:30px 17px 18px;z-index:5}.brand{display:flex;align-items:center;gap:11px;padding:0 6px 38px}.brand-mark{width:34px;height:34px;background:#266c59;border-radius:10px;display:grid;grid-template-columns:repeat(2,7px);grid-template-rows:repeat(2,7px);gap:3px;place-content:center;transform:rotate(-5deg)}.brand-mark span{border:1.5px solid #fff;border-radius:2px}.brand strong{display:block;letter-spacing:-1.2px;font-size:23px;line-height:1;font-weight:700}.brand strong span{color:#488774}.brand small{display:block;font-size:8px;font-weight:700;color:#91a099;letter-spacing:1.15px;margin-top:7px}.workspace-label,.eyebrow{font-size:9px;font-weight:700;letter-spacing:1.2px;color:#9aaba2}.workspace-label{padding:0 13px 12px}.sidebar-nav{display:grid;gap:4px}.nav-item{height:44px;display:flex;align-items:center;gap:13px;padding:0 13px;text-align:left;border-radius:8px;font-size:13px;font-weight:500;color:#6e8078;width:100%}.nav-item svg{color:#94a69d;flex-shrink:0}.nav-item:hover{background:#f4f8f5}.nav-item.active{color:#1d7059;background:#eaf4ef;font-weight:700}.nav-item.active svg{color:#27826a}.nav-badge{margin-left:auto;background:#d8ebe2;color:#377f69;border-radius:6px;font-size:10px;padding:2px 6px}.side-footer{margin-top:auto}.side-tip{background:#f1f7f2;border:1px solid #e4f0e6;border-radius:10px;padding:14px 11px;display:flex;gap:10px}.tip-icon{color:#2a8369}.side-tip strong{font-size:11px}.side-tip p{font-size:10px;line-height:1.7;color:#8b9e92;margin:5px 0 0}.sidebar-account{display:flex;gap:10px;align-items:center;border-top:1px solid var(--line);padding:18px 2px 0;margin-top:19px}.avatar{width:33px;height:33px;border-radius:50%;background:#e2eee7;display:grid;place-items:center;font-weight:700;color:#4d7f68;font-size:12px}.sidebar-account strong,.sidebar-account small{display:block;font-size:11px}.sidebar-account small{color:#a0afa7;margin-top:4px;font-size:10px}.account-dot{width:7px;height:7px;background:#75b890;border-radius:50%;margin-left:auto}.main-column{margin-left:237px;width:calc(100% - 237px);min-width:0;display:flex;flex-direction:column}.topbar{height:65px;border-bottom:1px solid #ebf0ec;background:rgba(255,255,255,.72);display:flex;align-items:center;justify-content:space-between;padding:0 36px}.crumb{font-size:11px;color:#71877c;font-weight:600}.crumb span{font-size:9px;letter-spacing:1px;color:#a9b6af}.crumb i{font-style:normal;color:#d4ded8;padding:0 12px}.mobile-brand{display:none}.header-right{display:flex;align-items:center;gap:16px}.demo-pill{font-size:10px;font-weight:600;color:#789388;background:#eef5f0;border-radius:20px;padding:7px 11px}.demo-pill span{display:inline-block;width:6px;height:6px;background:#67af83;border-radius:50%;margin-right:4px}.account-button{display:flex;align-items:center;gap:8px;color:#6e8078;font-size:11px;font-weight:600}.google-g{font-size:13px;font-weight:700;color:#4385ed;background:#fff;border:1px solid #e6ede7;width:24px;height:24px;border-radius:50%;display:grid;place-items:center}.content{width:100%;max-width:1600px;margin:0 auto;padding:34px 36px 56px;flex:1}.page-heading{display:flex;justify-content:space-between;gap:16px;align-items:flex-end;margin-bottom:23px}.page-heading h1{font-size:25px;letter-spacing:-.5px;margin:7px 0 4px;color:#213c33}.page-heading p,.panel-head p,.list-toolbar p{font-size:11.5px;color:#98a89f;margin:0;line-height:1.6}.heading-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.btn{min-height:39px;border-radius:7px;padding:0 15px;font-size:11px;font-weight:700;display:inline-flex;justify-content:center;align-items:center;gap:7px;white-space:nowrap}.btn.primary{background:#26745d;color:#fff;box-shadow:0 3px 8px #216d5915}.btn.primary:hover{background:#1d5e4b}.btn.secondary{background:#fff;border:1px solid #e2eae4;color:#4e6c5c}.btn.secondary:hover{background:#f5f9f6}.location-filter{height:39px;display:inline-flex;align-items:center;gap:7px;border:1px solid #e4ebe5;background:#fff;padding:0 11px;border-radius:7px;color:#789185}.location-filter select{border:0;background:transparent;color:#5d7569;font-size:11px;font-weight:600;appearance:none;max-width:205px;cursor:pointer}.location-filter select:focus{outline:0}.greeting{min-height:194px;background:#eaf3ec;border:1px solid #e3efe5;border-radius:11px;display:flex;overflow:hidden;justify-content:space-between;position:relative}.greeting-copy{padding:24px 28px;position:relative;z-index:1}.greeting-label{display:inline-flex;align-items:center;gap:6px;text-transform:uppercase;font-size:9px;color:#6c967f;font-weight:700;letter-spacing:.5px}.greeting-label span{width:6px;height:6px;background:#79ac89;border-radius:50%}.greeting h2{font-size:23px;line-height:1.26;margin:11px 0 8px;letter-spacing:-.5px;color:#315f4d}.greeting h2 em{font-style:normal;color:#79a18a}.greeting p{font-size:10px;line-height:1.7;color:#8aa597;margin:0}.greeting-link{display:flex;align-items:center;gap:7px;color:#2d7c63;font-size:10px;font-weight:700;padding:10px 0 0}.fabric-art{width:42%;position:relative;min-width:260px}.fabric{position:absolute;width:145px;height:260px;top:-30px;border-radius:10px;transform:rotate(43deg);box-shadow:0 10px 25px #677a6518;background-image:repeating-linear-gradient(90deg,#ffffff21 0,#ffffff21 1px,transparent 1px,transparent 4px),repeating-linear-gradient(0deg,#00000008 0,#00000008 1px,transparent 1px,transparent 5px)}.f1{background-color:#b6c6ac;right:247px}.f2{background-color:#d9c7ae;right:135px;top:-4px}.f3{background-color:#89a99c;right:23px;top:24px}.art-tag{position:absolute;right:65px;top:63px;background:#f7faf5;padding:11px 13px;transform:rotate(43deg);font-size:8px;letter-spacing:1px;line-height:1.5;color:#7e9485;box-shadow:0 3px 10px #00000010}.art-tag b{color:#4c6e5d}.art-spark{position:absolute;right:40px;top:18px;font-size:23px;color:#fff9}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-top:16px}.stat-card{background:white;border:1px solid #eaf0eb;border-radius:10px;padding:15px 17px;text-align:left;min-height:142px;transition:transform .15s,border-color .15s}.stat-card:hover{transform:translateY(-2px);border-color:#bed8c8}.stat-top{display:flex;justify-content:space-between;align-items:start}.stat-icon,.quick-icon{width:36px;height:36px;border-radius:8px;display:grid;place-items:center}.mint{background:#e8f4ec;color:#3d9972}.peach{background:#fbefe8;color:#cd9678}.blue{background:#eaf1f0;color:#6a9d9f}.sand{background:#f8f3e6;color:#bea56c}.stat-arrow{color:#bfccc4;font-size:13px}.stat-value{display:block;margin-top:11px;font-size:24px;line-height:1.1;font-weight:700;color:#294337;letter-spacing:-.5px}.stat-value small{font-size:10px;font-weight:500;color:#a8b5ad;letter-spacing:0}.stat-label{display:block;font-size:11px;font-weight:700;margin-top:5px}.stat-note{display:block;font-size:9px;color:#a7b6ad;margin-top:5px}.section-heading{display:flex;align-items:end;justify-content:space-between;margin:31px 0 12px}.section-heading h2,.panel-head h2,.list-toolbar h2{font-size:15px;margin:6px 0 3px;color:#31483c}.section-heading>span{font-size:10px;color:#a5b2aa}.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.quick-action{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #eaf0eb;border-radius:9px;padding:14px;text-align:left}.quick-action:hover{border-color:#bfdaca}.quick-action>span:nth-child(2){flex:1}.quick-action strong,.quick-action small{display:block}.quick-action strong{font-size:11px}.quick-action small{font-size:9px;color:#a3b2a8;margin-top:5px}.quick-action>svg{color:#aec0b4}.dashboard-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:15px;margin-top:24px}.panel{background:#fff;border:1px solid #e9efea;border-radius:10px;overflow:hidden}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:20px 20px 13px}.panel-head h2{margin:6px 0 4px}.text-link{font-size:10px;font-weight:700;color:#38846a;display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.text-link:hover{text-decoration:underline}.tiny-count{display:inline-block;font-size:9px;color:#69927d;background:#eef6ef;border-radius:5px;padding:3px 6px;vertical-align:middle;margin-left:4px}.pending-list,.activity-list{padding:0 20px 9px}.pending-row,.activity-row{width:100%;display:flex;align-items:center;gap:11px;padding:12px 0;text-align:left;border-top:1px solid #f2f5f2}.pending-row:hover .pending-details strong{color:#258165}.pending-icon,.activity-dot{width:35px;height:35px;border-radius:8px;background:#f1f6ef;color:#7ca88c;display:grid;place-items:center;flex:none}.pending-icon.blue{background:#edf4f4;color:#79a5a6}.pending-details,.activity-text{min-width:0;flex:1}.pending-details strong,.pending-details small,.activity-text strong,.activity-text small,.activity-meta strong,.activity-meta small{display:block}.pending-details strong,.activity-text strong{font-size:10.5px;line-height:1.5}.pending-details small,.activity-text small,.activity-meta small{color:#a3b0a8;font-size:9px;margin-top:3px}.pending-qty{color:#7a8b81;font-weight:500}.badge{display:inline-flex;align-items:center;gap:5px;padding:5px 7px;border-radius:5px;font-size:9px;font-weight:700;white-space:nowrap;background:#fcf5e8;color:#bb9450}.badge span,.stock-status i{width:5px;height:5px;border-radius:50%;background:currentColor}.badge.transit{background:#eaf5f4;color:#649d99}.badge.partial{background:#fff0e5;color:#c28455}.badge.done{background:#eaf5ed;color:#5e9e74}.row-arrow{color:#c2cec5}.activity-dot{border-radius:50%;width:31px;height:31px;background:#edf7f0;color:#73a98b}.activity-dot.orange{background:#faf1e9;color:#c79677}.activity-meta{text-align:right;white-space:nowrap}.activity-meta strong{font-size:10px;color:#638a72}.bottom-panel{margin-top:15px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;min-width:580px}th{padding:10px 20px;background:#f9fbf9;color:#a0afa6;font-size:9px;font-weight:600}td{padding:11px 20px;border-top:1px solid #f1f4f1;font-size:10px;color:#789085}td:last-child{width:45px;padding-left:0}.product-cell{display:flex;align-items:center;gap:10px;min-width:190px}.product-cell strong,.product-cell small{display:block}.product-cell strong{color:#415b4d;font-size:10.5px}.product-cell small{color:#a8b6ac;font-size:9px;margin-top:4px}.swatch{width:35px;height:35px;display:block;flex:none;border-radius:7px;background-color:var(--swatch);background-image:repeating-linear-gradient(45deg,#ffffff26 0px,#ffffff26 1px,transparent 1px,transparent 4px);border:1px solid #00000008}.category-tag{display:inline-block;background:#f5f8f5;padding:5px 8px;border-radius:5px;color:#87998e;font-size:9px}.stock-number{color:#4c6557;font-size:11px}.unit{color:#a7b5ac;font-size:9px}.stock-status{display:inline-flex;align-items:center;gap:5px;color:#73a887;font-size:9px;white-space:nowrap}.stock-status.low{color:#c69367}.icon-button{color:#a7b7ac;display:inline-grid;place-items:center;width:33px;height:33px;border-radius:7px}.icon-button:hover{background:#f1f6f2;color:#407d60}.app-footer{margin:0 36px;padding:17px 0;border-top:1px solid #e9efea;display:flex;justify-content:space-between;color:#adbbb2;font-size:9px}.footer-spark{color:#7fb397}.list-panel{margin-top:4px}.list-toolbar{padding:20px;display:flex;align-items:center;justify-content:space-between;gap:16px}.list-toolbar h2{margin:0 0 5px}.search-box{width:245px;display:flex;align-items:center;gap:8px;color:#a3b3a8;border:1px solid #e7eee8;border-radius:7px;padding:0 11px;height:38px}.search-box input{border:0;outline:0;min-width:0;width:100%;font-size:11px;color:#3b5647}.search-box input::placeholder{color:#b1beb5}.tabs{display:flex;gap:25px;padding:0 20px;border-bottom:1px solid #edf1ed}.tabs button{padding:16px 0 13px;font-size:11px;color:#94a59b;font-weight:600;border-bottom:2px solid transparent}.tabs button.active{color:#267a60;border-color:#267a60}.empty{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;padding:45px 20px;color:#a3b5a8;font-size:10px;text-align:center}.empty strong{color:#718a7b;font-size:12px}.intro-panel{display:flex;align-items:center;gap:14px;background:#edf5ef;border:1px solid #e1eee3;border-radius:10px;padding:24px;margin-bottom:18px}.intro-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:11px;background:#fff;color:#438e6c}.intro-icon:hover{background:#dbeee1;color:#216d59}.intro-panel>div{flex:1}.intro-panel h2{font-size:14px;margin:0 0 5px}.intro-panel p{font-size:11px;color:#8ba197;margin:0}.location-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.location-card{background:#fff;border:1px solid #e9efea;border-radius:10px;padding:20px}.location-card h2{font-size:14px;margin:16px 0 5px}.location-card p{font-size:11px;color:#98a89f;margin:0}.location-meta{display:flex;justify-content:space-between;border-top:1px solid #edf2ee;margin-top:20px;padding-top:15px;font-size:10px;color:#9baaa1}.location-meta strong{color:#66816f}.modal-backdrop{position:fixed;inset:0;background:#18352b80;z-index:30;display:flex;align-items:center;justify-content:center;padding:18px}.modal{width:min(100%,490px);max-height:min(90vh,850px);overflow:auto;background:white;border-radius:13px;box-shadow:0 18px 70px #12302630}.modal-head{padding:23px 24px 15px;display:flex;justify-content:space-between;align-items:flex-start}.modal-head h2{font-size:19px;margin:6px 0;color:#2a4738}.modal-head p{font-size:11px;color:#98a99d;margin:0}.modal-body{padding:5px 24px 20px}.field{display:block;margin:13px 0}.field>span{display:block;font-size:11px;font-weight:700;color:#526c5b;margin-bottom:7px}.field b{color:#d47e66}.field input,.field select,.field textarea{width:100%;border:1px solid #e0e9e1;border-radius:7px;min-height:41px;padding:9px 11px;background:white;color:#3c5747;font-size:12px}.field textarea{min-height:70px;resize:vertical}.field input::placeholder,.field textarea::placeholder{color:#b4c1b8}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.info-box,.available{display:flex;align-items:center;gap:9px;background:#eef7f0;color:#668b74;border-radius:7px;padding:11px;font-size:10px;line-height:1.5;margin:12px 0}.available{background:#f6f8f6}.modal-foot{display:flex;justify-content:flex-end;gap:9px;padding:15px 24px 20px;border-top:1px solid #edf2ed}.form-error{background:#fff0eb;color:#b4533c;border-radius:7px;padding:10px 12px;font-size:11px}.form-hint{font-size:10px;color:#8ba296;margin-top:-7px}.form-hint.warning{color:#bb7653}.receipt-summary{background:#f8faf8;border:1px solid #edf2ed;border-radius:8px;padding:4px 13px}.receipt-summary>div{display:flex;justify-content:space-between;gap:10px;padding:9px 0;font-size:10px;border-bottom:1px solid #edf2ed}.receipt-summary>div:last-child{border:0}.receipt-summary span{color:#97a89c}.receipt-summary strong{text-align:right;color:#536d5c}.detail-product{display:flex;align-items:center;justify-content:space-between;margin:5px 0 18px}.detail-summary{background:#eff7f1;padding:15px;border-radius:8px;display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#759784}.detail-summary strong{font-size:19px;color:#3f7858}.detail-summary small{font-size:10px}.modal-body h3{font-size:12px;margin:22px 0 10px}.location-balances div{display:flex;justify-content:space-between;padding:11px 0;border-bottom:1px solid #edf1ed;font-size:11px;color:#869a8d}.location-balances strong{color:#597061}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.toast{position:fixed;right:22px;bottom:22px;z-index:50;background:#284f3e;color:#fff;padding:13px 16px;border-radius:8px;font-size:11px;display:flex;gap:8px;align-items:center;box-shadow:0 5px 20px #183d2d33}.mobile-nav{display:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.loading{padding:40px;color:#617d6c}
@media(max-width:1100px){.sidebar{width:200px}.main-column{margin-left:200px;width:calc(100% - 200px)}.content{padding-left:24px;padding-right:24px}.topbar{padding:0 24px}.f1{right:190px}.f2{right:80px}.f3{right:-30px}.art-tag{right:12px}.dashboard-grid{grid-template-columns:1fr}.stats-grid{gap:9px}.stat-card{padding:14px}.quick-action{padding:12px}.quick-action strong{font-size:10px}}
@media(max-width:700px){.sidebar{display:none}.main-column{margin-left:0;width:100%;padding-bottom:66px}.topbar{height:57px;padding:0 17px}.crumb{font-size:0}.crumb>span,.crumb i{display:none}.mobile-brand{display:inline;font-size:19px;letter-spacing:-1px;color:#215744}.mobile-brand span{color:#72a08a}.demo-pill{font-size:9px;padding:6px 8px}.account-button span:last-child{display:none}.content{padding:24px 16px 35px}.page-heading{align-items:flex-start;flex-direction:column;margin-bottom:18px}.page-heading h1{font-size:22px}.heading-actions{width:100%}.heading-actions .location-filter{flex:1;min-width:0}.location-filter select{width:100%}.heading-actions>.btn{flex:1}.greeting{min-height:176px}.greeting-copy{padding:20px}.greeting h2{font-size:20px}.fabric-art{min-width:140px;width:40%}.fabric{width:85px;height:230px}.f1{right:94px}.f2{right:28px}.f3{right:-39px}.art-tag{right:-2px;top:70px;font-size:6px;padding:8px}.art-spark{right:12px}.stats-grid{grid-template-columns:repeat(2,1fr);gap:9px}.stat-card{min-height:130px;padding:13px}.stat-value{font-size:21px}.section-heading{margin-top:25px}.quick-grid{grid-template-columns:1fr;gap:8px}.quick-action{padding:11px}.quick-action strong{font-size:11px}.dashboard-grid{margin-top:17px;gap:12px}.panel-head{padding:17px 15px 11px}.pending-list,.activity-list{padding-left:15px;padding-right:15px}.pending-row{gap:8px}.pending-details strong,.activity-text strong{font-size:10px}.pending-row .badge{font-size:8px}.pending-row .row-arrow{display:none}.pending-icon{width:31px;height:31px}.bottom-panel{margin-top:12px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;height:64px;padding-bottom:env(safe-area-inset-bottom);background:#fff;border-top:1px solid #e9efea;z-index:20;justify-content:space-around}.mobile-nav button{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;color:#a1b2a6;font-size:9px;min-width:54px}.mobile-nav button.active{color:#297d61;font-weight:700}.mobile-nav i{position:absolute;top:8px;right:13px;width:6px;height:6px;background:#d88e6e;border-radius:50%}.app-footer{margin:0 16px}.list-toolbar{align-items:flex-start;flex-direction:column;padding:17px 15px}.search-box{width:100%}.location-grid{grid-template-columns:1fr 1fr;gap:9px}.location-card{padding:16px}.intro-panel{align-items:flex-start;flex-wrap:wrap}.modal-backdrop{align-items:flex-end;padding:0}.modal{width:100%;border-radius:16px 16px 0 0;max-height:91vh}.modal-head{padding:20px 18px 12px}.modal-body{padding:4px 18px 18px}.modal-foot{padding:13px 18px calc(16px + env(safe-area-inset-bottom))}.toast{bottom:75px;left:16px;right:16px;justify-content:center}}
@media(max-width:370px){.heading-actions{flex-direction:column;align-items:stretch}.location-grid{grid-template-columns:1fr}.art-tag{display:none}.greeting h2{font-size:18px}.pending-row .badge{display:none}}

.location-edit{margin-top:15px}
.btn.danger-outline{background:#fff;border:1px solid #f0d6cd;color:#b86554}.btn.danger-outline:hover{background:#fff4f0}.btn.danger{background:#b95f4c;color:#fff}.btn.danger:hover{background:#984b3b}.danger-link{color:#b86554}.branch-section{margin-bottom:25px}.branch-heading{display:flex;justify-content:space-between;align-items:end;gap:12px;margin:5px 0 12px}.branch-heading h2{font-size:15px;margin:5px 0 0}.branch-actions,.location-actions{display:flex;gap:8px;flex-wrap:wrap}.location-actions{margin-top:15px;justify-content:space-between}.delete-summary{display:flex;gap:10px;background:#fff4ef;border:1px solid #f5ded3;color:#a75b45;border-radius:8px;padding:14px;font-size:11px;line-height:1.6}.delete-summary svg{flex:none}.delete-summary strong{font-size:12px}.delete-summary p{margin:5px 0 0;color:#a77c6e}.modal-actions{flex-wrap:wrap}@media(max-width:700px){.branch-heading{align-items:flex-start;flex-direction:column}.branch-actions{width:100%}.branch-actions .btn{flex:1}.location-actions{justify-content:flex-start;gap:14px}}
.product-image{object-fit:cover;background:#f1f5f1}.image-picker{display:flex;align-items:center;gap:14px;padding:12px;border:1px dashed #cbded1;border-radius:9px;background:#f9fbf9}.image-preview{width:72px;height:72px;flex:none;border-radius:8px;background:#eaf3ec;display:grid;place-items:center;color:#8bad96;overflow:hidden}.image-preview img{width:100%;height:100%;object-fit:cover}.image-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.image-upload{cursor:pointer}.image-upload:focus-within{outline:3px solid #8abdae;outline-offset:2px}.image-controls small{display:block;width:100%;font-size:10px;color:#8ea297}.image-remove{font-size:10px;font-weight:700;color:#b86554;padding:8px}.image-remove:hover{text-decoration:underline}.optional-label{color:#98a89f;font-weight:400}.btn:disabled{opacity:.6;cursor:wait}

/* Native details and buttons keep the image picker usable by keyboard and touch. */
.product-picker{margin-top:7px}
.product-picker-trigger{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:44px;padding:8px 12px;border:1px solid #e6d8d4;border-radius:8px;background:#fffefa;color:#374e3d;cursor:pointer;font-size:11px;text-align:left}
.product-picker-trigger:focus-visible,.product-picker-option:focus-visible{outline:3px solid #b84b7a;outline-offset:2px}
.product-picker-trigger>span{min-width:0;flex:1}
.product-picker-trigger>svg{flex:none}
.product-picker-trigger[aria-expanded="true"]{border-color:#d884a4}

.product-picker-panel[hidden]{display:none}
.product-picker-options{max-height:230px;overflow:auto;margin-top:6px;padding:4px;border:1px solid #ead9d7;border-radius:10px;background:#fffefa}
.product-picker-option{display:flex;align-items:center;gap:10px;width:100%;min-height:52px;padding:6px 8px;text-align:left;border-radius:7px}
.product-picker-option:hover,.product-picker-option:focus-visible{background:#fff0f3}
.product-picker-option .swatch,.product-picker-trigger .swatch{width:38px;height:38px;flex:none;border-radius:8px}
.product-picker-option>span:nth-child(2){min-width:0}
.product-picker-option strong,.product-picker-option small{display:block;overflow-wrap:anywhere}
.product-picker-option strong{font-size:11px;color:#344f3e}
.product-picker-option small{font-size:10px;color:#756e6d;margin-top:3px}
.product-picker-empty{margin:0;padding:12px;font-size:11px;color:#756e6d}
.picker-search{display:block;margin-top:6px}.picker-search input{width:100%;min-height:44px}
.picker-more{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px;font-size:10px;color:#756e6d}
.picker-more .btn,.product-picker-empty .btn{min-height:44px}
.product-picker-message{font-size:11px;color:#8b5269;line-height:1.5;margin:7px 0 0}
.product-picker-message[hidden]{display:none}

.demo-notice{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0 0 22px;padding:10px 13px;border:1px solid #e8dfbf;border-radius:8px;background:#fffbeb;color:#796a35;font-size:11px;line-height:1.6}.demo-notice strong{white-space:nowrap;color:#695617}

/* Benz Stock Y2K: candy pink, warm cream and fresh green. */
:root{--green:#316e50;--dark:#314b38;--muted:#6e806f;--line:#f0d9de;--cream:#fff9ed;color:#34493b;background:#fff9ed}
body{background:#fff9ed}
.sidebar{background:#fff4f5;border-right:1px solid #f0d9de}
.brand-mark{background:#d96b94;border-radius:12px;box-shadow:inset 0 2px 0 #ffffff8a,0 3px 0 #b9527a;transform:rotate(-6deg)}
.brand strong{color:#365642}.brand strong span{color:#c55280}.brand small,.workspace-label,.eyebrow{color:#a5657e}
.sidebar-nav .nav-item{color:#725e68}.sidebar-nav .nav-item svg{color:#ad8e9a}
.sidebar-nav .nav-item:hover{background:#ffe8ef}.sidebar-nav .nav-item.active{background:#f8dae6;color:#923c60}.sidebar-nav .nav-item.active svg{color:#b94873}.nav-badge{background:#fff5f7;color:#a93c69}
.side-tip{background:#f1f7e7;border-color:#dcebd1}.side-tip strong{color:#3c5f46}.side-tip p{color:#6a826e}.tip-icon{color:#5c906a}
.sidebar-account{border-color:#efdce1}.avatar{background:#ffe5ed;color:#ad4e76}.sidebar-account small{color:#92757e}
.topbar{background:#fffaf3;border-bottom-color:#f2e4db}.crumb{color:#755c68}.crumb span{color:#a77b8d}.crumb i{color:#d9bac7}.demo-pill{background:#fce7ee;color:#955273}.demo-pill span{background:#6ca379}.google-g{border-color:#f3d7e0}
.content{background:#fff9ed}.page-heading h1{color:#304b3a}.page-heading p,.panel-head p,.list-toolbar p{color:#756e6d}
.btn{border-radius:999px}.btn.primary{background:#316e50;box-shadow:inset 0 2px 0 #ffffff30,0 3px 0 #24533e}.btn.primary:hover{background:#245d42}.btn.secondary{border-color:#ead9d5;background:#fffdf7;color:#526a53}.btn.secondary:hover{background:#fff0f3}
.location-filter{border-color:#ecdcd5;background:#fffdf7;border-radius:999px;color:#678276}.location-filter select{color:#4b6454}
.demo-notice{background:#fff2ce;border-color:#ecd69b;color:#66551f}.demo-notice strong{color:#57440d}
.greeting{background:#fbe0e9;border-color:#efc4d4;border-radius:18px;box-shadow:inset 0 1px 0 #ffffffc9,0 4px 0 #f1d4dd}
.greeting-label{color:#96516d}.greeting-label span{background:#cf6c94}.greeting h2{color:#55404b}.greeting h2 em{color:#a43f6a}.greeting p{color:#785d69}.greeting-link{color:#316e50}
.fabric{box-shadow:0 10px 25px #834b6126}.f1{background-color:#a9c6a4}.f2{background-color:#f6d4bc}.f3{background-color:#e6a5bb}.art-tag{background:#fffaf0;color:#916d79;border-radius:4px;box-shadow:0 3px 0 #9d687b35}.art-tag b{color:#426e50}.art-spark{color:#fffdf5;text-shadow:0 2px 0 #ce7d9b}
.stat-card,.quick-action,.panel,.location-card{background:#fffefa;border-color:#f0ded9;border-radius:14px;box-shadow:0 3px 0 #f0e3d9}
.stat-card:hover,.quick-action:hover{border-color:#e2a8bf}.stat-card:nth-child(2){background:#fff3f6}.stat-card:nth-child(3){background:#f4f9eb}
.stat-value{color:#3a5542}.stat-label{color:#514f47}.stat-note{color:#807877}.stat-arrow{color:#c589a3}
.mint{background:#e3f2df;color:#4a8661}.peach{background:#fce4ed;color:#ae5476}.blue{background:#e3f1e5;color:#4d8b6a}.sand{background:#fff0ce;color:#a68135}
.section-heading h2,.panel-head h2,.list-toolbar h2{color:#42483f}.section-heading>span,.quick-action small{color:#827b76}.text-link{color:#397554}.tiny-count{background:#fae5ec;color:#a64f72}
.pending-row,.activity-row{border-color:#f4e9e5}.pending-icon{background:#fbeaf0;color:#aa6180}.pending-icon.blue{background:#e8f2e5;color:#5f9572}.activity-dot{background:#e8f4e4;color:#568c66}.activity-dot.orange{background:#fce7ed;color:#b8617e}
.pending-details small,.activity-text small,.activity-meta small{color:#807974}.badge{background:#fff0cb;color:#8b681e}.badge.transit{background:#e5f2e3;color:#437952}.badge.partial{background:#fce5df;color:#a25346}.badge.done{background:#e4f2e4;color:#3b7750}
th{background:#fff3f3;color:#927582}td{border-color:#f7eeea}.product-cell strong{color:#4a5549}.product-cell small,.unit{color:#7c7973}.category-tag{background:#fceef2;color:#96687d}.stock-status{color:#4c805c}.stock-status.low{color:#a26043}
.intro-panel{background:#f8e7ed;border-color:#efceda;border-radius:15px}.intro-panel p{color:#7d6c70}.intro-icon{color:#bd5a7e}.intro-icon:hover{background:#f4d3df;color:#913d5e}
.tabs{border-color:#f2e0e3}.tabs button{color:#8c7e82}.tabs button.active{color:#ab4972;border-color:#c85d88}.search-box{border-color:#ead9d7;background:#fffefa}.search-box input{background:transparent}.search-box input::placeholder{color:#9c9290}
.location-card p,.location-meta{color:#7a7e73}.modal-backdrop{background:#4c344080}.modal{background:#fffefa;border:1px solid #f2d4df;border-radius:17px}.modal-head h2{color:#4c4541}.modal-head p{color:#827477}.field>span{color:#565e50}.field input,.field select,.field textarea{border-color:#e6d8d4;background:#fffefa;color:#374e3d}.field input::placeholder,.field textarea::placeholder{color:#918c87}.modal-foot{border-color:#f2e3e3}.info-box,.detail-summary{background:#edf6e9;color:#58775e}.available,.receipt-summary{background:#fff7f4}.receipt-summary{border-color:#f2e2df}.image-picker{background:#fff7f8;border-color:#e5bacb}.image-preview{background:#f7dfeb;color:#b46a89}
.app-footer{border-color:#f0ded9;color:#927e7d}.footer-spark{color:#c6648b}.toast{background:#365f47}.mobile-nav{background:#fff8f3;border-color:#f0d9de}.mobile-nav button{color:#9d8590}.mobile-nav button.active{color:#a8436b}.mobile-brand{color:#365642}.mobile-brand span{color:#c55280}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,.image-upload:focus-within{outline-color:#b84b7a}
@media(max-width:700px){.greeting{border-radius:15px}.stat-card,.quick-action,.panel,.location-card{border-radius:12px}.modal{border-radius:18px 18px 0 0}.mobile-brand{color:#365642}.mobile-brand span{color:#c55280}}

/* Inventory cards make all product details visible on narrow screens. */
.inventory-cards{display:none}
@media(max-width:700px){
 .inventory-table{display:none}
 .inventory-cards{display:grid;gap:10px;padding:4px 14px 16px}
 .inventory-card{display:block;width:100%;min-width:0;padding:13px;text-align:left;border:1px solid #efcfd9;border-radius:12px;background:#fffdfa;box-shadow:0 2px 0 #f4e2e4}
 .inventory-card:hover{border-color:#d584a4;background:#fff8fa}
 .inventory-card-top{display:flex;align-items:center;gap:11px;min-width:0}
 .inventory-card-top .swatch{width:46px;height:46px;border-radius:9px}
 .inventory-card-name{display:block;flex:1;min-width:0}
 .inventory-card-name strong,.inventory-card-name small{display:block;overflow-wrap:anywhere}
 .inventory-card-name strong{font-size:13px;line-height:1.45;color:#344f3e}
 .inventory-card-name small{font-size:10px;line-height:1.4;color:#807477;margin-top:3px}
 .inventory-card-arrow{display:grid;place-items:center;flex:none;color:#a37184}
 .inventory-card-bottom{display:grid;grid-template-columns:minmax(48px,.65fr) minmax(0,1fr) minmax(0,1.15fr);gap:8px;align-items:start;border-top:1px solid #f4e5e7;margin-top:11px;padding-top:10px}
 .inventory-card-meta{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:5px}
 .inventory-card-meta>small{font-size:10px;color:#806f75;line-height:1.4}
 .inventory-card-amount strong{font-size:15px;line-height:1.4;color:#365a43;overflow-wrap:anywhere}
 .inventory-card-amount strong span{font-size:10px;font-weight:500;color:#686f65}
 .inventory-card-status .stock-status{white-space:normal;line-height:1.45;font-size:10px}
 .inventory-card-status .stock-status i{flex:none}
}
@media(max-width:360px){.inventory-card-bottom{grid-template-columns:1fr 1fr}.inventory-card-status{grid-column:1/-1}}

/* Pending receipts use the product picture and complete mobile cards. */
.pending-desktop .pending-row>.swatch{width:35px;height:35px;border-radius:8px}
.pending-row,.pending-card{position:relative}
.pending-row-open{display:flex;align-items:center;gap:11px;min-width:0;flex:1;text-align:left}
.pending-row-open::after,.pending-card-open::after{content:'';position:absolute;inset:0;z-index:1;border-radius:inherit}
.pending-row-open:focus-visible::after,.pending-card-open:focus-visible::after{outline:3px solid #327a5b;outline-offset:2px}
.pending-quick{position:relative;z-index:2;flex:none;min-height:44px;padding:0 12px;border-radius:999px;background:#316e50;color:#fff;font-size:11px;font-weight:700;white-space:nowrap}
.pending-quick:hover{background:#245d42}
.quick-hint{font-size:11px;line-height:1.6;color:#716660;margin:12px 0}
.category-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.category-heading,.category-grid>.field>span{display:flex;align-items:center;min-height:44px;margin:0}
.category-heading{justify-content:space-between;gap:3px;font-size:11px;font-weight:700;color:#565e50}
.category-grid>.field{min-width:0}
.category-tools{margin:-5px 0 0}
.category-add{display:inline-flex;align-items:center;gap:2px;min-height:44px;padding:0;color:#316e50;font-size:10px;font-weight:700;white-space:nowrap}
.category-add:hover{text-decoration:underline}
.category-options{display:flex;flex-wrap:wrap;gap:7px;min-height:44px;align-items:flex-start}
.category-option{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:44px;cursor:pointer}
.category-option input{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:0!important;opacity:0!important}
.category-option span{display:flex;align-items:center;min-height:44px;padding:0 12px;border:1px solid #ecd9df;border-radius:999px;background:#fffaf8;color:#806e75;font-size:11px;font-weight:600;transition:background .15s,border-color .15s,color .15s}
.category-option input:checked+span{border-color:#d58ca8;background:#fbeaf0;color:#8c4666}
.category-option input:focus-visible+span{outline:3px solid #8abdae;outline-offset:2px}
.category-select-hint{display:block;margin-top:5px;color:#8a7e78;font-size:10px;line-height:1.4}
.category-tags{display:flex;flex-wrap:wrap;align-items:center;gap:5px}
.category-tags .category-tag{margin:0}
@media(max-width:480px){.category-grid{grid-template-columns:1fr}}
.category-editor{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;padding:10px 12px;background:#fff7f8;border:1px solid #f0d8e1;border-radius:10px}
.category-editor[hidden]{display:none}
.category-editor .field{margin:0}.category-editor .btn{min-height:41px}
.category-message{grid-column:1/-1;margin:0;color:#a25346;font-size:10px;line-height:1.4}
.category-message:empty{display:none}.category-hint{margin:0;color:#6a796c;font-size:10px;line-height:1.5}
.pending-cards{display:none}
.list-more{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;padding:18px;color:#625d5e;font-size:12px}

/* Put the main stock actions within reach on narrow screens. */
.mobile-quick-actions{display:none}
.pending-create-actions{display:flex;gap:9px;flex-wrap:wrap}
.pending-create-actions .btn{min-height:44px}
@media(max-width:700px){
 .greeting,.section-heading,.quick-grid{display:none}
 .mobile-quick-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:16px}
 .mobile-quick-action:only-child{grid-column:1 / -1}
 .pending-create-actions{flex-basis:100%}
 .pending-create-actions .btn{flex:1;min-width:0}
 .mobile-quick-action{display:flex;align-items:center;gap:9px;min-width:0;min-height:64px;padding:10px;text-align:left;background:#fffefa;border:1px solid #f0ded9;border-radius:12px;box-shadow:0 3px 0 #f0e3d9}
 .mobile-quick-action:hover{border-color:#e2a8bf}
 .mobile-quick-action[data-action="issue"]{background:#b63670;border-color:#9a285d;box-shadow:0 3px 0 #8e2c57}
 .mobile-quick-action[data-action="issue"] strong,.mobile-quick-action[data-action="issue"] small,.mobile-quick-action[data-action="issue"]>svg{color:#fff}
 .mobile-quick-action[data-action="issue"] strong{font-size:15.6px}
 .mobile-quick-action[data-action="issue"] small{font-size:13px}
 .mobile-quick-action .quick-icon{flex:none}
 .mobile-quick-action>span:nth-child(2){flex:1;min-width:0}
 .mobile-quick-action strong,.mobile-quick-action small{display:block}
 .mobile-quick-action strong{font-size:12px;color:#42483f}
 .mobile-quick-action small{font-size:10px;line-height:1.4;color:#756e6d;margin-top:3px}
 .mobile-quick-action>svg{flex:none;color:#7b9681}
 .stats-grid{margin-top:0}
 .stats-grid .stat-card{display:flex;flex-direction:column;min-width:0;min-height:160px;padding:15px;gap:0}
 .stats-grid .stat-top{width:100%;align-items:center}
 .stats-grid .stat-icon{width:38px;height:38px;border-radius:10px}
 .stats-grid .stat-arrow{font-size:16px;line-height:1;color:#a45d7d}
 .stats-grid .stat-value{margin-top:13px;font-size:25px;line-height:1.1}
 .stats-grid .stat-value small{font-size:12px;color:#66766b}
 .stats-grid .stat-label{margin-top:6px;font-size:13px;line-height:1.4}
 .stats-grid .stat-note{margin-top:auto;padding-top:7px;font-size:11px;line-height:1.4;color:#706863}
 .heading-actions .btn,.heading-actions .location-filter{min-height:44px}
}
@media(max-width:370px){.mobile-quick-action{gap:7px;padding:9px}.mobile-quick-action>svg{display:none}}
@media(max-width:700px){
 .pending-desktop{display:none}
 .pending-cards{display:grid;gap:10px;padding:4px 14px 16px}
 .pending-card{display:block;width:100%;min-width:0;padding:13px;text-align:left;border:1px solid #efcfd9;border-radius:12px;background:#fffdfa;box-shadow:0 2px 0 #f4e2e4}
 .pending-card-open{display:block;width:100%;text-align:left}
 .pending-card:hover{border-color:#d584a4;background:#fff8fa}
 .pending-card-top{display:flex;align-items:center;gap:11px;min-width:0}
 .pending-card-top .swatch{width:46px;height:46px;border-radius:9px}
 .pending-card-name{display:block;flex:1;min-width:0}
 .pending-card-name strong,.pending-card-name small{display:block;overflow-wrap:anywhere}
 .pending-card-name strong{font-size:13px;line-height:1.45;color:#344f3e}
 .pending-card-name small{font-size:10px;line-height:1.4;color:#807477;margin-top:3px}
 .pending-card-arrow{display:grid;place-items:center;flex:none;color:#a37184}
 .pending-card-bottom{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:8px;border-top:1px solid #f4e5e7;margin-top:11px;padding-top:10px}
 .pending-card-meta{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:5px}
 .pending-card-meta>small{font-size:10px;color:#806f75;line-height:1.4}
 .pending-card-meta>strong{font-size:15px;line-height:1.4;color:#365a43;overflow-wrap:anywhere}
 .pending-card-meta>strong span{font-size:10px;font-weight:500;color:#686f65}
 .pending-card-meta .badge{white-space:normal;line-height:1.4}
 .pending-card-meta .badge span{flex:none}
 .pending-card-location{display:flex;flex-wrap:wrap;gap:4px 10px;margin-top:10px;font-size:10px;line-height:1.5;color:#6e726a;overflow-wrap:anywhere}
 .pending-card-location span:first-child{font-weight:700;color:#8f526d}
}
