.cs-public{margin:0;background:#f2f5fa;color:#172b45;font:15px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif}.cs-public *,.cs-admin *{box-sizing:border-box}.cs-header{background:#14243c;color:white;padding:18px max(24px,calc((100vw - 1440px)/2));display:flex;align-items:center;justify-content:space-between;gap:20px}.cs-brand{display:flex;align-items:center;gap:16px}.cs-brand img{width:100px;max-height:58px;object-fit:contain}.cs-brand strong,.cs-brand span{display:block}.cs-brand strong{font-size:18px;letter-spacing:.06em}.cs-brand span{font-size:12px;color:#c6d2e6}.cs-public main{max-width:1488px;margin:auto;padding:32px 24px}.cs-intro{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:24px}.cs-eyebrow{font-size:11px;font-weight:800;letter-spacing:.16em;color:#44618a;margin:0}.cs-public h1{font-size:clamp(24px,3vw,34px);margin:6px 0}.cs-intro p:not(.cs-eyebrow){color:#526580;margin:0;max-width:720px}.cs-live{display:flex;gap:8px;align-items:center;white-space:nowrap;font-size:12px;color:#526580}.cs-live i{width:8px;height:8px;background:#17865e;border-radius:50%}.cs-card{background:white;border:1px solid #dce3ee;border-radius:16px;overflow:hidden;box-shadow:0 4px 20px #172b4505}.cs-filters{padding:20px;background:#f9fbfe;display:flex;gap:14px;align-items:end;border-bottom:1px solid #e0e7f0}.cs-public label,.cs-admin label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:650}.cs-filters label{flex:1;min-width:140px}.cs-filters .cs-query{flex:2}.cs-public input,.cs-public select,.cs-admin input:not([type=checkbox]),.cs-admin select,.cs-admin textarea{border:1px solid #cbd7e6;border-radius:8px;background:white;padding:10px 12px;font:inherit;color:#172b45;min-height:42px;min-width:0;width:100%}.cs-public input:focus,.cs-public select:focus,.cs-admin input:focus{outline:2px solid #99b9ef;outline-offset:1px}.cs-public button,.cs-admin button{border:1px solid #cbd7e6;background:white;color:#233e65;padding:10px 15px;border-radius:8px;font:600 13px system-ui;cursor:pointer;min-height:40px}.cs-public button:hover,.cs-admin button:hover{background:#edf3fe}.cs-public .cs-primary,.cs-admin .cs-primary{background:#2851a2;border-color:#2851a2;color:white}.cs-public button:disabled,.cs-admin button:disabled{opacity:.5;cursor:default}.cs-toolbar,.cs-pagination{display:flex;justify-content:space-between;align-items:center;padding:14px 20px;gap:12px}.cs-toolbar>div{display:flex;gap:8px}.cs-table-wrap{overflow:auto;max-height:62vh;overscroll-behavior:contain}.cs-public table,.cs-admin table{border-collapse:separate;border-spacing:0;width:100%;font-size:13px}.cs-public th,.cs-public td,.cs-admin th,.cs-admin td{padding:13px 16px;border-bottom:1px solid #e4eaf2;text-align:left;vertical-align:middle}.cs-public th,.cs-admin th{background:#f0f4fa;color:#334c70;font-size:11px;font-weight:750;position:sticky;top:0;z-index:1;white-space:nowrap}.cs-public tbody tr:hover{background:#f7faff}.cs-public td:nth-child(1){font-weight:700;white-space:nowrap;color:#254e91}.cs-public td:nth-child(2){min-width:230px}.cs-public .cs-qty{display:inline-block;white-space:nowrap;background:#e8f5ee;color:#147342;font-weight:750;border-radius:6px;padding:4px 9px}.cs-public .cs-money{font-weight:750;white-space:nowrap}.cs-public .cs-tax{display:block;font-size:11px;color:#65748a;white-space:nowrap}.cs-public footer{font-size:12px;color:#667890;padding:20px 0;max-width:900px}.cs-public #cs-error,.cs-admin .cs-error{background:#fff3f2;color:#a02b25;border:1px solid #f1c5c1;padding:12px;border-radius:8px;white-space:pre-wrap}.cs-public #cs-account{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:end}.cs-public #cs-account span{font-size:12px}.cs-public dialog,.cs-admin{border:1px solid #dce3ee;border-radius:14px;box-shadow:0 24px 80px #06162b30;color:#172b45;background:white}.cs-public dialog{width:min(440px,calc(100vw - 32px));padding:24px}.cs-public dialog::backdrop,.cs-admin::backdrop{background:#10223d70}.cs-public dialog header,.cs-admin>header{display:flex;justify-content:space-between;gap:12px;align-items:center}.cs-public h2,.cs-admin h2{font-size:20px;margin:0}.cs-public dialog label{margin:14px 0}.cs-public dialog button[type=submit]{width:100%;margin-top:6px}.cs-public .cs-help{font-size:12px;color:#65748a}.cs-public #cs-password{padding:24px;border:1px solid #e2cc8d;background:#fffaf0;border-radius:12px;margin:0 0 24px}.cs-public #cs-password form{max-width:500px;display:grid;gap:12px}.cs-admin{width:min(1150px,calc(100vw - 28px));max-height:90vh;overflow:auto;padding:24px;font:14px/1.5 system-ui}.cs-admin>header{position:sticky;top:-24px;background:white;z-index:3;padding:8px 0 14px}.cs-admin .cs-tabs,.cs-admin .cs-actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.cs-admin .cs-tabs .active{background:#2851a2;color:white}.cs-admin .cs-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.cs-admin fieldset{border:1px solid #dce3ee;border-radius:10px;max-height:230px;overflow:auto;padding:14px}.cs-admin fieldset label{display:flex;flex-direction:row;align-items:center;margin:8px 0;font-weight:500}.cs-admin .cs-scroll{overflow:auto;max-height:42vh;border:1px solid #dce3ee;border-radius:8px}.cs-admin .cs-secret{background:#fff5d9;padding:16px;border:1px solid #e2c477;border-radius:10px;white-space:pre-wrap;overflow-wrap:anywhere}.cs-admin .cs-lookup{display:grid;gap:6px}.cs-admin .cs-note{font-size:12px;color:#5a6e88}.cs-admin .cs-warn{color:#a6322a}.cs-admin .cs-price-form{display:grid;grid-template-columns:2fr 1fr 1fr 1fr 1fr;gap:10px;align-items:end;margin:16px 0}.cs-admin .cs-price-form .cs-lookup{grid-column:1/-1}.cs-admin .cs-selected{background:#eff5ff;padding:8px;border-radius:6px}.cs-public [hidden],.cs-admin [hidden]{display:none!important}@media(max-width:760px){.cs-header{padding:14px 16px}.cs-brand img{width:64px}.cs-brand strong{font-size:14px}.cs-public main{padding:24px 14px}.cs-intro{align-items:start;flex-direction:column;gap:10px}.cs-filters{flex-wrap:wrap;padding:14px}.cs-filters .cs-query{flex-basis:100%}.cs-filters label{min-width:100px}.cs-filters button{flex:1}.cs-toolbar{align-items:start;flex-direction:column}.cs-public th,.cs-public td{padding:11px 12px}.cs-public #cs-account{max-width:55%}.cs-public #cs-account span{max-width:150px;overflow-wrap:anywhere}.cs-admin{padding:16px}.cs-admin .cs-grid{grid-template-columns:1fr}.cs-admin .cs-price-form{grid-template-columns:1fr 1fr}.cs-pagination{padding:12px;flex-wrap:wrap}.cs-public td:nth-child(2){min-width:190px}}

.cs-admin summary{list-style:none;cursor:pointer;font-size:24px;font-weight:750;line-height:36px;text-align:center;width:38px;border:1px solid #cbd7e6;border-radius:8px}.cs-admin summary::-webkit-details-marker{display:none}.cs-admin .cs-row-menu{position:fixed;z-index:10;display:grid;gap:4px;width:210px;padding:8px;background:white;border:1px solid #cbd7e6;border-radius:10px;box-shadow:0 12px 32px #172b4525}.cs-admin .cs-row-menu button{text-align:left;width:100%}.cs-admin td:has(details){width:65px}.cs-admin .cs-actions{align-items:end}.cs-admin .cs-actions>button{flex-shrink:0}

.cs-filters{flex-wrap:wrap}.cs-filters .cs-query{flex:2 1 280px}.cs-filters label{flex:1 1 150px}.cs-fx{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 18px}.cs-fx>div{padding:10px 14px;border:1px solid #dce3ee;background:white;border-radius:10px}.cs-fx strong,.cs-fx span{display:block}.cs-fx span{font-size:11px;color:#65748a}.cs-fx p{font-size:12px;color:#916617;margin:4px}.cs-public td:nth-child(1){font-weight:400;color:inherit}.cs-public td:nth-child(2){font-weight:700;white-space:nowrap;color:#254e91;min-width:120px}.cs-public td:nth-child(3){min-width:230px}.cs-public .cs-photo-cell{width:92px;padding:8px}.cs-public .cs-photo-button{padding:2px;width:74px;height:64px;display:grid;place-items:center}.cs-photo-button img{max-width:68px;max-height:58px;object-fit:contain}.cs-no-photo{font-size:10px;color:#7a8798;display:grid;place-items:center;width:70px;height:58px;background:#f1f4f8;border-radius:6px}.cs-public .cs-sort-button{padding:0;border:0;border-radius:0;min-height:24px;background:transparent;font:inherit;color:inherit;text-align:left}.cs-public #cs-photo{width:min(900px,calc(100vw - 32px))}.cs-public #cs-photo header{display:flex;align-items:center;justify-content:space-between;gap:16px}.cs-public #cs-photo h2{font-size:16px}.cs-public #cs-photo-content{display:grid;place-items:center;margin-top:16px;min-height:180px}.cs-public #cs-photo img{max-width:100%;max-height:70vh;object-fit:contain}.cs-public .cs-toolbar>div{flex-wrap:wrap}.cs-public .cs-tax{white-space:normal;max-width:180px}@media(max-width:760px){.cs-public td:nth-child(3){min-width:180px}.cs-filters label{flex:1 1 130px}.cs-fx>div{width:100%}.cs-public .cs-photo-cell{padding:6px}.cs-toolbar>div button{font-size:12px}.cs-intro{margin-bottom:16px}}

.cs-admin .cs-price-form{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:760px){.cs-admin .cs-price-form{grid-template-columns:1fr 1fr}}

.cs-public dialog.cs-commerce{width:min(1100px,calc(100vw - 28px));max-height:90vh;overflow:auto;padding:24px}.cs-commerce>header{position:sticky;top:-24px;background:white;z-index:4;padding:8px 0 16px}.cs-commerce .cs-actions,.cs-public #cs-account .cs-actions{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.cs-commerce .cs-scroll{max-height:43vh;overflow:auto;border:1px solid #dce3ee;border-radius:8px;margin:16px 0}.cs-commerce input[type=number]{min-width:105px;max-width:160px}.cs-public textarea{border:1px solid #cbd7e6;border-radius:8px;padding:10px;font:inherit;width:100%;resize:vertical;box-sizing:border-box}.cs-commerce .cs-error{white-space:pre-wrap;background:#fff3f2;color:#a02b25;border:1px solid #f1c5c1;padding:12px;border-radius:8px}.cs-commerce .cs-total{font-size:20px;font-weight:750}.cs-pre{white-space:pre-wrap;overflow-wrap:anywhere}.cs-commerce td p{margin:3px 0;font-size:12px;font-weight:400;color:#526580}.cs-commerce-admin .cs-link{padding:0;border:0;min-height:26px;background:transparent;color:#2851a2;text-decoration:underline}.cs-admin .cs-discount-row{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:10px;align-items:end;margin:12px 0}.cs-commerce-admin .cs-grid{padding:16px;border:1px solid #dce3ee;border-radius:10px;margin:16px 0}.cs-commerce-admin form>button{margin:12px 8px 12px 0}.cs-commerce-admin th{top:0}.cs-attention{box-shadow:inset 3px 0 #e9ab35}.cs-public .cs-commerce td:nth-child(n){font-weight:400;color:inherit;white-space:normal;min-width:100px}.cs-public #cs-account{max-width:65%}.cs-public .cs-header{flex-wrap:wrap}.cs-commerce-admin .cs-scroll input,.cs-commerce-admin .cs-scroll select{min-width:110px}@media(max-width:760px){.cs-public dialog.cs-commerce{padding:16px}.cs-commerce>header{top:-16px}.cs-public #cs-account{max-width:100%}.cs-public #cs-account button{padding:8px 10px;font-size:12px}.cs-admin .cs-discount-row{grid-template-columns:1fr 1fr}.cs-commerce .cs-scroll{max-height:42vh}}

.cs-public .cs-commerce .cs-actions button[type=submit]{width:auto;margin:0}.cs-public .cs-commerce input,.cs-public .cs-commerce textarea{font-weight:400}

.cs-public .cs-access{max-width:650px;margin:18px auto;padding:24px}.cs-access form{display:grid;gap:14px}.cs-access label{display:grid;gap:8px}.cs-access input{box-sizing:border-box;width:100%;min-width:0;padding:12px;border:1px solid #bdcbe0;border-radius:8px;font:inherit}.cs-public #cs-access button{width:auto}.cs-admin .cs-tabs{flex-wrap:wrap}.cs-access p{overflow-wrap:anywhere}

.cs-admin .cs-mail-settings{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:16px 0}.cs-admin .cs-mail-settings label{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;text-align:left;gap:10px;flex:1 1 600px;margin:0}.cs-admin .cs-mail-settings input[type=checkbox]{width:auto;margin:0;flex:0 0 auto}.cs-admin .cs-mail-settings button{width:auto;flex:0 0 auto}.cs-access [role=alert]:empty{display:none}

.cs-pricing-rule{border:1px solid #d3ddec;border-radius:12px;padding:14px;margin:12px 0;background:#f7faff}.cs-pricing-rule>label{display:flex;flex-direction:column;gap:6px;margin-bottom:10px}.cs-pricing-rule .cs-grid{margin:10px 0}.cs-pricing-rule h3{margin:0 0 12px}.cs-pricing-rule [data-customer-pricing-status]{font-weight:600;color:#244c86}

.cs-pricing-rule [data-pricing-mode="discount"]{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:700px){.cs-pricing-rule .cs-grid{grid-template-columns:1fr!important}}

.cs-public .cs-price-pair{display:inline-flex;flex-wrap:nowrap;align-items:baseline;gap:10px;white-space:nowrap}.cs-public .cs-original-price{font-size:12px;font-weight:500;color:#738096;white-space:nowrap;text-decoration-thickness:1.5px}.cs-public .cs-discounted-price{color:#147342}.cs-public .cs-pricing-notice{display:flex;align-items:center;flex-wrap:wrap;gap:6px 16px;background:#edf8f1;border:1px solid #bedfca;border-radius:12px;padding:12px 16px;margin:0 0 18px;color:#205337}.cs-public .cs-pricing-notice strong{font-size:16px}.cs-public .cs-pricing-notice span{font-size:13px;overflow-wrap:anywhere}@media(max-width:760px){.cs-public .cs-pricing-notice{align-items:flex-start;flex-direction:column;padding:12px}}

.cs-product-note{white-space:pre-wrap;overflow-wrap:anywhere;max-width:360px;margin:7px 0 0;padding:8px 10px;background:#fff8e8;border-left:3px solid #c88d2b;border-radius:5px;color:#73541d;font-size:12px;line-height:1.45;font-weight:500}.cs-product-offer{display:inline-block;margin:7px 0 0;padding:3px 7px;background:#e7f5ed;color:#18764d;border-radius:5px;font-size:11px;font-weight:700}.cs-product-offers{margin:20px 0;padding:16px;border:1px solid #d8e4f1;border-radius:10px;background:#f8fbff}.cs-product-offers h3{margin:0 0 8px;font-size:16px}.cs-offer-form .cs-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.cs-offer-form textarea{min-height:85px;white-space:pre-wrap}.cs-offer-full{grid-column:1/-1}.cs-offer-note{white-space:pre-wrap;max-width:300px;overflow-wrap:anywhere;font-size:12px;color:#705527}.cs-offer-status{font-size:12px;white-space:nowrap}.cs-offer-warning{color:#806019;font-size:12px}.cs-offer-form .cs-actions{grid-column:1/-1}@media(max-width:700px){.cs-offer-form .cs-grid{grid-template-columns:1fr}.cs-product-offers{padding:12px}.cs-product-note{max-width:260px}}

/* Customer cart: unit steps, visible terms and autosave state. */
.cs-cart-terms{margin:12px 0 18px;padding:14px 16px;border:1px solid #c9d9ed;border-left:4px solid #2856a7;border-radius:10px;background:#f0f5fc;color:#213c60}.cs-cart-terms strong{font-size:15px}.cs-cart-terms p{margin:7px 0 0;line-height:1.5}.cs-cart-status{padding:9px 12px;border-radius:8px;background:#eef8f1;color:#22663b;font-size:13px;min-height:20px}.cs-cart-status[data-state="pending"],.cs-cart-status[data-state="saving"]{background:#edf3fc;color:#2856a7}.cs-cart-status[data-state="offline"],.cs-cart-status[data-state="conflict"],.cs-cart-status[data-state="invalid"]{background:#fff3dd;color:#84560e}.cs-quantity-control{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.cs-quantity-control button{width:34px;min-width:34px;height:36px;padding:0;font-size:21px;font-weight:700}.cs-quantity-control .cs-cart-quantity{width:100px;min-width:80px;text-align:center;min-height:36px;padding:6px;font-size:14px;appearance:textfield;-moz-appearance:textfield}.cs-cart-quantity::-webkit-inner-spin-button,.cs-cart-quantity::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.cs-commerce .cs-cart-unavailable td{background:#fff6e9}.cs-commerce .cs-scroll thead th{position:sticky;top:0;z-index:1;background:#f1f5fb}.cs-commerce .cs-scroll{max-height:48vh}.cs-commerce .cs-cart-terms p{font-size:13px}@media(max-width:600px){.cs-cart-terms{padding:11px 12px}.cs-cart-terms p{font-size:13px}.cs-quantity-control .cs-cart-quantity{width:82px}.cs-cart-status{font-size:13px}}

.cs-requests-inline{width:100%;max-width:none;max-height:none;padding:16px;background:#fff;border:1px solid var(--line,#dce3ee);border-radius:12px;overflow:visible;box-sizing:border-box}.cs-requests-inline>header{position:static;padding:0 0 6px}.cs-requests-inline>.cs-error:not([hidden]){position:sticky;top:0;z-index:5;padding:12px;border:1px solid #e5b9b5;border-radius:8px;background:#fff0ed}.cs-request-filters{display:grid;grid-template-columns:minmax(220px,2fr) repeat(4,minmax(120px,1fr)) auto;gap:10px;align-items:end;margin:12px 0}.cs-request-filters label{display:grid;gap:6px;font-size:12px;font-weight:650}.cs-request-filters input,.cs-request-filters select{min-width:0;width:100%;box-sizing:border-box}.cs-requests-inline .cs-scroll{max-height:62vh}.cs-requests-inline .cs-scroll th{position:sticky;top:0;background:#eef3fa;z-index:2}.cs-request-row{cursor:pointer}.cs-request-row:hover td{background:#f1f6fe}.cs-request-row:focus{outline:2px solid #315db4;outline-offset:-2px}.cs-request-status{display:inline-block;padding:3px 8px;border-radius:6px;background:#eef2f7;color:#42546c;font-size:12px;font-weight:650;white-space:nowrap}.cs-request-new{background:#e8f0ff;color:#244e9d}.cs-request-review{background:#fff1d7;color:#875c13}.cs-request-quote_draft,.cs-request-closed{background:#e5f5ea;color:#226b3b}.cs-request-rejected{background:#ffeae8;color:#a3322b}.cs-quote-editor input{min-height:38px;width:100%;max-width:200px;box-sizing:border-box;font-size:14px}.cs-quote-editor .cs-scroll{max-height:48vh}.cs-quote-total{font-size:19px;font-weight:750;padding:14px;background:#f0f5fc;border-radius:9px}.cs-quote-actions{position:sticky;bottom:0;z-index:3;background:white;padding:12px 0;border-top:1px solid #e0e7ef}.cs-quote-payment{padding:10px;background:#fff7e6;border-radius:8px}@media(max-width:1100px){.cs-request-filters{grid-template-columns:repeat(3,minmax(120px,1fr))}.cs-request-filters label:first-child{grid-column:span 2}}@media(max-width:650px){.cs-requests-inline{padding:12px}.cs-request-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.cs-request-filters label:first-child{grid-column:1/-1}}

.cs-quote-editor>label{display:grid;gap:6px;max-width:260px;margin:12px 0}.cs-requests-inline .cs-quote-total{font-size:18px!important;font-weight:750!important}
/* v326: published stock not confirmed by the CRM for more than 3 minutes */
.cs-stale{color:#b45309;font-weight:600}

/* v327: notice while cart and requests are kept in the portal queue */
.cs-notice{margin:.5rem 0;padding:.5rem .75rem;border-radius:6px;background:#fff7e6;color:#7a4b00;border:1px solid #f0d49b}

.cs-public .cs-old-price,.cs-public .cs-new-price{display:inline-flex;flex-direction:column;gap:3px;white-space:nowrap}.cs-public .cs-price-pair small{font-size:10px;color:#637187;line-height:1.2}.cs-public .cs-new-price .cs-money{font-weight:700}
