/* Product catalog applet and shared typed configuration fields. */
.pc-applet,.pc-dialog,.pc-fields{--pc-ink:#202a43;--pc-muted:#77829c;--pc-border:#e0e5f0;--pc-purple:#7451bc;--pc-teal:#078b91;box-sizing:border-box;color:var(--pc-ink);font-family:inherit;font-size:13px;line-height:1.45}
.pc-applet *,.pc-dialog *,.pc-fields *{box-sizing:border-box}
.pc-applet{width:100%;max-width:1500px;margin:auto}.pc-applet h3,.pc-dialog h3,.pc-applet h4,.pc-dialog h4,.pc-applet p,.pc-dialog p{margin:0}.pc-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px}.pc-eyebrow{font-size:10px;letter-spacing:.09em;text-transform:uppercase;font-weight:700;color:var(--pc-teal);margin-bottom:4px}.pc-toolbar h3{font-size:25px;letter-spacing:-.7px;font-weight:800;display:flex;gap:9px;align-items:center}.pc-toolbar p{font-size:12px;color:var(--pc-muted);margin-top:4px}.pc-count{display:inline-flex;align-items:center;justify-content:center;font-size:10px;line-height:18px;font-weight:600;padding:1px 6px;border-radius:5px;background:#f3effc;color:#7956ad;letter-spacing:0;white-space:nowrap}
.pc-actions{display:flex;gap:8px;align-items:center}.pc-button{display:inline-flex;justify-content:center;align-items:center;gap:7px;min-height:36px;padding:8px 13px;border:1px solid transparent;border-radius:7px;font:inherit;font-weight:650;font-size:12px;cursor:pointer;text-decoration:none;white-space:nowrap;transition:background .15s,border-color .15s,box-shadow .15s}.pc-button-primary{background:#7451bc;color:white;box-shadow:0 3px 7px #7451bc20}.pc-button-primary:hover{background:#6542aa}.pc-button-secondary{background:#faf8ff;border-color:#e3d9f6;color:#7451ae}.pc-button-secondary:hover{background:#f0eafa;border-color:#c7b4e7}.pc-button-quiet{background:white;border-color:#e0e5f0;color:#64718b}.pc-button-quiet:hover{background:#f5f7fb}.pc-button-small{padding:6px 10px;min-height:31px;font-size:11px}.pc-button:disabled,.pc-icon-button:disabled,.pc-text-button:disabled{cursor:default;opacity:.48;box-shadow:none}.pc-applet button:focus-visible,.pc-dialog button:focus-visible,.pc-fields :is(input,select,textarea):focus-visible{outline:2px solid #a691df;outline-offset:3px}.pc-icon-button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:30px;height:30px;background:transparent;border:1px solid transparent;border-radius:6px;color:#969fb1;cursor:pointer;font:inherit}.pc-icon-button:hover{background:#f2edf9;color:#7451bc;border-color:#e5dcf3}.pc-text-button{font:inherit;font-size:11px;font-weight:650;border:0;background:transparent;color:#7451bc;cursor:pointer;padding:4px}.pc-danger{color:#b76573}.pc-types{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin:0 0 17px}.pc-type-card{display:flex;align-items:center;gap:3px;padding:7px 10px 7px 7px;background:white;border:1px solid var(--pc-border);border-radius:10px;box-shadow:0 2px 3px #24304a03}.pc-type-card.is-selected{border-color:#b9a4df;box-shadow:0 0 0 1px #d6c9ed;background:#fdfbff}.pc-type-select{display:flex;gap:11px;align-items:center;flex:1;text-align:left;border:0;background:transparent;padding:4px;color:inherit;cursor:pointer;min-width:0}.pc-type-select strong{display:block;font-weight:700;font-size:13px}.pc-type-select small{display:block;color:var(--pc-muted);font-size:10px;margin-top:2px}.pc-type-icon{display:flex;align-items:center;justify-content:center;width:37px;height:37px;background:#eff8f8;color:#12898e;border:1px solid #dceeee;border-radius:9px;flex-shrink:0;font-size:16px}.pc-list{background:white;border:1px solid var(--pc-border);border-radius:11px;overflow:hidden;box-shadow:0 2px 4px #27324703}.pc-filters{display:flex;gap:8px;align-items:center;padding:11px 13px;border-bottom:1px solid var(--pc-border)}.pc-search{position:relative;flex:1;min-width:130px}.pc-search i{position:absolute;top:11px;left:11px;color:#9ba6ba;font-size:12px}.pc-filters input,.pc-filters select{height:35px;border:1px solid var(--pc-border);border-radius:6px;background:#fafbfe;color:#60708d;font:inherit;font-size:11px;padding:7px 9px;max-width:100%}.pc-search input{width:100%;padding-left:33px}.pc-results{font-size:10px;color:var(--pc-muted);white-space:nowrap;padding-left:4px}.pc-table-scroll{overflow:auto}.pc-table{border-collapse:collapse;width:100%;font-size:12px;min-width:730px;text-align:left}.pc-table th{background:#f8f9fc;color:#77839e;font-size:10px;font-weight:650;padding:10px 15px;border-bottom:1px solid #e8edf5}.pc-table td{padding:11px 15px;border-bottom:1px solid #edf0f7;vertical-align:middle;max-width:420px}.pc-table tbody tr:last-child td{border-bottom:0}.pc-table tbody tr:hover{background:#fdfcff}.pc-table strong{font-weight:700;display:block}.pc-table small{font-size:10px;color:var(--pc-muted);display:block;margin-top:3px}.pc-table-actions{text-align:right;white-space:nowrap}.pc-table-actions .pc-icon-button{margin-left:4px}.pc-price{font-weight:650;font-size:11px}.pc-status{display:inline-flex;align-items:center;gap:5px;font-size:10px;padding:3px 7px;border-radius:5px;border:1px solid #e2e6ef;background:#f7f8fb;color:#7b859a;white-space:nowrap}.pc-status:before{content:'';width:4px;height:4px;background:currentColor;border-radius:50%}.pc-status-active{color:#15936a;background:#f0faf5;border-color:#d3eee1}.pc-status-draft{color:#a18739;background:#fffbec;border-color:#f2e9c8}.pc-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:43px 18px;text-align:center;font-size:12px;color:var(--pc-muted)}.pc-empty strong{font-size:16px;color:#52607e}.pc-empty-icon{display:flex;width:49px;height:49px;align-items:center;justify-content:center;border-radius:13px;background:#f3effb;color:#9778c5;font-size:21px;margin-bottom:2px}.pc-empty-small{padding:23px;border:1px dashed #ded5ee;border-radius:7px;margin-top:10px}.pc-footnote{color:#8e98ad!important;font-size:10px;margin-top:10px!important}.pc-footnote i{margin-right:5px}.pc-message{border:1px solid;border-radius:7px;padding:10px 12px;font-size:12px;margin-bottom:12px}.pc-message-error{background:#fff5f6;border-color:#f0d4da;color:#b55469}.pc-message-success{background:#f1faf6;border-color:#d2eadf;color:#2f886c}.pc-message button{color:inherit;text-decoration:underline;border:0;background:none;margin-left:6px;cursor:pointer;font:inherit}.pc-inline-error{color:#b55469!important;font-size:12px;margin-top:7px!important}
.pc-overlay{position:fixed;inset:0;z-index:220;background:#19243b72;display:flex;justify-content:center;align-items:center;padding:20px}.pc-dialog{width:min(960px,100%);max-height:calc(100dvh - 40px);background:#fff;border:1px solid #e4e7ef;border-radius:15px;box-shadow:0 22px 80px #101c3d38;display:flex;flex-direction:column;overflow:hidden}.pc-dialog-header{display:flex;align-items:center;gap:10px;padding:15px 19px;border-bottom:1px solid #e6eaf3;flex-shrink:0}.pc-dialog-header>div{flex:1}.pc-dialog-header small{font-size:10px;color:#8790a5;display:block;margin-bottom:2px}.pc-dialog-header h3{font-size:20px;font-weight:750;letter-spacing:-.5px}.pc-heading-icon{display:flex;width:37px;height:37px;align-items:center;justify-content:center;border:1px solid #e6ddf5;background:#f6f2fc;color:#8b69bc;border-radius:10px;font-size:16px}.pc-form{display:flex;flex-direction:column;min-height:0;flex:1;overflow:hidden}.pc-dialog-body{overflow-y:auto;padding:16px 19px;min-height:0;background:#fafbfe;overscroll-behavior:contain}.pc-fieldset{padding:12px;background:white;border:1px solid var(--pc-border);border-radius:8px;min-width:0;margin:0 0 11px}.pc-fieldset:last-child{margin-bottom:0}.pc-section-title{font-size:12px;font-weight:700;color:#52607e;padding:0 5px;margin-left:-5px}.pc-section-title .pc-count{margin-left:5px}.pc-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 13px}.pc-fields-three{grid-template-columns:repeat(3,minmax(0,1fr))}.pc-field{display:flex;flex-direction:column;min-width:0;gap:4px}.pc-field-wide{grid-column:1/-1}.pc-field>label,.pc-adjustment label>span,.pc-options legend{font-weight:600;font-size:10px;color:#70809c;display:block;line-height:1.5}.pc-unit{font-size:10px;font-weight:400;color:#929db1}.pc-required{color:#9472c4}.pc-field input:not([type=checkbox]),.pc-field select,.pc-field textarea,.pc-adjustment input,.pc-adjustment select,.pc-quote-qty input{width:100%;min-width:0;min-height:34px;padding:7px 9px;border:1px solid #dce2ef;border-radius:6px;background:#fff;color:#374766;font:inherit;font-size:12px;outline:none;box-shadow:0 1px 2px #1c2d4d02}.pc-field :is(input,select,textarea):focus,.pc-adjustment :is(input,select):focus{border-color:#ab91d5;box-shadow:0 0 0 2px #d9cbed40}.pc-field :is(input,select,textarea):disabled,.pc-adjustment :is(input,select):disabled{background:#f1f4f8;color:#929baf;opacity:1}.pc-field input[readonly]{background:#f5f6fa;color:#8e98ac}.pc-field textarea{resize:vertical;min-height:49px;line-height:1.5}.pc-field small{font-size:9px;color:#8f9ab0}.pc-check{display:inline-flex;align-items:center;gap:7px;color:#5b6a87;font-size:11px;font-weight:500;cursor:pointer}.pc-check input{width:14px;height:14px;accent-color:#7954b7;margin:0;flex-shrink:0}.pc-boolean{border:1px solid #e5e8f2;border-radius:6px;background:#fafbfe;padding:8px 10px;min-height:35px;align-self:stretch;margin-top:auto}.pc-options{display:flex;gap:8px 17px;flex-wrap:wrap;padding:9px 10px;border:1px solid #e5e8f2;border-radius:6px;background:#fafbfe;min-width:0;margin:0}.pc-options legend{padding:0 4px}.pc-help{font-size:10px;color:#8a95aa;line-height:1.6}.pc-fieldset>.pc-help{margin:0 0 10px}.pc-version{background:#f8f3ff;border:1px solid #e6d8f6;padding:7px 9px;border-radius:6px;margin:0 0 10px;font-size:10px}.pc-section-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:9px 0}.pc-section-row h4{font-size:11px;font-weight:700;color:#62718e}.pc-adjustment{display:grid;grid-template-columns:1fr 1fr 1fr 30px;align-items:end;gap:8px;margin-top:8px}.pc-adjustment label{min-width:0}.pc-adjustment label>span{font-size:9px;margin-bottom:3px}.pc-adjustment input,.pc-adjustment select{font-size:11px}.pc-quote{background:#f3f8fa;border:1px solid #dcebef;padding:10px 12px;border-radius:8px}.pc-quote .pc-section-row{margin:0 0 4px}.pc-quote-qty{display:flex;align-items:center;gap:7px;font-size:10px;color:#73829a}.pc-quote-qty input{width:80px;min-height:30px;height:30px}.pc-quote p[role=status]{margin-top:9px;color:#458e8e}.pc-quote strong{font-size:15px}.pc-quote p[role=status]>span{font-size:11px}.pc-dialog-footer{display:flex;gap:8px;align-items:center;justify-content:flex-end;padding:12px 19px;border-top:1px solid #e6eaf3;background:#fff;flex-shrink:0}.pc-dialog-footer>.pc-help{margin-right:auto;max-width:60%;font-size:9px;line-height:1.5}.pc-schema-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:11px;margin-top:11px}.pc-schema-nav{display:flex;flex-direction:column;gap:4px;max-height:490px;overflow-y:auto}.pc-schema-nav button{position:relative;text-align:left;border:1px solid #e4e7f0;border-radius:6px;background:white;color:#64718c;padding:7px 7px 7px 31px;font:inherit;font-size:11px;line-height:1.4;cursor:pointer}.pc-schema-nav button>span{position:absolute;top:10px;left:9px;font-size:9px;color:#a69ab7}.pc-schema-nav button small{display:block;color:#9aa4b6;font-size:9px;margin-top:2px}.pc-schema-nav button.is-active{border-color:#c9b4e7;background:#f6f1fc;color:#7851b3}.pc-schema-editor{margin:0;align-self:start}.pc-schema-editor>.pc-section-row{margin-top:0;margin-bottom:11px}.pc-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}
@media(max-width:800px){.pc-toolbar{align-items:flex-start}.pc-toolbar h3{font-size:23px}.pc-toolbar p{max-width:330px}.pc-types{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.pc-filters{flex-wrap:wrap}.pc-search{flex-basis:100%}.pc-results{margin-left:auto}.pc-fields-three{grid-template-columns:repeat(2,minmax(0,1fr))}.pc-schema-layout{grid-template-columns:145px minmax(0,1fr)}.pc-schema-nav{max-height:420px}.pc-dialog-footer>.pc-help{max-width:44%}}
@media(max-width:560px){.pc-toolbar{flex-direction:column;gap:11px}.pc-toolbar>.pc-actions{width:100%}.pc-toolbar>.pc-actions .pc-button{flex:1}.pc-types{grid-template-columns:1fr;gap:7px}.pc-type-card{padding:5px 8px 5px 5px}.pc-type-icon{width:32px;height:32px;font-size:14px}.pc-filters{padding:10px;gap:7px}.pc-filters>label:not(.pc-search){flex:1;min-width:0}.pc-filters select{width:100%;font-size:10px}.pc-results{width:100%;text-align:right}.pc-overlay{padding:8px;align-items:center}.pc-dialog{max-height:calc(100dvh - 16px);border-radius:11px}.pc-dialog-header{padding:11px 12px;gap:8px}.pc-dialog-header h3{font-size:18px}.pc-heading-icon{width:31px;height:31px}.pc-dialog-body{padding:11px 10px}.pc-fields,.pc-fields-three{grid-template-columns:1fr;gap:9px}.pc-field-wide{grid-column:auto}.pc-fieldset{padding:10px;margin-bottom:10px}.pc-field input:not([type=checkbox]),.pc-field select,.pc-field textarea{font-size:13px;min-height:37px}.pc-dialog-footer{padding:10px;flex-wrap:wrap}.pc-dialog-footer>.pc-help{max-width:none;width:100%;font-size:9px}.pc-dialog-footer>.pc-button{flex:1}.pc-adjustment{grid-template-columns:1fr 1fr 30px;gap:6px;background:#fafbfe;border:1px solid #edf0f5;border-radius:6px;padding:7px}.pc-adjustment>label:first-child{grid-column:1/3}.pc-adjustment>.pc-icon-button{grid-column:3;grid-row:1/3;align-self:center}.pc-quote .pc-section-row{align-items:flex-start;flex-direction:column}.pc-schema-layout{grid-template-columns:1fr}.pc-schema-nav{flex-direction:row;max-height:none;overflow:auto;padding-bottom:3px}.pc-schema-nav button{min-width:125px;flex-shrink:0}.pc-section-row h4 .pc-unit{display:block}.pc-help{font-size:10px}}

/* Compact product form. Shared fields in the Creator and type editor keep their layout. */
.pc-product-dialog{width:min(1200px,100%);border-radius:13px}
.pc-product-dialog .pc-dialog-header{padding:10px 14px;gap:9px}
.pc-product-dialog .pc-dialog-header h3{font-size:19px;line-height:1.25}
.pc-product-dialog .pc-dialog-header small{font-size:10px;margin-bottom:2px;color:#74839a}
.pc-product-dialog .pc-heading-icon{width:33px;height:33px;border-radius:9px;background:#edf8f7;border-color:#d7ece9;color:#17898c;font-size:14px}
.pc-product-dialog .pc-product-body{padding:12px;background:#f6f8fc;scrollbar-gutter:stable}
.pc-product-dialog .pc-product-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;align-items:start}
.pc-product-dialog .pc-product-main,.pc-product-dialog .pc-product-pricing{display:flex;flex-direction:column;gap:10px;min-width:0}
.pc-product-dialog .pc-fieldset{margin:0;padding:8px 10px 10px;border-radius:8px}
.pc-product-dialog .pc-section-title{font-size:11.5px;font-weight:700;color:#4c5d79;padding:0 5px;line-height:1.5}
.pc-product-dialog .pc-section-title .pc-count{font-size:9px;line-height:16px;padding:0 5px}
.pc-product-dialog .pc-product-data-fields{grid-template-columns:repeat(4,minmax(0,1fr))}
.pc-product-dialog .pc-product-field-name{grid-column:span 3}.pc-product-dialog .pc-product-field-category{grid-column:span 2}
.pc-product-dialog .pc-product-parameters>.pc-fields{grid-template-columns:repeat(3,minmax(0,1fr))}
.pc-product-dialog .pc-fields{gap:7px 9px}
.pc-product-dialog .pc-field{gap:3px}
.pc-product-dialog .pc-field>label,.pc-product-dialog .pc-options legend{font-size:10.5px;line-height:1.35;color:#65758e}
.pc-product-dialog .pc-field input:not([type=checkbox]),.pc-product-dialog .pc-field select,.pc-product-dialog .pc-field textarea,.pc-product-dialog .pc-adjustment input,.pc-product-dialog .pc-adjustment select{min-height:32px;padding:5px 8px;font-size:12px;line-height:1.4}
.pc-product-dialog .pc-field textarea{min-height:42px;resize:vertical}
.pc-product-dialog .pc-product-details textarea{height:42px}
.pc-product-dialog .pc-fieldset>.pc-help{margin:1px 0 7px;font-size:10px;line-height:1.45;color:#7b899f}
.pc-product-dialog .pc-check{font-size:11px;line-height:1.35}
.pc-product-dialog .pc-check span{overflow-wrap:anywhere}
.pc-product-dialog .pc-boolean{min-height:32px;padding:6px 8px}
.pc-product-dialog .pc-options{gap:6px 13px;padding:6px 8px}
.pc-product-dialog .pc-version{margin-bottom:7px;padding:6px 8px;line-height:1.4}
.pc-product-dialog .pc-product-prices{border-color:#d9e7e9}
.pc-product-dialog .pc-product-prices>.pc-section-title{color:#337e83}
.pc-product-dialog .pc-product-price-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
.pc-product-dialog .pc-product-field-mode{grid-column:1/-1}
.pc-product-dialog .pc-product-prices>.pc-help{margin:8px 0 0}
.pc-product-dialog .pc-product-prices>.pc-section-row{margin:8px 0 0;gap:7px;border-top:1px solid #edf1f5;padding-top:7px;align-items:flex-start}
.pc-product-dialog .pc-section-row h4{font-size:10.5px;line-height:1.4}
.pc-product-dialog .pc-product-prices .pc-unit{display:block;font-size:9px;margin-top:1px}
.pc-product-dialog .pc-product-prices .pc-text-button{padding:0;line-height:1.5;font-size:10px;white-space:nowrap}
.pc-product-dialog .pc-adjustment{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(65px,.8fr) 25px;gap:6px;margin-top:7px;align-items:end}
.pc-product-dialog .pc-adjustment label>span{font-size:9px;line-height:1.35;margin-bottom:3px;overflow-wrap:anywhere}
.pc-product-dialog .pc-adjustment :is(input,select){font-size:11px;padding:5px 6px}
.pc-product-dialog .pc-adjustment>.pc-icon-button{width:25px;height:32px}
.pc-product-dialog .pc-quote{padding:9px 10px;border-radius:8px}
.pc-product-dialog .pc-quote .pc-section-row{flex-wrap:wrap;gap:7px;align-items:center;margin:0 0 5px}
.pc-product-dialog .pc-quote .pc-actions{gap:6px;margin-left:auto}
.pc-product-dialog .pc-quote-qty{gap:5px;flex-wrap:wrap}
.pc-product-dialog .pc-quote-qty input{width:64px;padding:4px 6px}
.pc-product-dialog .pc-quote .pc-help{font-size:10px;line-height:1.45;color:#7b899f}
.pc-product-dialog .pc-quote p[role=status]{margin-top:7px}
.pc-product-dialog .pc-dialog-footer{padding:9px 14px;gap:7px}
.pc-product-dialog .pc-dialog-footer>.pc-help{font-size:10px;max-width:65%;line-height:1.4;color:#8190a5}
.pc-product-dialog .pc-dialog-footer>.pc-button{min-height:33px;padding:6px 12px;font-size:11px}
@media(max-width:1000px){
 .pc-product-dialog .pc-product-layout{grid-template-columns:minmax(0,1fr)}
 .pc-product-dialog .pc-product-main,.pc-product-dialog .pc-product-pricing{gap:9px}
 .pc-product-dialog .pc-product-price-fields{grid-template-columns:repeat(3,minmax(0,1fr))}
 .pc-product-dialog .pc-product-field-mode{grid-column:auto}
 .pc-product-dialog .pc-product-prices .pc-unit{display:inline;margin-left:3px}
 .pc-product-dialog .pc-adjustment{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(100px,.6fr) 30px}
 .pc-product-dialog .pc-quote .pc-section-row{flex-direction:row}
}
@media(max-width:700px){
 .pc-product-dialog .pc-product-data-fields,.pc-product-dialog .pc-product-parameters>.pc-fields,.pc-product-dialog .pc-product-price-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
 .pc-product-dialog .pc-product-field-name,.pc-product-dialog .pc-product-field-category{grid-column:1/-1}
 .pc-product-dialog .pc-product-prices .pc-unit{display:block;margin-left:0}
}
@media(max-width:560px){
 .pc-product-dialog .pc-dialog-header{padding:10px;gap:8px}
 .pc-product-dialog .pc-dialog-header h3{font-size:18px}
 .pc-product-dialog .pc-dialog-header small{font-size:9px}
 .pc-product-dialog .pc-product-body{padding:9px;scrollbar-gutter:auto}
 .pc-product-dialog .pc-product-layout,.pc-product-dialog .pc-product-main,.pc-product-dialog .pc-product-pricing{gap:9px}
 .pc-product-dialog .pc-fieldset{padding:8px}
 .pc-product-dialog .pc-fields{gap:7px 8px}
 .pc-product-dialog .pc-field-wide{grid-column:1/-1}
 .pc-product-dialog .pc-field input:not([type=checkbox]),.pc-product-dialog .pc-field select,.pc-product-dialog .pc-field textarea{font-size:13px;min-height:37px;padding:7px 8px}
 .pc-product-dialog .pc-field textarea{min-height:45px}
 .pc-product-dialog .pc-boolean{min-height:37px}
 .pc-product-dialog .pc-options{gap:7px 12px;padding:7px 8px}
 .pc-product-dialog .pc-adjustment{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 27px;padding:7px;gap:6px}
 .pc-product-dialog .pc-adjustment>label:first-child{grid-column:1/3}
 .pc-product-dialog .pc-adjustment>.pc-icon-button{grid-column:3;grid-row:1/3;width:27px;height:32px}
 .pc-product-dialog .pc-quote .pc-section-row{align-items:flex-start;flex-direction:column}
 .pc-product-dialog .pc-quote .pc-actions{margin-left:0}
 .pc-product-dialog .pc-dialog-footer{padding:9px;gap:7px}
 .pc-product-dialog .pc-dialog-footer>.pc-help{max-width:none;width:100%;font-size:9px}
 .pc-product-dialog .pc-dialog-footer>.pc-button{min-height:36px;padding:7px 10px}
}
@media(max-width:380px){
 .pc-product-dialog .pc-product-data-fields,.pc-product-dialog .pc-product-parameters>.pc-fields,.pc-product-dialog .pc-product-price-fields{grid-template-columns:minmax(0,1fr)}
 .pc-product-dialog .pc-product-field-name,.pc-product-dialog .pc-product-field-category{grid-column:auto}
}

/* Category → subcategory → saved specification. All parameter filters remain visible. */
.pc-hierarchy-nav{display:grid;grid-template-columns:minmax(150px,.7fr) minmax(210px,1.1fr) minmax(240px,1.2fr);gap:10px;padding:12px;background:white;border:1px solid #e0e5f0;border-radius:10px;margin-bottom:10px;align-items:end}
.pc-hierarchy-level{min-width:0}.pc-hierarchy-level>label{display:flex;align-items:center;gap:6px;margin-bottom:5px;font-size:10px;font-weight:650;color:#71809b}.pc-hierarchy-level>label>span{display:inline-flex;align-items:center;justify-content:center;width:17px;height:17px;background:#eaf6f5;color:#138b8e;border:1px solid #d6ebea;border-radius:5px;font-size:9px}.pc-hierarchy-level>label>small{font-weight:500;color:#9aa5b7;margin-left:auto}
.pc-hierarchy-level input,.pc-hierarchy-level select{width:100%;min-width:0;min-height:35px;padding:7px 9px;border:1px solid #dce3ee;border-radius:6px;background:#fafbfe;color:#445775;font:inherit;font-size:11px}.pc-hierarchy-level :is(input,select):focus-visible{outline:2px solid #a691df;outline-offset:2px}.pc-hierarchy-level select{font-weight:600;background:#fff}
.pc-taxonomy-note{display:flex;align-items:center;gap:7px;font-size:10px;color:#8a7956;background:#fffbee;border:1px solid #eee4c5;padding:7px 10px;border-radius:7px;margin-bottom:10px}
.pc-subcategory-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 9px;padding:2px 1px}.pc-subcategory-heading>div{display:flex;flex-wrap:wrap;gap:6px 8px;align-items:center;min-width:0}.pc-subcategory-heading strong{font-size:13px}.pc-subcategory-heading small{font-size:10px;color:#8491a7}.pc-code{display:inline-flex;white-space:nowrap;background:#f0f6fa;color:#51829b;border:1px solid #dde9f0;border-radius:5px;padding:2px 5px;font:600 10px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace;vertical-align:middle}.pc-table .pc-code{font-size:9px;margin-right:4px}.pc-hierarchy-empty{display:flex;align-items:center;flex-wrap:wrap;gap:7px 12px;font-size:11px;color:#7a879d;background:#fbfcff;border:1px dashed #dce4ed;border-radius:8px;padding:12px;margin-bottom:10px}.pc-hierarchy-empty strong{color:#52617d}.pc-hierarchy-empty span{flex:1;min-width:230px}.pc-type-template{margin:10px 0 12px}
.pc-parameter-filters{box-sizing:border-box;font-family:inherit;font-size:12px;line-height:1.4;background:#fdfefe;border:1px solid #dce9eb;border-radius:9px;padding:10px 12px;margin-bottom:10px;color:#324760}.pc-parameter-filters *{box-sizing:border-box}.pc-parameter-filter-heading{display:flex;gap:7px 12px;align-items:center;flex-wrap:wrap;margin-bottom:9px}.pc-parameter-filter-heading>strong{font-size:11px;color:#387e83;display:flex;gap:7px;align-items:center}.pc-parameter-filter-heading>span{font-size:9px;color:#8494a8}.pc-parameter-filter-heading>button{margin-left:auto;padding:3px 6px;border:1px solid #dbe8eb;border-radius:5px;background:#f3faf9;color:#367f83;font:inherit;font-size:10px;cursor:pointer}.pc-parameter-filter-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,155px),1fr));gap:8px 10px}.pc-parameter-filter{display:flex;flex-direction:column;min-width:0;gap:4px}.pc-parameter-filter>label,.pc-parameter-filter legend{font-size:10px;color:#6d7f98;font-weight:600;line-height:1.4}.pc-parameter-filter small{font-size:9px;font-weight:400;color:#91a0b1}.pc-parameter-filter :is(input:not([type=checkbox]),select){min-width:0;width:100%;min-height:32px;padding:5px 7px;border:1px solid #dbe5ec;border-radius:5px;background:white;color:#3d526e;font:inherit;font-size:11px}.pc-filter-range{display:flex;align-items:center;gap:5px}.pc-filter-range>input{flex:1;width:0!important}.pc-filter-range>span{color:#a3b0be;font-size:10px}.pc-parameter-filter-multi{grid-column:1/-1}.pc-parameter-filter>fieldset{padding:5px 8px 7px;margin:0;border:1px solid #e0e9ed;border-radius:6px;min-width:0}.pc-parameter-filter legend{padding:0 3px}.pc-filter-options{display:flex;gap:5px 10px;flex-wrap:wrap}.pc-filter-options>label{display:inline-flex;align-items:center;gap:5px;font-size:10px;color:#60738f;cursor:pointer}.pc-filter-options input{width:13px;height:13px;margin:0;accent-color:#0c9597}.pc-filter-options>span{font-size:10px;color:#8c9aad}.pc-parameter-filter :is(input,select):focus-visible,.pc-parameter-filter-heading>button:focus-visible{outline:2px solid #8cbec0;outline-offset:2px}.pc-parameter-filters :disabled{opacity:.6;cursor:default}
@media(max-width:900px){.pc-hierarchy-nav{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.pc-hierarchy-search{grid-column:1/-1}}
@media(max-width:600px){.pc-hierarchy-nav{grid-template-columns:minmax(0,1fr);gap:9px;padding:10px}.pc-hierarchy-search{grid-column:auto}.pc-hierarchy-level :is(input,select){font-size:12px;min-height:38px}.pc-subcategory-heading{align-items:flex-start;flex-direction:column}.pc-subcategory-heading>.pc-button{width:100%;min-height:35px}.pc-parameter-filters{padding:9px}.pc-parameter-filter-grid{gap:8px}.pc-parameter-filter-heading>span{flex-basis:100%;order:3;font-size:9px}.pc-parameter-filter :is(input:not([type=checkbox]),select){font-size:12px;min-height:36px}.pc-parameter-filter-multi{grid-column:1/-1}.pc-hierarchy-empty span{min-width:0;flex-basis:100%}.pc-taxonomy-note{align-items:flex-start;font-size:9px}.pc-toolbar>.pc-actions{flex-wrap:wrap}.pc-toolbar>.pc-actions .pc-button{min-width:130px}.pc-filter-options>label{min-height:24px}}
@media(max-width:360px){.pc-parameter-filter-grid{grid-template-columns:minmax(0,1fr)}.pc-parameter-filter-multi{grid-column:auto}}

/* Compact schema editor; technical identity stays available in a native disclosure. */
.pc-schema-editor .pc-schema-fields{grid-template-columns:repeat(6,minmax(0,1fr))}
.pc-schema-editor .pc-schema-fields>*{grid-column:span 3}
.pc-schema-editor .pc-schema-fields>.pc-schema-field-kind{grid-column:span 2}
.pc-schema-editor .pc-schema-fields>.pc-schema-field-unit{grid-column:span 1}
.pc-schema-editor .pc-schema-fields>.pc-field-wide{grid-column:1/-1}
.pc-field-advanced{margin-top:9px;border-top:1px solid #edf0f5;padding-top:7px}
.pc-field-advanced>summary{width:fit-content;max-width:100%;padding:2px 0;color:#7c6b99;font-size:10px;font-weight:600;cursor:pointer}
.pc-field-advanced>summary:hover{color:#6542aa}
.pc-field-advanced>summary:focus-visible{outline:2px solid #a691df;outline-offset:3px;border-radius:3px}
.pc-field-advanced>.pc-field{margin-top:8px}
@media(max-width:560px){.pc-schema-editor .pc-schema-fields{grid-template-columns:minmax(0,1fr)}.pc-schema-editor .pc-schema-fields>.pc-field,.pc-schema-editor .pc-schema-fields>.pc-check{grid-column:1/-1}}

/* Separate authoritative sheet code from the product name. */
.pc-table .pc-product-code{width:1%;white-space:nowrap}.pc-table td.pc-product-code{color:#7451ae;font:600 11px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace;font-variant-numeric:tabular-nums}

/* Main product-code groups retain all visible variants and table actions. */
.pc-table .pc-product-group th{padding:8px 15px;background:#f4f1fa;border-top:1px solid #e5ddef;border-bottom:1px solid #e5ddef;color:#655080}.pc-product-group-heading{display:flex;align-items:center;gap:12px}.pc-product-group-heading strong{font:650 11px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace}.pc-product-group-heading span{font-size:10px;font-weight:400;color:#8a7a9b}

/* Four-level hierarchy: compact, responsive navigation. */
.pc-hierarchy-nav{grid-template-columns:minmax(130px,.65fr) repeat(3,minmax(180px,1fr))}
@media(max-width:1100px){.pc-hierarchy-nav{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.pc-hierarchy-nav{grid-template-columns:1fr}}

/* Searchable category picker, styled consistently across browsers. */
.pc-hierarchy-nav{grid-template-columns:minmax(230px,1.15fr) repeat(2,minmax(180px,1fr))}
.pc-category-picker{position:relative;min-width:0}
.pc-category-trigger{display:flex;align-items:center;gap:8px;width:100%;min-height:35px;padding:5px 10px;background:#fff;border:1px solid #dce3ee;border-radius:7px;color:#354866;font-family:inherit;font-size:11px;font-weight:600;line-height:1.4;text-align:left;cursor:pointer;transition:border-color .15s,box-shadow .15s}
.pc-category-trigger:hover{border-color:#b9a5d8;background:#fdfcff}
.pc-category-trigger.is-open{border-color:#a88bd1;box-shadow:0 0 0 3px #7954b712}
.pc-category-trigger:disabled{background:#f4f6f9;color:#929caf;cursor:default}
.pc-editable-choice>.pc-category-editable-input{display:block;box-sizing:border-box;padding-right:36px;font-weight:400;cursor:text;outline:none}
.pc-editable-choice>.pc-category-editable-input:focus{border-color:#a88bd1;box-shadow:0 0 0 3px #7954b712}
.pc-editable-choice>.pc-category-editable-toggle{position:absolute;right:1px;top:1px;display:flex;align-items:center;justify-content:center;width:32px;height:33px;padding:0;border:0;border-radius:0 6px 6px 0;background:transparent;color:#8a97ab;cursor:pointer}
.pc-category-editable-toggle:hover{background:#f4effa;color:#7750ac}
.pc-category-editable-toggle:focus-visible{outline:2px solid #a88bd1;outline-offset:-3px}
.pc-category-editable-toggle:disabled{cursor:default;color:#afb7c5}
.pc-category-editable-toggle .pc-category-chevron{margin:0}
.pc-category-editable-toggle[aria-expanded=true] .pc-category-chevron{transform:rotate(180deg)}
.pc-category-code{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-width:62px;padding:4px 7px;background:#f1edf9;border:1px solid #e8def5;border-radius:5px;color:#7750ac;font:650 10px/1.3 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:nowrap}
.pc-category-trigger .pc-category-code{min-width:58px;padding:2px 5px;font-size:9px}
.pc-category-symbol{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:25px;height:25px;border:1px solid #e4ebf2;border-radius:6px;background:#f4f7fb;color:#8295af;font-size:11px}
.pc-category-trigger .pc-category-symbol{width:21px;height:21px;font-size:10px;background:#f3f7f9;color:#7493a1}
.pc-category-selected-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pc-category-chevron{margin-left:auto;font-size:9px;color:#8a97ab;transition:transform .15s}
.pc-category-trigger.is-open .pc-category-chevron{transform:rotate(180deg)}
.pc-category-popup{position:absolute;z-index:85;top:calc(100% + 7px);left:0;width:min(440px,calc(100vw - 40px));min-width:100%;overflow:hidden;border:1px solid #dedfea;border-radius:12px;background:#fff;box-shadow:0 14px 38px #25324b24,0 3px 9px #25324b0a;color:#35415b}
.pc-category-popup.opens-up{top:auto;bottom:calc(100% + 7px)}
.pc-category-popup-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 12px 7px}
.pc-category-popup-heading>span{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:750;color:#3c4963}
.pc-category-popup-heading>span>i{color:#9778bf;font-size:12px}
.pc-category-popup-heading small{padding:1px 6px;border-radius:5px;background:#f3eefb;color:#8a65b3;font-size:9px;font-weight:600}
.pc-category-close{display:flex;align-items:center;justify-content:center;width:23px;height:23px;padding:0;border:0;border-radius:5px;background:transparent;color:#94a0b3;cursor:pointer;font-size:11px}
.pc-category-close:hover{color:#71549e;background:#f4effa}
.pc-category-search{position:relative;margin:0 10px 8px}
.pc-category-search>i{position:absolute;left:11px;top:11px;color:#a08bb9;font-size:11px;pointer-events:none}
.pc-category-search input{padding:8px 10px 8px 32px;width:100%;min-height:34px;border:1px solid #e4dcef;border-radius:7px;background:#faf8fd;color:#374666;font-family:inherit;font-size:11px;outline:none}
.pc-category-search input:focus{border-color:#b49bd7;box-shadow:0 0 0 2px #e6dcf340}
.pc-category-search input::placeholder{color:#9b98ae}
.pc-category-options{overflow-y:auto;overscroll-behavior:contain;padding:0 6px 5px;scrollbar-width:thin;scrollbar-color:#d7cde4 transparent}
.pc-category-options::-webkit-scrollbar{width:6px}.pc-category-options::-webkit-scrollbar-thumb{background:#d7cde4;border-radius:8px}
.pc-category-option{display:flex;align-items:center;gap:9px;width:100%;min-height:38px;margin:1px 0;padding:6px 8px;border:1px solid transparent;border-radius:7px;background:#fff;color:#465671;text-align:left;font-family:inherit;cursor:pointer}
.pc-category-option.is-active{background:#f6f7fb}
.pc-category-option.is-selected{background:#f3edfb;border-color:#e8ddf4;color:#6d469f}
.pc-category-option.is-selected .pc-category-code{background:#e9ddf7;border-color:#ddceee;color:#7246aa}
.pc-category-option.is-utility{min-height:37px}
.pc-category-option.is-utility+.pc-category-option:not(.is-utility){margin-top:6px;border-top-color:#eef0f5}
.pc-category-option-copy{display:block;flex:1;min-width:0}
.pc-category-option-copy strong{display:block;font-size:11px;font-weight:600;line-height:1.45;overflow-wrap:anywhere}
.pc-category-option-copy small{display:block;margin-top:1px;font-size:9px;font-weight:400;color:#99a3b5}
.pc-category-product-count{flex-shrink:0;padding:2px 5px;border:1px solid #e4e9f0;border-radius:5px;color:#8593a8;background:#f7f9fc;font-family:inherit;font-size:9px;font-weight:600;line-height:1.3}
.pc-category-check{flex-shrink:0;margin-left:3px;color:#8455b5;font-size:10px}
.pc-category-popup-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 12px;border-top:1px solid #edf0f6;background:#fafbfe;color:#94a0b3;font-size:9px}
.pc-category-popup-footer kbd{border:1px solid #e0e5ed;border-radius:4px;background:#fff;padding:1px 4px;color:#a4aebf;font-family:inherit;font-size:8px;line-height:1.4}
.pc-category-no-results{display:flex;flex-direction:column;align-items:center;gap:6px;padding:26px 10px;color:#a399b4;font-size:11px;text-align:center}
.pc-category-no-results>i{font-size:22px;color:#c4b2dc;margin-bottom:3px}.pc-category-no-results strong{color:#7d7190;font-size:12px}.pc-category-no-results span{font-size:10px;color:#9aa4b5}
@media(max-width:1000px){.pc-hierarchy-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.pc-hierarchy-nav>.pc-hierarchy-level:first-child{grid-column:1/-1}.pc-category-popup{width:min(440px,100%)}}
@media(max-width:600px){.pc-hierarchy-nav{grid-template-columns:1fr}.pc-category-trigger{min-height:38px;font-size:12px}.pc-category-popup{width:100%}.pc-category-option{min-height:41px}.pc-category-option-copy strong{font-size:12px}.pc-category-search input{font-size:12px}}

/* Keep the rightmost hierarchy popup inside the viewport. */
.pc-category-popup.align-right{left:auto;right:0}

/* The product form uses the same searchable cascade as the catalog list. */
.pc-product-dialog .pc-product-hierarchy{margin-bottom:10px;padding:8px 10px}
.pc-product-dialog .pc-form-hierarchy-nav{padding:0;margin:0;border:0;background:transparent;box-shadow:none;gap:9px}
.pc-product-dialog .pc-product-hierarchy>.pc-help{margin:6px 0 0;font-size:10px;line-height:1.45}
.pc-product-dialog .pc-category-search input{padding-left:32px}
.pc-category-lock{font-size:9px;color:#98a4b6;flex-shrink:0}
.pc-category-option[aria-disabled=true]{opacity:.55;cursor:default}
.pc-creation-hint{display:flex;align-items:center;gap:6px;margin:-2px 0 10px;padding:0 3px;color:#7c889e;font-size:10px;line-height:1.5}
.pc-creation-hint>i{color:#a08cbb;font-size:10px;flex-shrink:0}
.pc-type-dialog .pc-category-search input{min-height:34px;padding:8px 10px 8px 32px;border:1px solid #e4dcef;border-radius:7px;background:#faf8fd;font-size:11px}
.pc-type-dialog .pc-category-search input:focus{border-color:#b49bd7;box-shadow:0 0 0 2px #e6dcf340}
.pc-type-template .pc-category-popup{min-width:0;max-width:100%}
@media(max-width:600px){.pc-type-dialog .pc-category-search input{font-size:12px}}

/* Shared specification facets precede explicit group confirmation and variant choice. */
.pc-catalog-hierarchy{grid-template-columns:repeat(2,minmax(0,1fr))}
.pc-group-stage{background:#fff;border:1px solid #dbe8eb;border-radius:10px;margin-bottom:10px;min-width:0}
.pc-group-facets{padding:10px 12px;color:#324760;font-size:11px;line-height:1.4;box-sizing:border-box}
.pc-group-facets *{box-sizing:border-box}
.pc-group-facet-heading{display:flex;align-items:center;flex-wrap:wrap;gap:7px 10px}
.pc-group-facet-heading>strong{display:flex;align-items:center;gap:7px;font-size:12px;color:#287e83}
.pc-group-facet-heading>span{font-size:10px;background:#edf7f6;color:#347b7d;border:1px solid #d7eae8;border-radius:5px;padding:2px 6px;font-variant-numeric:tabular-nums}
.pc-group-facet-heading>button{margin-left:auto;font:inherit;font-size:10px;padding:3px 6px;color:#367f83;background:#f5faf9;border:1px solid #dce9e7;border-radius:5px;cursor:pointer}
.pc-group-facet-help{margin:5px 0 8px;font-size:10px;color:#8996a7;line-height:1.5}
.pc-group-constants{display:flex;flex-wrap:wrap;gap:5px;margin:8px 0 10px}
.pc-group-constants>span{display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:4px 6px;padding:4px 7px;background:#f6f9fb;border:1px solid #e6ecf0;border-radius:5px;max-width:100%}
.pc-group-constants small{font-size:9px;color:#8b98aa}.pc-group-constants strong{font-size:10px;font-weight:500;color:#526781;overflow-wrap:anywhere}
.pc-group-facets :disabled{opacity:.55;cursor:default}.pc-group-facet-heading>button:focus-visible{outline:2px solid #8cbec0;outline-offset:2px}
.pc-group-selection{display:grid;grid-template-columns:minmax(240px,1fr) minmax(180px,.8fr);align-items:center;gap:8px 16px;padding:10px 12px;border-top:1px solid #e7eef1;background:#fbfdfd;border-radius:0 0 10px 10px}
.pc-group-confirmation{display:flex;align-items:center;flex-wrap:wrap;gap:4px 6px;margin:16px 0 0;font-size:10px;color:#8794a7;line-height:1.5}
.pc-group-confirmation strong{color:#327f83;font-size:11px}.pc-group-confirmation>i{color:#299e91}
.pc-group-no-results{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:8px 12px;background:#fffaf2;border-top:1px solid #f3e9d7;border-radius:0 0 10px 10px;color:#9b7a4c;font-size:10px}
@media(max-width:1000px){.pc-catalog-hierarchy>.pc-hierarchy-level:first-child{grid-column:auto}}
@media(max-width:600px){.pc-catalog-hierarchy,.pc-group-selection{grid-template-columns:minmax(0,1fr)}.pc-group-facets,.pc-group-selection{padding:9px 10px}.pc-group-confirmation{margin:0}.pc-group-facet-heading>strong{font-size:11px}.pc-group-constants{gap:4px}.pc-group-no-results>.pc-button{width:100%}}

/* Display a unique matching specification without silently confirming its group. */
.pc-group-confirm-controls{display:flex;align-items:center;gap:7px;min-width:0}
.pc-group-confirm-controls>.pc-category-picker{flex:1;min-width:0}
.pc-confirm-group-button{flex-shrink:0;min-height:35px;white-space:nowrap;font-size:11px;padding:7px 10px;background:#eaf6f3;border-color:#c9e6df;color:#267d72}
.pc-confirm-group-button:hover:not(:disabled){background:#dff1eb;border-color:#96cbbb;color:#1c685e}
@media(max-width:600px){.pc-group-confirm-controls{flex-wrap:wrap}.pc-group-confirm-controls>.pc-category-picker{flex-basis:100%}.pc-confirm-group-button{width:100%;min-height:36px}}

/* A custom group is specified before its first priced product. */
.pc-group-step{width:min(900px,100%)}
.pc-creation-steps{display:flex;gap:8px;list-style:none;padding:0;margin:0 0 11px;color:#8c98ac;font-size:11px}
.pc-creation-steps>li{display:flex;align-items:center;gap:6px;padding:5px 9px;border:1px solid #e5e8f0;border-radius:6px;background:#fff}
.pc-creation-steps>li>span{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;background:#f0f2f7;border-radius:5px;font-size:10px}
.pc-creation-steps>li[aria-current=step]{background:#f2faf8;color:#267e78;border-color:#d6e9e4;font-weight:600}
.pc-creation-steps>li[aria-current=step]>span{background:#dff1eb}
.pc-group-context{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:0 0 12px;padding:7px 9px;background:#fff;border:1px solid #e2e8f0;border-radius:7px;color:#62728a;font-size:11px}
.pc-group-context>strong{font-weight:500}.pc-group-context>i{font-size:9px;color:#b2bdcd;margin:0 2px}
.pc-group-step .pc-group-parameters>.pc-fields{grid-template-columns:repeat(3,minmax(0,1fr))}
.pc-group-spec-summary{padding:8px 9px;background:#f7fbfa;border:1px solid #deebe7;border-radius:7px;margin-bottom:9px}
.pc-group-spec-summary>.pc-section-row{margin:0 0 7px}
.pc-group-spec-summary dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 12px;margin:0}
.pc-group-spec-summary dl>div{display:flex;align-items:baseline;gap:6px;min-width:0;font-size:10px;line-height:1.45}
.pc-group-spec-summary dt{color:#8c9aab;flex-shrink:0;max-width:48%;font-weight:400}.pc-group-spec-summary dd{margin:0;color:#4c6478;overflow-wrap:anywhere}
@media(max-width:650px){.pc-group-step .pc-group-parameters>.pc-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.pc-group-spec-summary dl{grid-template-columns:minmax(0,1fr)}}
@media(max-width:420px){.pc-group-step .pc-group-parameters>.pc-fields{grid-template-columns:minmax(0,1fr)}.pc-creation-steps{gap:5px;font-size:10px}.pc-creation-steps>li{padding:5px 6px}}

.pc-product-dialog .pc-first-product-variants{margin:5px 0 10px}
.pc-product-dialog .pc-first-product-variants>.pc-fields{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:6px}
@media(max-width:650px){.pc-product-dialog .pc-first-product-variants>.pc-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){.pc-product-dialog .pc-first-product-variants>.pc-fields{grid-template-columns:minmax(0,1fr)}}

/* Create a group beside the group selector; keep product creation as a separate action. */
.pc-group-section-heading{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:7px 12px}
.pc-group-section-heading>label{margin:0;font-size:11px;color:#516e83;flex-shrink:0}
.pc-group-section-heading>.pc-button{min-height:31px;white-space:nowrap}
.pc-group-selection .pc-group-confirmation{margin:0}
@media(max-width:600px){.pc-group-section-heading{align-items:stretch}.pc-group-section-heading>.pc-button{width:100%;min-height:35px}}

/* The add-product action belongs to the confirmed group's variant filters. */
.pc-variant-actions{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:7px 10px}
.pc-variant-target{display:inline-flex;align-items:center;gap:6px;color:#718298;font-size:10px;white-space:nowrap}
.pc-variant-actions>.pc-button{min-height:31px;white-space:nowrap}
@media(max-width:600px){.pc-variant-actions{flex-basis:100%;margin-left:0;justify-content:space-between;order:4}.pc-variant-actions>.pc-button{min-height:35px}.pc-variant-target{flex-wrap:wrap;white-space:normal}}

/* Append new group values and fields without leaving the specification draft. */
.pc-new-option{margin-top:3px}.pc-new-option-toggle{font-size:10px;display:inline-flex;gap:4px;align-items:center}.pc-new-option-editor{display:flex;flex-wrap:wrap;gap:5px;align-items:center}.pc-new-option-editor>input{flex:1;min-width:100px!important;min-height:30px!important}.pc-new-option-editor>.pc-text-button{font-size:10px}.pc-option-error{flex-basis:100%;font-size:10px;color:#b74b4b}
.pc-group-schema-actions{display:flex;align-items:center;gap:10px;margin-top:11px;padding-top:9px;border-top:1px solid #e7edf1}.pc-group-schema-actions>span{font-size:10px;line-height:1.5;color:#7a8da1}.pc-group-schema-actions>.pc-button{flex-shrink:0}
.pc-group-field-editor{display:grid;grid-template-columns:2fr 1fr 1fr;gap:9px;margin-top:10px;padding:11px;background:#f7fafb;border:1px solid #dce8e9;border-radius:8px}.pc-group-field-editor>.pc-field-wide{grid-column:1/-1}.pc-group-field-editor-footer{grid-column:1/-1;display:flex;align-items:center;gap:9px;flex-wrap:wrap}.pc-group-field-editor-footer>span{flex:1;min-width:200px;font-size:10px;color:#7a8da1;line-height:1.5}.pc-group-field-editor-footer>.pc-text-button{font-size:10px}
@media(max-width:600px){.pc-group-schema-actions{align-items:flex-start;flex-wrap:wrap}.pc-group-field-editor{grid-template-columns:minmax(0,1fr)}.pc-group-field-editor-footer>span{flex-basis:100%;min-width:0}}

/* Subcategory creation stays beside its picker and uses the existing category guard. */
.pc-subcategory-controls{display:flex;align-items:center;gap:8px;min-width:0}
.pc-subcategory-controls>.pc-category-picker{flex:1;min-width:0}
.pc-subcategory-controls>.pc-button{flex-shrink:0;min-height:35px;white-space:nowrap}
@media(max-width:600px){.pc-subcategory-controls{flex-wrap:wrap}.pc-subcategory-controls>.pc-category-picker{flex-basis:100%}.pc-subcategory-controls>.pc-button{width:100%;min-height:38px}}

/* Optional dimension ranges follow the format filter without hiding active constraints. */
.pc-group-facet-heading>.pc-dimension-toggle+button{margin-left:0}

/* Product parameters: editable variant, saved group summary, then source links. */
.pc-product-dialog .pc-product-parameters{padding:10px 12px 12px}
.pc-product-dialog .pc-product-parameters>legend{font-size:12px;color:#34465f}
.pc-product-dialog .pc-parameter-stack{display:flex;flex-direction:column;gap:10px;margin-top:4px}
.pc-product-dialog .pc-parameter-card{min-width:0;border:1px solid #e1e7ef;border-radius:9px;padding:11px 12px;background:#fff}
.pc-product-dialog .pc-parameter-card-header{display:flex;align-items:flex-start;gap:9px;margin-bottom:10px;min-width:0}
.pc-product-dialog .pc-parameter-card-header>div{flex:1;min-width:0}
.pc-product-dialog .pc-parameter-card-header h4{display:flex;align-items:center;flex-wrap:wrap;gap:6px 8px;margin:0;color:#33435c;font-size:12px;font-weight:750;line-height:1.45}
.pc-product-dialog .pc-parameter-card-header p{margin:2px 0 0;font-size:10.5px;line-height:1.5;color:#69798d}
.pc-product-dialog .pc-parameter-card-icon{display:flex;align-items:center;justify-content:center;width:28px;height:28px;flex-shrink:0;border:1px solid #e0e5ed;border-radius:7px;background:#f1f4f8;color:#718198;font-size:12px}
.pc-product-dialog .pc-parameter-badge{display:inline-flex;align-items:center;gap:4px;flex-shrink:0;padding:3px 6px;border:1px solid #dfe5ec;border-radius:5px;background:#fff;color:#627286;font-size:9px;line-height:1.4;font-weight:600;white-space:nowrap}
.pc-product-dialog .pc-parameter-card-variant{background:#fcfaff;border-color:#dfd5ef}
.pc-product-dialog .pc-parameter-card-variant .pc-parameter-card-icon{background:#eee7fa;border-color:#e0d4f2;color:#7652ad}
.pc-product-dialog .pc-parameter-card-variant .pc-parameter-badge{color:#7351a7;background:#f5effd;border-color:#e5d8f5}
.pc-product-dialog .pc-parameter-card-variant>.pc-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.pc-product-dialog .pc-parameter-card-variant .pc-field>label{font-size:11px;color:#4e4265;font-weight:650}
.pc-product-dialog .pc-parameter-card-variant .pc-field :is(input:not([type=checkbox]),select,textarea){min-height:36px;font-size:12.5px;border-color:#d9cde9;background:#fff;color:#34435d}
.pc-product-dialog .pc-parameter-card-group{background:#f7fbfa;border-color:#d7e7e2}
.pc-product-dialog .pc-parameter-card-group .pc-parameter-card-icon{background:#e9f5f1;border-color:#d5e9e2;color:#2a8276}
.pc-product-dialog .pc-parameter-card-group .pc-parameter-badge{color:#54786e;background:#f0f8f5;border-color:#d9e9e2}
.pc-product-dialog .pc-parameter-card-group .pc-text-button{margin-left:auto;padding:4px 0 4px 5px;font-size:10px;white-space:normal;text-align:right}
.pc-product-dialog .pc-parameter-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;margin:0}
.pc-product-dialog .pc-parameter-summary>div{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:6px 0;min-width:0;border-top:1px solid #e3eeea;font-size:11px;line-height:1.5}
.pc-product-dialog .pc-parameter-summary dt{color:#697d79;font-weight:500;max-width:48%;overflow-wrap:anywhere}
.pc-product-dialog .pc-parameter-summary dd{flex:1;min-width:0;margin:0;color:#29483f;font-size:11.5px;font-weight:650;text-align:right;white-space:pre-wrap;overflow-wrap:anywhere}
.pc-product-dialog .pc-parameter-card-source{background:#fafbfc;border-color:#e1e6ee}
.pc-product-dialog .pc-parameter-card-source .pc-field>label{color:#617189;font-size:10.5px}
.pc-product-dialog .pc-parameter-card-source .pc-field :is(input,select,textarea){min-height:34px;background:#fff}
@media(max-width:650px){.pc-product-dialog .pc-parameter-card-variant>.pc-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.pc-product-dialog .pc-parameter-card{padding:10px}.pc-product-dialog .pc-parameter-summary{gap:0 14px}}
@media(max-width:420px){.pc-product-dialog .pc-parameter-card-variant>.pc-fields,.pc-product-dialog .pc-parameter-card-source>.pc-fields,.pc-product-dialog .pc-parameter-summary{grid-template-columns:minmax(0,1fr)}.pc-product-dialog .pc-parameter-card-header{gap:7px}.pc-product-dialog .pc-parameter-badge{font-size:8px;padding:3px 5px}.pc-product-dialog .pc-product-parameters{padding:8px}.pc-product-dialog .pc-parameter-summary>div{padding:7px 0}}

/* Source identifiers remain editable inside an initially collapsed disclosure. */
.pc-product-dialog .pc-source-advanced{padding:0;overflow:hidden}
.pc-product-dialog .pc-source-advanced-summary{display:flex;align-items:center;gap:9px;padding:9px 12px;min-height:46px;cursor:pointer;list-style:none;color:#51627b}
.pc-product-dialog .pc-source-advanced-summary::-webkit-details-marker{display:none}
.pc-product-dialog .pc-source-advanced-summary::marker{content:''}
.pc-product-dialog .pc-source-advanced-summary:hover{background:#f2f5f9}
.pc-product-dialog .pc-source-advanced-summary:focus-visible{outline:2px solid #a691df;outline-offset:-3px;border-radius:8px}
.pc-product-dialog .pc-source-advanced-label{display:flex;flex:1;min-width:0;flex-direction:column;gap:1px}
.pc-product-dialog .pc-source-advanced-label>strong{font-size:11.5px;font-weight:700;line-height:1.4}
.pc-product-dialog .pc-source-advanced-label>small{font-size:9.5px;color:#78879a;line-height:1.4}
.pc-product-dialog .pc-source-advanced-chevron{flex-shrink:0;font-size:10px;color:#8793a5}
.pc-product-dialog .pc-source-advanced[open]>.pc-source-advanced-summary{border-bottom:1px solid #e4e9f0}
.pc-product-dialog .pc-source-advanced[open] .pc-source-advanced-chevron{transform:rotate(180deg)}
.pc-product-dialog .pc-source-advanced-body{padding:10px 12px 12px}
.pc-product-dialog .pc-source-advanced-body>p{margin:0 0 8px;color:#6e7e92;font-size:10.5px;line-height:1.5}
@media(max-width:420px){.pc-product-dialog .pc-source-advanced-body>.pc-fields{grid-template-columns:minmax(0,1fr)}.pc-product-dialog .pc-source-advanced-summary{padding:9px 10px}.pc-product-dialog .pc-source-advanced-body{padding:9px 10px 10px}}
/* Product applet subnavigation and deadline pricing schemes. */
.pc-applet-tabs{display:flex;gap:5px;border-bottom:1px solid #e1e6ee;margin:0 0 16px;padding-bottom:7px}
.pc-applet-tabs button{display:flex;align-items:center;gap:8px;padding:9px 15px;border:1px solid transparent;border-radius:8px;background:transparent;color:#718099;font:inherit;font-size:12px;font-weight:600;cursor:pointer}
.pc-applet-tabs button.is-active{color:#7250b3;background:#f2edfa;border-color:#e1d5f4}
.pc-applet-tabs button:focus-visible{outline:2px solid #9d7bcd;outline-offset:2px}
.ps-module{color:#374766;font-size:12px}.ps-header{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:14px}.ps-header h4{font-size:19px;font-weight:750;color:#202a43;letter-spacing:-.4px;margin:0}.ps-header p{margin:4px 0 0;color:#8290a6;font-size:11px}
.ps-layout{display:grid;grid-template-columns:235px minmax(0,1fr);gap:14px;align-items:start}.ps-sidebar{background:white;border:1px solid #e1e6ef;border-radius:11px;padding:11px}.ps-sidebar nav{display:flex;flex-direction:column;gap:3px;margin-top:9px;max-height:590px;overflow:auto}.ps-sidebar nav button{display:flex;align-items:center;gap:9px;border:1px solid transparent;border-radius:7px;padding:8px;background:white;color:#63738c;font:inherit;text-align:left;cursor:pointer}.ps-sidebar nav button>span{flex:1;min-width:0;font-weight:600}.ps-sidebar small{display:block;font-size:9px;color:#96a1b1;font-weight:400;margin-top:2px}.ps-sidebar nav button>i:last-child{font-size:9px;opacity:.5}.ps-sidebar nav .is-active{background:#f2edfa;border-color:#e2d7f3;color:#7751b4}.ps-sidebar button:disabled{cursor:default}.ps-sidebar button:focus-visible{outline:2px solid #b396da;outline-offset:-2px}.ps-source-note{font-size:9px;line-height:1.7;color:#93a0b2;padding:10px 5px 0;margin:10px 0 0;border-top:1px solid #edf0f5}
.ps-editor{min-width:0;background:#fff;border:1px solid #e1e6ef;border-radius:11px;overflow:hidden}.ps-editor-heading{display:flex;align-items:center;gap:12px;padding:13px 15px;border-bottom:1px solid #e8ecf4}.ps-editor-heading>.pc-field{flex:1;max-width:440px}.ps-editor-heading .pc-code{white-space:nowrap;font-size:10px}.ps-editor-heading>.pc-button{margin-left:auto}.ps-editor-heading .pc-field>span{font-size:10px;color:#8391a8;font-weight:600}
.ps-calculator{display:grid;grid-template-columns:minmax(210px,1fr) 180px 85px;gap:13px;padding:15px;background:#f1f9f8;border-bottom:1px solid #dfefed;align-items:center}.ps-formula-label{display:block;color:#489294;font-size:9px;text-transform:uppercase;letter-spacing:.8px;font-weight:700;margin-bottom:5px}.ps-calculator strong{display:block;font-size:13px;color:#287b7e;font-weight:650}.ps-calculator small{display:block;margin-top:4px;font-size:9px;color:#7d9c9f}.ps-calculator .pc-field>span{font-size:10px;color:#5a8488}
.ps-table-scroll{overflow:auto;max-height:640px;scrollbar-width:thin}.ps-table{width:100%;border-collapse:collapse;font-size:11px;white-space:nowrap}.ps-table thead{position:sticky;top:0;z-index:1;background:#f7f8fc}.ps-table th{text-align:left;padding:10px 12px;font-size:9px;color:#8795ad;font-weight:650;border-bottom:1px solid #e5eaf3}.ps-table td{padding:5px 12px;border-bottom:1px solid #edf0f6;font-variant-numeric:tabular-nums}.ps-table td:first-child{color:#a1aaba;font-size:9px;width:25px}.ps-table th:nth-child(n+3),.ps-table td:nth-child(n+3){text-align:right}.ps-table input{width:100%;min-width:80px;max-width:160px;padding:7px 8px;border:1px solid #e1e6f0;border-radius:5px;background:white;font:inherit;color:#485975}.ps-table td:nth-child(3) input{max-width:100px;text-align:right}.ps-table input:focus{outline:2px solid #c8b4e4;border-color:#ae91d4}.ps-table input:disabled{border-color:transparent;background:transparent;opacity:1}.ps-table tr:hover{background:#fcfbff}.ps-table .ps-net{font-weight:700;color:#33425d}.ps-table .ps-profit{color:#389591}.ps-table td:last-child>.pc-icon-button{width:26px;height:26px;font-size:10px}
.ps-footer{padding:12px 15px;display:flex;gap:16px;justify-content:space-between;align-items:center;border-top:1px solid #e8ecf4;background:#fcfdff}.ps-footer>div:first-child{max-width:600px}.ps-footer p{font-size:9px;line-height:1.6;color:#8b98ae;margin:7px 0 0}.ps-footer .pc-actions{flex-shrink:0}.pc-scheme-summary{padding:10px;border:1px solid #dcece9;border-radius:7px;background:#f3faf8;font-size:11px;color:#488585;display:flex;flex-direction:column;gap:5px}.pc-scheme-summary strong{font-size:15px;color:#257d7b}.pc-scheme-summary small{font-size:9px;color:#7d9699}
@media(max-width:1050px){.ps-layout{grid-template-columns:200px minmax(0,1fr)}.ps-calculator{grid-template-columns:1fr 80px}.ps-calculator>div{grid-column:1/-1}.ps-footer{align-items:flex-start;flex-direction:column}.ps-footer .pc-actions{align-self:flex-end}}
@media(max-width:650px){.ps-header{align-items:flex-start;flex-direction:column}.ps-layout{grid-template-columns:1fr}.ps-sidebar nav{flex-direction:row;max-height:none;overflow:auto}.ps-sidebar nav button{flex-shrink:0;min-width:150px}.ps-source-note{display:none}.ps-editor-heading{flex-wrap:wrap;gap:8px}.ps-editor-heading>.pc-field{flex-basis:100%;max-width:none}.ps-calculator{grid-template-columns:1fr 85px}.ps-table td,.ps-table th{padding-left:8px;padding-right:8px}.pc-applet-tabs button{flex:1;justify-content:center;padding:9px 10px}.ps-footer .pc-actions{width:100%;justify-content:flex-end}}

/* The scheme belongs to the product; customers choose a deadline from it. */
.pc-product-dialog .pc-product-variant-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:start}
.pc-product-dialog .pc-product-variant-controls>.pc-fields{display:contents}
.pc-product-dialog .pc-product-scheme-choice{min-width:0}
@media(max-width:650px){.pc-product-dialog .pc-product-variant-controls{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){.pc-product-dialog .pc-product-variant-controls{grid-template-columns:minmax(0,1fr)}}
.pc-product-dialog .pc-product-scheme-choice>select{max-width:100%}
.pc-product-dialog .pc-product-scheme-choice>.pc-help{margin:5px 0 0;font-size:10px;line-height:1.5;color:#7b6a94}

/* Existing pricing methods remain editable without crowding scheme pricing. */
.pc-product-dialog .pc-pricing-advanced{margin-top:12px;border:1px solid #e1e6ee;border-radius:7px;background:#fafbfd}
.pc-product-dialog .pc-pricing-advanced>summary{padding:9px 10px;color:#64728a;font-size:10.5px;font-weight:650;cursor:pointer}
.pc-product-dialog .pc-pricing-advanced-body{padding:0 10px 10px}
.pc-product-dialog .pc-pricing-advanced-body>.pc-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:420px){.pc-product-dialog .pc-pricing-advanced-body>.pc-fields{grid-template-columns:minmax(0,1fr)}}
.pc-product-dialog .pc-pricing-advanced .pc-help{margin:0;font-size:10px;line-height:1.5}

/* Keep VAT beside the net cost; gross preview uses the unrounded base price. */
.pc-product-dialog .pc-product-prices>.pc-product-price-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
/* Product price preview: distinguish order totals from the price for one unit. */
.pc-product-dialog .pc-scheme-summary{padding:14px;gap:12px;border-color:#d6e9e6;border-radius:10px;background:#f5faf9;color:#426f70;line-height:1.45}
.pc-price-summary-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px 8px;min-width:0}
.pc-price-summary-title{margin-right:auto;font-size:12px;font-weight:650;color:#315e5e}
.pc-price-summary-badge{display:inline-flex;align-items:center;flex-wrap:wrap;gap:5px;padding:4px 8px;border:1px solid #dce9e7;border-radius:6px;background:#fff;font-size:10px;color:#536e70;max-width:100%;overflow-wrap:anywhere}
.pc-price-summary-badge i{color:#578a86;font-size:11px}.pc-price-summary-badge b{font-weight:600;color:#365e60}
.pc-price-breakdown{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.pc-price-part{display:flex;flex-direction:column;gap:4px;min-width:0;padding:13px 15px;border:1px solid #cfe3de;border-radius:8px;background:#eaf5f1}
.pc-price-part-label{font-size:11px;font-weight:600;color:#416c65;overflow-wrap:anywhere}
.pc-product-dialog .pc-scheme-summary .pc-price-net{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px;font-size:24px;line-height:1.25;font-weight:700;color:#1e7168;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.pc-price-net>span{font-size:11px;font-weight:500;color:#4d7067}
.pc-product-dialog .pc-scheme-summary .pc-scheme-gross{display:flex;justify-content:flex-start;align-items:baseline;flex-wrap:wrap;gap:3px 5px;font-size:11px;font-weight:400;color:#4f7068;font-variant-numeric:tabular-nums}
.pc-scheme-gross b{font-size:14px;line-height:1.35;font-weight:600;color:#395f59;overflow-wrap:anywhere}
.pc-price-per-unit{background:#fff;border-color:#dfe8e6}
.pc-price-per-unit .pc-price-part-label{color:#5b717b}
.pc-product-dialog .pc-scheme-summary .pc-price-per-unit .pc-price-net{color:#344d64}
.pc-price-per-unit .pc-price-net>span{color:#5c7180}
.pc-product-dialog .pc-scheme-summary .pc-price-per-unit .pc-scheme-gross{color:#5b7078}
.pc-price-per-unit .pc-scheme-gross b{color:#526878}
.pc-product-dialog .pc-scheme-summary>small{font-size:9px;line-height:1.5;color:#5e7771}
@media(max-width:600px){.pc-product-dialog .pc-scheme-summary{padding:10px;gap:9px}.pc-price-summary-title{flex-basis:100%}.pc-price-breakdown{grid-template-columns:minmax(0,1fr);gap:8px}.pc-price-part{padding:11px 12px}.pc-product-dialog .pc-scheme-summary .pc-price-net{font-size:22px}}

.pc-product-dialog .pc-pricing-advanced-body>.pc-quote{margin-top:12px;margin-bottom:10px}

.pc-product-dialog .pc-scheme-required-note{display:flex;flex-direction:column;gap:3px;padding:9px 10px;margin:0 0 10px;border:1px solid #ebd8ad;border-radius:7px;background:#fffaf0;color:#806332;font-size:10px;line-height:1.5}
.pc-product-dialog .pc-scheme-required-note strong{font-size:11px;font-weight:700}
.pc-applet .pc-table .pc-scheme-required-badge{display:block;width:fit-content;margin-top:4px;padding:3px 6px;border:1px solid #ecdbb4;border-radius:5px;background:#fffaf0;color:#927035;font-size:9px;font-weight:600}

/* The content quantity and its unit sit together; sale units remain separate. */
.pc-product-dialog .pc-product-variant-controls.pc-has-quantity-unit{grid-template-columns:minmax(0,1fr) minmax(95px,.65fr) minmax(0,1fr) minmax(0,1.3fr)}
.pc-product-dialog .pc-quantity-unit>input{margin-top:6px}
@media(max-width:650px){.pc-product-dialog .pc-product-variant-controls.pc-has-quantity-unit{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){.pc-product-dialog .pc-product-variant-controls.pc-has-quantity-unit{grid-template-columns:minmax(0,1fr)}}

/* Compact searchable lists for product variants, using the hierarchy picker controls. */
.pc-picker-validation{position:absolute!important;inset:0 auto auto 0!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;border:0!important;opacity:0;pointer-events:none}
.pc-category-picker .pc-category-trigger[aria-invalid=true]{border-color:#ce7e86}
.pc-picker-error{display:block;margin-top:4px;color:#b45160;font-size:10px}
.pc-choice-compact .pc-category-trigger{min-height:36px;gap:7px;padding:6px 9px;border-color:#ddd2ef;background:#fff;font-size:11px;font-weight:500}
.pc-choice-compact .pc-category-trigger:hover{border-color:#b79ad8;background:#fcfaff}
.pc-choice-compact .pc-category-trigger:disabled{background:#f4f6f9;border-color:#e2e6ef;color:#929caf}
.pc-choice-compact .pc-category-trigger:focus-visible{outline:2px solid #b89ada;outline-offset:2px}
.pc-choice-compact .pc-category-trigger .pc-category-symbol{width:19px;height:19px;border:0;background:#f4effb;color:#9475b8;font-size:9px}
.pc-choice-compact .pc-category-trigger.is-open{border-color:#aa88d2;box-shadow:0 0 0 3px #7954b712}
.pc-choice-compact .pc-category-popup{width:min(330px,calc(100vw - 40px));border-color:#e3d9ee}
.pc-choice-compact .pc-category-option{min-height:36px}
.pc-choice-compact .pc-category-option.is-selected{background:#f2ebfb;border-color:#e5d8f5}
.pc-choice-compact .pc-category-option-copy small{color:#8693a7;line-height:1.4}
.pc-product-dialog .pc-quantity-unit .pc-category-trigger .pc-category-symbol{display:none}
@media(max-width:600px){.pc-choice-compact .pc-category-trigger{min-height:38px;font-size:12px}.pc-choice-compact .pc-category-popup{width:min(330px,calc(100vw - 40px))}}

/* Variant filters share the compact searchable product lists. */
.pc-parameter-filter .pc-category-search input{min-height:34px;padding:8px 10px 8px 32px;border:1px solid #e4dcef;border-radius:7px;background:#faf8fd;color:#374666;font-size:11px;outline:none}
.pc-parameter-filter .pc-category-search input:focus{border-color:#b49bd7;box-shadow:0 0 0 2px #e6dcf340}
.pc-parameter-filter .pc-category-search input:focus-visible{outline:none}
@media(max-width:600px){.pc-parameter-filter .pc-category-search input{min-height:36px;font-size:12px}}

/* Customer currency remains distinct from the PLN production cost. */
.pc-product-dialog .pc-product-prices>.pc-price-currency-fields{grid-template-columns:minmax(0,1fr) minmax(65px,.5fr) minmax(85px,.7fr)}
/* Keep the conversion prominent and give publication details explicit labels. */
.pc-fx-note{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px 10px;padding:10px 11px;background:#f5fafb;border:1px solid #dce9ed;border-radius:8px;color:#3e6270;line-height:1.45}
.pc-fx-main{min-width:0}.pc-fx-label{display:block;margin-bottom:2px;color:#708592;font-size:10px;font-weight:600}
.pc-fx-rate{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 5px;font-size:13px;font-weight:500;font-variant-numeric:tabular-nums}
.pc-fx-rate>span,.pc-fx-rate>strong{white-space:nowrap}.pc-fx-rate>strong{color:#294f5d;font-size:14px;font-weight:700}
.pc-fx-refresh{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:30px;padding:6px 8px;border:1px solid #d9e5e9;border-radius:6px;background:#fff;color:#4b7b87;font:inherit;font-size:10.5px;font-weight:600;white-space:nowrap;cursor:pointer}
.pc-fx-refresh:hover:not(:disabled){background:#edf6f7;border-color:#b8d5dc}.pc-fx-refresh:disabled{opacity:.55;cursor:default}.pc-fx-refresh>i{font-size:10px}
.pc-fx-meta{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:4px 14px;padding-top:6px;border-top:1px solid #e1ecef;font-size:10.5px;font-variant-numeric:tabular-nums}
.pc-fx-meta>span{display:inline-flex;flex-wrap:wrap;gap:4px;color:#486370}.pc-fx-meta-label{color:#7b8c97}.pc-fx-meta time,.pc-fx-table{font-weight:600;overflow-wrap:anywhere}
.pc-fx-message,.pc-fx-error{font-size:11px;line-height:1.5}.pc-fx-error{color:#b55469}
@media(max-width:420px){.pc-product-dialog .pc-product-prices>.pc-price-currency-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.pc-fx-note{padding:9px;gap:6px 8px}.pc-fx-meta{gap:4px 10px}}
.pc-applet-tabs{flex-wrap:wrap}
.pc-applet-tabs button{white-space:nowrap}
.pc-exchange-module{width:100%;max-width:1180px;margin:0 auto;padding:8px 0 10px}
.pc-exchange-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}
.pc-exchange-heading{display:flex;align-items:center;gap:13px;min-width:0}
.pc-exchange-heading-icon{display:grid;place-items:center;flex-shrink:0;width:46px;height:46px;border:1px solid #e5dcf5;border-radius:13px;background:linear-gradient(145deg,#f7f3ff,#eee6fb);color:#8056b9;font-size:18px}
.pc-exchange-header h4{margin:0 0 4px;color:#24314c;font-size:23px;font-weight:750;letter-spacing:-.45px;line-height:1.3}
.pc-exchange-header p{margin:0;color:#78869c;font-size:12px;line-height:1.5}
.pc-exchange-refresh{min-height:39px;padding:9px 13px;border-radius:9px;background:#fff;font-size:11px;box-shadow:0 2px 5px #39425e03}
.pc-exchange-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);align-items:start;gap:20px}
.pc-exchange-calculator,.pc-exchange-rates{min-width:0;border:1px solid #dfe5ee;border-radius:16px;box-shadow:0 5px 24px #27354b04}
.pc-exchange-calculator{padding:23px;background:#fff}
.pc-exchange-panel-heading{display:flex;align-items:center;gap:9px;margin-bottom:17px}
.pc-exchange-panel-icon{display:grid;place-items:center;width:23px;height:23px;border-radius:7px;background:#f0eafb;color:#8058b5;font-size:11px;font-weight:700}
.pc-exchange-layout h5{margin:0;color:#3b4b66;font-size:13px;font-weight:700;line-height:1.5}
.pc-exchange-calculator .pc-field>label{color:#697a93;font-size:11px;font-weight:600}
.pc-exchange-amount-control{position:relative}
.pc-exchange-calculator .pc-exchange-amount-control>input{width:100%;min-height:58px;padding:10px 85px 10px 17px;border:1px solid #dce2ed;border-radius:11px;background:#fafbfe;color:#2b3852;font:inherit;font-size:28px;font-weight:650;font-variant-numeric:tabular-nums;box-shadow:inset 0 1px 3px #263b5603;appearance:textfield;-moz-appearance:textfield}
.pc-exchange-calculator .pc-exchange-amount-control>input::-webkit-inner-spin-button,.pc-exchange-calculator .pc-exchange-amount-control>input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.pc-exchange-calculator .pc-exchange-amount-control>input:focus{border-color:#ad91d8;background:#fff;box-shadow:0 0 0 3px #ab8bd414;outline:2px solid transparent}
.pc-exchange-amount-control>span{position:absolute;right:16px;top:50%;transform:translateY(-50%);padding:5px 9px;border:1px solid #e6dff1;border-radius:7px;background:#f3eef9;color:#8b71af;font-size:12px;font-weight:650;pointer-events:none}
.pc-exchange-currencies{display:grid;grid-template-columns:minmax(0,1fr) 40px minmax(0,1fr);align-items:center;gap:12px;margin:18px 0}
.pc-exchange-currencies .pc-field{gap:6px;min-width:0}
.pc-exchange-currencies .pc-category-trigger{min-height:47px;padding:10px 12px;border-color:#dce2ed;border-radius:10px;background:#fff;box-shadow:0 1px 2px #263b5603;font-size:13px}
.pc-exchange-currencies .pc-category-trigger:hover{border-color:#bca7da;background:#fdfbff}
.pc-exchange-currencies .pc-category-selected-name{font-size:13px;font-weight:650}
.pc-exchange-currencies .pc-category-trigger .pc-category-symbol{width:25px;height:25px;border-radius:7px;font-size:11px;background:#f4effa;color:#9877bf}
.pc-exchange-currencies .pc-field>small{padding-left:1px;color:#7d8da3;font-size:10px;line-height:1.3}
.pc-exchange-swap{display:grid;place-items:center;width:39px;height:39px;border:1px solid #e4daf3;border-radius:50%;background:#faf7ff;color:#8b68b8;font-size:13px;cursor:pointer;transition:background .15s,border-color .15s}
.pc-exchange-swap:hover{background:#eee5fa;border-color:#b99bdc}
.pc-exchange-swap:focus-visible{outline:2px solid #9d7bcd;outline-offset:3px}
.pc-exchange-result{padding:16px 20px 15px;border:1px solid #cce5df;border-radius:12px;background:linear-gradient(115deg,#eff9f5,#f5fbf9);color:#678b82}
.pc-exchange-result-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;font-weight:600}
.pc-exchange-result-currency{padding:3px 7px;border:1px solid #cee4dd;border-radius:5px;background:#ffffff8c;color:#6b998d;font-size:10px;letter-spacing:.03em}
.pc-exchange-result>strong{display:block;margin:6px 0 8px;color:#267a6f;font-size:clamp(34px,4.2vw,46px);font-weight:750;letter-spacing:-1.4px;line-height:1.15;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.pc-exchange-result-rate{display:flex;align-items:center;gap:7px;padding-top:11px;border-top:1px solid #dcece6;color:#70968c;font-size:11px;font-variant-numeric:tabular-nums}
.pc-exchange-result-rate>i{font-size:10px;color:#8aafa4}
.pc-exchange-rates{display:flex;flex-direction:column;padding:23px;background:#f8f9fc}
.pc-exchange-rates-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}
.pc-exchange-source{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border:1px solid #e2e7ed;border-radius:6px;background:#fff;color:#8b98ab;font-size:9px;font-weight:500;white-space:nowrap}
.pc-exchange-source>i{font-size:9px}
.pc-exchange-rate-list{display:flex;flex-direction:column;gap:12px}
.pc-exchange-rate{min-width:0;padding:15px 16px;border:1px solid #e5e9f0;border-radius:11px;background:#fff}
.pc-exchange-rate-identity{display:flex;align-items:center;gap:10px}
.pc-exchange-icon{display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;border:1px solid #ebe4f5;border-radius:9px;background:#f6f2fc;color:#936fbe;font-size:14px}
.pc-exchange-rate-identity>div{display:flex;flex-direction:column;gap:1px}
.pc-exchange-rate-identity strong{color:#4b5870;font-size:12px;font-weight:650}
.pc-exchange-rate-identity>div>span{color:#8492a7;font-size:11px}
.pc-exchange-rate-value{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;margin:11px 0 0 42px;line-height:1.35;font-variant-numeric:tabular-nums}
.pc-exchange-rate-value>small{color:#8a99ae;font-size:10px}
.pc-exchange-rate-value>strong{color:#39877f;font-size:23px;font-weight:700;letter-spacing:-.35px;overflow-wrap:anywhere}
.pc-exchange-rate-value>strong>span{margin-left:2px;color:#9baeb0;font-size:11px;font-weight:500;letter-spacing:0}
.pc-exchange-publication{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:15px;margin-top:18px;padding-top:17px;border-top:1px solid #e3e8ef;color:#7f8ea4;font-size:10px}
.pc-exchange-publication>div{display:flex;align-items:flex-start;gap:8px}
.pc-exchange-publication>div>i{margin-top:3px;color:#a8b3c4;font-size:11px}
.pc-exchange-publication>div>span{display:flex;flex-direction:column;gap:4px;min-width:0}
.pc-exchange-publication time,.pc-exchange-publication strong{color:#63748d;font-size:11px;font-weight:600;overflow-wrap:anywhere}
.pc-exchange-help{display:flex;align-items:flex-start;gap:7px;margin-top:16px!important;padding-left:2px;color:#8795aa;font-size:10px;line-height:1.5}
.pc-exchange-help>i{margin-top:2px;color:#aba0c5;font-size:11px}
@media(max-width:820px){.pc-exchange-layout{grid-template-columns:minmax(0,1fr);gap:16px}.pc-exchange-rates{padding:21px}.pc-exchange-rate-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.pc-exchange-publication{margin-top:0;padding-top:18px}.pc-exchange-result>strong{font-size:42px}}
@media(max-width:520px){.pc-exchange-header{align-items:flex-start;flex-direction:column;gap:14px}.pc-exchange-heading{gap:10px}.pc-exchange-heading-icon{width:39px;height:39px;border-radius:11px;font-size:16px}.pc-exchange-header h4{font-size:21px}.pc-exchange-header p{font-size:11px}.pc-exchange-refresh{min-height:35px;padding:7px 10px;font-size:10px}.pc-exchange-calculator,.pc-exchange-rates{padding:18px;border-radius:13px}.pc-exchange-panel-heading{margin-bottom:18px}.pc-exchange-currencies{grid-template-columns:minmax(0,1fr) 34px minmax(0,1fr);gap:8px}.pc-exchange-swap{width:33px;height:33px;font-size:11px}.pc-exchange-currencies .pc-category-trigger{padding:9px;min-height:45px}.pc-exchange-currencies .pc-field>small{font-size:9px}.pc-exchange-result{padding:15px 17px}.pc-exchange-result>strong{font-size:34px;letter-spacing:-.8px}.pc-exchange-rate-list{grid-template-columns:minmax(0,1fr)}.pc-exchange-rate-value{margin-top:7px}.pc-exchange-publication{gap:12px}.pc-exchange-help{font-size:9px}}

/* Popups stay inside the modal scroll area and never widen the form. */
.pc-dialog,.pc-form{min-width:0;max-width:100%}
.pc-form{width:100%}
.pc-dialog-body{min-width:0;max-width:100%;overflow-x:hidden}
.pc-category-trigger{min-width:0;max-width:100%}
.pc-category-popup{box-sizing:border-box}
.pc-category-options{overflow-x:hidden}
.pc-category-popup-heading>span{min-width:0;overflow-wrap:anywhere}

/* Unit groups share searchable options without repeating a category on every row. */
.pc-category-options.is-grouped .pc-category-option-group+.pc-category-option-group{margin-top:5px}
.pc-category-group-heading{position:sticky;top:0;z-index:1;display:flex;align-items:center;gap:7px;min-height:29px;padding:6px 8px;border-bottom:1px solid #e9e2f2;background:#f7f4fb;color:#76618f;font-size:10px;font-weight:650;line-height:1.4}
.pc-category-group-heading>i{width:13px;text-align:center;color:#a087bb;font-size:10px;flex-shrink:0}
.pc-category-group-heading>span{flex:1;min-width:0;overflow-wrap:anywhere}
.pc-category-group-heading>small{padding:1px 5px;background:#eee7f6;border-radius:4px;color:#9178ac;font-size:9px;font-weight:500}
.pc-category-options.is-grouped .pc-category-option{min-height:32px;padding:5px 7px;gap:9px}
.pc-category-options.is-grouped .pc-category-option .pc-category-code{min-width:42px;max-width:65px;padding:3px 5px;font-size:10px;font-weight:600}
.pc-category-options.is-grouped .pc-category-option-copy strong{font-weight:500}
@media(max-width:600px){.pc-category-options.is-grouped .pc-category-option{min-height:37px}.pc-category-group-heading{min-height:31px;font-size:11px}}

.pc-category-options[tabindex="0"]:focus-visible{outline:2px solid #b89ada;outline-offset:-2px;border-radius:7px}

.pc-exchange-schedule{margin-top:17px;padding-top:15px;border-top:1px solid #e3e8ef;color:#8796aa;font-size:10px;line-height:1.5}
.pc-exchange-schedule-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:11px}
.pc-exchange-schedule-heading>span{display:flex;align-items:center;gap:6px;color:#687c96;font-weight:600}
.pc-exchange-schedule-heading i{color:#97a6ba;font-size:11px}
.pc-exchange-schedule-heading>small{color:#97a4b6;font-size:9px;white-space:nowrap}
.pc-exchange-schedule dl{display:flex;flex-direction:column;gap:9px;margin:0}
.pc-exchange-schedule dl>div{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:3px 12px}
.pc-exchange-schedule dt{color:#8796aa;font-size:10px;font-weight:400}
.pc-exchange-schedule dd{margin:0;color:#4e6682;font-size:11px;font-weight:600;font-variant-numeric:tabular-nums}
.pc-exchange-schedule time{white-space:nowrap}
.pc-exchange-schedule>p{margin-top:11px!important;color:#9aa7b9;font-size:9px}
.pc-exchange-update-loading{color:#8c79ad;font-weight:500}
.pc-exchange-countdown{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;margin-top:13px;padding:11px 12px;background:#f7f5fc;border:1px solid #ece6f7;border-radius:9px;color:#796b94;font-size:10px}
.pc-exchange-countdown strong{color:#7352b9;font-size:20px;font-weight:700;line-height:1.2;letter-spacing:.4px;font-variant-numeric:tabular-nums;white-space:nowrap}
.pc-product-dialog .pc-product-link{border-color:#e2dced}
.pc-product-dialog .pc-product-link>.pc-section-title{color:#796493}
.pc-product-dialog .pc-product-link-open{display:inline-flex;align-items:center;align-self:flex-start;gap:6px;margin-top:5px;color:#7451bc;font-size:10px;font-weight:600;text-decoration:none}
.pc-product-dialog .pc-product-link-open:hover{text-decoration:underline}
.pc-product-dialog .pc-product-link-open:focus-visible{outline:2px solid #ab91d5;outline-offset:3px;border-radius:2px}
.pc-product-row-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px}
.pc-product-row-actions>.pc-icon-button{margin-left:0}
.pc-product-row-actions>.pc-product-page-link:focus-visible{outline:2px solid #ab91d5;outline-offset:2px}
.pc-group-facets .pc-category-trigger{border-color:#dce5ed;min-height:35px;font-size:11px}
.pc-group-facets .pc-category-trigger .pc-category-symbol{background:#edf7f6;color:#438a89}
.pc-group-facets .pc-category-trigger.is-open{border-color:#ad95d0}
.pc-group-facets .pc-category-option:disabled{background:#f7f8fb;border-color:transparent;cursor:not-allowed}
.pc-styled-fields .pc-category-trigger .pc-category-symbol{background:#edf7f6;color:#438a89}
.pc-group-field-editor .pc-category-picker .pc-category-trigger{height:auto;min-height:34px}

/* Keep the main catalog focused on choices and actions. */
.pc-applet .pc-group-selection>.pc-group-confirm-controls{grid-column:1/-1}
.pc-applet .pc-parameter-filter-heading>span:empty{display:none}

/* Show one catalog decision at a time and keep completed choices within reach. */
.pc-catalog-steps{margin-bottom:14px}
.pc-catalog-steps ol{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;list-style:none;padding:0;margin:0}
.pc-catalog-steps>ol>li{min-width:0}
.pc-catalog-steps>ol>li>button{display:flex;align-items:center;gap:10px;width:100%;min-height:70px;text-align:left;padding:12px;border:1px solid #e1e6f0;border-radius:10px;background:#fff;color:#77849a;font:inherit;cursor:pointer}
.pc-catalog-steps>ol>li>button:disabled{background:#f7f8fc;color:#a0a9b9;cursor:default}
.pc-catalog-steps>ol>li>button.is-complete{background:#f8fcfb;border-color:#dcebe7;color:#3c6d69}
.pc-catalog-steps>ol>li>button.is-current{background:#f7f3fe;border-color:#b99ce6;color:#6e48b3;box-shadow:0 0 0 2px #ece3fa70}
.pc-catalog-step-index{display:flex;align-items:center;justify-content:center;width:29px;height:29px;flex-shrink:0;border:1px solid #e2e6ef;border-radius:9px;background:#f1f3f8;color:inherit;font-size:12px;font-weight:700}
.is-complete .pc-catalog-step-index{background:#e8f5f0;border-color:#d0e9df;color:#298574}
.is-current .pc-catalog-step-index{background:#7751bd;border-color:#7751bd;color:#fff}
.pc-catalog-step-label{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.pc-catalog-step-label strong{font-size:12px;line-height:1.4;font-weight:650}
.pc-catalog-step-label small{display:block;font-size:10px;line-height:1.4;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pc-catalog-step-arrow{flex-shrink:0;font-size:9px;opacity:.5}
.pc-catalog-steps li:last-child .pc-catalog-step-arrow{display:none}
.pc-catalog-panel{min-width:0;background:#fff;border:1px solid #e0e6ef;border-radius:12px;box-shadow:0 3px 12px #1d305005;overflow:visible}
.pc-catalog-panel-header{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;padding:14px 16px;border-bottom:1px solid #e8ecf3}
.pc-catalog-panel-header h4{flex:1;min-width:100px;font-size:15px;font-weight:700;color:#34445f}
.pc-catalog-panel-header h4:focus-visible{outline:2px solid #ab8fd9;outline-offset:4px;border-radius:3px}
.pc-catalog-panel-header>.pc-button{min-height:32px}
.pc-catalog-step-body{min-width:0;padding:16px}
.pc-catalog-choice-step{max-width:800px;padding-bottom:24px}
.pc-catalog-choice-step .pc-hierarchy-level>label{font-size:11px;margin-bottom:7px}
.pc-catalog-step-body .pc-group-stage{margin:0}
.pc-catalog-step-body>.pc-parameter-filters{margin-bottom:12px}
.pc-catalog-step-body>.pc-list{margin:0}
.pc-catalog-empty-step{padding:12px 0 0;font-size:12px;color:#8390a4}
.pc-catalog-unmapped{margin-top:12px}
.pc-catalog-steps>ol>li>button:focus-visible{outline:2px solid #9b78cd;outline-offset:3px}
@media(max-width:800px){.pc-catalog-steps ol{grid-template-columns:repeat(2,minmax(0,1fr))}.pc-catalog-steps>ol>li>button{min-height:64px}.pc-catalog-panel-header{padding:12px}.pc-catalog-step-body{padding:12px}}
@media(max-width:480px){.pc-catalog-steps{margin-bottom:10px}.pc-catalog-steps ol{gap:6px}.pc-catalog-steps>ol>li>button{padding:9px;gap:7px;min-height:66px}.pc-catalog-step-label strong{font-size:11px}.pc-catalog-step-label small{font-size:9px}.pc-catalog-step-index{width:25px;height:25px;border-radius:7px}.pc-catalog-step-arrow{display:none}.pc-catalog-panel-header{gap:8px}.pc-catalog-panel-header h4{font-size:14px;min-width:90px}.pc-catalog-panel-header>.pc-catalog-edit-type{order:3;flex-basis:100%}.pc-catalog-step-body{padding:10px}.pc-catalog-choice-step .pc-subcategory-controls{flex-wrap:wrap}.pc-catalog-choice-step .pc-subcategory-controls>.pc-button{flex-basis:100%}}

/* Separate finding an existing group from creating one, with readable field labels. */
.pc-readable-group-stage{border-color:#dce5ec}
.pc-readable-group-stage .pc-group-facets{padding:17px 18px;background:#fff;border-radius:10px 10px 0 0}
.pc-readable-group-stage .pc-group-facet-heading{gap:10px 14px}
.pc-readable-group-stage .pc-group-facet-heading>strong{font-size:15px;line-height:1.4;color:#2c4359;gap:9px}
.pc-readable-group-stage .pc-group-facet-heading>strong>i{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:8px;background:#eaf6f3;color:#248477;font-size:13px}
.pc-group-facet-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-left:auto}
.pc-group-facet-actions>button{min-height:32px;padding:6px 10px;border:1px solid #dbe6e9;border-radius:6px;background:#f8fbfb;color:#44716f;font:inherit;font-size:11px;cursor:pointer}
.pc-group-facet-actions>button:hover:not(:disabled){background:#edf6f3;border-color:#b9d7cd}
.pc-group-facet-actions>button:focus-visible{outline:2px solid #8cbec0;outline-offset:2px}
.pc-readable-group-stage .pc-group-facet-guide{margin:8px 0 14px;font-size:12px;line-height:1.6;color:#64768a}
.pc-readable-group-stage .pc-group-constants{gap:7px;margin:0 0 16px;padding:11px 12px;background:#f6f8fb;border:1px solid #e8edf3;border-radius:8px}
.pc-readable-group-stage .pc-group-constants-label{flex-basis:100%;font-size:11px;font-weight:650;color:#64718a}
.pc-readable-group-stage .pc-group-constants>span{padding:5px 8px;background:#fff;border-color:#e3e9f0;gap:5px}
.pc-readable-group-stage .pc-group-constants small{font-size:11px;color:#64718a}
.pc-readable-group-stage .pc-group-constants strong{font-size:12px;font-weight:600;color:#34465e}
.pc-readable-group-stage .pc-parameter-filter-grid{gap:13px 14px}
.pc-readable-group-stage .pc-parameter-filter>label,.pc-readable-group-stage .pc-parameter-filter legend{font-size:12px;color:#4d6079;line-height:1.5}
.pc-readable-group-stage .pc-parameter-filter .pc-category-trigger{min-height:40px;font-size:12px;border-radius:7px}
.pc-readable-group-stage .pc-group-selection{padding:17px 18px;background:#f4faf8;gap:10px;border-color:#dfebe6;border-radius:0}
.pc-readable-group-stage .pc-group-section-heading>label{font-size:14px;font-weight:700;color:#31584f}
.pc-readable-group-stage .pc-group-confirm-controls .pc-category-trigger{min-height:44px;background:#fff;border-color:#cbded5;border-radius:8px;gap:10px}
.pc-readable-group-stage .pc-group-confirm-controls .pc-category-selected-name{order:1;font-size:13px;font-weight:600;color:#304c46}
.pc-readable-group-stage .pc-group-confirm-controls .pc-category-code{order:2;font-size:10px;background:#f4f6f8;border-color:#e3e7ec;color:#738095}
.pc-readable-group-stage .pc-group-confirm-controls .pc-category-chevron{order:3}
.pc-group-create-option{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;padding:15px 18px;background:#fff;border-top:1px solid #e5e9f1;border-radius:0 0 10px 10px}
.pc-group-create-symbol{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:28px;height:28px;border:1px solid #e7def5;border-radius:8px;color:#8159ba;background:#f7f3fd;font-size:11px}
.pc-group-create-option>p{flex:1;min-width:190px;font-size:12px;line-height:1.6;color:#6b7188}
.pc-group-create-option>.pc-button{min-height:36px;padding:8px 12px;font-size:12px}
.pc-readable-group-stage .pc-group-no-results{border-radius:0;font-size:12px;padding:11px 18px}
@media(max-width:650px){.pc-readable-group-stage .pc-group-facets,.pc-readable-group-stage .pc-group-selection{padding:13px}.pc-group-facet-actions{flex-basis:100%;margin-left:0}.pc-group-create-option{padding:13px}.pc-group-create-option>.pc-button{flex-basis:100%}.pc-readable-group-stage .pc-group-confirm-controls .pc-category-code{font-size:9px}.pc-readable-group-stage .pc-group-confirm-controls .pc-category-selected-name{font-size:12px}}

/* Each step opens directly below its heading, in the same top-to-bottom order. */
.pc-catalog-steps.pc-catalog-steps-vertical>ol{grid-template-columns:minmax(0,1fr);gap:10px}
.pc-catalog-steps-vertical>ol>li{border:1px solid #e0e6ef;border-radius:11px;background:#fff;min-width:0}
.pc-catalog-steps-vertical>ol>li.is-current{border-color:#c1abdf;box-shadow:0 2px 10px #46326806}
.pc-catalog-steps-vertical>ol>li>button{min-height:60px;padding:12px 16px;border:0;border-radius:10px;box-shadow:none}
.pc-catalog-steps-vertical>ol>li>button.is-current{border-radius:10px 10px 0 0;box-shadow:none}
.pc-catalog-steps-vertical .pc-catalog-step-index{width:30px;height:30px}
.pc-catalog-steps-vertical .pc-catalog-step-label strong{font-size:13px}
.pc-catalog-steps-vertical .pc-catalog-step-label small{font-size:11px;white-space:normal;overflow-wrap:anywhere}
.pc-catalog-steps-vertical .pc-catalog-step-arrow{display:block;transform:rotate(90deg)}
.pc-catalog-steps-vertical li:last-child .pc-catalog-step-arrow{display:block}
.pc-catalog-step-done{font-size:12px;color:#328271;margin-right:4px}
.pc-catalog-steps-vertical .pc-catalog-panel{border:0;border-top:1px solid #e8e1f1;border-radius:0 0 10px 10px;box-shadow:none}
.pc-catalog-steps-vertical .pc-catalog-panel-header{padding:10px 16px;background:#fcfbfe}
.pc-catalog-steps-vertical .pc-catalog-edit-type{margin-left:auto}
.pc-catalog-steps-vertical #pc-catalog-next{margin-left:auto}
@media(max-width:600px){.pc-catalog-steps-vertical>ol>li>button{min-height:58px;padding:11px 12px}.pc-catalog-steps-vertical .pc-catalog-step-label strong{font-size:12px}.pc-catalog-steps-vertical .pc-catalog-step-label small{font-size:10px}.pc-catalog-steps-vertical .pc-catalog-panel-header{padding:9px 10px}}

/* Compact step cards, with navigation aligned to the selection it controls. */
.pc-catalog-steps.pc-catalog-steps-vertical>ol{gap:12px}
.pc-catalog-steps-vertical>ol>li{border-color:#e1e6ee;border-radius:12px;box-shadow:0 1px 3px #263c5703}
.pc-catalog-steps-vertical>ol>li.is-current{border-color:#bda5e2;box-shadow:0 4px 18px #69508a0c}
.pc-catalog-steps-vertical>ol>li>.pc-catalog-step-trigger{min-height:62px;padding:12px 18px;gap:12px;border-radius:11px;background:#fff;color:#34465f;transition:background-color .15s ease}
.pc-catalog-steps-vertical>ol>li>.pc-catalog-step-trigger:not(.is-current):hover:not(:disabled){background:#f8fafc}
.pc-catalog-steps-vertical>ol>li>.pc-catalog-step-trigger:disabled{background:#fafbfd;color:#8996a9}
.pc-catalog-steps-vertical>ol>li>.pc-catalog-step-trigger.is-current{border-radius:11px 11px 0 0;background:linear-gradient(100deg,#f6f1fd,#fdfcff 70%);color:#644298}
.pc-catalog-steps-vertical .pc-catalog-step-index{width:34px;height:34px;border-radius:11px;background:#f2f5f8;border-color:#e5eaf1;color:#8b98a9;font-size:13px;font-weight:700}
.pc-catalog-steps-vertical .is-complete .pc-catalog-step-index{background:#edf8f3;border-color:#d9eee3;color:#348674}
.pc-catalog-steps-vertical .is-current .pc-catalog-step-index{background:linear-gradient(145deg,#8b65cc,#7047b4);border-color:#8055c1;color:#fff;box-shadow:0 3px 7px #7854b526}
.pc-catalog-steps-vertical .pc-catalog-step-label{flex-direction:row;align-items:center;gap:12px}
.pc-catalog-steps-vertical .pc-catalog-step-label strong{flex-shrink:0;font-size:14px;font-weight:650;letter-spacing:-.1px}
.pc-catalog-steps-vertical .pc-catalog-step-label small{min-width:0;font-size:12px;color:#758398;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.5}
.pc-catalog-steps-vertical .pc-catalog-step-label small:before{content:'';display:inline-block;width:3px;height:3px;margin-right:12px;border-radius:50%;background:#bdc8d5;vertical-align:middle}
.pc-catalog-steps-vertical .is-current .pc-catalog-step-label small{display:none}
.pc-catalog-steps-vertical .pc-catalog-step-arrow{display:inline-flex;align-items:center;justify-content:center;width:25px;height:25px;border:1px solid #e8ecf2;border-radius:50%;background:#fafbfd;color:#8d9aae;font-size:9px;opacity:1}
.pc-catalog-steps-vertical li:last-child .pc-catalog-step-arrow{display:inline-flex}
.pc-catalog-steps-vertical .is-current>.pc-catalog-step-arrow{border-color:#e3d9f1;background:#f0e9f9;color:#8d6bb8}
.pc-catalog-steps-vertical .pc-catalog-step-done{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:23px;height:23px;margin:0;border-radius:50%;background:#edf8f3;color:#378c78;font-size:10px}
.pc-catalog-steps-vertical .pc-catalog-panel{border-top-color:#eee8f7;border-radius:0 0 11px 11px}
.pc-catalog-steps-vertical .pc-catalog-choice-panel{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;padding:16px 18px 18px}
.pc-catalog-choice-panel>.pc-catalog-choice-step{flex:1 1 440px;max-width:none;padding:0}
.pc-catalog-choice-panel .pc-hierarchy-level>label{font-size:12px;font-weight:600;margin-bottom:7px;color:#64758d}
.pc-catalog-choice-panel .pc-category-trigger{min-height:42px;border-radius:8px;font-size:12px;box-shadow:0 1px 3px #243d5b03}
.pc-catalog-choice-panel .pc-subcategory-controls>.pc-button{min-height:42px;border-radius:8px;font-size:12px}
.pc-catalog-panel-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;flex:0 0 auto;margin-left:auto}
.pc-catalog-panel-actions>.pc-button{min-height:42px;padding:9px 14px;border-radius:8px;font-size:12px}
.pc-catalog-panel-actions>.pc-button-secondary{background:#f8fafc;border-color:#e3e8ef;color:#6d7c93}
.pc-catalog-panel-actions>.pc-button-primary{box-shadow:0 3px 8px #7953b321}
.pc-catalog-steps-vertical .pc-catalog-panel-header{padding:12px 16px 0;border-bottom:0;background:#fff}
@media(max-width:650px){.pc-catalog-steps-vertical>ol>li>.pc-catalog-step-trigger{padding:11px 13px;gap:10px}.pc-catalog-steps-vertical .pc-catalog-step-label{flex-direction:column;align-items:flex-start;gap:2px}.pc-catalog-steps-vertical .pc-catalog-step-label strong{font-size:13px}.pc-catalog-steps-vertical .pc-catalog-step-label small{font-size:11px;max-width:100%}.pc-catalog-steps-vertical .pc-catalog-step-label small:before{display:none}.pc-catalog-steps-vertical .pc-catalog-choice-panel{padding:13px;gap:12px}.pc-catalog-choice-panel>.pc-catalog-choice-step{flex-basis:100%}.pc-catalog-panel-actions{flex-basis:100%}.pc-catalog-panel-actions>.pc-button{flex:1;min-height:40px}.pc-catalog-steps-vertical .pc-catalog-step-index{width:31px;height:31px;border-radius:10px}.pc-catalog-steps-vertical .pc-catalog-step-arrow{width:22px;height:22px}.pc-catalog-steps-vertical .pc-catalog-step-done{width:20px;height:20px}}
@media(prefers-reduced-motion:reduce){.pc-catalog-steps-vertical>ol>li>.pc-catalog-step-trigger{transition:none}}

/* Keep selected category, subcategory and group codes beside their names. */
.pc-catalog-steps-vertical .pc-catalog-step-label small{display:flex;align-items:center;gap:8px;flex:0 1 auto}
.pc-catalog-steps-vertical .pc-catalog-step-label small:before{flex-shrink:0;margin-right:2px}
.pc-catalog-steps-vertical .pc-catalog-step-code{flex-shrink:0;padding:2px 6px;border-radius:5px;border-color:#dce9e8;background:#eef6f5;color:#4e7d77;font-size:10px;line-height:1.5;letter-spacing:.01em}
.pc-catalog-step-summary{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:650px){.pc-catalog-steps-vertical .pc-catalog-step-label small{max-width:100%;gap:6px}.pc-catalog-steps-vertical .pc-catalog-step-code{font-size:9px}}

/* Each step heading and its expanded list share one aligned card. */
.pc-catalog-steps-vertical>ol>li.pc-catalog-choice-card{border:1px solid #dfe5ee;border-radius:12px;background:#fff;box-shadow:0 2px 6px #263c5704}
.pc-catalog-steps-vertical>ol>li.pc-catalog-choice-card.is-current{border-color:#bca3df;box-shadow:0 4px 16px #7953b30a}
.pc-catalog-steps-vertical>ol>li>.pc-catalog-step-picker>.pc-category-trigger{min-height:68px;padding:13px 16px;gap:12px;border:0;border-radius:11px;background:transparent;color:#34465f;box-shadow:none;font:inherit;transition:background-color .15s}
.pc-catalog-steps-vertical>ol>li>.pc-catalog-step-picker.is-complete>.pc-category-trigger{color:#3c6d69;background:#fbfdfc}
.pc-catalog-steps-vertical>ol>li>.pc-catalog-step-picker.is-current>.pc-category-trigger{color:#644298;background:#faf7fe}
.pc-catalog-steps-vertical>ol>li>.pc-catalog-step-picker>.pc-category-trigger:hover:not(:disabled){background:#f7f4fc}
.pc-catalog-steps-vertical>ol>li>.pc-catalog-step-picker>.pc-category-trigger.is-open{border-radius:11px 11px 0 0}
.pc-catalog-choice-field{display:flex;align-items:center;gap:14px;flex:1;min-width:0;min-height:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:inherit}
.pc-catalog-step-picker>.pc-category-trigger:focus-visible{outline:2px solid #9b78cd;outline-offset:-4px}
.pc-catalog-steps-vertical .pc-catalog-step-picker .pc-catalog-step-label small{display:flex}
.pc-catalog-steps-vertical .pc-catalog-step-picker .pc-catalog-step-label strong{flex-shrink:1;min-width:0}
.pc-catalog-choice-action{display:inline-flex;align-items:center;justify-content:center;gap:9px;flex-shrink:0;padding:8px 11px;border:1px solid #e5dcf2;border-radius:7px;background:#fff;color:#7954b0;font-size:11px;font-weight:650;line-height:1.3;white-space:nowrap}
.pc-catalog-choice-action>i{font-size:11px}
.pc-catalog-steps-vertical>ol>li>.pc-catalog-step-picker>.pc-category-trigger:disabled{background:#f8fafc;color:#8c9ab0;box-shadow:none;opacity:1}
.pc-catalog-step-picker>.pc-category-trigger:disabled .pc-catalog-choice-action{border-color:#e4e9f0;background:#f2f5f9;color:#9ca8ba}
.pc-catalog-steps-vertical>ol>li>.pc-catalog-step-picker>.pc-category-popup.is-inline{width:100%;margin:0;border:0;border-top:1px solid #e8e1f1;border-radius:0 0 11px 11px;box-shadow:none}
.pc-catalog-steps-vertical .pc-catalog-step-picker>.pc-category-popup>.pc-category-popup-heading{padding:14px 16px 10px;border-radius:0;background:#fff}
.pc-catalog-steps-vertical .pc-catalog-step-picker>.pc-category-popup>.pc-category-popup-heading>span{font-size:12px;font-weight:650}
.pc-catalog-steps-vertical .pc-catalog-step-picker>.pc-category-popup>.pc-category-popup-heading>.pc-category-close{display:none}
.pc-catalog-steps-vertical .pc-catalog-step-picker>.pc-category-popup>.pc-category-popup-footer{border-radius:0 0 11px 11px}
.pc-catalog-steps-vertical>ol>li.pc-catalog-choice-card>.pc-catalog-panel{margin:0;border:0;border-top:1px solid #e8e1f1;border-radius:0 0 11px 11px;background:#fff}
@media(max-width:650px){.pc-catalog-steps-vertical>ol>li>.pc-catalog-step-picker>.pc-category-trigger{min-height:64px;padding:12px;gap:10px}.pc-catalog-choice-field{gap:10px}.pc-catalog-choice-action{padding:8px 9px;gap:7px;font-size:10px}.pc-catalog-choice-action>i{font-size:10px}.pc-catalog-steps-vertical .pc-catalog-step-picker>.pc-category-popup>.pc-category-popup-heading{padding:12px 12px 9px}}
@media(prefers-reduced-motion:reduce){.pc-catalog-steps-vertical>ol>li>.pc-catalog-step-picker>.pc-category-trigger{transition:none}}

/* Creation is secondary to selecting an existing subcategory. */
.pc-category-popup-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:10px 12px;border-top:1px solid #ece8f2;background:#fff}
.pc-category-popup-actions>.pc-button{min-height:36px;padding:8px 11px;border-radius:7px;font-size:11px}

/* Keep group filters in the expanded list, with room for their own dropdowns. */
.pc-category-picker>.pc-category-popup.is-inline{position:relative;top:auto;bottom:auto;left:auto;right:auto;width:100%;min-width:0;max-width:none;margin-top:8px;overflow:visible;box-shadow:0 3px 12px #25324b0c}
.pc-category-popup-filters>.pc-group-stage{margin:0;border:0;border-bottom:1px solid #e8edf3;border-radius:0}
.pc-category-popup-filters .pc-group-facets{border-radius:0}
.pc-category-popup.is-inline>.pc-category-options{overscroll-behavior:contain}

/* Group selection: full-width filters above search and the list of specifications. */
.pc-group-browser>.pc-category-popup.is-inline{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(6,auto);--pc-inline-list-height:380px;border-color:#dce4ee;border-radius:12px;background:#fff;box-shadow:0 6px 22px #263d5c0a}
.pc-group-browser>.pc-category-popup>.pc-category-popup-heading{display:none;grid-column:1/-1;padding:10px 14px;border-bottom:1px solid #e8edf4;border-radius:12px 12px 0 0;background:#fff}
.pc-group-browser>.pc-category-popup>.pc-category-popup-heading>span{gap:8px;font-size:13px;color:#30445f}
.pc-group-browser>.pc-category-popup>.pc-category-popup-heading>span>small{padding:2px 6px;font-size:10px;border-radius:5px}
.pc-group-browser>.pc-category-popup>.pc-category-popup-heading>.pc-category-close{width:30px;height:30px;border-radius:7px;background:#f5f7fb;color:#75839a}
.pc-group-browser>.pc-category-popup>.pc-category-popup-heading>.pc-category-close:hover{background:#eee8f7;color:#7952b6}
.pc-group-browser>.pc-category-popup>.pc-category-popup-filters{grid-column:1;grid-row:2;min-width:0;margin:18px 18px 16px;border:1px solid #dfebe8;border-radius:10px;background:#f8fbfa}
.pc-group-browser .pc-category-popup-filters>.pc-group-stage{border:0;background:transparent}
.pc-group-browser .pc-readable-group-stage .pc-group-facets{padding:16px;background:transparent;border-radius:10px}
.pc-group-browser .pc-group-facet-heading{gap:10px 12px;margin-bottom:14px}
.pc-group-browser .pc-group-facet-heading>strong{font-size:14px;line-height:1.4;color:#315b58}
.pc-group-browser .pc-group-facet-actions{flex-basis:auto;margin-left:auto;gap:6px}
.pc-group-browser .pc-group-facet-actions>button{min-height:32px;padding:6px 9px;border-color:#d3e4df;background:#fff;font-size:11px}
.pc-group-browser .pc-readable-group-stage .pc-group-facet-guide{display:none}
.pc-group-browser .pc-readable-group-stage .pc-group-constants{gap:5px;margin:0 0 10px;padding:0 0 10px;border:0;border-bottom:1px solid #e1e8ef;border-radius:0;background:transparent}
.pc-group-browser .pc-group-constants-label{flex:0 0 auto;align-self:center;margin:0 4px 0 0;white-space:nowrap;color:#6e7d90;font-size:10px}
.pc-group-browser .pc-readable-group-stage .pc-group-constants>span{gap:4px;padding:3px 6px;border-color:#e1e8ef;border-radius:6px}
.pc-group-browser .pc-group-constants small,.pc-group-browser .pc-group-constants strong{font-size:10px}
.pc-group-browser .pc-readable-group-stage .pc-parameter-filter-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:10px 12px}
.pc-group-browser .pc-parameter-filter>label{margin-bottom:4px;font-size:12px;color:#53697e}
.pc-group-browser .pc-parameter-filter .pc-category-popup-heading{display:none}
.pc-group-browser .pc-parameter-filter .pc-category-trigger{min-height:42px;padding:8px 10px;border-color:#dce5eb;border-radius:8px;font-size:12px}
.pc-group-browser>.pc-category-popup>.pc-category-search{grid-column:1;grid-row:3;margin:0 18px;padding:16px 18px;border:1px solid #dfe5ef;border-bottom:0;border-radius:11px 11px 0 0;background:#fff}
.pc-group-browser>.pc-category-popup>.pc-category-search input{height:42px;min-height:42px;padding:10px 12px 10px 36px;border-color:#dce3ee;border-radius:8px;background:#fff;color:#354966;font-size:12px}
.pc-group-browser>.pc-category-popup>.pc-category-search input:focus{border-color:#ad8ad6;box-shadow:0 0 0 3px #7954b710}
.pc-group-browser>.pc-category-popup>.pc-category-search>i{top:auto;bottom:30px;left:31px;color:#8d9db2;font-size:12px}
.pc-group-browser>.pc-category-popup>.pc-category-options{grid-column:1;grid-row:4;min-width:0;margin:0 18px 16px;padding:0 10px 10px;border:1px solid #dfe5ef;border-top:0;border-radius:0 0 11px 11px;background:#fff}
.pc-group-browser>.pc-category-popup>.pc-category-options .pc-category-option{gap:10px;min-height:56px;margin:0 0 5px;padding:8px 10px;border:1px solid #e2e8f0;border-radius:9px;background:#fff;color:#30445e;transition:background .15s,border-color .15s}
.pc-group-browser>.pc-category-popup>.pc-category-options .pc-category-option:last-child{margin-bottom:0}
.pc-group-browser>.pc-category-popup>.pc-category-options .pc-category-option.is-active{border-color:#c8b4e4;background:#faf7ff}
.pc-group-browser>.pc-category-popup>.pc-category-options .pc-category-option.is-selected:not(.is-utility){border-color:#b79ad9;background:#f6f0fd;box-shadow:inset 3px 0 #8660bb}
.pc-group-choice-copy{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:3px 10px;flex:1;min-width:0}
.pc-group-choice-code{grid-column:1;grid-row:1;display:inline-flex;justify-content:center;min-width:74px;max-width:120px;padding:3px 6px;border:1px solid #e4daf2;border-radius:6px;background:#f5f0fb;color:#7953b3;font:600 10px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere}
.pc-group-choice-copy>strong{grid-column:2;font-size:12px;line-height:1.5;font-weight:650;overflow-wrap:anywhere}
.pc-group-choice-copy>small{grid-column:2;color:#78869a;font-size:10px;line-height:1.45;overflow-wrap:anywhere}
.pc-group-choice-count{display:flex;flex-direction:column;align-items:center;gap:1px;flex-shrink:0;min-width:45px;color:#4e617d;font-variant-numeric:tabular-nums}
.pc-group-choice-count>strong{font-size:13px;font-weight:600;line-height:1.2}
.pc-group-choice-count>small{font-size:9px;font-weight:400;color:#8490a3}
.pc-group-choice-indicator{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:20px;height:20px;border:1px solid #dce3ec;border-radius:50%;background:#fff;color:#fff;font-size:10px}
.pc-category-option.is-active .pc-group-choice-indicator{border-color:#b79ad9}
.pc-category-option.is-selected .pc-group-choice-indicator{border-color:#8457bb;background:#8457bb}
.pc-group-browser>.pc-category-popup>.pc-category-options .pc-category-option.is-utility{min-height:34px;margin:0 0 10px;padding:5px 10px;border:0;background:transparent;box-shadow:none;color:#8490a3}
.pc-group-choice-reset{display:flex;align-items:center;gap:8px;flex:1;min-width:0;font-size:11px;line-height:1.5}
.pc-group-choice-reset>i{font-size:10px;color:#99a5b7}
.pc-group-browser>.pc-category-popup>.pc-category-options .pc-category-option.is-utility.is-active{background:#f4f1f9;color:#73519f}
.pc-group-browser>.pc-category-popup>.pc-category-popup-actions{grid-column:1/-1;grid-row:5;padding:10px 14px;border-color:#e5ebf2;gap:9px}
.pc-group-browser>.pc-category-popup>.pc-category-popup-footer{grid-column:1/-1;grid-row:6;border-radius:0 0 12px 12px;padding:6px 14px;font-size:10px}
@media(max-width:1000px){.pc-group-browser>.pc-category-popup.is-inline{--pc-inline-list-height:380px}.pc-group-browser .pc-readable-group-stage .pc-parameter-filter-grid{gap:12px}.pc-group-browser .pc-readable-group-stage .pc-group-constants{padding:0 0 10px;margin-bottom:10px}}
@media(max-width:650px){.pc-group-browser .pc-readable-group-stage .pc-group-facets{padding:12px}.pc-group-browser .pc-readable-group-stage .pc-parameter-filter-grid{grid-template-columns:minmax(0,1fr)}.pc-group-browser .pc-group-facet-actions{flex-basis:100%;margin-left:0}.pc-group-browser>.pc-category-popup>.pc-category-popup-heading{padding:12px 14px}.pc-group-browser>.pc-category-popup>.pc-category-popup-heading>span{font-size:12px}.pc-group-browser>.pc-category-popup>.pc-category-popup-filters{margin:12px 12px 12px}.pc-group-browser>.pc-category-popup>.pc-category-search{margin:0 12px;padding:12px}.pc-group-browser>.pc-category-popup>.pc-category-options{margin:0 12px 12px;padding:0 8px 12px}.pc-group-browser>.pc-category-popup>.pc-category-options .pc-category-option{gap:8px;padding:8px 9px}.pc-group-choice-copy{grid-template-columns:minmax(0,1fr);gap:3px}.pc-group-choice-code{justify-self:start;min-width:0;max-width:100%;padding:3px 6px;font-size:10px}.pc-group-choice-copy>strong,.pc-group-choice-copy>small{grid-column:1}.pc-group-choice-copy>strong{font-size:12px}.pc-group-choice-copy>small{font-size:10px}.pc-group-choice-count{min-width:43px}.pc-group-choice-count>strong{font-size:13px}.pc-group-choice-count>small{font-size:9px}.pc-group-choice-indicator{width:19px;height:19px}.pc-group-browser>.pc-category-popup>.pc-category-popup-actions{padding:10px}.pc-group-browser>.pc-category-popup>.pc-category-popup-actions>.pc-button{flex:1 1 auto;justify-content:center;font-size:10px}.pc-group-browser>.pc-category-popup>.pc-category-popup-footer{padding:6px 10px}}
@media(prefers-reduced-motion:reduce){.pc-group-browser>.pc-category-popup>.pc-category-options .pc-category-option{transition:none}}

/* Hidden features remain stored and available in the group specification/editor. */
.pc-group-browser :is(.pc-parameter-filter,.pc-group-constants>span):is([data-field-key="szerokosc"],[data-field-key="wysokosc"],[data-field-key="rodzaj"],[data-field-key="typ"]){display:none}
.pc-group-browser .pc-readable-group-stage .pc-group-facet-heading>strong>i{width:28px;height:28px;border-radius:8px;background:#e8f4ef;color:#2d8b79;font-size:12px}

/* Search uses the same visible label and input treatment as the product list. */
.pc-group-browser>.pc-category-popup>.pc-category-search>label{display:block;margin-bottom:6px;color:#5c6e86;font-size:11px;font-weight:600;line-height:1.4}
.pc-group-browser>.pc-category-popup>.pc-category-search input::placeholder{color:#96a1b2}
.pc-group-browser-no-filters>.pc-category-popup>.pc-category-search{margin-top:18px}
@media(max-width:650px){.pc-group-browser>.pc-category-popup>.pc-category-search>i{left:25px;bottom:26px}.pc-group-browser-no-filters>.pc-category-popup>.pc-category-search{margin-top:12px}}

/* An empty category requires its first subcategory, instead of an empty picker. */
.pc-catalog-steps-vertical .pc-first-subcategory-required .pc-catalog-step-label{flex-direction:column;align-items:flex-start;gap:4px}
.pc-catalog-steps-vertical .pc-first-subcategory-required .pc-first-subcategory-help{display:block;white-space:normal;overflow:visible;font-size:12px;font-weight:400;line-height:1.45;color:#80708f}
.pc-catalog-steps-vertical .pc-first-subcategory-required .pc-first-subcategory-help:before{display:none}
.pc-first-subcategory-required .pc-catalog-choice-field{min-height:76px}

.pc-group-browser-no-filters>.pc-category-popup.is-inline{grid-template-columns:minmax(0,1fr)}
.pc-group-browser-no-filters>.pc-category-popup>.pc-category-search,.pc-group-browser-no-filters>.pc-category-popup>.pc-category-options{grid-column:1}

/* Expanded products retain their filters and actions with clearer names and prices. */
#pc-catalog-panel-4>.pc-catalog-panel-header{padding:14px 18px 0;gap:10px}
.pc-catalog-products-step{container-type:inline-size;container-name:pc-products;padding:18px;min-width:0}
.pc-catalog-products-step>.pc-parameter-filters{padding:16px;margin-bottom:16px;border-color:#dfebe8;border-radius:10px;background:#f8fbfa}
.pc-catalog-products-step .pc-parameter-filter-heading{gap:10px 12px;margin-bottom:14px}
.pc-catalog-products-step .pc-parameter-filter-heading>strong{font-size:14px;line-height:1.4;color:#315b58}
.pc-catalog-products-step .pc-parameter-filter-heading>strong>i{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:8px;background:#e8f4ef;color:#2d8b79;font-size:12px}
.pc-catalog-products-step .pc-parameter-filter-heading>button{min-height:32px;padding:6px 9px;border-color:#d3e4df;background:#fff;font-size:11px}
.pc-catalog-products-step .pc-variant-actions>.pc-button{min-height:36px;padding:8px 12px;font-size:12px}
.pc-catalog-products-step .pc-parameter-filter-grid{gap:12px 14px}
.pc-catalog-products-step .pc-parameter-filter>label,.pc-catalog-products-step .pc-parameter-filter legend{font-size:12px;color:#53697e}
.pc-catalog-products-step .pc-parameter-filter .pc-category-trigger{min-height:42px;padding:8px 10px;border-color:#dce5eb;border-radius:8px;font-size:12px}
.pc-catalog-products-step .pc-parameter-filter .pc-category-selected-name{font-weight:500}
.pc-product-list{overflow:visible;border-color:#dfe5ef;border-radius:11px;box-shadow:0 3px 12px #273b5505}
.pc-product-list-filters{align-items:flex-end;gap:14px;padding:16px 18px;background:#fff;border-bottom-color:#e5ebf2;border-radius:11px 11px 0 0}
.pc-product-list-filters>.pc-search{min-width:0;flex:1}
.pc-product-list-filters>.pc-search>span,.pc-product-status-filter>label{display:block;margin-bottom:6px;color:#5c6e86;font-size:11px;font-weight:600;line-height:1.4}
.pc-product-list-filters>.pc-search>i{top:auto;bottom:14px;left:13px;font-size:12px;color:#8d9db2}
.pc-product-list-filters>.pc-search>input{height:42px;padding:10px 12px 10px 36px;border-color:#dce3ee;border-radius:8px;background:#fff;color:#354966;font-size:12px;outline:none}
.pc-product-list-filters>.pc-search>input:focus{border-color:#ad8bd6;box-shadow:0 0 0 3px #7954b710}
.pc-product-list-filters>.pc-search>input::placeholder{color:#96a1b2}
.pc-product-status-filter{flex:0 1 205px;min-width:0}
.pc-product-status-filter .pc-category-trigger{min-height:42px;padding:8px 10px;border-color:#dce3ee;border-radius:8px;font-size:12px}
.pc-product-list>.pc-table-scroll{border-radius:0 0 11px 11px;scrollbar-width:thin;scrollbar-color:#d1c8df #f6f8fb}
.pc-product-table{min-width:860px;font-size:12px}
.pc-product-table th{padding:12px 16px;background:#f7f9fc;color:#738198;font-size:11px;font-weight:600}
.pc-product-table td{padding:16px;max-width:none;border-bottom-color:#e8edf4}
.pc-product-table .pc-product-row:hover{background:#fcfaff}
.pc-product-table .pc-product-group th{padding:10px 16px;border-color:#e8e1f1;background:#f8f5fc}
.pc-product-table .pc-product-group-heading{gap:8px;color:#89769e}
.pc-product-table .pc-product-group-heading>i{font-size:10px}
.pc-product-table .pc-product-group-heading>strong{font-size:11px;color:#7b6397}
.pc-product-table td.pc-product-code{max-width:165px;white-space:normal}
.pc-product-sku{display:inline-block;max-width:150px;padding:5px 7px;border:1px solid #e5dbf2;border-radius:6px;background:#f6f1fc;color:#7953ad;font:600 10px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere}
.pc-product-table .pc-product-name-cell{width:100%;min-width:260px;max-width:0}
.pc-product-name-cell>strong,.pc-product-name-copy>strong{display:block;min-width:0;max-width:100%;font-size:13px;font-weight:650;line-height:1.55;color:#2b3d59;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pc-product-meta{display:flex;align-items:center;flex-wrap:wrap;gap:5px 9px;margin-top:7px;color:#8390a4;font-size:11px;font-weight:400;line-height:1.5}
.pc-product-meta>span{min-width:0;overflow-wrap:anywhere}
.pc-product-sale-unit{padding:1px 6px;border:1px solid #e7ebf1;border-radius:4px;background:#f8fafc;font-size:10px;color:#7d8b9f}
.pc-product-table .pc-product-price-cell{min-width:150px}
.pc-product-table td.pc-product-price-cell .pc-price{font-size:14px;font-weight:700;line-height:1.5;white-space:nowrap;color:#257e79;font-variant-numeric:tabular-nums}
.pc-product-table td.pc-product-price-cell>small{font-size:10px;line-height:1.5}
.pc-product-table td.pc-product-price-cell>.pc-scheme-required-badge{margin-top:6px;padding:3px 6px;font-size:9px;font-weight:500}
.pc-product-table .pc-product-status-cell{min-width:98px}
.pc-product-table .pc-status{padding:4px 8px;font-size:10px;border-radius:6px;font-weight:500}
.pc-product-table .pc-table-actions{min-width:176px}
.pc-product-table .pc-product-row-actions{display:grid;grid-template-columns:repeat(2,max-content);justify-content:end;max-width:none;gap:7px}
.pc-product-table .pc-product-row-actions.pc-product-deleted-actions{grid-template-columns:repeat(2,max-content)}
.pc-product-table .pc-product-row-actions>.pc-button{min-height:34px;padding:7px 9px;border-radius:7px;font-size:11px;font-weight:600}
.pc-product-table .pc-product-page-link{grid-column:1/-1;min-width:0}
.pc-product-table .pc-product-row-actions>.pc-button:only-child{grid-column:1/-1;justify-self:end}
.pc-product-list>.pc-empty{padding:42px 20px;gap:9px}
@media(max-width:650px){#pc-catalog-panel-4>.pc-catalog-panel-header{padding:12px 12px 0}.pc-catalog-products-step{padding:12px}.pc-catalog-products-step>.pc-parameter-filters{padding:12px;margin-bottom:12px}.pc-catalog-products-step .pc-parameter-filter-heading>strong{font-size:13px}.pc-product-list-filters{padding:12px;flex-wrap:wrap;gap:12px}.pc-product-list-filters>.pc-search,.pc-product-status-filter{flex-basis:100%}.pc-catalog-products-step .pc-variant-actions>.pc-button{min-height:36px;font-size:11px}}

/* Table roles and headers remain available when narrow rows become cards. */
@container pc-products (max-width:780px){
.pc-product-list>.pc-table-scroll{overflow:visible;border-radius:0 0 11px 11px;background:#f7f9fc}
.pc-product-table{display:block;min-width:0;width:100%}
.pc-product-table>thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.pc-product-table>tbody{display:block;padding:0 12px 12px}
.pc-product-table .pc-product-group{display:block;margin:0 -12px 12px}
.pc-product-table .pc-product-group>th{display:block;border:0;border-bottom:1px solid #e8e1f1;padding:10px 14px}
.pc-product-table .pc-product-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;margin-bottom:10px;padding:14px;border:1px solid #e1e6ef;border-radius:10px;background:#fff;box-shadow:0 2px 5px #263b5703}
.pc-product-table .pc-product-row:last-child{margin-bottom:0}
.pc-product-table .pc-product-row>td{display:block;min-width:0;max-width:none;padding:0;border:0}
.pc-product-table .pc-product-row>.pc-product-code{grid-column:1;grid-row:1;align-self:center}
.pc-product-table .pc-product-row>.pc-product-status-cell{grid-column:2;grid-row:1;justify-self:end;align-self:center}
.pc-product-table .pc-product-row>.pc-product-name-cell{grid-column:1/-1;grid-row:2;width:auto}
.pc-product-table .pc-product-row>.pc-product-price-cell{grid-column:1/-1;grid-row:3;padding-top:10px;border-top:1px solid #edf0f5}
.pc-product-table .pc-product-row>.pc-product-price-cell:before{content:attr(data-label);display:block;margin-bottom:3px;color:#8591a4;font-size:10px;font-weight:500}
.pc-product-table .pc-product-row>.pc-table-actions{grid-column:1/-1;grid-row:4;text-align:left;padding-top:2px}
.pc-product-table .pc-product-row-actions{grid-template-columns:repeat(2,minmax(0,1fr));justify-content:start;max-width:none;gap:8px}
.pc-product-table .pc-product-row-actions.pc-product-deleted-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
.pc-product-table .pc-product-row-actions>.pc-button{min-height:36px;flex:1 1 auto;max-width:none}
.pc-product-table .pc-product-row-actions>.pc-product-page-link{flex-basis:100%}
.pc-product-table td.pc-product-price-cell .pc-price{font-size:16px;white-space:normal;overflow-wrap:anywhere}
.pc-product-name-cell>strong,.pc-product-name-copy>strong{font-size:13px;line-height:1.6}
.pc-product-meta{font-size:10px}
}
.pc-product-table td.pc-product-code,.pc-product-table th.pc-product-code{width:122px;min-width:122px}
.pc-product-table .pc-table-actions{min-width:208px}
@container pc-products (max-width:780px){.pc-product-table .pc-product-row>.pc-product-code{width:auto;min-width:0}.pc-product-table .pc-product-row>.pc-table-actions{min-width:0}}

/* A duplicate specification is shown before the first product can be added. */
.pc-group-duplicate-notice{display:flex;align-items:flex-start;gap:12px;margin:0 0 12px;padding:14px 16px;border:1px solid #e8d8b1;border-radius:9px;background:#fffaf0;color:#806231;line-height:1.55}
.pc-group-duplicate-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;border:1px solid #eaddbd;border-radius:8px;background:#fff3d7;color:#a88234;font-size:13px}
.pc-group-duplicate-notice>div{min-width:0}
.pc-group-duplicate-notice strong{display:block;font-size:13px;font-weight:700;color:#735728}
.pc-dialog .pc-group-duplicate-notice p{margin:4px 0 10px;font-size:12px;line-height:1.6;color:#8c7350;overflow-wrap:anywhere}
.pc-group-duplicate-notice .pc-code{margin:0 2px;background:#fff;border-color:#e8d8b5;color:#92713c}
.pc-group-duplicate-notice .pc-button{min-height:34px;background:#fff;border-color:#dbc697;color:#84602b;font-size:11px}
.pc-group-duplicate-notice .pc-button:hover:not(:disabled){background:#fff4db;border-color:#cbb174}
@media(max-width:560px){.pc-group-duplicate-notice{gap:9px;padding:12px}.pc-group-duplicate-icon{width:28px;height:28px}.pc-group-duplicate-notice .pc-button{width:100%;white-space:normal}}

/* Payment belongs to the group; shared settings sit below its fixed specification. */
.pc-product-dialog .pc-group-payment-setting{display:grid;grid-template-columns:minmax(180px,280px) minmax(0,1fr);align-items:end;gap:12px 20px;margin-top:16px;padding-top:14px;border-top:1px solid #dcebe6}
.pc-product-dialog .pc-group-payment-setting>.pc-help,.pc-product-dialog .pc-group-payment-warning{margin:0 0 3px;font-size:11px;line-height:1.55}
.pc-product-dialog .pc-group-payment-warning{color:#8a5c16}
.pc-product-dialog .pc-group-payment-fieldset .pc-group-payment-setting{margin-top:0;padding-top:0;border-top:0}
@media(max-width:650px){.pc-product-dialog .pc-group-payment-setting{grid-template-columns:minmax(0,1fr);gap:7px}.pc-product-dialog .pc-group-payment-setting>.pc-help,.pc-product-dialog .pc-group-payment-warning{margin:0}}

/* Group edits use the same fields as creation, in a dedicated compact dialog. */
.pc-group-edit-dialog .pc-group-context{margin-bottom:14px}
.pc-group-edit-dialog .pc-group-parameters,.pc-group-edit-dialog .pc-group-payment-fieldset{margin-bottom:12px}
.pc-group-edit-dialog .pc-group-payment-setting{display:grid;grid-template-columns:minmax(180px,280px) minmax(0,1fr);align-items:end;gap:10px 20px}
.pc-group-edit-dialog .pc-group-payment-setting>.pc-help,.pc-group-edit-dialog .pc-group-payment-warning{margin:0 0 3px;font-size:11px;line-height:1.55}
.pc-group-edit-dialog .pc-group-payment-warning{color:#8a5c16}
@media(max-width:650px){.pc-group-edit-dialog .pc-group-payment-setting{grid-template-columns:minmax(0,1fr);gap:7px}.pc-group-edit-dialog .pc-dialog-footer{flex-wrap:wrap}.pc-group-edit-dialog .pc-dialog-footer>.pc-help{max-width:none;flex-basis:100%}}

/* Unchosen group features remain visible without implying a saved value. */
.pc-group-constants>span.is-pending{background:#f8fafc;border-style:dashed}
.pc-group-constants>span.is-pending>strong{color:#8491a3;font-weight:500}

/* Continue explicitly from the chosen subcategory or group criteria. */
.pc-catalog-step-picker>.pc-category-popup>.pc-category-popup-actions>.pc-catalog-continue{margin-left:auto;min-height:38px;padding:8px 16px;font-size:12px}
@media(max-width:650px){.pc-catalog-step-picker>.pc-category-popup>.pc-category-popup-actions>.pc-catalog-continue{flex-basis:100%;margin-left:0;min-height:42px}}

/* Continue buttons use teal to distinguish navigation from creation. */
.pc-applet .pc-button.pc-catalog-continue{background:#167c80;border-color:#167c80;color:#fff;box-shadow:0 3px 7px #167c8026}
.pc-applet .pc-button.pc-catalog-continue:hover:not(:disabled){background:#116b70;border-color:#116b70}
.pc-applet .pc-button.pc-catalog-continue:active:not(:disabled){background:#0d5b60;border-color:#0d5b60}
.pc-applet .pc-button.pc-catalog-continue:focus-visible{outline:2px solid #167c80;outline-offset:3px}
.pc-applet .pc-button.pc-catalog-continue:disabled{background:#dceced;border-color:#d1e3e5;color:#729599;opacity:1;box-shadow:none}

/* Keep browsing beside creation, with subcategory settings on the right. */
#pc-catalog-step-2-popup>.pc-category-popup-actions>#pc-show-groups{margin-left:0}
#pc-catalog-step-2-popup>.pc-category-popup-actions>#pc-edit-subcategory{margin-left:auto}

/* Keep the same fixed action positions while selecting a product group. */
#pc-catalog-step-3-popup>.pc-category-popup-actions>#pc-show-products{margin-left:0}
#pc-catalog-step-3-popup>.pc-category-popup-actions>#pc-edit-group{margin-left:auto}

/* Show the upcoming group identity in the creation breadcrumb without reserving it. */
.pc-group-context .pc-new-group-code{background:#f3eefb;border-color:#dfd2f0;color:#7952b5;font-weight:650}
.pc-group-context .pc-new-group-name{min-width:0;max-width:100%;overflow-wrap:anywhere;font-weight:600}
.pc-group-context .pc-new-group-code-note{color:#8d829d;font-size:10px;white-space:nowrap}

/* Add group values beside the search, above the dropdown options. */
.pc-category-list-actions{padding:0 10px 9px;border-bottom:1px solid #eee9f5}
.pc-category-list-actions .pc-new-option{margin:0}
.pc-new-option-list-toggle{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;min-height:32px;padding:6px 10px;border:1px solid #e3d9f6;border-radius:6px;background:#f7f3fc;color:#7451ae;font:inherit;font-size:11px;font-weight:600;cursor:pointer}
.pc-new-option-list-toggle:hover:not(:disabled){background:#eee6fa;border-color:#cebce9}
.pc-new-option-list-toggle:disabled{cursor:default;opacity:.48}
.pc-category-list-actions .pc-new-option-editor{gap:7px;padding:8px;border:1px solid #e3d9f6;border-radius:7px;background:#faf8fe}
.pc-category-list-actions .pc-new-option-editor>input{flex-basis:100%;min-width:0!important;width:100%;height:34px;padding:7px 9px}
.pc-dialog .pc-field .pc-category-search input[type=search]{min-height:34px;padding:8px 10px 8px 32px}
.pc-category-list-actions+.pc-category-options .pc-category-no-results{min-height:0;padding:6px 8px;gap:0}
.pc-category-list-actions+.pc-category-options .pc-category-no-results>i,.pc-category-list-actions+.pc-category-options .pc-category-no-results>span{display:none}

/* Reserve room for searchable choices and their inline editor in group edits. */
.pc-group-edit-dialog .pc-dialog-body{min-height:min(480px,calc(100vh - 180px))}

/* Product removal is reversible; keep the action distinct from everyday editing. */
.pc-button-delete{color:#b24b60;background:#fff8f9;border-color:#f0d9df}.pc-button-delete:hover{color:#96364b;background:#fff0f3;border-color:#dba7b3}
.pc-button-destructive{background:#b6455d;color:white;border-color:#b6455d}.pc-button-destructive:hover{background:#9c354b;border-color:#9c354b}
.pc-status-deleted{background:#fff1f4;border-color:#f0d6dd;color:#a6475b}
.pc-delete-dialog{width:min(510px,100%)}.pc-delete-dialog .pc-heading-icon{background:#fff2f5;color:#b24b60;border-color:#f0d9df}.pc-delete-body{display:flex;flex-direction:column;align-items:flex-start;gap:12px}.pc-delete-product-name{font-size:15px;line-height:1.5;color:#34445f;overflow-wrap:anywhere}.pc-delete-body p{margin:0;font-size:13px;line-height:1.75;color:#65758e}.pc-delete-body .pc-message{width:100%;margin:0}.pc-delete-dialog .pc-dialog-footer{justify-content:flex-end;flex-wrap:wrap}

/* Select only products in the current filtered list. */
.pc-bulk-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px;padding:10px 16px;background:#fbf9fe;border-bottom:1px solid #e8e1f1;color:#69768d;font-size:11px}
.pc-bulk-select-all{display:inline-flex;align-items:center;gap:8px;cursor:pointer;color:#596681;font-weight:600}.pc-bulk-count strong{color:#7451ae}.pc-bulk-toolbar>.pc-button-delete{margin-left:auto}.pc-bulk-clear{padding:3px 0}
.pc-bulk-select-all>input,.pc-product-code-selection>input{width:16px;height:16px;min-width:16px;margin:0;accent-color:#7953b1;cursor:pointer;flex:0 0 16px}.pc-bulk-select-all>input:disabled,.pc-product-code-selection>input:disabled{cursor:default}.pc-bulk-select-all>input:focus-visible,.pc-product-code-selection>input:focus-visible{outline:2px solid #a691df;outline-offset:3px}
.pc-product-code-selection{display:flex;align-items:center;gap:8px}.pc-product-code-selection>.pc-product-sku{min-width:0}.pc-bulk-confirm-count{font-size:14px;color:#34445f}.pc-bulk-confirm-list{list-style:none;width:100%;max-height:220px;overflow:auto;padding:0;margin:0;border:1px solid #e4e8ef;border-radius:8px;scrollbar-width:thin}.pc-bulk-confirm-list>li{display:flex;align-items:flex-start;gap:9px;padding:9px 10px;border-bottom:1px solid #e8edf4;font-size:11px;line-height:1.55;color:#52647e}.pc-bulk-confirm-list>li:last-child{border-bottom:0}.pc-bulk-confirm-list .pc-code{flex-shrink:0;margin-top:1px}.pc-bulk-confirm-list>li>span:last-child{min-width:0;overflow-wrap:anywhere}
@media(max-width:480px){.pc-bulk-toolbar{padding:10px 12px;gap:10px}.pc-bulk-toolbar>.pc-button-delete{flex-basis:100%;margin-left:0}.pc-bulk-confirm-list>li{flex-wrap:wrap}}

@container pc-products (min-width:781px){.pc-product-selection-table td.pc-product-code,.pc-product-selection-table th.pc-product-code{width:156px;min-width:156px}}

/* A complete scheme set is prepared in the form and created only on Save. */
.pc-scheme-set{margin-top:14px;padding:12px;border:1px solid #d4e8e4;border-radius:9px;background:#f5fbf9}.pc-scheme-set-toggle{display:flex;align-items:center;gap:10px;cursor:pointer}.pc-scheme-set-toggle>input{width:17px;height:17px;flex:0 0 17px;accent-color:#287f78}.pc-scheme-set-toggle strong{display:block;font-size:12px;color:#286e68}.pc-scheme-set-toggle small{display:block;margin-top:3px;font-size:10px;color:#72918d}.pc-scheme-set-details>p{font-size:11px;line-height:1.6;color:#66837f;margin:12px 0}.pc-scheme-set-preview{margin-top:12px;border-top:1px solid #dcebe6;padding-top:10px}.pc-scheme-set-preview>summary{font-size:11px;font-weight:650;color:#347d73;cursor:pointer}.pc-scheme-set-preview ol{max-height:260px;overflow:auto;padding:8px 0 0 22px;margin:0;font-size:11px}.pc-scheme-set-preview li{padding:7px 4px;border-bottom:1px solid #e0ede8}.pc-scheme-set-preview li>strong{float:right;color:#2c7770;margin-left:12px}.pc-product-pricing-kind{color:#7a6399!important;font-size:10px!important}

.pc-product-dialog .pc-product-prices>.pc-custom-price-fields{grid-template-columns:minmax(0,1fr) minmax(65px,.5fr) minmax(0,1fr) minmax(85px,.7fr)}
@media(max-width:650px){.pc-product-dialog .pc-product-prices>.pc-custom-price-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Recoverable group management stays separate from navigating to products. */
.pc-deleted-groups-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}.pc-deleted-groups-list li{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #dce4f2;border-radius:10px}.pc-deleted-groups-list li>span:nth-child(2){flex:1;min-width:0}.pc-deleted-groups-list small{display:block;margin-top:4px;color:#7d8daa;font-size:11px}#pc-delete-group{margin-left:0}#pc-deleted-groups{margin-left:0}@media(max-width:600px){.pc-deleted-groups-list li{flex-wrap:wrap}}

/* Group checkboxes are siblings of the navigation button, never nested controls. */
.pc-category-choice-row{display:contents}.pc-category-choice-row.is-selectable{display:flex;align-items:center;gap:8px;margin-bottom:5px}.pc-category-choice-row.is-selectable>input{flex:none;width:16px;height:16px;margin:0 2px 0 8px;accent-color:#7a52bd;cursor:pointer}.pc-category-choice-row.is-selectable>.pc-category-option{flex:1;min-width:0;margin:0!important}
.pc-group-bulk-toolbar,.pc-trash-group-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 14px;color:#667b9b;font-size:11px}.pc-group-bulk-toolbar label,.pc-trash-group-toolbar label{display:flex;align-items:center;gap:7px;cursor:pointer}.pc-group-bulk-toolbar button,.pc-trash-group-toolbar button{margin-left:auto}.pc-group-bulk-toolbar input,.pc-trash-group-toolbar input,.pc-deleted-groups-list input{accent-color:#7a52bd;width:16px;height:16px;flex:none}.pc-group-browser .pc-category-list-actions{grid-column:1;grid-row:4;border:1px solid #dfe5ef;border-top:0;margin:0 18px;background:#fff}.pc-group-browser>.pc-category-popup>.pc-category-options{grid-row:5}.pc-group-browser>.pc-category-popup>.pc-category-popup-actions{grid-row:6}.pc-group-browser>.pc-category-popup>.pc-category-popup-footer{grid-row:7}
.pc-deleted-groups-list li>.pc-code{flex:none}.pc-deleted-groups-list .pc-deleted-group-copy{flex:1;min-width:100px}.pc-trash-group-actions{display:flex;gap:6px;flex-wrap:wrap}.pc-permanent-warning{padding:12px;border:1px solid #ebc6ca;background:#fff3f4;border-radius:8px;color:#8e3544}.pc-delete-dialog:has(.pc-trash-group-toolbar){width:min(820px,calc(100vw - 32px))}
@media(max-width:650px){.pc-group-browser .pc-category-list-actions{margin:0 10px}.pc-group-bulk-toolbar button,.pc-trash-group-toolbar button{margin-left:0}.pc-trash-group-actions{width:100%;justify-content:flex-end}}
.pc-deleted-groups-list{width:100%;box-sizing:border-box}.pc-trash-group-toolbar{width:100%;box-sizing:border-box;padding:0 0 10px}.pc-deleted-group-copy small{line-height:1.45}
.pc-deleted-groups-list li>span.pc-code{flex:0 0 auto;max-width:none}.pc-deleted-groups-list li>span.pc-deleted-group-copy{flex:1 1 auto}

/* A single paired dimension control in the group form. */
.pc-dimension-editor{display:grid;gap:9px;padding:10px;border:1px solid #e3d9f6;border-radius:7px;background:#faf8fe}
.pc-dimension-inputs{display:grid;grid-template-columns:minmax(0,1fr) 14px minmax(0,1fr);gap:7px;align-items:end}
.pc-dimension-inputs .pc-field{min-width:0;gap:5px}.pc-dimension-inputs label{font-size:10px!important}.pc-dimension-inputs input{width:100%;min-width:0!important;height:34px;padding:7px 9px}
.pc-dimension-times{align-self:end;padding-bottom:8px;text-align:center;color:#9279b3}.pc-dimension-actions{display:flex;justify-content:flex-end;align-items:center;gap:12px}.pc-dimension-actions .pc-text-button{font-size:10px}

/* Keep the paired format editor inside the available space in the group dialog. */
.pc-dimension-editing:not(.pc-expand-down) .pc-category-search,.pc-dimension-editing:not(.pc-expand-down) .pc-category-popup-footer{display:none}

/* Group form pickers preserve readable options; limited space uses an in-form panel. */
.pc-category-picker.pc-expand-down>.pc-category-popup.is-expanded-down{margin:0;padding:0;min-width:0;overflow:hidden;box-sizing:border-box;box-shadow:0 14px 38px #25324b24,0 3px 9px #25324b0a;overscroll-behavior:contain}
.pc-category-picker.pc-expand-down>.pc-category-popup.is-expanded-down:where(:popover-open,:not([popover])){display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto minmax(0,1fr) auto auto}
.pc-expand-down .is-expanded-down>.pc-category-popup-heading{grid-column:1/-1;grid-row:1}
.pc-expand-down .is-expanded-down>.pc-category-search{grid-column:1;grid-row:2;min-width:0;margin:0 0 8px 10px}
.pc-expand-down .is-expanded-down>.pc-category-list-actions{grid-column:2;grid-row:2;padding:0 10px 8px 6px;border:0}
.pc-expand-down .is-expanded-down .pc-new-option-list-toggle{min-height:34px;white-space:nowrap;padding:6px 9px}
.pc-expand-down .is-expanded-down>.pc-category-options{grid-column:1/-1;grid-row:3;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;overflow-anchor:none}
.pc-expand-down .is-expanded-down>.pc-category-popup-actions{grid-column:1/-1;grid-row:4}
.pc-expand-down .is-expanded-down>.pc-category-popup-footer{grid-column:1/-1;grid-row:5;padding:5px 10px}
.pc-category-popup.is-expanded-down.is-form-panel{border-color:#c8b1e3;box-shadow:0 18px 48px #25324b33,0 3px 10px #25324b14}
.pc-expand-down .is-expanded-down.is-tight-panel>.pc-category-popup-heading{padding:5px 10px 3px}
.pc-expand-down .is-expanded-down.is-tight-panel>.pc-category-popup-footer{display:none}
.pc-category-popup.is-expanded-down::backdrop{background:transparent;pointer-events:none}
.pc-group-step .pc-field{align-self:start}

/* New values are edited inside the existing picker scroll area. */
.pc-category-inline-editor{padding:3px 4px 10px}
.pc-category-inline-editor .pc-new-option-editor{gap:7px;padding:8px;border:1px solid #e3d9f6;border-radius:7px;background:#faf8fe}
.pc-category-inline-editor .pc-new-option-editor>input{flex-basis:100%;min-width:0!important;width:100%;min-height:34px!important;padding:7px 9px}
.pc-bulk-option-help{flex-basis:100%;margin:0;color:#586885;font-size:11px}
.pc-category-inline-editor .pc-new-option-editor>textarea{flex-basis:100%;min-width:0;width:100%;min-height:66px;max-height:140px;padding:7px 9px;resize:vertical}
.pc-new-option-list-toggle[aria-expanded=true]{border-color:#bca0da;background:#eee6fa}

/* Compact group browser: one aligned card per row, including its bulk checkbox. */
.pc-group-browser>.pc-category-popup>.pc-category-popup-filters{margin:10px 10px 8px;border-radius:8px}
.pc-group-browser .pc-readable-group-stage .pc-group-facets{padding:10px 12px}
.pc-group-browser .pc-group-facet-heading{gap:8px;margin-bottom:8px}
.pc-group-browser .pc-group-facet-heading>strong{font-size:12px;gap:7px}
.pc-group-browser .pc-readable-group-stage .pc-group-facet-heading>strong>i{width:24px;height:24px;border-radius:6px;font-size:11px}
.pc-group-browser .pc-readable-group-stage .pc-group-constants{gap:4px;margin:0 0 8px;padding:0 0 8px}
.pc-group-browser .pc-readable-group-stage .pc-group-constants>span{gap:3px;padding:2px 5px;border-radius:4px}
.pc-group-browser .pc-readable-group-stage .pc-parameter-filter-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:7px 10px}
.pc-group-browser .pc-parameter-filter{gap:3px}
.pc-group-browser .pc-parameter-filter>label{margin:0;font-size:10px;line-height:1.4}
.pc-group-browser .pc-parameter-filter .pc-category-trigger{min-height:34px;padding:5px 8px;border-radius:6px;font-size:11px}
.pc-group-browser .pc-parameter-filter .pc-category-trigger .pc-category-symbol{width:17px;height:17px;font-size:9px}
.pc-group-browser>.pc-category-popup>.pc-category-search{margin:0 10px;padding:9px 10px 7px;border-radius:8px 8px 0 0}
.pc-group-browser>.pc-category-popup>.pc-category-search>label{margin-bottom:4px;font-size:10px}
.pc-group-browser>.pc-category-popup>.pc-category-search input{height:34px;min-height:34px;padding:7px 10px 7px 31px;border-radius:6px;font-size:11px}
.pc-group-browser>.pc-category-popup>.pc-category-search>i{left:21px;bottom:18px;font-size:11px}
.pc-group-browser>.pc-category-popup>.pc-category-list-actions{margin:0 10px;padding:0}
.pc-group-browser .pc-group-bulk-toolbar{min-height:36px;padding:5px 8px 5px 16px;gap:8px;font-size:10px}
.pc-group-browser .pc-group-bulk-toolbar label{gap:6px}
.pc-group-browser .pc-group-bulk-toolbar input{width:14px;height:14px;margin:0}
.pc-group-browser .pc-group-bulk-toolbar .pc-button{min-height:26px;padding:4px 7px;font-size:10px}
.pc-group-browser>.pc-category-popup>.pc-category-options{margin:0 10px 8px;padding:4px 6px 6px;border-radius:0 0 8px 8px}
.pc-group-browser>.pc-category-popup>.pc-category-options .pc-category-choice-row.is-selectable{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:6px;min-height:46px;margin:0 0 4px;padding:0 7px;border:1px solid #e1e7f0;border-radius:7px;background:#fff;box-sizing:border-box}
.pc-group-browser>.pc-category-popup>.pc-category-options .pc-category-choice-row.is-selectable:last-child{margin-bottom:0}
.pc-group-browser>.pc-category-popup>.pc-category-options .pc-category-choice-row.is-selectable>input{width:14px;height:14px;margin:0;justify-self:center}
.pc-group-browser>.pc-category-popup>.pc-category-options .pc-category-choice-row.is-selectable>.pc-category-option{gap:8px;min-height:44px;margin:0;padding:4px 2px;border:0;border-radius:0;background:transparent;box-shadow:none}
.pc-group-browser>.pc-category-popup>.pc-category-options .pc-category-choice-row.is-selectable:has(>.pc-category-option.is-selected){border-color:#bba0dc;background:#f6f1fc;box-shadow:inset 2px 0 #8660bb}
.pc-group-browser>.pc-category-popup>.pc-category-options .pc-category-choice-row.is-selectable:hover:not(:has(>.is-selected)){border-color:#cbd5e6;background:#fafbfe}
.pc-group-browser>.pc-category-popup>.pc-category-options .pc-category-choice-row.is-selectable:focus-within{outline:2px solid #bca4dc;outline-offset:1px}
.pc-group-browser .pc-group-choice-copy{gap:2px 8px}
.pc-group-browser .pc-group-choice-code{min-width:70px;padding:1px 5px;border-radius:4px}
.pc-group-browser .pc-group-choice-copy>strong{line-height:1.3}
.pc-group-browser .pc-group-choice-copy>small{font-size:10px;line-height:1.3}
.pc-group-browser .pc-group-choice-count{min-width:42px}
.pc-group-browser .pc-group-choice-count>strong{font-size:12px}
.pc-group-browser .pc-group-choice-indicator{width:18px;height:18px;font-size:9px}
.pc-group-browser>.pc-category-popup>.pc-category-popup-actions{padding:8px 10px;gap:7px}
.pc-group-browser>.pc-category-popup>.pc-category-popup-actions>.pc-button{min-height:30px;padding:5px 9px;font-size:11px}
.pc-group-browser>.pc-category-popup>.pc-category-popup-footer{padding:5px 10px;font-size:9px}
@media(max-width:700px){.pc-group-browser .pc-readable-group-stage .pc-parameter-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pc-group-browser .pc-readable-group-stage .pc-group-facets{padding:9px 10px}.pc-group-browser .pc-group-facet-actions{flex-basis:auto}.pc-group-browser .pc-group-choice-copy{grid-template-columns:minmax(0,1fr)}.pc-group-browser .pc-group-choice-code{min-width:0;justify-self:start}.pc-group-browser .pc-parameter-filter .pc-category-trigger{min-height:38px}.pc-group-browser .pc-group-bulk-toolbar{gap:6px;flex-wrap:wrap}.pc-group-browser .pc-group-bulk-toolbar button{margin-left:auto}.pc-group-browser>.pc-category-popup>.pc-category-popup-actions>.pc-button{min-height:34px}}
@media(max-width:480px){.pc-group-browser .pc-group-bulk-toolbar{padding-left:13px}.pc-group-browser .pc-readable-group-stage .pc-parameter-filter-grid{grid-template-columns:minmax(0,1fr)}.pc-group-browser .pc-group-bulk-toolbar button{margin-left:0}.pc-group-browser>.pc-category-popup>.pc-category-options .pc-category-choice-row.is-selectable{grid-template-columns:16px minmax(0,1fr);gap:4px;padding:0 5px}.pc-group-browser .pc-group-choice-count{min-width:36px}.pc-group-browser .pc-group-choice-indicator{width:17px;height:17px}}

/* Value actions stay beside the option, outside its selection button. */
.pc-category-choice-row.has-item-actions{display:flex;align-items:center;gap:4px}
.pc-category-choice-row.has-item-actions>.pc-category-option{flex:1;min-width:0}
.pc-category-item-actions{display:flex;align-items:center;flex:none;padding-right:3px}
.pc-category-item-actions:empty{display:none}
.pc-option-remove{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;flex:none;padding:0;border:1px solid transparent;border-radius:6px;background:transparent;color:#ad7f89;font:inherit;font-size:11px;cursor:pointer}
.pc-option-remove:hover{border-color:#f1cbd3;background:#fff4f6;color:#bc4057}
.pc-option-remove:focus-visible{outline:2px solid #bba1df;outline-offset:1px;border-color:#e3c9ef;background:#fff7fa;color:#ab3750}
.pc-option-remove:disabled{opacity:.4;cursor:default}
.pc-option-saved{font-size:9px;font-weight:400;color:#8c96aa}
.pc-multiselect-choice{display:inline-flex;align-items:center;gap:2px;min-width:0}
.pc-multiselect-choice>.pc-check{min-width:0}
.pc-multiselect-choice .pc-option-remove{width:25px;height:25px}
.pc-multiselect-choice .pc-option-saved{margin-left:3px}
.pc-category-popup-footer .pc-option-action-error,.pc-option-action-error{margin:0;color:#b34154;font-size:10px;line-height:1.45;white-space:normal}
.pc-options>.pc-option-action-error{flex-basis:100%}
.pc-expand-down .is-expanded-down.is-tight-panel>.pc-category-popup-footer.has-action-error{display:flex}
.pc-option-action-error{overflow-wrap:anywhere}

/* Group-field removal is separate from deleting a value inside its list. */
.pc-field.has-field-removal{position:relative}
.pc-field.has-field-removal>label:not(.pc-check){min-height:24px;padding-right:33px}
.pc-field.has-field-removal>.pc-options>legend{min-height:24px;padding-right:33px}
.pc-field.has-field-removal>.pc-boolean{padding-right:39px}
.pc-field-remove{position:absolute;top:-3px;right:0;z-index:1;display:inline-flex;align-items:center;justify-content:center;width:26px;height:24px;flex:none;padding:0;border:1px solid #efd8de;border-radius:5px;background:#fffafb;color:#b55b6c;font:inherit;font-size:11px;cursor:pointer}
.pc-field.has-checkbox-removal>.pc-field-remove{top:5px;right:5px}
.pc-field-remove:hover{border-color:#e9bbc6;background:#fff0f3;color:#b33750}
.pc-field-remove:focus-visible{outline:2px solid #bba1df;outline-offset:2px}
.pc-field-remove:disabled{opacity:.4;cursor:default}

/* Keep the original scheme visible beside the deadline selected during product editing. */
.pc-product-dialog .pc-deadline-field-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 8px;min-width:0}
.pc-product-dialog .pc-deadline-field-heading>label{margin:0;font-size:11px;line-height:1.35;color:#4e4265;font-weight:650}
.pc-product-dialog .pc-default-scheme{display:inline-flex;align-items:baseline;gap:4px;padding:2px 5px;border:1px solid #e2d9ee;border-radius:5px;background:#f5f1fa;color:#78638e;font-size:9px;line-height:1.2;max-width:100%;overflow-wrap:anywhere}
.pc-product-dialog .pc-default-scheme strong{font-size:9px;font-weight:650;color:#684c8b}

/* Recoverable category management stays separate from product and group removal. */
.pc-category-dialog{width:min(600px,100%)}.pc-category-dialog .pc-heading-icon{background:#eff8f7;border-color:#cde5e2;color:#267b78}.pc-category-form-fields{gap:14px}.pc-category-form-fields .pc-field:not(.pc-field-wide){max-width:245px}.pc-deleted-categories-list{list-style:none;padding:0;margin:0;display:grid;gap:8px}.pc-deleted-categories-list li{display:flex;align-items:center;gap:10px;padding:11px;border:1px solid #dce4ef;border-radius:8px;background:#fff}.pc-deleted-categories-list li>.pc-code{flex:none}.pc-deleted-categories-list li>strong{flex:1;min-width:0;font-size:12px;color:#3d506d;overflow-wrap:anywhere}.pc-deleted-categories-list li>.pc-button{flex:none}.pc-category-trash-help{margin:0 0 12px}.pc-category-trash-empty{display:flex;align-items:center;justify-content:center;gap:8px;padding:28px 10px;color:#72839c;font-size:12px}#pc-deleted-categories{margin-left:auto}@media(max-width:560px){.pc-deleted-categories-list li{flex-wrap:wrap}.pc-deleted-categories-list li>strong{flex-basis:calc(100% - 110px)}.pc-deleted-categories-list li>.pc-button{margin-left:auto}#pc-deleted-categories{margin-left:0}.pc-category-form-fields .pc-field:not(.pc-field-wide){max-width:none}}

/* Keep category navigation together and category recovery actions at the opposite edge. */
.pc-category-main-actions,.pc-category-manage-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}
.pc-category-manage-actions{margin-left:auto}
.pc-category-main-actions>.pc-button,.pc-category-manage-actions>.pc-button{min-height:36px;padding:8px 11px;border-radius:7px;font-size:11px}
.pc-category-main-actions>.pc-catalog-continue{margin-left:0}
.pc-category-manage-actions>#pc-deleted-categories{margin-left:0}
@media(max-width:650px){.pc-category-main-actions,.pc-category-manage-actions{gap:7px}.pc-category-manage-actions{justify-content:flex-end}.pc-category-main-actions>.pc-button,.pc-category-manage-actions>.pc-button{min-height:38px}}
@media(max-width:480px){.pc-category-manage-actions{flex-basis:100%;margin-left:0}}

/* Category folders are shared category metadata, separate from product folder overrides. */
.pc-category-folder-context{display:flex;align-items:center;gap:9px;min-width:0;margin:0 0 17px;padding:10px 12px;border:1px solid #e0e9ec;border-radius:8px;background:#f7fbfa}.pc-category-folder-context>.pc-code{flex:none}.pc-category-folder-context>strong{min-width:0;font-size:13px;font-weight:650;color:#3d5f68;overflow-wrap:anywhere}.pc-category-folder-form .pc-field{gap:7px}.pc-category-folder-form .pc-field>input{font-size:12px}.pc-category-folder-form .pc-product-link-open{display:inline-flex;align-self:flex-start;gap:6px;margin-top:4px;font-size:11px;font-weight:600;color:#7451bc;text-decoration:none}.pc-category-folder-form .pc-product-link-open:hover{text-decoration:underline}

/* Shared photo and video materials belong to a group; product cards show the same gallery. */
.pc-media{min-width:0;padding:16px;border:1px solid #d8e6e9;border-radius:11px;background:#fff}
.pc-media-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}
.pc-media-heading-copy{display:flex;align-items:center;gap:10px;min-width:0}.pc-media-heading-copy>div{min-width:0}
.pc-media-heading-icon{display:flex;align-items:center;justify-content:center;width:36px;height:36px;flex:none;border:1px solid #d4e9e5;border-radius:9px;background:#eef8f6;color:#2f837b;font-size:16px}
.pc-media-heading h4{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0;color:#315b65;font-size:13px;font-weight:700;line-height:1.4}
.pc-media-heading h4>small{padding:2px 6px;border:1px solid #dfece9;border-radius:5px;background:#f1f7f5;color:#4d7470;font-size:10px;font-weight:650;white-space:nowrap}.pc-media-heading h4>small>span{color:#91a5a0;font-weight:500}
.pc-media-heading p{margin:4px 0 0;color:#6a7e95;font-size:11px;line-height:1.45}.pc-media-heading>.pc-button{flex:none}.pc-media-add{min-height:34px!important;padding:8px 11px!important}
.pc-media-formats{display:flex;align-items:center;justify-content:space-between;gap:10px 16px;margin-bottom:14px;padding:11px 12px;border:1px solid #e3dcef;border-radius:8px;background:#faf8fd}
.pc-media-formats-copy{display:grid;gap:4px;min-width:0}.pc-media-formats-copy>strong{font-size:11px;line-height:1.4;font-weight:650;color:#5b4778}.pc-media-formats-copy>span{font-size:10px;line-height:1.4;color:#8b7d9d}
.pc-media-formats-copy b{font-weight:650;color:#68567f}
.pc-media-format-tags{display:flex;align-items:center;gap:7px;flex-wrap:wrap;flex:none}.pc-media-format-tag{display:inline-flex;align-items:center;gap:6px;padding:7px 9px;border:1px solid #d7e9e5;border-radius:6px;background:#fff;color:#3c7c73;font-size:10px;white-space:nowrap}.pc-media-format-tag>i{font-size:12px;color:#4c9186}.pc-media-format-tag>strong{font-size:10px;font-weight:700}.pc-media-format-tag>span{color:#758c8a}.pc-media-format-video{border-color:#e4dcef;color:#7a5ba3}.pc-media-format-video>i{color:#9575bc}.pc-media-format-video>span{color:#8c7a9d}
.pc-media-order-help{display:flex;align-items:flex-start;gap:7px;margin:0 0 11px;color:#748994;font-size:10px;line-height:1.5}.pc-media-order-help>i{margin-top:2px;color:#7f9c9c;font-size:10px;flex:none}
.pc-media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px;align-items:stretch}
.pc-media-card{display:flex;flex-direction:column;position:relative;min-width:0;overflow:hidden;border:1px solid #dce5eb;border-radius:9px;background:#fff;box-shadow:0 2px 5px #35485d05;transition:border-color .15s,box-shadow .15s}.pc-media-card:hover{border-color:#b5d2cf;box-shadow:0 3px 10px #35485d0b}.pc-media-card.pc-media-is-thumbnail{border-color:#abd1c8}
.pc-media-drag-handle{position:absolute;z-index:1;left:7px;top:7px;display:flex;align-items:center;justify-content:center;width:30px;height:28px;padding:0;border:1px solid #d8e1e8;border-radius:7px;background:#fffffff2;color:#698293;box-shadow:0 2px 5px #2531460d;cursor:grab;touch-action:none;user-select:none}.pc-media-drag-handle:hover:not(:disabled){border-color:#bdcfd8;background:#fff;color:#3e7181}.pc-media-drag-handle:focus-visible{outline:2px solid #9270d2;outline-offset:2px}.pc-media-drag-handle:disabled{opacity:.45;cursor:default}.pc-media-drag-active{user-select:none;cursor:grabbing}.pc-media-drag-active .pc-media-drag-handle{cursor:grabbing}.pc-media-is-dragging{opacity:.55;border-style:dashed!important;border-color:#9c87bf!important}.pc-media-card.pc-media-drop-before{border-color:#9574c3;box-shadow:inset 4px 0 0 #9574c3,0 0 0 2px #9574c31a}.pc-media-card.pc-media-drop-after{border-color:#9574c3;box-shadow:inset -4px 0 0 #9574c3,0 0 0 2px #9574c31a}
.pc-media-preview{display:flex;position:relative;align-items:center;justify-content:center;width:100%;aspect-ratio:4/3;overflow:hidden;background:#f2f6f7;text-decoration:none;color:#5e7289}
.pc-media-preview>img{width:100%;height:100%;object-fit:contain;padding:5px}.pc-media-preview>video{width:100%;height:100%;object-fit:contain;background:#25313e}.pc-media-preview:focus-visible{outline:2px solid #9270d2;outline-offset:-3px}
.pc-media-video>a{position:absolute;bottom:8px;left:8px;padding:5px 7px;border-radius:5px;background:#fff;color:#62489e;font-size:10px;text-decoration:none}
.pc-media-placeholder{display:grid;justify-items:center;gap:8px;padding:12px;font-size:11px}.pc-media-placeholder i{font-size:26px;color:#93a6ba}
.pc-media-card-copy{display:grid;gap:6px;min-width:0;padding:10px 11px 11px;border-top:1px solid #eaf0f3}.pc-media-card-copy>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.4;font-weight:600;color:#3e526e}
.pc-media-card-meta{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0}.pc-media-card-meta>small{flex:none;color:#8a99a9;font-size:9px;white-space:nowrap}.pc-media-kind{font-size:9px;line-height:1.3;color:#57867c;font-weight:650}.pc-media-kind>span{color:#8a9f9a;font-weight:500}
.pc-media-card-actions{display:grid;grid-template-rows:minmax(23px,auto) 28px;gap:6px;margin-top:auto;padding:0 10px 10px;min-width:0}.pc-media-thumbnail-badge,.pc-media-set-thumbnail{display:flex;align-items:center;justify-content:center;gap:5px;width:100%;min-width:0;box-sizing:border-box;border-radius:5px;font:inherit;font-size:10px;line-height:1.3;white-space:nowrap}.pc-media-thumbnail-badge{border:1px solid #d8eae5;background:#eef7f4;color:#3b8275;font-weight:600}.pc-media-set-thumbnail{white-space:normal;padding:3px 5px;border:1px solid #e4dcef;background:#faf8fd;color:#7b5aa3;cursor:pointer}.pc-media-set-thumbnail:hover{background:#f3eefb;border-color:#cbb8e4}.pc-media-set-thumbnail:disabled{opacity:.5;cursor:default}.pc-media-set-thumbnail:focus-visible,.pc-media-order button:focus-visible{outline:2px solid #9270d2;outline-offset:2px}
.pc-media-order{grid-row:2;display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding-top:5px;border-top:1px solid #edf1f4}.pc-media-order>span{color:#95a2b0;font-size:9px;font-variant-numeric:tabular-nums}.pc-media-order>div{display:flex;gap:5px}.pc-media-order button{display:flex;align-items:center;justify-content:center;width:28px;height:25px;padding:0;border:1px solid #dfe7ed;border-radius:5px;background:#fff;color:#6a8299;font-size:10px;cursor:pointer}.pc-media-order button:hover:not(:disabled){border-color:#c7b7df;background:#f8f5fc;color:#7a5ba4}.pc-media-order button:disabled{border-color:#edf1f4;background:#fafbfc;color:#c4ced7;cursor:default}
.pc-media-remove{position:absolute;right:7px;top:7px;display:flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:1px solid #ecdce0;border-radius:7px;background:#fffffff2;color:#b85165;box-shadow:0 2px 5px #2531460d;cursor:pointer}.pc-media-remove:hover{border-color:#e7b4c0;background:#fff3f5}.pc-media-remove:disabled{opacity:.5;cursor:default}.pc-media-remove:focus-visible{outline:2px solid #9270d2;outline-offset:2px}
.pc-media-empty{display:flex;align-items:center;justify-content:center;gap:12px;min-height:100px;padding:18px 12px;border:1px dashed #d5e3e5;border-radius:8px;background:#fbfdfd;color:#718a8c}.pc-media-empty-icon{display:flex;align-items:center;justify-content:center;width:42px;height:42px;flex:none;border-radius:11px;background:#eff7f5;color:#79a7a0;font-size:21px}.pc-media-empty>div{display:grid;gap:5px;min-width:0}.pc-media-empty strong{font-size:12px;font-weight:600;color:#4e7474}.pc-media-empty>div>span{font-size:10px;line-height:1.5;color:#91a1ac}
.pc-media-progress{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:12px;padding:11px 12px;border:1px solid #d7e9e7;border-radius:8px;background:#f0f8f6;color:#3f746e;font-size:11px}.pc-media-progress>span{flex:1;min-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pc-media-progress>span>i{margin-right:5px}.pc-media-progress>progress{width:110px;max-width:100%;height:7px;accent-color:#28847b}.pc-media-progress>strong{font-size:10px;min-width:30px}.pc-media-progress>.pc-text-button{flex:none;font-size:10px}
.pc-media-error,.pc-media-status,.pc-media-unavailable{margin:10px 0 0;font-size:11px;line-height:1.5}.pc-media-error{color:#b13c55}.pc-media-status{color:#367c71}.pc-media-unavailable{padding:9px;border-radius:6px;background:#f6f7fa;color:#6e7f93}
.pc-parameter-card>.pc-media{margin-top:14px}.pc-media-readonly{background:#fbfdfd}.pc-media-readonly .pc-media-heading{margin-bottom:12px}
@media(max-width:700px){.pc-media-formats{align-items:flex-start;flex-direction:column;gap:9px}.pc-media-format-tags{flex:none}}
@media(max-width:600px){.pc-media{padding:12px}.pc-media-heading{align-items:flex-start;gap:8px;flex-wrap:wrap}.pc-media-heading-copy{gap:8px}.pc-media-heading-icon{width:32px;height:32px;font-size:14px}.pc-media-heading>.pc-button{margin-left:auto}.pc-media-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.pc-media-progress>progress{width:80px}.pc-media-card-copy{padding:8px;gap:5px}.pc-media-heading p{font-size:10px}.pc-media-format-tag{padding:6px 8px}.pc-media-empty{padding:14px 10px;justify-content:flex-start}.pc-media-card-meta{flex-wrap:wrap;gap:3px}}


/* Shared product media stays compact in the list; the gallery is a read-only dialog. */
.pc-product-name-with-media{display:flex;align-items:center;gap:10px;min-width:0;width:100%}
.pc-product-name-copy{flex:1;min-width:0}
.pc-product-gallery-trigger{position:relative;display:flex;align-items:center;justify-content:center;flex:0 0 46px;width:46px;height:46px;padding:0;overflow:hidden;border:1px solid #dce5eb;border-radius:7px;background:#f1f6f6;color:#528481;cursor:pointer}
.pc-product-gallery-trigger>img{width:100%;height:100%;object-fit:cover}.pc-product-gallery-trigger>i{font-size:15px}
.pc-product-gallery-trigger:hover{border-color:#9b7dc9;box-shadow:0 0 0 2px #9374c317}.pc-product-gallery-trigger:focus-visible{outline:2px solid #9063c6;outline-offset:3px}.pc-product-gallery-trigger:disabled{cursor:default;opacity:.6}
.pc-product-gallery-badge{position:absolute;right:2px;bottom:2px;display:flex;align-items:center;justify-content:center;width:15px;height:15px;border-radius:4px;background:#ffffffed;color:#6d52a0;font-size:8px;box-shadow:0 1px 3px #26364c15}
.pc-gallery-dialog{width:min(920px,100%)}.pc-gallery-dialog .pc-heading-icon{background:#f3eefb;color:#7c58b2;border-color:#e5daf4}.pc-gallery{min-height:0}.pc-gallery-body{display:flex;flex-direction:column;gap:12px;padding:16px;min-height:0}
.pc-gallery-product{flex-shrink:0;display:flex;align-items:baseline;gap:9px;min-width:0;flex-wrap:wrap}.pc-gallery-product>strong{min-width:0;color:#40526d;font-size:12px;font-weight:600;overflow-wrap:anywhere}
.pc-gallery-stage{flex:none;display:flex;align-items:center;justify-content:center;width:100%;height:clamp(200px,47vh,460px);min-height:0;overflow:hidden;border:1px solid #e0e6ee;border-radius:9px;background:#f4f6f9}
.pc-gallery-stage>img,.pc-gallery-stage>video{display:block;width:100%;height:100%;object-fit:contain}.pc-gallery-stage>video{background:#202c3c}
.pc-gallery-failed{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;padding:20px;color:#74849a;font-size:12px;text-align:center}.pc-gallery-failed>i{font-size:32px;color:#a4b0c1}
.pc-gallery-navigation{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}.pc-gallery-navigation>.pc-button{flex:none}.pc-gallery-caption{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0;text-align:center}.pc-gallery-caption>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#43536b;font-size:12px;font-weight:600}.pc-gallery-caption>span{font-size:11px;color:#7d8a9e}
.pc-gallery-thumbnails{flex-shrink:0;display:flex;gap:8px;max-width:100%;padding:3px 2px 5px;overflow-x:auto;overscroll-behavior-x:contain}
.pc-gallery-thumbnail{display:flex;position:relative;align-items:center;justify-content:center;flex:0 0 70px;width:70px;height:54px;gap:4px;flex-direction:column;padding:0;border:1px solid #dce4ed;border-radius:6px;background:#f1f5f8;color:#7c65a0;cursor:pointer;overflow:hidden}.pc-gallery-thumbnail>img{width:100%;height:100%;object-fit:cover}.pc-gallery-thumbnail>i{font-size:15px}.pc-gallery-thumbnail>span{font-size:8px;font-weight:600}.pc-gallery-thumbnail.is-current{border-color:#9871ca;box-shadow:0 0 0 2px #9a72ce26}.pc-gallery-thumbnail:focus-visible{outline:2px solid #9063c6;outline-offset:2px}
.pc-gallery-dialog .pc-dialog-footer{justify-content:flex-end;padding-top:10px;padding-bottom:10px}
@media(max-width:600px){.pc-gallery-body{padding:11px;gap:10px}.pc-gallery-stage{height:clamp(180px,40vh,340px)}.pc-gallery-navigation{gap:7px}.pc-gallery-navigation>.pc-button{padding:7px 9px}.pc-gallery-navigation>.pc-button>span{display:none}.pc-gallery-caption>strong{font-size:11px}.pc-gallery-thumbnail{width:62px;height:48px;flex-basis:62px}.pc-product-name-with-media{gap:8px}.pc-product-gallery-trigger{width:42px;height:42px;flex-basis:42px}}

/* Quantity unit creation shares the picker's internal scroll area. */
.pc-quantity-unit-editor{display:grid;gap:10px;padding:10px;border:1px solid #ded1f0;border-radius:8px;background:#faf8fe;font-size:12px}
.pc-quantity-unit-editor .pc-field{min-width:0;gap:5px}
.pc-quantity-unit-editor .pc-field>input{width:100%;min-width:0;box-sizing:border-box;height:34px;padding:7px 9px}
.pc-quantity-unit-editor .pc-quantity-unit-inflect{display:flex;align-items:center;gap:7px;margin:0;color:#4f4267;font-size:12px;line-height:1.4;cursor:pointer}
.pc-quantity-unit-inflect>input{width:16px;height:16px;margin:0;accent-color:#7950bb;flex:none}
.pc-quantity-unit-forms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 10px}
.pc-quantity-unit-forms>.pc-field:last-child{grid-column:1/-1}
.pc-quantity-unit-editor .pc-help{margin:0;line-height:1.45}
.pc-quantity-unit-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;border-top:1px solid #e6def1;padding-top:9px}
@media(max-width:420px){.pc-quantity-unit-forms{grid-template-columns:minmax(0,1fr)}}

/* Product Drive connection and confirmed production-folder progress. */
.pc-drive{max-width:1100px;margin:0 auto;color:#40516b}.pc-drive-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:6px 0 18px}.pc-drive-header h3{font-size:22px;letter-spacing:-.5px;color:#26344e;margin:0 0 5px}.pc-drive-header p{margin:0;color:#7788a2;font-size:12px;line-height:1.5}
.pc-drive-connection,.pc-drive-parent-state>span{display:inline-flex;gap:7px;align-items:center;padding:7px 10px;border:1px solid #e2e7ee;border-radius:7px;background:#f4f6f9;font-size:11px;white-space:nowrap;color:#78859a}.pc-drive-connection.is-connected,.pc-drive-parent-state>span.is-approved{background:#edf8f4;border-color:#d4eade;color:#257760}
.pc-drive-card{margin-bottom:14px;padding:18px 20px;background:#fff;border:1px solid #dce4ee;border-radius:12px}.pc-drive-card>header{display:flex;align-items:center;gap:11px;margin-bottom:17px}.pc-drive-step{width:31px;height:31px;display:flex;align-items:center;justify-content:center;flex:none;background:#f1ebfa;border:1px solid #e4d7f4;color:#7a50b7;border-radius:9px;font-size:13px;font-weight:700}.pc-drive-card h4{font-size:14px;font-weight:700;margin:0;color:#364c68}.pc-drive-card header p{margin:4px 0 0;font-size:11px;color:#8290a6;line-height:1.5}
.pc-drive-config .pc-fields{gap:13px 18px}.pc-drive-config .pc-field>label,.pc-drive-folder-row .pc-field>label{font-size:11px;color:#63758d}.pc-drive-config .pc-field small{font-size:10px;line-height:1.45}.pc-drive-config .pc-field>input{min-height:37px}.pc-drive-actions{display:flex;align-items:center;gap:9px;justify-content:flex-end;margin-top:17px}.pc-drive-connect-actions{justify-content:flex-start;margin-top:0}.pc-drive-admin-note{font-size:12px;color:#70819a;background:#f4f7fb;border:1px solid #e0e7f0;border-radius:8px;padding:13px 15px;margin:0 0 14px}
.pc-drive-folder-row{display:flex;align-items:flex-end;gap:12px}.pc-drive-folder-row>.pc-field{flex:1;max-width:620px}.pc-drive-parent-state{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:13px 0}.pc-drive-backfill{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-top:16px;margin-top:16px;border-top:1px solid #e9edf3}.pc-drive-backfill>div{display:flex;flex-direction:column;gap:5px}.pc-drive-backfill strong{font-size:13px;color:#425973}.pc-drive-backfill span{font-size:11px;color:#8190a5}.pc-drive-progress{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px;padding:11px;background:#f7f9fc;border:1px solid #e4eaf1;border-radius:8px}.pc-drive-progress>span{font-size:11px;display:flex;gap:5px;align-items:center;margin-right:10px;color:#687c95}.pc-drive-progress strong{color:#257d78;font-size:16px}.pc-drive-progress .has-error,.pc-drive-progress .has-error strong{color:#b95767}.pc-drive-loading{padding:28px;display:flex;gap:15px;align-items:center;justify-content:center;font-size:12px;color:#7f8ca1}.pc-drive-warning{background:#fff9ee;border-color:#eedcb3;color:#92701f}.pc-drive-inline-progress,.pc-drive-field-status{font-size:11px;line-height:1.5;color:#537f82}.pc-drive-inline-progress{display:flex;align-items:center;gap:8px;margin:12px 0;padding:10px 12px;border:1px solid #d4e7e7;background:#f2f9f8;border-radius:8px}.pc-drive-field-status{margin:7px 0 0}
@media(max-width:650px){.pc-drive-header{align-items:flex-start}.pc-drive-card{padding:14px}.pc-drive-config .pc-fields{grid-template-columns:1fr}.pc-drive-folder-row,.pc-drive-backfill{align-items:stretch;flex-direction:column}.pc-drive-folder-row>.pc-field{max-width:none}.pc-drive-parent-state{align-items:flex-start;flex-direction:column}.pc-drive-connect-actions{flex-wrap:wrap}.pc-drive-header h3{font-size:20px}}

/* Realization values are added inside the same editable dropdown. */
.pc-product-realization .is-expanded-down>.pc-category-list-actions{grid-column:1/-1;padding:0 10px 8px}
.pc-realization-editor-help{flex-basis:100%;margin:0;line-height:1.5}

/* Optional custom grammar uses its saved forms automatically. */
.pc-quantity-unit-forms-details>summary{cursor:pointer;color:#65527f;font-size:11px;font-weight:600}
.pc-quantity-unit-forms-details>summary small{font-weight:400;color:#8b95a7}
.pc-quantity-unit-forms-details>.pc-quantity-unit-forms{margin-top:10px}

/* Product actions keep their icons and use distinct colors for each purpose. */
.pc-product-table .pc-product-row-actions>.pc-product-page-link:not(.pc-product-folder-link){color:#6f46ad;background:#f5f0fc;border-color:#d8c7ee}
.pc-product-table .pc-product-row-actions>.pc-product-page-link:not(.pc-product-folder-link):hover{color:#59318f;background:#ece2f8;border-color:#b99bdc}
.pc-product-table .pc-product-row-actions>.pc-product-folder-link{color:#216c63;background:#e8f6f3;border-color:#b2d9d3}
.pc-product-table .pc-product-row-actions>.pc-product-folder-link:hover{color:#15564e;background:#d7eee8;border-color:#82bdb3}
.pc-product-table .pc-product-row-actions:not(.pc-product-deleted-actions)>button.pc-button-secondary{color:#285e98;background:#eef5fd;border-color:#b6cfeb}
.pc-product-table .pc-product-row-actions:not(.pc-product-deleted-actions)>button.pc-button-secondary:hover:not(:disabled){color:#174879;background:#dfeefa;border-color:#88b0db}
.pc-product-table .pc-product-row-actions>button.pc-button-delete{color:#b02f49;background:#fff1f3;border-color:#efbbc7}
.pc-product-table .pc-product-row-actions>button.pc-button-delete:hover:not(:disabled){color:#952039;background:#fde3e8;border-color:#dd8da1}
.pc-product-table .pc-product-row-actions>:is(a,button):focus-visible{outline:2px solid currentColor;outline-offset:2px}

/* Saved quantity and quality stay separate from the product name and price. */
.pc-product-table{min-width:1040px}
.pc-product-table .pc-product-quantity-cell{width:96px;min-width:96px}
.pc-product-table .pc-product-quality-cell{width:110px;min-width:110px}
.pc-product-table td.pc-product-quantity-cell{white-space:nowrap;font-weight:600;color:#40536f;font-variant-numeric:tabular-nums}
.pc-product-table td.pc-product-quality-cell{font-weight:500;color:#65517e;overflow-wrap:anywhere}
@container pc-products (max-width:780px){
.pc-product-table{min-width:0}
.pc-product-table .pc-product-row>.pc-product-quantity-cell{grid-column:1;grid-row:3;width:auto;min-width:0}
.pc-product-table .pc-product-row>.pc-product-quality-cell{grid-column:2;grid-row:3;width:auto;min-width:0}
.pc-product-table .pc-product-row>:is(.pc-product-quantity-cell,.pc-product-quality-cell):before{content:attr(data-label);display:block;margin-bottom:3px;color:#8591a4;font-size:10px;font-weight:500}
.pc-product-table .pc-product-row>.pc-product-price-cell{grid-row:4}
.pc-product-table .pc-product-row>.pc-table-actions{grid-row:5}
}

/* Subcategory recovery stays beside the category-specific actions. */
.pc-subcategory-manage-actions{margin-left:auto}
.pc-first-subcategory-required>.pc-empty-subcategory-trash{margin-top:8px;margin-left:auto;display:flex;width:auto}

/* A subcategory is created from the selected category with a fixed public code. */
.pc-dialog.pc-type-dialog{width:min(620px,100%)}
.pc-subcategory-create-form .pc-dialog-body{padding:20px}
.pc-subcategory-identity-fields{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:14px}
@media(max-width:560px){.pc-subcategory-identity-fields{grid-template-columns:minmax(0,1fr)}}

.pc-group-scheme-setting{margin-bottom:14px;max-width:540px}
.pc-group-scheme-readonly{display:flex;align-items:center;gap:8px;min-height:36px;padding:8px 11px;border:1px solid #dce2ef;border-radius:7px;background:#f5f6fa;color:#586781;font-size:12px}
.pc-group-scheme-readonly>i{color:#93a0b4;font-size:10px}

.pc-product-table .pc-product-assigned-deadline{display:flex;align-items:center;gap:5px;margin-top:4px;font-size:11px;line-height:1.5;color:#536985;white-space:nowrap}
.pc-product-assigned-deadline>i{font-size:10px;color:#8597ae}
.pc-product-assigned-deadline>strong{font-weight:700;color:#354f6a}
/* Service rates share the pricing area while keeping deadline schemes separate. */
.ps-module{min-width:0}
.ps-section-tabs{display:inline-flex;max-width:100%;gap:3px;margin:0 0 14px;padding:4px;border:1px solid #dce5e0;border-radius:9px;background:#edf3ef}
.ps-section-tabs>button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:32px;padding:6px 12px;border:1px solid transparent;border-radius:6px;background:transparent;color:#5a7264;font:inherit;font-size:12px;font-weight:600;line-height:1.5;cursor:pointer}
.ps-section-tabs>button.is-active{border-color:#d2e1d7;background:#fff;color:#236347;box-shadow:0 1px 3px #2548310a}
.ps-section-tabs>button:hover:not(:disabled):not(.is-active){background:#e4eee7}
.ps-section-tabs>button:disabled{cursor:default;opacity:.5}
.ps-section-tabs>button:focus-visible{outline:2px solid #408963;outline-offset:-2px}
.ps-service-rates{min-width:0;color:#355242}
.ps-service-rates-form{min-width:0;overflow:hidden;border:1px solid #d7e3da;border-radius:11px;background:#fff}
.ps-service-preview{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 17px;background:#f5faf7;border-bottom:1px solid #deebe2}
.ps-service-preview>div:first-child{min-width:0}
.ps-service-eyebrow{display:block;margin-bottom:5px;color:#64816f;font-size:10px;font-weight:600;line-height:1.5}
.ps-service-preview strong{font-size:14px;line-height:1.5;color:#2c5a3e}
.ps-service-preview p{margin:5px 0 0;font-size:11px;line-height:1.5;color:#63816e}
.ps-service-table-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-color:#c0d2c5 #f3f7f4}
.ps-service-scroll-hint{display:none}
.ps-service-table-scroll:focus-visible{outline:2px solid #408963;outline-offset:-2px}
.ps-service-table{width:100%;min-width:1040px;border-collapse:collapse;table-layout:fixed;font-size:12px;text-align:left}
.ps-service-table th,.ps-service-table td{padding:11px 13px;border-bottom:1px solid #e7eee9;vertical-align:middle}
.ps-service-table thead th{background:#f8faf9;color:#597263;font-size:10px;font-weight:600;line-height:1.5;white-space:nowrap;text-align:right}
.ps-service-table thead th:first-child{width:235px;text-align:left}
.ps-service-table thead th:nth-child(2){width:140px}
.ps-service-table thead th:nth-child(3){width:175px}
.ps-service-table thead th:nth-child(4){width:90px}
.ps-service-table thead th:nth-child(5){width:140px}
.ps-service-table thead th:nth-child(6){width:90px}
.ps-service-table thead th:nth-child(7){width:140px}
.ps-service-table tbody tr:last-child>th,.ps-service-table tbody tr:last-child>td{border-bottom:0}
.ps-service-table tbody>tr:hover>th,.ps-service-table tbody>tr:hover>td:not(.ps-service-result){background:#fbfdfb}
.ps-service-name{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ps-service-name>strong{font-size:12px;color:#355540;line-height:1.5}
.ps-service-name>span{border:1px solid #e0e9e2;border-radius:4px;background:#f6faf7;padding:1px 5px;color:#728a79;font-size:9px;font-weight:500;line-height:1.5;white-space:nowrap}
.ps-service-description{margin-top:5px;font-weight:400}
.ps-service-description>summary{display:inline-block;color:#6b8976;font-size:10px;line-height:1.5;cursor:pointer;list-style:none}
.ps-service-description>summary::before{content:'+';margin-right:4px;color:#8aa594}
.ps-service-description[open]>summary::before{content:'−'}
.ps-service-description>summary::-webkit-details-marker{display:none}
.ps-service-description textarea{width:100%;min-height:72px;margin-top:7px;resize:vertical;border:1px solid #d7e3db;border-radius:6px;background:#fcfefd;color:#42634d;padding:7px 8px;font:inherit;font-size:12px;font-weight:400;line-height:1.5}
.ps-service-table td>input{display:block;width:100%;min-width:0;min-height:32px;padding:6px 8px;border:1px solid #d9e4dc;border-radius:6px;background:#fff;color:#355540;font:inherit;font-size:12px;line-height:1.5;text-align:right;font-variant-numeric:tabular-nums}
.ps-service-table td>input:disabled,.ps-service-description textarea:disabled{background:#f6f8f6;color:#728477}
.ps-service-table :is(input,textarea,summary):focus-visible{outline:2px solid #408963;outline-offset:-1px;box-shadow:none}
.ps-service-table .ps-service-result{background:#f4faf6;text-align:right;white-space:nowrap;font-weight:500;color:#497355;font-variant-numeric:tabular-nums}
.ps-service-table thead .ps-service-result{background:#eaf5ee;color:#3f7050}
.ps-service-table .ps-service-net{font-size:13px;font-weight:700;color:#207345}
.ps-service-profit{text-align:right;white-space:nowrap;color:#568266;font-size:12px;font-weight:500;font-variant-numeric:tabular-nums}
.ps-service-profit.is-negative{color:#b5414e}
.ps-service-footer{display:flex;align-items:center;justify-content:space-between;gap:12px 20px;padding:12px 16px;border-top:1px solid #dfe9e2;background:#fafcfb}
.ps-service-footer>p{max-width:550px;margin:0;color:#718477;font-size:10px;line-height:1.7}
.ps-service-footer>.pc-actions{flex:none;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.ps-service-footer .pc-button{white-space:nowrap}
.ps-service-unsaved{color:#a17b36;font-size:10px;line-height:1.5}
@media(max-width:1050px){
 .ps-service-preview{align-items:flex-start;flex-wrap:wrap}
 .ps-service-footer{align-items:flex-start;flex-direction:column}
 .ps-service-footer>.pc-actions{align-self:flex-end}
}
@media(max-width:650px){
 .ps-section-tabs{display:flex;width:100%}
 .ps-section-tabs>button{flex:1;gap:5px;padding:6px 8px;font-size:11px}
 .ps-service-preview{padding:13px}
 .ps-service-preview strong{font-size:13px}
 .ps-service-table th,.ps-service-table td{padding:10px 11px}
 .ps-service-scroll-hint{display:block;margin:0!important;padding:8px 12px;border-bottom:1px solid #e7eee9;background:#fafcfb;color:#738779;font-size:10px;line-height:1.5}
 .ps-service-footer{padding:12px 13px;gap:10px}
 .ps-service-footer>.pc-actions{width:100%;gap:7px}
 .ps-service-footer .pc-button-primary{flex:1}
 .ps-service-unsaved{flex-basis:100%;text-align:right}
}

.ps-service-fixed-label{flex:none;padding:6px 9px;border:1px solid #d6e6dc;border-radius:6px;background:#fff;color:#5f7d6a;font-size:11px;font-weight:600;line-height:1.5;white-space:nowrap}
.ps-service-markup-value{text-align:right;color:#6b8474;white-space:nowrap;font-size:12px;font-variant-numeric:tabular-nums}
.ps-service-table .ps-service-net>output{font:inherit;font-weight:700;color:inherit;white-space:nowrap}

.i24-customer-quality.pc-choice-compact .pc-category-trigger {
    gap: 6px;
    padding: 6px 8px;
    border-color: #c6d6e7;
    border-radius: 9px;
    color: #223650;
    font-weight: 600;
}
.i24-customer-quality.pc-choice-compact .pc-category-trigger:not(:disabled):hover,
.i24-customer-quality.pc-choice-compact .pc-category-trigger.is-open {
    border-color: #8bb4d6;
    background: #f2f7fc;
}
.i24-customer-quality.pc-choice-compact .pc-category-trigger.is-open { box-shadow: 0 0 0 2px #dceaf8; }
.i24-customer-quality.pc-choice-compact .pc-category-trigger:focus-visible { outline-color: #417dab; }
.i24-customer-quality.pc-choice-compact .pc-category-trigger:disabled { color: #64748b; }
.i24-customer-quality.pc-choice-compact .pc-category-trigger .pc-category-symbol,
.i24-customer-quality .pc-category-option.is-selected .pc-category-symbol { background: #e4f0fb; color: #205a88; }
.i24-customer-quality.pc-choice-compact .pc-category-popup { border-color: #c6d6e7; }
.i24-customer-quality .pc-category-options[tabindex="0"]:focus-visible { outline-color: #8bb4d6; }
.i24-customer-quality .pc-category-popup-heading>span>i,
.i24-customer-quality .pc-category-check { color: #205a88; }
.i24-customer-quality .pc-category-popup-heading small { background: #edf4fb; color: #205a88; }
.i24-customer-quality.pc-choice-compact .pc-category-option.is-selected {
    background: #edf4fb;
    border-color: #d6e5f5;
    color: #153f62;
}
.i24-customer-quality .pc-category-option.is-active { box-shadow: inset 0 0 0 1px #91b8d9; }
.i24-customer-quality .pc-category-popup-footer { color: #52647a; }
