.chb2b-site *, .chb2b-wp-admin-wrap, .chb2b-wp-admin-wrap * { box-sizing: border-box; }
body.chb2b-page { margin: 0; min-height: 100vh; background: var(--ch-color-background); color: var(--ch-color-text); font-family: var(--ch-font-sans); }
.chb2b-site a, .chb2b-wp-admin-wrap a { color: var(--ch-color-primary); }
.chb2b-skip-link { position: fixed; left: var(--ch-space-md); top: -100px; z-index: 1000; background: var(--ch-color-surface); padding: 12px 16px; border-radius: var(--ch-radius-sm); }
.chb2b-skip-link:focus { top: var(--ch-space-md); box-shadow: var(--ch-focus-ring); }
.chb2b-site :focus-visible, .chb2b-wp-admin-wrap :focus-visible { outline: 2px solid var(--ch-color-primary); outline-offset: 3px; box-shadow: var(--ch-focus-ring); }
.chb2b-utility-bar :focus-visible,
.chb2b-contact-card :focus-visible,
.chb2b-cta-band :focus-visible,
.chb2b-site-footer :focus-visible,
.chb2b-bulk-toolbar :focus-visible,
.chb2b-portal-nav a:not([aria-current="page"]):focus-visible,
.chb2b-portal-nav button:focus-visible,
.chb2b-admin-sidebar button:focus-visible {
  outline-color: var(--ch-color-focus-on-dark);
  box-shadow: var(--ch-focus-ring-on-dark);
}
.chb2b-public-header { display: flex; align-items: center; justify-content: space-between; max-width: var(--ch-container); margin: auto; padding: var(--ch-space-lg); }
.chb2b-brand { font-size: 24px; font-weight: 800; text-decoration: none; letter-spacing: -.03em; }
.chb2b-brand--inverse { color: var(--ch-color-on-primary); }
.chb2b-link { font-weight: 700; text-underline-offset: 4px; }
.chb2b-auth-layout { max-width: var(--ch-container); margin: auto; padding: var(--ch-space-2xl) var(--ch-space-lg); display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 560px); gap: 64px; align-items: start; }
.chb2b-auth-intro { padding-top: var(--ch-space-xl); }
.chb2b-auth-intro h1, .chb2b-status-card h1 { margin: 0 0 var(--ch-space-md); font-size: clamp(2rem, 4vw, 4rem); line-height: 1.05; color: var(--ch-color-primary-dark); }
.chb2b-eyebrow { color: var(--ch-color-gold-fg); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.chb2b-card { background: var(--ch-color-surface); border: 1px solid var(--ch-color-border); border-radius: var(--ch-radius-lg); box-shadow: var(--ch-shadow-card); padding: var(--ch-space-xl); }
.chb2b-form { display: grid; gap: var(--ch-space-md); }
.chb2b-form--compact { margin-top: var(--ch-space-lg); }
.chb2b-field { display: grid; gap: var(--ch-space-sm); font-weight: 700; }
.chb2b-field input, .chb2b-field select { width: 100%; min-height: 46px; border: 1px solid var(--ch-color-border); border-radius: var(--ch-radius-md); background: var(--ch-color-surface); color: var(--ch-color-text); padding: 10px 12px; font: inherit; }
.chb2b-field small { color: var(--ch-color-text-muted); font-weight: 500; }
.chb2b-required-indicator { color: var(--ch-color-text-muted); font-size: .78em; font-weight: 600; }
.chb2b-field small[data-error-for]:not(:empty) { color: var(--ch-color-error-fg); }
.chb2b-field:has(small[data-error-for]:not(:empty)) input,
.chb2b-field:has(small[data-error-for]:not(:empty)) select { border-color: var(--ch-color-error-fg); }
.chb2b-check { display: flex; align-items: flex-start; gap: 12px; line-height: 1.45; }
.chb2b-check input { width: 20px; height: 20px; margin-top: 2px; }
.chb2b-button { min-height: 46px; border-radius: var(--ch-radius-md); border: 1px solid transparent; padding: 11px 18px; font: inherit; font-weight: 800; cursor: pointer; }
.chb2b-button:disabled { cursor: wait; opacity: .65; }
.chb2b-button--primary,
.chb2b-site a.chb2b-button--primary,
.chb2b-wp-admin-wrap a.chb2b-button--primary { background: var(--ch-color-primary); color: var(--ch-color-on-primary); }
.chb2b-button--secondary { background: var(--ch-color-surface); color: var(--ch-color-primary); border-color: var(--ch-color-border); }
.chb2b-alert { border-radius: var(--ch-radius-md); padding: 12px 14px; line-height: 1.45; }
.chb2b-alert--error { background: var(--ch-color-error-bg); color: var(--ch-color-error-fg); }
.chb2b-alert--success { background: var(--ch-color-ok-bg); color: var(--ch-color-ok-fg); }
.chb2b-centered-shell { min-height: 100vh; display: grid; place-items: center; padding: var(--ch-space-lg); }
.chb2b-status-card { width: min(620px, 100%); }
.chb2b-portal-shell { min-height: 100vh; display: grid; grid-template-columns: 260px 1fr; }
.chb2b-portal-nav { background: var(--ch-color-primary); color: var(--ch-color-on-primary); padding: var(--ch-space-lg); display: flex; flex-direction: column; gap: var(--ch-space-md); }
.chb2b-portal-nav a:not(.chb2b-brand) { color: var(--ch-color-on-primary); text-decoration: none; padding: 12px; border-radius: var(--ch-radius-md); }
.chb2b-portal-nav a[aria-current="page"] { background: rgb(255 255 255 / 14%); }
.chb2b-portal-content { padding: var(--ch-space-xl); max-width: 1200px; width: 100%; }
.chb2b-admin-root { min-height: 100vh; }
.chb2b-admin-shell { min-height: 100vh; display: grid; grid-template-columns: 240px 1fr; }
.chb2b-admin-sidebar { background: var(--ch-color-primary-dark); color: var(--ch-color-on-primary); padding: var(--ch-space-lg); }
.chb2b-admin-sidebar nav { display: grid; gap: var(--ch-space-sm); margin-top: var(--ch-space-xl); }
.chb2b-admin-sidebar button { text-align: left; background: transparent; color: inherit; border: 0; padding: 12px; border-radius: var(--ch-radius-md); font: inherit; cursor: pointer; }
.chb2b-admin-sidebar button[aria-current="page"] { background: var(--ch-color-primary); }
.chb2b-admin-main { min-width: 0; }
.chb2b-admin-topbar { background: var(--ch-color-surface); border-bottom: 1px solid var(--ch-color-border); padding: var(--ch-space-md) var(--ch-space-lg); display: flex; justify-content: space-between; align-items: center; }
.chb2b-admin-content { padding: var(--ch-space-lg); }
.chb2b-grid { width: 100%; border-collapse: collapse; background: var(--ch-color-surface); border-radius: var(--ch-radius-lg); overflow: hidden; }
.chb2b-grid th, .chb2b-grid td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--ch-color-border); }
.chb2b-status-pill { display: inline-flex; border-radius: 999px; padding: 4px 9px; background: var(--ch-color-gold-soft); color: var(--ch-color-gold-fg); font-size: 12px; font-weight: 800; }
.chb2b-skeleton { min-height: 180px; border-radius: var(--ch-radius-lg); background: linear-gradient(90deg, #e9e7e2 25%, #f7f6f3 50%, #e9e7e2 75%); background-size: 200% 100%; animation: chb2b-skeleton 1.4s infinite linear; }
@keyframes chb2b-skeleton { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .chb2b-skeleton { animation: none; } }
@media (max-width: 767px) {
  .chb2b-auth-layout { grid-template-columns: 1fr; gap: var(--ch-space-lg); padding: var(--ch-space-lg) var(--ch-space-md); }
  .chb2b-card { padding: var(--ch-space-lg); }
  .chb2b-portal-shell, .chb2b-admin-shell { grid-template-columns: 1fr; }
  .chb2b-portal-nav { flex-direction: row; flex-wrap: wrap; }
  .chb2b-admin-sidebar { padding: var(--ch-space-md); }
  .chb2b-admin-sidebar nav { display: flex; overflow-x: auto; margin-top: var(--ch-space-md); }
  .chb2b-admin-content, .chb2b-portal-content { padding: var(--ch-space-md); }
  .chb2b-grid { display: block; overflow-x: auto; }
}

/* Phase 2 public catalog */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.chb2b-public-header--catalog { border-bottom: 1px solid var(--ch-color-border); }
.chb2b-public-nav { display: flex; align-items: center; gap: var(--ch-space-md); }
.chb2b-public-nav > a:not(.chb2b-button) { color: var(--ch-color-text); font-weight: 700; text-decoration: none; }
.chb2b-public-nav > a[aria-current="page"] { color: var(--ch-color-primary); text-decoration: underline; text-underline-offset: 6px; }
.chb2b-catalog-layout, .chb2b-product-page { width: min(var(--ch-container), calc(100% - 32px)); margin: 0 auto; padding: var(--ch-space-xl) 0 var(--ch-space-2xl); }
.chb2b-catalog-hero { max-width: 760px; margin-bottom: var(--ch-space-xl); }
.chb2b-catalog-hero h1, .chb2b-product-info h1, .chb2b-admin-heading h1 { margin: 0 0 var(--ch-space-sm); color: var(--ch-color-primary-dark); font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.08; letter-spacing: -.035em; }
.chb2b-catalog-hero p:last-child, .chb2b-admin-heading p:last-child { color: var(--ch-color-text-muted); font-size: 1.05rem; line-height: 1.6; }
.chb2b-catalog-workspace { display: grid; grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); gap: var(--ch-space-xl); align-items: start; }
.chb2b-filter-panel { position: sticky; top: var(--ch-space-md); background: var(--ch-color-surface); border: 1px solid var(--ch-color-border); border-radius: var(--ch-radius-lg); padding: var(--ch-space-lg); box-shadow: var(--ch-shadow-card); }
.chb2b-filter-panel form { display: grid; gap: var(--ch-space-lg); }
.chb2b-filter-panel__close { display: none; position: absolute; right: var(--ch-space-sm); top: var(--ch-space-sm); width: 44px; height: 44px; border: 0; background: transparent; color: var(--ch-color-text); font-size: 28px; cursor: pointer; }
.chb2b-filter-group { display: grid; gap: 10px; padding: 0; border: 0; }
.chb2b-filter-group legend { margin-bottom: var(--ch-space-sm); color: var(--ch-color-primary-dark); font-weight: 800; }
.chb2b-filter-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ch-space-md); }
.chb2b-button.chb2b-mobile-filter-toggle { display: none; margin-bottom: var(--ch-space-md); }
.chb2b-filter-backdrop { display: none; }
@media (min-width: 768px) {
  .chb2b-filter-panel { max-height: calc(100vh - var(--ch-space-md) * 2); max-height: calc(100dvh - var(--ch-space-md) * 2); overflow-y: auto; overscroll-behavior-y: contain; scroll-padding-block: var(--ch-space-md); }
}
.chb2b-catalog-results { min-width: 0; }
.chb2b-catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: var(--ch-space-md); margin-bottom: var(--ch-space-md); }
.chb2b-catalog-toolbar p { margin: 0; font-weight: 800; }
.chb2b-catalog-toolbar select { min-height: 44px; border: 1px solid var(--ch-color-border); border-radius: var(--ch-radius-md); padding: 8px 38px 8px 12px; background: var(--ch-color-surface); font: inherit; }
.chb2b-catalog-status:empty { display: none; }
.chb2b-catalog-status { margin-bottom: var(--ch-space-md); }
.chb2b-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--ch-space-lg); }
.chb2b-product-grid[aria-busy="true"] { opacity: .58; pointer-events: none; }
.chb2b-product-card { min-width: 0; overflow: hidden; display: flex; flex-direction: column; background: var(--ch-color-surface); border: 1px solid var(--ch-color-border); border-radius: var(--ch-radius-lg); box-shadow: var(--ch-shadow-card); }
.chb2b-product-card__media { aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; background: #eee9df; }
.chb2b-product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.chb2b-product-card__media:hover img { transform: scale(1.025); }
.chb2b-product-card__placeholder, .chb2b-admin-product-placeholder { display: grid; place-items: center; color: var(--ch-color-primary); background: var(--ch-color-gold-soft); font-weight: 900; letter-spacing: .08em; }
.chb2b-product-card__placeholder { width: 100%; height: 100%; font-size: 32px; }
.chb2b-product-card__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: var(--ch-space-lg); }
.chb2b-product-card__body h2 { margin: 0; font-size: 1.12rem; line-height: 1.3; }
.chb2b-product-card__body h2 a { color: var(--ch-color-text); text-decoration: none; }
.chb2b-product-card__sku { margin: 0; color: var(--ch-color-text-muted); font-size: .76rem; font-weight: 800; letter-spacing: .06em; }
.chb2b-product-card__description { color: var(--ch-color-text-muted); line-height: 1.45; }
.chb2b-product-card__description > * { margin: 0; }
.chb2b-product-card__pack { margin: auto 0 0; color: var(--ch-color-text-muted); font-size: .9rem; }
.chb2b-product-card__price { display: grid; gap: 2px; padding: 12px; background: var(--ch-color-background); border-radius: var(--ch-radius-md); }
.chb2b-product-card__price.is-locked { grid-template-columns: auto 1fr; align-items: center; gap: var(--ch-space-sm); }
.chb2b-product-card__price strong { color: var(--ch-color-primary); font-size: 1.08rem; }
.chb2b-product-card__price small { color: var(--ch-color-text-muted); }
.chb2b-product-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.chb2b-product-card__actions .chb2b-button { flex: 1 1 100%; text-align: center; text-decoration: none; }
.chb2b-pagination { display: flex; justify-content: center; align-items: center; gap: var(--ch-space-md); margin-top: var(--ch-space-xl); }
.chb2b-empty-state { grid-column: 1 / -1; padding: var(--ch-space-xl); text-align: center; background: var(--ch-color-surface); border: 1px dashed var(--ch-color-border); border-radius: var(--ch-radius-lg); }

/* Phase 2 product detail */
.chb2b-product-detail { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr); gap: clamp(32px, 6vw, 72px); align-items: start; margin-top: var(--ch-space-lg); }
.chb2b-product-gallery { min-width: 0; }
.chb2b-product-gallery__main { aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; background: var(--ch-color-surface); border: 1px solid var(--ch-color-border); border-radius: var(--ch-radius-lg); }
.chb2b-product-gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.chb2b-product-gallery__thumbs { display: flex; gap: var(--ch-space-sm); overflow-x: auto; margin-top: var(--ch-space-md); padding-bottom: 4px; }
.chb2b-product-gallery__thumbs button { flex: 0 0 76px; width: 76px; height: 76px; padding: 0; overflow: hidden; background: var(--ch-color-surface); border: 1px solid var(--ch-color-border); border-radius: var(--ch-radius-md); cursor: pointer; }
.chb2b-product-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.chb2b-product-lead { color: var(--ch-color-text-muted); font-size: 1.08rem; line-height: 1.65; }
.chb2b-product-buybox { display: grid; gap: var(--ch-space-md); margin-top: var(--ch-space-lg); padding: var(--ch-space-lg); background: var(--ch-color-surface); border: 1px solid var(--ch-color-border); border-radius: var(--ch-radius-lg); box-shadow: var(--ch-shadow-card); }
.chb2b-product-buybox > p { margin: 0; }
.chb2b-product-price strong { color: var(--ch-color-primary); font-size: clamp(1.8rem, 3vw, 2.6rem); }
.chb2b-locked-price { display: flex; align-items: center; gap: var(--ch-space-sm); padding: 12px; background: var(--ch-color-background); border-radius: var(--ch-radius-md); }
.chb2b-product-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; overflow: hidden; border: 1px solid var(--ch-color-border); border-radius: var(--ch-radius-md); background: var(--ch-color-border); }
.chb2b-product-facts div { display: grid; gap: 4px; padding: 12px; background: var(--ch-color-surface); }
.chb2b-product-facts dt { color: var(--ch-color-text-muted); font-size: .78rem; font-weight: 800; text-transform: uppercase; }
.chb2b-product-facts dd { margin: 0; font-weight: 800; }
.chb2b-product-description { margin-top: var(--ch-space-xl); line-height: 1.7; }
.chb2b-related-products { margin-top: var(--ch-space-2xl); }
.chb2b-related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--ch-space-md); }
.chb2b-related-card { overflow: hidden; background: var(--ch-color-surface); border: 1px solid var(--ch-color-border); border-radius: var(--ch-radius-md); }
.chb2b-related-card a { display: grid; gap: 10px; color: var(--ch-color-text); text-decoration: none; }
.chb2b-related-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.chb2b-related-card strong { padding: 0 12px 12px; }

/* Phase 2 admin application */
.chb2b-admin-nav { display: grid; gap: var(--ch-space-sm); margin-top: var(--ch-space-xl); }
.chb2b-admin-language { display: flex; align-items: center; gap: var(--ch-space-sm); font-weight: 700; }
.chb2b-admin-language select { min-height: 40px; border: 1px solid var(--ch-color-border); border-radius: var(--ch-radius-md); background: var(--ch-color-surface); padding: 6px 32px 6px 10px; font: inherit; }
.chb2b-admin-view { display: grid; gap: var(--ch-space-lg); }
.chb2b-admin-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--ch-space-lg); }
.chb2b-admin-heading h1 { font-size: clamp(2rem, 3vw, 3rem); }
.chb2b-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--ch-space-md); }
.chb2b-stat-card { display: grid; gap: var(--ch-space-sm); min-height: 136px; padding: var(--ch-space-lg); background: var(--ch-color-surface); border: 1px solid var(--ch-color-border); border-radius: var(--ch-radius-lg); }
.chb2b-stat-card span { color: var(--ch-color-text-muted); font-weight: 700; }
.chb2b-stat-card strong { color: var(--ch-color-primary); font-size: 2.4rem; }
.chb2b-admin-toolbar { display: grid; grid-template-columns: minmax(220px, 320px) minmax(260px, 1fr) auto; gap: var(--ch-space-md); align-items: end; padding: var(--ch-space-md); background: var(--ch-color-surface); border: 1px solid var(--ch-color-border); border-radius: var(--ch-radius-lg); }
.chb2b-admin-grid-editor { width: 100%; overflow: auto; border: 1px solid var(--ch-color-border); border-radius: var(--ch-radius-lg); background: var(--ch-color-surface); }
.chb2b-admin-grid-editor .chb2b-grid { min-width: 1320px; border-radius: 0; }
.chb2b-admin-grid-editor td { vertical-align: top; }
.chb2b-admin-grid-editor input, .chb2b-admin-grid-editor select { width: 100%; min-width: 88px; min-height: 44px; border: 1px solid var(--ch-color-border); border-radius: var(--ch-radius-sm); background: var(--ch-color-surface); padding: 7px 8px; font: inherit; }
.chb2b-admin-grid-editor tr.has-error { background: var(--ch-color-error-bg); }
.chb2b-admin-grid-editor td:last-child { min-width: 150px; }
.chb2b-admin-grid-editor td:last-child small { display: block; margin-top: 8px; line-height: 1.35; }
.chb2b-admin-grid-editor .is-success { color: var(--ch-color-ok-fg); }
.chb2b-admin-grid-editor .is-error { color: var(--ch-color-error-fg); }
.chb2b-admin-product-cell { display: flex; align-items: center; gap: 10px; min-width: 240px; }
.chb2b-admin-product-cell img, .chb2b-admin-product-placeholder { flex: 0 0 46px; width: 46px; height: 46px; border-radius: var(--ch-radius-sm); object-fit: cover; }
.chb2b-admin-product-cell span:last-child { display: grid; gap: 3px; }
.chb2b-admin-product-cell small { color: var(--ch-color-text-muted); }
.chb2b-admin-pagination { display: flex; justify-content: flex-end; align-items: center; gap: var(--ch-space-md); }
.chb2b-admin-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: var(--ch-space-lg); align-items: start; }
.chb2b-list-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ch-space-md); }
.chb2b-price-list-card, .chb2b-rule-card { box-shadow: none; }
.chb2b-price-list-card > div:first-child, .chb2b-rule-card > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: var(--ch-space-md); }
.chb2b-price-list-card h2, .chb2b-rule-card h2 { margin: 0; }
.chb2b-price-list-card dl { display: grid; gap: 8px; }
.chb2b-price-list-card dl div { display: flex; justify-content: space-between; gap: var(--ch-space-md); border-top: 1px solid var(--ch-color-border); padding-top: 8px; }
.chb2b-price-list-card dt { color: var(--ch-color-text-muted); }
.chb2b-price-list-card dd { margin: 0; text-align: right; font-weight: 700; }
.chb2b-admin-form { position: sticky; top: var(--ch-space-md); box-shadow: none; }
.chb2b-field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ch-space-md); }
.chb2b-preview-result { max-width: 100%; max-height: 300px; overflow: auto; margin: 0; padding: var(--ch-space-md); color: var(--ch-color-on-primary); background: var(--ch-color-primary-dark); border-radius: var(--ch-radius-md); white-space: pre-wrap; }

@media (max-width: 1100px) {
  .chb2b-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chb2b-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chb2b-admin-split { grid-template-columns: 1fr; }
  .chb2b-admin-form { position: static; }
}

@media (max-width: 767px) {
  .chb2b-public-header { align-items: flex-start; gap: var(--ch-space-md); padding: var(--ch-space-md); }
  .chb2b-public-nav { justify-content: flex-end; flex-wrap: wrap; gap: 10px; }
  .chb2b-public-nav .chb2b-button { width: 100%; text-align: center; }
  .chb2b-catalog-layout, .chb2b-product-page { width: min(100% - 24px, var(--ch-container)); padding-top: var(--ch-space-lg); }
  .chb2b-button.chb2b-mobile-filter-toggle { display: inline-flex; }
  .chb2b-catalog-workspace { grid-template-columns: 1fr; }
  body.chb2b-page.chb2b-filter-open .chb2b-filter-backdrop { display: block; position: fixed; z-index: 99; inset: 0; background: rgb(43 22 11 / 48%); }
  .chb2b-filter-panel { position: fixed; z-index: 100; inset: 0 0 0 auto; width: min(92vw, 380px); overflow-y: auto; border-radius: 0; visibility: hidden; transform: translateX(105%); transition: transform .2s ease, visibility 0s linear .2s; }
  .chb2b-filter-panel.is-open { visibility: visible; transform: translateX(0); transition-delay: 0s; }
  .chb2b-filter-panel__close { display: grid; place-items: center; }
  .chb2b-filter-panel form { padding-top: var(--ch-space-xl); }
  .chb2b-catalog-toolbar { align-items: flex-start; }
  .chb2b-product-grid { grid-template-columns: 1fr; }
  .chb2b-product-detail { grid-template-columns: 1fr; gap: var(--ch-space-xl); }
  .chb2b-product-facts { grid-template-columns: 1fr; }
  .chb2b-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chb2b-admin-topbar, .chb2b-admin-heading { align-items: flex-start; flex-direction: column; }
  .chb2b-admin-language { width: 100%; justify-content: space-between; }
  .chb2b-admin-language select { min-width: 140px; }
  .chb2b-admin-toolbar { grid-template-columns: 1fr; }
  .chb2b-stat-grid, .chb2b-list-cards, .chb2b-field-row { grid-template-columns: 1fr; }
  .chb2b-admin-pagination { justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  .chb2b-product-card__media img, .chb2b-filter-panel { transition: none; }
}

/* Phase 3 Tilbudsliste, customer quotes, documents and staff review */
.chb2b-field textarea {
  width: 100%;
  min-height: 88px;
  resize: vertical;
  border: 1px solid var(--ch-color-border);
  border-radius: var(--ch-radius-md);
  background: var(--ch-color-surface);
  color: var(--ch-color-text);
  padding: 10px 12px;
  font: inherit;
  line-height: 1.45;
}
.chb2b-field:has(small[data-error-for]:not(:empty)) textarea { border-color: var(--ch-color-error-fg); }
.chb2b-portal-nav button {
  appearance: none;
  width: 100%;
  border: 0;
  border-radius: var(--ch-radius-md);
  background: transparent;
  color: var(--ch-color-on-primary);
  padding: 12px;
  text-align: left;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.chb2b-portal-nav button[aria-current="page"] { background: rgb(255 255 255 / 14%); }
.chb2b-link-button {
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--ch-color-primary);
  padding: 8px 4px;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.chb2b-action-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ch-space-sm); }
