: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:218px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{background:#20211f;flex-direction:column;align-items:stretch;gap:4px;height:100vh;padding:14px 12px;display:flex;position:sticky;top:0;overflow-y:auto}.brand-mark{color:#fff;background:#e43d30;border-radius:5px;flex:none;place-items:center;width:36px;height:36px;margin:0 0 22px 4px;font-size:20px;font-weight:800;display:grid}.sidebar nav{flex-direction:column;gap:3px;display:flex}.nav-button{color:#aeb2aa;white-space:nowrap;background:0 0;border:0;border-radius:5px;align-items:center;gap:11px;height:40px;padding:0 12px;font-size:13px;font-weight:600;text-decoration:none;display:flex}.nav-button svg{flex:none}.nav-label{text-overflow:ellipsis;overflow:hidden}.nav-button:hover,.nav-button.active{color:#fff;background:#3a3c38}.nav-button.active{box-shadow:inset 3px 0 #e43d30}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}.company-selector{color:#6c7069;align-items:center;gap:8px;margin-left:auto;margin-right:18px;font-size:12px;font-weight:700;display:flex}.company-selector select{color:#262824;background:#fff;border:1px solid #cfd2cc;border-radius:5px;min-width:142px;height:34px;padding:0 9px;font-weight:700}.company-picker-overlay{z-index:1000;background:#14161485;place-items:center;padding:22px;display:grid;position:fixed;inset:0}.company-picker{background:#fff;border-radius:10px;width:min(460px,100%);padding:28px;box-shadow:0 24px 60px #00000040}.company-picker>span{color:#e43d30;text-transform:uppercase;letter-spacing:.08em;font-size:12px;font-weight:800}.company-picker h2{margin:9px 0 8px;font-size:23px}.company-picker p{color:#666d64;margin:0 0 20px;font-size:14px;line-height:1.45}.company-picker div{gap:9px;display:grid}.company-picker button{color:#282c27;min-height:48px;font:inherit;text-align:left;background:#fff;border:1px solid #d9ddd7;border-radius:6px;padding:0 15px;font-weight:800}.company-picker button:hover{color:#c7352b;background:#fff7f5;border-color:#e43d30}.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}.stock-status.family{color:#4b4f48;background:#e6e8e4}.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}.purchase-detail-overlay{z-index:100;background:#1719167a;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.purchase-detail-modal{background:#fff;border:1px solid #dedfdc;border-radius:8px;width:min(920px,100%);max-height:min(760px,100vh - 48px);padding:22px;overflow:auto;box-shadow:0 24px 64px #0000003d}.purchase-detail-close{color:#4d534b;background:#f3f4f1;flex:none}.purchase-detail-close:hover{background:#e7e9e4}.purchase-detail-document{color:#3f443e;background:#f6f7f4;border-radius:5px;gap:5px;margin:18px 0;padding:14px;font-size:13px;display:grid}.purchase-detail-document p{margin:0}.customer-detail-button{color:#1e4d3a;font:inherit;text-align:left;text-underline-offset:3px;cursor:pointer;background:0 0;border:0;padding:0;font-weight:700;text-decoration:underline}.customer-detail-button:hover{color:#d74034}.sales-period-filter{background:#fff;border:1px solid #dedfdc;border-radius:8px;justify-content:space-between;align-items:end;gap:20px;margin:18px 0;padding:16px;display:flex}.sales-view-tabs{border-bottom:1px solid #dedfdc;gap:8px;margin:12px 0;display:flex}.sales-view-tabs button{color:#667065;font:inherit;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;padding:10px 14px;font-weight:650}.sales-view-tabs button.active{color:#1e4d3a;border-bottom-color:#1e4d3a}.channel-report-total{background:#f3f6f1;border-top:2px solid #526253;font-weight:750}.channel-report-table{min-width:1040px}.sales-period-filter>div:first-child{gap:4px;display:grid}.sales-period-filter span{color:#667065;font-size:13px}.sales-period-actions{flex-wrap:wrap;justify-content:flex-end;align-items:end;gap:8px;display:flex}.sales-period-actions .field-label{min-width:132px;font-size:12px}.sales-period-actions .field-label input{min-height:36px}.purchase-reference-button{color:#1c4f78;font:inherit;text-align:left;text-underline-offset:2px;cursor:pointer;background:0 0;border:0;padding:0;font-weight:700;text-decoration:underline;display:block}.purchase-reference-button:hover{color:#c33229}.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) 90px 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}.dispatch-cancel-button{color:#b52d25;background:0 0;border-color:#b52d25}.dispatch-cancel-button:hover{background:#fff0ee}.dispatch-cancel-modal{width:min(520px,100%)}.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}.carrier-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.carrier-actions a.secondary-button{text-decoration:none}.carrier-panel{gap:12px;margin-bottom:12px;display:grid}.carrier-panel>.primary-button{justify-self:start}.carrier-review{background:#f8f9f7;border:1px solid #dedfdc;border-radius:6px;gap:14px;padding:14px;display:grid}.carrier-preview{gap:8px;margin:0;display:grid}.carrier-preview div{grid-template-columns:170px 1fr;gap:10px;font-size:13px;display:grid}.carrier-preview dt{color:#6b726b;font-weight:700}.carrier-preview dd{color:#262824;margin:0}.carrier-warning{color:#8a5a12;margin:0;font-size:12px}.carrier-results p{margin:4px 0 0;font-size:13px}.carrier-labels{align-items:center;gap:6px;display:inline-flex}.fulfillment-heading input[type=checkbox]{width:18px;height:18px}.fulfillment-final a{color:#245c8f;font-weight:700;text-decoration:none}.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;-webkit-overflow-scrolling:touch;flex-direction:row;align-items:stretch;gap:0;width:100%;height:64px;padding:0;position:fixed;inset:auto 0 0;overflow:auto hidden}.brand-mark{display:none}.sidebar nav{flex-direction:row;flex:1 0 auto;gap:0;margin:0}.nav-button{border-radius:0;flex-direction:column;flex:none;justify-content:center;gap:2px;height:64px;padding:6px 14px;font-size:10px}.nav-button.active{box-shadow:inset 0 3px #e43d30}.topbar{padding:0 18px}.company-selector{gap:5px;margin-right:10px}.company-selector span{display:none}.company-selector select{min-width:112px}.content{padding:24px 16px 96px}.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}.purchase-detail-overlay{padding:12px}.purchase-detail-modal{max-height:calc(100vh - 24px);padding:16px}.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}.kanban-controls{justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;display:flex}.kanban-tabs{flex-wrap:wrap;gap:8px;display:flex}.kanban-tabs button{color:#4f554d;font:inherit;cursor:pointer;background:#fff;border:1px solid #d9dcd7;border-radius:20px;padding:9px 13px;font-weight:700}.kanban-tabs button.active{color:#fff;background:#e43d30;border-color:#e43d30}.kanban-add-customer{background:#fff;border:1px solid #dedfdc;border-radius:7px;align-items:center;gap:8px;padding:8px;display:flex}.kanban-add-customer svg{color:#e43d30;flex:none}.kanban-add-customer select{color:#30342f;min-width:160px;font:inherit;background:#fff;border:1px solid #d8dcd7;border-radius:5px;padding:8px}.kanban-add-customer select:first-of-type{min-width:245px}.kanban-note{color:#465b4c;background:#f4faf6;border:1px solid #dbe7df;border-radius:6px;align-items:center;gap:9px;margin-bottom:18px;padding:12px 14px;font-size:13px;display:flex}.kanban-note svg{color:#3b8a62;flex:none}.kanban-board{grid-auto-columns:minmax(250px,1fr);grid-auto-flow:column;align-items:start;gap:14px;padding-bottom:12px;display:grid;overflow-x:auto}.kanban-column{background:#f7f8f6;border:1px solid #dfe2de;border-radius:8px;min-height:310px;overflow:hidden}.kanban-column>header{background:#fff;border-bottom:1px solid #e1e4df;justify-content:space-between;align-items:center;gap:10px;padding:13px;display:flex}.kanban-column h2{margin:0;font-size:13px;line-height:1.25}.kanban-column header span{color:#4d564d;background:#ecefeb;border-radius:12px;place-items:center;min-width:24px;height:24px;font-size:12px;font-weight:700;display:grid}.kanban-card-list{gap:10px;padding:10px;display:grid}.kanban-card{background:#fff;border:1px solid #dfe2de;border-radius:6px;padding:12px;box-shadow:0 1px 1px #1e281e0a}.kanban-card-title{justify-content:space-between;align-items:start;gap:8px;display:flex}.kanban-card-title a{color:#1f2e24;font-size:14px;font-weight:800;line-height:1.3;text-decoration:none}.kanban-card-title a:hover{color:#d9352b;text-decoration:underline}.kanban-card p{color:#687068;margin:7px 0 0;font-size:12px}.kanban-card label{color:#6b726b;gap:5px;margin-top:12px;font-size:11px;font-weight:700;display:grid}.kanban-card select{color:#343a34;width:100%;font:inherit;background:#fff;border:1px solid #d9dcd7;border-radius:4px;padding:7px;font-size:12px}.kanban-empty{color:#8b918a;text-align:center;margin:8px;font-size:12px}.spin{animation:1s linear infinite spin}@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}.sales-period-filter{flex-direction:column;align-items:stretch}.sales-period-actions{justify-content:flex-start}}@media (max-width:900px){.kanban-controls,.kanban-add-customer{flex-direction:column;align-items:stretch}.kanban-add-customer select,.kanban-add-customer select:first-of-type{width:100%;min-width:0}}.kanban-card.clickable{cursor:pointer}.kanban-card.clickable:hover{border-color:#c9cec7;box-shadow:0 2px 6px #1e281e14}.kanban-card .kanban-signal{color:#4b544c;background:#eef1ee;border-radius:4px;padding:4px 8px;font-weight:700}.kanban-card .kanban-signal.customer_waiting{color:#b32a20;background:#fdecea}.kanban-card .kanban-signal.human_replied{color:#17664c;background:#e6f2ec}.kanban-card .kanban-signal.stale{color:#8a5a00;background:#fff3dc}.kanban-card-links{justify-content:space-between;align-items:center;gap:8px;display:flex}.kanban-card-links a{color:#6b726b;font-weight:700;text-decoration:none}.kanban-card-links a:hover{color:#d9352b;text-decoration:underline}.kanban-card .conversation-link{color:#17664c;align-items:center;gap:4px;font-weight:700;display:inline-flex}.product-form{background:#fff;border:1px solid #dedfdc;border-radius:6px;grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:14px;margin-bottom:18px;padding:18px 20px;display:grid}.product-form .wide{grid-column:span 2}.product-form-actions{grid-column:1/-1;justify-content:flex-end;gap:10px;display:flex}@media (max-width:900px){.product-form{grid-template-columns:repeat(2,minmax(0,1fr))}}.chat-thread{background:#f2f3f0;border-top:1px solid #e4e5e2;flex-direction:column;gap:6px;max-height:560px;padding:16px 18px;display:flex;overflow-y:auto}.chat-entry{flex-direction:column;gap:6px;display:flex}.chat-day{color:#6b7068;text-transform:capitalize;background:#e6e8e3;border-radius:999px;align-self:center;margin:8px 0 4px;padding:3px 12px;font-size:11px;font-weight:700}.chat-message{background:#fff;border:1px solid #e0e2dd;border-radius:10px;max-width:min(560px,80%);padding:8px 12px 6px;font-size:13px}.chat-message.incoming{border-top-left-radius:2px;align-self:flex-start}.chat-message.outgoing{background:#eaf7f1;border-color:#b7ddcf;border-top-right-radius:2px;align-self:flex-end}.chat-sender{color:#6b7068;font-size:11px;font-weight:800;display:block}.chat-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:3px 0 0;line-height:1.45}.chat-message p.chat-attachment{color:#6b7068;font-style:italic}.chat-message time{color:#8a8f87;text-align:right;margin-top:4px;font-size:10px;display:block}.range-bar{flex-wrap:wrap;align-items:end;gap:8px;margin-bottom:16px;display:flex}.range-chip{color:#343a34;cursor:pointer;background:#fff;border:1px solid #ced1cb;border-radius:5px;height:36px;padding:0 14px;font-size:13px;font-weight:700}.range-chip.active{color:#a22b23;background:#fff5f3;border-color:#cb3027}.range-date{color:#4e534c;gap:4px;margin-left:8px;font-size:11px;font-weight:700;display:grid}.range-date input{color:#262824;background:#fff;border:1px solid #ced1cb;border-radius:5px;height:36px;padding:0 8px}.ad-highlight{color:#17664c;margin:-8px 0 16px;font-size:13px}.ad-name strong{display:block}.ad-name span,.muted-small{color:#73776f;font-size:11px;font-weight:400}.ad-total-row td{color:#5f645d;background:#f7f8f6}.row-actions{gap:6px;display:flex}.row-actions .secondary-button{height:32px;padding:0 10px;font-size:12px}.field-note{color:#5f645d;align-self:center;gap:3px;font-size:12px;display:grid}.field-note strong{color:#262824;font-size:14px}.ad-help{color:#4e534c;background:#fff;border:1px solid #dedfdc;border-radius:6px;margin-top:22px;padding:16px 20px;font-size:13px}.ad-help h3{margin:0 0 8px;font-size:14px}.ad-help ul{gap:6px;margin:0;padding-left:18px;display:grid}@media (max-width:900px){.ad-metrics{grid-template-columns:repeat(2,1fr)}}.meta-banner{background:#f4f5f3;border:1px solid #dedfdc;border-radius:6px;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;padding:12px 16px;display:flex}.meta-banner strong{font-size:13px;display:block}.meta-banner span{color:#6b7068;font-size:12px}.meta-banner.connected{background:#eaf7f1;border-color:#b7ddcf}.meta-banner.connected strong{color:#17664c}.meta-banner.problem{background:#fff0ee;border-color:#f0c3bd}.meta-banner.problem strong{color:#a22b23}.ad-tabs{border-bottom:1px solid #dedfdc;gap:4px;margin-bottom:6px;display:flex}.ad-tabs button{color:#6b7068;cursor:pointer;background:0 0;border:0;border-bottom:3px solid #0000;padding:10px 16px;font-size:14px;font-weight:700}.ad-tabs button.active{color:#1f2e24;border-bottom-color:#e43d30}.ad-tab-hint{color:#73776f;margin:0 0 14px;font-size:13px}.range-group{gap:6px;margin-left:8px;display:flex}.range-check{color:#4e534c;cursor:pointer;align-items:center;gap:6px;margin-left:auto;padding-bottom:8px;font-size:13px;font-weight:700;display:flex}.range-date select{color:#262824;background:#fff;border:1px solid #ced1cb;border-radius:5px;min-width:220px;height:36px;padding:0 8px}.ad-chip{color:#5f645d;white-space:nowrap;background:#eceeea;border-radius:999px;padding:3px 9px;font-size:11px;font-weight:700;display:inline-block}.ad-chip.active{color:#17664c;background:#eaf7f1}.ad-chip.rejected{color:#a22b23;background:#fff0ee}.ad-chip.archived{color:#8a7a4a;background:#f0eee6}.ad-archived td{opacity:.62}.ad-archived td.row-actions{opacity:1}.ad-of{color:#73776f;font-size:14px;font-weight:600}.ad-highlight.muted{color:#6b7068}.link-button{color:#cb3027;cursor:pointer;background:0 0;border:0;padding:0;font-weight:700;text-decoration:underline}.ad-metrics{grid-template-columns:repeat(6,1fr)}@media (max-width:1100px){.ad-metrics{grid-template-columns:repeat(3,1fr)}}@media (max-width:900px){.ad-metrics{grid-template-columns:repeat(2,1fr)}.ad-tabs{overflow-x:auto}}.product-picker{min-width:0;position:relative}.product-picker input{width:100%}.product-picker-list{z-index:30;background:#fff;border:1px solid #cfd6df;border-radius:6px;min-width:280px;max-height:280px;margin:0;padding:4px;list-style:none;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow-y:auto;box-shadow:0 8px 24px #10182829}.product-picker-list li{cursor:pointer;border-radius:4px;flex-direction:column;gap:1px;padding:7px 9px;font-size:13px;display:flex}.product-picker-list li span{color:#667085;font-size:11px}.product-picker-list li.active{background:#eef4ff}.product-picker-list .product-picker-empty{color:#667085;cursor:default}.purchase-editor{flex-direction:column;gap:14px;margin-top:14px;padding-bottom:120px;display:flex}.purchase-editor h3{margin:0;font-size:14px}.purchase-editor-lines-title{margin-top:6px}.purchase-editor-actions{justify-content:flex-end;gap:10px;margin-top:14px;display:flex}.sale-line input[type=number]{text-align:center}.report-filter{gap:6px;display:flex}.report-filter .active{color:#fff;background:#20211f;border-color:#20211f}.reported-button.done{color:#17653a;background:#e7f6ec;border-color:#b5e0c4}.purchase-filters{background:#fafaf8;border-bottom:1px solid #e3e4e1;flex-wrap:wrap;align-items:flex-end;gap:12px;padding:12px 18px;display:flex}.purchase-filters label{color:#747970;flex-direction:column;gap:4px;font-size:12px;display:flex}.purchase-filters select,.purchase-filters input{color:#262824;background:#fff;border:1px solid #cfd2cc;border-radius:5px;outline:0;min-width:150px;height:34px;padding:0 9px}.flavor-editor{flex-direction:column;gap:14px;margin-top:14px;display:flex}.flavor-rows{flex-direction:column;gap:8px;display:flex}.flavor-row{grid-template-columns:minmax(0,1fr) 110px 32px;align-items:center;gap:8px;display:grid}.flavor-row input{text-align:left;background:#fff;border:1px solid #cfd2cc;border-radius:5px;outline:0;min-width:0;height:38px;padding:0 9px}.flavor-row input[type=number]{text-align:center}.flavor-row input:disabled{color:#3f423d;background:#f3f4f1}.flavor-head{color:#747970;font-size:12px}.flavor-summary{background:#fafaf8;border:1px solid #e3e4e1;border-radius:6px;flex-wrap:wrap;gap:18px;padding:10px 12px;font-size:13px;display:flex}.flavor-summary .ok{color:#17653a;font-weight:600}.flavor-summary .warn{color:#8a5a00;font-weight:600}.flavor-hint{color:#747970;margin:0;font-size:12px}.flavor-tag{color:#747970;font-size:12px}
