.customer-page {
  --reading: clamp(1rem, .95rem + .22vw, 1.15rem);
  font-size: var(--reading);
  line-height: 1.5;
}
.customer-page :is(.small,small,label,legend,input,select,button,footer,.badge,.eyebrow,.wall-viewer p,.tax-breakdown,.price-box>span,#cSummary,.wall-stage canvas,.customer-hero p) {
  font-size: var(--reading);
  line-height: 1.5;
}
.customer-page :is(.small,small,label,legend,footer,.badge,.eyebrow,.wall-viewer p,.customer-hero p,#cSummary p,.tax-breakdown,.price-box>span),
.customer-page #cCountLabel small,.customer-page #cDepthHint {
  color: #141414;
}
.customer-page .wall-viewer p {margin: .5rem 1rem .75rem; font-weight: 500}
.customer-page .wall-view-tabs,.customer-page .wall-view-controls {flex-wrap:wrap; gap:.5rem}
.customer-page .wall-view-controls button {min-width:2.75rem; min-height:2.75rem}
.customer-page :is(.price-box>span,.tax-breakdown span) {font-weight:650}
.customer-page h3 {font-size:1.2rem}
.customer-page :is(.card,fieldset,.fields>*) {min-width:0}
.customer-page :is(.small,small,label,button,.tax-breakdown) {overflow-wrap:anywhere}
@media(max-width:56rem){
 .customer-page .customer-form {grid-template-columns:minmax(0,1fr)}
 #customerResult.customer-result {position:static}
}
@media(max-width:35rem){
 .customer-page .fields {grid-template-columns:minmax(0,1fr)}
 .customer-page .customer-side {padding:.75rem}
 .customer-page .counter-fittings {table-layout:fixed}
 .customer-page .counter-fittings th {overflow-wrap:anywhere}
}

#customerForm .c-mode {
  width: min(100%, 22rem);
  margin-bottom: 1.15rem;
}
#customerForm .c-mode legend,
#customerForm .c-mode label {
  font-size: .9375rem;
  line-height: 1.3;
}
#customerForm .c-mode > div {
  padding: 2px;
  grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr);
}
#customerForm .c-mode span {
  min-height: 2.15rem;
  padding: .2rem .35rem;
}
#customerForm :is(#cDepthHint,#cCountLabel small,#cDividerHint):not(:empty) {
  display: block;
  max-width: 100%;
  margin-top: .3rem;
  font-size: clamp(.875rem,.84rem + .12vw,.9375rem);
  font-weight: 400;
  line-height: 1.4;
  color: #111;
  white-space: normal;
  overflow-wrap: anywhere;
  hyphens: auto;
}
#customerResult.customer-result .price-box > span,
#customerResult.customer-result .tax-breakdown > div:not(.gross) > span {
  font-size: clamp(1.1875rem,1.12rem + .25vw,1.375rem);
  font-weight: 650;
}
@media (max-width:56rem) {
  .customer-form > .wall-viewer { min-width: 0; margin: 0; }
}


.customer-page > header {min-height:0; flex-wrap:nowrap; padding-block:14px; gap:12px}
.customer-page > header .badge {flex-shrink:0}
.customer-page .aircon-logo {width:min(210px,45vw); height:auto; aspect-ratio:244/78}
.retail-logo {position:relative; overflow:hidden; width:min(248px,48vw); aspect-ratio:4.7}
.retail-logo img {position:absolute; width:134%; max-width:none; height:auto; left:-18%; top:50%; transform:translateY(-51%); filter:brightness(1.09)}
@media(max-width:600px){.customer-page > header{padding:10px 14px}.customer-page > header .badge{font-size:12px;padding:4px 8px}}

