.ohpc,
.ohpc * {
  box-sizing: border-box;
}

.ohpc {
  --ohpc-ink: #171918;
  --ohpc-muted: #6d716e;
  --ohpc-line: #dedfda;
  --ohpc-soft: #f4f4f0;
  --ohpc-green: #1c4c3b;
  --ohpc-green-bright: #2b7459;
  --ohpc-white: #ffffff;
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  color: var(--ohpc-ink);
  background: var(--ohpc-white);
  border: 1px solid var(--ohpc-line);
  font-family: inherit;
  line-height: 1.45;
  overflow: clip;
}

.ohpc [hidden] {
  display: none !important;
}

.ohpc button,
.ohpc input,
.ohpc select,
.ohpc textarea {
  font: inherit;
}

.ohpc button,
.ohpc select,
.ohpc input[type="radio"],
.ohpc input[type="checkbox"],
.ohpc input[type="range"],
.ohpc input[type="color"] {
  cursor: pointer;
}

.ohpc button:focus-visible,
.ohpc input:focus-visible,
.ohpc select:focus-visible,
.ohpc textarea:focus-visible {
  outline: 3px solid rgba(43, 116, 89, 0.26);
  outline-offset: 2px;
}

.ohpc__stage {
  position: sticky;
  top: 0;
  z-index: 2;
  min-height: 720px;
  height: min(90vh, 940px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 255, 255, 0.98), rgba(238, 238, 233, 0.94) 48%, #dfdfd8 100%);
}

.ohpc__canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
}

.ohpc__canvas:active {
  cursor: grabbing;
}

.ohpc__stage-topbar,
.ohpc__size-chip,
.ohpc__drag-hint,
.ohpc__view-controls {
  position: absolute;
  z-index: 3;
}

.ohpc__stage-topbar {
  top: 28px;
  left: 30px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  color: #343735;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  box-shadow: 0 8px 26px rgba(20, 25, 22, 0.07);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.ohpc__live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3d9a73;
  box-shadow: 0 0 0 5px rgba(61, 154, 115, 0.12);
}

