@import url("./commerce-banks.css");
/* FDS extension: enterprise commerce category colors, tables and workflow layout. */
.cw-receipt-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:0}.cw-receipt-facts div:last-child{grid-column:1/-1}.cw-receipt-facts dt{font-size:12px;color:var(--fds-text-secondary);margin-bottom:6px}.cw-receipt-facts dd{font-size:14px;margin:0;overflow-wrap:anywhere}.cx-rail .fds-btn{width:100%;margin-top:12px}@media(max-width:640px){.cw-receipt-facts{grid-template-columns:1fr}}
/* FDS/FAUS extension: commercial settings and role assignment. */
.cw-commercial-settings{max-inline-size:1280px;min-inline-size:0;}
.pcs-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-block-end:22px;}
.pcs-heading h1{font-size:24px;line-height:1.3;font-weight:600;margin:0 0 6px;}
.pcs-heading p{font-size:13px;color:var(--fds-text-secondary);margin:0;}
.pcs-card{border:1px solid var(--fds-border);background:var(--fds-bg-panel);border-radius:var(--fds-radius-lg);overflow:hidden;min-inline-size:0;}
.pcs-card-head{padding:18px 20px;border-block-end:1px solid var(--fds-border);}
.pcs-card-head h2{font-size:16px;line-height:1.4;font-weight:600;margin:0;}
.pcs-card-head p{font-size:12px;color:var(--fds-text-secondary);margin:5px 0 0;}
.pcs-card-body{padding:20px;}
.pcs-switch-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;}
.pcs-switch-row{display:flex;align-items:center;gap:14px;position:relative;cursor:pointer;min-inline-size:0;min-block-size:44px;}
.pcs-switch-row+.pcs-switch-row{border-inline-start:1px solid var(--fds-border);padding-inline-start:28px;}
.pcs-switch-copy{flex:1;min-inline-size:0;}
.pcs-switch-copy strong{display:block;font-size:13px;font-weight:550;}
.pcs-switch-copy small{display:block;font-size:12px;line-height:1.6;color:var(--fds-text-secondary);margin-top:4px;}
.pcs-switch-row input{position:absolute;inset-inline-end:0;inline-size:40px;block-size:24px;opacity:0;margin:0;z-index:1;cursor:pointer;}
.pcs-switch-visual{inline-size:36px;block-size:20px;flex-shrink:0;border-radius:20px;background:var(--fds-gray-300);padding:2px;}
.pcs-switch-visual::after{content:'';display:block;inline-size:16px;block-size:16px;border-radius:50%;background:var(--fds-white);}
.pcs-switch-row input:checked+.pcs-switch-visual{background:var(--fds-action-primary);}
.pcs-switch-row input:checked+.pcs-switch-visual::after{transform:translateX(16px);}
.pcs-switch-row input:focus-visible+.pcs-switch-visual{outline:3px solid var(--fds-focus);outline-offset:3px;}
.cw-commercial-settings .commerce-form{display:grid;grid-template-columns:minmax(0,1fr);gap:0;margin:0;}
.pcs-switch-form>.commerce-actions{justify-content:flex-end;align-items:center;gap:12px;margin:18px 0 0;padding-top:14px;border-top:1px solid var(--fds-border);}
.pcs-save-note{font-size:12px;color:var(--fds-text-secondary);margin-inline-end:auto;}
.pcs-grid{display:grid;grid-template-columns:minmax(300px,360px) minmax(0,1fr);align-items:start;gap:20px;margin-top:20px;}
.pcs-member{display:grid;gap:8px;margin:0 0 18px;}
.pcs-member>span{font-size:12px;color:var(--fds-text-secondary);}
.pcs-member select{inline-size:100%;}
.pcs-role-choices{display:grid;gap:8px;}
.pcs-role-choice{display:flex;gap:10px;align-items:flex-start;padding:12px;border:1px solid var(--fds-border);border-radius:var(--fds-radius-md);cursor:pointer;}
.pcs-role-choice input{inline-size:14px;block-size:14px;min-block-size:14px;margin:3px 0 0;accent-color:var(--fds-action-primary);flex-shrink:0;}
.pcs-role-choice.is-selected{border-color:var(--fds-gray-700);background:var(--fds-gray-50);}
.pcs-role-choice:focus-within{outline:2px solid var(--fds-focus);outline-offset:2px;}
.pcs-role-choice.is-disabled{opacity:.6;cursor:default;}
.pcs-role-copy strong{display:block;font-size:13px;font-weight:550;}
.pcs-role-copy small{display:block;font-size:12px;line-height:1.55;color:var(--fds-text-secondary);margin-top:4px;}
.pcs-change-summary{display:grid;gap:5px;padding:12px;background:var(--fds-gray-50);border-radius:var(--fds-radius-md);margin-top:14px;font-size:12px;}
.pcs-change-summary[hidden]{display:none;}
.pcs-change-summary span{color:var(--fds-text-secondary);}
.pcs-change-summary strong{font-weight:500;}
.pcs-role-form>.commerce-actions{margin:16px 0 0;}
.pcs-role-form>.commerce-actions button{inline-size:100%;}
.pcs-table-scroll{overflow:auto;}
.pcs-role-table{inline-size:100%;border-collapse:collapse;font-size:13px;}
.pcs-role-table th{text-align:start;font-size:12px;font-weight:500;color:var(--fds-text-secondary);padding:0 12px 12px;border-bottom:1px solid var(--fds-border);white-space:nowrap;}
.pcs-role-table td{padding:16px 12px;border-bottom:1px solid var(--fds-border);vertical-align:middle;}
.pcs-role-table tbody tr:last-child td{border:0;}
.pcs-role-table td:first-child{min-inline-size:100px;overflow-wrap:anywhere;}
.pcs-role-table strong{font-weight:500;display:block;font-size:13px;}
.pcs-role-table small{display:block;font-size:11px;color:var(--fds-text-secondary);margin-top:5px;}
.pcs-role-table td:last-child{white-space:nowrap;}
.pcs-role-badge{display:inline-block;padding:3px 7px;font-size:11px;line-height:1.5;border:1px solid var(--fds-border);border-radius:4px;margin:3px 4px 3px 0;white-space:nowrap;color:var(--fds-text-secondary);background:var(--fds-gray-50);}
.pcs-role-coverage{display:flex;flex-wrap:wrap;gap:16px;font-size:12px;color:var(--fds-text-secondary);padding-top:16px;border-top:1px solid var(--fds-border);}
.pcs-footnote{font-size:12px;color:var(--fds-text-secondary);line-height:1.6;margin:18px 0 0;}
@media(max-width:1100px){.pcs-grid{grid-template-columns:1fr;}.pcs-role-choices{grid-template-columns:repeat(3,minmax(0,1fr));}.pcs-role-table{min-inline-size:550px;}}
@media(max-width:640px){.pcs-heading{align-items:flex-start;}.pcs-heading h1{font-size:22px;}.pcs-heading .fds-badge{flex-shrink:0;}.pcs-card-body,.pcs-card-head{padding:16px;}.pcs-switch-grid{grid-template-columns:1fr;gap:16px;}.pcs-switch-row+.pcs-switch-row{border-inline-start:0;padding-inline-start:0;padding-top:16px;border-top:1px solid var(--fds-border);}.pcs-role-choices{grid-template-columns:1fr;}.pcs-switch-row input{min-block-size:44px!important;block-size:44px;inline-size:44px;}.pcs-switch-row{min-block-size:44px;}.pcs-switch-form .commerce-actions{flex-wrap:wrap;}.pcs-save-note{flex-basis:100%;}.pcs-role-choice input{min-height:14px!important;}.pcs-role-table button{min-block-size:44px!important;}}