.customer-page {background:#f0f1f2;color:#132b29}
.customer-page > header {border-top:0;padding:16px clamp(16px,4vw,70px)}
.customer-page .customer-layout {max-width:1536px;margin:auto;padding:0 clamp(14px,3vw,48px) 40px}
.customer-page .customer-hero {padding:clamp(22px,3vw,48px) 0}
.customer-hero h1 {margin:0;color:#092e29;font-size:clamp(1.7rem,3vw,2.9rem);line-height:1.13}
@media(min-width:56.01rem){.customer-page .customer-form {grid-template-columns:1fr 1fr;gap:18px}}
.customer-form>.card {border:1px solid #d5dad9;border-radius:18px;box-shadow:none;padding:clamp(16px,2.25vw,36px)}
#customerForm .c-mode {width:min(100%,32rem);margin-bottom:1.5rem}
#customerForm .c-mode legend,.picker legend {font-size:1.12rem;font-weight:700;margin-bottom:.6rem}
#customerForm .c-mode span {min-height:44px;font-size:1rem}
#customerForm .c-mode input:checked+span {background:#095a53;color:white}
.picker {border:0;padding:0;margin:0 0 1.1rem}
.type-cards,.swatches {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(5px,1vw,15px)}
.swatches {grid-template-columns:1fr 1fr}
.picker button {background:white;color:#142c28;border:1px solid #c9d2cf;border-radius:12px;padding:8px;font:inherit;cursor:pointer;line-height:1.2}
.picker button[aria-pressed=true] {border-color:#095a53;background:#eff8f5;box-shadow:inset 0 0 0 1px #095a53}
.picker button:focus-visible {outline:3px solid #247a70;outline-offset:2px}
.type-cards button {display:grid;justify-items:center;align-content:space-between;font-size:clamp(.83rem,1.3vw,1.12rem);font-weight:600}
.type-cards img {width:100%;height:auto;max-height:160px;aspect-ratio:171/164;object-fit:contain;mix-blend-mode:multiply}
.other-types {margin-top:8px;font-size:.95rem}
.other-types summary {cursor:pointer;color:#285d57}
.other-types div {display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.swatches button {display:flex;align-items:center;gap:10px;min-height:48px}
.swatches i {height:28px;width:28px;border-radius:5px;border:1px solid #0002;flex-shrink:0}
#customerResult {padding:clamp(12px,1.3vw,20px)}
#customerResult .wall-viewer {margin:0 0 12px}
.quote-totals {border:1px solid #d6dcda;border-radius:14px;padding:12px 18px;margin:0 0 18px}
.quote-totals .price-box {padding:0;margin:0;border:0}
.quote-totals .price-box strong {font-size:1.25rem;color:inherit}
.quote-totals .tax-breakdown .gross {border-top:1px solid #d1d9d6;padding-top:.6rem;color:#095a53}
@media(max-width:420px){.type-cards button{font-size:.79rem;padding:5px}.swatches button{font-size:.93rem;gap:6px}.swatches i{width:24px;height:24px}}

#planList {padding-inline-start:1.55rem}
#planList li {padding:10px 0;border-bottom:1px solid #d5dfdc}
#planList p {margin:3px 0 6px}
#planList button,#cancelEdit {background:#fff;color:#15544b;border:1px solid #c9d6d3;border-radius:8px;margin-right:8px;padding:6px 10px}
.plan-actions {display:grid;gap:8px;margin-top:18px}
.plan-actions form {display:grid;gap:10px}
.plan-actions textarea {width:100%;font:inherit;border:1px solid #c9d6d3;border-radius:8px;padding:8px}
.plan-actions button {background:#095a53;color:white;border:0;border-radius:10px;min-height:44px;font:inherit}
.plan-actions button:disabled {opacity:.55}
#planStatus:empty {display:none}
@media(max-width:500px){.type-cards {grid-template-columns:repeat(2,minmax(0,1fr))}}

.customer-page:not(.has-design) #customerForm > :not(.type-picker),
.customer-page:not(.has-design) #wallViewer,
.customer-page:not(.has-design) .quote-totals,
.customer-page:not(.has-design) .draft-summary {display:none}
