/* Configure workspace refinements: layout order, openings, measurements, live bar, customer view. */

/* Keep focused fields clear of the fixed price bar. */
html{scroll-padding-bottom:calc(var(--livebar-space,96px) + 24px);scroll-padding-top:16px}

/* Layout: preview and openings on the left, the form on the right; on phones the form comes first. */
.config-grid{grid-template-areas:"visual inspector" "openings inspector";row-gap:16px}
.config-visual{grid-area:visual;min-width:0}

.config-grid>.inspector{grid-area:inspector}
.mobile-preview-link{display:none}
@media(max-width:980px){
  .config-grid{grid-template-areas:"openings" "inspector" "visual";row-gap:20px}
  .mobile-preview-link{display:inline-flex;align-items:center;gap:6px;margin-top:12px;border:1px solid #c9dccd;background:#e7efe8;color:#2f5d3a;border-radius:3px;padding:6px 12px;font-size:12px;font-weight:600;min-height:36px}
  .mobile-preview-link .icon{width:14px;height:14px}
  .config-visual .drawing{max-height:46vh}
}

/* Step indicator */
.inspector-heading .eyebrow span{color:var(--green,#1b1d1c);font-weight:600}

/* Shade position */
.shade-control{display:block;padding:6px 21px 16px}
.shade-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:6px}
.shade-head label{display:flex;align-items:center;gap:6px;font-size:12px;color:#5c625f;font-weight:500}
.shade-head output{font-size:12px;font-weight:600;color:var(--green,#1b1d1c);background:#e7efe8;border-radius:3px;padding:2px 10px;font-variant-numeric:tabular-nums}
.shade-track{display:flex;align-items:center;gap:12px}
.shade-track span{font-size:12px;color:#5c625f;flex:none}
.shade-track input{flex:1;min-width:0;accent-color:#2f5d3a;min-height:32px}
@media(max-width:760px){.shade-control{padding:4px 15px 14px}}

/* Fabric & finish row: two matching, tappable items */
.visual-specs{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;gap:8px;padding:10px 12px}
.spec-item{display:flex;align-items:flex-start;gap:10px;min-width:0;text-align:left;border:1px solid transparent;background:none;border-radius:3px;padding:6px 8px;min-height:48px;color:var(--ink,#1b1d1c);cursor:pointer}
.spec-item:hover{background:#f6f5f1;border-color:#e2dfd7}
.spec-item:focus-visible{outline:3px solid #2f5d3a;outline-offset:2px}
.spec-item>span:last-child{display:grid;min-width:0}
.spec-item small{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#5c625f;margin:0}
.spec-item em{font-style:normal;font-size:12px;color:#5c625f;line-height:1.4}
.spec-item em:empty{display:none}
.spec-item em.missing{color:#5c3900;font-weight:600}
.spec-item em.missing:before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:#b7791f;margin-right:5px;vertical-align:1px}
.spec-item b{font-size:13px;font-weight:600;line-height:1.35;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.visual-specs .swatch-mini{width:26px;height:26px;flex:none}

/* Openings: left-aligned chips that scroll sideways{margin-top:0}
.openings-label{text-transform:none;letter-spacing:0;font-size:13px;font-weight:600;color:#3b403d;margin-bottom:10px}
.openings-label small{display:inline-block;margin-left:6px;padding:0 8px;border-radius:3px;background:#e7efe8;color:#2f5d3a;font-size:12px;font-weight:600}




.opening-index{flex:none;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#eceae3;color:#2f5d3a;font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}

.opening-text{display:grid;min-width:0}
.opening-text strong{font-size:13px;font-weight:600;color:var(--ink,#1b1d1c);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.opening-text>span{font-size:12px;color:#5c625f;white-space:nowrap}
















/* The horizontal scroller would clip the menu{overflow:visible;flex-wrap:wrap}

/* Measurements: fractions and eighths */
.input-wrap:has(.fraction-select){display:flex;align-items:stretch}
.input-wrap .fraction-select{flex:none;width:78px;margin-left:6px;border:1px solid #e2dfd7;border-radius:3px;background:var(--paper,#f6f5f1);font-size:15px;padding:0 6px;color:var(--ink,#1b1d1c);min-height:43px}
.input-wrap:has(.fraction-select) .input-unit{right:96px}
.input-wrap:has(.fraction-select)>input{padding-right:34px}
.input-wrap .fraction-select:focus-visible{outline:3px solid #2f5d3a;outline-offset:1px}
.measure-echo{font-size:12px;color:#5c625f;min-height:18px;margin-top:4px;font-variant-numeric:tabular-nums}
.measure-echo:empty{display:none}
.measure-tip{font-size:12px;color:#5c625f;margin:-2px 0 12px}
.measure-tip b{color:var(--ink,#1b1d1c);font-weight:600}

/* Live bar: tappable price, privacy toggle, save state */
.live-price{display:flex;flex-direction:column;align-items:flex-start}
.live-price-button{border:0;background:none;text-align:left;font:inherit;color:inherit;cursor:pointer;border-radius:3px;padding:4px 8px;margin:-4px -8px}
.live-price-button:hover{background:#f3f2ee}
.live-price-button:focus-visible{outline:3px solid #2f5d3a;outline-offset:2px}
.live-price-button>span:first-child{display:flex;align-items:center;gap:6px}
.live-price-button>span:first-child .icon{width:12px;height:12px;transform:rotate(-90deg);opacity:.7}
.live-dealer-row{display:flex;align-items:center;gap:8px;margin-top:2px;min-height:32px}
.live-dealer-row .live-dealer{margin-top:0}
.live-privacy{display:inline-flex;align-items:center;gap:5px;border:1px solid #e2dfd7;background:var(--paper,#f6f5f1);color:#2f5d3a;border-radius:3px;padding:3px 10px;font-size:12px;font-weight:600;min-height:32px;min-width:44px;justify-content:center;white-space:nowrap}
.live-privacy .icon{width:14px;height:14px}
.live-privacy.on{background:#2e3431;border-color:#2e3431;color:#f6f5f1}
.live-privacy:focus-visible{outline:3px solid #2f5d3a;outline-offset:2px}
.save-state{display:inline-flex;align-items:center;gap:5px}
.save-state:before{content:'';width:7px;height:7px;border-radius:50%;background:#2f5d3a}
.save-state.dirty{color:#5c3900;font-weight:600}
.save-state.dirty:before{background:#b7791f}
@media(max-width:760px){
  .livebar .live-actions{gap:8px}
}

/* Toast with an action (Undo) */
.toast.visible{pointer-events:auto}
.toast:has(.toast-action){display:flex;align-items:center;gap:14px;text-align:left}
.toast-action{border:0;background:#f3f2ee;color:#8e968f;border-radius:2px;padding:6px 12px;font-weight:600;font-size:13px;min-height:36px;cursor:pointer}
.toast-action:focus-visible{outline:3px solid #2f5d3a;outline-offset:2px}

/* Price breakdown dialog */
.price-table{width:100%;border-collapse:collapse;font-size:13px}
.price-table th,.price-table td{padding:10px 8px;border-bottom:1px solid #eceae3;text-align:right;font-variant-numeric:tabular-nums}
.price-table th[scope=row],.price-table thead th:first-child{text-align:left;font-weight:500}
.price-table thead th{font-size:11px;letter-spacing:.07em;text-transform:uppercase;color:#5c625f;font-weight:600}
.price-table tfoot th,.price-table tfoot td{font-weight:600;border-bottom:0}
.price-table-project{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:14px 0 6px;padding:12px 14px;background:#efede7;border-radius:3px;font-size:13px}
.price-table-project strong{font-size:17px;font-variant-numeric:tabular-nums}
.price-table-wrap{overflow:visible}
.table-wrap table.price-table{min-width:0;white-space:normal}
.price-table th[scope=row]{font-family:var(--crn-font-sans);text-transform:none;letter-spacing:0;font-size:13px;line-height:1.4;color:var(--ink);background:none;padding:11px 12px;white-space:normal;overflow-wrap:anywhere}
.price-table td,.price-table thead th:not(:first-child){width:1%;white-space:nowrap;padding:11px 12px}
.price-table tfoot th[scope=row]{font-weight:600}
.price-table-project{flex-wrap:wrap}.price-table-project strong{white-space:nowrap;margin-left:auto}

/* Customer view: hide every dealer cost on screen. */
.customer-view .live-dealer,.customer-view .dealer-only,.customer-view .price-dealer,.customer-view .dealer-context,.customer-view [data-dealer-only]{display:none!important}

/* Consistent rhythm inside the configure column */
.config-visual .visual-card{margin:0}
.inspector .inspector-heading{margin-bottom:20px}
.inspector .form-row+.measurement-label,.inspector .hint+.option-row,.inspector .option-row+.qty-field{margin-top:16px}

/* Elevation: larger, bolder dimension labels read clearly on phones */
.drawing .dim-labels text{paint-order:stroke;stroke:#f6f5f1;stroke-width:3px}
@media(max-width:760px){
  .drawing .dim-labels{font-size:24px}
  .drawing .dim-labels rect{display:none}
  .visual-head .icon-btn{min-width:40px;min-height:40px}
}
/* Price bar structure: label + amount in a button, dealer cost and its toggle on the row below */
.live-price-button>span:first-child{font-size:12px;letter-spacing:1px;color:#5c625f;text-transform:uppercase;line-height:1.5}
.live-price-button>span:first-child .pulse-dot{width:4px;height:4px}
.live-dealer-row .live-dealer{display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 6px;font-size:13px;line-height:1.5;letter-spacing:0;text-transform:none;color:#2f5d3a}
@media(max-width:760px){.live-price-button>small{display:none}.live-price-button strong{font-size:22px;line-height:1.3}}

/* Live size limits under Width and Height */
.limit-hint{font-size:12px;color:#5c625f;margin-top:5px;line-height:1.4;font-variant-numeric:tabular-nums}
.limit-hint:empty{display:none}
.limit-hint .over{color:#8a2e27;font-weight:600}
.limit-hint .over:before{content:'!';display:inline-grid;place-items:center;width:15px;height:15px;border-radius:50%;background:#8a2e27;color:#ffffff;font-size:10px;font-weight:600;margin-right:6px;vertical-align:1px}

/* Order readiness checklist on Review */
.order-checklist{border:1px solid #ebd29e;background:#f6f5f1;border-radius:4px;padding:14px 16px;margin:0 0 20px}
.order-checklist.ready{display:flex;gap:12px;align-items:flex-start;border-color:#c9dccd;background:#f1f6f2}
.order-checklist.ready .icon{width:20px;height:20px;color:#2f5d3a;flex:none;margin-top:2px}
.order-checklist.ready small{display:block;font-size:12px;color:#2f5d3a;margin-top:2px}
.checklist-head{display:grid;gap:2px;margin-bottom:8px}
.checklist-head strong{font-size:14px;color:#5c3900}
.checklist-head small{font-size:12px;color:#5c625f}
.order-checklist ul{list-style:none;margin:0;padding:0;display:grid}
.order-checklist li{display:grid;grid-template-columns:14px minmax(0,1fr) auto;gap:10px;align-items:start;padding:9px 0;border-top:1px solid #e2dfd7;font-size:13px;line-height:1.45;color:var(--ink,#1b1d1c)}
.order-checklist li:first-child{border-top:0}
.check-dot{width:9px;height:9px;border-radius:50%;margin-top:5px;background:#b7791f}
.order-checklist li.confirm .check-dot{background:#ffffff;border:2px solid #8e968f}
.order-checklist li.confirm{color:#5c625f}
.order-checklist .btn-link{min-height:32px;padding:0 4px}

/* ── Quote header: one compact bar replaces the return bar, marketing headline and dealer-tier card ── */
.cpq-header{display:flex;justify-content:space-between;align-items:flex-end;gap:16px 24px;flex-wrap:wrap;padding:4px 0 18px;margin-bottom:20px;border-bottom:1px solid var(--line,#e2dfd7)}
.cpq-header-main{min-width:0;flex:1 1 320px}
.release-notice{display:flex;justify-content:space-between;align-items:flex-start;gap:12px 20px;flex-wrap:wrap;margin:-8px 0 20px;padding:14px 16px;border:1px solid #e3c98f;border-left:4px solid #b7862a;border-radius:8px;background:#fbf6ea;color:var(--ink,#1b1d1c);font-size:14px;line-height:1.45}
.release-notice>div{flex:1 1 300px;min-width:0}
.release-notice ul{margin:6px 0;padding-left:18px}
.release-notice li{overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.release-notice p{margin:4px 0 0;color:#5c625f;font-size:13px}
.cpq-header-eyebrow{margin:0 0 4px;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#5c625f;font-variant-numeric:tabular-nums}
.cpq-header-title{margin:0;font-family:var(--display,inherit);font-size:24px;line-height:1.25;font-weight:600;letter-spacing:-.01em;color:var(--ink,#1b1d1c);overflow-wrap:anywhere}
.cpq-header-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin-top:8px;font-size:12px;color:#5c625f}
.cpq-header-meta .btn-link{font-size:12px}
.tier-chip{display:inline-flex;align-items:center;border-radius:3px;padding:3px 10px;font-size:12px;font-weight:600;background:#e7efe8;color:#1e3f27;border:1px solid #c9dccd;line-height:1.5}
button.tier-chip{cursor:pointer;font:inherit;font-size:12px;font-weight:600}
.tier-chip.preview{background:#fff7e6;color:#5c3900;border-color:#ebd29e}
.tier-chip:focus-visible{outline:3px solid #2f5d3a;outline-offset:2px}
.cpq-header-actions{display:flex;gap:8px;flex-wrap:wrap}
.cpq-header-actions .btn{min-height:42px;font-size:13px}
.cpq-header-actions .icon{width:16px;height:16px}
@media(max-width:760px){
  .cpq-header{padding-bottom:14px;margin-bottom:16px;align-items:stretch}
  .cpq-header-title{font-size:20px}
  .cpq-header-actions{width:100%;flex-wrap:nowrap}
  .cpq-header-actions .btn{flex:none;min-height:44px}
  .cpq-header-actions .btn-primary{flex:1}
  .cpq-header-actions .icon-text span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .cpq-header-actions .icon-text{width:48px;padding:0;justify-content:center}
}

/* Step heading: step count and preview link on one row, plain task title */
.inspector-eyebrow-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:6px}
.inspector-eyebrow-row .eyebrow{margin:0}
.inspector-heading h2{margin:0}
.inspector-eyebrow-row .mobile-preview-link{margin-top:0}

/* Desktop: preview and openings stay in view while the form scrolls; phones keep openings → form → preview */
.config-grid{grid-template-areas:"side inspector"}
.config-side{grid-area:side;display:grid;gap:16px;align-content:start;min-width:0}
.config-side>.config-visual{grid-area:auto}
@media(min-width:981px) and (min-height:860px){.config-side{position:sticky;top:16px;align-self:start}}
@media(max-width:980px){
  .config-grid{grid-template-areas:"openings" "inspector" "visual"}
  .config-side{display:contents}
  .config-side>.config-visual{grid-area:visual}
  
}

/* Illustrated weave until real swatch photos are imported: denser for low openness, airier for open screens */
.textile[data-weave=tight]{background-image:repeating-linear-gradient(90deg,#ffffff0d 0 1px,transparent 1px 2px),repeating-linear-gradient(0deg,#1b1d1c1f 0 1px,transparent 1px 2px)}
.textile[data-weave=fine]{background-image:repeating-linear-gradient(90deg,#ffffff14 0 1px,transparent 1px 3px),repeating-linear-gradient(0deg,#1b1d1c1a 0 1px,transparent 1px 3px)}
.textile[data-weave=medium]{background-image:repeating-linear-gradient(90deg,#ffffff1c 0 1px,transparent 1px 4px),repeating-linear-gradient(0deg,#1b1d1c17 0 1px,transparent 1px 4px)}
.textile[data-weave=open]{background-image:repeating-linear-gradient(90deg,#ffffff2e 0 2px,transparent 2px 6px),repeating-linear-gradient(0deg,#ffffff24 0 2px,transparent 2px 6px)}
.illustrated-label{background:#ffffffe6;color:#3b403d;border-color:#ffffff;font-weight:600;letter-spacing:0}

/* Phone header: icon-only Details, short "Close" label */
.cpq-header-actions .label-short{display:none}
@media(max-width:760px){
  .cpq-header-actions .icon-text:has(.label-short){width:auto;padding:0 14px;gap:6px}
  .cpq-header-actions .icon-text .label-long{display:none}
  .cpq-header-actions .icon-text .label-short{display:inline;position:static;width:auto;height:auto;clip-path:none}
}

/* Fabric picker: compact, grouped, searchable list */
.fabric-list-tools{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:12px;padding:0 0 12px;background:inherit}
.fabric-list-tools .search-field{flex:1;min-width:0}
.fabric-count{font-size:12px;color:#5c625f;white-space:nowrap}
.fabric-group{margin-bottom:18px}
.fabric-group h3{display:flex;align-items:center;gap:8px;margin:0 0 8px;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#5c625f;font-weight:600}
.fabric-group h3 span{background:#e7efe8;color:#2f5d3a;border-radius:3px;padding:0 8px;letter-spacing:0}
.fabric-rows{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:8px}
.fabric-row{width:100%;display:flex;align-items:center;gap:12px;text-align:left;border:1px solid var(--line,#e2dfd7);background:#ffffff;border-radius:3px;padding:8px 12px 8px 8px;min-height:60px;cursor:pointer;color:var(--ink,#1b1d1c)}
.fabric-row:hover{border-color:#cfcbc1;background:#f6f5f1}
.fabric-row.active{border-color:#2f5d3a;box-shadow:0 0 0 1px #2f5d3a inset;background:#f1f6f2}
.fabric-row:focus-visible{outline:3px solid #2f5d3a;outline-offset:2px}
.fabric-row .fabric-row-thumb{width:44px;height:44px;border-radius:3px}
.fabric-row-text{display:grid;min-width:0;flex:1}
.fabric-row-text strong{font-size:14px;font-weight:600}
.fabric-row-text small{font-size:12px;color:#5c625f}
.fabric-row-check{width:22px;height:22px;flex:none;border-radius:50%;border:1.5px solid #cfcbc1;display:grid;place-items:center}
.fabric-row.active .fabric-row-check{background:#2f5d3a;border-color:#2f5d3a;color:#ffffff}
.fabric-row-check .icon{width:13px;height:13px}
.fabric-empty{font-size:13px;color:#5c625f;padding:12px 0}

/* ── Materials step: two library rows ── */
.material-row .option-text strong{overflow-wrap:anywhere}
.material-row .missing{color:#5c3900;font-weight:600}
.material-row .option-thumb.has-colour{box-shadow:none}
.materials-note{display:flex;gap:8px;align-items:flex-start;margin:14px 0 0;font-size:12px;color:#5c625f;line-height:1.5}
.materials-note .icon{width:14px;height:14px;flex:none;margin-top:2px}

/* Fabric colour step */
.fabric-colour-head{display:flex;gap:14px;align-items:flex-start;margin:4px 0 16px}
.fabric-colour-head .fabric-colour-hero{width:72px;height:72px;border-radius:3px}
.fabric-colour-head h3{margin:0;font-size:17px}
.fabric-colour-head p{margin:4px 0 0;font-size:13px;color:#5c625f}
.fabric-colour-source a{color:#1e3f27;font-weight:600}
.colour-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:10px;margin-bottom:16px}
.colour-chip{display:grid;gap:2px;text-align:left;border:1px solid var(--line,#e2dfd7);background:#ffffff;border-radius:3px;padding:6px 6px 10px;cursor:pointer;color:var(--ink,#1b1d1c)}
.colour-chip:hover{border-color:#cfcbc1}
.colour-chip.active{border-color:#2f5d3a;box-shadow:0 0 0 2px #2f5d3a inset}
.colour-chip:focus-visible{outline:3px solid #2f5d3a;outline-offset:2px}
.colour-swatch{display:block;height:64px;border-radius:2px;margin-bottom:6px;border:1px solid #1b1d1c0f}
.colour-name{font-size:13px;font-weight:600;padding:0 4px;line-height:1.3}
.colour-code{font-size:11px;color:#5c625f;padding:0 4px;letter-spacing:.04em}
.colour-limited{font-size:11px;font-weight:600;color:#8a5a00;padding:0 4px}
.fabric-colour-custom input{width:100%}

/* Frame colour library */
.paint-dialog .dialog-body{padding-top:12px}
.paint-tabs{display:flex;gap:6px;margin-bottom:14px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.paint-tabs::-webkit-scrollbar{display:none}.paint-tabs .tab{flex:none;white-space:nowrap}
.paint-tabs .tab span{margin-left:6px;font-size:11px}
.paint-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;align-items:start}
.paint-layout .search-field{margin-bottom:12px}
.paint-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:8px;max-height:52vh;overflow:auto;padding:2px}
.paint-chip{display:grid;text-align:left;border:1px solid var(--line,#e2dfd7);background:#ffffff;border-radius:3px;padding:5px 5px 8px;cursor:pointer;color:var(--ink,#1b1d1c)}
.paint-chip:hover{border-color:#cfcbc1}
.paint-chip.active{border-color:#2f5d3a;box-shadow:0 0 0 2px #2f5d3a inset}
.paint-chip:focus-visible{outline:3px solid #2f5d3a;outline-offset:2px}
.paint-swatch{display:block;height:46px;border-radius:2px;border:1px solid #1b1d1c1a;margin-bottom:6px;position:relative;overflow:hidden;isolation:isolate}
/* Powder-coat swatches: the colour as a lit strip of coated metal, in the sheen shown (data-sheen on a container; semi-gloss
   when none is set). Overlays only lighten and shade the colour, so the swatch's own colour is what shows in the middle. */
.paint-swatch::before,.paint-swatch::after{content:'';position:absolute;inset:0;pointer-events:none;border-radius:inherit}
.paint-swatch::after{background:
  linear-gradient(180deg,rgba(255,255,255,.34) 0%,rgba(255,255,255,.16) 7%,rgba(255,255,255,.04) 22%,rgba(255,255,255,0) 34%,rgba(0,0,0,0) 62%,rgba(0,0,0,.22) 100%),
  radial-gradient(120% 70% at 38% 12%,rgba(255,255,255,.16),rgba(255,255,255,0) 60%),
  linear-gradient(105deg,rgba(255,255,255,0) 18%,rgba(255,255,255,.10) 36%,rgba(255,255,255,.03) 50%,rgba(255,255,255,0) 64%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.4),inset 0 -1px 0 rgba(0,0,0,.2)}
[data-sheen="matte"] .paint-swatch::after,.paint-swatch[data-sheen="matte"]::after{background:
  linear-gradient(180deg,rgba(255,255,255,.14) 0%,rgba(255,255,255,.04) 28%,rgba(255,255,255,0) 44%,rgba(0,0,0,0) 62%,rgba(0,0,0,.16) 100%),
  linear-gradient(112deg,rgba(255,255,255,0) 18%,rgba(255,255,255,.08) 42%,rgba(255,255,255,0) 66%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18),inset 0 -1px 0 rgba(0,0,0,.14)}
[data-sheen="fine-texture-matte"] .paint-swatch::after,.paint-swatch[data-sheen="fine-texture-matte"]::after{background:
  linear-gradient(180deg,rgba(255,255,255,.10) 0%,rgba(255,255,255,0) 40%,rgba(0,0,0,0) 60%,rgba(0,0,0,.16) 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14),inset 0 -1px 0 rgba(0,0,0,.14)}
[data-sheen="fine-texture-matte"] .paint-swatch::before,.paint-swatch[data-sheen="fine-texture-matte"]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.15' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1.1 -.25'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");background-size:64px 64px;mix-blend-mode:overlay;opacity:.55}
.paint-sheen{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 12px;font-size:12px;color:#5c625f}
.paint-sheen .segmented{display:inline-flex;border:1px solid var(--line,#e2dfd7);border-radius:6px;overflow:hidden;background:#ffffff}
.paint-sheen button{border:0;background:none;padding:6px 11px;font-size:12px;color:var(--ink,#1b1d1c);cursor:pointer}
.paint-sheen button+button{border-left:1px solid var(--line,#e2dfd7)}
.paint-sheen button[aria-pressed="true"]{background:#2f5d3a;color:#ffffff}
.paint-sheen button:focus-visible{outline:3px solid #2f5d3a;outline-offset:-3px}
@media (prefers-reduced-transparency:reduce){.paint-swatch::before{display:none}}
.paint-code{font-size:12px;font-weight:600;padding:0 3px}
.paint-name{font-size:12px;color:#5c625f;padding:0 3px;line-height:1.3}
.paint-more,.paint-empty{font-size:12px;color:#5c625f;margin:10px 0 0}
/* Crown standard colours: the sheet's groups, one heading each, scrolling together. */
.paint-standard-groups{max-height:52vh;overflow:auto;padding:2px}.paint-standard-groups .paint-grid{max-height:none;overflow:visible;padding:0}
.paint-group{font-family:var(--mono,'IBM Plex Mono',monospace);font-size:11px;font-weight:600;letter-spacing:1.4px;text-transform:uppercase;color:#5c625f;margin:14px 0 8px}.paint-group:first-child{margin-top:0}
.paint-custom-charge{margin:10px 0 14px;padding:8px 10px;border-radius:6px;background:#fff7e6;border:1px solid #ebd29e;color:#5c3900;font-size:12px;line-height:1.45}
.paint-custom-charge.in-stock{background:#e7efe8;border-color:#c9dccf;color:#1e3f27}
.colour-charge-note{margin:-2px 0 8px;font-size:11px;line-height:1.4;color:#5c3900}
.paint-standard{margin:10px 0 14px;font-size:12px;color:#2f5d3a;font-weight:600}
.paint-custom{margin-top:14px}
.paint-custom input{width:100%}
.paint-match{position:sticky;top:0;border:1px solid var(--line,#e2dfd7);border-radius:4px;background:#ffffff;padding:14px}
.paint-match.empty p{font-size:13px;color:#5c625f;margin:0}
.paint-match-hero{display:flex;gap:12px;align-items:center;margin-bottom:14px}
.paint-match-hero .paint-swatch.big{width:72px;height:72px;margin:0;flex:none}
.paint-match-hero small,.paint-match li small{display:block;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#5c625f}
.paint-match-hero strong{display:block;font-size:17px}
.paint-match-hero span{font-size:13px;color:#3b403d}
.paint-match h3{margin:0 0 8px;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:#5c625f}
.paint-match ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.paint-match li{display:flex;gap:10px;align-items:center}
.paint-match li .paint-swatch{width:40px;height:40px;margin:0;flex:none}
.paint-match li strong{display:block;font-size:13px}
.paint-match li span{font-size:12px;color:#5c625f}
.paint-note{font-size:11px;color:#5c625f;margin:12px 0 0;line-height:1.45}
@media(max-width:760px){
  .paint-layout{grid-template-columns:1fr}
  .paint-match{position:static;order:-1}
  .paint-layout>aside{order:-1}
  .paint-grid{max-height:none;grid-template-columns:repeat(auto-fill,minmax(100px,1fr))}
  .colour-grid{grid-template-columns:repeat(auto-fill,minmax(104px,1fr))}
}
.materials-note .link-button{margin-left:auto;flex:none;background:none;border:0;padding:0;font:inherit;font-weight:600;color:#2f5d3a;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.samples-dialog .sample-set{border:0;padding:0;margin:0 0 18px;display:grid;gap:10px}
.samples-dialog legend{font-size:11px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:#5c625f;margin-bottom:8px}
.sample-pick{display:grid;grid-template-columns:20px 40px minmax(0,1fr);gap:12px;align-items:center;padding:10px 12px;border:1px solid #e2dfd7;border-radius:3px;background:#ffffff;cursor:pointer}
.sample-pick:has(input:checked){border-color:#2f5d3a;box-shadow:inset 0 0 0 1px #2f5d3a}
.sample-pick.missing{opacity:.65;cursor:not-allowed}
.sample-pick input{width:18px;height:18px;margin:0;accent-color:#2f5d3a}
.sample-chip{width:40px;height:40px;border-radius:3px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.12)}
.sample-pick small{display:block;font-size:10.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:#5c625f}
.sample-pick strong{display:block;font-size:14px;overflow-wrap:anywhere}.sample-pick em{display:block;font-style:normal;font-size:12px;color:#5c625f}
.sample-add{display:grid;grid-template-columns:150px minmax(0,1fr) auto;gap:8px}
.sample-add select,.sample-add input{height:42px;font-size:14px;border:1px solid #c9dccd;border-radius:3px;background:#ffffff;padding:0 10px;min-width:0}
.samples-dialog .form-row>.field{flex:1;min-width:0}.samples-dialog .sample-city>.field:first-child{flex:2}
.samples-dialog .form-error{color:#b4453c;font-size:13px;margin:8px 0 0}
@media(max-width:640px){.sample-add{grid-template-columns:1fr}.samples-dialog .sample-city{flex-wrap:wrap}.samples-dialog .sample-city>.field:first-child{flex-basis:100%}.sample-add select,.sample-add input{font-size:16px}}
/* Configurator refresh (2026-10): rounder cards with a soft lift, and the elevation drawn on a faint drafting grid,
   matching the console and portal. */
.config-visual .visual-card{border-radius:12px;box-shadow:0 1px 2px #171b190a}
.config-visual .drawing{background-color:#fbfaf7;background-image:linear-gradient(#efede6 1px,transparent 1px),linear-gradient(90deg,#efede6 1px,transparent 1px);background-size:24px 24px;background-position:-1px -1px}
.config-grid .option-row{border-radius:10px}
.config-grid .option-row:hover{border-color:#cfcbc1}

/* Shade finder: a live sketch of the opening beside three short steps (size, where it goes, how it moves). */
.finder{display:grid;grid-template-columns:300px minmax(0,1fr);grid-template-rows:auto auto;margin:0 0 22px;background:var(--white,#ffffff);border:1px solid var(--line,#e2dfd7);border-radius:6px;overflow:hidden}
.finder-sketch{grid-row:1/3;margin:0;display:flex;flex-direction:column;background:#eef1ea;border-right:1px solid var(--line,#e2dfd7);transition:background .4s}
.finder-sketch[data-application="exterior"]{background:linear-gradient(180deg,#e4ece6 0%,#eef1ea 70%)}
.finder-sketch[data-application="interior"]{background:#f1efe8}
.sk-stage{position:relative;flex:1;min-height:200px;display:grid;place-items:center;padding:34px 30px 12px 42px;perspective:620px}
.sk-sun{position:absolute;top:18px;right:20px;width:22px;height:22px;color:#b8975d;opacity:0;transform:translateY(4px);transition:opacity .35s,transform .35s}
.sk-sun svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6}
.finder-sketch[data-application="exterior"] .sk-sun{opacity:1;transform:none}
.sk-opening{position:relative;border:5px solid #3f4a3d;border-radius:2px;background:linear-gradient(160deg,#fbfcf8 0%,#e3e9dc 55%,#d6dfcf 100%);box-shadow:0 14px 26px -18px rgba(30,63,39,.55);transition:width .45s cubic-bezier(.2,.8,.2,1),height .45s cubic-bezier(.2,.8,.2,1),transform .45s cubic-bezier(.2,.8,.2,1)}
.finder-sketch[data-application="interior"] .sk-opening{border-color:#d9d4c6;border-width:6px}
.finder-sketch[data-design="skylight"] .sk-opening{transform:rotateX(46deg)}
.sk-head{position:absolute;left:-8px;right:-8px;top:-12px;height:10px;border-radius:3px;background:#2c3529;transition:top .45s,bottom .45s}
.finder-sketch[data-application="interior"] .sk-head{background:#b9b2a1}
.finder-sketch[data-design="bottom-up"] .sk-head{top:auto;bottom:-12px}
.sk-fabric{position:absolute;left:0;right:0;top:0;height:58%;background:repeating-linear-gradient(90deg,rgba(255,255,255,.07) 0 1px,transparent 1px 3px),#55624f;border-bottom:4px solid #2c3529;transition:top .45s cubic-bezier(.2,.8,.2,1),height .45s cubic-bezier(.2,.8,.2,1)}
.finder-sketch[data-design="bottom-up"] .sk-fabric{top:42%;border-bottom:0;border-top:4px solid #2c3529}
.sk-dim{position:absolute;font:500 12px/1 'IBM Plex Mono',Menlo,monospace;color:#5e6a58;white-space:nowrap;transition:color .2s}
.sk-dim.set{color:var(--green2,#1e3f27);font-weight:600}
.sk-w{left:50%;top:-34px;transform:translateX(-50%)}
.sk-h{top:50%;left:-14px;transform:translate(-100%,-50%) rotate(-90deg) translateY(-50%);transform-origin:right center}
.finder-sketch[data-design="skylight"] .sk-w{top:-38px}
.sk-caption{padding:12px 20px 16px;font-size:13px;color:var(--muted,#5c625f);text-align:center}
.finder-steps{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr) minmax(0,1.3fr);gap:22px 26px;padding:22px 24px 18px;align-content:start}
.finder-step{min-width:0;margin:0;padding:0;border:0;display:grid;gap:12px;align-content:start}
.finder-step legend{display:flex;align-items:center;gap:9px;padding:0;margin-bottom:12px;font-size:14px;font-weight:600;color:var(--ink,#1b1d1c)}
.finder-num{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--sage,#e7efe8);color:var(--green2,#1e3f27);font-size:12px;font-weight:600}
.finder-size-row{display:flex;align-items:flex-start;gap:8px}
.finder-size-field{flex:1;min-width:0}
.finder-size-field label{display:block;margin:0 0 6px;padding:0;font-size:12px;font-weight:400;letter-spacing:0;text-transform:none;color:var(--muted,#5c625f)}
.finder-input{position:relative}
.finder-input input{width:100%;min-height:48px;padding:10px 34px 10px 12px;border:1px solid #d6d3ca;border-radius:4px;background:var(--paper,#f6f5f1);color:var(--ink,#1b1d1c);font:500 16px 'IBM Plex Mono',Menlo,monospace;transition:border-color .15s,background .15s}
.finder-input input::placeholder{color:#b3b8ae}
.finder-input input:focus{outline:2px solid var(--green,#2f5d3a);outline-offset:1px;border-color:var(--green,#2f5d3a);background:var(--white,#ffffff)}
.finder-input input[aria-invalid="true"]{border-color:var(--error,#b4453c)}
.finder-input span{position:absolute;right:11px;top:50%;transform:translateY(-50%);font-size:12px;color:var(--muted,#5c625f);pointer-events:none}
.finder-times{padding-top:33px;color:#9aa293;font-size:16px}
.finder-echo{min-height:16px;margin-top:5px;font-size:12px;color:var(--muted,#5c625f)}
.finder-tiles{display:grid;gap:8px}
.finder-tiles.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.finder-tiles.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.finder-tile{position:relative;display:grid;justify-items:center;gap:7px;min-height:96px;padding:12px 8px 10px;border:1px solid #dcd9d0;border-radius:5px;background:var(--paper,#f6f5f1);color:var(--ink,#1b1d1c);text-align:center;cursor:pointer;transition:border-color .18s,background .18s,box-shadow .18s,transform .18s}
.finder-tile:hover:not(:disabled){border-color:#9fb4a2;background:var(--white,#ffffff)}
.finder-tile:active:not(:disabled){transform:scale(.98)}
.finder-tile:focus-visible{outline:2px solid var(--green,#2f5d3a);outline-offset:2px}
.finder-tile.active{border-color:var(--green,#2f5d3a);background:var(--white,#ffffff);box-shadow:inset 0 0 0 1px var(--green,#2f5d3a),0 6px 16px -12px rgba(30,63,39,.6)}
.finder-tile.active::after{content:'';position:absolute;top:8px;right:8px;width:14px;height:14px;border-radius:50%;background:var(--green,#2f5d3a) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/10px no-repeat}
.finder-tile:disabled{cursor:not-allowed;background:transparent;border-style:dashed;color:#9aa293}
.finder-tile:disabled .finder-art{opacity:.4}
.finder-art svg{display:block;width:44px;height:34px;fill:none;stroke-linejoin:round;stroke-linecap:round}
.finder-art .pa-frame{stroke:#46523f;stroke-width:1.6;fill:#eef2ea}
.finder-art .pa-glass{fill:#eef2ea;stroke:#46523f;stroke-width:1.2}
.finder-art .pa-fabric{fill:#6d7c67}
.finder-art .pa-bar{stroke:#2c3529;stroke-width:2}
.finder-art .pa-arrow{stroke:var(--green,#2f5d3a);stroke-width:1.6}
.finder-art .pa-lamp{stroke:#46523f;stroke-width:1.5;fill:#efe6cf}
.finder-art .pa-roof{stroke:#46523f;stroke-width:3}
.finder-art .pa-post{stroke:#46523f;stroke-width:1.8}
.finder-art .pa-sun{fill:#e3cf9f;stroke:#b8975d;stroke-width:1.2}
.finder-tile.active .pa-fabric{fill:var(--green,#2f5d3a)}
.finder-tile-text{display:grid;gap:1px}
.finder-tile-text strong{font-size:13px;font-weight:600}
.finder-tile:disabled strong{font-weight:500}
.finder-tile-text small{font-size:11px;color:#9aa293}
.finder-foot{grid-column:2;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 24px;padding:12px 0 14px;border-top:1px solid var(--line,#e2dfd7)}
.finder-count{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:var(--muted,#5c625f)}
.finder-count::before{content:'';width:7px;height:7px;border-radius:50%;background:var(--green,#2f5d3a)}
.finder-clear{min-height:44px;padding:0 4px;color:var(--green,#2f5d3a);font-size:13px;font-weight:500;text-decoration:underline;text-underline-offset:3px;background:none;border:0;cursor:pointer}
.finder-fit{display:inline-flex;align-items:center;gap:5px;color:var(--green,#2f5d3a);font-size:12px;font-weight:500}
.finder-fit svg{width:14px;height:14px}
.finder-empty{grid-column:1/-1;display:grid;justify-items:center;gap:8px}
.finder-empty h3{margin:0;font-size:16px}.finder-empty p{margin:0;max-width:52ch;color:var(--muted,#5c625f)}
.finder-closest{display:grid;justify-items:center;gap:10px;margin:6px 0 2px;padding:14px 18px;border:1px solid var(--line,#e2dfd7);border-radius:3px;background:var(--white,#ffffff);max-width:52ch}
.finder-closest p{color:var(--ink,#1b1d1c)!important}.finder-closest strong{font-weight:600}
.finder-custom{font-size:13px}
.finder-empty-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}
.finder-shape{margin:8px 0 0;font-size:12px;color:var(--muted,#5c625f)}
.finder-shape-link{border:0;background:none;padding:0;min-height:24px;font:inherit;font-weight:600;color:var(--green2,#1e3f27);text-decoration:underline;text-underline-offset:2px;cursor:pointer}
.finder-shape-link:focus-visible{outline:3px solid #2f5d3a;outline-offset:2px}
.finder-others{grid-column:1/-1;margin-top:4px;font-size:13px;color:var(--muted,#5c625f)}
.finder-others summary{min-height:44px;display:flex;align-items:center;cursor:pointer}
.finder-others ul{list-style:none;margin:0;padding:0;border-top:1px solid var(--line,#e2dfd7)}
.finder-others li{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:10px 0;border-bottom:1px solid var(--line,#e2dfd7)}
.finder-others li strong{color:var(--ink,#1b1d1c);font-weight:500}
@media(max-width:1180px){.finder-steps{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.finder-steps .finder-step:first-child{grid-column:1/-1}}
@media(max-width:860px){.finder{grid-template-columns:minmax(0,1fr)}.finder-sketch{grid-row:auto;border-right:0;border-bottom:1px solid var(--line,#e2dfd7);flex-direction:row;align-items:center}.sk-stage{min-height:200px;padding:40px 18px 14px 40px}.sk-caption{flex:0 0 38%;text-align:left;padding:0 18px 0 0}.finder-foot{grid-column:1}}
@media(max-width:600px){.finder-steps{grid-template-columns:minmax(0,1fr);padding:18px 16px 14px}.finder-foot{margin:0 16px}.finder-sketch{flex-direction:column;align-items:stretch}.sk-stage{min-height:0;padding:40px 18px 12px 40px}.sk-caption{flex:none;text-align:center;padding:0 16px 14px}.finder-tile{min-height:88px}}

/* Motor side on the Operation step: two pictured choices, viewed from inside. */
.motor-side{margin:16px 0 4px;padding:0;border:0;min-width:0}
.motor-side:focus{outline:none}
.motor-side legend{padding:0;font-size:14px;font-weight:600;color:var(--ink,#1b1d1c)}
.motor-side-hint{margin:2px 0 10px;font-size:12px;color:var(--muted,#5c625f)}
.motor-side-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.motor-side-tile{position:relative;display:grid;justify-items:center;gap:6px;min-height:88px;padding:12px 8px 10px;border:1px solid #dcd9d0;border-radius:10px;background:var(--paper,#f6f5f1);color:var(--ink,#1b1d1c);cursor:pointer;transition:border-color .18s,background .18s,box-shadow .18s}
.motor-side-tile:hover{border-color:#9fb4a2;background:var(--white,#ffffff)}
.motor-side-tile:focus-visible{outline:2px solid var(--green,#2f5d3a);outline-offset:2px}
.motor-side-tile.active{border-color:var(--green,#2f5d3a);background:var(--white,#ffffff);box-shadow:inset 0 0 0 1px var(--green,#2f5d3a)}
.motor-side-tile.active::after{content:'';position:absolute;top:8px;right:8px;width:14px;height:14px;border-radius:50%;background:var(--green,#2f5d3a) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/10px no-repeat}
.motor-side-tile strong{font-size:13px;font-weight:600}
.motor-side-tile .motor-side-art svg{display:block;width:84px;height:51px;max-width:none}
.motor-side-art .ms-head{fill:#3f4a3d}
.motor-side-art .ms-fabric{fill:#c9d3c3}
.motor-side-art .ms-motor{fill:#9aa293}
.motor-side-art .ms-m{fill:#ffffff;font:700 8px 'IBM Plex Sans',Arial,sans-serif}
.motor-side-tile.active .ms-motor{fill:var(--green,#2f5d3a)}
.motor-side-tile.active .ms-fabric{fill:#a9bba8}
.motor-side .field-error.visible{display:block;margin-top:8px;font-size:12px;color:#5c3900}
/* Extrusion profiles (dist/profile-library.js): a choice that names its profile is a picture card; a product card shows
   its head box. The pictures are the shop's line drawings on white. */
.profile-pick{margin:16px 0 12px;padding:0;border:0;min-width:0}
.profile-pick legend{padding:0;margin-bottom:8px;font-size:14px;font-weight:600;color:var(--ink,#1b1d1c)}
.profile-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:8px}
.profile-tile{position:relative;display:grid;align-content:start;gap:4px;padding:10px 10px 11px;border:1px solid #dcd9d0;border-radius:10px;background:var(--paper,#f6f5f1);color:var(--ink,#1b1d1c);cursor:pointer;transition:border-color .18s,background .18s,box-shadow .18s}
.profile-tile:hover{border-color:#9fb4a2;background:var(--white,#ffffff)}
.profile-tile input{position:absolute;opacity:0;width:1px;height:1px;margin:0;pointer-events:none}
.profile-tile:focus-within{outline:2px solid var(--green,#2f5d3a);outline-offset:2px}
.profile-tile.checked,.profile-tile:has(input:checked){border-color:var(--green,#2f5d3a);background:var(--white,#ffffff);box-shadow:inset 0 0 0 1px var(--green,#2f5d3a)}
.profile-tile.checked::after,.profile-tile:has(input:checked)::after{content:'';position:absolute;top:8px;right:8px;width:14px;height:14px;border-radius:50%;background:var(--green,#2f5d3a) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/10px no-repeat}
.profile-tile .profile-art{display:flex;align-items:center;justify-content:center;height:92px;margin-bottom:4px;border-radius:6px;background:#ffffff}
.profile-tile .profile-art img{max-width:100%;max-height:84px;object-fit:contain}
.profile-tile.no-art{min-height:64px;align-content:center}
.profile-tile strong{font-size:13px;font-weight:600;line-height:1.3;padding-right:16px}
.profile-tile small{font-size:12px;line-height:1.4;color:var(--muted,#5c625f)}
.product-profile{display:flex;align-items:center;gap:10px;margin:10px 0 2px}
.product-profile .profile-art{flex:0 0 56px;height:56px;display:flex;align-items:center;justify-content:center;border:1px solid var(--line,#e2dfd7);border-radius:6px;background:#ffffff}
.product-profile .profile-art img{max-width:48px;max-height:48px;object-fit:contain}
.product-profile small{display:block;font-size:11px;letter-spacing:1px;text-transform:uppercase;color:var(--muted,#5c625f)}
.product-profile strong{display:block;font-size:13px;font-weight:600}
.product-profile em{display:block;font-style:normal;font-size:12px;color:var(--muted,#5c625f)}

/* Quote cart: the shades already in this quote, above the catalog. */
.quote-cart{background:var(--paper,#fff);border:1px solid var(--line,#e2dfd7);border-radius:3px;padding:22px 24px;margin-bottom:28px}
.quote-cart-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:16px;border-bottom:1px solid var(--line,#e2dfd7)}
.quote-cart-head .eyebrow{margin-bottom:6px}
.quote-cart-head h2{font-size:21px;font-weight:550;line-height:1.3;letter-spacing:-.01em}
.quote-cart-head p{font-size:13px;color:var(--muted,#5c625f);margin-top:4px;line-height:1.5}
.quote-cart-total{text-align:right;flex:none}
.quote-cart-total small{display:block;font-size:12px;color:var(--muted,#5c625f);letter-spacing:1px;text-transform:uppercase}
.quote-cart-total strong{display:block;font-family:var(--display);font-size:22px;font-weight:600;color:var(--green,#2f5d3a);margin-top:4px;font-variant-numeric:tabular-nums}
.quote-cart-list{list-style:none;margin:0;padding:0}
.quote-cart-item{display:grid;grid-template-columns:64px minmax(0,1fr) auto auto;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid var(--line,#e2dfd7)}

.quote-cart-text{min-width:0;display:flex;flex-direction:column;gap:2px}
.quote-cart-text strong{font-size:14px;font-weight:600;overflow-wrap:anywhere}
.quote-cart-text span{font-size:13px;color:var(--muted,#5c625f);line-height:1.5;overflow-wrap:anywhere}
.quote-cart-text .quote-cart-index{font-size:12px;letter-spacing:1.2px;color:var(--bronze,#8a6a3b)}
.quote-cart-price{text-align:right;white-space:nowrap}
.quote-cart-price strong{display:block;font-size:15px;font-weight:600;font-variant-numeric:tabular-nums}
.quote-cart-price small{display:block;font-size:12px;color:var(--muted,#5c625f);margin-top:2px}
.quote-cart-price .quote-cart-issue{color:var(--error,#8a2e27);font-size:13px}
.quote-cart-edit{min-height:44px}
.quote-cart-actions{display:flex;flex-wrap:wrap;gap:10px;padding-top:16px}
.quote-cart-actions .btn{min-height:44px}
.openings-label{align-items:center}
.openings-view{font-size:12px;color:var(--bronze,#8a6a3b);display:inline-flex;align-items:center;gap:4px;padding:6px 0;min-height:32px;text-transform:none;letter-spacing:0}
.openings-view .icon{width:13px;height:13px}
.live-cart{background:none;border:0;padding:6px 0;text-align:left;cursor:pointer;min-height:44px}
.live-cart b{font-weight:600;color:var(--green,#2f5d3a);margin-left:4px;white-space:nowrap}
.live-cart:hover b{text-decoration:underline}
@media (max-width:640px){
  .quote-cart{padding:18px 16px}
  .quote-cart-head{flex-direction:column;gap:10px}
  .quote-cart-total{text-align:left}
  .quote-cart-item{grid-template-columns:56px minmax(0,1fr);grid-template-areas:"thumb text" "price edit";row-gap:10px}
  
  .quote-cart-text{grid-area:text}
  .quote-cart-price{grid-area:price;text-align:left}
  .quote-cart-edit{grid-area:edit;justify-self:end}
  .quote-cart-actions .btn{flex:1 1 100%}
}

/* Crown inventory motors on the Operation step (app.js motorCardsHtml): photo, inventory name, specs and a stock status. */
.motor-units{margin:14px 0 4px}
.motor-units-head small{display:block;font-size:11px;font-weight:600;letter-spacing:.06em;color:var(--muted,#5c625f)}
.motor-units-head p{margin:2px 0 10px;font-size:12px;color:var(--muted,#5c625f)}
.motor-unit-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
.motor-unit{display:grid;grid-template-columns:72px minmax(0,1fr);gap:12px;padding:10px;border:1px solid #dcd9d0;border-radius:10px;background:var(--paper,#f6f5f1);color:var(--ink,#1b1d1c)}
.motor-unit.selected{border-color:var(--green,#2f5d3a);background:var(--white,#ffffff);box-shadow:inset 0 0 0 1px var(--green,#2f5d3a)}
.motor-unit-photo{display:grid;place-items:center;width:72px;height:72px;border-radius:8px;background:var(--white,#ffffff);overflow:hidden;color:#9aa293}
.motor-unit-photo img{display:block;width:100%;height:100%;object-fit:contain}
.motor-unit-photo img:not([src]),.motor-unit-photo img.motor-photo-failed{visibility:hidden}
.motor-unit-body{min-width:0;display:grid;gap:4px;align-content:start}
.motor-unit-body strong{font-size:13px;font-weight:600;line-height:1.3;overflow-wrap:anywhere}
.motor-unit-make{font-size:12px;color:var(--muted,#5c625f)}
.motor-unit dl{display:flex;flex-wrap:wrap;gap:4px 12px;margin:2px 0 0}
.motor-unit dl div{display:flex;gap:4px;font-size:12px}
.motor-unit dt{color:var(--muted,#5c625f)}
.motor-unit dd{margin:0;font-weight:600}
.motor-unit-features{margin:0;font-size:12px;color:var(--muted,#5c625f)}
.motor-unit-foot{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin-top:2px}
.motor-stock{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:600}
.motor-stock::before{content:'';width:7px;height:7px;border-radius:50%;background:currentColor}
.motor-stock.in{color:var(--green,#2f5d3a)}
.motor-stock.back{color:#8a5a12}
.motor-stock.ask{color:var(--muted,#5c625f)}
.motor-unit-line{font-size:12px;color:var(--muted,#5c625f)}
.motor-unit-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:4px}
.motor-unit-actions .btn{min-height:34px;padding:6px 12px;font-size:13px}
.motor-unit-sheet{font-size:12px;color:var(--green,#2f5d3a)}
.motor-units-more{margin-top:6px}
.motor-makers{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;margin:0 0 12px}
.motor-maker{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-height:56px;padding:10px 12px;border:1px solid #cfcbc1;border-radius:8px;background:var(--white,#ffffff);color:var(--ink,#1b1d1c);text-align:left;font:inherit;cursor:pointer}
.motor-maker strong{font-size:14px;font-weight:600}
.motor-maker small{font-size:12px;color:var(--muted,#5c625f)}
.motor-maker:hover{border-color:#868e87}
.motor-maker.active{border-color:var(--green,#2f5d3a);background:#f1f6f2;box-shadow:inset 0 0 0 1px var(--green,#2f5d3a)}
.motor-maker:focus-visible{outline:2px solid var(--green,#2f5d3a);outline-offset:2px}
.motor-maker-chosen{display:inline-flex;align-items:center;gap:4px;margin-top:2px;font-size:11px;font-weight:600;letter-spacing:.04em;color:var(--green,#2f5d3a)}
.motor-maker-chosen svg{width:12px;height:12px}
.motor-units-none{margin:0 0 8px;padding:12px 14px;border:1px dashed #cfcbc1;border-radius:8px;font-size:13px;color:var(--muted,#5c625f);background:var(--white,#ffffff)}
.motor-units-sub{display:block;margin:0 0 8px;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted,#5c625f)}
@media(max-width:420px){.motor-unit{grid-template-columns:56px minmax(0,1fr)}.motor-unit-photo{width:56px;height:56px}}

/* Cable exit: the head box at the motor end with its six grommet holes and the side channel; tap a hole to choose it. */
.cx-figure{margin:4px 0 14px;padding:12px;background:#fff;border:1px solid #e2dfd7;border-radius:12px;display:grid;grid-template-columns:minmax(0,300px) minmax(0,1fr);gap:14px;align-items:center}
.cx-stage svg{width:100%;height:auto;display:block}
.cx-hole{cursor:pointer}
.cx-hole:hover circle:first-of-type{stroke-width:1.6}
.cx-figure figcaption{display:flex;flex-direction:column;gap:4px;font-size:13px;line-height:19px;color:var(--muted,#5c625f)}
.cx-figure figcaption strong{color:var(--ink,#1b1d1c);font-size:14px}
@media (max-width:640px){.cx-figure{grid-template-columns:minmax(0,1fr)}}
