@import url('/fonts.css');
:root{font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#24362d;background:#f5f4ef;font-synthesis:none;--green:#283c32;--gold:#b5884c;--muted:#738077;--line:#e3e6df;--paper:#fff;--red:#ae4141}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;min-height:42px;border:1px solid var(--line);border-radius:7px;padding:10px 15px;background:#fff;color:var(--green);font-weight:600;font-size:13px;transition:background .15s}button:hover{background:#eff2ec}button.primary{background:var(--green);border-color:var(--green);color:#fff}button.primary:hover{background:#3b5546}button.danger{color:var(--red)}button:disabled{opacity:.42;cursor:not-allowed}button.small{min-height:32px;padding:6px 10px;font-size:12px}button.icon{padding:8px;min-width:38px}input,select,textarea{width:100%;border:1px solid #d7ddd5;border-radius:6px;padding:11px 12px;background:#fff;color:#26382e;min-height:42px}input:focus,select:focus,textarea:focus{outline:2px solid #adc4b0;outline-offset:1px}input[type=checkbox]{width:17px;min-height:17px;accent-color:var(--green)}input[type=number]{max-width:110px}label{font-size:12px;font-weight:600;display:block}label>input,label>select,label>textarea{margin-top:6px}a{color:var(--green)}h1,h2,h3,p{margin-top:0}h1{font-size:30px;letter-spacing:-1px;margin-bottom:9px;font-weight:650}h2{font-size:17px;letter-spacing:-.3px;margin-bottom:16px}h3{font-size:14px}p{line-height:1.6}small,.muted{color:var(--muted);font-size:12px}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:700;text-transform:uppercase;color:var(--muted)}.layout{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:100dvh}.sidebar{background:var(--green);color:#d5dfd6;display:flex;flex-direction:column;padding:32px 18px 22px;position:fixed;width:220px;height:100dvh}.brand{padding:0 15px 35px}.brand strong{color:#fff;font-size:35px;letter-spacing:-2px;font-weight:850}.brand span{display:block;color:#b9c6b9;font-size:9px;letter-spacing:3px;margin-top:4px}.nav{display:flex;flex-direction:column;gap:6px}.nav button{display:flex;align-items:center;gap:12px;text-align:left;color:#cbd7cc;background:transparent;border:0;border-radius:6px;font-weight:500;padding:13px 15px}.nav button.active{background:#405747;color:#fff}.nav svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.7}.nav-label{padding:25px 15px 9px;font-size:9px;letter-spacing:1.6px;color:#93a596}.usercard{margin-top:auto;border-top:1px solid #4a5c4f;padding:22px 10px 0;display:flex;gap:10px;align-items:center}.avatar{background:#dfd4be;color:#334936;width:35px;height:35px;display:grid;place-items:center;border-radius:50%;font-size:12px;font-weight:700;flex:none}.usercard strong{display:block;color:#f5f6f1;font-size:12px}.usercard small{font-size:10px;color:#a3b5a6}.usercard button{color:#b7c7b9;background:none;border:0;min-width:0;padding:4px}.main{grid-column:2;min-width:0}.topbar{height:74px;border-bottom:1px solid var(--line);background:#fbfbf8;display:flex;align-items:center;justify-content:space-between;padding:0 36px;gap:12px;font-size:12px}.topbar .right{display:flex;align-items:center;gap:18px}.dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#5c8463;margin-right:6px}.content{padding:32px 36px 60px;max-width:1600px;margin:auto}.pagehead{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.pagehead p{margin:0;color:var(--muted);font-size:13px}.actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:27px}.card,.panel{border:1px solid var(--line);border-radius:9px;background:var(--paper)}.card{padding:23px}.card .metric{font-size:34px;letter-spacing:-1.2px;margin:13px 0 5px;font-weight:600}.card small{font-size:11px}.card:first-child{background:#e9eee5;border-color:#dce4d6}.panel{margin-bottom:20px;overflow:hidden}.panelhead{padding:22px 24px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:12px}.panelhead h2{margin:0}.panelbody{padding:24px}.toolbar{padding:18px 24px;display:flex;gap:12px;border-bottom:1px solid var(--line);align-items:center}.toolbar input{max-width:360px;font-size:12px}.toolbar select{width:auto;font-size:12px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}th{font-size:10px;color:#7b867c;text-transform:uppercase;letter-spacing:.8px;font-weight:600;background:#fafbf8;white-space:nowrap}th,td{padding:17px 24px;border-bottom:1px solid #edf0e9;vertical-align:middle}td strong{font-weight:600}td small{display:block;margin-top:5px;font-size:10px}.clickrow{cursor:pointer}.clickrow:hover{background:#f8faf5}tr:last-child td{border-bottom:0}.right-align{text-align:right}.nowrap{white-space:nowrap}.badge{display:inline-flex;align-items:center;border-radius:5px;padding:6px 9px;font-size:10px;font-weight:650;white-space:nowrap;background:#f1f2ed;color:#6e796c}.badge:before{content:'';width:5px;height:5px;background:currentColor;border-radius:50%;margin-right:6px}.badge.submitted{background:#fbefd8;color:#946d24}.badge.approved,.badge.ready{background:#e6f0e3;color:#49743d}.badge.picking{background:#e8eef8;color:#51739d}.badge.packing{background:#eeebf7;color:#7c64a0}.badge.shipped{background:#e7f1eb;color:#407963}.badge.hold{background:#fce9e6;color:#a36052}.badge.cancelled{background:#f4e5e5;color:#a96868}.empty{padding:58px 24px;text-align:center;color:var(--muted)}.empty svg{width:40px;height:40px;stroke:#a2b39e;fill:none;stroke-width:1.2;margin-bottom:16px}.empty h3{color:#425640;font-size:15px;margin-bottom:9px}.empty p{font-size:12px;margin-bottom:18px}.notice{padding:14px 18px;background:#fff6e4;border:1px solid #eddfbc;border-radius:7px;font-size:12px;line-height:1.6;margin-bottom:22px;color:#7e622d}.notice.error{background:#fff0ef;color:#9d4641;border-color:#f0d1cf}.notice.success{background:#edf4e8;color:#4d713d;border-color:#d2e3c8}.notice button{margin-left:10px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:18px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.stack{display:grid;gap:16px}.split{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:22px}.summary{padding:24px}.summary dl{display:grid;grid-template-columns:1fr auto;gap:15px;font-size:12px}.summary dd{margin:0;text-align:right}.summary .grand{border-top:1px solid var(--line);padding-top:16px;font-size:20px;font-weight:650;display:flex;justify-content:space-between}.summary .primary{width:100%;margin-top:18px}.thumb{width:45px;height:52px;object-fit:contain;background:#f2f3ee;border-radius:5px;margin-right:12px}.itemcell{display:flex;align-items:center;min-width:210px}.itemcell div{min-width:0}.qty{width:80px!important;min-height:36px;font-size:12px;padding:7px}.discount-input{display:flex;gap:4px}.discount-input input{width:70px;font-size:12px;min-height:35px;padding:6px}.discount-input select{width:50px;font-size:12px;min-height:35px;padding:5px}.stepper{display:flex;gap:6px;margin:4px 0 26px;overflow:auto}.step{flex:1;min-width:80px;font-size:10px;padding-top:12px;border-top:3px solid #dee3d9;color:#8a9688}.step.done{border-color:#638268;color:#456148}.step.current{border-color:#c49c5d;color:#946c27;font-weight:700}.address{font-size:12px;line-height:1.8;color:#687568}.address strong{font-size:14px;color:#354a36}.box{border:1px solid var(--line);border-radius:8px;padding:18px;margin-bottom:14px}.box.active{border-color:#778b71;background:#f6f9f1}.boxhead{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.boxhead h3{margin:0}.box select{margin-bottom:12px}.box .item{display:flex;gap:10px;justify-content:space-between;padding:8px 0;font-size:12px}.timeline{display:grid;gap:16px}.event{border-left:2px solid #dbe4d6;padding-left:15px}.event strong{display:block;font-size:12px}.event small{font-size:10px}.event p{font-size:12px;margin:6px 0 0}.tagrow{display:flex;gap:7px;flex-wrap:wrap}.check{display:flex;align-items:center;gap:8px;font-size:12px}.check input{margin:0}.loading{min-height:100dvh;display:grid;place-content:center;text-align:center;font-weight:800;letter-spacing:3px;gap:15px}.loading small{font-weight:400;letter-spacing:0}.auth{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr}.auth-art{background:var(--green);color:#f9f7ee;padding:64px;display:flex;flex-direction:column;justify-content:space-between}.auth-art .wordmark{font-size:45px;font-weight:850;letter-spacing:-3px}.auth-art h1{font-size:56px;line-height:1.1;letter-spacing:-2px;max-width:500px;font-weight:600}.auth-art p{color:#b1c1b3;max-width:320px;font-size:14px}.auth-art footer{font-size:10px;letter-spacing:2px;color:#a7b7a7}.auth-form{display:grid;place-items:center;padding:40px}.auth-form form{max-width:350px;width:100%}.auth-form h2{font-size:27px}.auth-form p{font-size:13px;color:var(--muted);margin-bottom:28px}.auth-form label{margin-bottom:20px}.auth-form button{width:100%}.error-text{color:#a33e38;font-size:12px;line-height:1.6;min-height:18px;margin-top:15px}dialog{border:1px solid var(--line);border-radius:12px;box-shadow:0 16px 60px #17312030;padding:28px;width:min(620px,94vw);max-height:90dvh;color:var(--green)}dialog::backdrop{background:#16281e70;backdrop-filter:blur(3px)}dialog h2{font-size:21px}dialog .footer{display:flex;justify-content:flex-end;gap:8px;margin-top:25px}dialog video{width:100%;border-radius:8px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#263c2f;color:#fff;border-radius:7px;padding:14px 20px;font-size:13px;z-index:20;box-shadow:0 5px 20px #0002;display:none;max-width:90vw}#print{display:none}.mobile-brand{display:none}.price-table input{max-width:110px}.price-table select{max-width:290px}.progress{height:5px;border-radius:5px;background:#e5ebdf;overflow:hidden;margin-top:10px}.progress span{display:block;height:100%;background:#729367}.sectionlabel{font-size:10px;color:#8c967e;letter-spacing:1px;text-transform:uppercase;margin-bottom:13px}.catalog-header{display:flex;justify-content:space-between;align-items:center}.pill{font-size:10px;background:#edf1e8;padding:5px 8px;border-radius:4px}.role-label{color:#8ca18d;font-size:10px}.linkbtn{border:none;background:transparent;padding:0;min-height:0;text-decoration:underline;font-size:12px}.screen-error{padding:25px}.formhint{display:block;font-size:11px;color:#84907f;line-height:1.6;margin-top:5px}
@media(max-width:1100px){.layout{grid-template-columns:190px minmax(0,1fr)}.sidebar{width:190px}.content{padding:27px 23px}.topbar{padding:0 23px}.split{grid-template-columns:minmax(0,1fr) 270px}th,td{padding:15px}.cards{gap:10px}.card{padding:18px}.card .metric{font-size:28px}}
@media(max-width:800px){.layout{display:block}.sidebar{position:sticky;top:0;width:100%;height:auto;padding:10px 14px;z-index:5;display:block}.brand,.usercard,.nav-label{display:none}.mobile-brand{display:flex;justify-content:space-between;align-items:center;font-size:20px;font-weight:800;color:#fff;padding:4px 4px 10px}.mobile-brand span{font-size:9px;letter-spacing:1px;color:#b7c7b9}.nav{flex-direction:row;overflow:auto;gap:3px}.nav button{padding:9px 10px;white-space:nowrap;font-size:11px;min-height:36px;gap:7px}.nav svg{width:15px;height:15px}.topbar{height:49px;padding:0 18px;font-size:10px}.topbar .right{gap:8px}.content{padding:23px 16px 50px}.pagehead{align-items:flex-start;margin-bottom:22px;gap:12px}.pagehead h1{font-size:25px}.pagehead p{font-size:12px}.pagehead .actions button{font-size:11px;padding:8px 10px}.cards{grid-template-columns:1fr 1fr}.card{padding:17px}.card .metric{font-size:27px;margin-top:8px}.split{display:block}.grid2,.grid3{grid-template-columns:1fr}.panelhead,.toolbar,.panelbody{padding:17px}.toolbar{flex-wrap:wrap}.toolbar input{max-width:none;flex:1;min-width:180px}.toolbar select{max-width:170px}.summary{padding:20px}.auth{display:block}.auth-art{padding:30px;min-height:260px}.auth-art .wordmark{font-size:30px}.auth-art h1{font-size:32px;margin-top:20px}.auth-art p,.auth-art footer{display:none}.auth-form{padding:36px 25px}.auth-form h2{font-size:23px}.stepper{margin-top:5px}.step{min-width:70px}.desktop-only{display:none}.card .eyebrow{font-size:9px;letter-spacing:1.1px}}
@media print{@page{size:letter;margin:.45in}body>*{display:none!important}#print{display:block!important;color:#000;background:#fff;font:11px Arial,sans-serif}#print .slip{break-after:page}#print .slip:last-child{break-after:auto}#print .sliphead{display:flex;justify-content:space-between;border-bottom:3px solid #000;padding:0 0 20px;margin-bottom:20px}#print h1{font-size:28px}#print h2{font-size:18px}#print th,#print td{padding:10px 7px;border-bottom:1px solid #ddd}#print table{font-size:11px}#print .addresses{display:flex;justify-content:space-between;margin:20px 0}#print small{color:#333}#print .slipfoot{border-top:1px solid #333;margin-top:20px;padding-top:10px}}
/* Keep product names readable as pricing columns expand. */
.table-wrap table th:first-child,.table-wrap table td:first-child{min-width:210px}
.table-wrap table th{white-space:nowrap}

.color-group td{background:#edf1e8;font-weight:700;border-top:2px solid #d7dfd1;padding:12px 18px}.color-group span{font-weight:500}.thumb{object-fit:contain;flex-shrink:0;width:64px;height:72px;background:#fafaf7}.no-photo{display:flex;align-items:center;justify-content:center;font-size:10px;color:#738077;text-align:center}.itemcell>div{min-width:150px}

.photo-button{padding:0;border:1px solid transparent;background:transparent;min-height:0;flex-shrink:0;cursor:zoom-in;line-height:0}.photo-button:hover,.photo-button:focus-visible{border-color:var(--green);background:#edf1e8}.photo-button .thumb{display:block;border-radius:5px}.image-preview-heading{display:flex;gap:16px;align-items:flex-start;justify-content:space-between}.image-preview-heading h2{font-size:18px;margin-bottom:6px}.image-preview-heading p{color:var(--muted);margin-bottom:16px}.image-preview-heading button{flex-shrink:0}.large-product-photo{display:block;width:100%;height:auto;max-height:70dvh;object-fit:contain;background:#fff}

.test-banner{border:3px solid #b45309;background:#fff7ed;color:#7c2d12}.test-print{border:3px solid #000;text-align:center;font-size:18pt;font-weight:900;padding:12px;margin-bottom:15px}

#modal:has(#sizeRunForm){width:min(1150px,96vw);max-width:96vw;padding:24px}.size-run-heading{display:flex;align-items:start;justify-content:space-between;gap:20px}.size-run-colors{display:flex;flex-direction:column;gap:20px;margin:20px 0}.size-run-color{border:1px solid #d9ded8;border-radius:10px;padding:16px}.size-run-colorhead{display:flex;align-items:center;gap:16px;margin-bottom:15px}.size-run-photo summary{cursor:zoom-in}.size-run-photo summary img{width:68px;height:78px;object-fit:contain}.size-run-large{width:min(420px,70vw);height:320px;object-fit:contain;display:block}.size-run-sizes{display:grid;grid-template-columns:repeat(auto-fit,minmax(115px,1fr));gap:12px}.size-run-cell{display:flex;flex-direction:column;gap:7px;margin:0!important;background:#f5f7f3;padding:12px;border-radius:6px;min-width:0}.size-run-cell strong{font-size:16px}.size-run-cell span,.size-run-cell small{font-size:11px;overflow-wrap:anywhere}.size-run-cell input{font-size:18px;min-height:46px;margin:0;width:100%;box-sizing:border-box}.size-run-cell.unavailable{background:#eee;color:#666}.size-run-footer{position:sticky;bottom:-24px;background:white;border-top:1px solid #ccd4c9;padding:16px 0;z-index:2}.size-run-footer button{width:100%;min-height:48px}#sizeRunTotals{font-weight:bold}@media(max-width:600px){#modal:has(#sizeRunForm){padding:16px;width:96vw}.size-run-sizes{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.size-run-color{padding:12px}.size-run-footer{bottom:-16px}.size-run-heading h2{font-size:21px}}

.ats-count{font-size:22px;color:#254e37;font-variant-numeric:tabular-nums}.ats-count.ats-empty{color:#777}.ats-table td:last-child,.ats-table th:last-child{text-align:right}@media(max-width:600px){.ats-table th,.ats-table td{padding:12px 8px}.ats-table .thumb{width:40px;height:48px}.ats-table .itemcell{gap:8px}.ats-table .itemcell strong{font-size:12px}.ats-table td{font-size:12px}}

.brand-logo{display:block;width:145px;height:90px;object-fit:contain;filter:brightness(0) invert(1)}.mobile-brand .brand-logo{display:inline-block;width:65px;height:40px;vertical-align:middle;margin-right:10px}.auth-art .brand-logo{width:200px;height:124px}.slip-logo{display:block;width:150px;height:93px;object-fit:contain;margin-bottom:8px}@media print{#print .slip-logo{width:135px;height:84px;filter:none}}

.inventory-style .panelhead{padding:18px 22px}.inventory-style .panelhead h2{font-size:20px}.inventory-matrix{width:100%;border-collapse:separate;border-spacing:0}.inventory-matrix th,.inventory-matrix td{padding:9px 10px;text-align:center;border-right:1px solid var(--line);border-bottom:1px solid var(--line);min-width:100px}.inventory-matrix th:first-child{min-width:240px;text-align:left;position:sticky;left:0;z-index:1;background:#fff}.inventory-matrix thead th:first-child{background:#fafbf8}.inventory-matrix tbody th{font-size:13px;letter-spacing:0;text-transform:none;color:var(--green);font-weight:650}.inventory-matrix tr:last-child>*{border-bottom:0}.inventory-matrix tr>*:last-child{border-right:0}.inventory-color{display:flex;align-items:center;gap:10px}.inventory-color .thumb{width:35px;height:42px;margin:0}.inventory-color .photo-button{flex:none}.inventory-qty{display:block;white-space:nowrap;border:1px solid #dfe5dc;border-radius:8px;padding:8px 12px;font-weight:700;font-size:14px;color:#294d38;background:#fbfdf9}.inventory-qty.is-zero{color:#8d938b;background:#f5f5f2}.inventory-na{color:#a1a79e}@media(max-width:600px){.inventory-matrix th:first-child{min-width:160px;max-width:180px}.inventory-matrix th,.inventory-matrix td{min-width:88px;padding:8px}.inventory-style .panelhead h2{font-size:16px}.inventory-color .thumb{width:28px;height:34px}}

.inventory-qty.is-zero{color:#a12424;background:#fde5e5;border-color:#eaa1a1}.inventory-qty.is-low{color:#785500;background:#fff1b8;border-color:#e6c660}
