:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#20211f;letter-spacing:0;background:#f5f6f4;font-family:Arial,Helvetica,sans-serif}*{box-sizing:border-box}body{background:#f5f6f4;margin:0}button,input,select{font:inherit;letter-spacing:0}button{cursor:pointer}.shell{grid-template-columns:64px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{background:#20211f;flex-direction:column;align-items:center;height:100vh;padding:14px 0;display:flex;position:sticky;top:0}.brand-mark{color:#fff;background:#e43d30;border-radius:5px;place-items:center;width:36px;height:36px;font-size:20px;font-weight:800;display:grid}.sidebar nav{flex-direction:column;gap:8px;margin-top:34px;display:flex}.nav-button{color:#aeb2aa;background:0 0;border:0;border-radius:5px;place-items:center;width:40px;height:40px;text-decoration:none;display:grid}.nav-button:hover,.nav-button.active{color:#fff;background:#3a3c38}.nav-button.active{box-shadow:inset 3px 0 #e43d30}.settings{margin-top:auto}main{min-width:0}.topbar{background:#fff;border-bottom:1px solid #dedfdc;justify-content:space-between;align-items:center;height:60px;padding:0 28px;display:flex}.workspace-name{font-size:13px;font-weight:800}.section-name{color:#6c7069;border-left:1px solid #d8dad6;margin-left:12px;padding-left:12px;font-size:13px}.account-button{color:#4c504a;background:0 0;border:0;align-items:center;gap:7px;display:flex}.content{width:min(1380px,100%);margin:0 auto;padding:30px 32px 60px}.page-heading{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:24px;display:flex}h1{margin:0;font-size:26px;line-height:1.2}.page-heading p,.import-copy p,.empty-state p{color:#6b7068;margin:6px 0 0;font-size:14px}.result-status{border-radius:5px;align-items:center;gap:8px;padding:9px 12px;font-size:13px;font-weight:700;display:flex}.result-status.blocked{color:#a22b23;background:#fff0ee;border:1px solid #f0c3bd}.result-status.ready{color:#17664c;background:#eaf7f1;border:1px solid #b7ddcf}.import-panel{background:#fff;border:1px solid #dcdeda;border-radius:6px;justify-content:space-between;align-items:center;gap:18px;min-width:0;padding:18px 20px;display:flex}.import-copy{align-items:center;gap:13px;min-width:0;display:flex}.import-copy>div{min-width:0}.import-copy svg{color:#e43d30;flex:none}.import-copy h2,.section-title h2,.products-section h2,.empty-state h2{margin:0;font-size:15px}.import-copy p{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.file-input{display:none}.import-actions{flex:none;gap:9px;display:flex}.primary-button,.secondary-button{border-radius:5px;justify-content:center;align-items:center;gap:8px;height:38px;padding:0 14px;font-size:13px;font-weight:700;display:inline-flex}.primary-button{color:#fff;background:#e43d30;border:1px solid #cb3027}.primary-button:hover{background:#cb3027}.primary-button.import-button{background:#207a5d;border-color:#17664c}.primary-button.import-button:hover{background:#17664c}.primary-button:disabled{opacity:.5;cursor:default}.secondary-button{color:#343732;background:#fff;border:1px solid #cfd2cc}.secondary-button:hover{background:#f3f4f2}.error-message{color:#a22b23;background:#fff0ee;border:1px solid #f0c3bd;border-radius:5px;align-items:center;gap:9px;margin-top:16px;padding:12px 14px;font-size:14px;display:flex}.success-message{color:#17664c;background:#eaf7f1;border:1px solid #b7ddcf;border-radius:5px;align-items:center;gap:9px;margin-top:16px;padding:12px 14px;font-size:14px;font-weight:700;display:flex}.live-stock-summary{background:#fff;border:1px solid #dedfdc;border-radius:6px;align-items:center;gap:0;margin-top:18px;display:flex;overflow:hidden}.live-stock-summary>div{border-right:1px solid #e4e5e2;min-width:180px;padding:13px 18px}.live-stock-summary span{color:#73776f;margin-bottom:5px;font-size:12px;display:block}.live-stock-summary strong{font-size:20px}.live-stock-summary .negative strong{color:#c6332a}.live-stock-summary .positive strong{color:#17664c}.live-stock-summary button{margin-left:auto;margin-right:12px}.alias-panel{background:#fff;border:1px solid #dedfdc;border-radius:6px;grid-template-columns:minmax(260px,1fr) minmax(220px,1fr) auto;align-items:end;gap:16px;padding:18px 20px;display:grid}.field-label{color:#4e534c;gap:7px;font-size:12px;font-weight:700;display:grid}.field-label input{color:#262824;border:1px solid #cfd2cc;border-radius:5px;outline:0;width:100%;height:38px;padding:0 11px}.field-label input:focus{border-color:#6f756c;box-shadow:0 0 0 2px #e8eae6}.alias-selection{background:#f5f6f4;border-left:3px solid #e43d30;flex-direction:column;justify-content:center;min-height:38px;padding:0 11px;display:flex}.alias-selection span{color:#73776f;font-size:11px}.alias-selection strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.selected-row{background:#fff5f3}.pending-aliases{margin-top:22px}.pending-empty{color:#73776f;padding:22px 18px;font-size:13px}.compact-button{height:30px;padding:0 10px;font-size:12px}.pending-counts{display:none}.metrics{background:#fff;border:1px solid #dedfdc;border-radius:6px;grid-template-columns:repeat(5,1fr);margin:22px 0;display:grid;overflow:hidden}.metrics div{border-right:1px solid #e4e5e2;min-width:0;padding:17px 18px}.metrics div:last-child{border-right:0}.metrics span{color:#73776f;margin-bottom:7px;font-size:12px;display:block}.metrics strong{font-size:23px}.metrics .money-metric{font-size:19px}.metrics .metric-alert strong{color:#c6332a}.metrics .metric-warning strong{color:#a5660a}.purchase-metrics{grid-template-columns:repeat(6,1fr)}.customer-metrics,.sales-metrics{grid-template-columns:repeat(5,1fr)}.purchase-history-metrics{grid-template-columns:repeat(4,1fr)}.overview-metrics{grid-template-columns:repeat(5,1fr)}.priorities-section{background:#fff;border:1px solid #dedfdc;border-radius:6px;margin-top:22px;overflow:hidden}.priority-row{color:#30332e;border-bottom:1px solid #eceeeb;justify-content:space-between;align-items:center;gap:16px;min-height:58px;padding:0 18px;font-size:13px;text-decoration:none;display:flex}.priority-row:last-child{border-bottom:0}.priority-row:hover{background:#fafbfa}.priority-row span{align-items:center;gap:10px;font-weight:700;display:flex}.priority-row svg{color:#b67512}.priority-row strong{white-space:nowrap}.table-link{color:#17664c;font-weight:700;text-decoration:none}.table-link:hover{color:#0d4935;text-decoration:underline}.automation-empty{text-align:center;color:#737870;padding:30px 18px;font-size:13px}.automation-status{border-radius:12px;align-items:center;gap:6px;min-height:25px;padding:0 8px;font-size:11px;font-weight:700;display:inline-flex}.automation-status.processed{color:#17664c;background:#eaf7f1}.automation-status.received{color:#80590e;background:#fff8e8}.automation-status.blocked{color:#a22b23;background:#fff0ee}.automation-reason{color:#a22b23;max-width:260px;margin-top:5px;font-size:11px;line-height:1.35;display:block}.spin-icon{animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.alert-number{color:#c6332a}.ok-number{color:#17664c}.issues-section,.products-section{background:#fff;border:1px solid #dedfdc;border-radius:6px;margin-top:22px;overflow:hidden}.section-title{border-bottom:1px solid #e3e4e1;align-items:center;gap:9px;height:50px;padding:0 18px;display:flex}.section-title svg{color:#b67512}.section-title span{background:#f1f2ef;border-radius:12px;place-items:center;min-width:25px;height:24px;margin-left:auto;font-size:12px;font-weight:700;display:grid}.issue-list{max-height:270px;overflow-y:auto}.issue-row{border-bottom:1px solid #eceeeb;grid-template-columns:190px minmax(0,1fr) 90px;align-items:center;gap:16px;min-height:44px;padding:9px 18px;font-size:13px;display:grid}.issue-row:last-child{border-bottom:0}.issue-row.blocking{box-shadow:inset 3px 0 #dc3f35}.issue-row.warning{box-shadow:inset 3px 0 #d99524}.issue-type{font-weight:700}.issue-message{color:#5f645c}.issue-location{text-align:right;color:#797d76}.table-toolbar{border-bottom:1px solid #e3e4e1;justify-content:space-between;align-items:center;gap:20px;min-height:62px;padding:12px 18px;display:flex}.table-toolbar>div>span{color:#777b74;font-size:12px}.search-box{color:#70756d;border:1px solid #ced1cb;border-radius:5px;align-items:center;gap:8px;width:min(340px,45%);height:36px;padding:0 10px;display:flex}.search-box:focus-within{border-color:#6f756c;box-shadow:0 0 0 2px #e8eae6}.search-box input{color:#262824;background:0 0;border:0;outline:0;width:100%}.table-toolbar-actions{justify-content:flex-end;align-items:center;gap:10px;width:min(500px,55%);display:flex}.status-filter{color:#262824;background:#fff;border:1px solid #ced1cb;border-radius:5px;height:36px;padding:0 28px 0 10px}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:13px}th{text-align:left;white-space:nowrap;color:#5f645d;background:#f4f5f3;border-bottom:1px solid #dfe1dd;height:38px;padding:0 14px;font-size:11px}td{white-space:nowrap;border-bottom:1px solid #ebede9;height:54px;padding:7px 14px}tbody tr:hover{background:#fafbfa}td strong{text-overflow:ellipsis;max-width:390px;display:block;overflow:hidden}td span:not(.stock-status){color:#7a7e77;margin-top:3px;font-size:11px;display:block}.sku{color:#656a62;font-family:Consolas,monospace}.stock{font-weight:800}.stock.negative{color:#c6332a}.stock-status{border-radius:12px;align-items:center;height:24px;padding:0 8px;font-size:11px;font-weight:700;display:inline-flex}.stock-status.available{color:#17664c;background:#eaf7f1}.stock-status.empty{color:#666a63;background:#edeeeb}.address-cell{text-overflow:ellipsis;max-width:360px;overflow:hidden}.empty-state{color:#737870;border:1px dashed #c8cbc5;border-radius:6px;flex-direction:column;justify-content:center;align-items:center;min-height:300px;margin-top:22px;display:flex}.empty-state h2{color:#363934;margin-top:12px}.back-link{color:#5e635b;align-items:center;gap:6px;margin-bottom:12px;font-size:13px;font-weight:700;text-decoration:none;display:inline-flex}.back-link:hover{color:#20211f}.checkout-layout{grid-template-columns:minmax(0,1fr) minmax(280px,.42fr);align-items:start;gap:22px;display:grid}.checkout-card{background:#fff;border:1px solid #dedfdc;border-radius:6px;grid-column:1;padding:20px}.checkout-card+.checkout-card{margin-top:0}.checkout-card h2,.checkout-summary h2,.sale-complete h2{margin:0;font-size:16px}.checkout-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:18px;display:grid}.field-label select,.field-label input{color:#262824;background:#fff;border:1px solid #cfd2cc;border-radius:5px;outline:0;width:100%;height:38px;padding:0 11px}.field-label select:focus,.field-label input:focus,.sale-line select:focus,.sale-line input:focus{border-color:#6f756c;box-shadow:0 0 0 2px #e8eae6}.checkout-card-title{justify-content:space-between;align-items:center;gap:12px;display:flex}.checkout-card-title>div{align-items:baseline;gap:8px;display:flex}.checkout-card-title span{color:#747970;font-size:12px}.sale-lines{gap:9px;margin-top:16px;display:grid}.sale-line{grid-template-columns:minmax(0,1fr) 76px 92px 32px;gap:8px;display:grid}.purchase-line{grid-template-columns:minmax(0,1fr) 76px 92px 32px}.sale-line select,.sale-line input{background:#fff;border:1px solid #cfd2cc;border-radius:5px;outline:0;min-width:0;height:38px;padding:0 9px}.icon-button{background:0 0;border:0;border-radius:5px;align-self:center;place-items:center;width:32px;height:32px;display:grid}.danger-button{color:#b52d25}.danger-button:hover{background:#fff0ee}.checkout-empty{color:#777c74;margin-top:16px;padding:20px 0 4px;font-size:13px}.checkout-summary{background:#fff;border:1px solid #dedfdc;border-radius:6px;grid-area:1/2/span 2;padding:20px}.checkout-summary>div{border-bottom:1px solid #ebede9;justify-content:space-between;gap:12px;padding:12px 0;font-size:13px;display:flex}.checkout-summary>div span{color:#6d716a}.checkout-summary .checkout-total{border-bottom:0;margin-top:3px;font-size:15px}.checkout-summary .checkout-total strong{font-size:20px}.checkout-summary p{color:#737870;margin:14px 0 0;font-size:12px;line-height:1.45}.checkout-action{width:100%;margin-top:18px}.draft-notice{color:#80590e;background:#fff8e8;border:1px solid #edd49a;border-radius:5px;margin-top:16px;padding:11px;font-size:12px;line-height:1.4}.sale-complete{color:#17664c;background:#eaf7f1;border:1px solid #b7ddcf;border-radius:6px;align-items:center;gap:18px;padding:24px;display:flex}.sale-complete>div{flex:1}.sale-complete p{margin:6px 0 0;font-size:13px}.fulfillment-list{gap:14px;display:grid}.fulfillment-card{background:#fff;border:1px solid #dedfdc;border-radius:6px;padding:18px}.fulfillment-heading{border-bottom:1px solid #ebede9;justify-content:space-between;align-items:center;gap:16px;padding-bottom:14px;display:flex}.fulfillment-heading>div{align-items:center;gap:10px;display:flex}.fulfillment-heading h2,.fulfillment-grid h3{margin:0;font-size:15px}.fulfillment-status{border-radius:12px;align-items:center;min-height:24px;padding:0 8px;font-size:11px;font-weight:700;display:inline-flex}.fulfillment-status.pending{color:#80590e;background:#fff8e8}.fulfillment-status.prepared{color:#17664c;background:#eaf7f1}.fulfillment-status.label_created{color:#245c8f;background:#eaf2fa}.fulfillment-grid{grid-template-columns:1.35fr 1fr;gap:22px;padding:16px 0;display:grid}.fulfillment-grid p{color:#62675f;margin:5px 0 0;font-size:13px;line-height:1.35}.fulfillment-reference{color:#8a5a12!important}.guide-form{grid-template-columns:minmax(170px,1fr) minmax(170px,1fr) auto;align-items:end;gap:12px;display:grid}.guide-form .primary-button{white-space:nowrap}.fulfillment-final{color:#5e635b;justify-content:space-between;align-items:center;gap:14px;font-size:13px;display:flex}@media (max-width:900px){.metrics{grid-template-columns:repeat(3,1fr)}.metrics div:nth-child(3){border-right:0}.metrics div:nth-child(n+4){border-top:1px solid #e4e5e2}.issue-row{grid-template-columns:160px minmax(0,1fr)}.issue-location{display:none}.purchase-metrics{grid-template-columns:repeat(3,1fr)}.purchase-metrics div:nth-child(3){border-right:0}.purchase-metrics div:nth-child(n+4){border-top:1px solid #e4e5e2}.customer-metrics{grid-template-columns:repeat(2,1fr)}}@media (max-width:680px){.shell{grid-template-columns:1fr}.sidebar{z-index:10;flex-direction:row;justify-content:center;gap:8px;width:100%;height:58px;padding:8px 12px;position:fixed;top:auto;bottom:0}.brand-mark,.settings{display:none}.sidebar nav{flex-direction:row;margin:0}.topbar{padding:0 18px}.content{padding:24px 16px 86px}.page-heading{flex-direction:column}.import-panel{flex-direction:column;align-items:stretch}.import-actions{grid-template-columns:1fr;display:grid}.import-actions button{width:100%;min-width:0;padding:0 8px}.metrics{grid-template-columns:repeat(2,1fr)}.metrics div,.metrics div:nth-child(3){border-top:1px solid #e4e5e2;border-right:1px solid #e4e5e2}.metrics div:first-child,.metrics div:nth-child(2){border-top:0}.metrics div:nth-child(2n){border-right:0}.purchase-metrics{grid-template-columns:repeat(2,1fr)}.checkout-layout{grid-template-columns:1fr}.checkout-card,.checkout-summary{grid-area:auto/1}.checkout-summary{margin-top:0}.checkout-fields{grid-template-columns:1fr}.sale-complete{flex-direction:column;align-items:flex-start}.fulfillment-grid,.guide-form{grid-template-columns:1fr}.fulfillment-final{flex-direction:column;align-items:stretch}.alias-panel{grid-template-columns:1fr;align-items:stretch}.live-stock-summary{flex-wrap:wrap;align-items:stretch}.live-stock-summary>div{flex:150px}.live-stock-summary button{width:calc(100% - 20px);margin:10px}.table-toolbar{flex-direction:column;align-items:stretch}.search-box{width:100%}.table-toolbar-actions{flex-direction:column;align-items:stretch;width:100%}.status-filter{width:100%}.issue-row{grid-template-columns:1fr;gap:4px}.issue-message{white-space:normal}.pending-aliases th:nth-child(2),.pending-aliases th:nth-child(3),.pending-aliases td:nth-child(2),.pending-aliases td:nth-child(3){display:none}.pending-aliases td:first-child{white-space:normal}.pending-aliases .pending-counts{display:block}}.product-cell{align-items:center;gap:10px;min-width:260px;display:flex}.product-cell small{color:var(--muted);margin-top:2px;font-size:12px;display:block}.product-thumb{object-fit:contain;background:#f5f7f6;border-radius:8px;flex:0 0 42px;width:42px;height:42px}.product-thumb.placeholder{border:1px dashed #c9d0cc}.detail-contact{background:#fff;border:1px solid #dedfdc;border-radius:6px;grid-template-columns:1.4fr 1fr;gap:18px;padding:18px 20px;display:grid}.detail-contact>div{min-width:0}.detail-contact span,.customer-order-notes>span{color:#73776f;margin-bottom:6px;font-size:12px;display:block}.detail-contact strong{font-size:14px;display:block}.detail-contact p{color:#62675f;margin:6px 0 0;font-size:13px;line-height:1.4}.customer-detail-metrics{grid-template-columns:repeat(5,1fr)}.order-list{gap:0;display:grid}.customer-order{border-bottom:1px solid #e4e6e2;padding:18px}.customer-order:last-child{border-bottom:0}.customer-order-heading,.customer-order-heading>div{align-items:center;gap:10px;display:flex}.customer-order-heading{border-bottom:1px solid #eceeeb;justify-content:space-between;padding-bottom:14px}.customer-order-heading>div:first-child>strong{font-family:Consolas,monospace;font-size:14px}.customer-order-heading span:not(.fulfillment-status){color:#737870;font-size:12px}.customer-order-grid{grid-template-columns:1.15fr 1fr;gap:24px;padding:16px 0;display:grid}.customer-order-grid h3{margin:0 0 8px;font-size:13px}.customer-order-grid p,.customer-order-notes p{color:#62675f;margin:7px 0;font-size:13px;line-height:1.4}.customer-order-grid p strong{color:#31342f}.customer-order-grid p span{color:#737870;margin-top:2px;font-size:12px;display:block}.customer-order-notes{background:#f7f8f6;border-left:3px solid #d9dcd7;padding:12px 14px}.detail-alert{color:#8a5a12!important}.fulfillment-status.cancelled{color:#a22b23;background:#fff0ee}@media (max-width:680px){.detail-contact,.customer-order-grid{grid-template-columns:1fr}.customer-detail-metrics{grid-template-columns:repeat(2,1fr)}.customer-order-heading{flex-direction:column;align-items:flex-start}}