.ohpc__size-chip {
  top: 29px;
  right: 30px;
  padding: 9px 13px;
  color: #343735;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  box-shadow: 0 8px 26px rgba(20, 25, 22, 0.07);
  backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.ohpc__view-controls {
  right: 28px;
  bottom: 28px;
  display: flex;
  gap: 4px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(24, 29, 26, 0.1);
  backdrop-filter: blur(14px);
}

.ohpc__view-controls button {
  min-width: 46px;
  height: 36px;
  padding: 0 12px;
  color: #505451;
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.ohpc__view-controls button:hover {
  color: var(--ohpc-ink);
  transform: translateY(-1px);
}

.ohpc__view-controls button.is-active {
  color: #fff;
  background: var(--ohpc-ink);
}

.ohpc__drag-hint {
  left: 30px;
  bottom: 32px;
  margin: 0;
  color: #666b67;
  font-size: 12px;
  font-weight: 550;
}

.ohpc__loading,
.ohpc__fallback {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 30px;
  color: #525753;
  background: #efefeb;
  text-align: center;
  transition: opacity 320ms ease, visibility 320ms ease;
}

.ohpc__loading.is-ready {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.ohpc__spinner {
  width: 34px;
  height: 34px;
  border: 2px solid #c5c8c4;
  border-top-color: var(--ohpc-green);
  border-radius: 50%;
  animation: ohpc-spin 0.85s linear infinite;
}

.ohpc__fallback strong {
  color: var(--ohpc-ink);
  font-size: 18px;
}

.ohpc__fallback span {
  max-width: 420px;
  font-size: 14px;
}

@keyframes ohpc-spin {
  to { transform: rotate(360deg); }
}

.ohpc__panel {
  position: relative;
  z-index: 1;
  padding: clamp(36px, 4vw, 68px) clamp(24px, 4vw, 64px) 64px;
  background: #fff;
}

.ohpc__header {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--ohpc-line);
}

.ohpc__eyebrow {
  margin: 0 0 12px;
  color: var(--ohpc-green-bright);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.16em;
}

.ohpc__header h2,
.ohpc__dialog h3 {
  margin: 0;
  color: var(--ohpc-ink);
  font-weight: 560;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.ohpc__header h2 {
  font-size: clamp(34px, 3.3vw, 52px);
}

.ohpc__header > p:last-child {
  max-width: 650px;
  margin: 17px 0 0;
  color: var(--ohpc-muted);
  font-size: 16px;
  line-height: 1.65;
}

.ohpc__config-form,
.ohpc__lead-form {
  margin: 0;
}

.ohpc__section {
  min-width: 0;
  margin: 0;
  padding: 34px 0;
  border: 0;
  border-bottom: 1px solid var(--ohpc-line);
}

.ohpc__section legend {
  display: flex;
  align-items: baseline;
  gap: 12px;
  width: 100%;
  margin: 0 0 20px;
  padding: 0;
  color: var(--ohpc-ink);
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.ohpc__section legend span {
  color: #9ba09c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ohpc__section-note,
.ohpc__engineering-note {
  margin: -10px 0 20px;
  color: var(--ohpc-muted);
  font-size: 13px;
  line-height: 1.55;
}

.ohpc__engineering-note {
  margin: 19px 0 0;
  padding-left: 19px;
  position: relative;
}

.ohpc__engineering-note::before {
  content: "i";
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  width: 14px;
  height: 14px;
  place-items: center;
  color: #fff;
  background: #8c918d;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 10px;
  font-weight: 700;
}

.ohpc__dimension-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ohpc__dimension {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  background: var(--ohpc-soft);
  border: 1px solid transparent;
  border-radius: 12px;
  transition: border-color 180ms ease, background 180ms ease;
}

.ohpc__dimension:focus-within {
  background: #fff;
  border-color: #a9b8b0;
}

.ohpc__dimension > span:first-child {
  color: #525753;
  font-size: 13px;
  font-weight: 650;
}

.ohpc__number-wrap {
  display: flex;
  align-items: center;
  gap: 3px;
  font-variant-numeric: tabular-nums;
}

.ohpc__number-wrap input {
  width: 59px;
  min-height: 34px;
  padding: 3px;
  color: var(--ohpc-ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid #bbbeba;
  border-radius: 0;
  font-size: 17px;
  font-weight: 650;
  text-align: right;
  appearance: textfield;
}

.ohpc__number-wrap input::-webkit-inner-spin-button,
.ohpc__number-wrap input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.ohpc__number-wrap small {
  color: var(--ohpc-muted);
  font-size: 12px;
}

.ohpc__dimension input[type="range"] {
  grid-column: 1 / -1;
  width: 100%;
}

.ohpc input[type="range"] {
  height: 18px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  accent-color: var(--ohpc-green);
  appearance: none;
}

.ohpc input[type="range"]::-webkit-slider-runnable-track {
  height: 3px;
  background: linear-gradient(90deg, var(--ohpc-green), #c9cbc7);
  border-radius: 999px;
}

.ohpc input[type="range"]::-webkit-slider-thumb {
  width: 17px;
  height: 17px;
  margin-top: -7px;
  background: #fff;
  border: 2px solid var(--ohpc-green);
  border-radius: 50%;
  box-shadow: 0 2px 7px rgba(21, 37, 30, 0.2);
  appearance: none;
}

.ohpc input[type="range"]::-moz-range-track {
  height: 3px;
  background: #c9cbc7;
  border-radius: 999px;
}

.ohpc input[type="range"]::-moz-range-progress {
  height: 3px;
  background: var(--ohpc-green);
}

.ohpc input[type="range"]::-moz-range-thumb {
  width: 15px;
  height: 15px;
  background: #fff;
  border: 2px solid var(--ohpc-green);
  border-radius: 50%;
  box-shadow: 0 2px 7px rgba(21, 37, 30, 0.2);
}

.ohpc__subheading {
  margin: 21px 0 10px;
  color: #555a56;
  font-size: 13px;
  font-weight: 650;
}

.ohpc__subheading:first-of-type {
  margin-top: 0;
}

.ohpc__choice-grid,
.ohpc__colour-grid {
  display: grid;
  gap: 10px;
}

.ohpc__choice-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ohpc__choice-card,
.ohpc__colour-card {
  position: relative;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--ohpc-line);
  border-radius: 12px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ohpc__choice-card {
  display: grid;
  grid-template-columns: 35px 1fr;
  align-items: center;
  column-gap: 11px;
  padding: 15px;
}

.ohpc__choice-card:hover,
.ohpc__colour-card:hover {
  border-color: #aeb2ae;
  transform: translateY(-1px);
}

.ohpc__choice-card.is-selected,
.ohpc__colour-card.is-selected {
  border-color: var(--ohpc-green);
  box-shadow: 0 0 0 1px var(--ohpc-green);
}

.ohpc__choice-card input,
.ohpc__colour-card > input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.ohpc__choice-icon {
  grid-row: 1 / 3;
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  color: #525753;
  background: var(--ohpc-soft);
  border-radius: 8px;
  font-size: 18px;
  transition: color 180ms ease, background 180ms ease;
}

.ohpc__choice-card.is-selected .ohpc__choice-icon {
  color: #fff;
  background: var(--ohpc-green);
}

.ohpc__choice-card strong,
.ohpc__colour-card strong,
.ohpc__toggle-row strong {
  color: var(--ohpc-ink);
  font-size: 14px;
  font-weight: 650;
}

.ohpc__choice-card small,
.ohpc__colour-card small,
.ohpc__toggle-row small {
  display: block;
  margin-top: 2px;
  color: var(--ohpc-muted);
  font-size: 12px;
  line-height: 1.35;
}

.ohpc__roof-control {
  display: block;
  margin-top: 15px;
  padding: 16px;
  background: var(--ohpc-soft);
  border-radius: 12px;
}

.ohpc__roof-control > span {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 10px;
}

.ohpc__roof-control strong,
.ohpc__roof-control output {
  font-size: 13px;
  font-weight: 650;
}

.ohpc__roof-control output {
  color: var(--ohpc-green-bright);
  font-variant-numeric: tabular-nums;
}

.ohpc__roof-control input {
  width: 100%;
}

.ohpc__colour-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ohpc__colour-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 66px;
  padding: 12px;
}

.ohpc__colour-card > span:last-child {
  min-width: 0;
}

.ohpc__colour-card > span:last-child strong,
.ohpc__colour-card > span:last-child small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ohpc__colour-grid + .ohpc__section-note {
  margin: 14px 0 0;
  clear: both;
}

.ohpc__swatch,
.ohpc__colour-card--custom > input[type="color"] {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  padding: 0;
  background: var(--swatch);
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 50%;
  overflow: hidden;
}

.ohpc__swatch--light {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.ohpc__colour-card--custom > input[type="color"] {
  border: 0;
  appearance: none;
}

.ohpc__colour-card--custom > input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}

.ohpc__colour-card--custom > input[type="color"]::-webkit-color-swatch {
  border: 0;
  border-radius: 50%;
}

.ohpc__side-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.ohpc__side-tabs button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  min-height: 64px;
  padding: 11px 12px;
  color: #545955;
  background: #fff;
  border: 1px solid var(--ohpc-line);
  border-radius: 10px;
  text-align: left;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.ohpc__side-tabs button:hover:not(:disabled) {
  border-color: #9ca59f;
  transform: translateY(-1px);
}

.ohpc__side-tabs button.is-active {
  color: #fff;
  background: var(--ohpc-green);
  border-color: var(--ohpc-green);
  box-shadow: 0 7px 18px rgba(28, 76, 59, 0.17);
}

.ohpc__side-tabs button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.ohpc__side-tabs button > span {
  overflow: hidden;
  width: 100%;
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ohpc__side-tabs button small {
  overflow: hidden;
  width: 100%;
  color: #858a86;
  font-size: 10px;
  font-weight: 550;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ohpc__side-tabs button.is-active small {
  color: rgba(255, 255, 255, 0.68);
}

.ohpc__accessory-picker {
  margin-top: 14px;
  padding: 15px;
  background: var(--ohpc-soft);
  border-radius: 13px;
}

.ohpc__accessory-heading {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0 1px 11px;
}

.ohpc__accessory-heading span {
  color: var(--ohpc-muted);
  font-size: 12px;
}

.ohpc__accessory-heading strong {
  color: var(--ohpc-ink);
  font-size: 13px;
  font-weight: 700;
}

.ohpc__accessory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.ohpc__accessory-card {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 7px 11px;
  min-width: 0;
  min-height: 98px;
  padding: 10px;
  color: var(--ohpc-ink);
  background: #fff;
  border: 1px solid #d9dbd7;
  border-radius: 11px;
  text-align: left;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ohpc__accessory-card:hover {
  border-color: #9aa49d;
  transform: translateY(-1px);
}

.ohpc__accessory-card.is-selected {
  border-color: var(--ohpc-green);
  box-shadow: 0 0 0 1px var(--ohpc-green), 0 7px 18px rgba(28, 76, 59, 0.09);
}

.ohpc__accessory-card.is-selected::after {
  content: "✓";
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  color: #fff;
  background: var(--ohpc-green);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
}

.ohpc__accessory-visual {
  position: relative;
  grid-row: 1 / 3;
  display: block;
  width: 72px;
  height: 72px;
  overflow: hidden;
  background: #eaebe7;
  border-radius: 8px;
}

.ohpc__accessory-visual::before {
  content: "";
  position: absolute;
  inset: 12px 10px 9px;
  border: 4px solid #333735;
  border-bottom-width: 5px;
  border-radius: 2px 2px 0 0;
}

.ohpc__accessory-visual i {
  position: absolute;
  inset: 18px 16px 14px;
  display: block;
}

.ohpc__accessory-visual--open i {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(220, 223, 217, 0.28));
}

.ohpc__accessory-visual--screen i {
  background:
    linear-gradient(rgba(78, 74, 68, 0.56), rgba(78, 74, 68, 0.7)),
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(255, 255, 255, 0.2) 3px 4px);
  border-top: 4px solid #272a28;
}

.ohpc__accessory-visual--glass i {
  background:
    linear-gradient(90deg, transparent 31%, rgba(62, 80, 82, 0.5) 31% 34%, transparent 34% 65%, rgba(62, 80, 82, 0.5) 65% 68%, transparent 68%),
    linear-gradient(145deg, rgba(237, 250, 251, 0.9), rgba(147, 190, 197, 0.48));
  border: 1px solid rgba(58, 78, 81, 0.42);
}

.ohpc__accessory-visual--slat i {
  background: repeating-linear-gradient(0deg, #5e6562 0 4px, transparent 4px 8px);
}

.ohpc__accessory-copy {
  min-width: 0;
  align-self: end;
  padding-right: 13px;
}

.ohpc__accessory-copy strong,
.ohpc__accessory-copy small {
  display: block;
}

.ohpc__accessory-copy strong {
  color: var(--ohpc-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.ohpc__accessory-copy small {
  margin-top: 3px;
  color: var(--ohpc-muted);
  font-size: 10px;
  line-height: 1.3;
}

.ohpc__accessory-action {
  align-self: start;
  justify-self: start;
  color: var(--ohpc-green-bright);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ohpc__accessory-card.is-selected .ohpc__accessory-action {
  color: var(--ohpc-green);
}

.ohpc__lead-form label > span {
  color: #565b57;
  font-size: 13px;
  font-weight: 650;
}

.ohpc__lead-form input,
.ohpc__lead-form textarea {
  width: 100%;
  color: var(--ohpc-ink);
  background: #fff;
  border: 1px solid #cfd1cd;
  border-radius: 8px;
  box-shadow: none;
}

.ohpc__toggle-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 14px;
  padding: 16px;
  background: var(--ohpc-soft);
  border-radius: 12px;
}

.ohpc__toggle-row input {
  position: absolute;
  right: 15px;
  width: 45px;
  height: 25px;
  opacity: 0;
}

.ohpc__toggle-row i {
  position: relative;
  flex: 0 0 auto;
  width: 44px;
  height: 24px;
  background: #c9ccc8;
  border-radius: 999px;
  transition: background 180ms ease;
}

.ohpc__toggle-row i::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(16, 22, 19, 0.2);
  transition: transform 180ms ease;
}

.ohpc__toggle-row input:checked + i {
  background: var(--ohpc-green);
}

.ohpc__toggle-row input:checked + i::after {
  transform: translateX(20px);
}

.ohpc__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 30px;
  padding: 17px 18px;
  color: #fff;
  background: #202321;
  border-radius: 12px 12px 0 0;
}

.ohpc__summary span {
  display: block;
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ohpc__summary strong {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 620;
}

.ohpc__summary button {
  padding: 7px;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  border: 0;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ohpc__quote-button,
.ohpc__submit-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 62px;
  padding: 0 21px;
  color: #fff;
  background: var(--ohpc-green);
  border: 0;
  border-radius: 0 0 12px 12px;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.08em;
  transition: background 180ms ease, transform 180ms ease;
}

.ohpc__quote-button:hover,
.ohpc__submit-button:hover {
  background: #28684f;
}

.ohpc__quote-button span:last-child,
.ohpc__submit-button span:last-child {
  font-size: 22px;
  font-weight: 400;
  transition: transform 180ms ease;
}

.ohpc__quote-button:hover span:last-child,
.ohpc__submit-button:hover span:last-child {
  transform: translateX(4px);
}

.ohpc__quote-note {
  margin: 12px 3px 0;
  color: var(--ohpc-muted);
  font-size: 12px;
  line-height: 1.55;
}

.ohpc__modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  padding: 24px;
}

.ohpc__modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 10, 0.72);
  backdrop-filter: blur(8px);
}

.ohpc__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(380px, 1.24fr);
  width: min(980px, 100%);
  max-height: min(90vh, 820px);
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
}

.ohpc__dialog-close {
  position: absolute;
  top: 14px;
  right: 15px;
  z-index: 3;
  display: grid;
  width: 37px;
  height: 37px;
  padding: 0;
  place-items: center;
  color: #333734;
  background: rgba(239, 240, 236, 0.92);
  border: 0;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
}

.ohpc__dialog-copy,
.ohpc__lead-form {
  padding: clamp(28px, 4vw, 48px);
}

.ohpc__dialog-copy {
  color: #fff;
  background: var(--ohpc-green);
}

.ohpc__dialog-copy .ohpc__eyebrow {
  color: #a9dec8;
}

.ohpc__dialog-copy h3 {
  max-width: 360px;
  color: #fff;
  font-size: clamp(30px, 3.2vw, 45px);
}

.ohpc__dialog-copy > p:not(.ohpc__eyebrow) {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.73);
  font-size: 14px;
  line-height: 1.65;
}

.ohpc__dialog-summary {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.ohpc__dialog-summary dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 14px;
  margin: 0;
  font-size: 12px;
}

.ohpc__dialog-summary dt {
  color: rgba(255, 255, 255, 0.56);
}

.ohpc__dialog-summary dd {
  margin: 0;
  color: #fff;
  font-weight: 600;
}

.ohpc__lead-form {
  align-self: center;
}

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

.ohpc__lead-form label:not(.ohpc__consent):not(.ohpc__honeypot) {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ohpc__form-full {
  grid-column: 1 / -1;
}

.ohpc__lead-form input,
.ohpc__lead-form textarea {
  min-height: 44px;
  padding: 9px 11px;
  font-size: 14px;
  resize: vertical;
}

.ohpc__lead-form textarea {
  min-height: 98px;
}

.ohpc__lead-form input[aria-invalid="true"],
.ohpc__lead-form textarea[aria-invalid="true"] {
  border-color: #aa382e;
  box-shadow: 0 0 0 2px rgba(170, 56, 46, 0.1);
}

.ohpc__consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 16px 0;
  color: #656a66;
  font-size: 12px;
  line-height: 1.45;
}

.ohpc__consent input {
  flex: 0 0 auto;
  width: 16px;
  min-height: 16px;
  margin-top: 1px;
  accent-color: var(--ohpc-green);
}

.ohpc__honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.ohpc__form-status {
  min-height: 0;
  margin: 0;
  color: #a13027;
  font-size: 13px;
  line-height: 1.45;
}

.ohpc__form-status:not(:empty) {
  margin: 0 0 12px;
  padding: 10px 12px;
  background: #fff0ee;
  border-radius: 7px;
}

.ohpc__form-status.is-success {
  color: #174b37;
  background: #eaf7f0;
}

.ohpc__submit-button {
  min-height: 56px;
  border-radius: 9px;
}

.ohpc__submit-button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.ohpc__contact-fallback {
  margin: 12px 0 0;
  color: var(--ohpc-muted);
  font-size: 12px;
  text-align: center;
}

.ohpc__contact-fallback a {
  color: var(--ohpc-green);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.ohpc-modal-open {
  overflow: hidden;
}

@media (min-width: 980px) {
  .ohpc {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(420px, 0.85fr);
    align-items: start;
  }
}

@media (max-width: 1180px) and (min-width: 980px) {
  .ohpc {
    grid-template-columns: minmax(0, 1.15fr) minmax(420px, 0.85fr);
  }

  .ohpc__dimension-grid,
  .ohpc__colour-grid {
    grid-template-columns: 1fr;
  }

  .ohpc__dimension {
    grid-template-columns: 1fr auto minmax(90px, 1.2fr);
  }

  .ohpc__dimension input[type="range"] {
    grid-column: auto;
  }
}

@media (max-width: 979px) {
  .ohpc__stage {
    min-height: 420px;
    height: 52vh;
    max-height: 600px;
  }

  .ohpc__panel {
    box-shadow: 0 -12px 34px rgba(18, 23, 20, 0.06);
  }

  .ohpc__dialog {
    grid-template-columns: 1fr;
  }

  .ohpc__dialog-copy {
    padding-right: 62px;
  }

  .ohpc__dialog-summary {
    margin-top: 22px;
  }
}

@media (max-width: 680px) {
  .ohpc {
    border-right: 0;
    border-left: 0;
  }

  .ohpc__stage {
    min-height: 330px;
    height: 45vh;
    max-height: 470px;
  }

  .ohpc__stage-topbar {
    top: 14px;
    left: 14px;
    padding: 7px 9px;
    font-size: 10px;
  }

  .ohpc__size-chip {
    top: 14px;
    right: 14px;
    padding: 7px 9px;
    font-size: 11px;
  }

  .ohpc__drag-hint {
    left: 15px;
    bottom: 17px;
    font-size: 10px;
  }

  .ohpc__view-controls {
    right: 13px;
    bottom: 12px;
  }

  .ohpc__view-controls button {
    min-width: 34px;
    height: 31px;
    padding: 0 8px;
    font-size: 10px;
  }

  .ohpc__panel {
    padding: 31px 18px 45px;
  }

  .ohpc__header {
    padding-bottom: 27px;
  }

  .ohpc__header h2 {
    font-size: 34px;
  }

  .ohpc__header > p:last-child {
    font-size: 15px;
  }

  .ohpc__section {
    padding: 28px 0;
  }

  .ohpc__dimension-grid,
  .ohpc__colour-grid,
  .ohpc__form-grid {
    grid-template-columns: 1fr;
  }

  .ohpc__side-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ohpc__accessory-grid {
    grid-template-columns: 1fr;
  }

  .ohpc__dimension {
    grid-template-columns: 1fr auto minmax(105px, 1.25fr);
  }

  .ohpc__dimension input[type="range"] {
    grid-column: auto;
  }

  .ohpc__choice-card {
    grid-template-columns: 29px 1fr;
    padding: 12px;
  }

  .ohpc__choice-icon {
    width: 29px;
    height: 29px;
    font-size: 15px;
  }

  .ohpc__choice-card strong {
    font-size: 13px;
  }

  .ohpc__choice-card small {
    font-size: 11px;
  }

  .ohpc__colour-card {
    min-height: 58px;
  }

  .ohpc__modal {
    align-items: end;
    padding: 0;
  }

  .ohpc__dialog {
    width: 100%;
    max-height: 94vh;
    border-radius: 17px 17px 0 0;
  }

  .ohpc__dialog-copy,
  .ohpc__lead-form {
    padding: 29px 20px;
  }

  .ohpc__dialog-copy h3 {
    font-size: 31px;
  }

  .ohpc__form-full {
    grid-column: auto;
  }
}

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