/* Homepage configurator: bright architectural palette, never the black reference. */
.hero-integrated .cfg-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 8px;
  color: #1c3545;
  transform: none;
}
.cfg-card *, .cfg-card *::before, .cfg-card *::after { box-sizing: border-box; }
.cfg-card [hidden] { display: none !important; }
.cfg-heading { flex: 0 0 auto; padding-inline: 8px 0; }
.cfg-heading h2 { margin: 0 0 10px; font-size: clamp(19px, 1.55vw, 25px); line-height: 1.15; letter-spacing: -.035em; color: #18364b; }
.cfg-progress { flex: 0 0 auto; margin-bottom: 12px; }
.cfg-progress > span { display: block; margin-bottom: 5px; font-size: 11px; color: #4d626e; }
.cfg-progress-track { height: 3px; overflow: hidden; border-radius: 6px; background: #d5dfe5; }
.cfg-progress-track > span { display: block; width: 0; height: 100%; background: #2379ad; transition: width 180ms ease; }
.cfg-card #quote-form { display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0; margin: 0; }
.cfg-body { flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #b6c3ca transparent; scroll-padding: 8px; padding: 2px 3px 6px; }
.cfg-body h3 { margin: 0 0 12px; font-size: clamp(17px, 1.35vw, 21px); font-weight: 600; line-height: 1.3; letter-spacing: -.025em; color: #18364b; }
.cfg-body h3:focus { outline: none; }
.cfg-help { margin: -5px 0 10px; color: #4d626e; font-size: 11px; line-height: 1.5; }
.cfg-options { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.cfg-tile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 60px;
  margin: 0;
  padding: 8px;
  border: 1px solid #c8d2d9;
  border-radius: 12px;
  background: #ffffffd9;
  color: #18364b;
  cursor: pointer;
  transition: border-color 180ms, background-color 180ms;
}
.cfg-tile:hover { border-color: #7498b0; background: #fff; }
.cfg-tile:has(input:checked) { border: 2px solid #2176ac; padding: 7px; background: #f1f8fd; }
.cfg-tile:has(input:focus-visible) { outline: 3px solid #7abfe6; outline-offset: 2px; }
.cfg-tile input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; }
.cfg-visual { display: flex; flex: 0 0 64px; align-items: center; justify-content: center; }
.cfg-tile img { display: block; flex: 0 0 64px; width: 64px; height: 52px; margin: 0; border-radius: 7px; object-fit: contain; background: #f1f4f6; }
.cfg-tile-text { flex: 1; min-width: 0; }
.cfg-tile-text strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.cfg-tile-text small { display: block; margin-top: 4px; color: #4c6270; font-size: 11px; line-height: 1.4; }
.cfg-check { position: relative; flex: 0 0 18px; width: 18px; height: 18px; border: 1.5px solid #b4c2cc; border-radius: 50%; }
.cfg-tile:has(input:checked) .cfg-check { border-color: #2176ac; background: #2176ac; }
.cfg-tile:has(input:checked) .cfg-check::after { content: ''; position: absolute; top: 3px; left: 5px; width: 5px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cfg-window-icon { display: grid; width: 46px; height: 40px; place-items: center; color: #25668f; }
.cfg-window-icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cfg-tile-text-only { min-height: 48px; padding: 10px 13px; }
.cfg-tile-text-only:has(input:checked) { padding: 9px 12px; }
.cfg-tile-text-only .cfg-visual { display: none; }
.cfg-navigation { display: flex; flex: 0 0 auto; justify-content: space-between; align-items: stretch; gap: 8px; min-height: 50px; margin-top: 8px; padding-top: 5px; }
.cfg-card .cfg-navigation .button { flex: 1; min-height: 44px; margin: 0; padding: 10px 8px; font-size: 12px; line-height: 1.35; gap: 6px; border-radius: 9px; background: #1d5e89; }
.cfg-navigation .cfg-back { flex: 0 0 auto; min-height: 44px; padding: 7px 4px; border: 0; background: transparent; color: #3d5a6c; font-size: 12px; cursor: pointer; }
.cfg-navigation button:hover { filter: brightness(.95); }
.cfg-navigation button:focus-visible, .cfg-summary-row:focus-visible { outline: 3px solid #2176ac; outline-offset: 2px; }
.cfg-navigation button:disabled { opacity: .65; cursor: wait; }
.cfg-field { margin-bottom: 9px; }
.cfg-field label, .cfg-label { display: block; margin-bottom: 4px; font-size: 12px; line-height: 1.4; font-weight: 500; }
.cfg-card input:not([type=radio]):not([type=checkbox]):not([type=hidden]), .cfg-card textarea {
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 9px 10px;
  border: 1px solid #b9c7d0;
  border-radius: 8px;
  background: #fff;
  color: #18364b;
  font: 400 16px/1.4 Inter, Arial, sans-serif;
}
.cfg-card input:focus, .cfg-card textarea:focus { outline: 2px solid #2176ac; outline-offset: 1px; }
.cfg-card input[aria-invalid=true], .cfg-card textarea[aria-invalid=true] { border-color: #a33930; }
.cfg-card .honeypot input { min-height: 0; }
.cfg-card input[type=file] { min-height: 44px; padding: 8px; font-size: 12px; }
.cfg-note { margin: 8px 0; color: #4c6270; font-size: 11px; line-height: 1.5; }
.cfg-optional, .cfg-extra summary > span { color: #4c6270; font-size: 11px; font-weight: 400; }
.cfg-contact-description { margin: -3px 0 12px; font-size: 12px; line-height: 1.5; color: #4c6270; }
.cfg-summary { margin-bottom: 12px; padding: 9px 10px; border-radius: 9px; background: #e8f1f7; }
.cfg-summary > summary { display: block; min-height: 44px; cursor: pointer; list-style: none; }
.cfg-summary > summary::-webkit-details-marker { display: none; }
.cfg-summary > summary strong { display: block; font-size: 11px; line-height: 1.5; }
#config-summary-short { display: block; margin: 3px 0; color: #3f5a6c; font-size: 11px; line-height: 1.5; }
.cfg-summary-edit { color: #195e8b; font-size: 11px; text-decoration: underline; text-underline-offset: 2px; }
.cfg-summary-row { display: grid; grid-template-columns: minmax(0,1fr) 16px; gap: 2px 7px; width: 100%; min-height: 44px; padding: 8px 0; border: 0; border-top: 1px solid #c5d8e5; background: transparent; text-align: left; color: #18364b; font: inherit; cursor: pointer; }
.cfg-summary-row > span:first-child { font-size: 11px; color: #4c6270; }
.cfg-summary-row strong { grid-column: 1; font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
.cfg-summary-row > span:last-child { grid-column: 2; grid-row: 1 / 3; align-self: center; color: #1d5e89; }
.cfg-extra { margin: 3px 0 7px; padding: 0; border-bottom: 1px solid #cbd5dc; }
.cfg-extra summary { min-height: 44px; padding: 10px 0; font-size: 12px; cursor: pointer; line-height: 1.5; list-style-position: inside; }
.cfg-extra[open] summary { margin-bottom: 8px; }
.cfg-privacy { display: flex; align-items: flex-start; gap: 7px; min-height: 44px; margin: 9px 0 0; color: #435a69; font-size: 11px; line-height: 1.5; }
.cfg-card .cfg-privacy input { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 2px; accent-color: #2176ac; }
.cfg-privacy a { color: #155e8c; text-underline-offset: 2px; }
.cfg-card .field-error { display: block; color: #a13029; font-size: 11px; line-height: 1.5; }
.cfg-card .field-error:empty { display: none; }
.cfg-card .form-error { margin: 8px 0; padding: 8px; font-size: 12px; line-height: 1.5; }
.cfg-card .cfg-trust { flex: 0 0 auto; margin: 6px 0 0; color: #4c6270; font-size: 10px; line-height: 1.5; text-align: center; }
.cfg-success { min-height: 0; flex: 1; overflow: auto; padding: 12px 3px; }
.cfg-success h3 { color: #18364b; font-size: 24px; line-height: 1.2; }
.cfg-success p { font-size: 13px; line-height: 1.6; }
.cfg-success .button { min-height: 44px; font-size: 12px; }
.cfg-enter { animation: cfg-enter 180ms ease both; }
@keyframes cfg-enter { from { opacity: .3; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 1360px) { .hero-integrated .cfg-card { left: 68%; top: 19%; width: 27.5%; height: 74%; } }
@media (min-width: 1680px) { .hero-integrated .cfg-card { top: 20%; height: 70%; padding: 10px; } }
@media (min-width: 760px) and (max-width: 1359px) {
  .hero-integrated .cfg-card { left: 48%; top: 31.2%; width: 46%; height: 44%; padding: 10px; }
  .cfg-heading { padding-left: 8%; }
}
@media (max-width: 759px) {
  /* Every part stays within the existing board, not an extended CSS surface. */
  .owner-hero-scene { min-height: 0; }
  .hero-integrated .cfg-card { left: 33%; top: 24%; width: 62%; height: 57%; padding: 7px 5px; border-radius: 0; background: transparent; overflow: hidden; }
  .hero-integrated .cfg-card::before { content: none; }
  .cfg-heading { position: static; width: auto; padding: 0; }
  .cfg-heading h2 { font-size: clamp(16px, 4.4vw, 19px); line-height: 1.15; margin: 0 0 7px; }
  .cfg-progress { position: static; width: auto; margin-bottom: 8px; }
  .cfg-progress > span { margin-bottom: 4px; font-size: 10px; }
  .cfg-card #quote-form { position: static; inset: auto; }
  .cfg-card .cfg-trust { position: static; width: auto; margin: 4px 0 0; }
  .cfg-card .cfg-success { position: static; inset: auto; }
  .cfg-body { padding: 2px 2px 4px; }
  .cfg-body h3 { font-size: 16px; margin-bottom: 8px; line-height: 1.25; }
  .cfg-help { font-size: 10px; margin-bottom: 8px; }
  .cfg-options { gap: 6px; }
  .cfg-tile { min-height: 50px; padding: 6px; gap: 7px; }
  .cfg-tile:has(input:checked) { padding: 5px; }
  .cfg-visual { flex-basis: 34px; }
  .cfg-tile img { flex-basis: 34px; width: 34px; height: 36px; }
  .cfg-window-icon { width: 34px; height: 34px; }
  .cfg-window-icon svg { width: 28px; height: 28px; }
  .cfg-tile-text strong { font-size: 14px; }
  .cfg-tile-text small { display: none; }
  .cfg-check { flex-basis: 16px; width: 16px; height: 16px; }
  .cfg-tile:has(input:checked) .cfg-check::after { top: 2px; left: 4px; }
  .cfg-tile-text-only { min-height: 44px; padding: 8px; }
  .cfg-tile-text-only:has(input:checked) { padding: 7px; }
  .cfg-navigation { min-height: 44px; gap: 6px; margin-top: 5px; padding-top: 3px; }
  .cfg-card[data-question=product] .cfg-navigation { display: none; }
  .cfg-card .cfg-navigation .button { min-height: 44px; padding: 8px 5px; font-size: 11px; }
  .cfg-navigation .cfg-back { font-size: 11px; padding-inline: 0; }
  .cfg-card input:not([type=radio]):not([type=checkbox]):not([type=hidden]), .cfg-card textarea { font-size: 16px; }
  .cfg-success h3 { font-size: 20px; }
}
/* Photo/illustration choices follow the supplied reference; quantities stay lists. */
.cfg-options:has(.cfg-tile:not(.cfg-tile-text-only)) {
  --cfg-grid-gap: 12px;
  --cfg-thumb: clamp(68px, 6.4vw, 100px);
  --cfg-visual-height: clamp(136px, 11.8vw, 186px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--cfg-grid-gap);
  align-content: start;
}
.cfg-options:has(.cfg-tile:not(.cfg-tile-text-only)) > .cfg-tile {
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  height: var(--cfg-visual-height);
  min-height: 44px;
  padding: 12px 8px;
  border: 2px solid #d0d5d9;
  border-radius: 14px;
  background: #ffffffb8;
  text-align: center;
}
.cfg-options:has(.cfg-tile:not(.cfg-tile-text-only)) > .cfg-tile:last-child:nth-of-type(odd) {
  grid-column: 1 / -1;
  width: calc((100% - var(--cfg-grid-gap)) / 2);
  justify-self: center;
}
.cfg-options:has(.cfg-tile:not(.cfg-tile-text-only)) > .cfg-tile:hover { border-color: #7fa3ba; }
.cfg-options:has(.cfg-tile:not(.cfg-tile-text-only)) > .cfg-tile:has(input:checked) {
  padding: 12px 8px;
  border-color: #1675a9;
  background: #e9f4fc;
}
.cfg-options:has(.cfg-tile:not(.cfg-tile-text-only)) .cfg-visual {
  flex: 0 0 auto;
  width: var(--cfg-thumb);
  height: var(--cfg-thumb);
}
.cfg-options:has(.cfg-tile:not(.cfg-tile-text-only)) .cfg-tile img {
  flex: 0 0 auto;
  width: var(--cfg-thumb);
  height: var(--cfg-thumb);
  border-radius: 8px;
  object-fit: contain;
}
.cfg-options:has(.cfg-tile:not(.cfg-tile-text-only)) .cfg-window-icon {
  width: var(--cfg-thumb);
  height: var(--cfg-thumb);
}
/* Mobile-scale symbols on every device; larger cards do not thicken the lines. */
.cfg-options:has(.cfg-tile:not(.cfg-tile-text-only)) .cfg-window-icon svg {
  width: 40px;
  height: 40px;
  max-width: 80%;
  max-height: 80%;
  stroke-width: 1.8px;
}
.cfg-window-icon svg > * { vector-effect: non-scaling-stroke; }
@media (min-width: 760px) {
  .cfg-options:has(.cfg-tile:not(.cfg-tile-text-only)) {
    --cfg-thumb: 80px;
  }
  .cfg-options:has(.cfg-tile:not(.cfg-tile-text-only)) .cfg-window-icon svg {
    width: 80px;
    height: 80px;
    max-width: 100%;
    max-height: 100%;
  }
}
.cfg-options:has(.cfg-tile:not(.cfg-tile-text-only)) .cfg-tile-text { flex: 0 0 auto; width: 100%; }
.cfg-options:has(.cfg-tile:not(.cfg-tile-text-only)) .cfg-tile-text strong {
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.25;
  letter-spacing: -.02em;
}
.cfg-options:has(.cfg-tile:not(.cfg-tile-text-only)) .cfg-tile-text small { display: none; }
.cfg-options:has(.cfg-tile:not(.cfg-tile-text-only)) .cfg-check {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 22px;
  height: 22px;
  border: 0;
  opacity: 0;
}
.cfg-options:has(.cfg-tile:not(.cfg-tile-text-only)) .cfg-tile:has(input:checked) .cfg-check {
  opacity: 1;
  background: #1675a9;
}
.cfg-options:has(.cfg-tile:not(.cfg-tile-text-only)) .cfg-tile:has(input:checked) .cfg-check::after {
  top: 5px;
  left: 7px;
  width: 5px;
  height: 9px;
  border-width: 0 2px 2px 0;
}
@media (max-width: 759px) {
  .cfg-options:has(.cfg-tile:not(.cfg-tile-text-only)) {
    --cfg-grid-gap: 6px;
    --cfg-thumb: clamp(44px, 13vw, 62px);
    --cfg-visual-height: clamp(108px, 28vw, 130px);
  }
  .cfg-options:has(.cfg-tile:not(.cfg-tile-text-only)) > .cfg-tile,
  .cfg-options:has(.cfg-tile:not(.cfg-tile-text-only)) > .cfg-tile:has(input:checked) { gap: 6px; padding: 6px 4px; border-radius: 12px; }
  .cfg-options:has(.cfg-tile:not(.cfg-tile-text-only)) .cfg-check { top: 5px; right: 5px; width: 18px; height: 18px; }
  .cfg-options:has(.cfg-tile:not(.cfg-tile-text-only)) .cfg-tile:has(input:checked) .cfg-check::after { top: 3px; left: 5px; width: 4px; height: 8px; }
  .cfg-card[data-question=product] .cfg-body h3 { margin-bottom: 6px; }
}
@media (max-width: 359px) {
  .cfg-options:has(.cfg-tile:not(.cfg-tile-text-only)) { --cfg-grid-gap: 4px; --cfg-thumb: 40px; --cfg-visual-height: 88px; }
  .cfg-options:has(.cfg-tile:not(.cfg-tile-text-only)) > .cfg-tile,
  .cfg-options:has(.cfg-tile:not(.cfg-tile-text-only)) > .cfg-tile:has(input:checked) { gap: 4px; padding: 5px 3px; }
  .cfg-options:has(.cfg-tile:not(.cfg-tile-text-only)) .cfg-tile-text strong { font-size: 13.5px; }
  .cfg-heading h2 { margin-bottom: 3px; }
  .cfg-progress { margin-bottom: 4px; }
  .cfg-progress > span { margin-bottom: 3px; }
  .cfg-body h3 { margin-bottom: 4px; }
  .cfg-card .cfg-trust { margin-top: 1px; }
}
@media (prefers-reduced-motion: reduce) {
  .cfg-tile, .cfg-progress-track > span { transition: none; }
  .cfg-enter { animation: none; }
}