.cw-receipt-link{border:0;background:transparent;font:inherit;color:inherit;padding:4px 0;text-decoration:underline;text-underline-offset:4px;cursor:pointer;min-height:30px;}.cw-receipt-link:focus-visible{outline:2px solid var(--fds-focus);outline-offset:3px;border-radius:3px;}@media(pointer:coarse){.cw-receipt-link{min-height:44px;}}

/* Local FAUS preview: grouped quote product work area. */
.commerce-admin-main .cx-layout:has(#lines){grid-template-columns:minmax(0,1fr) 280px;gap:20px;}
#lines.cw-quote-lines{overflow:hidden;}
#lines>.cx-card-head{gap:10px;flex-wrap:wrap;padding:16px 18px;}
#lines>.cx-card-head h2{font-size:16px;}
#lines>.cx-card-head>.sub{font-size:11px;}
#lines>.cx-card-head .tools .fds-btn{font-size:12px;min-height:30px;height:30px;padding:0 10px;}
#lines .cx-filters{padding:12px 16px;gap:6px;background:var(--fds-white);}
#lines .cx-chip{font-size:12px;height:30px;padding:0 10px;}
#lines .cx-bulk{background:var(--fds-blue-50);color:var(--fds-text-primary);font-size:12px;border-bottom:1px solid var(--fds-border);padding:10px 14px;}
#lines .cx-bulk .fds-btn{color:var(--fds-text-primary);background:var(--fds-white);border-color:var(--fds-border);}
#lines .cx-bulk .count{color:var(--fds-blue-600);}
#lines .cx-etable{min-width:760px;table-layout:auto;}
#lines .cx-etable th{font-size:11px;font-weight:500;color:var(--fds-text-secondary);padding:10px 7px;background:var(--fds-white);white-space:nowrap;}
#lines .cx-etable td{padding:12px 7px;}
#lines .cx-etable .chk{width:30px;padding-inline:4px;}
#lines .cx-etable .c-item{min-width:200px;max-width:260px;}
#lines .commerce-product{gap:10px;align-items:flex-start;}
#lines .commerce-product-image{width:44px;height:44px;flex-basis:44px;font-size:10px;border-radius:6px;}
#lines .commerce-product strong{font-size:13px;font-weight:550;line-height:1.45;}
#lines .commerce-product .commerce-muted{font-size:11px;line-height:1.5;margin-top:2px;}
#lines .commerce-merged-row .commerce-product>div>.commerce-muted:nth-child(4),#lines .commerce-merged-row .commerce-product>div>.commerce-muted:nth-child(5){display:none;}
#lines .commerce-merged-row .cx-item{display:block;}
#lines .cw-instances-link.fds-btn{display:inline-flex;min-height:26px;height:26px;padding:2px 0;margin:3px 0 0;border:0;border-radius:0;background:transparent;font-size:11px;font-weight:400;color:var(--fds-text-secondary);text-decoration:underline;text-underline-offset:3px;}
#lines .cx-etable .w-disp{width:92px;}
#lines .cx-etable .w-price{width:90px;}
#lines .cx-etable .w-state{width:66px;}
#lines .cx-etable .w-exp{width:48px;}
#lines .cx-etable .fds-select,#lines .cx-etable .fds-input{height:30px;min-height:30px;font-size:12px;padding:0 7px;}
#lines .c-qty,#lines .c-amt,#lines .c-price{font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap;}
#lines .c-amt{font-weight:600;min-width:76px;}
#lines .c-state .cx-tag{font-size:10px;padding:3px 6px;white-space:nowrap;}
#lines .cw-scope-label{font-size:11px;color:var(--fds-text-secondary);white-space:nowrap;}
#lines .cw-edit-product.fds-btn{font-size:11px;min-height:30px;height:30px;padding:0 9px;}
#lines .cw-line-details{font-size:11px;width:40px;}
#lines .cw-check-hit{display:inline-flex;justify-content:center;align-items:center;width:28px;min-height:30px;cursor:pointer;}
#lines .cw-check-hit input{width:14px!important;height:14px!important;min-height:14px!important;margin:0;accent-color:var(--fds-action-primary);}
#lines .cx-table tr.grp td{background:var(--fds-gray-50);padding-block:7px;}
#lines .cw-category-toggle{background:transparent;border:0;color:var(--fds-text-primary);font-size:12px;font-weight:550;padding:3px 0;min-height:30px;cursor:pointer;white-space:nowrap;}
#lines .cw-group-off .cw-category-toggle,#lines .cw-group-off .num{color:var(--fds-text-secondary);font-weight:400;}
#lines .cw-category-hidden{display:none!important;}
#lines .cx-etable tr.detail>td{padding:8px 16px 18px 44px;background:var(--fds-gray-50);}
#lines .cx-detail{gap:16px;}
#lines .cx-detail label>span{font-size:12px;}
#lines .cx-detail textarea{font-size:13px;min-height:88px;border-color:var(--fds-border);}
#lines .cx-detail .src{padding-top:8px;border-top:1px solid var(--fds-border);color:var(--fds-text-secondary);}
.commerce-product-dialog:has([data-group-field]){width:min(440px,calc(100vw - 32px));padding:24px;border-radius:12px;}
.commerce-product-dialog:has([data-group-field]) h2{font-size:18px;margin:0 0 20px;}
.commerce-product-dialog .commerce-group-field{font-size:12px;color:var(--fds-text-secondary);margin:14px 0;}
.commerce-product-dialog [data-group-field]{width:100%;font-size:13px;min-height:36px;color:var(--fds-text-primary);}
.commerce-product-dialog:has([data-group-field]) form>button{min-height:32px;padding:6px 14px;border:1px solid var(--fds-border);border-radius:var(--fds-radius-md);font-size:12px;background:var(--fds-white);margin-inline-end:8px;}
.commerce-product-dialog:has([data-group-field]) form>button[type=submit]{background:var(--fds-action-primary);color:var(--fds-white);border-color:var(--fds-action-primary);}
@media(max-width:1350px){.commerce-admin-main .cx-layout:has(#lines){grid-template-columns:minmax(0,1fr);}}
@media(max-width:700px){#lines .cx-etable{min-width:0;}#lines .cx-etable .c-item{min-width:0;max-width:none;}#lines .cx-table tr:not(.grp):not(.detail){grid-template-columns:40px minmax(0,1fr) auto;}#lines .commerce-product{gap:8px;}#lines .cx-etable td{padding:0;}#lines .cx-table tr.grp td{padding:0;}#lines .cx-filters{flex-wrap:wrap;overflow:visible;}#lines .cx-etable .w-disp,#lines .cx-etable .w-price{width:100%;}#lines .cw-check-hit{width:36px;min-height:44px;}#lines .cw-category-toggle,#lines .cw-instances-link.fds-btn,#lines .cw-edit-product.fds-btn,#lines .cw-line-details{min-height:44px;height:auto;}#lines .cx-etable .fds-select,#lines .cx-etable .fds-input{min-height:44px;font-size:16px;}#lines .cx-etable tr.detail>td{padding:14px;}#lines .cx-etable .w-state{width:auto;}}

#lines .cw-thumb-fallback{display:grid;place-items:center;width:100%;height:100%;}#lines .cw-thumb-fallback svg{width:100%;height:100%;max-width:100%;max-height:100%;}

@media(max-width:700px){#lines .c-price::before{content:'单价 ';font-size:11px;color:var(--fds-text-secondary);margin-inline-end:5px;}#lines .c-amt::before{content:'小计 ';font-size:11px;font-weight:400;color:var(--fds-text-secondary);margin-inline-end:5px;}}

#lines .cw-product-heading{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 7px;}#lines .cw-product-code{font-size:11px;font-weight:400;color:var(--fds-text-secondary);white-space:nowrap;}#lines .commerce-merged-row .commerce-product>div>.commerce-muted{display:block;}#lines .cw-product-locations[hidden]{display:none!important;}#lines .cw-product-locations>td{padding:10px 18px 14px 65px!important;background:var(--fds-gray-50);}#lines .cw-location-list{display:grid;gap:7px;}#lines .cw-location-item{font-size:12px;line-height:1.6;overflow-wrap:anywhere;}#lines .cw-location-ids{color:var(--fds-text-secondary);font-size:11px;}@media(max-width:700px){#lines .cw-product-locations{display:block;}#lines .cw-product-locations>td{display:block;padding:12px 18px 16px 58px!important;}}

/* Local FDS extension: instance locations anchored to their disclosure button. */
.cw-instance-popover{position:fixed;inset:auto;margin:0;padding:0;width:360px;max-width:calc(100vw - 32px);border:1px solid var(--fds-border);border-radius:10px;background:var(--fds-bg-panel);color:var(--fds-text-primary);box-shadow:var(--fds-shadow-3);overflow:auto;}
.cw-instance-popover::backdrop{background:transparent;}
.cw-instance-popover>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 12px 10px 16px;border-bottom:1px solid var(--fds-border);}
.cw-instance-popover>header strong{font-size:12px;font-weight:600;}
.cw-instance-close{display:grid;place-items:center;width:28px;height:28px;min-height:28px!important;padding:0;border:0;border-radius:5px;background:transparent;color:var(--fds-text-secondary);font-size:21px;line-height:1;cursor:pointer;}
.cw-instance-close:hover{background:var(--fds-gray-100);color:var(--fds-text-primary);}
.cw-instance-places{display:grid;padding:14px 16px;gap:12px;max-height:260px;overflow:auto;}
.cw-instance-place{display:grid;gap:5px;font-size:12px;line-height:1.6;}
.cw-instance-place+.cw-instance-place{border-top:1px solid var(--fds-border);padding-top:12px;}
.cw-instance-place>span:first-child{font-weight:500;}
.cw-instance-ids{font-size:11px;color:var(--fds-text-secondary);overflow-wrap:anywhere;font-variant-numeric:tabular-nums;}
#lines .cw-instances-link[aria-expanded=true]{color:var(--fds-blue-600);}
@media(pointer:coarse){.cw-instance-close{width:44px;height:44px;min-height:44px!important;}.cw-instance-popover>header{padding-block:4px;}}

/* Local FDS extension: category tints, with headings carrying the stronger tone. */
#lines tr.grp[data-cw-group="showcase"],#lines tr[data-cw-category="showcase"]{--quote-category-color:var(--fds-blue-50);--quote-category-border:color-mix(in srgb,var(--fds-blue-50) 35%,var(--fds-border));}
#lines tr.grp[data-cw-group="component"],#lines tr[data-cw-category="component"]{--quote-category-color:var(--fds-green-50);--quote-category-border:color-mix(in srgb,var(--fds-green-50) 35%,var(--fds-border));}
#lines tr.grp[data-cw-group="lighting"],#lines tr[data-cw-category="lighting"]{--quote-category-color:var(--fds-amber-50);--quote-category-border:color-mix(in srgb,var(--fds-amber-50) 35%,var(--fds-border));}
#lines tr.grp[data-cw-group="fitout"],#lines tr[data-cw-category="fitout"]{--quote-category-color:var(--fds-gray-100);--quote-category-border:var(--fds-gray-300);}
#lines tr.grp[data-cw-group]>td{background:var(--quote-category-color);border-block-end-color:var(--quote-category-border);}
#lines tr[data-cw-category]>td{background:color-mix(in srgb,var(--quote-category-color) 38%,var(--fds-white))!important;}
#lines tr[data-cw-category]:hover>td{background:color-mix(in srgb,var(--quote-category-color) 72%,var(--fds-white))!important;}
#lines tr.grp[data-cw-group]>.chk{border-inline-start:3px solid var(--quote-category-border);}

/* Compact quantity disclosure and consistent vector category chevrons. */
#lines .cw-category-toggle{display:inline-flex;align-items:center;gap:9px;padding:0 6px;min-height:30px;border-radius:5px;}
#lines .cw-category-toggle:hover{background:color-mix(in srgb,var(--fds-text-primary) 5%,transparent);}
#lines .cw-category-toggle>svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;transition:transform 140ms ease;}
#lines .cw-category-toggle[aria-expanded=true]>svg{transform:rotate(90deg);}
#lines .cw-category-count{font-size:11px;font-weight:400;color:var(--fds-text-secondary);}
#lines .c-qty .cw-instances-link.fds-btn{display:inline-flex;align-items:center;gap:5px;height:30px;min-height:30px;padding:0 8px;margin:0;border:1px solid var(--fds-border);border-radius:5px;background:var(--fds-white);text-decoration:none;color:var(--fds-text-primary);font-size:12px;font-weight:500;white-space:nowrap;}
#lines .c-qty .cw-instances-link:hover,#lines .c-qty .cw-instances-link[aria-expanded=true]{border-color:var(--fds-blue-600);color:var(--fds-blue-600);background:var(--fds-blue-50);}
#lines .cw-instances-link>svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;}
#lines .cw-category-toggle:focus-visible,#lines .cw-instances-link:focus-visible{outline:2px solid var(--fds-blue-600);outline-offset:2px;}
@media(prefers-reduced-motion:reduce){#lines .cw-category-toggle>svg{transition:none;}}
@media(pointer:coarse){#lines .cw-category-toggle,#lines .c-qty .cw-instances-link.fds-btn{min-height:44px;}}

.cw-service-name{display:grid;gap:6px;min-width:160px;max-width:300px;}.cw-service-name .fds-select{width:100%;min-height:30px;height:30px;font-size:12px;}.cw-service-name input[hidden]{display:none!important;}

/* Keep the service preset and custom name on one line. */
.cw-service-name{display:flex;align-items:center;gap:8px;max-width:none;min-width:160px;}
.cw-service-name>.fds-select{flex:1 1 140px;min-width:0;width:auto;}
.cw-service-name:has(input:not([hidden]))>.fds-select{flex:0 1 120px;}
.cw-service-name>input:not([hidden]){flex:1 1 120px;min-width:0;width:auto;height:30px;min-height:30px;font-size:12px;}

#lines .cw-group-scope{width:100%;min-width:88px;}
.cw-terms-grid>.cx-span3{grid-column:1/-1;}
@media(min-width:1440px){.cw-terms-grid{grid-template-columns:minmax(65px,.65fr) minmax(178px,1.65fr) minmax(134px,1.3fr) minmax(70px,.65fr) minmax(80px,.8fr) minmax(100px,1fr);gap:14px 10px;}.cw-terms-grid>.cx-field>span{font-size:11px;white-space:nowrap;}.cw-terms-grid .fds-input,.cw-terms-grid .fds-select{min-width:0;width:100%;font-size:12px;padding-inline:7px;}}

.cw-assignees{display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap;}.cw-assignee-button{border:0;border-bottom:1px dashed var(--fds-border-strong);padding:2px 0;background:transparent;font:inherit;color:var(--fds-text-secondary);cursor:pointer;}.cw-assignee-button:hover{color:var(--fds-blue-600);}.cw-assignment-dialog{width:380px;max-width:calc(100vw - 32px);padding:20px;border:1px solid var(--fds-border);border-radius:12px;background:var(--fds-bg-panel);color:var(--fds-text-primary);box-shadow:var(--fds-shadow-3);}.cw-assignment-dialog::backdrop{background:rgb(0 0 0 / 25%);}.cw-assignment-dialog h2{font-size:16px;margin:0 0 16px;}.cw-assignment-dialog select{width:100%;}.cw-assignment-dialog footer{display:flex;justify-content:flex-end;gap:8px;margin-top:16px;}.cw-assignment-history{margin-top:16px;max-height:180px;overflow:auto;font-size:11px;color:var(--fds-text-secondary);line-height:1.8;overflow-wrap:anywhere;}.cw-assignment-error{font-size:12px;color:var(--fds-red-600);}

.cw-assignee-button:disabled{cursor:default;border-bottom-color:transparent;opacity:1;}.cw-assignee-button:disabled:hover{color:var(--fds-text-secondary);}

.cw-restore-terms{justify-self:end;align-self:end;border:0;background:transparent;color:var(--fds-text-secondary);font-size:11px;padding:2px 0;cursor:pointer;text-decoration:underline;text-underline-offset:3px;}.cw-restore-terms:hover{color:var(--fds-blue-600);}

#lines>.cw-folded-evidence{margin:0;padding:16px 18px;border:0;border-bottom:1px solid var(--fds-border);border-radius:0;background:var(--fds-gray-50);font-size:12px;overflow-wrap:anywhere;}#lines>.cw-folded-evidence[hidden]{display:none!important;}#lines>.cw-folded-evidence h3{font-size:13px;margin:0 0 8px;}#lines>.cw-folded-evidence pre{max-height:260px;overflow:auto;font-size:11px;}

#lines .cw-price-origin{display:block;font-size:10px;line-height:1.6;margin-top:4px;white-space:nowrap;font-weight:400;}#lines .cw-price-origin.is-tier{color:var(--fds-green-700);}#lines .cw-price-origin.is-manual{color:var(--fds-text-secondary);}

#lines .cx-etable .cw-row-number{width:34px;min-width:30px;text-align:center;color:var(--fds-text-secondary);font-size:11px;font-variant-numeric:tabular-nums;padding-inline:4px;}#lines .cw-row-number-mobile{display:none;}@media(max-width:700px){#lines .cx-etable .cw-row-number{display:none;}#lines .cw-row-number-mobile{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding-inline:3px;border:1px solid var(--fds-border);border-radius:4px;font-size:10px;font-weight:400;color:var(--fds-text-secondary);}}

#lines .cw-change-quantity{display:block;margin:4px auto 0;padding:0;border:0;background:transparent;color:var(--fds-text-secondary);font-size:10px;text-decoration:underline;cursor:pointer;}#lines .cw-plan-quantity{display:block;font-size:10px;color:var(--fds-text-secondary);margin-top:4px;}.cw-quantity-dialog .fds-input{width:100%;margin:8px 0;}.cw-quantity-dialog p{font-size:12px;color:var(--fds-text-secondary);}.cw-quantity-instances{display:grid;gap:8px;max-height:220px;overflow:auto;font-size:12px;margin:12px 0;}.cw-quantity-instances label{display:flex;gap:8px;align-items:center;}.cw-quantity-dialog button{margin:8px 8px 0 0;}.cw-quantity-dialog p[role=alert]{color:var(--fds-red-600);}

/* One compact quantity control: instances on the left, quantity edit on the right. */
#lines .cw-quantity-control{display:inline-flex;align-items:center;border:1px solid var(--fds-border);border-radius:6px;background:var(--fds-white);height:30px;overflow:hidden;vertical-align:middle;}
#lines .cw-quantity-control .cw-instances-link.fds-btn{border:0;border-radius:0;min-height:28px;height:28px;padding:0 7px;gap:4px;background:transparent;}
#lines .cw-quantity-control .cw-change-quantity{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;min-height:28px;margin:0;padding:0;border:0;border-inline-start:1px solid var(--fds-border);border-radius:0;background:transparent;color:var(--fds-text-secondary);text-decoration:none;cursor:pointer;}
#lines .cw-quantity-control .cw-change-quantity>svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;}
#lines .cw-quantity-control .cw-change-quantity:hover{background:var(--fds-gray-100);color:var(--fds-text-primary);}
#lines .cw-quantity-control:focus-within{border-color:var(--fds-blue-600);}
#lines .cw-quantity-control .cw-change-quantity:disabled{opacity:.4;cursor:default;}
@media(pointer:coarse){#lines .cw-quantity-control{height:44px;}#lines .cw-quantity-control .cw-instances-link.fds-btn,#lines .cw-quantity-control .cw-change-quantity{height:42px;min-height:42px;}#lines .cw-quantity-control .cw-change-quantity{width:42px;}}

/* Align quotation headings with their column contents. */
#lines .cx-etable thead th{vertical-align:middle;}
#lines .cx-etable thead th:nth-child(1),#lines .cx-etable thead th:nth-child(2),#lines .cx-etable thead th:nth-child(5),#lines .cx-etable thead th:nth-child(7),#lines .cx-etable thead th:nth-child(9){text-align:center;}
#lines .cx-etable thead th:nth-child(3),#lines .cx-etable thead th:nth-child(4){text-align:start;}
#lines .cx-etable thead th:nth-child(6),#lines .cx-etable thead th:nth-child(8){text-align:end;}
#lines .cx-etable .c-qty,#lines .cx-etable .c-state,#lines .cx-etable .c-exp{text-align:center;}
#lines .cx-etable .c-price,#lines .cx-etable .c-amt{text-align:end;}
#lines .cx-etable .c-item,#lines .cx-etable .c-disp{text-align:start;}
#lines .cx-etable thead th:nth-child(3){padding-inline-start:7px;}
#lines .cx-etable .c-qty{vertical-align:middle;}

/* Reserve room for the longest supply option and the native dropdown indicator. */
#lines .cx-etable .c-disp{min-width:138px;width:138px;}
#lines .cx-etable .cw-group-scope{width:100%;min-width:124px;padding-inline-start:10px;padding-inline-end:30px;line-height:normal;}
#lines .cw-group-scope:focus-visible{outline:2px solid var(--fds-blue-600);outline-offset:2px;box-shadow:none;}
@media(pointer:coarse){#lines .cx-etable .c-disp{min-width:172px;width:auto;}#lines .cx-etable .cw-group-scope{min-width:168px;}}
@media(max-width:700px){#lines .cx-etable .c-disp{width:auto;min-width:0;}#lines .cx-etable .cw-group-scope{width:100%;min-width:168px;}}

/* Quote column headings remain visible below the admin header during page scrolling. */
.cw-fixed-quote-header{position:fixed;z-index:24;overflow:hidden;pointer-events:none;background:var(--fds-white);border-bottom:1px solid var(--fds-border);box-shadow:0 2px 5px rgb(0 0 0 / 5%);}.cw-fixed-quote-header[hidden]{display:none!important;}.cw-fixed-quote-table{border-collapse:collapse;table-layout:fixed;margin:0;background:var(--fds-white);}.cw-fixed-quote-table th{white-space:nowrap;}@media print{.cw-fixed-quote-header{display:none!important;}}

/* Local FDS/FAUS extension: consistent commerce admin table visuals. */
.commerce-admin-main .cw-commerce-table{width:100%;border-collapse:collapse;border-spacing:0;color:var(--fds-text-primary);font-size:12px;line-height:1.5;background:var(--fds-white);}
.commerce-admin-main .cw-commerce-table thead th{height:38px;padding:10px 7px;background:var(--fds-white);border-bottom:1px solid var(--fds-border);font-size:11px;font-weight:500;line-height:1.5;color:var(--fds-text-secondary);vertical-align:middle;white-space:nowrap;}
.commerce-admin-main .cw-commerce-table tbody td{padding:12px 7px;border-bottom:1px solid var(--fds-border);font-size:12px;line-height:1.5;vertical-align:middle;background:var(--fds-white);}
.commerce-admin-main .cw-commerce-table th:first-child,.commerce-admin-main .cw-commerce-table td:first-child{padding-inline-start:14px;}
.commerce-admin-main .cw-commerce-table th:last-child,.commerce-admin-main .cw-commerce-table td:last-child{padding-inline-end:14px;}
.commerce-admin-main .cw-commerce-table [data-cw-align=start]{text-align:start;}
.commerce-admin-main .cw-commerce-table [data-cw-align=center]{text-align:center;}
.commerce-admin-main .cw-commerce-table [data-cw-align=end]{text-align:end;font-variant-numeric:tabular-nums;white-space:nowrap;}
.commerce-admin-main .cw-commerce-table tbody tr:not(.grp):not(.detail):hover>td{background:var(--fds-gray-50);}
.commerce-admin-main .cw-commerce-table tbody tr:last-child>td{border-bottom:0;}
.commerce-admin-main .cw-commerce-table .fds-btn{min-height:30px;height:30px;padding:0 9px;font-size:11px;line-height:1.4;border-radius:5px;}
.commerce-admin-main .cw-commerce-table .fds-input,.commerce-admin-main .cw-commerce-table .fds-select{min-height:30px;height:30px;padding:0 7px;font-size:12px;border-radius:5px;}
.commerce-admin-main .cw-commerce-table .commerce-product-image{width:44px;height:44px;flex-basis:44px;border-radius:6px;}
.commerce-admin-main .cw-commerce-table .commerce-product{gap:10px;align-items:flex-start;}
.commerce-admin-main .cw-commerce-table .commerce-product strong,.commerce-admin-main .cw-commerce-table .commerce-title-link{font-size:13px;font-weight:550;line-height:1.45;}
.commerce-admin-main .cw-commerce-table .commerce-muted,.commerce-admin-main .cw-commerce-table .cx-spec,.commerce-admin-main .cw-commerce-table .commerce-product-code,.commerce-admin-main .cw-commerce-table .c-created,.commerce-admin-main .cw-commerce-table .c-owner{font-size:11px;line-height:1.5;color:var(--fds-text-secondary);}
.commerce-admin-main .cw-commerce-table .cx-tag,.commerce-admin-main .cw-commerce-table .fds-badge{font-size:10px;padding:3px 6px;line-height:1.5;white-space:nowrap;}
.commerce-admin-main .cw-commerce-table tr.grp>td{padding-block:8px;font-size:12px;font-weight:550;background:var(--fds-gray-50);}
.commerce-admin-main .cw-commerce-table .commerce-empty{padding:30px 14px!important;color:var(--fds-text-secondary);text-align:center;}
.commerce-admin-main .cw-commerce-table .commerce-group-toggle{font-size:11px;min-height:26px;height:26px;padding:2px 6px;}
.commerce-admin-main .cw-commerce-table .c-qty{white-space:nowrap;font-variant-numeric:tabular-nums;}
.commerce-admin-main .cw-commerce-table:focus-visible,.commerce-admin-main .cw-commerce-table :focus-visible{outline:2px solid var(--fds-blue-600);outline-offset:2px;}
@media(pointer:coarse){.commerce-admin-main .cw-commerce-table .fds-btn,.commerce-admin-main .cw-commerce-table .fds-input,.commerce-admin-main .cw-commerce-table .fds-select{min-height:44px;height:44px;}.commerce-admin-main .cw-commerce-table .fds-input,.commerce-admin-main .cw-commerce-table .fds-select{font-size:16px;}}
@media(max-width:700px){.commerce-admin-main .cw-commerce-table.cx-table tbody tr:not(.grp):not(.detail)>td{padding:0;border:0;background:none;}.commerce-admin-main .cw-commerce-table.cx-table tbody td[data-cw-align]{text-align:start;}.commerce-admin-main .cw-commerce-table.cx-table .c-amt{text-align:end;}.commerce-admin-main .cw-commerce-table.cx-table tr.grp>td{padding:0;}.commerce-admin-main .cw-commerce-table.pcs-role-table{min-width:550px;}}
@media print{.commerce-admin-main .cw-commerce-table{font-size:10px;}.cw-shared-fixed-header{display:none!important;}}
/* Local FAUS workspace: lifecycle pages share the accepted quotation work-area structure. */
.commerce-admin-main #commerce-root{max-width:none;}
.cw-business-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 20px;}
.cw-business-heading h1{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:24px;font-weight:600;line-height:1.3;margin:0;}
.cw-business-heading>a{font-size:12px;color:var(--fds-text-secondary);text-underline-offset:3px;white-space:nowrap;}
.cw-business-subtitle{margin:6px 0 0;font-size:12px;color:var(--fds-text-secondary);line-height:1.6;overflow-wrap:anywhere;}
.cw-order-phases{display:flex;counter-reset:order-step;list-style:none;margin:0 0 18px;padding:0;border:1px solid var(--fds-border);border-radius:8px;background:var(--fds-white);overflow:hidden;}
.cw-order-phases li{display:flex;align-items:center;justify-content:center;gap:8px;flex:1;padding:12px;font-size:12px;color:var(--fds-text-secondary);counter-increment:order-step;}
.cw-order-phases li+li{border-inline-start:1px solid var(--fds-border);}
.cw-order-phases li::before{content:counter(order-step);display:grid;place-items:center;width:20px;height:20px;border-radius:50%;border:1px solid var(--fds-border-strong);font-size:11px;}
.cw-order-phases li[aria-current]{background:var(--fds-blue-50);color:var(--fds-blue-600);font-weight:550;}
.cw-order-phases li.is-done::before{content:'✓';border-color:var(--fds-green-600);color:var(--fds-green-700);}
.cw-order-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:var(--fds-white);border:1px solid var(--fds-border);border-radius:10px;padding:16px 18px;margin-bottom:20px;}
.cw-order-metrics>div{display:grid;gap:6px;min-width:0;padding-inline:14px;}
.cw-order-metrics>div:first-child{padding-inline-start:0;}
.cw-order-metrics>div+div{border-inline-start:1px solid var(--fds-border);}
.cw-order-metrics span{font-size:11px;color:var(--fds-text-secondary);}
.cw-order-metrics strong{font-size:24px;line-height:1.3;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;}
.cw-order-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;align-items:start;}
.cw-order-main,.cw-order-rail{display:grid;gap:18px;min-width:0;}
.cw-order-rail{position:sticky;top:72px;}
.commerce-admin-main .cw-business-card{margin:0;padding:0;background:var(--fds-white);border:1px solid var(--fds-border);border-radius:10px;overflow:hidden;min-width:0;}
.commerce-admin-main .cw-business-card>h2{font-size:16px;font-weight:600;line-height:1.4;margin:0!important;padding:14px 18px!important;border-bottom:1px solid var(--fds-border);background:var(--fds-white);}
.cw-business-card>.commerce-facts{padding:16px 18px;margin:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;}
.cw-business-card>.commerce-facts dt{font-size:11px;color:var(--fds-text-secondary);}
.cw-business-card>.commerce-facts dd{font-size:13px;line-height:1.6;overflow-wrap:anywhere;}
.cw-business-card>.commerce-facts>div:last-child:nth-child(5){grid-column:1/-1;}
.cw-business-card .commerce-table-wrap{margin:0;}
.cw-business-card>.commerce-form,.cw-business-card>details,.cw-business-card>.commerce-muted{margin:16px 18px;}
.cw-business-card>.cw-document-exports{padding:12px 18px;margin:0;border-top:1px solid var(--fds-border);gap:6px;}
.cw-business-card .fds-btn{min-height:30px;height:30px;font-size:12px;padding:0 10px;}
.cw-order-rail .commerce-form{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;}
.cw-order-rail .commerce-field>span{font-size:12px;color:var(--fds-text-secondary);}
.cw-order-rail .commerce-form input:not([type=checkbox]),.cw-order-rail .commerce-form select{height:30px;min-height:30px;font-size:12px;padding:0 8px;border-radius:5px;}
.cw-order-rail .commerce-form textarea,.cw-order-main .commerce-form textarea{min-height:88px;font-size:14px;line-height:1.5;padding:8px;border-radius:6px;}
.cw-order-rail .commerce-readiness{padding:0;border:0;margin:0;display:grid;gap:8px;}
.cw-order-rail .commerce-readiness legend{font-size:12px;font-weight:550;margin-bottom:10px;}
.cw-order-rail .commerce-check{display:flex;align-items:flex-start;gap:8px;min-height:0;padding:0;margin:0;font-size:12px;line-height:1.6;}
.cw-order-rail .commerce-check input{width:14px!important;height:14px!important;min-height:14px!important;flex:0 0 14px;margin-top:3px;}
.cw-order-rail .commerce-actions{margin:0;}
.cw-order-rail .commerce-actions>button{width:100%;}
.cw-order-rail .commerce-facts{grid-template-columns:1fr 1fr;gap:12px;}
.cw-order-payment-hint{margin:0;font-size:12px;color:var(--fds-amber-700);padding:10px;border-radius:6px;background:var(--fds-amber-50);}
.cw-order-terms{padding:0 18px 16px;}
.cw-order-terms h3{font-size:12px!important;font-weight:550;margin:0 0 6px!important;}
.cw-order-terms p{font-size:13px;line-height:1.7;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;}
.cw-business-card details>summary{font-size:12px;cursor:pointer;min-height:30px;line-height:30px;}
.cw-order-version,.cw-payment-record{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;align-items:center;padding:10px 0;border-bottom:1px solid var(--fds-border);font-size:12px;overflow-wrap:anywhere;}
.cw-payment-record{grid-template-columns:1fr auto;}
.cw-payment-record .cx-spec{grid-column:1/-1;}
.cw-order-timeline{list-style:none;margin:12px 0;padding:0;}
.cw-order-timeline li{display:grid;grid-template-columns:1fr auto;gap:6px;padding:10px 0;border-bottom:1px solid var(--fds-border);font-size:12px;}
.cw-order-timeline li time{color:var(--fds-text-secondary);font-size:11px;}
.cw-order-timeline li p{grid-column:1/-1;margin:0;white-space:pre-wrap;}
.cw-business-lines .cw-business-table{min-width:620px;}
.cw-business-lines .c-item{min-width:190px;}
.cw-business-lines .c-disp{min-width:86px;white-space:nowrap;font-size:11px;}
.cw-business-lines .commerce-product>div{min-width:0;}
.cw-business-lines .cw-product-heading{display:flex;gap:4px 7px;flex-wrap:wrap;align-items:baseline;}
.cw-business-lines .cw-product-code{font-size:11px;color:var(--fds-text-secondary);font-weight:400;}
.cw-business-lines .commerce-product-image>span{display:grid;place-items:center;width:100%;height:100%;}
.cw-business-lines .commerce-product-image svg{width:100%;height:100%;}
.cw-business-lines .cw-document-category{display:inline-flex;align-items:center;gap:9px;min-height:30px;padding:0 6px;border:0;border-radius:5px;background:transparent;color:var(--fds-text-primary);font-size:12px;cursor:pointer;}
.cw-document-category>svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
.cw-document-category[aria-expanded=true]>svg{transform:rotate(90deg);}
.cw-document-category>span{font-weight:400;color:var(--fds-text-secondary);font-size:11px;}
.cw-business-lines tr[data-category=showcase]{--business-category:var(--fds-blue-50);}
.cw-business-lines tr[data-category=component]{--business-category:var(--fds-green-50);}
.cw-business-lines tr[data-category=lighting]{--business-category:var(--fds-amber-50);}
.cw-business-lines tr[data-category=fitout]{--business-category:var(--fds-gray-100);}
.commerce-admin-main .cw-business-lines tr.grp>td{background:var(--business-category,var(--fds-gray-50));}
.commerce-admin-main .cw-business-lines tr.cw-document-row>td{background:color-mix(in srgb,var(--business-category) 38%,var(--fds-white));}
.cw-readonly-quantity{display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:0 7px;border:1px solid var(--fds-border);border-radius:6px;background:var(--fds-white);font-size:12px;color:var(--fds-text-primary);cursor:pointer;white-space:nowrap;}
.cw-business-lines .cw-price-origin{display:block;font-size:10px;color:var(--fds-green-700);margin-top:4px;}
.cw-business-lines .cw-plan-quantity{display:block;font-size:10px;color:var(--fds-text-secondary);margin-top:4px;}
.cw-business-lines tr[hidden]{display:none!important;}
@media(max-width:1350px){.cw-order-layout{grid-template-columns:minmax(0,1fr);}.cw-order-rail{position:static;grid-template-columns:1fr 1fr;align-items:start;}}
@media(max-width:700px){.cw-business-heading{align-items:flex-start;}.cw-business-heading h1{font-size:22px;}.cw-order-metrics{grid-template-columns:1fr 1fr;gap:16px;padding:16px;}.cw-order-metrics strong{font-size:21px;}.cw-order-metrics>div:nth-child(3){border-inline-start:0;padding-inline-start:0;}.cw-order-phases li{font-size:11px;padding:10px 4px;gap:4px;}.cw-order-phases li::before{width:16px;height:16px;font-size:10px;}.cw-order-rail{grid-template-columns:1fr;grid-row:1;}.cw-order-main{grid-row:2;}.cw-business-card>.commerce-facts{grid-template-columns:1fr 1fr;}.cw-business-lines .cw-business-table{min-width:0;}.cw-business-lines .c-item{min-width:0;}.cw-business-lines .cx-table .cw-document-row{grid-template-columns:minmax(0,1fr) auto;}.cw-business-lines .cw-document-row>td:first-child{display:none;}.cw-business-lines .cw-document-row .c-item{grid-column:1;}.cw-business-lines .cw-document-row .c-amt{grid-column:2;grid-row:1;}.cw-business-lines .cw-document-row .c-state{grid-column:2;}.cw-business-lines .cw-document-row .c-disp{grid-column:1;}.cw-business-lines .c-qty::before{display:none;}.cw-document-exports{flex-wrap:wrap;}.cw-order-version{grid-template-columns:1fr auto;}.cw-order-version .cx-spec{grid-column:1/-1;grid-row:2;}}
@media(pointer:coarse){.cw-business-card .fds-btn,.cw-order-rail .commerce-form input:not([type=checkbox]),.cw-order-rail .commerce-form select,.cw-readonly-quantity,.cw-business-lines .cw-document-category{min-height:44px;height:auto;}.cw-order-rail .commerce-form input:not([type=checkbox]),.cw-order-rail .commerce-form select{font-size:16px;}}

.cw-lifecycle-notice{display:flex;gap:12px;align-items:start;padding:12px 16px;margin-bottom:16px;border:1px solid var(--fds-border);border-inline-start:3px solid var(--fds-amber-600);border-radius:6px;background:var(--fds-amber-50);font-size:12px;line-height:1.7;}.cw-lifecycle-notice strong{white-space:nowrap;}.cw-lifecycle-notice span{white-space:pre-wrap;}

.commerce-admin-main .cx-layout:has(.cw-business-lines){grid-template-columns:minmax(0,1fr) 280px;gap:20px;}.cw-order-layout{grid-template-columns:minmax(0,1fr) 280px;}.cw-published-state{margin:16px 0 0;padding-top:12px;border-top:1px solid var(--fds-border);font-size:12px;color:var(--fds-text-secondary);}.cw-order-balance-note{padding:0 18px;font-size:12px;color:var(--fds-amber-700);line-height:1.6;}@media(max-width:1350px){.cw-order-layout,.commerce-admin-main .cx-layout:has(.cw-business-lines){grid-template-columns:minmax(0,1fr);}}

.commerce-admin-main .cw-folded-evidence{margin:0;padding:16px 18px;border:0;border-bottom:1px solid var(--fds-border);background:var(--fds-gray-50);font-size:12px;overflow-wrap:anywhere;}.commerce-admin-main .cw-folded-evidence[hidden]{display:none!important;}.commerce-admin-main .cw-folded-evidence pre{max-height:260px;overflow:auto;font-size:11px;}.cw-business-card h2.cw-has-tools{display:flex;justify-content:space-between;align-items:center;gap:12px;}.cw-business-card h2.cw-has-tools button{font-weight:400;font-size:11px;}.cw-internal-costs{max-height:180px;overflow:auto;font-size:11px;color:var(--fds-text-secondary);}
.commerce-admin-main .cx-card-head{flex-wrap:wrap;min-width:0;}
.commerce-admin-main .cx-card-head .tools{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0;}
@media(max-width:700px){.commerce-admin-main .cx-card-head .tools{flex-basis:100%;margin-inline-start:0;}.cw-business-card h2.cw-has-tools{flex-wrap:wrap;}}

.cw-order-print{display:none;}@media print{.commerce-main.print-quote #commerce-root>.cw-order-print.commerce-print-selected{display:block!important;}.cw-order-print .cw-order-layout{display:block;}.cw-order-print .cw-order-main{display:block;}.cw-order-print .cw-business-card{break-inside:auto;margin-bottom:14px;}.cw-order-print .cw-order-metrics{grid-template-columns:repeat(4,1fr);}.cw-order-print .cw-business-heading{display:block;}.cw-order-print .cw-business-lines .cw-business-table{display:table;min-width:0;}.cw-order-print .cw-business-table thead{display:table-header-group;}.cw-order-print .cw-business-table tbody{display:table-row-group;}.cw-order-print .cw-business-table tr{display:table-row;}.cw-order-print .cw-business-table td{display:table-cell;width:auto;}.cw-order-print .cw-business-table .cw-document-row>td:first-child{display:table-cell;}.cw-order-print .commerce-product{break-inside:avoid;}}
@media print{.cw-business-toolbar{display:none!important;}}
@media print{
 body[data-faus="v1"] .ssa-sidebar,body[data-faus="v1"] .ssa-header,body[data-faus="v1"] .ssa-overlay,.cw-business-toolbar,.proto-bar{display:none!important;}
 body[data-faus="v1"] .ssa-app{display:block!important;}
 .commerce-admin-main{margin:0!important;padding:0!important;width:auto!important;}
 .commerce-admin-main.print-quote #commerce-root>*{display:none!important;}
 .commerce-admin-main.print-quote #commerce-root>.cw-order-print.commerce-print-selected{display:block!important;}
}

.cx-sheet:modal{margin:0;max-width:none;width:100%;border:0;padding:0;border-radius:16px 16px 0 0;}.cx-sheet::backdrop{background:rgb(17 24 39 / 35%);}.cw-sheet-close{display:grid;place-items:center;position:sticky;top:8px;margin:8px 8px -38px auto;width:30px;height:30px;min-height:30px;border:0;border-radius:6px;background:var(--fds-gray-100);color:var(--fds-text-secondary);font-size:22px;z-index:2;cursor:pointer;}@media(pointer:coarse){.cw-sheet-close{width:44px;height:44px;min-height:44px;margin-bottom:-52px;}}

.cw-list-tabs{display:flex;gap:16px;margin:0 0 16px;border-bottom:1px solid var(--fds-border);}.cw-list-tabs>a{display:inline-flex;align-items:center;min-height:34px;padding:0 2px 8px;font-size:12px;color:var(--fds-text-secondary);text-decoration:none;border-bottom:2px solid transparent;}.cw-list-tabs>a[aria-current=page]{color:var(--fds-text-primary);font-weight:550;border-bottom-color:var(--fds-text-primary);}.commerce-list-table .c-next>a{font-size:11px;text-underline-offset:3px;}.commerce-task-grid[hidden]{display:none!important;}@media(pointer:coarse){.cw-list-tabs>a{min-height:44px;}}
/* Keep contact actions compact so the sales identity retains its text width. */
:is(.commerce-admin-main,.commerce-customer-page) .cx-contact{gap:10px;padding:14px 16px;min-width:0;}
:is(.commerce-admin-main,.commerce-customer-page) .cx-contact>.cx-avatar{width:32px;height:32px;flex:0 0 32px;}
:is(.commerce-admin-main,.commerce-customer-page) .cx-contact>.who{flex:1 1 auto;min-width:0;font-size:13px;line-height:1.5;word-break:normal;overflow-wrap:anywhere;}
:is(.commerce-admin-main,.commerce-customer-page) .cx-contact>.who>span{margin-top:3px;font-size:11px;line-height:1.5;word-break:normal;}
:is(.commerce-admin-main,.commerce-customer-page) .cx-contact>.fds-btn{flex:0 0 auto;width:auto;min-width:0;height:30px;min-height:30px;margin:0;padding:0 8px;font-size:12px;white-space:nowrap;}
@media(pointer:coarse){:is(.commerce-admin-main,.commerce-customer-page) .cx-contact>.fds-btn{height:44px;min-height:44px;}}

/* FDS extension: review comments and the sales-facing amendment record. */
.cw-review-note{display:grid;gap:8px;margin-block:12px;font-size:12px;color:var(--fds-text-secondary)}.cw-review-note textarea{width:100%;min-height:88px;box-sizing:border-box;color:var(--fds-text);resize:vertical}.cw-review-result .cx-card-body{display:grid;gap:12px}.cw-review-result p{margin:0}.cw-review-changes{table-layout:fixed;width:100%}.cw-review-changes td{white-space:pre-wrap;overflow-wrap:anywhere;vertical-align:top}

/* FDS extension: customer quotation shares enterprise document rows and visual hierarchy. */
.commerce-customer-page{background:var(--fds-gray-50)}.commerce-customer-page .cx-main{max-width:1480px;padding:24px}.commerce-customer-page .cw-business-lines tr.grp>td{background:var(--business-category,var(--fds-gray-50))}.commerce-customer-page .cw-business-lines tr.cw-document-row>td{background:color-mix(in srgb,var(--business-category) 38%,var(--fds-white))}.commerce-customer-page .cw-business-table{border-collapse:collapse;width:100%;font-size:12px}.commerce-customer-page .cw-business-table th{padding:12px;color:var(--fds-text-secondary);font-size:11px;font-weight:500;border-bottom:1px solid var(--fds-border);text-align:start}.commerce-customer-page .cw-business-table td{padding:12px;border-bottom:1px solid var(--fds-border);vertical-align:middle}.commerce-customer-page .commerce-product-image{width:44px;height:44px;flex-basis:44px}.cw-customer-option{display:flex;align-items:center;gap:8px;margin-block-start:8px;font-size:12px}.cw-customer-option input{width:16px;height:16px;accent-color:var(--fds-text-primary)}.commerce-customer-page .is-off{opacity:.62}.commerce-embedded>.cx-top,.commerce-embedded>.commerce-header,.commerce-embedded>.proto-bar{display:none!important}.commerce-embedded .cx-main{padding:20px;max-width:none}.commerce-embedded{margin:0}@media(max-width:700px){.commerce-customer-page .cx-main{padding:16px}.commerce-customer-page .cw-business-table{min-width:0}.commerce-customer-page .commerce-table-wrap{overflow-x:auto}.commerce-embedded .cx-main{padding:12px}}

.commerce-customer-page .cw-business-table tr.grp{background:var(--business-category,var(--fds-gray-50))}.commerce-customer-page .cw-business-table tr.cw-document-row{background:color-mix(in srgb,var(--business-category) 38%,var(--fds-white))}

/* FDS extension: customer quotation title and contextual actions. */
.cw-quote-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}.cw-quote-heading-copy{min-width:0}.cw-quote-heading .cx-title{margin:0 0 8px}.cw-quote-heading .cx-meta{margin:0}.cw-quote-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;flex-shrink:0}.cw-quote-actions .fds-btn{min-height:36px;padding:0 14px;text-decoration:none;white-space:nowrap;border-radius:6px;font-size:12px}.cw-quote-actions .fds-btn:focus-visible{outline:2px solid var(--fds-blue-600);outline-offset:3px}@media(max-width:700px){.cw-quote-heading{flex-direction:column;gap:12px}.cw-quote-actions{justify-content:flex-start}.cw-quote-actions .fds-btn{min-height:44px}}

.cx-rail .qp-inline-13>.fds-btn{flex:1 1 0!important;width:auto;min-width:0;min-height:36px;white-space:normal;word-break:normal;overflow-wrap:normal;padding:8px 12px;line-height:1.5}

/* FDS extension: compact customer inquiry receipt and contextual actions. */
.cwi-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px;border-bottom:1px solid var(--fds-border)}.cwi-heading{min-width:0}.cwi-title{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.cwi-title h1{margin:0;font-size:22px;font-weight:600;line-height:1.3;overflow-wrap:anywhere}.cwi-version{margin:6px 0 0;font-size:12px;color:var(--fds-text-secondary)}.cwi-body{padding:18px 24px}.cwi-facts{display:grid;grid-template-columns:1fr 1.4fr 1fr;gap:16px 24px;margin:0}.cwi-facts>div{min-width:0}.cwi-facts dt{font-size:11px;color:var(--fds-text-secondary);margin:0 0 5px}.cwi-facts dd{font-size:13px;line-height:1.6;margin:0;white-space:pre-line;overflow-wrap:anywhere}.cwi-full{grid-column:1/-1}.cwi-notice{margin:0 0 18px;font-size:12px;line-height:1.6;background:var(--fds-amber-50);border-color:color-mix(in srgb,var(--fds-amber-700) 20%,var(--fds-border));border-inline-start-color:var(--fds-amber-700)}.cwi-actions{flex-shrink:0}.cw-customer-inquiry>.cw-business-lines{border-top:1px solid var(--fds-border)}@media(max-width:700px){.cwi-header{align-items:flex-start;flex-direction:column;gap:12px;padding:16px}.cwi-title h1{font-size:20px}.cwi-body{padding:16px}.cwi-facts{grid-template-columns:1fr;gap:14px}.cwi-actions{justify-content:flex-start;max-width:100%}.cwi-full{grid-column:auto}}

.cwi-acceptance-notice{margin:16px 0;border-color:var(--fds-border);border-inline-start-color:var(--fds-amber-700);color:var(--fds-text-secondary)}

.cwi-await-order{white-space:normal;overflow-wrap:anywhere;height:auto;min-height:44px}
/* FDS extension: compact, shared delivery-status card for enterprise-only email notifications. */
.commerce-mail-status{padding:16px}.commerce-mail-status h2{font-size:15px;margin:0 0 12px}.commerce-mail-status .cw-payment-record{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid var(--fds-color-border,#e2e5eb)}.commerce-mail-status small{color:var(--fds-color-text-secondary,#677286)}.commerce-mail-status .cx-meta{font-size:12px;line-height:1.6}
