[hidden]{display:none!important}
.customer-purchases{margin-top:20px}
.sort-button{align-items:center;background:none;border:0;color:inherit;cursor:pointer;display:inline-flex;font:inherit;font-weight:inherit;gap:7px;padding:0;text-align:left}
.sort-button span{font-size:14px;opacity:.48}
.sort-button:hover,.sort-button.active{color:var(--blue,#21639d)}
.sort-button.active span{opacity:1}
/* Purchase delivery stays beside products; each column has its own width. */
.purchase-table{table-layout:fixed;width:100%;min-width:1050px}
.purchase-table th,.purchase-table td{padding:12px 10px;vertical-align:top;white-space:normal;overflow-wrap:anywhere;line-height:1.45}
.purchase-table th:nth-child(1){width:10%}
.purchase-table th:nth-child(2){width:10%}
.purchase-table th:nth-child(3){width:9%}
.purchase-table th:nth-child(4){width:9%}
.purchase-table th:nth-child(5){width:15%}
.purchase-table th:nth-child(6){width:14%}
.purchase-table th:nth-child(7){width:14%}
.purchase-table th:nth-child(8){width:4%}
.purchase-table th:nth-child(9){width:7%}
.purchase-table th:nth-child(10){width:8%}
.purchase-table .subtext{line-height:1.45;margin-top:4px}
.purchase-table td:nth-child(7){overflow-wrap:normal}
.purchase-table td:nth-child(6) .tag{white-space:normal}
.purchase-table td:nth-child(n+7){font-variant-numeric:tabular-nums}

.purchase-fields{display:contents}
.purchase-lines{display:grid;gap:16px;margin-top:18px}
.purchase-line{background:#f7f9fc;border:1px solid #dce5f2;border-radius:14px;padding:16px}
.purchase-line-head{align-items:center;display:flex;justify-content:space-between;margin-bottom:14px}
.purchase-line-head h3{margin:0}
.purchase-line-grid{display:grid;gap:14px;grid-template-columns:repeat(2,minmax(0,1fr))}
.purchase-line-grid .full{grid-column:1/-1}
.purchase-line-total{background:#fff;border:1px solid #dce5f2;border-radius:10px;margin-top:14px;padding:11px 14px;text-align:right}
@media(max-width:720px){.purchase-line-grid{grid-template-columns:1fr}.purchase-line-grid .full{grid-column:auto}}
.add-product-button{margin:18px 0 6px}
.extra-order-line{background:#f7f9fc;border:1px solid #dce5f2;border-radius:12px;display:grid;gap:16px;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:16px;padding:18px}
.extra-order-line h3{grid-column:1/-1;margin:0}
.extra-order-line .remove-product{justify-self:start}
.sale-catalog-fields{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:12px;background:#eef3fb;border:1px solid #dce5f2;border-radius:9px}
.sale-catalog-fields .field.full{grid-column:auto}
.sale-catalog-fields .sale-offer-details{grid-column:1/-1;margin:0;overflow-wrap:anywhere}
@media(max-width:720px){.sale-catalog-fields{grid-template-columns:1fr}.sale-catalog-fields .sale-offer-details{grid-column:auto}}
.order-product-list{display:grid;gap:10px;margin-top:18px}
.order-product-row{background:#f7f9fc;border-radius:10px;display:grid;gap:12px;grid-template-columns:minmax(0,1.7fr) 70px 100px 110px;padding:12px 14px}
.order-product-row strong:last-child{text-align:right}
@media(max-width:720px){.extra-order-line{grid-template-columns:1fr}.order-product-row{grid-template-columns:1fr 60px 90px}.order-product-row strong:last-child{grid-column:3}}
.invoice-line{background:#f8faff;border:1px solid #dce5f2;border-radius:12px;margin-top:22px;padding:18px}
.invoice-line-head{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px}.invoice-line-head h3{margin:0}
.invoice-live-summary{background:#14273f;border-radius:10px;color:#d7e2f1;display:grid;gap:12px;grid-template-columns:repeat(3,1fr);margin-top:22px;padding:16px 18px}
.invoice-live-summary span{display:flex;flex-direction:column;font-size:14px;gap:5px}.invoice-live-summary strong{color:#fff;font-size:18px}.invoice-live-summary span:last-child{text-align:right}
.invoice-discount{color:#21885c}.btn.danger{color:#a12f39;border-color:#ebcbd0}
.invoice-detail-items{margin-top:18px}.invoice-detail-items td:nth-child(2),.invoice-detail-items td:nth-child(3),.invoice-detail-items td:nth-child(4){font-variant-numeric:tabular-nums;white-space:nowrap}.invoice-detail-items td:nth-child(4),.invoice-detail-items th:nth-child(4){text-align:right}
@media(max-width:620px){.invoice-live-summary{grid-template-columns:1fr}.invoice-live-summary span:last-child{text-align:left}}
.product-assets{margin-top:24px;padding-top:22px;border-top:1px solid var(--line,#dfe6ef)}
.product-assets .panel-heading{margin-bottom:16px}
.product-upload-row{display:grid;grid-template-columns:1fr 1.3fr 1.3fr auto;gap:12px;align-items:end;padding:16px;border:1px solid var(--line,#dfe6ef);border-radius:14px;background:#f8fbff;margin-bottom:20px}
.file-picker input{padding:8px;background:#fff}
.product-file-group{margin-top:20px}
.product-file-group h4{margin:0 0 10px;color:#0a2554}
.product-file-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}
.product-file-card{display:grid;grid-template-columns:92px 1fr;gap:12px;min-height:112px;padding:10px;border:1px solid var(--line,#dfe6ef);border-radius:14px;background:#fff;overflow:hidden}
.product-file-preview{display:flex;align-items:center;justify-content:center;min-height:90px;border-radius:10px;background:linear-gradient(145deg,#edf5ff,#dcecff);overflow:hidden}
.product-file-preview img{width:100%;height:100%;object-fit:cover}
.file-type-icon{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:12px;background:#0a2b61;color:#fff;font-weight:800;font-size:14px;letter-spacing:.08em}
.product-file-copy{display:flex;min-width:0;flex-direction:column;gap:4px}
.product-file-copy strong,.product-file-copy small{overflow-wrap:anywhere}
.product-file-copy small{color:#66758a}
.file-category{width:max-content;max-width:100%;padding:3px 7px;border-radius:999px;background:#e7f1ff;color:#0757c9;font-size:14px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.file-actions{display:flex;gap:7px;margin-top:auto;flex-wrap:wrap}
.file-actions .btn{padding:6px 10px}
.share-file-summary{display:flex;align-items:center;gap:14px;padding:14px;border:1px solid var(--line,#dfe6ef);border-radius:14px;background:#f8fbff;margin-bottom:18px}
.share-file-summary div{display:flex;flex-direction:column;gap:4px}
.share-file-summary small{color:#66758a}
.recipient-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}
.recipient-grid>div{display:flex;flex-direction:column;gap:4px;padding:12px;border-radius:12px;background:#f4f7fb}
.recipient-grid span{font-size:14px;color:#65758a;text-transform:uppercase;font-weight:800;letter-spacing:.05em}
.connection-row{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid var(--line,#dfe6ef)}
.connection-row div{display:flex;flex-direction:column;gap:3px}
.connection-row small{color:#66758a}
.connection-dot{width:10px;height:10px;border-radius:50%;background:#f0a019;box-shadow:0 0 0 4px #fff4dc}
.communication-settings{margin-top:18px;padding:22px}
.form-save-row{display:flex;justify-content:flex-end;margin-top:16px}
@media(max-width:900px){.product-upload-row{grid-template-columns:1fr 1fr}.product-upload-row .btn{width:100%}}
@media(max-width:620px){.product-upload-row,.recipient-grid{grid-template-columns:1fr}.product-file-grid{grid-template-columns:1fr}.product-file-card{grid-template-columns:76px 1fr}}
.storage-summary{display:flex;gap:26px;margin:18px 0;color:#65758a}.storage-summary b{color:#172b47;font-size:1.15rem;margin-right:6px}
.storage-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(310px,1fr));gap:16px;align-items:start}
.storage-folder{display:flex;min-height:360px;flex-direction:column;padding:20px;border:1px solid var(--line,#dfe6ef);border-radius:16px;background:#fff;box-shadow:0 5px 16px rgba(20,39,63,.04)}
.storage-folder.collapsed{min-height:0}
.storage-folder.collapsed .storage-upload{margin-top:16px}
.storage-folder-head{display:flex;gap:13px;padding-bottom:15px;border-bottom:1px solid var(--line,#dfe6ef)}
.storage-folder-head h2{margin:0 0 3px;font-size:1.05rem}.storage-folder-head p{margin:0 0 5px;color:#66758a;font-size:14px}.storage-folder-head small{color:#8290a3}
.storage-emoji{font-size:1.7rem;line-height:1}.storage-file-list{display:flex;flex:1;flex-direction:column;gap:8px;padding:14px 0}
.storage-category-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-left:auto}
.storage-file{display:flex;flex-direction:column;gap:9px;padding:10px;border:1px solid #e3e9f1;border-radius:10px;background:#f8faff}
.storage-file-copy{display:flex;min-width:0;flex-direction:column;gap:3px}.storage-file-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.storage-file-copy small{color:#748399}
.storage-file-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.storage-file-actions .btn{padding:5px 9px}.danger-link{color:#b03a43!important}.storage-empty{color:#8a97a8;font-size:14px}
.storage-upload{align-self:flex-start;margin-top:auto}
@media(max-width:700px){.storage-grid{grid-template-columns:1fr}.storage-folder{min-height:300px}.storage-summary{flex-direction:column;gap:6px}}
.payment-stats{margin-bottom:22px}
.payments-table{min-width:930px}
.payments-table th:last-child,.payments-table td:last-child{text-align:right}
.payment-amount{color:#16835d;font-weight:750;font-variant-numeric:tabular-nums}
.payment-amount.refund{color:#b03a43}
.vendor-pricing-section{margin-top:24px;padding-top:22px;border-top:1px solid var(--line,#dfe6ef)}
.vendor-pricing-section .panel-heading{align-items:flex-start;display:flex;gap:16px;justify-content:space-between;margin-bottom:16px}
.vendor-pricing-section .panel-heading h3{margin:0 0 5px}
.vendor-pricing-section .panel-heading p{color:#66758a;margin:0}
.vendor-pricing-table{min-width:780px;width:100%}
.vendor-pricing-table td,.vendor-pricing-table th{padding:11px 12px;text-align:left}
.vendor-pricing-table .subtext{color:#66758a;display:block;font-size:14px;margin-top:3px}
.row-actions{align-items:center;display:flex;gap:10px;white-space:nowrap}
.internal-price-banner{background:#eef5ff;border:1px solid #cfe0fb;border-radius:12px;color:#173b73;display:flex;flex-direction:column;gap:4px;margin-bottom:18px;padding:14px 16px}
.internal-price-banner span{color:#526b8f;font-size:14px}
@media(max-width:620px){.vendor-pricing-section .panel-heading{align-items:stretch;flex-direction:column}.vendor-pricing-section .panel-heading .btn{width:100%}}
.inventory-table th,.inventory-table td{white-space:nowrap}
.inventory-table td:first-child{min-width:260px;white-space:normal}
.inventory-table .btn{white-space:nowrap}
.inventory-unknown{color:#7b899e;font-size:.88rem}
.inventory-accessories{margin-top:22px}
.product-stock-cell{display:flex;flex-direction:column;gap:4px;min-width:94px}
.product-stock-number{font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}
.product-stock-number small,.product-stock-unknown small{font-size:14px;font-weight:650}
.product-stock-number.zero{color:#111827}
.product-stock-number.low{color:#dc2626}
.product-stock-number.available{color:#2563eb}
.product-stock-unknown{color:#7b899e;font-size:14px;white-space:nowrap}
.report-stats{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}
.dashboard-stats{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.stat-link{display:block;transition:border-color .15s,box-shadow .15s,transform .15s}
.stat-link:hover{border-color:#b8c9e4;box-shadow:0 7px 20px #18304d12;transform:translateY(-1px)}
.stat-link .metric-value{color:var(--ink)}
.dashboard-stat-button{width:100%;text-align:left}
.dashboard-breakdown{padding:0;overflow:hidden}
.dashboard-breakdown table{min-width:720px}
.report-grid .panel{margin-top:0}
.report-review{margin-top:22px;margin-bottom:0}
.report-date-filter{margin-bottom:22px;padding:18px 20px;overflow:visible}
.report-date-toolbar{align-items:flex-end;display:flex;gap:16px;flex-wrap:wrap}
.report-date-field{display:flex;flex-direction:column;gap:7px;min-width:190px}
.report-date-field span,.report-range-summary span{color:#66758a;font-size:14px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}
.report-date-field select,.report-date-field input{background:#fff;border:1px solid #cfd9e8;border-radius:10px;color:#172b47;font:inherit;min-height:44px;padding:9px 12px}
.report-custom-dates{display:flex;gap:12px;flex-wrap:wrap}
.report-range-summary{display:flex;flex-direction:column;gap:6px;margin-left:auto;min-width:190px;padding:4px 0 5px}
.report-range-summary strong{color:#172b47;font-size:1rem}
.report-date-error{margin:12px 0 0}
@media(max-width:720px){.report-date-toolbar,.report-custom-dates{align-items:stretch;flex-direction:column}.report-date-field,.report-range-summary{margin-left:0;min-width:0;width:100%}}

/* Dashboard totals and purchase delivery queue. */
.dashboard-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}
.dashboard-summary .stat{min-width:0;text-align:left}
.dashboard-summary .stat-note{min-height:30px}
.pending-purchases-panel .panel-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}
.pending-purchases-panel .panel-heading h2{margin-bottom:4px}
.pending-purchases-panel .panel-heading p{margin:0;color:var(--muted)}
.pending-purchases-table td{vertical-align:middle}
.pending-purchases-table .purchase-reference{display:block;margin-top:5px;font-size:14px}
.pending-purchases-table .btn{white-space:nowrap}
.pending-purchases-table .sort-button{font:inherit;border:0;background:transparent;color:inherit;cursor:pointer;padding:0}
.delivery-review{margin:16px 0}
@media(max-width:1000px){.dashboard-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.dashboard-summary{gap:10px}.dashboard-summary .stat{padding:16px}.dashboard-summary .metric-value{font-size:24px}.pending-purchases-panel .panel-heading{align-items:flex-start}.pending-purchases-panel .panel-heading .text-link{white-space:nowrap}}

/* Highlight purchases that are still awaiting delivery. */
.pill.delivery-alert{color:#b42318;background:#fee4e2;border:1px solid #fda29b;font-weight:700;}
/* Vendor Pricing v0.12.33 */
.vp-tabs{display:flex;gap:8px;margin:0 0 16px;flex-wrap:wrap}.vp-tabs button{border:1px solid var(--line);background:#fff;padding:10px 15px;border-radius:9px;font-weight:700;cursor:pointer}.vp-tabs button.active{background:var(--navy);color:#fff;border-color:var(--navy)}.vp-panel{padding:0;overflow:hidden}.vp-table-wrap{overflow:auto;max-width:100%}.vp-table{border-collapse:collapse;width:100%;min-width:1500px;font-size:14px}.vp-table th{position:sticky;top:0;background:#f7f9fc;color:#42526a;text-align:left;padding:11px 9px;border-bottom:1px solid var(--line);white-space:nowrap}.vp-table td{padding:8px 9px;border-bottom:1px solid #edf0f4;white-space:nowrap}.vp-table tr:hover td{background:#fbfcfe}.vp-input{width:92px;border:1px solid transparent;background:transparent;border-radius:6px;padding:6px 7px;font:inherit;color:inherit}.vp-input:hover,.vp-input:focus{border-color:#b8c8df;background:#fff;outline:none}.vp-input.vp-text{width:145px}.vp-best{font-weight:800;color:#176a4b}.vp-vendor{display:inline-block;background:#edf7f2;color:#176a4b;border-radius:999px;padding:5px 8px;font-weight:700;font-size:14px}.vp-save-note{font-size:14px;color:var(--muted);margin-top:10px}.vp-rule-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:18px}.vp-rule-grid>div{border:1px solid var(--line);border-radius:10px;padding:14px}.vp-rule-grid strong,.vp-rule-grid span{display:block}.vp-rule-grid span{font-size:14px;color:var(--muted);margin-top:4px}@media(max-width:900px){.vp-rule-grid{grid-template-columns:1fr 1fr}}
.message-exact { white-space: pre-wrap; overflow-wrap: anywhere; padding: 16px; }
.message-recipient-list { max-height: 250px; overflow: auto; margin-top: 12px; }
.message-recipient { display: flex; gap: 10px; padding: 8px; }
.message-attachments { margin: 20px 0; }
.message-file-list { display: grid; gap: 12px; margin-bottom: 16px; }
.message-file-card { border: 1px solid #dce4ed; border-radius: 10px; padding: 12px; overflow-wrap: anywhere; }
.message-image-preview { display: block; max-width: 100%; max-height: 500px; margin-top: 12px; }
.message-selected-files { overflow-wrap: anywhere; }

.monthly-sales-panel{margin-top:24px}.monthly-sales-charts{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:20px}.monthly-sales-charts>div{min-width:0;overflow:auto}.monthly-sales-charts h3{margin:0 0 10px}.monthly-sales-svg{width:100%;min-width:600px;display:block}.monthly-sales-panel>.form-note{padding:16px 20px}.monthly-sales-panel tfoot{background:#f0f6fc}@media(max-width:1100px){.monthly-sales-charts{grid-template-columns:1fr}}

.vp-money{display:inline-flex;align-items:center;width:110px}.vp-currency{flex:none;padding-left:7px;color:inherit}.vp-money .vp-input{width:92px;min-width:0;padding-left:3px}

/* Soft status backgrounds for the Orders list. */
tr.order-row-completed > td { background-color: #eaf4ff; }
tr.order-row-incomplete > td { background-color: #fff0f0; }
tr.order-row-completed:hover > td { background-color: #deedff; }
tr.order-row-incomplete:hover > td { background-color: #ffe5e5; }

.detail-note { white-space: pre-wrap; overflow-wrap: anywhere; }

.delivery-date-form{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.delivery-date-form .field{margin:0}.delivery-date-form input{min-width:150px}#dashboard-deliveries{margin:20px 0}#dashboard-deliveries td{vertical-align:middle}

.release-notes-banner{background:#f0eaff;border:1px solid #d4c4f1;border-left:5px solid #8052b5;border-radius:12px;padding:16px 20px;margin:0 0 22px;color:#3f285d}.release-notes-banner h2{font-size:16px;line-height:1.4;margin:0 0 6px;font-weight:700}.release-notes-banner ul{margin:0;padding-left:20px}.release-notes-banner li{font-size:14px;line-height:1.6}

.release-history-item{border-top:1px solid #d4c4f1}.release-history-item summary{cursor:pointer;padding:10px 0;line-height:1.5}.release-history-item summary strong{margin-right:18px}.release-history-item summary time{font-size:14px}.release-history-item ul{padding-bottom:12px}.release-history-item summary:focus-visible{outline:2px solid #8052b5;outline-offset:2px}

.delivery-schedule-disclosure>summary{cursor:pointer;list-style:none;gap:12px}.delivery-schedule-disclosure>summary::-webkit-details-marker{display:none}.delivery-schedule-disclosure>summary::before{content:'▸';font-size:18px}.delivery-schedule-disclosure[open]>summary::before{content:'▾'}.delivery-schedule-disclosure>summary strong{flex:1;font-size:17px}.delivery-schedule-disclosure>summary span{font-size:14px;color:#526583}.delivery-schedule-disclosure>summary:focus-visible{outline:2px solid #2463ac;outline-offset:-3px}

/* Independent delivery/payment states */
tr.order-row-delivered-owed > td { background-color: #fff8d9; }
tr.order-row-delivered-owed:hover > td { background-color: #fff0b3; }
tr.order-row-paid-pending > td { background-color: #edf8ef; }
tr.order-row-paid-pending:hover > td { background-color: #dff0e2; }
.order-status-pair { display:flex; flex-wrap:wrap; gap:6px; align-items:center; }

.release-history-row { display:flex; align-items:flex-start; gap:8px; }
.release-history-row .release-history-item { flex:1; min-width:0; }
.release-dismiss { display:inline-flex; align-items:center; justify-content:center; flex:none; width:36px; height:36px; margin-top:4px; border:1px solid #d9cfee; border-radius:8px; background:#fff8; color:#655080; cursor:pointer; }
.release-dismiss:hover { background:#fff; color:#a03549; }
.release-dismiss:focus-visible { outline:2px solid #7950af; outline-offset:2px; }

.order-color-guide-link { display:inline-flex; align-items:center; gap:7px; font-size:14px; padding:6px 0; white-space:normal; }
.page-heading:has(.order-color-guide-link) { flex-wrap:wrap; }
.color-guide-mini { display:inline-flex; gap:2px; }
.color-guide-mini i { width:8px; height:12px; border-radius:3px; background:#f4d76a; }
.color-guide-mini i:nth-child(2) { background:#efa5a5; }
.color-guide-mini i:nth-child(3) { background:#93cba1; }
.color-guide-mini i:nth-child(4) { background:#97c3eb; }
.order-color-guide { display:grid; gap:12px; }
.color-guide-card { display:flex; gap:14px; align-items:stretch; border:1px solid var(--guide-border); border-radius:14px; background:var(--guide-bg); padding:16px; }
.color-guide-yellow { --guide-bg:#fff8d9; --guide-border:#e9d273; --guide-accent:#c49b16; }
.color-guide-red { --guide-bg:#fff0f0; --guide-border:#edb9b9; --guide-accent:#cf6a6a; }
.color-guide-green { --guide-bg:#edf8ef; --guide-border:#b2d9ba; --guide-accent:#5a9c6a; }
.color-guide-blue { --guide-bg:#eaf4ff; --guide-border:#b5d1ec; --guide-accent:#5c96cd; }
.color-guide-swatch { width:7px; flex:none; border-radius:5px; background:var(--guide-accent); }
.color-guide-content { min-width:0; }
.color-guide-statuses { display:flex; flex-wrap:wrap; align-items:center; gap:8px; color:#24344b; font-size:14px; }
.color-guide-statuses strong { display:inline-flex; align-items:center; gap:6px; }
.color-guide-statuses strong > span { font-size:21px; }
.color-guide-plus { color:#687386; }
.color-guide-content p { margin:8px 0 0; font-size:14px; line-height:1.5; color:#43516a; }

.broker-commission-box{padding:16px;background:#eff8f3;border:1px solid #c9e5d5;border-radius:12px}.broker-toggle{display:flex;align-items:center;gap:10px;font-weight:700}.broker-toggle input{width:18px;height:18px}.commission-preview{display:grid;gap:8px;margin-top:12px}.commission-preview span{display:flex;justify-content:space-between;gap:16px}.broker-commission-box [hidden]{display:none!important}

/* Confined to the Orders list, including its two unlabeled action columns. */
.orders-overview-table th{white-space:nowrap}
.orders-overview-table .order-list-balance{color:#1261c9;font-weight:800;white-space:nowrap;font-variant-numeric:tabular-nums}
.orders-overview-table .order-list-action-cell{width:56px;min-width:56px;text-align:center;padding-left:6px;padding-right:6px}
.orders-overview-table .order-list-action{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:4px;font-size:27px;line-height:1}
.orders-overview-table .order-list-action:focus-visible{outline:3px solid #1261c9;outline-offset:2px}

.orders-overview-table .order-list-balance.is-owed{color:#b42318}
.orders-overview-table .order-list-action{color:#244f7d;background:#f3f7fc;border:1px solid #d5e1ee;border-radius:10px;font-size:inherit;transition:background .15s,border-color .15s}
.orders-overview-table .order-list-action svg{display:block;width:23px;height:23px;flex-shrink:0;pointer-events:none}
.orders-overview-table .order-list-action:hover{background:#e6effa;border-color:#8caed4}

.vendor-identity{display:inline-flex;align-items:center;gap:12px;text-align:left}.vendor-logo{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;flex:0 0 38px;border:1px solid #dae4ef;border-radius:9px;background:#fff;color:#526d8d;font-size:14px;font-weight:700;overflow:hidden}.vendor-logo img{display:block;object-fit:contain;width:32px;height:32px}.vendor-logo-editor{border:1px solid #dae4ef;padding:14px;border-radius:10px;gap:10px}.vendor-logo-editor>small{color:#667b95}.vendor-logo-editor .btn{justify-self:start}.vendor-logo-detail{padding-bottom:16px}

.vendor-logo{width:56px;height:56px;flex-basis:56px;border-radius:11px}.vendor-logo img{width:48px;height:48px}

.pill.payment-alert{color:#b42318;background:#fee4e2;border:1px solid #fda29b;font-weight:700;}

/* Invoice product notes and visible discounts */
.product-note{white-space:pre-wrap;padding:10px 12px;background:#eef5ff;border-left:3px solid #225eb5;color:#173859;margin:8px 0;font-size:14px}.invoice-discount{color:#126234!important;font-size:14px!important;font-weight:800!important;background:#e1f4e7;padding:8px;border-radius:6px;line-height:1.5}.invoice-live-summary span:nth-child(2){background:#e1f4e7;color:#126234;padding:12px;border-radius:8px;font-weight:800}

.organized-order-form .modal-body{background:#f3f6fa;padding:20px}.order-section{margin:0 0 20px;border:1px solid #c9d4e3;border-radius:12px;background:#fff;box-shadow:0 2px 5px #1738590b;overflow:hidden}.order-section>summary{cursor:pointer;padding:16px 18px;background:#eaf0f8;display:flex;gap:10px;align-items:center;list-style:none;border-bottom:1px solid transparent}.order-section[open]>summary{border-bottom-color:#d3deec}.order-section>summary:before{content:'▸';font-size:18px;color:#245ca4}.order-section[open]>summary:before{content:'▾'}.order-section>summary strong{color:#183654;font-size:16px}.order-section-summary{margin-left:auto;color:#52647a;font-size:12px;text-align:right;max-width:55%;overflow-wrap:anywhere}.order-section-body{padding:18px;gap:16px}.organized-order-form .extra-order-line{display:block!important;padding:0!important;border:0!important;background:transparent!important;margin:0 0 16px!important}.order-product-section{margin:0;border-left:4px solid #3977b9}.order-product-section>summary{background:#f2f7fd}.organized-order-form .sale-commission{padding:0;border:0;background:none;grid-column:1/-1}.organized-order-form .sale-commission>h3{display:none}.order-section-tools{display:flex;justify-content:flex-end;gap:8px;margin-bottom:14px}.order-section-body>.field{min-width:0}.order-section-body .sale-catalog-fields{grid-column:1/-1}.organized-order-form .modal-actions{position:sticky;bottom:0;background:#fff;border-top:1px solid #c9d4e3;z-index:2}.organized-order-form .order-edit-total{grid-column:1/-1}.order-section>summary:focus-visible{outline:3px solid #317bc6;outline-offset:-3px}@media(max-width:600px){.order-section-body{padding:12px}.organized-order-form .modal-body{padding:12px}.order-section>summary{padding:14px 12px;flex-wrap:wrap}.order-section-summary{max-width:100%;font-size:12px}}

.promo-sms-cell{width:38px!important;min-width:38px!important;text-align:center!important;padding-left:10px!important;padding-right:4px!important;font-size:11px!important}.promo-sms-checkbox{appearance:auto!important;display:inline-block!important;width:16px!important;height:16px!important;min-height:0!important;accent-color:#2865cc;cursor:pointer;vertical-align:middle}.promo-sms-checkbox:disabled{cursor:wait;opacity:.5}.promo-sms-toolbar{font-size:12px;color:#65758b;display:flex;align-items:center;gap:12px;padding:10px 18px;border-bottom:1px solid #e4eaf3}.promo-sms-toolbar button{margin-left:auto;font-size:12px}
