*{box-sizing:border-box;margin:0;padding:0;}

body{
  background:var(--body-bg);
  font-family:'Poppins',sans-serif;
  color:var(--navy);
  padding:46px 20px 60px;
  display:flex;
  flex-direction:column;
  min-height:100vh;
  min-height:100dvh;
}

/* ── Ambient aurora background ─────────────────────────────────────────── */
.thermii-aurora{
  position:fixed;
  inset:0;
  z-index:-1;
  overflow:hidden;
  pointer-events:none;
  background:linear-gradient(45deg,#ecdcf4 0%,#eef0f8 28%,#f7f3ef 52%,#e3eff3 78%,#dff0ea 100%);
  animation:auroraFadeIn 1.2s ease both;
}
@keyframes auroraFadeIn{
  0%  {opacity:0;}
  100%{opacity:1;}
}
.aurora-blob{
  position:absolute;
  border-radius:50%;
  filter:blur(48px);
  will-change:transform;
}
/* Two-tone: a brighter, tighter core inside a soft halo → luminous, trackable shape */
.ab1{ /* lavender — bottom-left */
  bottom:-18%;left:-12%;width:60vw;height:60vw;
  background:radial-gradient(circle at center,rgba(178,140,232,0.98) 0%,rgba(196,168,233,0) 40%),
             radial-gradient(circle at center,rgba(196,168,233,0.7) 0%,rgba(196,168,233,0) 72%);
  animation:aurora-1 10s linear infinite;
}
.ab2{ /* pink — bottom-centre */
  bottom:-22%;left:28%;width:55vw;height:55vw;
  background:radial-gradient(circle at center,rgba(243,160,210,0.98) 0%,rgba(245,188,221,0) 40%),
             radial-gradient(circle at center,rgba(245,188,221,0.7) 0%,rgba(245,188,221,0) 72%);
  animation:aurora-2 13s linear infinite;
}
.ab3{ /* peach — right */
  bottom:4%;right:-16%;width:55vw;height:55vw;
  background:radial-gradient(circle at center,rgba(249,190,140,0.98) 0%,rgba(250,210,178,0) 40%),
             radial-gradient(circle at center,rgba(250,210,178,0.7) 0%,rgba(250,210,178,0) 72%);
  animation:aurora-3 11s linear infinite;
}
.ab4{ /* sky blue — top-left */
  top:-22%;left:-12%;width:62vw;height:62vw;
  background:radial-gradient(circle at center,rgba(120,190,236,0.98) 0%,rgba(168,212,238,0) 40%),
             radial-gradient(circle at center,rgba(168,212,238,0.7) 0%,rgba(168,212,238,0) 72%);
  animation:aurora-4 14s linear infinite;
}
.ab5{ /* mint — top-right */
  top:-20%;right:-12%;width:55vw;height:55vw;
  background:radial-gradient(circle at center,rgba(128,222,198,0.98) 0%,rgba(176,229,214,0) 40%),
             radial-gradient(circle at center,rgba(176,229,214,0.7) 0%,rgba(176,229,214,0) 72%);
  animation:aurora-5 12s linear infinite;
}
/* Continuous orbits — start frame == end frame so the loop never stops or reverses */
@keyframes aurora-1{
  0%  {transform:translate(0,0) scale(1);}
  25% {transform:translate(20vw,-12vh) scale(1.18);}
  50% {transform:translate(30vw,10vh) scale(1.32);}
  75% {transform:translate(12vw,20vh) scale(1.16);}
  100%{transform:translate(0,0) scale(1);}
}
@keyframes aurora-2{
  0%  {transform:translate(0,0) scale(1);}
  25% {transform:translate(-18vw,-14vh) scale(1.2);}
  50% {transform:translate(-26vw,8vh) scale(1.3);}
  75% {transform:translate(-8vw,18vh) scale(1.14);}
  100%{transform:translate(0,0) scale(1);}
}
@keyframes aurora-3{
  0%  {transform:translate(0,0) scale(1);}
  25% {transform:translate(-22vw,-10vh) scale(1.16);}
  50% {transform:translate(-28vw,12vh) scale(1.34);}
  75% {transform:translate(-10vw,22vh) scale(1.18);}
  100%{transform:translate(0,0) scale(1);}
}
@keyframes aurora-4{
  0%  {transform:translate(0,0) scale(1);}
  25% {transform:translate(20vw,14vh) scale(1.18);}
  50% {transform:translate(28vw,-10vh) scale(1.3);}
  75% {transform:translate(10vw,-20vh) scale(1.15);}
  100%{transform:translate(0,0) scale(1);}
}
@keyframes aurora-5{
  0%  {transform:translate(0,0) scale(1);}
  25% {transform:translate(-18vw,12vh) scale(1.2);}
  50% {transform:translate(-26vw,-12vh) scale(1.34);}
  75% {transform:translate(-8vw,-20vh) scale(1.16);}
  100%{transform:translate(0,0) scale(1);}
}
/* White fade — top 30% of viewport so logo + progress bar sit on clean white */
.thermii-aurora::before{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(to bottom,
    rgba(255,255,255,1)   0%,
    rgba(255,255,255,0.9) 12%,
    rgba(255,255,255,0)   32%);
  pointer-events:none;
  z-index:1;
}
/* Film-grain overlay — kills banding, adds tactile matte texture */
.thermii-aurora::after{
  content:'';
  position:absolute;
  inset:0;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity:0.22;
  mix-blend-mode:overlay;
  pointer-events:none;
}

/* ── Respect reduced-motion: freeze all perpetual animation, keep resting state ─ */
@media (prefers-reduced-motion: reduce){
  .thermii-aurora,
  .kb-card,
  .aurora-blob,
  .wIntroAvatarWrap{
    animation:none!important;
  }
  .thermii-glow-ring{
    animation:none!important;
    opacity:0.58!important;
    transform:scale(1.05)!important;
  }
}

/* ── Logo ─────────────────────────────────────────────────────────────── */
.kb-logo{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:32px;
  padding:16px 0 12px;
}
.kb-logo-center{
  flex:1;
  display:flex;
  justify-content:center;
}
.kb-logo-side{
  flex:0 0 160px;
}
.kb-return-btn{
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:0;
  border:none;
  border-radius:0;
  font-family:'Poppins',sans-serif;
  font-size:12px;
  font-weight:500;
  color:var(--navy);
  text-decoration:none;
  background:transparent;
  white-space:nowrap;
}
.kb-return-btn:hover{opacity:0.7;}
.kb-logo-mobile-img{display:none;}
@media print{.kb-return-btn{display:none;}}
.thermii-qr-block{display:none;}
.kb-logo-img{
  width:auto;
  height:90px;
}
.kb-logo-print{display:none;}
@media(min-width:701px){
  body{padding-top:6px;}
  .kb-wrapper{position:relative;}
  .kb-logo{padding:50px 40px 40px 0;margin-bottom:0;}
  .kb-logo-side:first-child{position:absolute;top:8px;left:0;}
  .kb-logo-side{flex:0 0 auto;}
  .kb-logo-side:last-child{display:none;}
  .kb-logo-center{justify-content:flex-end;}
  .kb-logo-img{height:66px;}
}

/* ── Shared card ──────────────────────────────────────────────────────── */
.kb-card{
  background:#fff;
  border-radius:var(--card-radius);
  box-shadow:var(--shadow);
  padding:44px 24px 48px;
  margin-bottom:16px;
}
.filter-card{
  padding-top:28px;
  min-height:180px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}
.wIntroBanner{
  position:relative;
  margin:-28px -24px 24px;
  background:transparent;
  border-radius:0;
  padding:22px 28px;
  display:flex;
  align-items:center;
  gap:18px;
  overflow:visible;
}
.wIntroBanner::after{display:none;}
.banner-wave-bg{
  position:absolute;
  top:0;left:0;
  width:100%;
  height:calc(100% + 14px);
  display:block;
  z-index:0;
  pointer-events:none;
  -webkit-clip-path:inset(0 round 16px 16px 0 0);
  clip-path:inset(0 round 16px 16px 0 0);
}
.wIntroBanner>*:not(.banner-wave-bg){
  position:relative;
  z-index:1;
}
.wIntroAvatarWrap+div{margin-left:14px;}
/* Variant for system type card — full kb-card top padding is 44px */
.wIntroBannerSys{
  margin:-44px -24px 48px;
}
/* ── Thermii™ tips toggle ───────────────────────────────────────────── */
.tips-toggle-wrap{margin-left:auto;flex-shrink:0;display:flex;align-items:center;gap:10px;}
.tips-toggle-lbl{font-size:20px;font-weight:500;color:#fff;font-family:'Poppins',sans-serif;white-space:nowrap;}
.tips-toggle{position:relative;width:56px;height:32px;flex-shrink:0;}
.tips-toggle input{opacity:0;width:0;height:0;position:absolute;}
.tips-toggle-knob{position:absolute;inset:0;background:rgba(255,255,255,0.22);border-radius:999px;cursor:pointer;transition:background 0.2s;}
.tips-toggle-knob::before{content:'';position:absolute;width:26px;height:26px;left:3px;top:3px;background:#fff;border-radius:50%;transition:transform 0.2s;}
.tips-toggle input:checked + .tips-toggle-knob{background:#8cc63f;}
.tips-toggle input:checked + .tips-toggle-knob::before{transform:translateX(24px);}
/* ── Tips attention animations (first-time users only) ──────────────── */
/* ── Intro typewriter animation ─────────────────────────────── */
@keyframes thermii-sub-fadein{
  from{opacity:0;transform:translateY(-10px);}
  to  {opacity:1;transform:translateY(0);}
}
@keyframes thermii-cursor-blink{
  0%,100%{opacity:1;}50%{opacity:0;}
}
.thermii-typing::after{
  content:'|';
  margin-left:1px;
  animation:thermii-cursor-blink 0.65s step-end infinite;
  color:rgba(255,255,255,0.7);
}
.thermii-sub-visible{
  animation:thermii-sub-fadein 0.45s ease forwards!important;
}
@keyframes thermii-kit-spin{
  0%  {transform:scale(0) rotate(-360deg);opacity:0;}
  65% {transform:scale(1.18) rotate(10deg);opacity:1;}
  82% {transform:scale(0.9) rotate(-5deg);}
  100%{transform:scale(1) rotate(0deg);opacity:1;}
}
@keyframes tips-pulse{
  0%  {box-shadow:0 0 0 0    rgba(140,198,63,1),    0 0 0 0    rgba(140,198,63,0),    0 0 0 0 rgba(140,198,63,0);}
  28% {box-shadow:0 0 0 13px rgba(140,198,63,0.55), 0 0 0 0    rgba(140,198,63,0.85), 0 0 0 0 rgba(140,198,63,0);}
  56% {box-shadow:0 0 0 28px rgba(140,198,63,0),   0 0 0 14px rgba(140,198,63,0.45), 0 0 0 0 rgba(140,198,63,0);}
  82% {box-shadow:0 0 0 0    rgba(140,198,63,0),    0 0 0 28px rgba(140,198,63,0),    0 0 10px 3px rgba(140,198,63,0.6);}
  100%{box-shadow:0 0 0 0    rgba(140,198,63,0),    0 0 0 0    rgba(140,198,63,0),    0 0 7px 2px rgba(140,198,63,0.35);}
}
@keyframes tips-lbl-flash{
  0%,100%{color:rgba(255,255,255,0.6);}
  35%,65%{color:#fff;text-shadow:0 0 10px rgba(255,255,255,0.9);}
}
@keyframes tips-nudge{
  0%  {opacity:0;transform:translateY(-6px);}
  10% {opacity:1;transform:translateY(0);}
  80% {opacity:1;transform:translateY(0);}
  100%{opacity:0;transform:translateY(-4px);}
}
.tips-toggle-wrap.tips-attention{position:relative;}
.tips-toggle-wrap.tips-attention .tips-toggle-knob{
  animation:tips-pulse 1.1s ease-out 0.4s 4 forwards;
}
.tips-toggle-wrap.tips-attention .tips-toggle-lbl{
  animation:tips-lbl-flash 1.1s ease-in-out 0.4s 5 forwards;
}
#systemTypeCard .tips-toggle-wrap{display:none!important;}
/* ── Thermii™ tip bubbles ───────────────────────────────────────────── */
.thermii-tip{display:flex;align-items:center;gap:14px;background:transparent;border:none;padding:0;margin:20px auto 0;max-width:680px;width:100%;box-sizing:border-box;}
.thermii-tip-avatar{width:46px;height:46px;flex-shrink:0;}
.thermii-tip-bubble{
  position:relative;
  flex:1;
  background:linear-gradient(90deg,#fce7f8 0%,#fce7f8 16%,#d8f2fe 80%,#d8f2fe 100%);
  border:2px solid #72d9ff;
  border-radius:16px;
  padding:12px 16px;
  box-shadow:0 0 12px rgba(252,0,255,0.24);
}
/* Rotated-square tail — continuous with the bubble border */
.thermii-tip-bubble::before{
  content:'';
  position:absolute;
  left:-8px;top:50%;
  transform:translateY(-50%) rotate(45deg);
  width:13px;height:13px;
  background:#fce7f8;
  border-left:2px solid #72d9ff;
  border-bottom:2px solid #72d9ff;
  pointer-events:none;
}
.thermii-tip-text{font-size:13px;font-weight:400;color:#222846;font-family:'Poppins',sans-serif;line-height:1.6;margin:0;}
.thermii-tip-text strong{font-weight:500;}
body.tips-off .thermii-tip{display:none!important;}

/* ── "How is this calculated?" — Thermii speech-bubble explainer. Deliberately NOT
   .thermii-tip: the customer opens it explicitly, so it must survive the Tips
   toggle (print still hides it via .wkit-heat-calcinfo). ── */
.wkit-heat-calcinfo{display:none;align-items:flex-start;gap:14px;max-width:560px;margin:14px auto 4px;text-align:left;}
.wkit-heat-calcinfo.is-open{display:flex;}
.wkit-heat-calc-avatar{width:46px;height:46px;flex-shrink:0;margin-top:4px;}
.wkit-heat-calc-bubble{
  position:relative;
  flex:1;
  background:linear-gradient(90deg,#fce7f8 0%,#fce7f8 16%,#d8f2fe 80%,#d8f2fe 100%);
  border:2px solid #72d9ff;
  border-radius:16px;
  padding:12px 16px;
  box-shadow:0 0 12px rgba(252,0,255,0.24);
}
.wkit-heat-calc-bubble::before{
  content:'';
  position:absolute;
  left:-8px;top:23px;
  transform:rotate(45deg);
  width:13px;height:13px;
  background:#fce7f8;
  border-left:2px solid #72d9ff;
  border-bottom:2px solid #72d9ff;
  pointer-events:none;
}
.wkit-heat-calc-line{display:flex;gap:8px;font-size:12.5px;font-weight:400;color:#222846;font-family:'Poppins',sans-serif;line-height:1.6;margin:0 0 7px;}
.wkit-heat-calc-line:last-child{margin-bottom:0;}
.wkit-heat-calc-line span:first-child{color:#ff5b00;flex-shrink:0;}

/* Keyboard focus ring for accordion headers (room cards, categories, heat panel) */
.kit-room-hdr:focus-visible,.wkit-cat-hdr:focus-visible,.wkit-heat-hdr:focus-visible{
  outline:none;
  box-shadow:0 0 0 3px rgba(255,91,0,0.45);
}
/* …and for the small pill/text buttons that had no visible focus at all */
.eq-ans-edit:focus-visible,.wkit-heat-calcbtn:focus-visible,.wkit-heat-runcost button:focus-visible,
.kit-qty-btn:focus-visible,.kit-del-btn:focus-visible,#thermiiUndoBar button:focus-visible{
  outline:none;
  box-shadow:0 0 0 3px rgba(255,91,0,0.45);
  border-radius:8px;
}

/* ── Thermii™ avatar animations ───────────────────────────────────────── */
.wIntroAvatarWrap{
  flex-shrink:0;
  position:relative;
  animation:thermii-float 3s ease-in-out 0.65s infinite;
}
.wIntroAvatar{
  width:52px;height:52px;display:block;position:relative;z-index:1;
}
.wIntroBannerSys .wIntroAvatar{
  opacity:0;
  transform:scale(0.35);
}
.thermii-glow-ring{
  position:absolute;
  width:80px;height:80px;
  top:50%;left:50%;
  margin:-40px 0 0 -40px;
  border-radius:50%;
  background:#fff;
  filter:blur(10px);
  pointer-events:none;
  opacity:0;
  z-index:0;
  animation:thermiiGlowIn 1.5s ease-out 0.3s 1 both,
            thermiiGlowPulse 3.2s ease-in-out 1.8s infinite;
}
/* On white card backgrounds the white glow is invisible — use this coloured variant */
.thermii-glow-ring-color{
  position:absolute;
  width:90px;height:90px;
  top:50%;left:50%;
  margin:-45px 0 0 -45px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(126,80,198,0.55) 0%,rgba(1,234,219,0.3) 60%,transparent 80%);
  filter:blur(8px);
  pointer-events:none;
  opacity:0;
  z-index:0;
  animation:thermiiGlowIn 1.5s ease-out 0.3s 1 both,
            thermiiGlowPulse 3.2s ease-in-out 1.8s infinite;
}
@media(prefers-reduced-motion:reduce){
  .thermii-glow-ring-color{animation:none!important;opacity:0.58!important;transform:scale(1.05)!important;}
}
/* Entrance: bursts in, then settles to a resting glow (not fully out) */
@keyframes thermiiGlowIn{
  0%  {opacity:0;   transform:scale(0.7);}
  20% {opacity:1;   transform:scale(1);}
  55% {opacity:0.88;transform:scale(1.08);}
  100%{opacity:0.58;transform:scale(1.05);}
}
/* Perpetual subtle "breathing" — starts where the entrance settles (seamless) */
@keyframes thermiiGlowPulse{
  0%,100%{opacity:0.58;transform:scale(1.05);}
  50%    {opacity:0.8; transform:scale(1.12);}
}
@keyframes thermii-pop{
  0%  {transform:scale(0.35);opacity:0;}
  100%{transform:scale(1);opacity:1;}
}
@keyframes thermii-float{
  0%,100%{transform:translateY(0);}
  50%    {transform:translateY(-7px);}
}

/* ── System Type ──────────────────────────────────────────────────────── */
.kb-section-title{
  text-align:center;
  font-size:28px;
  font-weight:300;
  color:var(--navy);
  margin-bottom:24px;
}

.system-type-row{
  display:flex;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
}

.system-option{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:18px;
  width:163px;
  height:201px;
  padding:0;
  border:2px solid transparent;
  border-radius:12px;
  background:#f3f3f3;
  cursor:pointer;
  transition:all 0.18s ease;
  user-select:none;
}
.system-option:hover{
  border-color:var(--accent);
  background:#fff8f5;
}
.system-option.is-selected{
  border-color:var(--accent);
  background:var(--sel-bg);
}
.system-option.is-selected .so-label{
  color:var(--accent);
  font-weight:500;
}

.so-icon{
  width:80px;
  height:80px;
  display:block;
  flex-shrink:0;
}

.so-label{
  font-size:22px;
  font-weight:300;
  color:var(--navy);
  text-align:center;
  transition:color 0.18s ease;
}

/* ── Filter intro ─────────────────────────────────────────────────────── */
.filter-intro{
  text-align:center;
  font-size:22px;
  font-weight:400;
  color:var(--navy);
  margin:40px 0 28px;
}

/* ── Filter card ──────────────────────────────────────────────────────── */
.filter-groups{
  display:grid;
  grid-template-columns:repeat(3,auto);
  justify-content:center;
  gap:0;
}
.filter-group{
  padding:0 36px;
  position:relative;
}
.filter-group + .filter-group::before{
  content:'';
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:1px;
  background:#c8c8c8;
}
.filter-group-label{
  font-size:22px;
  font-weight:300;
  color:var(--navy);
  text-align:center;
  margin-bottom:16px;
}
.filter-options{
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:nowrap;
}

/* Global focus-visible ring — native controls + custom-roled tiles/switches.
   No existing blanket outline:none exists at this level to fight (the only
   outline:none rules in this file are on text inputs, which keep their own
   focus-within treatment untouched), so this only adds visibility, nothing
   is being overridden. */
.filter-option:focus-visible,
.thermostat-card:focus-visible,
.system-option:focus-visible,
.colour-dot:focus-visible,
.neohub-card:focus-visible,
.wcad-card:focus-visible,
button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible{
  outline:3px solid #2f7dff;
  outline-offset:2px;
  border-radius:8px;
}
.filter-option{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:143px;
  height:176px;
  padding:0;
  border:2px solid transparent;
  border-radius:10px;
  background:#f3f3f3;
  cursor:pointer;
  transition:all 0.18s ease;
  user-select:none;
}
.filter-option:hover{
  border-color:var(--accent);
  background:#fff8f5;
}
.filter-option.is-selected{
  border-color:var(--green);
  background:#f4fbe8;
}
.filter-option.is-selected .fo-label{
  color:#70af21;
  font-weight:600;
}
.fo-icon{
  width:60px;
  height:60px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.fo-icon img{
  width:60px;
  height:60px;
  display:block;
  transition:filter 0.18s ease;
}
.filter-option:hover .fo-icon img{
  filter:brightness(0) invert(39%) sepia(100%) saturate(1800%) hue-rotate(347deg) brightness(110%);
}
.filter-option.is-selected .fo-icon img{
  filter:brightness(0) saturate(100%) invert(72%) sepia(31%) saturate(600%) hue-rotate(50deg) brightness(78%);
}
.fo-label{
  font-size:18px;
  font-weight:300;
  color:var(--navy);
  text-align:center;
  line-height:1.3;
  margin-top:8px;
  transition:color 0.18s ease;
}
.filter-option.is-selected .fo-label{
  font-weight:500;
}
.filter-option.is-selected .fo-icon .stroke-icon{stroke:#70af21;}
.filter-option.is-selected .fo-icon .fill-icon{fill:#70af21;}
.fo-rec-badge{
  display:none;
  margin-top:6px;
  font-family:'Poppins',sans-serif;font-size:11px;font-weight:600;
  color:#70af21;letter-spacing:0.03em;text-transform:uppercase;
}
.filter-option.is-recommended .fo-rec-badge{display:block;}
/* Pipe spacing: the recommendation wears the install-method screen's green style
   (green border, pale green fill, green label) — persistently, so it stays the
   visible benchmark even while a non-recommended spacing is selected */
.filter-option.is-recommended[data-group="wRoomPipeSpacing"]{
  border-color:var(--green);
  background:#f4fbe8;
}
.filter-option.is-recommended[data-group="wRoomPipeSpacing"] .fo-label{
  color:#70af21;
  font-weight:600;
}
.filter-option.is-recommended[data-group="wRoomPipeSpacing"] .fo-icon img{
  filter:brightness(0) saturate(100%) invert(72%) sepia(31%) saturate(600%) hue-rotate(50deg) brightness(78%);
}
/* Greyed-out tiles (pipe centres that don't suit the setup) — still clickable,
   so they brighten under the cursor to invite the tap */
.filter-option.is-spacing-disabled{
  opacity:0.38;
  filter:grayscale(1);
  cursor:pointer;
}
.filter-option.is-spacing-disabled:hover{
  opacity:1;
  filter:none;
}
/* A chosen non-recommended spacing wears amber — unmistakably selected, clearly
   "off the recommendation", and visually paired with the amber note beneath it
   (green stays reserved for the recommended tile) */
.filter-option.is-spacing-disabled.is-selected{
  opacity:1;
  filter:none;
  border-color:#f0c000;
  background:#fffbea;
}
.filter-option.is-spacing-disabled.is-selected .fo-label{
  color:#a06000;
  font-weight:600;
}
.filter-option.is-spacing-disabled.is-selected .fo-icon img{
  filter:brightness(0) saturate(100%) invert(38%) sepia(56%) saturate(1400%) hue-rotate(20deg) brightness(92%);
}
/* Joist/overlay hardware is physically 150mm (grooved plates / pre-routed boards) —
   there the grey tiles are reference-only and stay locked */
.filter-option.is-spacing-locked{
  pointer-events:none;
  cursor:not-allowed;
}
@keyframes fo-confirm{
  0%  {transform:scale(1.06);border-color:transparent;box-shadow:0 0 0 2px #01ffd0,0 0 0 4px #7e50c6,0 8px 22px rgba(126,80,198,0.28);background:linear-gradient(135deg,rgba(1,255,208,0.12),rgba(186,57,181,0.12));}
  100%{transform:scale(1);  border-color:transparent;box-shadow:none;background:#f3f3f3;}
}
.filter-option.fo-flash{animation:fo-confirm 0.35s ease-out forwards;}
.fo-system-tag{display:block;font-size:9px;font-weight:700;letter-spacing:0.07em;margin-top:4px;text-transform:uppercase;}
.fo-tag-mat{color:#8c9ab5;}
.fo-tag-cable{color:#8c9ab5;}
#eCoveringTip{display:none;position:relative;margin-top:18px;max-width:600px;margin-left:auto;margin-right:auto;background:#fff;border:1.5px solid #e4e8f0;border-radius:14px;padding:15px 16px 15px 60px;font-family:'Poppins',sans-serif;font-size:13px;color:#222846;line-height:1.6;box-shadow:0 4px 18px rgba(34,40,70,0.09);}
#eCoveringTip::before{content:'';position:absolute;top:-10px;left:50%;transform:translateX(-50%);border:10px solid transparent;border-top:none;border-bottom-color:#e4e8f0;}
#eCoveringTip::after{content:'';position:absolute;top:-8px;left:50%;transform:translateX(-50%);border:8px solid transparent;border-top:none;border-bottom-color:#fff;}
.e-tip-avatar{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:34px;height:34px;}
.e-tip-title{font-weight:600;margin-bottom:5px;}

/* ── Results ──────────────────────────────────────────────────────────── */
.results-heading{
  font-size:38px;
  font-weight:300;
  text-align:center;
  color:var(--navy);
  margin:56px 0 32px;
}

.results-grid{
  display:grid;
  grid-template-columns:repeat(3,398px);
  justify-content:center;
  gap:20px;
}

.no-results{
  grid-column:1/-1;
  text-align:center;
  padding:52px 48px 56px;
  background:#fff;
  border-radius:var(--card-radius);
  box-shadow:var(--shadow);
}
.no-results-heading{
  font-size:28px;
  font-weight:300;
  color:var(--navy);
  margin-bottom:16px;
}
.no-results-body{
  font-size:16px;
  font-weight:300;
  color:#333;
  line-height:1.65;
  margin-bottom:36px;
}
.no-results-btns{
  display:flex;
  gap:20px;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
}

/* ── Product card ─────────────────────────────────────────────────────── */
.product-card{
  background:#fff;
  border-radius:var(--card-radius);
  box-shadow:var(--shadow);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  width:398px;
  min-height:663px;
  animation:fadeIn 0.28s ease both;
}
@keyframes fadeIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
#waterPanel .kb-card,#electricPanel .kb-card,#unsurePanel .kb-card{animation:none;}
/* Respect the OS "reduce motion" setting — collapse all animation to imperceptible
   durations (winks, pops, floats, toasts, accordion slides all become instant). */
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{
    animation-duration:0.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:0.01ms!important;
  }
}
@keyframes wToastIn{from{opacity:0;transform:translate(-50%,-50%) scale(0.82)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}
@keyframes wThermiiWink{0%,100%{transform:scaleY(1)}30%,58%{transform:scaleY(0.07)}}
.thermii-wink-eye{transform-box:fill-box;transform-origin:center;}

.product-img{
  position:relative;
  width:100%;
  height:256px;
  overflow:hidden;
  background:#c8cdd8;
}
.product-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.product-img-placeholder{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#c8cdd8 0%,#a8b0be 100%);
}
.product-img-placeholder svg{
  width:64px;
  height:64px;
  opacity:0.35;
}

.method-badge{
  position:absolute;
  top:14px;
  left:14px;
  background:rgba(34,40,70,0.82);
  color:#fff;
  font-size:16px;
  font-weight:400;
  width:96px;
  height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  border:2px solid #fff;
  backdrop-filter:blur(4px);
}

.product-body{
  padding:24px 26px 28px;
  display:flex;
  flex-direction:column;
  flex:1;
}
.product-name{
  font-size:30px;
  font-weight:300;
  color:var(--navy);
  margin-bottom:14px;
  line-height:1.25;
}
.product-desc{
  font-size:18px;
  font-weight:300;
  color:#000;
  line-height:1.55;
  margin-bottom:22px;
}
.product-features{
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-bottom:26px;
  flex:1;
}
.product-features li{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:19px;
  font-weight:400;
  color:#000;
}
.product-features li svg{
  width:22px;
  height:22px;
  flex-shrink:0;
}

.product-btn{
  display:block;
  width:337px;
  height:50px;
  background:var(--accent);
  color:#fff;
  text-align:center;
  font-family:'Poppins',sans-serif;
  font-size:16px;
  font-weight:600;
  padding:0;
  line-height:50px;
  border-radius:6px;
  border:none;
  cursor:pointer;
  text-decoration:none;
  transition:background 0.18s ease;
  align-self:center;
}
.product-btn:hover{background:var(--accent2);}

/* ── Electric panel ───────────────────────────────────────────────────── */
.electric-covering-row{
  display:flex;
  justify-content:center;
  gap:16px;
  flex-wrap:wrap;
}
.room-tiles-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:12px;
  width:100%;
  padding:0 24px;
  box-sizing:border-box;
}
.room-tiles-grid .filter-option{width:auto;height:auto;padding:16px 8px 14px;}
@media(max-width:700px){
  .room-tiles-grid{grid-template-columns:repeat(3,1fr);}
  .room-tile-solo{grid-column:2;}
}
.eq-section{
  padding:24px 0;
}
.eq-title{
  font-size:28px;
  font-weight:300;
  color:var(--navy);
  text-align:center;
  margin-bottom:20px;
}
.eq-divider{
  height:1px;
  background:#c8c8c8;
  width:75%;
  margin:0 auto;
}
.fo-sublabel{
  font-size:12px;
  font-weight:300;
  color:#888;
  text-align:center;
  margin-top:-4px;
}
.eq-input-row{
  display:flex;
  justify-content:center;
  margin-bottom:12px;
}
.eq-input-wrap{
  display:flex;
  align-items:stretch;
  border-radius:10px;
  overflow:hidden;
  border:2px solid #d8d8d8;
  transition:border-color 0.18s ease, box-shadow 0.18s ease;
  background:#fff;
}
.eq-input-wrap:focus-within{
  border-color:var(--accent);
  box-shadow:0 0 0 3px rgba(255,90,23,0.25);
}
.eq-input{
  width:300px;
  height:52px;
  border:none;
  padding:0 18px;
  font-family:'Poppins',sans-serif;
  font-size:18px;
  font-weight:300;
  color:var(--navy);
  outline:none;
  background:transparent;
  -moz-appearance:textfield;
}
.eq-input::-webkit-outer-spin-button,
.eq-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}
.eq-input::placeholder{color:#aaa;}
.eq-input-suffix{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 18px;
  background:#eaeaea;
  font-size:17px;
  font-weight:500;
  color:#666;
  border-left:1px solid #d8d8d8;
  white-space:nowrap;
}
/* Area unit toggle (m² / ft²) — replaces static suffix */
.area-unit-suffix{
  padding:0;
  background:transparent;
  border-left:none;
}
.area-unit-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  height:100%;
  padding:0 13px;
  border:none;
  border-left:1px solid #d8d8d8;
  background:#eaeaea;
  font-family:'Poppins',sans-serif;
  font-size:14px;
  font-weight:600;
  color:#888;
  cursor:pointer;
  transition:background 0.15s,color 0.15s;
  white-space:nowrap;
}
.area-unit-btn.au-active{
  background:#ff5b00;
  color:#fff;
  border-left-color:#ff5b00;
}
.wdist-unit-btn{
  display:flex;align-items:center;justify-content:center;
  height:100%;padding:0 13px;
  border:none;border-left:1px solid #d8d8d8;
  background:#eaeaea;
  font-family:'Poppins',sans-serif;font-size:14px;font-weight:600;
  color:#888;cursor:pointer;
  transition:background 0.15s,color 0.15s;white-space:nowrap;
}
.wdist-unit-btn.au-active{
  background:#ff5b00;color:#fff;border-left-color:#ff5b00;
}
.eq-note{
  font-size:14px;
  font-weight:300;
  color:#555;
  text-align:center;
  max-width:800px;
  margin:0 auto 20px;
  line-height:1.6;
}
.eq-input-warning{
  font-size:14px;font-weight:500;color:#c0392b;
  text-align:center;margin:6px auto 0;
  display:none;
}
.eq-subtext{
  font-size:16px;
  font-weight:300;
  color:#555;
  text-align:center;
  max-width:600px;
  margin:-14px auto 28px;
  line-height:1.6;
}
.eq-unsure-link{
  display:inline-block;
  margin-top:35px;
  font-size:15px;
  font-weight:400;
  color:#b53bb7;
  text-decoration:none;
  cursor:pointer;
  background:none;border:none;font-family:inherit;
}
.eq-unsure-link:hover{color:var(--accent2);}
#wInstallCompareToggle{
  display:inline-flex;align-items:center;gap:6px;
  margin-top:20px;
  padding:10px 22px;
  border-radius:50px;
  border:2px solid #b53bb7;
  background:#fff;
  color:#b53bb7;
  font-size:15px;font-weight:600;
  cursor:pointer;font-family:inherit;
  transition:background .18s,color .18s;
}
#wInstallCompareToggle:hover{background:#b53bb7;color:#fff;}
/* ── Electric progress bar ─────────────────────────────────────────────── */
.eq-progress{
  position:relative;
  z-index:50;
  background:transparent;
  padding:22px 0;
  display:flex;
  align-items:center;
  gap:20px;
  margin-bottom:8px;
  width:100%;
}
.eq-progress.is-pinned{
  position:fixed;
  top:0;
  z-index:200;
  background:var(--body-bg);
  padding:16px 24px;
  box-shadow:0 2px 16px rgba(0,0,0,0.1);
}
.eq-back-btn,.eq-restart-btn{
  background:none;border:none;padding:0;
  cursor:pointer;flex-shrink:0;
  display:flex;align-items:center;gap:8px;
  font-family:'Poppins',sans-serif;
  font-size:16px;font-weight:300;
  color:var(--navy);
  transition:opacity 0.18s;
}

.eq-back-btn:hover,.eq-restart-btn:hover{opacity:0.7;}
.eq-back-btn svg,.eq-restart-btn svg{
  width:24px;height:24px;
  flex-shrink:0;display:block;
}
.eq-progress-center{
  flex:1;
  padding-top:28px;
}
.eq-progress-track{
  position:relative;
  height:8px;
  background:#cbcfdc;
  border-radius:999px;
  max-width:640px;
  margin:0 auto;
}
.eq-progress-fill{
  position:absolute;
  left:0;top:0;
  height:100%;
  width:0%;
  background:var(--green);
  border-radius:999px;
  transition:width 0.4s ease;
}
.eq-progress-thumb{
  position:absolute;
  top:50%;
  left:0%;
  transform:translate(-50%,-50%);
  width:22px;height:22px;
  background:var(--green);
  border-radius:50%;
  border:3px solid var(--body-bg);
  box-shadow:0 0 0 1.5px var(--green);
  transition:left 0.4s ease;
  z-index:1;
}
.eq-progress-pct{
  position:absolute;
  bottom:calc(100% + 8px);
  left:50%;
  transform:translateX(-50%);
  font-size:18px;font-weight:500;
  color:var(--green);
  white-space:nowrap;
  font-family:'Poppins',sans-serif;
}
/* ── View Recommended Products CTA ────────────────────────────────────── */
.eq-cta-wrap{
  overflow:hidden;
  max-height:0;
  opacity:0;
  transition:max-height 0.4s ease, opacity 0.35s ease;
}
.eq-cta-wrap.is-visible{
  max-height:160px;
  opacity:1;
}
.eq-cta-divider{
  height:1px;
  background:#c8c8c8;
  width:75%;
  margin:0 auto 36px;
}
.view-products-btn{
  display:block;
  width:100%;
  margin:0 auto 8px;
  padding:18px 24px;
  background:var(--accent);
  color:#fff;
  font-family:'Poppins',sans-serif;
  font-size:20px;
  font-weight:600;
  text-align:center;
  border:1px solid var(--accent);
  border-radius:12px;
  cursor:pointer;
  transition:opacity 0.18s ease;
  letter-spacing:0.01em;
}
.view-products-btn:hover{background:linear-gradient(55deg,#01ffd0,#2e72dd,#7e50c6,#ba39b5);border:none;padding:19px 25px;}
.view-products-btn:active{background:linear-gradient(55deg,#01ffd0,#2e72dd,#7e50c6,#ba39b5);border:none;padding:19px 25px;opacity:0.88;}
.view-products-btn:disabled,.view-products-btn:disabled:hover{opacity:0.38;cursor:not-allowed;background:var(--accent);border-color:var(--accent);}
/* ── Login Gate Modal ── */
#thermiiLoginModal{display:none;position:fixed;inset:0;z-index:9999;background:rgba(34,40,70,0.75);align-items:center;justify-content:center;padding:20px;}
#thermiiLoginModal.is-open{display:flex;}
.tlm-card{background:#fff;border-radius:18px;padding:36px 32px;max-width:460px;width:100%;text-align:center;}
.tlm-logo{width:56px;height:56px;margin:0 auto 14px;display:block;}
.tlm-title{font-family:'Poppins',sans-serif;font-size:21px;font-weight:700;color:#222846;margin:0 0 10px;}
.tlm-body{font-family:'Poppins',sans-serif;font-size:14px;color:#555;line-height:1.65;margin:0 0 18px;}
.tlm-ref{display:inline-block;background:#f0f4ff;border:1.5px solid #c5cde8;border-radius:8px;padding:6px 20px;font-family:'Poppins',sans-serif;font-size:15px;font-weight:700;color:#222846;letter-spacing:1px;margin-bottom:22px;}
.tlm-ref-label{font-size:11px;font-weight:400;color:#888;display:block;letter-spacing:0;margin-bottom:4px;}
.tlm-btns{display:flex;flex-direction:column;gap:10px;margin-bottom:4px;}
.tlm-btn-primary{display:block;width:100%;padding:14px;background:#ff5b00;border:none;border-radius:10px;font-family:'Poppins',sans-serif;font-size:15px;font-weight:600;color:#fff;cursor:pointer;text-decoration:none;transition:background 0.15s;}
.tlm-btn-primary:hover{background:#222846;}
.tlm-btn-secondary{display:block;width:100%;padding:13px;background:#fff;border:2px solid #222846;border-radius:10px;font-family:'Poppins',sans-serif;font-size:15px;font-weight:600;color:#222846;cursor:pointer;text-decoration:none;transition:background 0.15s;}
.tlm-btn-secondary:hover{background:#f5f5f5;}
.tlm-skip{display:block;margin-top:14px;font-family:'Poppins',sans-serif;font-size:13px;color:#bbb;cursor:pointer;background:none;border:none;width:100%;padding:0;}
.tlm-skip:hover{color:#888;}
/* ── TRM Reference badge on kit screens ── */
.trm-badge{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,0.18);border:1.5px solid rgba(255,255,255,0.4);border-radius:8px;padding:5px 14px;margin-top:10px;font-family:'Poppins',sans-serif;font-size:13px;font-weight:600;color:#fff;letter-spacing:0.5px;}
.trm-badge-label{font-weight:400;opacity:0.8;font-size:12px;}
.confirm-check-wrap{display:flex;align-items:center;gap:14px;width:100%;margin:0 auto 16px;text-align:left;padding:0 32px 0 32px;}
.confirm-check-wrap input[type="checkbox"]{appearance:none;-webkit-appearance:none;width:24px;height:24px;min-width:24px;border-radius:50%;border:2px solid #000;margin-top:1px;cursor:pointer;position:relative;transition:border-color 0.15s,background 0.15s;}
.confirm-check-wrap input[type="checkbox"]:checked{background:#8cc63f url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='2,8 6,12 14,4' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat;border-color:#8cc63f;}
.confirm-check-wrap input[type="checkbox"]:checked::after{display:none;}
.confirm-check-wrap label{font-family:'Poppins',sans-serif;font-size:13px;color:#222;line-height:1.6;cursor:pointer;}
/* ── Unsure info ───────────────────────────────────────────────────────── */
.eq-unsure-info{
  overflow:hidden;
  max-height:0;
  opacity:0;
  transition:max-height 0.35s ease, opacity 0.3s ease;
}
.eq-unsure-info.is-open{
  max-height:600px;
  opacity:1;
}
/* ── Install method comparison panel ──────────────────────────────────── */
.wic-panel{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:4px;padding:0 14px;}
@media(max-width:620px){.wic-panel{grid-template-columns:1fr;}}
.wic-card{background:#fff;border:2px solid #e4e8f0;border-radius:12px;padding:18px 16px 22px;display:flex;flex-direction:column;}
.wic-card.is-selected{border-color:var(--green);background:#f8fdf0;}
.wic-card.is-selected .wic-bullets li{border-bottom-color:#cbe8a8;}
.wic-card.is-selected .wic-divider{border-top-color:#cbe8a8;}
.wic-badge-row{margin-bottom:10px;}
.wic-badge-more{display:inline-block;background:#f0f2f7;color:#666;font-size:13px;font-weight:600;border-radius:20px;padding:4px 14px;font-family:'Poppins',sans-serif;}
.wic-badge-cheapest{display:inline-block;background:#eef9df;color:var(--green);font-size:13px;font-weight:600;border-radius:20px;padding:4px 14px;font-family:'Poppins',sans-serif;}
.wic-badge-sel{display:inline-block;background:var(--accent);color:#fff;font-size:13px;font-weight:700;border-radius:20px;padding:4px 16px;font-family:'Poppins',sans-serif;}
.wic-title{font-size:22px;font-weight:500;color:#1a1a2e;margin-bottom:4px;font-family:'Poppins',sans-serif;}
.wic-desc{font-size:12px;color:#777;margin-bottom:12px;line-height:1.5;}
.wic-price{font-size:34px;font-weight:600;color:var(--green);font-family:'Poppins',sans-serif;line-height:1;}
.wic-price-note{font-size:13px;color:#aaa;margin-bottom:0;margin-top:2px;font-family:'Poppins',sans-serif;}
.wic-price-row{display:flex;flex-direction:column;align-items:center;margin-bottom:12px;}
.wic-divider{border:none;border-top:1px solid #edf0f5;margin:10px 0;}
.wic-bullets{list-style:none;padding:0;margin:0 0 14px;font-size:13px;text-align:left;}
.wic-bullets li{color:#444;padding:6px 0;border-bottom:1px solid #edf0f5;display:flex;align-items:baseline;gap:8px;}
.wic-bullets li:last-child{border-bottom:none;}
.wic-bullets li::before{content:'✓';color:#70af21;font-weight:700;flex-shrink:0;}
.wic-bullets li.wic-con{color:#888;}
.wic-bullets li.wic-con::before{content:'–';color:#ccc;font-weight:400;}
.wic-switch-btn{margin-top:auto;width:100%;padding:9px 0;border-radius:8px;border:1px solid var(--accent);background:#fff;font-family:'Poppins',sans-serif;font-size:14px;font-weight:600;color:var(--accent);cursor:pointer;transition:background 0.15s,color 0.15s;}
.wic-switch-btn:hover{background:var(--accent);color:#fff;}
.wic-switch-btn.is-current{border:1px solid var(--green);color:var(--green);cursor:default;background:#fff;}
.wic-switch-btn.is-current:hover{background:#fff;color:var(--green);}
.wic-saving{text-align:center;font-size:13px;color:var(--green);font-weight:600;margin-top:19px;font-family:'Poppins',sans-serif;}
.wic-more-note{text-align:center;font-size:13px;color:#aaa;margin-top:19px;font-family:'Poppins',sans-serif;}
.wic-disclaimer{text-align:center;font-size:11px;color:#777;margin-top:28px;font-family:'Poppins',sans-serif;}
.eq-help-link{
  display:block;
  text-align:center;
  margin-top:35px;
  font-size:15px;
  font-weight:400;
  color:#b53bb7;
  text-decoration:none;
  cursor:pointer;
}
.eq-help-link:hover{color:#8e2b8f;}

/* Progressive reveal – one question at a time */
.eq-step{
  overflow:hidden;
  max-height:0;
  opacity:0;
  transform:translateY(8px);
  transition:none;
}
.eq-step.eq-visible{
  max-height:2000px;
  opacity:1;
  transform:translateY(0);
  transition:max-height 0.5s ease, opacity 0.35s ease, transform 0.35s ease;
}

/* ── Thermostat selector ──────────────────────────────────────────────── */
.thermostat-row{
  display:flex;
  justify-content:center;
  gap:20px;
  flex-wrap:wrap;
}
/* 5-card water thermostat grid — single row on wide desktop, graceful wrap below */
.tstat-grid-5{margin-left:auto;margin-right:auto;}
@media(min-width:1100px){
  .tstat-grid-5{max-width:1180px;gap:16px;}
  .tstat-grid-5 .thermostat-card{width:auto;flex:1 1 180px;max-width:222px;}
}
@media(max-width:1099px) and (min-width:701px){
  .tstat-grid-5{max-width:760px;gap:16px;}
  .tstat-grid-5 .thermostat-card{width:auto;flex:1 1 30%;max-width:31%;}
}

/* Thermostat carousel — fixed-width cards sliding in a horizontal scroll track, arrows centred below */
.tstat-carousel{display:flex;flex-direction:column;align-items:center;gap:18px;width:100%;max-width:100%;}
.tstat-carousel-viewport{width:100%;max-width:1120px;box-sizing:border-box;overflow-x:auto;overflow-y:visible;padding:16px;scroll-padding:16px;scroll-behavior:smooth;scroll-snap-type:x proximity;-ms-overflow-style:none;scrollbar-width:none;}
.tstat-carousel-viewport::-webkit-scrollbar{display:none;}
#wTstatViewport.tstat-carousel-viewport .tstat-grid-5{flex-wrap:nowrap;justify-content:flex-start;margin:0;max-width:none;width:max-content;}
.tstat-carousel .tstat-grid-5 .thermostat-card{flex:0 0 260px;width:260px;max-width:260px;scroll-snap-align:start;}
.tstat-carousel-nav{display:flex;align-items:center;justify-content:center;gap:28px;}
.tstat-carousel-arrow{border:none;background:none;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;padding:0;transition:transform 0.15s ease;}
.tstat-carousel-arrow:hover{transform:scale(1.08);}
.tstat-carousel-arrow img{width:38px;height:38px;display:block;}
@media(max-width:700px){
  .tstat-carousel{gap:10px;}
  .tstat-carousel-viewport{padding:12px;scroll-padding:12px;}
  .tstat-carousel .tstat-grid-5{flex-direction:row;padding:4px 0;}
  .tstat-carousel .tstat-grid-5 .thermostat-card{flex:0 0 220px;width:220px;max-width:220px;}
  .tstat-carousel-nav{gap:20px;}
  .tstat-carousel-arrow img{width:30px;height:30px;}
}
/* "What next?" panel CTA pills — all 5 in one row on desktop, stacked on mobile */
.kit-cta-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-bottom:12px;}
.kit-cta-grid button{width:100%;font-size:13px!important;padding:8px 6px 8px!important;height:auto!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:4px;white-space:normal!important;text-align:center;line-height:1.25;}
.kit-cta-grid button svg{flex-shrink:0;}
@media(max-width:700px){ .kit-cta-grid{grid-template-columns:1fr;} }
/* Kit-row controls — 44px touch targets on phones (matches the audit's tap-target bar) */
@media(max-width:700px){
  .kit-qty-btn{width:44px;height:44px;font-size:20px;}
  .kit-del-btn{width:44px;height:44px;}
}
/* Heat-panel coverage meters — on phones the nowrap caption is wider than the row,
   which crushed the bar to 0px. Stack: bar full-width, caption wraps beneath it. */
@media(max-width:700px){
  .wkit-heat-meter{flex-wrap:wrap;gap:5px 10px!important;}
  .wkit-heat-meter .wkit-heat-bar{flex:1 1 100%;}
  .wkit-heat-meter span{white-space:normal!important;font-size:11px!important;}
}
@media(max-width:700px){
  .kit-cta-grid button{position:relative;flex-direction:row!important;justify-content:center!important;font-size:14px!important;padding:0 20px!important;height:52px!important;gap:0!important;white-space:nowrap!important;text-align:center;}
  .kit-cta-grid button svg{position:absolute;left:18px;top:50%;transform:translateY(-50%);}
}
.thermostat-card{
  width:260px;
  background:#fff;
  border:2px solid transparent;
  border-radius:12px;
  box-shadow:0 2px 12px rgba(0,0,0,0.07);
  overflow:hidden;
  cursor:pointer;
  transition:all 0.18s ease;
  display:flex;
  flex-direction:column;
  position:relative;
}
.tstat-wireless-badge{position:absolute;top:8px;right:8px;background:rgba(255,255,255,0.92);color:#222846;font-family:'Poppins',sans-serif;font-size:10px;font-weight:600;padding:3px 9px 3px 6px;border-radius:999px;display:flex;align-items:center;gap:5px;letter-spacing:0.3px;pointer-events:none;z-index:1;box-shadow:0 1px 4px rgba(0,0,0,0.12);}
.tstat-wireless-badge img{width:14px;height:14px;}
.thermostat-card:hover{border-color:var(--accent); background:#fff8f5;}
.thermostat-card.is-selected{border-color:var(--accent); background:var(--sel-bg);}
.thermostat-img{width:100%;overflow:hidden;}
.thermostat-img img{width:100%;height:180px;object-fit:contain;background:#fff;display:block;}
.colour-carbon{background:#3d3d3d;}
.tstat-brand-logo{text-align:center;padding:12px 16px 0;}
.tstat-brand-logo img{height:18px;width:auto;display:inline-block;opacity:0.5;}
.thermostat-name{
  font-size:18px;
  font-weight:400;
  color:var(--navy);
  text-align:center;
  padding:14px 16px 6px;
  line-height:1.35;
}
.thermostat-card.is-selected .thermostat-name{font-weight:500;}
.thermostat-desc{font-size:13px;font-weight:300;color:#6f6f6f;text-align:center;padding:0 16px 8px;line-height:1.4;}
.thermostat-price{font-size:20px;font-weight:600;color:#af2318;text-align:center;padding:0 16px 4px;}
.thermostat-desc{font-size:13px;font-weight:300;color:#6f6f6f;text-align:center;padding:0 16px 10px;line-height:1.4;}
.thermostat-colours{
  display:flex;
  justify-content:center;
  gap:8px;
  padding:6px 16px 16px;
}
.colour-picker-label{
  font-size:10px;font-weight:700;color:#bbb;font-family:'Poppins',sans-serif;
  letter-spacing:0.7px;text-transform:uppercase;text-align:center;
  padding:4px 0 0;
}
.tstat-colour-prompt{
  display:none;
  font-size:12px;
  font-weight:500;
  color:var(--accent);
  text-align:center;
  padding:0 16px 14px;
}
.tstat-colour-prompt.is-visible{display:block;}
.colour-dot{
  width:26px;
  height:26px;
  border-radius:50%;
  border:1px solid #d8d8d8;
  cursor:pointer;
  transition:all 0.15s ease;
  padding:0;
  outline:none;
}
.colour-dot.colour-white{background:#fff;}
.colour-dot.colour-black{background:#1a1a1a;border-color:#999;}
.colour-dot.colour-silver{background:#b8b8b8;border-color:#aaa;}
.colour-dot.is-selected-colour{
  box-shadow:0 0 0 2px var(--accent);
  border-color:transparent;
}

/* ── neoHub add-on ────────────────────────────────────────────────────── */
.neohub-section{
  display:none;
  margin-top:36px;
  padding-top:32px;
  border-top:1px solid #e0e0e0;
}
.neohub-question{
  font-size:20px;
  font-weight:300;
  color:var(--navy);
  text-align:center;
  margin-bottom:24px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
  position:relative;
}
.neohub-info-btn{
  display:inline-flex;
  align-items:center;
  gap:5px;
  background:none;
  border:1px solid var(--accent);
  color:var(--accent);
  font-family:'Poppins',sans-serif;
  font-size:13px;
  font-weight:500;
  padding:4px 10px;
  border-radius:999px;
  cursor:pointer;
  transition:all 0.18s;
}
.neohub-info-btn:hover{background:var(--sel-bg);}
.neohub-info-btn:disabled{opacity:0.35;cursor:not-allowed;pointer-events:none;}
.neohub-info-btn svg{width:14px;height:14px;flex-shrink:0;}
.neohub-tooltip{
  display:none;
  position:fixed;
  background:var(--navy);
  color:#fff;
  font-size:14px;
  font-weight:300;
  line-height:1.65;
  padding:18px 20px;
  border-radius:10px;
  width:520px;
  max-width:90vw;
  box-shadow:0 8px 28px rgba(0,0,0,0.2);
  z-index:9999;
  text-align:left;
}
.neohub-tooltip.is-open{display:block;}
.neohub-tooltip-close{
  position:absolute;
  top:10px; right:12px;
  background:none;border:none;
  color:rgba(255,255,255,0.7);
  font-size:16px;cursor:pointer;
}
.neohub-tooltip-close:hover{color:#fff;}
.neohub-tooltip p{margin:0 0 12px 0;}
.neohub-tooltip p:last-child{margin-bottom:0;}
.neohub-card-wrap{
  display:flex;
  align-items:center;
  gap:20px;
  max-width:700px;
  margin:0 auto;
}
.neohub-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  flex:1;
  padding:20px 24px;
  border:2px solid #e8e8e8;
  border-radius:12px;
  cursor:pointer;
  transition:all 0.18s ease;
  background:#fff;
  text-align:center;
}
.neohub-card:hover{border-color:var(--accent);background:#fff8f5;}
.neohub-card.is-added{border-color:var(--green);background:#f4fbe8;}
.neohub-card img{
  width:160px;
  height:110px;
  object-fit:contain;
  border-radius:6px;
}
.neohub-card-body{text-align:center;}
.neohub-name{
  font-size:18px;
  font-weight:400;
  color:var(--navy);
  margin-bottom:4px;
  line-height:1.3;
  white-space:nowrap;
}
.neohub-card.is-added .neohub-name{font-weight:600;}
.neohub-add-btn{
  background:#f7f7f7;
  border:1px solid #ccc;
  border-radius:999px;
  font-family:'Poppins',sans-serif;
  font-size:14px;font-weight:500;
  color:#888;
  cursor:pointer;
  padding:6px 20px;
  margin-top:8px;
  transition:all 0.18s;
  pointer-events:none; /* card handles the click */
}
.neohub-card.is-added .neohub-add-btn{
  background:var(--green);
  border-color:var(--green);
  color:#fff;
}
.neohub-link{
  font-size:12px;
  color:var(--accent);
  text-decoration:none;
}
.neohub-link:hover{text-decoration:underline;}
.neohub-toggle{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
  flex-shrink:0;
  width:76px;
}
.neohub-check{
  width:30px;height:30px;
  border-radius:50%;
  border:2px solid #ccc;
  display:flex;align-items:center;justify-content:center;
  transition:all 0.18s;
  background:#fff;
}
.neohub-check svg{width:16px;height:16px;opacity:0;}
.neohub-card.is-added + .neohub-toggle .neohub-check{
  background:var(--green);
  border-color:var(--green);
}
.neohub-card.is-added + .neohub-toggle .neohub-check svg{opacity:1;}
#neohubLabel{
  font-size:11px;
  font-weight:500;
  color:#888;
  white-space:nowrap;
}
.neohub-card.is-added + .neohub-toggle #neohubLabel{color:var(--green);}

/* ── Unsure panel ─────────────────────────────────────────────────────── */
.unsure-change-link{
  display:inline-block;margin-top:46px;
  font-family:'Poppins',sans-serif;font-size:15px;font-weight:400;
  color:#b53bb7;background:none;border:none;cursor:pointer;padding:0;
  transition:color 0.15s;
}
.unsure-change-link:hover{color:var(--accent2);}
.unsure-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  padding:52px 48px 56px;
  max-width:1020px;
  margin-left:auto;
  margin-right:auto;
}
.unsure-heading{
  font-size:34px;
  font-weight:300;
  color:var(--navy);
  margin-bottom:18px;
  line-height:1.25;
}
.unsure-body{
  font-size:18px;
  font-weight:300;
  color:#333;
  text-align:center;
  line-height:1.65;
  margin-bottom:18px;
}
.unsure-btns{
  display:flex;
  gap:20px;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
}
.unsure-quote-btn,
.unsure-phone-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:310px;
  height:54px;
  font-family:'Poppins',sans-serif;
  font-size:16px;
  font-weight:600;
  border-radius:6px;
  text-decoration:none;
  transition:all 0.18s ease;
}
.unsure-quote-btn{
  background:var(--accent);
  color:#fff;
  border:2px solid var(--accent);
}
.unsure-quote-btn:hover{background:#8cc63f;border-color:#8cc63f;}
.unsure-phone-btn{
  background:#fff;
  color:#8cc63f;
  border:2px solid #8cc63f;
}
.unsure-phone-btn:hover{background:#f2faeb;}

/* ── Unsure: system comparison ────────────────────────────────────────── */
.sys-compare-intro{
  font-size:16px;font-weight:300;color:#555;text-align:center;
  max-width:960px;margin:0 auto 32px;line-height:1.6;
}
.sys-compare-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:24px;
  max-width:960px;width:100%;margin:0 auto 32px;
}
.sys-compare-card{text-align:center;box-shadow:0 4px 24px rgba(0,0,0,0.08);padding:28px 28px 28px;}
.sys-compare-card .wic-switch-btn{padding:14px 0;font-size:15px;}
.sys-compare-icon{width:56px;height:56px;display:block;margin:0 auto 14px;}
.sys-compare-card .wic-title{text-align:center;}
.sys-compare-desc{font-size:14px;font-weight:300;color:#555;text-align:center;line-height:1.55;margin:0 0 16px;}
.sys-compare-tip{
  display:flex;align-items:center;gap:14px;
  max-width:680px;width:100%;margin:0 auto;box-sizing:border-box;
}
.sys-compare-tip-avatar{width:46px;height:46px;flex-shrink:0;}
.sys-compare-tip-bubble{
  position:relative;flex:1;text-align:left;
  background:linear-gradient(90deg,#fce7f8 0%,#fce7f8 16%,#d8f2fe 80%,#d8f2fe 100%);
  border:2px solid #72d9ff;border-radius:16px;padding:12px 16px;
  box-shadow:0 0 12px rgba(252,0,255,0.24);
}
.sys-compare-tip-bubble::before{
  content:'';position:absolute;left:-8px;top:50%;transform:translateY(-50%) rotate(45deg);
  width:13px;height:13px;background:#fce7f8;border-left:2px solid #72d9ff;border-bottom:2px solid #72d9ff;
  pointer-events:none;
}
.sys-compare-tip-text{font-size:13px;font-weight:400;color:#222846;font-family:'Poppins',sans-serif;line-height:1.6;margin:0;}
.sys-compare-tip-text strong{font-weight:500;}

/* ── Wrapper ──────────────────────────────────────────────────────────── */
.kb-wrapper{max-width:1250px;margin:0 auto;width:100%;flex:1 0 auto;display:flex;flex-direction:column;}

/* ── Disclaimer ───────────────────────────────────────────────────────── */
.kb-disclaimer{
  max-width:1250px;
  margin:40px auto 0;
  padding:28px 4px 0;
  border-top:1px solid #ffffff;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.kb-disclaimer p{
  font-size:12px;
  font-weight:400;
  color:#555;
  line-height:1.7;
}
.kb-disclaimer .kb-disclaimer-title{
  font-size:15px;
  font-weight:600;
  color:#3a3a3a;
  line-height:normal;
}
.kb-disclaimer strong{
  font-weight:600;
}

/* ── CAD Drawings add-on card ──────────────────────────────────────────── */
.wcad-card{
  background:#fff;
  border:2px solid transparent;
  border-radius:var(--card-radius);
  box-shadow:var(--shadow);
  padding:20px 22px;
  margin-bottom:12px;
  cursor:pointer;
  transition:border-color 0.2s,background 0.2s;
  user-select:none;
}
.wcad-card.wcad-yes{border-color:var(--green);background:#f4fbe8;}
.wcad-inner{display:flex;align-items:center;gap:16px;}
.wcad-left{display:flex;flex-direction:column;align-items:center;gap:8px;flex-shrink:0;}
.wcad-icon{
  width:52px;height:52px;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
}
.wcad-badge{
  background:#8cc63f;color:#fff;
  font-size:13px;font-weight:700;
  padding:4px 12px;border-radius:999px;
  font-family:'Poppins',sans-serif;letter-spacing:0.4px;
  flex-shrink:0;
}
.wcad-add-btn{
  background:#f7f7f7;
  border:1px solid #ccc;
  border-radius:999px;
  font-family:'Poppins',sans-serif;
  font-size:14px;font-weight:500;
  color:#888;
  cursor:pointer;
  padding:6px 20px;
  margin-top:8px;
  transition:all 0.18s;
  pointer-events:none;
}
.wcad-yes .wcad-add-btn{
  background:var(--green);
  border-color:var(--green);
  color:#fff;
}
.wcad-reassurance{
  display:none;
  font-size:12px;
  color:#5a7a3a;
  font-family:'Poppins',sans-serif;
  margin:6px 0 0;
  line-height:1.4;
}
.wcad-yes .wcad-reassurance{display:block;}

/* ── Summary panel ─────────────────────────────────────────────────────── */
.eq-summary-title{
  font-size:38px;
  font-weight:300;
  color:var(--navy);
  text-align:center;
  margin-bottom:10px;
}
#eq-summary .eq-note,#wq-summary .eq-note{font-size:17px;}
.eq-sum-row{
  display:flex;
  align-items:center;
  gap:16px;
  padding:10px 0;
  border-bottom:1px solid #f0f0f0;
}
.eq-sum-row:last-child{border-bottom:none;}
.eq-sum-row .eq-ans-q{font-size:15px;font-weight:300;color:#6f6f6f;white-space:nowrap;text-transform:capitalize;}
.eq-sum-row .eq-ans-v{font-size:15px;font-weight:400;color:var(--navy);flex:1;}
/* Tab the values into one column (mirrors the PDF): longest label ("Manifold
   Distance:" ≈ 136px) + 150px min-width + the row's 16px flex gap puts every value
   30px past it, same as print. Desktop/tablet only — a fixed label column on
   narrow phones would force long values into ragged wraps. */
@media(min-width:701px){
  /* Kit room cards — tab the m²/Edit/Duplicate pills into columns: name column sized
     to the longest standard room ("Conservatory" ≈ 139px), pills centred in a fixed
     slot, so every row's controls line up. Custom "Other" names may exceed the column
     and simply push their own row's pills right. Phones keep the compact flow. */
  .kit-room-hdr .kit-room-name{min-width:144px;}
  .kit-room-hdr .kit-area-badge{min-width:84px;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;}
  #wq-summary .eq-sum-row .eq-ans-q,
  #eq-summary .eq-sum-row .eq-ans-q{min-width:150px;}
  /* Multi-room summary (detected by its Rooms header): the indented sub-rows put
     their value column 18px further right (16px indent + different label/gap maths),
     so widen the top-level labels to line "Heat Source" up with the room columns. */
  #wq-summary:has(.wsel-rooms-lbl) .eq-sum-row .eq-ans-q{min-width:168px;}
}
.eq-summary-cta{margin-top:28px;text-align:center;}

/* ── Kit Results Panel ─────────────────────────────────────────────────── */
.kit-panel-card{padding:0;overflow:hidden;}
.kit-nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:16px 28px;
  border-bottom:1px solid #efefef;
}
.kit-nav-btn{
  background:none;
  border:1.5px solid var(--navy);
  border-radius:999px;
  font-family:'Poppins',sans-serif;
  font-size:14px;font-weight:500;
  color:var(--navy);cursor:pointer;
  text-decoration:none;
  padding:7px 20px;
  transition:background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.kit-nav-btn:hover{background:var(--accent);border-color:var(--accent);color:#fff;}
.kit-restart-btn{border-color:#ccc;color:#999;}
.kit-restart-btn:hover{background:var(--accent);border-color:var(--accent);color:#fff;}
.kit-items{padding:0 28px;}
.kit-row{
  display:flex;
  align-items:center;
  gap:16px;
  padding:18px 0;
  border-bottom:1px solid #e0e0e0;
}
.kit-row:last-child{border-bottom:none;}
.kit-img{
  width:100px;height:100px;
  object-fit:contain;flex-shrink:0;
  border-radius:6px;background:#fff;
}
.kit-cad-img{
  width:52px;height:52px;
  object-fit:contain;flex-shrink:0;
}
.kit-info{flex:1;min-width:0;}
.kit-name{
  display:block;
  font-size:18px;font-weight:500;
  color:#000;
  text-decoration:none;
  margin-bottom:4px;
  line-height:1.3;
}
.kit-name:hover{color:var(--accent);}
.kit-sku{font-size:13px;font-weight:400;color:#6f6f6f;margin-bottom:2px;}
.kit-detail{font-size:14px;font-weight:400;color:#6f6f6f;}
.kit-upgrade-link,.kit-upgrade-btn{
  display:inline-block;
  margin-top:4px;
  font-size:12px;font-weight:500;
  color:var(--accent);text-decoration:none;
}
.kit-upgrade-btn{
  background:none;border:none;cursor:pointer;
  font-family:'Poppins',sans-serif;padding:0;
}
.kit-upgrade-link:hover,.kit-upgrade-btn:hover{text-decoration:underline;}
.kit-unit-price{
  font-size:14px;font-weight:400;
  color:#888;width:56px;text-align:right;flex-shrink:0;
}
.kit-controls{
  display:flex;align-items:center;
  gap:10px;flex-shrink:0;
}
.kit-qty-pill{
  display:flex;
  align-items:center;
  border:1.5px solid rgba(255,91,0,0.4);
  border-radius:999px;
  overflow:hidden;
  background:#fff;
}
.kit-qty-btn{
  width:36px;height:36px;
  border:none;background:transparent;
  font-size:18px;font-weight:400;
  color:#555;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  transition:color 0.15s;line-height:1;
}
.kit-qty-btn:hover{color:var(--accent);}
.kit-qty-val{
  min-width:28px;text-align:center;
  font-size:14px;font-weight:500;color:var(--navy);
}
.kit-del-btn{
  width:32px;height:32px;
  border:none;background:transparent;
  color:var(--accent);
  cursor:pointer;display:flex;
  align-items:center;justify-content:center;
  transition:color 0.15s;
  flex-shrink:0;
}
.kit-del-btn:hover{color:var(--accent2);}
.kit-line-price{
  font-size:19px;font-weight:500;
  color:#000;width:80px;
  text-align:right;flex-shrink:0;
}
.kit-footer-card{
  padding:22px 28px;
  margin-top:12px;
}
.kit-footer{
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:20px;
}
.kit-total-row{display:flex;align-items:baseline;gap:10px;flex-shrink:0;}
.kit-total-label{font-size:22px;font-weight:400;color:#555;}
.kit-total-val{font-size:30px;font-weight:600;color:#000;}
.kit-basket-btn{
  background:var(--green);
  color:#fff;
  border:none;
  font-family:'Poppins',sans-serif;
  font-size:16px;font-weight:600;
  padding:0 24px;
  height:52px;
  flex:1;
  border-radius:8px;
  cursor:pointer;
  transition:background 0.18s ease;
  white-space:nowrap;
}
.kit-basket-btn:hover{background:var(--accent);}
.kit-basket-btn:disabled{opacity:0.6;cursor:not-allowed;}

/* ── Answered step compact state ──────────────────────────────────────── */
.eq-answered-bar{
  display:none;
  align-items:center;
  gap:14px;
  padding:10px 0;
}
.eq-section.is-answered{
  padding:6px 0;
}
.eq-section.is-answered .eq-answered-bar{display:flex;}
.eq-section.is-answered .eq-question-full{display:none;}
.eq-question-full{
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
}
.eq-question-full .electric-covering-row,
.eq-question-full .thermostat-row,
.eq-question-full .eq-input-row,
.eq-question-full .neohub-section{
  width:100%;
}
.eq-ans-check{
  width:26px;height:26px;
  background:var(--green);
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
}
.eq-ans-check svg{width:14px;height:14px;}
.eq-ans-q{
  font-size:14px;font-weight:400;color:#6f6f6f;
  white-space:nowrap;
  text-transform:capitalize;
}
.eq-ans-v{
  font-size:14px;font-weight:600;color:var(--navy);
  flex:1;
}
.eq-ans-edit{
  background:none;
  border:1px solid var(--accent);
  border-radius:999px;
  font-family:'Poppins',sans-serif;
  font-size:12px;color:var(--accent);
  cursor:pointer;padding:5px 16px;
  transition:all 0.15s;
  white-space:nowrap;
}
.eq-ans-edit:hover{border-color:var(--accent);color:var(--accent);background:rgba(255,91,0,0.08);}
.kit-body-edit-row{display:none;}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media(max-width:700px){
  /* Wizard step max-height — thermostat cards in single column can exceed 2000px */
  .eq-step.eq-visible{max-height:4000px;}
  /* CAD card — wrap button below text on mobile */
  .wcad-inner{flex-wrap:wrap;}
  .wcad-add-btn{order:3;margin-left:64px;margin-top:8px;}
  /* Layout */
  .results-grid{grid-template-columns:1fr;}
  .filter-groups{grid-template-columns:1fr;}
  .filter-group + .filter-group::before{display:none;}
  .filter-group{padding:28px 0 24px;border-top:1px solid #c8c8c8;}
  .filter-group:first-child{border-top:none;padding-top:0;}
  .kb-card{padding:36px 16px 28px;overflow:hidden;}
  .filter-options{gap:12px;}
  .wIntroBanner{margin:-36px -16px 16px;padding:18px 20px 40px;gap:14px;border-radius:16px 16px 0 0;}
  .banner-wave-bg{display:none;}
  /* Resolution-independent banner: a fixed-angle CSS gradient (identical on every width),
     the element's own border-radius clips the top corners (reliable on all browsers — no
     dependency on the parent's overflow), and a bottom-anchored fixed-height white wave so
     the curve never distorts with the panel's aspect ratio. */
  .wIntroBanner{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 333.54 24' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0,9.23c11.09,4.25,58.94,20.35,127.13,11.65,78.15-9.98,114.23-15.3,206.41-2L333.54,24L0,24Z'/%3E%3C/svg%3E") center bottom/100% 22px no-repeat,linear-gradient(150deg,#01eace 0%,#04e0cf 6%,#0fc5d2 16%,#1f9ad8 29%,#306fde 41%,#7e50c6 65%,#ba39b5 83%);}
  #tIntroSub,#eIntroSub,#wIntroSub,.kit-hero-sub{font-size:13px!important;line-height:1.4!important;}
  #tIntroHeadline,#eIntroHeadline,#wIntroHeadline{font-size:16px!important;line-height:1.2!important;margin-bottom:8px!important;}
  .kb-section-title{font-size:20px!important;}
  .eq-title{font-size:20px!important;}
  .wq-unheated-title{font-size:20px!important;}
  .eq-section:first-child{padding-top:0;}
  .wIntroBannerSys{margin:-36px -16px 16px;}
  .wIntroAvatar{width:42px;height:42px;}
  .tips-toggle-lbl{font-size:11px;}
  .tips-toggle{width:36px;height:20px;}
  /* WCAG 2.5.5 — the visible switch stays 36x20 but a transparent 44x44 hit area on the
     label (which toggles the checkbox natively) makes it comfortably tappable on a phone. */
  .tips-toggle::after{content:'';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:44px;height:44px;}
  .tips-toggle-knob::before{width:16px;height:16px;left:2px;top:2px;}
  .tips-toggle input:checked + .tips-toggle-knob::before{transform:translateX(16px);}

  /* Logo — Return link + Tips on top row, thermii wordmark below (left-aligned) */
  body{padding-top:14px;}
  .kb-logo{flex-direction:row;align-items:flex-start;justify-content:flex-start;gap:0;margin-bottom:16px;padding:0 64px 0 0;}
  .kb-logo-center{display:none;}
  .kb-logo-side{flex:1;width:auto;display:flex;flex-direction:column-reverse;align-items:flex-start;gap:32px;}
  .kb-logo-side:last-child{display:none;}
  .kb-logo-mobile-img{display:block;height:22px;width:auto;}
  .kb-return-btn{font-size:12px;white-space:nowrap;}

  /* Banner — [avatar] [text flex:1], Tips absolute bottom-right over wave */
  .wIntroBanner{flex-wrap:nowrap;align-items:flex-start;padding-bottom:26px;gap:16px;}
  .wIntroAvatarWrap+div{flex:1;min-width:0;width:auto;order:unset;margin:0;}
  .thermii-glow-ring{width:60px;height:60px;margin:-30px 0 0 -30px;}
  #eIntroHeadline,#wIntroHeadline{font-size:17px;line-height:1.25;}
  #eIntroSub,#wIntroSub{display:block;margin-top:6px;}
  .tips-toggle-wrap{position:fixed!important;top:14px!important;right:16px!important;z-index:200;}
  .tips-toggle-lbl{display:inline;color:var(--navy);font-size:12px;}
  .tips-toggle-knob{background:#c8c8c8;}

  /* Covering tip panel — anchor avatar to top instead of vertically centred */
  .e-tip-avatar{top:14px;transform:none;}

  /* Kit summary room card header — reduce to fit in ~243px available */
  .kit-room-hdr{gap:6px !important;padding:8px 12px !important;}
  .kit-room-name{font-size:15px !important;}
  .kit-area-badge{padding:3px 7px !important;font-size:12px !important;}
  .kit-room-hdr .eq-ans-edit{display:none !important;}
  [id^="eRoomChev-"],[id^="wRoomChev-"]{margin-left:0 !important;width:26px !important;height:26px !important;min-width:26px !important;}
  .kit-body-edit-row{margin-top:10px;display:flex;justify-content:flex-end;}

  /* Manifold ports stepper — keep label + -/0/+ on one line; let pills drop to own row */
  .kit-switch-strip{gap:5px !important;padding:8px 10px !important;flex-wrap:wrap !important;}
  .kit-switch-strip>span:first-child{font-size:13px !important;}
  /* Switch pills — shrink + nowrap so labels stay on one line (not the round steppers) */
  .kit-switch-pill{font-size:11px !important;padding:4px 12px !important;white-space:nowrap !important;}
  /* Add-on upsell card — wrap to 2 rows: img+text on top, price+button bottom-right */
  .kit-addon-card{flex-wrap:wrap !important;}
  .kit-addon-text{flex:1 1 calc(100% - 62px) !important;}
  .kit-addon-price{margin-left:auto !important;}

  /* Selections summary card — reduce padding so rows fit */
  #eq-summary,#wq-summary{padding:24px 16px 28px !important;}
  .eq-sum-row{gap:10px;}
  .eq-ans-q{font-size:12px !important;}
  .eq-ans-v{font-size:13px !important;}
  .eq-ans-edit{padding:4px 12px !important;font-size:12px !important;border-width:1px!important;}
  .wsel-rooms-lbl{font-size:14px !important;}
  .wsel-room-name{font-size:13px !important;}
  .wsel-sub-q{font-size:12px !important;min-width:130px !important;}
  .wsel-sub-v{font-size:12px !important;}

  /* System type */
  .system-type-row{gap:8px;flex-wrap:nowrap;}
  .system-option{width:calc(33.333% - 6px);height:auto;padding:16px 6px 14px;gap:12px;}
  .so-icon{width:52px;height:52px;}
  .so-label{font-size:16px;}
  .kb-section-title{font-size:22px;}

  /* Water product cards */
  .product-card{width:100%;}
  .product-btn{width:100%;align-self:stretch;}

  /* Headings */
  .results-heading{font-size:26px;margin:36px 0 20px;}
  .filter-intro{font-size:17px;margin:28px 0 18px;}

  /* Question options — full-width bars on mobile (room picker keeps its grid) */
  .electric-covering-row{gap:10px;}
  .filter-option{width:calc(50% - 5px);height:auto;padding:16px 8px 14px;}
  .fo-icon{width:48px;height:48px;}
  .fo-icon img{width:48px;height:48px;}
  .fo-label{font-size:15px;}
  /* ── Optional tools rows — wrap on mobile ── */
  .wopt-info{flex:1 1 calc(100% - 76px);min-width:0;}
  .wopt-actions{order:3;width:100%;justify-content:flex-end;padding-left:66px;}

  /* Standard steps → stacked full-width bars (icon left, label left) */
  .electric-covering-row:not(.room-tiles-grid){flex-direction:column;align-items:stretch;flex-wrap:nowrap;}
  .electric-covering-row:not(.room-tiles-grid) .filter-option{width:100%;min-height:62px;flex-direction:row;justify-content:flex-start;gap:16px;padding:13px 18px;text-align:left;}
  .electric-covering-row:not(.room-tiles-grid) .fo-icon{width:38px;height:38px;}
  .electric-covering-row:not(.room-tiles-grid) .fo-icon img{width:38px;height:38px;}
  .electric-covering-row:not(.room-tiles-grid) .fo-label{font-size:16px;text-align:left;line-height:1.25;margin-top:0;white-space:nowrap;}
  .electric-covering-row:not(.room-tiles-grid) .fo-brk{display:none;}
  .electric-covering-row:not(.room-tiles-grid) .fo-rec-badge{margin-top:0;margin-left:auto;align-self:center;}
  .electric-covering-row:not(.room-tiles-grid) .fo-system-tag{margin-left:auto;margin-top:0;align-self:center;}
  /* 2-option steps → side-by-side tiles */
  .electric-covering-row:not(.room-tiles-grid):has(.filter-option:nth-child(2):last-child){flex-direction:row;align-items:stretch;flex-wrap:wrap;gap:12px;}
  .electric-covering-row:not(.room-tiles-grid):has(.filter-option:nth-child(2):last-child) .filter-option{flex:1;min-height:100px;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:16px 10px;text-align:center;}
  .electric-covering-row:not(.room-tiles-grid):has(.filter-option:nth-child(2):last-child) .fo-icon{width:46px;height:46px;}
  .electric-covering-row:not(.room-tiles-grid):has(.filter-option:nth-child(2):last-child) .fo-icon img{width:46px;height:46px;}
  .electric-covering-row:not(.room-tiles-grid):has(.filter-option:nth-child(2):last-child) .fo-label{text-align:center;line-height:1.3;margin-top:0;}
  .electric-covering-row:not(.room-tiles-grid):has(.filter-option:nth-child(2):last-child) .fo-rec-badge{margin-left:0;align-self:auto;margin-top:4px;}
  .fo-sublabel{font-size:11px;}

  /* Electric: area inputs */
  .eq-input{width:220px;font-size:16px;}
  .eq-title{font-size:18px;}
  .eq-note{font-size:13px;white-space:normal!important;}
  /* neohub-name nowrap causes card overflow on mobile */
  .neohub-name{white-space:normal!important;}
  .neohub-card{min-width:0;}

  /* Thermostat cards — stack vertically */
  .thermostat-row{flex-direction:column;align-items:center;padding:4px 8px;}
  .thermostat-card{width:100%;max-width:340px;}
  .thermostat-img img{height:200px;}

  /* neoHub card */
  .neohub-card{flex-wrap:wrap;}

  /* Progress bar */
  .eq-progress{padding:10px 0;gap:8px;}
  .eq-back-btn svg,.eq-restart-btn svg{width:18px;height:18px;}
  .eq-back-btn span:last-child,.eq-restart-btn span:first-child{display:none;}
  /* WCAG 2.5.5 tap target — labels are hidden on mobile leaving only an 18px icon, so
     expand the hit area to 44px (the icon stays 18px, centred). */
  .eq-back-btn,.eq-restart-btn{min-width:44px;min-height:44px;justify-content:center;}
  .eq-progress-center{padding-top:18px;padding-left:14px;padding-right:14px;}
  .eq-progress-pct{font-size:12px;}
  .eq-progress-track{max-width:none;margin:0 12px;height:6px;}
  .eq-progress-fill{height:6px;}
  .eq-progress-thumb{width:16px;height:16px;border-width:2px;}

  /* Kit panel inner padding */
  .kit-nav{padding:14px 16px;}
  .kit-items{padding:0 14px;}
  .kit-footer-card{padding:16px 14px;}
  .kit-footer{flex-direction:column;gap:12px;align-items:stretch;}
  .kit-total-row{justify-content:center;}
  .kit-basket-btn{padding:0 16px;}

  /* Kit rows — img+info on line 1, controls+price share line 2 */
  .kit-row{flex-wrap:wrap;gap:10px;}
  .kit-unit-price{display:none;}
  .kit-info{flex:1 1 calc(100% - 90px);min-width:0;} /* fill line 1 → forces controls to wrap */
  .kit-controls{order:3;flex:0 0 auto;margin-left:0;} /* far left of line 2 — leaves room for price */
  .kit-line-price{order:3;flex:0 0 auto;margin-left:auto;width:auto;} /* same line, right-aligned */
  .kit-img{width:80px;height:80px;}

  /* No-results CTA */
  .no-results{padding:36px 20px 40px;}
  .no-results-heading{font-size:22px;}
  .unsure-quote-btn,.unsure-phone-btn{width:100%;}
  .sys-compare-grid{grid-template-columns:1fr;}
  .unsure-heading{font-size:26px;}
  .sys-compare-intro{font-size:14px;}
  .unsure-card{padding-left:20px;padding-right:20px;}
  .unsure-body{font-size:16px!important;line-height:1.4!important;}

  /* ── Your Selections screen ── */
  .eq-summary-title{font-size:31px;}
  .eq-ans-check{width:22px!important;height:22px!important;}
  .eq-ans-check svg{width:11px!important;height:11px!important;}
  .confirm-check-wrap input[type="checkbox"]{width:22px!important;height:22px!important;min-width:22px!important;background-size:11px!important;}
  .confirm-check-wrap input[type="checkbox"]:checked::after{display:none!important;}
  #eq-summary .eq-note,#wq-summary .eq-note{font-size:16px!important;}

  /* ── CAD panel — top-align icon column, button on own row ── */
  .wcad-inner{align-items:flex-start;}
  .wcad-add-btn{order:3;flex:0 0 100%;margin-left:0;margin-top:8px;text-align:center;}

  /* ── Checkbox — full card width, no side padding ── */
  .confirm-check-wrap{padding:0;}

  /* ── Kit hero heading — CSS gradient replaces hidden SVG wave on mobile ── */
  #kitPanelHeading,#wKitPanelHeading{
    background:linear-gradient(150deg,#01eace 0%,#04e0cf 6%,#0fc5d2 16%,#1f9ad8 29%,#306fde 41%,#7e50c6 65%,#ba39b5 83%)!important;
    padding:20px 16px!important;
    border-radius:16px 16px 0 0!important;
  }
  .kit-hero-title{font-size:18px!important;line-height:1.2!important;margin-bottom:6px!important;}

  /* ── Product listing text ── */
  .kit-name{font-size:14px!important;}
  .kit-detail{font-size:12px!important;}
  .kit-sku{font-size:11px!important;}

  /* ── Navy category header chevron ── */
  [id^="wCatChev-"],[id^="eKitRoomChev-"]{width:26px!important;height:26px!important;min-width:26px!important;}

  /* ── CAD title — smaller to fit 2 lines ── */
  .wcad-title{font-size:16px!important;}


  /* ── Orange room panel — breathe on mobile ── */
  [id^="wRoomBody-"]>div{padding:28px 14px 16px!important;text-align:left!important;}
  [id^="wRoomBody-"]>div>div:first-child{flex-direction:column!important;align-items:flex-start!important;row-gap:6px!important;margin-bottom:12px!important;column-gap:0!important;}
  .rm-sep{display:none!important;}
  .rm-metric>span:first-child{font-size:13px!important;}
  .rm-metric>span:last-child{font-size:14px!important;}
  [id^="wRoomBody-"]>div>div:last-child>span>span:first-child{font-size:11px!important;}
  [id^="wRoomBody-"]>div>div:last-child>span>span:last-child{font-size:12px!important;}
  [id^="wRoomBody-"]>div>div:last-child{gap:8px!important;}
  /* ── Add Another Room button — full width on mobile ── */
  button[onclick="wAddAnotherRoom()"],button[onclick="eAddAnotherRoom()"]{width:100%!important;min-width:0!important;box-sizing:border-box!important;height:42px!important;padding:0 16px!important;font-size:13px!important;}
  /* ── Totals stat grid — horizontal strips on mobile ── */
  .wkit-stats-grid{grid-template-columns:1fr!important;gap:6px!important;margin-top:20px!important;}
  .wkit-stats-grid>div{flex-direction:row!important;justify-content:space-between!important;align-items:center!important;padding:10px 16px!important;border-radius:10px!important;text-align:left!important;}
  .wkit-stats-grid>div>span:first-child{font-size:13px!important;margin-bottom:0!important;}
  .wkit-stats-grid>div>span:last-child{font-size:17px!important;flex-shrink:0;margin-left:12px;}
}

@media(max-width:900px) and (min-width:701px){
  .results-grid{grid-template-columns:1fr 1fr;}

  /* Kit rows mid-size */
  .kit-unit-price{display:none;}
  .kit-line-price{width:auto;}

  /* Water multi-room totals: 6 columns cram into ~90px cells on tablet — drop to 3
     (two tidy rows of three) for iPad-portrait / narrow-laptop widths. */
  .wkit-stats-grid{grid-template-columns:repeat(3,1fr)!important;}

  /* Tablet (701–900px) got only mobile+desktop tuning — give these grids a middle step. */
  .kit-cta-grid{grid-template-columns:repeat(3,1fr)!important;}
  .room-tiles-grid{grid-template-columns:repeat(4,1fr)!important;}
}

/* ── Print button ─────────────────────────────────────────────────────── */
.kit-print-row{
  display:flex;
  justify-content:center;
  padding:14px 28px 22px;
}
.kit-print-btn{
  background:none;border:none;
  font-family:'Poppins',sans-serif;
  font-size:14px;font-weight:400;
  color:#888;cursor:pointer;
  text-decoration:underline;padding:0;
  display:flex;align-items:center;gap:6px;
}
.kit-print-btn:hover{color:var(--navy);}
.kit-print-btn svg{width:15px;height:15px;flex-shrink:0;}

/* ── Quote form dark inputs ───────────────────────────────────────────── */
.wdi::placeholder{color:rgba(34,40,70,0.35);}
.wdi:focus{outline:none;border-color:rgba(34,40,70,0.4)!important;}

/* ── Print / Save PDF ───────────────────────────────────────────────── */
/* ── Version badge — fixed bottom-centre ── */
.kb-version{
  text-align:center;
  font-family:'Poppins',sans-serif;
  font-size:11px;
  color:#888;
  margin-top:auto;        /* pins to bottom of window when page is short */
  padding:36px 0 4px;     /* gap after content when page is long */
  white-space:nowrap;
}
@media(max-width:700px){
  .kb-version{font-size:9px;padding:28px 0 2px;}
  .kb-disclaimer .kb-disclaimer-title{font-size:11px;}
  .kb-disclaimer p{font-size:9px;line-height:1.6;}
}

@media print{
  @page{size:A4;margin:16mm 14mm;}

  /* Force colour & backgrounds to print */
  *{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;}

  body{background:#fff!important;padding:0;display:block!important;min-height:0!important;}
  .kb-wrapper{max-width:100%!important;padding:0!important;box-shadow:none!important;display:block!important;}

  /* ── Fixed UI chrome — hidden in print ── */
  #thermiiTopBar,.thermii-aurora,.aurora-blob,#thermiiLoginModal{display:none!important;}

  /* ── Logo — centred at top of page ── */
  .kb-logo{display:block!important;text-align:center;margin-bottom:0;}
  .kb-logo-side{display:none!important;}
  .kb-logo-center{display:block!important;width:100%!important;}
  .kb-logo-img{height:auto!important;}
  .kb-logo-screen{display:none!important;}
  .kb-logo-print{display:block!important;width:100%!important;max-width:none!important;}

  /* ── Print meta (date+ref line) with separator beneath ── */
  #print-meta{display:flex!important;align-items:center;justify-content:space-between;font-family:'Poppins',sans-serif;font-size:12px;color:#888;margin:8px 0 20px;padding-bottom:18px;border-bottom:1px solid #ddd;}

  /* ── Hide all UI chrome ── */
  #wSessionBanner,
  #systemTypeCard,
  #unsurePanel,
  .wIntroBanner,
  #eqProgressBar,
  #wqProgressBar,
  #electricPanel .filter-card,
  #electricPanel .filter-intro,
  #waterPanel .filter-card,
  #kitNav,
  #wKitNav,
  #wKitPrintRow,
  #kitPrintRow,
  #wq-summary-cta,
  #wQuoteBlock,
  #eQuoteBlock,
  .eq-ans-edit,
  .kit-upgrade-link,
  .thermii-tip,
  .kb-version,
  /* "What next?" gradient-border wrapper — class-targeted: the PDF clone gains
     page-break spacer divs, so child-position selectors would hit the wrong node */
  .thermii-whatnext,
  /* Optional tools toggle button */
  #wOptionalToolsBtn,
  /* Action buttons meaningless in print */
  [onclick="wAddAnotherRoom()"],
  [onclick="eAddAnotherRoom()"],
  /* Add another room row (separator + button) */
  #wq-add-room-row,
  #eq-add-room-row,
  /* Focused-edit "Done" row */
  #eq-done-edit-row,
  /* Accordion chevrons */
  [id^="wRoomChev-"],[id^="wCatChev-"],[id^="eRoomChev-"],[id^="eKitRoomChev-"]{display:none!important;}
  [id^="eKitRoomBody-"]{display:block!important;}

  /* ── Hide UI-only copy in Your Selections ── */
  #wq-summary .eq-note,#eq-summary .eq-note{display:none!important;}

  /* ── Kit headings — hidden in print; replaced by clean CSS heading ── */
  #wKitPanelHeading,#kitPanelHeading{display:none!important;}

  /* ── Kit panels ── */
  #wKitPanel,#kitPanel{
    display:block!important;
    box-shadow:none!important;
    border-radius:14px!important;
    page-break-before:avoid;break-before:avoid;
  }

  /* ── Print heading above kit items ── */
  #wKitPanel::before,#kitPanel::before{
    content:'Your Bespoke Underfloor Heating Kit';
    display:block;
    font-family:'Poppins',sans-serif;
    font-size:26px;
    font-weight:300;
    color:#1a1a1a;
    text-align:center;
    padding:24px 0 20px;
    border-bottom:1px solid #eee;
    margin-bottom:16px;
  }

  /* ── Force room accordions open ── */
  [id^="wRoomBody-"]{
    max-height:none!important;opacity:1!important;overflow:visible!important;
  }

  /* ── Print pagination — Chrome can't fragment flex containers, which shoves
     whole blocks to fresh pages (blank pages, split panels). Make the tall flex
     columns block-level so content flows, and keep each card/panel intact. ── */
  #wq-summary .eq-sum-row{display:block!important;}
  #wq-summary .eq-sum-row>div{display:block!important;}
  #wq-summary .eq-ans-check{display:none!important;}
  /* ── 'Your Selections' — tab the values into a single column: label column sized to
     the longest label ("Manifold Distance:" ≈ 136px) + 30px gap, so every value lines up ── */
  #wq-summary .eq-sum-row .eq-ans-q,
  #eq-summary .eq-sum-row .eq-ans-q{display:inline-block!important;min-width:166px!important;}
  /* Multi-room: match the top-level value column to the indented room sub-columns
     (16px indent + 160px label + 8px gap = 184px; the spans butt together, no space) */
  #wq-summary:has(.wsel-rooms-lbl) .eq-sum-row .eq-ans-q{min-width:184px!important;}
  .wkit-rooms-col{display:block!important;}
  .wkit-room-card{page-break-inside:avoid;break-inside:avoid;margin-bottom:10px!important;}
  .wkit-heat-panel{page-break-inside:avoid;break-inside:avoid;}

  /* ── Heat requirement panel — compact to match the print scale of kit rows ── */
  .wkit-heat-panel{padding:14px 16px 10px!important;margin-bottom:16px!important;}
  .wkit-heat-title{font-size:14px!important;margin-bottom:2px!important;}
  .wkit-heat-sub{font-size:10px!important;margin-bottom:8px!important;}
  .wkit-heat-pills{gap:5px!important;margin-bottom:8px!important;}
  .wkit-heat-pills button{font-size:9px!important;padding:3px 10px!important;border-width:1px!important;}
  .wkit-heat-row{padding:5px 2px!important;}
  .wkit-heat-name,.wkit-heat-name span{font-size:10px!important;}
  .wkit-heat-badge{font-size:10px!important;padding:2px 8px!important;}
  .wkit-heat-total{padding:8px 12px!important;margin-top:8px!important;}
  .wkit-heat-total-lbl{font-size:11px!important;}
  .wkit-heat-total-val{font-size:13px!important;}
  .wkit-heat-disc{font-size:8px!important;margin-top:8px!important;margin-bottom:0!important;}
  .wkit-heat-warn{padding:5px 8px!important;margin:4px 0 3px!important;}
  .wkit-heat-warn span{font-size:8px!important;line-height:1.4!important;}
  .wkit-heat-warn svg{width:9px!important;height:9px!important;margin-top:1px!important;}
  /* Heat panel accordion — always print expanded, chevron is screen-only */
  #wHeatBody,#eHeatBody{max-height:none!important;opacity:1!important;overflow:visible!important;}
  #wHeatChev,#eHeatChev{display:none!important;}
  .wkit-heat-hdr{cursor:default!important;padding-right:0!important;}
  .wkit-heat-hdr-badge{font-size:11px!important;padding:2px 9px!important;}
  /* Coverage meters — compact for print; interactive/on-screen-only bits hidden */
  .wkit-heat-meter{margin-top:4px!important;}
  .wkit-heat-meter span{font-size:9px!important;}
  .wkit-heat-bar{height:4px!important;}
  .wkit-heat-status{font-size:9px!important;gap:3px!important;}
  .wkit-heat-status svg{width:9px!important;height:9px!important;}
  .wkit-heat-total-sub{font-size:9px!important;}
  .wkit-heat-hint,.wkit-heat-calcbtn,.wkit-heat-calcinfo{display:none!important;}
  .wkit-heat-runcost,#thermiiUndoBar,#thermiiStickyTotal,#thermiiEmailFallback,#eCableLayingModal{display:none!important;}
  .wkit-heat-hdr-warn{font-size:9px!important;padding:2px 8px!important;}
  .wkit-heat-hdr-warn svg{width:8px!important;height:8px!important;}
  .wkit-heat-allclear{font-size:9px!important;margin:8px 0 0!important;gap:4px!important;}
  .wkit-heat-allclear svg{width:9px!important;height:9px!important;}
  /* Keep the warning sentence intact in print — render the edit link as plain text */
  .wkit-heat-editlink{color:inherit!important;text-decoration:none!important;font-weight:400!important;}
  /* Out-of-stock: keep the back-order pill on printed quotes, hide the interactive switch */
  .oos-alt-btn{display:none!important;}

  /* ── Hide optional (unadded) tools upsell panel ── */
  #wOptionalToolsBody{display:none!important;}

  /* ── Hide interactive switch strips (extra ports, board toggle) ── */
  .kit-switch-strip{display:none!important;}

  /* ── Hide edit buttons in room accordion ── */
  [onclick*="wEditRoomByIndex"]{display:none!important;}

  /* ── Remove card shadows that show as a panel border ── */
  .kb-card{box-shadow:none!important;border-radius:0!important;}

  /* ── 'Your Selections' heading ── */
  .eq-summary-title{font-size:30px!important;margin-bottom:66px!important;}

  /* ── Compact kit rows to fit more per page ── */
  .kit-row{padding:4px 0!important;gap:6px!important;page-break-inside:avoid;break-inside:avoid;}
  .kit-img{width:40px!important;height:40px!important;}
  .kit-name{font-size:11px!important;margin-bottom:1px!important;}
  .kit-detail{font-size:10px!important;}
  .kit-sku{font-size:10px!important;}
  .kit-unit-price{font-size:11px!important;}
  .kit-line-price{font-size:12px!important;}
  /* ── Qty pill → plain QTY text; separator before controls ── */
  .kit-qty-btn{display:none!important;}
  .kit-qty-pill{border:none!important;background:transparent!important;border-radius:0!important;padding:0!important;}
  .kit-qty-val{font-size:11px!important;font-weight:500!important;}
  .kit-qty-val::before{content:'QTY: ';font-weight:400;color:#888;}
  .kit-controls{border-left:1px solid #ddd!important;padding-left:10px!important;margin-left:4px!important;}
  /* Remove delete button in print */
  .kit-del-btn{display:none!important;}

  /* ── Navy category headers — compact in print ── */
  .wkit-cat-hdr{padding:6px 12px!important;margin-bottom:2px!important;border-radius:5px!important;}
  .wkit-cat-hdr span{font-size:14px!important;}

  /* ── Stats tiles grid (rooms summary) — hide in print ── */
  .wkit-stats-grid{display:none!important;}

  /* ── Room accordion header ── */
  .kit-room-hdr{padding:6px 12px!important;}
  .kit-room-name{font-size:15px!important;}
  .kit-area-badge{font-size:12px!important;padding:2px 8px!important;}

  /* ── Orange room panel body — more top breathing room + smaller content ── */
  [id^="wRoomBody-"]>div{padding-top:10px!important;}
  [id^="wRoomBody-"] span{font-size:11px!important;}

  /* ── Green total panel — class-targeted (spacer divs shift child indexes in the PDF clone) ── */
  #wKitFooterCard,#kitFooterCard{display:block!important;overflow:visible!important;}
  #wKitFooterCard .kit-total-block,
  #kitFooterCard .kit-total-block{
    display:block!important;
    margin:16px 2px 0;
    box-sizing:border-box;
    page-break-inside:avoid;break-inside:avoid;
    padding:16px 20px!important;
  }
  /* Reduce total panel text sizes */
  #wKitFooterCard .kit-total-block>div:first-child,
  #kitFooterCard .kit-total-block>div:first-child{font-size:18px!important;}
  #wKitTotal,#kitTotal{font-size:30px!important;}
  #wKitFooterCard .kit-total-block>div:nth-of-type(3),
  #kitFooterCard .kit-total-block>div:nth-of-type(3){font-size:10px!important;margin-top:6px!important;}

  /* ── Answers summary — page break after so kit starts fresh ── */
  #wq-summary{display:block!important;page-break-after:always;break-after:always;}
  #eq-summary{page-break-after:always;break-after:always;}

  /* ── Disclaimer — small text at foot of PDF ── */
  .kb-disclaimer{
    display:block!important;
    margin-top:32px;
    padding-top:16px;
    border-top:1px solid #ddd!important;
    page-break-inside:avoid;break-inside:avoid;
  }
  .kb-disclaimer-title{font-size:10px!important;font-weight:700!important;color:#555!important;margin-bottom:4px!important;}
  .kb-disclaimer p{font-size:9px!important;color:#888!important;line-height:1.5!important;margin-bottom:3px!important;}
  .kb-disclaimer div[style*="border-top"]{border-top:1px solid #ddd!important;margin:6px 0 4px!important;}

  /* ── Print footer ── */
  #print-footer{
    display:block!important;
    margin-top:28px;
    padding-top:16px;
    border-top:1px solid #ddd;
    text-align:center;
    font-family:'Poppins',sans-serif;
    font-size:12px;
    color:#000;
    line-height:1.8;
    page-break-inside:avoid;break-inside:avoid;
  }
  #print-footer strong{font-weight:500!important;}
  #print-footer .pf-prices-note{font-size:9px!important;}

  /* ── Copyright — more space below separator ── */
  .kb-disclaimer div[style*="border-top"]{border-top:1px solid #ddd!important;margin:6px 0 16px!important;}

  /* ── Customer address block ── */
  #print-customer{display:block!important;margin:0 0 20px;padding:12px 16px;background:#f8f9fc;border:1px solid #e0e4f0;border-radius:8px;font-family:'Poppins',sans-serif;font-size:11px;color:#333;line-height:1.7;}
  #print-customer .pc-name{font-size:12px;font-weight:600;color:#222846;margin-bottom:2px;}
  #print-customer .pc-line{color:#555;}
  /* No customer data → thermiiPopulatePrint leaves this empty; don't print an empty grey box. */
  #print-customer:empty{display:none!important;}

  /* ── Navy bar item count — smaller in print ── */
  .wkit-cat-hdr .wkit-item-count{font-size:10px!important;}
  /* ── CAD icon — smaller in print ── */
  .kit-cad-img{width:32px!important;height:32px!important;}

  /* ── QR code block ── */
  .thermii-qr-block{display:block!important;text-align:center;margin-top:20px;padding-top:16px;border-top:1px solid #c8e8a0;page-break-inside:avoid;break-inside:avoid;}
  .thermii-qr-block canvas,.thermii-qr-block img{width:110px!important;height:110px!important;}
  .thermii-qr-block p{font-family:'Poppins',sans-serif;font-size:10px;color:#666;margin:6px 0 0;}
}
/* ── Perimeter animation ─────────────────────────────────────────────── */
.peri-stage{
  position:relative;
  width:100%;max-width:580px;
  aspect-ratio:2202/1785;
  border-radius:8px;
  overflow:hidden;
  margin:0 auto;
  background:#fff;
}
.peri-stage img{display:block;width:100%;height:100%;}
.peri-overlay{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;}
.peri-heat-line{
  fill:none;stroke:#ff6000;stroke-width:13;
  stroke-linecap:round;stroke-linejoin:round;
  stroke-dasharray:1640;stroke-dashoffset:1640;
  filter:drop-shadow(0 0 4px rgba(255,96,0,0.55));
}
.peri-heat-fill{
  position:absolute;left:63.5%;top:2.5%;width:34.5%;height:22%;
  background:rgba(255,96,0,0.18);opacity:0;pointer-events:none;
}
@keyframes periFlashFill{
  0%{opacity:0;}15%{opacity:0.9;}50%{opacity:0.65;}100%{opacity:0.3;}
}
.peri-replay-wrap{text-align:center;margin-top:10px;display:none;}
.peri-replay-wrap.show{display:block;}
.peri-btn-replay{
  background:#ff5b00;color:#fff;border:none;
  padding:7px 22px;font-size:12px;font-weight:500;
  font-family:'Poppins',sans-serif;border-radius:20px;cursor:pointer;
}
.peri-btn-replay:hover{background:#cc4400;}

