:root{--ink:#111827;--olive:#2563eb;--muted:#667085;--line:#e4e7ec;--paper:#f6f7f9;--white:#fff;--red:#b42318}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font:14px/1.5 'Segoe UI',Arial,sans-serif}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--olive);outline-offset:3px}[hidden]{display:none!important}button{color:inherit}h1,h2,h3,p{margin-top:0}h1{font-size:31px;font-weight:600;letter-spacing:-1px;margin-bottom:7px}h2{font-size:21px;font-weight:600;letter-spacing:-.4px}h3{font-size:15px;font-weight:600}.eyebrow{font-size:10px;font-weight:600;letter-spacing:1.9px;color:var(--muted);margin-bottom:12px}.muted{color:var(--muted)}.small{font-size:12px}.btn{border:1px solid var(--line);border-radius:7px;background:white;padding:10px 16px;font-size:12px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px}.btn:hover{background:#f2f4f7}.btn.primary{background:var(--ink);color:white;border-color:var(--ink)}.btn.primary:hover{background:#414a36}.btn.danger{color:var(--red);border-color:#eed1ce}.btn.small{min-height:32px;padding:6px 11px}.text-button{border:0;background:none;color:var(--olive);padding:4px;font-size:12px;font-weight:600}.form-error{color:var(--red);font-size:12px;min-height:18px}.auth-screen{min-height:100dvh;display:grid;place-items:center;padding:25px;background:radial-gradient(ellipse at top right,#dde2d1,transparent 65%)}.auth-card{width:min(410px,100%);background:white;padding:38px;border:1px solid var(--line);border-radius:16px;box-shadow:0 25px 80px #2830200a}.auth-logo{width:160px;height:auto;margin-bottom:42px}.auth-card>p:not(.eyebrow){color:var(--muted);font-size:13px}.auth-card .btn{width:100%}.auth-back{display:block;text-align:center;font-size:12px;color:var(--muted);margin-top:24px}label{display:block;font-size:12px;font-weight:500;margin-bottom:16px}input,select,textarea{display:block;width:100%;padding:10px 12px;border:1px solid #d0d5dd;border-radius:6px;background:white;color:var(--ink);margin-top:6px;min-height:40px}textarea{resize:vertical}input[type=checkbox]{display:inline-block;width:16px;min-height:16px;accent-color:var(--olive);margin:0 7px 0 0;vertical-align:middle}input[type=file]{font-size:12px}.admin-shell{display:grid;grid-template-columns:224px minmax(0,1fr);min-height:100dvh}.sidebar{position:fixed;inset:0 auto 0 0;width:224px;background:#fff;border-right:1px solid var(--line);padding:32px 18px 24px;display:flex;flex-direction:column;z-index:30}.admin-brand{padding:0 17px 30px;display:block}.admin-brand img{width:142px;display:block}.admin-brand span{font-size:9px;letter-spacing:2px;color:var(--muted);display:block;margin-top:14px}.sidebar nav{display:flex;flex-direction:column;gap:5px}.sidebar nav a{padding:11px 14px;display:flex;gap:12px;align-items:center;border-radius:7px;font-size:13px;color:#475467}.sidebar nav a.active{background:#eef2f6;color:#34402a;font-weight:600}.sidebar nav a:hover{background:#f2f4ed}.nav-icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.nav-count{margin-left:auto;background:#dfe6d1;padding:1px 7px;border-radius:12px;font-size:10px}.sidebar-bottom{margin-top:auto;display:flex;flex-direction:column;gap:18px;padding:20px 15px 0;font-size:12px}.sidebar-bottom button{border:0;background:none;text-align:left;padding:0;color:#667085}.local-label{font-size:10px;color:#858b7e;display:flex;align-items:center;gap:7px}.local-label i{width:6px;height:6px;background:#2563eb;border-radius:50%}.admin-main{grid-column:2;min-width:0}.admin-header{height:82px;padding:0 38px;background:#ffffffb8;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:14px}.header-store{font-size:9px;font-weight:600;letter-spacing:1.7px;display:block}#header-date{font-size:10px;color:var(--muted)}.admin-user{display:flex;align-items:center;gap:10px;font-size:12px}.avatar{width:34px;height:34px;display:grid;place-items:center;background:#e4e9d8;color:#5d7047;border-radius:50%;font-weight:600}.menu-toggle{display:none;border:0;background:none;font-size:20px}#admin-content{padding:34px 38px;max-width:1600px;margin:auto;min-height:calc(100dvh - 137px)}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:27px}.page-heading p{font-size:12px;color:var(--muted);margin:0}.heading-actions{display:flex;gap:9px;flex-wrap:wrap}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:24px}.stat-card{padding:21px;background:#fff;border:1px solid var(--line);border-radius:11px}.stat-top{display:flex;align-items:center;justify-content:space-between;color:#77816c;font-size:11px}.stat-value{font-size:27px;font-weight:600;letter-spacing:-.6px;margin:11px 0 4px}.stat-foot{font-size:10px;color:#959a8c}.panel{border:1px solid var(--line);border-radius:11px;background:#fff;overflow:hidden;margin-bottom:22px}.panel-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:21px 23px;border-bottom:1px solid var(--line)}.panel-header h2{font-size:15px;margin:0}.panel-body{padding:23px}.dashboard-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:22px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px;white-space:nowrap}th{text-align:left;font-size:10px;font-weight:500;color:#8b917f;background:#fafbfc;padding:13px 18px;letter-spacing:.3px}td{padding:15px 18px;border-top:1px solid #f2f4f7;vertical-align:middle}tr:hover td{background:#ffffff}.cell-product{display:flex;align-items:center;gap:12px}.cell-product img{width:42px;height:47px;object-fit:cover;border-radius:5px;background:#eff1e8}.cell-product span{display:block;max-width:240px;overflow:hidden;text-overflow:ellipsis}.cell-product small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.badge{display:inline-block;border-radius:20px;padding:4px 9px;font-size:10px;font-weight:500;text-transform:capitalize;background:#f2f4f7;color:#475467}.badge.pending,.badge.low,.badge.unpaid{background:#fff1da;color:#a47c30}.badge.confirmed,.badge.processing{background:#e9edf9;color:#6475aa}.badge.shipped{background:#e8eef4;color:#55788f}.badge.delivered,.badge.paid,.badge.in{background:#e9f1e1;color:#648048}.badge.cancelled,.badge.out,.badge.refunded{background:#f9e8e6;color:#ac6c64}.empty{padding:55px 25px;text-align:center;color:var(--muted);font-size:13px}.empty h3{color:var(--ink);margin-bottom:6px}.empty .btn{margin-top:15px}.toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:18px;flex-wrap:wrap}.toolbar input{width:280px;margin:0}.toolbar select{width:auto;margin:0}.toolbar-group{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.toolbar label{margin:0}.table-footer{display:flex;justify-content:space-between;align-items:center;padding:14px 20px;font-size:11px;color:var(--muted)}.table-footer button{margin-left:7px}.activity-row{display:flex;gap:13px;border-bottom:1px solid #f2f4f7;padding:14px 0;font-size:12px}.activity-row:last-child{border:0}.activity-dot{width:8px;height:8px;background:#a1ad90;flex-shrink:0;border-radius:50%;margin-top:6px}.activity-row small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.chart{height:180px;display:flex;align-items:end;gap:5px;padding-top:20px}.chart-bar{flex:1;min-width:0;background:#b6c3a3;border-radius:4px 4px 0 0;position:relative;min-height:2px}.chart-caption{display:flex;justify-content:space-between;color:var(--muted);font-size:10px;margin-top:10px}.editor-dialog{width:min(850px,94vw);max-height:92dvh;padding:0;border:1px solid var(--line);border-radius:13px;color:var(--ink)}.editor-dialog::backdrop{background:#20271865;backdrop-filter:blur(3px)}.dialog-top{padding:22px 26px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:2}.dialog-top h2{margin:0}.dialog-top .eyebrow{margin-bottom:4px}.close-button{border:0;background:#f0f2e9;border-radius:50%;width:32px;height:32px;font-size:23px}#editor-content{padding:25px 26px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.full-width{grid-column:1/-1}.editor-section{padding:20px 0 10px;border-top:1px solid var(--line)}.editor-section h3{margin-bottom:13px}.form-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;position:sticky;bottom:0;background:white;padding:18px 0 0;border-top:1px solid var(--line)}.gallery-editor{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}.gallery-item{position:relative}.gallery-item img{width:72px;height:80px;object-fit:cover;border-radius:5px}.gallery-item button{display:block;padding:3px;border:0;background:transparent;font-size:10px;color:var(--muted)}.gallery-item .remove-photo{position:absolute;top:2px;right:2px;width:21px;height:21px;background:white;border-radius:50%;font-size:15px;color:var(--red)}.variant-card{border:1px solid var(--line);border-radius:7px;padding:15px;margin-bottom:12px;background:#fafbfc}.variant-top{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-bottom:10px}.variant-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:0 12px}.variant-fields label{font-size:10px}.variant-fields input,.variant-fields select{font-size:12px;padding:8px;min-height:35px}.variant-fields .wide{grid-column:1/-1}.inventory-input{width:85px;margin:0;padding:6px 9px;font-size:12px;min-height:33px}.inventory-check{margin:0}.settings-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:22px}.note{padding:13px 16px;background:#f1f4e9;border-radius:7px;font-size:12px;color:#737e62;margin-bottom:20px}.category-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.category-card{padding:20px;background:white;border:1px solid var(--line);border-radius:10px}.category-card h3{margin:0 0 5px}.category-card .card-actions{display:flex;justify-content:space-between;align-items:center;margin-top:17px}.order-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.order-detail-grid address{font-style:normal;font-size:13px;line-height:1.8}.order-totals{display:flex;justify-content:flex-end;gap:35px;font-size:13px;padding:20px 0}.order-history{font-size:12px;color:var(--muted);padding:0;list-style:none}.order-history li{margin-bottom:8px}.admin-footer{padding:15px 38px;border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:10px;color:#949b89}.admin-toast{position:fixed;bottom:26px;left:50%;transform:translate(-50%,15px);opacity:0;pointer-events:none;color:white;background:#303a28;padding:12px 22px;border-radius:8px;z-index:100;font-size:12px;transition:.2s;max-width:90vw}.admin-toast.visible{opacity:1;transform:translate(-50%,0)}.error-panel{padding:25px;color:var(--red)}
.inventory-stepper{display:inline-flex;align-items:center;border:1px solid #d0d5dd;border-radius:6px;background:#fff;overflow:hidden}.inventory-stepper button{width:32px;height:34px;border:0;background:#f7f8fa;font-size:18px;line-height:1;flex-shrink:0}.inventory-stepper button:hover:not(:disabled){background:#e3ead6}.inventory-stepper .inventory-input{width:62px;min-height:34px;margin:0;padding:5px 3px;border:0;border-radius:0;text-align:center;appearance:textfield;-moz-appearance:textfield;cursor:default}.inventory-stepper .inventory-input::-webkit-inner-spin-button,.inventory-stepper .inventory-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.inventory-unit{display:block;text-align:center;width:126px;font-size:10px;color:var(--muted);margin-top:4px}.stock-product-name{font-size:15px;font-weight:600}.stock-product-name span{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-top:4px}.stock-current{display:flex;justify-content:space-between;background:#f7f8fa;border:1px solid var(--line);border-radius:7px;padding:15px;margin:20px 0;font-size:12px}.stock-calculation{padding:17px;background:#f2f4f7;color:#52673f;border-radius:7px;font-size:18px;font-weight:600;margin-bottom:18px}#stock-adjustment-form{max-width:500px;margin:auto}
.inventory-product-toggle{border:0;background:none;padding:0;text-align:left;display:block;width:100%;font:inherit}.inventory-parent-row{cursor:pointer}.inventory-parent-row.expanded>td{background:#f7f8fa}.badge.variation{background:#e8edde;color:#63764d}.inventory-summary-note{display:block;color:var(--muted);font-size:10px;margin-top:3px}.inventory-expand-button{width:29px;height:29px;border:1px solid var(--line);border-radius:5px;background:white;font-size:18px}.inventory-variations-row>td{padding:0 18px 18px!important;background:#f7f8fa!important}.inventory-variations-panel{border:1px solid #e4e7ec;border-radius:8px;overflow:hidden;background:white}.inventory-variations-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 18px;font-size:12px;background:#ffffff}.inventory-variations-heading span{font-size:10px;color:var(--muted)}.inventory-variations-panel th{background:#f9fafb}.inventory-variations-panel td:first-child{padding-left:25px}
.editor-dialog:has(.smart-product-form){width:min(1100px,96vw)}.smart-product-form section{scroll-margin-top:140px}.editor-step-nav{display:flex;gap:8px;padding:0 0 22px;overflow:auto}.editor-step-nav button{border:1px solid var(--line);background:#f6f8f0;border-radius:30px;padding:8px 14px;white-space:nowrap;font-size:11px;color:#778465}.smart-section-title{display:flex;gap:13px;align-items:flex-start;margin:8px 0 22px}.smart-section-title>span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#eaf0df;color:#6c8053;font-size:11px;font-weight:600;flex-shrink:0}.smart-section-title h3{font-size:17px;margin:0 0 5px}.smart-section-title p{font-size:12px;color:var(--muted);margin:0}.category-picker{display:flex;gap:10px;align-items:center;margin-bottom:12px}.category-picker select{margin:0;flex:1;min-width:0}.category-picker button{white-space:nowrap}.editor-chip-list{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:17px}.editor-tag{display:inline-flex;align-items:center;gap:7px;background:#f2f4f7;border:1px solid #dce6ce;border-radius:25px;padding:6px 12px;font-size:11px;color:#5e7346}.editor-tag button{border:0;background:none;font-size:16px;padding:0;color:#79846c}.publish-toggle{border:1px solid var(--line);background:#fafbfc;border-radius:7px;padding:13px}.publish-toggle span{display:block;font-size:10px;color:var(--muted);margin:5px 0 0 24px}.photo-dropzone{border:1.5px dashed #c6d0b7;border-radius:10px;min-height:142px;background:#fafbfc;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;cursor:pointer;position:relative}.photo-dropzone:hover{background:#f0f5e7}.photo-dropzone input{position:absolute;width:1px;height:1px;opacity:0;min-height:0;overflow:hidden}.photo-dropzone:focus-within{outline:2px solid var(--olive)}.dropzone-icon{font-size:29px;line-height:1;color:#849370}.photo-dropzone strong{font-size:13px}.photo-dropzone small{font-size:10px;color:var(--muted)}.smart-gallery{margin-top:18px;gap:12px}.smart-gallery .gallery-item{background:#f9fafb;border:1px solid var(--line);padding:5px;border-radius:7px;cursor:grab}.smart-gallery .gallery-item img{width:91px;height:100px}.gallery-photo-number{position:absolute;left:8px;top:8px;background:#ffffffd9;border-radius:3px;font-size:9px;padding:1px 5px}.gallery-move-buttons{display:flex;justify-content:space-between}.gallery-move-buttons button{font-size:13px;width:25px}.product-type-picker{border:0;padding:0;margin:0 0 20px;display:grid;grid-template-columns:1fr 1fr;gap:12px}.product-type-picker legend{font-size:12px;font-weight:600;margin-bottom:12px}.product-type-picker label{border:1px solid var(--line);border-radius:8px;padding:15px;margin:0;font-size:13px;cursor:pointer}.product-type-picker label:has(input:checked){background:#eff6ff;border-color:#8d9f75}.product-type-picker input[type=radio]{display:inline-block;min-height:16px;width:16px;height:16px;margin:0 7px 0 0;accent-color:var(--olive);vertical-align:middle}.product-type-picker small{display:block;margin:7px 0 0 25px;font-size:10px;color:var(--muted)}.dimension-card{border:1px solid var(--line);border-radius:8px;padding:16px;margin-bottom:12px;background:#fdfefb}.dimension-header{display:flex;align-items:center;justify-content:space-between;gap:15px}.dimension-header label{margin:0;font-size:13px}.dimension-header>span{font-size:10px;color:var(--muted)}.choice-chips{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.choice-chip{border:1px solid #dce1d3;background:white;border-radius:6px;padding:8px 13px;font-size:12px;display:inline-flex;align-items:center;gap:6px;min-height:35px}.choice-chip.selected{background:#edf4e3;border-color:#839970;color:#4f6a37}.editor-swatch{display:inline-block;width:13px;height:13px;flex-shrink:0;border-radius:50%;border:1px solid #8885;vertical-align:middle}.custom-value-entry{display:flex;gap:8px;align-items:center;margin-top:13px}.custom-value-entry input{max-width:220px;font-size:12px;min-height:35px;margin:0}.custom-value-entry input[type=color]{width:38px;padding:3px}.generate-actions{display:flex;justify-content:space-between;gap:12px;margin:17px 0 12px}.quick-fill{padding:18px;border:1px solid #e4e7ec;background:#f8fafc;border-radius:8px;margin:22px 0}.quick-fill h3{margin:0 0 4px}.quick-fill p{font-size:11px;color:var(--muted);margin:0 0 14px}.quick-fill-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;align-items:end;gap:10px}.quick-fill-fields label{margin:0;font-size:10px}.quick-fill-fields input,.quick-fill-fields select{font-size:12px;min-height:37px;padding:9px}.quick-fill-fields .btn{min-height:37px}.variant-table-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:24px 0 12px}.variant-table-heading h3{margin:0}.smart-variant-wrap{overflow:auto;border:1px solid var(--line);border-radius:8px}.smart-variant-wrap td{padding:11px 10px}.smart-variant-wrap th{padding:12px 10px}.smart-variant-wrap input[type=number]{width:88px;min-height:35px;padding:7px 9px;margin:0;font-size:12px}.smart-variant-wrap select{width:106px;font-size:11px;margin:0;min-height:35px;padding:7px}.smart-variant-wrap td:nth-child(2){min-width:110px}.builder-message{font-size:11px;color:#667d4a;min-height:16px;margin-top:12px}.colour-photo-heading{margin-top:22px}.colour-photo-heading h3{margin-bottom:4px}.colour-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.colour-photo-card{display:flex;align-items:center;gap:10px;background:white;border:1px solid var(--line);border-radius:7px;padding:10px}.colour-photo-card>img,.colour-photo-placeholder{width:63px;height:74px;object-fit:cover;border-radius:4px;flex-shrink:0}.colour-photo-placeholder{background:#f0f3e8;display:grid;place-items:center;font-size:10px;text-align:center;color:var(--muted)}.colour-photo-card>div{min-width:0;flex:1}.colour-photo-card strong{font-size:11px;display:flex;align-items:center;gap:5px}.colour-photo-card select{font-size:10px;min-height:30px;padding:5px;margin-top:5px}.colour-upload-label{margin:6px 0 0;font-size:10px;color:var(--olive);text-decoration:underline;cursor:pointer}.colour-upload-label input{width:1px;height:1px;position:absolute;opacity:0;overflow:hidden;min-height:0}.editor-product-preview{display:grid;grid-template-columns:220px minmax(0,1fr);gap:25px;padding:22px;border:1px solid var(--line);border-radius:9px;background:#f9fafb}.editor-product-preview>img,.preview-image-placeholder{width:100%;height:240px;object-fit:cover;border-radius:6px}.preview-image-placeholder{background:#eef2f6;display:grid;place-items:center;font-size:12px;color:var(--muted)}.editor-product-preview h3{font-size:24px;margin:5px 0 12px;letter-spacing:-.5px}.preview-price{font-size:20px;font-weight:600;margin-bottom:18px}.preview-price del{font-size:12px;font-weight:400;color:var(--muted);margin-left:10px}.preview-option-label{font-size:10px;margin:15px 0 0}.editor-product-preview .choice-chip{font-size:10px;min-height:29px;padding:6px 10px}.editor-product-preview .muted{margin-top:17px}.preview-purchase{display:inline-flex;background:var(--ink);color:white;padding:10px 27px;border-radius:5px;font-size:11px}.smart-product-form .form-actions{z-index:3;padding:17px 0 2px}
@media(max-width:850px){.quick-fill-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-fill-fields .btn{grid-column:1/-1}.colour-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.product-type-picker{grid-template-columns:1fr}.editor-step-nav{gap:6px}.editor-step-nav button{padding:7px 10px;font-size:10px}.category-picker{align-items:stretch;flex-direction:column}.smart-section-title h3{font-size:15px}.smart-section-title p{font-size:11px}.generate-actions{flex-wrap:wrap}.generate-actions button{flex:1;white-space:nowrap}.colour-photo-grid{grid-template-columns:1fr}.editor-product-preview{grid-template-columns:1fr;padding:15px;gap:20px}.editor-product-preview>img,.preview-image-placeholder{height:240px}.variant-table-heading{align-items:flex-start;flex-direction:column;gap:5px}.custom-value-entry input{min-width:0;flex:1}}
@media(max-width:1100px){.stats-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid,.settings-grid{grid-template-columns:1fr}.category-cards{grid-template-columns:repeat(2,1fr)}#admin-content{padding:28px 24px}.admin-header{padding:0 24px}.stat-value{font-size:24px}}
@media(max-width:750px){.admin-shell{display:block}.sidebar{transform:translateX(-100%);transition:transform .2s;box-shadow:20px 0 80px #20271822}.sidebar.open{transform:translateX(0)}.admin-main{width:100%}.menu-toggle{display:block}.admin-header{height:70px;padding:0 18px}.admin-header>div:first-of-type{margin-right:auto}.admin-user>span:last-child{display:none}#admin-content{padding:24px 16px}.page-heading{flex-direction:column;gap:15px}h1{font-size:27px}.stats-grid{gap:10px}.stat-card{padding:16px}.stat-value{font-size:22px}.toolbar input{width:100%;max-width:none}.toolbar{align-items:stretch}.toolbar-group{width:100%}.toolbar-group select{flex:1;min-width:0}.category-cards{grid-template-columns:1fr}.form-grid,.order-detail-grid{grid-template-columns:1fr}.variant-fields{grid-template-columns:1fr 1fr}.variant-fields label:last-child{grid-column:1/-1}.editor-dialog{width:96vw;max-height:94dvh}.dialog-top,#editor-content{padding:19px}.admin-footer{padding:15px 16px}.admin-footer span:last-child{display:none}.panel-header,.panel-body{padding:18px}.auth-card{padding:30px}.table-footer{gap:12px;flex-wrap:wrap}}

.product-row-actions{display:flex;gap:8px;align-items:center}.btn.danger{color:#a4443b;border-color:#e6c7c3;background:#fff8f7}.btn.danger:hover{background:#f9e8e6}.product-delete-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.delete-product-summary{padding:16px;background:#f7f8f3;border:1px solid var(--line);border-radius:8px;margin-bottom:20px}

.admin-product-link:hover{color:#526443;text-decoration:underline;text-underline-offset:3px}.admin-product-link:focus-visible{outline:2px solid #667085;outline-offset:3px;border-radius:2px}

.editor-stock-status{display:block;width:max-content;margin-top:7px;font-size:9px}

.editor-stock-toggle{position:relative;display:inline-flex;align-items:center;gap:9px;margin:0;cursor:pointer;white-space:nowrap}.editor-stock-toggle input{position:absolute;inset:0;opacity:0;width:100%;height:100%;min-height:0;margin:0;cursor:pointer;z-index:1}.editor-stock-toggle-track{position:relative;display:block;width:36px;height:20px;flex-shrink:0;background:#d6d8d2;border-radius:20px;transition:background .15s}.editor-stock-toggle-track:after{content:"";position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:white;box-shadow:0 1px 3px #0002;transition:transform .15s}.editor-stock-toggle input:checked+.editor-stock-toggle-track{background:#657b52}.editor-stock-toggle input:checked+.editor-stock-toggle-track:after{transform:translateX(16px)}.editor-stock-toggle input:focus-visible+.editor-stock-toggle-track{outline:2px solid #667085;outline-offset:3px}.editor-stock-toggle input:disabled{cursor:not-allowed}.editor-stock-toggle input:disabled+.editor-stock-toggle-track{opacity:.55}.editor-stock-toggle .editor-stock-status{display:inline;margin:0;font-size:11px}

.order-filter-tabs{display:flex;gap:8px;overflow-x:auto;margin:0 0 22px;padding-bottom:5px}.order-filter-tabs button{display:flex;align-items:center;gap:9px;white-space:nowrap;border:1px solid var(--line);background:white;padding:10px 15px;border-radius:24px;font-size:12px}.order-filter-tabs button.selected{background:var(--ink);color:white;border-color:var(--ink)}.order-filter-tabs span{background:#eef2f6;color:#475467;border-radius:12px;padding:1px 6px;font-size:10px}.order-list-date{display:block;color:var(--muted);font-size:10px;margin-top:5px}.order-number{font-weight:600}.order-phone{color:#2563eb;font-size:12px}.order-phone:hover{text-decoration:underline}.order-detail-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:22px;flex-wrap:wrap}.order-info-card{border:1px solid var(--line);border-radius:9px;background:#fafbfc;padding:18px}.order-info-card p{margin:9px 0;font-size:12px}.order-info-card h3{font-size:13px}.order-info-card .product-row-actions{flex-wrap:wrap;margin-top:16px}.order-note{white-space:pre-wrap;overflow-wrap:anywhere}.order-items-panel{margin-top:22px}.order-timeline{border-left:2px solid #e3e8d9;margin-left:5px;padding-left:20px}.order-timeline li{position:relative;padding:0 0 12px}.order-timeline li:before{content:"";width:8px;height:8px;border-radius:50%;background:#899c74;position:absolute;left:-25px;top:4px}.order-timeline small{display:block;font-size:10px;margin:3px 0}.order-timeline p{margin:6px 0;white-space:pre-wrap}.invoice-frame{width:100%;height:65vh;background:white;border:1px solid var(--line);border-radius:7px}@media(max-width:650px){.order-detail-grid{grid-template-columns:1fr}.order-detail-toolbar .product-row-actions{flex-wrap:wrap}.order-filter-tabs button{padding:8px 12px}.order-info-card{padding:14px}}

.badge.return_pending{background:#fff1da;color:#967029}.badge.returned{background:#f1e9f6;color:#866098}

.badge.partially_refunded{background:#fff1da;color:#967029}[data-return-qty]{width:85px;min-height:35px;margin:0}[data-return-line] td:first-child{max-width:250px;white-space:normal}.order-info-card+.order-info-card{margin-top:12px}

/* Manual order workspace */
.editor-dialog:has(.order-builder){width:min(1180px,96vw);background:#f6f7f2}.editor-dialog:has(.order-builder) #editor-content{padding:24px}
.order-builder-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 23px;padding:0 4px}.order-builder-kicker{display:block;font-size:9px;letter-spacing:1.8px;color:#7b8971;font-weight:600;margin-bottom:10px}.order-builder-intro h3{font-size:22px;letter-spacing:-.5px;margin:0 0 8px}.order-builder-intro p{font-size:12px;color:var(--muted);margin:0;line-height:1.6}
.order-builder-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:20px;align-items:start}.order-builder-main{min-width:0}.order-builder-card{border:1px solid #e1e6d9;border-radius:14px;background:#fff;padding:23px;box-shadow:0 3px 12px #25321a04;margin-bottom:18px}.order-builder-section-title{display:flex;gap:12px;align-items:flex-start;margin-bottom:23px}.order-builder-section-title>span{display:grid;place-items:center;width:31px;height:31px;flex-shrink:0;border-radius:50%;background:#edf1e6;color:#6d7e59;font-size:10px}.order-builder-section-title h3{margin:2px 0 6px;font-size:15px}.order-builder-section-title p{font-size:11px;color:var(--muted);margin:0;line-height:1.6}
.order-builder input:not([type=checkbox]),.order-builder select,.order-builder textarea{border-color:#e0e5d8;background:#fafbfc;border-radius:8px;min-height:43px}.order-builder input:focus,.order-builder textarea:focus,.order-builder select:focus{outline:2px solid #b4c2a1;outline-offset:1px;background:white}.order-builder label{font-size:11px}.order-builder textarea{resize:vertical}
.order-product-filters{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:13px}.order-product-filter-meta{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:var(--muted);margin-bottom:14px;gap:10px}.order-product-filter-meta label{margin:0;display:flex;gap:7px;align-items:center}.order-product-filter-meta input{margin:0}.order-product-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.order-picker-product{border:1px solid #e3e8dc;border-radius:10px;padding:13px;min-width:0}.order-picker-product-top{display:flex;gap:10px;position:relative;padding-bottom:12px;align-items:flex-start}.order-picker-product-top img,.order-picker-no-image{width:49px;height:58px;object-fit:cover;border-radius:7px;flex-shrink:0;background:#f0f3e9}.order-picker-no-image{display:grid;place-items:center;font-size:22px;color:#7c8a6b}.order-picker-product-top>div:not(.order-picker-no-image){min-width:0;flex:1;padding-bottom:20px}.order-picker-product-top strong{display:block;font-size:11px;line-height:1.5;overflow-wrap:anywhere}.order-picker-product-top small{display:block;font-size:9px;color:var(--muted);overflow-wrap:anywhere;margin-top:3px}.order-picker-product-top div>span{display:block;font-size:11px;font-weight:600;margin-top:7px}.order-picker-product-top>.badge{position:absolute;bottom:3px;left:59px;font-size:8px;padding:3px 7px}
.order-picker-product-actions{border-top:1px solid #eef0e8;padding-top:10px;display:flex;align-items:end;gap:8px}.order-picker-product-actions label{flex:1;min-width:0;margin:0;font-size:9px}.order-picker-product-actions select{min-height:35px;font-size:10px;padding:7px;margin-bottom:0}.order-picker-product-actions .btn{font-size:10px;padding:8px 10px;white-space:nowrap;min-height:35px;background:#f2f5ea}.order-product-more{width:100%;margin-top:15px;font-size:11px}
.order-picker-empty{grid-column:1/-1;border:1px dashed #dce3d0;border-radius:10px;padding:27px 16px;text-align:center;background:#ffffff;font-size:12px}.order-picker-empty p{font-size:11px;color:var(--muted);margin:8px 0;line-height:1.7}.order-selected-product{display:flex;align-items:center;gap:12px;padding:14px 0;border-top:1px solid #edf0e6}.order-selected-product:first-child{border-top:0;padding-top:0}.order-selected-product>img{width:43px;height:50px;object-fit:cover;border-radius:6px;flex-shrink:0}.order-selected-description{flex:1;min-width:0}.order-selected-description strong{display:block;font-size:11px;overflow-wrap:anywhere}.order-selected-description small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.order-selected-quantity{display:flex;border:1px solid #dce2d3;border-radius:7px;overflow:hidden;flex-shrink:0}.order-selected-quantity button{width:25px;background:#f7f8fa;font-size:13px}.order-selected-quantity input{width:40px!important;min-height:33px!important;border:0!important;border-radius:0!important;background:white!important;padding:4px;text-align:center;font-size:11px;margin:0}.order-selected-quantity input::-webkit-inner-spin-button{appearance:none}.order-selected-total{font-size:11px;white-space:nowrap}.order-remove-product{font-size:19px;color:#9b6b62;padding:0 3px}
.order-builder-summary{position:sticky;top:91px}.order-builder-summary h3{font-size:18px;margin:0 0 22px;letter-spacing:-.3px}.order-summary-values{margin:0}.order-summary-values>div{display:flex;justify-content:space-between;gap:12px;font-size:11px;padding:9px 0}.order-summary-values dt{color:var(--muted)}.order-summary-values dd{margin:0;text-align:right}.order-summary-grand{border-top:1px solid #e6eadf;margin-top:12px;padding-top:16px!important;font-weight:600;font-size:13px!important}.order-summary-grand dt{color:var(--ink)}.order-summary-due{display:flex;flex-direction:column;gap:6px;background:#f2f4f7;border-radius:10px;padding:17px;margin:16px 0}.order-summary-due span{font-size:10px;color:#475467}.order-summary-due strong{font-size:24px;letter-spacing:-.7px}.order-builder-payment{display:flex;justify-content:space-between;font-size:10px;gap:10px;color:var(--muted);margin:20px 0}.order-builder-payment strong{color:var(--ink);font-weight:500}.order-builder-submit{width:100%;min-height:46px;border-radius:8px}.order-builder-note{font-size:10px;line-height:1.8;color:var(--muted);margin:13px 0 0}
@media(max-width:1000px){.order-builder-layout{grid-template-columns:minmax(0,1fr) 260px}.order-product-results{grid-template-columns:1fr}.order-builder-card{padding:18px}}
@media(max-width:700px){.editor-dialog:has(.order-builder){width:96vw}.editor-dialog:has(.order-builder) #editor-content{padding:15px}.order-builder-layout{grid-template-columns:1fr;gap:0}.order-builder-intro{align-items:flex-start}.order-builder-intro h3{font-size:18px}.order-builder-intro>.badge{display:none}.order-builder-card{padding:16px}.order-builder .form-grid{grid-template-columns:1fr}.order-product-filters{grid-template-columns:1fr}.order-product-filters label{margin-bottom:10px}.order-builder-summary{position:static}.order-selected-product{flex-wrap:wrap;gap:10px}.order-selected-description{flex:1;min-width:140px}.order-selected-quantity{margin-left:53px}.order-selected-total{margin-left:auto}.order-picker-product-top strong{font-size:12px}}

.workspace-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:25px}.workspace-heading h1{font-size:30px;margin:8px 0 10px}.workspace-heading p{font-size:11px;color:var(--muted)}.workspace-back{display:inline-block;font-size:11px;color:#2563eb;margin-bottom:22px}.workspace-heading .heading-actions{margin-top:25px}.order-workspace-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:20px;align-items:start}.order-workspace-grid main{min-width:0}.workspace-main-layout{display:block!important}.order-workspace-grid .order-builder-card{padding:22px}.order-workspace-grid .order-builder-submit{width:100%}.order-workspace-grid #order-form .btn{width:100%;font-size:11px}.workspace-secondary-actions{display:flex;flex-direction:column;gap:10px;margin-top:14px}.workspace-secondary-actions .btn{width:100%}.order-workspace-grid #workspace-sidebar{position:sticky;top:105px}.order-workspace-grid .form-error:empty{display:none}.order-workspace-grid #order-form textarea{resize:vertical}.order-workspace-grid .order-summary-due{margin-bottom:20px}.order-workspace-grid .order-builder-payment{font-size:10px}.order-workspace-grid .order-builder-main>section:first-child{margin-top:0}@media(max-width:1100px){.order-workspace-grid{grid-template-columns:minmax(0,1fr) 265px}.order-workspace-grid .order-product-results{grid-template-columns:1fr}}@media(max-width:800px){.order-workspace-grid{grid-template-columns:1fr}.order-workspace-grid #workspace-sidebar{position:static}.workspace-heading{flex-direction:column;gap:0}.workspace-heading .heading-actions{margin-top:0;margin-bottom:8px}.order-workspace-grid .form-grid{grid-template-columns:1fr}.order-workspace-grid .order-builder-card{padding:17px}.order-workspace-grid .order-selected-product{flex-wrap:wrap}.order-workspace-grid .order-selected-quantity{margin-left:53px}.order-workspace-grid .order-selected-total{margin-left:auto}}

.workspace-bottom-actions{display:flex;justify-content:center;margin:24px 0 8px}.workspace-bottom-actions .btn{min-width:180px;min-height:44px}

.orders-list-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 14px;font-size:11px;color:var(--muted)}.orders-list-meta label{display:flex;align-items:center;gap:9px;margin:0;font-size:11px}.orders-list-meta select{width:auto;margin:0;min-height:34px;padding:6px 10px;font-size:11px}.orders-rich-panel th{background:#f2f4f7;color:#637557;padding:16px}.orders-rich-panel table{min-width:1420px}.orders-rich-panel td{padding:20px 16px}.orders-rich-panel th:last-child{position:sticky;right:0;background:#f2f4f7;z-index:2;box-shadow:-5px 0 12px #25321a05}.orders-rich-row:nth-child(even) td{background:#ffffff}.orders-rich-row:hover td{background:#f7faf0}.orders-created-date{display:block;font-size:11px;font-weight:500;margin-bottom:7px}.orders-customer-cell{width:190px;white-space:normal}.orders-contact-row{display:flex;align-items:center;gap:8px;margin-bottom:7px}.orders-contact-row .order-phone{font-weight:600;color:#1d4ed8;white-space:nowrap}.orders-contact-row button{padding:0;color:#89937d;font-size:16px}.orders-whatsapp{color:#53894b;font-size:17px}.orders-customer-cell>strong{display:block;font-size:12px;margin-bottom:6px}.orders-address{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#667085;font-size:11px;max-width:190px}.orders-customer-cell>small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.orders-note-cell{width:170px;white-space:normal}.orders-note-cell small{font-size:9px;color:#667085;display:block}.orders-note-cell p{font-size:11px;color:#475467;margin:8px 0 0;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere}.orders-product-previews{width:205px}.orders-product-preview{display:flex;gap:9px;margin:5px 0;background:#f7f8fa;border:1px solid #e8eddf;border-radius:8px;padding:7px}.orders-product-preview img{width:37px;height:43px;object-fit:cover;border-radius:5px;flex-shrink:0}.orders-product-preview>div{min-width:0}.orders-product-preview strong{display:block;max-width:142px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:500}.orders-product-preview small{display:block;font-size:9px;color:#667085;margin-top:3px}.orders-product-preview span{display:block;font-size:10px;margin-top:3px;color:#58694a}.orders-more-items{font-size:9px;color:var(--muted)}.order-customer-history{display:flex;gap:10px;align-items:center;text-align:left;padding:0;white-space:nowrap}.order-customer-history strong{font-size:11px;font-weight:500;color:#627c4d;display:block}.order-customer-history small{display:block;font-size:9px;color:#667085;margin-top:5px}.order-success-ring{width:32px;height:32px;border-radius:50%;background:conic-gradient(#76965a var(--success),#eef2f6 0);position:relative;flex-shrink:0}.order-success-ring:after{content:"";position:absolute;inset:4px;background:#fff;border-radius:50%}.order-success-ring.unrated{background:#e2e7dc}.orders-total-cell{display:flex;flex-direction:column;align-items:flex-start;gap:7px}.orders-total-cell>strong{font-size:12px}.orders-total-cell small{font-size:9px;color:var(--muted)}.orders-status-cell{display:flex;flex-direction:column;align-items:flex-start;gap:6px}.badge.customer{background:#edf1e5;color:#758665;font-size:9px}.badge.cod{background:#e8eff3;color:#6b8290;font-size:9px}.orders-sticky-action{position:sticky;right:0;background:#fff;box-shadow:-8px 0 14px #25321a06;z-index:1}.orders-list-actions{display:flex;flex-direction:column;align-items:center;gap:10px;min-width:100px}.orders-open-action{border-radius:20px;box-shadow:0 2px 5px #00000008;font-size:11px;padding:7px 12px}.orders-list-actions .text-button{font-size:10px}.orders-cancel-action{color:#a5655a}.orders-rich-panel .table-wrap{scrollbar-color:#b1bea4 #f0f4e9;scrollbar-width:thin}@media(max-width:650px){.orders-rich-panel td{padding:15px 12px}.orders-list-meta{align-items:flex-start}.orders-list-meta>span{font-size:10px}.orders-rich-panel table{min-width:1320px}.orders-list-actions{min-width:89px}.orders-open-action{font-size:10px}}

.order-customer-history{border:0;background:none;font:inherit;cursor:pointer}.order-customer-history:hover strong{text-decoration:underline;text-underline-offset:3px}.orders-contact-row button{border:0;background:none;cursor:pointer}.orders-contact-row button:hover{color:#4b6339}.order-customer-history:focus-visible{outline:2px solid #2563eb;outline-offset:5px;border-radius:5px}

.manual-product-dropdown{position:relative;border:1px solid #e4e7ec;border-radius:10px;background:#ffffff}.manual-product-dropdown>summary{list-style:none;display:flex;justify-content:space-between;align-items:center;padding:13px 15px;font-size:12px;color:#77866a;cursor:pointer}.manual-product-dropdown>summary::-webkit-details-marker{display:none}.manual-product-dropdown[open]>summary{border-bottom:1px solid #e2e8d8}.manual-product-dropdown-body{padding:16px}.manual-product-dropdown-body>h4{font-size:14px;margin:0 0 5px}.manual-product-dropdown-body>p{font-size:10px;color:var(--muted);margin:0 0 17px}.manual-picker-searches{display:grid;grid-template-columns:1fr 1fr;gap:10px}.manual-picker-searches label{margin-bottom:12px}.manual-picker-options{display:flex;gap:20px;flex-wrap:wrap;margin:0 0 12px}.manual-picker-options label{display:flex;align-items:center;gap:6px;margin:0;font-size:11px}.manual-picker-options input{margin:0}.manual-picker-category{display:flex;gap:12px;align-items:center;justify-content:space-between;margin:0 0 12px}.manual-picker-category label{display:flex;align-items:center;gap:8px;margin:0}.manual-picker-category select{width:180px;min-height:32px;margin:0;font-size:10px;padding:6px 8px}.manual-picker-category>span{font-size:10px;color:var(--muted)}.manual-product-dropdown .order-product-results{display:block;border:1px solid #e1e7d8;border-radius:8px;max-height:410px;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#aebb9e #f1f4ed;scrollbar-width:thin}.manual-picker-row{display:flex;gap:12px;align-items:center;padding:13px 12px;border-bottom:1px solid #e4e9dd;background:#ffffff}.manual-picker-row:last-child{border-bottom:0}.manual-picker-photo{position:relative;width:46px;height:54px;flex-shrink:0;background:#f2f4f7;border-radius:6px}.manual-picker-photo img{width:100%;height:100%;border-radius:6px;object-fit:cover}.manual-picker-photo button{position:absolute;right:-6px;top:-6px;width:23px;height:23px;border-radius:50%;background:white;color:#b99a36;font-size:19px;line-height:1;box-shadow:0 1px 4px #0001;padding:0}.manual-picker-info{flex:1;min-width:0}.manual-picker-info>strong{display:block;font-size:11px;line-height:1.5;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.manual-picker-info>small{display:block;font-size:10px;color:var(--muted);margin:3px 0}.manual-picker-price{font-size:11px}.manual-picker-price span{font-size:10px;color:var(--muted);margin-left:12px}.manual-picker-price span.sold{color:#b2695c}.manual-picker-info select{min-height:28px;font-size:10px;padding:4px 6px;max-width:280px;margin:6px 0 0;background:white}.manual-picker-add{min-width:67px;padding:8px 12px;font-size:11px;background:#5c704c;color:white;border-color:#5c704c}.manual-picker-add:disabled{background:#eef1e7;color:#8d9880;opacity:1;border-color:#e0e6d7}.manual-picker-add.sold{background:#ecebe6;color:#9c9688}.manual-product-dropdown .order-product-more{background:white}@media(max-width:650px){.manual-product-dropdown-body{padding:11px}.manual-picker-searches{grid-template-columns:1fr}.manual-picker-row{gap:9px;padding:12px 9px}.manual-picker-photo{width:36px;height:45px}.manual-picker-add{min-width:52px;padding:7px 9px;font-size:10px}.manual-picker-category select{width:145px}.manual-picker-category>span{font-size:9px}.manual-picker-info select{max-width:100%;font-size:9px}.manual-picker-options{gap:12px}.manual-picker-info>strong{font-size:10px}}

.manual-product-dropdown-body{position:absolute;z-index:40;left:0;right:0;top:calc(100% + 7px);background:#ffffff;border:1px solid #e4e7ec;border-radius:12px;box-shadow:0 12px 35px #26321d26;max-height:65vh;overflow-y:auto}.manual-product-dropdown[open]>summary{border-bottom:0;background:#f0f4e8;border-radius:9px}.manual-product-dropdown-body .order-product-results{max-height:290px}.manual-product-dropdown-body .order-picker-empty{border:0;background:transparent}.manual-product-dropdown>summary:focus-visible{outline:2px solid #2563eb;outline-offset:2px}@media(max-width:650px){.manual-product-dropdown-body{max-height:60vh}.manual-product-dropdown-body .order-product-results{max-height:230px}}

.badge.hold{background:#f3e9d5;color:#88621f}
.workspace-confirm-summary{width:100%;text-align:left}.workspace-confirm-summary #manual-order-summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.7fr);align-items:center;gap:28px}.workspace-confirm-summary .order-summary-due{margin:0!important;padding:24px}.workspace-confirm-summary .order-summary-due strong{font-size:28px}.workspace-confirm-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);margin-top:20px;padding-top:18px}.workspace-confirm-footer .order-builder-payment{margin:0;gap:12px}.workspace-confirm-footer>.btn{min-width:180px;min-height:44px}@media(max-width:650px){.workspace-confirm-summary #manual-order-summary{grid-template-columns:1fr;gap:15px}.workspace-confirm-summary .order-summary-due{padding:18px}.workspace-confirm-footer{flex-direction:column;align-items:stretch;gap:15px}.workspace-confirm-footer>.btn{width:100%}}

.hold-sub-statuses{background:#fff;border:1px solid #e7e5dc;border-left:3px solid #b1955c;border-radius:9px;padding:11px 13px;margin:0 0 18px}.hold-sub-statuses>p{font-size:9px;font-weight:600;letter-spacing:1px;color:#8b7955;margin:0 0 9px}.hold-sub-statuses .order-filter-tabs{margin:0;padding:0;flex-wrap:wrap;gap:6px;overflow:visible}.hold-sub-statuses .order-filter-tabs button{min-height:30px;padding:5px 9px;gap:6px;border-radius:6px;font-size:11px;line-height:18px;background:#fafaf7;border-color:#e8e8df;transition:background .15s,border-color .15s}.hold-sub-statuses .order-filter-tabs button:hover{background:#f3eee2;border-color:#cdbb94}.hold-sub-statuses .order-filter-tabs span{min-width:17px;text-align:center;padding:0 4px;font-size:9px;line-height:16px;border-radius:4px;background:#eeeee6;color:#7c7d6b}.hold-sub-statuses .order-filter-tabs button.selected{background:#77633e;border-color:#77633e;color:white}.hold-sub-statuses .order-filter-tabs button.selected span{background:#ffffff24;color:white}.hold-sub-statuses .order-filter-tabs button:focus-visible{outline:2px solid #b1955c;outline-offset:2px}@media(max-width:650px){.hold-sub-statuses{padding:10px;margin-bottom:15px}.hold-sub-statuses .order-filter-tabs button{font-size:10px;padding:5px 8px}}

.workspace-order-history{margin-top:20px;padding:22px}.workspace-order-history .order-history{margin-bottom:0}@media(max-width:800px){.workspace-order-history{padding:17px}}
.workspace-heading.workspace-heading-inline{flex-direction:row;align-items:center;flex-wrap:wrap;gap:14px;margin-bottom:20px}.workspace-heading-details{display:flex;align-items:center;flex-wrap:wrap;gap:14px;min-width:0}.workspace-heading-inline .workspace-back{margin:0;padding-right:14px;border-right:1px solid var(--line)}.workspace-heading-inline h1{font-size:24px;margin:0;line-height:1.3}.workspace-heading-date{font-size:11px;color:var(--muted)}.workspace-heading-inline .heading-actions{display:flex;gap:8px;margin:0;flex-wrap:wrap}.workspace-heading-inline .heading-actions .btn{min-height:38px;padding:9px 13px;font-size:11px}@media(max-width:650px){.workspace-heading-details{gap:9px}.workspace-heading-inline .workspace-back{padding-right:10px}.workspace-heading-inline h1{font-size:21px}.workspace-heading-inline .heading-actions{width:100%}.workspace-heading-date{font-size:10px}}

.workspace-confirm-buttons{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.workspace-confirm-buttons .btn,.order-workspace-grid .workspace-confirm-buttons .order-builder-submit{width:auto;min-height:44px;padding:11px 16px;font-size:11px}.workspace-confirm-buttons .order-builder-submit{background:white;color:var(--ink);border-color:var(--line)}@media(max-width:650px){.workspace-confirm-buttons{flex-direction:column}.workspace-confirm-buttons .btn,.order-workspace-grid .workspace-confirm-buttons .order-builder-submit{width:100%}}

.inventory-alerts{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:22px}.inventory-alerts>button{display:flex;align-items:center;gap:18px;min-width:155px;padding:13px 16px;border:1px solid var(--line);border-radius:10px;background:white;text-align:left;font-size:12px;color:var(--ink)}.inventory-alerts>button strong{font-size:20px}.inventory-alerts>button.selected{background:#f2f4f7;border-color:#a4b78d}.inventory-alerts>p{font-size:11px;color:var(--muted);margin-left:auto}.inventory-alerts a{color:#475467;text-decoration:underline}.inventory-stock-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:6px}.inventory-history-link{font-size:10px}.inventory-low-count{display:block;margin-top:7px}.stock-history-meta{display:block;font-size:10px;color:var(--muted);margin-top:5px}.stock-history-note{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;margin:6px 0}.stock-history-intro{padding:0 0 16px}.stock-history-intro p{font-size:11px;color:var(--muted);line-height:1.8}.stock-history-pagination{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:18px;font-size:11px}.stock-history-pagination>span{margin-right:auto}@media(max-width:650px){.inventory-alerts{gap:7px}.inventory-alerts>button{min-width:0;flex:1;padding:10px;gap:8px;font-size:10px}.inventory-alerts>button strong{font-size:17px}.inventory-alerts>p{width:100%;margin:4px 0}.stock-history-pagination{flex-wrap:wrap}}

@media(min-width:851px){.quick-fill-fields{grid-template-columns:repeat(5,minmax(0,1fr)) auto}}
.variant-bulk-editor{margin:0 0 14px;padding:18px;background:#f8faff;border-color:#dce5f5;border-radius:10px}
.gallery-sort-help{display:flex;align-items:center;gap:8px;margin:17px 0 0;color:#52627c;font-size:11px;line-height:1.6}
.gallery-sort-help[hidden]{display:none}
.gallery-sort-help>span{font-size:19px;color:#2563eb}
.smart-gallery .gallery-item{user-select:none;transition:border-color .15s,box-shadow .15s}
.smart-gallery .gallery-item img{-webkit-user-drag:none;user-select:none}
.smart-gallery .gallery-cover{border-color:#b9cdf7;background:#f8faff}
.gallery-drag-grip{position:absolute;top:81px;left:50%;transform:translateX(-50%);background:#ffffffeb;color:#536584;font-size:16px;line-height:18px;letter-spacing:-3px;border-radius:4px;padding:0 7px 0 4px;pointer-events:none}
.smart-gallery.gallery-sorting,.smart-gallery.gallery-sorting .gallery-item{cursor:grabbing}
.smart-gallery .gallery-dragging{opacity:.38;border-style:dashed}
.smart-gallery .gallery-insert-before:before,.smart-gallery .gallery-insert-after:after{content:"";position:absolute;top:0;bottom:0;width:3px;background:#2563eb;border-radius:3px;box-shadow:0 0 0 2px #eaf1ff;pointer-events:none}
.smart-gallery .gallery-insert-before:before{left:-8px}
.smart-gallery .gallery-insert-after:after{right:-8px}
.gallery-order-message{font-size:11px;line-height:1.6;color:#2458c6;margin:0 0 16px}
.gallery-order-message:empty{display:none}
.colour-photo-trigger{position:relative;display:block;width:63px;height:74px;flex-shrink:0;padding:0;border:1px solid var(--line);border-radius:6px;background:#f8fafc;overflow:hidden;cursor:pointer}
.colour-photo-trigger>img{width:100%;height:100%;object-fit:contain;display:block}
.colour-photo-trigger .colour-photo-placeholder{width:100%;height:100%;padding:4px 4px 17px;border-radius:0}
.colour-photo-change{position:absolute;left:0;right:0;bottom:0;padding:3px;background:#111827d9;color:white;font-size:8px;line-height:1.3;text-align:center}
.colour-photo-trigger:hover{border-color:#93b4fa;box-shadow:0 0 0 2px #eaf1ff}
.colour-photo-trigger:focus-visible{outline:2px solid #2563eb;outline-offset:3px}
#colour-photo-dialog{width:min(680px,calc(100vw - 28px));max-height:90dvh;border:1px solid var(--line);border-radius:16px;padding:0;color:var(--ink);background:white;box-shadow:0 24px 80px #11182740;overflow:hidden}
#colour-photo-dialog[open]{display:flex;flex-direction:column}
#colour-photo-dialog::backdrop{background:#11182766;backdrop-filter:blur(3px)}
.colour-picker-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:23px 24px 20px;border-bottom:1px solid var(--line);flex-shrink:0}
.colour-picker-header .eyebrow{margin:0 0 8px;font-size:9px}
.colour-picker-header h2{margin:0;font-size:21px;line-height:1.35}
.colour-picker-header p:last-child{margin:7px 0 0;color:var(--muted);font-size:11px;line-height:1.6}
.colour-picker-body{min-height:0;overflow:auto;padding:20px 24px;max-height:55dvh;overscroll-behavior:contain}
.colour-picker-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.colour-picker-option{position:relative;min-width:0;padding:6px;border:1px solid var(--line);border-radius:10px;background:white;color:var(--ink);text-align:left;cursor:pointer}
.colour-picker-option>img{display:block;width:100%;aspect-ratio:1;object-fit:contain;background:#f7f8fb;border-radius:6px}
.colour-picker-option>span:not(.colour-picker-check){display:block;padding:9px 3px 4px;font-size:10px}
.colour-picker-option:hover{border-color:#93b4fa}
.colour-picker-option[aria-pressed=true]{border-color:#2563eb;box-shadow:0 0 0 2px #eaf1ff;background:#f8faff}
.colour-picker-option:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
.colour-picker-check{display:none;position:absolute;right:10px;top:10px;width:21px;height:21px;place-items:center;border-radius:50%;background:#2563eb;color:white;font-size:12px}
.colour-picker-option[aria-pressed=true] .colour-picker-check{display:grid}
.colour-picker-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 24px;border-top:1px solid var(--line);background:#fafbfe;flex-shrink:0}
.colour-picker-selection{display:flex;flex-direction:column;align-items:flex-start;gap:5px;font-size:11px}
.colour-picker-selection .text-button{padding:0;font-size:10px}
.colour-picker-selection .text-button[aria-pressed=true]{color:var(--muted)}
.colour-picker-actions{display:flex;align-items:center;gap:9px}
.colour-picker-empty{text-align:center;padding:32px 12px}
.colour-picker-empty strong{font-size:15px}
.colour-picker-empty p{font-size:12px;color:var(--muted);line-height:1.7;margin:9px 0 18px}
@media(max-width:600px){.colour-picker-header{padding:19px 18px 16px}.colour-picker-header h2{font-size:18px}.colour-picker-body{padding:16px 18px}.colour-picker-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.colour-picker-footer{padding:14px 18px;gap:12px}.colour-picker-actions{gap:7px}.colour-picker-actions .btn{padding:9px 11px;font-size:10px}.colour-picker-selection{font-size:10px}}
@media(max-width:360px){.colour-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.colour-picker-footer{flex-wrap:wrap}.colour-picker-actions{margin-left:auto}}
.variant-bulk-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}
.variant-bulk-heading h3{font-size:14px;color:var(--ink)}
.variant-bulk-heading p{margin:5px 0 0;line-height:1.6}
.variant-bulk-selection{display:flex;align-items:center;gap:10px;flex-shrink:0;flex-wrap:wrap;max-width:100%}
#editor-selection-count{font-size:11px;white-space:nowrap;padding:5px 9px;border-radius:20px;background:#eaf1ff;color:#2458c6}
.variant-bulk-selection .text-button{font-size:11px;padding:5px 0}
.variant-bulk-editor .quick-fill-fields{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.variant-bulk-editor .quick-fill-fields label{font-size:11px;min-width:0}
.variant-bulk-editor .quick-fill-fields input,.variant-bulk-editor .quick-fill-fields select{margin:7px 0 0;width:100%;min-width:0;min-height:39px;background:white}
.variant-bulk-editor .quick-fill-fields .btn{grid-column:auto;min-height:39px;font-size:11px}
.variant-bulk-editor .builder-message{color:#2458c6;margin:12px 0 0;min-height:0}
.variant-bulk-editor .form-error{margin:12px 0 0}
.variant-bulk-editor .builder-message:empty,.variant-bulk-editor .form-error:empty{display:none}
.smart-variant-wrap .editor-variant-selected>td{background:#f1f6ff}
@media(max-width:850px){.variant-bulk-editor .quick-fill-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.variant-bulk-editor{padding:14px}.variant-bulk-heading{flex-direction:column;gap:10px}.variant-bulk-editor .quick-fill-fields{gap:12px 9px}.variant-bulk-editor .quick-fill-fields input,.variant-bulk-editor .quick-fill-fields select{font-size:11px}}

.profit-panel .panel-header p{margin:5px 0 0;color:var(--muted);font-size:11px}.profit-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:22px}.profit-values>div{display:flex;flex-direction:column;gap:9px}.profit-values span{font-size:11px;color:var(--muted)}.profit-values strong{font-size:23px;letter-spacing:-.5px}.profit-result{background:#f2f4f7;padding:15px;border-radius:9px;margin:-8px 0}.profit-note{font-size:10px;color:var(--muted);line-height:1.8;padding:0 22px 18px;margin:0}@media(max-width:650px){.profit-values{grid-template-columns:1fr;gap:18px;padding:18px}.profit-values strong{font-size:21px}.profit-panel .panel-header{gap:12px;flex-wrap:wrap}.profit-note{padding:0 18px 18px}}

.nav-coming-soon{margin-left:auto;flex-shrink:0;font-size:8px;letter-spacing:.3px;line-height:1.4;border:1px solid #dce3d2;border-radius:4px;padding:3px 5px;color:#667085;background:#f7f8fa}.pos-coming-soon{padding:55px 24px;text-align:center}.pos-coming-icon{width:64px;height:64px;display:grid;place-items:center;margin:0 auto 20px;background:#f2f4f7;border-radius:16px;color:#2563eb}.pos-coming-icon .nav-icon{width:28px;height:28px}.pos-coming-soon h2{font-size:24px;margin:18px 0 10px}.pos-coming-soon p{font-size:12px;color:var(--muted);margin:0 0 25px}

.nav-menu-label{min-width:0}



#admin-navigation .nav-menu-label{white-space:nowrap}#admin-navigation a[href="#purchases"],#admin-navigation a[href="#activitylog"]{flex-wrap:nowrap;gap:9px}#admin-navigation a[href="#purchases"] .nav-coming-soon,#admin-navigation a[href="#activitylog"] .nav-coming-soon{margin-left:auto}

.order-amount-fields{margin:18px 0 22px;padding:15px;background:#f9fafb;border:1px solid var(--line);border-radius:9px}.order-amount-fields label{font-size:11px}.order-amount-fields input{margin-bottom:0;font-size:12px;min-height:38px}.order-builder-summary .order-amount-fields{grid-template-columns:1fr}.workspace-confirm-summary .order-amount-fields{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:650px){.workspace-confirm-summary .order-amount-fields{grid-template-columns:1fr}}

.manual-create-order .workspace-confirm-buttons .order-builder-submit{background:var(--ink);color:white;border-color:var(--ink)}.manual-create-order .order-builder-card{padding:22px}@media(max-width:800px){.manual-create-order .form-grid{grid-template-columns:1fr}.manual-create-order .order-builder-card{padding:17px}}

.duplicate-order-badge{border:1px solid #ebc8a5;background:#fff4e6;color:#946127;border-radius:6px;padding:5px 8px;align-self:flex-start;font-size:10px;text-align:left}.duplicate-order-badge small{display:block;font-size:9px;margin-top:3px;color:#946127}.duplicate-order-notice{border:1px solid #e9c99f;border-radius:9px;background:#fff8ed;padding:14px;margin-top:8px;font-size:12px}.duplicate-order-notice>strong{color:#916023}.duplicate-order-notice>p{color:#947654;font-size:11px;margin:7px 0 10px;line-height:1.6}.duplicate-order-links{display:flex;flex-direction:column;gap:7px;max-height:180px;overflow:auto}.duplicate-order-links>a{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:8px 10px;background:white;border:1px solid #eddfc8;border-radius:6px;font-size:10px}.duplicate-order-links>a:hover{border-color:#bd975e}.duplicate-order-links>a>span:last-child{margin-left:auto}.duplicate-order-links small{color:var(--muted)}


.bulk-confirm-orders{max-height:340px;overflow:auto;border:1px solid var(--line);border-radius:8px;margin:16px 0}.bulk-confirm-orders td,.bulk-confirm-orders th{padding:11px 13px}

.order-bulk-actions{display:flex;align-items:center;gap:8px;margin-bottom:18px;position:relative;z-index:25}.order-bulk-menu{position:relative}.order-bulk-menu>summary{list-style:none;display:flex;align-items:center;gap:9px;cursor:pointer;border:1px solid var(--line);border-radius:7px;padding:8px 12px;background:white;font-size:11px;min-height:35px}.order-bulk-menu>summary::-webkit-details-marker{display:none}.order-bulk-menu[open]>summary{background:#f2f4f7;border-color:#bac9a7}.bulk-trigger-count{font-size:10px;background:#f2f4f7;padding:1px 5px;border-radius:4px}.order-bulk-panel{position:absolute;top:calc(100% + 7px);left:0;width:300px;max-height:min(70vh,540px);overflow:auto;background:#ffffff;border:1px solid #e4e7ec;border-radius:10px;box-shadow:0 10px 28px #26331c26;padding:18px;z-index:40}.bulk-panel-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:18px}.bulk-panel-top>strong{font-size:11px;padding:4px 9px;background:#f2f4f7;border-radius:15px}.bulk-panel-top .text-button{font-size:11px}.bulk-menu-item{width:100%;display:flex;align-items:center;gap:9px;border:1px solid #e4e7ec;background:white;border-radius:7px;min-height:37px;padding:9px 10px;margin-top:8px;color:var(--ink);font-size:11px;text-align:left}.bulk-menu-item strong{font-size:11px;font-weight:600}.bulk-menu-item:hover:not(:disabled){background:#f2f4f7;border-color:#9aae85}.bulk-menu-icon{font-size:15px;color:#2563eb;min-width:16px;text-align:center}.bulk-menu-primary{background:#f2f4f7;border-color:#bfdbfe}.bulk-menu-soon{opacity:1!important;color:#667085;background:#f5f7f0;cursor:default}.bulk-menu-soon small{margin-left:auto;white-space:nowrap;font-size:8px;background:#f2f4f7;padding:2px 4px;border-radius:3px;color:#667085}.bulk-menu-soon .bulk-menu-icon{color:#98a2b3}.bulk-menu-section{border-top:1px solid #e4e7ec;margin-top:16px;padding-top:14px}.bulk-menu-section h4{margin:0 0 8px;font-size:11px;color:#475467;font-weight:500}.bulk-menu-section>p{font-size:10px;color:var(--muted);margin:0 0 7px}.bulk-print-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.bulk-print-grid .bulk-menu-item{padding:7px 6px;font-size:10px;gap:5px;margin:0}.bulk-print-grid .bulk-menu-icon{min-width:12px;font-size:12px}.bulk-print-grid .bulk-menu-soon small{font-size:7px;white-space:normal;max-width:30px;text-align:center}.bulk-clear-selection{width:100%;font-size:11px;margin-top:16px;padding:8px;border-top:1px solid #e4e7ec}.bulk-duplicates-soon{display:flex;align-items:center;gap:8px;border:1px solid #e5d9c4;background:#fff6e8;color:#937649;border-radius:7px;padding:8px 10px;min-height:35px;font-size:10px;opacity:1!important}.bulk-duplicates-soon small{font-size:8px}.bulk-menu-warning{line-height:1.6;color:#916723!important}@media(max-width:650px){.order-bulk-panel{width:min(300px,calc(100vw - 32px));max-height:65vh;padding:15px}.order-bulk-actions{gap:6px}.bulk-duplicates-soon{font-size:9px;padding:8px}.bulk-duplicates-soon small{font-size:7px}}

.admin-shell{grid-template-columns:244px minmax(0,1fr)}.sidebar{width:244px;padding:26px 12px 16px;border-right:1px solid #e4e7ec;box-shadow:3px 0 18px #26331c03}.admin-brand{padding:0 14px 22px}.admin-brand img{width:132px}.admin-brand span{font-size:8px;letter-spacing:2.4px;margin-top:11px;color:#667085}.sidebar-quick-search{display:flex;align-items:center;gap:7px;flex-shrink:0;background:#f8fafc;border:1px solid #e4e7ec;border-radius:8px;padding:8px 9px;margin:0 4px 16px}.sidebar-quick-search svg{width:15px;height:15px;fill:none;stroke:#667085;stroke-width:1.6;stroke-linecap:round;flex-shrink:0}.sidebar-quick-search input{width:100%;min-width:0;min-height:0;border:0;padding:0;background:transparent;margin:0;font-size:11px;outline:none!important;box-shadow:none}.sidebar-quick-search:focus-within{border-color:#60a5fa;box-shadow:0 0 0 2px #a9bd9020}.sidebar-quick-search kbd{font-family:inherit;white-space:nowrap;font-size:8px;color:#667085;background:#eef2f6;padding:3px 4px;border-radius:3px}.sidebar #admin-navigation{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;gap:0;padding:0 3px 12px;scrollbar-width:thin;scrollbar-color:#e4e7ec transparent}.sidebar #admin-navigation .nav-menu-group{margin:0 0 13px}.nav-menu-group h3{font-size:9px;font-weight:600;letter-spacing:1.2px;text-transform:uppercase;color:#667085;margin:8px 12px 7px}.sidebar #admin-navigation a{position:relative;min-height:40px;padding:9px 10px;gap:9px;margin:2px 0;border:1px solid transparent;border-radius:8px;font-size:13px;color:#344054;transition:background .15s,border-color .15s}.sidebar #admin-navigation a:hover{background:#f9fafb;border-color:#e4e7ec}.sidebar #admin-navigation a.active{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8;font-weight:600}.sidebar #admin-navigation a.active:before{content:"";position:absolute;left:-1px;top:10px;bottom:10px;width:3px;background:#2563eb;border-radius:3px}.sidebar #admin-navigation .nav-icon{width:18px;height:18px;flex-shrink:0;color:#667085;stroke-width:1.65}.sidebar #admin-navigation a.active .nav-icon{color:#2563eb}.sidebar #admin-navigation .nav-menu-label{font-size:13px;flex:1;min-width:0}.sidebar #admin-navigation .nav-coming-soon{margin:0;border-color:#e4e7ec;background:#f9fafb;color:#667085;font-size:7px;letter-spacing:0;padding:3px 4px;flex-shrink:0}.sidebar #admin-navigation .nav-count{margin:0;background:#dbeafe;color:#1d4ed8;min-width:21px;text-align:center;padding:2px 5px;font-size:9px}.nav-menu-chevron{width:11px;height:11px;fill:none;stroke:#98a2b3;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.sidebar #admin-navigation a.active .nav-menu-chevron{stroke:#2563eb}.sidebar-bottom{margin:0;flex-shrink:0;gap:11px;border-top:1px solid #eef2f6;padding:15px 13px 0;font-size:11px}.sidebar-bottom>a{color:#475467;font-weight:500}.sidebar-bottom button{font-size:11px}.nav-search-empty{font-size:11px;color:var(--muted);text-align:center;padding:20px 10px}@media(max-width:750px){.sidebar{width:244px;max-width:calc(100vw - 44px);padding-top:22px}.sidebar-quick-search kbd{display:none}}

.order-bulk-panel{position:fixed;width:min(380px,calc(100vw - 24px));max-height:none;overflow:visible;padding:12px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;box-shadow:0 10px 30px #26331c22}.bulk-panel-top{grid-column:1/-1;margin:0;gap:8px}.bulk-panel-top>strong{font-size:10px;padding:3px 8px}.bulk-panel-top .text-button{font-size:10px;padding:4px}.order-bulk-panel>.bulk-menu-item{grid-column:1/-1;margin:0}.bulk-menu-section{margin:0;padding-top:9px;min-width:0}.bulk-menu-section h4{font-size:10px;margin:0 0 7px;font-weight:600}.bulk-menu-section>p:not(.bulk-menu-warning){display:none}.bulk-menu-item{min-height:30px;padding:6px 8px;margin-top:6px;font-size:10px;gap:6px}.bulk-menu-item strong{font-size:10px}.bulk-menu-icon{font-size:12px;min-width:13px}.bulk-menu-soon small{font-size:7px;padding:2px 3px}.bulk-print-grid{gap:5px}.bulk-print-grid .bulk-menu-item{min-height:30px;padding:5px 4px;font-size:9px;gap:4px}.bulk-print-grid .bulk-menu-icon{font-size:10px;min-width:10px}.bulk-print-grid .bulk-menu-soon small{font-size:6px;padding:2px;max-width:26px}.bulk-menu-section:last-of-type{grid-column:1/-1;display:flex;align-items:center;gap:10px;justify-content:space-between}.bulk-menu-section:last-of-type h4{margin:0}.bulk-menu-section:last-of-type .bulk-menu-item{width:auto;min-width:175px;margin:0}.bulk-clear-selection{grid-column:1/-1;margin:0;padding:7px 0 0;font-size:10px}.bulk-menu-warning{font-size:9px!important;margin:7px 0 0!important}@media(max-width:650px){.order-bulk-panel{width:min(360px,calc(100vw - 24px));max-height:none;padding:11px;gap:9px}.bulk-menu-section:last-of-type .bulk-menu-item{min-width:165px}}

.orders-list-actions{flex-direction:row!important;align-items:center;gap:6px!important}.single-order-menu-trigger{display:grid;place-items:center;width:30px;height:32px;flex-shrink:0;background:#fafbfc;border:1px solid #e4e7ec;border-radius:7px;font-size:21px;line-height:1;padding:0;color:#475467}.single-order-menu-trigger:hover,.single-order-menu-trigger[aria-expanded="true"]{background:#eff6ff;border-color:#93c5fd}.single-order-actions-menu{position:fixed;z-index:60;width:min(260px,calc(100vw - 24px));background:#ffffff;border:1px solid #e4e7ec;border-radius:10px;box-shadow:0 10px 28px #26331c26;padding:10px}.single-order-menu-heading{display:flex;align-items:center;justify-content:space-between;padding:3px 6px 10px;border-bottom:1px solid #e4e7ec;margin-bottom:6px}.single-order-menu-heading strong{font-size:12px}.single-order-menu-heading small{display:block;font-size:9px;color:var(--muted);margin-top:2px}.single-order-menu-heading button{font-size:20px;padding:0 3px}.single-order-menu-item{display:flex;align-items:center;gap:10px;width:100%;border:0;background:transparent;border-radius:5px;padding:8px 7px;min-height:32px;font-size:11px;color:#667085;opacity:1!important;text-align:left;cursor:default}.single-order-menu-item svg{width:15px;height:15px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.single-order-menu-item small{margin-left:auto;border:1px solid #e4e7ec;background:#f2f4f7;border-radius:4px;padding:2px 4px;font-size:7px;color:#667085;white-space:nowrap}.single-order-menu-item.cancel{color:#bb8b81}.single-order-menu-item:nth-of-type(4),.single-order-menu-item:nth-of-type(7){border-bottom:1px solid #e4e7ec;border-radius:0;margin-bottom:4px;padding-bottom:10px}

.orders-created-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:150px}.orders-created-actions>div{min-width:0}.orders-created-actions .single-order-menu-trigger{width:28px;height:30px;font-size:20px}

:root{--ink:#111827;--olive:#2563eb;--muted:#667085;--line:#e4e7ec;--paper:#f6f7f9;--red:#b42318}.admin-header{background:#fff}.avatar{background:#eff6ff;color:#1d4ed8}.sidebar #admin-navigation .nav-coming-soon{color:#667085;background:#f9fafb;border-color:#e4e7ec;font-size:8px}.nav-menu-group h3{color:#667085}.sidebar-quick-search input::placeholder,input::placeholder,textarea::placeholder{color:#667085;opacity:1}.sidebar-bottom .local-label{color:#667085}.btn.primary{background:#111827;border-color:#111827;color:#fff}.btn.primary:hover{background:#273244;border-color:#273244}.btn:hover:not(:disabled){background:#f2f4f7}.btn.primary:hover:not(:disabled){background:#273244}.badge{background:#f2f4f7;color:#475467}.badge.pending,.badge.low,.badge.unpaid,.badge.hold,.badge.return_pending,.badge.partially_refunded{background:#fff7ed;color:#b54708}.badge.confirmed,.badge.processing,.badge.shipped{background:#eff6ff;color:#1d4ed8}.badge.delivered,.badge.paid,.badge.in{background:#ecfdf3;color:#067647}.badge.cancelled,.badge.out,.badge.refunded{background:#fff1f0;color:#b42318}.badge.variation,.badge.customer,.badge.cod{background:#f2f4f7;color:#475467}.badge.returned{background:#f4f3ff;color:#6941c6}.orders-rich-panel th{background:#f2f4f7;color:#475467}.orders-rich-panel th:last-child{background:#f2f4f7}.orders-rich-row:nth-child(even) td{background:#fafbfc}.orders-rich-row:hover td{background:#f5f7fa}.panel,.order-builder-card{background:white}.bulk-menu-primary{background:#eff6ff;border-color:#bfdbfe}.bulk-menu-item:hover:not(:disabled){background:#eff6ff;border-color:#93c5fd}.single-order-menu-trigger:hover,.single-order-menu-trigger[aria-expanded="true"]{background:#eff6ff;border-color:#93c5fd}.sidebar nav a:focus-visible{outline-color:#2563eb}.inventory-alerts>button.selected{background:#eff6ff;border-color:#93c5fd}.order-filter-tabs button.selected{background:#111827;color:white;border-color:#111827}.order-filter-tabs span{background:#f2f4f7;color:#475467}.order-filter-tabs button.selected span{background:#ffffff26;color:white}

.orders-meta-actions{display:flex;align-items:center;justify-content:flex-end;gap:14px;flex-wrap:wrap}.orders-show-duplicates{display:flex;align-items:center;gap:8px;border:1px solid #fed7aa;border-radius:7px;background:#fff7ed;color:#b54708;font-size:11px;font-weight:600;min-height:34px;padding:7px 11px}.orders-show-duplicates>span{font-size:10px;min-width:18px;text-align:center;padding:1px 5px;border-radius:5px;background:#ffedd5}.orders-show-duplicates:hover,.orders-show-duplicates.selected{background:#ffedd5;border-color:#fdba74}.orders-show-duplicates.selected>span{background:#fff7ed}@media(max-width:650px){.orders-meta-actions{gap:7px}.orders-show-duplicates{font-size:10px;padding:6px 9px}.orders-list-meta{flex-wrap:wrap}.orders-meta-actions{margin-left:auto}}

.duplicate-popup-intro{margin-bottom:20px}.duplicate-popup-intro>strong{font-size:13px}.duplicate-popup-intro>p{font-size:11px;color:var(--muted);margin:7px 0 0;line-height:1.7}.duplicate-popup-group{border:1px solid #e4e7ec;border-radius:10px;overflow:hidden;margin-bottom:14px}.duplicate-popup-heading{display:flex;justify-content:space-between;gap:10px;background:#f8fafc;padding:12px 15px;border-bottom:1px solid #e4e7ec;font-size:12px}.duplicate-popup-heading>span{font-size:10px;color:var(--muted)}.duplicate-popup-order{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(90px,.8fr) minmax(90px,.7fr);align-items:center;gap:15px;padding:13px 15px}.duplicate-popup-order+.duplicate-popup-order{border-top:1px solid #eef2f6}.duplicate-invoice-link{font-size:12px;font-weight:600;color:#2563eb}.duplicate-invoice-link:hover{text-decoration:underline}.duplicate-popup-order small{display:block;font-size:10px;color:var(--muted);margin-top:5px;overflow-wrap:anywhere}.duplicate-popup-order>div:last-child{text-align:right}.duplicate-popup-order>div:last-child>strong{font-size:12px}@media(max-width:650px){.duplicate-popup-order{grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px}.duplicate-popup-order>div:last-child{grid-column:1/-1;display:flex;justify-content:space-between;text-align:left}.duplicate-popup-order>div:last-child small{margin:0}}
.order-detail-view-label{font-size:11px;color:var(--muted);margin-left:8px}.order-detail-facts{margin:0}.order-detail-fact{display:flex;justify-content:space-between;gap:18px;padding:7px 0;font-size:12px}.order-detail-fact dt{color:var(--muted)}.order-detail-fact dd{margin:0;text-align:right;overflow-wrap:anywhere;max-width:65%}.order-detail-section{margin-top:24px}.order-detail-section>h3{display:flex;justify-content:space-between}.order-detail-payment{margin-top:20px;display:grid;grid-template-columns:1.4fr 1fr;gap:28px;align-items:center;background:white}.order-detail-due{padding:22px;border-radius:10px;background:#eff6ff;color:#1e40af}.order-detail-due span{display:block;font-size:11px;margin-bottom:8px}.order-detail-due strong{font-size:26px;letter-spacing:-.5px}.order-detail-notes{margin-top:20px}.order-detail-history{padding:22px;border:1px solid var(--line);border-radius:10px}.order-detail-history-heading{display:flex;justify-content:space-between;align-items:center}.order-detail-history-heading h3{margin:0}.order-detail-history-heading span{font-size:11px;color:var(--muted)}.order-details-readonly .order-timeline{border-color:#dbeafe;margin-top:20px;margin-bottom:0}.order-details-readonly .order-timeline li:before{background:#3b82f6}.order-details-readonly .order-timeline strong{color:var(--ink)}.order-details-readonly .order-timeline details{margin-top:8px;background:#f8fafc;border-radius:6px;padding:8px 10px}.order-details-readonly .order-timeline summary{cursor:pointer;color:var(--olive)}button.duplicate-invoice-link{border:0;background:none;padding:0;font:inherit;color:var(--olive);cursor:pointer;text-align:left}button.duplicate-invoice-link:hover{text-decoration:underline}@media(max-width:650px){.order-detail-payment{grid-template-columns:1fr;gap:16px}.order-detail-history{padding:16px}.order-detail-due{padding:16px}.order-detail-fact{gap:12px}}
.admin-header{gap:20px}.admin-header-shortcuts{display:flex;align-items:center;gap:5px;margin-left:auto;margin-right:auto;padding:5px;border:1px solid #e4e7ec;border-radius:13px;background:#f8fafc;box-shadow:0 2px 5px #10182803}.header-shortcut{display:flex;align-items:center;justify-content:center;gap:9px;min-height:38px;padding:8px 15px;border:1px solid transparent;border-radius:9px;background:transparent;color:#475467;font-size:12px;font-weight:600;white-space:nowrap;transition:background .15s,box-shadow .15s}.header-shortcut svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.header-shortcut:hover{background:#fff;color:#111827}.header-shortcut.is-current{background:white;color:#2563eb;border-color:#e4e7ec;box-shadow:0 1px 3px #1018280b}.header-shortcut-new{background:#111827;color:white;box-shadow:0 2px 4px #10182815}.header-shortcut-new:hover{background:#1e293b;color:white}.header-shortcut small{font-size:9px;font-weight:500;color:#667085;border:1px solid #e4e7ec;border-radius:4px;padding:1px 5px;background:white}@media(max-width:1000px){.admin-header{gap:12px}.header-shortcut{padding:8px 10px}.admin-header-shortcuts{gap:3px}}@media(max-width:750px){.admin-header{height:auto;min-height:70px;flex-wrap:wrap;padding-top:15px;padding-bottom:12px;gap:12px}.admin-header-shortcuts{order:5;flex-basis:100%;margin:0;justify-content:center}.header-shortcut{flex:1;padding:7px 9px;gap:7px;font-size:12px}.header-shortcut small{font-size:8px}.admin-user{margin-left:auto}}
.single-order-menu-item{transition:background .15s,color .15s,box-shadow .15s}.single-order-menu-item:not(:disabled){cursor:pointer}.single-order-menu-item:hover,.single-order-menu-item:focus-visible{background:#eff6ff;color:#1d4ed8;box-shadow:inset 3px 0 #3b82f6}.single-order-menu-item.cancel:hover,.single-order-menu-item.cancel:focus-visible{background:#fff1f2;color:#be123c;box-shadow:inset 3px 0 #f43f5e}.single-order-menu-item:hover small,.single-order-menu-item:focus-visible small{background:white;border-color:#dbeafe}
.header-shortcut-new{background:white;color:#2563eb;border-color:#e4e7ec;box-shadow:0 1px 3px #1018280b}.header-shortcut-new:hover{background:#eff6ff;color:#1d4ed8;border-color:#dbeafe}
.admin-header>div:not(.admin-user),.admin-header>.admin-user{display:none}.admin-header-shortcuts{margin-left:auto;margin-right:auto}@media(max-width:750px){.admin-header-shortcuts{order:0;flex-basis:auto;flex:1;margin:0}.admin-header .header-shortcut{padding:7px 8px}.admin-header{flex-wrap:nowrap}}
.admin-header-shortcuts .header-shortcut{background:transparent;color:#475467;border-color:transparent;box-shadow:none;transition:background .15s,color .15s,border-color .15s,box-shadow .15s,transform .1s}.admin-header-shortcuts .header-shortcut:hover{background:#eef2f6;color:#1d4ed8}.admin-header-shortcuts .header-shortcut.is-current{background:white;color:#2563eb;border-color:#dbe4f0;box-shadow:0 1px 3px #1018280b}.admin-header-shortcuts .header-shortcut.is-current:hover{background:#eff6ff;border-color:#bfdbfe}.admin-header-shortcuts .header-shortcut:active{transform:scale(.97);background:#dbeafe;color:#1d4ed8;box-shadow:inset 0 1px 3px #1d4ed815}
@media(min-width:801px){#admin-content.new-order-page{height:calc(100dvh - 82px);display:flex;flex-direction:column;padding:20px 28px 18px;overflow:hidden}.new-order-page .workspace-heading{flex-shrink:0;margin-bottom:18px}.new-order-page .order-workspace-grid{flex:1;min-height:0;grid-template-columns:minmax(0,1fr) 310px;gap:20px}.new-order-page #workspace-builder{height:100%;overflow-y:auto;overscroll-behavior:contain;padding-right:8px;scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.new-order-page #workspace-sidebar{position:static;min-height:0}.admin-main:has(.new-order-page)>.admin-footer{display:none}}
.new-order-page #workspace-sidebar>.order-builder-card{padding:16px;margin-bottom:14px}.new-order-page #workspace-sidebar h3{font-size:14px;margin-bottom:14px}.new-order-page .new-order-calculation .order-amount-fields{grid-template-columns:1fr;gap:0}.new-order-page .new-order-calculation label{font-size:11px;margin-bottom:10px}.new-order-page .new-order-calculation input{min-height:35px;padding:8px 10px;margin-top:4px;font-size:12px}.new-order-page .new-order-calculation label:last-child{margin-bottom:0}.new-order-page #workspace-sidebar .order-summary-values>div{padding:6px 0}.new-order-page #workspace-sidebar .order-summary-due{padding:12px 14px;margin-top:10px;margin-bottom:12px;display:flex;align-items:center;justify-content:space-between;gap:10px}.new-order-page #workspace-sidebar .order-summary-due span{margin:0}.new-order-page #workspace-sidebar .order-summary-due strong{font-size:20px}.new-order-page #workspace-sidebar .order-builder-payment{margin:12px 0}.new-order-page #workspace-sidebar .order-builder-submit{min-height:40px}.new-order-page #workspace-sidebar .order-builder-note{font-size:10px;margin:10px 0 0;line-height:1.5}.new-order-page #workspace-sidebar .form-error{font-size:11px;margin:8px 0}
@media(min-width:801px) and (max-height:950px){.new-order-page .new-order-calculation .order-amount-fields{grid-template-columns:1fr 1fr;gap:0 10px}.new-order-page #workspace-sidebar>.order-builder-card{padding:12px;margin-bottom:10px}.new-order-page #workspace-sidebar h3{margin-bottom:10px}.new-order-page #workspace-sidebar .order-summary-values>div{padding:4px 0}.new-order-page #workspace-sidebar .order-builder-payment{margin:8px 0}.new-order-page .new-order-calculation label{font-size:10px}}
@media(max-width:800px){.new-order-page .order-workspace-grid{grid-template-columns:1fr}.new-order-page #workspace-sidebar{position:static}.new-order-page .new-order-calculation .order-amount-fields{grid-template-columns:1fr 1fr;gap:0 12px}}
.new-order-page .new-order-calculation .order-amount-fields{margin:0;padding:0;border:0;background:none}.new-order-page #workspace-sidebar h3{margin-top:0}.new-order-page #workspace-sidebar .order-summary-due{flex-direction:row}.new-order-page #workspace-sidebar .order-summary-grand{margin-top:6px;padding-top:8px!important}.new-order-page #workspace-sidebar .order-summary-values{font-size:11px}
@media(min-width:801px) and (max-height:950px){.new-order-page #workspace-sidebar .order-builder-note{display:none}.new-order-page #workspace-sidebar .order-summary-due{padding:9px 12px;margin-top:8px;margin-bottom:8px}.new-order-page #workspace-sidebar h3{margin-bottom:8px}#admin-content.new-order-page{padding-top:14px}.new-order-page .workspace-heading{margin-bottom:12px}}
.courier-ratio-panel{border:1px solid #e4e7ec;border-radius:14px;background:white;padding:16px;margin-bottom:18px;box-shadow:0 3px 12px #10182804}.courier-panel-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:13px}.courier-panel-heading>div{display:flex;align-items:center;gap:10px}.courier-panel-heading strong{font-size:13px}.courier-panel-heading span,.courier-data-source{font-size:10px;color:var(--muted)}.courier-panel-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:12px}.courier-own-card{border:1px solid #dbeafe;border-radius:10px;padding:12px;background:#f8fbff}.courier-card-heading{display:flex;align-items:center;gap:7px;color:#1d4ed8}.courier-card-heading svg{width:16px;height:16px}.courier-card-heading strong{font-size:12px}.courier-card-heading button{margin-left:auto;font-size:9px;padding:0}.courier-own-total{display:flex;align-items:center;justify-content:space-between;padding:9px 0;border-bottom:1px solid #e2e8f0;font-size:11px}.courier-own-total strong{font-size:19px;line-height:1}.courier-own-counts{display:grid;grid-template-columns:1fr 1fr;gap:6px 15px;padding-top:9px;font-size:10px}.courier-own-counts>div{display:flex;justify-content:space-between;gap:5px;color:var(--muted)}.courier-own-counts strong{color:var(--ink);font-weight:600}.courier-provider-results{min-width:0}.courier-provider-cards{display:flex;gap:10px;overflow-x:auto;padding-bottom:8px;scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.courier-stat-card{flex:0 0 155px;border:1px solid #e4e7ec;border-radius:10px;padding:11px;background:white}.courier-overall{background:#f8fafc;border-color:#dbe4f0}.courier-stat-title{display:flex;align-items:center;gap:7px;font-size:12px;margin-bottom:12px}.courier-provider-icon{width:25px;height:25px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #dbeafe;border-radius:7px;background:#eff6ff;color:#2563eb;font-size:12px;font-weight:600;flex-shrink:0}.courier-provider-icon svg{width:16px;height:16px}.courier-rate-row{display:flex;align-items:center;gap:9px;margin-bottom:12px}.courier-rate-row strong{display:block;font-size:20px;letter-spacing:-.5px;line-height:1.25}.courier-rate-row small{display:block;font-size:9px;line-height:1.5;color:var(--muted);margin-top:2px}.courier-ratio-ring{width:35px;height:35px;border-radius:50%;background:conic-gradient(#2563eb var(--courier-rate),#e4e7ec 0);position:relative;flex-shrink:0}.courier-ratio-ring:after{content:"";position:absolute;inset:4px;background:white;border-radius:50%}.courier-ratio-ring.no-data{background:#e4e7ec}.courier-stat-card dl{margin:0;font-size:10px}.courier-stat-card dl>div{display:flex;justify-content:space-between;gap:8px;margin:5px 0}.courier-stat-card dt{color:var(--muted)}.courier-stat-card dd{margin:0;font-weight:600}.courier-checked-at{font-size:9px;color:var(--muted);margin:5px 0 0;line-height:1.5}.courier-panel-placeholder{display:flex;align-items:center;gap:12px;padding:2px}.courier-panel-placeholder strong{font-size:12px}.courier-panel-placeholder p{font-size:11px;color:var(--muted);margin:3px 0 0}.courier-panel-state{height:100%;min-height:165px;border:1px dashed #d0d5dd;border-radius:10px;padding:20px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;background:#fafbfc}.courier-panel-state strong{font-size:12px}.courier-panel-state p{font-size:11px;line-height:1.6;color:var(--muted);margin:7px 0 12px}.courier-panel-error{background:#fffbf5;border-color:#fed7aa}.courier-loading-dot{width:7px;height:7px;border-radius:50%;background:#2563eb;margin-bottom:10px;animation:courier-pulse 1s ease-in-out infinite}@keyframes courier-pulse{50%{opacity:.3}}@media(prefers-reduced-motion:reduce){.courier-loading-dot{animation:none}}@media(max-width:1000px){.courier-panel-layout{grid-template-columns:1fr}.courier-own-counts{grid-template-columns:repeat(3,minmax(0,1fr))}.courier-panel-state{min-height:120px}}@media(max-width:600px){.courier-ratio-panel{padding:13px}.courier-panel-heading{align-items:flex-start;flex-direction:column;gap:3px}.courier-panel-heading>div{flex-wrap:wrap}.courier-panel-placeholder{align-items:flex-start}.courier-own-counts{grid-template-columns:1fr 1fr}.courier-stat-card{flex-basis:155px}}
.courier-panel-layout{align-items:start}.courier-own-card,.courier-stat-card{min-height:174px}.courier-own-card{align-self:start}
.courier-stat-title{min-height:25px}.courier-brand-logo{display:block;width:auto;max-width:112px;height:25px;object-fit:contain;object-position:left center}.courier-brand-steadfast{max-width:25px}
.courier-duplicate-tag{display:inline-flex;align-items:center;gap:7px;flex-shrink:0;border:1px solid #fed7aa;border-radius:6px;padding:5px 9px;background:#fff7ed;color:#c2410c;font-size:10px;font-weight:600}.courier-duplicate-tag span{background:#ffedd5;border-radius:4px;padding:1px 5px}.courier-duplicate-tag:hover{background:#ffedd5;border-color:#fdba74}.courier-duplicate-tag:active{transform:scale(.98)}
.courier-panel-layout{grid-template-columns:155px minmax(0,1fr)}.courier-card-heading{flex-wrap:wrap}.courier-card-heading button{flex-basis:100%;margin:0;text-align:left;padding-top:3px}.courier-own-counts{grid-template-columns:1fr;gap:6px}.courier-own-total{font-size:10px}.courier-own-card{padding:11px}@media(max-width:1000px){.courier-panel-layout{grid-template-columns:155px minmax(0,1fr)}}@media(max-width:600px){.courier-panel-layout{grid-template-columns:1fr}.courier-own-card{width:155px}.courier-own-counts{grid-template-columns:1fr}}
.courier-card-heading .courier-autofill{flex-basis:auto;width:auto;margin:0 0 0 auto;padding:3px 7px;border:1px solid #bfdbfe;border-radius:20px;background:white;color:#1d4ed8;font-size:9px;font-weight:600;line-height:1.4}.courier-card-heading .courier-autofill:hover:not(:disabled){background:#dbeafe;border-color:#93c5fd}.courier-card-heading .courier-autofill:active:not(:disabled){transform:scale(.97)}.courier-card-heading:has(.courier-autofill)>.nav-icon{width:13px;height:13px}.courier-card-heading:has(.courier-autofill)>strong{font-size:10px}.courier-card-heading:has(.courier-autofill){gap:4px}
.courier-own-status{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;border:0;border-radius:5px;background:transparent;padding:4px 5px;font-size:10px;text-align:left;color:var(--muted);cursor:pointer}.courier-own-status:hover,.courier-own-status:focus-visible{background:#dbeafe;color:#1d4ed8}.courier-own-status:hover strong{color:#1d4ed8}.courier-own-status:active{background:#bfdbfe}
.order-source-field{margin-bottom:16px}.order-source-field>label{margin-bottom:6px}.order-source-picker{position:relative}.order-source-native{position:absolute;width:1px;height:1px;min-height:0;padding:0;margin:0;opacity:0;pointer-events:none}.order-source-trigger{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:42px;background:#fafbfc;border:1px solid #d0d5dd;border-radius:7px;padding:10px 12px;font-size:12px}.order-source-trigger-content{display:flex;align-items:center;gap:9px}.order-source-picker svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.order-source-trigger:hover{border-color:#93c5fd;background:#f8fbff}.order-source-options{position:absolute;top:calc(100% + 6px);left:0;width:240px;max-width:100%;max-height:320px;overflow-y:auto;background:white;border:1px solid #e4e7ec;border-radius:10px;padding:5px;box-shadow:0 10px 28px #10182818;z-index:15;scrollbar-width:thin}.order-source-options button{display:flex;align-items:center;gap:9px;border:0;background:white;border-radius:6px;padding:8px;width:100%;text-align:left;font-size:12px}.order-source-options button:hover,.order-source-options button:focus-visible{background:#f2f4f7}.order-source-options button.selected{background:#eff6ff;color:#1d4ed8}.source-option-check{width:13px;font-size:11px;visibility:hidden}.selected .source-option-check{visibility:visible}
.user-access-banner{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:16px 20px;background:#eff6ff;border:1px solid #dbeafe;border-radius:12px;margin:0 0 20px}.user-access-banner>div{display:flex;gap:12px;align-items:center}.user-access-banner svg{width:23px;height:23px;color:#2563eb}.user-access-banner strong{display:block;font-size:13px}.user-access-banner small{display:block;font-size:11px;color:#667085;margin-top:3px}.user-stats-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:22px}.user-stat{padding:17px 20px;border:1px solid var(--line);background:white;border-radius:11px}.user-stat span{display:block;color:var(--muted);font-size:11px}.user-stat strong{display:block;font-size:26px;margin-top:6px;line-height:1.2}.team-user-cell{display:flex;gap:11px;align-items:center;min-width:200px}.team-user-avatar{width:36px;height:36px;background:#f2f4f7;border:1px solid #e4e7ec;color:#475467;border-radius:10px;display:grid;place-items:center;flex-shrink:0;font-size:13px;font-weight:600}.team-user-cell strong{font-size:12px;display:block}.team-user-cell small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.team-you{font-size:9px;color:#2563eb;background:#eff6ff;padding:1px 5px;border-radius:4px}.user-role{display:inline-flex;padding:4px 9px;font-size:10px;font-weight:600;border-radius:6px;background:#eef2ff;color:#4338ca}.user-role.manager{background:#ecfdf3;color:#067647}.user-role.moderator{background:#eff6ff;color:#1d4ed8}.user-role-guides{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:20px}.user-role-guides section{padding:18px;border:1px solid var(--line);border-radius:10px;background:white}.user-role-guides p{font-size:11px;color:var(--muted);margin:12px 0 0;line-height:1.7}.user-editor-intro{font-size:12px;color:var(--muted);padding:14px 16px;background:#f8fafc;border-radius:8px;margin-bottom:22px;line-height:1.7}.user-permission-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0 15px}.user-permission-heading h3{margin-bottom:4px}.user-permission-heading p{font-size:11px;color:var(--muted);margin:0}.user-permission-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:22px}.user-permission-card{border:1px solid var(--line);border-radius:9px;padding:14px;background:#fafbfc}.user-permission-card strong{font-size:12px}.user-permission-card p{font-size:10px;color:var(--muted);line-height:1.6;margin:5px 0 12px}.user-permission-card>div:last-child{display:flex;gap:22px}.user-permission-card label{font-size:11px;margin:0}.user-permission-card input{width:14px;height:14px;min-height:14px}@media(max-width:800px){.user-stats-grid{grid-template-columns:repeat(3,1fr)}.user-role-guides{grid-template-columns:1fr}}@media(max-width:550px){.user-stats-grid{grid-template-columns:repeat(2,1fr);gap:9px}.user-stat{padding:14px}.user-access-banner{align-items:flex-start;flex-direction:column;padding:15px}.user-permission-grid{grid-template-columns:1fr}.user-permission-heading{align-items:flex-start;flex-direction:column}}
.order-history-actor{display:block;font-size:10px;color:#2563eb;margin:4px 0}.audit-log-note{display:flex;gap:12px;align-items:center;padding:14px 17px;background:#eff6ff;border:1px solid #dbeafe;border-radius:9px;margin-bottom:20px}.audit-log-note svg{color:#2563eb;flex-shrink:0}.audit-log-note p{margin:0;font-size:11px;color:#475467;line-height:1.7}.audit-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:15px}.audit-toolbar label{display:flex;align-items:center;gap:10px;margin:0;font-size:11px}.audit-toolbar select{margin:0;width:auto;min-height:34px;font-size:11px;padding:7px 10px}.audit-actor strong{font-size:11px;display:block}.audit-actor small{font-size:10px;display:block;color:var(--muted);margin-top:3px}.audit-changes summary{cursor:pointer;color:#2563eb;font-size:11px}.audit-changes .table-wrap{margin-top:12px;border:1px solid var(--line);border-radius:7px;max-width:650px}.audit-changes td{font-size:10px;white-space:normal;vertical-align:top;min-width:100px}.audit-changes .audit-value{overflow-wrap:anywhere;max-width:260px;min-width:120px}.audit-changes th{font-size:10px}.order-timeline .audit-changes{margin-top:10px}.order-timeline .audit-changes .table-wrap{max-width:100%}@media(max-width:600px){.audit-toolbar{align-items:flex-start;flex-direction:column}.audit-toolbar select{max-width:220px}}
.orders-note-cell .orders-updated-by{color:#2563eb;margin-top:3px;font-size:10px}
.order-workspace-grid .workspace-confirm-footer{flex-wrap:wrap}.order-workspace-grid .workspace-confirm-footer .order-builder-payment{flex-basis:100%;justify-content:flex-start}.order-workspace-grid .workspace-confirm-buttons{display:flex;flex-basis:100%;width:100%;gap:12px;flex-wrap:nowrap}.order-workspace-grid .workspace-confirm-buttons .btn,.order-workspace-grid .workspace-confirm-buttons .order-builder-submit{flex:1;min-width:0;width:100%;min-height:52px;padding:14px 18px;font-size:13px;border-radius:8px}@media(max-width:650px){.order-workspace-grid .workspace-confirm-buttons{flex-direction:column}}
.order-builder-section-title .order-ai-assist-button{margin-left:auto;border:0;background:linear-gradient(110deg,#10b981,#0d9488);color:white;padding:10px 13px;border-radius:10px;display:flex;gap:7px;align-items:center;font-size:12px;font-weight:600;white-space:nowrap}.order-ai-assist-button small{font-size:8px;background:#ffffff30;border-radius:12px;padding:3px 5px}.order-ai-assist-button:hover{filter:brightness(1.05)}.order-assist-dialog{width:min(540px,94vw);max-height:92dvh;border:0;border-radius:16px;padding:0;color:var(--ink);box-shadow:0 20px 70px #10182840}.order-assist-dialog::backdrop{background:#10182860;backdrop-filter:blur(3px)}.order-assist-dialog>header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px;background:linear-gradient(110deg,#10b981,#0d9488);color:white;position:sticky;top:0;z-index:2}.order-assist-dialog>header>div{display:flex;align-items:center;gap:12px}.assist-spark{width:36px;height:36px;display:grid;place-items:center;background:#ffffff25;border-radius:10px}.order-assist-dialog h2{font-size:17px;margin:0}.order-assist-dialog header p{font-size:11px;margin:3px 0 0}.order-assist-dialog header button{background:transparent;border:0;color:white;font-size:25px;width:30px;height:30px;border-radius:5px}.order-assist-dialog header button:hover{background:#ffffff20}.order-assist-body{padding:20px}.assist-tabs{display:inline-flex;background:#f2f4f7;border-radius:9px;padding:4px;gap:3px;margin-bottom:16px}.assist-tabs button{border:0;background:transparent;color:#667085;padding:8px 10px;border-radius:7px;font-size:12px;font-weight:600}.assist-tabs .selected{background:white;color:#047857;box-shadow:0 1px 3px #1018280d}.order-assist-body label{margin-bottom:5px;font-size:12px;font-weight:600}.order-assist-body textarea{min-height:140px;font-size:12px}.assist-input-meta{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:var(--muted);margin-top:7px}.assist-upload{min-height:175px;border:2px dashed #cbd5e1;border-radius:10px;display:flex;justify-content:center;align-items:center;padding:16px;text-align:center;cursor:pointer}.assist-upload:hover{border-color:#10b981;background:#f0fdf4}.assist-upload strong{display:block;font-size:13px}.assist-upload small{display:block;font-size:10px;color:var(--muted);margin-top:6px}.assist-upload img{max-width:100%;max-height:220px;object-fit:contain;border-radius:7px}#assist-file{font-size:11px;min-height:30px;border:0;padding:3px;background:none}.assist-primary{background:linear-gradient(110deg,#10b981,#0d9488);color:white;border:0}.assist-primary:hover{background:#059669;color:white}.assist-actions{display:flex;gap:9px;margin-top:16px}.assist-privacy{font-size:10px;color:var(--muted);line-height:1.6;margin:14px 0 0}.assist-processing{font-size:12px;color:#047857;margin:12px 0}.assist-result-heading{margin:18px 0 12px}.assist-result-heading h3{margin-bottom:4px}.assist-result-heading p{font-size:11px;color:var(--muted);margin:0}.assist-review-field{margin-bottom:13px}.assist-review-field textarea{min-height:65px}.assist-product-reference{padding:12px;background:#eff6ff;border:1px solid #dbeafe;border-radius:8px;margin-bottom:15px}.assist-product-reference strong{font-size:12px}.assist-product-reference p{font-size:12px;margin:5px 0}.assist-product-reference small{font-size:10px;color:var(--muted)}@media(max-width:550px){.order-builder-section-title:has(.order-ai-assist-button){flex-wrap:wrap}.order-builder-section-title .order-ai-assist-button{margin-left:0;min-height:36px}.order-assist-body,.order-assist-dialog>header{padding:16px}.assist-tabs button{padding:8px;font-size:11px}}
.assist-upload.drag-active{border-color:#10b981;background:#ecfdf5;box-shadow:0 0 0 3px #10b98118}
#order-assist-dialog #assist-file{position:absolute;width:1px;height:1px;min-height:0;padding:0;margin:-1px;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.order-assist-dialog{width:min(560px,94vw);border:1px solid #ffffffb3;border-radius:20px;box-shadow:0 32px 100px #0b142b45,0 8px 24px #0b142b18;background:#fff}.order-assist-dialog::backdrop{background:#101b344d;backdrop-filter:blur(5px)}.order-assist-dialog>header{padding:25px 26px;background:linear-gradient(120deg,#142548 0%,#243f78 100%);border-bottom:1px solid #ffffff12;color:white}.order-assist-dialog h2{font-size:20px;letter-spacing:-.5px;font-weight:600}.order-assist-dialog header p{color:#c6d4ee;font-size:11px;margin-top:5px}.order-assist-dialog .assist-spark{width:45px;height:45px;border-radius:13px;background:#ffffff12;border:1px solid #ffffff25;box-shadow:inset 0 1px 0 #ffffff15;color:#dbeafe}.order-assist-dialog svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.order-assist-dialog .assist-spark svg{width:24px;height:24px}.order-assist-dialog header button{width:32px;height:32px;border:1px solid #ffffff1a;border-radius:50%;background:#ffffff09;color:#dbeafe;font-size:22px}.order-assist-dialog header button:hover{background:#ffffff20;color:white}.order-assist-body{padding:24px 26px 22px}.order-assist-dialog .assist-tabs{display:flex;width:100%;padding:5px;margin-bottom:23px;border:1px solid #e8edf4;background:#f5f7fb;border-radius:12px;gap:5px}.order-assist-dialog .assist-tabs button{display:flex;align-items:center;justify-content:center;gap:8px;flex:1;border:1px solid transparent;border-radius:8px;font-size:12px;padding:10px;color:#64748b;transition:background .15s,color .15s}.order-assist-dialog .assist-tabs button:hover{color:#1d4ed8}.order-assist-dialog .assist-tabs .selected{background:white;border-color:#e1e8f2;box-shadow:0 2px 5px #10182808;color:#1d4ed8}.order-assist-dialog #assist-text-input>label{font-size:12px;font-weight:600;color:#334155;margin-bottom:9px}.order-assist-dialog #assist-message{min-height:155px;border-radius:11px;border:1px solid #dce3ed;background:#fcfdff;padding:14px;font-size:12px;line-height:1.8;box-shadow:inset 0 1px 2px #10182803}.order-assist-dialog #assist-message:focus{border-color:#93b4e8;outline:0;box-shadow:0 0 0 3px #2563eb0d}.order-assist-dialog .assist-input-meta{margin-top:10px;font-size:10px;color:#7c8aa0}.order-assist-dialog .assist-actions{margin-top:21px;gap:10px}.order-assist-dialog .assist-actions .assist-primary{flex:1;min-height:46px;background:linear-gradient(110deg,#254f9e,#2563eb);border:1px solid #295dcc;box-shadow:0 4px 10px #2563eb1f;border-radius:10px;font-size:12px;color:white}.order-assist-dialog .assist-actions .assist-primary:hover{background:linear-gradient(110deg,#1e4389,#1d4ed8);box-shadow:0 5px 14px #2563eb2a}.order-assist-dialog .assist-actions .assist-primary svg:last-child{margin-left:auto;width:15px}.order-assist-dialog .assist-actions .assist-primary span{margin-right:auto}.order-assist-dialog .assist-actions>.btn:not(.assist-primary){border-radius:10px;min-height:46px;padding:10px 20px;color:#475569;background:white}.order-assist-dialog .assist-privacy{border-top:1px solid #eef2f7;padding-top:14px;margin-top:19px;color:#7b8798;font-size:10px;line-height:1.7}.order-assist-dialog .form-error:empty{display:none}.order-assist-dialog .assist-upload{min-height:185px;background:#fafcff;border-color:#d7e1ef;border-width:1px;border-radius:12px}.order-assist-dialog .assist-upload:hover,.order-assist-dialog .assist-upload.drag-active{border-color:#60a5fa;background:#eff6ff;box-shadow:0 0 0 3px #2563eb0a}.assist-upload-icon{display:grid;place-items:center;width:44px;height:44px;background:white;border:1px solid #e2e8f0;border-radius:12px;color:#5680b9;margin:0 auto 14px;box-shadow:0 3px 8px #10182805}.order-assist-dialog .assist-upload-icon svg{width:24px;height:24px}.order-assist-dialog .assist-primary{background:#2563eb;color:white}.order-assist-dialog .assist-processing{color:#2563eb}.order-builder-section-title .order-ai-assist-button{background:linear-gradient(110deg,#254f9e,#2563eb);border:1px solid #295dcc;box-shadow:0 3px 8px #2563eb15}.order-ai-assist-button:hover{background:#1d4ed8;filter:none}@media(max-width:550px){.order-assist-dialog>header{padding:20px}.order-assist-body{padding:20px}.order-assist-dialog h2{font-size:18px}.order-assist-dialog .assist-tabs button{gap:6px;padding:9px 6px;font-size:11px}.order-assist-dialog .assist-tabs svg{width:15px;height:15px}.order-assist-dialog .assist-actions>.btn:not(.assist-primary){padding:10px 15px}}@media(prefers-reduced-motion:no-preference){.order-assist-dialog[open]{animation:assist-dialog-enter .18s ease-out}@keyframes assist-dialog-enter{from{opacity:0;transform:translateY(8px) scale(.99)}to{opacity:1;transform:none}}}
.admin-header{position:relative}.admin-header>.admin-user{display:flex;align-items:center;gap:10px;margin-left:auto;flex-shrink:0;border:1px solid transparent;padding:6px 10px 6px 6px;border-radius:12px;cursor:pointer;transition:background .15s,border-color .15s}.admin-header>.admin-user:hover{background:#f8fafc;border-color:#e4e7ec}.admin-header>.admin-user:focus-visible{outline:2px solid #2563eb;outline-offset:3px}.admin-user .avatar{width:34px;height:34px;background:linear-gradient(130deg,#eff6ff,#e0e7ff);border:1px solid #dbeafe;color:#1d4ed8;font-size:12px;font-weight:600}.admin-user #user-name{display:block;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;color:#334155}.my-profile-card{text-align:center;padding:8px 5px}.my-profile-avatar{width:64px;height:64px;display:grid;place-items:center;margin:0 auto 16px;border-radius:18px;background:linear-gradient(135deg,#eff6ff,#e0e7ff);border:1px solid #dbeafe;color:#1d4ed8;font-size:25px;font-weight:600}.my-profile-card h2{margin-bottom:5px}.my-profile-card>p{font-size:12px;color:var(--muted);margin-bottom:12px}.my-profile-card .order-detail-facts{margin:22px 0 20px;text-align:left;padding-top:15px;border-top:1px solid var(--line)}.my-profile-card>.btn{min-width:180px}@media(min-width:1050px){.admin-header-shortcuts{position:absolute;left:50%;transform:translateX(-50%);margin:0}}@media(min-width:751px) and (max-width:1049px){.admin-header-shortcuts{margin-left:0;margin-right:auto}.admin-user #user-name{max-width:85px}}@media(max-width:750px){.admin-header{flex-wrap:wrap}.admin-header-shortcuts{order:5;flex-basis:100%;flex:1 1 100%;margin:0}.admin-header>.admin-user{margin-left:auto;padding:4px 8px 4px 4px}.admin-user #user-name{display:block;max-width:150px;font-size:11px}}
.header-communication{display:flex;align-items:center;gap:8px;flex-shrink:0}.header-communication button{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:38px;min-width:38px;padding:9px;border:1px solid #e4e7ec;border-radius:10px;background:white;color:#64748b;box-shadow:0 1px 3px #10182804;transition:background .15s,color .15s,border-color .15s}.header-communication button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.header-communication button span{display:none;font-size:11px;font-weight:500}.header-communication button:hover{color:#2563eb;background:#eff6ff;border-color:#bfdbfe}.header-communication button:active{transform:scale(.97)}@media(min-width:1400px){.header-communication button{padding:9px 11px}.header-communication button span{display:block}}@media(max-width:750px){.header-communication{gap:6px}.header-communication button{height:34px;min-width:34px;padding:7px}.admin-header>.admin-user{max-width:calc(100% - 145px)}.admin-user #user-name{max-width:100px}}
.advance-method-trigger{border:1px solid #dbe5ff;background:#f5f8ff;color:#245be8;border-radius:9px;padding:9px 12px;text-align:left;font-size:11px;cursor:pointer}.advance-method-trigger[hidden]{display:none}.advance-method-dialog{width:min(480px,calc(100vw - 32px));border:1px solid #dfe6f2;border-radius:20px;padding:0;box-shadow:0 30px 90px #14254840;color:#14213a}.advance-method-dialog::backdrop{background:#17243b55;backdrop-filter:blur(4px)}.advance-method-heading{display:flex;justify-content:space-between;align-items:flex-start;padding:24px;background:linear-gradient(130deg,#f5f8ff,#fff);border-bottom:1px solid #e7edf7}.advance-method-heading small{font-size:10px;letter-spacing:1.6px;color:#5575aa}.advance-method-heading h2{font-size:23px;margin:8px 0}.advance-method-heading p{font-size:12px;color:#687893;margin:0}.advance-method-heading .btn{padding:6px 11px}.advance-method-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:24px}.advance-method-option{display:flex;flex-direction:column;align-items:center;gap:9px;border:1px solid #e0e7f2;border-radius:13px;background:white;padding:17px 5px;cursor:pointer;color:#14213a;transition:border-color .15s,background .15s,transform .15s}.advance-method-option:hover,.advance-method-option[aria-pressed=true]{border-color:#2761ed;background:#f5f8ff;transform:translateY(-2px)}.advance-method-option>span{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#edf3ff;color:#245be8;font-size:19px;font-weight:700}.advance-method-option.bkash>span{background:#fff0f6;color:#d91b68}.advance-method-option.nagad>span{background:#fff2e8;color:#e65f16}.advance-method-option.rocket>span{background:#f7edff;color:#8535b3}.advance-method-option strong{font-size:12px}.advance-method-option small{font-size:10px;color:#7b89a1}@media(max-width:420px){.advance-method-options{padding:16px;gap:9px}.advance-method-heading{padding:20px}}
.advance-method-inline[hidden]{display:none}.advance-method-inline{margin-top:2px}.advance-method-caption{display:block;font-size:11px;color:#60708d;margin:0 0 9px}.advance-method-inline-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.advance-method-inline-options .advance-method-option{flex-direction:row;justify-content:center;gap:6px;padding:10px 4px;border-radius:9px;min-width:0}.advance-method-inline-options .advance-method-option>span{width:24px;height:24px;border-radius:7px;font-size:12px;flex-shrink:0}.advance-method-inline-options .advance-method-option strong{font-size:10px}.advance-method-inline-options .advance-method-option[aria-pressed=true]{box-shadow:0 0 0 1px #2761ed;transform:none}
.advance-transaction-field[hidden]{display:none}
.advance-receiver-field[hidden]{display:none}
.advance-transaction-alert{display:block;color:#c83838;font-size:11px;line-height:1.5;margin-top:6px}.advance-transaction-alert[hidden]{display:none}#manual-advance-reference[aria-invalid=true]{border-color:#d94a4a;background:#fff8f8}
.order-amount-fields .advance-amount-field{grid-column:1/-1}.new-order-page .new-order-calculation .advance-amount-field{margin-bottom:0}.new-order-page .new-order-calculation .advance-method-inline:not([hidden]){margin-top:14px}.new-order-page .new-order-calculation .advance-transaction-field:not([hidden]),.new-order-page .new-order-calculation .advance-receiver-field:not([hidden]){margin-top:12px;margin-bottom:0}
.advance-payment-note-field[hidden]{display:none}.new-order-page .new-order-calculation .advance-payment-note-field:not([hidden]){margin-top:12px;margin-bottom:0}.advance-payment-note-field textarea{font-size:12px;min-height:64px;resize:vertical}
@media(min-width:801px){.new-order-page #workspace-sidebar{height:100%;overflow-y:auto;overscroll-behavior:contain;padding-right:8px;scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.new-order-page #workspace-sidebar>.order-builder-card:last-child{margin-bottom:0}}
/* New order: consistent surfaces, readable fields and a clear payment summary. */
.new-order-page{--order-border:#e2e8f2;--order-muted:#73819a;background:#f5f7fb;color:#15233e}
.new-order-page .order-builder-card,.new-order-page .courier-ratio-panel{border:1px solid var(--order-border);border-radius:16px;background:#fff;box-shadow:0 3px 12px #24385b04}
.new-order-page .order-builder-main>.order-builder-card{padding:24px;margin-bottom:18px}
.new-order-page .order-builder-section-title{align-items:center;gap:13px;padding-bottom:20px;margin-bottom:22px;border-bottom:1px solid #edf1f7}
.new-order-page .order-builder-section-title>span{width:36px;height:36px;flex-shrink:0;background:#edf3ff;border:1px solid #dfe9ff;color:#3764bc;border-radius:12px;font-size:11px;font-weight:600}
.new-order-page .order-builder-section-title h3{font-size:16px;letter-spacing:-.25px;font-weight:650;color:#15233e;margin:0 0 5px}
.new-order-page .order-builder-section-title p{font-size:11px;color:var(--order-muted);line-height:1.5;margin:0}
.new-order-page .form-grid{column-gap:20px}
.new-order-page .form-grid label,.new-order-page .order-source-field>label{color:#40516d;font-size:11.5px;font-weight:500}
.new-order-page .form-grid input:not([type=checkbox]):not([type=hidden]),.new-order-page .form-grid select,.new-order-page .form-grid textarea,.new-order-page .order-source-trigger{background:#fafbfd;border-color:#dde5f0;border-radius:10px;color:#20314d;transition:border-color .15s,box-shadow .15s,background .15s}
.new-order-page .form-grid input:not([type=checkbox]):not([type=hidden]),.new-order-page .form-grid select,.new-order-page .order-source-trigger{min-height:44px}
.new-order-page .form-grid textarea{padding:12px;line-height:1.6;min-height:72px}
.new-order-page input::placeholder,.new-order-page textarea::placeholder{color:#93a0b6;font-weight:400}
.new-order-page .form-grid input:focus,.new-order-page .form-grid textarea:focus,.new-order-page .form-grid select:focus,.new-order-page .order-source-trigger:focus-visible{outline:0;border-color:#5b86ef;background:#fff;box-shadow:0 0 0 3px #3268e910}
.new-order-page .order-ai-assist-button{border-radius:11px;box-shadow:0 4px 10px #275be51b;min-height:40px}
.new-order-page .courier-ratio-panel{padding:18px 20px;margin-bottom:18px}
.new-order-page .courier-panel-placeholder{gap:13px}
.new-order-page .courier-panel-placeholder>.courier-provider-icon{width:36px;height:36px;border-radius:11px;background:#f0f5ff}
.new-order-page .courier-panel-placeholder strong{font-size:12px;font-weight:650;color:#20314d}
.new-order-page .courier-panel-placeholder p{font-size:11px;color:var(--order-muted);line-height:1.5;margin-top:5px}
.new-order-page #workspace-sidebar>.order-builder-card{padding:18px;margin-bottom:14px}
.new-order-page #workspace-sidebar h3{font-size:14px;font-weight:650;letter-spacing:-.2px;color:#20314d;padding-bottom:13px;margin-bottom:16px;border-bottom:1px solid #edf1f7}
.new-order-page .new-order-calculation .order-amount-fields{gap:0 12px}
.new-order-page .new-order-calculation label{font-size:10.5px;color:#52627c;margin-bottom:13px}
.new-order-page .new-order-calculation input,.new-order-page .new-order-calculation select{min-height:40px;font-size:12px;padding:10px 11px;background:#fff}
.new-order-page .advance-method-caption{font-size:10.5px;color:#73819a;margin-bottom:10px}
.new-order-page .advance-method-inline-options{gap:8px}
.new-order-page .advance-method-option{background:#fff;border-color:#e1e7f2;min-height:48px;box-shadow:0 1px 2px #20314d03}
.new-order-page .advance-method-option[aria-pressed=true]{background:#f0f5ff;border-color:#4678eb;box-shadow:0 0 0 1px #4678eb;color:#2456b7}
.new-order-page .advance-method-option:hover{background:#f7faff;transform:none;border-color:#9ab5ef}
.new-order-page #workspace-sidebar .order-summary-values{font-size:11px;font-variant-numeric:tabular-nums}
.new-order-page #workspace-sidebar .order-summary-values>div{padding:7px 0;gap:12px}
.new-order-page #workspace-sidebar .order-summary-values dt{color:#73819a}
.new-order-page #workspace-sidebar .order-summary-values dd{font-weight:500;color:#263650}
.new-order-page #workspace-sidebar .order-summary-grand{padding-top:13px!important;margin-top:8px;border-top-color:#e6ecf5}
.new-order-page #workspace-sidebar .order-summary-grand dt,.new-order-page #workspace-sidebar .order-summary-grand dd{color:#20314d;font-size:12px;font-weight:650}
.new-order-page #workspace-sidebar .order-summary-due{background:linear-gradient(125deg,#edf3ff,#f5f8ff);border:1px solid #e2eafe;border-radius:12px;padding:15px;margin:15px 0 14px}
.new-order-page #workspace-sidebar .order-summary-due span{font-size:10px;color:#516889}
.new-order-page #workspace-sidebar .order-summary-due strong{color:#1d3b75;font-size:24px;font-weight:700;letter-spacing:-.6px;font-variant-numeric:tabular-nums}
.new-order-page #workspace-sidebar .order-builder-payment{font-size:10px;color:#73819a;margin:14px 0}
.new-order-page #workspace-sidebar .order-builder-payment strong{color:#40516d;font-weight:500}
.new-order-page #workspace-sidebar .order-builder-submit{min-height:46px;border-radius:11px;background:linear-gradient(110deg,#223b67,#1b2b48);border-color:#223b67;box-shadow:0 4px 10px #20314d13;font-size:12px;font-weight:600}
.new-order-page #workspace-sidebar .order-builder-submit:disabled{background:#e9edf4;color:#8793a7;border-color:#e9edf4;box-shadow:none;opacity:1}
.new-order-page #workspace-sidebar .form-error:not(:empty){background:#fff5f3;border:1px solid #f5ded9;border-radius:9px;padding:9px 10px;line-height:1.5;font-size:10px;margin:10px 0}
.new-order-page .manual-product-dropdown>summary{background:#fafbfd;border-color:#dde5f0;border-radius:10px;min-height:46px;color:#73819a;font-size:12px}
.new-order-page #workspace-builder,.new-order-page #workspace-sidebar{scrollbar-color:#d2dceb transparent;scrollbar-gutter:stable}
@media(min-width:1400px){.new-order-page .order-workspace-grid{grid-template-columns:minmax(0,1fr) 330px}}
@media(max-width:800px){.new-order-page .order-builder-main>.order-builder-card{padding:18px}.new-order-page .order-builder-section-title{padding-bottom:17px;margin-bottom:18px;gap:10px;flex-wrap:wrap}.new-order-page .order-builder-section-title h3{font-size:15px}.new-order-page .order-ai-assist-button{margin-left:auto}.new-order-page #workspace-sidebar>.order-builder-card{padding:18px}.new-order-page .courier-ratio-panel{padding:16px}}
.new-order-page .advance-method-inline-options .advance-method-option{gap:5px;padding:10px 3px}.new-order-page .advance-method-inline-options .advance-method-option>span{width:22px;height:24px}.new-order-page .advance-method-inline-options .advance-method-option strong{white-space:nowrap;letter-spacing:-.15px}
.new-order-page .new-order-calculation #manual-advance-note{min-height:36px;height:36px;padding:8px 11px;font-size:11px}
.order-bulk-panel{background:#fff;border-color:#e4e7ec;box-shadow:0 10px 28px #26331c26}.order-bulk-menu[open]>summary{background:#eff6ff;border-color:#93c5fd;color:#1d4ed8}.order-bulk-menu[open] .bulk-trigger-count{background:#dbeafe;color:#1d4ed8}.bulk-menu-item,.bulk-menu-soon,.bulk-menu-primary{background:transparent;border-color:transparent;border-radius:5px;color:#667085;transition:background .15s,color .15s,box-shadow .15s}.bulk-menu-item strong{font-weight:500}.bulk-menu-icon,.bulk-menu-soon .bulk-menu-icon{color:#7b879d}.bulk-menu-item small,.bulk-menu-soon small{border:1px solid #e4e7ec;background:#f2f4f7;color:#667085;border-radius:4px}.bulk-menu-item.cancel,.bulk-menu-item.cancel .bulk-menu-icon{color:#bb8b81}.bulk-menu-item:hover,.bulk-menu-item:hover:not(:disabled),.bulk-menu-item:focus-visible{background:#eff6ff;border-color:transparent;color:#1d4ed8;box-shadow:inset 3px 0 #3b82f6}.bulk-menu-item:hover .bulk-menu-icon,.bulk-menu-item:focus-visible .bulk-menu-icon{color:#1d4ed8}.bulk-menu-item.cancel:hover,.bulk-menu-item.cancel:focus-visible{background:#fff1f2;color:#be123c;box-shadow:inset 3px 0 #f43f5e}.bulk-menu-item.cancel:hover .bulk-menu-icon{color:#be123c}.bulk-menu-item:hover small,.bulk-menu-item:focus-visible small{background:#fff;border-color:#dbeafe}.bulk-menu-section,.bulk-clear-selection{border-top-color:#e4e7ec}.bulk-menu-section h4{color:#667085}.bulk-clear-selection:hover{background:#eff6ff;border-radius:5px;color:#1d4ed8}
.required-marker{color:#d94a4a;font-size:11px;margin-left:2px}
.order-validation-popup{position:fixed;top:100px;left:50%;transform:translateX(-50%);z-index:150;max-width:min(520px,calc(100vw - 32px));width:max-content;background:#fff;border:1px solid #f0d7d1;border-left:4px solid #da6353;border-radius:12px;box-shadow:0 12px 40px #17243b24;color:#8d3c32;font-size:12px;line-height:1.6;padding:14px 18px;pointer-events:none}.order-validation-popup[hidden]{display:none}
.order-courier-ratio{display:flex;align-items:center;gap:10px;text-align:left;border:0;background:transparent;border-radius:9px;padding:8px;min-width:130px;color:#20314d}.order-courier-ratio:hover{background:#eff6ff}.order-courier-ratio strong{display:block;font-size:15px;font-weight:650}.order-courier-ratio small{display:block;font-size:9px;color:#73819a;margin-top:3px;white-space:nowrap}.courier-details-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.courier-details-grid .courier-stat-card{min-width:0}.courier-details-grid .courier-brand-logo{max-width:100%}@media(max-width:600px){.courier-details-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.single-order-actions-menu{padding:12px;border-radius:14px;box-shadow:0 14px 38px #17243b22}.single-order-menu-heading{padding:4px 7px 12px;margin-bottom:8px}.single-order-menu-item{margin:3px 0;min-height:36px;border-radius:7px;padding:9px 8px;gap:10px}.single-order-menu-item:not(:disabled){color:#344766;font-weight:500;cursor:pointer}.single-order-menu-item:disabled{color:#98a2b3}.single-order-menu-item[data-single-order-edit],.single-order-menu-item[data-order-note]{background:#f1f6ff;color:#285dc3}.single-order-menu-item[data-single-order-status]{background:#eef9f3;color:#208255}.single-order-menu-item.cancel:not(:disabled){background:#fff3f1;color:#c14c3e}.single-order-menu-item[data-view-order-details]{color:#344766}.single-order-menu-item:hover:not(:disabled),.single-order-menu-item:focus-visible{background:#e5efff;color:#1d4ed8;box-shadow:inset 3px 0 #3b82f6}.single-order-menu-item[data-single-order-status]:hover,.single-order-menu-item[data-single-order-status]:focus-visible{background:#dff5e8;color:#147347;box-shadow:inset 3px 0 #2a9d64}.single-order-menu-item.cancel:hover:not(:disabled),.single-order-menu-item.cancel:focus-visible{background:#ffe5e1;color:#b83025;box-shadow:inset 3px 0 #e46355}.single-order-menu-item svg{width:16px;height:16px;stroke-width:1.7}.single-order-menu-item small{font-weight:400}.single-order-menu-item:disabled:hover{background:#f5f7fa;color:#8793a7;box-shadow:none}
.editor-dialog:has(#cancel-order-form,#bulk-cancel-order-form,#confirm-order-form,#single-order-status-form,#confirm-bulk-order-form,#order-note-form,#delete-product-form,#category-form,#password-form,#stock-adjustment-form){width:min(480px,calc(100vw - 28px));border:1px solid #e1e7f1;border-radius:17px;box-shadow:0 24px 75px #17243b30}
.editor-dialog:has(#cancel-order-form,#bulk-cancel-order-form,#confirm-order-form,#single-order-status-form,#confirm-bulk-order-form,#order-note-form,#delete-product-form,#category-form,#password-form,#stock-adjustment-form) .dialog-top{padding:18px 22px;background:#fafbfd;border-bottom:1px solid #e9edf5;gap:14px}
.editor-dialog:has(#cancel-order-form,#bulk-cancel-order-form,#confirm-order-form,#single-order-status-form,#confirm-bulk-order-form,#order-note-form,#delete-product-form,#category-form,#password-form,#stock-adjustment-form) .dialog-top .eyebrow{font-size:8px;letter-spacing:1.6px;margin-bottom:5px}
.editor-dialog:has(#cancel-order-form,#bulk-cancel-order-form,#confirm-order-form,#single-order-status-form,#confirm-bulk-order-form,#order-note-form,#delete-product-form,#category-form,#password-form,#stock-adjustment-form) .dialog-top h2{font-size:18px;letter-spacing:-.3px;line-height:1.4}
.editor-dialog:has(#cancel-order-form,#bulk-cancel-order-form,#confirm-order-form,#single-order-status-form,#confirm-bulk-order-form,#order-note-form,#delete-product-form,#category-form,#password-form,#stock-adjustment-form) #editor-content{padding:20px 22px}
.editor-dialog:has(#cancel-order-form,#bulk-cancel-order-form,#confirm-order-form,#single-order-status-form,#confirm-bulk-order-form,#order-note-form,#delete-product-form,#category-form,#password-form,#stock-adjustment-form) .close-button{width:29px;height:29px;border:1px solid #e5eaf2;background:#fff;color:#71809a;font-size:20px;flex-shrink:0}
.editor-dialog:has(#cancel-order-form,#bulk-cancel-order-form,#confirm-order-form,#single-order-status-form,#confirm-bulk-order-form,#order-note-form,#delete-product-form,#category-form,#password-form,#stock-adjustment-form) form>p{font-size:12px;line-height:1.65;margin-bottom:14px}
.editor-dialog:has(#cancel-order-form,#bulk-cancel-order-form,#confirm-order-form,#single-order-status-form,#confirm-bulk-order-form,#order-note-form,#delete-product-form,#category-form,#password-form,#stock-adjustment-form) label{font-size:11px;color:#40516d;margin-bottom:13px}
.editor-dialog:has(#cancel-order-form,#bulk-cancel-order-form,#confirm-order-form,#single-order-status-form,#confirm-bulk-order-form,#order-note-form,#delete-product-form,#category-form,#password-form,#stock-adjustment-form) :is(input,select,textarea){font-size:12px;border-color:#dfe6f1;border-radius:9px;background:#fafbfd;padding:10px 11px}
.editor-dialog:has(#cancel-order-form,#bulk-cancel-order-form,#confirm-order-form,#single-order-status-form,#confirm-bulk-order-form,#order-note-form,#delete-product-form,#category-form,#password-form,#stock-adjustment-form) :is(.form-actions,.product-delete-actions){position:static;display:flex;justify-content:flex-end;gap:9px;margin-top:18px;padding-top:15px;border-top:1px solid #edf1f7}
.editor-dialog:has(#cancel-order-form,#bulk-cancel-order-form,#confirm-order-form,#single-order-status-form,#confirm-bulk-order-form,#order-note-form,#delete-product-form,#category-form,#password-form,#stock-adjustment-form) .btn{font-size:11px;min-height:37px;padding:9px 14px;border-radius:9px}
.editor-dialog:has(#cancel-order-form,#bulk-cancel-order-form) button[type=submit]{background:#c7483c;border-color:#c7483c;color:white}.editor-dialog:has(#cancel-order-form,#bulk-cancel-order-form) button[type=submit]:hover{background:#ad392f;border-color:#ad392f}
.editor-dialog:has(#cancel-order-form,#bulk-cancel-order-form,#confirm-order-form,#single-order-status-form,#confirm-bulk-order-form,#order-note-form,#delete-product-form,#category-form,#password-form,#stock-adjustment-form) .form-error:empty{display:none}
.order-bulk-panel{width:min(290px,calc(100vw - 24px));padding:12px;gap:10px;border-radius:12px}.bulk-panel-top{gap:6px}.bulk-menu-section h4{font-size:9px}.bulk-menu-item{font-size:9px;padding:7px 5px;gap:5px}.bulk-menu-item strong{font-size:9px;white-space:nowrap}.bulk-menu-icon{min-width:11px;font-size:11px}.bulk-print-grid{gap:4px}.bulk-print-grid .bulk-menu-item{font-size:8px;padding:6px 3px;gap:3px}.bulk-print-grid .bulk-menu-icon{min-width:9px;font-size:9px}.bulk-menu-soon small{font-size:6px;padding:2px 3px}.bulk-menu-section:last-of-type .bulk-menu-item{min-width:0;width:auto;font-size:9px}.bulk-menu-section:last-of-type{gap:6px}.bulk-panel-top>strong{font-size:9px}.bulk-panel-top .text-button,.bulk-clear-selection{font-size:9px}@media(max-width:650px){.order-bulk-panel{width:min(290px,calc(100vw - 24px));padding:12px;gap:10px}.bulk-menu-section:last-of-type .bulk-menu-item{min-width:0}}
.order-bulk-panel{grid-template-columns:minmax(0,1fr);gap:12px}.order-bulk-panel>.bulk-menu-section{grid-column:1/-1}.order-bulk-panel .bulk-menu-section:last-of-type{display:block}.order-bulk-panel .bulk-menu-section:last-of-type h4{margin:0 0 7px}.order-bulk-panel .bulk-menu-section:last-of-type .bulk-menu-item{width:100%;margin-top:6px}.order-bulk-panel .bulk-menu-item{font-size:10px;padding:8px;min-height:33px}.order-bulk-panel .bulk-menu-item strong{font-size:10px}.order-bulk-panel .bulk-menu-section h4{font-size:10px}.order-bulk-panel .bulk-print-grid .bulk-menu-item{font-size:9px;padding:7px 5px}.order-bulk-panel .bulk-menu-soon small{font-size:7px}.order-bulk-panel .bulk-print-grid .bulk-menu-soon small{font-size:6px}
.order-bulk-panel .bulk-menu-icon{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;min-width:24px;border-radius:6px;background:#f0f4fa;color:#5a7298}.bulk-menu-icon svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.order-bulk-panel .bulk-menu-item{gap:8px;font-weight:600;font-size:11px;color:#40516d}.order-bulk-panel .bulk-menu-item strong{font-size:11px;font-weight:650}.order-bulk-panel .bulk-print-grid .bulk-menu-item{font-size:10px;font-weight:600}.order-bulk-panel .bulk-print-grid .bulk-menu-icon{width:22px;min-width:22px;height:22px}.order-bulk-panel .bulk-menu-section h4{font-weight:650;color:#40516d}.order-bulk-panel .bulk-menu-item.cancel{color:#c14c3e}.order-bulk-panel .bulk-menu-item.cancel .bulk-menu-icon{color:#c14c3e;background:#fff0ed}.order-bulk-panel .bulk-menu-item small{font-weight:400}.order-bulk-panel .bulk-clear-selection{font-weight:600}
.orders-inline-controls{display:flex;align-items:center;gap:14px;margin-bottom:18px}.orders-inline-controls>.toolbar{display:contents}.orders-inline-controls #table-search{width:280px;min-width:150px;flex:1;max-width:360px;margin:0;height:40px}.orders-inline-controls .toolbar-group{order:2;margin-left:auto;flex-shrink:0}.orders-inline-controls #table-filter{width:130px;margin:0;height:40px}.orders-inline-controls .orders-list-meta{display:contents}.orders-inline-controls .orders-list-meta>span{font-size:10px;color:#73819a;white-space:nowrap}.orders-inline-controls .orders-meta-actions{order:3;flex-wrap:nowrap;gap:12px}.orders-inline-controls .orders-meta-actions label{margin:0;display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:10px}.orders-inline-controls #orders-list-sort{width:130px;height:40px;margin:0}.orders-inline-controls .orders-show-duplicates{height:40px;white-space:nowrap}@media(max-width:1100px){.orders-inline-controls{flex-wrap:wrap;gap:10px}.orders-inline-controls #table-search{max-width:none}.orders-inline-controls .orders-meta-actions{margin-left:auto}}@media(max-width:650px){.orders-inline-controls .orders-list-meta>span{order:4;width:100%}.orders-inline-controls .toolbar-group{margin-left:0}.orders-inline-controls .orders-meta-actions{flex-wrap:wrap;gap:8px}.orders-inline-controls #table-search{width:100%;flex-basis:100%}}
.orders-inline-controls #order-bulk-action-host{flex:0 0 auto}.orders-inline-controls #order-bulk-action-host:empty{display:none}.orders-inline-controls .order-bulk-actions{margin-bottom:0}.orders-inline-controls .order-bulk-menu>summary{height:40px}.orders-inline-controls:has(.order-bulk-actions) #table-search{max-width:300px}@media(max-width:650px){.orders-inline-controls:has(.order-bulk-actions) #table-search{flex-basis:calc(100% - 115px);width:auto;max-width:none}}
.order-actions-empty{height:40px;display:flex;align-items:center;gap:9px;border:1px solid #dbe5f5;border-radius:7px;background:#fff;padding:8px 12px;font-size:11px;color:#40516d}.order-actions-empty:hover{background:#eff6ff;border-color:#93c5fd;color:#1d4ed8}.orders-inline-controls #table-search{max-width:300px}@media(max-width:650px){.orders-inline-controls #table-search{flex-basis:calc(100% - 115px);width:auto;max-width:none}}
.orders-inline-controls .toolbar-group:empty{display:none}.orders-inline-controls .orders-meta-actions{margin-left:auto}
.orders-inline-controls #order-bulk-action-host{order:2;margin-left:auto}.orders-inline-controls .orders-meta-actions{margin-left:0}.orders-inline-controls:has(.order-bulk-actions) #table-search,.orders-inline-controls #table-search{max-width:300px}@media(max-width:650px){.orders-inline-controls #order-bulk-action-host{margin-left:0}.orders-inline-controls #table-search{flex-basis:100%;width:100%}.orders-inline-controls:has(.order-bulk-actions) #table-search{flex-basis:100%}}
.editor-dialog:has(.my-profile-card){width:min(390px,calc(100vw - 28px));border-radius:18px;border:1px solid #e1e7f1;box-shadow:0 24px 75px #17243b30}.editor-dialog:has(.my-profile-card) .dialog-top{padding:16px 20px;background:#fafbfd;border-bottom:1px solid #e9edf5}.editor-dialog:has(.my-profile-card) .eyebrow{font-size:8px;letter-spacing:1.6px;margin-bottom:5px}.editor-dialog:has(.my-profile-card) .dialog-top h2{font-size:17px;letter-spacing:-.3px}.editor-dialog:has(.my-profile-card) .close-button{width:28px;height:28px;background:white;border:1px solid #e4eaf3;color:#73819a;font-size:19px}.editor-dialog:has(.my-profile-card) #editor-content{padding:22px 20px 20px}.my-profile-card{padding:0}.my-profile-avatar{width:52px;height:52px;border-radius:16px;margin-bottom:12px;font-size:21px;box-shadow:0 4px 12px #275be510}.my-profile-card h2{font-size:19px;letter-spacing:-.3px;margin-bottom:3px}.my-profile-card>p{font-size:11px;margin-bottom:10px}.my-profile-card .user-role{font-size:9px;padding:4px 8px;border-radius:6px}.my-profile-card .order-detail-facts{margin:18px 0;padding:12px;background:#f8fafd;border:1px solid #e8edf5;border-radius:11px}.my-profile-card .order-detail-fact{font-size:11px;padding:6px 0;gap:12px}.my-profile-card .order-detail-fact dd{overflow-wrap:anywhere;text-align:right}.my-profile-card>.btn{width:100%;min-width:0;min-height:39px;border-radius:10px;font-size:11px;background:#223b67;border-color:#223b67}
.settings-template-actions{margin:-6px 0 22px}.settings-template-actions .btn{color:#285dc3;border-color:#d7e3fa;background:#f5f8ff}.editor-dialog:has(#print-template-panel){width:min(1000px,calc(100vw - 28px));border-radius:17px}.print-template-controls{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:18px 0 22px}.print-template-tabs{display:flex;background:#f1f4f9;padding:4px;border-radius:10px;gap:4px}.print-template-tabs button{border:0;background:transparent;padding:10px 15px;border-radius:7px;color:#73819a;font-size:12px;font-weight:600}.print-template-tabs button.selected{background:white;color:#245be8;box-shadow:0 2px 5px #17243b0a}.print-template-tabs small{font-size:9px;font-weight:400;margin-left:6px}.print-template-controls>label{margin:0;font-size:10px;color:#73819a}.print-template-controls select{width:155px;font-size:11px;min-height:36px;padding:8px;margin-top:4px}.print-template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.print-template-card{min-width:0;background:white;border:1px solid #e2e8f2;border-radius:13px;padding:12px;overflow:hidden}.print-template-card.selected{border-color:#497bed;box-shadow:0 0 0 1px #497bed}.template-preview-open{position:relative;width:100%;height:220px;border:1px solid #edf1f7;border-radius:8px;background:#f6f8fc;overflow:hidden;padding:10px;display:flex;justify-content:center;cursor:zoom-in}.template-preview-open iframe{border:0;position:absolute;left:50%;top:10px;transform-origin:top center;translate:-50% 0;pointer-events:none;background:#fff}.template-card-title{display:flex;justify-content:space-between;align-items:center;margin-top:12px;gap:10px}.template-card-title strong{font-size:13px}.template-card-title span{font-size:9px;color:#245be8;background:#eff5ff;border-radius:5px;padding:3px 6px}.print-template-card>p{font-size:10px;color:#73819a;margin:5px 0 12px}.template-card-buttons{display:flex;gap:8px}.template-card-buttons .btn{flex:1;font-size:10px}.print-template-footer{display:flex;justify-content:flex-end;align-items:center;gap:14px;position:sticky;bottom:0;background:#fff;padding-top:16px;margin-top:16px;border-top:1px solid #e7edf6}.print-template-footer .form-error{margin:0;margin-right:auto}.print-template-preview{width:min(900px,calc(100vw - 24px));height:min(850px,90dvh);padding:0;border:1px solid #e2e8f2;border-radius:14px}.print-template-preview::backdrop{background:#17243b66;backdrop-filter:blur(3px)}.print-preview-heading{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;gap:10px;border-bottom:1px solid #e7edf6}.print-preview-heading strong{font-size:13px}.print-preview-heading>div{display:flex;gap:8px}.print-template-preview>iframe{border:0;width:100%;height:calc(100% - 64px);background:#fff}.bulk-confirm-orders{max-height:220px;overflow:auto}@media(max-width:750px){.print-template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.print-template-controls{flex-wrap:wrap}.print-template-card{padding:9px}.template-preview-open{height:170px}.template-card-title strong{font-size:12px}.print-template-tabs button{padding:9px 11px}.print-template-footer .btn{font-size:11px}}@media(max-width:430px){.print-template-grid{grid-template-columns:1fr}.template-preview-open{height:210px}}
.direct-invoice-print{position:fixed;left:-10000px;top:0;width:794px;height:1123px;border:0;pointer-events:none}
.courier-settings-tabs{display:flex;border-bottom:1px solid #e1e7f1;margin-bottom:24px}.courier-settings-tabs>span{font-size:12px;font-weight:600;padding:11px 16px;color:#245be8;border-bottom:2px solid #245be8}.courier-integration-card{max-width:760px;border-radius:16px;overflow:hidden}.courier-integration-heading{display:flex;align-items:center;justify-content:space-between;padding:22px 24px;border-bottom:1px solid #e8edf5;background:#fafbfd;gap:16px}.courier-integration-heading>div{display:flex;align-items:center;gap:13px}.courier-integration-heading img{object-fit:contain;background:white;border:1px solid #e8edf5;border-radius:10px;padding:5px}.courier-integration-heading h2{font-size:16px;margin:0 0 3px}.courier-integration-heading p{font-size:11px;color:#73819a;margin:0}.courier-integration-card .panel-body{padding:24px}.courier-integration-card input{font-size:12px;border-color:#dfe6f1;border-radius:9px}.courier-credential-note{font-size:10px;color:#73819a;line-height:1.6;margin:0 0 16px}.courier-integration-actions{border-top:1px solid #edf1f7;padding-top:18px;display:flex;justify-content:flex-end}.courier-integration-card .form-error:empty{display:none}.courier-integration-card label{font-size:11px}@media(max-width:650px){.courier-integration-card .form-grid{grid-template-columns:1fr}.courier-integration-heading,.courier-integration-card .panel-body{padding:18px}.courier-integration-actions .btn{width:100%}}
.courier-overview{margin-bottom:20px}.courier-overview-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.courier-overview-top>div{display:flex;align-items:center;gap:9px;font-size:13px;color:#20314d}.courier-overview-top img{object-fit:contain}.courier-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}.courier-metric{padding:18px;background:#fff;border:1px solid #e2e8f2;border-radius:14px;min-width:0}.courier-metric>div{display:flex;justify-content:space-between;align-items:center;gap:8px}.courier-metric>div>span:first-child{font-size:11px;color:#73819a}.courier-metric-icon{display:grid;place-items:center;width:28px;height:28px;font-size:14px;border-radius:8px;background:#f1f5fb;color:#55739c}.courier-metric>strong{display:block;font-size:26px;font-weight:650;color:#20314d;margin:11px 0 7px;letter-spacing:-.6px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.courier-metric>small{font-size:9px;color:#93a0b6}.courier-metric.balance{background:linear-gradient(120deg,#f1f6ff,#fff);border-color:#d7e4fb}.courier-metric.balance>strong{color:#2456b7;font-size:23px}.courier-metric.pending .courier-metric-icon{color:#ba7c26;background:#fff7e9}.courier-metric.delivered .courier-metric-icon{color:#238653;background:#edf9f2}.courier-metric.returned .courier-metric-icon{color:#bd6256;background:#fff2ef}.courier-overview-note{font-size:10px;line-height:1.6;color:#73819a;margin:12px 0 0}@media(max-width:1100px){.courier-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:650px){.courier-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.courier-metric{padding:14px}.courier-metric.balance{grid-column:1/-1}}
.courier-overview-actions{display:flex;align-items:center;gap:8px}.courier-overview-actions svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.courier-overview-actions [data-open-courier-integration]{color:#285dc3;border-color:#dbe5f5;background:#f5f8ff}.editor-dialog:has(#courier-integration-form){width:min(510px,calc(100vw - 28px));border-radius:17px;box-shadow:0 24px 75px #17243b30}.editor-dialog:has(#courier-integration-form) .dialog-top{padding:17px 20px;background:#fafbfd}.editor-dialog:has(#courier-integration-form) .dialog-top h2{font-size:18px}.editor-dialog:has(#courier-integration-form) #editor-content{padding:0}.editor-dialog:has(#courier-integration-form) .courier-integration-card{border:0;border-radius:0;background:#fff}.editor-dialog:has(#courier-integration-form) .courier-integration-heading{padding:16px 20px;background:#fff}.editor-dialog:has(#courier-integration-form) .panel-body{padding:18px 20px}.editor-dialog:has(#courier-integration-form) .form-grid{grid-template-columns:1fr}.editor-dialog:has(#courier-integration-form) .courier-integration-actions{gap:8px}.editor-dialog:has(#courier-integration-form) .btn{font-size:11px;min-height:37px;border-radius:9px}
.single-order-menu-item[data-steadfast-entry]{color:#168154;background:#eef9f3}.editor-dialog:has(#steadfast-entry-preview,#steadfast-entry-results){width:min(540px,calc(100vw - 28px));border-radius:17px}.editor-dialog:has(#steadfast-entry-preview,#steadfast-entry-results) .dialog-top{padding:17px 20px;background:#fafbfd}.editor-dialog:has(#steadfast-entry-preview,#steadfast-entry-results) .dialog-top h2{font-size:18px}.editor-dialog:has(#steadfast-entry-preview,#steadfast-entry-results) #editor-content{padding:20px}.steadfast-entry-intro{display:flex;align-items:center;gap:12px;margin-bottom:18px}.steadfast-entry-intro img{object-fit:contain}.steadfast-entry-intro strong{font-size:13px;display:block}.steadfast-entry-intro small{font-size:10px;color:#73819a;display:block;margin-top:3px}.steadfast-preview-orders{max-height:44dvh;overflow-y:auto;padding-right:4px;scrollbar-width:thin}.steadfast-preview-order{border:1px solid #e3eaf3;background:#fafcfe;border-radius:11px;padding:13px;margin-bottom:10px}.steadfast-preview-order.blocked{background:#fffaf8;border-color:#f2e3dd}.steadfast-preview-order header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.steadfast-preview-order header>strong{font-size:12px}.steadfast-preview-order>p{font-size:11px;line-height:1.6;margin:8px 0 0}.steadfast-preview-customer{font-size:11px}.steadfast-preview-customer>strong,.steadfast-preview-customer>span{display:block}.steadfast-preview-customer>span{color:#73819a;margin-top:3px}.steadfast-preview-customer p{color:#73819a;line-height:1.6;margin:7px 0}.steadfast-preview-cod{display:flex;justify-content:space-between;align-items:center;padding-top:10px;margin-top:10px;border-top:1px solid #e5ecf5;font-size:11px}.steadfast-preview-cod strong{color:#168154;font-size:15px}.editor-dialog:has(#steadfast-entry-preview,#steadfast-entry-results) .form-error:empty{display:none}.editor-dialog:has(#steadfast-entry-preview,#steadfast-entry-results) .form-actions{position:static;justify-content:flex-end;padding-top:14px;margin-top:16px;gap:10px}.editor-dialog:has(#steadfast-entry-preview,#steadfast-entry-results) .btn{font-size:11px;border-radius:9px}
/* Facebook tracking settings */
.meta-settings-details{display:grid;gap:12px}.meta-settings-details>div{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px}.meta-settings-details span{color:#73819a}.meta-settings-details strong{font-size:11px;overflow-wrap:anywhere;text-align:right}.meta-event-labels{display:flex;flex-wrap:wrap;gap:5px;margin:18px 0}.meta-event-labels .badge{font-size:9px}.meta-settings-counts{display:flex;gap:18px;border-top:1px solid #e5eaf2;border-bottom:1px solid #e5eaf2;padding:13px 0;margin-bottom:15px;font-size:10px;color:#73819a}.meta-settings-counts strong{color:#152443;font-size:15px;display:block;margin-bottom:3px}.meta-setup-help{font-size:11px;margin:15px 0}.meta-setup-help summary{cursor:pointer;font-weight:600}.meta-setup-help dl{display:grid;gap:5px}.meta-setup-help dt{font-family:monospace;font-size:10px;margin-top:7px}.meta-setup-help dd{margin:0;color:#73819a;overflow-wrap:anywhere}.meta-settings-buttons{display:flex;flex-wrap:wrap;gap:7px;margin-top:16px}.meta-settings-buttons .btn{font-size:10px;padding:8px 11px}.meta-recent{display:grid;gap:9px;margin-top:15px}.meta-recent>div{display:grid;grid-template-columns:1fr auto;gap:4px;font-size:11px}.meta-recent small{grid-column:1/-1;color:#73819a;font-size:10px}.meta-settings [data-meta-message]:empty{display:none}
.meta-settings fieldset{padding:0;border:0;margin:0;min-width:0;display:grid;gap:14px}.meta-settings form label{font-size:11px;display:grid;gap:6px}.meta-settings form label small{font-size:10px;line-height:1.5}.meta-settings form input:not([type=checkbox]){min-width:0;width:100%;border:1px solid #dce5f3;border-radius:9px;background:#fbfcff;padding:10px 12px;font-size:11px;min-height:39px;color:#142542}.meta-settings form .meta-enable{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #dfe8f7;border-radius:10px;background:#f5f8ff}.meta-enable input{accent-color:#2563eb;width:15px;height:15px}.meta-enable strong,.meta-enable small{display:block}.meta-enable small{color:#73819a;margin-top:3px}.meta-save-message{color:#b42318;font-size:11px;margin:0}.meta-save-message:empty{display:none}.meta-save-message.success{color:#168154}.meta-settings form details{margin:0}.meta-settings form details label{margin-top:12px}.meta-settings form .btn{width:100%;min-height:39px}.meta-key-help{margin:0;line-height:1.6}.meta-key-help code{font-size:10px;overflow-wrap:anywhere}
.order-courier-booking{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:135px;font-size:11px;line-height:1.5}.order-courier-booking-name{font-size:9px;color:#60718b}.order-courier-booking-id{color:#344b6c;font-variant-numeric:tabular-nums;white-space:nowrap}.order-courier-booking-id>span{color:#059669;font-size:15px;margin-right:3px}.order-courier-panel-link{color:#2563eb;text-decoration:underline;text-underline-offset:3px;font-size:11px;white-space:nowrap}.order-courier-panel-link:hover{color:#1d4ed8}.order-courier-panel-link:focus-visible{outline:2px solid #2563eb;outline-offset:3px;border-radius:3px}.order-courier-booking-empty{font-size:10px;color:#60718b;overflow-wrap:anywhere;max-width:170px}
.steadfast-item-description{margin:12px 0;padding:11px 13px;border:1px solid #dce5f2;background:#f6f9ff;border-radius:8px}.steadfast-item-description>strong{font-size:10px;color:#344b6c}.steadfast-item-description>p{font-size:11px;color:#526581;line-height:1.8;margin:5px 0 0;overflow-wrap:anywhere;white-space:pre-wrap}
/* Readable order list: stronger hierarchy without changing the order workspace. */
.orders-rich-panel th{font-size:12px;font-weight:700;color:#344054;letter-spacing:.1px}
.orders-rich-panel td{color:#1d2939;font-size:13px}
.orders-created-date{font-size:12px;font-weight:600;color:#344054}
.orders-created-actions .order-number{font-size:14px;font-weight:700;color:#1d4ed8}
.orders-contact-row .order-phone{font-size:14px;font-weight:700;color:#1d4ed8}
.orders-customer-cell>strong{font-size:14px;font-weight:700;color:#101828;line-height:1.6}
.orders-address{font-size:12px;font-weight:500;color:#475467;line-height:1.7}
.orders-customer-cell>small{font-size:11px;color:#475467;font-weight:500}
.orders-note-cell small{font-size:11px;color:#475467;font-weight:500;line-height:1.7}
.orders-note-cell .orders-updated-by{font-size:11px;font-weight:600;color:#1d4ed8}
.orders-note-cell p{font-size:12px;color:#344054;font-weight:500;line-height:1.7}
.orders-note-preview-button{display:block;padding:0;border:0;background:transparent;text-align:left;border-radius:5px}
.orders-note-preview-button:hover p{color:#245be8}
.orders-note-preview-link{display:block;margin-top:7px;color:#285dc3;font-size:10px;font-weight:600}
.editor-dialog:has(.order-notes-preview){width:min(720px,calc(100vw - 28px));border-radius:16px}
.order-notes-preview{display:grid;gap:24px;min-width:0}
.order-notes-preview h3{font-size:14px;color:#23334e;margin:0 0 12px}
.order-note-current-list{display:grid;gap:10px}
.order-note-current{padding:15px;border:1px solid #dce7fa;border-radius:11px;background:#f7faff}
.order-note-current h3{font-size:11px;color:#55709c;margin:0 0 7px}
.order-notes-preview p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.8;color:#344054}
.order-note-preview-history>header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px}
.order-note-preview-history>header h3{margin:0}
.order-note-preview-history>header>span{font-size:10px;color:#73819a}
.order-notes-preview .order-note-history-help{font-size:11px;color:#73819a;margin-bottom:14px}
.order-note-events{list-style:none;display:grid;gap:12px;padding:0;margin:0}
.order-note-event{padding:15px;border:1px solid #e2e8f2;border-radius:11px;background:#fff}
.order-note-event>header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}
.order-note-event>header>strong{font-size:12px;color:#23334e;overflow-wrap:anywhere;min-width:0}
.order-note-event>header small{display:block;font-size:10px;color:#73819a;font-weight:400;margin-top:2px}
.order-note-event time{font-size:10px;color:#73819a;flex-shrink:0;padding-top:1px}
.order-note-change+.order-note-change{margin-top:13px}
.order-note-change h4{font-size:11px;color:#55709c;margin:0 0 7px}
.order-note-change-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.order-note-change-values>div{padding:11px;border-radius:8px;background:#f6f7fa;min-width:0}
.order-note-change-values>div:last-child{background:#eef4ff}
.order-note-change-values span{display:block;font-size:9px;font-weight:600;color:#73819a;margin-bottom:4px}
.order-notes-preview .order-note-empty{color:#73819a;font-size:12px}
@media(max-width:520px){.order-note-change-values{grid-template-columns:1fr}.order-note-event>header{flex-wrap:wrap;gap:5px}.order-note-event,.order-note-current{padding:12px}}
.orders-product-previews{width:235px}
.orders-customize-tag{display:inline-flex;align-items:center;gap:5px;margin-bottom:2px;padding:4px 8px;border:1px solid #c7d7fe;border-radius:6px;background:#eef4ff;color:#2459d3;font-size:10px;font-weight:650;line-height:1.4;white-space:nowrap}
.orders-customize-tag svg{width:12px;height:12px;flex-shrink:0}
.orders-product-preview{padding:9px;gap:10px;background:#f8fafc;border-color:#dce3ee}
.orders-product-preview img{width:44px;height:52px}
.orders-product-preview strong{font-size:12px;font-weight:700;color:#1d2939;max-width:165px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.5}
.orders-product-preview small{font-size:11px;font-weight:500;color:#475467}
.orders-product-preview span{font-size:12px;font-weight:600;color:#344054}
.orders-total-cell>strong{font-size:15px;font-weight:750;color:#101828;font-variant-numeric:tabular-nums}
.orders-total-cell small,.orders-more-items{font-size:11px;font-weight:500;color:#475467}
.orders-status-cell .badge,.orders-total-cell .badge{font-size:11px;font-weight:650;padding:5px 9px}
.orders-open-action{font-size:12px;font-weight:650;color:#1d2939;padding:9px 13px}
.order-filter-tabs button{font-size:13px;font-weight:600}
.order-filter-tabs span{font-size:11px;font-weight:700}
.orders-list-meta{color:#475467;font-size:12px;font-weight:500}
.orders-rich-panel .order-courier-booking-name{font-size:11px;font-weight:600;color:#475467}
.orders-rich-panel .order-courier-booking-id{font-size:13px;font-weight:650;color:#344054}
.orders-rich-panel .order-courier-panel-link{font-size:12px;font-weight:650}
@media(max-width:650px){.orders-open-action{font-size:12px}.orders-list-meta>span{font-size:11px}.orders-rich-panel table{min-width:1500px}}
.product-actions-trigger{display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid #dce5f1;border-radius:9px;background:#fff;color:#425775;font-size:23px;line-height:1;cursor:pointer}
.product-actions-trigger:hover,.product-actions-trigger[aria-expanded=true]{background:#edf3ff;border-color:#b5ccff;color:#245de7}
.product-actions-trigger:focus-visible,.product-actions-menu button:focus-visible{outline:2px solid #3972ff;outline-offset:2px}
.product-actions-menu{position:fixed;z-index:120;width:186px;max-width:calc(100vw - 20px);padding:6px;border:1px solid #dce5f1;border-radius:12px;background:#fff;box-shadow:0 12px 36px #16294724}
.product-actions-title{display:block;padding:7px 9px 9px;margin-bottom:4px;border-bottom:1px solid #edf1f7;color:#718099;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.product-actions-menu button{display:flex;align-items:center;gap:10px;width:100%;min-height:38px;padding:9px 10px;border:0;border-radius:7px;background:transparent;color:#20344f;font-size:12px;text-align:left;cursor:pointer}
.product-actions-menu button:hover,.product-actions-menu button:focus{background:#f0f5ff}
.product-actions-menu button span{width:18px;font-size:16px;text-align:center}
.product-actions-menu button.danger{color:#dc3545}.product-actions-menu button.danger:hover,.product-actions-menu button.danger:focus{background:#fff0f1}
.inventory-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.inventory-row-actions .product-actions-trigger{flex-shrink:0}.stock-history-intro+.table-wrap{max-height:65vh;overflow:auto}.stock-history-intro+.table-wrap table{min-width:860px}.stock-history-intro+.table-wrap th{position:sticky;top:0;z-index:1;background:#f7f9fc}.stock-history-intro+.table-wrap td:nth-child(2){min-width:120px}
.editor-dialog:has(.stock-history-intro){width:min(1200px,96vw)}.stock-history-intro+.table-wrap td:nth-child(6){white-space:normal;min-width:200px;max-width:300px;overflow-wrap:anywhere}.stock-history-intro+.table-wrap td:nth-child(3){white-space:normal;min-width:160px;max-width:210px}
.courier-webhook-panel{margin-top:22px}.courier-webhook-panel .panel-header{display:flex;justify-content:space-between;align-items:center}.courier-webhook-panel label{display:grid;gap:9px;margin-bottom:14px}.courier-webhook-panel fieldset{padding:0;border:0;margin:20px 0 0;min-width:0}.webhook-input-row{display:flex;gap:8px;align-items:center}.webhook-input-row input{flex:1;min-width:0;margin:0}.webhook-input-row .btn{white-space:nowrap}.courier-webhook-panel .webhook-enable{display:flex;align-items:center;gap:9px}.webhook-enable input{width:auto;min-height:0}.courier-webhook-panel [data-webhook-error]{line-height:1.7}@media(max-width:650px){.webhook-input-row{flex-wrap:wrap}.webhook-input-row input{flex-basis:100%}.webhook-input-row .btn{flex:1;padding:9px 10px}.courier-webhook-panel .panel-body{padding:18px}}
.courier-webhook-panel [data-webhook-error].success{color:#08734b}
.webhook-save-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.webhook-clear{color:#b33436;border-color:#edc6c7;background:#fff}.courier-webhook-panel [data-webhook-badge]{white-space:nowrap}


.manual-addon-editor{margin-top:12px;padding:12px;border:1px solid #e8d8ac;border-radius:10px;background:#fcf8ec;min-width:0}.manual-addon-editor summary{cursor:pointer;color:#174c3b;font-weight:600;font-size:12px}.manual-addon-editor p{font-size:11px;line-height:1.6;margin:10px 0}.manual-addon-positions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.manual-addon-positions section{min-width:0;padding:8px;background:white;border-radius:8px}.manual-addon-editor label{display:block;font-size:11px;margin:8px 0}.manual-addon-editor .manual-addon-choice{display:flex;align-items:center;gap:8px}.manual-addon-choice input[type=checkbox]{width:16px!important;min-height:16px!important;margin:0;flex-shrink:0}.manual-addon-choice img{border-radius:50%;object-fit:cover}.manual-addon-editor textarea,.manual-addon-editor select,.manual-addon-editor input[type=url]{width:100%;box-sizing:border-box}.manual-addon-prepay{color:#a33124}.order-selected-product:has(.manual-addon-editor){align-items:flex-start}@media(max-width:700px){.manual-addon-positions{grid-template-columns:1fr}.order-selected-description:has(.manual-addon-editor){flex-basis:calc(100% - 60px)}}

/* Saved order overview above the order actions. */
.order-detail-sidebar{max-height:calc(100dvh - 125px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-right:5px;scrollbar-gutter:stable}.order-detail-sidebar>.order-builder-card{margin-bottom:16px}.order-detail-sidebar .workspace-overview{padding:18px}.workspace-overview-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:16px}.workspace-overview-heading .order-builder-kicker{margin:0 0 5px;font-size:9px;letter-spacing:1.2px}.workspace-overview-heading h3{margin:0;font-size:17px;letter-spacing:-.3px}.workspace-overview-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 10px;margin:0 0 16px}.workspace-overview-meta div{min-width:0}.workspace-overview-meta dt{font-size:9px;color:#748198;margin-bottom:3px}.workspace-overview-meta dd{margin:0;font-size:11px;line-height:1.5;overflow-wrap:anywhere;color:#23334e}.workspace-overview-amounts{background:#f7f9fc;border:1px solid #edf0f5;border-radius:10px;padding:11px 12px;margin:0}.workspace-overview-amounts>div{display:flex;justify-content:space-between;gap:10px;padding:4px 0;font-size:11px}.workspace-overview-amounts dt{color:#73819a}.workspace-overview-amounts dd{margin:0;font-variant-numeric:tabular-nums;white-space:nowrap}.workspace-overview-amounts .overview-grand{border-top:1px solid #e3e9f2;margin-top:6px;padding-top:10px;font-weight:650;font-size:13px}.workspace-overview-amounts .overview-grand dt{color:#23334e}.workspace-overview-balance{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:13px 12px;background:#eff4ff;border:1px solid #dce7ff;border-radius:10px;margin:12px 0 16px;color:#214b9a}.workspace-overview-balance span{font-size:10px}.workspace-overview-balance strong{font-size:19px;font-variant-numeric:tabular-nums;letter-spacing:-.4px}.workspace-overview-balance.is-settled{background:#effaf4;border-color:#d5efdf;color:#22734a}.workspace-overview-prepay{font-size:10px;color:#a34927;line-height:1.6;margin:10px 0}.workspace-overview summary{cursor:pointer;font-size:11px;font-weight:600;color:#334461;padding:12px 0}.workspace-overview-products,.workspace-overview-details{border-top:1px solid #e9edf4}.workspace-overview-products summary span{display:block;font-size:10px;color:#748198;font-weight:400;margin-top:3px}.workspace-overview-products>ul{list-style:none;padding:0;margin:0 0 8px;max-height:260px;overflow-y:auto;scrollbar-width:thin}.workspace-overview-products>ul>li{padding:10px 0;border-bottom:1px solid #edf0f5}.workspace-overview-products>ul>li:last-child{border-bottom:0}.workspace-overview-product{display:flex;gap:8px;align-items:center}.workspace-overview-product>img{object-fit:cover;border:1px solid #edf0f5;border-radius:7px;flex-shrink:0}.workspace-overview-product>div{min-width:0;flex:1}.workspace-overview-product strong{display:block;font-size:10px;overflow-wrap:anywhere;line-height:1.5}.workspace-overview-product small{display:block;font-size:9px;color:#748198;margin-top:3px}.workspace-overview-product>b{font-size:10px;white-space:nowrap;font-variant-numeric:tabular-nums}.workspace-overview-details>strong,.workspace-overview-details>a{display:block;font-size:11px;margin:0 0 7px;overflow-wrap:anywhere}.workspace-overview-details>p{font-size:11px;color:#73819a;line-height:1.7;overflow-wrap:anywhere}.workspace-overview-contact{display:flex;gap:7px;margin:12px 0}.workspace-overview-contact .btn{font-size:10px;padding:7px 10px}.workspace-overview-note{font-size:9px;color:#8b96a8;line-height:1.7;margin:9px 0 0}.workspace-overview .wallet-order-addons{margin-top:8px}.workspace-overview .wallet-order-addons summary{font-size:10px}.workspace-overview .wallet-order-addons ul{padding:0}.workspace-overview .wallet-order-addons li>div{min-width:0;overflow-wrap:anywhere}@media(max-width:800px){.order-workspace-grid #workspace-sidebar.order-detail-sidebar{max-height:none;overflow:visible;padding-right:0;scrollbar-gutter:auto}.workspace-overview-meta{gap:15px}.order-detail-sidebar .workspace-overview{padding:18px}}

.order-call-result{min-width:115px;max-width:170px}.order-call-badge{display:inline-block;font-size:10px;line-height:1.5;padding:3px 7px;border:1px solid #e1e6ef;border-radius:6px;white-space:nowrap;background:#f5f7fa;color:#617087}.order-call-badge.success{background:#dcfce7;border-color:#a7efbf;color:#047857}.order-call-badge.key,.order-call-badge.warning{background:#fff7d6;border-color:#f8dc83;color:#a35b00}.order-call-badge.error{background:#fff0ed;border-color:#fec9c0;color:#b42318}.order-call-badge.active{background:#eff6ff;border-color:#c6dafe;color:#1d4ed8}.order-call-result>small{display:block;font-size:9px;color:#667085;margin-top:4px}.order-call-result>.order-call-action{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.call-status-spinner{display:inline-block;width:10px;height:10px;border:2px solid #bdd4fc;border-top-color:#2563eb;border-radius:50%;margin-right:6px;vertical-align:middle;animation:call-status-spin .8s linear infinite}.call-animated{color:#1d4ed8}@keyframes call-status-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.call-status-spinner{animation:none}}
.manual-products-workspace{display:grid;grid-template-columns:minmax(250px,.9fr) minmax(0,1.15fr);gap:16px;align-items:start;margin-bottom:18px}.manual-products-workspace>.order-builder-card{min-width:0;padding:18px;margin:0}.manual-products-workspace .order-builder-section-title{padding-bottom:15px;margin-bottom:15px;gap:10px}.manual-products-workspace .order-builder-section-title>span{width:28px;height:28px;min-width:28px;font-size:10px}.manual-products-workspace .order-builder-section-title h3{font-size:14px}.manual-products-workspace .order-builder-section-title p{font-size:10px}.manual-product-browser .manual-product-dropdown-body{position:static;max-height:none;overflow:visible;border:0;box-shadow:none;background:transparent;padding:0}.manual-product-browser .manual-picker-searches{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 34px;gap:8px;align-items:end}.manual-product-browser .manual-picker-searches label{min-width:0;margin:0 0 12px;font-size:10px}.manual-product-browser .manual-picker-searches input{min-width:0;width:100%;padding:9px;font-size:10px}.manual-favorites-filter{width:34px;min-height:37px;align-self:end;margin-bottom:12px;border:1px solid #e1dba9;border-radius:8px;background:#fffdf2;color:#b09a53;font-size:21px;padding:0}.manual-favorites-filter[aria-pressed=true]{background:#fff1bd;color:#c18d00;border-color:#e5bc48}.manual-product-browser .manual-picker-options{gap:12px}.manual-product-browser .manual-picker-options label{font-size:10px}.manual-product-browser .manual-picker-category{gap:8px}.manual-product-browser .manual-picker-category label{min-width:0;font-size:10px}.manual-product-browser .manual-picker-category select{max-width:140px;width:100%}.manual-product-browser .order-product-results{display:block;max-height:480px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;border:1px solid #e4e9f2;border-radius:10px}.manual-product-browser .manual-picker-row{padding:12px 9px;gap:9px}.manual-product-browser .manual-picker-photo{width:56px;height:64px}.manual-product-browser .manual-picker-info>strong{white-space:normal;font-size:11px}.manual-product-browser .manual-picker-price span{display:block;margin:3px 0 0}.manual-product-browser .manual-picker-add{min-width:50px;padding:8px;font-size:10px}.manual-product-browser .order-product-more{font-size:10px;margin-top:12px}.manual-selected-card .order-selected-product{display:grid;grid-template-columns:48px minmax(0,1fr) 20px;align-items:start;gap:12px 10px;border:1px solid #e4eaf3;border-radius:11px;padding:14px;margin-bottom:12px;box-shadow:0 2px 4px #20314d05}.manual-selected-card .order-selected-product:first-child{border-top:1px solid #e4eaf3;padding-top:14px}.manual-selected-card .order-selected-product>img{grid-row:1;width:48px;height:56px}.manual-selected-card .order-selected-description{grid-column:2;grid-row:1;min-width:0}.manual-selected-card .order-remove-product{grid-column:3;grid-row:1;color:#d84545}.manual-selected-card .order-selected-quantity{grid-column:1/3;grid-row:2;justify-self:start;margin:0}.manual-selected-card .order-selected-total{grid-column:2/4;grid-row:2;justify-self:end;align-self:center;font-size:13px}.manual-selected-card .manual-addon-editor{margin-top:12px}.manual-selected-card .manual-addon-positions{grid-template-columns:1fr}.manual-selected-card .order-picker-empty{padding:30px 14px}@media(max-width:1150px){.manual-products-workspace{grid-template-columns:1fr}.manual-product-browser .order-product-results{max-height:330px}}@media(max-width:600px){.manual-products-workspace{gap:12px}.manual-products-workspace>.order-builder-card{padding:15px}.manual-product-browser .manual-picker-photo{width:46px;height:55px}.manual-product-browser .manual-picker-category select{max-width:160px}.manual-selected-card .order-selected-product{padding:12px}}
.manual-selected-card .order-remove-product{border:0;background:transparent;width:22px;min-height:24px;padding:0;font-size:19px;line-height:1;cursor:pointer}.manual-selected-card .order-remove-product:hover{background:#fff0f0;border-radius:5px}

.incomplete-orders-panel table{min-width:1500px}.incomplete-orders-panel th:first-child{min-width:180px}.incomplete-orders-panel .orders-list-actions{display:flex;flex-direction:column;align-items:stretch;gap:9px;min-width:110px}.incomplete-status-cell{display:grid;gap:9px;width:180px;white-space:normal;line-height:1.6}.incomplete-status-cell small{color:var(--muted);font-size:11px}.incomplete-workspace main>.order-builder-card{margin-top:20px}.incomplete-workspace fieldset{border:0;padding:0;margin:0;min-width:0}.incomplete-workspace .form-grid .full{grid-column:1/-1}.incomplete-workspace main .table-wrap{max-width:100%}.incomplete-workspace main table{min-width:600px}.incomplete-workspace .order-summary-values{margin-top:22px}.incomplete-workspace main>form .btn.primary{margin-top:18px}

/* The mobile menu sits above every page header and owns its own scroll area. */
.admin-menu-backdrop,.admin-drawer-close{display:none}
@media(max-width:750px){
  html.admin-menu-open,body.admin-menu-open{overflow:hidden;overscroll-behavior:none}
  .admin-menu-backdrop{position:fixed;inset:0;z-index:1000;width:100%;height:100dvh;margin:0;padding:0;border:0;border-radius:0;background:#14233f66;backdrop-filter:blur(3px);cursor:default;animation:admin-backdrop-in .2s ease}
  .admin-menu-open .admin-menu-backdrop{display:block}
  #admin-sidebar{inset:0 auto 0 0;z-index:1001;width:min(288px,calc(100vw - 48px));max-width:none;height:100dvh;padding:22px 14px max(16px,env(safe-area-inset-bottom));background:#fff;border-right:1px solid #e1e8f3;box-shadow:16px 0 50px #14233f24;overflow:hidden;visibility:hidden;transform:translateX(-100%);transition:transform .22s ease,visibility 0s linear .22s}
  #admin-sidebar.open{visibility:visible;transform:translateX(0);transition-delay:0s}
  #admin-sidebar .admin-brand{flex-shrink:0;padding:0 48px 23px 10px}
  #admin-sidebar .admin-brand img{width:132px;max-width:100%}
  #admin-sidebar .admin-brand span{font-size:8px;letter-spacing:2px;margin-top:11px}
  #admin-sidebar #admin-navigation{overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
  .admin-drawer-close{position:absolute;top:17px;right:12px;display:grid;place-items:center;width:36px;height:36px;padding:8px;border:1px solid #e2e9f6;border-radius:11px;background:#f7f9fd;color:#536786}
  .admin-drawer-close:hover{background:#edf3ff;color:#2563eb}
  .admin-drawer-close svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
}
@keyframes admin-backdrop-in{from{opacity:0}to{opacity:1}}
#admin-header-shortcuts .header-shortcut{position:relative}#admin-header-shortcuts .header-count-badge{position:absolute;right:-5px;top:-6px;display:grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border:2px solid #fff;border-radius:12px;background:#f26487;color:#fff;font-size:10px;font-weight:700;line-height:1;box-shadow:0 2px 5px #df4e7426}
.manual-addon-reference{margin:10px 0 14px;min-width:0}.manual-addon-reference img{display:block;width:auto;max-width:100%;height:auto;max-height:180px;object-fit:contain;border:1px solid #e5ddca;border-radius:8px}.manual-addon-reference figcaption{font-size:10px;color:#7b7058;overflow-wrap:anywhere;margin-top:6px}
.orders-floating-scrollbar{position:fixed;bottom:8px;z-index:20;height:22px;overflow-x:scroll;overflow-y:hidden;background:#f1f5fb;border:1px solid #d7e1ef;border-radius:8px;padding:2px 0;box-shadow:0 -3px 14px #243a5714;scrollbar-width:auto;scrollbar-color:#8193af #edf2f9}
.orders-floating-scrollbar>div{height:1px;pointer-events:none}
.orders-floating-scrollbar::-webkit-scrollbar{height:14px}
.orders-floating-scrollbar::-webkit-scrollbar-track{background:#edf2f9;border-radius:7px}
.orders-floating-scrollbar::-webkit-scrollbar-thumb{background:#8193af;border:2px solid #edf2f9;border-radius:7px}
.orders-floating-scrollbar:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
body.admin-menu-open .orders-floating-scrollbar{display:none}
@media(prefers-reduced-motion:reduce){#admin-sidebar{transition:none}.admin-menu-backdrop{animation:none}}

.incomplete-orders-panel.has-selection th:first-child{min-width:44px;width:44px}.incomplete-orders-panel.has-selection th:nth-child(2){min-width:180px}.incomplete-orders-panel [data-select-incomplete],.incomplete-orders-panel [data-select-incomplete-page]{width:16px;height:16px;accent-color:#2563eb;cursor:pointer}#incomplete-bulk-action-host{order:2;margin-left:auto;flex:0 0 auto}#incomplete-bulk-action-host:empty{display:none}#incomplete-bulk-form .bulk-confirm-orders{max-height:35dvh;overflow:auto}#incomplete-bulk-form .bulk-confirm-orders table{min-width:480px}
.workspace-client-context{margin:16px 0;padding:14px;border:1px solid #e1e7f2;border-radius:12px;background:#f7f9fd}.workspace-client-context h4{font-size:12px;margin:0 0 12px}.workspace-client-context dl{margin:0;display:grid;gap:9px}.workspace-client-context dl>div{display:grid;gap:3px}.workspace-client-context dt{font-size:10px;color:#74829b}.workspace-client-context dd{margin:0;font-size:12px;overflow-wrap:anywhere}.workspace-client-context>small{display:block;margin-top:12px;color:#74829b;font-size:10px;line-height:1.5}
.orders-mobile-details{display:none}
@media(max-width:750px){
body:has(.orders-rich-panel) .admin-header-shortcuts,body:has(.pos-layout) .admin-header-shortcuts{min-width:0;max-width:100%;flex-wrap:wrap;justify-content:center}
#admin-content .orders-rich-panel{border:0;background:transparent;box-shadow:none;overflow:visible}#admin-content .orders-rich-panel .table-wrap{overflow:visible;max-height:none;border:0;background:transparent}#admin-content .orders-rich-panel table{display:block;min-width:0!important;width:100%;table-layout:auto}#admin-content .orders-rich-panel thead{display:block;margin-bottom:12px}#admin-content .orders-rich-panel thead tr{display:flex;min-height:42px;align-items:center;padding:0 12px;border:1px solid #e1e7f2;border-radius:10px;background:#fff}#admin-content .orders-rich-panel thead th{display:none;position:static;border:0;box-shadow:none;background:none;padding:8px}#admin-content .orders-rich-panel thead th:has(input[type=checkbox]){display:flex;align-items:center;gap:10px;width:100%;font-size:12px}#admin-content .orders-rich-panel thead th:has(input[type=checkbox]):after{content:'Select orders on this page';font-weight:500;color:#536681}#admin-content .orders-rich-panel tbody{display:grid;gap:14px}#admin-content .orders-rich-panel .orders-rich-row{position:relative;display:grid;grid-template-columns:28px minmax(0,1fr) minmax(82px,auto);gap:12px 8px;border:1px solid #dfe6f2;border-radius:15px;background:#fff;padding:16px;box-shadow:0 3px 8px #1c355305}#admin-content .orders-rich-panel .orders-rich-row>td{display:block;position:static;min-width:0;width:auto;max-width:none;padding:0;border:0;box-shadow:none;background:transparent;white-space:normal}#admin-content .orders-rich-panel [data-order-cell=select]{grid-column:1;grid-row:1;padding-top:4px}#admin-content .orders-rich-panel [data-order-cell=created]{grid-column:2/-1;grid-row:1}#admin-content .orders-rich-panel [data-order-cell=customer]{grid-column:1/-1;grid-row:2;padding-top:12px;border-top:1px solid #edf1f7}#admin-content .orders-rich-panel [data-order-cell=products]{grid-column:1/-1;grid-row:3}#admin-content .orders-rich-panel [data-order-cell=total]{grid-column:1/3;grid-row:4}#admin-content .orders-rich-panel [data-order-cell=status]{grid-column:3;grid-row:4}#admin-content .orders-rich-panel [data-order-cell=action]{grid-column:1/-1;grid-row:5;border-top:1px solid #edf1f7;padding-top:12px}#admin-content .orders-rich-panel [data-order-cell=note],#admin-content .orders-rich-panel [data-order-cell=autocall],#admin-content .orders-rich-panel [data-order-cell=ratio],#admin-content .orders-rich-panel [data-order-cell=courier]{display:none;grid-column:1/-1}#admin-content .orders-rich-panel .orders-mobile-expanded [data-order-cell=note],#admin-content .orders-rich-panel .orders-mobile-expanded [data-order-cell=autocall],#admin-content .orders-rich-panel .orders-mobile-expanded [data-order-cell=ratio],#admin-content .orders-rich-panel .orders-mobile-expanded [data-order-cell=courier]{display:block;padding-top:10px;border-top:1px solid #edf1f7}#admin-content .orders-rich-panel .orders-created-actions{width:100%;justify-content:space-between;align-items:center;gap:8px}#admin-content .orders-rich-panel .orders-created-date{font-size:11px;margin-bottom:5px}#admin-content .orders-rich-panel .order-number{font-size:15px}#admin-content .orders-rich-panel .single-order-menu-trigger{width:40px;height:40px;min-height:40px}#admin-content .orders-rich-panel .orders-customer-cell{width:100%}#admin-content .orders-rich-panel .orders-contact-row{gap:12px}.orders-rich-panel .orders-contact-row .order-phone{font-size:16px}#admin-content .orders-rich-panel .orders-contact-row button,#admin-content .orders-rich-panel .orders-whatsapp{display:grid;place-items:center;min-width:36px;min-height:36px;border:1px solid #e7edf5;border-radius:8px}#admin-content .orders-rich-panel .orders-customer-cell>strong{font-size:14px;margin-top:4px}#admin-content .orders-rich-panel .orders-address{max-width:100%;white-space:normal;line-height:1.6;font-size:12px}#admin-content .orders-rich-panel .orders-product-previews{width:100%}#admin-content .orders-rich-panel .orders-product-preview{margin:0 0 7px;padding:10px;gap:11px}#admin-content .orders-rich-panel .orders-product-preview img{width:47px;height:55px}#admin-content .orders-rich-panel .orders-product-preview strong{max-width:none;white-space:normal;font-size:12px;line-height:1.5}#admin-content .orders-rich-panel .orders-product-preview small{font-size:11px}#admin-content .orders-rich-panel .orders-product-preview span{font-size:12px}#admin-content .orders-rich-panel .orders-total-cell{gap:6px}#admin-content .orders-rich-panel .orders-total-cell>strong{font-size:18px}#admin-content .orders-rich-panel .orders-status-cell{align-items:flex-end;gap:5px}#admin-content .orders-rich-panel .orders-status-cell .badge{white-space:normal;text-align:right;font-size:10px}#admin-content .orders-rich-panel .orders-list-actions{flex-direction:row;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;min-width:0;width:100%}#admin-content .orders-rich-panel .orders-open-action{min-height:42px;display:inline-flex;align-items:center;justify-content:center;border-radius:9px;padding:10px 16px;font-size:12px;background:#244882;border-color:#244882;color:#fff}.orders-mobile-details{display:block;min-height:40px;padding:8px 12px;background:#f5f8fd;border:1px solid #e2e9f4;border-radius:9px;font-size:12px;color:#5c7396}#admin-content .orders-rich-panel .orders-note-cell{width:100%;font-size:12px}#admin-content .orders-rich-panel .incomplete-status-cell{width:auto;font-size:11px}body:has(.orders-rich-panel) #orders-floating-scrollbar{display:none!important}.orders-inline-controls{gap:10px}.orders-inline-controls #table-search,.orders-inline-controls:has(.order-bulk-actions) #table-search{max-width:none;width:100%;flex-basis:100%;font-size:13px;min-height:44px}.orders-inline-controls .orders-meta-actions{flex:1;justify-content:flex-end}.orders-inline-controls #orders-list-sort{min-height:42px;font-size:12px}.order-filter-tabs{scrollbar-width:none;padding-bottom:4px}.order-filter-tabs::-webkit-scrollbar{display:none}.order-filter-tabs button{min-height:42px}.orders-rich-panel input[type=checkbox]{width:19px;height:19px;min-height:19px;margin:0}.orders-rich-panel .pagination{flex-wrap:wrap;gap:10px}
.order-workspace-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;height:auto!important;max-height:none!important;overflow:visible!important}.order-workspace-grid #workspace-builder,.order-workspace-grid #workspace-sidebar{height:auto!important;max-height:none!important;overflow:visible!important;padding-right:0;min-width:0}.workspace-main-layout,.order-builder-layout{grid-template-columns:minmax(0,1fr)!important}.order-workspace-grid .form-grid{grid-template-columns:minmax(0,1fr)}.order-workspace-grid .order-builder-card{padding:17px;min-width:0}.workspace-heading{flex-wrap:wrap;gap:14px}.workspace-heading-details{flex-wrap:wrap;min-width:0;gap:9px}.workspace-heading .heading-actions{display:flex;flex-wrap:wrap;gap:8px;width:100%}.workspace-heading .heading-actions .btn{flex:1;min-height:44px}.order-workspace-grid input:not([type=checkbox]),.order-workspace-grid textarea,.order-workspace-grid select{font-size:16px!important;min-width:0;width:100%;min-height:44px}.order-workspace-grid textarea{min-height:85px}.order-workspace-grid .btn,.order-workspace-grid .order-builder-submit{min-height:44px}.order-builder-section-title{flex-wrap:wrap}.order-workspace-grid .manual-products-workspace{grid-template-columns:minmax(0,1fr)}.order-workspace-grid .courier-ratio-grid{max-width:100%;overflow-x:auto}.order-workspace-grid .order-amount-fields{grid-template-columns:minmax(0,1fr)}.order-workspace-grid .order-summary-actions{flex-wrap:wrap}.order-workspace-grid .manual-picker-searches input{font-size:14px!important}.order-workspace-grid .manual-addon-choice input[type=checkbox]{width:18px;height:18px;min-height:18px}.order-workspace-grid .order-selected-quantity input{width:44px}.order-workspace-grid .order-summary-submit-actions{grid-template-columns:1fr}
}
@media(max-width:380px){body:has(.orders-rich-panel,.order-workspace-grid,.pos-layout) .admin-header-shortcuts{flex-wrap:wrap;min-width:0;max-width:100%;row-gap:6px;justify-content:center}.orders-inline-controls .orders-meta-actions{flex-basis:100%;justify-content:space-between}#admin-content .orders-rich-panel .orders-rich-row{padding:13px;grid-template-columns:24px minmax(0,1fr) auto}#admin-content .orders-rich-panel .orders-status-cell .badge{font-size:9px}}
@media(max-width:750px){#admin-content .orders-rich-panel .orders-rich-row:not(.orders-mobile-expanded)>td:is([data-order-cell=note],[data-order-cell=autocall],[data-order-cell=ratio],[data-order-cell=courier]){display:none}}
@media(max-width:750px){
#admin-content:has(.order-workspace-grid){padding:18px 14px 28px}.workspace-heading.workspace-heading-inline{margin-bottom:14px;gap:12px}.workspace-heading-details{gap:8px;width:100%}.workspace-heading-inline .workspace-back{font-size:11px;padding-right:8px}.workspace-heading-inline h1{font-size:21px}.workspace-heading-date{font-size:10px}.workspace-heading .heading-actions .btn{font-size:12px;min-height:42px}.workspace-mobile-nav{display:flex;position:sticky;top:0;z-index:8;gap:6px;padding:9px 0;margin:0 0 14px;background:#f5f6fabf;backdrop-filter:blur(12px)}.workspace-mobile-nav button{flex:1;min-width:0;min-height:40px;border:1px solid #dfe7f2;border-radius:9px;background:#fff;color:#526b92;font-size:11px;padding:7px 5px}.workspace-mobile-nav button:first-child{color:#285bdb;background:#eff4ff;border-color:#d2dfff}.order-workspace-grid{gap:16px}.order-workspace-grid .order-builder-card{border-radius:13px;margin-bottom:16px;padding:16px}.order-workspace-grid .order-builder-section-title{padding-bottom:14px;margin-bottom:17px;gap:9px;align-items:center}.order-workspace-grid .order-builder-section-title h3{font-size:15px}.order-workspace-grid .order-builder-section-title p{font-size:11px;line-height:1.6}.order-workspace-grid .form-grid{gap:16px}.order-workspace-grid label{font-size:12px}.order-workspace-grid .form-grid label{margin:0}.order-workspace-grid .order-builder-section-title>span{width:27px;min-width:27px;height:27px;font-size:10px}.order-workspace-grid .preorder-option{margin-left:auto;font-size:11px}.order-workspace-grid .order-ai-assist-button{min-height:40px;padding:9px 12px}.order-workspace-grid .order-builder-section-title>p{width:100%}
.order-workspace-grid #courier-ratio-panel{padding:14px;margin-bottom:16px;border-radius:13px}.order-workspace-grid .courier-panel-heading{margin-bottom:12px;gap:8px;align-items:start}.order-workspace-grid .courier-panel-heading>div{display:flex;flex-wrap:wrap;gap:5px 10px}.order-workspace-grid .courier-panel-heading strong{font-size:12px}.order-workspace-grid .courier-panel-heading span{font-size:10px}.order-workspace-grid .courier-panel-layout{display:flex;flex-direction:column;gap:12px;min-width:0}.order-workspace-grid .courier-own-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;min-height:0;width:100%;padding:12px}.order-workspace-grid .courier-card-heading{display:flex;flex-wrap:wrap;align-items:center;gap:7px;grid-column:1/-1;min-width:0}.order-workspace-grid .courier-card-heading>svg{width:14px;height:14px}.order-workspace-grid .courier-card-heading>strong{font-size:12px}.order-workspace-grid .courier-card-heading .courier-autofill{margin-left:auto;font-size:10px;min-height:30px;padding:5px 8px}.order-workspace-grid .courier-card-heading [data-courier-own-history]{min-height:30px;font-size:10px;margin:0;padding:5px}.order-workspace-grid .courier-own-total{display:flex;align-items:center;gap:12px;justify-content:space-between;border:0;padding:0;margin:0;font-size:11px}.order-workspace-grid .courier-own-total>strong{font-size:18px}.order-workspace-grid .courier-own-counts{display:flex;flex-wrap:wrap;gap:5px;margin:0;padding:0}.order-workspace-grid .courier-own-status{display:flex;gap:8px;align-items:center;padding:5px 8px;border:1px solid #dce7fb;border-radius:6px;font-size:10px;min-height:30px}.order-workspace-grid .courier-own-woo-history{grid-column:1/-1;margin:0;padding-top:9px;font-size:10px}.order-workspace-grid .courier-provider-results{width:100%;min-width:0}.order-workspace-grid .courier-provider-cards{display:flex;overflow-x:auto;gap:8px;scroll-snap-type:x proximity;padding-bottom:8px;overscroll-behavior-x:contain}.order-workspace-grid .courier-stat-card{flex:0 0 139px;min-width:139px;min-height:154px;padding:10px;scroll-snap-align:start}.order-workspace-grid .courier-stat-card dl{font-size:10px}.order-workspace-grid .courier-rate-row{margin:10px 0}.order-workspace-grid .courier-rate-row strong{font-size:18px}.order-workspace-grid .courier-rate-row small{font-size:9px}.order-workspace-grid .courier-ratio-ring{width:30px;height:30px;flex-shrink:0}.order-workspace-grid .courier-stat-title{min-height:24px;font-size:11px;gap:6px}.order-workspace-grid .courier-brand-logo{max-width:100px;max-height:24px;object-fit:contain}.order-workspace-grid .courier-brand-steadfast{max-width:25px}.order-workspace-grid .courier-checked-at{font-size:10px;line-height:1.6;margin:7px 0 0}.order-workspace-grid .courier-panel-state{min-height:0;padding:20px 14px}.order-workspace-grid .courier-panel-state p{font-size:11px}
.order-workspace-grid .manual-products-workspace{gap:0}.order-workspace-grid .manual-picker-searches{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 34px;gap:7px}.order-workspace-grid .manual-picker-category{flex-wrap:wrap}.order-workspace-grid .manual-picker-category label{flex:1;min-width:0}.order-workspace-grid .manual-picker-category select{max-width:none}.order-workspace-grid .manual-picker-options{gap:10px}.order-workspace-grid .manual-picker-options label{font-size:11px}.order-workspace-grid .manual-picker-row{gap:9px;padding:11px 8px}.order-workspace-grid .manual-picker-info>strong{font-size:12px}.order-workspace-grid .manual-picker-add{min-width:53px;min-height:42px}.order-workspace-grid .order-product-results{max-height:285px}.order-workspace-grid #workspace-sidebar{display:grid;gap:16px}.order-workspace-grid #workspace-sidebar>.order-builder-card{margin:0}.order-workspace-grid .workspace-overview-products>ul{max-height:none}.order-workspace-grid .workspace-secondary-actions{display:grid;gap:10px}.order-workspace-grid #order-form label{display:block;margin-top:13px}.order-workspace-grid #order-form>.btn{width:100%;margin-top:16px}.workspace-order-history{padding:16px}.order-workspace-grid :is(.order-builder-card,.manual-products-workspace,#manual-order-summary,#order-form){scroll-margin-top:62px}.workspace-mobile-nav+ .order-workspace-grid{margin-top:0}
}
@media(min-width:751px){.workspace-mobile-nav{display:none}}@media(max-width:370px){.order-workspace-grid .courier-own-card{grid-template-columns:1fr}.order-workspace-grid .courier-own-counts{grid-column:1}.order-workspace-grid .courier-stat-card{flex-basis:135px;min-width:135px}.workspace-mobile-nav button{font-size:10px}.workspace-heading-inline .workspace-back{border:0;padding:0}.workspace-heading-date{flex-basis:100%;order:5}.order-workspace-grid .order-ai-assist-button{font-size:10px;padding:7px 9px}}
@media(max-width:750px){.order-workspace-grid .courier-card-heading{display:grid;grid-template-columns:14px minmax(0,1fr) auto auto;gap:6px}.order-workspace-grid .courier-card-heading [data-courier-own-history]{font-size:9px;padding:3px}.order-workspace-grid .courier-card-heading .courier-autofill{font-size:9px;padding:4px 6px;margin:0}.order-workspace-grid .courier-own-woo-history{gap:8px}.order-workspace-grid .courier-own-woo-history button{min-height:28px;font-size:9px;padding:4px}.order-workspace-grid .courier-own-woo-history strong{font-size:12px}.order-workspace-grid .courier-own-status{min-height:28px}.order-workspace-grid .courier-own-card{gap:8px}}
.checkout-recovery-banner{padding:17px 20px;margin:0 0 18px;border:1px solid #cbdcfb;background:#eff5ff;border-radius:13px;color:#234c8b}.checkout-recovery-banner strong{font-size:16px}.checkout-recovery-banner p{font-size:12px;line-height:1.7;max-width:850px}.checkout-recovery-banner .btn{background:white}.incomplete-workspace [data-recover-checkout]{min-height:45px}

.incomplete-history-button{align-self:flex-start;text-align:left;padding:5px 8px;border:1px solid #cbdcff;border-radius:6px;background:#f2f6ff;color:#2854a1;font-size:10px}.incomplete-orders-panel .orders-customer-cell .duplicate-order-badge{max-width:100%}.incomplete-context{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:16px}

.order-courier-log{background:linear-gradient(135deg,#f8fbff,#fff);border-color:#dbeafe}.order-courier-log .order-timeline{border-color:#c7e2ef}.order-courier-event{overflow-wrap:anywhere}.order-courier-log .order-courier-event:before{background:#2097b5}.order-courier-log .order-note{font-size:12px;line-height:1.7}.workspace-order-history+.order-courier-log{margin-top:20px}

.order-unified-history .history-steps{list-style:none;margin:22px 0 0 12px;padding-left:26px;border-color:#dce7f7}.order-unified-history .history-step{display:flex;min-width:0;padding:0 0 22px}.order-unified-history .history-step:before{display:none}.history-step-number{position:absolute;left:-40px;top:0;width:26px;height:26px;display:grid;place-items:center;background:#eef4ff;border:1px solid #d7e4ff;border-radius:50%;color:#3564ba;font-size:10px;font-weight:600}.history-step-main{min-width:0;width:100%;padding-top:2px}.history-status{display:block;font-size:12px;line-height:1.8;overflow-wrap:anywhere}.history-status em{display:inline-block;min-width:50px;font-style:normal;color:#8190a6;font-size:10px}.order-unified-history .history-step-main>small{color:#8793a6;margin:5px 0 0}.order-unified-history .history-step-more{padding:0!important;background:transparent!important;margin:7px 0 0!important}.history-step-more>summary{font-size:10px;width:fit-content;color:#5775a5!important;cursor:pointer}.history-step-records{list-style:none;padding:12px;margin:10px 0 0;background:#f7f9fc;border:1px solid #e9eef5;border-radius:8px}.history-step-records>li{padding:0 0 12px;overflow-wrap:anywhere}.history-step-records>li:last-child{padding-bottom:0}.history-step-records>li:before{display:none}.order-unified-history .history-step:last-child{padding-bottom:0}@media(max-width:650px){.order-unified-history{padding:16px}.history-status{font-size:11px}.history-status em{min-width:44px}.history-step-records{padding:10px}.order-unified-history .history-steps{padding-left:22px}.history-step-number{left:-36px}}

.customer-contact-compact{width:222px;font-size:12px;color:#344054}.customer-contact-compact .customer-info-line{display:flex;align-items:center;gap:7px;min-width:0;margin:0;line-height:1.6}.customer-contact-compact .customer-line-icon{display:inline-flex;flex:0 0 14px;color:#8591a4}.customer-contact-compact svg{width:14px;height:14px;display:block;flex-shrink:0}.customer-contact-compact .order-phone{font-size:12px!important;font-weight:500;color:#344054}.customer-contact-actions{display:flex;align-items:center;gap:2px;margin-left:0;flex-shrink:0}.customer-contact-actions a,.customer-contact-compact .customer-contact-actions button{display:grid;place-items:center;width:25px;height:28px;min-width:25px;min-height:28px;padding:0;border:0;border-radius:5px;background:transparent;cursor:pointer}.customer-contact-actions .customer-call{color:#427dff}.customer-contact-actions .orders-whatsapp{color:#0cb76a}.customer-contact-actions .customer-copy{color:#929dab}.customer-contact-actions a:hover,.customer-contact-actions button:hover{background:#edf3ff}.customer-contact-actions a:focus-visible,.customer-contact-actions button:focus-visible{outline:2px solid #6494ef;outline-offset:1px}.customer-contact-compact .customer-name-line strong{font-size:12px;font-weight:500;overflow-wrap:anywhere}.customer-contact-compact .orders-address{min-width:0;max-width:201px;font-size:11px;color:#667085}.customer-contact-compact .customer-name-line,.customer-contact-compact .customer-address-line{margin-top:2px}@media(max-width:650px){#admin-content .orders-rich-panel .customer-contact-compact{width:100%}#admin-content .orders-rich-panel .customer-contact-compact .orders-contact-row{gap:7px}#admin-content .orders-rich-panel .customer-contact-compact .customer-contact-actions a,#admin-content .orders-rich-panel .customer-contact-compact .customer-contact-actions button{width:36px;height:36px;min-width:36px;min-height:36px;border:0;border-radius:7px}#admin-content .orders-rich-panel .customer-contact-compact .order-phone{font-size:14px!important}.customer-contact-compact .customer-name-line strong{font-size:13px}#admin-content .orders-rich-panel .customer-contact-compact .orders-address{max-width:100%;font-size:12px}.customer-contact-compact .customer-address-line{align-items:flex-start}.customer-contact-compact .customer-address-line>.customer-line-icon{margin-top:3px}}

.history-legend{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin-top:12px;font-size:11px;font-weight:600}.history-legend>span{display:inline-flex;align-items:center;gap:6px}.history-legend>span:before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor}.history-legend-panel{color:#2456b5}.history-legend-courier{color:#08745f}.history-legend>small{font-size:10px;color:#526176;font-weight:400}.history-step-panel{--history-accent:#2456b5;--history-tint:#f4f7ff;--history-border:#d4e0f8}.history-step-courier{--history-accent:#08745f;--history-tint:#f1faf7;--history-border:#cae9df}.order-unified-history .history-step-number{color:var(--history-accent);background:var(--history-tint);border-color:var(--history-border);font-weight:700;font-size:11px}.order-unified-history .history-step-main{padding:11px 13px;background:var(--history-tint);border:1px solid var(--history-border);border-left:3px solid var(--history-accent);border-radius:9px}.order-unified-history .history-status{color:#25364d;font-size:13px;line-height:1.85}.order-unified-history .history-status b{font-weight:650;color:#15263f}.order-unified-history .history-status em{font-size:11px;font-weight:600;color:var(--history-accent);min-width:53px}.order-unified-history .history-status-order em{color:#2456b5}.order-unified-history .history-status-courier em{color:#08745f}.order-unified-history .history-step-main>strong{font-size:13px;color:#15263f}.order-unified-history .history-step-main>small{color:#4b5d73;font-size:11px;margin-top:6px;line-height:1.6}.order-unified-history .history-step-more>summary{color:var(--history-accent)!important;font-weight:600;font-size:11px}.order-unified-history .history-step-records{color:#334155;background:#fff;font-size:12px}.order-unified-history .history-step-records small,.order-unified-history .history-step-records .order-history-actor{color:#4b5d73}.order-unified-history .history-step{padding-bottom:16px}@media(max-width:650px){.order-unified-history .history-step-main{padding:10px}.order-unified-history .history-status{font-size:12px}.order-unified-history .history-step-main>small{font-size:11px}.history-legend{gap:12px}}

.smart-product-form>.form-actions{flex-wrap:wrap;gap:10px}.smart-product-form>.form-actions>#product-error{flex:0 0 100%;margin:0;padding:10px 12px;background:#fff2f0;border:1px solid #f5c4bd;border-radius:7px;line-height:1.6;color:#a11a12;font-size:12px;font-weight:500;overflow-wrap:anywhere}.smart-product-form>.form-actions>#product-error:empty{display:none}

.editor-hidden-variants{margin-top:16px;padding:12px 14px;border:1px solid #d9e2ef;border-radius:8px;background:#f8fafc;font-size:12px}.editor-hidden-variants summary{cursor:pointer;font-weight:600;color:#465c7c}.editor-hidden-variants p{font-size:11px;color:#526176;margin:10px 0}.editor-hidden-variants>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-top:1px solid #e6ebf2}

.editor-stock-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:18px 0 12px}.editor-stock-filters>span{font-size:11px;font-weight:600;color:#475569;margin-right:4px}.editor-stock-filters button{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border:1px solid #dbe3ef;background:white;border-radius:7px;font-size:11px;color:#475569;min-height:34px}.editor-stock-filters button[aria-pressed=true]{background:#edf4ff;border-color:#97b8f2;color:#17468f}.editor-stock-filters b{border-radius:5px;background:#eef2f7;padding:1px 5px;font-size:10px}.editor-stock-filters button[data-editor-stock-filter=in]{color:#08745f}.editor-stock-filters button[data-editor-stock-filter=out]{color:#b13c30}
.order-unified-history .history-step-heading{display:flex;flex-wrap:wrap;align-items:baseline;gap:5px 9px}.order-unified-history .history-step-heading>strong{font-size:13px;color:#15263f}.order-unified-history .history-change-summary{display:block;font-size:12px;line-height:1.7;color:#334c6b;overflow-wrap:anywhere}.order-unified-history .history-step-heading>.history-change-summary:before{content:'· ';color:var(--history-accent)}.order-unified-history .history-step-courier .history-change-summary{color:#146555}
.history-sync-warning{padding:11px 13px;border:1px solid #ebd294;border-radius:8px;background:#fff8e7;color:#785218;font-size:12px;line-height:1.7}.history-technical-logs{margin-top:14px;padding-top:13px;border-top:1px solid #e1e7ef}.history-technical-logs>summary{font-size:11px;font-weight:600;color:#526176;cursor:pointer}.history-technical-logs .history-step-records{max-height:440px;overflow:auto}
html{scroll-behavior:auto;scrollbar-gutter:stable}.editor-dialog,#admin-navigation,.order-detail-sidebar{overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable}.editor-dialog{scroll-padding-top:90px;scroll-padding-bottom:24px}@media(prefers-reduced-motion:reduce){html,.editor-dialog,#admin-navigation,.order-detail-sidebar{scroll-behavior:auto!important}}
.user-permission-parent{display:flex;gap:24px;align-items:center}.user-permission-search{display:grid;gap:8px;margin-bottom:16px;color:#233b53;font-size:12px}.user-permission-card p{color:#526379;font-size:11px}.user-permission-submenu{margin-top:14px;border-top:1px solid #dce5f1;padding-top:12px}.user-permission-submenu>summary{display:flex;justify-content:space-between;gap:10px;align-items:center;cursor:pointer;color:#244269;font-size:12px;font-weight:600;list-style:none}.user-permission-submenu>summary:before{content:"+";color:#3166d5}.user-permission-submenu[open]>summary:before{content:"-"}.user-permission-submenu [data-permission-count]{margin-left:auto;border-radius:12px;padding:3px 8px;background:#eaf1ff;color:#2455b1;font-size:10px}.user-permission-submenu>div{display:grid;gap:8px;margin-top:12px}.user-permission-action{display:flex!important;gap:10px!important;align-items:flex-start;padding:10px;border:1px solid #e2e9f3;border-radius:8px;background:#fff}.user-permission-action input{flex-shrink:0;margin-top:3px}.user-permission-action strong{font-size:11px;display:block;color:#183654}.user-permission-action small{display:block;margin-top:4px;color:#526379;line-height:1.6;font-size:10px}.user-permission-card[hidden]{display:none}
.approval-center-shell{max-width:1100px}.approval-center-shell .panel-header{display:flex;justify-content:space-between;gap:16px;align-items:center}.approval-center-empty{padding:36px 16px;text-align:center}.approval-center-empty>svg{width:52px;height:52px;padding:12px;background:#edf3ff;border-radius:15px;color:#2563eb;margin-bottom:16px}.approval-center-empty h3{font-size:19px;color:#173351}.approval-center-empty p{color:#526379;line-height:1.8;max-width:560px;margin:12px auto}.approval-center-next{border:1px solid #dfe7f3;border-radius:12px;padding:22px;background:#f8faff}.approval-center-next h3{font-size:14px;color:#173351}.approval-center-next ol{padding-left:20px;color:#314960;line-height:2}.approval-center-next p{color:#526379;font-size:12px;line-height:1.8;margin-bottom:0}@media(max-width:550px){.approval-center-next{padding:16px}.approval-center-empty{padding:24px 4px}.approval-center-empty h3{font-size:17px}}
/* Exchange parcels use a separate manual courier workflow. */
.exchange-parcel-badge{background:#fff2dc;color:#864600;border:1px solid #efd09a;font-weight:600;width:max-content}
.exchange-parcel-notice{padding:12px 15px;margin:12px 0 18px;background:#fff9ed;border:1px solid #eddbb7;border-radius:10px;color:#755020;font-size:12px;line-height:1.7}
.exchange-parcel-filters{flex-wrap:wrap;margin-bottom:18px}
.exchange-parcel-list{display:grid;gap:15px;margin-top:20px}
.exchange-parcel-card{padding:18px;background:#fff;border:1px solid #dce4f0;border-radius:15px;min-width:0}
.exchange-parcel-card header,.exchange-parcel-card footer,.exchange-parcel-card footer>div{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.exchange-parcel-content{display:grid;grid-template-columns:1fr 1fr .8fr;gap:20px;padding:18px 0}
.exchange-parcel-content>div{min-width:0}.exchange-parcel-content>div>strong{display:block;margin-bottom:10px;font-size:12px}
.exchange-parcel-card footer{justify-content:space-between;border-top:1px solid #e6ebf2;padding-top:13px}.exchange-parcel-card footer small{color:#52647d}
@media(max-width:700px){.exchange-parcel-content{grid-template-columns:1fr;gap:16px}.exchange-parcel-card{padding:14px}.exchange-parcel-filters{gap:7px}.exchange-parcel-card footer>div{width:100%}.exchange-parcel-card footer .btn{flex:1}.order-builder-actions{flex-wrap:wrap}}
.exchange-progress,.exchange-selection{border:1px solid #cbdce8;border-radius:14px;background:#f7fbff;padding:18px;margin:16px 0;color:#193349}.exchange-progress>header{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}.exchange-progress-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px}.exchange-progress-columns>div{padding:14px;border-radius:12px;background:white;border:1px solid #dae5ed}.exchange-progress-columns>div:last-child{background:#f0faf6;border-color:#cce6db}.exchange-progress-label,.exchange-selection>span{display:block;font-size:10px;letter-spacing:.09em;color:#426179;margin-bottom:7px}.exchange-progress p,.exchange-selection p{font-size:12px;line-height:1.65;overflow-wrap:anywhere}.exchange-progress-note{font-size:11px;color:#465d70;line-height:1.6;margin-top:12px}.exchange-selection>a{font-weight:700}.exchange-parcel-card>.exchange-progress{margin:0 18px 18px}.exchange-dialog{width:min(640px,calc(100vw - 28px));max-height:90dvh;padding:0;border:1px solid #d9e2ec;border-radius:20px;color:#193349;overflow:auto;overscroll-behavior:contain}.exchange-dialog::backdrop{background:#15223866;backdrop-filter:blur(4px)}.exchange-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px;border-bottom:1px solid #e1e9f1;background:#f7faff}.exchange-dialog h2{font-size:20px;margin:6px 0 0}.exchange-dialog>header span{font-size:10px;letter-spacing:.1em;color:#426179}.exchange-dialog-body{padding:22px}.exchange-dialog-body>label{display:grid;gap:8px;margin-bottom:15px}.exchange-dialog footer{padding:16px 22px;display:flex;justify-content:flex-end;gap:10px;border-top:1px solid #e1e9f1;background:white;position:sticky;bottom:0}.exchange-original-result{width:100%;display:grid;gap:5px;text-align:left;padding:12px;border:1px solid #d9e2ec;border-radius:10px;background:white;color:#193349;margin:7px 0}.exchange-original-result.selected{background:#edf4ff;border-color:#2963ef}.exchange-original-result small{color:#52677c}#exchange-original-results{max-height:220px;overflow:auto;overscroll-behavior:contain}.exchange-original-line{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #e1e9f1}.exchange-original-line img{width:44px;height:50px;object-fit:contain;border-radius:7px}.exchange-original-line>span{flex:1;min-width:0}.exchange-original-line small{display:block;margin-top:5px;color:#52677c}.exchange-original-line input{width:76px}.exchange-receipt-line{border:1px solid #d9e2ec;border-radius:12px;padding:14px;margin:12px 0}.exchange-receipt-line>div{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:10px 0}.exchange-receipt-line input[type=number]{width:85px;display:block;margin-top:6px}.exchange-receipt-line small{color:#426179}.exchange-dialog .form-error{color:#b42318}@media(max-width:600px){.exchange-progress-columns{grid-template-columns:1fr}.exchange-dialog-body{padding:16px}.exchange-dialog>header{padding:16px}.exchange-dialog h2{font-size:18px}}
/* Auto Call badges: soft tinted pills matching the admin badges. */
.order-call-result{min-width:118px;max-width:180px}
.order-call-badge{display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:4px 9px;border:1px solid #eaecf0;border-radius:20px;font-size:10px;font-weight:600;line-height:1.2;white-space:nowrap;background:#f9fafb;color:#475467;box-shadow:none}
.order-call-badge>span{overflow:hidden;text-overflow:ellipsis}
.order-call-badge svg{width:11px;height:11px;flex:none;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.order-call-badge.pressed1,.order-call-badge.done{background:#ecfdf3;border-color:#abefc6;color:#067647}
.order-call-badge.pressed2{background:#f4f3ff;border-color:#d9d6fe;color:#5925dc}
.order-call-badge.pressedn,.order-call-badge.queued{background:#eff8ff;border-color:#b2ddff;color:#175cd3}
.order-call-badge.rejected,.order-call-badge.failed{background:#fef3f2;border-color:#fecdca;color:#b42318}
.order-call-badge.noanswer,.order-call-badge.wrongkey,.order-call-badge.retry{background:#fffaeb;border-color:#fedf89;color:#b54708}
.order-call-badge.calling,.order-call-badge.waiting{background:#eef4ff;border-color:#c7d7fe;color:#3538cd}
.order-call-badge.review,.order-call-badge.idle{background:#f9fafb;border-color:#eaecf0;color:#475467}
.call-ping{position:relative;display:inline-flex;width:7px;height:7px;flex:none;border-radius:50%;background:currentColor}
.call-ping::before{content:"";position:absolute;inset:0;border-radius:50%;background:currentColor;opacity:.4;animation:call-ping 1.4s cubic-bezier(0,0,.2,1) infinite}
@keyframes call-ping{75%,100%{transform:scale(2.2);opacity:0}}
.order-call-empty{font-size:12px;color:#d0d5dd}
.order-call-result>small{display:block;margin-top:5px;font-size:10px;font-weight:500;color:#667085}
.order-call-result>small.order-call-action{color:#667085;max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.order-call-result>small.order-call-action.warn{color:#b54708}
@media(prefers-reduced-motion:reduce){.call-ping::before{animation:none}}
.order-note-inline-form{display:grid;gap:8px;padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid #eaecf0}
.order-note-inline-form label{display:grid;gap:6px;font-size:13px;font-weight:600;color:#101828}
.order-note-inline-form textarea{width:100%;resize:vertical;min-height:72px}
.order-note-inline-form .form-actions{margin:0;justify-content:flex-end}.order-note-inline-form .form-error:empty{display:none}
/* Fully paid orders: green actions button with a small chat-style "Paid" bubble. */
.single-order-menu-trigger.is-paid{position:relative;background:#ecfdf3;border-color:#75e0a7;color:#067647;overflow:visible}
.single-order-menu-trigger.is-paid:hover{background:#dcfae6}
.paid-bubble{position:absolute;left:calc(100% - 6px);bottom:calc(100% - 4px);padding:3px 8px;border-radius:12px 12px 12px 3px;background:linear-gradient(135deg,#17b26a,#079455);color:#fff;font-size:9px;font-weight:700;line-height:1.3;letter-spacing:.02em;white-space:nowrap;box-shadow:0 2px 6px rgba(7,148,85,.3);pointer-events:none;z-index:2}
.paid-bubble::after{content:"";position:absolute;left:-1px;bottom:-4px;border-width:5px 6px 0 0;border-style:solid;border-color:#079455 transparent transparent}
.orders-show-paid{display:flex;align-items:center;gap:8px;border:1px solid #abefc6;border-radius:7px;background:#ecfdf3;color:#067647;font-size:11px;font-weight:600;min-height:34px;padding:7px 11px;cursor:pointer}
.orders-show-paid>span{font-size:10px;min-width:18px;text-align:center;padding:1px 5px;border-radius:5px;background:#dcfae6}
.orders-show-paid:hover,.orders-show-paid[aria-pressed=true]{background:#dcfae6;border-color:#75e0a7}
.orders-show-paid[aria-pressed=true]>span{background:#ecfdf3}
/* Order cart popup */
.orders-product-previews[data-order-cart]{cursor:pointer;border-radius:10px;transition:box-shadow .15s,background .15s}
.orders-product-previews[data-order-cart]:hover{box-shadow:0 0 0 2px #d1e0ff;background:#f8faff}
.orders-product-previews[data-order-cart]:focus-visible{outline:2px solid #2970ff;outline-offset:2px}
.order-cart{display:grid;gap:14px;min-width:min(520px,100%)}
.order-cart-meta{margin:0;font-size:12px;color:#667085}
.order-cart-items{list-style:none;margin:0;padding:0;display:grid;gap:10px;max-height:52vh;overflow:auto}
.order-cart-item{display:grid;grid-template-columns:56px 1fr auto;gap:12px;align-items:center;padding:10px;border:1px solid #eaecf0;border-radius:12px;background:#fff}
.order-cart-item img,.order-cart-noimage{width:56px;height:64px;border-radius:9px;object-fit:cover;background:#f2f4f7}
.order-cart-copy{display:grid;gap:3px;min-width:0}.order-cart-copy strong{font-size:13px;line-height:1.35;color:#101828}
.order-cart-copy small{font-size:11px;color:#667085}.order-cart-unit{font-size:11px;color:#475467}
.order-cart-custom{justify-self:start;font-size:10px;font-weight:600;padding:2px 7px;border-radius:20px;background:#eef4ff;color:#3538cd;border:1px solid #c7d7fe}
.order-cart-line{font-size:13px;color:#101828;white-space:nowrap}
.order-cart .form-actions{margin:0;justify-content:flex-end}
@media(max-width:520px){.order-cart-item{grid-template-columns:48px 1fr}.order-cart-line{grid-column:2}}
/* Call / WhatsApp contact count with a hover history */
.order-contact-log{position:relative;display:inline-flex;align-items:center;margin-left:6px;outline:none}
.order-contact-count{display:inline-flex;align-items:center;gap:2px;padding:2px 7px;border-radius:20px;background:#f2f4f7;border:1px solid #eaecf0;color:#344054;font-size:10px;font-weight:600;line-height:1.4;white-space:nowrap;cursor:default}
.order-contact-log:hover .order-contact-count,.order-contact-log:focus .order-contact-count{background:#eef4ff;border-color:#c7d7fe;color:#3538cd}
.order-contact-popover{position:absolute;z-index:40;left:0;top:calc(100% + 8px);min-width:230px;padding:10px 12px;background:#fff;border:1px solid #e4e7ec;border-radius:10px;box-shadow:0 12px 28px #26344b24;display:none;font-size:11px;color:#344054;text-align:left}
.order-contact-popover::before{content:"";position:absolute;top:-6px;left:14px;width:10px;height:10px;background:#fff;border-left:1px solid #e4e7ec;border-top:1px solid #e4e7ec;transform:rotate(45deg)}
.order-contact-log:hover .order-contact-popover,.order-contact-log:focus .order-contact-popover,.order-contact-log:focus-within .order-contact-popover{display:block}
.order-contact-popover b{display:block;margin-bottom:6px;font-size:11px;color:#101828}
.order-contact-popover ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.order-contact-popover li{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;white-space:nowrap}
.order-contact-popover time{color:#667085}.order-contact-popover small{display:block;margin-top:6px;color:#98a2b3}
.contact-log-channel{font-size:9px;font-weight:700;padding:1px 6px;border-radius:20px}
.contact-log-channel.call{background:#eff8ff;color:#175cd3}.contact-log-channel.whatsapp{background:#ecfdf3;color:#067647}
.order-contact-popover{position:fixed;left:auto;top:auto}
.order-contact-popover.opens-up::before{top:auto;bottom:-6px;transform:rotate(225deg)}
.customer-line-icon.order-contact-log{position:relative;margin-left:0;cursor:default;border-radius:6px}
.customer-line-icon.order-contact-log>svg{color:#3538cd}
.customer-line-icon.order-contact-log .order-contact-count{position:absolute;top:-7px;right:-8px;min-width:14px;height:14px;padding:0 3px;justify-content:center;border-radius:10px;background:#3538cd;border:1.5px solid #fff;color:#fff;font-size:8px;font-weight:700;line-height:11px}
.customer-line-icon.order-contact-log:hover .order-contact-count,.customer-line-icon.order-contact-log:focus .order-contact-count{background:#2d31a6;border-color:#fff;color:#fff}
.customer-line-icon.order-contact-log:focus-visible{outline:2px solid #84adff;outline-offset:2px}
/* Coupon Center */
.coupon-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}
.coupon-stats article{padding:14px 16px;border:1px solid #eaecf0;border-radius:12px;background:#fff}
.coupon-stats span{display:block;font-size:11px;color:#667085}.coupon-stats strong{display:block;margin-top:6px;font-size:18px;color:#101828}
.coupon-table td{vertical-align:middle}.coupon-table td small{display:block;margin-top:3px;font-size:10px;color:#667085}
.coupon-code-cell{font-size:13px;letter-spacing:.06em;color:#101828}
.coupon-dates{font-size:11px;line-height:1.35}.coupon-dates small:first-child{margin-top:0}
.coupon-state{display:inline-block;padding:3px 9px;border-radius:20px;font-size:10px;font-weight:600;border:1px solid #eaecf0;background:#f9fafb;color:#475467}
.coupon-state.success{background:#ecfdf3;border-color:#abefc6;color:#067647}.coupon-state.scheduled{background:#eff8ff;border-color:#b2ddff;color:#175cd3}
.coupon-state.expired{background:#fef3f2;border-color:#fecdca;color:#b42318}.coupon-state.off{background:#f2f4f7;color:#667085}
.coupon-bar-toggle{padding:5px 10px;border:1px solid #d0d5dd;border-radius:20px;background:#fff;color:#344054;font-size:10px;font-weight:600;cursor:pointer}
.coupon-bar-toggle.on{background:#17140f;border-color:#17140f;color:#f3d28c}
.coupon-actions{display:flex;flex-wrap:wrap;gap:6px}
.coupon-help{margin-top:12px}
.coupon-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px}
.coupon-form-grid label{display:grid;gap:5px;font-size:12px;font-weight:600;color:#344054}.coupon-form-grid small{font-weight:400;color:#667085}
.coupon-form-switches{display:flex;flex-wrap:wrap;gap:18px;margin:16px 0 4px;font-size:12px}
@media(max-width:760px){.coupon-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.coupon-form-grid{grid-template-columns:1fr}}
.courier-steadfast-reports strong.has-reports{color:#b42318}
.steadfast-report-list{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:10px;max-height:60vh;overflow:auto}
.steadfast-report-list li{padding:12px 14px;border:1px solid #fecdca;border-radius:10px;background:#fffbfa}
.steadfast-report-list header{display:flex;justify-content:space-between;gap:12px;font-size:12px}.steadfast-report-list time{color:#667085;font-size:11px}
.steadfast-report-list p{margin:6px 0 0;font-size:12px;line-height:1.5;color:#344054}
.courier-own-total:has(.courier-own-split:not([hidden])){flex-wrap:wrap;row-gap:2px}.courier-own-total .courier-own-split{flex-basis:100%;font-size:10px;color:#667085;text-align:right}

.steadfast-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0 0}
.steadfast-summary>div{padding:10px 12px;border:1px solid #eaecf0;border-radius:10px;background:#f9fafb}.steadfast-summary dt{font-size:10px;color:#667085}.steadfast-summary dd{margin:4px 0 0;font-size:15px;font-weight:700;color:#101828;text-transform:capitalize}
.steadfast-sub{margin:16px 0 6px;font-size:12px;color:#344054}
.steadfast-tags{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px}.steadfast-tags li{padding:4px 10px;border-radius:20px;background:#fef3f2;border:1px solid #fecdca;color:#b42318;font-size:11px;text-transform:capitalize}
.steadfast-reasons{margin:0;padding-left:18px;font-size:12px;line-height:1.6;color:#344054}
@media(max-width:600px){.steadfast-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Courier batch summary: entered and not entered counts. */
.steadfast-entry-summary{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 14px}.steadfast-entry-summary span{display:inline-flex;align-items:baseline;gap:5px;padding:7px 12px;border-radius:999px;font-size:13px;background:#f3f4f2;color:#4b5048}.steadfast-entry-summary strong{font-size:16px}.steadfast-entry-summary .in{background:#eaf7ef;color:#147245}.steadfast-entry-summary .cancelled{background:#fdecec;color:#b42318}.steadfast-entry-summary .review{background:#fff5e0;color:#8a5a00}

/* Simple product: one price and stock row, no variation tools. */
.is-simple-product .variant-bulk-editor,.is-simple-product #editor-stock-filters,.is-simple-product [data-select-editor-variant],.is-simple-product #select-all-editor-variants{display:none!important}

/* Where a website order came from. */
.ad-source-badge{display:inline-block;margin:4px 0 0 0;padding:2px 7px;border-radius:999px;font-size:11px;font-weight:700;line-height:16px;color:#fff;background:#64748b;white-space:nowrap}
.orders-created-actions .ad-source-badge{display:block;width:max-content}
.ad-source-facebook{background:#1877f2}.ad-source-instagram{background:#c13584}.ad-source-tiktok{background:#111}.ad-source-google{background:#188038}.ad-source-youtube{background:#d00}
.ad-source-logo{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;margin-right:5px;border-radius:50%;vertical-align:middle;background:#64748b;opacity:.45}
.ad-source-logo.is-paid{opacity:1}
.ad-source-logo svg{width:12px;height:12px}
.ad-source-logo.ad-source-instagram{background:radial-gradient(circle at 30% 107%,#fdf497 0,#fd5949 45%,#d6249f 60%,#285aeb 90%)}
.ad-source-logo.ad-source-facebook{background:#1877f2}.ad-source-logo.ad-source-tiktok{background:#111}.ad-source-logo.ad-source-google{background:#188038}.ad-source-logo.ad-source-youtube{background:#d00}
/* Logo and order number sit on one line, centred on each other. */
.order-number-line{display:inline-flex;align-items:center;gap:6px;line-height:1}
.order-number-line .ad-source-logo{margin-right:0;flex:none}
.order-number-line .order-number{display:inline-flex;align-items:center;line-height:1.2}
/* Warning before RTS when the same phone has another open order. */
.rts-duplicate-warning{margin:12px 0;padding:12px 14px;border:1px solid #f5c2c0;border-left:4px solid #e5484d;border-radius:10px;background:#fff5f5;color:#7f1d1d}.rts-duplicate-warning strong{display:block;font-size:13px}.rts-duplicate-warning p{margin:4px 0 8px;font-size:12px;color:#9b2c2c}.rts-duplicate-row{display:grid;gap:6px;margin-top:8px}.rts-duplicate-row>span{font-size:12px;font-weight:600}
/* Who else has an order open. */
.presence-tag{display:inline-flex;align-items:center;gap:5px;margin-top:5px;padding:2px 8px;border-radius:999px;background:#fff7d6;border:1px solid #f5d77a;color:#8a5a00;font-size:11px;font-weight:700;white-space:nowrap;width:max-content}.presence-tag i,.presence-banner i{width:7px;height:7px;border-radius:50%;background:#f59e0b;box-shadow:0 0 0 3px rgba(245,158,11,.25);animation:presence-pulse 1.6s infinite;flex:none}
.presence-banner{display:flex;align-items:center;gap:10px;margin:0 0 14px;padding:10px 14px;border:1px solid #f5d77a;border-left:4px solid #f59e0b;border-radius:10px;background:#fffbea;color:#7a4b00;font-size:13px}
@keyframes presence-pulse{50%{box-shadow:0 0 0 6px rgba(245,158,11,0)}}

/* Small card before calling a customer someone else just contacted. */
.contact-guard-dialog{width:min(340px,calc(100vw - 32px));padding:0;border:0;border-radius:18px;box-shadow:0 24px 60px rgba(15,23,42,.28);overflow:hidden}.contact-guard-dialog::backdrop{background:rgba(15,23,42,.35);backdrop-filter:blur(2px)}
.contact-guard{display:grid;justify-items:center;gap:6px;padding:22px 20px 18px;text-align:center}.contact-guard h3{margin:4px 0 0;font-size:17px;color:#0f172a}.contact-guard-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#fff4e5;color:#ea580c}.contact-guard-icon svg{width:22px;height:22px;fill:currentColor}
.contact-guard-who{margin:0;font-size:12px;color:#64748b}.contact-guard ul{list-style:none;width:100%;margin:8px 0 2px;padding:0;display:grid;gap:6px}.contact-guard li{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:12px;background:#f8fafc;text-align:left;font-size:13px;color:#334155}.contact-guard li small{display:block;color:#94a3b8;font-size:11px}
.contact-guard-avatar{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:50%;background:#e0e7ff;color:#3730a3;font-weight:700;font-size:13px}.contact-guard-hint{margin:2px 0 6px;font-size:12px;color:#64748b}
.contact-guard-actions{display:grid;grid-template-columns:1fr 1.3fr;gap:8px;width:100%}.contact-guard-actions .btn{min-height:42px;justify-content:center;border-radius:12px}.contact-guard-actions .btn.primary{display:flex;align-items:center;gap:7px;background:#16a34a;border-color:#16a34a;color:#fff}.contact-guard-actions .btn.primary svg{width:15px;height:15px;fill:currentColor}
.orders-created-actions .presence-tag{display:flex;margin-top:6px}
.order-sms-log{margin:12px 0 16px;border:1px solid #e4e7ec;border-radius:12px;background:#fbfcfd;padding:12px 14px}.order-sms-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:6px}.order-sms-head strong{font-size:14px}.order-sms-head span{font-size:12px;color:#667085}.order-sms-failed-count{color:#b42318}.order-sms-log ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}.order-sms-log li{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:start;padding-top:8px;border-top:1px solid #eef0f3}.order-sms-log li:first-child{border-top:0;padding-top:2px}.order-sms-log li strong{display:block;font-size:13px}.order-sms-log li small{display:block;font-size:11.5px;color:#667085;margin-top:2px}.order-sms-log .order-sms-reason{color:#b42318}.order-sms-log details{margin-top:4px;font-size:12px}.order-sms-log details p{margin:6px 0 0;white-space:pre-wrap;color:#344054;background:#fff;border:1px solid #eef0f3;border-radius:8px;padding:8px}.order-sms-state{display:inline-block;min-width:74px;text-align:center;font-size:11px;font-weight:700;border-radius:999px;padding:3px 8px}.order-sms-sent{background:#e9f8ee;color:#16a34a}.order-sms-failed{background:#fdecec;color:#b42318}.order-sms-skipped{background:#f0f1f3;color:#667085}.order-sms-unknown{background:#fef4e2;color:#b45309}.order-sms-waiting{background:#eef4ff;color:#2453b8}
.history-sms{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 6px;margin-top:6px;font-size:12px;color:#344054}.history-sms span{display:inline-grid;place-items:center;width:16px;height:16px;border-radius:50%;font-size:10px;font-weight:800;color:#fff;background:#98a2b3}.history-sms b{font-weight:600}.history-sms small{color:#667085;font-size:11.5px}.history-sms em{flex-basis:100%;font-style:normal;color:#b42318;font-size:11.5px;padding-left:22px}.history-sms-ok span{background:#16a34a}.history-sms-failed span{background:#dc2626}.history-sms-failed b{color:#b42318}.history-sms-unknown span{background:#d97706}.history-sms-waiting span{background:#2563eb}
/* The phone button made the left buttons wider: keep the shortcuts in the row (not centred on top of them). */
@media(min-width:1200px){body:not(.dashboard-view) .admin-header-shortcuts{position:static;left:auto;transform:none;margin:0 auto;flex:0 1 auto;min-width:0}}
/* Activity log: scope, period, flag chips, staff summary and day groups. */
.audit-controls{display:flex;flex-wrap:wrap;gap:12px;align-items:center;padding:12px 14px;margin-bottom:14px}.audit-segment,.audit-periods{display:flex;flex-wrap:wrap;gap:4px;background:var(--paper);border:1px solid var(--line);border-radius:9px;padding:3px}.audit-segment button,.audit-periods button{border:0;background:transparent;font:inherit;font-size:11px;padding:7px 12px;border-radius:7px;cursor:pointer;color:var(--muted);min-height:32px}.audit-segment button.active,.audit-periods button.active{background:#fff;color:var(--ink);font-weight:600;box-shadow:0 1px 2px rgba(16,24,40,.12)}.audit-dates{display:flex;gap:10px;flex-wrap:wrap}.audit-dates label{display:flex;align-items:center;gap:6px;margin:0;font-size:11px}.audit-dates input{margin:0;min-height:34px;font-size:11px;padding:6px 8px;width:auto}
.audit-tags{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 14px}.audit-chip{border:1px solid var(--line);background:#fff;border-radius:999px;font:inherit;font-size:11px;padding:6px 11px;cursor:pointer;color:var(--ink);min-height:32px}.audit-chip b{margin-left:4px;color:var(--muted)}.audit-chip.risk{border-color:#fecdca;background:#fffbfa}.audit-chip.risk b{color:var(--red)}.audit-chip.active{background:var(--ink);border-color:var(--ink);color:#fff}.audit-chip.active b{color:#fff}
.audit-section-title{font-size:12px;margin:0 0 8px;color:var(--muted);font-weight:600}.audit-staff{margin-bottom:16px}.audit-staff-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:8px}.audit-staff-card{display:grid;grid-template-columns:1fr auto;gap:4px 8px;text-align:left;border:1px solid var(--line);background:#fff;border-radius:9px;padding:10px 12px;font:inherit;cursor:pointer;color:var(--ink)}.audit-staff-card strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.audit-staff-card b{font-size:15px}.audit-staff-card small{grid-column:1/-1;font-size:10px;color:var(--muted);line-height:1.5}.audit-staff-card .good{color:#067647}.audit-staff-card .bad{color:var(--red)}.audit-staff-card.active{border-color:var(--olive);box-shadow:0 0 0 2px #dbeafe}
.audit-day td{background:var(--paper);font-size:11px;font-weight:600;color:var(--muted);padding:8px 12px}.audit-risky td:first-child{box-shadow:inset 3px 0 0 #f04438}.audit-summary{margin:0;padding:0;list-style:none;font-size:11px;line-height:1.6}.audit-summary li{overflow-wrap:anywhere}.audit-what{min-width:240px;white-space:normal}.audit-flags{display:flex;flex-wrap:wrap;gap:4px;margin:6px 0 2px}.audit-flag{font-size:10px;padding:2px 7px;border-radius:999px;background:#fef3f2;color:var(--red);border:1px solid #fecdca}.audit-what .audit-changes{margin-top:6px}
@media(max-width:600px){.audit-controls{padding:10px}.audit-segment,.audit-periods{width:100%}.audit-segment button,.audit-periods button{flex:1 1 auto;padding:7px 8px}.audit-staff-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.audit-what{min-width:200px}}
/* Activity log on phones: each record is a card, so "What happened" is never cut off. */
@media(max-width:600px){#audit-log-results>.table-wrap{overflow:visible;border:0}#audit-log-results>.table-wrap>table,#audit-log-results>.table-wrap>table>tbody{display:block;width:100%;min-width:0}#audit-log-results>.table-wrap>table>thead{display:none}#audit-log-results>.table-wrap>table>tbody>tr{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px 12px;padding:12px 14px;border-bottom:1px solid var(--line)}#audit-log-results>.table-wrap>table>tbody>tr>td{padding:0;border:0;min-width:0;white-space:normal}#audit-log-results>.table-wrap>table>tbody>tr>td:nth-child(n+3){grid-column:1/-1}#audit-log-results>.table-wrap>table>tbody>tr.audit-day{display:block;padding:8px 14px;background:var(--paper)}#audit-log-results>.table-wrap>table>tbody>tr.audit-day td{background:none;padding:0}#audit-log-results .audit-risky{box-shadow:inset 3px 0 0 #f04438}#audit-log-results .audit-risky td:first-child{box-shadow:none}.audit-what{min-width:0}.audit-changes .table-wrap{max-width:100%;overflow-x:auto}}
/* The header shortcut bar stays inside narrow screens (it was 13 px too wide at 360 px). */
@media(max-width:600px){.admin-header-shortcuts{max-width:100%;min-width:0;box-sizing:border-box;overflow-x:auto;scrollbar-width:none}.admin-header-shortcuts::-webkit-scrollbar{display:none}.admin-header-shortcuts .header-shortcut{flex:0 1 auto;min-width:0;white-space:nowrap}.admin-header-shortcuts .header-shortcut svg{flex-shrink:0}}

/* Sign-in: password toggle, Caps Lock warning, and the previous sign-in notice. */
.password-field{position:relative;display:block}.password-field input{padding-right:44px}.password-toggle{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:36px;height:36px;display:grid;place-items:center;border:0;background:transparent;color:var(--muted);border-radius:8px;cursor:pointer}.password-toggle:hover{background:var(--paper);color:var(--ink)}.password-toggle .eye-closed,.password-toggle[aria-pressed="true"] .eye-open{display:none}.password-toggle[aria-pressed="true"] .eye-closed{display:block}
.auth-caps{margin:-6px 0 10px;font-size:11px;color:#b54708;background:#fffaeb;border:1px solid #fedf89;border-radius:7px;padding:6px 9px}
.last-signin{position:fixed;right:16px;bottom:16px;z-index:60;display:flex;gap:10px;align-items:flex-start;max-width:min(360px,calc(100vw - 32px));background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 12px 12px 14px;box-shadow:0 12px 30px #1018281f;font-size:12px}.last-signin div{display:grid;gap:3px}.last-signin strong{font-size:12px}.last-signin span{color:var(--ink)}.last-signin small{color:var(--muted);font-size:10px}.last-signin button{border:0;background:transparent;font-size:18px;line-height:1;color:var(--muted);cursor:pointer;padding:2px 4px}

/* Loading screen (first paint until the dashboard is ready) and the slim top bar for the user's own actions. */
.boot-screen{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:25px;background:var(--paper) radial-gradient(ellipse at top right,#dde2d1,transparent 65%);transition:opacity .25s}.boot-screen[hidden]{display:none}.boot-screen.leaving{opacity:0;pointer-events:none}
.boot-card{width:min(340px,100%);text-align:center}/* superseded below */.boot-logo{display:block;width:150px;height:auto;margin:0 auto 28px}
.boot-track{height:6px;background:#e4e7ec;border-radius:999px;overflow:hidden}#boot-bar{display:block;height:100%;width:4%;border-radius:999px;background:linear-gradient(90deg,#111827,#2563eb);transition:width .35s ease;animation:boot-start 8s cubic-bezier(.1,.7,.2,1) forwards}@keyframes boot-start{from{width:4%}to{width:30%}}
.boot-line{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:12px 0 0;font-size:12px;color:var(--muted);text-align:left;white-space:nowrap}.boot-line span{min-width:0;overflow:hidden;text-overflow:ellipsis}.boot-line b{color:var(--ink);font-variant-numeric:tabular-nums}
.boot-hint{font-size:11px;color:#b54708;margin:10px 0 0;text-align:left;overflow-wrap:anywhere}.boot-screen.failed #boot-bar{background:var(--red)}.boot-screen.failed .boot-hint{color:var(--red)}#boot-retry{margin-top:16px}
.top-progress{position:fixed;left:0;top:0;right:0;height:3px;z-index:120;pointer-events:none;opacity:0}.top-progress span{display:block;height:100%;width:0;background:linear-gradient(90deg,#2563eb,#60a5fa);border-radius:0 3px 3px 0;box-shadow:0 0 8px #2563eb66}
.top-progress.active{opacity:1}.top-progress.active span{width:88%;transition:width 8s cubic-bezier(.05,.7,.1,1)}.top-progress.done{opacity:0;transition:opacity .25s .2s}.top-progress.done span{width:100%;transition:width .2s}
@media(prefers-reduced-motion:reduce){#boot-bar{animation:none;transition:none}.top-progress.active span{transition:none}}

/* Premium loading: frosted glass card over a soft, blurred outline of the admin. */
.boot-screen{overflow:hidden;background:#eef0f3}
.boot-ghost{position:absolute;inset:-24px;display:grid;grid-template-columns:240px 1fr;gap:24px;padding:24px;filter:blur(7px) saturate(115%);opacity:.9;pointer-events:none}
.boot-ghost i{display:block;border-radius:12px;background:#fff}
.ghost-side{display:flex;flex-direction:column;gap:14px;padding:22px 18px;background:#fff;border-radius:18px}.ghost-side i{height:14px;background:#e6e9ee;border-radius:7px}.ghost-side .ghost-logo{height:26px;width:60%;background:#cfd4dc;margin-bottom:18px}
.ghost-main{display:flex;flex-direction:column;gap:20px;min-width:0}
.ghost-head{display:flex;gap:12px;justify-content:flex-end}.ghost-head i{height:44px;width:140px;background:#fff}.ghost-head i:first-child{margin-right:auto;width:300px}
.ghost-title{display:grid;gap:10px}.ghost-title i{height:30px;width:42%;background:#d7dbe2}.ghost-title i+i{height:14px;width:58%;background:#e1e4ea}
.ghost-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.ghost-cards i{height:130px;background:linear-gradient(135deg,#fff,#f1f4ff)}.ghost-cards i:nth-child(2){background:linear-gradient(135deg,#fff,#ecfbf3)}.ghost-cards i:nth-child(3){background:linear-gradient(135deg,#fff,#fff6e8)}.ghost-cards i:nth-child(4){background:linear-gradient(135deg,#fff,#f6efff)}
.ghost-table{display:grid;gap:10px;padding:18px;background:#fff;border-radius:18px}.ghost-table i{height:16px;background:#eceff3;border-radius:8px}.ghost-table i:nth-child(odd){width:92%}
.boot-screen::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 25% 20%,#2563eb22,transparent 45%),radial-gradient(circle at 80% 85%,#84a35a26,transparent 50%),#f6f7f966;pointer-events:none}
.boot-card{position:relative;z-index:1;width:min(360px,100%);padding:30px 28px 26px;text-align:center;background:linear-gradient(145deg,#ffffffb8,#ffffff80);border:1px solid #ffffffd0;border-radius:22px;box-shadow:0 1px 0 #ffffff inset,0 24px 60px #1018281f,0 2px 8px #1018280d;-webkit-backdrop-filter:blur(22px) saturate(170%);backdrop-filter:blur(22px) saturate(170%)}
.boot-card .boot-logo{margin-bottom:24px}.boot-track{background:#1118270f;box-shadow:0 1px 0 #ffffffb0}
#boot-bar{position:relative;overflow:hidden}#boot-bar::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,#ffffff8c,transparent);transform:translateX(-100%);animation:boot-shine 1.6s ease-in-out infinite}@keyframes boot-shine{to{transform:translateX(100%)}}
@media(max-width:700px){.boot-ghost{grid-template-columns:1fr}.ghost-side{display:none}.ghost-cards{grid-template-columns:repeat(2,1fr)}.ghost-head i:first-child{width:46%}.boot-card{padding:26px 22px 22px}}
/* A slow action: the page softens behind a small glass pill. */
#admin-content,.admin-header,.admin-sidebar{transition:filter .25s ease,opacity .25s ease}

.wait-pill{position:fixed;left:50%;top:50%;z-index:110;display:flex;align-items:center;gap:10px;transform:translate(-50%,-50%);padding:12px 18px;border-radius:999px;font-size:13px;font-weight:600;color:var(--ink);background:linear-gradient(145deg,#ffffffc4,#ffffff8f);border:1px solid #ffffffd9;box-shadow:0 18px 44px #10182824,0 1px 0 #fff inset;-webkit-backdrop-filter:blur(18px) saturate(170%);backdrop-filter:blur(18px) saturate(170%);animation:wait-in .2s ease}.wait-pill[hidden]{display:none}
@keyframes wait-in{from{opacity:0;transform:translate(-50%,-46%)}}
.wait-spinner{width:16px;height:16px;border-radius:50%;border:2px solid #2563eb33;border-top-color:#2563eb;animation:wait-spin .8s linear infinite}@keyframes wait-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){#boot-bar::after,.wait-spinner,.wait-pill{animation:none}body.is-waiting #admin-content{filter:none}}

/* Orders toolbar: Courier sync button with live progress. */
.orders-courier-sync{display:flex;align-items:center;gap:7px;border:1px solid #bfdbfe;border-radius:7px;background:#eff6ff;color:#1d4ed8;font-size:11px;font-weight:600;min-height:34px;padding:7px 11px;cursor:pointer;white-space:nowrap}.orders-courier-sync:hover{background:#dbeafe}.orders-courier-sync:disabled{cursor:progress;opacity:.85}
.courier-sync-spin{width:12px;height:12px;border-radius:50%;border:2px solid #93c5fd;border-top-color:#1d4ed8;animation:wait-spin .8s linear infinite;display:inline-block}

/* Orders list: the number is text (one click selects it for copying); the call button calls. */
.order-phone-text{user-select:all;cursor:text;color:inherit}
/* Phones: Orders toolbar as search, then one row (Actions, Courier sync, filters, sort), then the count. */
@media(max-width:650px){
.orders-inline-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.orders-inline-controls>.toolbar{order:1;flex:1 1 100%;margin:0}
.orders-inline-controls #order-bulk-action-host{order:2;margin:0;flex:0 0 auto}
.orders-inline-controls .orders-meta-actions{order:3;flex:1 1 0;min-width:0;margin:0;display:flex;flex-wrap:nowrap;align-items:center;gap:8px;overflow-x:auto;scrollbar-width:none;justify-content:flex-start}
.orders-inline-controls .orders-meta-actions::-webkit-scrollbar{display:none}
.orders-inline-controls .orders-meta-actions>*{flex:0 0 auto}
.orders-inline-controls .orders-meta-actions label{font-size:0;gap:0;margin-left:auto}
.orders-inline-controls .orders-meta-actions label select{font-size:11px;min-height:34px;padding:6px 26px 6px 10px}
.orders-inline-controls .orders-list-meta>span{order:4;flex:1 1 100%;margin-top:2px}
.orders-courier-sync{padding:7px 10px}
.admin-header-shortcuts{flex-wrap:nowrap;justify-content:flex-start}
.admin-header-shortcuts .header-shortcut{padding-left:9px;padding-right:9px;font-size:12px;gap:6px}
}
/* Phones: header shortcuts stay on one line on every page (Orders and POS used to wrap "Task" to a second row). */
@media(max-width:650px){body:has(.orders-rich-panel,.order-workspace-grid,.pos-layout) .admin-header-shortcuts,.admin-header-shortcuts{flex-wrap:nowrap;justify-content:flex-start;row-gap:0}}
@media(max-width:380px){.admin-header-shortcuts .header-shortcut{padding-left:7px;padding-right:7px;font-size:11px;gap:5px}}

/* Courier sync is an icon button; while running it shows the spinner and done/total. */
.orders-courier-sync{min-width:34px;justify-content:center;padding:7px 9px}.orders-courier-sync svg{width:15px;height:15px}

/* Scan history: day / action / staff filters, summary cards, rows grouped by day. */
.scan-hist{display:grid;gap:16px}
.scan-hist-filters{display:grid;gap:10px;position:sticky;top:-1px;z-index:2;background:#fff;padding:4px 0 10px;border-bottom:1px solid #eef0f3}
.scan-hist-chips{display:flex;flex-wrap:wrap;gap:6px}
.scan-hist-chips button{border:1px solid #e4e7ec;background:#fff;border-radius:999px;padding:6px 12px;font:inherit;font-size:13px;color:#475467;cursor:pointer}
.scan-hist-chips button[aria-pressed="true"]{background:#1f2328;border-color:#1f2328;color:#fff;font-weight:600}
.scan-hist-tools{display:flex;gap:8px;flex-wrap:wrap}
.scan-hist-tools select,.scan-hist-tools input{min-height:38px;border:1px solid #d0d5dd;border-radius:9px;padding:0 10px;font:inherit;font-size:14px;background:#fff}
.scan-hist-tools input{flex:1;min-width:180px}
.scan-hist-tools select{width:auto;flex:0 1 220px;min-width:140px}
.scan-hist-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.scan-hist-card{border:1px solid #eaecf0;border-radius:12px;padding:10px 12px;background:#fcfcfd;display:grid;gap:2px}
.scan-hist-card span{font-size:12px;color:#667085}
.scan-hist-card strong{font-size:22px;line-height:1.1;color:#101828}
.scan-hist-card.is-rts strong{color:#6d28d9}.scan-hist-card.is-shipping strong{color:#1d4ed8}.scan-hist-card.is-return strong{color:#a21caf}
.scan-hist-card.is-waiting{background:#fffbeb;border-color:#fde68a}.scan-hist-card.is-waiting strong{color:#b45309}
.scan-hist-staffline{margin:0;font-size:13px;color:#667085}
.scan-hist-day h4{margin:4px 0 6px;font-size:13px;text-transform:uppercase;letter-spacing:.04em;color:#344054;display:flex;gap:8px;align-items:baseline}
.scan-hist-day h4 span{font-weight:500;text-transform:none;letter-spacing:0;color:#98a2b3}
.scan-hist-day ul{list-style:none;margin:0;padding:0;border:1px solid #eaecf0;border-radius:12px;overflow:hidden}
.scan-hist-row{display:grid;grid-template-columns:72px 82px minmax(0,1fr) 120px 110px;gap:10px;align-items:center;padding:9px 12px;border-top:1px solid #f2f4f7;font-size:13px}
.scan-hist-row:first-child{border-top:0}
.scan-hist-row:hover{background:#f9fafb}
.scan-hist-time{color:#667085;font-variant-numeric:tabular-nums}
.scan-hist-action{justify-self:start;border-radius:6px;padding:2px 8px;font-size:12px;font-weight:600}
.scan-hist-action.is-rts{background:#f3e8ff;color:#6d28d9}.scan-hist-action.is-shipping{background:#dbeafe;color:#1d4ed8}.scan-hist-action.is-return{background:#fae8ff;color:#a21caf}
.scan-hist-parcel{display:grid;gap:1px;min-width:0}
.scan-hist-parcel .text-button{font-weight:700;padding:0}
.scan-hist-parcel small{color:#667085;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.scan-hist-repeat{font-size:11px;font-weight:700;color:#b45309;background:#fef3c7;border-radius:5px;padding:0 5px}
.scan-hist-staff{color:#475467;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.scan-hist-session{border:1px solid #eaecf0;border-radius:12px;padding:10px 12px}
.scan-hist-session summary{cursor:pointer;font-weight:600}
.scan-hist-session summary b{color:#b42318}
.scan-hist-session td small{display:block;color:#667085}
@media (max-width:720px){
  .scan-hist-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
  .scan-hist-row{grid-template-columns:64px minmax(0,1fr) auto;grid-template-areas:"time parcel now" "action parcel staff"}
  .scan-hist-time{grid-area:time}.scan-hist-action{grid-area:action}.scan-hist-parcel{grid-area:parcel}.scan-hist-now{grid-area:now;justify-self:end}.scan-hist-staff{grid-area:staff;justify-self:end;font-size:12px}
}
/* Orders list: Steadfast tracking code under the Consignment ID. */
.order-courier-tracking{display:block;margin:2px 0 3px;padding:0;border:0;background:none;font:inherit;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;color:#475467;letter-spacing:.02em;word-break:break-all;text-align:left;cursor:copy}
.order-courier-tracking:hover{color:#1d4ed8;text-decoration:underline}
/* Duplicate alerts: when / who / courier line under each order. */
.duplicate-order-links{max-height:300px}
.duplicate-order-links>a .duplicate-order-story{order:5;flex-basis:100%;font-size:11px;line-height:1.5;color:#475467}
.duplicate-order-story b{font-weight:600;color:#1f2937}
.duplicate-order-story .duplicate-order-booked{color:#b42318}
.rts-duplicate-warning .rts-duplicate-courier{margin:8px 0 0;padding:8px 10px;border-radius:8px;background:#fef2f2;border:1px solid #fecaca;color:#7f1d1d;font-size:12px}
/* Steadfast entry: same-phone orders are held until "Send anyway" is ticked. */
.steadfast-duplicate{margin:8px 0;padding:10px 12px;border:2px solid #fca5a5;background:#fef2f2;border-radius:10px;color:#7f1d1d;display:grid;gap:6px;font-size:12px}
.steadfast-duplicate>strong{font-size:13px}
.steadfast-duplicate>p{margin:0}
.steadfast-duplicate-row{display:flex;flex-wrap:wrap;gap:6px;align-items:center;background:#fff;border:1px solid #fecaca;border-radius:7px;padding:6px 8px}
.steadfast-duplicate-row small{color:#667085;flex-basis:100%}
.steadfast-duplicate-tag{font-size:11px;font-weight:600;color:#b45309;background:#fef3c7;border-radius:5px;padding:1px 6px}
.steadfast-duplicate-booked{font-size:11px;font-weight:600;color:#b42318}
.steadfast-duplicate-allow{display:flex;gap:8px;align-items:center;font-weight:600;cursor:pointer}
.steadfast-duplicate-held{color:#b42318}
/* Inventory variations grouped by size: a header row per size, then its colours. */
.inventory-variations-panel tr.inventory-size-group>td{background:#f3f5ef!important;padding:9px 18px!important;border-top:1px solid #e4e7ec;font-size:12px}.inventory-size-group strong{font-size:13px;letter-spacing:.02em;margin-right:10px}.inventory-size-group span{color:var(--muted);font-size:10.5px}
.inventory-variations-panel tr.inventory-size-item>td:first-child{padding-left:36px}.inventory-size-item td:first-child small{display:block;color:var(--muted);font-size:10px;margin-top:2px}

/* Order actions: first four actions as a 2x2 tile grid with coloured icon badges. */
.single-order-actions-menu{width:min(270px,calc(100vw - 24px))}
.single-order-menu-tiles{display:grid;grid-template-columns:1fr 1fr;grid-auto-rows:1fr;gap:6px;padding-bottom:8px;margin-bottom:4px;border-bottom:1px solid #eef0f3}
.single-order-menu-item.is-tile{flex-direction:column;justify-content:center;align-items:center;gap:4px;margin:0;min-height:58px;padding:7px 4px;border:1px solid #e4e7ec;border-radius:9px;background:#fff;text-align:center;font-size:11px;font-weight:600;color:#1d2939;box-shadow:none}
.single-order-menu-item.is-tile:not(:disabled):hover,.single-order-menu-item.is-tile:focus-visible{background:#f8faff;border-color:#bfd3fe;color:#1d2939;box-shadow:0 4px 12px #1d4ed814}
.single-order-tile-icon{display:grid;place-items:center;width:26px;height:26px;border-radius:7px;background:#f2f4f7;color:#475467}
.single-order-menu-item.is-tile .single-order-tile-icon svg{width:15px;height:15px;stroke-width:1.8}
.single-order-menu-item.tile-details .single-order-tile-icon{background:#e8f0ff;color:#2563eb}
.single-order-menu-item.tile-sticker .single-order-tile-icon{background:#f1ebff;color:#6d28d9}
.single-order-menu-item.is-tile:disabled{color:#475467;background:#fff}
.single-order-menu-item.is-tile{position:relative}.single-order-menu-item.is-tile small{position:absolute;top:4px;right:4px;margin:0;font-size:7px;padding:1px 4px;border-radius:4px}
