@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&display=swap');
:root{font-family:'DM Sans',system-ui,sans-serif;color:#1c2938;background:#f5f7fa;font-synthesis:none;font-size:16px;--green:#147d73;--line:#e6eaf0;--muted:#75808f}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #66c3ba;outline-offset:3px}aside{width:244px;background:white;position:fixed;inset:0 auto 0 0;border-right:1px solid var(--line);padding:30px 20px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;gap:12px;font-size:17px;font-weight:700;letter-spacing:.7px}.brand-mark{display:grid;place-items:center;width:39px;height:40px;border-radius:10px;background:var(--green);color:white;font-size:27px;font-weight:700;font-style:italic}.brand small{display:block;color:var(--muted);font-size:10px;letter-spacing:2.6px;margin-top:4px}.workspace{border:1px solid var(--line);border-radius:8px;margin:31px 0 28px;padding:11px 9px;display:flex;align-items:center;gap:10px;font-size:13px;font-weight:600}.workspace>span:first-child{font-size:14px}.workspace small{display:block;font-size:11px;font-weight:400;color:var(--muted);margin-top:3px}.chevron{margin-left:auto}.nav-label{font-size:10px;letter-spacing:1.4px;color:#98a1ae;font-weight:700;margin:0 12px 12px}nav{display:flex;flex-direction:column;gap:3px;overflow-y:auto}nav a{display:flex;align-items:center;gap:11px;padding:10px 12px;font-size:14px;color:#647080;border-radius:7px}nav a.active{color:var(--green);background:#eaf5f2;font-weight:600}nav a:hover{background:#f3f6f8}nav svg{width:18px;height:18px;flex-shrink:0}.nav-count{font-size:11px;margin-left:auto;background:#dcece8;border-radius:4px;padding:2px 6px}.sidebar-bottom{display:flex;align-items:center;gap:10px;padding:18px 0 0;margin-top:auto;border-top:1px solid var(--line);font-size:13px}.sidebar-bottom small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.sidebar-bottom button{margin-left:auto}.avatar{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#e7f0ed;color:#27685d;font-size:11px;font-weight:700}.shell{margin-left:244px}header{height:73px;background:#fff;border-bottom:1px solid var(--line);padding:0 35px;display:flex;align-items:center;justify-content:space-between}.breadcrumb{font-size:13px;color:#8992a0}.breadcrumb span{margin:0 12px;color:#c2c8d0}.breadcrumb strong{font-weight:500;color:#536071}.header-right{display:flex;align-items:center;gap:20px}.icon-button{background:transparent;border:0;color:#7a8593;font-size:20px;padding:5px;min-width:30px}.mobile-menu{display:none}main{padding:31px 35px 22px;max-width:1600px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:26px}h1{font-size:27px;font-weight:650;letter-spacing:-.8px;margin:0 0 6px}h2{font-size:16px;font-weight:650;margin:0}p{font-size:14px;color:var(--muted);line-height:1.6;margin:0}.heading-actions{display:flex;gap:9px;align-items:center}.button{border:1px solid #dfe5ec;border-radius:6px;padding:9px 13px;background:white;color:#566170;font-size:13px;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:37px}.button:hover{background:#f0f5f5}.button.primary{background:var(--green);border-color:var(--green);color:white}.button.primary:hover{background:#09675f}.button svg{width:15px;height:15px}.badge{display:inline-flex;padding:4px 8px;border-radius:5px;font-size:11px;font-weight:550;white-space:nowrap}.badge.green{background:#e8f5ef;color:#26845f}.badge.blue{background:#edf2fd;color:#5577b3}.badge.amber{background:#fff3df;color:#a37523}.badge.red{background:#ffefef;color:#b45757}.badge.gray{background:#f0f2f6;color:#6f7c8f}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.stat{background:white;border:1px solid var(--line);border-radius:9px;padding:19px}.stat-top{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#75808e}.stat-icon{display:grid;place-items:center;background:#f1f7f5;color:var(--green);border-radius:7px;width:32px;height:32px}.stat-icon svg{width:17px;height:17px}.stat-value{font-size:27px;letter-spacing:-.7px;font-weight:600;margin:12px 0 9px}.stat-detail{font-size:11px;color:#8b95a2}.stat-detail strong{font-weight:550;color:#268461;margin-right:5px}.grid-two{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(260px,1fr);gap:20px;margin-bottom:23px}.panel{background:white;border:1px solid var(--line);border-radius:9px;overflow:hidden}.panel-heading{display:flex;justify-content:space-between;align-items:center;padding:20px 21px;border-bottom:1px solid var(--line);gap:12px}.panel-heading p{font-size:12px;margin-top:4px}.panel-heading .button{font-size:11px;padding:6px 10px;min-height:29px}.chart{padding:19px 21px 10px}.chart-legend{display:flex;align-items:center;gap:17px;font-size:11px;color:#748191;margin-bottom:8px}.chart-legend span:before{content:'';display:inline-block;width:7px;height:7px;border-radius:2px;background:#238c80;margin-right:6px}.chart-legend span:nth-child(2):before{background:#7fbeb4}.chart-legend span:nth-child(3):before{background:#53a8ba}.chart-legend span:nth-child(4):before{background:#d4e8e2}.chart svg{width:100%;height:190px;overflow:visible}.chart text{font-family:inherit;fill:#97a1ad;font-size:11px}.chart-summary{display:flex;justify-content:space-around;border-top:1px solid var(--line);padding:13px 0;margin-top:8px}.chart-summary div{text-align:center;color:#8a95a1;font-size:11px}.chart-summary strong{display:block;font-size:14px;font-weight:600;color:#354557;margin-top:5px}.attention{padding:3px 20px}.attention-item{padding:17px 0;display:flex;gap:12px;align-items:flex-start;border-bottom:1px solid var(--line)}.attention-item:last-child{border-bottom:0}.attention-icon{background:#fff6e6;border-radius:7px;color:#b79143;padding:8px;display:flex}.attention-icon svg{width:17px;height:17px}.attention-item strong{font-size:13px;font-weight:550;display:block;margin-bottom:4px}.attention-item p{font-size:11px}.attention-item a{font-size:11px;color:var(--green);display:inline-block;margin-top:7px}.toolbar{display:flex;justify-content:space-between;align-items:center;padding:16px 21px;gap:12px;border-bottom:1px solid var(--line)}.tabs{display:flex;gap:18px;align-items:center}.tabs button{background:none;border:0;padding:6px 0;font-size:12px;color:#8b94a1}.tabs button.active{color:var(--green);font-weight:600}.search{border:1px solid var(--line);border-radius:6px;padding:8px 11px;font-size:12px;min-width:190px;background:#fff}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{background:#fafbfc;font-size:10px;font-weight:600;letter-spacing:.6px;color:#929ca9;text-transform:uppercase;padding:12px 21px;border-bottom:1px solid var(--line)}td{padding:14px 21px;font-size:12px;border-bottom:1px solid #f0f2f5;color:#697687}td strong{color:#344459;font-weight:550}td small{display:block;margin-top:4px;color:#98a1ad;font-size:10px}tr:last-child td{border-bottom:0}.table-footer{display:flex;justify-content:space-between;padding:14px 21px;font-size:11px;color:#98a1ad;border-top:1px solid var(--line)}.channel{font-size:11px;display:inline-flex;align-items:center;gap:6px}.channel:before{content:'';width:5px;height:5px;border-radius:50%;background:#6b92c5}.channel.dropshipping:before{background:#b08dc9}.channel.b2b:before{background:#4d9d8a}.text-link{border:0;background:none;color:var(--green);font-size:12px;padding:0}.bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:23px}.stock-row{display:flex;align-items:center;gap:11px;padding:13px 21px;border-bottom:1px solid #f1f3f6;font-size:12px}.product-icon{background:#f1f5f8;color:#8394a6;width:35px;height:35px;display:grid;place-items:center;border-radius:6px}.stock-row strong{font-weight:550;color:#455265}.stock-row small{display:block;margin-top:4px;font-size:10px;color:#98a3b0}.stock-row .badge{margin-left:auto}.connection-row{display:flex;align-items:center;gap:10px;padding:13px 21px;font-size:12px;border-bottom:1px solid #f1f3f6}.connection-logo{font-weight:700;display:grid;place-items:center;width:30px;height:30px;background:#f0f5f2;border-radius:7px;color:var(--green)}.connection-row small{display:block;font-size:10px;color:#99a3af;margin-top:4px}.connection-row .badge{margin-left:auto}footer{display:flex;align-items:center;gap:10px;font-size:9px;font-weight:600;letter-spacing:.7px;color:#8994a1;padding:22px 35px}footer span{font-weight:400;letter-spacing:0}footer span:last-child{margin-left:auto}.connector-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.connector-card{padding:22px;background:white;border:1px solid var(--line);border-radius:9px}.connector-card .connection-logo{width:44px;height:44px;font-size:20px;margin-bottom:16px}.connector-card h2{margin-bottom:8px}.connector-card p{font-size:13px;min-height:62px;margin-bottom:15px}.connector-card .card-actions{display:flex;justify-content:space-between;align-items:center;margin-top:16px}.empty{padding:50px 20px;text-align:center;color:#83909f;font-size:14px}.notice{background:#edf6f3;color:#4c796e;border:1px solid #d5e8e2;border-radius:7px;padding:13px 16px;font-size:13px;margin-bottom:20px;line-height:1.6}.notice.amber{background:#fff9ee;border-color:#f3e5c9;color:#91713c}dialog{border:1px solid var(--line);border-radius:12px;padding:24px;width:min(620px,95vw);max-height:90vh;box-shadow:0 30px 100px #182f3b30}dialog::backdrop{background:#17293780}.modal-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.modal-heading h2{font-size:20px}#fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}label{font-size:13px;display:block;color:#677587}label input,label select,label textarea{width:100%;border:1px solid #dce3eb;border-radius:6px;padding:10px;margin-top:7px;color:#344659;background:white;font-size:14px}label.wide{grid-column:1/-1}label textarea{min-height:85px}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px}.error{color:#b34747;margin-top:12px}.form-note{grid-column:1/-1;font-size:12px;background:#f5f8fa;padding:12px;border-radius:6px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#163e36;color:white;padding:13px 20px;border-radius:8px;font-size:14px;z-index:20;display:none}.receipt{padding:28px}.receipt h2{font-size:23px;margin-bottom:20px}.receipt dl{display:grid;grid-template-columns:1fr 1fr;gap:15px}.receipt dt{color:#83909e;font-size:12px}.receipt dd{margin:5px 0 0;font-size:15px}.login{max-width:420px;margin:70px auto;background:#fff;border:1px solid var(--line);border-radius:12px;padding:30px}.login h1{font-size:24px}.login label{margin-top:20px}.login button{margin-top:22px;width:100%}.api-code{background:#132f32;color:#bfe3d8;font:13px/1.8 monospace;padding:22px;border-radius:8px;overflow:auto}.metric-note{font-size:12px;color:#8e99a7;margin:12px 0}.filter-select{font-size:12px;border:1px solid var(--line);padding:8px;border-radius:6px;background:#fff;color:#677587}@media(min-width:1500px){main{padding-top:40px}}@media(max-width:1100px){aside{width:210px;padding:25px 14px}.shell{margin-left:210px}main{padding:25px 22px}.stats{gap:10px}.stat{padding:15px}.stat-value{font-size:23px}.connector-grid{grid-template-columns:repeat(2,1fr)}header{padding:0 22px}.grid-two{grid-template-columns:1.4fr 1fr}}@media(max-width:800px){aside{transform:translateX(-100%);transition:transform .2s}aside.open{transform:translateX(0);box-shadow:10px 0 40px #0002}.shell{margin-left:0}.mobile-menu{display:block}.breadcrumb{margin-right:auto;margin-left:10px}header{height:63px;padding:0 18px}.header-right{gap:10px}.stats{grid-template-columns:repeat(2,1fr)}.grid-two{grid-template-columns:1fr}.bottom-grid{grid-template-columns:1fr}.page-heading{align-items:flex-start}.heading-actions{flex-wrap:wrap;justify-content:flex-end}.connector-grid{grid-template-columns:1fr 1fr}main{padding:24px 16px}footer{padding:20px 16px}.toolbar{flex-wrap:wrap}.search{width:100%}.tabs{gap:16px}}@media(max-width:480px){h1{font-size:23px}.heading-actions .button{padding:8px;font-size:11px}.page-heading{flex-direction:column}.heading-actions{width:100%;justify-content:flex-start}.connector-grid{grid-template-columns:1fr}#fields{grid-template-columns:1fr}label.wide{grid-column:auto}.header-right .avatar{display:none}.stat-value{font-size:22px}.header-right .badge{font-size:10px}footer span:last-child{display:none}}@media print{aside,header,footer,.page-heading,.heading-actions,.button,.toolbar,.stats,.notice{display:none!important}.shell{margin:0}main{padding:0}.panel{border:0}.receipt{padding:20px}body{background:#fff}}
/* Readable operations typography: regular controls 14px; metadata 12px. */
p{font-size:16px}.breadcrumb,.button,.stat-top,.tabs button,.search,.filter-select,.text-link,td,.stock-row,.connection-row,.attention-item strong,label{font-size:14px}.badge,.channel,.stat-detail,.panel-heading p,.panel-heading .button,.chart-legend,.chart-summary div,.attention-item p,.attention-item a,.table-footer,.workspace small,.sidebar-bottom small,.stock-row small,.connection-row small,td small,.nav-label,th{font-size:12px}.chart-summary strong{font-size:16px}.sidebar-bottom{font-size:14px}.header-right .badge{font-size:12px}.product-icon svg{width:21px;height:21px}.stat-detail{line-height:1.5}.connector-card p{font-size:14px}.connector-card .card-actions{flex-wrap:wrap;gap:8px}
@media(max-width:480px){.heading-actions .button{font-size:14px}.header-right .badge{font-size:12px}.chart-legend{gap:10px}.stat-top{font-size:14px}.stat{padding:14px}.stat-value{font-size:24px}}
.csv-dialog{width:min(1100px,96vw)}.csv-inputs{display:grid;grid-template-columns:1.5fr 1fr;gap:18px;margin:16px 0 24px}.csv-inputs input,.csv-inputs select{display:block;width:100%;margin-top:8px;padding:10px;border:1px solid #dce3eb;border-radius:6px;font-size:14px;background:#fff}.csv-summary{display:flex;gap:18px;padding:15px 0;font-size:14px;font-weight:600}.csv-detail{display:block;white-space:normal;min-width:200px;max-width:320px;font-size:13px;line-height:1.6}.csv-dialog .table-scroll{max-height:360px;border:1px solid var(--line);border-radius:7px}.csv-dialog .modal-actions{flex-wrap:wrap}.csv-dialog details{margin-top:7px}.csv-dialog summary{cursor:pointer;color:var(--green);font-size:12px}.heading-actions{flex-wrap:wrap;justify-content:flex-end}@media(max-width:600px){.csv-inputs{grid-template-columns:1fr}.csv-summary{gap:12px;flex-wrap:wrap}.csv-dialog{padding:17px}.csv-dialog .modal-actions .button{flex-grow:1}.heading-actions{justify-content:flex-start}}

.sidebar-bottom>div{min-width:0;overflow-wrap:anywhere}.sidebar-bottom .avatar{flex-shrink:0}@media(max-width:600px){header{height:auto;min-height:63px;flex-wrap:wrap;padding:10px 16px;gap:8px}.header-right{width:100%;justify-content:flex-end;flex-wrap:wrap;gap:10px}.breadcrumb{min-width:0}.header-right .text-link{font-size:12px}}
nav a.inventory-submenu{padding-left:42px;font-size:13px}nav a.inventory-submenu svg{width:14px;height:14px}
.order-entry-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px;align-items:start}.order-entry-main{display:grid;gap:20px;min-width:0}.order-entry-panel{padding:22px}.order-entry-panel h2{margin-bottom:16px}.entry-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.entry-fields label.wide{grid-column:1/-1}.entry-fields input,.entry-fields select,.entry-fields textarea,.entry-search-label input,.order-entry-summary input{display:block;width:100%;padding:11px;border:1px solid var(--line);border-radius:6px;margin-top:7px;background:#fff}.entry-fields textarea{min-height:78px;resize:vertical}.entry-hint{font-size:13px;line-height:1.6;margin:12px 0}.entry-search-label{display:block}.order-search-results{display:grid;gap:6px;margin:12px 0;max-height:290px;overflow:auto}.entry-product-result{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;text-align:left;background:#f6faf9;border:1px solid var(--line);border-radius:7px;color:#253d39}.entry-product-result small{display:block;color:var(--muted);margin-top:4px}.entry-product-result:disabled{opacity:.55}.entry-quantity{width:76px;padding:8px;border:1px solid var(--line);border-radius:5px}.order-entry-summary{position:sticky;top:20px;padding:22px;width:auto;height:auto;inset:auto;top:20px;display:block;z-index:auto;transform:none;box-shadow:none}.order-entry-summary dl{margin:18px 0}.order-entry-summary dl>div{display:flex;justify-content:space-between;gap:12px;margin:13px 0;font-size:14px}.order-entry-summary dt{color:var(--muted)}.order-entry-summary dd{margin:0;font-weight:600;white-space:nowrap}.order-entry-summary .entry-total{border-top:1px solid var(--line);padding-top:15px;font-size:18px}.order-entry-summary .button{width:100%;margin-top:12px}.order-entry-summary .error{white-space:normal}.order-entry-panel h2 small{font-size:12px;color:var(--muted);font-weight:400}@media(max-width:1100px){.order-entry-grid{grid-template-columns:minmax(0,1fr) 280px}.order-entry-panel,.order-entry-summary{padding:16px}}@media(max-width:850px){.order-entry-grid{grid-template-columns:1fr}.order-entry-summary{position:static;width:100%;border:1px solid var(--line);padding:20px}.entry-fields{grid-template-columns:1fr}.entry-fields label.wide{grid-column:auto}.order-entry-panel{padding:16px}}
.product-entry-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;align-items:start}.product-entry-main{display:grid;gap:20px;min-width:0}.product-entry-panel,.product-entry-summary{padding:22px}.product-entry-panel h2{margin-bottom:5px}.product-entry-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.product-entry-fields label{display:block;font-size:14px}.product-entry-fields input,.product-entry-fields select{width:100%;display:block;margin-top:7px;padding:11px;border:1px solid var(--line);border-radius:6px;background:white}.product-entry-summary{position:sticky;top:20px}.product-entry-summary h3{font-size:17px;margin-top:20px;overflow-wrap:anywhere}.product-entry-summary .entry-hint{overflow-wrap:anywhere}.product-entry-summary dl>div{display:flex;justify-content:space-between;gap:15px;font-size:13px;margin:17px 0}.product-entry-summary dt{color:var(--muted)}.product-entry-summary dd{margin:0;text-align:right;white-space:nowrap}.product-entry-summary .button{width:100%;margin-top:12px}.product-entry-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.product-entry-links .button{font-size:12px}.product-entry-summary .error{white-space:normal}@media(max-width:1000px){.product-entry-grid{grid-template-columns:minmax(0,1fr) 260px}.product-entry-panel,.product-entry-summary{padding:16px}}@media(max-width:850px){.product-entry-grid{grid-template-columns:1fr}.product-entry-summary{position:static}.product-entry-fields{grid-template-columns:1fr}}

.product-entry-fields label:has([name=name]){grid-column:1/-1}
.outgoing-intro{padding:0 22px 18px;font-size:13px;line-height:1.7}.outgoing-intro p{margin:10px 0}.outgoing-url{display:block;max-width:330px;overflow-wrap:anywhere}.outgoing-intro .api-code{white-space:pre-wrap;overflow-wrap:anywhere}

.outgoing-panel{margin-top:22px}

.business-logo{width:40px;height:40px;object-fit:contain;background:white;border-radius:6px}.business-branding-preview{display:flex;align-items:center;gap:20px;margin-bottom:24px}.business-branding-preview img{max-width:180px;max-height:85px;object-fit:contain}.business-branding-preview .business-favicon-preview{width:32px;height:32px}.business-upload{padding:15px;border:1px solid var(--line);border-radius:8px}.business-upload small{display:block;font-size:12px;margin-top:8px}.business-remove{display:flex;gap:8px;align-items:center;margin-top:10px}.business-remove input{width:auto;margin:0}

.business-receipt-logo{display:block;max-width:180px;max-height:80px;object-fit:contain;margin-bottom:15px}

.brand-mark.has-logo{width:auto;height:64px;max-width:190px;background:transparent;border-radius:0;display:flex;align-items:center}.brand-mark.has-logo .business-logo{width:auto;height:auto;max-width:190px;max-height:64px;object-fit:contain;background:transparent;border-radius:0}@media(max-width:480px){.brand-mark.has-logo{max-width:140px;height:48px}.brand-mark.has-logo .business-logo{max-width:140px;max-height:48px}}

.report-tabs{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px}.report-tabs .button{min-height:40px}.report-filter-panel{margin-bottom:20px}.report-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:20px}.report-filters label{min-width:0}.report-filters input,.report-filters select,.report-filter-actions select{width:100%;font-size:14px;border:1px solid #d7e0e8;border-radius:7px;padding:10px;margin-top:7px;background:#fff;color:#405568}.report-filter-actions{border-top:1px solid #edf1f4;padding:14px 20px;display:flex;align-items:center;gap:16px;flex-wrap:wrap}.report-filter-actions>span{color:#748493;font-size:12px}.report-filter-actions>label{margin-left:auto;font-size:12px;min-width:170px}.report-table-panel{margin-bottom:24px}.report-table-panel .panel-heading>span{font-size:12px;color:#748493}.report-print-heading{display:none}.report-note{font-size:13px;line-height:1.7}.report-stats .stat-value{font-size:26px}.report-table-panel td{max-width:350px}.report-table-panel td .text-link{white-space:normal;text-align:left}.report-table-panel .panel-heading{gap:15px;flex-wrap:wrap}@media(max-width:1100px){.report-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.report-filters{grid-template-columns:1fr;padding:16px}.report-tabs{gap:8px}.report-tabs .button{font-size:12px;padding:8px 10px}.report-filter-actions>label{margin-left:0;width:100%}.report-stats .stat-value{font-size:21px}.report-table-panel .panel-heading{padding:16px}}@media print{.report-tabs,.report-filter-panel,.report-note,#report-error{display:none!important}.report-print-heading{display:block;margin-bottom:20px}.report-print-heading h1{font-size:22px}.report-print-heading p{font-size:11px;margin:8px 0;line-height:1.5}.report-stats{display:grid!important;grid-template-columns:repeat(4,1fr);gap:10px}.report-stats .stat{border:1px solid #ddd;box-shadow:none;padding:12px}.report-stats .stat-icon,.report-stats .stat-detail{display:none}.report-stats .stat-value{font-size:16px}.report-table-panel .table-scroll{overflow:visible}.report-table-panel table{white-space:normal;font-size:9px}.report-table-panel th,.report-table-panel td{font-size:9px;padding:6px;overflow-wrap:anywhere}.report-table-panel tr{break-inside:avoid}.report-table-panel thead{display:table-header-group}.report-table-panel .text-link{font-size:9px;color:#000}.report-table-panel .panel-heading h2{font-size:15px}.report-table-panel .panel-heading span{font-size:10px}.report-table-panel .panel-heading{padding:12px 0}.report-print-heading .business-receipt-logo{max-height:50px}}


/* Submenus expand within the sidebar when the main menu or arrow is activated. */
.sidebar-menu-main{display:flex;align-items:stretch;gap:2px}.sidebar-menu-main>a{flex:1;min-width:0}.sidebar-submenu[hidden]{display:none}.sidebar-submenu-toggle{flex:0 0 32px;align-self:stretch;border:0;border-radius:6px;background:transparent;color:#81909f;font-size:20px;cursor:pointer}.sidebar-submenu-toggle:hover{background:#edf6f3;color:var(--green)}.sidebar-submenu-toggle:focus-visible,nav a:focus-visible{outline:2px solid var(--green);outline-offset:-2px}.sidebar-submenu-toggle[aria-expanded="true"] span{display:inline-block;transform:rotate(180deg)}.sidebar-submenu{padding-bottom:4px}@media(pointer:coarse){.sidebar-submenu-toggle{flex-basis:44px}}

.purchase-entry-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px}.purchase-panel{padding:22px;margin-bottom:20px}.purchase-panel h2{margin-bottom:16px}.purchase-summary{align-self:start;position:sticky;top:90px}.purchase-summary dl div,.purchase-document dl div{display:flex;justify-content:space-between;gap:16px;margin:12px 0}.purchase-summary dd,.purchase-document dd{margin:0}.purchase-summary button{width:100%;margin-top:12px}.purchase-actions{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.purchase-document{min-width:0}.purchase-document h2,.purchase-document h3{margin:16px 0}.purchase-document p{margin:12px 0}.purchase-receive-lines{display:grid;gap:12px}.purchase-checkbox{display:flex;align-items:center;gap:8px}.purchase-checkbox input{width:auto;margin:0}dialog:has(.purchase-document){width:min(1050px,95vw)}@media(max-width:1000px){.purchase-entry-grid{grid-template-columns:1fr}.purchase-summary{position:static}}@media print{body:has(.purchase-document) .shell{display:none!important}body:has(.purchase-document) dialog{position:static;display:block;border:0;width:100%;max-height:none;overflow:visible;padding:0;box-shadow:none}body:has(.purchase-document) .modal-heading,body:has(.purchase-document) .modal-actions,body:has(.purchase-document) .purchase-actions{display:none!important}}

.purchase-entry-grid>div{min-width:0}.purchase-document,.purchase-receive-lines{grid-column:1/-1}.purchase-tabs{flex-wrap:wrap;row-gap:8px}.purchase-document{overflow-wrap:anywhere}.purchase-summary{min-width:0}

[hidden]{display:none!important}

.purchase-receive-product{min-width:0;border:1px solid var(--line);border-radius:8px;padding:16px;margin:0}.purchase-receive-product legend{font-size:14px;font-weight:600;padding:0 6px;overflow-wrap:anywhere}.purchase-lot-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.purchase-lot-fields small{display:block;font-size:12px;color:var(--muted);margin-top:5px;overflow-wrap:anywhere}dialog:has(.purchase-receive-product){width:min(850px,95vw)}@media(max-width:600px){.purchase-lot-fields{grid-template-columns:1fr}}

.batch-toolbar{display:flex;flex-wrap:wrap;gap:16px}.batch-toolbar select{max-width:100%;min-width:0;flex:1 1 300px;border:1px solid var(--line);border-radius:6px;padding:9px 12px;background:white;color:var(--ink);font:inherit}.batch-toolbar label{display:flex;align-items:center;gap:8px;margin:0;white-space:nowrap}.batch-toolbar input[type=checkbox]{width:auto;margin:0}.batch-table-note{padding:16px 20px}.batch-toolbar .search{flex:1 1 180px}@media(max-width:600px){.batch-toolbar select,.batch-toolbar .search{flex-basis:100%;width:100%}}

.lifecycle-summary{border-top:1px solid var(--border,#e1e7eb);padding-top:12px;margin-top:16px}.lifecycle-check{display:flex!important;align-items:flex-start;gap:10px;font-size:14px;line-height:1.5}.lifecycle-check input[type=checkbox]{width:18px!important;min-width:18px;height:18px;margin-top:2px}.lifecycle-summary .table-scroll{margin:12px 0}#shipment-lines input,#return-lines input,[data-supplier-return]{width:95px;min-width:75px}#return-lines select{min-width:115px}#fields .table-scroll{max-width:100%}#modal:has(.lifecycle-summary),#modal:has(#return-lines),#modal:has(#shipment-lines){width:min(1000px,94vw)}

#fields>.form-note{grid-column:1/-1;min-width:0}#fields>.form-note:has(.lifecycle-summary){background:transparent;padding:0}#fields>.form-note:has(.lifecycle-summary)>p{margin:16px 0}.lifecycle-summary p{margin:10px 0}.form-note h3{color:#1c2938;margin:20px 0 12px}.form-note .table-scroll{margin:12px 0}

#modal:has(#reset-confirmation){width:min(680px,95vw)}#reset-confirmation,#reset-password{display:block;width:100%;min-height:46px;margin-top:8px;border:1px solid #8a9ba8;border-radius:6px;padding:10px;background:#fff;color:#1c2938}.reset-confirmation{font-weight:600}.reset-counts summary{cursor:pointer;font-weight:600;padding:10px 0}.reset-counts .table-scroll{max-height:230px;overflow:auto}.reset-counts p{overflow-wrap:anywhere}

.product-check{display:flex!important;align-items:center;gap:10px}.product-check input[type=checkbox]{width:auto;margin:0}.product-photo-strip{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0}.product-photo-strip img{width:100px;height:100px;object-fit:contain;border:1px solid #e4e9ed;border-radius:8px}
/* Optional delivery fields stay available to the form while collapsed. */
.order-delivery-details>summary{cursor:pointer;font-size:18px;font-weight:600;min-height:44px;align-content:center}
.order-delivery-details>summary small{font-size:13px;font-weight:400}
.order-delivery-details[open]>summary{margin-bottom:16px}
.order-delivery-details>summary:focus-visible{outline:2px solid var(--accent,#0891b2);outline-offset:4px;border-radius:4px}

.order-customer-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;flex-wrap:wrap}.order-customer-heading h2{margin-bottom:0}.order-customer-heading .button{min-height:44px}

.product-page-footer{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;min-height:64px;padding:16px;color:#637b79;font-size:14px}

.inventory-column-chooser{padding:12px 21px;border-bottom:1px solid var(--line)}
.inventory-column-chooser summary{width:max-content;max-width:100%;cursor:pointer;list-style:none}.inventory-column-chooser summary::-webkit-details-marker{display:none}
.inventory-column-options{padding-top:16px}.inventory-column-options p{font-size:13px;color:var(--muted);margin:0 0 12px}.inventory-column-checks{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin-bottom:16px}.inventory-column-checks label{display:flex;align-items:center;gap:9px;font-size:14px;cursor:pointer}.inventory-column-checks input{width:18px;height:18px;margin:0;accent-color:var(--teal)}
#inventory-catalog [hidden]{display:none!important}
@media(max-width:600px){.inventory-column-chooser{padding:12px 16px}.inventory-column-checks{grid-template-columns:1fr}}

.inventory-op-filters{padding:20px;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px}.inventory-op-filters label,.inventory-op-save label{display:flex;flex-direction:column;gap:8px;font-size:14px}.inventory-operations input,.inventory-operations select,.inventory-op-save input{width:100%;padding:10px;border:1px solid var(--line);border-radius:6px;background:white;color:inherit}.inventory-operations td:last-child{min-width:200px}.inventory-op-note{padding:0 20px 20px;color:var(--muted);font-size:14px}.inventory-op-changed td{background:#f0f8f3}.inventory-op-save{padding:20px;margin-top:20px}.inventory-op-save>div{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}.inventory-op-save details{margin-top:16px}.inventory-op-save details p{margin:10px 0;font-size:14px}.inventory-op-save>p{margin-top:12px}
@media(max-width:640px){.inventory-operations table{min-width:0;width:100%;display:block}.inventory-operations thead{display:none}.inventory-operations tbody{display:block}.inventory-operations tr{display:block;padding:16px;border-top:1px solid var(--line)}.inventory-operations td{display:block;padding:5px 0;border:0;white-space:normal;overflow-wrap:anywhere}.inventory-operations td:last-child{min-width:0}.inventory-operations td:nth-child(3)::before{content:'Stock: ';color:var(--muted)}.inventory-operations td:nth-child(4)::before{content:'Current value: ';color:var(--muted)}.inventory-operations td:nth-child(5)::before{content:'New value';display:block;margin-bottom:6px;color:var(--muted);font-size:13px}.inventory-op-changed{background:#f0f8f3}}

#stock-report-table [hidden]{display:none!important}
@media print{#stock-report-columns,#stock-report-more{display:none!important}}

.order-entry-side{display:grid;gap:20px;min-width:0}.order-entry-side .entry-fields{grid-template-columns:minmax(0,1fr)}.order-entry-side .order-entry-summary{position:static}.order-entry-side .entry-fields label.wide{grid-column:auto}
@media(max-width:850px){.order-entry-main,.order-entry-side{display:contents}.order-entry-side>section.order-entry-panel{order:0}.order-entry-main>section{order:1}.order-entry-side>details{order:2}.order-entry-side>.order-entry-summary{order:3}}

.inline-price-list>label{display:block;padding:16px 20px;font-size:14px}.inline-price-list input{width:100%;padding:10px;border:1px solid var(--line);border-radius:6px;background:white;color:inherit}.inline-price-list [data-list-price]{min-width:140px}.inline-price-list>p,.inline-price-list>#price-list-more{margin:16px 20px}.inline-price-list [data-price-result]{white-space:normal;max-width:280px}
@media(max-width:640px){.inline-price-list table,.inline-price-list tbody{display:block;min-width:0;width:100%}.inline-price-list thead{display:none}.inline-price-list tr{display:block;padding:16px;border-top:1px solid var(--line)}.inline-price-list td{display:block;padding:6px 0;border:0;white-space:normal;overflow-wrap:anywhere}.inline-price-list td:nth-child(3)::before{content:'SKU: ';color:var(--muted)}.inline-price-list td:nth-child(4)::before{content:'List price (incl. GST)';display:block;color:var(--muted);margin-bottom:8px}.inline-price-list td:nth-child(5)::before{content:'Selling price: ';color:var(--muted)}.inline-price-list td:last-child .button{width:100%}}

.entry-price,.entry-price-excl,.entry-discount{width:105px;padding:8px;border:1px solid var(--line);border-radius:5px}.entry-discount{width:80px}

.order-edit-lines table{min-width:0;width:100%}.order-edit-lines th,.order-edit-lines td{padding:10px 5px;white-space:normal}.order-edit-lines th{font-size:10px;line-height:1.5}.order-edit-lines td:first-child{min-width:110px;max-width:160px;overflow-wrap:anywhere}.order-edit-lines .entry-price,.order-edit-lines .entry-price-excl{width:76px}.order-edit-lines .entry-discount{width:62px}.order-edit-lines .entry-quantity{width:58px}
@media(max-width:640px){.order-edit-lines table,.order-edit-lines tbody{display:block;width:100%}.order-edit-lines thead{display:none}.order-edit-lines tr{display:block;padding:14px 0;border-top:1px solid var(--line)}.order-edit-lines td{display:flex;justify-content:space-between;align-items:center;gap:12px;border:0;padding:6px 0}.order-edit-lines td:first-child{display:block;max-width:none;margin-bottom:12px}.order-edit-lines td::before{font-size:12px;color:var(--muted)}.order-edit-lines td:nth-child(2)::before{content:'Excl. Tax Price'}.order-edit-lines td:nth-child(3)::before{content:'Unit price (incl. GST)'}.order-edit-lines td:nth-child(4)::before{content:'GST rate'}.order-edit-lines td:nth-child(5)::before{content:'Discount %'}.order-edit-lines td:nth-child(6)::before{content:'Quantity'}.order-edit-lines td:nth-child(7)::before{content:'Line total'}.order-edit-lines input{width:110px!important}.order-edit-lines .table-scroll{overflow:visible}}

.inventory-filter-controls{display:flex;flex-wrap:wrap;align-items:end;gap:16px;padding:16px 20px}.inventory-filter-controls label{display:grid;gap:8px;min-width:180px;flex:1}.inventory-filter-controls select{padding:10px;border:1px solid var(--line);border-radius:6px;background:white;width:100%}.inventory-filter-controls p{margin-bottom:8px}.inventory-filter-controls small{flex-basis:100%;color:var(--muted)}#inventory-catalog input[type=checkbox]{width:18px;height:18px}

.inline-price-list [data-price-select],#price-select-loaded{width:18px;height:18px}.inline-price-list .inventory-filter-controls p{margin:0 0 8px}

.order-customer-results{display:grid;gap:8px;max-height:300px;overflow:auto}.order-customer-result{width:100%;min-width:0;cursor:pointer}.order-customer-result>span:first-child{min-width:0;overflow-wrap:anywhere}.order-customer-result>span:last-child{font-size:12px;color:var(--teal);flex-shrink:0}.order-customer-result:focus-visible{outline:2px solid var(--teal);outline-offset:-2px}.order-selected-customer{display:grid;gap:7px;padding:12px;background:#eaf5f2;border:1px solid var(--line);border-radius:7px;overflow-wrap:anywhere}.order-selected-customer small,.order-selected-customer span{font-size:12px;color:var(--muted)}

.inventory-op-batch-table{width:100%;min-width:0}.inventory-op-batch-table table{table-layout:fixed;min-width:0;width:100%}.inventory-op-batch-table th,.inventory-op-batch-table td{white-space:normal;overflow-wrap:anywhere;padding:16px;vertical-align:top}.inventory-op-batch-table th{font-size:11px;line-height:1.5}.inventory-op-batch-table th:nth-child(1){width:34%}.inventory-op-batch-table th:nth-child(2){width:36%}.inventory-op-batch-table th:nth-child(3){width:30%}.inventory-op-batch-table td:last-child{min-width:0}.inventory-op-batch-label{display:grid;gap:8px;min-width:0;font-size:13px}.inventory-op-batch-table select,.inventory-op-batch-table input{min-width:0;max-width:100%;font-size:14px}.inventory-op-batch-table select{text-overflow:ellipsis}.inventory-op-current{display:grid;gap:5px;margin-top:12px}.inventory-op-batch-table small{white-space:normal;overflow-wrap:anywhere}.inventory-op-batch-table .table-scroll{max-width:100%}
@media(max-width:1100px){.inventory-op-batch-table table,.inventory-op-batch-table tbody{display:block;width:100%}.inventory-op-batch-table thead{display:none}.inventory-op-batch-table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;padding:18px;border-top:1px solid var(--line)}.inventory-op-batch-table td{display:block;border:0;min-width:0;padding:0}.inventory-op-batch-table td:first-child{grid-column:1/-1}.inventory-op-batch-table td::before{content:none!important}.inventory-op-batch-table .inventory-op-changed{background:#f0f8f3}}
@media(max-width:640px){.inventory-op-batch-table tr{grid-template-columns:minmax(0,1fr);gap:18px;padding:16px}.inventory-op-batch-table td:first-child{grid-column:auto}.inventory-op-batch-table input{min-height:44px}.inventory-op-batch-table select{min-height:44px}}

#modal:has(.order-detail-view){width:min(1120px,96vw);padding:24px;background:#f5f8fa}#fields>.form-note:has(.order-detail-view){background:transparent;padding:0;min-width:0}.order-detail-view{display:grid;gap:18px;min-width:0;font-size:14px;color:#263d44}.order-detail-hero{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:24px;border-radius:12px;background:linear-gradient(115deg,#e0f2ed,#f0f8f7);border:1px solid #cce4dc}.order-detail-hero small{font-size:10px;letter-spacing:1.5px;color:#34756a;font-weight:700}.order-detail-view .order-detail-hero h2{font-size:25px;letter-spacing:-.4px;margin:10px 0;overflow-wrap:anywhere}.order-detail-hero p{font-size:12px;color:#627d79;line-height:1.7}.order-detail-hero-actions{display:flex;flex-direction:column;align-items:flex-end;gap:14px}.order-detail-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.order-detail-metric{display:grid;gap:8px;border:1px solid var(--line);border-radius:10px;background:white;padding:20px;min-width:0}.order-detail-metric>span{font-size:12px;color:#778793}.order-detail-metric>strong{font-size:25px;color:#175d54;overflow-wrap:anywhere}.order-detail-metric>small{font-size:11px;color:#7d8d96}.order-detail-addresses{display:grid;grid-template-columns:1fr 1fr;gap:18px}.order-detail-card{background:white;border:1px solid var(--line);border-radius:10px;padding:20px;min-width:0;overflow-wrap:anywhere}.order-detail-view .order-detail-card h3{margin:0 0 16px;font-size:14px;color:#2b4949}.order-detail-card p{line-height:1.8;margin:10px 0;font-size:13px}.order-detail-card small{line-height:1.6}.order-detail-muted{color:#7c8b96}.order-detail-supply{display:grid;gap:5px;border-top:1px solid var(--line);padding-top:12px;margin-top:14px}.order-detail-section-heading{display:flex;gap:12px;justify-content:space-between;align-items:center;margin-bottom:16px}.order-detail-section-heading>span{font-size:12px;color:#819099}.order-detail-section-heading h3{margin:0!important}.order-detail-products .table-scroll{margin:0!important}.order-detail-products table{min-width:0;table-layout:fixed;width:100%}.order-detail-products td,.order-detail-products th{white-space:normal;padding:12px 8px;overflow-wrap:anywhere}.order-detail-products th{font-size:10px}.order-detail-products th:first-child{width:34%}.order-detail-products td:first-child{font-weight:600}.order-detail-products td small{font-weight:400}.order-detail-products tbody tr:hover{background:#f8fbfa}.order-detail-amounts dl{display:grid;grid-template-columns:1fr 1fr;column-gap:36px}.order-detail-amounts dl>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #eef2f4}.order-detail-amounts dt{color:#74858d;font-size:12px}.order-detail-amounts dd{margin:0;font-weight:600;white-space:nowrap}.order-detail-amounts dl>div:last-child{color:#175d54}.order-detail-view .lifecycle-summary{border:0;margin:0;padding:0}.order-detail-finance:empty{display:none}.order-detail-view .purchase-actions{margin:14px 0 0}.order-detail-notes p{white-space:pre-wrap}.order-detail-shipments{display:grid;gap:10px;margin-top:16px}.order-detail-shipments>div{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:12px;background:#f6faf9;border-radius:7px}.order-detail-shipments small{flex-basis:100%;color:#75858d}.order-detail-status{display:flex;justify-content:space-between;gap:20px;align-items:center}.order-detail-status label{min-width:200px}.order-dispatch-items{display:grid;gap:12px}.order-dispatch-items>div{padding:12px;background:#f8fafb;border-radius:7px}.order-dispatch-items span{float:right}.order-dispatch-items small{display:block}
@media(max-width:640px){#modal:has(.order-detail-view){padding:14px;max-height:94vh}.order-detail-view{gap:12px}.order-detail-hero{padding:18px;flex-direction:column;align-items:flex-start}.order-detail-hero-actions{align-items:flex-start;flex-direction:row;flex-wrap:wrap}.order-detail-metrics{grid-template-columns:1fr;gap:8px}.order-detail-metric{padding:14px;grid-template-columns:1fr auto}.order-detail-metric>small{grid-column:1/-1}.order-detail-metric>strong{font-size:20px}.order-detail-addresses,.order-detail-amounts dl{grid-template-columns:1fr}.order-detail-card{padding:16px}.order-detail-section-heading{align-items:flex-start;flex-direction:column}.order-detail-status{display:block}.order-detail-products table,.order-detail-products tbody{display:block}.order-detail-products thead{display:none}.order-detail-products tr{display:block;padding:12px 0;border-top:1px solid var(--line)}.order-detail-products td{display:flex;justify-content:space-between;gap:12px;border:0;padding:6px 0}.order-detail-products td:first-child{display:block;font-size:14px;margin-bottom:8px}.order-detail-products td:nth-child(2)::before{content:'Quantity'}.order-detail-products td:nth-child(3)::before{content:'Unit price'}.order-detail-products td:nth-child(4)::before{content:'GST rate'}.order-detail-products td:nth-child(5)::before{content:'Included GST'}.order-detail-products td:nth-child(6)::before{content:'Product total'}.order-detail-products td::before{color:#7b8c93;font-weight:400}.order-detail-products td:nth-child(3){flex-wrap:wrap}.order-detail-products td:nth-child(3) small{flex-basis:100%;text-align:right}}

.product-entry-panel [name=backorder_max],.product-entry-panel [name=restock_date],.order-entry-summary select{width:100%;padding:10px;border:1px solid var(--line);border-radius:6px;margin-top:8px;background:white}.product-entry-panel [data-backorder-type],.product-entry-panel [name=backorder_enabled]{width:18px;min-width:18px}.order-entry-summary .notice{font-size:12px}

.backorder-queue table{min-width:0;table-layout:fixed;width:100%}.backorder-queue th,.backorder-queue td{white-space:normal;overflow-wrap:anywhere;padding:14px 12px}.backorder-queue th:nth-child(1){width:21%}.backorder-queue th:nth-child(2){width:25%}.backorder-queue th:nth-child(3){width:17%}.backorder-queue th:nth-child(4){width:17%}.backorder-queue th:nth-child(5){width:20%}.backorder-queue .button{white-space:normal;max-width:100%;line-height:1.5;font-size:12px}.backorder-queue td>strong{display:block;color:#936524;margin-top:8px}
@media(max-width:700px){.backorder-queue table,.backorder-queue tbody{display:block;width:100%}.backorder-queue thead{display:none}.backorder-queue tr{display:grid;gap:12px;padding:18px;border-top:1px solid var(--line)}.backorder-queue td{display:block;border:0;padding:0}.backorder-queue td:nth-child(3)::before{content:'Estimated restock: ';color:var(--muted)}.backorder-queue td .button{width:100%;min-height:44px}}

/* Backorder purchase preview keeps quantities readable on narrow dialogs. */
#backorder-purchase-preview{min-width:0;overflow-wrap:anywhere}
.backorder-purchase-row{border-top:1px solid var(--border,#dce8e7);padding:14px 0;min-width:0}
.backorder-purchase-row small{display:block;margin-top:4px}
.backorder-purchase-row dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0 0}
.backorder-purchase-row dt{font-size:11px;line-height:1.4}
.backorder-purchase-row dd{font-size:16px;font-weight:600;margin:4px 0 0}

.outgoing-brand-picker{min-width:0;border:1px solid var(--border,#dce8e7);border-radius:10px;padding:14px}
.outgoing-brand-picker[hidden],.outgoing-brand-list label[hidden]{display:none!important}
.outgoing-brand-list{max-height:220px;overflow:auto;margin-top:12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.outgoing-brand-list label{min-width:0;overflow-wrap:anywhere}
@media(max-width:600px){.outgoing-brand-list{grid-template-columns:minmax(0,1fr)}}

.inventory-sku-generator{border:1px solid var(--border,#dce8e7);border-radius:12px;padding:18px;margin:18px 0;background:var(--surface,#fff)}
.inventory-sku-generator h2{margin:0 0 8px;font-size:17px}
.inventory-sku-generator .inventory-op-filters{margin:14px 0;grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:600px){.inventory-sku-generator .inventory-op-filters{grid-template-columns:minmax(0,1fr)}.inventory-sku-generator .button{max-width:100%;white-space:normal}}

.product-pack-row{min-width:0;border:1px solid var(--line);border-radius:10px;margin:12px 0;padding:14px}
.packaging-scanner{border:1px solid var(--line);border-radius:10px;padding:14px;margin:12px 0;min-width:0}
.packaging-scanner label{display:block;margin:10px 0}.packaging-scanner input{width:100%;min-width:0}.packaging-scanner [data-pack-message]{overflow-wrap:anywhere}.packaging-scanner .button{max-width:100%;white-space:normal}

@media(max-width:640px){.inventory-box-barcodes td:nth-child(2)::before{content:'Piece barcode: ';color:var(--muted)}.inventory-box-barcodes td:nth-child(3)::before{content:'Box / carton barcodes';display:block;margin-bottom:6px;color:var(--muted)}.inventory-box-barcodes td:nth-child(4)::before{content:''}}

/* The box barcode editor occupies the full dialog, independent of generic form grids. */
#modal.box-barcodes-dialog{width:min(860px,95vw)}
#modal.box-barcodes-dialog #fields{grid-template-columns:minmax(0,1fr)}
.box-barcodes-editor{min-width:0;width:100%}
.box-product-context{padding:18px 20px;background:#f3f8f7;border:1px solid #dcebe7;border-radius:10px;margin-bottom:18px}
.box-product-context h3{font-size:18px;line-height:1.45;margin:0 0 14px;overflow-wrap:anywhere}
.box-product-context dl{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:16px;margin:0}
.box-product-context dt{font-size:12px;color:var(--muted);margin-bottom:4px}
.box-product-context dd{font-size:14px;font-weight:600;margin:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.box-barcodes-editor .product-entry-panel{width:100%;min-width:0;padding:20px}
.box-barcodes-editor .product-pack-row{padding:16px;margin:18px 0}
.box-barcodes-editor .product-entry-fields{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr) minmax(110px,.6fr);gap:16px}
.box-barcodes-editor .product-entry-fields label{min-width:0;line-height:1.5}
.box-barcodes-editor .product-entry-fields input{min-width:0;min-height:44px}
.box-barcodes-editor .product-pack-row .text-link{display:block;margin-top:14px;font-size:13px}
#modal.box-barcodes-dialog .modal-actions{position:sticky;bottom:-24px;background:#fff;padding:14px 0 4px;border-top:1px solid var(--line);z-index:1}
@media(max-width:800px){.box-barcodes-editor .product-entry-fields{grid-template-columns:minmax(0,1fr)}}
@media(max-width:480px){#modal.box-barcodes-dialog{padding:18px}.box-product-context{padding:14px}.box-product-context dl{grid-template-columns:minmax(0,1fr);gap:12px}.box-barcodes-editor .product-entry-panel{padding:14px}.box-barcodes-editor .product-pack-row{padding:12px}#modal.box-barcodes-dialog .modal-actions{bottom:-18px}}

.qr-label-settings{padding:20px;margin-bottom:20px}.qr-label-settings h2{margin-bottom:12px}.qr-label-settings .inventory-op-filters{padding:0;margin:14px 0}.qr-label-settings input,.qr-label-settings select{width:100%;min-width:0;padding:10px;border:1px solid var(--line);border-radius:6px;background:white}.qr-label-settings .entry-hint{margin:12px 0}.qr-label-products [data-qr-count]{max-width:110px;width:100%;padding:9px;border:1px solid var(--line);border-radius:6px}.qr-label-products [data-qr-select]{width:18px;height:18px}#qr-summary{font-weight:600;margin:12px 0;color:#244d45}#qr-samples{display:flex;gap:14px;flex-wrap:wrap;margin-top:14px;overflow:auto}#qr-samples .qr-label{width:var(--label-width);height:var(--label-height);display:flex;align-items:center;padding:2mm;gap:1.5mm;border:1px dashed #a7b6b1;border-radius:var(--label-radius,0);background:white;flex-shrink:0;overflow:hidden}#qr-samples svg{width:var(--qr-size);height:var(--qr-size);flex:0 0 var(--qr-size)}#qr-samples .qr-label-text{min-width:0;font-family:Arial,sans-serif;color:#000;font-size:8pt;overflow:hidden}#qr-samples .qr-label-text strong{font-size:9pt;line-height:1.2;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}#qr-samples small{display:block;font-size:7pt;margin-top:1mm}#qr-samples b{font-size:8pt;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
@media(max-width:640px){.qr-label-settings{padding:16px}.qr-label-settings .purchase-actions{flex-wrap:wrap}.qr-label-products table,.qr-label-products tbody,.qr-label-products tr,.qr-label-products td{display:block;min-width:0!important}.qr-label-products thead{display:none}.qr-label-products tr{padding:14px;border-top:1px solid var(--line)}.qr-label-products td{border:0;padding:5px 0;white-space:normal;overflow-wrap:anywhere}.qr-label-products td:nth-child(3)::before{content:'Source quantity: ';color:var(--muted)}.qr-label-products td:nth-child(4)::before{content:'Labels: ';color:var(--muted)}}

.qr-label-settings .inventory-op-filters[hidden]{display:none}

/* Outgoing-site setup keeps brand selection full width and initial sync visible. */
#modal.outgoing-site-dialog{width:min(860px,95vw)}
#modal.outgoing-site-dialog #fields{grid-template-columns:repeat(2,minmax(0,1fr))}
#modal.outgoing-site-dialog #fields>label{min-width:0}
#modal.outgoing-site-dialog .outgoing-brand-picker{grid-column:1/-1;margin:0;width:100%;padding:18px}
#modal.outgoing-site-dialog .outgoing-brand-picker legend{padding:0 6px;font-weight:600;color:#2c4949}
#modal.outgoing-site-dialog #outgoing-brand-search{width:100%;min-width:0;border:1px solid var(--line);border-radius:6px;padding:10px;font:inherit;font-size:14px}
#modal.outgoing-site-dialog .outgoing-brand-list{grid-template-columns:repeat(3,minmax(0,1fr));max-height:240px;gap:8px 14px}
#modal.outgoing-site-dialog .outgoing-brand-list label{padding:7px 5px;border-radius:5px}
#modal.outgoing-site-dialog .outgoing-brand-list label:hover{background:#f2f8f6}
#modal.outgoing-site-dialog .outgoing-help summary{cursor:pointer;color:#245f55;font-weight:600}
#modal.outgoing-site-dialog .outgoing-help p{font-size:12px;margin-top:10px;color:#647582}
#modal.outgoing-site-dialog .outgoing-save-hint{font-size:12px;margin-top:12px;color:#647582}
#modal.outgoing-site-dialog .modal-actions{position:sticky;bottom:-24px;background:white;border-top:1px solid var(--line);padding:14px 0 4px;z-index:1}
.outgoing-sync-tools{margin:20px 21px;padding:18px;border:1px solid #cfe5de;background:#f4faf7;border-radius:9px;display:grid;gap:12px}
.outgoing-sync-tools h3{font-size:15px;margin:0 0 6px;color:#245e53}
.outgoing-sync-tools p{font-size:12px}
.outgoing-sync-controls{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}
.outgoing-sync-controls label{flex:1;min-width:200px}
.outgoing-sync-controls select{margin-top:5px}
.outgoing-sync-controls .button{flex-shrink:0;min-height:42px}
.outgoing-site-actions{display:flex;flex-wrap:wrap;gap:6px;min-width:160px;max-width:230px}
@media(max-width:700px){#modal.outgoing-site-dialog .outgoing-brand-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){#modal.outgoing-site-dialog{padding:18px}#modal.outgoing-site-dialog #fields{grid-template-columns:minmax(0,1fr)}#modal.outgoing-site-dialog .outgoing-brand-list{grid-template-columns:minmax(0,1fr)}#modal.outgoing-site-dialog .modal-actions{bottom:-18px}.outgoing-sync-tools{margin:16px;padding:14px}.outgoing-sync-controls label,.outgoing-sync-controls .button{width:100%;min-width:0}.outgoing-sync-controls .button{flex-grow:1}}

#modal.outgoing-payload-dialog{width:min(1000px,95vw)}
#modal.outgoing-payload-dialog #fields{grid-template-columns:minmax(0,1fr)}
#modal.outgoing-payload-dialog .form-note{padding:0;background:transparent;min-width:0}
.outgoing-payload-context{padding:16px;background:#f1f8f5;border:1px solid #d6e8e1;border-radius:8px;overflow-wrap:anywhere}
.outgoing-payload-context strong{display:block;color:#245e53;font-size:16px}
.outgoing-payload-context small{display:block;font-size:12px;margin:6px 0;color:#647582}
.outgoing-payload-view .entry-hint{font-size:12px;margin:12px 0}
.outgoing-payload-view .table-scroll{max-height:380px;border:1px solid var(--line);border-radius:7px;margin-bottom:14px}
.outgoing-payload-view table{table-layout:fixed;white-space:normal}
.outgoing-payload-view td,.outgoing-payload-view th{padding:12px;overflow-wrap:anywhere}
.outgoing-payload-view th:first-child{width:25%}.outgoing-payload-view th:nth-child(2){width:40%}
#outgoing-payload-json{margin-top:18px;min-width:0}
#outgoing-payload-json summary{cursor:pointer;color:#245f55;font-weight:600}
#outgoing-payload-json pre{max-height:350px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}
#modal.outgoing-payload-dialog .modal-actions{position:sticky;bottom:-24px;background:white;padding:14px 0 4px;border-top:1px solid var(--line);z-index:1}
@media(max-width:480px){#modal.outgoing-payload-dialog{padding:18px}#modal.outgoing-payload-dialog .modal-actions{bottom:-18px}.outgoing-payload-view th,.outgoing-payload-view td{padding:8px;font-size:11px}.outgoing-payload-view th:first-child{width:23%}.outgoing-payload-view th:nth-child(2){width:34%}}

#modal.outgoing-payload-dialog .modal-actions [type=submit]{display:none!important}



.chart-legend{flex-wrap:wrap}.channel.shopkeeper:before{background:#53a8ba}

/* Pricing Calculator: form fields stay mounted while typing; only preview rows refresh. */
.pricing-controls{border:0;padding:0;margin:0;min-width:0}.pricing-setup{padding:24px;margin-bottom:20px}.pricing-setup h2{margin-bottom:16px}.pricing-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:16px 0}.pricing-rule-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:22px 0}.pricing-rule-card{border:1px solid var(--line,#e4e8ec);border-radius:12px;padding:16px;display:grid;gap:14px;background:#fafcfc}.pricing-check{display:flex;align-items:center;gap:9px}.pricing-check input[type=checkbox]{width:18px;height:18px;flex:0 0 18px;margin:0}.pricing-preset-actions,.pricing-preview-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:16px 0}.pricing-preset-actions span{margin-right:auto;color:#617780}.pricing-preview-panel{padding:24px;min-width:0}.pricing-preview-table{min-width:1050px}.pricing-preview-table td{vertical-align:top}.pricing-preview-table td:nth-child(2){min-width:190px}.pricing-preview-table td strong,.pricing-preview-table td small,.pricing-before{display:block}.pricing-before{font-size:12px;color:#76868d;text-decoration:line-through}.pricing-warning{color:#985300;font-weight:600}.pricing-apply-bar{border-top:1px solid #dce5e7;background:#f3faf8;border-radius:10px;padding:18px;margin-top:20px;display:flex;flex-wrap:wrap;align-items:center;gap:14px}.pricing-apply-bar p{margin:0}.pricing-apply-bar>small{width:100%;color:#617780}.pricing-apply-bar button{margin-left:auto}.pricing-setup label{min-width:0}.pricing-setup input,.pricing-setup select{width:100%;min-width:0}.pricing-setup .pricing-check input{width:18px}.pricing-preview-table td input[type=checkbox]{width:18px;height:18px}
@media(max-width:1100px){.pricing-rule-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pricing-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.pricing-setup,.pricing-preview-panel{padding:16px}.pricing-rule-grid,.pricing-filter-grid{grid-template-columns:1fr}.pricing-preset-actions>*{width:100%}.pricing-preview-table{min-width:0}.pricing-preview-table thead{display:none}.pricing-preview-table tbody,.pricing-preview-table tr,.pricing-preview-table td{display:block}.pricing-preview-table tr{border:1px solid #dce5e7;border-radius:10px;margin:14px 0;padding:12px}.pricing-preview-table td{border:0;padding:8px 0;min-width:0!important}.pricing-preview-table td:before{content:attr(data-label);display:block;font-size:12px;font-weight:600;color:#617780;margin-bottom:5px}.pricing-apply-bar button{width:100%;margin:0}.pricing-apply-bar .pricing-check{align-items:flex-start}.pricing-preview-panel .panel-heading{align-items:flex-start;gap:12px;flex-direction:column}}


/* Regular staff pages use the normal workspace and document scroll. */
.staff-editor-panel #editor{margin:0;min-width:0}.staff-editor-panel .modal-heading{display:none}.staff-editor-panel #fields{padding:24px;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;min-width:0}.staff-editor-panel #fields>*{min-width:0}.staff-editor-panel #fields>.wide{grid-column:1/-1}.staff-editor-panel #form-error{margin:0;padding:0 24px}.staff-editor-panel #form-error:not(:empty){padding:12px 24px}.staff-editor-panel .modal-actions{margin:0;padding:18px 24px;background:#fff;border-top:1px solid var(--line)}.staff-editor-panel:has(.order-detail-view){background:#f5f8fa}.staff-editor-panel #fields>.form-note:has(.order-detail-view){padding:0;background:transparent}.staff-editor-panel .table-scroll{max-width:100%}
@media(max-width:640px){.staff-editor-panel #fields{padding:18px 16px;grid-template-columns:minmax(0,1fr)}.staff-editor-panel .modal-actions{padding:14px 16px}.staff-editor-panel #form-error:not(:empty){padding:12px 16px}}
@media screen{html:has(dialog[open]){overflow:hidden}dialog{overscroll-behavior:contain}#modal #fields>.wide{grid-column:1/-1}}

.customer-import-panel{padding:24px}.customer-import-panel p{margin:12px 0;line-height:1.6}.customer-import-panel form{margin-top:24px;max-width:100%;min-width:0}.customer-import-panel input[type=file]{width:100%;max-width:100%}.customer-import-panel .table-scroll{max-width:100%}@media(max-width:640px){.customer-import-panel{padding:16px}}

.brand-term-actions{display:flex;flex-wrap:wrap;gap:8px;max-width:340px;white-space:normal}.brand-term-actions .button{margin:0}
/* Mobile administrator drawer dismissal mirrors the customer workspace. */
#admin-menu-close,#admin-menu-backdrop{display:none}#admin-menu-backdrop[hidden]{display:none!important}
@media(max-width:800px){
 #admin-menu-backdrop:not([hidden]){display:block;position:fixed;inset:0;width:100%;height:100%;padding:0;border:0;background:#17293765;z-index:4;cursor:pointer}
 #admin-menu-close{display:grid;place-items:center;position:absolute;top:8px;right:8px;width:40px;height:40px;font-size:28px}
 #sidebar>.brand{padding-right:30px}#sidebar>.brand .business-logo{max-width:140px}
 body.admin-menu-open{overflow:hidden}
}
@media print{#admin-menu-close,#admin-menu-backdrop{display:none!important}}

.email-history-filters{padding:22px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.email-history-search{grid-column:span 2}.email-history-filters label{display:flex;flex-direction:column;gap:8px;min-width:0;font-size:13px;color:var(--muted)}.email-history-filters input,.email-history-filters select{width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--ink);font:inherit}.email-history-filter-actions{grid-column:span 2;display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}.email-history-filter-actions .button{min-height:44px}.email-history-results{padding:0 22px 18px;color:var(--muted);font-size:13px}.email-history-panel .table-scroll{overflow-x:auto}.email-history-panel table{min-width:1050px}.email-history-panel td{vertical-align:top}.email-history-panel td:nth-child(1){min-width:220px;max-width:290px;overflow-wrap:anywhere}.email-history-panel td:nth-child(2){min-width:230px;max-width:350px;white-space:normal;overflow-wrap:anywhere}.email-history-panel td:nth-child(3){min-width:140px;white-space:normal}.email-history-panel td:last-child{min-width:230px;white-space:normal}.email-history-panel td:last-child span,.email-history-panel td small{display:block;margin-top:5px;line-height:1.5}.email-history-panel .product-page-footer{gap:15px;flex-wrap:wrap}
@media(max-width:800px){.email-history-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:16px}.email-history-search,.email-history-filter-actions{grid-column:1/-1}.email-history-results{padding:0 16px 16px}.email-history-filter-actions .button{flex:1 1 auto}.email-history-panel{min-width:0}}

@media(max-width:480px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stats .stat{min-width:0}.stats .stat-value{font-size:clamp(16px,4.8vw,24px);overflow-wrap:anywhere}}

.shipping-panel{min-width:0}.shipping-filters{display:grid;grid-template-columns:minmax(180px,2fr) minmax(140px,1fr) minmax(140px,1fr);gap:16px;padding:20px}.shipping-filters label{display:grid;gap:8px;min-width:0;font-size:13px;color:var(--muted)}.shipping-filters input,.shipping-filters select{width:100%;min-width:0;min-height:44px;border:1px solid var(--line);border-radius:7px;padding:10px 12px;font:inherit;background:#fff;color:var(--ink)}.shipping-selection{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:13px;color:var(--muted)}.shipping-selection>div{display:flex;gap:8px;flex-wrap:wrap}.shipping-panel input[type=checkbox]{width:20px;height:20px;accent-color:var(--teal);cursor:pointer}.shipping-panel table{min-width:1100px}.shipping-panel td{vertical-align:top}.shipping-panel td:nth-child(4){max-width:280px;white-space:normal}.shipping-panel small{line-height:1.5}.shipping-manifest{color:#111;font-family:Arial,sans-serif}.manifest-carrier{background:#fff;border:1px solid #333;padding:20px;margin:0 0 24px;min-width:0}.manifest-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:12px}.manifest-heading h2{font-size:20px;margin:0 0 12px}.manifest-heading p{font-size:12px;margin:0;color:#111}.manifest-heading .business-receipt-logo{max-width:140px;max-height:60px;object-fit:contain}.manifest-meta{display:grid;grid-template-columns:1fr 1fr;gap:12px 20px;margin:12px 0 20px;font-size:12px}.manifest-meta p{margin:0;overflow-wrap:anywhere;color:#111;font-size:12px}.manifest-meta p:nth-child(even){text-align:right}.shipping-manifest table{table-layout:fixed;width:100%;white-space:normal;min-width:0}.shipping-manifest th,.shipping-manifest td{padding:12px 6px;white-space:normal;overflow-wrap:anywhere;font-size:12px;vertical-align:middle;color:#111;background:#fff}.shipping-manifest th{font-weight:700;text-transform:none;letter-spacing:normal;border-bottom:1px solid #333}.shipping-manifest th:first-child{width:6%}.shipping-manifest th:nth-child(2){width:17%}.shipping-manifest th:nth-child(3){width:22%}.shipping-manifest th:nth-child(4){width:22%}.shipping-manifest th:nth-child(5){width:33%}.manifest-barcode{display:block;width:100%;height:48px;min-width:0}.manifest-barcode-unavailable{font-size:10px;color:#666}.manifest-pickup{margin-top:25px;break-inside:avoid}.manifest-pickup h3{font-size:15px;text-align:center;border-top:1px dashed #333;border-bottom:1px dashed #333;padding:10px;margin:0 0 18px}.manifest-pickup-reference{font-size:11px;color:#111;margin:0 0 14px}.manifest-pickup-fields{display:grid;gap:16px;font-size:12px}.manifest-pickup-fields>div{display:flex;gap:5px;align-items:baseline}.manifest-pickup-fields span{display:inline-block;border-bottom:1px solid #333;width:150px;max-width:45%;height:16px}.manifest-footer{text-align:center;font-size:12px;margin-top:25px;overflow-wrap:anywhere;break-inside:avoid}.manifest-footer p{margin:12px 0 0;color:#111;font-size:12px}.manifest-options{padding:16px;margin-bottom:20px}.manifest-options label{display:grid;gap:8px;max-width:480px}.manifest-options input{padding:10px;border:1px solid var(--line);border-radius:6px;font:inherit;width:100%}.manifest-options small{display:block;color:var(--muted);margin-top:8px}
@media(max-width:700px){.shipping-filters{grid-template-columns:1fr;padding:16px}.shipping-selection{align-items:flex-start;flex-direction:column;padding:16px}.manifest-carrier{padding:12px}.manifest-heading{gap:10px}.manifest-heading .business-receipt-logo{max-width:100px}.manifest-meta{grid-template-columns:1fr;gap:10px}.manifest-meta p:nth-child(even){text-align:left}.shipping-manifest .table-scroll{overflow-x:auto}.shipping-manifest table{min-width:680px}}
@media print{body:has(.shipping-manifest) .manifest-options{display:none}body:has(.shipping-manifest) .manifest-carrier{break-after:page;border:1px solid #333;padding:5mm;margin:0}body:has(.shipping-manifest) .manifest-carrier:last-child{break-after:auto}.shipping-manifest .manifest-meta{display:grid;grid-template-columns:1fr 1fr}.shipping-manifest .manifest-meta p:nth-child(even){text-align:right}.shipping-manifest .table-scroll{overflow:visible}.shipping-manifest table{min-width:0}.shipping-manifest th,.shipping-manifest td{font-size:10px;padding:10px 4px}.shipping-manifest .manifest-barcode{height:13mm}.shipping-manifest thead{display:table-header-group}.shipping-manifest tr{break-inside:avoid}.shipping-manifest .manifest-pickup{break-inside:avoid}.shipping-manifest .manifest-footer{break-inside:avoid}}


.quick-purchase-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:20px}.quick-purchase-grid>div{min-width:0}.quick-purchase-summary{align-self:start;position:sticky;top:90px;min-width:0}.quick-purchase-summary>p{font-size:12px;line-height:1.6;margin:12px 0}.quick-purchase-summary dl>div{display:flex;justify-content:space-between;gap:12px;margin:12px 0}.quick-purchase-summary dd{margin:0}.quick-purchase-summary>.button{width:100%;margin-top:10px;min-height:44px}.quick-purchase-summary h2{margin:0}.quick-purchase-products{min-width:0;margin-bottom:20px}.quick-purchase-filters{display:grid;grid-template-columns:1fr 1.5fr 1fr;gap:14px;padding:20px}.quick-purchase-filters label{min-width:0}.quick-purchase-filters input,.quick-purchase-filters select{width:100%;min-width:0;min-height:44px;border:1px solid var(--line);border-radius:7px;padding:10px;margin-top:8px;background:#fff;color:var(--ink);font:inherit}.quick-purchase-hint{padding:0 20px 18px;font-size:12px;color:var(--muted);line-height:1.6}.quick-purchase-table{min-width:750px}.quick-purchase-table td:first-child{white-space:normal;min-width:220px;max-width:340px;overflow-wrap:anywhere}.quick-purchase-table th,.quick-purchase-table td{padding:12px}.quick-purchase-table input,.quick-purchase-table select{min-height:44px;width:110px;border:1px solid var(--line);padding:8px;border-radius:6px;background:#fff;font-size:16px;color:var(--ink)}.quick-purchase-review{max-height:310px;overflow:auto}.quick-purchase-review>div{display:flex;gap:10px;align-items:flex-start;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--line)}.quick-purchase-review span{min-width:0;overflow-wrap:anywhere}.quick-purchase-review strong{font-size:12px}.quick-purchase-review small{display:block;font-size:11px;line-height:1.5;color:var(--muted);margin-top:4px}.quick-purchase-review button{font-size:11px;padding:4px;min-height:30px}.quick-purchase-summary .error{color:#ab4138}
@media(max-width:1100px){.quick-purchase-grid{grid-template-columns:minmax(0,1fr)}.quick-purchase-summary{position:static}.quick-purchase-filters{grid-template-columns:1fr 1fr}.quick-purchase-filters label:nth-child(2){grid-column:span 2;grid-row:2}}
@media(max-width:600px){.quick-purchase-filters{grid-template-columns:minmax(0,1fr);padding:16px}.quick-purchase-filters label:nth-child(2){grid-column:auto;grid-row:auto}.quick-purchase-hint{padding:0 16px 16px}.quick-purchase-table{min-width:0;white-space:normal}.quick-purchase-table thead{display:none}.quick-purchase-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:16px;border-bottom:1px solid var(--line)}.quick-purchase-table td{padding:0;border:0;min-width:0!important;max-width:none!important}.quick-purchase-table td:first-child{grid-column:1/-1}.quick-purchase-table td:not(:first-child)::before{content:attr(data-label);display:block;font-size:11px;color:var(--muted);margin-bottom:5px}.quick-purchase-table input,.quick-purchase-table select{width:100%;max-width:180px}.quick-purchase-grid .purchase-panel{padding:16px}}

.carrier-editor{display:grid;grid-template-columns:minmax(0,2fr) minmax(140px,1fr) auto;gap:16px;align-items:end}.carrier-editor label{min-width:0}.carrier-editor input,.carrier-editor select{width:100%;box-sizing:border-box}.carrier-editor-actions{display:flex;gap:8px;flex-wrap:wrap}.carrier-editor .error{grid-column:1/-1;margin:0}@media(max-width:640px){.carrier-editor{grid-template-columns:minmax(0,1fr)}.carrier-editor-actions .button{flex:1}}

.carrier-editor input,.carrier-editor select{display:block;margin-top:8px;padding:10px 12px;min-height:44px;border:1px solid var(--line);border-radius:7px;background:white}#carrier-directory table{min-width:0;width:100%}#carrier-directory td:first-child{overflow-wrap:anywhere}@media(max-width:640px){#carrier-directory thead{display:none}#carrier-directory table,#carrier-directory tbody{display:block;min-width:0;width:100%}#carrier-directory tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:16px;border-bottom:1px solid var(--line)}#carrier-directory td{display:block;padding:0;border:0;min-width:0}#carrier-directory td:first-child{grid-column:1;grid-row:1;font-weight:600}#carrier-directory td:nth-child(2){grid-column:1;grid-row:2}#carrier-directory td:last-child{grid-column:2;grid-row:1/3;align-self:center}}

.carrier-form-panel{padding:20px}#carrier-directory>h3{padding:20px 20px 0}@media(max-width:640px){.carrier-form-panel{padding:16px}#carrier-directory>h3{padding:16px 16px 0}}

.brand-vendor-panel{margin-bottom:24px;scroll-margin-top:90px}.brand-vendor-panel .product-entry-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.brand-vendor-panel select{width:100%;min-width:0}.brand-vendor-panel p{overflow-wrap:anywhere}#brand-vendor-preview:not(:empty){padding:12px;background:#edf7f4;border-radius:8px;font-weight:600}@media(max-width:760px){.brand-vendor-panel .product-entry-fields{grid-template-columns:1fr}.brand-vendor-panel{padding:16px}.brand-vendor-panel .brand-term-actions{flex-wrap:wrap}}

/* WhatsApp configuration: scoped card layout and spacing. */
.wa-workspace{max-width:1360px;margin:0 auto}.wa-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 24px}.wa-overview>div{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid #dfe8e6;border-radius:12px;padding:18px 20px}.wa-step{display:grid;place-items:center;flex:0 0 36px;height:36px;background:#e8f5f0;color:#147d73;border-radius:10px;font-size:15px;font-weight:700}.wa-overview>div>span:last-child{font-size:12px;color:#74818b;line-height:1.5}.wa-overview strong{display:block;font-size:14px;color:#253c3d;margin-top:3px}.wa-setup-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:24px;align-items:start}.wa-panel{padding:26px;margin-bottom:24px;scroll-margin-top:90px;border:1px solid #dfe6e8;border-radius:14px;box-shadow:0 3px 14px #183c3b05;min-width:0}.wa-panel>.panel-heading{padding:0 0 18px;margin-bottom:18px;gap:12px;align-items:center;border-bottom:1px solid #e7eeec}.wa-kicker{display:block;font-size:10px;font-weight:700;letter-spacing:1.6px;color:#147d73;margin-bottom:6px}.wa-panel h2{font-size:18px;line-height:1.4}.wa-panel h3{margin:24px 0 12px}.wa-panel p{font-size:14px;line-height:1.65;overflow-wrap:anywhere;color:#687d83;margin:0 0 18px}.wa-panel label{display:grid;gap:8px;min-width:0;line-height:1.5;font-weight:500;color:#41585f}.wa-panel input:not([type=checkbox]){width:100%;min-width:0;min-height:44px;box-sizing:border-box;margin:0;padding:11px 12px;border-color:#d7e3e1;border-radius:8px}.wa-panel input[readonly]{background:#f6faf9;font-size:13px}.wa-panel input:focus{outline:2px solid #8bd1c7;outline-offset:1px}.wa-config-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 18px;margin:24px 0}.wa-panel small{display:block;color:#7a8b8d;font-size:12px;line-height:1.5;font-weight:400}.wa-enable-block{background:#f0f8f5;border:1px solid #d8ebe4;border-radius:10px;padding:16px;margin:8px 0 18px}.wa-panel .lifecycle-check{display:flex;align-items:flex-start;gap:10px;color:#254a43;font-weight:600}.wa-panel .lifecycle-check input{width:18px;min-width:18px;height:18px;margin:2px 0 0;accent-color:#147d73}.wa-enable-block p{margin:7px 0 0 28px;font-size:12px}.wa-panel .form-note{padding:14px 16px;background:#f5f8fa;border-radius:9px;font-size:12px;line-height:1.65}.wa-save-bar{padding-top:18px;border-top:1px solid #e7eeec;display:flex;justify-content:flex-end}.wa-panel .button{min-height:42px;border-radius:8px}.wa-panel .error{color:#b34747}.wa-panel .error:empty,#wa-action-status:empty{display:none}.wa-health{margin:22px 0;background:#f8fafb;border:1px solid #e7edee;border-radius:10px;padding:0 16px}.wa-health>div{display:grid;grid-template-columns:minmax(100px,.8fr) minmax(0,1fr);gap:12px;padding:14px 0;border-bottom:1px solid #e7edee}.wa-health>div:last-child{border-bottom:0}.wa-health dt{color:#75868c;font-size:12px;line-height:1.5}.wa-health dd{margin:0;overflow-wrap:anywhere;font-size:13px;color:#304f4d;line-height:1.5}.wa-actions{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.wa-actions .button{flex:1 1 140px;font-size:12px}.wa-health-panel>label{margin-bottom:16px}.wa-queue-summary{display:flex;flex-wrap:wrap;gap:8px}.wa-queue-summary>span{background:#edf4f2;border:1px solid #dbe8e3;padding:7px 10px;border-radius:7px;font-size:12px;color:#4b6964}.wa-queue-summary strong{margin-left:5px}.wa-panel .table-wrap{max-width:100%;overflow:auto;border:1px solid #e8edee;border-radius:10px;margin:18px 0}.wa-message{border:1px solid #e0e8e6;border-radius:10px;padding:16px;margin:12px 0}.wa-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0}.wa-empty{text-align:center;padding:24px;color:#788b8a;font-size:14px;line-height:1.6}
@media(max-width:1200px){.wa-setup-layout{grid-template-columns:1fr}.wa-overview>div{padding:14px}.wa-health>div{grid-template-columns:180px minmax(0,1fr)}}
@media(max-width:700px){.wa-overview{gap:8px;margin-bottom:18px}.wa-overview>div{align-items:flex-start;flex-direction:column;padding:12px;gap:9px}.wa-overview strong{font-size:12px}.wa-overview>div>span:last-child{font-size:11px}.wa-step{flex-basis:auto;width:28px;height:28px;font-size:12px}.wa-panel{padding:18px;border-radius:12px;margin-bottom:18px}.wa-setup-layout{gap:0}.wa-config-grid{grid-template-columns:1fr;gap:18px;margin:20px 0}.wa-panel>.panel-heading{padding-bottom:16px;margin-bottom:16px}.wa-panel h2{font-size:17px}.wa-health>div{grid-template-columns:1fr;gap:5px}.wa-save-bar .button{width:100%}.wa-actions .button{flex-basis:100%}.wa-enable-block{padding:14px}.wa-panel .table-wrap{margin:16px 0}}

.wa-test-fields{border:0;padding:0;margin:0;min-width:0}.wa-test-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:22px 0}.wa-test-panel select{margin:0;min-height:44px;border-radius:8px}.wa-test-field[hidden],.wa-test-panel [hidden]{display:none}.wa-test-consent{margin:16px 0}.wa-test-result{padding:16px;border:1px solid #d3e7df;border-radius:10px;background:#eff8f3;color:#285849;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.6}.wa-test-result[data-status=Failed]{background:#fff4f2;border-color:#edcec7;color:#a34236}.wa-test-result[data-status=Review],.wa-test-result[data-status=Sending]{background:#fff9eb;border-color:#ebd8a5;color:#825c21}@media(max-width:1100px){.wa-test-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.wa-test-grid{grid-template-columns:1fr}.wa-test-panel .wa-actions{flex-direction:column}.wa-test-panel .wa-actions .button{flex-basis:auto;width:100%}}

.wa-test-panel button:disabled{opacity:.5;cursor:not-allowed}

/* View Settings: consistent card spacing, padded content and wrapping actions. */
.settings-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;min-width:0;align-items:start}
.settings-layout .panel{min-width:0;margin:0;border:1px solid #e0e8e6;border-radius:10px;overflow:hidden;box-shadow:0 2px 6px #1e514006}
.settings-workspace-bar,.settings-profile-card,.settings-invoice-card,.settings-controls-card{grid-column:1/-1}
.settings-workspace-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:#eaf5f2;border:1px solid #d6e8e2;border-radius:9px;font-size:13px;color:#34665c}
.settings-workspace-bar>div{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;min-width:0}
.settings-workspace-bar>div>span:last-child{color:#52756e;font-size:12px}
.settings-status-dot{width:8px;height:8px;background:var(--green);border-radius:50%;flex-shrink:0}
.settings-workspace-bar .button{background:#ffffffad;font-size:12px;padding:6px 10px;flex-shrink:0}
.settings-layout .panel-heading{padding:14px 18px;align-items:center;flex-wrap:wrap;gap:8px 10px;background:#fcfdfd;border-bottom:1px solid #e8eeec}
.settings-layout .panel-heading>h2{flex:1 1 180px;min-width:0}
.settings-layout .panel-heading>div:not(.business-branding-preview){flex:1 0 100%;min-width:0}
.settings-layout .panel-heading h2{margin:0;font-size:15px;line-height:1.4;color:#244d45}
.settings-layout .panel-heading p{margin:4px 0 0;font-size:12px;line-height:1.5;color:var(--muted)}
.settings-layout .panel-heading .button{min-height:32px;padding:6px 10px;font-size:12px;white-space:normal;text-align:center}
.settings-layout .receipt{padding:16px 18px;min-width:0;line-height:1.5}
.settings-layout .receipt p{font-size:13px;line-height:1.55;margin:0 0 10px;overflow-wrap:anywhere}
.settings-layout .receipt p:last-child{margin-bottom:0}
.settings-layout .receipt dl{display:grid;margin:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px}
.settings-layout .receipt dl+p{margin-top:14px}
.settings-layout .receipt p+dl{margin-top:12px;margin-bottom:12px}
.settings-layout .receipt dl>div{min-width:0}
.settings-layout .receipt dt{font-size:11px;line-height:1.4;color:#7a8985;margin-bottom:3px}
.settings-layout .receipt dd{font-size:13px;font-weight:500;line-height:1.5;overflow-wrap:anywhere;margin:0;color:#263d37}
.settings-layout .settings-profile-card dl,.settings-layout .settings-controls-card dl{grid-template-columns:repeat(4,minmax(0,1fr))}
.settings-layout .settings-invoice-card dl{grid-template-columns:repeat(3,minmax(0,1fr))}
.settings-layout .settings-address{grid-column:1/-1}
.settings-layout .business-branding-preview{display:flex;align-items:center;gap:12px;margin:0;flex:0 1 auto;font-size:11px;color:#8a9994}
.settings-layout .business-branding-preview img{max-width:130px;max-height:38px;object-fit:contain}
.settings-layout .business-branding-preview .business-favicon-preview{width:24px;height:24px}
.settings-layout .settings-controls-card .receipt>a{display:inline-block;font-size:12px;line-height:1.6;color:var(--green);margin-top:6px}
@media(max-width:1100px){.settings-layout{grid-template-columns:minmax(0,1fr)}.settings-layout .settings-profile-card dl,.settings-layout .settings-controls-card dl{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.settings-layout{gap:12px}.settings-layout .panel-heading{padding:12px 14px}.settings-layout .receipt{padding:12px 14px}.settings-layout .settings-invoice-card dl{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-workspace-bar{align-items:flex-start;flex-wrap:wrap;padding:12px 14px}.settings-workspace-bar>div>span:last-child{flex-basis:100%;margin-left:20px}.settings-workspace-bar .button{margin-left:20px}}
@media(max-width:480px){.settings-layout .receipt dl,.settings-layout .settings-profile-card dl,.settings-layout .settings-invoice-card dl,.settings-layout .settings-controls-card dl{grid-template-columns:minmax(0,1fr);gap:0}.settings-layout .receipt dl>div{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.25fr);gap:10px;border-bottom:1px solid #edf1ef;padding:8px 0}.settings-layout .receipt dl>div:last-child{border-bottom:0}.settings-layout .receipt dt{font-size:12px;margin:0}.settings-layout .receipt dd{font-size:12px}.settings-layout .panel-heading .button{min-height:40px}.settings-layout .settings-profile-card .panel-heading{flex-wrap:nowrap}.settings-layout .settings-profile-card .panel-heading>h2{flex-basis:auto}.settings-layout .business-branding-preview img{max-width:90px;max-height:30px}}


.wa-notice-type{min-width:0;padding:18px;border:1px solid var(--line);border-radius:8px;margin:0}.wa-notice-type legend{padding:0 6px;font-weight:600}.wa-notice-type>label{margin:12px 0}.wa-template-help{margin:24px 0;padding:18px;background:#f5f8fa;border:1px solid var(--line);border-radius:8px}.wa-template-help summary{cursor:pointer;font-weight:600}.wa-template-help pre{white-space:pre-wrap;overflow-wrap:anywhere;padding:14px;background:white;border:1px solid var(--line);border-radius:6px;font-size:12px;line-height:1.7}.wa-template-help h3{margin-top:20px}#wa-notice-result{white-space:pre-wrap;overflow-wrap:anywhere}#wa-notification-panel>.panel-heading{margin:0 0 18px}#wa-notice-history{margin-top:18px}#wa-notice-history table{min-width:850px}#wa-notice-history td{white-space:normal;min-width:110px;max-width:320px;overflow-wrap:anywhere}#wa-notice-history td small{display:block;margin-top:5px}

.wa-notice-type .lifecycle-check{display:flex;flex-direction:row;align-items:center}.wa-notice-type .lifecycle-check input{width:16px;min-height:16px;flex:0 0 16px}.wa-notice-filter{display:flex;flex-direction:column;gap:8px;max-width:300px}.wa-notice-filter select{min-height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:7px;background:white;color:var(--ink);font:inherit}

#wa-notice-form .wa-save-bar{gap:10px;flex-wrap:wrap}@media(max-width:600px){#wa-notice-form .wa-save-bar{display:grid;grid-template-columns:minmax(0,1fr)}#wa-notice-form .wa-save-bar .button{width:100%;min-height:44px}}

.wa-shopping-guide{padding:14px 16px;margin:0 0 20px;background:#f4f9f7;border:1px solid #dce9e4;border-radius:10px}.wa-shopping-guide summary{cursor:pointer;font-weight:600;color:#276c62;line-height:1.5}.wa-shopping-guide[open] summary{margin-bottom:14px}.wa-shopping-guide p:last-child{margin-bottom:0}

.wa-growth-section{border-top:1px solid var(--line);padding:18px 0}.wa-growth-section>summary{cursor:pointer;font-weight:600;color:var(--ink);font-size:16px;padding:8px 0}.wa-growth-section[open]>summary{margin-bottom:16px}.wa-growth-section form{margin:18px 0;display:grid;gap:14px}.wa-growth-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.wa-growth-section select,.wa-growth-section textarea{width:100%;box-sizing:border-box;min-width:0;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);font:inherit}.wa-growth-section .wa-growth-check{display:flex;align-items:center;gap:10px}.wa-growth-example{white-space:pre-wrap;overflow-wrap:anywhere;padding:16px;background:#f3f8f7;border-radius:8px}.wa-growth-section .table-wrap{max-width:100%;overflow:auto;margin:18px 0}.wa-growth-section table{min-width:700px}.wa-growth-section td{white-space:normal;min-width:80px;max-width:350px;overflow-wrap:anywhere}.wa-growth-section td small{display:block}.wa-growth-metrics{display:flex;gap:18px;flex-wrap:wrap;margin:20px 0}.wa-growth-metrics>div{display:grid;gap:8px;padding:18px;background:#edf7f4;border-radius:10px;min-width:160px}.wa-growth-metrics strong{font-size:28px}.wa-growth-metrics span{font-size:13px}@media(max-width:650px){.wa-growth-fields{grid-template-columns:minmax(0,1fr)}.wa-growth-section>.button,.wa-growth-section form>.button{width:100%}}

.wa-growth-section input[type=checkbox]{width:18px;min-width:18px;height:18px;min-height:18px;flex:0 0 18px;margin:0}

#customer-merge-form .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:20px}#customer-merge-form label{display:block;margin:16px 0}#customer-merge-form select,#customer-merge-form input:not([type=checkbox]){width:100%;margin-top:8px}#customer-merge-form .merge-check{display:flex;gap:10px;align-items:flex-start}#customer-merge-form .merge-check input{flex:none;margin-top:4px}#merge-result table{min-width:450px}#merge-result{margin-top:24px}#merge-result p{overflow-wrap:anywhere}@media(max-width:650px){#customer-merge-form .form-grid{grid-template-columns:1fr;gap:0}}
#customer-merge-form .merge-check{flex-direction:row;justify-content:flex-start;line-height:1.6;font-size:14px}#customer-merge-form .merge-check input[type=checkbox]{width:18px;min-width:18px;max-width:18px;height:18px;padding:0}#merge-candidates{max-height:340px;overflow:auto;margin:16px 0}

.merge-profiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:16px 0}.merge-profiles section{padding:16px;background:#f5f8f9;border:1px solid var(--line);border-radius:8px;min-width:0}.merge-profiles h4{margin:0 0 12px;font-size:13px;color:var(--green)}#merge-result table{min-width:0}#merge-result td,#merge-result th{white-space:normal;overflow-wrap:anywhere}@media(max-width:650px){.merge-profiles{grid-template-columns:1fr}}
.customer-brand-fields{border:1px solid var(--line);border-radius:10px;padding:20px;margin-top:20px}.customer-brand-fields>p{margin:10px 0}.customer-brand-fields>input{margin:12px 0}.customer-brand-checks{max-height:290px;overflow:auto;border:1px solid var(--line);border-radius:8px;margin:14px 0;padding:8px}.customer-brand-checks label{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:10px;padding:9px!important;margin:0!important;min-width:0}.customer-brand-checks label[hidden]{display:none!important}.customer-brand-checks input[type=checkbox]{width:18px!important;min-width:18px;height:18px;margin:2px 0 0;padding:0;flex:none}.customer-brand-checks span{min-width:0;overflow-wrap:anywhere;font-size:14px}.customer-brand-checks small{display:block;color:var(--muted);margin-top:4px}.brand-access-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px}.brand-access-columns input[type=search],.brand-access-columns select{width:100%;margin:12px 0}.brand-access-columns section{min-width:0}#customer-brands-form>.heading-actions{margin:20px 0}#customer-brands-result h3{margin-top:24px}@media(max-width:650px){.brand-access-columns{grid-template-columns:1fr}.customer-brand-fields{padding:14px}}
.brand-access-columns input[type=search],#customer-brand-search{min-height:44px;border:1px solid #dfe5ec;border-radius:8px;padding:10px 12px;background:#fff;color:inherit;max-width:100%}
#order-merge-form>label,#order-merge-form .brand-access-columns label{display:block;margin:16px 0}#order-merge-form select,#order-merge-form input[type=number]{width:100%;margin-top:8px;padding:10px;border:1px solid var(--line);border-radius:6px}#order-merge-result{margin-top:24px}#order-merge-form .order-merge-confirm{display:flex;flex-direction:row;align-items:flex-start;gap:10px;margin:18px 0}#order-merge-form .order-merge-confirm input{width:18px;min-width:18px;height:18px;flex:none;margin-top:3px}
.sales-sort{display:inline-flex;align-items:center;gap:6px;padding:4px 0;border:0;background:transparent;color:inherit;font:inherit;text-transform:inherit;letter-spacing:inherit;white-space:nowrap}.sales-sort span{font-size:14px;line-height:1;color:#96a4b0}.sales-sort:hover,.sales-sort.active{color:var(--green)}.sales-sort.active span{color:var(--green)}.sales-sort:focus-visible{outline:2px solid #147d73;outline-offset:4px;border-radius:2px}

/* Font-independent sidebar sign-out icon. */
.sidebar-bottom #logout{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:36px;height:36px}.sidebar-bottom #logout svg{display:block;width:20px;height:20px;flex-shrink:0}

.mrp-importer-summary{display:grid;gap:6px;padding:14px;background:#f3f8f6;border:1px solid var(--line);border-radius:8px;overflow-wrap:anywhere}.mrp-importer-summary small{color:var(--muted);line-height:1.5}

#label-print-settings-form .inventory-op-filters{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}@media(max-width:600px){#label-print-settings-form .inventory-op-filters{grid-template-columns:minmax(0,1fr)}}

.inventory-op-net{display:grid;grid-template-columns:minmax(95px,1fr) minmax(80px,1fr);gap:8px}.inventory-op-net label{display:flex;flex-direction:column;gap:6px;font-size:12px}.inventory-op-net input,.inventory-op-net select{min-width:0;width:100%}