.chb2b-action-row .chb2b-button, .chb2b-quote-confirmation .chb2b-button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.chb2b-help { color: var(--ch-color-text-muted); font-size: .92rem; line-height: 1.5; }
.chb2b-form-status:empty { display: none; }
.chb2b-form-status { margin: 0; color: var(--ch-color-text-muted); font-weight: 700; }
.chb2b-alert--warning { background: var(--ch-color-gold-soft); color: var(--ch-color-gold-fg); }
.chb2b-alert--warning ul { margin: var(--ch-space-sm) 0 0; padding-inline-start: var(--ch-space-lg); }
.chb2b-page-heading { max-width: 760px; margin-bottom: var(--ch-space-xl); }
.chb2b-page-heading h1 { margin: 0 0 var(--ch-space-sm); color: var(--ch-color-primary-dark); font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -.04em; }
.chb2b-page-heading > p:last-child { color: var(--ch-color-text-muted); font-size: 1.05rem; line-height: 1.65; }
.chb2b-quote-cart-page { width: min(var(--ch-container), calc(100% - 32px)); margin: 0 auto; padding: var(--ch-space-xl) 0 var(--ch-space-2xl); }
.chb2b-quote-cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 390px); gap: var(--ch-space-xl); align-items: start; }
.chb2b-quote-cart-lines { display: grid; gap: var(--ch-space-md); min-width: 0; }
.chb2b-quote-line { display: grid; grid-template-columns: 112px minmax(0, 1fr) minmax(160px, 210px); gap: var(--ch-space-lg); padding: var(--ch-space-lg); box-shadow: none; }
.chb2b-quote-line__media { width: 112px; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--ch-radius-md); background: var(--ch-color-gold-soft); }
.chb2b-quote-line__media img { width: 100%; height: 100%; object-fit: cover; }
.chb2b-quote-line__content { display: grid; align-content: start; gap: var(--ch-space-sm); min-width: 0; }
.chb2b-quote-line__content h2 { margin: 0; color: var(--ch-color-primary-dark); font-size: 1.25rem; line-height: 1.3; }
.chb2b-quote-line__content > p { margin: 0; color: var(--ch-color-text-muted); }
.chb2b-quote-line__totals, .chb2b-quote-totals { display: grid; align-content: start; gap: var(--ch-space-sm); margin: 0; }
.chb2b-quote-line__totals div, .chb2b-quote-totals div { display: flex; justify-content: space-between; gap: var(--ch-space-md); padding: 10px 0; border-bottom: 1px solid var(--ch-color-border); }
.chb2b-quote-line__totals dt, .chb2b-quote-totals dt { color: var(--ch-color-text-muted); }
.chb2b-quote-line__totals dd, .chb2b-quote-totals dd { margin: 0; text-align: right; font-weight: 800; }
.chb2b-quote-summary { position: sticky; top: var(--ch-space-md); display: grid; gap: var(--ch-space-md); box-shadow: var(--ch-shadow-card); }
.chb2b-quote-summary h2 { margin: 0; color: var(--ch-color-primary-dark); }
.chb2b-quote-summary .chb2b-button--primary { width: 100%; }
.chb2b-order-process-note { display: grid; gap: var(--ch-space-sm); padding: var(--ch-space-md); border-radius: var(--ch-radius-md); background: var(--ch-color-gold-soft); color: var(--ch-color-gold-fg); }
.chb2b-order-process-note h3, .chb2b-order-process-note p { margin: 0; }
.chb2b-order-process-note h3 { color: inherit; font-size: 1rem; line-height: 1.35; }
.chb2b-order-process-note p { max-width: 68ch; line-height: 1.55; }
.chb2b-order-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ch-space-sm) var(--ch-space-md); }
.chb2b-order-number { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--ch-space-sm); margin: 0 0 var(--ch-space-md); }
.chb2b-order-number strong { color: var(--ch-color-primary-dark); }
.chb2b-quote-totals__grand { margin-top: var(--ch-space-sm); border-top: 2px solid var(--ch-color-primary); border-bottom: 0 !important; padding-top: var(--ch-space-md) !important; }
.chb2b-quote-totals__grand dt, .chb2b-quote-totals__grand dd { color: var(--ch-color-primary); font-size: 1.08rem; }
.chb2b-quote-confirmation { max-width: 720px; margin: var(--ch-space-xl) auto 0; text-align: center; }
.chb2b-quote-confirmation h2 { margin: 0 0 var(--ch-space-sm); color: var(--ch-color-primary-dark); font-size: clamp(2rem, 5vw, 3rem); }
.chb2b-quote-confirmation .chb2b-action-row { justify-content: center; margin-top: var(--ch-space-lg); }
.chb2b-account-dashboard { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--ch-space-md); }
.chb2b-account-dashboard > header { grid-column: 1 / -1; }
.chb2b-account-list { display: grid; gap: var(--ch-space-sm); }
.chb2b-account-list__row { display: flex; align-items: center; justify-content: space-between; gap: var(--ch-space-md); padding: var(--ch-space-md); border: 1px solid var(--ch-color-border); border-radius: var(--ch-radius-md); background: var(--ch-color-surface); }
.chb2b-account-list__row > div { display: grid; gap: 3px; min-width: 0; }
.chb2b-account-list__row small { color: var(--ch-color-text-muted); }
.chb2b-quote-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: var(--ch-space-lg); align-items: start; }
.chb2b-timeline { display: grid; gap: var(--ch-space-md); margin: 0; padding: 0; list-style: none; }
.chb2b-timeline li { position: relative; padding-inline-start: var(--ch-space-lg); }
.chb2b-timeline li::before { content: ""; position: absolute; inset-inline-start: 0; top: .45rem; width: 10px; height: 10px; border-radius: 50%; background: var(--ch-color-gold); }
.chb2b-admin-quote-detail { position: sticky; top: var(--ch-space-md); display: grid; gap: var(--ch-space-md); box-shadow: none; }
.chb2b-admin-quote-detail h2, .chb2b-admin-quote-detail h3 { margin: 0; color: var(--ch-color-primary-dark); }

@media (max-width: 900px) {
  .chb2b-quote-cart-layout, .chb2b-quote-detail-layout { grid-template-columns: 1fr; }
  .chb2b-quote-summary, .chb2b-admin-quote-detail { position: static; }
  .chb2b-quote-line { grid-template-columns: 92px minmax(0, 1fr); }
  .chb2b-quote-line__media { width: 92px; }
  .chb2b-quote-line__totals { grid-column: 1 / -1; }
  .chb2b-account-dashboard { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .chb2b-quote-cart-page { width: min(100% - 24px, var(--ch-container)); padding-top: var(--ch-space-lg); }
  .chb2b-quote-line { grid-template-columns: 72px minmax(0, 1fr); gap: var(--ch-space-md); padding: var(--ch-space-md); }
  .chb2b-quote-line__media { width: 72px; }
  .chb2b-quote-line__content .chb2b-action-row { align-items: stretch; flex-direction: column; }
  .chb2b-quote-line__content .chb2b-action-row > * { width: 100%; }
  .chb2b-account-dashboard { grid-template-columns: 1fr; }
  .chb2b-account-list__row { align-items: flex-start; flex-direction: column; }
  .chb2b-account-list__row .chb2b-action-row { width: 100%; }
  .chb2b-account-list__row .chb2b-button { flex: 1; }
  .chb2b-portal-nav button { width: auto; min-height: 44px; }
}

/* Shared asynchronous state system. */
.chb2b-state {
  display: grid;
  justify-items: start;
  gap: var(--ch-space-sm);
  width: 100%;
  padding: var(--ch-space-lg);
  border: 1px solid var(--ch-color-border);
  border-radius: var(--ch-radius-lg);
  background: var(--ch-color-surface);
  color: var(--ch-color-text);
}
.chb2b-state__title { margin: 0; color: var(--ch-color-primary-dark); font-size: 1.2rem; line-height: 1.3; }
.chb2b-state__message { margin: 0; max-width: 68ch; line-height: 1.55; }
.chb2b-state__request-id { color: var(--ch-color-text-muted); overflow-wrap: anywhere; }
.chb2b-state .chb2b-skeleton { width: min(100%, 520px); }
.chb2b-state--loading { min-height: 132px; align-content: center; }
.chb2b-state--empty { border-style: dashed; text-align: center; justify-items: center; }
.chb2b-state--error,
.chb2b-state--forbidden { border-color: var(--ch-color-error-fg); background: var(--ch-color-error-bg); color: var(--ch-color-error-fg); }
.chb2b-state--error .chb2b-state__title,
.chb2b-state--forbidden .chb2b-state__title { color: var(--ch-color-error-fg); }
.chb2b-state--offline,
.chb2b-state--partial,
.chb2b-state--conflict { border-color: var(--ch-color-gold); background: var(--ch-color-gold-soft); color: var(--ch-color-gold-fg); }
.chb2b-state--offline .chb2b-state__title,
.chb2b-state--partial .chb2b-state__title,
.chb2b-state--conflict .chb2b-state__title { color: var(--ch-color-gold-fg); }
.chb2b-state--success { border-color: var(--ch-color-ok-fg); background: var(--ch-color-ok-bg); color: var(--ch-color-ok-fg); }
.chb2b-state--success .chb2b-state__title { color: var(--ch-color-ok-fg); }
.chb2b-form-status .chb2b-state { padding: var(--ch-space-sm); border-radius: var(--ch-radius-md); }
.chb2b-form-status .chb2b-state__title { font-size: 1rem; }
.chb2b-admin-preference-state:empty { display: none; }
.chb2b-admin-preference-state { padding: 0 var(--ch-space-lg); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Complete Chamsine website and application experience (0.6.0). */
body.chb2b-page {
  color: var(--ch-color-text);
  font-family: var(--ch-font-sans);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}
body.chb2b-page.chb2b-menu-open,
body.chb2b-page.chb2b-filter-open { overflow: hidden; }
body.chb2b-page h1,
body.chb2b-page h2 { color: var(--ch-color-primary-dark); font-family: var(--ch-font-brand); font-weight: 700; }
body.chb2b-page h1,
body.chb2b-page h2,
body.chb2b-page h3,
body.chb2b-page p { overflow-wrap: anywhere; }
body.chb2b-page img { max-width: 100%; height: auto; }
body.chb2b-page a { text-underline-offset: 3px; }
body.chb2b-page main { min-width: 0; }
.chb2b-container { width: min(var(--ch-container-wide), calc(100% - 48px)); margin-inline: auto; }
.chb2b-lead { max-width: 64ch; color: var(--ch-color-text-muted); font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.7; }
.chb2b-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, border-color .16s ease; }
.chb2b-button:hover { transform: translateY(-1px); }
.chb2b-button--primary:hover { background: var(--ch-color-primary-dark); color: var(--ch-color-on-primary); box-shadow: 0 10px 24px rgb(43 22 11 / 17%); }
.chb2b-button--secondary:hover { border-color: var(--ch-color-primary); color: var(--ch-color-primary-dark); }
.chb2b-button--inverse { background: var(--ch-color-surface); color: var(--ch-color-primary); border-color: var(--ch-color-surface); }
.chb2b-button--inverse:hover { background: var(--ch-color-gold-soft); color: var(--ch-color-primary-dark); }

/* Theme-independent public header. */
.chb2b-site-header { position: relative; z-index: 100; background: rgb(255 255 255 / 97%); border-bottom: 1px solid var(--ch-color-border); box-shadow: 0 3px 18px rgb(43 22 11 / 5%); }
.chb2b-utility-bar { background: var(--ch-color-primary-dark); color: var(--ch-color-on-primary); }
.chb2b-utility-bar__inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: var(--ch-space-md); font-size: 12px; }
.chb2b-utility-note { display: inline-flex; align-items: center; gap: 8px; color: #eadfc9; font-weight: 700; }
.chb2b-utility-note > span { color: var(--ch-color-gold); font-size: 8px; }
.chb2b-utility-links { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.chb2b-utility-links a { color: inherit; text-decoration: none; }
.chb2b-language-indicator { display: inline-grid; place-items: center; min-width: 28px; min-height: 22px; border: 1px solid rgb(255 255 255 / 25%); border-radius: 999px; font-size: 10px; font-weight: 800; }
.chb2b-main-bar { background: var(--ch-color-surface); }
.chb2b-main-bar__inner { min-height: var(--ch-header-height); display: grid; grid-template-columns: auto minmax(360px, 1fr) auto; align-items: center; gap: clamp(20px, 3vw, 44px); }
.chb2b-wordmark { display: inline-grid; align-content: center; flex: 0 0 auto; color: var(--ch-color-primary-dark); line-height: 1; text-decoration: none; }
.chb2b-wordmark__name { font-family: var(--ch-font-brand); font-size: 28px; font-weight: 700; letter-spacing: -.03em; }
.chb2b-wordmark__tag { margin-top: 6px; color: var(--ch-color-gold-fg); font-size: 9px; font-weight: 800; letter-spacing: .2em; }
.chb2b-wordmark--inverse { color: var(--ch-color-on-primary); }
.chb2b-wordmark--inverse .chb2b-wordmark__tag { color: #d8c9ac; }
.chb2b-desktop-nav { display: flex; align-items: center; justify-content: center; gap: clamp(13px, 1.5vw, 27px); }
.chb2b-desktop-nav a,
.chb2b-header-link { position: relative; color: var(--ch-color-text); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.chb2b-desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -12px; height: 2px; background: var(--ch-color-gold); transition: right .18s ease; }
.chb2b-desktop-nav a:hover::after,
.chb2b-desktop-nav a[aria-current="page"]::after { right: 0; }
.chb2b-header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.chb2b-global-search { width: clamp(180px, 17vw, 260px); display: flex; align-items: center; gap: 5px; overflow: hidden; border: 1px solid var(--ch-color-border); border-radius: 999px; background: var(--ch-color-background); padding-inline: 13px; }
.chb2b-global-search > span { color: var(--ch-color-text-muted); font-size: 22px; line-height: 1; }
.chb2b-global-search input { min-width: 0; width: 100%; height: 44px; border: 0; outline: 0; background: transparent; color: var(--ch-color-text); font: inherit; font-size: 13px; }
.chb2b-global-search:focus-within { border-color: var(--ch-color-primary); box-shadow: var(--ch-focus-ring); }
.chb2b-header-actions .chb2b-button { min-height: 44px; padding: 9px 14px; white-space: nowrap; }
.chb2b-mobile-menu-button { display: none; width: 46px; height: 46px; flex: 0 0 46px; border: 1px solid var(--ch-color-border); border-radius: var(--ch-radius-md); background: var(--ch-color-surface); padding: 10px; cursor: pointer; }
.chb2b-mobile-menu-button span { display: block; height: 2px; margin: 5px 0; border-radius: 999px; background: var(--ch-color-primary); }

/* Accessible mobile navigation overlay. */
.chb2b-mobile-menu[hidden] { display: none !important; }
.chb2b-mobile-menu { position: fixed; inset: 0; z-index: 999; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 430px); }
.chb2b-mobile-menu__scrim { grid-column: 1; border: 0; background: rgb(43 22 11 / 64%); cursor: pointer; }
.chb2b-mobile-menu__panel { grid-column: 2; min-width: 0; height: 100%; overflow-y: auto; background: var(--ch-color-surface); padding: 26px 24px 40px; box-shadow: -20px 0 60px rgb(43 22 11 / 22%); }
.chb2b-mobile-menu__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--ch-color-border); padding-bottom: 20px; }
.chb2b-mobile-menu__head > div { display: grid; }
.chb2b-mobile-menu__head strong { color: var(--ch-color-primary-dark); font-family: var(--ch-font-brand); font-size: 27px; }
.chb2b-mobile-menu__head small { margin-top: 4px; color: var(--ch-color-gold-fg); font-size: 9px; font-weight: 800; letter-spacing: .2em; }
.chb2b-mobile-menu__head button { width: 44px; height: 44px; border: 1px solid var(--ch-color-border); border-radius: 50%; background: var(--ch-color-surface); color: var(--ch-color-primary); font-size: 27px; cursor: pointer; }
.chb2b-mobile-search { margin: 22px 0; }
.chb2b-mobile-search input { width: 100%; min-height: 46px; border: 1px solid var(--ch-color-border); border-radius: 999px; background: var(--ch-color-background); padding: 10px 16px; font: inherit; }
.chb2b-mobile-menu nav { display: grid; }
.chb2b-mobile-menu nav a { min-height: 50px; display: flex; align-items: center; border-bottom: 1px solid var(--ch-color-border); color: var(--ch-color-text); font-weight: 750; text-decoration: none; }
.chb2b-mobile-menu__actions { display: grid; gap: 10px; margin-top: 24px; }

