/* Shared surface, spacing and type treatments for enquiries and the estimate. */
.storage-site #enquire .form-card,
.parking-site #enquire .form-card,
.storage-site #space-estimate {
  --panel-brand: #033982;
  --panel-ink: #152b43;
  --panel-muted: #465970;
  --panel-border: #cbd8e7;
  --panel-surface: #fff;
  --panel-inset: #f5f8fc;
  --panel-focus: #2c6cb7;
  --panel-radius: 16px;
}

.parking-site #enquire .form-card {
  --panel-brand: #d3e3fa;
  --panel-ink: #f4f7fb;
  --panel-muted: #c0cbd9;
  --panel-border: #566374;
  --panel-surface: #1c2430;
  --panel-inset: #10161e;
  --panel-focus: #9cc6f3;
}

/* Leave the discovery modes' palettes intact. */
.storage-site #calculator.packing-game:not([data-celebration]) #space-estimate {
  background: #f4f7fb;
  border-color: #d9e4f0;
  color: var(--panel-ink);
  padding: clamp(14px, 2vw, 24px);
}

.storage-site #calculator.packing-game:not([data-celebration]) #space-estimate .estimate-result {
  padding: clamp(15px, 2vw, 22px);
  margin: 0 0 20px;
  background: linear-gradient(155deg, #fff 55%, #f8fbff);
  border: 1px solid var(--panel-border);
  border-radius: var(--panel-radius);
  box-shadow: 0 9px 24px #0339820c;
}

.storage-site #calculator.packing-game:not([data-celebration]) #space-estimate .estimate-heading {
  padding-bottom: 13px;
  margin-bottom: 15px;
  border-bottom: 1px solid #e1eaf4;
}

.storage-site #calculator.packing-game:not([data-celebration]) #space-estimate .estimate-heading > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--panel-brand);
  background: #edf4fc;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  letter-spacing: .09em;
}

.storage-site #calculator.packing-game:not([data-celebration]) #space-estimate .estimate-heading > span:first-child::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.storage-site #calculator.packing-game:not([data-celebration]) #space-estimate .estimate-dot {
  display: none;
}

.storage-site #calculator.packing-game:not([data-celebration]) #space-estimate .estimate-primary-label {
  color: var(--panel-muted);
  font-size: 14px;
}

.storage-site #calculator.packing-game:not([data-celebration]) #space-estimate .estimate-primary {
  color: var(--panel-brand);
  font-size: clamp(40px, 4.4vw, 56px);
  line-height: 1;
  margin: 9px 0 8px;
}

.storage-site #calculator.packing-game:not([data-celebration]) #space-estimate :is(.estimate-start, #calcCount) {
  color: var(--panel-muted);
  font-size: 14px;
  line-height: 1.5;
}

.storage-site #calculator.packing-game:not([data-celebration]) #space-estimate .packing-preview {
  margin: 15px 0;
  padding: 8px 10px 10px;
  background: linear-gradient(145deg, #f6f9fd, #eaf2fb);
  border: 1px solid #d9e4f0;
  border-radius: 12px;
}

.storage-site #calculator.packing-game:not([data-celebration]) #space-estimate .packing-preview figcaption {
  color: var(--panel-muted);
  font-size: 12px;
  line-height: 1.45;
}

.storage-site #calculator.packing-game:not([data-celebration]) #space-estimate .estimate-size-scale {
  gap: 4px;
  margin: 0;
}

.storage-site #calculator.packing-game:not([data-celebration]) #space-estimate .estimate-size-scale > span {
  display: grid;
  place-content: center;
  min-height: 33px;
  border: 1px solid #cbd8e7;
  border-radius: 6px;
  padding: 3px 2px;
  background: #f1f5fa;
  color: var(--panel-ink);
  font-size: 13px;
  line-height: 1.15;
}

.storage-site #calculator.packing-game:not([data-celebration]) #space-estimate .estimate-size-scale > span:last-child {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 2px;
}

.storage-site #calculator.packing-game:not([data-celebration]) #space-estimate .estimate-size-scale > span.is-suggested {
  background: var(--panel-brand);
  border-color: var(--panel-brand);
  color: #fff;
  box-shadow: 0 3px 8px #03398224;
}

.storage-site #calculator.packing-game:not([data-celebration]) #space-estimate .figure {
  color: var(--panel-brand);
}

.storage-site #calculator.packing-game:not([data-celebration]) #space-estimate .btn-row .btn {
  min-height: 48px;
  border-radius: 9px;
  font-size: 15px;
}

.storage-site #calculator.packing-game:not([data-celebration]) #space-estimate :is(.selected-inventory, .packing-details) {
  margin-block: 10px !important;
  padding: 0 12px !important;
  background: #fff;
  border: 1px solid var(--panel-border);
  border-radius: 9px;
}

