@charset "UTF-8";
@import url("/design_system94.css");
@import url("/business-workspace/desktop14.css");
@layer legacy {
/* style.css */
:root{font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif;font-size:16px;color:#172b3e;background:#f3f6f9;--blue:#1659b7;--nav:#12283c;--muted:#607486;--line:#dbe3eb;--green:#167552}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:3px}button{cursor:pointer;border:1px solid var(--line);border-radius:7px;background:white;padding:10px 16px;color:inherit;font-weight:600}button:hover{background:#edf3fb;border-color:#a0bce0}button:disabled{cursor:wait;opacity:.5}.primary{background:var(--blue);color:#fff;border-color:var(--blue)}.primary:hover{background:#104996;color:white}.danger{color:#b03434}.small{font-size:.875rem;padding:7px 10px}.link{color:var(--blue);border:0;background:transparent;padding:5px}input,select,textarea{border:1px solid #bbcbd9;border-radius:6px;background:white;padding:10px 12px;min-height:44px;max-width:100%;color:#172b3e}input:focus,select:focus,textarea:focus{border-color:var(--blue)}label{display:flex;flex-direction:column;gap:8px;font-weight:600;font-size:.9375rem}small,.muted{color:var(--muted);font-weight:400;font-size:.875rem}h1{font-size:1.8rem;margin:0 0 8px;font-weight:700;letter-spacing:.02em}h2{font-size:1.2rem;margin:0}p{line-height:1.65}a{color:var(--blue)}.shell{display:grid;grid-template-columns:225px 1fr;min-height:100vh}aside{background:var(--nav);color:#d3dfeb;padding:28px 16px;position:fixed;inset:0 auto 0 0;width:225px;display:flex;flex-direction:column}.brand{padding:0 12px 28px;color:white;line-height:1.6;font-size:1.25rem;font-weight:700}.brand small{color:#9fb5ca;display:block;letter-spacing:.12em;font-size:.8125rem}.brandmark{display:inline-grid;place-items:center;width:35px;height:35px;border-radius:9px;background:#3878d6;margin-right:8px}.nav{display:grid;gap:7px}.nav button{text-align:left;background:transparent;border:0;color:#becfde;padding:14px 15px;font-size:1rem;font-weight:500}.nav button.active{background:#25415e;color:#fff;box-shadow:inset 3px 0 #6aa6ff}.nav button:hover{background:#213c54}.navicon{display:inline-block;width:29px}.aside-bottom{margin-top:auto;padding:26px 12px 0;font-size:.875rem;color:#b4c6d7;line-height:1.7}.main{grid-column:2;min-width:0}.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 32px;gap:16px}.topbar .identity{display:flex;align-items:center;gap:14px}.dot{width:8px;height:8px;display:inline-block;border-radius:50%;background:#25a572;margin-right:8px}.workspace{padding:30px 32px 48px;max-width:1700px;margin:auto}.heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}.heading p{margin:0;color:var(--muted)}.actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}.card{background:white;border:1px solid var(--line);border-radius:10px;padding:24px;margin-bottom:20px}.card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:14px}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:23px}.metric{background:#fff;border:1px solid var(--line);border-radius:9px;padding:21px}.metric .value{font-size:1.9rem;font-weight:700;font-variant-numeric:tabular-nums;margin:12px 0 6px}.metric:first-child{border-top:3px solid var(--blue)}.toolbar{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin-bottom:22px}.toolbar label{min-width:130px}.toolbar .search{flex:1;min-width:220px}.toolbar input[type=search]{width:100%}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:7px}table{border-collapse:collapse;width:100%;font-size:.9375rem;text-align:left}th{background:#f1f5f9;font-size:.875rem;color:#556b7e;font-weight:600;white-space:nowrap;padding:14px 13px}td{padding:13px;border-top:1px solid #e7ecf1;vertical-align:middle;line-height:1.5}tbody tr:hover{background:#f8fbff}.number{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.product{display:flex;align-items:center;gap:12px;min-width:160px}.product img{width:50px;height:56px;object-fit:contain;border:1px solid #e6eaf0;border-radius:5px;background:#fff}.product strong{font-size:1rem;display:block}.placeholder{width:50px;height:56px;border:1px dashed #cbd4df;border-radius:5px;display:grid;place-items:center;font-size:.75rem;color:#7c8c9c;flex-shrink:0}.badge{display:inline-block;border-radius:5px;padding:4px 8px;font-size:.8125rem;white-space:nowrap;background:#edf3fa;color:#3f627e}.badge.green{background:#e6f6ef;color:#13613e}.badge.orange{background:#fff1dc;color:#8b5608}.badge.grey{background:#f0f1f3;color:#637080}.warning{padding:14px 18px;border:1px solid #edd3a5;border-radius:7px;background:#fff8ea;color:#865710;font-size:.9375rem;line-height:1.65;margin-bottom:20px}.info{padding:14px 18px;background:#edf4fc;color:#345d87;border-radius:7px;line-height:1.6;margin-bottom:20px}.empty{text-align:center;padding:55px 20px;color:var(--muted)}.empty h2{color:#314b62;margin-bottom:10px}.empty button{margin-top:16px}.pagination{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:18px}.two-col{display:grid;grid-template-columns:1.2fr 1fr;gap:20px}.barrow{display:grid;grid-template-columns:90px 1fr 105px;align-items:center;gap:12px;margin:17px 0;font-size:.875rem}.bartrack{height:12px;border-radius:4px;background:#eef2f7}.barfill{height:100%;border-radius:4px;background:#4a83ce}.barrow .number{font-weight:600}.ranknum{color:var(--muted);font-weight:600}.login{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-brand{background:#12283c;color:white;padding:10vw 6vw;display:flex;flex-direction:column;justify-content:center}.login-brand h1{font-size:2.4rem}.login-brand p{color:#b6cbdf}.login-panel{display:grid;place-items:center;padding:30px}.login form{max-width:420px;width:100%;background:white;border:1px solid var(--line);padding:35px;border-radius:12px;display:grid;gap:22px}.loading{padding:80px;text-align:center}.form-error{color:#b02632;font-size:.9375rem;line-height:1.5}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.span2{grid-column:1/-1}.form-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}dialog{width:min(880px,94vw);max-height:93vh;border:1px solid var(--line);border-radius:12px;padding:28px;color:inherit;box-shadow:0 20px 90px #0d28423d}dialog::backdrop{background:#10253f80}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.estimate{font-size:1.2rem;font-weight:700;color:var(--blue)}.hint{padding:12px;background:#f4f7fa;border-radius:6px;font-size:.875rem;line-height:1.7}.catalog-results{max-height:220px;overflow:auto;border:1px solid var(--line);border-radius:6px}.catalog-results button{width:100%;text-align:left;border:0;border-radius:0;border-bottom:1px solid var(--line);display:flex;gap:14px;align-items:center;font-weight:400}.catalog-results img{width:35px;height:40px;object-fit:contain}.catalog-results strong{color:var(--blue)}#notice{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);padding:13px 22px;border-radius:8px;background:#193b56;color:#fff;z-index:100;box-shadow:0 4px 20px #0003;display:none;max-width:90vw}#notice.show{display:block}.export-page{background:white;padding:25px;margin-bottom:20px;border:1px solid var(--line)}.export-page img.preview{width:100%;height:auto}.export-links{display:flex;gap:14px;flex-wrap:wrap;margin:15px 0}.accountrow{display:flex;justify-content:space-between;padding:18px 0;border-bottom:1px solid var(--line);gap:14px}.output-only{display:none}.subtle{margin-top:7px;color:var(--muted);font-size:.875rem}.quality-text{max-width:260px;color:#9a6510}.nowrap{white-space:nowrap}.history-note{max-width:200px;min-width:110px;overflow-wrap:anywhere}
@media(max-width:1150px){.shell{grid-template-columns:185px 1fr}aside{width:185px}.workspace{padding:24px 20px}.topbar{padding:0 20px}.metrics{gap:10px}.metric{padding:15px}.metric .value{font-size:1.5rem}.two-col{grid-template-columns:1fr}.brand{padding-left:4px;font-size:1.1rem}}
@media(max-width:760px){.shell{display:block}aside{position:static;width:auto;padding:14px}.brand{padding:0 8px 12px}.brand small,.aside-bottom{display:none}.nav{display:flex;overflow:auto;gap:5px}.nav button{white-space:nowrap;padding:10px}.navicon{display:none}.topbar{height:auto;padding:14px;flex-wrap:wrap}.workspace{padding:23px 14px}.heading{align-items:flex-start;flex-direction:column}.metrics{grid-template-columns:repeat(2,1fr)}.card{padding:16px}.form-grid{grid-template-columns:1fr}.span2{grid-column:auto}.login{grid-template-columns:1fr}.login-brand{padding:25px}.login-brand h1{font-size:1.5rem}.login-panel{padding:20px}.login form{padding:25px}.toolbar label{min-width:110px;flex:1}.form-footer{flex-wrap:wrap}h1{font-size:1.5rem}}
@media print{@page{size:A4 landscape;margin:10mm}body{background:white}#app,#notice,#editor,.dialog-head,.no-print{display:none}dialog#output{display:block;position:static;width:100%;max-width:none;max-height:none;border:0;padding:0;overflow:visible;box-shadow:none}dialog::backdrop{display:none}.export-page{border:0;padding:0;margin:0;break-after:page}.export-page:last-child{break-after:auto}th,td{padding:7px;font-size:10pt}tr{break-inside:avoid}thead{display:table-header}.output-only{display:block}.product img{width:35px;height:40px}}

/* 0.2: light ERP work surface, warmer product identity, clear financial states. */
:root{--blue:#326fa9;--nav:#f9fbfd;--muted:#687b8b;--line:#e0e7ed;color:#30485d;background:#f3f6f8}
aside{background:#fbfcfe;color:#445c70;border-right:1px solid #e0e7ed;padding:25px 12px}
.brand{color:#29475f;font-weight:700;letter-spacing:.02em}.brand small{color:#8797a5;letter-spacing:.06em;font-size:.8125rem}.brandmark{background:#e8a46b;color:#fff}
.nav{gap:5px}.nav button{color:#61758a;border-radius:7px;font-weight:500;padding:13px 16px}.nav button.active{color:#286898;background:#eaf2f9;box-shadow:inset 3px 0 #699cc9;font-weight:700}.nav button:hover{background:#f0f5f9;color:#365f82}.navicon{color:#829ab0}.nav button.active .navicon{color:#3b77ac}.aside-bottom{color:#8b9aaa;padding-left:16px}
.topbar{background:#fff;height:72px;border-color:#e5ebf0}.workspace{padding-top:26px}.heading p{font-size:.9375rem}h1{font-size:1.6rem;font-weight:650;letter-spacing:0}.card{border-color:#e3eaf0;border-radius:10px;box-shadow:0 3px 15px #24496d03}.primary{background:#3676ae;border-color:#3676ae}.primary:hover{background:#2b6598}.metric{background:#fff;border-color:#e4eaf0}.metric:first-child{border-top-color:#a4c5e0}.metric .value{color:#365975;font-size:1.7rem}.table-wrap{border-color:#e3eaf1}th{background:#f4f7fa;color:#697f92}td{border-color:#edf1f5}tbody tr:hover{background:#f8fbfd}.badge{background:#edf3f8;color:#668098}.badge.green{background:#edf7f3;color:#3c7d64}.badge.orange{background:#fff3e7;color:#9b6c3d}.warning{background:#fff9f0;border-color:#efdfc6;color:#8d704b}.info{background:#f0f6fb;color:#4f7597}.login-brand{background:#eaf1f8;color:#355772}.login-brand p{color:#6586a1}.login-brand h1{line-height:1.6}.notification-button{position:relative;border:0;background:#f4f7fa;font-size:.875rem;font-weight:500}.red-count{display:inline-grid;place-items:center;min-width:20px;height:20px;border-radius:12px;padding:0 5px;background:#cc5a5a;color:white;font-size:.75rem;font-weight:700;margin-left:4px}
input[type=checkbox]{width:18px;height:18px;min-height:18px;padding:0;accent-color:#427dac;cursor:pointer;flex:none}.check-cell{width:42px;text-align:center}.check-cell input{vertical-align:middle}.inline-check{display:flex;flex-direction:row;align-items:center;gap:10px;font-weight:400;margin:16px 0;line-height:1.6}.continue-check{border-top:1px solid var(--line);padding-top:16px}
.date-shortcuts{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0 0 20px;font-size:.875rem;color:#7b8e9d}.date-shortcuts button{font-weight:400}.payment-filters{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:-5px;margin-bottom:20px;font-size:.9375rem}.payment-filters select{min-width:150px}.selection-bar{padding:15px 18px;border:1px solid #dde8f2;background:#f5f9fd;border-radius:8px;margin-bottom:22px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}#selection-summary{display:flex;align-items:center;flex-wrap:wrap;gap:10px 20px;font-size:.9375rem}#selection-summary strong{color:#3675a5}.paid-text{color:#438068}.unpaid-text{color:#b27940}tr:has([data-select-row]:checked){background:#f0f7fd}
.photo-upload{display:flex;gap:20px;align-items:center;padding:18px;border:1px dashed #c7d8e5;background:#f8fbfd;border-radius:8px}.photo-upload>div:first-child{width:108px;height:108px;display:grid;place-items:center;border:1px solid #e0e8ef;background:white;border-radius:6px;flex:none;color:#8d9ba8;font-size:.875rem}.photo-upload img{max-width:100%;max-height:106px;object-fit:contain}.photo-upload small{display:block;margin-top:10px;line-height:1.6}.upload-label{position:relative;display:inline-flex;flex-direction:row;align-items:center;justify-content:center;background:#eaf3fa;color:#39749f;padding:12px 18px;border:1px solid #cddfed;border-radius:7px;cursor:pointer;font-size:.9375rem;font-weight:600;overflow:hidden}.upload-label input[type=file]{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.upload-label:focus-within{outline:2px solid #3676ae;outline-offset:3px}.upload-label:has(input:disabled){opacity:.5;cursor:not-allowed}.mapping-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0}.mapping-grid label{font-size:.875rem}.import-preview-table{max-height:340px;overflow:auto;margin:20px 0}details{padding:16px;border:1px solid var(--line);border-radius:7px;margin-top:16px}summary{cursor:pointer;color:#547894;font-weight:600}hr{border:0;border-top:1px solid var(--line);margin:25px 0}
.settings-tabs{display:flex;gap:8px;border-bottom:1px solid var(--line);margin-bottom:25px;overflow:auto}.settings-tabs button{border:0;border-radius:0;padding:13px 21px;color:#708398;background:transparent;white-space:nowrap}.settings-tabs button.selected{color:#2e6b9a;border-bottom:3px solid #70a0c6;background:#edf4fa}.steps{line-height:1.9;padding-left:24px}.steps li{margin:15px 0}.steps strong{color:#476e8c}.connection-card{padding:22px;background:#f3f7fb;border-radius:8px;margin:24px 0}.connection-card .actions{margin-top:14px}.button-link{background:white;border:1px solid #d4e2ec;border-radius:6px;text-decoration:none;padding:11px 17px;font-weight:600;font-size:.9375rem}.alert-item{display:flex;justify-content:space-between;gap:22px;align-items:center;border:1px solid #e0eaf2;border-left:3px solid #d99075;padding:22px;border-radius:8px;margin-bottom:14px;background:#fffdfb}.alert-item p{margin:10px 0}.alert-item.read{border-left-color:#c8d5df;background:#fbfcfe}.alert-item.read strong{color:#6b8091}.alert-item strong{font-size:1.0625rem}.alert-item b{color:#39725a}.history-note{max-width:240px}#restore-status,#upgrade-status{margin-top:20px}.placeholder{font-size:.75rem;min-width:50px}.form-footer{padding-bottom:3px}
@media(max-width:900px){.topbar{height:auto;min-height:72px;padding:13px 20px;flex-wrap:wrap}.identity{flex-wrap:wrap}.mapping-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-upload{gap:12px}.alert-item{align-items:flex-start;flex-direction:column}.selection-bar .actions{width:100%}}
@media(max-width:600px){.mapping-grid{grid-template-columns:1fr}.photo-upload{flex-wrap:wrap}.metrics{gap:10px}.metric .value{font-size:1.4rem}.settings-tabs button{padding:12px}.connection-card{padding:16px}.notification-button{padding:7px}.topbar .identity{gap:8px}.card-header{flex-wrap:wrap}}
@media print{.export-page{break-after:page}.export-page:last-child{break-after:auto}dialog#output .export-page .table-wrap{overflow:visible}.export-page .product img{width:55px;height:65px;max-height:none}.export-page .placeholder{width:55px;height:65px}.export-page h1{font-size:17pt}.export-page p{font-size:10pt}.export-page th{background:#eef3f7}th,td{overflow-wrap:anywhere}.export-page .product{min-width:110px}}
.demand-a4-page{margin:20px 0}.demand-a4-image{display:block;width:100%;height:auto;border:1px solid #dce5ed;margin-top:12px}
@media print{#output .demand-a4-page{margin:0;padding:0;break-inside:avoid;break-after:page}#output .demand-a4-page:last-child{break-after:auto}#output .demand-a4-image{display:block;border:0;margin:0 auto;width:auto;height:185mm;max-width:100%;max-height:none;object-fit:contain}#demand-output{margin:0;padding:0}}

/* Procurement receipts: clear cell boundaries and received-state emphasis. */
.export-page table th,.export-page table td{border:1px solid #8398a8}.export-page .table-wrap{border-radius:0}.export-page tr.purchase-received>td{background:#e0f3e7;color:#12633f;font-weight:600}.export-page tr.purchase-received .badge.green{background:#bee6cf;color:#0a5331;font-weight:700}.export-page table{-webkit-print-color-adjust:exact;print-color-adjust:exact}

.supplier-quick{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-bottom:20px;padding:14px;background:#eef4fa;border-radius:8px}.supplier-account-link{text-align:left;white-space:normal}

#record-form .restock-inline{display:block;width:auto;border:0;background:transparent;box-shadow:none;padding:5px 0 0;margin:0;color:#ba3030;font-size:12px;line-height:1.5;text-align:left;font-weight:500;cursor:pointer}
#record-form .restock-inline:hover{color:#8e1919;text-decoration:underline}
#record-form .restock-inline[hidden]{display:none}
#restock-details{max-width:560px;padding:24px;border:1px solid #d4dfe5;border-radius:14px;color:#293c48}#restock-details p{line-height:1.7}

.photo-upload:focus,.photo-upload.photo-dragging{outline:2px solid #167f79;outline-offset:3px;background:#eefaf8}.purchase-cancelled td{background:#fce7e7;color:#ad3030}.purchase-cancelled .badge{background:#f6cece;color:#9d2020;font-weight:800}@media print{.purchase-cancelled td{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

/* production.css */
.production-shell aside{width:235px;padding:18px 10px;overflow-y:auto}.production-shell{grid-template-columns:235px 1fr}.production-shell .brand{padding-bottom:16px}.production-shell .nav{gap:2px}.production-shell .nav button{padding:10px 14px;font-size:.9375rem}.production-shell .aside-bottom{padding-top:18px}.production-shell .card{margin-top:20px}.production-shell .actions{margin-bottom:18px}.production-shell .toolbar label{min-width:120px}.production-shell .p-thumb{width:50px;height:60px;object-fit:contain;vertical-align:middle;margin-right:10px}.production-shell .table-wrap td{max-width:320px;overflow-wrap:anywhere}.production-editor{width:min(1240px,96vw);max-width:96vw}.p-lines{margin:24px 0;max-height:460px;overflow:auto}.p-lines input,.p-lines select{min-width:115px;width:100%}.p-lines td:first-child select{min-width:340px}.p-lines th{position:sticky;top:0;z-index:1}.p-lines label{font-size:0;gap:0}.p-lines input,.p-lines select{font-size:15px}.p-drop{padding:22px;border:2px dashed #c4d8e7;background:#f6faff;border-radius:8px;margin-top:16px;line-height:1.8}.p-drop.dragging{border-color:#3b79aa;background:#eaf4ff}.p-drop small{display:block}.p-drop input{margin:12px 0}.p-attachment{display:inline-flex;margin:8px;padding:8px;background:white;border:1px solid #dce6ef;max-width:240px;overflow-wrap:anywhere}.p-attachment img{width:80px;height:70px;object-fit:contain;display:block}.p-evidence{margin:24px 0}.p-details{display:grid;grid-template-columns:1fr 1fr;gap:12px 24px;margin:22px 0}.p-details p{margin:0;padding:12px;background:#f4f8fb;overflow-wrap:anywhere}.p-details span{display:block;color:#718595;font-size:.875rem}.p-details strong{font-weight:500;white-space:pre-wrap}.p-audit{white-space:pre-wrap;word-break:break-word;max-height:260px;overflow:auto;font-size:12px}.p-sign{margin-top:40px}.p-print-sheet h3{margin:22px 0 14px}.p-print-sheet .p-details p{background:#fff}.p-print-sheet .table-wrap{overflow:visible}.p-print-sheet th,.p-print-sheet td{white-space:normal}.p-print-sheet .link{color:inherit;padding:0;border:0}.p-print-sheet{padding:24px}.p-print-sheet .table-wrap table{min-width:0}.p-thumb{object-fit:contain}
@media(max-width:900px){.production-shell aside{width:190px}.production-shell{grid-template-columns:190px 1fr}.production-shell .workspace{padding:20px}.p-details{grid-template-columns:1fr}}
@media print{.p-print-sheet{padding:0;overflow:visible}.p-print-sheet .p-details{grid-template-columns:1fr 1fr}.p-print-sheet .p-details p{padding:3px;font-size:10pt}.p-print-sheet table{font-size:9pt;table-layout:fixed}.p-print-sheet th,.p-print-sheet td{padding:5px;font-size:9pt;overflow-wrap:anywhere}.p-print-sheet h1{font-size:18pt}.p-print-sheet .p-sign{break-inside:avoid}.p-print-sheet .table-wrap{border:0;overflow:visible}.p-print-sheet button{font-size:9pt;font-weight:400}.p-print-sheet tr{break-inside:avoid}}
.p-metric-drill{padding:0;text-align:left;border:0;background:transparent;font-weight:400}.p-metric-drill .metric{height:100%;margin:0}.p-metric-drill:hover .metric{border-color:#91b5d3;background:#f7fbff}.p-print-photos{display:flex;flex-wrap:wrap;gap:16px}.p-print-photos figure{margin:8px;padding:8px;border:1px solid #dce5ed;break-inside:avoid}.p-print-photos img{width:100px;height:110px;object-fit:contain}.p-print-photos figcaption{font-size:13px}
/* 0.3.1: one step at a time, with product photos separate from evidence. */
.flow-nav-group>p{font-size:12px;color:#8c9ba8;margin:17px 12px 8px}.flow-nav-group button{display:block;width:100%;text-align:left}.flow-nav-group button>span{display:inline-block;width:28px;color:#95a9b8;font-size:12px}.flow-search{margin:0 0 18px;padding:10px 16px;background:#fff}.flow-search>.toolbar{margin:18px 0 4px}.flow-more{position:relative;margin:0;padding:9px 12px}.flow-more .actions{margin:14px 0 0}.flow-search-line{display:flex;gap:10px;max-width:560px;margin-bottom:22px}.flow-search-line input{flex:1}.flow-stepbar{display:flex;flex-wrap:wrap;gap:12px;color:#547995;background:#eef5fa;padding:18px;border-radius:8px;margin:20px 0}.flow-stepbar span{padding-right:16px}.flow-good-layout{display:grid;grid-template-columns:250px 1fr;gap:32px;margin:24px 0}.flow-main-image{border:1px solid #dbe6ed;border-radius:10px;padding:18px;background:#f8fbfd}.flow-main-image h3{margin:0 0 12px;font-size:17px}.flow-main-image small{display:block;line-height:1.7;margin-top:12px;color:#758b9d}#flow-main-preview{height:210px;display:grid;place-items:center;margin-bottom:16px;border:1px dashed #cbdbe7;border-radius:8px;background:white;color:#8aa0b0}#flow-main-preview img{width:100%;height:205px;object-fit:contain}.flow-advanced{margin:20px 0;background:#fbfcfd;border:1px solid #e1e9ef}.flow-advanced>summary{color:#7890a3;font-weight:500}.flow-advanced>.form-grid{margin-top:18px}.flow-selected-good{display:flex;align-items:center;gap:18px;padding:20px;background:#f1f7fb;border:1px solid #e0ebf3;border-radius:9px;margin:16px 0 24px}.flow-selected-good img{width:84px;height:100px;object-fit:contain}.flow-selected-good p{margin:8px 0 0;color:#6a8295}.flow-quantity-grid{margin:24px 0;max-height:450px;overflow:auto}.flow-quantity-grid input{width:140px}.flow-craft-files{padding-top:18px;border-top:1px solid #dce6ed}.production-shell .p-thumb{width:65px;height:75px}.production-shell .workspace>.heading{margin-bottom:24px}.production-shell .flow-nav-group button{font-size:14px;padding:9px 14px}.p-evidence>summary{font-weight:500}.p-evidence .p-drop{background:#fffaf0;border-color:#ddceac}.p-evidence .form-grid{margin-top:18px}
@media(max-width:700px){.flow-good-layout{grid-template-columns:1fr}.flow-main-image{max-width:300px}.flow-stepbar{font-size:13px}.flow-quantity-grid input{width:100px}}

/* Production shares the card workspace while transaction tables stay readable. */
.production-goods-grid,.production-function-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:18px;margin:20px 0}
.production-good-card{border:1px solid #d8e2e9;border-radius:14px;overflow:hidden;background:#fff;min-width:0}
.production-good-card:hover{box-shadow:0 8px 24px #263d5014}.production-good-image{height:230px;background:#f3f6f8;display:flex;align-items:center;justify-content:center}
.production-good-image a{width:100%;height:100%;display:block}.production-good-image img.p-thumb{width:100%;height:230px;object-fit:contain;margin:0;border:0}.production-good-image .placeholder{background:transparent;border:0}
.production-good-body{padding:18px}.production-good-body h3{margin:12px 0 8px;font-size:20px}.production-good-body p{overflow-wrap:anywhere}.production-good-body .actions{flex-wrap:wrap}
.production-function-panel{margin-top:28px}.production-function-grid button{text-align:left;background:white;border:1px solid #d8e2e9;border-top:3px solid #86669a;border-radius:12px;padding:20px;min-height:105px}
.production-function-grid strong{display:block;font-size:17px;margin-bottom:10px;color:#34465a}.production-function-grid span{color:#667b8d;font-size:13px;line-height:1.6}
.production-function-grid button:hover{background:#fff7f1;border-color:#ed7d38}.production-shell .primary{background:#ed580b;border-color:#ed580b;color:white}
@media(max-width:600px){.production-goods-grid,.production-function-grid{grid-template-columns:1fr}}

/* Production navigation: scoped to production; other business modules retain their layout. */
.production-shell .p-section-panel{margin:16px 0 22px}.production-shell .p-section-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:12px 0}.production-shell .p-section-heading h2{margin:0;font-size:17px}.production-shell .p-section-heading>span{font-size:12px;color:#7b899a}.production-shell .p-section-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.production-shell button.p-section-card{display:flex;align-items:flex-start;gap:13px;position:relative;text-align:left;padding:18px 30px 16px 16px;min-height:120px;border:1px solid #e1e7ef;background:#fff;color:#26374b;border-radius:8px;white-space:normal;box-shadow:0 2px 6px #23466a05}.production-shell button.p-section-card:hover{border-color:#84b9ef;box-shadow:0 4px 14px #185bbe12}.production-shell .p-section-icon{width:43px;height:43px;flex-shrink:0;display:grid;place-items:center;border-radius:11px;background:var(--p-tint);color:var(--p-icon)}.p-section-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.p-tone-violet{--p-icon:#8867c6;--p-tint:#f1ebfc}.p-tone-blue{--p-icon:#318ce4;--p-tint:#eaf3ff}.p-tone-teal{--p-icon:#269d8d;--p-tint:#e6f7f3}.p-tone-amber{--p-icon:#ce9027;--p-tint:#fff3df}.p-tone-green{--p-icon:#5b9f45;--p-tint:#edf6e7}.p-tone-indigo{--p-icon:#687bd3;--p-tint:#edf0fc}.production-shell .p-section-copy{display:flex;flex-direction:column;gap:5px}.production-shell .p-section-copy strong{font-size:16px;font-weight:600}.production-shell .p-section-copy>span{font-size:12px;color:#778597;line-height:1.6}.production-shell .p-section-copy small{font-size:12px;color:#557897;margin-top:4px}.p-section-arrow{position:absolute;right:12px;top:18px;color:#9baabd}.production-shell .p-supply-note{padding:9px 12px;background:#edf4ff;color:#56728f;border:1px solid #dce9fc;border-radius:5px;font-size:12px}.production-shell .p-section-links{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0 0 16px;padding:10px 12px;background:#eef4fc;border:1px solid #dce7f4;border-radius:6px}.production-shell .p-section-links>span{font-size:13px;color:#687b90;margin-right:5px}.production-shell .p-section-links button{font-size:13px;padding:7px 12px}.production-shell .p-section-links .active{background:#3498ef;color:white;border-color:#3498ef}.production-shell .p-open-tabs{display:flex;overflow-x:auto;gap:4px;background:#f8fafc;border-bottom:1px solid #dce4ef;padding:0 18px;flex-shrink:0}.production-shell .p-open-tabs button{white-space:nowrap;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;padding:12px 15px;font-size:13px}.production-shell .p-open-tabs button.active{border-bottom-color:#3498ef;background:white;color:#185bbe}.production-shell .p-all-entries{margin-top:20px;padding:12px;background:#fff;border:1px solid #e1e7ef;border-radius:6px}.production-shell .p-all-entries summary{cursor:pointer;color:#526b85;font-size:14px}.production-shell .p-all-entries .production-function-panel{margin-top:10px}.production-shell .p-all-entries .production-function-panel h2{display:none}.production-shell .p-all-entries .production-function-grid button{border-top:1px solid #d8e2e9;border-radius:6px;padding:14px;min-height:85px}.production-shell .p-section-card:focus-visible,.production-shell .p-open-tabs button:focus-visible{outline:3px solid #80b9fa;outline-offset:2px}
@media(max-width:1100px){.production-shell .p-section-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.production-shell .p-section-grid{grid-template-columns:1fr}.production-shell .p-section-heading{align-items:flex-start;flex-direction:column}}

/* sales.css */
.sales-shell{--accent:#187b70;--soft:#e8f5f0;background:#f4f7f8}.sales-shell aside{background:#fff;border-right:1px solid #e2e9e9}.sales-shell .brandmark{background:#187b70}.sales-shell .nav button.active{background:#e5f3ef;color:#11695f;border-left:3px solid #187b70}.sales-shell .nav small{display:block;color:#83928e;font-size:11px;letter-spacing:1px;padding:19px 14px 6px}.sales-shell .primary,.sales-editor .primary{background:#16786b;border-color:#16786b;color:white}.sales-shell .workspace{max-width:1600px}.s-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:22px}.s-heading h1{font-size:26px;margin:0 0 7px}.s-hint{font-size:12px;line-height:1.7;color:#71817e;margin:5px 0}.s-note{background:#edf5f3;border:1px solid #d4e9e2;border-radius:9px;padding:12px 16px;color:#3c665e;font-size:13px;line-height:1.8}.s-warn{background:#fff5e5;color:#906025;border:1px solid #efdab5}.s-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:18px 0}.s-stat{padding:20px;background:white;border:1px solid #e3eaea;border-radius:12px}.s-stat strong{display:block;font-size:27px;margin:9px 0;color:#163e36}.s-stat span{color:#62716d;font-size:13px}.s-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:22px 0}.s-step{background:white;border:1px solid #e0e8e5;border-radius:12px;padding:22px;text-align:left;cursor:pointer}.s-step b{display:block;font-size:17px;margin:12px 0}.s-step i{font-style:normal;color:#16786b;font-weight:bold;background:#e7f4ee;padding:5px 9px;border-radius:6px}.s-panel{background:white;border:1px solid #e1e9e7;border-radius:12px;padding:20px;margin:18px 0}.s-panel h2{font-size:17px;margin:0 0 14px}.s-toolbar{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:15px 0}.s-toolbar label{min-width:145px}.s-toolbar input[type=search]{min-width:265px}.s-table{width:100%;border-collapse:collapse;font-size:13px}.s-table th{background:#f0f5f3;color:#536963;font-weight:600;text-align:left;padding:12px;white-space:nowrap}.s-table td{padding:12px;border-bottom:1px solid #edf0ef;vertical-align:middle}.s-table tr:hover td{background:#fafcfb}.s-table input[type=number]{width:95px;min-width:70px}.s-table input{padding:8px;min-width:70px}.s-photo{width:52px;height:58px;object-fit:contain;border-radius:6px;background:#f6f7f7;vertical-align:middle;margin-right:9px}.s-empty-photo{display:inline-block;width:52px;height:58px;vertical-align:middle;margin-right:9px}.s-badge{font-size:11px;padding:4px 8px;border-radius:20px;background:#e8f4ed;color:#287355;white-space:nowrap}.s-badge.warn{background:#fff0d7;color:#9a641b}.s-badge.grey{background:#edf0f2;color:#6e7d87}.s-actions{display:flex;gap:7px;flex-wrap:wrap;align-items:center}.s-actions button{font-size:12px;padding:7px 10px}.s-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(185px,1fr));gap:16px}.s-good{border:1px solid #e1e9e6;border-radius:10px;overflow:hidden;background:white}.s-good img{width:100%;height:170px;object-fit:contain;background:#f7f9f8}.s-good .s-imgblank{height:170px;background:#f7f9f8}.s-good .s-good-body{padding:13px}.s-good b{font-size:17px}.sales-editor{width:min(1160px,96vw);max-width:1160px;padding:25px}.sales-editor h3{font-size:15px;margin:20px 0 12px}.sales-editor form{padding:0}.s-formgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.s-formgrid .wide{grid-column:1/-1}.s-formgrid textarea{min-height:68px}.s-formgrid label{font-size:13px}.s-formgrid input,.s-formgrid select,.s-formgrid textarea{width:100%}.s-formgrid input[type=checkbox],.sales-editor input[type=checkbox]{width:auto}.s-check{display:flex;gap:8px;align-items:center}.s-check input{margin:0}.s-section{padding:16px 0;border-bottom:1px solid #e7ecea}.s-section summary{cursor:pointer;color:#4d665e;font-size:14px;padding:6px 0}.s-section[open] summary{margin-bottom:13px}.s-total{display:flex;align-items:center;justify-content:space-between;padding:18px;background:#eff7f3;border-radius:10px;gap:16px;margin-top:16px}.s-total strong{font-size:23px;color:#176c58}.s-footer{display:flex;justify-content:flex-end;gap:10px;margin-top:20px;position:sticky;bottom:-25px;background:#fff;padding:14px 0;border-top:1px solid #e4eae7;z-index:2}.s-error{color:#b43d35;white-space:pre-wrap;margin-top:10px}.s-upload{padding:14px;border:1px dashed #aac8bd;border-radius:9px;background:#f7fbf9}.s-upload img{height:100px;max-width:180px;object-fit:contain}.s-history{font-size:11px;max-width:240px;color:#61766c}.s-history button{font-size:11px;padding:3px 6px}.s-chart{width:100%;height:250px;display:block}.s-legend{display:flex;gap:15px;flex-wrap:wrap;font-size:12px;margin-bottom:12px}.s-dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:5px}.s-print{color:#111;background:#fff;padding:18px;font-size:12px}.s-print h1{text-align:center;font-size:24px}.s-print .s-table th{background:#eee}.s-print .s-table td,.s-print .s-table th{border:1px solid #bbb;padding:7px}.s-printmeta{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:14px 0}.s-print .s-photo{width:40px;height:45px}.s-muted{color:#75827d}.s-number{font-variant-numeric:tabular-nums;white-space:nowrap}.s-paging{display:flex;gap:15px;align-items:center;justify-content:flex-end;margin-top:14px}.s-workflow{display:flex;gap:12px;align-items:center;color:#64786f;font-size:12px;margin:14px 0}.s-workflow b{background:#e8f3ee;color:#187b62;padding:7px 10px;border-radius:6px}@media(max-width:950px){.s-cards{grid-template-columns:repeat(2,1fr)}.s-formgrid{grid-template-columns:repeat(2,1fr)}.s-steps{grid-template-columns:1fr}.sales-shell aside{width:200px}.sales-shell .main{margin-left:200px}.s-heading{align-items:start}.s-toolbar input[type=search]{min-width:180px}}@media print{@page sales-a4{size:A4 portrait;margin:12mm}.s-print{page:sales-a4}body.s-printing #app,body.s-printing #editor,body.s-printing #notice{display:none}body.s-printing #output{display:block;position:static;max-height:none;width:100%;max-width:none;border:0;padding:0;overflow:visible}body.s-printing #output::backdrop{display:none}body.s-printing #output>.dialog-head{display:none}.s-print{padding:0}.s-print thead{display:table-header-group}.s-print tr{break-inside:avoid}.s-print .table-wrap{overflow:visible}.s-print .s-table{font-size:10px}.s-print .s-table th{white-space:normal}.s-print footer{margin-top:20px}body.s-printing{background:white}}
.s-upload:focus,.s-upload:focus-within{outline:2px solid #1677ff;outline-offset:2px}.s-upload.s-upload-drag{border-color:#1677ff;background:#eaf3ff}.s-upload[aria-busy=true]{border-style:solid}.s-upload-status{display:block;font-size:12px;line-height:1.5;white-space:normal;overflow-wrap:anywhere;color:#2458a6}.s-upload-status:empty{display:none}
/* Colour photos keep their own paste/drop target within each variant row. */
#s-variants .s-table{table-layout:fixed;min-width:850px}#s-variants .s-table th,#s-variants .s-table td{padding:10px;white-space:normal}#s-variants th:nth-child(1){width:16%}#s-variants th:nth-child(2){width:12%}#s-variants th:nth-child(3){width:21%}#s-variants th:nth-child(4){width:11%}#s-variants th:nth-child(5){width:6%}#s-variants th:nth-child(6){width:27%}#s-variants th:nth-child(7){width:7%}#s-variants input:not([type=checkbox]):not([type=file]){width:100%;min-width:0}#s-variants input[type=checkbox]{min-width:0}#s-variants [data-v-remove]{padding:6px 8px;font-size:12px;white-space:nowrap}
#s-variants .s-upload-compact{display:grid;grid-template-columns:54px minmax(0,1fr);align-items:center;gap:5px 9px;min-height:102px;padding:10px;border:1px dashed #aac9ef;border-radius:9px;background:#f6faff;cursor:default}#s-variants .s-upload-preview{grid-column:1;grid-row:1/4;min-width:0}#s-variants .s-upload-preview img{display:block;width:54px;height:64px;max-width:100%;margin:0;object-fit:contain;background:white}#s-variants .s-upload-placeholder{display:grid;place-items:center;width:54px;height:64px;background:#eaf2ff;color:#1677ff;font-size:24px;border-radius:7px}#s-variants .s-upload-instruction{font-size:12px;font-weight:500;line-height:1.5;color:#38577b;white-space:normal}#s-variants .s-upload-choose{position:relative;justify-self:start;display:inline-flex;align-items:center;padding:5px 9px;border:1px solid #b8d0f2;background:white;border-radius:6px;color:#0969da;font-size:12px;line-height:1.5;cursor:pointer;overflow:hidden}#s-variants .s-upload-choose input[type=file]{position:absolute;inset:0;opacity:0;width:100%;min-width:0;height:100%;padding:0;cursor:pointer}#s-variants .s-upload-compact .s-hint{font-size:11px;line-height:1.4;margin:0;white-space:normal}#s-variants .s-upload-status{grid-column:1/-1;font-size:11px}#s-variants .s-upload-drag{background:#e5f0ff;border-color:#1677ff}#s-variants .s-upload-compact[aria-busy=true]{opacity:.8}

/* workspace.css */
:root{--primary:#df643c;--primary-dark:#ba4c28;--bg:#f5f6f8;--text:#29333c;--muted:#82909b}body{background:#f5f6f8;color:#29333c}.shell>aside{background:#fff;color:#35414b;border-right:1px solid #e9ebef;overflow-y:auto}.brand{color:#333e48}.brand small{color:#97a0a8}.brandmark{background:#e97044;color:white}.nav{padding:18px 14px}.nav a{color:#76808b;text-decoration:none;display:block}.nav .workspace-home{font-size:15px;padding:13px 16px;border-radius:8px;margin-bottom:12px}.menu-group{border:0;margin-bottom:10px}.menu-group summary{display:flex;justify-content:space-between;align-items:center;padding:13px 15px;cursor:pointer;list-style:none;font-size:15px}.menu-group summary::-webkit-details-marker{display:none}.menu-group summary:after{content:'›';color:#929aa3;font-size:20px}.menu-group[open] summary:after{transform:rotate(90deg)}.menu-group>div{padding:0 0 5px 30px}.nav .menu-group button,.nav .menu-group a{width:100%;background:none;border:0;color:#808a95;box-shadow:none;text-align:left;border-radius:7px;padding:10px 12px;margin:2px 0;font-size:13px;line-height:1.5}.nav .menu-group button.active,.nav a.active{background:#fff0e9;color:#cf5d34;font-weight:600}.nav .menu-group button:hover,.nav .menu-group a:hover,.workspace-home:hover{background:#f7f8fa;color:#cc5b34}.workspace-guide{padding:20px 15px;border-top:1px solid #eee;margin-top:12px;font-size:13px}.topbar{background:white;border-bottom:1px solid #e9ecf0}.card,.s-panel,.s-stat,.metric{border-color:#e8ecf0;box-shadow:0 3px 15px #25394b04}.primary,button.primary{background:#dd6842;border-color:#dd6842;color:white}.primary:hover,button.primary:hover{background:#c35631}.badge.green,.s-badge.green{background:#e8f3ed;color:#39725b}th{background:#f6f8fa;color:#627180}.home-welcome{padding:34px 4px 24px}.home-welcome>span{font-size:11px;letter-spacing:3px;color:#a6adb4}.home-welcome h1{font-size:34px;font-weight:600;letter-spacing:1px;margin:16px 0}.home-welcome p{color:#87919b}.home-entries{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.home-entry{display:block;text-decoration:none;color:#33434b;background:white;border:1px solid #e5e9ee;border-radius:15px;padding:28px 24px;min-height:245px;transition:transform .18s,box-shadow .18s}.home-entry:hover{transform:translateY(-4px);box-shadow:0 15px 32px #39485610}.entry-number{font-size:14px;color:#91a5b4;background:#f0f5f8;padding:12px;border-radius:10px;display:inline-block}.home-entry.purchase .entry-number{background:#fff0e6;color:#d1844e}.home-entry.sales .entry-number{background:#ecf4ee;color:#729b81}.home-entry h2{margin:25px 0 12px;font-size:22px}.home-entry p{color:#929aa3;font-size:13px}.home-entry strong{display:block;font-size:13px;margin-top:35px;color:#687b89}.guide-link{display:inline-block;color:#85909b;margin:30px 4px}.sales-shell .s-hint,.sales-editor .s-hint,.sales-shell .s-heading>div>p{display:none}.pricing-actions{display:flex;gap:8px;flex-wrap:wrap}.pricing-hero{display:flex;gap:20px;align-items:center;margin-bottom:20px}.pricing-hero .s-photo{width:110px;height:140px}.price-value{font-size:23px;color:#c16440;font-weight:600}.manual-list{max-height:60vh;overflow:auto}.manual-row{display:flex;gap:12px;align-items:center;padding:10px;border-bottom:1px solid #eee;background:white}.manual-row img{width:42px;height:48px;object-fit:contain}.manual-row span{flex:1}.manual-row input{width:75px}.long-preview{max-width:100%;height:auto}.sales-shell .s-table .s-photo{width:72px;height:88px}.sales-editor{max-width:1100px}a{color:#bd6747}@media(max-width:1050px){.home-entries{grid-template-columns:1fr}.home-entry{min-height:auto}.home-entry strong{margin-top:20px}}@media print{.menu-group,.workspace-guide{display:none}}
.nav .menu-group{padding:0;margin-top:0;border-radius:0}.nav .menu-group summary{color:#48545e;font-weight:500}.sales-editor .s-section{background:#fafbfc}.login .s-hint{display:none}
.shell .nav .menu-group button.active{border-left:0;box-shadow:none;background:#fff0e9;color:#cf5d34}.sales-shell .brandmark{background:#e97044}.sales-shell .primary,.sales-editor .primary{background:#dd6842;border-color:#dd6842}.sales-shell .primary:hover,.sales-editor .primary:hover{background:#c35631}.sales-shell .s-table th{background:#f6f8fa;color:#627180}.sales-shell{background:#f5f6f8}.shell .nav{display:block}.menu-group summary span{white-space:nowrap}.sales-shell .s-table td:first-child{white-space:nowrap}.sales-shell .s-table td small{font-size:11px;color:#8d969e}
.heading>div>p{display:none}
.comparison-scroll{overflow-x:auto;padding-top:15px}.comparison-bars{display:block;min-width:100%;height:330px}.comparison-caption{font-size:12px;color:#88929b;margin:14px 0 0}.price-lower{color:#44816d;font-weight:600}.price-higher{color:#c57553;font-weight:600}
.catalog-toolbar{background:white;border:1px solid #e5e9ee;border-radius:12px;padding:20px;margin-bottom:22px}.catalog-search{display:grid;grid-template-columns:minmax(260px,1fr) 170px auto;gap:14px;align-items:end}.catalog-tools{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;border-top:1px solid #edf0f3;margin-top:18px;padding-top:16px}.price-basis{display:block;font-size:12px;color:#8b959e;margin-top:7px}.sales-shell .price-value{font-size:20px;white-space:nowrap}.sales-shell .pricing-actions{display:flex;gap:7px;max-width:215px}.sales-shell .pricing-actions button{padding:7px 10px;font-size:12px;font-weight:500}.sales-shell .s-table td{padding:16px 12px}.sales-shell .s-table td:first-child strong{display:inline-block;min-width:70px}.sales-shell .s-table tbody tr:nth-child(even){background:#fcfcfd}.sales-editor .s-formgrid{gap:20px}.barcode-controls{padding:18px;background:#f5f7fa;border-radius:10px;margin:18px 0}.barcode-select{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:18px}.barcode-select label{flex-direction:row;align-items:center;font-weight:400}.barcode-controls span{font-size:13px;color:#8b949d}.barcode-sheet{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.barcode-print-card{background:white;border:1px solid #e3e8ed;padding:12px;text-align:center}.barcode-print-card img{display:block;width:100%;height:auto}.barcode-print-card button{margin:12px auto}.barcode-print-card[hidden]{display:none}@media(max-width:900px){.catalog-search{grid-template-columns:1fr}.barcode-sheet{grid-template-columns:1fr}.catalog-tools{justify-content:flex-start}}@media print{body.barcode-printing #app,body.barcode-printing #notice,body.barcode-printing #editor{display:none}body.barcode-printing #output{display:block;position:static;border:0;overflow:visible;width:100%;max-width:none;height:auto;max-height:none;padding:0}body.barcode-printing .dialog-head,body.barcode-printing .barcode-controls,body.barcode-printing .barcode-print-card button{display:none}body.barcode-printing .barcode-sheet{display:grid;grid-template-columns:90mm 90mm;gap:6mm;justify-content:center}body.barcode-printing .barcode-print-card{break-inside:avoid;border:0;padding:0;margin:0}body.barcode-printing .barcode-print-card img{width:90mm;height:auto;max-height:none}}
.quote-print-sheet{max-width:760px;margin:20px auto;background:white;border:1px solid #e5e9ee}.quote-print-sheet img{width:100%;display:block}@media print{body.quote-printing .quote-print-sheet{border:0;margin:0 auto;width:186mm;max-width:100%}body.quote-printing .quote-print-sheet img{max-height:270mm;width:auto;max-width:186mm;object-fit:contain;margin:auto}}
.sales-shell .pricing-actions{display:grid;grid-template-columns:repeat(2,minmax(88px,1fr));max-width:230px}.detail-primary-actions{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:24px}.detail-eyebrow{font-size:13px;color:#85909b}.pricing-hero{padding:22px;background:#f8f9fb;border:1px solid #e8edf1;border-radius:12px}.pricing-hero h2{margin:10px 0 18px}.pricing-hero .price-value{font-size:28px}.pricing-hero small{font-size:14px;color:#89959f;font-weight:400}.detail-tabs{display:flex;gap:6px;border-bottom:1px solid #e2e8ee;margin:0 0 24px;overflow-x:auto}.detail-tabs button{border:0;border-radius:0;box-shadow:none;background:transparent;color:#7a8791;padding:14px 18px;white-space:nowrap;border-bottom:3px solid transparent}.detail-tabs button[aria-selected=true]{border-bottom-color:#dd6842;color:#c95f39;background:#fff8f4}.detail-section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:15px}[data-detail-pane][hidden]{display:none}#quote-history-slot>.s-panel{border:0;padding:0;box-shadow:none}.form-section-title{padding:14px 16px;background:#f4f6f8;border-radius:8px;border-left:3px solid #d78868;margin-top:24px}.product-basics{padding:5px 8px 18px}.sales-editor .s-footer{position:sticky;bottom:-24px;background:white;border-top:1px solid #e5e9ef;padding:18px 0;margin-top:24px;z-index:3}.sales-editor [data-quote-price]{min-width:105px;width:135px}@media print{body.quote-printing .quote-page{break-inside:avoid;break-after:page}body.quote-printing .quote-page:last-child{break-after:auto}}@media(max-width:700px){.pricing-hero{padding:14px;gap:14px}.detail-section-heading{align-items:flex-start;flex-direction:column}.detail-tabs button{padding:12px}.pricing-hero .price-value{font-size:23px}}
/* The home sequence is decorative: all three entrances are usable immediately. */
.studio-intro{position:relative;padding:28px 30px 22px;background:linear-gradient(120deg,#fcf5f0,#f7eff3 75%,#eeeaf3);border:1px solid #eadfe4;border-radius:20px;overflow:hidden;margin:6px 0 28px}.studio-defs{position:absolute}.studio-heading{display:flex;justify-content:space-between;gap:22px;align-items:flex-start}.studio-heading span{font-size:11px;letter-spacing:2px;color:#a17c8e}.studio-heading h1{font-size:30px;font-weight:600;letter-spacing:2px;margin:12px 0;color:#5b3c50}.studio-heading p{font-size:14px;color:#8b7482;margin:10px 0 24px}.studio-heading button{border-color:#dccbd3;background:#fff8;font-size:12px;color:#866476;white-space:nowrap}.studio-process{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.studio-stage{min-width:0;background:#ffffffa6;border:1px solid #eee0e6;border-radius:13px;padding:8px 16px 16px;position:relative}.studio-art{height:180px}.studio-art svg{height:100%;width:100%;display:block}.studio-stage-title{display:flex;align-items:center;gap:10px;border-top:1px solid #eee4e8;padding-top:12px}.studio-stage-title span{font-size:11px;color:#b18c9e}.studio-stage h2{font-size:14px;font-weight:500;margin:0;color:#725567}.studio-progress{height:3px;background:#eadfe5;margin:20px 0 0;border-radius:4px;overflow:hidden}.studio-progress i{display:block;height:100%;width:100%;background:linear-gradient(90deg,#d5b8a2,#ac718e)}.is-playing .studio-stage{animation:studio-arrive .8s both;animation-delay:calc(var(--stage)*1.5s)}.is-playing .studio-progress i{animation:studio-progress 6s ease-out both}.is-playing .sketch-line{stroke-dasharray:700;animation:studio-draw 1.5s ease-out both}.is-playing .studio-pencil{animation:pencil-move 1.5s ease-in-out}.is-playing .studio-scissors{animation:scissors-move 1.5s 1.5s both}.is-playing .studio-needle{animation:needle-move .16s 3s 9 alternate}.is-playing .finished-dress{transform-origin:120px 30px;animation:dress-sway 1.5s 4.5s both}.is-playing .studio-spark{animation:studio-arrive .7s 5s both}.home-entry-heading{display:flex;justify-content:space-between;align-items:center;margin:24px 0 16px}.home-entry-heading h2{font-size:19px;color:#52616b;margin:0}.home-entry-heading span{font-size:12px;color:#9aa3ac}.home-entry{min-height:190px;padding:22px}.home-entry h2{margin:16px 0 12px;font-size:20px}.home-entry strong{margin-top:22px}.peer-summary{min-width:210px;max-width:290px}.peer-summary-row{display:grid;grid-template-columns:minmax(70px,1fr) auto;gap:5px 10px;border-bottom:1px solid #edf0f3;padding:8px 0}.peer-summary-row>span{overflow-wrap:anywhere;font-size:13px}.peer-summary-row strong{font-size:14px;color:#836071;white-space:nowrap}.peer-summary-row small{grid-column:1/-1;line-height:1.5}.peer-summary-actions{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}.peer-summary-actions button{padding:5px 8px;font-size:12px;background:#faf7f8;color:#94657a;border-color:#eaddE3}.peer-filters{display:grid;grid-template-columns:minmax(200px,1fr) 170px 135px auto auto;gap:12px;align-items:end}.quotation-total{background:#f6eef2;border:1px solid #eadce4;color:#8e5e73;padding:18px;text-align:right;font-size:19px;font-weight:600;border-radius:10px;margin-top:20px}.sales-editor [data-quote-qty]{width:100px}.sales-editor [data-quote-amount]{white-space:nowrap}.shell .s-table-wrap,.shell .table-wrap{border-radius:10px;border:1px solid #e6ebef}.shell .workspace{max-width:1800px;margin:auto}.shell .table-wrap th,.shell .s-table th{white-space:nowrap}@keyframes studio-arrive{from{opacity:.2;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes studio-progress{from{width:0}to{width:100%}}@keyframes studio-draw{from{stroke-dashoffset:700}to{stroke-dashoffset:0}}@keyframes pencil-move{0%{transform:translate(-12px,40px)}100%{transform:translate(0,0)}}@keyframes scissors-move{from{transform:translate(4px,18px)}to{transform:translate(0,0)}}@keyframes needle-move{from{transform:translateY(-7px)}to{transform:translateY(3px)}}@keyframes dress-sway{0%{transform:rotate(-4deg)}50%{transform:rotate(3deg)}100%{transform:rotate(0)}}@media(prefers-reduced-motion:reduce){.studio-intro *{animation:none}}@media(max-width:1100px){.peer-filters{grid-template-columns:1fr 1fr}.studio-art{height:150px}.studio-intro{padding:22px}.studio-process{gap:10px}.studio-stage{padding:6px 10px 12px}}@media(max-width:700px){.studio-process{grid-template-columns:1fr 1fr}.studio-heading h1{font-size:24px}.studio-heading p{line-height:1.8}.studio-art{height:155px}.peer-filters{grid-template-columns:1fr}.studio-heading span{letter-spacing:0;font-size:10px}}
/* Shared ERP hierarchy: readable labels, distinct active states, quiet table rows. */
:root{--muted:#596b7a} .brand small,.home-welcome p,.home-entry p{color:#596b7a}
.nav .menu-group button,.nav .menu-group a{color:#435567}
.nav .menu-group button.active,.nav a.active{background:#215878;color:#fff;font-weight:700}
.nav .menu-group button:hover,.nav .menu-group a:hover{background:#dcecf6;color:#153f5c}
.nav .menu-group button.active:hover,.nav a.active:hover{background:#174460;color:white}
th{background:#e8f0f6;color:#23445d;font-weight:700;border-bottom:2px solid #b8cddd}
tbody tr:nth-child(even){background:#f7fafc}tbody tr:hover{background:#edf5fb}
label{color:#294b64}input:focus,select:focus,textarea:focus{outline:2px solid #2b749f;outline-offset:2px}
button:focus-visible,a:focus-visible{outline:3px solid #2b749f;outline-offset:3px}
.card h2,.s-panel h2{color:#234c69}.s-formgrid label{font-weight:600}.s-formgrid input,.s-formgrid select,.s-formgrid textarea{font-weight:400;color:#243746}
.ca-filter{display:flex;align-items:end;flex-wrap:wrap;gap:14px;background:#edf4f9;border:1px solid #c3d6e4;border-radius:10px;padding:18px;margin:24px 0 16px}.ca-filter label{display:grid;gap:8px;font-weight:700}.ca-filter input{min-width:270px}.ca-filter select{min-width:150px}
.ca-pending{margin:16px 0;border:1px solid #cfdae4;border-radius:9px;padding:16px;background:white}.ca-pending>summary{cursor:pointer;color:#215878;font-weight:700}.ca-pending[open]>summary{margin-bottom:18px}
.ca-selected,.ca-selected:nth-child(even),.ca-selected:hover{background:#dceefa;box-shadow:inset 4px 0 #2476a5}#ca-selection{margin-left:auto;color:#174c71;background:#e7f1f8;padding:8px 12px;border-radius:6px}.cw-service-heading{gap:16px;flex-wrap:wrap}.cw-service-heading .cw-actions{flex-wrap:wrap}
@media(max-width:700px){.ca-filter label,.ca-filter input{width:100%;min-width:0}.ca-select-all{flex-wrap:wrap}#ca-selection{margin-left:0}}
.workspace-return{display:inline-block;text-decoration:none;color:#1c5273;background:#e9f2f8;border:1px solid #bed2e1;border-radius:7px;padding:9px 13px;font-size:14px;font-weight:700;white-space:nowrap;margin-right:14px}.workspace-return:hover{background:#1c5273;color:white}.login-panel .workspace-return{margin-bottom:20px}.s-table th{background:#e8f0f6;color:#23445d}.s-table tr.ca-selected td,.s-table tr.ca-selected:hover td{background:#dceefa}.s-toolbar,.filterbar{background:#edf4f9;border-radius:8px;padding:14px}.login-brand h1{color:white}.login-brand p{color:#e5f3f5}
.admin-grant{display:flex;gap:24px;align-items:center;background:#edf4f9;border-left:4px solid #3579a1;padding:14px;margin:10px 0}.admin-perms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.topbar{gap:14px;flex-wrap:wrap}.admin-grant select{max-width:330px}
.cd-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.cd-metrics button{text-align:left;padding:20px;background:white;border:1px solid #c9d9e5;border-radius:10px;color:#23485f}.cd-metrics small{display:block;margin-top:10px}.cd-metrics strong{display:block;font-size:27px;margin:12px 0}.cd-metrics button:hover{outline:2px solid #3d80a8}#cd-detail{margin-top:28px;scroll-margin-top:20px}@media(max-width:800px){.cd-metrics{grid-template-columns:1fr}}

/* ERP PURCHASE ANALYSIS 20261111 */
/* Scoped procurement analysis; theme choices and business printouts remain independent. */
@media screen {
 .pa-root{--pa-accent:var(--erp44-brand,#b94f7d);--pa-soft:var(--erp44-soft,#faedf3);--pa-line:var(--erp44-line,#e2e2ee);--pa-ink:var(--erp44-ink,#29304f);--pa-muted:var(--erp44-muted,#626981);color:var(--pa-ink)}
 .pa-root .heading{align-items:center}.pa-root .heading h1{margin-bottom:6px}.pa-root .heading p{color:var(--pa-muted)}
 .pa-root .pa-filter{padding:18px 20px;margin:18px 0}.pa-range-row{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}.pa-period{display:flex;gap:4px;flex-wrap:wrap;padding:4px;background:var(--pa-soft);border-radius:10px}.pa-root .pa-period button{border:0;min-height:36px;padding:7px 17px;background:transparent;color:var(--pa-muted);border-radius:7px}.pa-root .pa-period button[aria-pressed=true]{background:var(--erp44-surface,#fff);color:var(--pa-accent);box-shadow:0 2px 7px #30394b12;font-weight:600}.pa-range-row>span{font-size:12px;color:var(--pa-muted)}
 .pa-filter-fields{display:grid;grid-template-columns:minmax(200px,2fr) minmax(150px,1.3fr) minmax(145px,1fr) minmax(145px,1fr) auto auto;gap:12px;align-items:end;margin-top:16px}.pa-filter-fields label,.pa-panel-heading label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:var(--pa-muted)}.pa-root .pa-filter-fields :is(input,select){width:100%;min-width:0}.pa-root button{white-space:nowrap}.pa-filter-fields button{min-height:38px}
 .pa-root .pa-note{font-size:12px;color:var(--pa-muted);line-height:1.75;margin:10px 0 0}.pa-root #pa-filter-error:empty{display:none}.pa-root #pa-filter-error{margin-top:10px}
 .pa-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0 20px}.pa-metrics article{padding:18px 20px;background:var(--erp44-surface,#fff);border:1px solid var(--pa-line);border-top:3px solid var(--pa-accent);border-radius:11px;min-width:0}.pa-metrics article:nth-child(2){border-top-color:#8998c9}.pa-metrics article:nth-child(3){border-top-color:#c99a63}.pa-metrics article:nth-child(4){border-top-color:#69a58c}.pa-metrics span,.pa-metrics small{display:block;color:var(--pa-muted);font-size:12px}.pa-metrics strong{display:block;font-size:24px;margin:7px 0 5px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
 .pa-tabs{display:flex;gap:20px;border-bottom:1px solid var(--pa-line);overflow-x:auto}.pa-root .pa-tabs button{border:0;border-bottom:3px solid transparent;border-radius:0;padding:11px 4px;background:transparent;color:var(--pa-muted)}.pa-root .pa-tabs button[aria-selected=true]{color:var(--pa-accent);border-bottom-color:var(--pa-accent);font-weight:600}.pa-root .pa-panel{border-radius:0 0 12px 12px;margin-top:0;padding:20px}
 .pa-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:16px}.pa-panel-heading h2{font-size:17px;margin:0 0 5px}.pa-panel-heading p{font-size:12px;color:var(--pa-muted);margin:0}.pa-sort{display:flex;gap:7px;flex-wrap:wrap}.pa-root .pa-sort button[aria-pressed=true]{background:var(--pa-soft);color:var(--pa-accent);border-color:var(--pa-accent)}
 .pa-scroll{overflow:auto;max-width:100%}.pa-root .pa-scroll table{min-width:920px;width:100%;border-collapse:collapse}.pa-root .pa-scroll th{white-space:nowrap}.pa-root .pa-scroll :is(th,td){padding:12px 13px;text-align:left}.pa-root .pa-scroll td{font-variant-numeric:tabular-nums;vertical-align:middle}.pa-root .pa-scroll td small{display:block;margin-top:4px;font-size:11px;color:var(--pa-muted)}.pa-root .pa-scroll td:last-child{min-width:140px}.pa-root .pa-scroll td:last-child button{margin:3px}.pa-rank{display:inline-grid;place-items:center;min-width:27px;height:27px;border-radius:7px;background:var(--pa-soft);color:var(--pa-accent);font-size:12px}
 .pa-product{display:flex;align-items:center;gap:12px;min-width:190px}.pa-product>div{min-width:100px;max-width:260px;overflow-wrap:anywhere}.pa-product strong{font-size:14px}.pa-root .pa-thumb{width:58px;height:66px;min-width:58px;flex-shrink:0;padding:3px;border:1px solid var(--pa-line);background:var(--erp44-surface,#fff);position:relative;border-radius:9px}.pa-thumb img{width:100%;height:100%;object-fit:contain}.pa-thumb>span{position:absolute;bottom:0;right:1px;background:var(--erp44-surface,#fff);border-radius:5px;font-size:13px;line-height:17px;color:var(--pa-accent)}.pa-no-photo{display:grid;place-items:center;flex-shrink:0;width:58px;height:66px;border-radius:9px;background:var(--pa-soft);color:var(--pa-muted);text-align:center;font-size:11px;padding:4px}.pa-root .pa-thumb:hover{border-color:var(--pa-accent);box-shadow:0 2px 8px #30394b15}
 .pa-root .pa-empty{padding:35px;text-align:center;color:var(--pa-muted)}.pa-source{display:inline-block;padding:3px 7px;background:var(--pa-soft);color:var(--pa-accent);border-radius:5px;font-size:12px}.pa-down{color:var(--erp46-success,#357658);font-weight:600}.pa-up{color:var(--erp46-warning,#8c641f);font-weight:600}.pa-pager{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;color:var(--pa-muted);margin-top:16px;flex-wrap:wrap}.pa-pager>div{display:flex;gap:12px;align-items:center}
 .pa-charts{display:grid;grid-template-columns:1fr 1fr;gap:20px}.pa-charts>section{border:1px solid var(--pa-line);border-radius:10px;padding:18px}.pa-charts h3{font-size:15px;margin:0 0 16px}.pa-bar-row{display:grid;grid-template-columns:115px minmax(30px,1fr) 100px;align-items:center;gap:12px;margin:14px 0;font-size:12px}.pa-bar-row>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pa-bar-row>div{height:7px;background:var(--pa-soft);border-radius:10px}.pa-bar-row i{height:100%;display:block;background:var(--pa-accent);border-radius:10px}.pa-bar-row b{text-align:right;font-variant-numeric:tabular-nums;font-weight:500}
 body dialog.pa-photo-dialog{padding:0;width:min(640px,calc(100vw - 36px));max-height:90vh;border:1px solid var(--erp44-line,#e2e2ee);border-radius:15px;background:var(--erp44-surface,#fff);box-shadow:0 20px 80px #25243f45}.pa-photo-dialog::backdrop{background:#29304880;backdrop-filter:blur(3px)}.pa-photo-dialog>header{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:16px 20px;border-bottom:1px solid var(--erp44-line,#e2e2ee)}.pa-photo-dialog h2{font-size:18px;margin:0}.pa-photo-dialog p{margin:5px 0 0;color:var(--erp44-muted,#626981);font-size:12px}.pa-photo-stage{height:min(52vh,440px);padding:18px;background:var(--erp44-soft,#faedf3);display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);place-items:center;overflow:hidden}.pa-photo-stage img{width:100%;height:100%;min-width:0;min-height:0;object-fit:contain}.pa-photo-stage [hidden]{display:none}.pa-photo-dialog footer{padding:12px 20px;color:var(--erp44-muted,#626981);font-size:12px}.pa-root button:focus-visible,.pa-photo-dialog button:focus-visible{outline:3px solid var(--erp44-brand,#b94f7d);outline-offset:2px}
 @media(max-width:1200px){.pa-filter-fields{grid-template-columns:minmax(140px,1fr) minmax(140px,1fr) auto auto}.pa-filter-fields>label:first-child{grid-column:1 / 3}.pa-filter-fields>label:nth-child(2){grid-column:3 / 5;min-width:180px}.pa-filter-fields>label:nth-child(3){grid-column:1;grid-row:2}.pa-filter-fields>label:nth-child(4){grid-column:2;grid-row:2}.pa-filter-fields>button{grid-row:2;min-width:76px}.pa-metrics strong{font-size:21px}.pa-panel-heading{align-items:flex-start;flex-wrap:wrap}.pa-charts{grid-template-columns:1fr}}
 @media(max-width:650px){.pa-filter-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.pa-filter-fields>label:first-child,.pa-filter-fields>label:nth-child(2){grid-column:1 / -1;grid-row:auto;min-width:0}.pa-filter-fields>label:nth-child(3),.pa-filter-fields>label:nth-child(4),.pa-filter-fields>button{grid-column:auto;grid-row:auto}.pa-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.pa-root .pa-filter,.pa-root .pa-panel{padding:14px}.pa-metrics article{padding:13px}.pa-tabs{gap:14px}.pa-bar-row{grid-template-columns:85px minmax(20px,1fr) 90px}.pa-period button{padding:7px 10px}}
}

/* Muse v2: keep the existing analysis structure and make filter/total scope explicit. */
@media screen {
 html:root:root:root body #app #pa-root .pa-filter-fields{align-items:end}
 html:root:root:root body #app #pa-root .pa-filter-fields label{font-size:12px;line-height:18px;font-weight:500;gap:5px;min-width:0}
 html:root:root:root body #app #pa-root .pa-filter-fields :is(input,select,button){height:34px;min-height:34px;box-sizing:border-box;margin:0}
 html:root:root:root body #app #pa-root .pa-filter-fields label :is(input,select){width:100%;min-width:0;line-height:20px;padding-block:6px}
 html:root:root:root body #app #pa-root .pa-scroll .pa-number,
 html:root:root:root body #app #pa-root .pa-page-total :is([data-pa-page-qty],[data-pa-page-count],[data-pa-page-amount]){text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
 html:root:root:root body #app #pa-root .pa-scroll:has(.pa-page-total) th:nth-child(n+3):nth-child(-n+6){text-align:right}
 html:root:root:root body #app #pa-root .pa-page-total :is(th,td){font-size:12px;background:var(--muse-card-soft,#f5f2ee);border-top:1px solid var(--muse-line,#e6dfd8);color:var(--muse-ink,#33302e);font-weight:600;padding:9px 12px}
 html:root:root:root body #app #pa-root .pa-page-total td:last-child{color:var(--muse-muted,#746e69);font-weight:400;text-align:right}
 html:root:root:root body #app #pa-root button.pa-view-link[data-pa-compare]{background:transparent;color:var(--muse-muted,#746e69);border-color:transparent;box-shadow:none;padding:3px 0;text-decoration:none}
 html:root:root:root body #app #pa-root button.pa-view-link[data-pa-compare]:hover{color:var(--muse-ink,#33302e);text-decoration:underline}
}

/* Muse v2: one compact header, fixed common navigation and contextual feedback. */
@media screen {
 #app .wf-muse-v2>header.wf-header{grid-template-columns:142px minmax(150px,190px) minmax(140px,1fr) 180px 38px auto 140px;grid-template-rows:48px;gap:8px;padding:6px 14px;height:auto;min-height:60px;overflow:visible;z-index:60}
 #app .wf-muse-v2>header.wf-header>strong.hb44-brand{grid-column:1;grid-row:1;min-width:0}
 #app .wf-muse-v2>header.wf-header>.hb44-status-panel{grid-column:2;grid-row:1;padding-left:8px;overflow:hidden}
 #app .wf-muse-v2 .wf-header .hb44-copy{min-width:0;gap:0}
 #app .wf-muse-v2 .wf-header .hb44-kicker{font-size:10px;line-height:13px}
 #app .wf-muse-v2 .wf-header .hb44-title{font-size:12px;line-height:18px}
 #app .wf-muse-v2 .wf-header .hb44-phase{display:none}
 #app .wf-muse-v2 .wf-header .hb44-quote{display:block;font-size:10px;line-height:13px}
 #app .wf-muse-v2 .wf-header .hb44-name{font-size:19px}
 #app .wf-muse-v2 .wf-header .wp44-quicksearch{grid-column:4;grid-row:1;width:100%;min-width:0}
 #app .wf-muse-v2>header.wf-header #wf-module-tabs{grid-column:5;grid-row:1}
 #app .wf-muse-v2 .wf-header .wp44-account{grid-column:7;grid-row:1;min-width:0;max-width:140px}
 #app .wf-muse-v2 .wf-header .wp44-ticker{grid-column:3;grid-row:1;display:flex;align-items:center;gap:5px;min-width:0;width:100%;max-width:none;min-height:32px;padding:0 5px;overflow:hidden}
 #app .wf-muse-v2 .wf-header .wp44-ticker::before{display:none}
 #app .wf-muse-v2 .wp44-ticker-window{display:block;min-width:0;flex:1;overflow:hidden;mask-image:none}
 #app .wf-muse-v2 :is(.wp44-ticker-track,.wp44-ticker-group){display:block;width:100%;min-width:0;animation:none;transform:none;gap:0;padding:0}
 #app .wf-muse-v2 .wp44-ticker-item{display:flex;align-items:center;gap:5px;width:100%;max-width:100%;min-width:0;padding:0;min-height:28px;border:0;background:transparent;box-shadow:none;text-align:left;cursor:pointer;font-size:11px;color:var(--muse-ink,#33302e)}
 #app .wf-muse-v2 .wp44-ticker-item>img,#app .wf-muse-v2 .wp44-ticker-item>strong{display:none}
 #app .wf-muse-v2 .wp44-ticker-item .wp44-tag{flex:none;animation:none;font-size:10px;max-width:66px;padding:1px 4px;line-height:18px}
 #app .wf-muse-v2 .wp44-ticker-item .wp44-tag-icon{width:12px;height:12px;animation:none}
 #app .wf-muse-v2 .wp44-notice-text{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 #app .wf-muse-v2 .wp44-all-notices{flex:none;white-space:nowrap;padding:3px 2px;min-height:28px;border:0;background:transparent;color:#746e69;font-size:11px}
 #app .wf-muse-v2 .wp44-all-notices:hover{text-decoration:underline}
 #app .wf-muse-v2 .wf-tab-row{flex-wrap:nowrap;min-height:36px;padding:2px 12px}
 #app .wf-muse-v2 .wf-tab-row #wf-tabs{max-width:100%;flex:1;min-height:32px}
 #app .wf-muse-v2.wf-is-home #wf-page-actions{display:none}
 #app .wf-muse-v2>.wf-sidebar{overflow:hidden;min-height:0;padding-top:8px}
 #app .wf-muse-v2 #wf-home-button{flex:none;margin-bottom:0}
 #app .wf-muse-v2 #wf-nav{display:flex;flex-direction:column;overflow:hidden;min-height:0;scrollbar-gutter:auto}
 #app .wf-muse-v2 #wf-nav>.wf-group-common{flex:none;margin:0;padding-bottom:6px;border-bottom:1px solid var(--muse-line,#e6dfd8)}
 #app .wf-muse-v2 #wf-nav>.wf-nav-business{flex:1;min-height:0;overflow-y:auto;scrollbar-gutter:stable;padding-bottom:12px}
 #app .wf-muse-v2 #wf-nav .wf-nav-feedback>button{display:flex;flex:1;align-items:center;min-height:30px;padding:5px 8px;font-size:12px;color:#746e69;background:transparent;border:0}
 #app .wf-muse-v2 #wf-nav .wf-nav-saved{padding:4px 8px;margin:0;border:0;border-radius:0;font-size:11px;color:#746e69}
 #app .wf-muse-v2 #wf-nav .wf-nav-saved summary{cursor:pointer;line-height:23px}
 #app .wf-muse-v2 #wf-nav .wf-nav-saved>div{max-height:210px;overflow-y:auto;padding-bottom:5px}
 #app .wf-muse-v2 #wf-nav .wf-nav-saved :is(p,small){font-size:11px;line-height:1.5;margin:3px 0}
 #app .wf-muse-v2 #wf-nav .wf-nav-count[data-count-tone="pending"]{background:#e9e2da;color:#615a52}
 #app .wf-muse-v2 #wt-strip{grid-column:6;grid-row:1;display:block;flex:none;min-width:0;max-width:126px;height:32px;min-height:32px;overflow:visible;padding:0;background:transparent;border:0;position:relative}
 #app .wf-muse-v2 #wt-strip[hidden]{display:none}
 #app .wf-muse-v2 .wt-feedback-menu{display:block;position:relative;box-sizing:border-box;height:32px;margin:0;padding:0;border:0;border-radius:0;background:transparent}
 #app .wf-muse-v2 .wt-feedback-menu>summary{cursor:pointer;display:flex;align-items:center;gap:4px;box-sizing:border-box;list-style:none;white-space:nowrap;height:32px;margin:0;padding:4px 7px;border:1px solid var(--muse-line,#e6dfd8);border-radius:7px;font-size:12px;background:#fff;color:#746e69}
 #app .wf-muse-v2 .wt-feedback-menu>summary::-webkit-details-marker{display:none}
 #app .wf-muse-v2 .wt-feedback-total{margin-left:0;min-width:17px;padding:1px 4px;border-radius:10px;background:#e9e2da;color:#615a52;font-size:11px;text-align:center;font-variant-numeric:tabular-nums}
 #app .wf-muse-v2 #wt-strip .wt-feedback-list{position:absolute;right:0;top:38px;z-index:80;display:flex;flex-direction:column;align-items:stretch;gap:0;width:min(420px,85vw);max-height:360px;overflow:auto;padding:7px;border:1px solid var(--muse-line,#e6dfd8);border-radius:10px;background:#fff;box-shadow:0 12px 32px #33302e24}
 #app .wf-muse-v2 #wt-strip .wt-feedback-menu:not([open])>.wt-feedback-list{display:none}
 #app .wf-muse-v2 #wt-strip .wt-ticker-item{display:flex;align-items:flex-start;gap:7px;white-space:normal;width:100%;padding:9px 6px;border-bottom:1px solid var(--muse-line,#e6dfd8);font-size:12px;line-height:1.5;text-align:left;color:var(--muse-ink,#33302e)}
 #app .wf-muse-v2 #wt-strip .wt-ticker-item:last-child{border-bottom:0}
 #app .wf-muse-v2 #wt-strip :is(.wt-mascot,.wt-tag>span){display:none}
 #app .wf-muse-v2 #wt-strip .wt-tag{flex:none;max-width:105px;font-size:10px;white-space:normal}
 #app .wf-muse-v2 #wt-strip .wt-snippet{min-width:0;overflow-wrap:anywhere}
 #app .wf-muse-v2 #wt-strip summary:focus-visible{outline:2px solid var(--erp44-brand,#c24b78);outline-offset:2px}
 #app .wf-muse-v2 #wf-home .ehd-todo-row{min-height:64px;padding:5px 0}
 #app .wf-muse-v2 #wf-home .ehd-todo-third{height:21px}
}
@media screen and (max-width:1100px){
 #app .wf-muse-v2>header.wf-header{grid-template-columns:125px 150px minmax(95px,1fr) 150px 32px auto 125px;gap:6px;padding-inline:10px}
 #app .wf-muse-v2 .wp44-ticker-item .wp44-tag{display:none}
 #app .wf-muse-v2 .wf-header .hb44-name{font-size:18px}
 #app .wf-muse-v2 #wt-strip{max-width:100px}
}
@media screen and (max-width:850px){
 #app .wf-muse-v2>header.wf-header{grid-template-columns:120px minmax(90px,1fr) 140px auto 125px;grid-template-rows:48px 28px;gap:4px 6px}
 #app .wf-muse-v2 .wf-header>.hb44-status-panel{grid-column:2;grid-row:1}
 #app .wf-muse-v2 .wf-header .wp44-quicksearch{grid-column:3;grid-row:1}
 #app .wf-muse-v2>header.wf-header #wf-module-tabs{grid-column:1;grid-row:2}
 #app .wf-muse-v2 .wf-header .wp44-account{grid-column:5;grid-row:1}
 #app .wf-muse-v2 #wt-strip{grid-column:4;grid-row:1}
 #app .wf-muse-v2 .wf-header .wp44-ticker{grid-column:2/-1;grid-row:2;min-height:26px}
}
@media screen and (max-width:600px){
 #app .wf-muse-v2>header.wf-header{grid-template-columns:110px minmax(0,1fr) auto;grid-template-rows:44px 30px;gap:4px;padding-inline:8px}
 #app .wf-muse-v2 .wf-header .hb44-status-panel{grid-column:2;grid-row:1}
 #app .wf-muse-v2 .wf-header .wp44-account{grid-column:3;grid-row:1;max-width:90px}
 #app .wf-muse-v2 .wp44-account-copy{display:none}
 #app .wf-muse-v2 .wf-header .wp44-quicksearch{grid-column:1;grid-row:2}
 #app .wf-muse-v2 .wf-header .wp44-ticker{grid-column:2;grid-row:2}
 #app .wf-muse-v2 #wt-strip{grid-column:3;grid-row:2}
 #app .wf-muse-v2>header.wf-header #wf-module-tabs{display:none}
 #app .wf-muse-v2 #wf-home .ehd-todo-row{grid-template-columns:minmax(0,1fr) 70px}
}

/* customer_work.css */
.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}body.cw-printing #output{display:block;position:static;width:100%;max-width:none;height:auto;max-height:none;overflow:visible;border:0;padding:0;margin:0}body.cw-printing #output>*:not(.cw-print-pages){display:none}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}.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;color:#fff}.login .login-brand h1,.login .login-brand h2,.login .login-brand p,.login .login-brand a{color:#fff;opacity:1}.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;color:white;border-color:#245777;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;background:#e1f3e9;padding:6px 9px;border-radius:5px}.ca-unpaid{color:#aa351b;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;color:#fff;border:2px solid #125774;font-weight:800;box-shadow:0 3px 8px #176b8830}button[data-ca="statement"]:hover{background:#104e68}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;height:50mm}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;border-color:#6b9de1;color:#1758a4;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;flex-direction:row;align-items:center;gap:9px;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;height:17px;margin:0;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)}
 html:root:root:root body #s-content .ca-order-compact .is-refund{color:var(--muse-bad,#cf4444)}
 html:root:root:root body #s-content .ca-order-compact .is-settled{color:var(--muse-good,#2f8f66)}
 html:root:root:root body #s-content .ca-order-compact .is-partial{color:var(--muse-muted,#746e69)}
 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);background:transparent;border-color:transparent;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}
 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;border:0;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;border-color:transparent;color:var(--muse-muted,#746e69);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}
}

/* workflow.css */
.wf-shell{display:flex;height:100vh;background:#f1f5f8;color:#253e4d}.wf-sidebar{width:246px;min-width:246px;display:flex;flex-direction:column;background:#fff;border-right:1px solid #d0dfe6;padding:16px 12px}.wf-sidebar h1{font-size:23px;margin:5px 8px 16px}.wf-sidebar small{display:block;font-size:12px;color:#638092;margin-top:6px}.wf-sidebar input{width:100%;margin-bottom:12px}.wf-sidebar nav{overflow-y:scroll;scrollbar-gutter:stable;flex:1}.wf-sidebar section{margin-bottom:16px}.wf-sidebar h2{font-size:21px;padding:10px;border-left:5px solid #2b657e;background:#eef5f8;margin:0 0 5px}.wf-group-purchase h2{color:#9c632a;border-color:#c58b42;background:#fcf5e9}.wf-group-sales h2{color:#257158;border-color:#48a585;background:#eaf7f0}.wf-group-keywork h2{color:#66501e;border-color:#c6a044;background:#fbf6e6}.wf-group-production h2{color:#595386;border-color:#8d83ba;background:#f2effa}.wf-nav-item{display:flex;align-items:center}.wf-nav-item button{border:0;background:transparent;padding:10px;text-align:left}.wf-nav-item button:first-child{flex:1;font-size:14px}.wf-nav-item .active{background:#2b6077;color:white;border-radius:7px}.wf-main{flex:1;min-width:0;display:flex;flex-direction:column}.wf-header{height:55px;background:white;border-bottom:1px solid #dde5e9;display:flex;align-items:center;gap:18px;padding:10px 22px}.wf-header span{margin-left:auto}.wf-tabs{display:flex;min-height:43px;overflow-x:auto;background:#e9eff3;gap:4px;padding:5px 8px}.wf-tabs span{display:flex;white-space:nowrap}.wf-tabs button{background:transparent;border:0;padding:7px;font-size:13px}.wf-tabs .active{background:white;border-top:3px solid #2b6077}.wf-main #wf-frames{flex:1;min-height:0;position:relative}.wf-main iframe{border:0;width:100%;height:100%;background:#f1f5f8}.wf-main iframe[hidden]{display:none}.wf-login-choice{display:block;width:100%;margin:10px 0}.wf-embedded .shell>aside{display:none}.wf-embedded .shell{grid-template-columns:1fr;display:block}.wf-embedded .shell>.main{margin-left:0;width:100%}.wf-embedded .topbar{display:none}.wf-embedded .workspace{padding:18px}.wf-embedded .cw-heading h1,.wf-embedded .s-heading h1{font-size:25px}.wf-embedded .cw-heading,.wf-embedded .s-heading{margin-bottom:18px}.wf-embedded .cw-eyebrow{display:none}.wf-vip{display:inline-block;color:#efd391;background:#25262b;border:1px solid #bc9650;border-radius:5px;padding:4px 9px;font-weight:700}.wf-normal{color:#1c7257;background:#e0f3eb;border-radius:5px;padding:4px 9px;font-weight:700}.wf-check{min-width:20px;min-height:20px;accent-color:#2b6077}.wf-selected{background:#e1f0f7;outline:1px solid #81aec4}.wf-tools{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:12px;background:#f0f5f8;border:1px solid #d3e0e7;margin:12px 0}.wf-tools input,.wf-tools select{max-width:240px}.wf-tools button{white-space:nowrap}.wf-child{width:min(780px,95vw);max-height:90vh;overflow:auto;padding:24px;border:1px solid #cedce5;border-radius:14px}.wf-child::backdrop{background:#243e5066}.wf-child .s-formgrid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.wf-charts{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0}.wf-chart{background:white;border:1px solid #d5e2e9;border-radius:9px;padding:20px;overflow:hidden}.wf-chart h3{margin-top:0}.wf-chart button{display:block;width:100%;margin:8px 0;text-align:left;position:relative;background:linear-gradient(90deg,#dceef7 var(--bar),transparent var(--bar));border:1px solid #dfe7ec}.wf-chart svg{width:100%;height:180px}.s-table{border-collapse:collapse}.s-table th,.s-table td{border:1px solid #cbdce6}.s-table tbody tr:nth-child(even){background:#f5f9fb}.wf-price-reference{color:#35667f;font-size:13px;margin:8px 0}.wf-price-reference summary{cursor:pointer}.wf-embedded .table-wrap{max-width:100%;overflow:auto}@media(max-width:900px){.wf-sidebar{width:190px;min-width:190px}.wf-charts{grid-template-columns:1fr}}@media print{.wf-tools{display:none}}
.wf-chart .s-photo{width:42px;height:46px;vertical-align:middle;margin-right:10px;object-fit:contain}.wf-chart .s-empty-photo{display:none}.s-card-grid .s-good>.s-photo{width:100%;height:230px;object-fit:contain;background:#f0f5f8}

/* The legacy global aside rule is fixed-position. The portal sidebar must stay in flex flow. */
.wf-sidebar{position:relative;inset:auto;flex:0 0 246px;height:100vh;min-height:0;color:#253e4d;z-index:1}
.wf-main{margin:0;width:0;flex:1 1 0;height:100vh;overflow:hidden}
.wf-header,.wf-tabs{flex-shrink:0}.wf-header [hidden]{display:none}
.wf-main #wf-frames{overflow:hidden}.wf-main iframe{position:absolute;inset:0;display:block}.wf-main iframe[hidden]{display:none}
#wf-home{height:100%;overflow:auto;padding:30px}#wf-home[hidden]{display:none}
#wf-home-button{margin-bottom:12px;text-align:left}#wf-home-button.active{background:#2b6077;color:white}
.wf-welcome{background:#fff;border:1px solid #d3e0e7;border-radius:12px;padding:24px;margin-bottom:22px}.wf-welcome h2{font-size:29px;margin:8px 0 14px}.wf-welcome p{color:#5d7585;line-height:1.7;margin:6px 0}
.wf-home-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.wf-home-card{background:white;border:1px solid #d3e0e7;border-radius:10px;padding:24px}.wf-home-card h2{font-size:25px;margin:0 0 12px;padding:10px;border-left:5px solid}.wf-home-card p{color:#566f80;margin:12px 0 22px}.wf-home-card button{min-width:145px}.wf-home-help{margin:24px 0;color:#5d7585}.wf-home-help>div{display:flex;flex-wrap:wrap;gap:20px}.wf-home-help a{color:#285f78}
@media(max-width:900px){.wf-sidebar{flex-basis:190px;width:190px;min-width:190px}#wf-home{padding:18px}.wf-home-cards{grid-template-columns:1fr}}

/* Homepage: scoped to portal, retaining original business forms. */
.wf-welcome{display:flex;justify-content:space-between;gap:24px;align-items:center;border:1px solid #d8e4eb;border-left:5px solid #2b637b}
.wf-welcome .wf-eyebrow{font-size:13px;font-weight:700;letter-spacing:.5px;color:#557587}
.wf-home-date{font-size:13px;color:#738895;line-height:1.9;text-align:right;white-space:nowrap}
.wf-home-cards{align-items:stretch}.wf-home-card{border-top:4px solid var(--home-accent,#2b637b);box-shadow:0 3px 12px #244c6510}
.wf-home-card.wf-group-purchase{--home-accent:#b27620}.wf-home-card.wf-group-sales{--home-accent:#258064}.wf-home-card.wf-group-keywork{--home-accent:#927231}.wf-home-card.wf-group-production{--home-accent:#795c9f}
.wf-home-card h2{color:var(--home-accent);font-size:28px}.wf-home-card .primary{background:var(--home-accent);border-color:var(--home-accent)}
.wf-home-card .primary:disabled{opacity:.5;cursor:default}.wf-card-top{display:flex;justify-content:space-between;align-items:center}.wf-step{font-size:14px;font-weight:800;color:var(--home-accent)}.wf-home-state{font-size:12px;color:#71838f}
.wf-vip{display:inline-block;vertical-align:middle;background:#252626;color:#e7c779;border:1px solid #b99850;border-radius:5px;padding:3px 8px;font-size:12px;letter-spacing:1px}
.wf-home-shortcuts{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.wf-home-shortcuts button{font-size:13px;padding:9px 12px;border:1px solid #d7e4eb;background:#f7fafc;color:#2c5368;text-align:left}.wf-home-shortcuts button:hover{background:#e9f2f7}.wf-home-shortcuts button span{margin-left:8px}
.wf-home-panels{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px}.wf-home-panel{background:white;border:1px solid #d8e4eb;border-radius:12px;padding:22px}.wf-home-panel h3{margin:0;font-size:18px}.wf-home-panel h3 small{font-size:13px;background:#eaf2f7;padding:3px 8px;border-radius:8px}.wf-empty{color:#708593;font-size:14px}.wf-home-favorite{display:flex}.wf-home-favorite button:last-child{color:#a67d2a;padding:8px}
.wf-home-help{display:flex;gap:20px;align-items:flex-start;flex-wrap:wrap}.wf-home-help summary{cursor:pointer;color:#617c8c;font-size:14px;padding:12px 0}
@media(min-width:1500px){.wf-home-cards{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:900px){.wf-home-panels{grid-template-columns:1fr}.wf-welcome{align-items:flex-start}.wf-home-date{display:none}#wf-home{padding:18px}}

#wf-more-tabs{max-width:180px;font-size:13px;padding:5px;border:1px solid #cad9e2;background:white}.wf-tabs>span{flex-shrink:0}.wf-tab-home{flex-shrink:0}

/* Compact grouped navigation inspired by the supplied reference. */
.wf-sidebar{padding:12px 0;width:220px;min-width:220px;flex-basis:220px}.wf-sidebar h1{margin:8px 18px 18px}.wf-sidebar>#wf-home-button,.wf-sidebar>#wf-search{margin-left:12px;margin-right:12px;width:calc(100% - 24px)}.wf-sidebar nav{scrollbar-width:thin}.wf-sidebar section{margin-bottom:14px}.wf-sidebar section h2{margin:0;padding:0;border:0;background:transparent;font-size:17px}.wf-sidebar h2>button{display:flex;justify-content:space-between;align-items:center;width:100%;border:0;border-radius:0;background:transparent;color:inherit;text-align:left;padding:12px 20px;font-size:17px;font-weight:700}.wf-sidebar section>div[hidden]{display:none}.wf-sidebar .wf-nav-item{padding:0}.wf-sidebar .wf-nav-item button:first-child{font-size:13px;padding:9px 12px 9px 22px;border-radius:0;min-height:34px}.wf-sidebar .wf-nav-item button:last-child{padding:7px 10px;font-size:13px}.wf-sidebar .wf-nav-item:has(.active){background:#ff590f}.wf-sidebar .wf-nav-item .active{background:#ff590f;color:white}.wf-sidebar .wf-nav-item:has(.active)>button{color:white}.wf-sidebar .wf-nav-item:hover{background:#fff3eb}.wf-sidebar .wf-nav-item:has(.active):hover{background:#ff590f}.wf-sidebar section>h2:not(:has(button)){padding:10px 20px;color:#81909b;font-size:14px}
.wf-tabs{background:#fafbfc;align-items:center;border-bottom:1px solid #e7eaed;gap:0;min-height:46px;padding:0 12px}.wf-tabs>span{border-right:1px solid #e6e8ed;border-radius:0}.wf-tabs .active{border-top:0;background:white;border-bottom:2px solid #ff590f}.wf-tabs>span>button:first-child{padding:10px 12px;color:#738094}.wf-tabs .active>button:first-child{color:#263645}.wf-tabs>span>button:last-child{font-size:12px;color:#a0a8b0;padding:5px}#wf-more-tabs{margin-left:10px;border:0;background:transparent}.wf-tab-home{font-size:13px}

/* Main actions: consistent orange across purchase, sales, key accounts and dialogs. */
:root body button.primary,:root body a.primary{background:#ed580b;border-color:#ed580b;color:#fff}
:root body button.primary:hover:not(:disabled),:root body a.primary:hover{background:#d84a04;border-color:#d84a04;color:#fff}
:root body button.primary:active:not(:disabled),:root body a.primary:active{background:#c64103;border-color:#c64103}
:root body button.primary:focus-visible,:root body a.primary:focus-visible{outline:3px solid #ffc49f;outline-offset:2px}
:root body button.primary:disabled{background:#f0b393;border-color:#f0b393;color:#fff;cursor:not-allowed}
.wf-customer-options{display:flex;flex-direction:column;gap:3px;max-height:220px;overflow:auto}.wf-customer-options:empty{display:none}.wf-customer-options button{text-align:left;font-size:13px;padding:8px 10px;background:#fff;border:1px solid #dbe4ea}.wf-customer-options button:hover{background:#fff1e7;border-color:#ed580b}[data-wf-customer-search]{width:100%}

/* Independent workspaces use the same compact navigation as the portal. */
.shell>aside .nav .menu-group{border:0;margin:0 0 12px;background:transparent;box-shadow:none}
.shell>aside .nav .menu-group summary{padding:12px 16px;font-size:17px;line-height:1.4;font-weight:700;background:transparent;color:#71818c}
.shell>aside .nav .menu-group button,.shell>aside .nav .menu-group a{display:block;width:100%;padding:9px 18px;margin:0;border:0;border-radius:0;font-size:13px;line-height:1.4;text-align:left;background:white;color:#283b49;box-shadow:none}
.shell>aside .nav .menu-group button.active,.shell>aside .nav a.active{background:#ff590f;color:white;border-left:0;box-shadow:none}
.shell>aside .nav .menu-group button:hover:not(.active),.shell>aside .nav .menu-group a:hover:not(.active){background:#fff2e8;color:#283b49}
.shell>aside .nav{overflow-y:auto;scrollbar-width:thin}
/* 0.6.4: preview dashboard layout, backed by live business data. */
.dash-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.dash-heading h2{font-size:20px;margin:0 0 6px}.dash-heading p,.dash-panel>small{color:var(--muted,#6f6b66);font-size:12px}.dash-period{display:flex;gap:8px;margin-bottom:16px}.dash-period button.selected{background:#2c6076;color:white}.dash-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.dash-metrics button{text-align:left;background:white;border:1px solid #d4e1e9;border-radius:12px;padding:12px;min-width:0}.dash-metrics strong{font-size:24px;color:#2d6a94}.dash-metrics .ca-paid strong{color:#198269}.dash-metrics .ca-unpaid strong{color:#b86a14}.dash-extra{display:flex;gap:12px;margin:12px 0}.dash-extra button{display:flex;gap:12px;align-items:center;font-size:13px;padding:8px 14px}.dash-extra button small{display:none}.dash-main{display:grid;grid-template-columns:1.65fr 1fr;gap:18px;margin:18px 0}.dash-bottom{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:18px 0}.dash-panel{background:#fff;border:1px solid #d4e1e9;border-radius:12px;padding:12px;min-width:0}.dash-panel h3{margin:0 0 12px;font-size:14px}.dash-panel svg{width:100%;display:block}.dash-legend{font-size:13px}.dash-progress{display:flex;align-items:center;justify-content:center;gap:24px;margin:22px 0}.dash-ring{width:150px;height:150px;flex-shrink:0;background:conic-gradient(#269d7b var(--progress),#f0b24e 0);border-radius:50%;display:grid;place-items:center}.dash-ring>div{width:115px;height:115px;border-radius:50%;background:white;display:grid;align-content:center;text-align:center}.dash-ring strong{font-size:28px}.dash-ring small{font-size:12px}.dash-rank{width:100%;display:flex;align-items:center;gap:10px;text-align:left;border:0;border-bottom:1px solid #e1e9ee;border-radius:0;background:transparent;color:inherit;padding:15px 0}.dash-rank img{width:42px;height:48px;object-fit:contain}.dash-rank-name{flex:1;min-width:0;overflow-wrap:anywhere}.dash-num{background:#edf3f7;border-radius:6px;padding:5px 8px;color:#477189}.dash-bar{height:6px;background:#eef3f7;display:block;border-radius:4px;margin-top:8px}.dash-bar i{display:block;height:6px;background:#3989ae;border-radius:4px}.dash-rank strong{white-space:nowrap;font-size:14px}.dash-todo{display:flex;width:100%;justify-content:space-between;gap:10px;padding:15px 0;background:transparent;color:inherit;border:0;border-bottom:1px solid #e1e9ee}.dash-todo strong{color:#c27617}.dash-alert small{display:block}.dash-details{margin:20px 0}.dash-details summary{cursor:pointer;padding:12px}.dash-empty{padding:36px 0;color:#718798;text-align:center}@media(max-width:1200px){.dash-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.dash-bottom{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:780px){.dash-main,.dash-bottom{grid-template-columns:1fr}.dash-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dash-heading{display:block}.dash-progress{gap:14px}.dash-period{flex-wrap:wrap}}

/* Low-price comparisons remain red, including supplier/specification details. */
#price-hint.price-low-warning,#price-hint.price-low-warning strong,.wf-lower-price summary{color:#c32f26;font-weight:600}

/* Card view retains the catalogue actions and internal reference information. */
.s-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:18px;margin:18px 0}.s-card-grid .s-good{background:white;border:1px solid #d8e2e9;border-radius:14px;overflow:hidden}.s-card-grid .s-good-body{padding:18px}.s-card-grid h3{margin:0 0 8px}.s-card-grid .s-good-body>strong{display:block;font-size:24px;color:#ce5a26;margin:12px 0}.s-card-grid .s-good-body>small{color:#667d8c;margin-bottom:12px}.s-card-grid .peer-summary{margin-top:15px;border-top:1px solid #e3e9ee;padding-top:10px}.s-card-grid .s-good>.s-empty-photo{display:flex;width:100%;height:230px;align-items:center;justify-content:center;background:#f0f5f8}

/* Full-sized product photographs, including the shared table thumbnail class. */
.s-card-grid .s-good>img.s-photo{display:block;width:100%;height:230px;object-fit:contain;margin:0;border-radius:0;background:#f4f6f8}
.s-card-grid .s-good:hover{box-shadow:0 8px 22px #263d5014;border-color:#b9cbd7}
.s-card-grid .wf-tools{flex-wrap:wrap}.s-card-grid .wf-tools button{min-height:36px}

/* Shared visual structure used by real business pages, not a separate demo. */
.wf-embedded .workspace{max-width:1650px;margin:auto;padding:26px 28px 48px}
.wf-embedded .cw-heading h1,.wf-embedded .s-heading h1{font-size:28px;color:#253e4d}
.card-maintenance{display:flex;flex-direction:column;background:white;border:1px solid #d5e2eb;border-radius:15px;padding:24px;margin-bottom:22px;gap:14px}
.card-maintenance h2{margin:0;font-size:21px}.card-maintenance .catalog-tools{display:flex;flex-wrap:wrap;gap:10px}.card-maintenance .catalog-search{display:flex;align-items:end;flex-wrap:wrap;gap:12px;border-top:1px solid #e1e8ed;padding-top:18px}.card-maintenance select{max-width:300px}
.card-pick-head{display:block;width:calc(100% - 24px);margin:12px;text-align:left;background:#eaf3f8;border:0;color:#2c6077;font-weight:700}
.s-card-grid .card-chosen{border:2px solid #ef6a21;box-shadow:0 0 0 2px #ffeadc}
.card-variants{display:flex;flex-direction:column;gap:8px}.card-variants button{text-align:left;background:#f5f8fa;color:#2c5369;border:1px solid #cbdce6}
.card-variants button[aria-pressed=true]{background:#b83f08;border-color:#b83f08;color:white;font-weight:700}.card-variants button:focus-visible{outline:3px solid #f4a66e;outline-offset:2px}
.card-history{border:0;background:transparent;color:#25668c;padding:12px 0;text-align:left}.s-good-body>strong small{font-size:14px;color:#637e8e}.s-good-body .wf-tools{background:transparent;border:0;padding:0}
.card-selection-bar{position:sticky;bottom:12px;display:flex;align-items:center;flex-wrap:wrap;gap:12px;background:#274f64;color:white;padding:18px 22px;border-radius:14px;z-index:3;box-shadow:0 4px 18px #24435722}
.card-selection-bar span{flex:1;color:#dce9ef}.card-selection-bar button{background:white;color:#253e4d;border-color:#cedce5}
@media(max-width:700px){.wf-embedded .workspace{padding:18px 14px}.card-maintenance{padding:16px}.card-selection-bar{position:static}.card-maintenance select{max-width:100%}}

/* Unselected action controls remain visibly bounded; selected controls contrast. */
.card-variants button[aria-pressed=false],.card-maintenance button:not(.primary),.s-good-body .wf-tools button,.card-selection-bar button{background:#edf5fb;border:1px solid #a9c3d6;color:#294e65}
.card-variants button[aria-pressed=false]:hover,.card-maintenance button:not(.primary):hover,.s-good-body .wf-tools button:hover,.card-selection-bar button:hover{background:#deedf7;border-color:#769eb9}
.wf-shell{display:grid;grid-template-columns:246px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}
.wf-shell>.wf-header{grid-column:1/-1;min-height:78px;height:auto;flex-wrap:wrap;padding:16px 24px}
.wf-shell>.wf-sidebar{grid-column:1;grid-row:2;min-height:0;width:246px}.wf-sidebar>h1{display:none}
.wf-shell>.wf-main{grid-column:2;grid-row:2;min-height:0}.wf-header>strong{font-size:22px;white-space:nowrap}
.wf-header #wf-search{width:280px;max-width:100%;background:#f3f7fa;border-color:#c4d6e2}
#wf-module-tabs{display:flex;gap:8px;order:1}#wf-module-tabs button{border:0;background:transparent;padding:10px 15px;color:#294e65}#wf-module-tabs button.active{background:#e6f1f8;color:#2c6077}
@media(max-width:900px){.wf-shell{grid-template-columns:190px minmax(0,1fr)}.wf-shell>.wf-sidebar{width:190px;min-width:190px}.wf-header #wf-search{width:210px}#wf-module-tabs{width:100%;overflow-x:auto}}
/* Sidebar controls share the requested visible unselected state. */
.wf-shell>.wf-sidebar{height:auto;align-self:stretch;overflow:hidden}
.wf-sidebar .wf-nav-item{margin:4px 9px;border:1px solid #bed0dd;border-radius:5px;background:#f0f6fa}
.wf-sidebar .wf-nav-item button:first-child{font-size:14px;color:#294e65;min-height:40px;padding:10px 12px}
.wf-sidebar .wf-nav-item:has(.active){background:#ff590f;border-color:#ff590f}
.wf-sidebar .wf-nav-item:has(.active) button{background:transparent;color:white}
.wf-sidebar .wf-nav-item:hover:not(:has(.active)){background:#deedf7;border-color:#8facbf}
.wf-sidebar nav::-webkit-scrollbar{width:9px}.wf-sidebar nav::-webkit-scrollbar-thumb{background:#9eb4c2;border-radius:9px}.wf-sidebar nav::-webkit-scrollbar-track{background:#f0f5f8}
/* Consistent Chinese typography on Windows and macOS. */
body,button,input,select,textarea{font-family:"Microsoft YaHei","PingFang SC","Noto Sans CJK SC",system-ui,sans-serif}
.wf-sidebar .wf-nav-item button:first-child{font-size:15px;font-weight:500;line-height:1.65;letter-spacing:.1px}
.wf-sidebar h2>button{font-size:20px;font-weight:700;line-height:1.5}
.wf-sidebar section>h2:not(:has(button)){font-size:15px;font-weight:600}
.wf-tabs button,#wf-module-tabs button{font-size:14px;font-weight:500}

/* Grid main must override the old flex-only zero width and full-viewport height. */
.wf-shell>.wf-main{width:auto;height:auto;min-width:0;align-self:stretch}
/* Compact text navigation and consistent Chinese UI typography. */
body,button,input,select,textarea{font-family:"Microsoft YaHei","PingFang SC","Noto Sans CJK SC",Arial,sans-serif;font-size:14px;line-height:1.5}
button,input,select,textarea{font-weight:400}
.wf-sidebar .wf-nav-item{margin:0;border:0;border-radius:0;background:transparent}
.wf-sidebar .wf-nav-item button:first-child{font-size:14px;font-weight:400;line-height:1.5;min-height:32px;padding:6px 12px 6px 30px;color:#213547}
.wf-sidebar .wf-nav-item button:last-child{font-weight:400;padding:4px 10px;color:#a0a8b0}
.wf-sidebar .wf-nav-item:has(.active),.wf-sidebar .wf-nav-item:has(.active):hover{background:#ff5900;border:0}
.wf-sidebar .wf-nav-item:has(.active) button{color:white}
.wf-sidebar .wf-nav-item:hover:not(:has(.active)){background:#f3f5f7}
.wf-sidebar section{margin-bottom:18px}
.wf-sidebar section h2,.wf-sidebar h2>button,.wf-sidebar section>h2:not(:has(button)){font-size:13px;font-weight:400;color:#929aa3;background:transparent;border:0}
.wf-sidebar h2>button{padding:12px 22px 7px 20px}
.wf-sidebar nav{scrollbar-width:thin;scrollbar-color:#e4e6e8 transparent}
.wf-sidebar nav::-webkit-scrollbar-thumb{background:#e4e6e8}
.card-color-group{margin:12px 0}.card-color-group>strong{font-size:14px;color:#314c60;display:block;margin-bottom:6px}.card-color-group>div{display:flex;gap:6px;flex-wrap:wrap}.card-color-group button{width:auto;min-width:48px;text-align:center;padding:7px 12px}.card-variants>[data-card-custom]{font-size:13px}

/* Delivery layout: shared by all real workspaces. */
:root{--erp-ink:#253e4d;--erp-muted:#698392;--erp-surface:#f3f6f8;--erp-line:#d5e2eb;--erp-orange:#f65a00;--erp-font:"Microsoft YaHei","PingFang SC","Noto Sans CJK SC",Arial,sans-serif}
body,button,input,select,textarea{font-family:var(--erp-font)}
body{color:var(--erp-ink);background:var(--erp-surface);font-size:16px;line-height:1.6}
button,input,select,textarea{font-size:16px;line-height:1.5}
button{border-radius:9px;padding:11px 17px;min-height:44px;font-weight:400}
button:not(.primary):not(.active):not([aria-pressed=true]){background:#edf5fb;border-color:#acc8db;color:#294e65}
button.primary{background:var(--erp-orange);border-color:var(--erp-orange);color:white}
button.primary:hover{background:#df5000;border-color:#df5000}
input,select,textarea{background:white;border:1px solid #c3d5e2;border-radius:8px;padding:10px 13px;color:var(--erp-ink)}
.wf-shell{grid-template-columns:246px minmax(0,1fr);height:100dvh}
.wf-shell>.wf-header{padding:16px 26px;gap:20px;min-height:92px}
.wf-header>strong{font-size:25px;display:flex;align-items:center;gap:14px}.wf-header>strong:before{content:'蝶';display:grid;place-items:center;background:#2c6077;color:white;width:48px;height:52px;border-radius:9px;font-size:29px}
.wf-header #wf-search{width:360px;margin:0;max-width:38vw}
.wf-header #wf-module-tabs{order:0;margin-left:auto}.wf-header #wf-user{margin-left:0;font-size:14px}
.wf-shell>.wf-main{width:auto;height:auto;min-width:0;min-height:0}
.wf-shell>.wf-sidebar{width:246px;min-width:246px;padding-top:16px}
.wf-sidebar .wf-nav-item{background:transparent;margin:0;border:0;border-radius:0}
.wf-sidebar .wf-nav-item button{background:transparent;border:0;min-height:38px}
.wf-sidebar .wf-nav-item button:first-child{font-size:16px;padding:8px 14px 8px 30px;line-height:1.6;font-weight:400;color:var(--erp-ink)}
.wf-sidebar .wf-nav-item button:last-child{font-size:13px;color:#94a4ae;min-width:30px;padding:7px}
.wf-sidebar .wf-nav-item:has(.active){background:var(--erp-orange)}.wf-sidebar .wf-nav-item:has(.active) button{color:white;background:transparent}
.wf-sidebar h2>button,.wf-sidebar section>h2:not(:has(button)){font-size:14px;color:#939fa8;font-weight:500;background:transparent;border:0;padding:17px 20px 10px}
.wf-sidebar section{margin-bottom:18px}.wf-sidebar #wf-home-button{background:white;font-size:15px}
.wf-tabs{background:#f8fafc;border-bottom:1px solid var(--erp-line);padding:0;gap:0;min-height:52px;flex-shrink:0}
.wf-tabs>span{border-right:1px solid var(--erp-line);align-items:stretch}.wf-tabs button{padding:12px;font-size:15px;color:#7b8b98;background:transparent;border-radius:0}
.wf-tabs>span.active{border-top:0;border-bottom:3px solid var(--erp-orange);background:white}.wf-tabs>span.active button{color:var(--erp-ink);font-weight:600}.wf-tabs .wf-tab-home{flex-shrink:0}
.wf-embedded .workspace{max-width:1650px;padding:32px 30px 48px;margin:auto}
.wf-embedded :is(.heading,.s-heading,.cw-heading){display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 28px;flex-wrap:wrap}
.wf-embedded :is(.heading,.s-heading,.cw-heading) h1{font-size:30px;line-height:1.4;margin:0 0 8px;color:var(--erp-ink)}
.wf-embedded :is(.heading,.s-heading,.cw-heading) p{color:var(--erp-muted);font-size:16px;margin:0}
:is(.panel,.wf-chart,.cw-panel,.dash-panel,.prod-function-card,.p-panel){border-radius:15px;border:1px solid var(--erp-line);background:white}
:is(.filters,.filterbar,.s-filters,.wf-tools,.cw-filters){border-radius:12px;gap:12px;padding:16px;background:white;border:1px solid var(--erp-line)}
:is(.table-wrap,.tablewrap){border-radius:11px;overflow:auto;background:white;border:1px solid var(--erp-line)}
table{border-collapse:collapse}th,td{border:1px solid #c8d6e0;padding:12px;vertical-align:top}th{background:#edf3f7;color:#335a70;font-weight:600}td{font-size:15px}tbody tr:nth-child(even){background:#f6f9fb}
.card-maintenance{padding:24px;border-radius:16px;background:white;gap:18px;margin-bottom:20px}.card-maintenance h2{font-size:21px}.card-maintenance .catalog-tools{gap:10px}.card-maintenance p{color:var(--erp-muted);font-size:14px;margin:0}
.catalog-search.card-search{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:18px;background:white;border:1px solid var(--erp-line);border-radius:13px;margin-bottom:22px}.card-search label{display:flex;align-items:center;gap:10px;font-weight:600;color:#365e74}.card-search input{width:200px}.card-search select{max-width:260px}
.card-search details{flex-basis:100%;color:#356980}.card-search summary{cursor:pointer}.card-search details>div{display:flex;align-items:center;gap:12px;padding-top:12px;flex-wrap:wrap}
.s-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-bottom:22px}.s-card-grid .s-good{border-radius:15px;overflow:hidden}.s-good-body{padding:20px}.s-good-body>strong{font-size:27px;color:#df5b18}.s-good-body>strong small{font-size:13px;white-space:nowrap}
.card-selection-bar{padding:18px 22px;border-radius:15px;bottom:12px;position:sticky;z-index:3}.card-selection-bar button{background:white;min-height:44px}.card-color-group{margin:8px 0}.card-color-group>strong{font-size:15px}.card-color-group button{min-height:38px}
.s-good-body .wf-tools{border:0;padding:0;background:transparent}.s-good-body .card-history{background:transparent;border:0;padding:10px 0}
dialog{font-family:var(--erp-font);padding:26px;border-radius:15px;border:1px solid var(--erp-line)}dialog h2{font-size:24px}.s-formgrid,.formgrid{gap:18px}dialog label{font-size:15px}
@media(min-width:1600px){.s-card-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1200px){.s-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wf-header #wf-module-tabs{order:2;flex-basis:100%;margin:0}.wf-header #wf-search{width:300px}}
@media(max-width:850px){.wf-shell{grid-template-columns:190px minmax(0,1fr)}.wf-shell>.wf-sidebar{width:190px;min-width:190px}.wf-sidebar .wf-nav-item button:first-child{font-size:14px;padding-left:20px}.wf-embedded .workspace{padding:22px 18px}.wf-header>strong{font-size:21px}.wf-header #wf-search{max-width:100%}.s-card-grid{grid-template-columns:1fr}.card-search label{flex-wrap:wrap}.wf-embedded :is(.heading,.s-heading,.cw-heading) h1{font-size:26px}}
@media print{body{background:white;color:#172b3b}button,input,select{font-size:12pt}.card-search,.card-selection-bar{display:none}th,td{border:1px solid #7d919e;font-size:11pt}table{break-inside:auto}tr{break-inside:avoid}.table-wrap{overflow:visible;border:0}}

.wf-embedded .s-heading{display:grid;grid-template-columns:1fr auto;gap:8px 18px}.wf-embedded .s-heading h1{grid-column:1}.wf-embedded .s-heading p{grid-column:1}.wf-embedded .s-heading>.actions{grid-column:2;grid-row:1/3}.card-maintenance .s-toolbar{justify-content:flex-start;border:0;padding:0;margin:0}.card-maintenance>p{display:block}.card-search{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:18px;background:white;border:1px solid #d5e2eb;border-radius:13px;margin-bottom:22px}.card-search>label{flex:0 1 auto}.card-search select{width:260px}.card-search>button{width:auto}.wf-header{height:auto}
.wf-sidebar section,.wf-sidebar h2,.wf-sidebar h2>button,.wf-sidebar .wf-nav-item button{background:transparent;border:0;border-radius:0}.wf-sidebar h2>button{color:#939fa8;font-size:14px;font-weight:400}.wf-sidebar .wf-nav-item:has(.active){background:#ff5900}.wf-sidebar .wf-nav-item:has(.active) button{color:white}.catalog-toolbar.card-maintenance{display:block}.card-maintenance .catalog-tools{display:flex;justify-content:flex-start;border:0;padding:0;margin:16px 0 10px;gap:10px}.card-maintenance>p.s-hint{display:block}.card-search label{display:flex;align-items:center;gap:10px;text-align:left}.card-search select{max-width:260px}button.primary{background:#f65a00;border-color:#f65a00}

/* Sidebar favorites stay available from page actions and home, without row stars. */
#wf-nav .wf-nav-item > button[data-wf-fav]{display:none}

/* Visible image drop/paste instructions in order and product editors. */
.s-upload .s-upload-instruction{display:block;font-size:15px;color:#295e78;margin:8px 0}.s-upload .s-hint{display:block}.s-upload:focus-visible,.s-upload.s-upload-drag{outline:2px solid #f65a00;outline-offset:2px;background:#fff5e9}.s-upload-preview img{max-width:180px;max-height:150px;object-fit:contain}.s-upload-status{display:block;white-space:normal;margin-top:8px}

#wf-page-actions{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 24px;background:#f3f6f8;border-bottom:1px solid #d5e2eb}#wf-page-actions[hidden]{display:none}#wf-page-actions>span{font-size:14px;color:#657d8c}#wf-page-actions>div{display:flex;gap:8px;flex-wrap:wrap}#wf-page-actions button{min-height:36px;padding:7px 12px;font-size:14px}#wf-page-actions [aria-pressed=true]{background:#fff1e6;border-color:#db8a49;color:#8d431b}@media(max-width:850px){#wf-page-actions{padding:8px 12px;flex-wrap:wrap}}@media print{#wf-page-actions{display:none}}
/* 0.6.13: typography and palette from the approved card preview. */
:root{--erp-ink:#23394b;--erp-muted:#647b8a;--erp-surface:#f3f5f8;--erp-line:#d6e1e8;--erp-orange:#ff5900}
body,button,input,select,textarea{font-family:"Microsoft YaHei","PingFang SC","Noto Sans CJK SC",Arial,sans-serif;font-size:14px;line-height:1.5}button,input,select,textarea{font-weight:400}
.wf-sidebar .wf-nav-item button:first-child{font-size:14px;line-height:1.5;font-weight:400;color:#213547;padding:6px 12px 6px 30px;min-height:32px}
.wf-sidebar h2>button,.wf-sidebar section>h2:not(:has(button)){font-size:13px;font-weight:400;color:#929aa3}.wf-sidebar nav{scrollbar-color:#e4e6e8 transparent}
.wf-embedded :is(.heading,.s-heading,.cw-heading) h1{font-size:26px}.wf-embedded :is(.heading,.s-heading,.cw-heading) p{font-size:14px}.wf-header>strong{font-size:20px}
.wf-embedded button:not(.primary):not(.active):not([aria-pressed=true]),#wf-page-actions button:not([aria-pressed=true]){background:#edf5fb;border:1px solid #a9c3d6;color:#294e65;font-weight:400}
.wf-embedded button:not(.primary):not(.active):not([aria-pressed=true]):hover{background:#deedf7;border-color:#769eb9}
.wf-embedded button.primary{background:#ff5900;border-color:#ff5900;color:white}
.wf-embedded .s-good-body>strong{font-size:25px;font-weight:750;color:#d85a20}.s-good-body h3{font-size:17px}.s-good-body>strong small{font-size:14px;color:#647b8a}
.card-variants button[aria-pressed=true]{background:#b83f08;border-color:#b83f08;color:white}
.card-selection-bar{background:#244f62;color:white}.card-selection-bar button{background:#edf5fb;border-color:#a9c3d6;color:#294e65;font-size:14px}.card-selection-bar>span{color:#bdd0dc}
.wf-embedded td,.wf-embedded th{font-size:14px;font-weight:400}.wf-embedded th{font-weight:600;color:#647b8a}.wf-embedded .s-good-body .card-history{color:#216792;font-weight:600}

/* Compact functional zones. Screen-only rules leave printed documents unchanged. */
@media screen{
 :root{--erp-ink:#243d50;--erp-muted:#6d7d8b;--erp-line:#d9e3eb}
 body,.workspace,.wf-home{background:#f4f6f9}
 button{min-height:36px;padding:7px 12px;border-radius:6px;line-height:1.45}
 button:not(.primary):not(.active):not([aria-pressed=true]){background:#edf5fc;border-color:#bed3e3;color:#285c7c}
 button:disabled{opacity:.5;cursor:not-allowed}
 button:focus-visible,summary:focus-visible{outline:2px solid #246ca3;outline-offset:2px}
 input,select,textarea{padding:8px 10px;border-radius:6px}
 .wf-embedded .workspace{padding:20px 22px 32px}
 .wf-embedded :is(.heading,.cw-heading,.s-heading){margin-bottom:16px;gap:8px 14px}
 .wf-embedded :is(.heading,.cw-heading,.s-heading) h1{font-size:25px;margin-bottom:5px}
 :is(.filters,.filterbar,.s-filters,.cw-filters,.catalog-search.card-search,#cw-filter,#wf-client-filter,#ship-search){background:#edf4fb;border:1px solid #d7e4ef;border-radius:8px;padding:12px;gap:10px}
 .wf-tools{padding:10px;gap:8px;border-radius:8px}
 :is(.panel,.s-panel,.cw-panel,.wf-service,.card-maintenance){background:#fff;border:1px solid #dce5ec;border-radius:9px;padding:16px}
 .wf-service{margin:14px 0}
 th{background:#edf1f5;color:#536778}th,td{padding:9px 10px}
 .card-maintenance{margin-bottom:12px}.card-maintenance h2{font-size:18px;margin:0}
 .card-maintenance .catalog-tools{margin:12px 0 8px;gap:8px}
 .catalog-search.card-search{margin-bottom:14px}.card-search details{flex-basis:auto}
 .s-card-grid{gap:14px;align-items:stretch;margin-bottom:16px}
 .s-card-grid .s-good{display:flex;flex-direction:column;border-radius:9px;background:white}
 .s-good img,.s-good .s-imgblank{height:170px;object-fit:contain;background:#f6f8fa}
 .s-good-body.card-compact-body{display:flex;flex-direction:column;flex:1;padding:12px;gap:9px}
 .card-compact-body h3{font-size:16px;line-height:1.4;margin:0;min-height:45px;overflow-wrap:anywhere}
 .card-compact-body>strong{font-size:24px;line-height:1.2;margin:0}
 .card-compact-body .card-variants{display:flex;align-content:flex-start;align-items:flex-start;flex-wrap:wrap;gap:6px;margin:0;min-height:78px}
 .card-compact-body .card-color-group{display:inline-flex;align-items:center;flex-wrap:wrap;gap:4px;margin:0;padding:4px 6px;background:#f2f6fa;border:1px solid #dce6ee;border-radius:6px;max-width:100%}
 .card-compact-body .card-color-group>strong{display:inline;margin:0;font-size:13px;line-height:1.4}
 .card-compact-body .card-color-group>div{display:inline-flex;gap:4px;flex-wrap:wrap}
 .card-compact-body .card-color-group button{min-height:28px;min-width:36px;padding:3px 7px;font-size:13px}
 .card-compact-body [data-card-custom]{width:auto;min-height:29px;font-size:12px;padding:4px 8px}
 .card-more-specs{flex-basis:100%;font-size:13px;color:#285c7c}.card-more-specs summary{cursor:pointer;padding:4px 0}.card-more-specs>div{display:flex;flex-wrap:wrap;gap:6px;padding-top:5px}
 .card-compact-body .card-main-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto;padding-top:5px;align-items:center}
 .card-main-actions button{font-size:13px;padding:6px 9px;min-height:32px}
 .card-main-actions .card-history{width:100%;text-align:left;min-height:26px;padding:3px 0;font-size:13px}
 .card-compact-body .peer-summary{margin:0;padding:8px 0 0;border-top:1px solid #e0e7ee}
 .card-compact-body .peer-summary-row{padding:5px 0;gap:3px 8px;margin:0;font-size:13px}
 .card-compact-body .peer-summary-row small{font-size:12px;line-height:1.45;color:#6d7d8b}
 .card-compact-body .peer-summary-row strong{font-size:14px;color:#b63e32}
 .card-compact-body .peer-summary-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:7px}.peer-summary-actions button{min-height:30px;padding:5px 8px;font-size:12px}
 .card-selection-bar{padding:11px 15px;border-radius:9px;gap:9px;bottom:8px}.card-selection-bar button{min-height:36px}
 .wf-shell>.wf-header{padding:12px 20px;min-height:74px}.wf-header>strong{font-size:23px}
 .wf-sidebar section{margin-bottom:10px}.wf-sidebar h2>button{padding-top:12px}
 .wf-sidebar .wf-nav-item button:first-child{padding-top:7px;padding-bottom:7px}
 .wf-tabs{min-height:44px}.wf-tabs button{padding:9px 12px}
 button[data-wf-cancel],button[data-s-action="close-output"]{background:#f2f4f6;border-color:#cdd5dc;color:#566573}
 button[data-cw="delete-order"],button.danger{color:#b8332d;background:#fff0ef;border-color:#e9bab7}
}
@media screen{
 .card-compact-body .card-variants{flex-direction:row;justify-content:flex-start;grid-template-columns:none;height:auto}
 .card-compact-body .card-color-group{width:auto;flex:0 1 auto}
 .card-compact-body .card-more-specs{display:block;flex:1 0 100%;width:100%;height:auto;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
 .card-compact-body .card-history{border:0;background:transparent;border-radius:0}
 .shell aside .nav button.active{background:#f65a00;border-color:#f65a00;color:white}
}
@media screen{
 .card-compact-body .card-variants{min-height:116px}
 .card-compact-body .card-main-actions{margin-top:0}
 .card-compact-body .peer-summary{flex:1}
 @media(max-width:850px){.card-compact-body .card-variants{min-height:0}}
}
/* Reference palette: blue chrome, white sections, green create, blue action, amber export. */
@media screen{
 :root{--erp-orange:#3998ed;--erp-ink:#263d54;--erp-muted:#7c8795}
 .wf-shell>.wf-header{background:#185cbb;color:white;border-bottom:5px solid #104995;box-shadow:none;min-height:84px}
 .wf-header>strong,.wf-header #wf-user{color:white}.wf-header>strong:before{background:white;color:#185cbb}
 .wf-header #wf-search{background:#fff;border-color:#d5e1f1;color:#304b65}
 .wf-header #wf-module-tabs button{color:#fff;background:transparent;border-color:transparent}
 .wf-header #wf-module-tabs button.active{background:#fff;color:#185cbb}
 .shell .topbar{background:#185cbb;color:#fff}.shell .topbar>span{color:#fff}
 .wf-sidebar .wf-nav-item:has(.active){background:#e9f3ff;border-left:3px solid #3197ef}
 .wf-sidebar .wf-nav-item:has(.active) button{color:#185cbb}
 .shell aside .nav button.active{background:#e9f3ff;border-color:#3197ef;color:#185cbb}
 .wf-tabs>span.active{border-bottom-color:#3998ed}
 body button[data-erp-tone="create"]{background:#60b832;border-color:#60b832;color:#fff}
 body button[data-erp-tone="action"],body button.primary{background:#3998ed;border-color:#3998ed;color:#fff}
 body button[data-erp-tone="export"]{background:#e9a638;border-color:#e9a638;color:#fff}
 body button[data-erp-tone="danger"]{background:#ef6a70;border-color:#ef6a70;color:#fff}
 body button[data-erp-tone="neutral"]{background:#fff;border-color:#dbe1e8;color:#697786}
 body button.primary[data-erp-tone="create"]{background:#60b832;border-color:#60b832}
 button[data-erp-tone]:hover{filter:brightness(.95)}
 .erp-small-icon{display:inline-block;width:16px;height:16px;vertical-align:-3px;margin-right:6px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
 .wf-home-card{border:1px solid #dae5f0;border-radius:10px;box-shadow:0 4px 15px #2446690a;padding:20px;background:linear-gradient(135deg,#eff6ff,#fff)}
 .wf-home-card.wf-group-purchase{background:linear-gradient(135deg,#fff4e8,#fff)}
 .wf-home-card.wf-group-keywork{background:linear-gradient(135deg,#eef9f7,#fff)}
 .wf-home-card.wf-group-production{background:linear-gradient(135deg,#f0f0fc,#fff)}
 .wf-home-card h2{display:flex;align-items:center;gap:10px}.erp-entry-icon{display:inline-grid;place-items:center;width:48px;height:48px;border-radius:12px;background:#dbeaff;color:#216ccd;flex-shrink:0}
 .erp-entry-icon .erp-small-icon{width:30px;height:30px;margin:0}.erp-entry-purchase{background:#ffe7c7;color:#d28a23}.erp-entry-keywork{background:#d7f0e8;color:#21977a}.erp-entry-production{background:#e4e2fa;color:#7164bd}
 .production-function-grid>button>.erp-small-icon{width:26px;height:26px;color:#368de1;background:#eaf4ff;padding:5px;box-sizing:content-box;border-radius:8px}
 .wf-home-card .wf-step{color:#7e91a6;background:transparent}.wf-home-card .wf-home-state{color:#559d35}
 .card-maintenance{box-shadow:none;border:0;border-radius:8px;padding:16px 18px}
 .catalog-search.card-search{background:#edf3fc;border-color:#e0e8f5}
 .s-card-grid .s-good{box-shadow:0 3px 12px #24466908;border-color:#e0e6ed}
 .s-good.card-chosen{border-color:#3998ed;box-shadow:0 0 0 1px #3998ed,0 4px 12px #3998ed20}
 .card-variants button[aria-pressed=true]{background:#3998ed;border-color:#3998ed;color:#fff}
 .card-pick-head{color:#216ccd;background:#edf5ff}
 .card-selection-bar{background:#185cbb;color:white;box-shadow:0 4px 14px #15478118}
 .card-selection-bar button[data-erp-tone="action"]{background:#3998ed;color:white;border-color:#70b5f2}
 th{background:#f1f3f5;color:#727c88}
}
@media print{.erp-small-icon,.erp-entry-icon{display:none}}
@media screen{
 .wf-sidebar #wf-home-button{background:#fff;color:#285c7c;border:1px solid #d6e1ec}
 .wf-sidebar #wf-home-button.active{background:#e9f3ff;color:#185cbb;border-color:#bed7f2}
 .wf-home-card .wf-home-shortcuts{gap:6px}
 .wf-home-card .wf-home-shortcuts button{background:#ffffffb8;border-color:#dce6f1}
 .wf-home-card h2{margin:12px 0;font-size:22px}
 .wf-home-card p{font-size:14px;line-height:1.65}
}

/* Reference typography: compact regular-weight UI, restrained heading hierarchy. */
@media screen{
 :root{--erp-font:"Microsoft YaHei","PingFang SC","Noto Sans CJK SC",Arial,sans-serif}
 body,button,input,select,textarea{font-family:var(--erp-font);font-size:14px;line-height:1.5;letter-spacing:0}
 body{font-weight:400;color:#333}
 button,input,select,textarea{font-weight:400}
 button{font-size:14px;min-height:36px;padding:7px 15px;border-radius:4px}
 input:not([type=checkbox]):not([type=radio]),select{font-size:14px;min-height:36px;padding:7px 10px}
 label,.s-formgrid label,.formgrid label{font-size:14px;font-weight:400}
 .wf-sidebar .wf-nav-item button:first-child,.shell>aside .nav button{font-size:14px;font-weight:400;line-height:1.5;letter-spacing:0;min-height:38px;padding:8px 14px 8px 22px;color:#24486a}
 .wf-sidebar h2>button,.wf-sidebar section>h2:not(:has(button)),.shell>aside .nav .menu-group summary{font-size:14px;font-weight:400;line-height:1.5;padding:12px 16px;color:#6b7785}
 .wf-tabs button,#wf-module-tabs button{font-size:14px;font-weight:400;line-height:1.5}
 .wf-tabs>span.active button{font-weight:500}
 :is(.workspace,.wf-embedded) :is(.heading,.s-heading,.cw-heading) h1{font-size:20px;line-height:1.5;font-weight:600;margin:0}
 :is(.workspace,.wf-embedded) :is(.heading,.s-heading,.cw-heading){gap:8px 16px;margin-bottom:16px}
 :is(.workspace,.wf-embedded) :is(.heading,.s-heading,.cw-heading) p{font-size:14px;font-weight:400;line-height:1.5;color:#737d89;margin:0}
 :is(.card-maintenance,.wf-service,.panel,.s-panel,.cw-panel) h2,dialog h2{font-size:18px;font-weight:600;line-height:1.5}
 :is(.panel,.s-panel,.cw-panel,.wf-service) h3,dialog h3{font-size:16px;font-weight:500;line-height:1.5}
 .wf-home-card h2{font-size:20px;font-weight:600}.wf-home-card p{font-size:14px;line-height:1.5}
 .wf-header>strong{font-size:22px;font-weight:600;letter-spacing:0}
 .s-table,table,th,td{font-size:14px;line-height:1.5}th{font-weight:500}td{font-weight:400}
 .s-hint,.cw-hint,.wf-price-reference{font-size:13px;line-height:1.5}
 .card-compact-body h3{font-size:16px;font-weight:500;line-height:1.5}
 .card-compact-body>strong{font-size:24px;font-weight:600}
 .card-compact-body .card-color-group>strong{font-weight:400}
 .card-pick-head,.card-selection-bar strong{font-size:14px;font-weight:500}
 .card-search label{font-size:14px;font-weight:400;text-align:left}
}
@media screen{
 .shell>aside .nav button,.shell>aside .nav button.active,.wf-sidebar .wf-nav-item button:first-child{font-size:14px;font-weight:400;line-height:1.5}
 .shell>aside .nav{padding-left:12px;padding-right:12px}
 .shell>aside .nav .menu-group>div{padding-left:0;padding-right:0}
 .catalog-search.card-search>label,.catalog-search.card-search label{font-weight:400;text-align:left}
}
/* Shared shipment view in both customer profiles and standalone navigation. */
.shipment-workspace.cw-info{display:block;grid-template-columns:none;min-height:0}
.shipment-workspace>.wf-service{display:block;width:100%;min-height:0;margin:12px 0;padding:12px;box-sizing:border-box;background:#fff}
.shipment-action-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:12px 14px;background:#185cbb;color:#fff;border-radius:6px;margin-bottom:12px}
.shipment-action-bar>strong{font-size:14px;font-weight:500;color:#fff}
.shipment-actions{display:flex;flex-wrap:wrap;gap:8px}
.shipment-workspace .table-wrap{width:100%;overflow:auto}
.shipment-workspace #ship-search{display:flex;align-items:center;flex-wrap:wrap}
.shipment-workspace #ship-search input{flex:1;min-width:180px;max-width:480px}
@media screen{
 .order-selection-bar{position:sticky;bottom:8px;z-index:8;display:flex;align-items:center;flex-wrap:wrap;background:#185cbb;color:#fff;padding:10px 14px;box-shadow:0 2px 8px #163c6420}
 .order-selection-bar>strong{color:#fff;font-weight:500}.order-selection-bar details{margin:0;padding:0;border:0;background:transparent;color:#fff;min-width:0;flex:1}
 .order-selection-bar details[open] [data-order-selection-details]{max-height:140px;overflow:auto;white-space:pre-line;padding:8px;background:white;color:#263d54}
 .batch-dialog-footer{position:sticky;bottom:0;z-index:3;background:#185cbb;color:white;padding:12px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
 .batch-dialog-footer [data-batch-count]{margin-right:auto}
}

@media screen{
 .shipment-workspace>.shipment-action-bar,.purchase-selection-bar{position:sticky;bottom:8px;z-index:8;background:#185cbb;color:white;padding:12px 14px;border-radius:6px;box-shadow:0 2px 8px #163c6420;margin-bottom:0}
 .purchase-selection-bar #selection-summary strong,.purchase-selection-bar #selection-summary span{color:white}
 .shipment-action-bar button[data-erp-tone=action],.order-selection-bar button[data-erp-tone=action],.batch-dialog-footer button[data-erp-tone=action]{background:#3998ed;color:white;border-color:#70b5f2}
}
@media print{.shipment-action-bar,.order-selection-bar,.purchase-selection-bar,.batch-dialog-footer{display:none}}

@media screen{
 .account-selection-bar{position:sticky;bottom:8px;z-index:8;padding:12px 14px;background:#185cbb;color:white;border-radius:6px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
 .account-selection-bar .ca-select-all{background:transparent;color:white;margin:0;flex:1}
 .account-selection-bar #ca-selection{color:white}
 .account-selection-bar .cw-actions{display:flex;gap:8px;flex-wrap:wrap}
}
@media print{.account-selection-bar{display:none}}

.sample-tracking-link{color:#1677c8;background:transparent;border:0;padding:4px 0;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere;text-align:left}

.sample-summary{display:flex;gap:10px;align-items:center;min-width:180px}.sample-summary img{width:56px;height:72px;object-fit:contain;flex:none;margin:0}.sample-summary p{margin:4px 0;white-space:pre-wrap}.sample-summary>div{min-width:0}
.wf-tv-entry{display:flex;gap:20px;align-items:center;padding:22px 26px;margin:0 0 22px;border:1px solid #ead5df;border-radius:13px;background:linear-gradient(115deg,#fff7fb,#fff);box-shadow:0 4px 16px #79436207}.wf-tv-icon{display:grid;place-items:center;width:60px;height:60px;flex:none;background:#f7e2ed;color:#a84e78;border-radius:14px}.wf-tv-icon svg{width:42px;height:42px}.wf-tv-copy{flex:1;min-width:0}.wf-tv-copy h2{margin:0 0 6px;padding:0;border:0;font-size:22px;color:#814361}.wf-tv-copy p{margin:0 0 7px;color:#796474;font-size:14px}.wf-tv-copy small{font-size:12px;color:#917b87}.wf-tv-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.wf-tv-actions a,.wf-tv-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 15px;border-radius:8px;border:1px solid #dfbfd0;background:#fff;color:#984c70;text-decoration:none;font-size:13px;white-space:nowrap}.wf-tv-actions .wf-tv-play{background:#a84e78;color:#fff;border-color:#a84e78}.wf-tv-actions button:disabled{opacity:.55;cursor:default}.wf-tv-actions a:hover{filter:brightness(.97)}.wf-tv-actions a:focus-visible{outline:3px solid #bc668f;outline-offset:3px}@media(max-width:1100px){.wf-tv-entry{flex-wrap:wrap}.wf-tv-actions{margin-left:80px}}@media(max-width:650px){.wf-tv-entry{padding:18px;gap:14px}.wf-tv-icon{width:44px;height:44px}.wf-tv-icon svg{width:32px;height:32px}.wf-tv-copy h2{font-size:19px}.wf-tv-copy p{font-size:12px;line-height:1.6}.wf-tv-copy small{font-size:11px;line-height:1.7}.wf-tv-actions{margin:0;width:100%}.wf-tv-actions a,.wf-tv-actions button{flex:1;padding:10px;font-size:12px}}@media print{.wf-tv-entry{display:none}}

/* No activity has no completed or pending share to illustrate. */
.dash-ring.is-empty{background:var(--border,#e7dfd7)}

/* alibaba_orders.css */
/* Muse 52: platform workbench presentation. Data, permissions and sync remain unchanged. */
.a1688-page,.a1688-detail {
 --a-ink:var(--erp44-ink,#2e2620); --a-muted:var(--erp44-muted,#74665b);
 --a-line:var(--erp44-line,#efe4d3); --a-brand:var(--erp44-brand,#ce3e82);
 --a-deep:var(--erp44-brand-strong,#ae2a66); --a-soft:var(--erp44-soft,#fce9f2);
 --a-panel:var(--erp44-surface,#fff); --a-subtle:var(--muse-card-soft,#faf6ef);
 color:var(--a-ink);font-size:13px;line-height:1.55;
}
.a1688-page{display:grid;gap:12px;min-width:0}
.a1688-page p,.a1688-detail p{line-height:1.65}
.a1688-stores{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.a1688-store{padding:10px 13px;border:1px solid var(--a-line);border-radius:12px;background:var(--a-panel);min-width:0}
.a1688-store>header{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px}
.a1688-store>header strong{flex:1;min-width:95px;font-size:13px;color:var(--a-ink)}
.a1688-config{display:inline-flex;align-items:center;gap:5px;font-size:12px;white-space:nowrap;color:var(--a-muted)}
.a1688-config::before{content:'';width:6px;height:6px;border-radius:50%;background:#b4a590}
.a1688-config.is-ready::before{background:#1e9e6a}
.a1688-store>header button{margin-left:auto;min-height:29px;padding:4px 9px;font-size:12px}
.a1688-store-times{display:flex;flex-wrap:wrap;gap:2px 14px;color:var(--a-muted);font-size:12px;line-height:1.6;margin-top:6px;font-variant-numeric:tabular-nums}
.a1688-store small{display:block;font-size:12px;color:var(--a-muted);margin-top:5px}
.a1688-progress{padding-top:7px;margin-top:7px;border-top:1px solid var(--a-line);font-size:12px}
.a1688-progress-title{display:flex;align-items:center;flex-wrap:wrap;gap:5px 9px}
.a1688-progress-title strong{font-weight:600}
.a1688-progress-title>span{color:var(--a-muted)}
.a1688-progress-title button{margin-left:auto;padding:2px 7px;min-height:26px;font-size:12px}
.a1688-progress.has-warning{color:#9b630c}
.a1688-progress p{margin:6px 0}.a1688-progress-details{margin-top:4px}
.a1688-progress-details summary{cursor:pointer;color:var(--a-muted);font-size:12px}
.a1688-progress-details[open]{padding-bottom:3px}.a1688-progress-details small{margin-top:6px}
.a1688-filter{display:flex;align-items:flex-end;flex-wrap:wrap;gap:10px;padding:13px 15px;border:1px solid var(--a-line);border-radius:12px;background:var(--a-panel)}
.a1688-filter label{display:grid;gap:5px;color:var(--a-muted);font-size:12px}
.a1688-filter input,.a1688-filter select{min-height:34px;height:34px;border:1px solid var(--a-line);border-radius:9px;background:var(--a-panel);color:var(--a-ink);font-size:13px;padding:5px 10px;max-width:100%}
.a1688-filter input[type=search]{width:230px;min-width:180px}
.a1688-filter input[type=date]{width:153px;min-width:0}
.a1688-filter button{min-height:34px;padding:6px 12px;border-radius:9px;font-size:13px}
.a1688-unavailable{font-size:12px;color:var(--a-muted);flex:1 1 100%;order:2;line-height:1.4}
.a1688-tabs{display:flex;gap:4px;align-items:stretch;border-bottom:1px solid var(--a-line);overflow-x:auto}
.a1688-tabs button{position:relative;padding:9px 14px;display:flex;align-items:center;gap:7px;white-space:nowrap;border:0;border-radius:0;background:transparent;color:var(--a-muted);font-weight:500;font-size:13px}
.a1688-tabs button.active::after{position:absolute;content:'';height:3px;left:10px;right:10px;bottom:0;border-radius:3px;background:var(--a-brand)}
.a1688-tabs button span{padding:1px 6px;border-radius:5px;font-size:12px;background:var(--a-subtle);font-variant-numeric:tabular-nums}
.a1688-tabs button.active span{background:var(--a-soft);color:var(--a-deep)}
.a1688-scope,.a1688-boundary{padding:9px 12px;border:1px solid var(--a-line);border-radius:9px;background:var(--a-subtle);color:var(--a-muted);margin:0;font-size:12px;line-height:1.65}
.a1688-scope summary{cursor:pointer}.a1688-scope>div{margin-top:6px;padding-top:6px;border-top:1px solid var(--a-line)}
.a1688-privacy{padding:0 2px;color:var(--a-muted);background:transparent;border:0;margin:0;font-size:12px}
.a1688-select-bar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:5px 2px;color:var(--a-muted);font-size:12px}
.a1688-select-bar label{display:flex;align-items:center;gap:6px}.a1688-select-bar button{padding:3px 9px;min-height:28px;font-size:12px}
.a1688-page input[type=checkbox]{accent-color:var(--a-brand);min-width:15px;width:15px;height:15px;margin:0;vertical-align:middle}
.a1688-page .table-wrap{overflow:auto;border:1px solid var(--a-line);border-radius:12px;background:var(--a-panel);max-width:100%}
.a1688-page .s-table{min-width:1280px;border-collapse:separate;border-spacing:0;width:100%;font-size:13px;color:var(--a-ink)}
.a1688-page .s-table th{padding:10px 11px;font-size:12px;text-align:left;background:var(--a-subtle);color:var(--a-muted);border-bottom:1px solid var(--a-line);font-weight:600;white-space:nowrap}
.a1688-page .s-table td{padding:12px 11px;border-bottom:1px solid var(--a-line);vertical-align:top;line-height:1.5;background:var(--a-panel)}
.a1688-page .s-table tr:last-child td{border-bottom:0}.a1688-page .s-table tbody tr:hover td{background:var(--a-subtle)}
/* Keep amount beside status; additional facts remain reachable by horizontal scroll. */
.a1688-page .s-table td:nth-child(1){width:38px;min-width:38px;text-align:center}
.a1688-page .s-table td:nth-child(2){width:100px;min-width:100px}
.a1688-page .s-table td:nth-child(3){width:180px;min-width:180px}
.a1688-page .s-table td:nth-child(4){width:116px;min-width:116px}
.a1688-page .s-table td:nth-child(5){width:108px;min-width:108px;text-align:right}
.a1688-page .s-table th:nth-child(5){text-align:right}
.a1688-page .s-table td:nth-child(6){min-width:300px;max-width:400px}
.a1688-page .s-table td:nth-child(7){min-width:100px;overflow-wrap:anywhere}
.a1688-page .s-table td:nth-child(8),.a1688-page .s-table td:nth-child(9){min-width:140px;font-variant-numeric:tabular-nums}
.a1688-page .s-table td:nth-child(10),.a1688-page .s-table th:nth-child(10){position:sticky;right:0;min-width:82px;z-index:1;border-left:1px solid var(--a-line);box-shadow:-3px 0 6px #33302e08}
.a1688-page .s-table td small{display:block;color:var(--a-muted);font-size:12px;line-height:1.5;margin-top:4px}
.a1688-order-number{font-variant-numeric:tabular-nums;white-space:normal;overflow-wrap:anywhere;color:var(--a-ink);font-weight:600}
.a1688-product{display:flex;align-items:flex-start;gap:10px}.a1688-product+.a1688-product{margin-top:11px;padding-top:11px;border-top:1px dashed var(--a-line)}
.a1688-product-image{width:48px;height:58px;object-fit:contain;border:1px solid var(--a-line);border-radius:8px;background:var(--a-subtle);flex:none}
.a1688-no-image{display:inline-flex;width:48px;height:58px;align-items:center;justify-content:center;text-align:center;border:1px solid var(--a-line);border-radius:8px;background:var(--a-subtle);color:var(--a-muted);font-size:12px;flex:none}
.a1688-product-copy{min-width:0;flex:1}.a1688-product-top{display:flex;gap:8px;align-items:flex-start;justify-content:space-between}.a1688-product-top b{overflow-wrap:anywhere}
.a1688-product-title{display:block;color:var(--a-muted);font-size:12px;margin-top:3px;overflow-wrap:anywhere}
.a1688-quantity{font-size:12px;white-space:nowrap;color:var(--a-ink);font-weight:600;font-variant-numeric:tabular-nums}
.a1688-amount{font-variant-numeric:tabular-nums;color:var(--a-ink);font-weight:650;overflow-wrap:anywhere}
.a1688-status{display:inline-flex;align-items:center;padding:3px 8px;border-radius:6px;white-space:nowrap;font-size:12px;font-weight:600;background:#f3eee7;color:#75695f}
.a1688-status-unpaid{background:var(--muse-warn-bg,#FCF1DD);color:#9D6109}.a1688-status-unshipped{background:var(--muse-warn-bg,#FCF1DD);color:#9D6109}.a1688-status-shipped{background:var(--muse-ok-bg,#EAF5EF);color:var(--muse-ok,#2F8F66)}.a1688-status-closed{background:#f1eeeb;color:#75695f}
.a1688-pagination{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:3px 0;color:var(--a-muted);font-size:12px}
.a1688-error{padding:10px 13px;border:1px solid #f2d6ad;background:#fff4e3;color:#956309;border-radius:9px;margin:0;font-size:13px}
.a1688-menu{margin:2px 0 2px 12px}.a1688-menu summary{cursor:pointer;padding:8px 10px;color:inherit}.a1688-menu button{display:block;width:calc(100% - 12px);margin-left:12px;text-align:left}
/* Confine overrides to this work area; account-owned themes supply the accent. */
html:root:root:root body #app .a1688-page :is(.a1688-store>header button,.a1688-filter button[type=button],[data-a1688-page],[data-a1688-clear-selection],[data-a1688-poll]):not(:disabled){color:var(--a-deep);background:var(--a-panel);border:1px solid var(--a-line);box-shadow:none}
html:root:root:root body #app .a1688-page .a1688-filter button[type=submit]{color:#fff;background:var(--a-brand);border:1px solid var(--a-brand);box-shadow:none}
html:root:root:root body #app .a1688-page .a1688-filter button[type=submit]:hover{background:var(--a-deep);border-color:var(--a-deep)}
html:root:root:root body #app .a1688-page .a1688-tabs button{background:transparent;border:0;box-shadow:none;color:var(--a-muted);border-radius:0}
html:root:root:root body #app .a1688-page .a1688-tabs button.active{color:var(--a-deep);font-weight:700}
html:root:root:root body #app .a1688-page button[data-a1688-detail]{background:transparent;border:0;box-shadow:none;color:var(--a-muted);padding:3px 0;white-space:nowrap}
html:root:root:root body #app .a1688-page button:disabled{background:#f5f2ee;border-color:var(--a-line);color:#9b8f83;cursor:not-allowed;box-shadow:none}
html:root:root:root body #app .a1688-page :is(button,input,select):focus-visible{outline:2px solid var(--a-brand);outline-offset:2px}
/* Order details use cards instead of squeezing a five-column table into a drawer. */
html:root:root:root body dialog#editor:has(.a1688-detail){width:min(740px,96vw);max-width:740px;max-height:100dvh;height:100dvh;inset:0 0 0 auto;margin:0;border-radius:16px 0 0 16px;padding:0;border:1px solid var(--erp44-line,#efe4d3)}
html:root:root:root body dialog#editor:has(.a1688-detail) .dialog-head h2{font-size:18px;line-height:1.4}
html:root:root:root body dialog#editor:has(.a1688-detail) .erp-drawer-scroll34{padding:18px}
.a1688-detail{display:grid;gap:14px;min-width:0}
.a1688-detail-summary{display:flex;align-items:center;gap:8px 14px;flex-wrap:wrap;padding:12px 14px;border-radius:10px;background:var(--a-subtle)}
.a1688-detail-summary>div{flex:1;min-width:220px}.a1688-detail-summary>small{flex-basis:100%;color:var(--a-muted);font-size:12px}
.a1688-detail-number{display:block;font-size:17px;line-height:1.5;margin-top:3px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;color:var(--a-ink)}
.a1688-eyebrow{font-size:12px;color:var(--a-muted)}
.a1688-detail-section{padding:0 0 14px;border-bottom:1px solid var(--a-line)}
.a1688-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px}
html:root:root:root body #editor .a1688-section-title h3{font-size:15px;margin:0;color:var(--a-ink)}
.a1688-section-title>span:not(.a1688-amount){font-size:12px;color:var(--a-muted)}
.a1688-section-title button{min-height:30px;padding:4px 10px;font-size:12px}
.a1688-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px 20px;margin:0}
.a1688-facts div{min-width:0}.a1688-facts dt{font-size:12px;color:var(--a-muted);margin-bottom:3px}.a1688-facts dd{margin:0;color:var(--a-ink);font-size:13px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.a1688-detail-products{display:grid;gap:10px}.a1688-detail-product{border:1px solid var(--a-line);border-radius:10px;padding:12px;background:var(--a-panel)}
.a1688-detail-product-main{display:flex;align-items:flex-start;gap:12px}.a1688-detail-product-main>div{flex:1;min-width:0}
.a1688-detail-product-main .a1688-product-image,.a1688-detail-product-main .a1688-no-image{width:65px;height:80px}
.a1688-detail-product-main h4{margin:2px 0;font-size:14px;color:var(--a-ink);overflow-wrap:anywhere}
.a1688-detail-product-main p{margin:3px 0;font-size:12px;color:var(--a-muted);overflow-wrap:anywhere}
.a1688-detail-product-main .a1688-detail-spec{color:var(--a-ink)}
.a1688-detail-product-meta{display:flex;align-items:center;justify-content:space-between;gap:8px 12px;flex-wrap:wrap;border-top:1px dashed var(--a-line);margin-top:10px;padding-top:9px;color:var(--a-muted);font-size:12px}
.a1688-detail-product-meta b{font-weight:500;color:var(--a-ink);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.a1688-mapping{padding:3px 7px;background:#fbf0da;color:#956309;border-radius:5px}.a1688-mapping.is-mapped{background:#e5f6ee;color:#187b53}
.a1688-link-note,.a1688-detail-note{font-size:12px;color:var(--a-muted);margin:10px 0 0}.a1688-link-note{padding:9px 11px;border-radius:8px;background:var(--a-subtle)}
.a1688-empty-products{padding:12px;color:var(--a-muted);background:var(--a-subtle);border-radius:9px}
.a1688-after-empty{padding:26px;max-width:880px;background:var(--a-panel);border:1px solid var(--a-line);border-radius:14px}
.a1688-after-empty h2{margin:0;color:var(--a-ink);font-size:20px}.a1688-after-empty p{margin:0;color:var(--a-muted)}
.a1688-capability-tag{justify-self:start;background:#fbf0da;color:#956309;padding:4px 9px;border-radius:6px;font-size:12px;font-weight:600}
.a1688-after-empty label{display:grid;gap:7px;font-size:13px;color:var(--a-ink);max-width:380px}.a1688-after-empty input{width:100%;padding:10px 12px;border:1px solid var(--a-line);border-radius:9px;background:var(--a-subtle);color:var(--a-muted)}
.a1688-after-empty .a1688-after-note{padding:12px 14px;background:var(--a-subtle);border-radius:9px;font-size:12px}
@media(max-width:950px){.a1688-stores{grid-template-columns:1fr}.a1688-store>header{gap:5px 10px}.a1688-filter input[type=search]{width:200px}.a1688-filter{gap:9px}}
@media(max-width:600px){.a1688-filter label{min-width:130px;flex:1}.a1688-filter input[type=search],.a1688-filter input[type=date]{min-width:0;width:100%}.a1688-tabs button{padding:8px 10px}.a1688-store-times{font-size:12px}.a1688-pagination{justify-content:center}.a1688-facts{grid-template-columns:1fr}.a1688-after-empty{padding:18px}.a1688-detail-product-main{gap:8px}.a1688-detail-product-main .a1688-quantity{white-space:normal;max-width:65px;text-align:right}html:root:root:root body dialog#editor:has(.a1688-detail){width:100vw;border-radius:0}}

/* Fit the order toolbar into the desktop's first screen even inside the workspace iframe. */
@media screen {
 html:root:root:root body #app .a1688-page{gap:10px}
 html:root:root:root body #app .a1688-store{padding:8px 12px}
 html:root:root:root body #app .a1688-store>header strong{font-size:13px}
 html:root:root:root body #app .a1688-store>header button{min-height:28px;height:28px;font-size:12px;line-height:1.4;padding:4px 8px}
 html:root:root:root body #app .a1688-store-times{font-size:12px;line-height:1.45;margin-top:4px;display:inline-flex;gap:3px 10px}
 html:root:root:root body #app .a1688-store .a1688-store-note{font-size:12px;display:inline;margin-left:8px;line-height:1.45}
 html:root:root:root body #app .a1688-filter{padding:10px 12px;gap:8px}
 html:root:root:root body #app .a1688-filter label{font-size:12px;gap:4px;font-weight:500}
 html:root:root:root body #app .a1688-filter :is(input,select){min-height:32px;height:32px;padding:5px 8px;font-size:12px}
 html:root:root:root body #app .a1688-filter button{min-height:32px;height:32px;font-size:12px;padding:5px 10px}
}
@media screen and (min-width:900px){
 html:root:root:root body #app .a1688-filter{display:grid;grid-template-columns:minmax(120px,1fr) minmax(160px,1.5fr) minmax(120px,1fr) minmax(126px,1fr) minmax(126px,1fr) 96px;grid-template-areas:"store query after start end submit" "note note note note reset refresh";align-items:end;column-gap:9px;row-gap:7px}
 html:root:root:root body #app .a1688-filter label:nth-child(1){grid-area:store}
 html:root:root:root body #app .a1688-filter label:nth-child(2){grid-area:query}
 html:root:root:root body #app .a1688-filter label:nth-child(3){grid-area:after}
 html:root:root:root body #app .a1688-filter label:nth-child(4){grid-area:start}
 html:root:root:root body #app .a1688-filter label:nth-child(5){grid-area:end}
 html:root:root:root body #app .a1688-filter :is(input,select){width:100%;min-width:0;max-width:100%}
 html:root:root:root body #app .a1688-filter button[type=submit]{grid-area:submit}
 html:root:root:root body #app .a1688-filter [data-a1688-reset]{grid-area:reset;justify-self:end}
 html:root:root:root body #app .a1688-filter [data-a1688-refresh]{grid-area:refresh}
 html:root:root:root body #app .a1688-filter .a1688-unavailable{grid-area:note;align-self:center;font-size:12px;line-height:1.4}
}

@media screen {
 html:root:root:root body #app .workspace:has(.a1688-page)>.cw-heading{margin-bottom:10px;gap:10px}
 html:root:root:root body #app .workspace:has(.a1688-page)>.cw-heading .cw-eyebrow{display:none}
 html:root:root:root body #app .workspace:has(.a1688-page)>.cw-heading h1{margin:0 0 3px;font-size:20px;line-height:1.3}
 html:root:root:root body #app .workspace:has(.a1688-page)>.cw-heading p{margin:3px 0;font-size:13px;line-height:1.4}
 html:root:root:root body #app .a1688-select-bar{display:flex;flex-direction:row;align-items:center;min-height:32px;padding:0 2px;gap:12px}
 html:root:root:root body #app .a1688-select-bar label{display:inline-flex;flex-direction:row;align-items:center;gap:6px;line-height:1.4;margin:0;white-space:nowrap;font-size:12px}
 html:root:root:root body #app .a1688-select-bar button{min-height:28px;height:28px;padding:3px 8px;font-size:12px}
}

/* Muse v2: usable mappings, compact missing-data disclosure and clear action hierarchy. */
.a1688-order-number{display:block;max-width:185px;line-height:1.55;letter-spacing:.15px}
.a1688-copy{display:inline-flex;min-height:25px;padding:2px 6px;margin-top:4px;font-size:11px;background:#fff;border:1px solid var(--a-line,#E6DFD8);color:var(--a-muted,#746E69);border-radius:5px}
.a1688-copy-feedback{font-size:12px;color:var(--a-muted,#746E69);margin-left:8px}
.a1688-incomplete{font-size:11px;margin-top:6px;color:var(--a-muted)}
.a1688-incomplete summary{cursor:pointer;width:max-content;border:1px solid var(--a-line);border-radius:5px;padding:2px 6px;background:var(--a-subtle)}
.a1688-incomplete ul{padding:8px 8px 8px 20px;margin:5px 0;background:var(--a-subtle);border-radius:6px;max-width:270px;overflow-wrap:anywhere}
.a1688-mapping-todo{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 14px;border:1px solid #ead4a6;background:#fff6e7;border-radius:10px}
.a1688-mapping-todo small{display:block;color:#746E69;font-size:12px;margin-top:4px}
.a1688-mapping-todo>span{font-size:12px;color:#9D6109}
.a1688-detail button[data-a1688-map].primary{background:var(--a-brand);border-color:var(--a-brand);color:#fff;font-size:14px;font-weight:700;min-height:36px;padding:7px 14px}
.a1688-detail button.a1688-link{background:transparent;border:0;color:var(--a-muted);min-height:28px;padding:3px 0;font-size:12px}
.a1688-components{background:var(--a-subtle);border-radius:7px;margin-top:10px;padding:9px 10px;font-size:12px}
.a1688-components>b{font-weight:500;color:var(--a-muted);display:block;margin-bottom:5px}
.a1688-components>div{display:flex;flex-wrap:wrap;gap:5px 10px;padding:3px 0}
.a1688-components>div>span{margin-left:auto;font-variant-numeric:tabular-nums}
.a1688-mapping-history{padding:0;list-style:none;font-size:12px;margin:12px 0 0;color:var(--a-muted)}
.a1688-mapping-history li{border-top:1px dashed var(--a-line);padding:8px 0}
.a1688-mapping-history li>span{margin-left:10px}.a1688-mapping-history p{margin:3px 0}
.a1688-map-dialog{width:min(820px,94vw);max-width:94vw;max-height:90dvh;border:1px solid var(--erp44-line,#E6DFD8);border-radius:16px;padding:20px;color:var(--erp44-ink,#33302E);background:var(--erp44-surface,#fff);font:13px/1.55 'Microsoft YaHei',sans-serif;overflow:auto}
.a1688-map-dialog::backdrop{background:#25202e66}
.a1688-map-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.a1688-map-head span{font-size:12px;color:#746E69}.a1688-map-head h2{font-size:18px;margin:2px 0 10px}
.a1688-map-dialog button{min-height:32px;border-radius:8px;border:1px solid #E6DFD8;background:#fff;color:#746E69;padding:5px 10px;font-size:12px;cursor:pointer}
.a1688-map-dialog button:disabled{cursor:wait;opacity:.6}
.a1688-map-source{display:flex;gap:12px;align-items:flex-start;padding:12px;background:#F5F2EE;border-radius:10px}
.a1688-map-source p{margin:3px 0}.a1688-map-source small,.a1688-map-help{font-size:12px;color:#746E69}
#a1688-map-dialog .a1688-map-body{min-width:0}
#a1688-map-dialog form[data-map-search]{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end;margin:12px 0 0;padding:0;min-width:0}
#a1688-map-dialog form[data-map-search]>label{display:grid;gap:5px;font-size:12px;min-width:0;width:100%;margin:0;text-align:left;justify-items:stretch}
#a1688-map-dialog form[data-map-search] input{height:34px;min-height:34px;min-width:0;margin:0}
#a1688-map-dialog form[data-map-search]>button{height:34px;min-height:34px;align-self:end;white-space:nowrap;margin:0}
#a1688-map-dialog form[data-map-save]{display:block;margin:0;padding:0;min-width:0}
.a1688-map-dialog input,.a1688-map-dialog textarea{border:1px solid #D8CFC6;border-radius:8px;min-height:34px;padding:6px 9px;background:#fff;color:#33302E;font-family:inherit;font-size:13px;line-height:1.5;width:100%;box-sizing:border-box}
.a1688-map-dialog [data-map-search-status]{min-height:20px;color:#746E69;font-size:12px;margin:6px 0}
.a1688-map-results{max-height:230px;overflow:auto;border-radius:8px}
.a1688-map-dialog button.a1688-map-candidate{display:flex;align-items:center;gap:10px;width:100%;text-align:left;margin:0 0 6px;border:1px solid #E6DFD8}
.a1688-map-candidate>span:nth-child(2){flex:1}.a1688-map-candidate small{display:block;margin-top:2px}
.a1688-map-photo{width:44px;height:52px;object-fit:contain;border-radius:6px;background:#F5F2EE;flex:none}
.a1688-map-component{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px dashed #E6DFD8}
.a1688-map-component>div{flex:1;min-width:0}.a1688-map-component>div>span,.a1688-map-component small{display:block;font-size:12px;color:#746E69}
.a1688-map-component>label{width:98px;font-size:12px;flex:none}.a1688-map-component input{font-variant-numeric:tabular-nums}
.a1688-map-dialog h3{font-size:14px;margin:14px 0 6px}.a1688-map-dialog h3>span{color:#746E69;font-size:12px;font-weight:400}
.a1688-map-reason{display:grid;gap:5px;font-size:12px;margin-top:12px}
.a1688-map-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:14px;font-size:12px;color:#746E69}
.a1688-map-dialog .primary{background:var(--erp44-brand,#C24B78);border-color:var(--erp44-brand,#C24B78);color:#fff;font-size:14px;font-weight:700;min-height:36px;white-space:nowrap}
.a1688-map-dialog :is(button,input,textarea):focus-visible,.a1688-order-table:focus-visible{outline:2px solid var(--erp44-brand,#C24B78);outline-offset:2px}
.a1688-map-dialog .a1688-error{margin-top:10px}.a1688-map-dialog .a1688-error[hidden]{display:none}
@media(max-width:600px){.a1688-map-dialog{padding:14px}.a1688-map-component{gap:7px;flex-wrap:wrap}.a1688-map-component>label{width:85px}.a1688-map-component>button{margin-left:auto}.a1688-map-footer{align-items:flex-end}.a1688-map-footer>span{max-width:50%}}

/* erp_home.css */
/* Muse-inspired compact workbench. Business and TV styling stay outside this scope. */
@media screen {
 #wf-home .ehd-dashboard{--ehd-ink:#33302e;--ehd-muted:#786f67;--ehd-primary:var(--muse-brand,var(--erp44-brand,#c24b78));--ehd-soft:var(--muse-brand-soft,var(--erp44-soft,#f7e7ee));--ehd-info:#3e7cb1;--ehd-line:#e8dfd6;font-family:inherit;color:var(--ehd-ink);max-width:1680px;margin:0 auto 12px;font-size:13px;line-height:1.45}
 #wf-home .ehd-dashboard *{box-sizing:border-box}
 #wf-home .ehd-dashboard svg{width:18px;height:18px;flex:none;vertical-align:middle}
 #wf-home .ehd-dashboard button{font:inherit;cursor:pointer;box-shadow:none;transition:background .15s,border-color .15s}
 #wf-home .ehd-dashboard button:focus-visible{outline:2px solid var(--ehd-primary);outline-offset:3px}
 #wf-home .ehd-dashboard button:disabled{cursor:wait;opacity:.55}
 #wf-home .ehd-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 10px}
 #wf-home .ehd-heading>div:first-child{display:flex;align-items:baseline;gap:12px;min-width:0}
 #wf-home .ehd-eyebrow{font-size:10px;letter-spacing:1.6px;color:var(--ehd-muted);margin-bottom:3px}
 #wf-home .ehd-heading h1{font-size:17px;line-height:1.4;font-weight:650;margin:0;color:var(--ehd-ink)}
 #wf-home .ehd-heading p{margin:0;color:var(--ehd-muted);font-size:12px}
 #wf-home .ehd-heading-actions{display:flex;align-items:center;gap:12px;flex:none;font-size:12px;color:var(--ehd-muted)}
 #wf-home .ehd-dashboard .ehd-refresh{background:white;border:1px solid var(--ehd-line);border-radius:7px;padding:4px 9px;color:var(--ehd-muted);min-height:28px}
 #wf-home .ehd-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}
 #wf-home .ehd-metric{position:relative;background:white;border:1px solid var(--ehd-line);border-radius:10px;padding:9px 13px;min-width:0;box-shadow:none}
 #wf-home .ehd-metric-shipping{border-top:3px solid var(--ehd-primary);padding-top:7px}
 #wf-home .ehd-metric-top{display:flex;align-items:center;justify-content:space-between;gap:6px}
 #wf-home .ehd-metric-module{font-size:11px;color:var(--ehd-muted);white-space:nowrap}
 #wf-home .ehd-metric-number{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;min-height:34px}
 #wf-home .ehd-metric-number>[data-ehd-kpi-extra]{font-size:12px;color:var(--ehd-muted);font-variant-numeric:tabular-nums}
 #wf-home .ehd-metric-top h2{font-size:12px;line-height:1.4;color:var(--ehd-muted);font-weight:500;margin:0}
 #wf-home .ehd-metric-icon{width:18px;height:18px;display:grid;place-items:center;color:var(--ehd-muted)}
 #wf-home .ehd-metric-icon svg{width:15px;height:15px}
 #wf-home .ehd-metric-value{display:block;font-size:23px;font-weight:650;line-height:1.2;letter-spacing:-.4px;margin:4px 0 2px;font-variant-numeric:tabular-nums;color:var(--ehd-ink);overflow-wrap:anywhere}
 #wf-home .ehd-metric-value small{font-size:11px;font-weight:400;letter-spacing:0;color:var(--ehd-muted)}
 #wf-home .ehd-metric-value.is-unavailable{font-size:13px;line-height:27px;letter-spacing:0;font-weight:500;color:var(--ehd-muted)}
 #wf-home .ehd-metric p{font-size:11px;color:var(--ehd-muted);margin:0;padding-right:20px;line-height:1.4}
 #wf-home .ehd-metric p[data-tone="danger"]{color:#cf4444;font-weight:500}
 #app #wf-home .ehd-dashboard :is(.ehd-metric-link,.ehd-text-link){display:inline-flex;align-items:center;gap:4px;width:auto;min-height:24px;padding:2px 0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#3e7cb1;font-size:12px;line-height:1.4;text-align:left;font-weight:500}
 #wf-home .ehd-metric-link svg,#wf-home .ehd-text-link svg{width:13px;height:13px}
 #app #wf-home .ehd-dashboard .ehd-metric-link{position:absolute;bottom:6px;right:8px;min-height:22px;width:22px;justify-content:center;padding:1px 0}
 #wf-home .ehd-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
 #wf-home .ehd-dashboard :is(.ehd-metric-link,.ehd-text-link):hover{text-decoration:underline;text-underline-offset:3px}
 #wf-home .ehd-columns{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr);gap:12px;margin-bottom:12px;align-items:start}
 #wf-home :is(.ehd-primary-column,.ehd-secondary-column){display:flex;flex-direction:column;gap:12px;min-width:0}
 #wf-home .ehd-card{background:white;border:1px solid var(--ehd-line);border-radius:10px;padding:11px 14px;min-width:0}
 #wf-home .ehd-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px;flex-wrap:wrap}
 #wf-home .ehd-card-head h2,#wf-home .ehd-login-card h2{display:flex;align-items:center;gap:6px;margin:0;font-size:13px;line-height:1.5;font-weight:650;color:var(--ehd-ink)}
 #wf-home .ehd-card-head>span{font-size:11px;color:var(--ehd-muted)}
 #wf-home .ehd-card-head h2 svg{width:16px;height:16px;color:var(--ehd-primary)}
 #wf-home .ehd-card-head h2 [data-ehd-urgent]{font-size:11px;color:#cf4444;font-weight:500}
 #wf-home .ehd-todo-row{display:grid;grid-template-columns:44px minmax(0,1fr) 84px 86px;align-items:center;gap:9px;padding:8px 0;min-height:74px;border-bottom:1px solid var(--ehd-line)}
 #wf-home .ehd-todo-row:first-child{padding-top:3px}
 #wf-home .ehd-todo-row:last-child{border-bottom:0;padding-bottom:2px}
 #wf-home .ehd-todo-mark{display:grid;place-items:center;width:44px;height:36px;padding:3px;border-radius:7px;background:#e7f0f8;color:var(--ehd-info);flex:none;font-size:10px;font-weight:650;overflow:hidden;white-space:nowrap;text-align:center;line-height:1.2;letter-spacing:-.2px;font-variant-numeric:tabular-nums}
 #wf-home .ehd-sku-mark{color:#fff}
 #wf-home .ehd-sku-mark>span{display:block;width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;overflow-wrap:normal;word-break:normal}
 #wf-home .ehd-sku-mark[data-sku-size="medium"]{font-size:9px}
 #wf-home .ehd-sku-mark[data-sku-size="long"]{font-size:8px;letter-spacing:-.3px}
 #wf-home .ehd-sku-mark[data-sku-color="0"]{background:#a5537a}
 #wf-home .ehd-sku-mark[data-sku-color="1"]{background:#766298}
 #wf-home .ehd-sku-mark[data-sku-color="2"]{background:#9d6b34}
 #wf-home .ehd-sku-mark[data-sku-color="3"]{background:#ae5140}
 #wf-home .ehd-sku-mark[data-sku-color="4"]{background:#527b69}
 #wf-home .ehd-sku-mark[data-sku-color="5"]{background:#4d718b}
 #wf-home .ehd-todo-copy{min-width:0;flex:1}
 #wf-home .ehd-todo-copy strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600}
 #wf-home .ehd-todo-copy p{font-size:11px;color:var(--ehd-muted);margin:2px 0 0;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 #wf-home .ehd-todo-third{display:flex;align-items:center;gap:8px;height:24px;font-size:11px;color:var(--ehd-muted);white-space:nowrap;overflow:hidden}
 #wf-home .ehd-todo-third .ehd-task-kind{color:var(--ehd-info);font-size:11px;font-weight:500}
 #wf-home .ehd-identity-note{margin:8px 0 0;font-size:11px;color:var(--ehd-muted);line-height:1.4}
 #wf-home .ehd-count{font-size:11px;font-weight:600;padding:2px 8px;border-radius:12px;background:#e7f0f8;color:var(--ehd-info);white-space:nowrap;font-variant-numeric:tabular-nums}
 #wf-home .ehd-todo-status{justify-self:stretch;text-align:center;line-height:20px;padding:1px 5px}
 #wf-home .ehd-count[data-tone="warn"]{background:#fff1d9;color:#9b660e}
 #wf-home .ehd-count[data-tone="ok"]{background:#e6f3ec;color:#2f8f66}
 #wf-home .ehd-count[data-tone="danger"]{background:#fce6e5;color:#cf4444}
 #app #wf-home .ehd-dashboard .ehd-action{display:inline-flex;align-items:center;justify-content:center;gap:3px;flex:none;min-height:32px;padding:5px 10px;font-size:12px;font-weight:600;line-height:1.4;border-radius:8px;text-decoration:none;white-space:nowrap;transition:background .15s,border-color .15s,box-shadow .15s}
 #app #wf-home .ehd-dashboard .ehd-action.primary{background:var(--ehd-primary);color:#fff;border:1px solid var(--ehd-primary);box-shadow:0 2px 5px #52374014}
 #app #wf-home .ehd-dashboard .ehd-action.secondary{background:transparent;color:#746e69;border:1px solid transparent}
 #wf-home .ehd-action svg{width:12px;height:12px}
 #app #wf-home .ehd-dashboard .ehd-action.primary:hover{box-shadow:0 3px 8px #52374024;filter:none}
 #wf-home .ehd-action.secondary:hover{text-decoration:underline;text-underline-offset:3px}
 #wf-home .ehd-source-notice{margin:0 0 7px;padding:6px 9px;background:#fff6e5;color:#926312;border-radius:6px;font-size:11px;line-height:1.5}
 #wf-home .ehd-todo-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:8px}
 #wf-home .ehd-todo-toolbar>div{display:flex;gap:5px;flex-wrap:wrap}
 #app #wf-home .ehd-dashboard .ehd-filter{padding:5px 10px;min-height:30px;background:#fff;border:1px solid var(--ehd-line);border-radius:7px;color:var(--ehd-muted);font-size:12px}
 #app #wf-home .ehd-dashboard .ehd-filter[aria-pressed="true"]{background:var(--ehd-soft);border-color:var(--ehd-primary);color:var(--ehd-primary);font-weight:600}
 #wf-home .ehd-todo-search{display:flex;align-items:center;gap:8px;flex:0 1 350px;font-size:12px;color:var(--ehd-muted)}
 #wf-home .ehd-todo-search>span{white-space:nowrap}
 #wf-home .ehd-todo-search input{width:100%;min-width:0;height:32px;border:1px solid var(--ehd-line);border-radius:7px;padding:5px 9px;background:#fff;font:inherit;color:var(--ehd-ink)}
 #wf-home .ehd-todo-scope{font-size:11px;line-height:1.5;color:var(--ehd-muted);padding:0 0 10px;margin:0 0 10px;border-bottom:1px solid var(--ehd-line)}
 #wf-home .ehd-todo-pagination{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:12px;font-size:11px;color:var(--ehd-muted)}
 #wf-home .ehd-all-todos .ehd-todo-row{min-height:52px}
 #wf-home .ehd-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
 #wf-home .ehd-shortcuts button,#wf-home .ehd-link{display:flex;align-items:center;justify-content:space-between;gap:7px;border:1px solid var(--ehd-line);border-radius:7px;background:#fff;padding:6px 8px;color:var(--ehd-ink);line-height:1.5;font-size:12px;text-align:left;min-width:0;white-space:normal}
 #wf-home .ehd-shortcuts button svg,#wf-home .ehd-link svg{width:13px;height:13px;color:var(--ehd-primary)}
 #wf-home .ehd-shortcuts button:hover,#wf-home .ehd-link:hover,#wf-home .ehd-refresh:hover{background:var(--ehd-soft);border-color:var(--ehd-primary);color:var(--ehd-ink)}
 #wf-home .ehd-recent-item{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--ehd-line);padding:8px 0;min-height:46px}
 #wf-home .ehd-recent-item:first-child{padding-top:0}
 #wf-home .ehd-recent-item:last-child{padding-bottom:0;border:0}
 #wf-home .ehd-recent-item>div{min-width:0}
 #wf-home .ehd-recent-item strong{display:block;font-size:13px;font-weight:600;overflow-wrap:anywhere}
 #wf-home .ehd-recent-item small{display:block;font-size:11px;color:var(--ehd-muted);margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 #wf-home .ehd-recent-item .ehd-recent-qty{font-size:12px;color:var(--ehd-muted);font-weight:400}
 #wf-home .ehd-recent-amount{flex:none;text-align:right;font-variant-numeric:tabular-nums}
 #wf-home .ehd-purchase-summary dl{display:grid;gap:7px;margin:0}
 #wf-home .ehd-purchase-summary dl>div{display:flex;align-items:center;justify-content:space-between;gap:12px}
 #wf-home .ehd-purchase-summary dt{font-size:12px;color:var(--ehd-muted)}
 #wf-home .ehd-purchase-summary dd{font-size:14px;font-weight:600;margin:0;font-variant-numeric:tabular-nums}
 #wf-home .ehd-caption,#wf-home .ehd-empty{font-size:11px;line-height:1.5;color:var(--ehd-muted);margin:7px 0 0}
 #wf-home .ehd-empty.is-complete{padding:8px 10px;border-radius:7px;background:#e6f3ec;color:#2f8f66}
 #wf-home .ehd-caption{padding-top:7px;border-top:1px dashed var(--ehd-line)}
 #wf-home .ehd-resume-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
 #wf-home .ehd-resume h3{font-size:12px;font-weight:500;color:var(--ehd-muted);margin:0 0 9px}
 #wf-home .ehd-resume .ehd-link{margin-top:7px;min-height:34px}
 #wf-home .ehd-favorite{display:flex;gap:4px;align-items:stretch}
 #wf-home .ehd-favorite>.ehd-link{flex:1}
 #wf-home .ehd-dashboard .ehd-unfavorite{border:0;background:transparent;color:var(--ehd-primary);padding:5px 9px}
 #wf-home .ehd-summary{display:flex;align-items:center;gap:6px 10px;flex-wrap:wrap;margin-top:10px;font-size:11px;color:var(--ehd-muted)}
 #wf-home .ehd-summary svg{width:14px;height:14px}
 #wf-home .ehd-summary>span{margin-left:auto}
 #wf-home .ehd-login-card{margin-bottom:18px}
 #wf-home .ehd-login-card .ehd-shortcuts{margin-top:14px}
 #wf-nav .wf-nav-item>button[data-wf-open]{display:flex;align-items:center;gap:6px;min-width:0}
 #wf-nav .wf-nav-count{flex:none;display:inline-flex;align-items:center;justify-content:center;min-width:17px;height:17px;margin-left:auto;padding:0 5px;border-radius:9px;background:#e8e1d9;color:#786f67;font-size:10px;font-weight:500;line-height:1;font-variant-numeric:tabular-nums}
}
@media screen and (max-width:1150px){#wf-home .ehd-metrics{gap:9px}#wf-home .ehd-metric{padding:9px 11px}#wf-home .ehd-metric-shipping{padding-top:7px}#wf-home .ehd-columns{gap:10px;grid-template-columns:minmax(0,1.5fr) minmax(250px,1fr)}#wf-home .ehd-card{padding:10px 12px}#wf-home .ehd-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media screen and (max-width:900px){#wf-home .ehd-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}#wf-home .ehd-columns{grid-template-columns:1fr}#wf-home .ehd-secondary-column{display:grid;grid-template-columns:1fr 1fr}}
@media screen and (max-width:600px){#wf-home .ehd-heading{align-items:flex-start}#wf-home .ehd-heading>div:first-child{display:block}#wf-home .ehd-heading-actions{flex-direction:column;align-items:flex-end;gap:6px}#wf-home .ehd-heading h1{font-size:16px}#wf-home .ehd-secondary-column,#wf-home .ehd-resume-grid{display:grid;grid-template-columns:1fr}#wf-home .ehd-todo-mark{display:none}#wf-home .ehd-metric p{min-height:31px}#app .wf-muse-v2 #wf-home .ehd-todo-row,#wf-home .ehd-todo-row{grid-template-columns:minmax(0,1fr) 86px;grid-template-areas:"copy action" "status action";gap:3px 8px}#wf-home .ehd-todo-copy{grid-area:copy}#wf-home .ehd-todo-status{grid-area:status;justify-self:start;min-width:74px}#wf-home .ehd-action{grid-area:action}#wf-home .ehd-count{max-width:84px;white-space:normal;text-align:center}#wf-home .ehd-summary>span{margin-left:0}}
@media screen and (prefers-reduced-motion:reduce){#wf-home .ehd-dashboard button{transition:none}}


/* Local work tips: a quiet strip beside the tabs, with a separate reading page. */
@media screen {
  html:root:root body .wf-tab-row{display:flex;align-items:center;gap:14px;min-width:0;flex-shrink:0;padding-right:16px;background:#eceaf4;border-bottom:1px solid var(--erp44-line);container-type:inline-size}
  html:root:root body .wf-tab-row #wf-tabs{flex:0 1 auto;min-width:0;max-width:calc(100% - 270px);overflow-x:auto;min-height:44px;border-bottom:0}
  html:root:root body .wf-tab-row:has(#wt-strip[hidden]) #wf-tabs{max-width:100%;flex:1}
  html:root:root body #wt-strip{display:flex;align-items:center;gap:10px;flex:1 1 300px;min-width:240px;max-width:100%;height:36px;overflow:hidden;position:relative;border-radius:9px;border:1px solid color-mix(in srgb,var(--erp44-brand) 14%,#e5e4f1);background:linear-gradient(110deg,#fff9,var(--erp44-soft) 60%,#eeedf980);color:var(--erp44-ink)}
  html:root:root body #wt-strip[hidden],html:root:root body #wt-page[hidden]{display:none}
  html:root:root body #wt-strip .wt-strip-brand{display:flex;align-items:center;gap:6px;flex:none;max-width:124px;margin:0;padding:0 10px;align-self:stretch;border:0;border-right:1px solid var(--erp44-line);border-radius:0;background:#ffffff75;color:var(--erp44-brand-strong);font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  html:root:root body #wt-strip .wt-window{display:block;overflow:hidden;min-width:0;flex:1;mask-image:linear-gradient(90deg,transparent,#000 12px,#000 calc(100% - 16px),transparent)}
  html:root:root body #wt-strip .wt-track{display:flex;width:max-content;align-items:center;will-change:transform}
  html:root:root body #wt-strip .wt-group{display:flex;align-items:center;width:max-content;gap:22px;padding-right:22px;flex:none}
  html:root:root body #wt-strip .wt-ticker-item{display:inline-flex;align-items:center;gap:8px;flex:none;padding:3px 0;min-height:28px;line-height:22px;white-space:nowrap;border:0;border-radius:0;background:transparent;color:var(--erp44-ink);font-size:13px;box-shadow:none}
  html:root:root body #wt-strip .wt-ticker-item:hover .wt-snippet{text-decoration:underline;text-decoration-color:var(--erp44-brand);text-underline-offset:4px}
  html:root:root body #wt-strip .wt-ticker-item:focus-visible{outline:2px solid var(--erp44-brand);outline-offset:0}
  html:root:root body .wt-tag{display:inline-flex;align-items:center;gap:4px;border:1px solid #d7d7ec;background:#eeedf9;color:#615887;border-radius:6px;padding:2px 7px;font-size:11px;font-weight:600;line-height:1.55;white-space:nowrap}
  html:root:root body .wt-tag[data-tone="warm"],html:root:root body .wt-tag.wt-cheer{color:#8d5370;background:#faeaf2;border-color:#eed0df}
  html:root:root body .wt-tag[data-tone="mint"],html:root:root body .wt-tag.wt-data{color:#3c725e;background:#eaf5ef;border-color:#cfe5d8}
  html:root:root body #wt-strip .wt-track.wt-running{animation:wt-drift var(--wt-duration,60s) linear infinite}
  html:root:root body #wt-strip.wt-paused .wt-track,html:root:root body #wt-strip:hover .wt-track,html:root:root body #wt-strip:focus-within .wt-track{animation-play-state:paused}
  html:root:root body #wt-page{position:absolute;inset:0;overflow:auto;overscroll-behavior:contain;background:radial-gradient(ellipse at 85% 0,#e7e4fb85,transparent 40%),radial-gradient(ellipse at 10% 5%,#fae8f070,transparent 45%),var(--erp44-bg);padding:24px 30px 45px;color:var(--erp44-ink)}
  html:root:root body .wt-detail{max-width:1400px;margin:0 auto;font-size:14px;line-height:1.75}
  html:root:root body .wt-hero{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(118deg,#fffafeee,#f2eefcdd 65%,#eceafacc);border:1px solid #e1dbed;border-radius:20px;padding:26px 30px;margin-bottom:20px;box-shadow:0 7px 30px #62527d09}
  html:root:root body .wt-hero:after{content:'✧';position:absolute;right:45px;top:-60px;color:#bfb4da45;font-size:230px;line-height:1;z-index:-1;transform:rotate(15deg)}
  html:root:root body .wt-eyebrow{font-size:11px;font-weight:600;letter-spacing:2px;color:#8a7094;text-transform:uppercase}
  html:root:root body .wt-hero h1{font-size:29px;line-height:1.4;letter-spacing:.4px;margin:5px 0 6px;color:#383450;font-weight:650}
  html:root:root body .wt-hero>p{margin:0;color:#6c6481;max-width:760px;font-size:14px;line-height:1.75}
  html:root:root body .wt-hero-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-top:16px;font-size:12px;color:#79728b}
  html:root:root body .wt-hero-meta>span{display:inline-flex;align-items:center;gap:5px;padding:3px 10px;border:1px solid #e5dced;border-radius:20px;background:#ffffff90}
  html:root:root body .wt-detail-layout{display:grid;grid-template-columns:244px minmax(0,1fr);gap:20px;align-items:start}
  html:root:root body .wt-topic-nav{display:flex;flex-direction:column;gap:8px;background:#ffffffbb;border:1px solid var(--erp44-line);border-radius:16px;padding:13px;min-width:0;position:sticky;top:0}
  html:root:root body .wt-topic-nav h2{margin:4px 7px 9px;font-size:15px;color:#524866}
  html:root:root body .wt-topic-nav button{display:flex;flex-direction:column;align-items:flex-start;gap:7px;width:100%;border:1px solid transparent;background:transparent;color:var(--erp44-ink);padding:11px 13px;border-radius:11px;text-align:left;font-size:13px;line-height:1.6}
  html:root:root body .wt-topic-nav button:is(:hover,[aria-current="true"],[aria-selected="true"],.active){border-color:color-mix(in srgb,var(--erp44-brand) 28%,#e0ddeb);background:var(--erp44-soft);color:var(--erp44-brand-strong);box-shadow:none}
  html:root:root body .wt-topic-nav button small{color:#82788e;font-size:11px;font-weight:400;line-height:1.5}
  html:root:root body .wt-article{background:#fff;border:1px solid #e1dfea;border-radius:17px;box-shadow:0 8px 25px #66557d06;padding:28px 32px;min-width:0;overflow-wrap:anywhere}
  html:root:root body .wt-article-head{padding-bottom:19px;border-bottom:1px solid #ece8f2;margin-bottom:20px}
  html:root:root body .wt-article-head h2{font-size:24px;font-weight:650;line-height:1.5;margin:9px 0;color:#36344f}
  html:root:root body .wt-article-head p{font-size:15px;color:#6f6581;line-height:1.85;margin:0;max-width:850px}
  html:root:root body .wt-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px;margin:20px 0 25px}
  html:root:root body .wt-fact{display:flex;flex-direction:column;gap:7px;padding:17px 19px;background:#f2f1fb;border:1px solid #e6e2f2;border-radius:12px}
  html:root:root body .wt-fact:nth-child(2){background:#fcf0f5;border-color:#eedce6}
  html:root:root body .wt-fact:nth-child(3){background:#eef7f1;border-color:#daebe0}
  html:root:root body .wt-fact :is(span,small){color:#71697e;font-size:12px}
  html:root:root body .wt-fact strong{font-size:25px;line-height:1.3;font-weight:650;color:#3b3659;font-variant-numeric:tabular-nums}
  html:root:root body .wt-section{margin:24px 0}
  html:root:root body .wt-section h3{font-size:16px;font-weight:600;color:#51465f;margin:0 0 10px;display:flex;align-items:center;gap:9px}
  html:root:root body .wt-section h3:before{content:'';width:4px;height:15px;border-radius:3px;background:var(--erp44-brand);opacity:.65}
  html:root:root body .wt-section p{margin:0;color:#665e73;line-height:1.95}
  html:root:root body .wt-section ol{padding-left:23px;margin:0;display:grid;gap:12px;color:#554b67}
  html:root:root body .wt-section li{padding-left:5px;line-height:1.95}
  html:root:root body .wt-section li::marker{color:var(--erp44-brand);font-weight:650}
  html:root:root body .wt-source{font-size:12px;line-height:1.85;padding:12px 16px;background:#f7f5fb;color:#81788c;border:1px dashed #ded7e8;border-radius:10px;margin:22px 0 18px}
  html:root:root body .wt-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center;border-top:1px solid #ede9f2;padding-top:20px;margin-top:20px}
  html:root:root body .wt-actions button,html:root:root body .wt-hero-meta button{border:1px solid #dcd6e7;background:#fff;color:#695b7c;border-radius:9px;padding:9px 15px;font-size:13px;min-height:36px;box-shadow:none}
  html:root:root body .wt-actions button.wt-primary{background:var(--erp44-brand);color:#fff;border-color:var(--erp44-brand);box-shadow:0 4px 12px color-mix(in srgb,var(--erp44-brand) 15%,transparent)}
  html:root:root body .wt-actions button:hover,html:root:root body .wt-hero-meta button:hover{background:var(--erp44-soft);color:var(--erp44-brand-strong)}
  html:root:root body .wt-actions button.wt-primary:hover{background:var(--erp44-brand-strong);color:#fff}
  html:root:root body .wt-feedback{font-size:12px;color:#6c7480;line-height:1.8;margin-top:12px;min-height:21px}
  @keyframes wt-drift{from{transform:translateX(0)}to{transform:translateX(var(--wt-distance,-900px))}}
}
@media screen and (max-width:1100px){html:root:root body #wt-page{padding:20px}html:root:root body .wt-detail-layout{grid-template-columns:205px minmax(0,1fr);gap:14px}html:root:root body .wt-article{padding:22px}html:root:root body .wt-hero{padding:22px}}
@media screen and (max-width:900px){html:root:root body .wf-tab-row{flex-wrap:wrap;gap:0;padding:0 10px 5px}html:root:root body .wf-tab-row #wf-tabs{max-width:100%;flex:1 1 100%}html:root:root body #wt-strip{flex-basis:100%;min-width:0}}
@media screen and (max-width:700px){html:root:root body .wt-detail-layout{grid-template-columns:1fr}html:root:root body .wt-topic-nav{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}html:root:root body .wt-topic-nav h2{grid-column:1/-1}html:root:root body #wt-page{padding:12px}html:root:root body .wt-hero h1{font-size:23px}html:root:root body .wt-article-head h2{font-size:21px}}
@media(prefers-reduced-motion:reduce){html:root:root body #wt-strip .wt-track.wt-running{animation:none;transform:none;will-change:auto}html:root:root body #wt-strip .wt-window{overflow-x:auto;mask-image:none}html:root:root body #wt-strip .wt-copy{display:none}}
@media print{.wf-tab-row,#wt-page{display:none}}

/* Eight original, transparent expression frames; all animation stays local. */
@media screen {
  html:root:root body .wt-mascot{--wt-x1:0%;--wt-x2:33.333333%;--wt-y:0%;display:inline-block;width:38px;height:38px;flex:none;background-image:none /* retired work tips */;background-size:400% 200%;background-repeat:no-repeat;background-position:var(--wt-x1) var(--wt-y);animation:wt-meme 4.8s steps(1,end) infinite;pointer-events:none;vertical-align:middle}
  html:root:root body .wt-mascot[data-mood="question"]{--wt-x1:66.666667%;--wt-x2:100%;animation-duration:5.4s}
  html:root:root body .wt-mascot[data-mood="cheer"]{--wt-y:100%;animation-duration:3.6s}
  html:root:root body .wt-mascot[data-mood="calm"]{--wt-x1:66.666667%;--wt-x2:100%;--wt-y:100%;animation-duration:6.2s}
  html:root:root body #wt-strip{height:42px}
  html:root:root body #wt-strip .wt-ticker-item{padding:1px 0}
  html:root:root body .wt-hero>.wt-mascot{position:absolute;right:28px;bottom:0;width:142px;height:142px;filter:drop-shadow(0 5px 8px #8d688b12)}
  html:root:root body .wt-hero:has(>.wt-mascot){padding-right:192px;min-height:180px}
  html:root:root body #wt-strip:is(:hover,:focus-within,.wt-paused) .wt-mascot,html:root:root body #wt-page .wt-mascot{animation-play-state:paused}
  html:root:root body :is(#wt-strip,#wt-page).wt-motion-off .wt-mascot{animation:none}
  html:root:root body .wt-topic-heading{display:flex;justify-content:space-between;gap:10px;margin:3px 7px 6px;font-size:13px;color:var(--erp44-brand-strong);font-weight:600}
  html:root:root body .wt-topic-nav{max-height:max(280px,calc(100dvh - 435px));overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
  html:root:root body .wt-topic-nav button{flex-direction:row;align-items:flex-start;gap:9px;flex-shrink:0;height:auto;min-height:72px}
  html:root:root body .wt-topic-nav button>span:nth-child(2){display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}
  html:root:root body .wt-topic-nav button em{font-style:normal;white-space:nowrap;font-size:10px;color:var(--erp44-brand)}
  html:root:root body .wt-source{display:flex;flex-wrap:wrap;gap:6px 14px}
  html:root:root body .wt-topic-icon{font-size:19px}
  html:root:root body .wt-note{border-left:3px solid #d3c0dc;border-radius:4px;background:#f8f4fb;padding:12px 16px;margin:18px 0;font-size:13px;color:#73617c}
  html:root:root body .wt-empty{padding:18px;color:#81718d;font-size:14px;line-height:1.9}
  @keyframes wt-meme{0%,74%,100%{background-position:var(--wt-x1) var(--wt-y)}75%,88%{background-position:var(--wt-x2) var(--wt-y)}}
}
@media screen and (max-width:700px){html:root:root body .wt-hero>.wt-mascot{width:85px;height:85px;right:10px}html:root:root body .wt-hero:has(>.wt-mascot){padding-right:98px;min-height:160px}}
@media(prefers-reduced-motion:reduce){html:root:root body .wt-mascot{animation:none}}

/* A failed source is actionable and never presented as an empty business queue. */
html:root:root body .ehd-read-status{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;padding:12px 16px;background:#fff5e5;border:1px solid #efd3a8;border-radius:10px;color:#78501f;font-size:13px;line-height:1.6}
html:root:root body .ehd-read-status>span{min-width:0}
html:root:root body .ehd-read-status button{flex-shrink:0}
@media(max-width:700px){html:root:root body .ehd-read-status{align-items:flex-start;flex-wrap:wrap}}

/* Home action opens the same sales workspace, preserving its unfinished form. */
html:root:root body #wf-home .ehd-dashboard .ehd-quick-sale{background:var(--ehd-primary);color:#fff;border:1px solid var(--ehd-primary);border-radius:8px;padding:7px 13px;font-weight:600;min-height:34px;box-shadow:0 2px 5px #7d355712}
@media(max-width:900px){#wf-home .ehd-heading-actions{flex-wrap:wrap;justify-content:flex-end;gap:7px}#wf-home .ehd-heading{align-items:flex-start}}

/* unified_ui.css */
:root{--erp-ink:#244b6d;--erp-line:#cbdff1;--erp-soft:#eff6fd;--erp-orange:#ee8131}
body,input,select,textarea,button{font-family:"Microsoft YaHei","Segoe UI",sans-serif}body{color:var(--erp-ink)}
.erp-nav-icon{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;margin-right:11px}
.wf-nav-item>button[data-wf-open],.nav button[data-view],.nav button[data-s-view],.nav button[data-p-view],.nav a{display:flex;align-items:center;text-align:left;line-height:1.55;min-height:44px;font-size:15px}
.wf-nav-item>button[data-wf-fav]{display:none}
.wf-nav-item>button.active,.nav button.active,.wf-module-tabs button.active{background:#fff1e4;color:#bd571b;border-color:#efb47e;font-weight:600}
.wf-main,.workspace,.s-workspace,.cw-workspace{min-width:0}input,select,textarea{color:var(--erp-ink)}input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible{outline:2px solid #6296c5;outline-offset:2px}
body dialog{border:1px solid var(--erp-line);border-radius:14px;max-height:92dvh;max-width:96vw}dialog::backdrop{background:rgba(26,47,69,.3)}
.table-wrap,.table-scroll,.cw-table-scroll{max-width:100%;overflow-x:auto}.workspace table th,.workspace table td{border-color:#dce7f2}
button.primary,.primary[type=submit]{background:var(--erp-orange);border-color:var(--erp-orange);color:white}button.selected,button[aria-pressed=true]{color:#a9480e;background:#fff1e4;border-color:#efa366}
@media(prefers-reduced-motion:no-preference){button,a,input,select{transition:background-color .15s ease,border-color .15s ease}.wf-home{animation:erp-fade-in .18s ease-out}@keyframes erp-fade-in{from{opacity:.2}to{opacity:1}}}
@media(max-width:1366px){.wf-embedded .workspace{padding:22px 20px 36px}.wf-nav-item>button[data-wf-open]{font-size:14px}.cw-heading,.s-heading,.heading{gap:12px;flex-wrap:wrap}}
@media print{.erp-nav-icon{display:none}table{border-collapse:collapse}th,td{border:1px solid #8292a0}button,nav,.wf-sidebar{print-color-adjust:exact}}

#wf-nav .wf-nav-item:has(>button.active){background:#fff1e4;border-color:#efb47e}#wf-nav .wf-nav-item>button.active{color:#bd571b;background:#fff1e4;border-left-color:#ee8131}

.login-brand{position:relative;overflow:hidden}.login-brand:before,.login-brand:after{content:"";position:absolute;width:300px;height:300px;border:1px solid #ffffff15;border-radius:50%;right:-160px;top:8%;pointer-events:none}.login-brand:after{width:420px;height:420px;top:auto;bottom:-230px;right:30px}.wf-login-choice{transition:background-color .15s ease,border-color .15s ease}

.erp-business-dialog-open #aq-launcher{visibility:hidden;pointer-events:none}

/* All application dialogs share one right-side page layout. Print stays unbounded. */
@media screen {
html.erp-drawer-open34{overflow:hidden}
html body .erp-drawer34{position:fixed;inset:0 0 0 auto;margin:0;width:min(1120px,calc(100vw - 72px));max-width:100vw;height:100dvh;max-height:100dvh;min-height:0;padding:0;border:0;border-left:1px solid #dce5f0;border-radius:0;background:#fff;box-shadow:-18px 0 65px #26384b26;overflow:hidden;transform:translateX(0);box-sizing:border-box;isolation:isolate}
html body dialog.erp-drawer34:not([open]){display:none}
html body .erp-drawer34[open],html body .erp-drawer34:not(dialog):not([hidden]){display:flex;flex-direction:column;gap:0}
html body .erp-drawer34[data-erp-drawer-size=compact]{width:min(660px,calc(100vw - 52px))}
html body .erp-drawer34[data-erp-drawer-size=wide]{width:min(1400px,calc(100vw - 52px))}
html body .erp-drawer34::backdrop{background:#24364b52;backdrop-filter:blur(1px)}
.erp-drawer-overlay34{position:fixed;inset:0;display:flex;justify-content:flex-end;background:#24364b52;padding:0}
.erp-drawer-overlay34[hidden],.erp-drawer34[hidden]{display:none}
html body .erp-drawer-head34{position:relative;top:auto;flex:none;display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0;padding:22px 28px;border-bottom:1px solid #e0e7ef;background:#fff;z-index:4;min-width:0}
html body .erp-drawer-head34 h2,html body h2.erp-drawer-head34{font-size:22px;line-height:1.45;font-weight:650;color:#27354a}
.erp-drawer-head34>h2{margin:0;min-width:0;overflow-wrap:anywhere}
.erp-drawer-head34>button{flex:none;min-height:38px}
html body .erp-drawer-form34{display:flex;flex:1 1 auto;flex-direction:column;min-height:0;min-width:0;padding:0;margin:0;overflow:hidden}
html body .erp-drawer-scroll34{flex:1 1 auto;min-height:0;min-width:0;max-height:none;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:24px 28px;scroll-padding:20px;box-sizing:border-box}
html body .erp-drawer-foot34{position:relative;bottom:auto;flex:none;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin:0;padding:16px 28px;border-top:1px solid #dce5f0;background:#fbfcff;z-index:5;min-width:0}
.erp-drawer-foot34>button{min-height:42px}
.erp-drawer-scroll34:is(.form-grid,.s-formgrid,.formgrid,.cw-formgrid),.erp-drawer-scroll34 :is(.form-grid,.s-formgrid,.formgrid,.cw-formgrid){min-width:0;align-items:start;align-content:start;gap:18px 20px}
.erp-drawer34[data-erp-drawer-size=compact] :is(.form-grid,.s-formgrid,.formgrid,.cw-formgrid){grid-template-columns:repeat(2,minmax(0,1fr))}
.erp-drawer-scroll34 :is(label,.field){min-width:0;line-height:1.5}
.erp-drawer-scroll34 :is(input,select,textarea){max-width:100%;box-sizing:border-box}
.erp-drawer-scroll34 :is(input:not([type=checkbox]):not([type=radio]),select,textarea){min-height:40px}
.erp-drawer-scroll34 textarea{resize:vertical;min-height:76px;max-height:40dvh}
.erp-drawer-scroll34 :is(.note,.info,.s-note,.warning){line-height:1.75;overflow-wrap:anywhere}
.erp-drawer-scroll34 :is(.actions,.s-actions,.wf-tools,.cw-actions){gap:8px;flex-wrap:wrap}
.erp-table-scroll34,.erp-drawer-scroll34 :is(.table-wrap,.table-scroll,.cw-table-scroll){max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
.erp-drawer-scroll34 table{min-width:max-content;max-width:none}
.erp-drawer-scroll34 :is(th,td){max-width:420px;overflow-wrap:anywhere}
.erp-drawer-scroll34 :is(.cw-print-pages,.cw-print-page,.export-page,.long-preview){max-width:100%}
.erp-drawer-scroll34 :is(.cw-print-page img,.long-preview,#image-output img,#long-output img){max-width:100%;height:auto;object-fit:contain}
.erp-drawer-scroll34 :is(#cw-lines,.catalog-results){overscroll-behavior:contain}
.erp-drawer-scroll34 #cw-lines{max-height:none;overflow-x:auto}
.erp-drawer-scroll34 #cw-total{position:static}
[data-erp-discard34]{width:100%;background:#fff7e8;border:1px solid #edcf9b;padding:14px 16px;border-radius:8px;color:#825000;display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px}
[data-erp-discard34]>div{margin-left:auto;display:flex;gap:8px;flex-wrap:wrap}
@media(max-width:700px){html body .erp-drawer34,html body .erp-drawer34[data-erp-drawer-size]{width:100vw;border-left:0}.erp-drawer-head34,.erp-drawer-foot34{gap:8px}html body .erp-drawer-head34{padding:16px 18px}html body .erp-drawer-scroll34{padding:18px}html body .erp-drawer-foot34{padding:12px 18px max(12px,env(safe-area-inset-bottom))}.erp-drawer-scroll34:is(.form-grid,.s-formgrid,.formgrid,.cw-formgrid),.erp-drawer-scroll34 :is(.form-grid,.s-formgrid,.formgrid,.cw-formgrid){grid-template-columns:1fr}.erp-drawer-scroll34 :is(.wide,.span2){grid-column:1/-1}.erp-drawer-foot34>button{flex:1 1 auto}.erp-drawer-head34 h2{font-size:19px}.erp-drawer-scroll34 .querybar{min-width:0}.erp-drawer-scroll34 .query-field{max-width:100%}}
@media(prefers-reduced-motion:no-preference){.erp-drawer34[open],.erp-drawer34:not(dialog):not([hidden]){animation:erp-drawer-enter34 .24s cubic-bezier(.2,.7,.2,1)}@keyframes erp-drawer-enter34{from{opacity:.65;transform:translateX(50px)}to{opacity:1;transform:translateX(0)}}@supports(transition-behavior:allow-discrete){dialog.erp-drawer34{transition:display .16s allow-discrete,overlay .16s allow-discrete,transform .16s ease,opacity .16s ease}dialog.erp-drawer34:not([open]){opacity:0;transform:translateX(50px)}}}
@media(prefers-reduced-motion:reduce){.erp-drawer34{animation:none;transition:none}}
}
@media print{
html.erp-drawer-open34{overflow:visible}
html body .erp-drawer34[open]{position:static;inset:auto;width:100%;max-width:none;height:auto;max-height:none;padding:0;margin:0;overflow:visible;border:0;box-shadow:none;transform:none;display:block}
html body .erp-drawer34[open] :is(.erp-drawer-form34,.erp-drawer-scroll34,.erp-table-scroll34){display:block;height:auto;max-height:none;min-height:0;overflow:visible;padding:0}
.erp-drawer34 .erp-drawer-head34{position:static;margin:0 0 10px;padding:0;border:0}
.erp-drawer34 :is(.erp-drawer-foot34,[data-erp-discard34]){display:none}
.erp-drawer34 table{min-width:0;max-width:100%}
.erp-drawer34::backdrop{background:white;backdrop-filter:none}
}

/* form_refinements25.css */
/* Isolated review build. Shared form hierarchy and compact order editing. */
label,.field>span,.s-formgrid label,.form-grid label {color:#175780;font-weight:650}
input,select,textarea{color:#17476a;font-weight:400}
label:has([required])>.cell-label:after{content:' *';color:#bd3028}
.cw-heading{justify-content:flex-start;gap:32px;flex-wrap:wrap}
.cw-heading>.cw-actions{margin-left:0;align-self:center}
html body #app button[data-cw="order-new"]{background:#ee812d;border-color:#ee812d;color:white}
html body #app button[data-cw="customer-new"]{background:#eaf4ff;border-color:#bad7f3;color:#19547e}
#cw-lines{max-height:52vh;overflow:auto;border:1px solid #c7def2;border-radius:10px;margin-top:14px}
.cw-grid-head,.cw-line-grid{display:grid;grid-template-columns:28px 60px 86px 76px minmax(110px,1fr) 64px 56px 64px 80px 84px 50px;gap:6px;align-items:center;min-width:940px;padding:10px;box-sizing:border-box}
.cw-grid-head{position:sticky;top:0;z-index:3;background:#e9f3fc;color:#175780;font-weight:700;border-bottom:1px solid #bad7ed}
.cw-line.compact-order-line{padding:0;margin:0;border:0;border-bottom:1px solid #d8e7f3;border-radius:0;min-width:940px;background:#fff}
.compact-order-line:nth-child(odd){background:#f7fbff}
.compact-order-line:focus-within{background:#fff5e9}
.cw-line-grid label{display:block;margin:0;min-width:0}
.cw-line-grid .cw-line-photo{margin:0}
.cw-line-grid input{width:100%;padding:7px;min-height:36px;box-sizing:border-box}
.cw-line-grid .cell-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.cw-line-grid .row-amount{text-align:right;padding-right:5px;color:#a74613}
.cw-line-grid .s-upload{display:block;padding:2px;border:0;background:transparent;min-height:0;margin:0}
.cw-line-grid .s-upload img{width:48px;height:48px;object-fit:contain;margin:auto}
.cw-line-grid .s-upload strong,.cw-line-grid .s-upload small{display:none}
.cw-line-grid .s-upload-status:empty{display:none}
.cw-line-grid .s-upload-status:not(:empty){display:block;font-size:11px;color:#ae3026}
.cw-line-grid .s-upload label{font-size:11px}
.cw-line-grid .s-upload input[type=file]{font-size:10px;padding:0;width:64px;min-height:20px}
.cw-line-grid .s-upload:focus-within{outline:2px solid #ed832f}
.row-extra{padding:0 12px 8px 132px;font-size:12px;color:#356583}
.row-extra textarea{width:95%;min-height:55px;margin-top:6px}
.cw-line-match:empty{display:none}
#cw-total{position:sticky;bottom:70px;z-index:4;background:#eaf4ff;border:1px solid #bad7f3;margin:8px 0;padding:12px;font-weight:700;color:#184e75}
.confirmed-hint{color:#166341;background:#edf8f1;padding:12px;border-radius:8px}
.review-badge{position:fixed;bottom:8px;left:12px;z-index:100000;background:#fff1dc;color:#85450e;border:1px solid #efb877;padding:5px 10px;border-radius:6px;font-size:12px;pointer-events:none}
table tfoot.review-total td{background:#e9f3fc;color:#174f79;font-weight:700;border-top:2px solid #b8d7ee}
@media print{.review-badge{position:static}.cw-grid-head{position:static}#cw-lines{max-height:none;overflow:visible}}

/* navigation_heat34.css */
/* Navigation frequency stays available internally; decorative heat flames are hidden. */
.erp-heat34{display:none}

/* catalog_stock38.css */
/* Compact catalog inventory panels, scoped to avoid changing unrelated ERP pages. */
@media screen {
 .card-compact-body .card-variants{min-height:42px}
 .card-compact-body [data-catalog-stock38]{padding:12px;border:1px solid #d8e8e2;border-radius:9px;background:#f6fbf9;margin:1px 0 3px}
 .cs38-summary{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#53645e;font-size:13px}
 .cs38-summary>strong{font-size:24px;line-height:1.25;margin:0;white-space:nowrap;font-variant-numeric:tabular-nums}
 .cs38-value{font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap}
 .cs38-value small{font-size:12px;font-weight:400;color:#63766c}
 html body .cs38-positive,html body .cs38-positive [data-erp-value]{color:#117548}
 html body .cs38-negative,html body .cs38-negative [data-erp-value]{color:#bd303b}
 html body .cs38-zero,html body .cs38-zero [data-erp-value]{color:#64748b}
 html body .cs38-unknown,html body .cs38-unknown [data-erp-value]{color:#737f90}
 .cs38-summary .cs38-unknown{font-size:17px}
 .cs38-caption{font-size:12px;color:#667085;line-height:1.5;margin:5px 0 0}
 .cs38-caution{font-size:12px;color:#a64517;margin:7px 0 0;line-height:1.5}
 .cs38-specs{border-top:1px solid #e0ece6;margin-top:9px;padding-top:4px}
 .cs38-spec{display:flex;justify-content:space-between;align-items:baseline;gap:10px;font-size:12px;line-height:1.6;padding:3px 0}
 .cs38-spec>span:first-child{min-width:0;overflow-wrap:anywhere;color:#52635c}
 .cs38-more{margin-top:4px;border:0;padding:0;background:none}
 .cs38-more>summary{cursor:pointer;font-size:12px;color:#1463bd;padding:2px 0}
 .cs38-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}
 .cs38-actions button{font-size:12px;padding:6px 10px;min-height:31px;border-radius:6px}
 html body #app button.cs38-edit,html body #editor button.cs38-submit{background:#138451;color:white;border-color:#138451}
 html body #app button.cs38-edit:hover,html body #editor button.cs38-submit:hover{background:#096c40;border-color:#096c40}
 html body #app button.cs38-view{background:#edf4ff;color:#155ca5;border-color:#bfd5f3}
 .cs38-page-note{font-size:12px;line-height:1.6;margin:13px 0 0;color:#667085;background:#f0f6ff;border:1px solid #d9e6f7;border-radius:7px;padding:9px 12px}
 .cs38-page-note>b{color:#225484;margin-right:5px}
 .cs38-page-note>span{margin-left:8px;white-space:nowrap}
 .cs38-table-cell{min-width:190px;max-width:240px}
 .cs38-table-cell .cs38-summary{justify-content:flex-start}
 .cs38-table-cell .cs38-summary>span{display:none}
 .cs38-table-cell .cs38-summary>strong{font-size:22px}
 .cs38-table-cell .cs38-actions{margin-top:7px;gap:6px}
 .cs38-table-cell .cs38-actions button{padding:5px 8px}
 .cs38-editor{color:#344054}
 .cs38-product{display:flex;gap:15px;align-items:center;padding:12px 16px;background:#f6fbf9;border:1px solid #d8e8e2;border-radius:10px}
 .cs38-product>div:first-child:empty{display:none}
 .cs38-product .s-photo{width:64px;height:76px;margin:0;object-fit:contain}
 .cs38-product>div:last-child{flex:1;min-width:0}
 #editor .cs38-product h3{font-size:17px;margin:0 0 8px;overflow-wrap:anywhere}
 .cs38-ledger-note{font-size:13px;color:#667085;line-height:1.7;margin:10px 0 16px}
 .cs38-entry-help{border-left:3px solid #17804a;padding:10px 14px;background:#f0f9f4;border-radius:4px;font-size:14px;line-height:1.6;margin-bottom:15px}
 .cs38-entry-help p{margin:4px 0 0;font-size:13px;color:#52645b}
 .cs38-stock-table{overflow-x:auto;border:1px solid #e1e7ee;border-radius:8px}
 .cs38-stock-table table{width:100%;border-collapse:collapse;font-size:14px}
 .cs38-stock-table th,.cs38-stock-table td{padding:12px 14px;text-align:left;border-bottom:1px solid #e5ebf0;vertical-align:middle}
 .cs38-stock-table tbody tr:last-child td{border-bottom:0}
 .cs38-stock-table input{width:140px;max-width:100%;min-width:95px;padding:9px 10px}
 .cs38-stock-table td:first-child{min-width:120px;overflow-wrap:anywhere}
 .cs38-delta{font-size:13px;color:#667085;white-space:nowrap}
 .cs38-reason{display:block;margin-top:18px;font-weight:600;font-size:14px}
 .cs38-reason textarea{display:block;width:100%;min-height:86px;margin-top:8px;font-weight:400;resize:vertical}
 .cs38-preview{padding:12px 14px;border:1px solid #d4e4f7;background:#f1f6ff;border-radius:7px;color:#245582;font-size:13px;line-height:1.6}
 .cs38-unmatched{padding:12px 14px;margin-top:14px;background:#fff7eb;border:1px solid #f4d8ae;border-radius:8px;font-size:13px}
 .cs38-unmatched p{color:#8c6428;font-size:12px;margin:8px 0 0}
 .cs38-history{margin-top:16px;border-top:1px solid #e5eaf0;padding-top:13px;font-size:13px}
 .cs38-history summary{cursor:pointer;color:#1463bd}
 .cs38-history article{padding:12px 0;border-bottom:1px solid #e8ecf0}
 .cs38-history article>div{display:flex;gap:12px;justify-content:space-between}
 .cs38-history article p{margin:5px 0;line-height:1.6}
 .cs38-history article small{color:#778396;font-size:11px;overflow-wrap:anywhere}
 @media(max-width:680px){.cs38-stock-table th,.cs38-stock-table td{padding:10px 8px}.cs38-stock-table input{width:108px}.cs38-summary>strong{font-size:22px}.cs38-page-note>span{display:block;margin-left:0}}
}

/* catalog_search38.css */
@media screen{
 html body #s-content .catalog-search.card-search.catalog-search38{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;padding:16px}
 html body #s-content .catalog-search38>label,html body #s-content .catalog-search38 details label{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-end;gap:7px;margin:0;padding:0;text-align:left;font-size:13px;line-height:20px;min-width:0}
 html body #s-content .catalog-search38>.catalog-customer38{flex:1.3 1 260px;max-width:390px}
 html body #s-content .catalog-search38>.catalog-query38{flex:1 1 210px;max-width:360px}
 html body #s-content .catalog-search38 :is(input,select){box-sizing:border-box;width:100%;max-width:none;min-width:0;height:44px;min-height:44px;margin:0;padding:9px 12px;line-height:24px;font-size:14px}
 html body #s-content .catalog-search38 :is(.catalog-search-actions38,.catalog-view-actions38){display:flex;align-items:center;flex-wrap:nowrap;gap:8px;margin:0;min-height:44px;flex:0 0 auto}
 html body #s-content .catalog-search38 button{box-sizing:border-box;height:44px;min-height:44px;margin:0;padding:9px 15px;line-height:24px;white-space:nowrap;font-size:14px}
 html body #s-content .catalog-search38 .catalog-advanced38{box-sizing:border-box;flex:0 0 auto;margin:0;padding:0;border:0;background:transparent;align-self:flex-end;min-height:44px}
 html body #s-content .catalog-search38 .catalog-advanced38>summary{box-sizing:border-box;display:list-item;min-height:44px;line-height:24px;padding:9px 14px;margin:0;border:1px solid #c8d9ed;border-radius:7px;background:#f4f8fd;color:#315d86;font-size:14px;font-weight:500;cursor:pointer;white-space:nowrap}
 html body #s-content .catalog-search38 .catalog-advanced38[open]{flex-basis:100%;width:100%}
 html body #s-content .catalog-search38 .catalog-advanced38[open]>summary{display:inline-block}
 html body #s-content .catalog-search38 .catalog-advanced38>div{padding:12px 0 0;max-width:280px}
 html body #s-content .catalog-search38 .catalog-search-actions38>[data-catalog-reset38]{color:#4b6079;background:#fff;border:1px solid #c6d4e4}
 html body #s-content .catalog-search38 :focus-visible{outline:3px solid #99bef0;outline-offset:2px}
 @media(max-width:650px){
  html body #s-content .catalog-search38>.catalog-customer38,html body #s-content .catalog-search38>.catalog-query38{flex-basis:100%;max-width:none}
  html body #s-content .catalog-search38 :is(.catalog-search-actions38,.catalog-view-actions38){flex:1 1 auto}
  html body #s-content .catalog-search38 :is(.catalog-search-actions38,.catalog-view-actions38)>button{flex:1;padding-inline:10px}
 }
}

/* catalog_cards42.css */
/* Main catalog stays light; complete business details live in the existing side drawer. */
.cc42-grid{align-items:start;gap:20px}.s-good.cc42-card{overflow:hidden;background:#fff;border:1px solid #dce6f2;border-radius:16px;box-shadow:0 5px 18px #244b6d07;min-width:0;transition:box-shadow .2s,border-color .2s}.cc42-card:hover{border-color:#9ebfe9;box-shadow:0 8px 24px #244b6d12}.cc42-card .cc42-photo{position:relative;display:block;width:100%;height:clamp(220px,24vw,330px);padding:0;border:0;border-radius:0;background:#f4f7fb;overflow:hidden;cursor:pointer}.cc42-card .cc42-photo img{display:block;width:100%;height:100%;max-height:none;max-width:none;object-fit:contain}.cc42-no-photo{color:#7a8ca3;font-size:15px}.cc42-card .cc42-body{display:flex;flex-direction:column;gap:12px;padding:18px;min-height:0}.cc42-card .cc42-body h3{font-size:19px;line-height:1.3;margin:0;color:#244b6d}.cc42-card .cc42-price{font-size:26px;color:#cb501e;line-height:1.3;white-space:normal}.cc42-price small{font-size:12px;font-weight:400;color:#6a7b90}.cc42-card-foot{display:flex;align-items:center;justify-content:space-between;gap:10px}.cc42-card-foot>span{font-size:13px;color:#167547}.cc42-card-foot button{padding:8px 12px;border-radius:9px;color:#1260d5;background:#eef5ff;border:1px solid #cbdfff}.cc42-badge{position:absolute;top:12px;right:12px;border:1px solid #efc0c6;border-radius:30px;padding:6px 12px;color:#b42f48;background:#fff2f3;font-weight:600;font-size:13px}.cc42-unavailable{padding:12px 14px;background:#fff4f5;border:1px solid #f0cfd5;border-radius:10px;color:#a53249}.cc42-unavailable b{display:block;font-size:14px}.cc42-unavailable p{margin:6px 0 0;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.cc42-card .cc42-unavailable p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.cc42-off .cc42-price{color:#8b7180}.cc42-off .cc42-photo img{opacity:.75}.cc42-withdraw{color:#b32e48;background:#fff1f3;border-color:#edbfc9}.cc42-restore{color:#167547;background:#ebf8f1;border-color:#a9dcca}
[data-catalog-detail42] .pricing-hero img{object-fit:contain}.cc42-selection,.cc42-stock,.cc42-info{margin:18px 0;padding:18px;background:#f7faff;border:1px solid #dce7f6;border-radius:12px}.cc42-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.cc42-section-head h3,.cc42-info h3{margin:0 0 10px}.cc42-selection p{font-size:13px;color:#7688a0;margin:12px 0 0}.cc42-info dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;margin:0}.cc42-info dl>div{display:grid;grid-template-columns:100px minmax(0,1fr);gap:12px;padding:12px 0;border-bottom:1px solid #e2eaf5}.cc42-info dt{font-size:13px;color:#718199}.cc42-info dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap;font-size:14px}.cc42-status-intro{background:#f5f8fc;border-radius:12px;padding:16px;margin-bottom:18px}.cc42-status-intro h3{margin:0 0 8px}.cc42-status-intro p{margin:0;color:#657b93;line-height:1.7}.cc42-reason-field[hidden]{display:none}.cc42-reason-field textarea{min-height:90px}
@media(max-width:700px){.cc42-info dl{grid-template-columns:1fr}.cc42-card .cc42-body{padding:14px}.cc42-card .cc42-price{font-size:22px}.cc42-selection,.cc42-stock,.cc42-info{padding:12px}.cc42-card .cc42-photo{height:220px}}

/* Direct multi-product selection and quotation remain visible outside the detail drawer. */
.cc42-card .cc43-pick,.cc43-pick{display:block;width:100%;padding:11px 14px;border:0;border-bottom:1px solid #d6e5f9;border-radius:0;background:#eef5ff;color:#155ebc;font-size:14px;font-weight:600;text-align:left;cursor:pointer}
.cc42-card .cc43-picked,.cc43-picked{background:#e5f5ec;color:#147547;border-color:#aad6bb}
.cc43-pick:disabled{background:#f4f4f6;color:#89929f;cursor:default;opacity:1}
.cc42-card.card-chosen{border:2px solid #279467;box-shadow:0 0 0 3px #e5f5ec}

/* Both ends of the catalog remain easy to reach, in every personal theme. */
html body #app #s-content .cc46-pagination{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px 18px;margin:18px 0;padding:12px 16px;border:1px solid var(--erp44-line,#e7d8df);border-radius:12px;background:var(--erp44-surface,#fffdfa);color:var(--erp44-ink,#553e53);font-size:14px;line-height:1.4;scroll-margin-top:12px}
html body #app #s-content .cc46-pagination .cc46-total{margin-right:auto;white-space:nowrap}
html body #app #s-content .cc46-pages{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
html body #app #s-content .cc46-pagination button{display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:34px;width:auto;margin:0;padding:5px 9px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--erp44-ink,#553e53);box-shadow:none;line-height:1.2;font-size:14px;font-weight:550}
html body #app #s-content .cc46-pagination button:hover:not(:disabled){border-color:var(--erp44-line,#e7d8df);background:var(--erp44-soft,#f9edf3);color:var(--erp44-brand,#a83c72)}
html body #app #s-content .cc46-pagination button[aria-current="page"]{border-color:var(--erp44-brand,#a83c72);background:var(--erp44-soft,#f9edf3);color:var(--erp44-brand-strong,#89305d);font-weight:750}
html body #app #s-content .cc46-pagination button:disabled{opacity:.35;cursor:default}
html body #app #s-content .cc46-progress{font-size:12px;color:var(--erp44-muted,#816978);white-space:nowrap}
html body #app #s-content .cc46-ellipsis{padding:0 4px;color:var(--erp44-muted,#816978)}
html body #app #s-content .cc46-jump,html body #app #s-content .cc46-jump label{display:flex;align-items:center;flex-direction:row;gap:8px;margin:0;font-size:14px;font-weight:400;white-space:nowrap}
html body #app #s-content .cc46-jump input{box-sizing:border-box;width:54px;min-width:0;min-height:34px;margin:0;padding:5px 7px;text-align:center;border:1px solid var(--erp44-line,#e7d8df);border-radius:8px;background:var(--erp44-surface,#fffdfa);color:var(--erp44-ink,#553e53);font-size:14px}
html body #app #s-content .cc46-jump button{border-color:var(--erp44-line,#e7d8df)}
html body #app #s-content .cc46-pagination .cc46-jump button[type=submit]{background:var(--erp44-surface,#fffdfa);color:var(--erp44-brand,#a83c72);border-color:var(--erp44-line,#e7d8df);box-shadow:none}
html body #app #s-content .cc46-pagination .erp-small-icon{display:none}
@media(max-width:650px){html body #app #s-content .cc46-pagination{justify-content:center;gap:10px;padding:12px 8px}html body #app #s-content .cc46-total{flex-basis:100%;text-align:center}html body #app #s-content .cc46-pages{gap:2px}html body #app #s-content .cc46-pagination button{min-width:30px;padding:5px 7px}}
@media print{.cc46-pagination{display:none}}
.cc43-quote-panel{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin:18px 0;padding:18px 20px;border:1px solid #c9dcf8;border-radius:12px;background:#f0f6ff}
.cc43-quote-panel h3{margin:0;color:#244b6d;font-size:17px}.cc43-quote-panel h3 span{display:inline-block;margin-left:12px;color:#12774c;font-size:15px}
.cc43-quote-panel p{margin:8px 0 0;color:#637c99;font-size:13px;line-height:1.6}.cc43-quote-actions{display:flex;gap:10px;flex-wrap:wrap}.cc43-quote-actions [data-card-quote]{min-width:160px;font-weight:600}
.cc43-selection-bar [data-card-quote]{background:#14844c;border-color:#14844c;color:#fff;font-weight:600}.cc43-selection-bar [data-card-order]{background:#eef5ff;border-color:#ccdef5;color:#235997}
@media(max-width:700px){.cc43-quote-panel{padding:14px}.cc43-quote-actions{width:100%}.cc43-quote-actions [data-card-quote]{flex:1}.cc43-quote-panel h3 span{margin:8px 0 0;display:block}}
#app #s-content .cc43-pick.cc43-picked{background:#e5f5ec;color:#147547;border-color:#aad6bb}
#app #s-content .cc43-pick:disabled{background:#f4f4f6;color:#89929f;border-color:#e0e3e8}
#app #s-content .cc43-selection-bar [data-card-quote]{background:#14844c;border-color:#14844c;color:#fff}
#app #s-content .cc43-selection-bar [data-card-order]{background:#eef5ff;border-color:#ccdef5;color:#235997}

/* workplace44.css */
/* Workplace v44: deliberately scoped, keeping all business forms and TV pages intact. */
.wf-shell>.wf-header{display:grid;grid-template-columns:auto 220px minmax(180px,1fr) auto auto;align-items:center;gap:18px;min-height:84px;padding:13px 22px;position:relative;z-index:12}
.wf-header>strong{font-size:17px;gap:9px;letter-spacing:.1px}.wf-header>strong:before{width:35px;height:39px;font-size:24px;border-radius:10px}.wf-header #wf-user,.wf-header #wf-out{display:none}.wf-header span{margin-left:0}.wf-header #wf-module-tabs{margin:0;order:0;gap:2px;flex-basis:auto;white-space:nowrap}.wf-header #wf-module-tabs button{padding:9px 10px;font-size:13px;border-radius:8px;min-height:36px}.wp44-quicksearch{position:relative;min-width:0;width:min(220px,100%);justify-self:start;display:flex;align-items:center}.wp44-quicksearch>svg{position:absolute;left:12px;width:18px;height:18px;fill:none;stroke:#667f9f;stroke-width:1.8;pointer-events:none}.wf-header .wp44-quicksearch #wf-search{width:100%;min-width:0;max-width:none;margin:0;padding:10px 32px 10px 37px;border-radius:10px;border:1px solid #fff6;font-size:13px;min-height:41px;box-shadow:0 3px 10px #0a2d6912}.wp44-quicksearch kbd{position:absolute;right:11px;background:#f0f4fa;color:#8390a3;border:1px solid #e0e7ef;border-radius:4px;padding:0 4px;font-size:11px}.wf-header .wp44-ticker{min-width:0;display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #ffffff29;background:#ffffff0c;color:white;border-radius:10px;text-align:left;min-height:42px}.wf-header .wp44-ticker:hover{background:#ffffff18;border-color:#ffffff55;color:white}.wp44-ticker-icon{color:#b7d6ff;font-size:20px;flex-shrink:0}.wp44-ticker-window{overflow:hidden;min-width:0;flex:1}.wp44-ticker-line{display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:12px;line-height:22px;min-width:0}.wp44-ticker-line strong{font-weight:600;max-width:80px;overflow:hidden;text-overflow:ellipsis;flex-shrink:0;color:#e0edff}.wp44-ticker-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.wp44-ticker-arrow{font-size:19px;opacity:.7}.wp44-ticker-enter{animation:wp44-ticker-in .5s ease-out}.wp44-ticker:hover .wp44-ticker-enter{animation-play-state:paused}@keyframes wp44-ticker-in{from{opacity:.1;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.wp44-account{position:relative;min-width:0;justify-self:end}.wf-header #wp44-account-button{display:flex;gap:10px;align-items:center;background:transparent;border:1px solid transparent;color:#fff;padding:5px 3px 5px 8px;border-radius:11px;text-align:left;min-width:135px;max-width:200px}.wf-header #wp44-account-button:hover,.wf-header #wp44-account-button[aria-expanded=true]{background:#ffffff16;color:white;border-color:#ffffff30}.wp44-account img{width:40px;height:40px;border:2px solid #fff9;background:#fff;border-radius:50%;object-fit:cover}.wp44-account-copy{display:flex;flex-direction:column;min-width:0;gap:4px}.wp44-account-copy strong{font-size:14px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:inherit}.wp44-account-copy small{font-size:10px;color:#d0e3ff;max-width:126px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wp44-chevron{font-size:16px;margin-left:4px;color:#c8ddf9}#wp44-account-menu{position:absolute;z-index:100;right:0;top:calc(100% + 12px);width:250px;padding:8px;background:#fff;border:1px solid #dfe7f2;border-radius:14px;box-shadow:0 15px 45px #16345b2b;color:#33445d}#wp44-account-menu[hidden]{display:none}.wp44-menu-identity{padding:11px 12px 13px;border-bottom:1px solid #edf1f7;font-size:12px;color:#8390a3;overflow-wrap:anywhere}#wp44-account-menu button{display:flex;flex-direction:column;gap:4px;width:100%;text-align:left;padding:11px 12px;border:0;background:white;border-radius:8px;color:#2b405e;font-size:14px}#wp44-account-menu button:hover{background:#f0f6ff;color:#185cbb}#wp44-account-menu button span{font-size:11px;color:#8b96a7}#wp44-account-menu .wp44-menu-logout{border-top:1px solid #edf1f7;border-radius:0;color:#b94343;margin-top:5px;padding-top:14px}
.wp44-drawer,.wp44-dialog{font-family:inherit;color:#33445d;font-size:14px;line-height:1.55}.wp44-drawer{position:fixed;top:100px;right:16px;bottom:16px;width:min(510px,calc(100vw - 28px));background:#fff;border:1px solid #dce6f2;border-radius:18px;z-index:80;box-shadow:0 18px 70px #18366038;display:flex;flex-direction:column;overflow:hidden;animation:wp44-drawer-in .22s ease-out}.wp44-drawer[hidden]{display:none}@keyframes wp44-drawer-in{from{transform:translateX(36px);opacity:.1}to{transform:translateX(0);opacity:1}}.wp44-drawer-content{overflow-y:auto;min-height:0;padding:22px;overscroll-behavior:contain}.wp44-dialog{padding:0;border:1px solid #dce6f2;border-radius:19px;width:min(720px,calc(100vw - 32px));max-height:calc(100dvh - 48px);box-shadow:0 24px 90px #10284d42;background:white}.wp44-dialog[open]{display:flex;flex-direction:column}.wp44-dialog::backdrop{background:#17304e66;backdrop-filter:blur(3px)}.wp44-dialog-head{display:flex;justify-content:space-between;align-items:center;flex-shrink:0;padding:20px 24px;border-bottom:1px solid #eaf0f7;background:#fff}.wp44-dialog-head h2{font-size:21px;line-height:1.4;margin:2px 0 0;color:#223955}.wp44-eyebrow{display:block;font-size:10px;letter-spacing:1.7px;color:#8d9bad;font-weight:600}.wp44-close{width:34px;height:34px;flex:0 0 34px;padding:0;border:1px solid #e2e9f2;background:#f6f9fc;color:#7c8b9e;border-radius:10px;font-size:23px;line-height:30px}.wp44-dialog-body{padding:23px 26px}.wp44-dialog form{margin:0}.wp44-dialog>form{min-height:0;overflow-y:auto}.wp44-dialog input,.wp44-dialog textarea,.wp44-dialog select{width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid #d7e1ed;border-radius:8px;font-size:14px;min-height:40px;margin:6px 0 0;box-shadow:none}.wp44-dialog label{font-size:13px;color:#344966;font-weight:600}.wp44-dialog label small{font-size:11px;color:#8c99aa;font-weight:400;display:block;margin-top:5px}.wp44-dialog button{font-size:13px;min-height:35px;border-radius:8px}.wp44-dialog-footer{position:sticky;bottom:0;display:flex;align-items:center;gap:10px;padding:16px 24px;background:#fff;border-top:1px solid #edf1f7;z-index:1}.wp44-dialog-footer>span{font-size:11px;color:#8996a7;margin-right:auto}.wp44-dialog-footer button{padding:9px 18px}.wp44-error{color:#c34040;margin:12px 0 0;font-size:13px;white-space:pre-wrap}.wp44-error:empty{display:none}.wp44-hint{font-size:12px;color:#8a97a7;line-height:1.8;margin:13px 0}.wp44-warning{font-size:12px;color:#a06a12;background:#fff8e9;border:1px solid #f1dfb7;padding:9px 12px;border-radius:8px}.wp44-state{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:235px;padding:30px 20px;gap:7px}.wp44-state-symbol{display:grid;place-items:center;width:59px;height:59px;font-size:33px;color:#809ec4;background:#edf5ff;border-radius:18px;margin-bottom:6px}.wp44-state h3{font-size:18px;margin:3px 0;color:#405772}.wp44-state p{color:#8a98ab;font-size:13px;max-width:340px;margin:0 0 10px}.wp44-spinner{display:inline-block;width:23px;height:23px;border:2px solid #d8e7f8;border-top-color:#2c7acb;border-radius:50%;animation:wp44-spin .8s linear infinite}@keyframes wp44-spin{to{transform:rotate(360deg)}}
.wp44-results-heading h3{font-size:17px;margin:0 0 3px}.wp44-results-heading p{font-size:12px;color:#8997aa;margin:0 0 18px}.wp44-result-list{display:flex;flex-direction:column;gap:10px}.wp44-result{display:flex;gap:14px;align-items:center;width:100%;padding:12px;text-align:left;background:#fff;border:1px solid #e0e8f2;color:#304963;border-radius:12px}.wp44-result:hover{border-color:#78a9e8;background:#f8fbff}.wp44-result-photo{display:flex;width:68px;height:74px;flex-shrink:0;object-fit:contain;border-radius:8px;background:#f3f6fa}.wp44-result>span:not(.wp44-result-arrow){display:flex;flex-direction:column;gap:4px;min-width:0}.wp44-result strong{font-size:17px;color:#224877}.wp44-result small{font-size:11px;color:#8b99ab}.wp44-result-arrow{margin-left:auto;font-size:26px;color:#9db3cd}.wp44-no-photo{display:flex;align-items:center;justify-content:center;color:#9aa8b9;font-size:11px;background:#f3f6fa}.wp44-product-image{display:flex;width:100%;height:265px;border:1px solid #edf1f6;background:#f7f9fc;border-radius:13px;overflow:hidden;align-items:center;justify-content:center}.wp44-product-image>img{width:100%;height:100%;object-fit:contain}.wp44-product-image>.wp44-no-photo{width:100%;height:100%;font-size:14px}.wp44-product-heading{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;margin:20px 0 15px}.wp44-sku{color:#2470c5;font-size:13px;font-weight:650;letter-spacing:.4px}.wp44-product-heading h3{font-size:23px;line-height:1.4;color:#2d425e;margin:3px 0}.wp44-product-heading p{font-size:12px;color:#8b98a8;margin:5px 0}.wp44-muted-badge{font-size:11px;padding:3px 9px;border-radius:20px;background:#f0f2f5;color:#9099a7}.wp44-product-facts{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:15px 0 20px}.wp44-product-facts div{display:flex;flex-direction:column;gap:4px}.wp44-product-facts span{font-size:11px;color:#8b98ab}.wp44-product-facts strong{font-size:13px;color:#475e79;font-weight:500}.wp44-stock-summary{display:grid;grid-template-columns:1fr 1fr;padding:16px 20px;border-radius:12px;background:#f4f8fe;border:1px solid #e2ebf7;gap:20px}.wp44-stock-summary>div{display:flex;flex-direction:column;gap:7px}.wp44-stock-summary small{font-size:11px;color:#7b8fa7}.wp44-stock-summary strong{font-size:24px;color:#255890}.wp44-stock-summary strong small{font-weight:400;font-size:12px}.wp44-price-hidden{font-size:12px;font-weight:500;color:#8b97a8}.wp44-money{color:#c06931;white-space:nowrap}.wp44-section-heading{display:flex;align-items:center;justify-content:space-between;margin:22px 0 10px}.wp44-section-heading h3{font-size:16px;margin:0}.wp44-section-heading>span{font-size:11px;color:#8b98aa}.wp44-table-scroll{max-width:100%;overflow-x:auto;border:1px solid #e4eaf2;border-radius:10px}.wp44-table-scroll table{width:100%;border-collapse:collapse;font-size:12px}.wp44-table-scroll th,.wp44-table-scroll td{text-align:left;padding:10px 11px;border:0;border-bottom:1px solid #edf0f5;white-space:nowrap}.wp44-table-scroll tbody tr:last-child td{border-bottom:0}.wp44-inactive{display:block;font-size:10px;color:#939baa}.wp44-back-results{width:100%;margin:8px 0 0;font-size:13px}
.wp44-profile-intro{display:flex;align-items:center;gap:20px;margin-bottom:26px}.wp44-profile-intro>img{width:85px;height:85px;object-fit:cover;border-radius:24px;box-shadow:0 5px 14px #17385c12;border:4px solid white;outline:1px solid #e1e9f3;background:#f5f8ff}.wp44-profile-intro h3{font-size:22px;margin:0 0 5px;color:#334e72}.wp44-profile-intro p{font-size:12px;color:#8a98aa;margin:0 0 5px}.wp44-profile-intro small{font-size:11px;color:#72849d}.wp44-avatar-field{border:0;padding:0;margin:0 0 24px}.wp44-avatar-field legend{font-size:13px;font-weight:650;color:#415876;margin-bottom:12px}.wp44-avatars{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:7px}.wp44-avatar-option{border:2px solid transparent;border-radius:12px;background:transparent;min-width:0;padding:2px;aspect-ratio:1;min-height:0}.wp44-avatar-option img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px}.wp44-avatar-option[aria-pressed=true]{border-color:#4189df;background:#edf5ff;box-shadow:0 0 0 2px #d9ebff}.wp44-upload-row{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:14px}.wp44-upload-button{position:relative;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid #cddff5;background:#f3f8ff;padding:7px 11px;border-radius:8px;color:#4776ad;font-size:12px;font-weight:500;cursor:pointer}.wp44-upload-button input{position:absolute;inset:0;opacity:0;cursor:pointer;margin:0;width:100%;height:100%}.wp44-upload-button:focus-within{outline:2px solid #1264dc;outline-offset:2px}.wp44-upload-row>small{font-size:11px;color:#91a0b3}.wp44-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px 18px}.wp44-permissions{margin:26px 0 0;padding:16px 18px;background:#f7f9fc;border:1px solid #e8edf5;border-radius:11px}.wp44-permissions h3{font-size:13px;font-weight:650;margin:0 0 12px}.wp44-permissions h3 span{font-size:10px;color:#91a0b3;font-weight:400;margin-left:7px}.wp44-permissions p{font-size:12px;color:#8796a9}.wp44-permissions strong{font-size:12px;margin-left:8px;color:#5c6e87}.wp44-permissions>div{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.wp44-permissions>div span{font-size:11px;color:#6881a0;padding:3px 8px;background:white;border:1px solid #e2e9f2;border-radius:6px}.wp44-permissions>small{font-size:11px;color:#99a5b5}
.wp44-board{width:min(800px,calc(100vw - 32px))}.wp44-board-toolbar{display:flex;justify-content:space-between;align-items:center;padding:17px 24px;background:#fafcff;border-bottom:1px solid #ecf1f7;gap:15px;flex-shrink:0}.wp44-board-tabs{display:flex;gap:6px}.wp44-board-tabs button{background:transparent;border-color:transparent;color:#8b98aa;padding:7px 12px}.wp44-board-tabs button[aria-selected=true]{background:#eaf3ff;color:#236ec5;border-color:#d8e7f9}.wp44-announcement-list{padding:20px 24px;overflow-y:auto;min-height:150px;background:#f8fafd;flex:1;overscroll-behavior:contain}.wp44-announcement{padding:20px;background:white;border:1px solid #e4ebf4;border-radius:13px;margin-bottom:12px}.wp44-announcement:last-child{margin-bottom:0}.wp44-announcement-top{display:flex;align-items:center;gap:11px}.wp44-announcement-top>img{width:38px;height:38px;object-fit:cover;border-radius:50%}.wp44-announcement-top>div{display:flex;flex-direction:column;gap:3px;min-width:0}.wp44-announcement-top strong{font-size:13px;color:#435b78;overflow-wrap:anywhere}.wp44-announcement-top small{font-size:10px;color:#98a5b7}.wp44-announcement-top>.wp44-tag{margin-left:auto;flex-shrink:0}.wp44-tag{display:inline-flex;align-items:center;white-space:nowrap;font-size:10px;line-height:1.55;padding:3px 7px;border-radius:5px;background:#eef5ff;color:#3377c3;font-weight:600;flex-shrink:0}.wp44-tag-urgent{background:#ffebe8;color:#d05f54}.wp44-tag-attention{background:#fff2d5;color:#a97620}.wp44-tag-focus{background:#e8f2ff;color:#4b7dc1}.wp44-tag-cheer{background:#e7f6ec;color:#519167}.wp44-ticker .wp44-tag{font-size:10px;padding:2px 6px}.wp44-announcement-content{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;color:#41536d;line-height:1.9;margin:15px 0}.wp44-announcement footer{display:flex;justify-content:space-between;align-items:center;gap:10px}.wp44-announcement footer small{font-size:10px;color:#a0adbe}.wp44-announcement footer>div{display:flex;gap:5px}.wp44-announcement footer button{font-size:11px;padding:5px 9px;background:transparent;border-color:transparent;min-height:28px;color:#7694b9}.wp44-announcement footer .wp44-delete{color:#c48686}.wp44-expired{opacity:.72}.wp44-compose-title{display:flex;align-items:center;gap:12px;margin-bottom:12px}.wp44-compose-title h3{font-size:15px;margin:0;color:#3c597b}.wp44-compose-title>span{font-size:11px;color:#95a5ba}#wp44-compose{padding:18px 24px;background:#fff;border-bottom:1px solid #e5edf6;max-height:55vh;overflow-y:auto;flex-shrink:0}#wp44-compose[hidden]{display:none}.wp44-compose-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:12px}.wp44-compose-fields label>small{display:inline;margin-left:4px}.wp44-compose-content{display:block}.wp44-compose-content textarea{resize:vertical;min-height:105px}.wp44-compose-bottom{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:11px}.wp44-compose-bottom>span{font-size:10px;color:#9baabb;margin-right:auto}.wp44-compose-bottom>.wp44-error{flex-basis:100%;order:1;font-size:12px;margin-top:4px}.wp44-compose-bottom button{padding:7px 12px}
@media(max-width:1550px){.wf-shell>.wf-header{grid-template-columns:auto 220px minmax(200px,1fr) auto;gap:12px 18px;padding:12px 20px}.wf-header #wf-module-tabs{grid-column:1/4;grid-row:2;justify-content:flex-start;gap:8px}.wp44-account{grid-column:4;grid-row:1/3}.wp44-drawer{top:126px}.wf-header>strong{font-size:17px}.wf-header #wf-module-tabs button{padding:7px 15px;min-height:31px}.wf-header .wp44-ticker{padding:8px 12px}}
@media(max-width:1000px){.wf-shell>.wf-header{grid-template-columns:auto minmax(170px,220px) auto;gap:10px 14px}.wp44-account{grid-column:3;grid-row:1}.wf-header .wp44-ticker{grid-column:2/4;grid-row:2}.wf-header #wf-module-tabs{grid-column:1;grid-row:2;gap:1px;max-width:290px;overflow-x:auto}.wf-header #wf-module-tabs button{padding:7px 8px;font-size:11px}.wf-header>strong{font-size:15px}.wp44-drawer{top:133px}.wp44-account-copy small{max-width:100px}}
@media(max-width:700px){.wf-shell{grid-template-columns:146px minmax(0,1fr)}.wf-shell>.wf-sidebar{width:146px;min-width:146px}.wf-sidebar .wf-nav-item button:first-child{font-size:12px;padding-left:13px}.wf-sidebar h2>button{font-size:14px;padding:10px 13px}.wf-shell>.wf-header{grid-template-columns:minmax(0,1fr) auto;padding:10px 12px;gap:10px;min-height:0}.wf-header>strong{grid-column:1;grid-row:1;font-size:14px;gap:7px}.wf-header>strong:before{width:28px;height:31px;font-size:20px}.wp44-account{grid-column:2;grid-row:1}.wf-header #wp44-account-button{min-width:0;max-width:150px;padding:0;gap:7px}.wp44-account img{width:33px;height:33px}.wp44-account-copy strong{font-size:12px}.wp44-account-copy small{font-size:9px;max-width:95px}.wp44-chevron{display:none}.wp44-quicksearch{grid-column:1;grid-row:2}.wf-header .wp44-quicksearch #wf-search{min-height:37px;padding-top:8px;padding-bottom:8px;font-size:12px}.wf-header .wp44-ticker{grid-column:2;grid-row:2;max-width:155px;padding:6px 8px;min-height:37px;gap:5px}.wp44-ticker-icon,.wp44-ticker-arrow,.wp44-ticker-line strong{display:none}.wp44-ticker-line{gap:5px;font-size:10px}.wp44-ticker .wp44-tag{font-size:9px;padding:1px 4px}.wf-header #wf-module-tabs{grid-column:1/-1;grid-row:3;width:100%;max-width:none;justify-content:space-between;gap:4px}.wf-header #wf-module-tabs button{flex:1;font-size:10px;padding:6px 5px;min-height:29px}.wp44-drawer{top:164px;right:8px;bottom:8px;width:calc(100vw - 16px);border-radius:14px}.wp44-drawer-content{padding:18px}.wp44-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 24px);border-radius:15px}.wp44-dialog-head{padding:16px 18px}.wp44-dialog-head h2{font-size:19px}.wp44-dialog-body{padding:19px 18px}.wp44-dialog-footer{padding:13px 16px}.wp44-dialog-footer>span{display:none}.wp44-dialog-footer button:first-of-type{margin-left:auto}.wp44-form-grid{grid-template-columns:1fr;gap:15px}.wp44-avatars{grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}.wp44-avatar-option{max-width:65px}.wp44-profile-intro{gap:16px;margin-bottom:20px}.wp44-profile-intro>img{width:72px;height:72px}.wp44-profile-intro h3{font-size:20px}.wp44-board-toolbar{padding:12px 14px;gap:7px}.wp44-board-toolbar button{font-size:12px;padding:7px 9px}.wp44-announcement-list{padding:14px}.wp44-announcement{padding:15px}.wp44-announcement-content{font-size:13px}.wp44-announcement-top>.wp44-tag{font-size:9px}.wp44-announcement-top small{font-size:9px}#wp44-compose{padding:16px}.wp44-compose-title>span{display:none}.wp44-compose-fields{gap:12px}.wp44-product-image{height:230px}}
@media(max-width:390px){.wf-shell{grid-template-columns:124px minmax(0,1fr)}.wf-shell>.wf-sidebar{width:124px;min-width:124px}.wp44-account-copy small{display:none}.wf-header>strong{font-size:12px}.wp44-account-copy strong{max-width:64px}.wf-header .wp44-ticker{max-width:122px}.wp44-quicksearch kbd{display:none}.wf-header .wp44-quicksearch #wf-search{padding-right:8px}.wp44-ticker-text{max-width:62px}}
@media(prefers-reduced-motion:reduce){.wp44-ticker-enter,.wp44-drawer{animation:none}.wp44-spinner{animation-duration:2s}.wp44-dialog *,.wp44-drawer *{scroll-behavior:auto}}
@media print{.wp44-drawer,.wp44-dialog,.wp44-account,.wp44-ticker{display:none}}

/* Quiet header notices; all publishing and management lives in the user center. */
.wf-header .wp44-ticker,.wf-header .wp44-ticker:hover{padding:0;border:0;background:transparent;box-shadow:none;border-radius:0;color:#ecf4ff;cursor:default;min-height:32px;overflow:hidden}
.wp44-ticker-window{display:block;width:100%;overflow:hidden}
.wp44-ticker-author{display:flex;align-items:center;gap:7px;flex:0 0 auto;max-width:130px;padding-left:11px;border-left:1px solid #ffffff29;white-space:nowrap}
.wp44-ticker-author[hidden]{display:none}.wp44-ticker-author img{width:26px;height:26px;border-radius:50%;object-fit:cover;border:1px solid #ffffff66;background:#ffffff15}.wp44-ticker-author strong{font-size:11px;max-width:86px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500;color:#e2edff}
.wp44-ticker-line{width:max-content;max-width:none;gap:9px;line-height:26px;font-size:12px}
.wp44-ticker-line strong{max-width:none;overflow:visible;text-overflow:clip;display:inline;color:#dbeaff}
.wp44-ticker-text{overflow:visible;text-overflow:clip;white-space:nowrap;max-width:none;flex:none}
.wf-header .wp44-ticker .wp44-tag{padding:0;background:transparent;font-size:11px;color:#d7e8ff;gap:5px}
.wp44-ticker .wp44-tag::before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor;opacity:.9}
.wf-header .wp44-ticker .wp44-tag-urgent{color:#ffd0c6}.wf-header .wp44-ticker .wp44-tag-attention{color:#ffe3a8}.wf-header .wp44-ticker .wp44-tag-cheer{color:#c2f2d0}
.wp44-ticker-scrolling{animation:wp44-ticker-scroll var(--wp44-scroll-duration,12s) linear infinite}
.wp44-ticker:hover .wp44-ticker-line{animation-play-state:paused}
@keyframes wp44-ticker-scroll{0%,15%{transform:translateX(0)}85%,100%{transform:translateX(var(--wp44-scroll-distance,0px))}}
#wp44-profile-dialog,#wp44-board-dialog{width:min(760px,calc(100vw - 32px));height:min(780px,calc(100dvh - 48px))}
.wp44-center-tabs{display:flex;align-items:center;gap:7px;padding:13px 24px;background:#fbfcff;border-bottom:1px solid #e8eef6;flex-shrink:0}
.wp44-center-tabs button{padding:8px 17px;background:transparent;border:1px solid transparent;color:#8392a7;font-size:13px;min-height:37px;border-radius:9px}
.wp44-center-tabs button[aria-selected=true]{background:#eaf3ff;border-color:#d9e8fa;color:#236bc0;font-weight:650}
.wp44-board-caption{margin:0;color:#8a99ae;font-size:12px}.wp44-board-toolbar{padding-top:13px;padding-bottom:13px;background:white}
#wp44-profile-dialog>form{flex:1}.wp44-announcement-list{min-height:0}#wp44-compose{max-height:48%}
@media(max-width:700px){.wf-header .wp44-ticker{max-width:none;padding:0;min-height:30px}.wp44-ticker-line{font-size:10px;gap:6px}.wf-header .wp44-ticker .wp44-tag{font-size:9px}.wp44-ticker-line strong{display:inline}#wp44-profile-dialog,#wp44-board-dialog{width:calc(100vw - 20px);height:calc(100dvh - 24px)}.wp44-center-tabs{padding:10px 14px;gap:5px}.wp44-center-tabs button{flex:1;padding:7px 9px;font-size:12px;min-height:35px}.wp44-board-caption{font-size:11px}}
@media(prefers-reduced-motion:reduce){.wp44-ticker-line{animation:none;transform:none;width:auto}.wp44-ticker-line strong{max-width:80px;overflow:hidden;text-overflow:ellipsis}.wp44-ticker-text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}}
@media(max-width:700px){.wf-header .wp44-quicksearch{grid-column:1/-1;grid-row:2}.wf-header .wp44-ticker{grid-column:1/-1;grid-row:3;min-height:28px}.wf-header #wf-module-tabs{grid-row:4}.wp44-ticker-author{gap:6px;max-width:118px;padding-left:9px}.wp44-ticker-author img{width:23px;height:23px}.wp44-ticker-author strong{font-size:10px;max-width:75px}.wp44-drawer{top:197px}}

/* Each notice is one moving unit: author, tag and full text stay together. */
.wf-header .wp44-ticker:focus-visible{outline:2px solid #bad8ff;outline-offset:4px;border-radius:4px}
.wp44-ticker-window{min-width:0;flex:1;line-height:30px}
.wp44-ticker-empty{font-size:12px;color:#c3d8f4;opacity:.8}
.wp44-ticker-track{display:flex;align-items:center;width:max-content;will-change:transform}
.wp44-ticker-group{display:flex;align-items:center;flex:0 0 auto;width:max-content;gap:34px;padding-right:34px;box-sizing:border-box}
.wp44-ticker-item{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;white-space:nowrap;font-size:12px;line-height:30px}
.wp44-ticker-item>img{width:24px;height:24px;flex:0 0 24px;object-fit:cover;border-radius:50%;border:1px solid #ffffff66;background:#ffffff12}
.wp44-ticker-item>strong{font-size:11px;max-width:84px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:550;color:#dceaff}
.wp44-notice-text{display:inline-block;flex:0 0 auto;white-space:nowrap;color:#f1f6ff}
.wp44-ticker-running{animation:wp44-notice-queue var(--wp44-queue-duration,36s) linear infinite}
@keyframes wp44-notice-queue{from{transform:translateX(0)}to{transform:translateX(var(--wp44-queue-distance,0px))}}
.wp44-ticker-item>.wp44-tag-urgent{animation:wp44-tag-breathe 2.8s ease-in-out infinite}
.wp44-ticker-item>.wp44-tag-cheer{animation:wp44-tag-cheer 3.6s ease-in-out infinite}
@keyframes wp44-tag-breathe{0%,100%{opacity:1;text-shadow:0 0 0 transparent}50%{opacity:.72;text-shadow:0 0 7px #ffc3b75c}}
@keyframes wp44-tag-cheer{0%,25%,65%,100%{transform:translateY(0)}42%{transform:translateY(-2px)}53%{transform:translateY(0)}}
.wp44-ticker:is(:hover,:focus-within,.wp44-is-paused) :is(.wp44-ticker-running,.wp44-tag){animation-play-state:paused}
.wp44-board-caption{min-width:0;line-height:1.6}.wp44-board-toolbar>[data-wp44-compose]{flex:0 0 auto;white-space:nowrap}
.wp44-compose-bottom>.wp44-over-limit{color:#c23d3d;font-weight:650}.wp44-compose-content textarea[aria-invalid=true]{border-color:#d86a6a;background:#fffafa}
@media(max-width:700px){.wp44-ticker-group{gap:26px;padding-right:26px}.wp44-ticker-item{gap:6px;font-size:11px;line-height:28px}.wp44-ticker-item>img{width:22px;height:22px;flex-basis:22px}.wp44-ticker-item>strong{font-size:10px;max-width:72px}}
@media(prefers-reduced-motion:reduce){.wp44-ticker-track,.wp44-ticker-item>.wp44-tag{animation:none;transform:none;will-change:auto}.wp44-ticker-copy{display:none}.wp44-ticker-window{overflow-x:auto;scrollbar-width:thin;scrollbar-color:#91b4e1 transparent}}

/* Local work-tip preferences share the existing account centre; business forms stay untouched. */
#wp44-tips-dialog{width:min(760px,calc(100vw - 32px));height:min(830px,calc(100dvh - 48px))}
#wp44-tips-dialog>form{flex:1;min-height:0;overflow:auto}
.wp44-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.wp44-tips-body{display:flex;flex-direction:column;gap:18px}
.wp44-tips-intro{display:flex;align-items:center;gap:15px;padding:20px;border:1px solid var(--erp44-line,#eadfec);border-radius:18px;background:radial-gradient(ellipse at 0 0,#fff7fc 0,transparent 65%),linear-gradient(125deg,#f6f1ff,#faf8fe 55%,#fff6f7)}
.wp44-tips-spark{display:grid;place-items:center;flex:0 0 45px;width:45px;height:50px;background:#fff9;border:1px solid #fff;border-radius:15px;font-size:29px;color:var(--erp44-brand,#b64d87);box-shadow:0 6px 18px #85729f13}
.wp44-tips-intro>div{flex:1;min-width:0}.wp44-tips-kicker{font-size:11px;color:#9b7496;letter-spacing:.4px}.wp44-tips-intro h3{margin:3px 0 5px;font-size:22px;color:var(--erp44-ink,#34304a);line-height:1.4}.wp44-tips-intro p{margin:0;font-size:12px;line-height:1.65;color:var(--erp44-muted,#706982)}
.wp44-tips-intro>button{flex:0 0 auto;padding:8px 11px;font-size:12px;white-space:nowrap;background:#fff9;border:1px solid #e8d9ed;color:#805675}
.wp44-tips-storage{margin:0;font-size:12px;color:var(--erp44-muted,#756d83);line-height:1.7}
.wp44-tips-controls{display:flex;flex-direction:column;gap:20px;min-width:0;border:0;margin:0;padding:0}.wp44-tips-controls[disabled]{opacity:.6}
.wp44-tips-switch-row{display:flex;align-items:center;gap:12px;position:relative;padding:14px 16px;background:#faf8fd;border:1px solid var(--erp44-line,#e6dfed);border-radius:13px;cursor:pointer}
.wp44-tips-switch-row>span:first-child{flex:1}.wp44-tips-switch-row strong{display:block;font-size:14px;color:var(--erp44-ink,#35324b)}
#wp44-tips-dialog .wp44-tips-switch-row>input{position:absolute;width:42px;height:28px;right:16px;top:50%;transform:translateY(-50%);margin:0;opacity:0;cursor:pointer}
.wp44-tips-switch{display:block;position:relative;width:40px;flex:0 0 40px;height:24px;border-radius:30px;background:#cfc7d5;transition:background .18s}
.wp44-tips-switch:after{content:'';position:absolute;left:3px;top:3px;width:18px;height:18px;border-radius:50%;background:white;box-shadow:0 2px 5px #52426528;transition:transform .18s}
.wp44-tips-switch-row>input:checked+.wp44-tips-switch{background:var(--erp44-brand,#b65085)}.wp44-tips-switch-row>input:checked+.wp44-tips-switch:after{transform:translateX(16px)}.wp44-tips-switch-row>input:focus-visible+.wp44-tips-switch{outline:2px solid #80649b;outline-offset:4px}
.wp44-tips-section{border:0;padding:0;margin:0;min-width:0}.wp44-tips-section>label,.wp44-tips-section>legend{display:block;color:var(--erp44-ink,#37324b);font-size:13px;font-weight:650;margin-bottom:9px;padding:0}.wp44-tips-section>small,.wp44-tips-section>legend small{font-size:11px;color:var(--erp44-muted,#81778d);font-weight:400}.wp44-tips-section>legend small{margin-left:6px}
.wp44-tips-name-row{display:flex;align-items:center;gap:8px;margin-bottom:5px}#wp44-tips-dialog .wp44-tips-name-row input{flex:1;min-width:0;max-width:300px;margin:0}.wp44-tips-name-row button{padding:7px 12px;background:#faf8fd;border-color:#e7dcea;color:#82677e;white-space:nowrap}
.wp44-tips-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.wp44-tips-two{grid-template-columns:repeat(2,minmax(0,1fr))}.wp44-tips-choices>label{display:flex;align-items:flex-start;gap:8px;padding:13px 12px;background:white;border:1px solid var(--erp44-line,#e6dfec);border-radius:12px;cursor:pointer;transition:background .18s,border-color .18s}.wp44-tips-choices>label:has(input:checked){background:#f9f2fa;border-color:var(--erp44-brand,#bc77a2);box-shadow:0 0 0 1px #bd7faa13}.wp44-tips-choices strong{font-size:13px;font-weight:600}.wp44-tips-choices small{line-height:1.55}
#wp44-tips-dialog .wp44-tips-choices input,#wp44-tips-dialog .wp44-tips-categories input{flex:0 0 16px;width:16px;height:16px;min-height:0;margin:3px 0 0;padding:0;accent-color:var(--erp44-brand,#ae588a)}
.wp44-tips-categories{display:grid;grid-template-columns:1fr;gap:9px}.wp44-tips-categories>label{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border:1px solid var(--erp44-line,#e6dfec);border-radius:12px;background:#fdfcfe;cursor:pointer}.wp44-tips-categories strong{font-size:13px}.wp44-tips-status{margin:0;color:#43836b;font-size:13px;line-height:1.6}.wp44-tips-status:empty{display:none}
#wp44-tips-dialog .wp44-error{margin:0}.wp44-tips-controls :is(button,input):focus-visible{outline:2px solid var(--erp44-brand,#ae588a);outline-offset:3px}
@media(max-width:700px){#wp44-tips-dialog{width:calc(100vw - 20px);height:calc(100dvh - 24px)}.wp44-center-tabs{overflow:auto}.wp44-center-tabs button{white-space:nowrap;padding-inline:8px}.wp44-tips-intro{flex-wrap:wrap;padding:15px;gap:11px}.wp44-tips-intro>button{margin-left:56px}.wp44-tips-intro h3{font-size:21px}.wp44-tips-choices{grid-template-columns:1fr}.wp44-tips-choices>label{padding:10px 12px}.wp44-tips-name-row{flex-wrap:wrap}.wp44-tips-name-row input{flex-basis:100%}#wp44-tips-dialog .wp44-dialog-footer{gap:7px}#wp44-tips-dialog .wp44-dialog-footer button{font-size:12px;padding:8px 11px}}
@media(prefers-reduced-motion:reduce){.wp44-tips-switch,.wp44-tips-switch:after,.wp44-tips-choices>label{transition:none}}

/* erp_layout44.css */
/* Television brand, shared by the portal and each independent business frame.
   Screen-only presentation: routes, event targets, dialog geometry and print stay owned by existing modules. */
@media screen {
  :root {
    --erp44-bg:#f8f4ef; --erp44-surface:#fffdfa; --erp44-ink:#553e53;
    --erp44-muted:#816978; --erp44-line:#e7d8df; --erp44-brand:#a83c72;
    --erp44-brand-strong:#89305d; --erp44-soft:#f9edf3; --erp44-gold:#a66117;
    --erp44-purple:#75436e; --erp44-shadow:0 4px 20px #553e5306;
    --ink:var(--erp44-ink); --erp-ink:var(--erp44-ink); --muted:var(--erp44-muted);
    --line:var(--erp44-line); --erp-line:var(--erp44-line); --paper:var(--erp44-bg);
    --blue:var(--erp44-brand); --brand:var(--erp44-brand); --primary:var(--erp44-brand);
    --orange:var(--erp44-brand); --erp-orange:var(--erp44-brand); --erp-blue:var(--erp44-brand);
    --erp-soft:var(--erp44-soft); --nav:var(--erp44-surface);
    --erp-money:#a66117; --erp-qty:#75436e; --erp-pending:#955b10; --erp-success:#267354; --erp-danger:#bb3e4c;
    font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif;
    color:var(--erp44-ink); background:var(--erp44-bg); font-synthesis:none;
  }
  body {color:var(--erp44-ink);background:var(--erp44-bg);font-size:15px;line-height:1.6}
  body :is(input,select,textarea,button) {font-family:inherit}
  body :is(h1,h2,h3,h4) {color:var(--erp44-ink);font-style:normal;line-height:1.4}
  body h1 {font-size:26px;font-weight:750;letter-spacing:0}
  body h2 {font-size:20px;font-weight:700}
  body h3 {font-size:17px;font-weight:650}
  body :is(.workspace .heading h1,.workspace .card-header h2,.eh-focus-panel h2) {color:var(--erp44-purple)}
  body summary {color:var(--erp44-purple)}
  body :is(.sub,.secondary,.muted,.s-hint,.cw-sub,.cw-footnote,.hint,.subtle,.footer-note) {color:var(--erp44-muted)}
  body :is(label,.field,.field>span) {color:var(--erp44-ink);font-weight:600}
  body :is(input,select,textarea) {color:var(--erp44-ink);border-color:#d9c8d2;background-color:#fff;border-radius:9px;accent-color:var(--erp44-brand)}
  body :is(input,textarea)::placeholder {color:#8c7a88;opacity:1}
  body :is(input,select,textarea):focus {border-color:var(--erp44-brand);box-shadow:0 0 0 3px #a83c7210}
  body :is(input,select,textarea,button,a):focus-visible {outline:2px solid var(--erp44-brand);outline-offset:3px}
  body :is(button,.shell button,dialog button) {background-color:#fffdfa;border-color:var(--erp44-line);color:var(--erp44-purple);border-radius:9px;font-weight:550}
  body :is(button,.shell button,dialog button):hover {background-color:var(--erp44-soft);border-color:#cc9ab4;color:var(--erp44-brand-strong)}
  body button[data-erp-tone] {--erp-action34:var(--erp44-brand);--erp-action-soft34:#fff8fb;--erp-action-line34:#e7cbd9}
  body button:is([data-erp-tone=stock],[data-erp-tone=export]) {--erp-action34:#2d7664;--erp-action-soft34:#f0f7f2;--erp-action-line34:#ccdfd3}
  body button:is([data-erp-tone=people],[data-erp-tone=photo],[data-erp-tone=promote]) {--erp-action34:#75436e;--erp-action-soft34:#f7f0f7;--erp-action-line34:#e2cfe1}
  body button:is([data-erp-tone=account],[data-erp-tone=edit]) {--erp-action34:#97601e;--erp-action-soft34:#fff8ef;--erp-action-line34:#ead7b9}
  body button[data-erp-tone=neutral] {--erp-action34:#6e5b6a;--erp-action-soft34:#faf7f9;--erp-action-line34:#e3d9e0}
  body button[data-erp-tone=danger] {--erp-action34:#b83c4b;--erp-action-soft34:#fff4f4;--erp-action-line34:#efc7cb}
  html body :is(#app,dialog,.erp-drawer34) button:is(.primary,[type=submit],[data-erp-tone=primary]),
  html body :is(button.primary,button[type=submit],input[type=submit],button[data-erp-tone=primary],a.primary) {
    color:#fff;background:var(--erp44-brand);border-color:var(--erp44-brand);box-shadow:0 3px 7px #a83c7212;
  }
  html body :is(#app,dialog,.erp-drawer34) button:is(.primary,[type=submit],[data-erp-tone=primary]):hover,
  html body :is(button.primary,button[type=submit],input[type=submit],button[data-erp-tone=primary],a.primary):hover {
    color:#fff;background:var(--erp44-brand-strong);border-color:var(--erp44-brand-strong);
  }
  html body :is(#app,dialog,.erp-drawer34) button[data-erp-tone=order] {color:#fff;background:var(--erp44-brand);border-color:var(--erp44-brand)}
  html body :is(#app,dialog,.erp-drawer34) button[data-erp-tone=order]:hover {background:var(--erp44-brand-strong);border-color:var(--erp44-brand-strong)}
  body :is(button.link,a:not(.home-entry)) {color:var(--erp44-brand)}
  body button.link {background:transparent;border-color:transparent}
  body :is(.nav button.active,.nav button[aria-selected=true],.tabs button.active,.cw-tabs button.active,.detail-tabs button[aria-selected=true],.wf-module-tabs button.active,button.selected,button[aria-pressed=true]) {color:var(--erp44-brand-strong);background:var(--erp44-soft);border-color:#d3a5bd}
  html body :is(.tabs,.cw-tabs,.detail-tabs,.wf-module-tabs,.dash-period) button:is(.active,.selected,[aria-selected=true],[aria-pressed=true]) {color:var(--erp44-brand-strong);background:var(--erp44-soft);border-color:#d3a5bd;box-shadow:inset 0 -3px var(--erp44-brand)}
  body [data-erp-value=money] {color:var(--erp-money)}
  body [data-erp-value=quantity] {color:var(--erp-qty)}
  body [data-erp-value=pending] {color:var(--erp-pending)}
  body [data-erp-value=success] {color:var(--erp-success)}
  body [data-erp-value=danger] {color:var(--erp-danger)}
  body :is(.tag,.badge,.s-badge,.status) {background:#f6eef5;color:var(--erp44-purple);border-color:#e3cfdf}
  /* Customer tiers share one light badge shape across lists, profiles and home. */
  html body :is(.wf-normal,.wf-vip) {
    display:inline-flex;align-items:center;vertical-align:middle;white-space:nowrap;
    min-height:26px;padding:3px 11px;border:1px solid #e5d5e2;border-radius:999px;
    font-size:13px;line-height:1.5;font-weight:600;letter-spacing:.02em;
    color:#75436e;background:#f6eff7;box-shadow:none;
  }
  html body .wf-vip {color:#875317;background:#fff4df;border-color:#e8d3aa}
  body :is(.info,.hint,.note,.wf-tools,.selection-bar,.connection-card) {background:#fbf5f8;border-color:var(--erp44-line);color:var(--erp44-ink)}
  body .progress i {background:var(--erp44-brand)}
  body .progress.orange i {background:#c29451}
  body :is(.checks label:has(input:checked)) {background:var(--erp44-soft);border-color:#d3a5bd;color:var(--erp44-brand-strong)}
  /* Shared page rhythm and data surfaces. Do not set display on functional containers. */
  body :is(.workspace,.sales-shell,#s-content,.wf-main iframe,.wf-shell) {background:var(--erp44-bg);color:var(--erp44-ink)}
  body .workspace {padding-top:26px}
  body :is(.heading,.s-heading,.cw-heading) {gap:18px;margin-bottom:22px}
  body :is(.heading,.s-heading,.cw-heading) p {color:var(--erp44-muted);font-size:14px;line-height:1.7}
  body :is(.card,.s-panel,.s-stat,.dash-panel,.wf-home-card,.wf-home-panel,.card-maintenance,.wf-chart,.s-good,.style-card,.metric) {background:var(--erp44-surface);border-color:var(--erp44-line);border-radius:14px;box-shadow:var(--erp44-shadow)}
  body :is(.card-header,.s-panel-head) {gap:14px;flex-wrap:wrap}
  body .card-header {margin-bottom:18px}
  body :is(.toolbar,.s-toolbar,.filters,.catalog-tools) {gap:12px}
  body .toolbar {padding:16px;border:1px solid var(--erp44-line);border-radius:11px;background:#fcf8fa;margin-bottom:22px}
  body .toolbar label {font-size:13px;gap:7px}
  body .toolbar :is(input,select) {min-height:40px;font-size:14px}
  body :is(.metrics,.cw-metrics) {gap:14px}
  body :is(.metric,.cw-metrics>button,.info-cell,.form-ledger) {background:var(--erp44-surface);border-color:var(--erp44-line)}
  body .metric {padding:20px;border-top:3px solid #e5c5d6}
  body .metric:first-child {border-top-color:var(--erp44-brand)}
  body .metric .value {font-size:28px;line-height:1.3;color:var(--erp44-purple);margin:10px 0 6px}
  body .table-wrap {border-color:var(--erp44-line);border-radius:11px}
  body :is(th,.shell th,.workspace th) {background:#f5edf2;color:#705269;border-color:var(--erp44-line);font-size:13px;font-weight:650;line-height:1.5}
  body :is(td,.workspace td) {border-color:#eee4e9;font-size:14px;line-height:1.65}
  body tbody tr:nth-child(even)>td {background-color:#fcf9fa}
  body tbody tr:hover>td {background-color:#fbf0f6}
  body .empty {padding:44px 20px;color:var(--erp44-muted)}
  body .empty h2 {color:var(--erp44-ink);font-size:19px}
  body :is(.placeholder,.s-empty-photo,.s-card-grid .s-good>.s-empty-photo,.s-card-grid .s-good>img.s-photo) {background:#f6f0f3;border-color:var(--erp44-line);color:var(--erp44-muted)}
  body .pagination {font-size:13px;color:var(--erp44-muted);padding-top:8px}
  /* Light brand navigation, including independently opened workspaces. */
  body :is(.wf-sidebar,.side,.shell>aside) {background:var(--erp44-surface);color:var(--erp44-ink);border-color:var(--erp44-line)}
  body :is(.brand,.brand strong) {color:var(--erp44-purple)}
  body :is(.brandmark,.brand-logo) {background:linear-gradient(145deg,#bb6794,#92527f);color:#fff}
  body :is(.brand small,.nav-label,.aside-bottom,.side-bottom) {color:var(--erp44-muted)}
  html body .nav .menu-group :is(summary,button,a) {color:var(--erp44-ink);background:transparent}
  html body :is(.nav button,.nav .menu-group a):hover {background:var(--erp44-soft);color:var(--erp44-brand-strong)}
  html body :is(.shell aside,.side) .nav :is(button.active,a.active) {background:var(--erp44-soft);color:var(--erp44-brand-strong);box-shadow:inset 3px 0 var(--erp44-brand);border-color:#e0bfce}
  body :is(.topbar,.workspace-return,#wf-page-actions) {background:var(--erp44-surface);border-color:var(--erp44-line);color:var(--erp44-muted)}
  html body .wf-shell>.wf-header {background:linear-gradient(115deg,#fffaf4,#f8eaf2);border-bottom:1px solid #e2cbd8;box-shadow:0 2px 10px #75436e08;color:var(--erp44-ink)}
  html body .wf-header>strong {color:var(--erp44-purple);font-size:18px}
  html body .wf-header>strong:before {background:linear-gradient(145deg,#ba6696,#8c557d);color:white}
  html body .wf-header #wf-module-tabs button {color:var(--erp44-purple);background:transparent;border-color:transparent;font-size:14px;font-weight:600}
  html body .wf-header #wf-module-tabs button:hover {background:#ffffffb3;color:var(--erp44-brand-strong)}
  html body .wf-header #wf-module-tabs button.active {background:var(--erp44-brand);color:white;border-color:var(--erp44-brand);box-shadow:0 3px 8px #a83c721a}
  html body .wf-sidebar h2 {border-color:var(--erp44-line);background:#f9f0f5;color:var(--erp44-purple)}
  html body .wf-sidebar h2>button {background:transparent;color:var(--erp44-purple);font-size:15px;font-weight:650}
  html body #wf-home-button {color:var(--erp44-purple);border-color:var(--erp44-line);background:#fcf6f9;border-radius:9px}
  html body #wf-home-button.active {background:var(--erp44-soft);color:var(--erp44-brand-strong);border-color:#d3a5bd}
  html body #wf-nav .wf-nav-item>button {color:#705a6b;font-size:14px;background:transparent}
  html body #wf-nav .wf-nav-item:has(>button.active),html body #wf-nav .wf-nav-item>button.active {color:var(--erp44-brand-strong);background:var(--erp44-soft);border-color:#dfc2d2;border-left-color:var(--erp44-brand)}
  html body #wf-nav .wf-nav-item>button:hover {background:#fcf3f8;color:var(--erp44-brand-strong)}
  body .wf-tabs {background:#f2e9ef;border-color:var(--erp44-line)}
  html body .wf-tabs button {color:#7b5c72;background:transparent;font-size:13px}
  html body .wf-tabs .active {background:var(--erp44-surface);border-color:var(--erp44-brand);color:var(--erp44-brand-strong)}
  html body .wf-tabs>span.active {border-bottom-color:var(--erp44-brand)}
  /* Homepage artwork keeps its four module illustrations and all interaction targets. */
  body #wf-home {background:var(--erp44-bg)}
  body :is(.wf-welcome,.wf-home-help,.wf-home-date,.wf-home-state,.wf-home-card p) {color:var(--erp44-muted)}
  body .wf-home-card {--home-accent:var(--erp44-purple);border-top-color:#cda4c0}
  body .wf-home-card h2 {font-size:24px;color:var(--erp44-purple)}
  body .wf-home-shortcuts button {background:#fcf7fa;color:var(--erp44-purple);border-color:var(--erp44-line);border-radius:9px}
  body .eh-home-preview {background:linear-gradient(120deg,#fffaf3,#fbecf4);border-color:#ead5e1;color:var(--erp44-ink)}
  body .eh-hero-heading h1 {color:var(--erp44-purple)}
  body :is(.eh-eyebrow,.eh-focus-index,.eh-scene-caption,.eh-focus-desc,.eh-home-preview .eh-footnote) {color:var(--erp44-muted)}
  body .eh-focus-panel {background:#fffdfa;border-color:var(--erp44-line)}
  html body .eh-focus-enter {background:var(--erp44-brand);border-color:var(--erp44-brand);color:white}
  body .eh-scene-area {background:linear-gradient(120deg,#fcf2ed,#f8ecf6);border-color:var(--erp44-line)}
  /* Drawers/forms only change palette; open/closed state, scroll and dimensions remain untouched. */
  body dialog:not(#output) {color:var(--erp44-ink);background:var(--erp44-surface);border-color:var(--erp44-line)}
  body dialog:not(#output)::backdrop {background:#49334466;backdrop-filter:blur(2px)}
  html body .erp-drawer-head34 {background:var(--erp44-surface);border-color:var(--erp44-line)}
  html body .erp-drawer-head34 :is(h1,h2,h3) {color:var(--erp44-purple)}
  html body .erp-drawer-scroll34 {background:var(--erp44-surface)}
  html body .erp-drawer-foot34 {background:#fcf7fa;border-color:var(--erp44-line)}
  body :is(.form-grid,.s-formgrid) label {font-size:14px}
  body :is(.settings-tabs,.detail-tabs) {border-color:var(--erp44-line)}
  body .settings-tabs button {color:var(--erp44-muted);border-radius:8px 8px 0 0}
  html body .settings-tabs button.selected {background:var(--erp44-soft);color:var(--erp44-brand-strong);border-bottom-color:var(--erp44-brand)}
  body :is(.admin-grant,.admin-perms,.photo-upload,.upload-label,.card-maintenance,.catalog-search) {border-color:var(--erp44-line);background:#fcf8fa;color:var(--erp44-ink)}
  html body .login .login-brand {background:linear-gradient(140deg,#75436e,#a83c72)}
  body .login-brand :is(h1,h2,h3,p,a) {color:white}
  body .login form {border-color:var(--erp44-line);border-radius:18px;box-shadow:var(--erp44-shadow)}
  html body :is(.shipment-action-bar,.order-selection-bar,.purchase-selection-bar,.account-selection-bar,.card-selection-bar) {background:#65445f;border-color:#65445f;color:#fff}
  /* Catalog photo/selection surfaces retain availability and checked-state semantics. */
  html body #s-content .catalog-search.card-search.catalog-search38 {background:#fcf5f9;border-color:var(--erp44-line)}
  body :is(.cc42-selection,.cc42-stock,.cc42-info,.cc42-status-intro,.cc43-quote-panel,.cs38-summary) {background:#fcf6f9;border-color:var(--erp44-line)}
  body .cc42-card .cc42-photo {background:#f7f1f5}
  body :is(.cc42-card .cc42-body h3,.cc43-quote-panel h3) {color:var(--erp44-ink)}
  body .cc42-card .cc42-price {color:var(--erp44-gold)}
  body .cc42-card .cc43-pick:not(.cc43-picked):not(:disabled) {background:#fcf0f7;color:var(--erp44-brand-strong);border-color:var(--erp44-line)}
  body :is(.cc43-quote-panel p,.cc42-info dt,.cc42-price small) {color:var(--erp44-muted)}
  body #notice {background:#65445f}
  /* Workplace profile, search and notices. No white ticker container or publishing shortcut. */
  html body .wf-header .wp44-quicksearch #wf-search {background:#fffdfa;border-color:#e4cbd8;color:var(--erp44-ink);font-size:14px;box-shadow:0 2px 8px #75436e08}
  body .wp44-quicksearch>svg {stroke:#986e8a}
  body .wp44-quicksearch kbd {color:#a08499;background:#faf1f7;border-color:#ead7e3}
  html body .wf-header #wp44-account-button {color:var(--erp44-ink);background:transparent;border-color:transparent}
  html body .wf-header #wp44-account-button:hover,html body .wf-header #wp44-account-button[aria-expanded=true] {background:#ffffffb3;color:var(--erp44-brand-strong);border-color:#e4cbd8}
  body :is(.wp44-account-copy small,.wp44-chevron) {color:var(--erp44-muted)}
  body .wp44-account img {border-color:#ecd4e1}
  body #wp44-account-menu {background:var(--erp44-surface);border-color:var(--erp44-line);color:var(--erp44-ink);box-shadow:0 14px 38px #553e5320}
  body #wp44-account-menu button {background:transparent;color:var(--erp44-purple)}
  body #wp44-account-menu button:hover {background:var(--erp44-soft);color:var(--erp44-brand)}
  body :is(.wp44-drawer,.wp44-dialog,.wp44-dialog-head,.wp44-dialog-footer,.wp44-announcement,.wp44-board-toolbar) {background:var(--erp44-surface);color:var(--erp44-ink);border-color:var(--erp44-line)}
  body :is(.wp44-dialog-head h2,.wp44-product-heading h3,.wp44-profile-intro h3,.wp44-announcement-top strong,.wp44-compose-title h3,.wp44-avatar-field legend,.wp44-dialog label,.wp44-announcement-content) {color:var(--erp44-ink)}
  body :is(.wp44-hint,.wp44-board-caption,.wp44-dialog label small,.wp44-product-facts span,.wp44-product-heading p,.wp44-profile-intro p,.wp44-profile-intro small,.wp44-announcement-top small,.wp44-menu-identity) {color:var(--erp44-muted)}
  body :is(.wp44-permissions,.wp44-stock-summary,.wp44-center-tabs,.wp44-announcement-list) {background:#fcf5f9;border-color:var(--erp44-line)}
  body .wp44-center-tabs button {color:var(--erp44-muted);font-size:14px}
  html body .wp44-center-tabs button[aria-selected=true],html body .wp44-board-tabs button[aria-selected=true] {background:var(--erp44-soft);color:var(--erp44-brand-strong);border-color:#ddb6cb}
  html body .wp44-avatar-option[aria-pressed=true] {border-color:var(--erp44-brand);background:var(--erp44-soft);box-shadow:0 0 0 2px #eed0e1}
  body .wp44-avatar-group {margin:0 0 15px}
  body .wp44-avatar-group h4 {margin:0 0 9px;font-size:12px;font-weight:650;color:var(--erp44-muted)}
  body :is(.wp44-stock-summary strong,.wp44-sku,.wp44-result strong) {color:var(--erp44-purple)}
  html body .wp44-result {color:var(--erp44-ink);border-color:var(--erp44-line);background:var(--erp44-surface)}
  html body .wp44-result:hover {background:var(--erp44-soft);border-color:#cca1b8}
  body .wp44-announcement-content {font-size:15px;line-height:1.85}
  html body .wf-header .wp44-ticker,html body .wf-header .wp44-ticker:hover {color:var(--erp44-ink);background:transparent;min-height:48px}
  body .wp44-ticker-window {line-height:46px;padding-block:5px}
  body .wp44-ticker-item {font-size:16px;line-height:36px;gap:11px}
  body .wp44-ticker-item>img {width:30px;height:30px;flex-basis:30px;border:1px solid #dbbdcf;background:#fffdfa}
  body .wp44-ticker-item>strong {font-size:14px;font-weight:650;max-width:112px;color:var(--erp44-purple)}
  body .wp44-notice-text {color:var(--erp44-ink);font-weight:500}
  body .wp44-ticker-empty {font-size:14px;color:var(--erp44-muted);opacity:1}
  body .wp44-ticker-group {gap:38px;padding-right:38px}
  body .wp44-tag-icon {display:block;width:18px;height:18px;flex:0 0 18px;overflow:visible}
  body .wp44-tag-label {display:inline-block;line-height:inherit}
  body .wp44-tag {gap:5px}
  html body .wf-header .wp44-ticker .wp44-tag {position:relative;font-size:13px;font-weight:750;line-height:1.45;padding:4px 9px;border:1px solid #dfc6da;border-radius:9px;gap:6px;color:#75436e;background:#f6e9f3;transform-origin:center;will-change:transform}
  html body .wf-header .wp44-ticker .wp44-tag::before {content:none}
  html body .wf-header .wp44-ticker .wp44-tag .wp44-tag-icon {transform-origin:center}
  html body .wf-header .wp44-ticker .wp44-tag-notice {animation:erp44-tag-notice 3.2s ease-in-out infinite}
  html body .wf-header .wp44-ticker .wp44-tag-urgent {color:#b43b4a;background:#ffe7eb;border-color:#e9a6b2;animation:erp44-tag-urgent 2.4s ease-in-out infinite}
  html body .wf-header .wp44-ticker .wp44-tag-urgent .wp44-tag-icon {animation:erp44-icon-bolt 2.4s ease-in-out infinite}
  html body .wf-header .wp44-ticker .wp44-tag-attention {color:#956016;background:#fff1d8;border-color:#e4c28a;animation:erp44-tag-attention 2.8s ease-in-out infinite}
  html body .wf-header .wp44-ticker .wp44-tag-attention .wp44-tag-icon {transform-origin:50% 15%;animation:erp44-icon-bell 2.8s ease-in-out infinite}
  html body .wf-header .wp44-ticker .wp44-tag-focus {color:#75436e;background:#f2e3f5;border-color:#d2abd7;animation:erp44-tag-focus 3s ease-in-out infinite}
  html body .wf-header .wp44-ticker .wp44-tag-focus .wp44-tag-pupils {animation:erp44-icon-peek 3s ease-in-out infinite}
  html body .wf-header .wp44-ticker .wp44-tag-cheer {color:#2e765b;background:#e8f5e8;border-color:#b7d9bb;animation:erp44-tag-cheer 2.6s ease-in-out infinite}
  html body .wf-header .wp44-ticker .wp44-tag-cheer .wp44-tag-icon {animation:erp44-icon-rocket 2.6s ease-in-out infinite}
  html body .wf-header .wp44-ticker .wp44-tag-cheer .wp44-tag-flame {animation:erp44-icon-flame 2.6s ease-in-out infinite}
  html body .wf-header .wp44-ticker .wp44-tag:is(.wp44-tag-urgent,.wp44-tag-cheer)::after {content:'';position:absolute;inset:-3px;border:2px solid currentColor;border-radius:12px;opacity:0;pointer-events:none;animation:erp44-tag-ring 2.6s ease-out infinite}
  html body .wf-header .wp44-ticker:is(:hover,:focus-within,.wp44-is-paused) :is(.wp44-ticker-running,.wp44-tag,.wp44-tag *),
  html body .wf-header .wp44-ticker:is(:hover,:focus-within,.wp44-is-paused) .wp44-tag::after {animation-play-state:paused}
  @keyframes erp44-tag-notice {0%,55%,100%{transform:rotate(0)}12%{transform:rotate(-4deg) scale(1.06)}25%{transform:rotate(3deg)}38%{transform:rotate(0)}}
  @keyframes erp44-tag-urgent {0%,45%,100%{transform:scale(1)}10%{transform:translateY(-3px) scale(1.12) rotate(-3deg)}20%{transform:scale(.98) rotate(3deg)}32%{transform:scale(1.07) rotate(0)}}
  @keyframes erp44-tag-attention {0%,48%,100%{transform:translateY(0)}15%{transform:translateY(-4px)}30%{transform:translateY(1px)}}
  @keyframes erp44-tag-focus {0%,55%,100%{transform:rotate(0)}16%{transform:translateY(-3px) rotate(-3deg)}34%{transform:translateY(0) rotate(2deg)}}
  @keyframes erp44-tag-cheer {0%,55%,100%{transform:translateY(0) scale(1)}16%{transform:translateY(-6px) scale(1.1) rotate(-2deg)}30%{transform:translateY(1px) scale(.97)}42%{transform:translateY(-2px) scale(1.03)}}
  @keyframes erp44-icon-bolt {0%,45%,100%{transform:rotate(0) scale(1)}10%,28%{transform:rotate(-14deg) scale(1.17)}18%,36%{transform:rotate(12deg) scale(1.06)}}
  @keyframes erp44-icon-bell {0%,50%,100%{transform:rotate(0)}10%,26%{transform:rotate(-24deg)}18%,34%{transform:rotate(22deg)}42%{transform:rotate(-10deg)}}
  @keyframes erp44-icon-peek {0%,55%,100%{transform:translateX(0)}15%,25%{transform:translateX(-2.5px)}35%,45%{transform:translateX(1.5px)}}
  @keyframes erp44-icon-rocket {0%,65%,100%{transform:translate(0,0)}20%{transform:translate(3px,-4px) rotate(7deg)}38%{transform:translate(-1px,1px) rotate(-4deg)}50%{transform:translate(1px,-1px)}}
  @keyframes erp44-icon-flame {0%,65%,100%{stroke-dasharray:8;stroke-dashoffset:0}20%,45%{stroke-dasharray:3;stroke-dashoffset:3}}
  @keyframes erp44-tag-ring {0%,5%{opacity:0;transform:scale(.92)}12%{opacity:.35}38%,100%{opacity:0;transform:scale(1.17)}}
}
@media screen and (max-width:1000px) {
  body .wp44-ticker-item {font-size:15px}
  html body .wf-header>strong {font-size:16px}
  html body .wf-header #wf-module-tabs button {font-size:13px}
}
@media screen and (max-width:700px) {
  body h1 {font-size:23px}
  body .toolbar {padding:12px;gap:10px}
  body .metric {padding:15px}
  body .metric .value {font-size:25px}
  html body .wf-header>strong {font-size:14px}
  html body .wf-header #wf-module-tabs button {font-size:12px}
  html body .wf-header .wp44-ticker {min-height:46px}
  body .wp44-ticker-item {font-size:14px;gap:9px;line-height:34px}
  body .wp44-ticker-item>strong {font-size:13px;max-width:92px}
  html body .wf-header .wp44-ticker .wp44-tag {font-size:12px}
  body .wp44-ticker-item>img {width:28px;height:28px;flex-basis:28px}
  body .wp44-drawer {top:215px}
}
@media screen and (prefers-reduced-motion:reduce) {
  html body .wf-header .wp44-ticker :is(.wp44-tag,.wp44-tag *),html body .wf-header .wp44-ticker .wp44-tag::after {animation:none;transform:none;box-shadow:none;will-change:auto}
  html body .wf-header .wp44-ticker .wp44-tag::after {opacity:0}
}
/* Signature and complete daily copy above; work controls and notices below. */
@media screen {
  html body .wf-shell > header.wf-header {
    grid-template-columns:220px minmax(0,1fr) 340px 170px;
    grid-template-rows:minmax(80px,auto) 42px;gap:10px 20px;align-items:center;
    min-height:0;padding:12px 22px;background:#f6f2ef;color:#493943;z-index:90;
    border:0;border-bottom:1px solid #ded5da;box-shadow:0 3px 14px #49394305;
  }
  html body .wf-shell > header.wf-header > strong.hb44-brand {
    grid-column:1;grid-row:1;width:100%;max-width:100%;min-height:68px;height:auto;
    border:0;align-self:center;
  }
  html body .wf-header > .hb44-status-panel {grid-column:2;grid-row:1}
  html body .wf-header .wp44-quicksearch {grid-column:1;grid-row:2;width:220px;max-width:100%;align-self:center}
  html body .wf-shell > header.wf-header .wp44-quicksearch #wf-search {
    min-height:41px;border:1px solid #d7cdd4;border-radius:9px;background:#fffdfa;
    color:#493943;font-size:14px;box-shadow:0 2px 6px #49394303;
  }
  html body .wf-shell > header.wf-header .wp44-quicksearch #wf-search:focus {border-color:#866b80;box-shadow:0 0 0 3px #866b8012;outline:none}
  html body .wf-header .wp44-quicksearch>svg {stroke:#897383}
  html body .wf-header .wp44-quicksearch kbd {background:#f2eeef;color:#91808e;border-color:#e4dbe0;font-size:10px}
  html body .wf-shell > header.wf-header #wf-module-tabs {
    grid-column:3;grid-row:1;display:flex;align-items:center;justify-content:flex-end;flex-wrap:nowrap;
    min-width:0;width:auto;max-width:none;margin:0;padding:0;gap:5px;overflow:visible;
  }
  html body .wf-shell > header.wf-header #wf-module-tabs button {
    flex:0 0 auto;padding:8px 13px;min-height:38px;line-height:20px;border:1px solid transparent;
    border-radius:8px;background:transparent;color:#695564;font-size:14px;font-weight:650;
    box-shadow:none;transition:background .2s,color .2s,border-color .2s;
  }
  html body .wf-shell > header.wf-header #wf-module-tabs button:hover {background:#eae2e8;color:#493943;border-color:#dcd0d9}
  html body .wf-shell > header.wf-header #wf-module-tabs button.active {background:#655366;color:#fffdfa;border-color:#655366;box-shadow:0 2px 5px #49394310}
  html body .wf-shell > header.wf-header #wf-module-tabs button:focus-visible {outline:2px solid #866b80;outline-offset:2px}
  html body .wf-header .wp44-account {grid-column:4;grid-row:1;align-self:center;justify-self:end;max-width:180px}
  html body .wf-shell > header.wf-header #wp44-account-button {
    min-width:0;max-width:180px;padding:5px 9px;gap:10px;border:1px solid transparent;border-radius:9px;
    background:transparent;color:#493943;
  }
  html body .wf-shell > header.wf-header #wp44-account-button:hover,
  html body .wf-shell > header.wf-header #wp44-account-button[aria-expanded=true] {background:#eae2e8;border-color:#dcd0d9;color:#493943}
  html body .wf-header .wp44-account img {width:36px;height:36px;border:1px solid #d9c9d4;box-shadow:0 0 0 3px #fffaf7;background:#fffaf7}
  html body .wf-header .wp44-account-copy {gap:2px}
  html body .wf-header .wp44-account-copy strong {font-size:13px;max-width:98px;color:#574252}
  html body .wf-header .wp44-account-copy small {font-size:10px;max-width:106px;color:#8b7c85}
  html body .wf-header .wp44-chevron {color:#8b7c85;font-size:13px}
  html body .wf-header #wp44-account-menu {top:calc(100% + 9px);border-color:#dcd0d9;background:#fffdfa;box-shadow:0 14px 34px #49394319}
  html body .wf-header #wp44-account-menu button {color:#574252}
  html body .wf-header #wp44-account-menu button:hover {background:#eee7ec;color:#493943}
  html body .wf-header .wp44-ticker,html body .wf-header .wp44-ticker:hover {
    grid-column:2/5;grid-row:2;width:auto;max-width:none;min-height:42px;padding:0 0 0 16px;border:0;border-left:1px solid #e2d9de;
    border-radius:0;background:transparent;gap:10px;color:#493943;align-self:stretch;
  }
  html body .wf-header .wp44-ticker::before {content:'工作动态';flex:0 0 auto;font-size:10px;letter-spacing:1px;font-weight:650;color:#93828e;padding-right:10px;border-right:1px solid #dcd0d9;line-height:14px}
  html body .wf-header .wp44-ticker-window {line-height:40px;padding-block:4px;mask-image:linear-gradient(90deg,transparent,#000 8px,#000 calc(100% - 8px),transparent)}
  html body .wf-header .wp44-ticker-item {font-size:15px;line-height:32px;gap:9px}
  html body .wf-header .wp44-ticker-item>strong {font-size:13px;color:#766074;font-weight:600}
  html body .wf-header .wp44-notice-text {color:#4b4149;font-weight:500}
  html body .wf-header .wp44-ticker-item>img {width:26px;height:26px;flex-basis:26px;border-color:#d9c9d4}
  html body .wf-header .wp44-ticker .wp44-tag {font-size:12px;padding:3px 7px;border-radius:7px;gap:4px}
  html body .wf-header .wp44-tag-icon {width:16px;height:16px;flex-basis:16px}
  html body .wp44-drawer {top:calc(var(--wp44-header-bottom,124px) + 10px)}
}
@media screen and (max-width:1200px) {
  html body .wf-shell > header.wf-header {grid-template-columns:200px minmax(0,1fr) 296px 145px;column-gap:15px;padding-inline:18px}
  html body .wf-header .wp44-quicksearch {width:200px}
  html body .wf-shell > header.wf-header #wf-module-tabs {gap:2px}
  html body .wf-shell > header.wf-header #wf-module-tabs button {padding-inline:10px;font-size:13px}
}
@media screen and (max-width:1100px) {
  html body #wf-home .wf-tv-actions {flex:0 0 100%;margin-left:0}
}
@media screen and (max-width:650px) {
  html body #wf-home .wf-tv-actions :is(a,button) {min-width:0;max-width:100%;white-space:normal}
}
@media screen and (max-width:1000px) {
  html body .wf-shell > header.wf-header {grid-template-columns:195px minmax(0,1fr) 145px;grid-template-rows:minmax(92px,auto) 40px 42px;gap:8px 16px;padding:12px 18px}
  html body .wf-shell > header.wf-header > strong.hb44-brand {grid-column:1;grid-row:1}
  html body .wf-header > .hb44-status-panel {grid-column:2;grid-row:1}
  html body .wf-header .wp44-quicksearch {grid-column:1;grid-row:2;width:195px}
  html body .wf-header .wp44-account {grid-column:3;grid-row:1}
  html body .wf-shell > header.wf-header #wf-module-tabs {grid-column:2/4;grid-row:2;justify-content:flex-start;gap:8px}
  html body .wf-shell > header.wf-header #wf-module-tabs button {padding:6px 13px;min-height:34px}
  html body .wf-header .wp44-ticker,html body .wf-header .wp44-ticker:hover {grid-column:1/-1;grid-row:3;border-left:0;border-top:1px solid #e2d9de;padding:0}
}
@media screen and (max-width:700px) {
  html body .wf-shell > header.wf-header {grid-template-columns:minmax(0,1fr) auto;grid-template-rows:62px auto 40px 36px 42px;gap:7px 12px;padding:10px 14px}
  html body .wf-shell > header.wf-header > strong.hb44-brand {grid-column:1;grid-row:1;min-width:0;width:100%;min-height:58px}
  html body .wf-header > .hb44-status-panel {grid-column:1/-1;grid-row:2}
  html body .wf-header .wp44-account {grid-column:2;grid-row:1;max-width:140px}
  html body .wf-shell > header.wf-header #wp44-account-button {max-width:140px;padding:4px;gap:7px}
  html body .wf-header .wp44-account img {width:32px;height:32px}
  html body .wf-header .wp44-account-copy strong {font-size:12px;max-width:76px}
  html body .wf-header .wp44-account-copy small {font-size:9px;max-width:80px}
  html body .wf-header .wp44-quicksearch {grid-column:1/-1;grid-row:3;width:220px}
  html body .wf-shell > header.wf-header .wp44-quicksearch #wf-search {font-size:13px;min-height:39px}
  html body .wf-shell > header.wf-header #wf-module-tabs {grid-column:1/-1;grid-row:4;justify-content:space-between;width:100%;gap:4px}
  html body .wf-shell > header.wf-header #wf-module-tabs button {flex:1;min-width:0;padding:5px 6px;font-size:12px;min-height:33px}
  html body .wf-header .wp44-ticker,html body .wf-header .wp44-ticker:hover {grid-column:1/-1;grid-row:5;min-height:42px}
  html body .wf-header .wp44-ticker::before {font-size:9px;letter-spacing:0;padding-right:7px}
  html body .wf-header .wp44-ticker-item {font-size:14px;gap:8px}
  html body .wf-header .wp44-ticker-item>strong {font-size:12px;max-width:88px}
  html body .wf-header .wp44-ticker .wp44-tag {font-size:11px}
  html body .wf-header .wp44-ticker-window {padding-block:4px;line-height:38px}
}
@media screen and (max-width:390px) {
  html body .wf-shell > header.wf-header {padding-inline:10px;column-gap:10px}
  html body .wf-header .wp44-account-copy strong {max-width:60px}
  html body .wf-header .wp44-ticker::before {content:'动态'}
}
@media screen and (max-height:560px) {
  html body .wp44-drawer {top:12px;bottom:12px;z-index:120}
  html body .wp44-drawer .wp44-dialog-head {padding:12px 18px}
}

/* customer_layout44.css */
/* Sales and customer workspaces. Load after the shared palette and layout.
   Screen-only; the output dialog and printed documents retain their own layout. */
@media screen {
  .sales-shell,
  #editor.sales-editor {
    --cw44-ink: var(--erp44-ink, #553e53);
    --cw44-muted: var(--erp44-muted, #816978);
    --cw44-line: var(--erp44-line, #e7d8df);
    --cw44-brand: var(--erp44-brand, #a83c72);
    --cw44-soft: var(--erp44-soft, #f9edf3);
    --cw44-radius: 12px;
    color: var(--cw44-ink);
  }

  .sales-shell { background: var(--erp44-bg, #f8f4ef); }
  .sales-shell #s-content { min-width: 0; }
  .sales-shell :is(.cw-heading, .s-heading) {
    align-items: center;
    justify-content: space-between ;
    gap: 14px 24px;
    margin-bottom: 20px;
  }
  .sales-shell :is(.cw-heading, .s-heading) h1 {
    font-size: 22px;
    font-weight: 650;
    line-height: 1.45;
  }
  .sales-shell :is(.cw-heading, .s-heading) p {
    max-width: 780px;
    margin-top: 6px;
    color: var(--cw44-muted);
    font-size: 13px;
    line-height: 1.7;
  }
  .sales-shell :is(.cw-actions, .s-actions),
  #editor.sales-editor :is(.cw-actions, .s-actions) { gap: 8px; }
  .sales-shell :is(.cw-actions, .s-actions, .cw-toolbar, .s-toolbar, .ca-filter) button,
  #editor.sales-editor :is(.cw-actions, .s-actions, .s-footer) button {
    min-height: 36px;
    padding: 7px 12px;
    border-radius: 7px;
    font-size: 13px;
    line-height: 1.5;
    white-space: nowrap;
  }
  /* This replaces the legacy orange new-order override; semantic status colors remain. */
  html body #app .sales-shell button[data-cw="order-new"] {
    background: var(--erp44-brand, #a83c72) ;
    border-color: var(--erp44-brand, #a83c72) ;
    color: #fff ;
  }
  html body #app .sales-shell button[data-cw="order-new"]:hover {
    background: var(--erp44-brand-strong, #89305d) ;
    border-color: var(--erp44-brand-strong, #89305d) ;
  }
  /* Beat form_refinements25.css's ID-scoped important customer-new colors. */
  html body #app .sales-shell button[data-cw="customer-new"] {
    background: var(--erp44-soft, #f9edf3) ;
    border-color: var(--erp44-line, #e7d8df) ;
    color: var(--erp44-purple, #75436e) ;
  }
  html body #app .sales-shell button[data-cw="customer-new"]:hover:not(:disabled) {
    background: #f3e0eb ;
    border-color: #cfa4bb ;
    color: var(--erp44-brand-strong, #89305d) ;
  }
  html body #app .shell > aside .brandmark {
    background: var(--erp44-brand, #a83c72) ;
    color: #fff ;
  }

  /* Customer identity is prominent once; supporting cards stay compact. */
  .sales-shell .cw-client-switch {
    max-width: 560px;
    gap: 14px;
    margin-bottom: 14px;
    padding: 11px 14px;
    border: 1px solid var(--cw44-line);
    border-radius: 9px;
    background: var(--erp44-surface, #fffdfa);
    font-size: 13px;
  }
  .sales-shell .cw-client-switch select { min-height: 38px; font-size: 14px; }
  .sales-shell .cw-customer-strip {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 10px;
    max-height: 246px;
    margin-bottom: 18px;
    padding-bottom: 3px;
    scrollbar-gutter: stable;
  }
  .sales-shell .cw-customer-strip > button {
    padding: 14px 16px;
    border-width: 1px;
    border-left-width: 3px;
    border-radius: 10px;
    line-height: 1.5;
  }
  .sales-shell .cw-customer-strip strong { font-size: 17px; font-weight: 650; }
  .sales-shell .cw-customer-strip small { margin-top: 8px; font-size: 12px; }
  .sales-shell .cw-customer-logo {
    width: 44px;
    height: 40px;
    margin-right: 10px;
    border-color: var(--erp44-line, #e7d8df);
    border-radius: 7px;
  }
  .sales-shell .cw-profile {
    gap: 18px 24px;
    padding: 20px 22px;
    margin: 16px 0;
    background: var(--erp44-surface, #fffdfa);
    border: 1px solid var(--cw44-line);
    border-left: 4px solid var(--cw44-brand);
    border-radius: var(--cw44-radius);
    box-shadow: 0 3px 12px #715a6808;
  }
  .sales-shell .cw-profile h2 { margin: 4px 0 9px; font-size: 24px; line-height: 1.4; }
  .sales-shell .cw-profile p { margin: 5px 0; color: var(--cw44-muted); font-size: 13px; }
  .sales-shell .cw-profile > div { min-width: 0; overflow-wrap: anywhere; }
  .sales-shell .cw-profile > .cw-actions { flex-shrink: 0; }
  .sales-shell .cw-tabs { gap: 6px; margin: 18px 0; padding-bottom: 7px; border-color: var(--cw44-line); }
  .sales-shell .cw-tabs button { min-height: 38px; padding: 8px 14px; border-radius: 7px; font-size: 13px; }
  .sales-shell .cw-customer-group {
    margin: 18px 0 24px;
    border-color: var(--cw44-line);
    border-radius: var(--cw44-radius);
    background: var(--erp44-surface, #fffdfa);
  }
  .sales-shell .cw-customer-group > header {
    padding: 15px 18px;
    gap: 16px;
    background: var(--erp44-surface, #fffdfa);
    border-color: var(--cw44-line);
  }
  .sales-shell .cw-customer-group > header > div { min-width: 0; }
  .sales-shell .cw-customer-group h2 { margin: 4px 0; font-size: 20px; line-height: 1.5; overflow-wrap: anywhere; }
  .sales-shell .cw-customer-group header :is(span, small) { margin: 3px 0; font-size: 12px; color: var(--cw44-muted); }
  .sales-shell .cw-customer-group header button { margin-top: 5px; min-height: 32px; padding: 5px 10px; font-size: 12px; border-radius: 6px; }

  /* Summary and filters share a consistent, shallow vertical rhythm. */
  .sales-shell :is(.cw-metrics, .s-cards) { gap: 12px; margin: 0 0 18px; }
  .sales-shell .cw-metrics > :is(button, section),
  .sales-shell .s-stat {
    padding: 14px 17px;
    border: 1px solid var(--cw44-line);
    border-radius: 10px;
    background: var(--erp44-surface, #fffdfa);
    text-align: left;
  }
  .sales-shell .cw-metrics > button small { font-size: 13px; color: var(--erp44-muted, #816978); }
  .sales-shell :is(.cw-metrics, .s-stat) strong { margin: 6px 0 4px; font-size: 26px; line-height: 1.2; font-weight: 650; font-variant-numeric: tabular-nums; }
  .sales-shell .s-stat strong { color: var(--erp44-purple, #75436e); }
  .sales-shell .cw-metrics > button span { color: var(--cw44-muted); font-size: 12px; }
  /* A metric marked primary has a solid brand background. Its nested labels
     and money spans must not retain the light-card text palette. */
  html body #app .sales-shell :is(.cw-metrics,.cd-metrics,.dash-metrics) > button:is(.primary,[data-erp-tone=primary],[data-erp-tone=order]) :is(span,strong,small,b,[data-erp-value]) {
    color: #fff ;
    opacity: 1;
  }
  html body #app .sales-shell :is(.cw-metrics,.cd-metrics,.dash-metrics) > button:is(:hover,:focus-visible) {
    outline: 2px solid var(--erp44-brand, #a83c72);
    outline-offset: 3px;
  }
  .sales-shell .cw-status-bar44 { gap: 7px; margin: 16px 0 11px; }
  .sales-shell .cw-status-bar44 button { min-height: 36px; gap: 8px; padding: 7px 11px; font-size: 13px; }
  .sales-shell .cw-status-bar44 button b { font-weight: 600; font-variant-numeric: tabular-nums; }
  /* workflow.css styles #cw-filter with an important background; the selected
     status also carries an explicit legacy blue inset underline. */
  html body .sales-shell :is(#cw-filter,#wf-client-filter) {
    background: var(--erp44-surface, #fffdfa) ;
    border-color: var(--erp44-line, #e7d8df);
  }
  html body .sales-shell .cw-status-bar44 button[aria-pressed=true] {
    background: var(--erp44-soft, #f9edf3) ;
    border-color: #d3a5bd ;
    color: var(--erp44-brand-strong, #89305d) ;
    box-shadow: inset 0 -2px var(--erp44-brand, #a83c72);
  }
  .sales-shell .cw-status-bar44 button:not([data-status=attention]) b { background: var(--erp44-soft, #f9edf3); color: var(--erp44-purple, #75436e); }
  .sales-shell :is(.cw-toolbar, .s-toolbar, .ca-filter) {
    flex-wrap: wrap;
    align-items: end;
    gap: 12px;
    padding: 15px 16px;
    margin: 0 0 16px;
    border: 1px solid var(--cw44-line);
    border-radius: 10px;
    background: var(--erp44-surface, #fffdfa);
  }
  .sales-shell :is(.cw-toolbar, .s-toolbar, .ca-filter) > label {
    gap: 6px;
    min-width: 130px;
    flex: 0 1 154px;
    color: var(--erp44-muted, #816978);
    font-size: 12px;
    font-weight: 500;
  }
  .sales-shell :is(.cw-toolbar, .ca-filter) > label:has(input[type=search]) { flex: 1 1 240px; max-width: 370px; }
  .sales-shell .cw-toolbar > label:has(input[type=checkbox]) { display: flex; flex-direction: row; align-items: center; flex-basis: auto; min-height: 38px; }
  .sales-shell :is(.cw-toolbar, .s-toolbar, .ca-filter) :is(input:not([type=checkbox]):not([type=radio]), select) {
    width: 100%;
    min-width: 0;
    min-height: 38px;
    padding: 8px 10px;
    border-color: var(--erp44-line, #e7d8df);
    border-radius: 7px;
    font-size: 13px;
  }
  .sales-shell :is(.cw-toolbar, .s-toolbar, .ca-filter) button { min-height: 38px; }
  .sales-shell .cw-result-count44 { margin: 10px 1px; color: var(--cw44-muted); }
  .sales-shell .cw-service-heading { flex-wrap: wrap; gap: 12px 20px; padding: 14px 0; }
  .sales-shell .cw-service-heading .cw-actions { min-width: 0; }

  /* List cells retain full content; horizontal scrolling is local to the table. */
  .sales-shell #s-content .table-wrap,
  #editor.sales-editor :is(.table-wrap, .erp-table-scroll34) {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    border: 1px solid var(--cw44-line);
    border-radius: 10px;
    background: var(--erp44-surface, #fffdfa);
  }
  .sales-shell .cw-customer-group > .table-wrap { border: 0; border-radius: 0; }
  .sales-shell #s-content .s-table,
  #editor.sales-editor .s-table { font-size: 14px; line-height: 1.65; }
  .sales-shell #s-content .s-table :is(th, td),
  #editor.sales-editor .s-table :is(th, td) {
    padding: 12px 13px;
    border-left: 0;
    border-right: 0;
    font-size: 14px;
    line-height: 1.65;
  }
  .sales-shell #s-content .s-table th,
  #editor.sales-editor .s-table th { font-size: 12px; font-weight: 600; }
  .sales-shell #s-content .s-table td { vertical-align: top; }
  .sales-shell .s-table .cw-sub { margin-top: 5px; color: var(--cw44-muted); font-size: 12px; line-height: 1.55; }
  .sales-shell .s-table .cw-order-customer { font-size: 14px; font-weight: 500; margin: 5px 0 2px; color: var(--erp44-muted, #816978); }
  .sales-shell .s-table .cw-envelope { min-height: 27px; margin: 3px 0 3px 5px; padding: 3px 6px; font-size: 11px; }
  .sales-shell .s-table :is(.cw-alert, .s-badge, .cw-export-label) { font-size: 11px; line-height: 1.55; padding: 3px 6px; border-radius: 5px; }
  .sales-shell .s-table .cw-alert { white-space: normal; }
  .sales-shell .s-table .s-badge { display: inline-block; margin-block: 3px; }
  .sales-shell .s-table .ca-order-summary { min-width: 138px; padding-left: 10px; border-left-width: 2px; line-height: 1.7; }
  .sales-shell .s-table:has([data-wf-all]) { min-width: 1030px; }
  .sales-shell .s-table:has([data-wf-all]) :is(th, td):first-child { width: 38px; padding-inline: 11px; }
  .sales-shell .s-table:has([data-wf-all]) td:nth-child(2) { min-width: 148px; overflow-wrap: anywhere; }
  .sales-shell .s-table:has([data-wf-all]) td:nth-child(3) { min-width: 118px; max-width: 180px; overflow-wrap: anywhere; }
  .sales-shell .s-table:has([data-wf-all]) td:nth-child(4) { min-width: 152px; font-variant-numeric: tabular-nums; }
  .sales-shell .s-table:has([data-wf-all]) td:nth-child(4) > strong { display: block; white-space: nowrap; color: var(--erp44-gold, #a66117); font-size: 14px; font-weight: 650; }
  .sales-shell .s-table:has([data-wf-all]) td:nth-child(5) { min-width: 125px; max-width: 174px; font-variant-numeric: tabular-nums; }
  .sales-shell .s-table:has([data-wf-all]) td:nth-child(5) > strong { font-weight: 600; }
  .sales-shell .s-table:has([data-wf-all]) td:nth-child(6) { min-width: 185px; max-width: 246px; }
  .sales-shell .s-table:has([data-wf-all]) td:nth-child(6) > strong { font-size: 12px; font-weight: 600; }
  .sales-shell .s-table:has([data-wf-all]) td:nth-child(6) > .cw-sub:last-child { color: var(--erp44-muted, #816978); font-size: 11px; }
  .sales-shell .s-table:has([data-wf-all]) td:has(> .cw-actions) { min-width: 186px; width: 186px; }
  .sales-shell .s-table:has([data-wf-all]) td > .cw-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 6px; }
  .sales-shell .s-table:has([data-wf-all]) td > .cw-actions button { min-height: 34px; padding: 6px 7px; font-size: 12px; }
  .sales-shell .s-table:has([data-wf-all]) .cw-actions button[data-erp-tone] { --erp-action-soft34: var(--erp44-surface, #fffdfa); }
  .sales-shell .s-table:has([data-wf-all]) .cw-actions button[data-cw="progress"] { --erp-action-soft34: var(--erp44-soft, #f9edf3); --erp-action-line34: var(--erp44-line, #e7d8df); --erp-action34: var(--erp44-brand, #a83c72); }
  .sales-shell .s-table:has([data-wf-all]) .cw-actions button[data-cw="order-delete"] { grid-column: 1 / -1; --erp-action-soft34: var(--erp44-surface, #fffdfa); --erp-action-line34: #f0d2d2; }
  .sales-shell .order-selection-bar { gap: 10px 14px; margin: 12px; padding: 10px 12px; border-radius: 8px; box-shadow: 0 3px 10px #715a6810; }
  .sales-shell .order-selection-bar button { min-height: 34px; padding: 6px 10px; font-size: 12px; border-radius: 6px; }
  .sales-shell :is(.s-panel, .s-step) { border-color: var(--cw44-line); border-radius: var(--cw44-radius); }
  .sales-shell .s-panel { padding: 18px; }

  /* Existing drawer head and footer stay fixed; only the form body scrolls. */
  html body #editor.sales-editor .erp-drawer-head34 { padding: 18px 24px ; }
  html body #editor.sales-editor .erp-drawer-head34 h2 { font-size: 20px; font-weight: 650; }
  html body #editor.sales-editor .erp-drawer-scroll34 { padding: 22px 24px ; background: var(--erp44-bg, #f8f4ef); }
  html body #editor.sales-editor .erp-drawer-foot34 { padding: 13px 24px ; background: var(--erp44-surface, #fffdfa); gap: 9px; }
  #editor.sales-editor .erp-drawer-foot34 > button { min-height: 40px; min-width: 82px; }
  #editor.sales-editor .erp-drawer-foot34 > [data-cw="order-delete"] { margin-right: auto; }
  #editor.sales-editor .s-formgrid { gap: 16px 18px; }
  #editor.sales-editor .s-formgrid > label { gap: 6px; font-size: 13px; font-weight: 500; color: var(--erp44-muted, #816978); }
  #editor.sales-editor .s-formgrid :is(input:not([type=checkbox]):not([type=radio]), select, textarea) { border-color: var(--erp44-line, #e7d8df); border-radius: 7px; font-size: 14px; }
  #editor.sales-editor .s-formgrid textarea { min-height: 82px; line-height: 1.7; }
  #editor.sales-editor :is(.s-formgrid, .cw-line-grid) :is(input, select, textarea):focus { outline: 2px solid var(--erp44-brand, #a83c72); outline-offset: 1px; border-color: var(--erp44-brand, #a83c72); }
  #editor.sales-editor .s-section { margin: 18px 0; padding: 0; border: 1px solid var(--cw44-line); border-radius: 10px; background: var(--erp44-surface, #fffdfa); }
  #editor.sales-editor .s-section > summary { padding: 13px 15px; border: 0; border-radius: 9px; background: var(--erp44-soft, #f9edf3); color: var(--erp44-purple, #75436e); font-size: 14px; font-weight: 600; }
  #editor.sales-editor .s-section[open] { padding-bottom: 15px; }
  #editor.sales-editor .s-section[open] > summary { margin-bottom: 15px; border-bottom: 1px solid var(--cw44-line); border-radius: 9px 9px 0 0; }
  #editor.sales-editor .s-section > :not(summary) { margin-inline: 15px; }
  #editor.sales-editor .s-section:not(details) { padding: 15px; }
  #editor.sales-editor .s-section:not(details) > * { margin-inline: 0; }
  #editor.sales-editor .cw-picker { margin: 22px 0 14px; }
  #editor.sales-editor .cw-picker h3 { margin: 0 0 12px; font-size: 16px; font-weight: 650; }
  #editor.sales-editor .cw-picker .cw-actions input { flex: 1 1 240px; min-width: 0; max-width: 420px; min-height: 38px; }
  #editor.sales-editor .cw-pick-row { gap: 12px; align-items: center; flex-wrap: wrap; padding: 12px; background: var(--erp44-surface, #fffdfa); }
  #editor.sales-editor #cw-lines { border-color: var(--cw44-line); border-radius: 10px; background: var(--erp44-surface, #fffdfa); }
  #editor.sales-editor .cw-grid-head { background: var(--erp44-soft, #f9edf3); border-color: var(--erp44-line, #e7d8df); color: var(--erp44-muted, #816978); font-size: 12px; font-weight: 600; padding-block: 11px; }
  #editor.sales-editor .cw-line-grid { padding-block: 12px; margin-bottom: 0; }
  #editor.sales-editor .compact-order-line { border-bottom-color: var(--erp44-line, #e7d8df) ; }
  #editor.sales-editor .compact-order-line:nth-child(odd) { background: var(--erp44-surface, #fffdfa); }
  #editor.sales-editor .compact-order-line:focus-within { background: var(--erp44-soft, #f9edf3); }
  #editor.sales-editor .cw-line-grid input { min-height: 38px; padding: 7px; border-color: var(--erp44-line, #e7d8df); border-radius: 6px; font-size: 13px; }
  #editor.sales-editor .cw-line-grid input[type=number] { text-align: right; font-variant-numeric: tabular-nums; }
  #editor.sales-editor .cw-line-grid .row-index { color: var(--erp44-muted, #816978); text-align: center; font-size: 12px; }
  #editor.sales-editor .cw-line-grid .row-amount { font-size: 13px; font-variant-numeric: tabular-nums; }
  #editor.sales-editor .cw-line-grid > button { min-height: 34px; padding: 5px; font-size: 12px; }
  #editor.sales-editor .row-extra { padding-bottom: 12px; color: var(--cw44-muted); }
  #editor.sales-editor .row-extra summary { cursor: pointer; line-height: 1.6; }
  #editor.sales-editor .row-extra textarea { width: 100%; max-width: 650px; }
  #editor.sales-editor .cw-line-match:not(:empty) { margin: 0 12px 12px; padding: 9px 11px; background: #f0f8f5; border-color: #cce7dc; font-size: 12px; }
  #editor.sales-editor #cw-total { position: static; margin: 12px 0 20px; padding: 13px 16px; border-color: #efdcc7; background: #fff8ef; line-height: 1.7; font-size: 14px; }
  #editor.sales-editor .s-formgrid > .cw-total { grid-column: 1 / -1; margin: 0; padding: 10px 13px; background: #fff8ef; font-size: 12px; line-height: 1.7; }
  #editor.sales-editor .confirmed-hint { align-self: stretch; margin: 0; padding: 12px 14px; border: 1px solid #d7eadd; font-size: 13px; line-height: 1.7; }
  #editor.sales-editor .cw-footnote { margin: 16px 0 0; color: var(--cw44-muted); font-size: 12px; }

  /* Detail cards use headings for labels, leaving values free to wrap fully. */
  .sales-shell .cw-info:not(.shipment-workspace),
  #editor.sales-editor .cw-info:not(.shipment-workspace) { gap: 12px; margin: 18px 0; }
  .sales-shell .cw-info > section,
  #editor.sales-editor .cw-info > section { min-width: 0; padding: 15px 17px; background: var(--erp44-surface, #fffdfa); border: 1px solid var(--cw44-line); border-radius: 10px; }
  .sales-shell .cw-info h3,
  #editor.sales-editor .cw-info h3 { margin: 0 0 8px; color: var(--erp44-muted, #816978); font-size: 12px; font-weight: 500; }
  .sales-shell .cw-info p,
  #editor.sales-editor .cw-info p { color: var(--erp44-ink, #553e53); font-size: 13px; line-height: 1.85; }
  #editor.sales-editor .erp-drawer-scroll34 > .cw-actions { padding-bottom: 13px; border-bottom: 1px solid var(--cw44-line); }
  #editor.sales-editor .erp-drawer-scroll34 > .cw-actions + .cw-info > section { border-color: var(--erp44-line, #e7d8df); background: var(--erp44-soft, #f9edf3); }
  #editor.sales-editor .erp-drawer-scroll34 > .cw-actions + .cw-info h3 { color: var(--erp44-purple, #75436e); font-size: 16px; font-weight: 650; }
  #editor.sales-editor .s-table { min-width: 640px; }
  #editor.sales-editor .s-table td { max-width: 320px; vertical-align: top; white-space: normal; overflow-wrap: anywhere; }
  #editor.sales-editor #s-variants .s-table { min-width: 850px; }
  #editor.sales-editor .s-table .s-photo { width: 54px; height: 62px; margin-right: 0; border: 1px solid var(--erp44-line, #e7d8df); background: var(--erp44-surface, #fffdfa); }
  #editor.sales-editor .s-error:not(:empty) { padding: 12px 14px; border: 1px solid #f0cbca; border-radius: 8px; background: #fff5f4; font-size: 13px; line-height: 1.7; }

  @media (max-width: 1100px) {
    .sales-shell :is(.cw-heading, .s-heading) { align-items: flex-start; }
    .sales-shell .cw-profile { flex-wrap: wrap; }
    .sales-shell :is(.cw-toolbar, .ca-filter) > label:has(input[type=search]) { max-width: none; }
    .sales-shell .cw-customer-strip { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
  }

  @media (max-width: 800px) {
    .sales-shell :is(.cw-heading, .s-heading) { gap: 12px; }
    .sales-shell .cw-profile { padding: 17px; }
    .sales-shell .cw-profile h2 { font-size: 21px; }
    .sales-shell .cw-customer-group > header { padding: 13px 15px; flex-wrap: wrap; }
    .sales-shell .cw-customer-group h2 { font-size: 18px; }
    .sales-shell .cw-customer-group > header > div:last-child { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
    .sales-shell .cw-customer-group header button { margin-top: 0; }
    .sales-shell :is(.cw-toolbar, .ca-filter) > label { flex: 1 1 140px; }
    .sales-shell :is(.cw-toolbar, .ca-filter) > label:has(input[type=search]) { flex-basis: 100%; }
    .sales-shell :is(.cw-info, .s-formgrid) { grid-template-columns: minmax(0, 1fr); }

    /* Column headings become the same visible labels on each editable field. */
    #editor.sales-editor #cw-lines { overflow-x: visible; border: 0; border-radius: 0; background: transparent; }
    #editor.sales-editor .cw-grid-head { display: none; }
    #editor.sales-editor .cw-line.compact-order-line {
      min-width: 0;
      margin: 0 0 14px ;
      border: 1px solid var(--erp44-line, #e7d8df) ;
      border-radius: 10px ;
      background: var(--erp44-surface, #fffdfa);
    }
    #editor.sales-editor .cw-line-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); min-width: 0; gap: 12px; padding: 14px; align-items: end; }
    #editor.sales-editor .cw-line-grid > .row-index { grid-column: 1 / -1; text-align: left; color: var(--erp44-purple, #75436e); font-size: 13px; font-weight: 600; }
    #editor.sales-editor .cw-line-grid > .row-index::before { content: "货品 "; }
    #editor.sales-editor .cw-line-grid > .cw-line-photo { grid-column: 1 / -1; border-bottom: 0; padding-bottom: 0; }
    #editor.sales-editor .cw-line-grid .s-upload { display: flex ; flex-wrap: wrap; align-items: center; gap: 10px; }
    #editor.sales-editor .cw-line-grid .s-upload img { width: 64px ; height: 64px ; margin: 0; }
    #editor.sales-editor .cw-line-grid .s-upload label { min-width: 0; font-size: 12px; }
    #editor.sales-editor .cw-line-grid .s-upload input[type=file] { width: 100%; max-width: 240px; min-height: 34px; font-size: 12px; }
    #editor.sales-editor .cw-line-grid label { display: grid; gap: 6px; }
    #editor.sales-editor .cw-line-grid > label:nth-of-type(3) { grid-column: 1 / -1; }
    #editor.sales-editor .cw-line-grid .cell-label { position: static; width: auto; height: auto; overflow: visible; clip-path: none; color: var(--erp44-muted, #816978); font-size: 12px; font-weight: 500; }
    #editor.sales-editor .cw-line-grid input { min-height: 40px; font-size: 14px; }
    #editor.sales-editor .cw-line-grid .row-amount { padding-block: 8px; text-align: left; }
    #editor.sales-editor .cw-line-grid .row-amount::before { content: "未税金额 "; color: var(--erp44-muted, #816978); font-size: 12px; font-weight: 400; }
    #editor.sales-editor .cw-line-grid > button { justify-self: end; min-width: 70px; min-height: 38px; }
    #editor.sales-editor .row-extra { padding: 0 14px 14px; font-size: 13px; }
    #editor.sales-editor .cw-line-match:not(:empty) { margin-inline: 14px; }
  }

  @media (max-width: 600px) {
    .sales-shell :is(.cw-toolbar, .s-toolbar, .ca-filter) { gap: 10px; padding: 13px; }
    .sales-shell .cw-client-switch { display: grid; gap: 8px; width: 100%; }
    .sales-shell .cw-client-switch select { min-width: 0; width: 100%; }
    .sales-shell .cw-customer-strip { grid-template-columns: minmax(0, 1fr); max-height: 216px; }
    .sales-shell .cw-metrics { gap: 7px; }
    .sales-shell .cw-metrics > :is(button, section) { padding: 12px 10px; min-width: 0; }
    .sales-shell .cw-metrics > button small { font-size: 12px; }
    .sales-shell .cw-metrics strong { font-size: 22px; }
    .sales-shell .cw-metrics > button span { font-size: 11px; }
    .sales-shell .cw-tabs { gap: 5px; }
    .sales-shell .cw-tabs button { padding: 8px 10px; font-size: 12px; }
    .sales-shell .cw-status-bar44 button { flex: 1 0 auto; justify-content: center; }
    .sales-shell .order-selection-bar { margin: 10px; }
    .sales-shell .order-selection-bar details { min-width: 115px; }
    html body #editor.sales-editor .erp-drawer-head34 { padding: 15px 16px ; }
    html body #editor.sales-editor .erp-drawer-head34 h2 { font-size: 18px; }
    html body #editor.sales-editor .erp-drawer-scroll34 { padding: 16px ; }
    html body #editor.sales-editor .erp-drawer-foot34 { padding: 12px 16px max(12px, env(safe-area-inset-bottom)) ; }
    #editor.sales-editor .cw-info { grid-template-columns: minmax(0, 1fr); }
    #editor.sales-editor .cw-info > section { padding: 14px; }
    #editor.sales-editor .s-section > :not(summary) { margin-inline: 12px; }
    #editor.sales-editor .s-section:not(details) > * { margin-inline: 0; }
    #editor.sales-editor .cw-picker .cw-actions input { flex-basis: 100%; max-width: none; }
    #editor.sales-editor .cw-picker .cw-actions button { flex: 1 1 auto; }
  }
}

/* Brand-color completion for catalog details and the shared AI widget.
   Color properties only: visibility, selected/disabled state and geometry stay
   with the original components. Green/red inventory values retain their meaning. */
@media screen {
  .sales-shell :is(.price-value, .peer-summary-row strong),
  #editor.sales-editor .pricing-hero .price-value { color: var(--erp44-gold, #a66117); }
  .sales-shell :is(.price-basis, .comparison-caption, .peer-summary-row small, .cc42-no-photo),
  #editor.sales-editor :is(.detail-eyebrow, .pricing-hero small, .cc42-selection p, .cc42-status-intro p) { color: var(--erp44-muted, #816978); }
  #editor.sales-editor .pricing-hero { background: var(--erp44-soft, #f9edf3); border-color: var(--erp44-line, #e7d8df); }
  #editor.sales-editor .pricing-hero h2 { color: var(--erp44-purple, #75436e); }
  #editor.sales-editor .pricing-hero .s-photo { background: var(--erp44-surface, #fffdfa); }
  #editor.sales-editor .form-section-title { background: var(--erp44-soft, #f9edf3); border-color: var(--erp44-brand, #a83c72); color: var(--erp44-purple, #75436e); }
  #editor.sales-editor .cc42-info dl > div { border-color: var(--erp44-line, #e7d8df); }
  #editor.sales-editor .cc42-info dd { color: var(--erp44-ink, #553e53); }
  .sales-shell .cc42-card:not(.card-chosen) { border-color: var(--erp44-line, #e7d8df); box-shadow: 0 5px 18px #75436e08; }
  .sales-shell .cc42-card:not(.card-chosen):hover { border-color: #d0a6bd; box-shadow: 0 8px 24px #75436e13; }
  .sales-shell .cc42-off .cc42-price { color: var(--erp44-muted, #816978); }
  .sales-shell .cc42-card-foot button:not(.primary):not(:disabled) {
    --erp-action34: var(--erp44-brand-strong, #89305d);
    --erp-action-soft34: var(--erp44-soft, #f9edf3);
    --erp-action-line34: var(--erp44-line, #e7d8df);
    background: var(--erp44-soft, #f9edf3);
    border-color: var(--erp44-line, #e7d8df);
    color: var(--erp44-brand-strong, #89305d);
  }
  /* The green quote/picked controls and unavailable-state colors are unchanged. */
  html body #app .sales-shell #s-content .cc43-selection-bar [data-card-order] {
    background: var(--erp44-soft, #f9edf3) ;
    border-color: var(--erp44-line, #e7d8df) ;
    color: var(--erp44-brand-strong, #89305d) ;
  }
  .sales-shell .card-compact-body [data-catalog-stock38],
  #editor.sales-editor :is(.cs38-product, .cs38-preview) { background: var(--erp44-soft, #f9edf3); border-color: var(--erp44-line, #e7d8df); color: var(--erp44-ink, #553e53); }
  .sales-shell :is(.cs38-summary, .cs38-spec > span:first-child),
  #editor.sales-editor .cs38-editor { color: var(--erp44-ink, #553e53); }
  .sales-shell :is(.cs38-value small, .cs38-caption),
  #editor.sales-editor :is(.cs38-ledger-note, .cs38-delta, .cs38-history article small) { color: var(--erp44-muted, #816978); }
  .sales-shell .cs38-specs,
  #editor.sales-editor :is(.cs38-stock-table, .cs38-stock-table td, .cs38-history, .cs38-history article) { border-color: var(--erp44-line, #e7d8df); }
  .sales-shell .cs38-more > summary,
  #editor.sales-editor .cs38-history summary { color: var(--erp44-brand, #a83c72); }
  .sales-shell .cs38-page-note { background: var(--erp44-soft, #f9edf3); border-color: var(--erp44-line, #e7d8df); color: var(--erp44-muted, #816978); }
  .sales-shell .cs38-page-note > b { color: var(--erp44-purple, #75436e); }
  html body #app .sales-shell button.cs38-edit,
  html body #editor.sales-editor button.cs38-submit {
    background: var(--erp44-brand, #a83c72) ;
    border-color: var(--erp44-brand, #a83c72) ;
    color: #fff ;
  }
  html body #app .sales-shell button.cs38-edit:hover:not(:disabled),
  html body #editor.sales-editor button.cs38-submit:hover:not(:disabled) {
    background: var(--erp44-brand-strong, #89305d) ;
    border-color: var(--erp44-brand-strong, #89305d) ;
    color: #fff ;
  }
  html body #app .sales-shell button.cs38-view {
    background: var(--erp44-soft, #f9edf3) ;
    border-color: var(--erp44-line, #e7d8df) ;
    color: var(--erp44-brand-strong, #89305d) ;
  }

  #erp-ai-widget,
  dialog.aq-dialog { color: var(--erp44-ink, #553e53); }
  #erp-ai-widget .aq-chat,
  dialog.aq-dialog { background: var(--erp44-surface, #fffdfa); border-color: var(--erp44-line, #e7d8df); box-shadow: 0 18px 64px #553e5326, 0 2px 9px #553e5309; }
  #erp-ai-widget .aq-chat-head { background: linear-gradient(110deg, var(--erp44-soft, #f9edf3), var(--erp44-surface, #fffdfa)); border-color: var(--erp44-line, #e7d8df); }
  #erp-ai-widget .aq-chat-avatar { background: var(--erp44-brand, #a83c72); color: #fff; }
  /* The <use> instance has its own SVG shadow tree. Match the symbol's own
     paint nodes directly, without requiring the outer widget ancestor. */
  #aq-chat-icon > circle { fill: var(--erp44-brand, #a83c72) ; }
  #aq-chat-icon > path[stroke="#17ad68"] { stroke: var(--erp44-brand, #a83c72) ; }
  #erp-ai-widget :is(.aq-launcher, .aq-chat-avatar) > svg,
  #erp-ai-widget use[href="#aq-chat-icon"] { color: #fff ; }
  #erp-ai-widget :is(.aq-chat-title h2, .aq-greeting),
  dialog.aq-dialog :is(h2, h3) { color: var(--erp44-purple, #75436e); }
  #erp-ai-widget :is(.aq-chat-title p, .aq-scope, .aq-intro-label, .aq-intro-copy, .aq-suggest-label, .aq-intro-tip, .aq-time, .aq-assistant-label, .aq-source dt, .aq-source-footer, .aq-answer-foot, .aq-key-hint, .aq-disclosure) { color: var(--erp44-muted, #816978); }
  #erp-ai-widget :is(.aq-scope strong, .aq-scope svg, .aq-assistant-label svg, .aq-suggest svg) { color: var(--erp44-brand, #a83c72); }
  #erp-ai-widget .aq-scope { border-color: var(--erp44-line, #e7d8df); }
  #erp-ai-widget .aq-scope select,
  dialog.aq-dialog input { background: #fff; border-color: var(--erp44-line, #e7d8df); color: var(--erp44-ink, #553e53); }
  #erp-ai-widget .aq-messages { background: var(--erp44-bg, #f8f4ef); scrollbar-color: #dac3d2 transparent; }
  #erp-ai-widget .aq-bubble-user { background: var(--erp44-soft, #f9edf3); border-color: var(--erp44-line, #e7d8df); color: var(--erp44-ink, #553e53); }
  #erp-ai-widget :is(.aq-source, .aq-compose) { background: var(--erp44-surface, #fffdfa); border-color: var(--erp44-line, #e7d8df); }
  #erp-ai-widget .aq-source dd { color: var(--erp44-ink, #553e53); }
  #erp-ai-widget .aq-source-footer,
  dialog.aq-dialog td { border-color: var(--erp44-line, #e7d8df); }
  #erp-ai-widget .aq-composer-box { background: #fff; border-color: var(--erp44-line, #e7d8df); }
  #erp-ai-widget .aq-composer-box:focus-within { border-color: var(--erp44-brand, #a83c72); box-shadow: 0 0 0 2px var(--erp44-soft, #f9edf3); }
  #erp-ai-widget textarea { color: var(--erp44-ink, #553e53); }
  #erp-ai-widget textarea::placeholder { color: var(--erp44-muted, #816978); }
  #erp-ai-widget .aq-quick-follow { background: var(--erp44-soft, #f9edf3); border-color: var(--erp44-line, #e7d8df); color: var(--erp44-brand-strong, #89305d); }
  html body #erp-ai-widget button:is(.aq-launcher, .aq-send),
  html body dialog.aq-dialog button[type=submit] {
    background: var(--erp44-brand, #a83c72) ;
    border-color: var(--erp44-brand, #a83c72) ;
    color: #fff ;
  }
  #erp-ai-widget .aq-launcher { box-shadow: 0 7px 24px #a83c7229; }
  html body #erp-ai-widget button:is(.aq-launcher, .aq-send):hover:not(:disabled),
  html body dialog.aq-dialog button[type=submit]:hover:not(:disabled) {
    background: var(--erp44-brand-strong, #89305d) ;
    border-color: var(--erp44-brand-strong, #89305d) ;
    color: #fff ;
  }
  html body #erp-ai-widget .aq-icon-button { color: var(--erp44-muted, #816978) ; }
  html body #erp-ai-widget .aq-icon-button:hover:not(:disabled) { background: var(--erp44-soft, #f9edf3) ; color: var(--erp44-brand-strong, #89305d) ; }
  html body #erp-ai-widget .aq-suggest { background: var(--erp44-surface, #fffdfa) ; border-color: var(--erp44-line, #e7d8df); color: var(--erp44-ink, #553e53) ; }
  html body #erp-ai-widget .aq-suggest:hover:not(:disabled) { background: var(--erp44-soft, #f9edf3) ; border-color: #d0a6bd; }
  html body #erp-ai-widget .aq-source-footer button { color: var(--erp44-brand, #a83c72) ; }
  #erp-ai-widget button:focus-visible,
  dialog.aq-dialog :is(button, input, a):focus-visible { outline-color: var(--erp44-brand, #a83c72); }
  dialog.aq-dialog::backdrop { background: #553e5340; }
}

/* website48.css */
/* The public website is a normal link, independent of ERP module permissions. */
@media screen {
  html body .wf-shell > header.wf-header #wf-module-tabs > a.wf-website-link {
    display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;
    padding:8px 13px;min-height:38px;line-height:20px;border:1px solid transparent;
    border-radius:8px;background:transparent;color:#695564;font:inherit;font-size:14px;
    font-weight:650;line-height:20px;text-decoration:none;white-space:nowrap;box-shadow:none;
  }
  html body .wf-shell > header.wf-header #wf-module-tabs > a.wf-website-link:hover {
    background:#eae2e8;color:#493943;border-color:#dcd0d9;
  }
  html body .wf-shell > header.wf-header #wf-module-tabs > a.wf-website-link:focus-visible {
    outline:2px solid #866b80;outline-offset:2px;
  }
  html[data-erp-theme]:not([data-erp-theme="berry"]) body .wf-shell > header.wf-header #wf-module-tabs > a.wf-website-link {
    color:hsl(var(--theme45-hue) 10% 34.8%);
  }
  html[data-erp-theme]:not([data-erp-theme="berry"]) body .wf-shell > header.wf-header #wf-module-tabs > a.wf-website-link:hover {
    background:hsl(var(--theme45-hue) 15.2% 90.2%);color:hsl(var(--theme45-hue) 11.7% 23%);border-color:hsl(var(--theme45-hue) 13.9% 83.9%);
  }
  html[data-erp-theme]:not([data-erp-theme="berry"]) body .wf-shell > header.wf-header #wf-module-tabs > a.wf-website-link:focus-visible {
    outline-color:hsl(var(--theme45-hue) 10.6% 44.8%);
  }
}
/* Size the navigation column to its visible entries instead of squeezing six links into the old fixed width. */
@media screen and (min-width:1201px) {
  html body .wf-shell > header.wf-header {grid-template-columns:220px minmax(0,1fr) max-content 170px;}
}
@media screen and (min-width:1001px) and (max-width:1200px) {
  html body .wf-shell > header.wf-header {grid-template-columns:200px minmax(0,1fr) max-content 145px;}
}
@media screen and (max-width:1200px) {
  html body .wf-shell > header.wf-header #wf-module-tabs > a.wf-website-link {padding-inline:10px;font-size:13px;}
}
@media screen and (max-width:1000px) {
  html body .wf-shell > header.wf-header #wf-module-tabs > a.wf-website-link {padding:6px 13px;min-height:34px;}
}
@media screen and (max-width:700px) {
  html body .wf-shell > header.wf-header #wf-module-tabs > a.wf-website-link {flex:1;min-width:0;padding:5px 6px;font-size:12px;min-height:33px;}
}

/* print_files58.css */
/* Screen-only document controls; the selected standard text is rendered by order export. */
@media screen {
 .pf58-dialog{width:min(1000px,94vw);max-height:90vh;border:1px solid #e5dbd1;border-radius:16px;padding:0;background:#faf8f5;color:#33302e;box-shadow:0 18px 70px #352c2440}
 .pf58-dialog::backdrop{background:#27232165}.pf58-dialog>header{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;background:white;border-bottom:1px solid #e9e0d7;position:sticky;top:0;z-index:2}.pf58-dialog h2{font-size:20px;margin:0}.pf58-dialog p{margin:6px 0;color:#766f68;font-size:13px}.pf58-body{padding:18px 22px}.pf58-notice{padding:12px 15px;background:#eaf2f9;color:#32658f;border-radius:8px;font-size:13px;line-height:1.6;margin-bottom:16px}
 .pf58-dialog button,.pf58-summary button,.pf58-client-entry button,#pf58-order-editor button{padding:7px 12px;min-height:32px;border:1px solid #e0d7ce;border-radius:8px;background:white;color:#32658f;cursor:pointer;font-size:13px;font-weight:600;transition:background .15s,box-shadow .15s}.pf58-dialog button:hover,.pf58-summary button:hover,.pf58-client-entry button:hover,#pf58-order-editor button:hover{box-shadow:0 2px 7px #33302e16;background:#f0f5fa}.pf58-dialog button:focus-visible,#pf58-order-editor button:focus-visible{outline:2px solid #3e7cb1;outline-offset:2px}.pf58-dialog button.primary{background:var(--erp44-brand,#c24b78);color:white}.pf58-dialog button:disabled{opacity:.5;cursor:wait}
 .pf58-toolbar,.pf58-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:12px 0}.pf58-toolbar>label{margin-left:auto;font-size:13px;display:flex;align-items:center;gap:6px}.pf58-toolbar input{width:auto}.pf58-file{padding:14px;background:white;border:1px solid #e7ddd3;border-radius:10px;margin:10px 0}.pf58-file.is-archived{background:#f3f0ec;color:#847b73}.pf58-file-top{display:flex;align-items:center;gap:12px}.pf58-file-icon{width:44px;height:48px;display:grid;place-items:center;background:#fae9ef;color:#b33e68;border-radius:8px;font-size:11px;font-weight:700;flex-shrink:0}.pf58-file-name{flex:1;min-width:0}.pf58-file-name strong,.pf58-file-name span,.pf58-file-name small{display:block;overflow-wrap:anywhere}.pf58-file-name span{font-size:13px;color:#746c64;margin:4px 0}.pf58-file-name small,.pf58-version small,.pf58-picked small,.pf58-candidate small,.pf58-summary-row small{display:block;font-size:12px;color:#887f76;line-height:1.6}.pf58-links{display:flex;gap:12px;flex-wrap:wrap;flex-shrink:0}.pf58-links a{color:#3e7cb1;font-size:13px;text-decoration:none}.pf58-links a:hover{text-decoration:underline}.pf58-file-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px}.pf58-file-tools>details{width:100%;padding-top:10px}.pf58-file-tools summary{font-size:12px;color:#766b62;cursor:pointer}.pf58-version{display:flex;justify-content:space-between;gap:15px;padding:10px 0;border-top:1px solid #efe7df}.pf58-version>span:first-child{min-width:0;overflow-wrap:anywhere;font-size:13px}.pf58-version b{color:#925900}.pf58-empty{padding:35px;text-align:center;color:#8b8077;background:white;border:1px dashed #e0d4c9;border-radius:10px}
 [data-pf-edit]{padding:18px;margin-top:16px;border:1px solid #e2d6cb;border-radius:10px;background:white}.pf58-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.pf58-fields label{display:flex;flex-direction:column;gap:6px;font-size:13px}.pf58-wide{grid-column:1/-1}.pf58-fields input,.pf58-fields textarea,.pf58-fields select,.pf58-picked select,.pf58-candidate select{box-sizing:border-box;width:100%;border:1px solid #dfd5cb;background:#fff;padding:8px;border-radius:7px;font:inherit;color:#33302e}.pf58-fields textarea{min-height:65px}.pf58-fields small{color:#877c72}.pf58-dialog progress{width:100%;accent-color:#2f8f66;margin-top:14px}.pf58-error{color:#c33b3b}.pf58-success{color:#287d58}.pf58-muted{color:#887e75;font-size:13px}
 .pf58-summary,.pf58-client-entry,#pf58-order-editor{margin:18px 0;padding:16px;border:1px solid #e5dbd1;border-radius:10px;background:#fff}.pf58-summary h3,.pf58-client-entry h3,#pf58-order-editor h3{font-size:15px;margin:0 0 5px}.pf58-summary p,.pf58-client-entry p,#pf58-order-editor p{font-size:12px;color:#83786f;margin:4px 0 10px}.pf58-summary-row,.pf58-client-entry,.pf58-heading{display:flex;justify-content:space-between;align-items:center;gap:14px}.pf58-summary-row{border-top:1px solid #eee5dc;padding:10px 0}.pf58-summary-row strong{font-size:13px}.pf58-count{font-size:11px;padding:2px 7px;border-radius:12px;background:#eaf2f9;color:#32658f;font-weight:700}.pf58-picked,.pf58-candidate{display:grid;grid-template-columns:minmax(150px,1fr) 180px auto auto;gap:12px;align-items:center;border-top:1px solid #eee5dc;padding:12px 0;font-size:13px}.pf58-picked label,.pf58-candidate label{font-size:11px;color:#7d736b}.pf58-candidate{grid-template-columns:minmax(150px,1fr) minmax(180px,1fr) auto}.pf58-candidate>div,.pf58-picked>div{overflow-wrap:anywhere}.pf58-picked>button{color:#87776d}.pf58-selected:empty{display:none}
 .pf58-fields .pf58-drop{padding:16px;border:1px dashed #8bb5d5;border-radius:10px;background:#f4f9fd;gap:9px;outline-offset:3px}.pf58-drop>strong{color:#32658f;font-size:14px;font-weight:600}.pf58-fields .pf58-drop.is-over{background:#e7f5ef;border-color:#2f8f66}.pf58-queue{display:flex;flex-direction:column;gap:8px}.pf58-queued{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #e9e0d7;border-radius:8px;padding:10px 12px;background:#faf8f5}.pf58-queued>span{min-width:0;overflow-wrap:anywhere}.pf58-queued strong,.pf58-queued small{display:block}.pf58-queued strong{font-size:13px}.pf58-queued small{font-size:12px;color:#766f68;margin-top:4px}.pf58-queued button{flex-shrink:0}
 .pf58-find{display:flex;gap:9px;align-items:flex-end;margin:14px 0}.pf58-search{flex:1;display:flex;flex-direction:column;gap:6px;font-size:12px;color:#766f68}.pf58-search input{box-sizing:border-box;width:100%;min-height:36px;padding:8px 12px;border:1px solid #dfd5cb;border-radius:8px;color:#33302e;background:white;font:inherit;font-size:13px}.pf58-search input:focus{outline:2px solid #3e7cb1;outline-offset:1px}.pf58-categories{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}.pf58-categories button{display:inline-flex;gap:8px;align-items:center}.pf58-categories span{font-size:11px;min-width:18px;padding:1px 5px;border-radius:12px;background:#f0eae4;color:#766f68}.pf58-categories [aria-pressed="true"]{background:var(--erp44-brand,#c24b78);color:white;border-color:transparent}.pf58-categories [aria-pressed="true"] span{background:#ffffff30;color:white}.pf58-group>h3{display:flex;gap:9px;align-items:center;font-size:15px;color:#33302e;margin:20px 0 8px}.pf58-group>h3>span{font-size:12px;font-weight:400;color:#766f68}.pf58-dialog .pf58-danger{color:#b83131;border-color:#edc0c0;background:#fff3f3}.pf58-dialog .pf58-danger:hover{background:#ffe4e4}.pf58-delete-confirm{padding:14px 16px;border:1px solid #edc0c0;background:#fff6f4;border-radius:10px;margin:12px 0}.pf58-delete-confirm[hidden]{display:none}.pf58-delete-confirm strong{color:#b83131;font-size:14px}.pf58-file.is-deleted{background:#f5f2ee}.pf58-find [aria-pressed="true"]{color:#b83131;background:#fff3f3;border-color:#edc0c0}
 @media(max-width:700px){.pf58-body{padding:12px}.pf58-dialog>header{padding:14px}.pf58-fields{grid-template-columns:1fr}.pf58-picked,.pf58-candidate{grid-template-columns:1fr 1fr}.pf58-file-top{flex-wrap:wrap}.pf58-heading,.pf58-client-entry{align-items:flex-start;flex-direction:column}.pf58-summary-row{align-items:flex-start;flex-wrap:wrap}}
}

/* account_security61.css */
/* Account security remains a centered native modal, outside business drawers. */
dialog#account-security61{position:fixed;inset:0;margin:auto;width:min(760px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:90dvh;overflow:auto;padding:0;border-radius:16px;box-sizing:border-box}dialog#account-security61>header{position:sticky;top:0;z-index:1;flex-shrink:0}
.as61-dialog{box-sizing:border-box;width:min(760px,calc(100vw - 32px));max-height:90vh;padding:0;border:1px solid #e7ddd4;border-radius:16px;color:#33302e;background:#fff;font:13px/1.6 system-ui,'Microsoft YaHei',sans-serif;box-shadow:0 20px 70px #332c2829}.as61-dialog::backdrop{background:#26232a66}.as61-dialog>header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;background:#f8f5f1;border-bottom:1px solid #eee4db}.as61-dialog h2{margin:3px 0 0;font-size:22px}.as61-dialog h3{font-size:15px;margin:20px 0 6px}.as61-dialog small,.as61-access,.as61-help{color:#786f69}.as61-body{padding:22px 24px}.as61-summary{display:flex;justify-content:space-between;align-items:center;gap:12px}.as61-summary strong{display:block;font-size:18px}.as61-summary span:first-child{color:#786f69}.as61-tag{border-radius:20px;padding:3px 12px;white-space:nowrap}.as61-warning{background:#fff1d9;color:#9a5d06}.as61-normal{background:#e6f4ed;color:#287852}.as61-note{background:#eef5fc;color:#3e6a91;padding:10px 14px;border-radius:9px}.as61-dialog form{display:grid;gap:12px}.as61-dialog label{display:block;font-weight:600}.as61-password{display:flex;align-items:center;margin-top:5px;border:1px solid #ddd1c7;border-radius:8px;overflow:hidden}.as61-dialog .as61-password input{flex:1;min-width:0;margin:0;padding:10px 12px;border:0;outline-offset:-3px;box-shadow:none;border-radius:0;background:#fff;font:inherit;color:#33302e}.as61-dialog button{cursor:pointer;border:1px solid #dfd3ca;border-radius:8px;padding:8px 13px;font:inherit;font-weight:600;background:#fff;color:#544941}.as61-dialog .as61-password button{border:0;border-radius:0;background:#f4f7fb;color:#3e7cb1;align-self:stretch}.as61-dialog .as61-primary{background:var(--erp-primary,var(--muse-brand,#c24b78));border-color:var(--erp-primary,var(--muse-brand,#c24b78));color:#fff}.as61-dialog .as61-logout{color:#b83c3c;background:#fff8f8;border-color:#efcece}.as61-actions{display:flex;gap:10px;flex-wrap:wrap}.as61-help{margin:0;font-size:12px}.as61-dialog [data-as61-error]{color:#cf4444;margin:0;min-height:1.6em}.as61-dialog button:disabled{opacity:.6;cursor:wait}.as61-table{overflow-x:auto;margin-top:10px}.as61-table table{width:100%;border-collapse:collapse;font:inherit}.as61-table th{text-align:left;background:#f5f2ee;color:#6b625c;font-weight:500}.as61-table td,.as61-table th{padding:8px 10px;border-bottom:1px solid #eee6df;vertical-align:top}.as61-table small{display:block;max-width:260px;overflow-wrap:anywhere}.as61-danger{color:#cf4444}.as61-success{background:#e6f4ed;color:#287852;padding:12px;border-radius:8px}.as61-dialog button:focus-visible{outline:3px solid #3e7cb1;outline-offset:2px}.as61-admin-status{display:inline-block;padding:2px 8px;border-radius:12px;background:#fff1d9;color:#9a5d06;font-size:12px}.as61-admin-last{display:block;color:#786f69;font-size:12px}.as61-admin-tip{grid-column:1/-1;color:#786f69;background:#f5f2ee;border-radius:8px;padding:10px}.as61-admin-tools{display:flex;gap:8px;align-items:center;margin-top:6px}@media(max-width:540px){.as61-body,.as61-dialog>header{padding:16px}.as61-actions{display:grid}.as61-summary strong{font-size:16px}.as61-table th,.as61-table td{padding:6px}}
.as61-login-password{display:flex;align-items:center;gap:6px}.as61-login-password input{min-width:0;flex:1}.as61-login-password button{flex:none;padding:8px 11px;border:1px solid #bdd5e9;border-radius:7px;color:#3e7cb1;background:#edf5fc;font-size:12px}

/* business_desktop70.css */
.b70{width:min(1120px,95vw);max-height:92vh;padding:0;border:1px solid #e7ddd4;border-radius:16px;background:#f5f2ee;color:#33302e;box-shadow:0 20px 75px #24223040}.b70::backdrop{background:#20202d70}.b70 *{box-sizing:border-box}.b70-head{display:flex;align-items:center;justify-content:space-between;padding:20px 26px;background:white;border-bottom:1px solid #e7ddd4;position:sticky;top:0;z-index:2}.b70-head h2{margin:5px 0 0;font-size:21px}.b70 small,.b70-head small{font-size:12px;color:#80776e}.b70-body{padding:18px 26px}.b70-tabs,.b70-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.b70-tabs{padding:12px 26px;background:#fffaf7;border-bottom:1px solid #e7ddd4}.b70 button,.b70-entry{border:1px solid #ded4cb;background:#fff;color:#3e7cb1;border-radius:8px;padding:8px 13px;cursor:pointer;font:inherit}.b70 button:hover,.b70-entry:hover{background:#edf4fa;border-color:#9bbbd8}.b70 button:disabled{opacity:.5;cursor:default}.b70 button.b70-primary,.b70-tabs [aria-current=page]{background:#c24b78;color:white;border-color:#c24b78}.b70 button.b70-primary:hover{background:#aa3b66}.b70 input,.b70 select,.b70 textarea{width:100%;border:1px solid #d8cfc8;border-radius:7px;padding:8px;background:white;color:#33302e;font:inherit}.b70 label{display:grid;gap:6px;margin:8px 0;font-size:13px}.b70 .b70-check{display:inline-flex;align-items:center;gap:5px;margin:7px 14px 7px 0}.b70 input[type=checkbox]{width:auto}.b70-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.b70-note{padding:12px 16px;background:#eaf3fa;color:#32658c;line-height:1.6;border-radius:9px;font-size:13px}.b70-message{min-height:1em;white-space:pre-wrap}.b70-message.error{color:#bb3434}.b70-message.success{color:#2f8f66}.b70-queue article{display:flex;align-items:center;gap:18px;background:white;border:1px solid #e7ddd4;border-radius:10px;margin:10px 0;padding:14px}.b70-queue article>div:nth-child(2){flex:1}.b70-queue p,.b70-snapshot p{margin:5px 0}.b70-photo{width:60px;height:68px;object-fit:contain;border-radius:7px;background:#f5f2ee;flex-shrink:0}.b70-photo.missing{display:inline-flex;align-items:center;justify-content:center;color:#8e847b;font-size:11px}.b70-tag{display:inline-block;padding:4px 10px;border-radius:14px;color:#9d6509;background:#fff0d8;font-size:12px}.b70-table{overflow-x:auto;background:white;border:1px solid #e7ddd4;border-radius:9px;margin:16px 0}.b70-table table{width:100%;border-collapse:collapse;font-size:13px}.b70-table th{background:#f7f3ee;text-align:left}.b70-table td,.b70-table th{padding:10px;border-bottom:1px solid #eee5dd}.b70-table input{min-width:75px;width:95px}.b70-product{display:flex;align-items:center;gap:12px}.b70-product small{display:block;margin-top:5px}.b70 fieldset{border:1px solid #e0d8d0;border-radius:10px;padding:16px;background:white;margin:16px 0}.b70 legend{padding:0 8px;font-weight:650}.b70 details{border:1px solid #e3d9d0;background:#fff;border-radius:10px;padding:14px;margin:14px 0}.b70 summary{cursor:pointer;color:#3e7cb1;font-weight:600}.b70-history article{border-top:1px solid #eee5dd;padding:14px 0}.b70-history article button{float:right}.b70-snapshot{display:flex;gap:14px;padding:14px 0;border-top:1px solid #eee5dd;margin-top:12px}.b70-material{display:inline-flex;align-items:center;gap:8px;margin:6px 14px 6px 0}.b70 a{color:#3e7cb1}.b70-empty{padding:30px;text-align:center;color:#80776e}.b70-tools{margin:14px 0}.b70-tools>input{width:240px}.b70 h3{margin:18px 0 12px}.b70 h4{margin:14px 0 5px}@media(max-width:700px){.b70-grid{grid-template-columns:1fr}.b70-head,.b70-body,.b70-tabs{padding:14px}.b70-queue article{flex-wrap:wrap}.b70-queue article>div:nth-child(2){flex-basis:60%}}

.b70 .b70-version-warning{color:#945f09;background:#fff3dc;border-left:3px solid #d98a16;padding:12px;border-radius:6px}

/* quick_sales73.css */
/* Theme follows the workbench; stock, progress and cancellation retain semantic colours. */
html:root:root body #quick-sales73{--qs-brand:var(--muse-brand,var(--erp44-brand,#c24b78));--qs-line:#e8dfd6;--qs-muted:#786f67;color:#33302e;background:#fffdfb;border:1px solid var(--qs-line);border-radius:16px;box-shadow:0 18px 72px #35202c30;width:min(1120px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 28px);padding:0;margin:auto;font-family:inherit;font-size:13px;line-height:1.5;overflow:hidden;box-sizing:border-box}
html:root:root body #quick-sales73:not([open]){display:none}
html:root:root body #quick-sales73[open]{display:flex;flex-direction:column}
#quick-sales73::backdrop{background:#24202a66}
html:root:root body #quick-sales73 *{box-sizing:border-box}
html:root:root body #quick-sales73 button{font:inherit;min-height:33px;border-radius:7px;border:1px solid var(--qs-line);background:#fff;color:#534a43;padding:6px 11px;cursor:pointer;box-shadow:none;white-space:nowrap}
html:root:root body #quick-sales73 button:disabled{opacity:.5;cursor:wait}
html:root:root body #quick-sales73 button:focus-visible,html:root:root body #quick-sales73 input:focus-visible,html:root:root body #quick-sales73 select:focus-visible,html:root:root body #quick-sales73 textarea:focus-visible{outline:2px solid var(--qs-brand);outline-offset:2px}
html:root:root body #quick-sales73 .qs73-primary{background:var(--qs-brand);border-color:var(--qs-brand);color:#fff;font-weight:600}
html:root:root body #quick-sales73 .qs73-info{background:#edf5fb;border-color:#c8ddec;color:#326f9d}
html:root:root body #quick-sales73 .qs73-danger{background:#fff1f1;border-color:#f1c5c5;color:#b83333}
html:root:root body #quick-sales73 .qs73-text-danger{background:none;border:0;padding:2px 0;min-height:24px;color:#b83333}
html:root:root body #quick-sales73 .qs73-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:17px 23px;background:#fbf7f3;border-bottom:1px solid var(--qs-line);flex:none}
html:root:root body #quick-sales73 h2{font-size:19px;margin:1px 0 3px;font-weight:650;color:#33302e}
html:root:root body #quick-sales73 h3{font-size:14px;margin:0;color:#33302e}
html:root:root body #quick-sales73 .qs73-head p{font-size:12px;color:var(--qs-muted);margin:0}
html:root:root body #quick-sales73 .qs73-eyebrow{color:var(--qs-brand);font-size:11px;font-weight:600}
html:root:root body #quick-sales73 .qs73-badge{display:inline-block;font-size:11px;padding:3px 9px;margin-left:8px;border-radius:20px;background:#fff0d7;color:#946311;vertical-align:middle;font-weight:500}
html:root:root body #quick-sales73 .qs73-badge[data-tone=success]{background:#e6f4ed;color:#287657}
html:root:root body #quick-sales73 form{display:flex;flex-direction:column;min-height:0;overflow:hidden;margin:0}
html:root:root body #quick-sales73 .qs73-scroll{padding:18px 23px;overflow:auto;overscroll-behavior:contain;min-height:0}
html:root:root body #quick-sales73 .qs73-base{display:grid;grid-template-columns:2fr 1fr 1fr 1.3fr .7fr;align-items:end;gap:14px;margin-bottom:18px}
html:root:root body #quick-sales73 label{display:flex;flex-direction:column;gap:5px;color:#62554a;font-size:12px;margin:0}
html:root:root body #quick-sales73 input,html:root:root body #quick-sales73 select,html:root:root body #quick-sales73 textarea{width:100%;min-width:0;min-height:34px;border:1px solid #dcd0c5;border-radius:7px;background:#fff;color:#33302e;padding:6px 9px;font:inherit;box-shadow:none}
html:root:root body #quick-sales73 input:disabled,html:root:root body #quick-sales73 select:disabled,html:root:root body #quick-sales73 textarea:disabled{background:#f5f2ee;color:#6f665f;opacity:1}
html:root:root body #quick-sales73 [data-qs73-customer-search]{min-height:28px;font-size:12px;padding:4px 8px}
html:root:root body #quick-sales73 .qs73-required{color:#c53d3d}
html:root:root body #quick-sales73 .qs73-picker{background:#f8f5f1;border:1px solid var(--qs-line);border-radius:10px;padding:12px;margin-bottom:18px}
html:root:root body #quick-sales73 .qs73-section-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:9px}
html:root:root body #quick-sales73 .qs73-section-heading>span{font-size:11px;color:var(--qs-muted)}
html:root:root body #quick-sales73 .qs73-search-row{display:flex;gap:8px}
html:root:root body #quick-sales73 .qs73-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:250px;overflow:auto;margin-top:9px}
html:root:root body #quick-sales73 .qs73-product{display:flex;align-items:center;gap:9px;text-align:left;white-space:normal;min-width:0;padding:8px;background:#fff}
html:root:root body #quick-sales73 .qs73-product:hover{border-color:var(--qs-brand);background:#fff9fb}
html:root:root body #quick-sales73 img,html:root:root body #quick-sales73 .qs73-no-photo{height:54px;width:46px;object-fit:cover;border-radius:6px;flex:none;background:#f3eeea}
html:root:root body #quick-sales73 .qs73-no-photo{display:grid;place-content:center;font-size:10px;color:#9d8c7d}
html:root:root body #quick-sales73 .qs73-product>span{display:flex;flex-direction:column;min-width:0;flex:1;gap:1px}
html:root:root body #quick-sales73 .qs73-product em{font-style:normal;font-size:11px;color:#7a6655}
html:root:root body #quick-sales73 .qs73-product>span>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}
html:root:root body #quick-sales73 .qs73-product>b{color:var(--qs-brand);font-size:22px;font-weight:400}
html:root:root body #quick-sales73 .qs73-table-wrap{overflow:auto;border:1px solid var(--qs-line);border-radius:9px}
html:root:root body #quick-sales73 table{width:100%;border-collapse:collapse;table-layout:fixed;min-width:760px;font-size:12px;margin:0}
html:root:root body #quick-sales73 th,html:root:root body #quick-sales73 td{padding:9px 10px;border:0;border-bottom:1px solid #eee6df;text-align:left;vertical-align:middle}
html:root:root body #quick-sales73 th{background:#f6f2ed;color:#726252;font-size:11px;font-weight:500}
html:root:root body #quick-sales73 th:first-child{width:31%}
html:root:root body #quick-sales73 th:nth-child(2){width:12%}
html:root:root body #quick-sales73 th:nth-child(3){width:11%}
html:root:root body #quick-sales73 th:nth-child(4){width:15%}
html:root:root body #quick-sales73 th:nth-child(5){width:13%}
html:root:root body #quick-sales73 td:last-child small{display:block;color:#75695f;font-size:11px}
html:root:root body #quick-sales73 .qs73-item{display:flex;gap:9px;align-items:center}
html:root:root body #quick-sales73 .qs73-item>div{display:flex;flex-direction:column;min-width:0;overflow-wrap:anywhere}
html:root:root body #quick-sales73 small{color:var(--qs-muted);font-size:11px}
html:root:root body #quick-sales73 .qs73-stock[data-tone=pending]{color:#a76b08;background:#fff2da;border-radius:5px;padding:3px 5px}
html:root:root body #quick-sales73 .qs73-totals{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px 20px;padding:12px 0;font-variant-numeric:tabular-nums;color:#786858;font-size:12px}
html:root:root body #quick-sales73 .qs73-totals strong{color:#33302e;font-size:15px}
html:root:root body #quick-sales73 .qs73-totals span:last-child strong{color:var(--qs-brand)}
html:root:root body #quick-sales73 .qs73-hint{color:var(--qs-muted);font-size:11px;line-height:1.6;margin:3px 0}
html:root:root body #quick-sales73 .qs73-empty{text-align:center;color:var(--qs-muted);padding:20px}
html:root:root body #quick-sales73 .qs73-notes{display:grid;grid-template-columns:1.3fr 1fr;gap:14px;margin-top:16px}
html:root:root body #quick-sales73 .qs73-cancel{border-top:1px solid var(--qs-line);margin-top:17px;padding-top:14px;color:#766456;font-size:12px}
html:root:root body #quick-sales73 .qs73-cancel summary{cursor:pointer;color:#a44940}
html:root:root body #quick-sales73 .qs73-cancel-rows{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:12px}
html:root:root body #quick-sales73 .qs73-cancel-rows span{font-size:11px;color:#8a7d71}
html:root:root body #quick-sales73 .qs73-cancel>.qs73-danger{margin-top:10px}
html:root:root body #quick-sales73 .qs73-footer{padding:10px 20px 14px;background:#fffaf5;border-top:1px solid var(--qs-line);flex:none}
html:root:root body #quick-sales73 .qs73-footer-actions,html:root:root body #quick-sales73 .qs73-footer-actions>div{display:flex;gap:7px;flex-wrap:wrap;align-items:center}
html:root:root body #quick-sales73 .qs73-footer-actions{justify-content:space-between}
html:root:root body #quick-sales73 .qs73-message{color:#477295;font-size:12px;line-height:1.7;margin:0 0 9px}
html:root:root body #quick-sales73 .qs73-message[data-tone=success]{color:#287657}
html:root:root body #quick-sales73 .qs73-message[data-tone=error]{color:#b83333;background:#fff0ee;border-radius:7px;padding:8px 10px}
@media(max-width:800px){html:root:root body #quick-sales73{width:calc(100vw - 12px);max-height:calc(100dvh - 12px)}html:root:root body #quick-sales73 .qs73-base{grid-template-columns:repeat(2,minmax(0,1fr))}html:root:root body #quick-sales73 .qs73-head,html:root:root body #quick-sales73 .qs73-scroll,html:root:root body #quick-sales73 .qs73-footer{padding:12px}html:root:root body #quick-sales73 .qs73-results,html:root:root body #quick-sales73 .qs73-notes{grid-template-columns:1fr}html:root:root body #quick-sales73 .qs73-cancel-rows{grid-template-columns:repeat(2,minmax(0,1fr))}html:root:root body #quick-sales73 .qs73-footer-actions{gap:10px}}

/* 81: page-sized order workspace, fixed totals and semantic colours. */
html:root:root body #quick-sales73{width:calc(100vw - 20px);height:calc(100dvh - 20px);max-height:none;background:#f5f2ee}
html:root:root body #quick-sales73 form{flex:1}
html:root:root body #quick-sales73 .qs73-scroll{flex:1}
html:root:root body #quick-sales73 .qs73-base,html:root:root body #quick-sales73 .qs73-products-card,html:root:root body #quick-sales73 .qs73-notes{background:#fff;padding:20px;border:1px solid var(--qs-line);border-radius:12px}
html:root:root body #quick-sales73 .qs73-base{grid-template-columns:2fr 1fr 1.4fr 1.3fr .6fr}
html:root:root body #quick-sales73 .qs73-picker{background:#fff}
html:root:root body #quick-sales73 .qs73-item strong{color:#33302e;font-size:14px}
html:root:root body #quick-sales73 [data-qs73-amount]{color:#925900;font-weight:650;font-variant-numeric:tabular-nums}
html:root:root body #quick-sales73 [data-qs73-field=qty]{color:#32658f;font-weight:600}
html:root:root body #quick-sales73 .qs73-hint{padding:10px;background:#fff8e9;color:#946311;border-radius:7px;margin-top:14px}
html:root:root body #quick-sales73 .qs73-totals{align-items:center;padding:0 0 8px;border-bottom:1px solid var(--qs-line);margin-bottom:8px}
html:root:root body #quick-sales73 .qs73-totals strong{font-size:21px;color:#32658f}
html:root:root body #quick-sales73 .qs73-totals span:nth-child(2) strong{color:#925900;font-size:26px}
html:root:root body #quick-sales73 button:hover:not(:disabled){filter:brightness(.96)}
html:root:root body #quick-sales73 .qs73-footer{background:#fff}
@media(max-width:900px){html:root:root body #quick-sales73 .qs73-base{grid-template-columns:repeat(2,minmax(0,1fr))}}

html:root:root body #quick-sales73 table{min-width:940px}
html:root:root body #quick-sales73 th:first-child{width:26%}
html:root:root body #quick-sales73 th:nth-child(n+2){width:auto}
html:root:root body #quick-sales73 .qs73-picked{color:#2f8f66;font-weight:650}
html:root:root body #quick-sales73 .qs73-unpicked{color:#ad720d;font-weight:650}
html:root:root body #quick-sales73 .qs73-totals span:nth-child(2) strong{font-size:21px;color:#2f8f66}
html:root:root body #quick-sales73 .qs73-totals span:nth-child(4) strong{font-size:26px;color:#925900}
html:root:root body #quick-sales73#quick-sales73 .qs73-totals strong,html:root:root body #quick-sales73#quick-sales73 .qs73-totals strong *{color:#32658f}
html:root:root body #quick-sales73#quick-sales73 .qs73-picked,html:root:root body #quick-sales73#quick-sales73 .qs73-picked *{color:#2f8f66}
html:root:root body #quick-sales73#quick-sales73 .qs73-unpicked,html:root:root body #quick-sales73#quick-sales73 .qs73-unpicked *{color:#ad720d}
html:root:root body #quick-sales73#quick-sales73 [data-qs73-amount],html:root:root body #quick-sales73#quick-sales73 [data-qs73-amount] *,html:root:root body #quick-sales73#quick-sales73 .qs73-totals span:nth-child(n+4) strong,html:root:root body #quick-sales73#quick-sales73 .qs73-totals span:nth-child(n+4) strong *{color:#925900}
html:root:root body #quick-sales73#quick-sales73 button[type=submit]:not(.qs73-primary){background:#eaf2fa;color:#32658f;border-color:#bed4e7}

html:root:root body #quick-sales73#quick-sales73 .qs73-totals>span:nth-child(2) strong,html:root:root body #quick-sales73#quick-sales73 .qs73-totals>span:nth-child(2) strong *{color:#2f8f66}
html:root:root body #quick-sales73#quick-sales73 .qs73-totals>span:nth-child(3) strong,html:root:root body #quick-sales73#quick-sales73 .qs73-totals>span:nth-child(3) strong *{color:#ad720d}

/* quick_print73.css */
#quick-print73.qp73-dialog{position:fixed;inset:3vh 3vw;margin:auto;width:min(1120px,94vw);max-width:94vw;height:94vh;max-height:94vh;padding:0;border:1px solid #e5d8cf;border-radius:16px;background:#f5f2ee;color:#33302e;overflow:auto;box-shadow:0 20px 70px #30232638}
#quick-print73::backdrop{background:#29232b70}#quick-print73 header{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;background:#fff;border-bottom:1px solid #e7ded7}#quick-print73 h2{margin:0;font-size:20px}#quick-print73 p{margin:7px 0;font-size:13px;line-height:1.6}#quick-print73 button,#quick-print73 select,#quick-print73 input{font:inherit}#quick-print73 button{padding:9px 15px;border:1px solid #dacac2;border-radius:8px;background:#fff;cursor:pointer;color:#33302e}#quick-print73 button.primary{background:#c24b78;color:#fff;border-color:#c24b78}#quick-print73 button:disabled{opacity:.5;cursor:default}#quick-print73 .qp73-config{display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding:18px 22px;margin:0;background:#fff}#quick-print73 label{display:flex;flex-direction:column;gap:5px;font-size:13px}#quick-print73 input,#quick-print73 select{height:36px;border:1px solid #d9ccc3;border-radius:7px;background:#fff;padding:5px 9px;color:#33302e}#quick-print73 fieldset{display:flex;gap:8px;border:1px solid #e7ded7;border-radius:8px;margin:0;padding:8px 10px}#quick-print73 legend{font-size:12px;color:#786b63}#quick-print73 fieldset input{width:68px}#quick-print73 .qp73-confirm,#quick-print73 details label{flex-direction:row;align-items:center}#quick-print73 input[type=checkbox]{width:16px;height:16px}#quick-print73 details{font-size:13px}#quick-print73 details label{margin-top:8px}#quick-print73 .qp73-device-note{flex-basis:100%;color:#7c6555}#quick-print73 .qp73-state{margin:14px 22px;padding:10px 14px;border-radius:8px;background:#eaf2fa;color:#3e678d;overflow-wrap:anywhere}#quick-print73 .qp73-actions{display:flex;gap:10px;padding:0 22px 14px;flex-wrap:wrap}#quick-print73 .qp73-pages{display:flex;flex-wrap:wrap;gap:18px;align-items:flex-start;justify-content:center;padding:6px 22px 24px}#quick-print73 figure{margin:0;max-width:100%}#quick-print73 figcaption{font-size:12px;color:#786b63;margin:5px 0}#quick-print73 figure img{max-width:min(100%,600px);width:auto;max-height:850px;object-fit:contain;display:block;box-shadow:0 3px 18px #33252222;background:#fff}#quick-print73 [hidden]{display:none}.qp73-print-frame{position:fixed;left:-10000px;top:0;width:1px;height:1px;border:0}
@media(max-width:600px){#quick-print73.qp73-dialog{inset:0;width:100%;max-width:100%;height:100%;max-height:100%;border-radius:0}#quick-print73 .qp73-config{padding:14px}#quick-print73 label{max-width:100%}#quick-print73 select{max-width:100%}#quick-print73 figure img{max-width:100%}}

}
/* Shared desktop rules imported above. */