/* Homepage. */
.chb2b-home-hero { position: relative; min-height: clamp(650px, 72vw, 790px); display: grid; overflow: hidden; isolation: isolate; background: var(--ch-color-primary-dark); }
.chb2b-home-hero::after { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(43 22 11 / 96%) 0%, rgb(43 22 11 / 88%) 35%, rgb(43 22 11 / 48%) 57%, rgb(43 22 11 / 8%) 78%), linear-gradient(0deg, rgb(43 22 11 / 48%), transparent 42%); content: ""; }
.chb2b-home-hero__picture { position: absolute; inset: 0; z-index: -2; display: block; }
body.chb2b-page .chb2b-home-hero__image { width: 100%; max-width: none; height: 100%; display: block; object-fit: cover; object-position: 50% 50%; }
.chb2b-home-hero__grid { min-height: inherit; display: grid; grid-template-columns: minmax(0, 720px) minmax(240px, 1fr); align-items: center; gap: clamp(40px, 7vw, 100px); padding-block: clamp(70px, 8vw, 110px); }
.chb2b-home-hero__content { max-width: 680px; color: var(--ch-color-on-primary); }
.chb2b-home-hero .chb2b-eyebrow { color: #e7c85f; }
body.chb2b-page .chb2b-home-hero h1 { max-width: 12ch; margin: 12px 0 24px; color: var(--ch-color-on-primary); font-size: clamp(3.2rem, 6vw, 5.7rem); line-height: .98; letter-spacing: -.04em; text-wrap: balance; }
.chb2b-home-hero .chb2b-lead { max-width: 61ch; color: #f0e7db; font-size: 1.08rem; line-height: 1.68; }
.chb2b-home-hero .chb2b-action-row { margin-top: 30px; }
.chb2b-home-hero .chb2b-button--primary { background: var(--ch-color-gold); color: var(--ch-color-primary-dark); }
.chb2b-home-hero .chb2b-button--primary:hover { background: #d7b744; }
.chb2b-home-hero .chb2b-button--secondary { border-color: rgb(255 255 255 / 46%); background: rgb(43 22 11 / 38%); color: var(--ch-color-on-primary); }
.chb2b-home-hero .chb2b-button--secondary:hover { border-color: var(--ch-color-on-primary); background: rgb(43 22 11 / 62%); }
.chb2b-micro-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 20px; margin: 34px 0 0; padding: 20px 0 0; border-top: 1px solid rgb(255 255 255 / 26%); list-style: none; color: #eadfc9; font-size: 12px; font-weight: 700; line-height: 1.45; }
.chb2b-micro-trust li { position: relative; padding-left: 15px; }
.chb2b-micro-trust li::before { position: absolute; top: .48em; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--ch-color-accent); content: ""; }
.chb2b-home-hero__caption { align-self: end; justify-self: end; width: min(310px, 100%); display: grid; gap: 5px; border-radius: var(--ch-radius-md); background: rgb(255 255 255 / 94%); padding: 20px; }
.chb2b-home-hero__caption strong { color: var(--ch-color-primary-dark); font-size: 19px; }
.chb2b-home-hero__caption span { color: var(--ch-color-text-muted); }
.chb2b-trust-strip { background: var(--ch-color-primary); color: var(--ch-color-on-primary); }
.chb2b-trust-strip > .chb2b-container { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.chb2b-trust-strip > .chb2b-container > span { flex: 0 0 auto; color: #eadfc9; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.chb2b-trust-strip > .chb2b-container > div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 24px 44px; font-family: var(--ch-font-brand); font-size: 17px; opacity: .9; }
.chb2b-home-section { padding-block: clamp(64px, 8vw, 110px); }
.chb2b-home-section:nth-of-type(even) { background: var(--ch-color-surface); }
.chb2b-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 38px; }
.chb2b-section-heading h2 { margin: 5px 0 0; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.08; letter-spacing: -.035em; }
.chb2b-section-heading > a { flex: 0 0 auto; color: var(--ch-color-primary); font-weight: 800; text-decoration: none; }
.chb2b-category-icons { position: absolute; width: 0; height: 0; overflow: hidden; }
.chb2b-category-icons symbol,
.chb2b-category-card__icon svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.65; }
.chb2b-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ch-color-border); border-left: 1px solid var(--ch-color-border); }
.chb2b-category-card { min-height: 128px; display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: start; gap: 14px; border-right: 1px solid var(--ch-color-border); border-bottom: 1px solid var(--ch-color-border); background: var(--ch-color-surface); padding: 22px; color: var(--ch-color-text); text-decoration: none; transition: background-color .18s ease, color .18s ease; }
.chb2b-category-card:hover { background: #f7f1e8; }
.chb2b-category-card:focus-visible { outline: 3px solid var(--ch-color-focus); outline-offset: 3px; }
.chb2b-category-card__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--ch-radius-md); background: var(--ch-color-gold-soft); color: var(--ch-color-gold-fg); }
.chb2b-category-card__icon svg { width: 23px; height: 23px; }
.chb2b-category-card__details { min-width: 0; display: grid; align-content: start; gap: 7px; padding-top: 2px; }
.chb2b-category-card strong { color: var(--ch-color-primary-dark); font-family: var(--ch-font-brand); font-size: 18px; line-height: 1.18; }
.chb2b-category-card small { color: var(--ch-color-text-muted); line-height: 1.35; }
.chb2b-how-it-works { background: var(--ch-color-surface); }
.chb2b-process-story { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr); gap: clamp(44px, 7vw, 96px); align-items: center; }
.chb2b-process-story__media { min-height: 580px; margin: 0; overflow: hidden; border-radius: var(--ch-radius-lg); background: #c9b697; }
.chb2b-process-story__media img { width: 100%; height: 100%; min-height: 580px; display: block; object-fit: cover; object-position: 54% 50%; }
.chb2b-process-story__content .chb2b-section-heading { margin-bottom: 24px; }
.chb2b-step-list { display: grid; margin: 0; padding: 0; border-top: 1px solid var(--ch-color-border); list-style: none; }
.chb2b-step-list li { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 18px; border-bottom: 1px solid var(--ch-color-border); padding-block: 23px; }
.chb2b-step-list li > span { color: var(--ch-color-gold-fg); font-family: var(--ch-font-brand); font-size: 1.45rem; line-height: 1.2; }
.chb2b-step-list h3 { margin: 0 0 8px; color: var(--ch-color-primary-dark); font-size: 1.18rem; }
.chb2b-step-list p { margin: 0; color: var(--ch-color-text-muted); line-height: 1.6; }
.chb2b-featured-products { background: var(--ch-color-background); }
.chb2b-featured-products .chb2b-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.chb2b-home-section.chb2b-value-props { background: #39412d; color: var(--ch-color-on-primary); }
.chb2b-delivery-story { display: grid; grid-template-columns: minmax(380px, .88fr) minmax(0, 1.12fr); gap: clamp(44px, 7vw, 96px); align-items: center; }
.chb2b-delivery-story__content .chb2b-section-heading { margin-bottom: 24px; }
.chb2b-delivery-story .chb2b-eyebrow { color: #e7c85f; }
body.chb2b-page .chb2b-delivery-story h2 { color: var(--ch-color-on-primary); }
.chb2b-delivery-story__media { min-height: 640px; margin: 0; overflow: hidden; border-radius: var(--ch-radius-lg); background: #c9b697; }
.chb2b-delivery-story__media img { width: 100%; height: 100%; min-height: 640px; display: block; object-fit: cover; object-position: 56% 50%; }
.chb2b-value-list { display: grid; border-top: 1px solid rgb(255 255 255 / 22%); }
.chb2b-value-list article { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 16px; border-bottom: 1px solid rgb(255 255 255 / 18%); padding-block: 19px; }
.chb2b-value-list article > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgb(198 164 55 / 18%); color: #e7c85f; font-size: 1.15rem; }
.chb2b-value-list h3 { margin: 0 0 6px; color: var(--ch-color-on-primary); font-size: 1.08rem; }
.chb2b-value-list p { margin: 0; color: #dfe2d7; line-height: 1.58; }
.chb2b-info-callout { margin-top: 28px; border: 1px solid #e0c875; border-radius: var(--ch-radius-md); background: var(--ch-color-gold-soft); padding: 18px 20px; color: var(--ch-color-gold-fg); }
.chb2b-delivery-story .chb2b-info-callout { border: 0; background: rgb(255 255 255 / 10%); color: #f2eee6; }
.chb2b-cta-band { background: var(--ch-color-primary); color: var(--ch-color-on-primary); }
.chb2b-cta-band > .chb2b-container { min-height: 215px; display: flex; align-items: center; justify-content: space-between; gap: 38px; border-top: 1px solid rgb(255 255 255 / 18%); }
body.chb2b-page .chb2b-cta-band h2 { max-width: 18ch; margin: 0 0 10px; color: var(--ch-color-on-primary); font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.05; text-wrap: balance; }
.chb2b-cta-band p { max-width: 66ch; margin: 0; color: #eadfc9; line-height: 1.6; }
.chb2b-cta-band > .chb2b-container > div:last-child { display: grid; justify-items: end; gap: 10px; }
.chb2b-cta-band small { color: #d8c9ac; }

/* Public content, contact, legal and authentication surfaces. */
.chb2b-page-hero { position: relative; overflow: hidden; background: linear-gradient(130deg, var(--ch-color-background), #eee5d6); }
.chb2b-page-hero > .chb2b-container { padding-block: clamp(64px, 8vw, 110px); }
.chb2b-page-hero h1 { max-width: 900px; margin: 9px 0 18px; font-size: clamp(2.7rem, 5.5vw, 5rem); line-height: 1.02; letter-spacing: -.04em; }
.chb2b-page-hero p:not(.chb2b-eyebrow) { max-width: 760px; margin: 0; color: var(--ch-color-text-muted); font-size: 1.12rem; line-height: 1.7; }
.chb2b-page-hero--compact > .chb2b-container { padding-block: 58px; }
.chb2b-page-hero--compact h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.chb2b-page-hero small { display: inline-block; margin-top: 18px; color: var(--ch-color-text-muted); }
.chb2b-content-section { padding-block: clamp(58px, 7vw, 96px); }
.chb2b-content-section--surface { background: var(--ch-color-surface); }
.chb2b-content-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.chb2b-content-grid > article,
.chb2b-story-card,
.chb2b-access-card { border: 1px solid var(--ch-color-border); border-radius: var(--ch-radius-lg); background: var(--ch-color-surface); padding: 28px; }
.chb2b-content-grid h2,
.chb2b-content-grid h3,
.chb2b-story-card h2,
.chb2b-access-card h2 { margin-top: 0; }
.chb2b-content-grid p,
.chb2b-story-card p,
.chb2b-access-card p { color: var(--ch-color-text-muted); line-height: 1.65; }
.chb2b-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(30px, 6vw, 90px); align-items: center; }
.chb2b-story-card { min-height: 340px; display: grid; align-content: center; border-top: 2px solid var(--ch-color-gold); }
.chb2b-access-banner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; margin-bottom: 26px; border: 1px solid #e0c875; border-radius: var(--ch-radius-md); background: var(--ch-color-gold-soft); padding: 16px 18px; }
.chb2b-access-banner > span { font-size: 22px; }
.chb2b-access-banner p { margin: 0; color: var(--ch-color-gold-fg); }
.chb2b-faq { display: grid; gap: 12px; }
.chb2b-faq details { border: 1px solid var(--ch-color-border); border-radius: var(--ch-radius-md); background: var(--ch-color-surface); padding: 18px 20px; }
.chb2b-faq summary { cursor: pointer; color: var(--ch-color-primary-dark); font-weight: 800; }
.chb2b-contact-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 28px; align-items: start; }
.chb2b-contact-form { display: grid; gap: 18px; }
.chb2b-field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.chb2b-contact-card { position: sticky; top: 24px; border-radius: var(--ch-radius-lg); background: var(--ch-color-primary-dark); color: var(--ch-color-on-primary); padding: 30px; }
body.chb2b-page .chb2b-contact-card h2 { margin-top: 0; color: var(--ch-color-on-primary); }
.chb2b-contact-card dl { display: grid; gap: 18px; }
.chb2b-contact-card dl > div { border-bottom: 1px solid rgb(255 255 255 / 14%); padding-bottom: 15px; }
.chb2b-contact-card dt { color: #d8c9ac; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.chb2b-contact-card dd { margin: 5px 0 0; }
.chb2b-contact-card a { color: var(--ch-color-on-primary); }
.chb2b-contact-card .chb2b-info-callout { background: rgb(255 255 255 / 9%); color: #eadfc9; }
.chb2b-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.chb2b-legal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.chb2b-legal-grid > a { min-height: 260px; display: grid; align-content: start; border: 1px solid var(--ch-color-border); border-radius: var(--ch-radius-lg); background: var(--ch-color-surface); padding: 28px; color: var(--ch-color-text); text-decoration: none; }
.chb2b-legal-grid > a:hover { border-color: var(--ch-color-gold); box-shadow: var(--ch-shadow-card); }
.chb2b-legal-grid span { color: var(--ch-color-gold); font-family: var(--ch-font-brand); font-size: 42px; }
.chb2b-legal-grid h2 { margin: 36px 0 10px; font-size: 24px; }
.chb2b-legal-grid p { margin: 0; color: var(--ch-color-text-muted); }
.chb2b-legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(34px, 6vw, 90px); align-items: start; }
.chb2b-legal-layout > nav { position: sticky; top: 24px; display: grid; border: 1px solid var(--ch-color-border); border-radius: var(--ch-radius-md); background: var(--ch-color-surface); padding: 18px; }
.chb2b-legal-layout > nav strong { margin-bottom: 12px; color: var(--ch-color-primary-dark); }
.chb2b-legal-layout > nav a { min-height: 44px; display: flex; align-items: center; border-top: 1px solid var(--ch-color-border); text-decoration: none; }
.chb2b-legal-layout > article { max-width: 780px; }
.chb2b-legal-layout > article section { scroll-margin-top: 28px; border-bottom: 1px solid var(--ch-color-border); padding: 0 0 36px; margin-bottom: 36px; }
.chb2b-legal-layout > article h2 { font-size: 28px; }
.chb2b-legal-layout > article p { color: var(--ch-color-text-muted); line-height: 1.8; }
.chb2b-error-page { min-height: 70vh; display: grid; place-items: center; padding-block: 70px; }
.chb2b-error-page > div { max-width: 700px; text-align: center; }
.chb2b-error-page h1 { font-size: clamp(4rem, 12vw, 9rem); line-height: .9; }

.chb2b-auth-page { min-height: 760px; display: grid; align-items: center; background: #e9e8e5; padding-block: clamp(40px, 6vw, 78px); }
.chb2b-auth-shell { display: grid; grid-template-columns: minmax(360px, .92fr) minmax(440px, 1.08fr); gap: 0; overflow: hidden; border-radius: var(--ch-radius-lg); background: var(--ch-color-surface); padding: 20px; box-shadow: 0 24px 70px rgb(43 22 11 / 14%); }
.chb2b-auth-visual { position: relative; min-height: 720px; overflow: hidden; border-radius: var(--ch-radius-md); background: var(--ch-color-primary-dark); color: var(--ch-color-on-primary); }
.chb2b-auth-visual picture { position: absolute; inset: 0; display: block; }
.chb2b-auth-visual::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgb(43 22 11 / 94%) 0%, rgb(43 22 11 / 54%) 42%, rgb(43 22 11 / 4%) 76%); content: ""; }
.chb2b-auth-visual img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 48%; }
.chb2b-auth-visual__overlay { position: absolute; inset: auto clamp(24px, 4vw, 52px) clamp(26px, 5vw, 58px); z-index: 1; }
.chb2b-auth-visual__overlay > .chb2b-eyebrow { color: #e7c85f; }
body.chb2b-page .chb2b-auth-visual__overlay h1 { max-width: 10ch; margin: 10px 0 16px; overflow-wrap: normal; color: var(--ch-color-on-primary); font-size: clamp(2.7rem, 4.5vw, 4.7rem); line-height: 1; letter-spacing: -.04em; text-wrap: balance; }
.chb2b-auth-visual__overlay > p:not(.chb2b-eyebrow) { max-width: 48ch; margin: 0; color: #f0e7db; line-height: 1.65; }
.chb2b-auth-visual__overlay ul { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 24px 0 0; padding: 18px 0 0; border-top: 1px solid rgb(255 255 255 / 24%); list-style: none; color: #eadfc9; font-size: .82rem; font-weight: 700; }
.chb2b-auth-visual__overlay li::before { content: "✓"; margin-right: 7px; color: #e7c85f; }
.chb2b-auth-panel { min-width: 0; display: grid; align-content: center; padding: clamp(32px, 5.5vw, 78px); }
.chb2b-auth-panel__brand { display: flex; align-items: baseline; gap: 8px; margin-bottom: clamp(38px, 6vw, 72px); color: var(--ch-color-primary-dark); }
.chb2b-auth-panel__brand > span { font-family: var(--ch-font-brand); font-size: 1.8rem; font-weight: 800; }
.chb2b-auth-panel__brand > small { color: var(--ch-color-gold-fg); font-size: .58rem; font-weight: 900; letter-spacing: .18em; }
.chb2b-auth-card { width: min(100%, 520px); margin-inline: auto; }
.chb2b-auth-card header { margin-bottom: 30px; }
body.chb2b-page .chb2b-auth-card h2,
body.chb2b-page .chb2b-auth-panel__heading h2 { margin: 0 0 8px; color: var(--ch-color-primary-dark); font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1.08; }
.chb2b-auth-card header p,
.chb2b-auth-panel__heading p { margin: 0; color: var(--ch-color-text-muted); line-height: 1.55; }
.chb2b-auth-card form { display: grid; gap: 18px; }
.chb2b-auth-card .chb2b-button--primary,
.chb2b-registration-form > .chb2b-button--primary { width: 100%; min-height: 52px; }
.chb2b-auth-options { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.chb2b-auth-card__footer { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 26px; border-top: 1px solid var(--ch-color-border); padding-top: 22px; color: var(--ch-color-text-muted); }
.chb2b-auth-card__footer a,
.chb2b-auth-panel__heading > a { color: var(--ch-color-primary); font-weight: 800; text-decoration: none; }
.chb2b-auth-card__footer a:hover,
.chb2b-auth-panel__heading > a:hover { text-decoration: underline; text-underline-offset: 4px; }
.chb2b-auth-page--register { align-items: start; }
.chb2b-auth-page--register .chb2b-auth-shell { align-items: start; }
.chb2b-auth-page--register .chb2b-auth-visual { position: sticky; top: 24px; min-height: min(820px, calc(100vh - 48px)); }
.chb2b-auth-page--register .chb2b-auth-panel { align-content: start; padding-block: clamp(34px, 4vw, 58px); }
.chb2b-auth-page--register .chb2b-auth-panel__brand { margin-bottom: 34px; }
.chb2b-auth-panel__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.chb2b-auth-panel__heading > div { max-width: 560px; }
.chb2b-auth-panel__heading > a { flex: 0 0 auto; min-height: 44px; display: inline-flex; align-items: center; }
.chb2b-registration-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.chb2b-registration-form > .chb2b-alert,
.chb2b-registration-form > .chb2b-form-section,
.chb2b-registration-form > .chb2b-check,
.chb2b-registration-form > small,
.chb2b-registration-form > button,
.chb2b-registration-form > [type="hidden"] { grid-column: 1 / -1; }
.chb2b-registration-form .chb2b-form-section { margin-block: 8px 0; }
.chb2b-registration-form .chb2b-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Password recovery keeps the compact authentication pattern. */
.chb2b-auth-page__grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(420px, .72fr); gap: clamp(50px, 8vw, 120px); align-items: center; }
.chb2b-auth-brand { color: var(--ch-color-primary-dark); }
.chb2b-auth-brand > .chb2b-eyebrow { color: var(--ch-color-gold-fg); }
body.chb2b-page .chb2b-auth-brand h1 { margin: 10px 0 20px; color: var(--ch-color-primary-dark); font-size: clamp(2.8rem, 5vw, 4.8rem); line-height: 1; }
.chb2b-auth-brand > p:not(.chb2b-eyebrow) { max-width: 560px; color: var(--ch-color-text-muted); font-size: 1.08rem; line-height: 1.7; }
.chb2b-auth-card { padding: clamp(26px, 4vw, 48px); }
.chb2b-auth-card header { margin-bottom: 26px; }
.chb2b-auth-card h2 { margin: 0 0 8px; font-size: 34px; }
.chb2b-auth-card header p { margin: 0; color: var(--ch-color-text-muted); }
.chb2b-auth-card form { display: grid; gap: 17px; }
.chb2b-auth-options { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.chb2b-auth-card__footer { display: grid; gap: 12px; margin-top: 24px; border-top: 1px solid var(--ch-color-border); padding-top: 22px; text-align: center; }
.chb2b-registration-form { align-self: start; }
.chb2b-registration-form .chb2b-form-summary:empty { display: none; }
.chb2b-auth-panel .chb2b-auth-card { padding: 0; }
.chb2b-auth-panel .chb2b-auth-card__footer { display: flex; gap: 6px; text-align: left; }

/* Product presentation refinements. */
.chb2b-product-card { transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.chb2b-product-card:hover { transform: translateY(-3px); border-color: #d9c6a5; box-shadow: 0 18px 44px rgb(43 22 11 / 12%); }
.chb2b-product-card__media { position: relative; }
.chb2b-offer-badge { position: absolute; top: 14px; left: 14px; z-index: 2; border-radius: 999px; background: var(--ch-color-gold); color: var(--ch-color-primary-dark); padding: 5px 10px; font-size: 11px; font-weight: 800; }
.chb2b-product-card__body h3,
.chb2b-product-card__body h2 { font-family: var(--ch-font-sans); font-size: 18px; line-height: 1.35; }
.chb2b-product-card__body h3 a,
.chb2b-product-card__body h2 a { color: var(--ch-color-primary-dark); text-decoration: none; }
.chb2b-product-card__price.is-locked { min-height: 56px; border-radius: var(--ch-radius-sm); background: var(--ch-color-background); padding: 10px; }
.chb2b-product-card__actions { margin-top: auto; }
.chb2b-product-grid--related { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.chb2b-product-detail { border-top: 1px solid var(--ch-color-border); padding-top: 28px; }
.chb2b-product-gallery__main { min-height: 480px; display: grid; place-items: center; background: linear-gradient(145deg, #f8f5ef, #ede3d3); }
.chb2b-product-buybox { border: 1px solid var(--ch-color-border); }
.chb2b-product-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--ch-color-border); border-radius: var(--ch-radius-md); background: var(--ch-color-border); }
.chb2b-product-facts > div { background: var(--ch-color-surface); padding: 14px; }

/* Customer portal and B2B administration. */
.chb2b-portal-brand { display: grid; gap: 4px; border-bottom: 1px solid rgb(255 255 255 / 15%); margin: 0 10px 14px; padding: 0 0 20px; }
.chb2b-portal-brand .chb2b-brand { color: var(--ch-color-on-primary); font-family: var(--ch-font-brand); font-size: 30px; text-decoration: none; }
.chb2b-portal-brand > span { color: #d8c9ac; font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.chb2b-portal-user { display: flex; align-items: center; gap: 12px; margin: 0 4px 14px; border: 1px solid rgb(255 255 255 / 13%); border-radius: var(--ch-radius-md); background: rgb(255 255 255 / 7%); padding: 13px; }
.chb2b-portal-user__avatar { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 38px; border-radius: 50%; background: var(--ch-color-gold); color: var(--ch-color-primary-dark); font-weight: 900; }
.chb2b-portal-user > div { min-width: 0; display: grid; gap: 2px; }
.chb2b-portal-user strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chb2b-portal-user small { color: #d8c9ac; }
.chb2b-portal-nav__items { display: grid; gap: 5px; }
.chb2b-portal-nav__items button { display: flex; align-items: center; gap: 11px; }
.chb2b-portal-nav__secondary { display: grid; gap: 3px; margin-top: auto; border-top: 1px solid rgb(255 255 255 / 15%); padding-top: 16px; }
.chb2b-portal-workspace { min-width: 0; }
.chb2b-portal-topbar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--ch-color-border); background: var(--ch-color-surface); padding: 14px 28px; }
.chb2b-portal-topbar p { margin: 0 0 2px; }
.chb2b-portal-topbar strong { color: var(--ch-color-primary-dark); font-family: var(--ch-font-brand); font-size: 22px; }
.chb2b-portal-topbar__actions { display: flex; align-items: center; gap: 10px; }
.chb2b-portal-shell { grid-template-columns: 286px minmax(0, 1fr); background: var(--ch-color-background); }
.chb2b-portal-nav { position: sticky; top: 0; height: 100vh; overflow-y: auto; align-content: start; background: var(--ch-color-primary-dark); padding: 28px 18px; gap: 6px; }
.chb2b-portal-nav > .chb2b-brand { margin: 0 10px 22px; padding-bottom: 20px; border-bottom: 1px solid rgb(255 255 255 / 14%); font-family: var(--ch-font-brand); font-size: 30px; }
.chb2b-portal-nav button,
.chb2b-portal-nav a:not(.chb2b-brand) { min-height: 46px; display: flex; align-items: center; border-radius: var(--ch-radius-md); padding: 11px 13px; color: var(--ch-color-on-primary); font-weight: 700; text-decoration: none; }
.chb2b-portal-nav button[aria-current="page"],
.chb2b-portal-nav a[aria-current="page"] { background: var(--ch-color-primary); color: var(--ch-color-on-primary); }
.chb2b-portal-nav a[href*="tilbudsliste"] { margin-top: 18px; border-top: 1px solid rgb(255 255 255 / 14%); border-radius: 0; padding-top: 20px; }
.chb2b-portal-content { max-width: none; min-width: 0; padding: clamp(24px, 4vw, 52px); }
.chb2b-portal-content > #chb2b-account-root { max-width: 1280px; }
.chb2b-staff-context { max-width: 760px; border-top: 2px solid var(--ch-color-gold); }
.chb2b-account-dashboard { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.chb2b-account-dashboard .chb2b-card { box-shadow: none; }

.chb2b-admin-shell { grid-template-columns: 250px minmax(0, 1fr); background: var(--ch-color-background); }
.chb2b-admin-sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; background: var(--ch-color-primary-dark); padding: 28px 18px; }
.chb2b-admin-sidebar .chb2b-brand { color: var(--ch-color-on-primary); font-family: var(--ch-font-brand); font-size: 28px; }
.chb2b-admin-sidebar nav { gap: 5px; }
.chb2b-admin-sidebar button { min-height: 46px; color: #f6eee5; font-weight: 700; }
.chb2b-admin-sidebar button[aria-current="page"] { background: var(--ch-color-primary); color: var(--ch-color-on-primary); }
.chb2b-admin-main { background: var(--ch-color-background); }
.chb2b-admin-topbar { min-height: 74px; padding: 14px 28px; }
.chb2b-admin-content { max-width: 1480px; padding: clamp(24px, 3vw, 42px); }
.chb2b-admin-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.chb2b-admin-heading h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
.chb2b-stat-card,
.chb2b-price-list-card,
.chb2b-rule-card { border: 1px solid var(--ch-color-border); box-shadow: none; }
.chb2b-admin-toolbar { border: 1px solid var(--ch-color-border); border-radius: var(--ch-radius-md); background: var(--ch-color-surface); padding: 14px; }
.chb2b-grid { border: 1px solid var(--ch-color-border); }
.chb2b-grid thead { background: #f0ece5; }
.chb2b-grid th { color: var(--ch-color-primary-dark); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.chb2b-grid tbody tr:hover { background: #fbf8f3; }

/* Theme-independent footer. */
.chb2b-site-footer { background: var(--ch-color-primary-dark); color: var(--ch-color-on-primary); }
.chb2b-site-footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(150px, .7fr)); gap: 48px; padding-block: 64px 50px; }
.chb2b-footer-brand > p { max-width: 400px; color: #d8c9ac; line-height: 1.7; }
.chb2b-footer-brand > small { color: #d8c9ac; }
.chb2b-site-footer section:not(.chb2b-footer-brand) { display: grid; align-content: start; gap: 10px; }
body.chb2b-page .chb2b-site-footer h2 { margin: 0 0 10px; color: #d8c9ac; font-family: var(--ch-font-sans); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.chb2b-site-footer a { color: #f4eee5; text-decoration: none; }
.chb2b-site-footer a:hover { color: var(--ch-color-gold); }
.chb2b-site-footer .chb2b-wordmark,
.chb2b-site-footer section:not(.chb2b-footer-brand) > a,
.chb2b-site-footer__bottom nav > a { min-height: 44px; display: inline-flex; align-items: center; }
.chb2b-site-footer section > p { margin: 0; color: #d8c9ac; line-height: 1.7; }
.chb2b-site-footer__bottom { border-top: 1px solid rgb(255 255 255 / 13%); }
.chb2b-site-footer__bottom > .chb2b-container { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #d8c9ac; font-size: 12px; }
.chb2b-site-footer__bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }

@media (max-width: 1200px) {
  .chb2b-main-bar__inner { grid-template-columns: auto minmax(330px, 1fr) auto; gap: 18px; }
  .chb2b-desktop-nav { gap: 13px; }
  .chb2b-desktop-nav a { font-size: 13px; }
  .chb2b-global-search { width: 180px; }
  .chb2b-header-actions .chb2b-button { padding-inline: 10px; }
  .chb2b-featured-products .chb2b-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chb2b-value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
  .chb2b-main-bar__inner { min-height: 72px; display: flex; }
  .chb2b-desktop-nav,
  .chb2b-global-search,
  .chb2b-header-actions > a { display: none; }
  .chb2b-header-actions { margin-left: auto; }
  .chb2b-mobile-menu-button { display: block; }
  .chb2b-home-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(190px, .46fr); }
  .chb2b-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chb2b-process-story,
  .chb2b-delivery-story { grid-template-columns: 1fr; }
  .chb2b-process-story__media,
  .chb2b-process-story__media img,
  .chb2b-delivery-story__media,
  .chb2b-delivery-story__media img { min-height: 500px; }
  .chb2b-delivery-story__media { grid-row: 1; }
  .chb2b-content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chb2b-split { grid-template-columns: 1fr; }
  .chb2b-site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chb2b-footer-brand { grid-column: 1 / -1; }
  .chb2b-auth-shell { grid-template-columns: 1fr; padding: 14px; }
  .chb2b-auth-visual,
  .chb2b-auth-page--register .chb2b-auth-visual { position: relative; top: auto; min-height: 520px; }
  .chb2b-auth-panel { padding: 44px; }
  .chb2b-auth-page__grid { grid-template-columns: 1fr; gap: 48px; }
  .chb2b-auth-brand { max-width: 720px; }
  .chb2b-contact-layout { grid-template-columns: 1fr; }
  .chb2b-contact-card { position: static; }
  .chb2b-legal-layout { grid-template-columns: 1fr; }
  .chb2b-legal-layout > nav { position: static; }
  .chb2b-portal-shell { grid-template-columns: 230px minmax(0, 1fr); }
  .chb2b-admin-shell { grid-template-columns: 220px minmax(0, 1fr); }
}

@media (min-width: 768px) and (max-width: 900px) {
  .chb2b-portal-shell { display: block; }
  .chb2b-portal-nav { position: static; width: 100%; height: auto; display: block; overflow: visible; padding: 16px; }
  .chb2b-portal-brand { margin: 0 0 12px; padding: 0 0 14px; }
  .chb2b-portal-brand .chb2b-brand { font-size: 24px; }
  .chb2b-portal-user { display: none; }
  .chb2b-portal-nav__items,
  .chb2b-portal-nav__secondary { display: flex; gap: 6px; overflow-x: auto; margin: 0; border: 0; padding: 0 0 4px; scrollbar-width: thin; }
  .chb2b-portal-nav__secondary { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgb(255 255 255 / 15%); }
  .chb2b-portal-nav button,
  .chb2b-portal-nav a:not(.chb2b-brand) { width: auto; flex: 0 0 auto; min-height: 44px; padding: 10px 13px; white-space: nowrap; }
  .chb2b-portal-nav a[href*="tilbudsliste"] { margin-top: 0; border-top: 0; border-radius: var(--ch-radius-md); padding-top: 10px; }
  .chb2b-portal-topbar { align-items: flex-start; flex-direction: column; gap: 14px; padding: 16px; }
  .chb2b-portal-topbar__actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .chb2b-portal-topbar__actions .chb2b-button { width: 100%; }
  .chb2b-portal-content { padding: 20px 16px 44px; }
  .chb2b-account-dashboard { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .chb2b-container { width: min(var(--ch-container-wide), calc(100% - 32px)); }
  .chb2b-utility-bar__inner { min-height: 38px; }
  .chb2b-utility-note { display: none; }
  .chb2b-utility-links { width: 100%; justify-content: space-between; }
  .chb2b-utility-links > span[aria-hidden="true"],
  .chb2b-utility-links > span:nth-of-type(2) { display: none; }
  .chb2b-wordmark__name { font-size: 23px; }
  .chb2b-mobile-menu { grid-template-columns: 1fr; }
  .chb2b-mobile-menu__scrim { grid-column: 1; grid-row: 1; }
  .chb2b-mobile-menu__panel { grid-column: 1; grid-row: 1; width: min(92vw, 390px); margin-left: auto; }
  .chb2b-home-hero { min-height: 0; display: block; background: var(--ch-color-primary-dark); }
  .chb2b-home-hero::after { inset: 0 0 auto; z-index: 1; height: min(68vh, 560px); background: linear-gradient(0deg, rgb(43 22 11 / 84%) 0%, rgb(43 22 11 / 18%) 64%, rgb(43 22 11 / 2%) 100%); }
  .chb2b-home-hero__picture { position: relative; z-index: 0; height: min(68vh, 560px); min-height: 400px; }
  body.chb2b-page .chb2b-home-hero__image { object-position: 50% 43%; }
  .chb2b-home-hero__grid { position: relative; z-index: 2; min-height: auto; display: block; padding-block: 38px 50px; }
  body.chb2b-page .chb2b-home-hero h1 { max-width: 13ch; overflow-wrap: normal; font-size: clamp(2.55rem, 12vw, 3.7rem); }
  .chb2b-home-hero__caption { display: none; }
  .chb2b-micro-trust { grid-template-columns: 1fr; gap: 8px; }
  .chb2b-trust-strip > .chb2b-container { align-items: flex-start; flex-direction: column; padding-block: 24px; }
  .chb2b-trust-strip > .chb2b-container > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; gap: 14px; font-size: 14px; }
  .chb2b-home-section { padding-block: 60px; }
  .chb2b-section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 28px; }
  .chb2b-content-grid,
  .chb2b-legal-grid,
  .chb2b-value-grid,
  .chb2b-featured-products .chb2b-product-grid,
  .chb2b-product-grid--related { grid-template-columns: 1fr; }
  .chb2b-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chb2b-category-card { min-height: 150px; grid-template-columns: 1fr; gap: 12px; padding: 16px; }
  .chb2b-category-card__details { gap: 5px; }
  .chb2b-process-story,
  .chb2b-delivery-story { gap: 34px; }
  .chb2b-process-story__media,
  .chb2b-process-story__media img { min-height: 360px; }
  .chb2b-delivery-story__media,
  .chb2b-delivery-story__media img { min-height: 390px; }
  .chb2b-step-list li { grid-template-columns: 42px minmax(0, 1fr); gap: 12px; }
  .chb2b-cta-band > .chb2b-container { min-height: 0; align-items: flex-start; flex-direction: column; padding-block: 48px; }
  .chb2b-cta-band > .chb2b-container > div:last-child { width: 100%; justify-items: stretch; }
  .chb2b-page-hero > .chb2b-container { padding-block: 54px; }
  .chb2b-page-hero h1 { font-size: clamp(2.45rem, 12vw, 3.8rem); }
  .chb2b-field-row { grid-template-columns: 1fr; }
  .chb2b-auth-page { min-height: 0; background: #e9e8e5; padding-block: 16px 40px; }
  .chb2b-auth-shell { width: min(100% - 24px, var(--ch-container-wide)); padding: 10px; border-radius: var(--ch-radius-md); }
  .chb2b-auth-visual,
  .chb2b-auth-page--register .chb2b-auth-visual { min-height: 430px; border-radius: calc(var(--ch-radius-md) - 2px); }
  .chb2b-auth-visual__overlay { inset: auto 24px 28px; }
  body.chb2b-page .chb2b-auth-visual__overlay h1 { max-width: none; overflow-wrap: normal; font-size: clamp(2.25rem, 10vw, 2.85rem); hyphens: auto; }
  .chb2b-auth-visual__overlay ul { display: none; }
  .chb2b-auth-panel,
  .chb2b-auth-page--register .chb2b-auth-panel { padding: 34px 18px; }
  .chb2b-auth-panel__brand { margin-bottom: 30px; }
  .chb2b-auth-panel__heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .chb2b-registration-form,
  .chb2b-registration-form .chb2b-form-grid { grid-template-columns: 1fr; }
  .chb2b-auth-page__grid { width: 100%; gap: 0; }
  .chb2b-auth-brand { padding: 32px 0; }
  .chb2b-auth-card { margin-top: 22px; padding: 24px; }
  .chb2b-auth-panel .chb2b-auth-card { margin-top: 0; padding: 0; }
  .chb2b-auth-panel .chb2b-auth-card__footer { align-items: flex-start; flex-direction: column; }
  .chb2b-access-banner { grid-template-columns: auto minmax(0, 1fr); }
  .chb2b-access-banner .chb2b-button { grid-column: 1 / -1; width: 100%; }
  .chb2b-product-facts { grid-template-columns: 1fr; }
  .chb2b-portal-shell,
  .chb2b-admin-shell { display: block; }
  .chb2b-portal-nav,
  .chb2b-admin-sidebar { position: static; width: 100%; height: auto; overflow: visible; padding: 16px; }
  .chb2b-portal-nav { display: block; overflow: visible; }
  .chb2b-portal-brand { margin: 0 0 12px; padding: 0 0 14px; }
  .chb2b-portal-brand .chb2b-brand { font-size: 24px; }
  .chb2b-portal-user { display: none; }
  .chb2b-portal-nav__items,
  .chb2b-portal-nav__secondary { display: flex; gap: 6px; overflow-x: auto; margin: 0; border: 0; padding: 0 0 4px; scrollbar-width: thin; }
  .chb2b-portal-nav__secondary { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgb(255 255 255 / 15%); }
  .chb2b-portal-nav button,
  .chb2b-portal-nav a:not(.chb2b-brand) { width: auto; flex: 0 0 auto; min-height: 44px; padding: 10px 13px; white-space: nowrap; }
  .chb2b-portal-nav a[href*="tilbudsliste"] { margin-top: 0; border-top: 0; border-radius: var(--ch-radius-md); padding-top: 10px; }
  .chb2b-portal-topbar { align-items: flex-start; flex-direction: column; gap: 14px; padding: 16px; }
  .chb2b-portal-topbar__actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .chb2b-portal-topbar__actions .chb2b-button { width: 100%; }
  .chb2b-portal-content { padding: 20px 16px 44px; }
  .chb2b-admin-sidebar nav { display: flex; margin-top: 14px; overflow-x: auto; }
  .chb2b-admin-sidebar button { flex: 0 0 auto; }
  .chb2b-admin-topbar { padding-inline: 16px; }
  .chb2b-admin-content { padding: 20px 16px 44px; }
  .chb2b-admin-heading { flex-direction: column; }
  .chb2b-account-dashboard { grid-template-columns: 1fr; }
  .chb2b-site-footer__grid { grid-template-columns: 1fr; gap: 30px; padding-block: 48px 38px; }
  .chb2b-footer-brand { grid-column: auto; }
  .chb2b-site-footer__bottom > .chb2b-container { align-items: flex-start; flex-direction: column; padding-block: 20px; }
}

@media (max-width: 420px) {
  .chb2b-container { width: min(100% - 24px, var(--ch-container-wide)); }
  .chb2b-main-bar__inner { min-height: 66px; }
  .chb2b-wordmark__tag { display: none; }
  .chb2b-home-hero .chb2b-action-row { align-items: stretch; flex-direction: column; }
  .chb2b-home-hero .chb2b-button { width: 100%; }
  .chb2b-trust-strip > .chb2b-container > div { grid-template-columns: 1fr; }
  .chb2b-card { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .chb2b-button,
  .chb2b-category-card,
  .chb2b-product-card,
  .chb2b-desktop-nav a::after { transition: none !important; transform: none !important; }
}

/* Complete operational administration. */
.chb2b-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ch-space-lg);
  align-items: start;
}
.chb2b-settings-section {
  display: grid;
  gap: var(--ch-space-md);
  box-shadow: none;
}
.chb2b-settings-section h2,
.chb2b-import-panel h2,
.chb2b-export-panel h2 { margin: 0; color: var(--ch-color-primary-dark); }
.chb2b-settings-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
.chb2b-import-workspace {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: var(--ch-space-lg);
  align-items: start;
}
.chb2b-import-panel {
  min-width: 0;
  display: grid;
  gap: var(--ch-space-md);
  padding: var(--ch-space-lg);
  background: var(--ch-color-surface);
  border: 1px solid var(--ch-color-border);
  border-radius: var(--ch-radius-lg);
}
.chb2b-import-panel hr { width: 100%; border: 0; border-top: 1px solid var(--ch-color-border); }
.chb2b-import-history { display: grid; gap: 6px; max-height: 440px; overflow: auto; }
.chb2b-import-history button {
  display: grid;
  gap: 4px;
  width: 100%;
  border: 1px solid transparent;
  border-radius: var(--ch-radius-md);
  background: var(--ch-color-background);
  color: var(--ch-color-text);
  padding: 12px;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.chb2b-import-history button:hover,
.chb2b-import-history button.is-active { border-color: var(--ch-color-primary); background: var(--ch-color-surface); }
.chb2b-import-history span,
.chb2b-import-history small { color: var(--ch-color-text-muted); }
.chb2b-import-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--ch-color-border);
  border-radius: var(--ch-radius-md);
  background: var(--ch-color-border);
}
.chb2b-import-summary > div { display: grid; gap: 4px; min-width: 0; background: var(--ch-color-surface); padding: 12px; }
.chb2b-import-summary span { color: var(--ch-color-text-muted); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.chb2b-import-summary strong { overflow-wrap: anywhere; }
.chb2b-import-mapping { display: grid; overflow: hidden; border: 1px solid var(--ch-color-border); border-radius: var(--ch-radius-md); }
.chb2b-import-mapping__head,
.chb2b-import-mapping__row { display: grid; grid-template-columns: minmax(160px, .7fr) minmax(0, 1.3fr); gap: var(--ch-space-md); align-items: center; padding: 10px 12px; }
.chb2b-import-mapping__head { background: var(--ch-color-background); color: var(--ch-color-text-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.chb2b-import-mapping__row { border-top: 1px solid var(--ch-color-border); }
.chb2b-import-mapping__row > span { overflow-wrap: anywhere; font-weight: 700; }
.chb2b-import-mapping__row select { width: 100%; }
.chb2b-export-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 320px) auto; gap: var(--ch-space-lg); align-items: end; box-shadow: none; }
.chb2b-export-panel p { margin-bottom: 0; color: var(--ch-color-text-muted); }
.chb2b-diagnostics { display: grid; gap: var(--ch-space-md); margin-top: var(--ch-space-lg); }
.chb2b-diagnostics-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--ch-space-md); }
.chb2b-diagnostic-card { display: grid; gap: 12px; min-width: 0; padding: var(--ch-space-lg); background: var(--ch-color-surface); border: 1px solid var(--ch-color-border); border-left: 4px solid var(--ch-color-ok-fg); border-radius: var(--ch-radius-md); }
.chb2b-diagnostic-card[data-status="warning"] { border-left-color: var(--ch-color-gold); }
.chb2b-diagnostic-card[data-status="error"] { border-left-color: var(--ch-color-error-fg); }
.chb2b-diagnostic-card > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: var(--ch-space-sm); }
.chb2b-diagnostic-card > div:first-child strong { text-transform: capitalize; }
.chb2b-diagnostic-card p { margin: 0; color: var(--ch-color-text-muted); line-height: 1.5; }
.chb2b-diagnostic-card dl { display: grid; gap: 6px; margin: 0; }
.chb2b-diagnostic-card dl div { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--ch-color-border); padding-top: 6px; }
.chb2b-diagnostic-card dt { color: var(--ch-color-text-muted); }
.chb2b-diagnostic-card dd { margin: 0; overflow-wrap: anywhere; text-align: right; font-weight: 700; }
.chb2b-audit-list { width: 100%; overflow-x: auto; border: 1px solid var(--ch-color-border); border-radius: var(--ch-radius-lg); }
.chb2b-audit-list .chb2b-grid { min-width: 900px; border: 0; border-radius: 0; }
.chb2b-audit-list code { font-size: 12px; overflow-wrap: anywhere; }
.chb2b-audit-filters { grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr) auto; }

@media (max-width: 1100px) {
  .chb2b-import-workspace,
  .chb2b-settings-grid { grid-template-columns: 1fr; }
  .chb2b-settings-actions { grid-column: auto; }
  .chb2b-diagnostics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .chb2b-import-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chb2b-import-mapping__head { display: none; }
  .chb2b-import-mapping__row { grid-template-columns: 1fr; gap: 6px; }
  .chb2b-export-panel,
  .chb2b-audit-filters { grid-template-columns: 1fr; }
  .chb2b-diagnostics-grid { grid-template-columns: 1fr; }
}

/* Complete customer profile and security surfaces. */
.chb2b-profile-grid,
.chb2b-security-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: var(--ch-space-lg);
  align-items: start;
}
.chb2b-profile-grid > .chb2b-card,
.chb2b-security-grid > .chb2b-card { box-shadow: none; }
.chb2b-profile-facts { display: grid; gap: 0; margin: var(--ch-space-md) 0 0; }
.chb2b-profile-facts div { display: grid; grid-template-columns: minmax(150px, .55fr) minmax(0, 1fr); gap: var(--ch-space-md); padding: 12px 0; border-top: 1px solid var(--ch-color-border); }
.chb2b-profile-facts dt { color: var(--ch-color-text-muted); font-weight: 700; }
.chb2b-profile-facts dd { margin: 0; overflow-wrap: anywhere; font-weight: 700; }

@media (max-width: 767px) {
  .chb2b-profile-grid,
  .chb2b-security-grid { grid-template-columns: 1fr; }
  .chb2b-profile-facts div { grid-template-columns: 1fr; gap: 4px; }
}


/* Native WordPress administration integration. */
.chb2b-wp-admin-wrap {
  max-width: none;
  margin: 20px 20px 0 0;
  color: var(--ch-color-text);
  font-family: var(--ch-font-sans);
}
.chb2b-wp-admin-wrap .chb2b-admin-root { min-height: 0; }
.chb2b-wp-admin-app {
  overflow: hidden;
  min-width: 0;
  background: var(--ch-color-background);
  border: 1px solid var(--ch-color-border);
  border-radius: var(--ch-radius-lg);
  box-shadow: 0 10px 28px rgb(43 22 11 / 8%);
}
.chb2b-wp-admin-shell {
  min-height: calc(100vh - 150px);
  background: var(--ch-color-background);
}
.chb2b-wp-admin-toolbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ch-space-lg);
  padding: 14px 24px;
  background: var(--ch-color-surface);
  border-bottom: 1px solid var(--ch-color-border);
}
.chb2b-wp-admin-toolbar__identity {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.chb2b-wp-admin-toolbar__identity strong {
  color: var(--ch-color-primary-dark);
  font-family: var(--ch-font-brand);
  font-size: 22px;
  line-height: 1.15;
}
.chb2b-wp-admin-toolbar__identity span {
  color: var(--ch-color-text-muted);
  font-size: 13px;
}
.chb2b-wp-admin-toolbar__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--ch-space-md);
}
.chb2b-wp-admin-toolbar__actions > .chb2b-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.chb2b-wp-admin-content {
  width: 100%;
  max-width: 1480px;
  padding: clamp(24px, 3vw, 42px);
}
.chb2b-wp-admin-wrap .notice,
.chb2b-wp-admin-wrap .updated,
.chb2b-wp-admin-wrap .error { box-sizing: border-box; }

@media (max-width: 782px) {
  .chb2b-wp-admin-wrap { margin: 12px 10px 0 0; }
  .chb2b-wp-admin-app { border-radius: var(--ch-radius-md); }
  .chb2b-wp-admin-toolbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px;
  }
  .chb2b-wp-admin-toolbar__actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }
  .chb2b-wp-admin-toolbar__actions > .chb2b-button { width: 100%; }
  .chb2b-wp-admin-content { padding: 20px 16px 44px; }
}

/* 0.6.0 spreadsheet catalog workspace. */
.chb2b-spreadsheet { position: relative; max-height: min(68vh, 820px); overflow: auto; }
.chb2b-spreadsheet .chb2b-grid { min-width: 1460px; border: 0; }
.chb2b-spreadsheet thead { position: sticky; top: 0; z-index: 8; }
.chb2b-spreadsheet th:first-child,
.chb2b-spreadsheet td:first-child { position: sticky; left: 0; z-index: 4; background: var(--ch-color-surface); box-shadow: 1px 0 var(--ch-color-border); }
.chb2b-spreadsheet thead th:first-child { z-index: 10; background: #f0ece5; }
.chb2b-spreadsheet tr.is-dirty td { background: #fffaf0; }
.chb2b-spreadsheet tr.is-dirty td:first-child { box-shadow: inset 4px 0 var(--ch-color-gold), 1px 0 var(--ch-color-border); }
.chb2b-spreadsheet tr.has-error td { background: var(--ch-color-error-bg); }
.chb2b-column-help { display: grid; gap: 3px; min-width: 104px; text-transform: none; letter-spacing: normal; }
.chb2b-column-help small { max-width: 180px; color: var(--ch-color-text-muted); font-size: 10px; font-weight: 500; line-height: 1.25; }
.chb2b-mini-check { display: flex; align-items: center; gap: 6px; margin-top: 7px; color: var(--ch-color-text-muted); font-size: 11px; white-space: nowrap; }
.chb2b-mini-check input { width: 16px !important; min-width: 16px !important; min-height: 16px !important; margin: 0; }
.chb2b-save-bar { position: sticky; z-index: 20; bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: var(--ch-space-lg); width: min(100%, 980px); margin: 18px auto 0; padding: 14px 18px; border: 1px solid var(--ch-color-border); border-top: 2px solid var(--ch-color-gold); border-radius: var(--ch-radius-lg); background: var(--ch-color-surface); box-shadow: 0 14px 40px rgb(43 22 11 / 16%); }
.chb2b-save-bar > div:first-child { display: grid; gap: 3px; }
.chb2b-save-bar small { color: var(--ch-color-text-muted); }
.chb2b-draft-banner { display: flex; align-items: center; justify-content: space-between; gap: var(--ch-space-md); }
.chb2b-alert--info { border-color: var(--ch-color-gold); background: var(--ch-color-gold-bg); color: var(--ch-color-gold-fg); }
@media (max-width: 782px) {
  .chb2b-save-bar, .chb2b-draft-banner { align-items: stretch; flex-direction: column; }
  .chb2b-save-bar .chb2b-action-row, .chb2b-draft-banner .chb2b-action-row { width: 100%; }
  .chb2b-save-bar .chb2b-button, .chb2b-draft-banner .chb2b-button { flex: 1; }
}

.chb2b-ordering-card {
  display: grid;
  gap: var(--ch-space-md, 16px);
  margin: var(--ch-space-lg, 24px) 0;
  padding: var(--ch-space-lg, 24px);
  border: 1px solid var(--ch-color-border, #e6d8be);
  border-radius: var(--ch-radius-lg, 16px);
  background: var(--ch-color-background, #f4f4f2);
}

.chb2b-ordering-card h2 {
  margin: 0;
  font-size: 1.1rem;
}

.chb2b-ordering-summary {
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--ch-radius-md, 10px);
  background: #fff;
  color: var(--ch-color-text-muted, #665e55);
}

.chb2b-quantity-stepper {
  display: grid;
  grid-template-columns: 44px minmax(88px, 1fr) 44px;
  width: min(100%, 240px);
  overflow: hidden;
  border: 1px solid var(--ch-color-border, #e6d8be);
  border-radius: var(--ch-radius-md, 10px);
  background: #fff;
}

.chb2b-quantity-stepper button,
.chb2b-quantity-stepper input {
  min-height: 44px;
  border: 0;
  background: transparent;
  text-align: center;
  font: inherit;
}

.chb2b-quantity-stepper button {
  cursor: pointer;
  color: var(--ch-color-primary, #4b2a14);
  font-size: 1.15rem;
  font-weight: 700;
}

.chb2b-quantity-stepper button:hover,
.chb2b-quantity-stepper button:focus-visible {
  background: var(--ch-color-background, #f4f4f2);
}

.chb2b-quantity-stepper input {
  border-right: 1px solid var(--ch-color-border, #e6d8be);
  border-left: 1px solid var(--ch-color-border, #e6d8be);
}

.chb2b-price-list-workspace {
  display: grid;
  gap: var(--ch-space-lg, 24px);
}

.chb2b-price-source-explainer,
.chb2b-price-list-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ch-space-lg, 24px);
}

.chb2b-price-source-explainer .chb2b-card {
  display: grid;
  gap: 8px;
}

.chb2b-price-source-explainer p,
.chb2b-price-list-identity p,
.chb2b-price-list-identity small {
  margin: 0;
}

.chb2b-price-list-card {
  display: grid;
  gap: 16px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.chb2b-price-list-card.is-selected {
  border-color: var(--ch-color-primary, #4b2a14);
  box-shadow: 0 0 0 2px rgba(75, 42, 20, .08);
}

.chb2b-price-list-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.chb2b-status-pill--system {
  background: var(--ch-color-primary, #4b2a14);
  color: #fff;
}

.chb2b-price-list-editor,
.chb2b-price-list-create {
  align-self: start;
}

.chb2b-price-list-identity {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--ch-color-border, #e6d8be);
  border-radius: var(--ch-radius-md, 10px);
  background: var(--ch-color-background, #f4f4f2);
}

@media (max-width: 980px) {
  .chb2b-price-source-explainer,
  .chb2b-price-list-layout {
    grid-template-columns: 1fr;
  }
}

.chb2b-customer-workspace {
  display: grid;
  gap: var(--ch-space-lg, 24px);
}

.chb2b-customer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--ch-space-lg, 24px);
  align-items: start;
}

.chb2b-customer-layout.has-drawer {
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
}

.chb2b-customer-drawer {
  position: sticky;
  top: 48px;
  display: grid;
  gap: 16px;
  max-height: calc(100vh - 80px);
  padding: 20px;
  overflow: auto;
  border: 1px solid var(--ch-color-border, #e6d8be);
  border-radius: var(--ch-radius-lg, 16px);
  background: #fff;
  box-shadow: 0 18px 50px rgba(43, 22, 11, .12);
}

.chb2b-customer-drawer__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.chb2b-customer-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.chb2b-customer-summary .chb2b-card,
.chb2b-customer-drawer > .chb2b-card {
  padding: 16px;
}

.chb2b-compact-list,
.chb2b-timeline {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 18px;
}

.chb2b-customer-lifecycle-actions .chb2b-button--danger {
  border-color: #b42318;
  background: #fff;
  color: #b42318;
}

@media (max-width: 1100px) {
  .chb2b-customer-layout.has-drawer {
    grid-template-columns: 1fr;
  }
  .chb2b-customer-drawer {
    position: static;
    max-height: none;
  }
}

@media (max-width: 640px) {
  .chb2b-customer-summary {
    grid-template-columns: 1fr;
  }
}

.chb2b-rule-workspace {
  display: grid;
  gap: var(--ch-space-lg, 24px);
}

.chb2b-rule-explainer {
  display: grid;
  gap: 4px;
  padding: 16px 20px;
  border: 1px solid #e0c875;
  border-radius: var(--ch-radius-md, 10px);
  background: var(--ch-color-gold-bg, #f7efcf);
}

.chb2b-rule-explainer p {
  margin: 0;
  color: var(--ch-color-text-muted, #6f625b);
}

.chb2b-rule-layout {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(560px, 1.55fr);
  gap: 24px;
  align-items: start;
}

.chb2b-rule-list {
  position: sticky;
  top: 48px;
  display: grid;
  gap: 14px;
  max-height: calc(100vh - 76px);
  overflow: auto;
}

.chb2b-rule-list-toolbar,
.chb2b-rule-editor > .chb2b-card {
  padding: 18px;
}

.chb2b-rule-card {
  display: grid;
  gap: 10px;
  cursor: default;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.chb2b-rule-card.is-selected {
  border-color: var(--ch-color-accent, #c6a437);
  box-shadow: 0 0 0 3px rgba(198, 164, 55, .16);
}

.chb2b-rule-card__head,
.chb2b-rule-editor__head,
.chb2b-rule-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.chb2b-rule-editor {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.chb2b-rule-condition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.chb2b-rule-condition-grid select[multiple] {
  min-height: 132px;
  padding: 8px;
  background: #fff;
}

.chb2b-rule-condition-grid select[multiple] option {
  padding: 7px 8px;
  border-radius: 5px;
}

.chb2b-rule-option-search {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.chb2b-rule-option-search input {
  min-width: 220px;
}

.chb2b-rule-preview {
  border-style: dashed;
}

.chb2b-rule-preview__result {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.chb2b-rule-preview__result > div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 8px;
  background: var(--ch-color-background, #f4f4f2);
}

.chb2b-rule-preview__result span {
  color: var(--ch-color-text-muted, #6f625b);
  font-size: 12px;
}

.chb2b-rule-save-bar {
  position: sticky;
  bottom: 10px;
  z-index: 12;
}

.chb2b-field--grow {
  flex: 1 1 360px;
}

.chb2b-button--ghost {
  border-color: transparent;
  background: transparent;
  color: var(--ch-color-primary, #4b2a14);
}

@media (max-width: 1180px) {
  .chb2b-rule-layout {
    grid-template-columns: 1fr;
  }
  .chb2b-rule-list {
    position: static;
    max-height: none;
  }
}

@media (max-width: 700px) {
  .chb2b-rule-condition-grid,
  .chb2b-rule-preview__result {
    grid-template-columns: 1fr;
  }
  .chb2b-rule-card__head,
  .chb2b-rule-editor__head,
  .chb2b-rule-section-head,
  .chb2b-rule-option-search {
    flex-direction: column;
    align-items: stretch;
  }
  .chb2b-rule-option-search input {
    min-width: 0;
  }
}

/* Quote operations workspace */
.chb2b-quote-workspace { display: grid; gap: 24px; }
.chb2b-quote-pipeline { display: grid; grid-template-columns: repeat(9, minmax(110px, 1fr)); gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.chb2b-quote-pipeline__stage { min-width: 110px; border: 1px solid var(--ch-color-border); border-radius: var(--ch-radius-md); background: var(--ch-color-surface); color: var(--ch-color-text); padding: 12px; text-align: left; cursor: pointer; }
.chb2b-quote-pipeline__stage span { display: block; color: var(--ch-color-text-muted); font-size: 12px; text-transform: capitalize; }
.chb2b-quote-pipeline__stage strong { display: block; margin-top: 6px; color: var(--ch-color-primary-dark); font-size: 22px; }
.chb2b-quote-pipeline__stage:hover, .chb2b-quote-pipeline__stage.is-active { border-color: var(--ch-color-accent); background: var(--ch-color-accent-soft); }
.chb2b-quote-filters { display: grid; grid-template-columns: minmax(180px, .6fr) minmax(180px, .6fr) minmax(260px, 1.5fr); }
.chb2b-quote-search { min-width: 0; }
.chb2b-quote-list { overflow-x: auto; border: 1px solid var(--ch-color-border); border-radius: var(--ch-radius-lg); background: var(--ch-color-surface); }
.chb2b-quote-list .chb2b-grid { min-width: 880px; border: 0; }
.chb2b-quote-list tr.is-selected { background: var(--ch-color-accent-soft); }
.chb2b-quote-list td small { display: block; color: var(--ch-color-text-muted); margin-top: 3px; }
.chb2b-quote-review { display: grid; gap: 20px; padding-top: 8px; }
.chb2b-quote-review__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 24px; border: 1px solid var(--ch-color-border); border-radius: var(--ch-radius-lg); background: var(--ch-color-surface); }
.chb2b-quote-review__header h2 { margin: 0 0 6px; color: var(--ch-color-primary-dark); font-size: 28px; }
.chb2b-quote-review__header p { margin: 0; color: var(--ch-color-text-muted); }
.chb2b-quote-review__summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.chb2b-quote-review__summary .chb2b-card { box-shadow: none; }
.chb2b-quote-review-flag.is-warning { border-color: var(--ch-color-gold); background: var(--ch-color-gold-soft); }
.chb2b-summary-list { display: grid; gap: 8px; margin: 0; }
.chb2b-summary-list > div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--ch-color-border); }
.chb2b-summary-list dt { color: var(--ch-color-text-muted); }
.chb2b-summary-list dd { margin: 0; color: var(--ch-color-primary-dark); font-weight: 700; }
.chb2b-quote-line-grid { border: 1px solid var(--ch-color-border); border-radius: var(--ch-radius-lg); background: var(--ch-color-surface); overflow: hidden; }
.chb2b-quote-line-grid__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px; border-bottom: 1px solid var(--ch-color-border); background: #f7f3ed; }
.chb2b-quote-line-grid__scroll { overflow-x: auto; }
.chb2b-quote-line-grid .chb2b-grid { min-width: 1450px; border: 0; border-radius: 0; }
.chb2b-quote-line-grid input, .chb2b-quote-line-grid select { width: 100%; min-width: 92px; }
.chb2b-quote-line-grid td:nth-child(3) input { min-width: 220px; }
.chb2b-quote-line-grid tr.requires-review { background: var(--ch-color-gold-soft); }
.chb2b-inline-warning { margin: 0; padding: 12px 18px; border-top: 1px solid var(--ch-color-gold); color: var(--ch-color-gold-fg); background: var(--ch-color-gold-soft); }
.chb2b-quote-editor-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.chb2b-quote-editor-panels .chb2b-card { box-shadow: none; }
.chb2b-quote-editor-panels textarea, .chb2b-quote-transition-panel input { width: 100%; }
.chb2b-quote-transition-panel { box-shadow: none; }
.chb2b-quote-review__lower { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 16px; }
.chb2b-quote-review__lower > .chb2b-card { box-shadow: none; }
.chb2b-document-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--ch-color-border); }
.chb2b-document-row small { display: block; margin-top: 4px; color: var(--ch-color-text-muted); }
.chb2b-quote-timeline ol { list-style: none; margin: 0; padding: 0; }
.chb2b-quote-timeline li { position: relative; display: grid; gap: 4px; padding: 0 0 18px 26px; }
.chb2b-quote-timeline li::before { content: ''; position: absolute; left: 4px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--ch-color-accent); }
.chb2b-quote-timeline li::after { content: ''; position: absolute; left: 8px; top: 17px; bottom: 2px; width: 1px; background: var(--ch-color-border); }
.chb2b-quote-timeline li:last-child::after { display: none; }
.chb2b-quote-timeline span, .chb2b-quote-timeline small { color: var(--ch-color-text-muted); }
.chb2b-button--danger { border-color: var(--ch-color-error-fg); background: var(--ch-color-error-fg); color: #fff; }

@media (max-width: 1180px) {
  .chb2b-quote-review__summary { grid-template-columns: 1fr 1fr; }
  .chb2b-quote-review-flag { grid-column: 1 / -1; }
}
@media (max-width: 782px) {
  .chb2b-quote-filters, .chb2b-quote-review__summary, .chb2b-quote-editor-panels, .chb2b-quote-review__lower { grid-template-columns: 1fr; }
  .chb2b-quote-review__header, .chb2b-quote-line-grid__head, .chb2b-document-row { align-items: stretch; flex-direction: column; }
  .chb2b-quote-pipeline { grid-template-columns: repeat(9, 118px); }
  .chb2b-quote-list .chb2b-grid { min-width: 0; width: 100%; }
  .chb2b-table-scroll.chb2b-responsive-table .chb2b-grid,
  .chb2b-audit-list.chb2b-responsive-table .chb2b-grid { min-width: 0; width: 100%; }
}

/* Operations overview */
.chb2b-overview { display: grid; gap: 26px; }
.chb2b-overview-sections { display: grid; gap: 26px; }
.chb2b-work-queue { display: grid; gap: 14px; }
.chb2b-work-queue__heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.chb2b-work-queue__heading h2 { margin: 0; color: var(--ch-color-primary-dark); font-size: 20px; }
.chb2b-work-queue__heading > span { min-width: 34px; padding: 5px 10px; border-radius: 999px; background: var(--ch-color-gold-soft); color: var(--ch-color-gold-fg); font-weight: 800; text-align: center; }
.chb2b-overview-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.chb2b-work-queue.is-catalog .chb2b-overview-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.chb2b-work-queue.is-operations .chb2b-overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.chb2b-overview-card { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; min-height: 146px; padding: 20px; border: 1px solid var(--ch-color-border); border-radius: var(--ch-radius-lg); background: var(--ch-color-surface); color: inherit; text-decoration: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.chb2b-overview-card:hover, .chb2b-overview-card:focus-visible { transform: translateY(-2px); border-color: var(--ch-color-gold); box-shadow: var(--ch-shadow-card); }
.chb2b-overview-card strong { display: block; color: var(--ch-color-primary-dark); font-size: 16px; }
.chb2b-overview-card p { margin: 8px 0 0; color: var(--ch-color-text-muted); line-height: 1.5; }
.chb2b-overview-card > span { display: grid; place-items: center; flex: 0 0 auto; min-width: 46px; height: 46px; border-radius: 14px; background: #f0ece5; color: var(--ch-color-primary-dark); font-size: 22px; font-weight: 800; }
.chb2b-overview-card.has-work > span { background: var(--ch-color-gold-soft); color: var(--ch-color-gold-fg); }
@media (max-width: 1200px) {
  .chb2b-overview-grid, .chb2b-work-queue.is-catalog .chb2b-overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 782px) {
  .chb2b-overview-grid, .chb2b-work-queue.is-catalog .chb2b-overview-grid, .chb2b-work-queue.is-operations .chb2b-overview-grid { grid-template-columns: 1fr; }
  .chb2b-overview-card { min-height: 0; }
}

/* Guest market selector */
.chb2b-country-selector{appearance:none;border:0;background:transparent;color:inherit;font:inherit;font-weight:700;cursor:pointer;padding:.25rem .35rem;border-radius:var(--ch-radius-sm)}
.chb2b-country-selector:hover,.chb2b-country-selector:focus-visible{background:rgba(255,255,255,.12)}
.chb2b-country-selector:disabled{cursor:default;opacity:.85}
.chb2b-country-dialog{border:0;border-radius:var(--ch-radius-lg);padding:0;max-width:min(34rem,calc(100vw - 2rem));box-shadow:0 24px 70px rgba(43,22,11,.3)}
.chb2b-country-dialog::backdrop{background:rgba(43,22,11,.58)}
.chb2b-country-dialog__panel{padding:1.5rem;background:var(--ch-color-surface);color:var(--ch-color-text);display:grid;gap:1rem}
.chb2b-country-dialog__header{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start}
.chb2b-country-dialog__options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
.chb2b-market-option{display:grid;gap:.25rem;text-align:left;border:1px solid var(--ch-color-border);border-radius:var(--ch-radius-md);background:var(--ch-color-surface);padding:1rem;color:var(--ch-color-text);cursor:pointer;min-height:5.5rem}
.chb2b-market-option:hover,.chb2b-market-option:focus-visible{border-color:var(--ch-color-primary);box-shadow:0 0 0 3px rgba(198,164,55,.24)}
.chb2b-market-option:has(input:checked){border-color:var(--ch-color-primary);background:var(--ch-color-surface-alt,var(--ch-color-surface));outline:2px solid var(--ch-color-primary);outline-offset:2px}
.chb2b-market-option input{margin:0}
.chb2b-market-option span{color:var(--ch-color-text-muted);font-size:.875rem}
@media(max-width:640px){.chb2b-country-dialog__options{grid-template-columns:1fr}}

/* Registration and account status completion */
.chb2b-form-section{border:1px solid var(--ch-color-border);border-radius:var(--ch-radius-md);padding:1rem;display:grid;gap:1rem;margin:0}
.chb2b-form-section legend{font-weight:800;padding:0 .5rem}
.chb2b-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.chb2b-status-badge{display:inline-flex;align-items:center;border-radius:999px;background:var(--ch-color-gold-bg);color:var(--ch-color-gold-fg);font-size:.75rem;font-weight:800;padding:.35rem .7rem;text-transform:uppercase;letter-spacing:.05em}
.chb2b-status-card{display:grid;gap:1rem;max-width:44rem}
@media(max-width:640px){.chb2b-form-grid{grid-template-columns:1fr}}

.chb2b-kpi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ch-space-4,1rem);margin-block:1.5rem}.chb2b-stat-card{background:var(--ch-color-surface,#fff);border:1px solid var(--ch-color-border,#e6d8be);border-radius:var(--ch-radius-md,10px);padding:1.25rem;display:grid;gap:.35rem}.chb2b-stat-card>span,.chb2b-stat-card>small{color:var(--ch-color-text-muted,#6f665d)}.chb2b-stat-card>strong{font-size:1.65rem}.chb2b-form-section{border:0;border-top:1px solid var(--ch-color-border,#e6d8be);padding:1.25rem 0 0;margin:1.25rem 0}.chb2b-form-section legend{font-weight:700;padding-inline-end:1rem}.chb2b-profile-form{display:grid;gap:1rem}.chb2b-compact-list{list-style:none;margin:0;padding:0;display:grid}.chb2b-compact-list li{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.8rem 0;border-bottom:1px solid var(--ch-color-border,#e6d8be)}.chb2b-compact-list button{appearance:none;border:0;background:transparent;width:100%;display:flex;justify-content:space-between;text-align:start;cursor:pointer;padding:.25rem}.chb2b-inline-form{display:grid;grid-template-columns:minmax(10rem,.7fr) minmax(12rem,1fr) minmax(14rem,1.3fr) auto;gap:.75rem;align-items:start}.chb2b-inline-form textarea{min-height:44px}@media(max-width:800px){.chb2b-kpi-grid{grid-template-columns:1fr}.chb2b-inline-form{grid-template-columns:1fr}}

.chb2b-active-filters{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin:.75rem 0}.chb2b-filter-chip{border:1px solid var(--ch-color-primary,#4b2a14);background:var(--ch-color-surface,#fff);border-radius:999px;padding:.5rem .75rem;color:var(--ch-color-primary,#4b2a14);cursor:pointer}.chb2b-price-range{display:grid;grid-template-columns:1fr 1fr;gap:.5rem}.chb2b-card-quantity{display:grid;grid-template-columns:2.75rem minmax(3.5rem,1fr) 2.75rem;border:1px solid var(--ch-color-border,#e6d8be);border-radius:var(--ch-radius-sm,6px);overflow:hidden}.chb2b-card-quantity button,.chb2b-card-quantity input{min-height:44px;border:0;background:var(--ch-color-surface,#fff);text-align:center}.chb2b-card-quantity button{cursor:pointer;font-size:1.1rem}.chb2b-mobile-product-bar{display:none}@media(max-width:640px){.chb2b-mobile-product-bar{position:sticky;bottom:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:1rem;background:var(--ch-color-surface,#fff);border-top:1px solid var(--ch-color-border,#e6d8be);padding:.75rem 1rem calc(.75rem + env(safe-area-inset-bottom));box-shadow:0 -8px 24px rgba(43,22,11,.12)}.chb2b-mobile-product-bar div{display:grid}.chb2b-mobile-product-bar small{color:var(--ch-color-text-muted,#6f665d)}.chb2b-product-card__actions{grid-template-columns:1fr}.chb2b-price-range{grid-template-columns:1fr}}

/* Admin command palette, notifications and visibility matrix */
.chb2b-admin-utilities{position:relative;display:flex;align-items:center;gap:.6rem}.chb2b-command-trigger,.chb2b-notification-trigger,.chb2b-icon-button{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:44px;border:1px solid var(--ch-color-border);border-radius:var(--ch-radius-md);background:var(--ch-color-surface);color:var(--ch-color-primary-dark);cursor:pointer}.chb2b-command-trigger{padding:.55rem .8rem}.chb2b-command-trigger kbd,.chb2b-command-palette kbd{border:1px solid var(--ch-color-border);border-radius:5px;background:var(--ch-color-background);padding:.12rem .35rem;font:inherit;font-size:.75rem}.chb2b-notification-trigger,.chb2b-icon-button{width:44px;min-width:44px;padding:0;position:relative}.chb2b-notification-trigger>span{font-size:.65rem;color:var(--ch-color-gold)}.chb2b-notification-trigger>strong{position:absolute;right:-5px;top:-6px;min-width:18px;height:18px;border-radius:999px;background:var(--ch-color-error-fg);color:#fff;font-size:.68rem;line-height:18px;text-align:center}.chb2b-command-backdrop{position:fixed;inset:0;z-index:100000;background:rgba(43,22,11,.55);display:grid;place-items:start center;padding-top:min(15vh,9rem)}.chb2b-command-palette{width:min(620px,calc(100vw - 2rem));max-height:70vh;overflow:auto;border-radius:var(--ch-radius-lg);background:var(--ch-color-surface);box-shadow:0 28px 80px rgba(43,22,11,.38);padding:.75rem}.chb2b-command-palette__search{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.75rem;border-bottom:1px solid var(--ch-color-border);padding:.65rem}.chb2b-command-palette__search input{border:0!important;box-shadow:none!important;font-size:1.05rem;min-height:44px;width:100%}.chb2b-command-palette__results{display:grid;padding:.5rem 0}.chb2b-command-palette__item{display:flex;align-items:center;justify-content:space-between;border:0;background:transparent;padding:.85rem 1rem;border-radius:var(--ch-radius-md);text-align:left;cursor:pointer}.chb2b-command-palette__item:hover,.chb2b-command-palette__item:focus-visible{background:var(--ch-color-gold-soft)}.chb2b-command-palette__empty{padding:1rem;color:var(--ch-color-text-muted)}.chb2b-admin-notifications{position:absolute;z-index:10010;right:0;top:calc(100% + .6rem);width:min(420px,calc(100vw - 2rem));max-height:70vh;overflow:auto;border:1px solid var(--ch-color-border);border-radius:var(--ch-radius-lg);background:var(--ch-color-surface);box-shadow:var(--ch-shadow-card);padding:1rem}.chb2b-admin-notifications__heading,.chb2b-admin-notifications article{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.chb2b-admin-notifications__heading{padding-bottom:.75rem;border-bottom:1px solid var(--ch-color-border)}.chb2b-admin-notifications__heading span{display:block;color:var(--ch-color-text-muted);font-size:.8rem}.chb2b-admin-notifications__list{display:grid}.chb2b-admin-notifications article{padding:.9rem 0;border-bottom:1px solid var(--ch-color-border)}.chb2b-admin-notifications article.is-read{opacity:.68}.chb2b-admin-notifications article small{display:block;color:var(--ch-color-text-muted);margin-top:.2rem}.chb2b-visibility-section,.chb2b-visibility-preview{display:grid;gap:1rem}.chb2b-visibility-matrix-wrap{overflow:auto;border:1px solid var(--ch-color-border);border-radius:var(--ch-radius-md)}.chb2b-visibility-matrix{min-width:900px;border:0;border-radius:0}.chb2b-visibility-matrix th:first-child{position:sticky;left:0;z-index:2;background:var(--ch-color-surface)}.chb2b-visibility-matrix thead th{position:sticky;top:0;z-index:3}.chb2b-visibility-matrix thead th:first-child{z-index:4}.chb2b-visibility-matrix th small,.chb2b-visibility-matrix td small{display:block;margin-top:.3rem;color:var(--ch-color-text-muted)}.chb2b-visibility-matrix td.is-dirty{background:var(--ch-color-gold-soft)}.chb2b-visibility-preview__result{border-top:1px solid var(--ch-color-border);padding-top:1rem;display:grid;gap:.8rem}.chb2b-visibility-preview__result ul{max-height:240px;overflow:auto;margin:0;padding-left:1.25rem}.chb2b-muted{color:var(--ch-color-text-muted)}
@media(max-width:782px){.chb2b-command-trigger span{display:none}.chb2b-admin-notifications{position:fixed;inset:5rem 1rem auto 1rem;width:auto}.chb2b-visibility-preview .chb2b-admin-toolbar{grid-template-columns:1fr}.chb2b-command-backdrop{padding-top:4rem}}

/* 0.7.1 operational admin completion */
.chb2b-bulk-toolbar{position:sticky;top:32px;z-index:15;display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding:12px 16px;margin:14px 0;background:var(--ch-color-primary,#4b2a14);color:#fff;border-radius:10px;box-shadow:0 10px 30px rgba(43,22,11,.18)}
.chb2b-bulk-toolbar .chb2b-field{min-width:150px}.chb2b-bulk-toolbar .chb2b-field>span{color:#fff}.chb2b-grid-checkbox{width:44px;text-align:center}.chb2b-product-link{border:0;background:none;padding:0;text-align:left;color:inherit;cursor:pointer}.chb2b-product-link:hover{text-decoration:underline}.chb2b-drawer-backdrop{position:fixed;inset:0;z-index:100000;background:rgba(43,22,11,.48);display:flex;justify-content:flex-end}.chb2b-product-drawer{width:min(440px,92vw);height:100%;overflow:auto;background:#fff;padding:24px;box-shadow:-20px 0 50px rgba(0,0,0,.18)}.chb2b-product-drawer>header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.chb2b-product-drawer__image{display:block;width:100%;max-height:260px;object-fit:contain;margin:20px 0;border-radius:10px;background:#f4f4f2}.chb2b-category-checklist{display:grid;grid-template-columns:1fr 1fr;gap:8px;border:1px solid var(--ch-color-border,#e6d8be);border-radius:10px;padding:16px;margin:18px 0}.chb2b-category-checklist legend{font-weight:700;padding:0 6px}.chb2b-category-checklist label{display:flex;gap:8px;align-items:center}.chb2b-price-list-completeness{margin-top:20px;padding-top:18px;border-top:1px solid var(--ch-color-border,#e6d8be)}.chb2b-price-list-completeness .chb2b-action-row{justify-content:space-between}.chb2b-completeness-value{display:block;font-size:2rem;margin:.4rem 0}.chb2b-price-list-completeness progress{width:100%;height:12px}.chb2b-change-request-list,.chb2b-rule-conflict-list{display:grid;gap:12px}.chb2b-change-request,.chb2b-rule-conflict-list article{padding:14px;border:1px solid var(--ch-color-border,#e6d8be);border-radius:10px;background:#fff}.chb2b-change-request dl{display:grid;gap:6px}.chb2b-change-request dl>div{display:flex;justify-content:space-between;gap:12px}.chb2b-change-request dt{color:var(--ch-color-text-muted,#6d625b)}.chb2b-rule-conflicts{margin-bottom:18px}.chb2b-rule-conflict-list article{border-left:4px solid var(--ch-color-warning,#b7791f)}.chb2b-quote-notification-status{min-width:280px}.chb2b-quote-notification-status .chb2b-compact-list li{display:flex;justify-content:space-between;gap:12px}.chb2b-quote-line-grid input[type="text"],.chb2b-quote-line-grid input[type="number"]{min-width:84px}
@media(max-width:782px){.chb2b-bulk-toolbar{top:46px;align-items:stretch}.chb2b-bulk-toolbar .chb2b-field{min-width:100%;}.chb2b-category-checklist{grid-template-columns:1fr}.chb2b-product-drawer{width:100%}}

.chb2b-page--server-error .chb2b-error-page .chb2b-container {
  max-width: 760px;
}
.chb2b-request-reference {
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  padding: .65rem .9rem;
  border: 1px solid var(--ch-border, #ded6c8);
  border-radius: var(--ch-radius-md, 10px);
  background: #fff;
}
.chb2b-request-reference code {
  font-size: .85rem;
  overflow-wrap: anywhere;
}

/* Customer shell states and keyboard navigation */
.chb2b-network-banner {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: .65rem 1rem;
  background: var(--ch-color-primary-dark, #2b160b);
  color: #fff;
  text-align: center;
  font-size: .9rem;
  font-weight: 700;
}
.chb2b-network-banner[data-network-state="offline"] { background: #8b2f2f; }
.chb2b-network-banner[data-network-state="degraded"] { background: #8a5a16; }
.chb2b-network-banner[data-network-state="reconnected"] { background: #2f6f4e; }
.chb2b-portal-nav a {
  display: block;
  color: inherit;
  text-decoration: none;
}
.chb2b-portal-nav a[aria-current="page"] {
  background: var(--ch-color-gold-soft, #f4ead0);
  color: var(--ch-color-primary-dark, #2b160b);
  font-weight: 800;
}
.chb2b-portal-nav a:not([aria-current="page"]):hover,
.chb2b-portal-nav a:not([aria-current="page"]):focus-visible {
  background: var(--ch-color-primary, #4b2a14);
  color: var(--ch-color-on-primary, #fff);
}
.chb2b-portal-nav a:not([aria-current="page"]):focus-visible {
  outline: 3px solid var(--ch-color-focus-on-dark);
  outline-offset: 2px;
  box-shadow: var(--ch-focus-ring-on-dark);
}
.chb2b-no-script {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1rem;
  margin-top: 1.25rem;
  padding: 1rem;
  border: 1px solid var(--ch-color-border, #e6d8be);
  border-radius: var(--ch-radius-md, 10px);
  background: var(--ch-color-surface, #fff);
}
.chb2b-site [tabindex="-1"]:focus:not(:focus-visible),
.chb2b-wp-admin-wrap [tabindex="-1"]:focus:not(:focus-visible) { outline: none; box-shadow: none; }
.chb2b-site [tabindex="-1"]:focus-visible,
.chb2b-wp-admin-wrap [tabindex="-1"]:focus-visible { outline: 3px solid var(--ch-color-focus); outline-offset: 4px; }

/* Admin tables collapse into labeled cards at the WordPress mobile breakpoint. */
.chb2b-responsive-table {
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
}
.chb2b-responsive-table table {
  min-width: 0;
}
@media (max-width: 782px) {
  .chb2b-responsive-table {
    overflow-x: hidden;
  }
  .chb2b-responsive-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;
  }
  .chb2b-responsive-table tbody {
    display: grid;
    gap: .75rem;
  }
  .chb2b-responsive-table tr {
    display: grid;
    min-width: 0;
    border: 1px solid var(--ch-color-border);
    border-radius: var(--ch-radius-md);
    background: var(--ch-color-surface);
    overflow: hidden;
  }
  .chb2b-responsive-table td {
    display: grid;
    grid-template-columns: minmax(7rem, .5fr) minmax(0, 1fr);
    min-width: 0;
    gap: .75rem;
    align-items: start;
  }
  .chb2b-responsive-table td::before {
    content: attr(data-label);
    color: var(--ch-color-text-muted);
    font-size: .78rem;
    font-weight: 800;
  }
  .chb2b-responsive-table td > input,
  .chb2b-responsive-table td > select,
  .chb2b-responsive-table td > button {
    min-width: 0;
    max-width: 100%;
  }
}
.chb2b-wp-admin-wrap [inert] {
  pointer-events: none;
  user-select: none;
}
@media (max-width: 640px) {
  .chb2b-network-banner { font-size: .82rem; }
  .chb2b-no-script { display: grid; }
}

/* Catalog buying experience: scoped facets, compact cards, quick view and quote preview. */
body.chb2b-page.chb2b-dialog-open { overflow: hidden; }
.chb2b-catalog-workspace { grid-template-columns: minmax(240px, 270px) minmax(0, 1fr); gap: 24px; }
.chb2b-filter-panel { border-radius: var(--ch-radius-md); padding: 20px; box-shadow: none; }
.chb2b-filter-panel form { gap: 22px; }
.chb2b-filter-group { gap: 7px; }
.chb2b-filter-group legend { margin-bottom: 6px; }
.chb2b-filter-group .chb2b-check { min-height: 44px; align-items: center; border-radius: var(--ch-radius-sm); padding: 5px 7px; }
.chb2b-filter-group .chb2b-check:hover { background: var(--ch-color-background); }
.chb2b-filter-group .chb2b-check input { flex: 0 0 auto; margin: 0; }
.chb2b-filter-group .chb2b-check > span:not(.chb2b-filter-count) { min-width: 0; }
.chb2b-filter-count { min-width: 28px; margin-left: auto; color: var(--ch-color-text-muted); font-family: var(--ch-font-mono); font-size: 12px; font-variant-numeric: tabular-nums; text-align: right; }
.chb2b-product-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.chb2b-product-card { position: relative; border-radius: var(--ch-radius-md); box-shadow: none; cursor: pointer; transition: border-color .16s ease, background-color .16s ease; }
.chb2b-product-card:hover { transform: none; border-color: color-mix(in srgb, var(--ch-color-gold) 58%, var(--ch-color-border)); box-shadow: none; }
.chb2b-product-card__media { aspect-ratio: 3 / 2; background: #faf9f6; padding: 14px; }
.chb2b-product-card__media img { object-fit: contain; }
.chb2b-product-card:hover .chb2b-product-card__media img { transform: scale(1.015); }
.chb2b-product-card__body { gap: 7px; padding: 14px; }
.chb2b-product-card__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; color: var(--ch-color-text-muted); font-size: 12px; }
.chb2b-product-card__meta > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chb2b-product-card__sku { flex: 0 0 auto; font-family: var(--ch-font-mono); font-variant-numeric: tabular-nums; }
.chb2b-product-card__body h2,
.chb2b-product-card__body h3 { min-height: 2.55em; display: -webkit-box; overflow: hidden; margin: 0; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 17px; line-height: 1.28; }
.chb2b-product-card__body h2 a::after,
.chb2b-product-card__body h3 a::after { position: absolute; z-index: 1; inset: 0; content: ""; border-radius: inherit; }
.chb2b-product-card__body h2 a:focus-visible,
.chb2b-product-card__body h3 a:focus-visible { outline: none; }
.chb2b-product-card__body h2 a:focus-visible::after,
.chb2b-product-card__body h3 a:focus-visible::after { outline: 3px solid var(--ch-color-focus); outline-offset: -3px; }
.chb2b-product-card__pack { min-height: 0; margin: 0; overflow: hidden; color: var(--ch-color-text-muted); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.chb2b-product-card__commerce { display: grid; gap: 8px; margin-top: auto; border-top: 1px solid var(--ch-color-border); padding-top: 10px; }
.chb2b-product-card__price { min-height: 30px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 0; background: transparent; border-radius: 0; }
.chb2b-product-card__price.is-locked { min-height: 30px; display: flex; padding: 0; background: transparent; }
.chb2b-product-card__price strong { font-family: var(--ch-font-mono); font-size: 17px; font-variant-numeric: tabular-nums; }
.chb2b-product-card__price small { white-space: nowrap; }
.chb2b-product-card__actions { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(112px, .7fr) minmax(0, 1.3fr); gap: 8px; cursor: default; }
.chb2b-product-card__actions .chb2b-button { min-width: 0; padding-inline: 12px; }
.chb2b-product-page > p > .chb2b-link,
.chb2b-product-buybox > p > .chb2b-link { min-height: 44px; display: inline-flex; align-items: center; }
.chb2b-card-quantity { grid-template-columns: 44px minmax(44px, 1fr) 44px; }
.chb2b-card-quantity button,
.chb2b-card-quantity input { min-height: 46px; font-family: var(--ch-font-mono); font-variant-numeric: tabular-nums; }
.chb2b-pagination { flex-wrap: wrap; gap: 6px; }
.chb2b-pagination__page,
.chb2b-pagination__direction { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; border: 1px solid var(--ch-color-border); border-radius: var(--ch-radius-sm); background: var(--ch-color-surface); color: var(--ch-color-primary); padding: 7px 11px; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; }
.chb2b-pagination__page[aria-current="page"] { border-color: var(--ch-color-primary); background: var(--ch-color-primary); color: var(--ch-color-on-primary); }
.chb2b-pagination__direction { padding-inline: 14px; }
.chb2b-pagination__ellipsis { min-width: 28px; text-align: center; }

.chb2b-product-quick-view { position: fixed; inset: 0 0 0 auto; width: min(500px, 100vw); max-width: 500px; height: 100vh; max-height: 100vh; margin: 0 0 0 auto; overflow: hidden; border: 0; border-radius: 0; background: var(--ch-color-surface); padding: 0; color: var(--ch-color-text); box-shadow: -12px 0 32px rgb(43 22 11 / 18%); transform: translateX(100%); transition: transform .22s cubic-bezier(.22, 1, .36, 1); }
.chb2b-product-quick-view[open] { transform: translateX(0); }
@starting-style { .chb2b-product-quick-view[open] { transform: translateX(100%); } }
.chb2b-product-quick-view::backdrop,
.chb2b-quote-list-dialog::backdrop { background: rgb(43 22 11 / 58%); }
.chb2b-product-quick-view__panel { position: relative; display: grid; grid-template-rows: minmax(250px, 36vh) minmax(0, 1fr); height: 100%; min-height: 0; overflow: hidden; }
.chb2b-product-quick-view__close { position: absolute; z-index: 2; top: 14px; right: 14px; width: 44px; height: 44px; border: 1px solid var(--ch-color-border); border-radius: 50%; background: var(--ch-color-surface); font-size: 24px; cursor: pointer; }
.chb2b-product-quick-view__media { min-height: 0; display: grid; place-items: center; border-bottom: 1px solid var(--ch-color-border); background: #faf9f6; padding: 28px; }
.chb2b-product-quick-view__media img { width: 100%; height: 100%; max-height: 100%; object-fit: contain; }
.chb2b-product-quick-view__body { min-width: 0; min-height: 0; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; overscroll-behavior: contain; padding: 24px; }
.chb2b-product-quick-view__body h2 { margin: 0; font-size: 30px; line-height: 1.12; text-wrap: balance; }
.chb2b-product-quick-view__description { margin: 0; color: var(--ch-color-text-muted); line-height: 1.55; text-wrap: pretty; }
.chb2b-product-quick-view__body .chb2b-product-card__pack { white-space: normal; }
.chb2b-product-quick-view__actions { position: sticky; bottom: -24px; display: grid; grid-template-columns: minmax(120px, .75fr) minmax(0, 1.25fr); gap: 10px; margin: auto -24px -24px; border-top: 1px solid var(--ch-color-border); background: var(--ch-color-surface); padding: 16px 24px 24px; }

.chb2b-quote-list-trigger { position: relative; width: 46px; height: 46px; flex: 0 0 46px; display: inline-grid; place-items: center; border: 1px solid var(--ch-color-border); border-radius: var(--ch-radius-md); color: var(--ch-color-primary); padding: 0; text-decoration: none; }
.chb2b-quote-list-trigger:hover { border-color: var(--ch-color-primary); }
.chb2b-quote-list-trigger__icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.chb2b-quote-list-trigger__count { position: absolute; top: -6px; right: -6px; min-width: 21px; min-height: 21px; display: inline-grid; place-items: center; border: 2px solid var(--ch-color-surface); border-radius: 50%; background: var(--ch-color-gold); color: var(--ch-color-primary-dark); font-family: var(--ch-font-mono); font-size: 10px; font-weight: 800; }
.chb2b-quote-list-floating { position: fixed; z-index: 40; right: calc(var(--ch-space-md) + env(safe-area-inset-right)); bottom: calc(var(--ch-space-md) + env(safe-area-inset-bottom) + var(--chb2b-cart-bar-offset, 0px)); width: 52px; height: 52px; border-color: var(--ch-color-gold); border-radius: var(--ch-radius-lg); background: var(--ch-color-primary); color: var(--ch-color-on-primary); box-shadow: none; cursor: pointer; }
.chb2b-quote-list-floating:hover { background: var(--ch-color-primary-dark); border-color: var(--ch-color-gold); }
.chb2b-quote-list-floating[hidden], .chb2b-quote-list-trigger__count[hidden] { display: none; }
.chb2b-quote-list-dialog { width: min(480px, 100vw); max-width: 480px; height: 100vh; max-height: 100vh; margin: 0 0 0 auto; overflow: hidden; border: 0; background: var(--ch-color-surface); padding: 0; color: var(--ch-color-text); }
.chb2b-quote-list-dialog__panel { height: 100%; min-height: 0; display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; }
.chb2b-quote-list-dialog__panel > header { grid-row: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--ch-color-border); padding: 24px; }
.chb2b-quote-list-dialog__panel > header h2 { margin: 2px 0 0; font-size: 30px; }
.chb2b-quote-list-dialog__panel > header .chb2b-icon-button { width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid var(--ch-color-border); border-radius: 50%; background: var(--ch-color-surface); font-size: 24px; cursor: pointer; }
.chb2b-quote-list-dialog__status { grid-row: 2; margin: 0; border-bottom: 1px solid var(--ch-color-border); padding: 10px 24px; color: var(--ch-color-text-muted); font-size: .86rem; font-weight: 700; }
.chb2b-quote-list-dialog__status[hidden] { display: none; }
.chb2b-quote-list-dialog__status[data-state="success"] { background: var(--ch-color-ok-bg); color: var(--ch-color-ok-fg); }
.chb2b-quote-list-dialog__status[data-state="error"] { background: var(--ch-color-error-bg); color: var(--ch-color-error-fg); }
.chb2b-quote-list-dialog__content { grid-row: 3; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 24px 20px; }
.chb2b-quote-list-dialog__content[aria-busy="true"] { cursor: wait; }
.chb2b-quote-list-dialog__panel > footer { grid-row: 4; border-top: 1px solid var(--ch-color-border); padding: 18px 24px; }
.chb2b-quote-list-dialog__panel > footer .chb2b-button { width: 100%; }
.chb2b-quote-list-dialog__empty { display: grid; gap: 8px; padding-block: 28px; }
.chb2b-quote-list-dialog__empty p { margin: 0; color: var(--ch-color-text-muted); }
.chb2b-quote-list-preview { margin: 0; padding: 0; list-style: none; }
.chb2b-quote-list-preview li { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 12px; align-items: start; border-bottom: 1px solid var(--ch-color-border); padding-block: 18px; transition: opacity .16s ease; }
.chb2b-quote-list-preview li[aria-busy="true"] { opacity: .58; }
.chb2b-quote-list-preview__media { width: 60px; height: 60px; display: grid; place-items: center; overflow: hidden; border-radius: var(--ch-radius-sm); background: #faf9f6; }
.chb2b-quote-list-preview__media img { width: 100%; height: 100%; object-fit: contain; }
.chb2b-quote-list-preview__details { min-width: 0; display: grid; gap: 5px; }
.chb2b-quote-list-preview__details strong { display: -webkit-box; overflow: hidden; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.chb2b-quote-list-preview__details small { overflow: hidden; color: var(--ch-color-text-muted); font-size: .78rem; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.chb2b-quote-list-preview__controls { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.chb2b-quote-list-preview__stepper { display: grid; grid-template-columns: 44px 52px 44px; overflow: hidden; border: 1px solid var(--ch-color-border); border-radius: var(--ch-radius-md); background: var(--ch-color-surface); }
.chb2b-quote-list-preview__stepper button,
.chb2b-quote-list-preview__stepper input { width: 100%; min-width: 0; height: 44px; border: 0; background: transparent; color: var(--ch-color-text); padding: 0; font: inherit; text-align: center; }
.chb2b-quote-list-preview__stepper button { cursor: pointer; font-size: 1.1rem; font-weight: 800; }
.chb2b-quote-list-preview__stepper button:hover:not(:disabled) { background: var(--ch-color-background); }
.chb2b-quote-list-preview__stepper button:disabled { cursor: not-allowed; opacity: .36; }
.chb2b-quote-list-preview__stepper input { border-inline: 1px solid var(--ch-color-border); font-variant-numeric: tabular-nums; appearance: textfield; }
.chb2b-quote-list-preview__stepper input::-webkit-inner-spin-button,
.chb2b-quote-list-preview__stepper input::-webkit-outer-spin-button { margin: 0; appearance: none; }
.chb2b-quote-list-preview__remove { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; border: 1px solid transparent; border-radius: var(--ch-radius-md); background: transparent; color: var(--ch-color-text-muted); padding: 0; cursor: pointer; }
.chb2b-quote-list-preview__remove:hover,
.chb2b-quote-list-preview__remove:focus-visible { border-color: var(--ch-color-error-fg); background: var(--ch-color-error-bg); color: var(--ch-color-error-fg); }
.chb2b-quote-list-preview__remove svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chb2b-quote-list-preview__total { align-self: start; padding-top: 2px; color: var(--ch-color-primary); font-family: var(--ch-font-mono); font-size: .78rem; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.chb2b-quote-list-preview__summary { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-top: 20px; }
.chb2b-quote-list-preview__summary strong { color: var(--ch-color-primary); font-family: var(--ch-font-mono); font-size: 18px; }

@media (max-width: 1200px) and (min-width: 1024px) {
  .chb2b-header-actions:has(.chb2b-quote-list-trigger) .chb2b-global-search { display: none; }
}
@media (max-width: 1023px) {
  .chb2b-header-actions > a.chb2b-quote-list-trigger { display: inline-flex; }
}
@media (max-width: 767px) {
  .chb2b-catalog-workspace { grid-template-columns: 1fr; }
  .chb2b-product-quick-view { inset: auto 0 0; width: 100vw; max-width: none; height: min(90vh, 760px); max-height: 90vh; margin: auto 0 0; border-radius: var(--ch-radius-lg) var(--ch-radius-lg) 0 0; box-shadow: 0 -12px 32px rgb(43 22 11 / 18%); transform: translateY(100%); }
  .chb2b-product-quick-view[open] { transform: translateY(0); }
  @starting-style { .chb2b-product-quick-view[open] { transform: translateY(100%); } }
  .chb2b-product-quick-view__panel { grid-template-rows: minmax(180px, 30vh) minmax(0, 1fr); }
  .chb2b-product-quick-view__media { padding: 18px; }
  .chb2b-product-quick-view__body { padding: 20px 18px calc(18px + env(safe-area-inset-bottom)); }
  .chb2b-product-quick-view__body h2 { padding-right: 34px; font-size: 26px; }
  .chb2b-product-quick-view__actions { grid-template-columns: 1fr; }
  .chb2b-quote-list-dialog { width: 100vw; max-width: none; }
  .chb2b-quote-list-dialog__panel > header { padding: 20px 18px; }
  .chb2b-quote-list-dialog__status { padding-inline: 18px; }
  .chb2b-quote-list-dialog__content { padding-inline: 18px; }
  .chb2b-quote-list-dialog__panel > footer { padding: 16px 18px calc(16px + env(safe-area-inset-bottom)); }
}
@media (max-width: 420px) {
  .chb2b-product-card__actions { grid-template-columns: 1fr; }
  .chb2b-quote-list-preview li { grid-template-columns: 52px minmax(0, 1fr); }
  .chb2b-quote-list-preview__media { width: 52px; height: 52px; }
  .chb2b-quote-list-preview__total { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .chb2b-product-quick-view,
  .chb2b-quote-list-preview li { transition: none; }
}

/* Control boundaries are stronger than decorative card separators. */
.chb2b-site .chb2b-field :is(input, select, textarea),
.chb2b-wp-admin-wrap .chb2b-field :is(input, select, textarea),
.chb2b-site .chb2b-quote-list-preview__stepper,
.chb2b-site .chb2b-quantity-stepper { border-color: var(--ch-color-control-border); }
.chb2b-site :is(input, select, textarea)[aria-invalid="true"],
.chb2b-wp-admin-wrap :is(input, select, textarea)[aria-invalid="true"] { border-color: var(--ch-color-error-fg); }
.chb2b-site [aria-busy="true"] { cursor: progress; }
@media (forced-colors: active) {
  .chb2b-site :focus-visible, .chb2b-wp-admin-wrap :focus-visible { outline: 3px solid Highlight; box-shadow: none; }
}

/* Review and pending commerce states. Real controls keep their keyboard position. */
.chb2b-site [aria-disabled="true"] { cursor: progress; }
.chb2b-checkout-review { margin-top: var(--ch-space-lg); border-top: 4px solid var(--ch-color-primary); }
.chb2b-checkout-review dl > div { display: grid; grid-template-columns: minmax(10rem, 1fr) 2fr; gap: 1rem; padding-block: .75rem; border-bottom: 1px solid var(--ch-color-border); }
.chb2b-checkout-review dd { margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.chb2b-checkout-review li { padding-block: .5rem; }
.chb2b-checkout-review li p { margin-block: .25rem; white-space: pre-wrap; }
@media (max-width: 600px) { .chb2b-checkout-review dl > div { grid-template-columns: 1fr; gap: .25rem; } }

/* Checkout address correction stays in the order journey; no layout container is tabbable. */
.chb2b-site .chb2b-checkout-addresses { margin-top: var(--chb2b-space-6, 1.5rem); min-width: 0; }
.chb2b-site .chb2b-checkout-addresses fieldset { min-width: 0; margin: 0; padding: 1rem; border: 1px solid var(--chb2b-border, #747c77); border-radius: .5rem; }
.chb2b-site .chb2b-checkout-addresses legend { font-weight: 650; padding-inline: .35rem; }
.chb2b-site .chb2b-address-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.chb2b-site .chb2b-address-grid input { width: 100%; min-width: 0; }
.chb2b-site .chb2b-check-field { display: flex; align-items: flex-start; gap: .65rem; min-height: 44px; cursor: pointer; }
.chb2b-site .chb2b-check-field input { flex: 0 0 auto; width: 20px; height: 20px; margin-top: .2rem; }
.chb2b-site [hidden] { display: none !important; }
@media (max-width: 600px) { .chb2b-site .chb2b-address-grid { grid-template-columns: minmax(0, 1fr); } }

/* Focused B2B order workspace. Checkout density does not change showroom styling. */
.chb2b-page--quote-cart .chb2b-quote-cart-page { max-width: 1180px; padding-top: 32px; }
.chb2b-page--quote-cart .chb2b-quote-cart-page :is(h1, h2, h3, legend, input, textarea, select, dd) { font-family: var(--ch-font-sans); }
.chb2b-page--quote-cart .chb2b-page-heading { margin-bottom: 24px; }
.chb2b-page--quote-cart .chb2b-page-heading h1 { font-size: 32px; line-height: 1.2; letter-spacing: -.025em; }
.chb2b-page--quote-cart .chb2b-page-heading > p:last-child { margin-bottom: 0; font-size: 15px; line-height: 1.5; }
.chb2b-page--quote-cart .chb2b-quote-cart-layout { grid-template-columns: minmax(0, 1fr) minmax(280px, 330px); gap: 32px; }
.chb2b-page--quote-cart .chb2b-quote-cart-lines { gap: 28px; }
.chb2b-page--quote-cart .chb2b-checkout-products { padding: 0 20px; background: #fff; border: 1px solid #ded8d0; border-radius: 10px; }
.chb2b-page--quote-cart .chb2b-quote-line { grid-template-columns: 64px minmax(0, 1fr) 140px; gap: 16px; padding: 20px 0; border: 0; border-bottom: 1px solid #ded8d0; border-radius: 0; background: transparent; box-shadow: none; }
.chb2b-page--quote-cart .chb2b-quote-line:last-child { border-bottom: 0; }
.chb2b-page--quote-cart .chb2b-quote-line__media { width: 64px; border-radius: 6px; background: #f4f4f2; }
.chb2b-page--quote-cart .chb2b-quote-line__content { gap: 4px; }
.chb2b-page--quote-cart .chb2b-quote-line__content h2 { font-size: 17px; line-height: 1.35; letter-spacing: 0; overflow-wrap: anywhere; }
.chb2b-page--quote-cart .chb2b-quote-line__content > p { font-size: 13px; line-height: 1.4; }
.chb2b-page--quote-cart .chb2b-product-card__sku { font-family: var(--ch-font-sans); font-size: 12px; }
.chb2b-page--quote-cart .chb2b-checkout-line-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 8px 16px; margin-top: 8px; }
.chb2b-page--quote-cart .chb2b-checkout-line-controls > .chb2b-field { width: 88px; flex: 0 0 88px; }
.chb2b-page--quote-cart .chb2b-field { gap: 6px; font-size: 14px; }
.chb2b-page--quote-cart .chb2b-field > span { font-size: 13px; font-weight: 600; }
.chb2b-page--quote-cart :is(input, select, textarea) { min-height: 44px; padding: 10px 12px; font-size: 15px; border-radius: 6px; }
.chb2b-page--quote-cart textarea { width: 100%; min-width: 0; resize: vertical; }
.chb2b-page--quote-cart :is(button, summary) { min-width: 44px; min-height: 44px; }
.chb2b-page--quote-cart .chb2b-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; }
.chb2b-page--quote-cart .chb2b-checkout-note { min-width: 0; font-size: 13px; }
.chb2b-page--quote-cart .chb2b-checkout-note summary { display: list-item; align-content: center; padding: 10px 0; cursor: pointer; color: var(--ch-color-primary); text-underline-offset: 3px; }
.chb2b-page--quote-cart .chb2b-checkout-note summary:hover { text-decoration: underline; }
.chb2b-page--quote-cart .chb2b-checkout-note[open] { flex-basis: 100%; }
.chb2b-page--quote-cart .chb2b-checkout-line-controls .chb2b-action-row { flex-direction: row; }
.chb2b-page--quote-cart .chb2b-checkout-line-controls .chb2b-link-button { width: auto; padding: 8px 0; font-size: 13px; }
.chb2b-page--quote-cart .chb2b-quote-line__totals { gap: 4px; font-size: 13px; font-variant-numeric: tabular-nums; }
.chb2b-page--quote-cart .chb2b-quote-line__totals div { display: grid; justify-items: end; gap: 2px; padding: 4px 0; border: 0; }
.chb2b-page--quote-cart .chb2b-quote-line__totals dt { text-align: right; }
.chb2b-page--quote-cart .chb2b-quote-line__totals dd { font-weight: 650; }
.chb2b-page--quote-cart .chb2b-checkout-addresses { margin: 0; padding: 24px; background: #fff; border: 0; border-radius: 10px; box-shadow: none; }
.chb2b-page--quote-cart .chb2b-checkout-addresses h2 { margin: 0; font-size: 21px; line-height: 1.3; }
.chb2b-page--quote-cart #checkout-address-scope { margin: 8px 0 20px; color: var(--ch-color-text-muted); font-size: 14px; line-height: 1.5; }
.chb2b-page--quote-cart .chb2b-checkout-addresses > dl { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 0 0 24px; font-size: 14px; }
.chb2b-page--quote-cart .chb2b-checkout-addresses > dl dt { color: var(--ch-color-text-muted); font-size: 12px; }
.chb2b-page--quote-cart .chb2b-checkout-addresses > dl dd { margin: 4px 0 0; font-weight: 600; }
.chb2b-page--quote-cart .chb2b-checkout-addresses .chb2b-form { gap: 24px; }
.chb2b-page--quote-cart .chb2b-checkout-addresses fieldset { padding: 0; border: 0; border-radius: 0; }
.chb2b-page--quote-cart .chb2b-checkout-addresses legend { margin-bottom: 14px; padding: 0; font-size: 16px; font-weight: 650; }
.chb2b-page--quote-cart .chb2b-address-grid { gap: 14px 16px; }
.chb2b-page--quote-cart .chb2b-field--wide { grid-column: 1 / -1; }
.chb2b-page--quote-cart .chb2b-check-field { align-items: center; margin: 0; font-size: 14px; line-height: 1.5; }
.chb2b-page--quote-cart .chb2b-check-field input { min-height: 20px; margin-top: 0; }
.chb2b-page--quote-cart #checkout-market-locked { margin: 0; font-size: 12px; }
.chb2b-page--quote-cart [data-field-error] { color: var(--ch-color-error-fg); font-size: 12px; line-height: 1.4; }
.chb2b-page--quote-cart .chb2b-quote-summary { padding: 24px; gap: 16px; background: #fff; border: 0; border-radius: 10px; box-shadow: none; }
.chb2b-page--quote-cart .chb2b-quote-summary h2 { font-size: 20px; line-height: 1.3; }
.chb2b-page--quote-cart .chb2b-quote-summary p { margin: 0; }
.chb2b-page--quote-cart .chb2b-quote-summary .chb2b-form { gap: 0; }
.chb2b-page--quote-cart .chb2b-quote-totals { font-size: 14px; font-variant-numeric: tabular-nums; }
.chb2b-page--quote-cart .chb2b-quote-totals div { padding: 8px 0; }
.chb2b-page--quote-cart .chb2b-quote-totals dd { font-weight: 650; }
.chb2b-page--quote-cart .chb2b-quote-totals__grand { margin-top: 8px; padding-top: 16px !important; border-top-width: 1px; }
.chb2b-page--quote-cart .chb2b-form-status { display: block; min-height: 20px; font-size: 13px; font-weight: 500; }
.chb2b-page--quote-cart .chb2b-help { font-size: 13px; }
.chb2b-page--quote-cart .chb2b-checkout-blockers { color: var(--ch-color-text); font-size: 13px; line-height: 1.5; }
.chb2b-page--quote-cart .chb2b-checkout-blockers strong { font-weight: 650; }
.chb2b-page--quote-cart .chb2b-checkout-blockers ul { margin: 8px 0 0; padding-inline-start: 18px; }
.chb2b-page--quote-cart .chb2b-alert--warning { background: #f4f4f2; color: var(--ch-color-text); }
.chb2b-page--quote-cart .chb2b-checkout-review { padding: 24px; border: 1px solid #ded8d0; box-shadow: none; }
.chb2b-page--quote-cart .chb2b-checkout-review h2 { margin-top: 0; font-size: 23px; }
.chb2b-page--quote-cart .chb2b-checkout-review h3 { font-size: 16px; }
@media (max-width: 980px) {
  .chb2b-page--quote-cart .chb2b-quote-cart-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .chb2b-page--quote-cart .chb2b-quote-summary { position: static; }
  .chb2b-page--quote-cart .chb2b-quote-line__totals { grid-column: auto; }
}
@media (max-width: 600px) {
  .chb2b-page--quote-cart .chb2b-quote-cart-page { padding-top: 24px; }
  .chb2b-page--quote-cart .chb2b-checkout-products { padding: 0 16px; }
  .chb2b-page--quote-cart .chb2b-quote-line { grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 16px 0; }
  .chb2b-page--quote-cart .chb2b-quote-line__media { width: 48px; }
  .chb2b-page--quote-cart .chb2b-quote-line__totals { grid-column: 2; display: flex; flex-wrap: wrap; gap: 8px 20px; }
  .chb2b-page--quote-cart .chb2b-quote-line__totals div { justify-items: start; }
  .chb2b-page--quote-cart .chb2b-quote-line__totals dt { text-align: start; }
  .chb2b-page--quote-cart :is(.chb2b-checkout-addresses, .chb2b-quote-summary, .chb2b-checkout-review) { padding: 20px 16px; }
  .chb2b-page--quote-cart .chb2b-address-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
  .chb2b-page--quote-cart [data-checkout-addresses] > .chb2b-address-grid,
  .chb2b-page--quote-cart .chb2b-checkout-review .chb2b-address-grid { grid-template-columns: minmax(0, 1fr); }
  .chb2b-page--quote-cart .chb2b-checkout-addresses > dl { gap: 12px 24px; }
}

/* RC.3: scoped catalog/control corrections. Delta-add inputs still edit a
   delta; server-authoritative total minimum/step rules are unchanged. */
.chb2b-site .chb2b-price-access { display:flex; flex-wrap:wrap; align-items:center; gap:.5rem 1.25rem; margin:0 auto 1.25rem; padding:.75rem 1rem; max-width:var(--ch-container,1280px); border-inline-start:3px solid var(--ch-color-primary,#4b2a14); background:var(--ch-color-surface,#fff); font-size:.9375rem; }
.chb2b-site .chb2b-price-access p { flex:1 1 18rem; margin:0; }
.chb2b-site .chb2b-price-access a { padding-block:.45rem; text-underline-offset:.2em; }
.chb2b-site .chb2b-product-card { min-width:0; container-type:inline-size; }
.chb2b-site .chb2b-product-card__actions { display:grid; grid-template-columns:minmax(0,1fr); min-width:0; gap:.625rem; }
.chb2b-site .chb2b-product-card__actions .chb2b-button { min-height:44px; width:100%; white-space:normal; overflow-wrap:anywhere; line-height:1.35; }
.chb2b-site .chb2b-card-quantity { display:grid; grid-template-columns:44px minmax(0,1fr) 44px; min-width:0; width:100%; overflow:visible; }
.chb2b-site .chb2b-card-quantity input { width:100%; min-width:0; padding-inline:2px; border-radius:0; appearance:textfield; }
.chb2b-site .chb2b-card-quantity input::-webkit-inner-spin-button { appearance:none; }
.chb2b-site .chb2b-card-quantity button { min-width:44px; min-height:44px; padding:0; }
.chb2b-site .chb2b-card-quantity :focus-visible { position:relative; z-index:3; outline:2px solid var(--ch-color-primary,#4b2a14); outline-offset:2px; }
.chb2b-site .chb2b-product-card__price.is-locked { background:transparent; padding:0; font-size:.875rem; }
.chb2b-site .chb2b-filter-group { margin:0; padding:1rem 0; border:0; border-bottom:1px solid var(--ch-color-border,#e6d8be); }
.chb2b-site .chb2b-filter-group legend { padding:0 0 .5rem; font-weight:650; }
.chb2b-site .chb2b-filter-group .chb2b-check { display:grid; grid-template-columns:20px minmax(0,1fr) auto; align-items:start; gap:.625rem; padding-block:.35rem; margin:0; min-height:36px; }
.chb2b-site .chb2b-filter-count { margin-inline-start:auto; font-variant-numeric:tabular-nums; padding-inline:.3rem; }
.chb2b-site .chb2b-active-filters { min-height:1rem; }
.chb2b-site .chb2b-product-grid[aria-busy="true"] { opacity:.65; pointer-events:none; }
.chb2b-site .chb2b-product-card__actions .chb2b-form-status { grid-column:1 / -1; }
@container (min-width:24rem) { .chb2b-site .chb2b-product-card__actions { grid-template-columns:minmax(9rem,1fr) minmax(0,1.4fr); } }
@media(max-width:767px) { .chb2b-site .chb2b-filter-group .chb2b-check { min-height:44px; } .chb2b-site .chb2b-price-access { margin-inline:1rem; } }
@media(prefers-reduced-motion:reduce) { .chb2b-site .chb2b-product-grid { transition:none; } }

/* RC3 shared plugin branding. Native WordPress branding is intentionally untouched. */
.chb2b-site .chb2b-brand-image,.chb2b-wp-admin-wrap .chb2b-brand-image{display:block;width:auto;max-width:200px;height:auto;max-height:64px;object-fit:contain}
.chb2b-site .chb2b-wordmark--inverse .chb2b-brand-image,.chb2b-site .chb2b-brand--inverse .chb2b-brand-image{max-height:72px;border:1px solid #e6d8be;border-radius:.4rem;background:#fffaf1;padding:.35rem .5rem}
.chb2b-site .chb2b-icon{display:inline-block;width:24px;height:24px;flex:0 0 24px;vertical-align:middle}
.chb2b-site .chb2b-support{display:flex;gap:.75rem;flex-wrap:wrap;align-items:center;padding:1rem 0;min-width:0}
.chb2b-site .chb2b-support a{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;overflow-wrap:anywhere}
.chb2b-site .chb2b-support p{flex-basis:100%;font-size:.875rem;overflow-wrap:anywhere;margin:0}
.chb2b-site .chb2b-portal-nav>.chb2b-support{padding:1rem;color:inherit}
.chb2b-site .chb2b-portal-nav>.chb2b-support a{color:inherit}
.chb2b-wp-admin-wrap .chb2b-branding-slot{display:grid;gap:.5rem;padding:.75rem 0;border-bottom:1px solid #ddd}
.chb2b-wp-admin-wrap .chb2b-branding-slot .chb2b-action-row{display:flex;gap:.5rem;flex-wrap:wrap}

/* Company application: the business form leads; the showroom image supports it. */
.chb2b-site .chb2b-application-page { min-height: 0; padding-block: 32px 48px; background: var(--ch-color-background); }
.chb2b-site .chb2b-application-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; max-width: 1080px; }
.chb2b-site .chb2b-application-intro { min-width: 0; max-width: 380px; padding-top: 8px; }
.chb2b-site .chb2b-application-intro h1 { margin: 0 0 16px; color: var(--ch-color-primary-dark); font-family: var(--ch-font-sans); font-size: 32px; line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; overflow-wrap: anywhere; }
.chb2b-site .chb2b-application-intro > p { font-size: 16px; line-height: 1.55; margin: 0 0 16px; }
.chb2b-site .chb2b-application-process { display: grid; gap: 12px; margin: 24px 0 16px; padding-inline-start: 22px; color: var(--ch-color-text); line-height: 1.5; }
.chb2b-site .chb2b-application-process li { padding-inline-start: 4px; }
.chb2b-site .chb2b-application-process li::marker { color: var(--ch-color-primary); font-weight: 700; }
.chb2b-site .chb2b-application-art { display: block; margin-top: 24px; aspect-ratio: 16 / 9; border-radius: var(--ch-radius-md); overflow: hidden; max-height: 180px; background: var(--ch-color-primary-dark); }
.chb2b-site .chb2b-application-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; }
.chb2b-site .chb2b-application-card { padding: 24px; min-width: 0; margin: 0; background: var(--ch-color-surface); box-shadow: none; border: 1px solid var(--ch-color-border); border-radius: var(--ch-radius-md); }
.chb2b-site .chb2b-application-required { margin: 0 0 16px; font-size: 14px; color: var(--ch-color-text-muted); }
.chb2b-site .chb2b-application-fields { border: 0; min-width: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.chb2b-site .chb2b-application-fields + .chb2b-application-fields { border-top: 1px solid var(--ch-color-border); padding-top: 16px; }
.chb2b-site .chb2b-application-fields legend { font-size: 18px; font-weight: 700; padding: 0 0 16px; color: var(--ch-color-primary-dark); }
.chb2b-site .chb2b-application-fields .chb2b-field { margin: 0; gap: 8px; min-width: 0; font-weight: 600; }
.chb2b-site .chb2b-application-fields .chb2b-field:first-of-type,
.chb2b-site .chb2b-application-fields > .chb2b-application-help { grid-column: 1 / -1; }
.chb2b-site .chb2b-application-fields input,
.chb2b-site .chb2b-application-fields select { width: 100%; max-width: 100%; min-width: 0; min-height: 44px; font-size: 16px; font-weight: 400; box-sizing: border-box; }
.chb2b-site .chb2b-application-fields [data-error-for]:empty { display: none; }
.chb2b-site .chb2b-application-help { font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; color: var(--ch-color-text-muted); margin: 0; }
.chb2b-site .chb2b-application-consent { align-items: flex-start; line-height: 1.5; min-height: 44px; margin: 0; }
.chb2b-site .chb2b-application-consent input { flex: 0 0 22px; width: 22px; height: 22px; margin: 2px 0 0; }
.chb2b-site .chb2b-application-card button[type=submit] { width: 100%; min-height: 48px; white-space: normal; line-height: 1.4; }
.chb2b-site .chb2b-application-card [aria-invalid=true] { border: 2px solid var(--ch-color-error-fg); }
.chb2b-site .chb2b-application-confirmation:focus { outline: 2px solid var(--ch-color-focus); outline-offset: 5px; }
.chb2b-site .chb2b-application-confirmation h2 { margin-top: 0; font-family: var(--ch-font-sans); font-size: 24px; }
.chb2b-site .chb2b-application-confirmation p { max-width: 65ch; line-height: 1.6; }
@media (max-width: 767px) {
  .chb2b-site .chb2b-application-page { padding-block: 24px 40px; }
  .chb2b-site .chb2b-application-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .chb2b-site .chb2b-application-intro { max-width: none; padding: 0; }
  .chb2b-site .chb2b-application-intro h1 { font-size: 28px; }
  .chb2b-site .chb2b-application-intro > p { font-size: 14px; line-height: 1.5; }
  .chb2b-site .chb2b-application-process { margin: 12px 0 8px; gap: 4px; font-size: 14px; }
  .chb2b-site .chb2b-application-required { margin-bottom: 8px; }
  .chb2b-site .chb2b-application-fields legend { padding-bottom: 8px; }
  .chb2b-site .chb2b-application-art { display: none; }
  .chb2b-site .chb2b-application-card { width: 100%; max-width: 100%; padding: 16px; }
}
@media (max-width: 479px) {
  .chb2b-site .chb2b-application-fields { grid-template-columns: minmax(0, 1fr); }
}
/* The legacy 480px minimum plus a square aspect ratio widened small product pages. */
@media (max-width:640px) {
  .chb2b-site .chb2b-product-gallery__main { width:100%; min-height:0; max-width:100%; }
  .chb2b-site .chb2b-product-info { min-width:0; }
}

/* Shared operations rhythm inside the native WordPress workspace. */
.chb2b-wp-admin-wrap { --ch-admin-sticky: 48px; --ch-admin-z-review-scrim: 100001; --ch-admin-z-review-drawer: 100002; font-size: 14px; line-height: 1.5; }
.chb2b-wp-admin-wrap .chb2b-wp-admin-app { overflow: visible; border-radius: var(--ch-radius-md); box-shadow: none; }
.chb2b-wp-admin-wrap .chb2b-wp-admin-toolbar { min-height: 64px; gap: 16px; padding: 10px 24px; border-radius: var(--ch-radius-md) var(--ch-radius-md) 0 0; }
.chb2b-wp-admin-wrap .chb2b-wp-admin-toolbar__identity strong { font-family: var(--ch-font-sans); font-size: 18px; }
.chb2b-wp-admin-wrap .chb2b-wp-admin-toolbar__actions { flex-wrap: wrap; gap: 8px; }
.chb2b-wp-admin-wrap .chb2b-admin-language { font-size: 13px; font-weight: 600; }
.chb2b-wp-admin-wrap .chb2b-admin-language select { min-height: 44px; }
.chb2b-wp-admin-wrap .chb2b-wp-admin-content { max-width: none; padding: 24px; }
.chb2b-wp-admin-wrap .chb2b-admin-view { gap: 24px; min-width: 0; }
.chb2b-wp-admin-wrap .chb2b-admin-view h1 { margin: 0 0 8px; color: var(--ch-color-primary-dark); font-family: var(--ch-font-sans); font-size: 30px; line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; }
.chb2b-wp-admin-wrap .chb2b-admin-view :is(h2, h3) { font-family: var(--ch-font-sans); line-height: 1.3; text-wrap: balance; }
.chb2b-wp-admin-wrap .chb2b-admin-view h2 { font-size: 20px; }
.chb2b-wp-admin-wrap .chb2b-admin-view h3 { font-size: 16px; }
.chb2b-wp-admin-wrap .chb2b-admin-heading p { max-width: 75ch; margin: 0; font-size: 14px; line-height: 1.5; }
.chb2b-wp-admin-wrap .chb2b-card { min-width: 0; padding: 24px; border-radius: var(--ch-radius-md); box-shadow: none; }
.chb2b-wp-admin-wrap .chb2b-field { min-width: 0; gap: 8px; font-weight: 600; }
.chb2b-wp-admin-wrap .chb2b-field :is(input, select, textarea) { min-width: 0; font-weight: 400; min-height: 44px; }
.chb2b-wp-admin-wrap .chb2b-field select[multiple] { min-height: 132px; }
.chb2b-wp-admin-wrap .chb2b-button { min-height: 44px; padding: 10px 16px; font-size: 14px; font-weight: 600; line-height: 1.5; white-space: normal; box-shadow: none; }
.chb2b-wp-admin-wrap .chb2b-button:hover { transform: none; }
.chb2b-wp-admin-wrap .chb2b-button--primary:hover:not(:disabled) { background: var(--ch-color-primary-dark); }
.chb2b-wp-admin-wrap .chb2b-button--secondary { border-color: var(--ch-color-control-border); }
.chb2b-wp-admin-wrap .chb2b-button--secondary:hover:not(:disabled) { background: var(--ch-color-background); }
.chb2b-wp-admin-wrap .chb2b-button--ghost { border-color: transparent; background: transparent; }
.chb2b-wp-admin-wrap .chb2b-button--ghost:hover:not(:disabled) { background: var(--ch-color-background); }
.chb2b-wp-admin-wrap .chb2b-button:disabled { cursor: not-allowed; }
.chb2b-wp-admin-wrap .chb2b-admin-toolbar { display: flex; flex-wrap: wrap; gap: 16px; border-radius: var(--ch-radius-md); }
.chb2b-wp-admin-wrap .chb2b-admin-toolbar > .chb2b-field { flex: 1 1 180px; }
.chb2b-wp-admin-wrap .chb2b-admin-toolbar > .chb2b-field:first-child { flex-grow: 2; }
.chb2b-wp-admin-wrap .chb2b-admin-toolbar > .chb2b-button { flex: 0 0 auto; }
.chb2b-wp-admin-wrap .chb2b-grid :is(th, td) { padding: 12px 16px; font-size: 14px; vertical-align: middle; overflow-wrap: anywhere; }
.chb2b-wp-admin-wrap .chb2b-grid thead th { font-size: 12px; text-transform: none; letter-spacing: normal; }
.chb2b-wp-admin-wrap .chb2b-grid td small,
.chb2b-wp-admin-wrap .chb2b-customer-identity small { display: block; margin-top: 4px; color: var(--ch-color-text-muted); font-size: 12px; line-height: 1.4; }
.chb2b-wp-admin-wrap .chb2b-grid tr.is-selected td { background: var(--ch-color-gold-bg); }
.chb2b-wp-admin-wrap .chb2b-stat-card { min-height: 0; gap: 8px; padding: 16px; box-shadow: none; }
.chb2b-wp-admin-wrap .chb2b-stat-card strong { font-size: 28px; line-height: 1.2; }
.chb2b-wp-admin-wrap .chb2b-stat-card span { font-weight: 600; }
.chb2b-wp-admin-wrap .chb2b-save-bar { width: 100%; bottom: 16px; border-top-width: 1px; border-radius: var(--ch-radius-md); box-shadow: 0 2px 8px rgb(43 22 11 / 12%); }
.chb2b-wp-admin-wrap .chb2b-bulk-toolbar { top: var(--ch-admin-sticky); box-shadow: none; }
.chb2b-wp-admin-wrap .chb2b-action-queues { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; align-items: start; }
.chb2b-wp-admin-wrap .chb2b-action-queues .chb2b-work-queue { align-content: start; grid-template-rows: auto auto; }
.chb2b-wp-admin-wrap .chb2b-action-queues .chb2b-card { padding: 16px; }
.chb2b-wp-admin-wrap .chb2b-action-queues :is(h2, h3) { margin-top: 0; }
.chb2b-wp-admin-wrap .chb2b-action-queues .chb2b-overview-grid { grid-template-columns: minmax(0, 1fr); gap: 0; border: 1px solid var(--ch-color-border); border-radius: var(--ch-radius-md); background: var(--ch-color-surface); overflow: hidden; }
.chb2b-wp-admin-wrap .chb2b-action-queues .chb2b-overview-card { min-height: 0; align-items: center; padding: 16px; border: 0; border-bottom: 1px solid var(--ch-color-border); border-radius: 0; transform: none; box-shadow: none; }
.chb2b-wp-admin-wrap .chb2b-action-queues .chb2b-overview-card:last-child { border-bottom: 0; }
.chb2b-wp-admin-wrap .chb2b-action-queues .chb2b-overview-card:hover { background: var(--ch-color-background); }
.chb2b-wp-admin-wrap .chb2b-action-queues .chb2b-overview-card > span { min-width: 32px; height: auto; border-radius: 0; background: transparent; color: var(--ch-color-primary); font-family: var(--ch-font-mono); font-size: 22px; font-weight: 600; }
.chb2b-wp-admin-wrap .chb2b-action-queues .chb2b-overview-card p { font-size: 13px; }

/* The review dialog overlays the queue and sits above WordPress admin chrome. */
body.wp-admin:has(.chb2b-customer-drawer) { overflow: hidden; }
.chb2b-wp-admin-wrap .chb2b-customer-layout.has-drawer { grid-template-columns: minmax(0, 1fr); }
.chb2b-wp-admin-wrap .chb2b-customer-layout .chb2b-grid th,
.chb2b-wp-admin-wrap .chb2b-customer-layout .chb2b-grid .chb2b-button { overflow-wrap: normal; word-break: normal; }
.chb2b-wp-admin-wrap .chb2b-customer-layout .chb2b-grid .chb2b-button { min-width: 116px; }
@media (min-width: 783px) {
  .chb2b-wp-admin-wrap .chb2b-customer-layout .chb2b-grid :is(th, td):nth-child(3) { min-width: 80px; }
  .chb2b-wp-admin-wrap .chb2b-customer-layout .chb2b-grid :is(th, td):last-child { min-width: 148px; }
}
.chb2b-wp-admin-wrap .chb2b-customer-layout.has-drawer::before { content: ""; position: fixed; z-index: var(--ch-admin-z-review-scrim); inset: 0; background: rgb(43 22 11 / 28%); }
.chb2b-wp-admin-wrap .chb2b-customer-drawer { position: fixed; z-index: var(--ch-admin-z-review-drawer); top: var(--ch-admin-sticky); right: 24px; bottom: 16px; width: min(560px, calc(100vw - 32px)); min-width: 0; min-height: 0; max-height: none; align-content: start; grid-auto-rows: max-content; gap: 16px; padding: 20px; overflow: auto; overscroll-behavior: contain; border-radius: var(--ch-radius-md); box-shadow: none; scroll-padding-block: 120px 100px; }
.chb2b-wp-admin-wrap .chb2b-customer-drawer__header { position: sticky; z-index: 3; top: -20px; margin: -20px -20px 0; padding: 20px; background: var(--ch-color-surface); border-bottom: 1px solid var(--ch-color-border); }
.chb2b-wp-admin-wrap .chb2b-customer-drawer__header > .chb2b-button { flex: 0 0 auto; }
.chb2b-wp-admin-wrap .chb2b-customer-drawer__header h2 { margin: 0 0 8px; overflow-wrap: anywhere; }
.chb2b-wp-admin-wrap .chb2b-customer-drawer__header .chb2b-eyebrow { margin: 0 0 8px; font-size: 13px; font-weight: 600; text-transform: none; letter-spacing: normal; }
.chb2b-wp-admin-wrap .chb2b-customer-summary { grid-template-columns: minmax(0, 1fr); gap: 16px; }
.chb2b-wp-admin-wrap .chb2b-customer-drawer .chb2b-card { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.chb2b-wp-admin-wrap .chb2b-customer-drawer :is(dl, p) { margin-block: 8px; }
.chb2b-wp-admin-wrap .chb2b-customer-drawer dl > div { display: grid; grid-template-columns: minmax(88px, .6fr) minmax(0, 1fr); gap: 12px; padding-block: 6px; }
.chb2b-wp-admin-wrap .chb2b-customer-drawer dt { color: var(--ch-color-text-muted); }
.chb2b-wp-admin-wrap .chb2b-customer-drawer dd { margin: 0; overflow-wrap: anywhere; }
.chb2b-wp-admin-wrap .chb2b-customer-access { display: grid; gap: 16px; }
.chb2b-wp-admin-wrap .chb2b-customer-review-primary { display: grid; gap: 16px; }
.chb2b-wp-admin-wrap .chb2b-customer-review-action { position: sticky; z-index: 2; bottom: -20px; display: flex; gap: 12px; margin: 0 -20px -20px; padding: 16px 20px; background: var(--ch-color-surface); border-top: 1px solid var(--ch-color-border); }
.chb2b-wp-admin-wrap .chb2b-customer-review-action .chb2b-button { flex: 1 1 auto; width: 100%; }
.chb2b-wp-admin-wrap .chb2b-secondary-disclosure { min-width: 0; border-top: 1px solid var(--ch-color-border); padding-top: 8px; }
.chb2b-wp-admin-wrap .chb2b-secondary-disclosure > summary { min-height: 44px; padding-block: 12px; cursor: pointer; font-weight: 600; color: var(--ch-color-primary-dark); }
.chb2b-wp-admin-wrap .chb2b-secondary-disclosure[open] > summary { margin-bottom: 8px; }
.chb2b-wp-admin-wrap .chb2b-secondary-disclosure > .chb2b-card { margin-top: 16px; }
/* Import previews stay inside the panel; wide tables scroll independently. */
.chb2b-wp-admin-wrap .chb2b-import-workspace,
.chb2b-wp-admin-wrap .chb2b-import-workspace > * { min-width: 0; max-width: 100%; }
.chb2b-wp-admin-wrap .chb2b-import-panel { grid-template-columns: minmax(0, 1fr); }
.chb2b-wp-admin-wrap .chb2b-import-panel > *,
.chb2b-wp-admin-wrap .chb2b-import-panel .chb2b-import-mapping > *,
.chb2b-wp-admin-wrap .chb2b-import-panel [data-import-readiness] { min-width: 0; max-width: 100%; }
.chb2b-wp-admin-wrap .chb2b-import-panel :is(h2, p, strong) { overflow-wrap: anywhere; }
.chb2b-wp-admin-wrap .chb2b-import-panel .chb2b-table-scroll { min-width: 0; width: 100%; max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; }
.chb2b-wp-admin-wrap .chb2b-import-panel .chb2b-table-scroll table { min-width: 560px; width: 100%; }
.chb2b-wp-admin-wrap .chb2b-import-panel .chb2b-table-scroll :is(th, td) { overflow-wrap: anywhere; }
.chb2b-wp-admin-wrap .chb2b-import-mapping__row { min-width: 0; max-width: 100%; }
.chb2b-wp-admin-wrap .chb2b-import-mapping__row select { min-width: 0; width: 100%; max-width: 100%; min-height: 44px; box-sizing: border-box; }
@media (max-width: 782px) {
  .chb2b-wp-admin-wrap .chb2b-import-workspace { grid-template-columns: minmax(0, 1fr); }
  .chb2b-wp-admin-wrap .chb2b-import-summary { grid-template-columns: repeat(auto-fit, minmax(min(100%, 120px), 1fr)); }
  .chb2b-wp-admin-wrap .chb2b-import-mapping__row { grid-template-columns: minmax(0, 1fr); }
}
.chb2b-wp-admin-wrap .chb2b-import-stepper { display: flex; flex-wrap: wrap; gap: 8px 24px; counter-reset: import-step; list-style: none; margin: 0; padding: 0; }
.chb2b-wp-admin-wrap .chb2b-import-stepper li { counter-increment: import-step; display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 8px; min-width: 0; max-width: 100%; min-height: 44px; overflow-wrap: anywhere; color: var(--ch-color-text-muted); }
.chb2b-wp-admin-wrap .chb2b-import-stepper li::before { content: counter(import-step); display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; background: var(--ch-color-background); font-weight: 600; }
.chb2b-wp-admin-wrap .chb2b-import-stepper [aria-current=step] { color: var(--ch-color-primary-dark); font-weight: 700; }
.chb2b-wp-admin-wrap .chb2b-import-stepper [aria-current=step]::before { background: var(--ch-color-primary); color: var(--ch-color-on-primary); }
.chb2b-wp-admin-wrap .chb2b-settings-section > p { margin: 0; max-width: 70ch; }
.chb2b-wp-admin-wrap .chb2b-settings-group { min-width: 0; display: grid; gap: 16px; padding: 16px; margin: 0; border: 0; border-top: 1px solid var(--ch-color-border); }
.chb2b-wp-admin-wrap .chb2b-settings-group legend { padding: 0 8px 0 0; font-size: 16px; font-weight: 600; }
.chb2b-wp-admin-wrap .chb2b-settings-actions { position: sticky; bottom: 16px; z-index: 2; gap: 16px; padding: 16px; border: 1px solid var(--ch-color-border); border-radius: var(--ch-radius-md); background: var(--ch-color-surface); }
.chb2b-wp-admin-wrap .chb2b-diagnostic-card { border: 1px solid var(--ch-color-border); }
.chb2b-wp-admin-wrap .chb2b-diagnostic-card[data-status=warning] { background: var(--ch-color-gold-bg); }
.chb2b-wp-admin-wrap .chb2b-rule-conflict-list article { border-inline-start: 1px solid var(--ch-color-border); background: var(--ch-color-gold-bg); }
.chb2b-wp-admin-wrap .chb2b-market-tabs { display: flex; gap: 8px; flex-wrap: wrap; padding-bottom: 8px; border-bottom: 1px solid var(--ch-color-border); }
.chb2b-wp-admin-wrap .chb2b-market-tabs :is(button, a) { min-height: 44px; }
.chb2b-wp-admin-wrap .chb2b-market-tabs [aria-selected=true] { color: var(--ch-color-primary); border-color: var(--ch-color-primary); font-weight: 700; }
.chb2b-site .chb2b-portal-content .chb2b-card { padding: 24px; box-shadow: none; }
.chb2b-site .chb2b-filter-group .chb2b-check { min-height: 44px; align-items: center; }
.chb2b-site .chb2b-product-card__media { aspect-ratio: 3 / 2; padding: 16px; }
.chb2b-site .chb2b-product-card__media img { width: 100%; height: 100%; object-fit: contain; }
.chb2b-site .chb2b-product-card__pack { min-height: 2.8em; white-space: normal; line-height: 1.4; overflow: visible; }
.chb2b-site .chb2b-product-card__price { flex-wrap: wrap; align-items: baseline; }
.chb2b-site .chb2b-product-card__price small { white-space: normal; }

/* Account tasks use a compact, consistent hierarchy. */
body.chb2b-page--account :is(h1, h2, h3) { font-family: var(--ch-font-sans); line-height: 1.25; letter-spacing: -.02em; text-wrap: balance; }
.chb2b-page--account .chb2b-page-heading { max-width: 75ch; margin-bottom: 28px; }
.chb2b-page--account .chb2b-page-heading h1 { font-size: 32px; margin-bottom: 12px; }
.chb2b-page--account .chb2b-page-heading > p { font-size: 16px; }
.chb2b-page--account h2 { font-size: 20px; margin: 0 0 20px; }
.chb2b-page--account h3 { font-size: 16px; }
.chb2b-page--account .chb2b-portal-topbar strong { font-family: var(--ch-font-sans); font-size: 18px; }
.chb2b-page--account .chb2b-portal-topbar .chb2b-eyebrow { color: var(--ch-color-text-muted); font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.chb2b-page--account .chb2b-portal-nav__items a,
.chb2b-page--account .chb2b-portal-nav__secondary a { gap: 12px; }
.chb2b-page--account .chb2b-portal-nav__items svg { flex-shrink: 0; }
.chb2b-page--account .chb2b-card { min-width: 0; border-radius: 10px; }
.chb2b-page--account .chb2b-account-list__row { padding: 20px 24px; }
.chb2b-page--account .chb2b-account-list__row h2 { margin: 0 0 4px; font-size: 18px; }
.chb2b-page--account .chb2b-account-list__row p { margin: 0; }
.chb2b-page--account .chb2b-compact-list a { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; width: 100%; min-height: 44px; text-decoration: none; }
.chb2b-page--account .chb2b-compact-list a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.chb2b-page--account .chb2b-account-list__summary { justify-items: end; gap: 8px; text-align: right; }
.chb2b-page--account .chb2b-account-list__summary > strong { font-size: 18px; font-variant-numeric: tabular-nums; }
.chb2b-page--account .chb2b-order-meta { font-size: 14px; line-height: 1.5; color: var(--ch-color-text-muted); }
.chb2b-page--account .chb2b-status-pill { background: var(--ch-color-background); color: var(--ch-color-primary-dark); }
.chb2b-page--account .chb2b-account-dashboard { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.chb2b-page--account .chb2b-quote-detail-layout > section .chb2b-account-list { gap: 0; }
.chb2b-page--account .chb2b-quote-detail-layout > section .chb2b-account-list__row { padding: 16px 0; border: 0; border-bottom: 1px solid var(--ch-color-border); border-radius: 0; }
.chb2b-page--account .chb2b-quote-detail-layout > section .chb2b-account-list__row:first-child { padding-top: 0; }
.chb2b-page--account .chb2b-quote-detail-layout > section .chb2b-account-list__row:last-child { padding-bottom: 0; border-bottom: 0; }
.chb2b-page--account .chb2b-order-summary .chb2b-summary-list { gap: 0; }
.chb2b-page--account .chb2b-order-summary .chb2b-summary-list > div { align-items: baseline; padding: 12px 0; }
.chb2b-page--account .chb2b-order-summary .chb2b-summary-list > div:first-child { padding-top: 0; }
.chb2b-page--account .chb2b-order-summary .chb2b-summary-list dd { text-align: right; font-variant-numeric: tabular-nums; }
.chb2b-page--account .chb2b-order-summary .chb2b-summary-list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.chb2b-page--account .chb2b-stat-card { min-height: 120px; border-radius: 10px; gap: 8px; }
.chb2b-page--account .chb2b-stat-card strong { font-size: 28px; }
@media (max-width: 767px) {
  .chb2b-page--account .chb2b-account-dashboard { grid-template-columns: minmax(0, 1fr); }
  .chb2b-page--account .chb2b-page-heading h1 { font-size: 28px; }
  .chb2b-page--account .chb2b-portal-content .chb2b-card,
  .chb2b-page--account .chb2b-stat-card { padding: 20px 16px; }
  .chb2b-page--account .chb2b-account-list__summary { width: 100%; justify-items: start; text-align: left; }
  .chb2b-page--account .chb2b-order-summary .chb2b-summary-list > div { gap: 20px; }
}
@media (max-width: 782px) {
  .chb2b-wp-admin-wrap { --ch-admin-sticky: 60px; }
  .chb2b-wp-admin-wrap .chb2b-wp-admin-toolbar { flex-direction: row; flex-wrap: wrap; align-items: center; padding: 12px 16px; }
  .chb2b-wp-admin-wrap .chb2b-wp-admin-toolbar__actions { flex-direction: row; align-items: center; justify-content: flex-start; width: auto; }
  .chb2b-wp-admin-wrap .chb2b-wp-admin-toolbar__actions > .chb2b-button { width: auto; }
  .chb2b-wp-admin-wrap .chb2b-admin-language { width: auto; }
  .chb2b-wp-admin-wrap .chb2b-wp-admin-content { padding: 20px 16px 32px; }
  .chb2b-wp-admin-wrap .chb2b-admin-view h1 { font-size: 28px; }
  .chb2b-wp-admin-wrap .chb2b-card { padding: 16px; }
  .chb2b-wp-admin-wrap .chb2b-admin-toolbar { gap: 16px; }
  .chb2b-wp-admin-wrap .chb2b-admin-toolbar > .chb2b-field { flex-basis: 100%; }
  .chb2b-wp-admin-wrap .chb2b-admin-toolbar > .chb2b-button { width: 100%; }
  .chb2b-wp-admin-wrap .chb2b-customer-drawer { right: 16px; padding: 16px; }
  .chb2b-wp-admin-wrap .chb2b-customer-drawer__header { top: -16px; margin: -16px -16px 0; padding: 16px; }
  .chb2b-wp-admin-wrap .chb2b-customer-review-action { bottom: -16px; margin: 0 -16px -16px; padding: 16px; }
  .chb2b-wp-admin-wrap .chb2b-save-bar { bottom: 0; }
  .chb2b-wp-admin-wrap .chb2b-settings-actions { bottom: 0; padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
  .chb2b-wp-admin-wrap .chb2b-import-stepper { gap: 4px 16px; font-size: 13px; }
}
