.gst-form [hidden] { display: none !important; }
.gst-form { background: #fff; border: 1px solid #dfe5ec; border-radius: 10px; padding: clamp(18px, 3vw, 32px); }
.gst-form fieldset { border: 0; margin: 0 0 26px; padding: 0; min-width: 0; }
.gst-form legend { font-size: 1.15rem; font-weight: 700; color: #10202f; padding: 0; margin-bottom: 14px; }
.gst-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gst-wide { grid-column: 1 / -1; }
.gst-field label { display: block; font-size: .92rem; font-weight: 600; color: #223344; margin-bottom: 6px; }
.gst-field label span { color: #c0392b; }
.gst-label { display: block; font-size: .92rem; font-weight: 600; color: #223344; margin-bottom: 8px; }
.gst-label small { font-weight: 400; color: #5d6f80; font-size: .82rem; }
.gst-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
.gst-field .gst-checks label { display: flex; align-items: center; gap: 9px; margin: 0; min-height: 28px; font-weight: 400; color: #223344; cursor: pointer; }
.gst-checks input { width: 18px; height: 18px; flex: none; accent-color: #0f62c4; }
.gst-field label small { font-weight: 400; color: #5d6f80; font-size: .82rem; }
.gst-form input[type="text"], .gst-form input[type="tel"], .gst-form input[type="email"], .gst-form input[type="file"], .gst-form select, .gst-form textarea {
  width: 100%; box-sizing: border-box; min-height: 46px; padding: 10px 12px; font: inherit; font-size: 16px; color: #10202f;
  background: #f7f9fb; border: 1px solid #c6d1dc; border-radius: 6px;
}
.gst-form select:disabled { color: #7a8996; background: #eef1f4; cursor: not-allowed; }
.gst-form input:focus, .gst-form select:focus, .gst-form textarea:focus { outline: 2px solid #1b76bc; outline-offset: 1px; background: #fff; }
.gst-submit { width: 100%; min-height: 54px; border: 0; border-radius: 6px; background: #12a0ff; color: #07182e; font: inherit; font-size: 1.1rem; font-weight: 700; cursor: pointer; }
.gst-submit:hover { background: #4db8ff; }
.gst-submit:disabled { opacity: .7; cursor: wait; }
.gst-small { font-size: .84rem; color: #5d6f80; margin: 12px 0 0; text-align: center; }
.gst-notice { padding: 14px 16px; border-radius: 8px; margin-bottom: 18px; }
.gst-ok { background: #e6f6ec; border: 1px solid #9ad7b0; color: #14532d; }
.gst-bad { background: #fdecea; border: 1px solid #f0aaa3; color: #7f1d1d; }
.gst-trap { position: absolute; left: -9999px; height: 1px; overflow: hidden; }
.gst-vin { background: #eef6ff; border: 1px solid #bcdcfa; border-radius: 8px; padding: 14px; }
.gst-vin-row { display: flex; gap: 10px; }
.gst-vin-row input { flex: 1 1 auto; min-width: 0; background: #fff !important; text-transform: uppercase; letter-spacing: .03em; }
.gst-vin-row input::placeholder { text-transform: none; letter-spacing: 0; }
.gst-vin-btn { flex: none; min-height: 46px; padding: 0 18px; border: 0; border-radius: 6px; background: #07182e; color: #fff; font: inherit; font-size: .95rem; font-weight: 700; cursor: pointer; }
.gst-vin-btn:hover { background: #0d3a78; }
.gst-vin-btn:disabled { opacity: .65; cursor: wait; }
.gst-vin-help { font-size: .86rem; line-height: 1.4; color: #24374d; margin: 9px 0 0; }
.gst-vin-status { font-size: .9rem; font-weight: 600; margin: 8px 0 0; color: #14532d; }
.gst-vin-status.is-bad { color: #b32d2e; }
.gst-captcha { margin-bottom: 14px; }
.gst-captcha-msg { color: #b32d2e; font-size: .9rem; font-weight: 600; margin: 0 0 12px; }
.gst-label span { color: #c0392b; }
.gst-damage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 20px; align-items: start; }
.gst-car3d { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #fff; }
.gst-car3d canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.gst-car3d.is-dragging canvas { cursor: grabbing; }
.gst-spin { position: absolute; top: 6px; right: 6px; min-height: 32px; padding: 0 10px; border: 1px solid #07182e; border-radius: 6px; background: #fff; color: #07182e; font: inherit; font-size: .78rem; font-weight: 700; cursor: pointer; }
/* The checklist and car are kept compact so both fit on one screen. */
.gst-damage .gst-checks-stack { gap: 4px 10px; }
.gst-field .gst-checks label.is-na { opacity: .4; cursor: not-allowed; }
.gst-field .gst-damage .gst-checks label { min-height: 26px; line-height: 1.2; }
.gst-checks.gst-checks-stack { grid-template-columns: 1fr; }
.gst-car-wrap { text-align: center; }
.gst-car-wrap .gst-small { margin-top: 6px; }
.gst-car { display: block; width: 100%; max-width: 190px; height: auto; margin: 0 auto; }
.gst-car-tire { fill: #07182e; }
.gst-car-body { fill: #1565c0; stroke: #07182e; stroke-width: 7; }
.gst-car-roof { fill: #0d4ca5; stroke: #07182e; stroke-width: 3; }
.gst-glass { fill: #bfe3ff; stroke: #07182e; stroke-width: 3; cursor: pointer; transition: fill .15s ease; }
.gst-glass:hover { fill: #8fd0ff; }
.gst-glass.is-on, .gst-glass.is-on:hover { fill: #e3242b; filter: drop-shadow(0 0 6px rgba(227, 36, 43, .85)); }
.gst-car text { fill: #fff; font: 700 15px/1 sans-serif; letter-spacing: .08em; }
.gst-glass.gst-chip { fill: transparent; stroke: transparent; }
.gst-glass.gst-chip.is-on, .gst-glass.gst-chip.is-on:hover { fill: #ffb000; stroke: #07182e; filter: drop-shadow(0 0 6px rgba(255, 176, 0, .9)); }
@media (prefers-reduced-motion: reduce) { .gst-glass { transition: none; } }
/* Set once on load by quote.js. Height media queries would flip as a phone's address bar hides. */
.gst-form.gst-phone-tiny .gst-car3d { aspect-ratio: 5 / 2 !important; }
.gst-form.gst-phone-short .gst-car3d { aspect-ratio: 2 / 1 !important; }
.gst-form.gst-phone-tiny [data-gst="car-hint"], .gst-form.gst-phone-short [data-gst="car-hint"] { display: none; }
.gst-form.gst-phone-tiny .gst-field .gst-damage .gst-checks label, .gst-form.gst-phone-short .gst-field .gst-damage .gst-checks label { min-height: 32px !important; }
.gst-form.gst-phone-tiny #gst-glass-label small, .gst-form.gst-phone-short #gst-glass-label small { display: none; }
@media (max-width: 640px) {
  .gst-grid, .gst-checks { grid-template-columns: 1fr; }
  .gst-damage { grid-template-columns: 1fr; }
  .gst-vin-row { flex-direction: column; }
  .gst-damage { gap: 8px; }
  .gst-car-wrap { order: -1; }
  .gst-car3d { aspect-ratio: 16 / 9; }
  .gst-car-wrap .gst-small { margin-top: 3px; font-size: .78rem; }
  .gst-checks.gst-checks-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 8px; }
  .gst-field .gst-damage .gst-checks label { min-height: 38px; font-size: .84rem; gap: 7px; }
  .gst-car { max-width: 165px; }
}