.storage-site #calculator.packing-game:not([data-celebration]) #space-estimate :is(.selected-inventory, .packing-details) summary {
  min-height: 44px;
  color: var(--panel-ink);
  font-size: 14px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.storage-site #calculator.packing-game:not([data-celebration]) #space-estimate :is(.selected-inventory, .packing-details)[open] {
  padding-bottom: 8px !important;
}

/* Keep the two enquiry pages related while each retains its own palette. */
.storage-site #enquire {
  background: linear-gradient(155deg, #f8fafd, #edf4fc);
}

.storage-site #enquire .form-card,
.parking-site #enquire .form-card {
  align-self: start;
  min-width: 0;
  padding: clamp(17px, 4vw, 36px);
  color: var(--panel-ink);
  background: var(--panel-surface);
  border: 1px solid var(--panel-border);
  border-radius: var(--panel-radius);
}

.storage-site #enquire .form-card {
  box-shadow: 0 18px 50px #03398214;
}

.parking-site #enquire .form-card {
  box-shadow: 0 18px 54px #0005;
}

.storage-site #enquire .enquiry-form-heading,
.parking-site #enquire .form-heading {
  margin-bottom: 22px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--panel-border);
}

.storage-site #enquire .enquiry-form-heading h3,
.parking-site #enquire .form-heading h3 {
  color: var(--panel-ink);
  font-size: clamp(23px, 3vw, 30px);
  line-height: 1.15;
  letter-spacing: -.025em;
}

.storage-site #enquire .enquiry-form-heading > span,
.parking-site #enquire .form-heading > span {
  color: var(--panel-brand);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .09em;
}

.storage-site #enquire .enquiry-form-heading p {
  color: var(--panel-muted);
  font-size: 15px;
  line-height: 1.45;
}

.storage-site #enquire .fgrid,
.parking-site #enquire .form-grid {
  gap: 17px 16px;
}

.storage-site #enquire .field,
.parking-site #enquire .field {
  min-width: 0;
}

.storage-site #enquire .field label,
.parking-site #enquire .field label {
  color: var(--panel-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.storage-site #enquire .field label .hint,
.parking-site #enquire .field label span {
  color: var(--panel-muted);
  font-size: 13px !important;
  font-weight: 400;
}

.storage-site #enquire .field :is(input, select, textarea),
.parking-site #enquire .field :is(input, select, textarea) {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--panel-border);
  border-radius: 9px;
  background: var(--panel-inset);
  color: var(--panel-ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
}

.parking-site #enquire .field :is(input, select, textarea) {
  color-scheme: dark;
}

.storage-site #enquire .field :is(input, select, textarea):focus,
.parking-site #enquire .field :is(input, select, textarea):focus {
  border-color: var(--panel-focus);
  outline: 2px solid var(--panel-focus);
  outline-offset: 2px;
}

.storage-site #enquire .field textarea,
.parking-site #enquire .field textarea {
  min-height: 104px;
}

.storage-site #enquire .consent,
.parking-site #enquire .consent {
  align-items: flex-start;
  padding: 12px;
  background: var(--panel-inset);
  border: 1px solid var(--panel-border);
  border-radius: 9px;
  color: var(--panel-muted);
  font-size: 14px !important;
  line-height: 1.55 !important;
}

.storage-site #enquire .consent input,
.parking-site #enquire .consent input {
  accent-color: var(--panel-brand);
  margin: 3px 0 0;
}

.storage-site #enquire .form-card button[type="submit"],
.parking-site #enquire .form-card button[type="submit"] {
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 11px 14px;
  border-radius: 9px;
  font-size: 16px;
  line-height: 1.45;
}

.parking-site #enquire .form-card button[type="submit"] {
  border-color: var(--panel-brand);
  background: var(--panel-brand);
  color: #142338;
}

.parking-site #enquire .form-card button[type="submit"]:hover {
  border-color: #edf5ff;
  background: #edf5ff;
}

.storage-site #enquire :is(.form-note, .fgrid > p:last-child),
.parking-site #enquire :is(.form-note, .form-card > p:last-child) {
  color: var(--panel-muted);
  font-size: 13px !important;
  line-height: 1.55 !important;
  overflow-wrap: anywhere;
}

.storage-site #enquire .fgrid > p:last-child,
.parking-site #enquire .form-card > p:last-child {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--panel-border);
}

.parking-site #enquire .form-card > p:last-child {
  margin-top: 15px;
}

.storage-site #enquire .form-msg[data-show="true"],
.parking-site #enquire .form-status:not([hidden]) {
  min-width: 0;
  border: 1px solid var(--panel-border);
  border-radius: 9px;
  overflow-wrap: anywhere;
}

@media (max-width: 540px) {
  .storage-site #enquire .fgrid,
  .parking-site #enquire .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 380px) {
  .storage-site #calculator.packing-game:not([data-celebration]) #space-estimate .estimate-size-scale > span {
    font-size: 12px;
  }

  .storage-site #calculator.packing-game:not([data-celebration]) #space-estimate .estimate-size-scale small {
    font-size: 10px;
  }
}
