.cw-heading,.cw-profile{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.cw-heading h1{margin:8px 0;font-size:27px}.cw-heading p,.cw-profile p{color:#7c737b;margin:8px 0}.cw-eyebrow{font-size:12px;color:#917680;letter-spacing:1px}.cw-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.cw-toolbar{display:flex;align-items:end;gap:12px;margin-bottom:18px}.cw-toolbar label{display:grid;gap:7px;font-size:13px}.cw-toolbar input{min-width:260px}.cw-sub{display:block;color:#817983;font-size:12px;margin-top:7px}.cw-amber{color:#a36c29}.cw-footnote{color:#857e85;font-size:12px;line-height:1.8;margin:18px 0}.cw-customer-strip{display:flex;gap:12px;overflow-x:auto;margin-bottom:24px;padding-bottom:8px}.cw-customer-strip button{text-align:left;min-width:205px;padding:18px;border:1px solid #e5dce2;background:#fff}.cw-customer-strip small{display:block;margin-top:10px;color:#857b85}.cw-profile{padding:24px;background:#faf6f8;border:1px solid #e8dfe5;border-radius:12px;margin-top:20px}.cw-profile h2{margin:7px 0}.cw-tabs{display:flex;border-bottom:1px solid #e4dde2;gap:16px;margin:20px 0}.cw-tabs button{border:0;background:none;border-radius:0;padding:14px}.cw-tabs .active{color:#805b70;border-bottom:3px solid #99798d}.cw-info{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:20px 0}.cw-info section{padding:16px;background:#faf8fa;border-radius:8px}.cw-info h3{font-size:14px;margin:0 0 8px}.cw-info p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;margin:0}.cw-picker{margin:20px 0}.cw-picker input{min-width:260px}.cw-pick-row{display:flex;gap:15px;padding:14px;border-bottom:1px solid #e7e1e6}.cw-line{border:1px solid #e3dbe1;background:#fff;border-radius:10px;padding:18px;margin:14px 0}.cw-line-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.cw-line-title button{color:#a26066}.cw-line-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}.cw-line label{display:grid;gap:6px;font-size:13px}.cw-line-photo{margin-top:12px}.cw-line-photo .s-upload{padding:10px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.cw-line-photo .s-photo{width:64px;height:74px;object-fit:contain}.cw-line-photo .s-hint{font-size:12px}.cw-total{background:#f7eef3;color:#73556a;padding:15px;margin:16px 0;border-radius:8px}.cw-output-tools{display:flex;gap:10px;align-items:end;flex-wrap:wrap;padding:15px 0}.cw-output-tools label{display:grid;gap:7px}.cw-print-pages{background:#eee9ed;padding:20px}.cw-print-page{max-width:850px;margin:0 auto 20px;background:white}.cw-print-page img{display:block;width:100%}.cw-text-box textarea{width:100%;height:240px;margin-top:12px}.cw-text-box{margin-bottom:14px}#cw-output-error{color:#a24e5b}.sales-editor:has(.cw-line){max-width:1100px;width:94vw}#output:has(.cw-print-pages){max-width:1100px;width:94vw}.cw-line input,.cw-line textarea{width:100%;min-width:0}.cw-line textarea{min-height:65px}.cw-info,.cw-line{overflow-wrap:anywhere}@media(max-width:800px){.cw-heading,.cw-profile{align-items:flex-start;flex-direction:column}.cw-line-grid{grid-template-columns:1fr 1fr}.cw-info{grid-template-columns:1fr}.cw-toolbar{flex-wrap:wrap}.cw-toolbar input{min-width:180px}.cw-picker input{min-width:150px}}
@media print{body.cw-printing>*{display:none!important}body.cw-printing #output{display:block!important;position:static!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;overflow:visible!important;border:0!important;padding:0!important;margin:0!important}body.cw-printing #output>*:not(.cw-print-pages){display:none!important}body.cw-printing .cw-print-pages{padding:0;background:white}body.cw-printing .cw-print-page{width:100%;margin:0;break-after:page;page-break-after:always}body.cw-printing .cw-print-page:last-child{break-after:auto;page-break-after:auto}body.cw-printing .cw-print-page img{max-height:273mm;width:auto;max-width:186mm;margin:auto}@page{size:A4;margin:12mm}}
.cw-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:0 0 22px}.cw-metrics section{border:1px solid #e5dce2;padding:17px 22px;border-radius:12px;background:#fff}.cw-metrics small{display:block;color:#7b7180}.cw-metrics strong{display:block;font-size:28px;margin-top:6px;color:#584564}.cw-alert{display:inline-block;color:#a43721;background:#fff0e9;border:1px solid #f2cfb6;border-radius:5px;font-size:12px;padding:3px 7px;margin:5px 4px 0 0}#output[data-cw-kind=internal]>.dialog-head{background:#fff0df;border-bottom:3px solid #b45217;color:#a4440c;padding:16px;border-radius:10px}#output[data-cw-kind=customer]>.dialog-head{background:#eaf3fe;border-bottom:3px solid #2469a6;color:#15578e;padding:16px;border-radius:10px}#output[data-cw-kind=internal] #cw-output-kind{color:#a4440c;font-weight:700;border:2px solid #d89b65}#output[data-cw-kind=customer] #cw-output-kind{color:#15578e;font-weight:700;border:2px solid #85b1db}.home-entries{grid-template-columns:repeat(2,minmax(0,1fr))}.home-entry.keywork{border-top:4px solid #8b647f}@media(max-width:700px){.home-entries{grid-template-columns:1fr}.cw-metrics{gap:6px}.cw-metrics section{padding:12px}}
.cw-export-label{display:inline-block;background:#eef0fc;color:#574791;font-size:12px;padding:3px 7px;border-radius:4px;margin:4px}#cw-source-image .s-photo{width:180px;height:100px;object-fit:contain}

.cw-order-customer{display:block;font-size:18px;color:#2e4f68;margin:9px 0 4px}.cw-customer-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));max-height:280px;overflow:auto}.cw-customer-strip button{min-width:0;border-left:5px solid #406982}.cw-customer-strip strong{font-size:23px;color:#254e6b}.cw-client-switch{display:flex;align-items:center;gap:16px;font-weight:600;margin:0 0 22px}.cw-client-switch select{min-width:260px;max-width:100%;font-size:17px}.cw-profile h2{font-size:34px;color:#254e6b}.cw-profile{border-left:6px solid #406982}.cw-customer-group{margin:28px 0 36px;border:1px solid #dce3e9;border-radius:12px;overflow:hidden}.cw-customer-group>header{display:flex;align-items:center;justify-content:space-between;padding:22px 24px;background:#edf3f7;border-bottom:1px solid #dce3e9}.cw-customer-group h2{font-size:29px;color:#254e6b;margin:5px 0}.cw-customer-group header span,.cw-customer-group header small{display:block;color:#6d7d89;font-size:13px;margin:6px 0}.cw-customer-group .table-wrap{margin:0}.cw-line-match{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:13px;color:#276285;margin:12px 0}.cw-page-label{padding:10px;text-align:center;font-size:13px;color:#626876;background:#f3f4f6}.cw-print-page{margin-bottom:32px}.cw-print-pages{padding:16px}.cw-print-page:has(img){max-width:1000px}@media print{.cw-page-label{display:none!important}.cw-print-page{break-inside:avoid}}
@media print{body.cw-printing .cw-print-page{break-inside:avoid;overflow:hidden}}
/* Contrast and interaction rules shared across the existing workspace. */
.login .login-brand{background:#174e47!important;color:#fff!important}.login .login-brand h1,.login .login-brand h2,.login .login-brand p,.login .login-brand a{color:#fff!important;opacity:1!important}.login .login-brand p{line-height:1.8}.login-panel label{color:#173f59;font-weight:650}
.shell .main{color:#243340}.s-hint,.cw-footnote,.cw-sub,.cw-heading p,.cw-profile p{color:#525e6b}.cw-eyebrow{color:#4d5968}.s-formgrid>label,.form-grid>label,.cw-line label,.cw-toolbar label,.cw-output-tools label{color:#174f70;font-weight:650}.s-section>summary{color:#174f70;background:#edf4f9;border-left:4px solid #2d6387;padding:12px;border-radius:5px}.s-formgrid input,.s-formgrid textarea,.s-formgrid select,.cw-line input,.cw-line textarea{color:#182d3d;background:#fff;border-color:#9eaebc;font-weight:400}.s-formgrid input:focus,.s-formgrid textarea:focus,.cw-line input:focus,.cw-line textarea:focus,select:focus{outline:3px solid #90bbd9;outline-offset:1px;border-color:#245f85}
.shell button:hover,.shell a:hover,dialog button:hover{background:#d5e7f4;color:#123e5d;border-color:#426e8e}.shell .nav button.active,.shell .nav button[aria-selected=true],.cw-tabs button.active,.detail-tabs button[aria-selected=true]{background:#245777!important;color:white!important;border-color:#245777!important;font-weight:700}.shell .nav button:focus-visible,button:focus-visible{outline:3px solid #628fab;outline-offset:2px}.shell button.primary,dialog button.primary{background:#245777;color:white}.shell button.primary:hover,dialog button.primary:hover{background:#143c57;color:white}
.cw-client-switch{flex-direction:row;text-align:left;justify-content:flex-start;align-items:center;max-width:540px;padding:12px 16px;border:1px solid #b6c9d8;border-radius:8px;background:#eef5fa;margin:0 0 18px}.cw-client-switch select{min-width:260px;color:#164663;background:white;border-color:#91a9bb}.cw-client-switch+ .cw-customer-strip{margin-bottom:18px}
.cw-line{border:2px solid #94b2ca;border-left:7px solid #2e6b93;background:#f5f9fd;margin:24px 0;padding:18px}.cw-line:nth-child(even){border-color:#adbad4;border-left-color:#60558e;background:#f7f5fc}.cw-line-title{padding:11px 14px;margin:-18px -18px 16px;background:#dcebf7;border-bottom:1px solid #94b2ca;color:#153d5a}.cw-line:nth-child(even) .cw-line-title{background:#e7e2f3;color:#433b6a}.cw-line-title strong{font-size:20px}.cw-line-photo{margin:0 0 16px;border-bottom:1px solid #c6d3df;padding-bottom:10px}.cw-line-photo .s-photo{width:125px;height:145px;object-fit:contain;background:white}.cw-line-match,.cw-selected-note{color:#14513b;background:#e6f3ed;border:1px solid #7faa97;border-radius:6px;padding:10px}.cw-selected-note{font-weight:650}.cw-line-match:empty{display:none}.cw-line-match button{background:white;color:#174f70}
.cw-metrics>button{display:block;text-align:left;border:2px solid #bbccd9;background:white;padding:18px 22px;border-radius:10px}.cw-metrics>button small{display:block;color:#435768;font-size:14px}.cw-metrics>button strong{display:block;font-size:30px;color:#234e6b;margin:7px 0}.cw-metrics>button span{font-size:12px;color:#365e7b}.cw-metrics>button.selected{background:#e2eff9;border-color:#245777}.cw-envelope{vertical-align:middle;border:1px solid #8eabbf;border-radius:5px;font-size:12px;color:#245777;background:#edf4f8;margin:4px 6px;padding:5px 8px}.cw-envelope.unread{background:#a54123;color:#fff;border-color:#a54123;font-weight:700}.cw-envelope.unread:hover{background:#7d2a13;color:white}.cw-customer-logo{width:60px;height:48px;object-fit:contain;vertical-align:middle;margin-right:12px;background:#fff;border:1px solid #d4dde4;border-radius:5px}.cw-logo-editor{padding:15px;border:1px solid #b5c8d6;background:#f3f8fc;margin:16px 0}.cw-logo-editor h3{color:#174f70}.cw-portrait-label{padding:10px;color:#245777;background:#edf5fa;font-weight:700;border-radius:5px}
@media(max-width:700px){.cw-client-switch{display:grid;max-width:100%}.cw-client-switch select{min-width:0;width:100%}.cw-metrics>button{padding:12px}.cw-customer-logo{width:42px;height:36px}}
.cw-service-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:16px 0}.cw-service-heading h3{color:#174f70;margin:0 0 8px}.cw-service-heading p{font-size:13px;color:#485d6b;line-height:1.8;margin:0}.cs-note{white-space:pre-wrap;overflow-wrap:anywhere;max-width:340px;line-height:1.7}.cs-low{color:#994400;background:#fff0cf;padding:7px 10px;border-radius:6px}.cs-ok{color:#146340;background:#e3f5ec;padding:7px 10px;border-radius:6px}.cs-balance{font-size:20px;font-weight:700;margin:18px 0}.cw-tabs{flex-wrap:wrap}.cw-service-heading+ .table-wrap img{width:80px;height:90px;object-fit:contain;display:block;margin-bottom:8px}
.cs-feedback-upload,.cs-change-upload{grid-column:1/-1;padding:16px;border:2px solid #87b4d8;border-radius:9px;background:#eff7ff}.cs-change-upload{border-color:#a291c9;background:#f6f2fc}.cs-feedback-upload h3{color:#155fa4}.cs-change-upload h3{color:#743db0}.cs-gallery{display:flex;flex-wrap:wrap;gap:12px;margin:10px 0}.cs-gallery img,.cw-service-heading+.table-wrap .cs-gallery img{width:120px;height:130px;object-fit:contain;background:white}.cs-gallery>div{display:grid;gap:5px}.cs-status,.cs-due{display:inline-block;font-weight:750;padding:7px 10px;border-radius:6px;margin:3px 3px 5px 0;font-size:14px}.cs-status-requested,.cs-status-preparing{color:#925000;background:#fff0ce;border:1px solid #d8a64c}.cs-status-sent{color:#155fa4;background:#e4f2ff;border:1px solid #70a9d7}.cs-status-revising{color:#743db0;background:#efe6fb;border:1px solid #ac85d3}.cs-status-adopted{color:#11653b;background:#d9f4e5;border:1px solid #62aa84}.cs-status-rejected,.cs-due{color:#fff;background:#a83b26;border:1px solid #a83b26}.cs-status-closed{color:#425363;background:#e6edf2;border:1px solid #99a9b5}.cs-kind{padding:4px 6px;display:inline-block}.cs-kind-receive{color:#16613d}.cs-kind-use{color:#155fa4}.cs-kind-return{color:#743db0}.cs-kind-loss{color:#b44716}.cs-kind-void{color:#626976}.cs-remaining{color:#155878;font-size:14px;background:#eaf5fc;padding:7px;border-radius:5px}
.ca-money{display:grid;gap:7px;font-size:14px;min-width:145px}.ca-paid{color:#13663d!important;background:#e1f3e9;padding:6px 9px;border-radius:5px}.ca-unpaid{color:#aa351b!important;background:#fff0e9;padding:6px 9px;border-radius:5px}.ca-waived{color:#743bad;background:#f1e9fb;padding:5px 9px;border-radius:5px}.ca-order-summary{font-size:12px;min-width:150px;border-left:3px solid #4985a8;padding-left:9px}.ca-select-all{display:flex;flex-direction:row;gap:9px;align-items:center;justify-content:flex-start;margin:12px 0;color:#19567c;font-weight:700}#ca-allocation-summary,.ca-charge{background:#eef6fc;color:#194c70;padding:14px;font-weight:700}input[data-ca-cash],input[data-ca-waiver]{width:125px}

.cw-metrics .ca-paid strong{color:#13663d}.cw-metrics .ca-unpaid strong{color:#aa351b}
/* Account aging and settlement contrast. */
.ca-account-summary{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:18px 0;padding:16px;background:#eef4fa;border:1px solid #c2d3e3;border-radius:12px}
.ca-account-summary button{font-weight:700;border:1px solid #91adc6;color:#174d79;background:white;padding:10px 14px}
.ca-account-summary button[data-id="aged"]{color:#a12b14;background:#fff0e8;border-color:#da947d}
.ca-account-summary button[data-id="settled"]{color:#126139;background:#e7f7ed;border-color:#86bb9d}
.ca-money .ca-unpaid,.ca-money .ca-paid,.ca-account-summary>span{display:inline-block;padding:6px 9px;border-radius:6px;font-weight:800}
.ca-money .ca-unpaid,.ca-account-summary>.ca-unpaid{color:#a42d12;background:#fff0de}
.ca-money .ca-paid,.ca-account-summary>.ca-paid{color:#126039;background:#ddf3e5}
.ca-age{color:#225d8b;font-weight:700}
.ca-filter{flex-wrap:wrap;align-items:end}
.ca-filter label{color:#194e76;font-weight:700}

.cs-kind-return_stock{color:#08754b;background:#def7e9;font-weight:700}
#om-editor .cw-line,#mq-selected .cw-line{border-left:5px solid #187e78;background:#f0f9f8;margin-block:12px;padding:14px}
#om-editor h3,#mq-count{color:#126d68}

button[data-ca="statement"]{background:#176b88!important;color:#fff!important;border:2px solid #125774!important;font-weight:800;box-shadow:0 3px 8px #176b8830}button[data-ca="statement"]:hover{background:#104e68!important}button[data-ca="statement"]:focus-visible{outline:3px solid #e8a43c;outline-offset:3px}

@media screen{.barcode-label-fields{padding:16px;border:1px solid #dce3ed;border-radius:8px;margin:16px 0;background:#f7f9fc}.barcode-label-fields summary{cursor:pointer;color:#28599c;font-weight:700}.barcode-label-fields p{font-size:13px;color:#53657c}.barcode-print-card img{max-width:360px;margin:auto}.barcode-label-fields .s-formgrid{margin-top:14px}}

@media print{body.barcode-printing .barcode-sheet{grid-template-columns:repeat(5,30mm);gap:3mm}body.barcode-printing .barcode-print-card{width:30mm;height:50mm}body.barcode-printing .barcode-print-card img{width:30mm!important;height:50mm!important}body.barcode-printing{margin:0}}

@media screen{.barcode-size-controls{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.barcode-size-controls input{width:110px}.barcode-size-controls label{font-size:13px}}

/* Visible status filters in both the customer profile and the order workspace. */
.cw-status-bar44{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 12px}
.cw-status-bar44 button{display:flex;align-items:center;gap:10px;min-height:38px;border-radius:7px;background:#fff;border:1px solid #d6e3f3;color:#355270;padding:8px 13px}
.cw-status-bar44 button b{min-width:23px;padding:1px 6px;text-align:center;border-radius:5px;background:#edf3fb;font-size:12px}
.cw-status-bar44 button[aria-pressed=true]{background:#e8f1ff!important;border-color:#6b9de1!important;color:#1758a4!important;box-shadow:inset 0 -2px #2674ce}
.cw-status-bar44 button[data-status=attention] b{background:#fff0e7;color:#af5115}
.cw-result-count44{font-size:13px;color:#61778e;margin:8px 0 12px}
.cw-empty44{text-align:center;background:#fff;border:1px dashed #cbd9e9;border-radius:10px;padding:36px 16px;color:#637990}.cw-empty44 strong{font-size:17px;color:#30485f}
.cw-completion44{border:1px solid #bfded4;border-radius:8px;background:#effaf5;padding:15px;margin:14px 0}.cw-completion44 label{display:flex;gap:10px;align-items:center;font-weight:700;color:#246750}.cw-completion44 input{width:18px;height:18px}.cw-completion44 p{margin:8px 0 0;color:#527269;font-size:13px}.cw-completion44 output{display:block;margin-top:8px;font-weight:650;color:#1c6550}

.cw-production-sync44{border:1px solid #c9ddf2;border-radius:10px;background:#f4f8ff;padding:16px 18px;margin:16px 0;color:#35516f}
.cw-production-sync44 header{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.cw-production-sync44 h3{margin:0;font-size:16px;color:#1e548b}.cw-production-sync44 header>span{display:inline-block;padding:4px 9px;border-radius:6px;background:#e6f0ff;color:#215d9a;font-size:13px}.cw-production-sync44 header>span.is-pending{background:#fff0df;color:#a74a0c}.cw-production-sync44 header>span.is-planned{background:#e1f4ea;color:#146b47}.cw-production-sync44 p{line-height:1.8;margin:10px 0;font-size:13px}.cw-production-sync44.is-draft{background:#f5f6f8;border-color:#dce2e9;color:#59697a}.cw-production-batches44{display:flex;flex-wrap:wrap;gap:9px;margin-top:12px}.cw-production-batches44>div{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;border:1px solid #d2e0ef;border-radius:7px;background:white;padding:10px 12px;max-width:100%;overflow-wrap:anywhere}.cw-production-batches44 strong{color:#1d65a1}.cw-production-batches44 b{color:#126b59}.cw-production-batches44 small{width:100%;color:#61778d}.cw-combined-note44{color:#216956;background:#eaf7f0;padding:6px 8px;border-radius:5px;line-height:1.6;max-width:260px}

/* Order packaging is an instruction picker, not a reservation form. */
.cw-packaging-options45{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 14px}
.cw-packaging-option45{display:flex!important;flex-direction:row!important;align-items:center;gap:9px!important;padding:10px 12px;border:1px solid var(--erp-border,#dfd5dc);border-radius:12px;cursor:pointer;min-width:135px;max-width:100%}
.cw-packaging-option45:has(input:checked){background:var(--erp-soft,#f6eaf0);border-color:var(--erp-primary,#a93b71)}
.cw-packaging-option45 input{width:17px!important;height:17px;margin:0!important;flex:0 0 auto;accent-color:var(--erp-primary,#a93b71)}
.cw-packaging-option45 span{min-width:0;overflow-wrap:anywhere}.cw-packaging-option45 small{display:block;margin-top:3px;color:var(--erp-muted,#776773)}
.cw-packaging45 textarea{min-height:58px}.om-optional45{padding:8px 0}.om-optional45>summary{cursor:pointer;font-weight:600}.om-legacy45{padding:10px 12px;border-left:3px solid var(--erp-primary,#a93b71);background:var(--erp-soft,#f6eaf0);border-radius:8px}

.cw-types45{display:flex;flex-direction:column;gap:8px;min-width:0}.cw-type-options45,.cw-type-picked45,.cw-type-add45{display:flex;flex-wrap:wrap;gap:6px}.cw-type-options45 button[aria-pressed=true]{background:var(--erp-primary,#a93b71);color:#fff}.cw-type-picked45 button{font-size:12px;padding:4px 9px;border-radius:20px}.cw-type-add45 input{flex:1;min-width:120px;width:0}.cw-type-add45 button{flex:0 0 auto}

/* Muse v2: compact sales rows. All financial facts remain in order/account details. */
@media screen {
 html:root:root:root body #s-content:has(.cw-order-region),
 html:root:root:root body #s-content .cw-order-region{min-width:0;max-width:100%}
 html:root:root:root body #s-content .cw-orders-table{width:100%;max-width:100%;min-width:0;overflow:auto;overscroll-behavior-inline:contain}
 html:root:root:root body #s-content .cw-orders-table .s-table{table-layout:fixed;width:100%;min-width:970px}
 html:root:root:root body #s-content .cw-orders-table :is(th,td){padding:8px 9px;vertical-align:top;white-space:normal;overflow-wrap:anywhere}
 html:root:root:root body #s-content .cw-orders-table th:first-child{width:32px}
 html:root:root:root body #s-content .cw-orders-table th:nth-child(2){width:142px}
 html:root:root:root body #s-content .cw-orders-table th:nth-child(3){width:90px}
 html:root:root:root body #s-content .cw-orders-table th:nth-child(4){width:122px;text-align:right}
 html:root:root:root body #s-content .cw-orders-table th:nth-child(5){width:108px}
 html:root:root:root body #s-content .cw-orders-table th:nth-child(6){width:140px}
 html:root:root:root body #s-content .cw-orders-table th:nth-child(7):not(:last-child){width:120px}
 html:root:root:root body #s-content .cw-orders-table :is(th,td):last-child{width:116px;position:sticky;right:0;background:var(--muse-card,#fff);box-shadow:-4px 0 7px #33302e08;z-index:1}
 html:root:root:root body #s-content .cw-orders-table input.wf-check{width:16px;height:16px;min-height:16px;margin:4px 0}
 html:root:root:root body #s-content .cw-orders-table .cw-order-customer{font-size:13px;margin:3px 0;font-weight:600}
 html:root:root:root body #s-content .cw-orders-table .cw-sub{font-size:11px;line-height:17px;margin-top:4px;color:var(--muse-muted,#746e69)}
 html:root:root:root body #s-content .cw-order-amount{text-align:right;font-variant-numeric:tabular-nums}
 html:root:root:root body #s-content .cw-order-amount strong{font-size:13px;font-weight:650;color:var(--muse-ink,#33302e)}
 html:root:root:root body #s-content .cw-order-actions{display:flex;align-items:flex-start;gap:5px;flex-wrap:nowrap}
 html:root:root:root body #s-content .cw-order-actions>button{flex-shrink:0}
 html:root:root:root body #s-content .cw-order-more{margin:0;padding:0;border:0;min-width:0;background:transparent}
 html:root:root:root body #s-content .cw-order-more>summary{list-style:none;white-space:nowrap;cursor:pointer;padding:3px 4px;min-height:26px;font-size:13px;line-height:20px;color:var(--muse-muted,#746e69)}
 html:root:root:root body #s-content .cw-order-more>summary::-webkit-details-marker{display:none}
 html:root:root:root body #s-content .cw-order-more>summary:focus-visible{outline:2px solid var(--muse-brand,#c24b78);outline-offset:2px;border-radius:4px}
 html:root:root:root body #s-content .cw-order-more[open]{margin-left:-41px;min-width:98px}
 html:root:root:root body #s-content .cw-order-more[open]>summary{margin-left:41px}
 html:root:root:root body #s-content .cw-order-more-menu{display:grid;gap:5px;border-top:1px solid var(--muse-line,#e6dfd8);padding-top:7px;margin-top:5px;min-width:98px}
 html:root:root:root body #s-content .cw-order-more-menu button{width:100%;margin:0;white-space:normal;text-align:left;font-size:12px;padding:4px 6px}
 html:root:root:root body #s-content .ca-order-compact{padding:0;border:0;background:transparent;display:block}
 html:root:root:root body #s-content .ca-order-compact .ca-order-balance{display:block;font-size:13px;font-weight:650;line-height:20px;background:transparent;border:0;padding:0}
 html:root:root:root body #s-content .ca-order-compact .is-outstanding{color:var(--muse-warning,#a5660c)!important}
 html:root:root:root body #s-content .ca-order-compact .is-refund{color:var(--muse-bad,#cf4444)!important}
 html:root:root:root body #s-content .ca-order-compact .is-settled{color:var(--muse-good,#2f8f66)!important}
 html:root:root:root body #s-content .ca-order-compact .is-partial{color:var(--muse-muted,#746e69)!important}
 html:root:root:root body #s-content .ca-order-compact [data-ca=open],
 html:root:root:root body #s-content .cw-order-actions>[data-cw=order-detail]{color:var(--muse-muted,#746e69)!important;background:transparent!important;border-color:transparent!important;padding:3px 0;box-shadow:none}
 html:root:root:root body #s-content .cw-order-region.has-selection .cw-orders-table{padding-bottom:56px}
 html:root:root:root body #s-content .cw-order-region .order-selection-bar{gap:10px;min-height:42px;max-width:100%;margin:8px 0 0;border-radius:9px;box-sizing:border-box}
 html:root:root:root body #s-content .cw-order-region .order-selection-bar [hidden]{display:none!important}
 html:root:root:root body #s-content .cw-order-region .order-selection-bar.is-empty{position:static;justify-content:flex-end;min-height:30px;padding:0;background:transparent!important;border:0!important;box-shadow:none;color:var(--muse-muted,#746e69)}
 html:root:root:root body #s-content .cw-order-region .order-selection-bar.is-empty [data-wf-export]{background:transparent!important;border-color:transparent!important;color:var(--muse-muted,#746e69)!important;font-size:12px}
 html:root:root:root body #cw-filter.cw-toolbar{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px;margin-bottom:14px}
 html:root:root:root body #cw-filter.cw-toolbar label{min-width:0;font-size:12px;line-height:18px;gap:5px}
 html:root:root:root body #cw-filter.cw-toolbar :is(input:not([type=checkbox]),select){height:34px;min-height:34px;min-width:0;max-width:100%}
 html:root:root:root body #cw-filter.cw-toolbar>label:first-child{flex:1 1 190px}
 html:root:root:root body #cw-filter.cw-toolbar>button{height:34px;min-height:34px}
}
/* Customer-profile counts are historical record totals, not overdue work. */
@media screen {
 html:root:root:root body #s-content .cw-tabs .cw-profile-count57{display:inline-flex;align-items:center;justify-content:center;min-width:20px;min-height:18px;padding:0 5px;border:1px solid #d5e1eb;border-radius:9px;background:#e9f1f7;color:#526e86;font-size:11px;font-weight:650;line-height:16px;vertical-align:middle;white-space:nowrap;font-variant-numeric:tabular-nums}
 html:root:root:root body #s-content .cw-tabs button:is(.active,[aria-selected=true],[aria-pressed=true]) .cw-profile-count57{background:var(--muse-brand,var(--erp44-brand,#c24b78));border-color:var(--muse-brand,var(--erp44-brand,#c24b78));color:#fff}
}
