.ipwh-quote-shell {
  --ipwh-quote-brand: #81221f;
  --ipwh-quote-ink: #101828;
  --ipwh-quote-muted: #475467;
  --ipwh-quote-line: #d0d5dd;
  --ipwh-quote-control-line: #7c8797;
  --ipwh-quote-surface: #fff;
  --ipwh-quote-soft: #f8fafc;
  --ipwh-quote-accent: #81221f;
  --ipwh-quote-error: #b42318;
  background: var(--ipwh-quote-soft);
  color: var(--ipwh-quote-ink);
  font-family: Arial, sans-serif;
  padding: clamp(48px, 7vw, 88px) 0;
  scroll-margin-top: 170px;
}
[data-ipwh-theme="dark"] .ipwh-quote-shell {
  --ipwh-quote-ink: #f3f6fb;
  --ipwh-quote-muted: #c2ccda;
  --ipwh-quote-line: #536379;
  --ipwh-quote-control-line: #718199;
  --ipwh-quote-surface: #141e2d;
  --ipwh-quote-soft: #0b121d;
  --ipwh-quote-accent: #f1aaa4;
  --ipwh-quote-error: #ffb4ac;
  color-scheme: dark;
}
.ipwh-quote-shell * { box-sizing: border-box; }
.ipwh-quote-wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.ipwh-quote-intro { text-align: center; max-width: 760px; margin: 0 auto 34px; }
.ipwh-quote-eyebrow { color: var(--ipwh-quote-accent); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ipwh-quote-intro h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.13; letter-spacing: -.025em; margin: 12px 0 14px; color: var(--ipwh-quote-ink); }
.ipwh-quote-intro p { font-size: 17px; line-height: 1.7; color: var(--ipwh-quote-muted); margin: 0; }
.ipwh-quote-layout { display: grid; grid-template-columns: minmax(240px, 310px) minmax(0, 1fr); gap: 24px; align-items: start; }
.ipwh-quote-guide { position: sticky; top: 170px; background: linear-gradient(155deg, #111c2e, #261f2f); color: #fff; border-radius: 18px; padding: 28px; }
.ipwh-quote-guide-badge { color: #f2c5c2; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.ipwh-quote-guide h3 { font-size: 25px; line-height: 1.2; margin: 18px 0 10px; color: #fff; }
.ipwh-quote-guide p { color: #d0d5dd; line-height: 1.65; margin: 0; }
.ipwh-quote-steps { margin: 24px 0 0; padding: 0 0 0 20px; }
.ipwh-quote-steps li { margin-top: 18px; padding-left: 5px; }
.ipwh-quote-steps strong { display: block; color: #fff; font-size: 14px; margin-bottom: 4px; }
.ipwh-quote-steps span { display: block; color: #c2ccda; font-size: 13px; line-height: 1.5; }
.ipwh-quote-shell .ipwh-quote-card { background: var(--ipwh-quote-surface); border: 1px solid var(--ipwh-quote-line); border-radius: 18px; padding: clamp(22px, 4vw, 38px); min-width: 0; }
.ipwh-quote-status { border-radius: 10px; padding: 14px 16px; margin: 0 0 24px; font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; scroll-margin-top: 180px; }
.ipwh-quote-status[hidden] { display: none; }
.ipwh-quote-status-success { background: #ecfdf3; border: 1px solid #067647; color: #065f46; }
.ipwh-quote-status-error { background: #fef3f2; border: 1px solid #b42318; color: #9b1c13; }
[data-ipwh-theme="dark"] .ipwh-quote-shell .ipwh-quote-status-success { background: #102d25; border-color: #6ee7b7; color: #a7f3d0; }
[data-ipwh-theme="dark"] .ipwh-quote-shell .ipwh-quote-status-error { background: #351d23; border-color: #ffb4ac; color: #ffccc6; }
.ipwh-quote-form { display: grid; gap: 24px; }
.ipwh-quote-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.ipwh-quote-legend { width: 100%; font-size: 21px; font-weight: 800; color: var(--ipwh-quote-ink); padding: 0 0 15px; margin: 0 0 20px; border-bottom: 1px solid var(--ipwh-quote-line); }
.ipwh-quote-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ipwh-quote-field { min-width: 0; }
.ipwh-quote-field-wide { grid-column: 1 / -1; }
.ipwh-quote-label { display: block; color: var(--ipwh-quote-ink); font-size: 14px; font-weight: 700; margin: 0 0 8px; }
.ipwh-quote-required { color: var(--ipwh-quote-error); }
.ipwh-quote-help, .ipwh-quote-optional { color: var(--ipwh-quote-muted); font-size: 12px; line-height: 1.5; font-weight: 400; }
.ipwh-quote-help { display: block; margin: 6px 0 0; }
.ipwh-quote-shell .ipwh-quote-control { display: block; width: 100%; min-height: 50px; border: 1px solid var(--ipwh-quote-control-line); border-radius: 9px; background: var(--ipwh-quote-surface); color: var(--ipwh-quote-ink); font: inherit; font-size: 16px; padding: 12px 14px; }
.ipwh-quote-control::placeholder { color: var(--ipwh-quote-muted); opacity: 1; }
/* Keep form boundaries legible despite the shared dark card normalization. */
.ipwh-quote-shell .ipwh-quote-control { border-color: var(--ipwh-quote-control-line) !important; }
.ipwh-quote-shell :is(.ipwh-quote-control, .ipwh-quote-details-summary, .ipwh-quote-submit, .ipwh-quote-consent input, .ipwh-quote-option input):focus-visible { outline: 3px solid var(--ipwh-quote-accent); outline-offset: 3px; }
.ipwh-quote-shell [aria-invalid="true"] { border-color: var(--ipwh-quote-error); outline-color: var(--ipwh-quote-error); }
.ipwh-quote-shell .ipwh-quote-control[aria-invalid="true"] { border-color: var(--ipwh-quote-error) !important; }
.ipwh-quote-field-error { display: block; color: var(--ipwh-quote-error); font-size: 13px; line-height: 1.5; margin: 7px 0 0; }
.ipwh-quote-field-error[hidden] { display: none; }
.ipwh-quote-textarea { min-height: 120px; resize: vertical; }
.ipwh-quote-details { border-top: 1px solid var(--ipwh-quote-line); border-bottom: 1px solid var(--ipwh-quote-line); }
.ipwh-quote-details-summary { color: var(--ipwh-quote-accent); font-size: 15px; font-weight: 700; padding: 18px 0; min-height: 52px; cursor: pointer; }
.ipwh-quote-details-content { display: grid; gap: 28px; padding: 6px 0 24px; }
.ipwh-quote-options { display: grid; gap: 8px; }
.ipwh-quote-option { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; border: 1px solid var(--ipwh-quote-line); border-radius: 8px; padding: 11px; color: var(--ipwh-quote-ink); background: var(--ipwh-quote-soft); font-size: 13px; line-height: 1.45; cursor: pointer; }
.ipwh-quote-option input, .ipwh-quote-consent input { width: 18px; height: 18px; margin: 1px 0 0; flex: 0 0 18px; accent-color: var(--ipwh-quote-brand); }
.ipwh-quote-consent { display: flex; align-items: flex-start; gap: 11px; color: var(--ipwh-quote-muted); font-size: 13px; line-height: 1.6; min-height: 44px; }
.ipwh-quote-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.ipwh-quote-privacy { display: flex; align-items: flex-start; gap: 8px; flex: 1 1 200px; color: var(--ipwh-quote-muted); font-size: 12px; line-height: 1.6; }
.ipwh-quote-privacy svg { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: var(--ipwh-quote-accent); stroke-width: 1.8; }
.ipwh-quote-submit { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; border: 1px solid transparent; border-radius: 9px; background: var(--ipwh-quote-brand); color: #fff; font: inherit; font-size: 15px; font-weight: 800; padding: 12px 24px; cursor: pointer; }
.ipwh-quote-submit:hover { background: #641714; }
.ipwh-quote-submit:disabled { opacity: .7; cursor: wait; }
.ipwh-quote-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.ipwh-quote-recaptcha-note { color: var(--ipwh-quote-muted); font-size: 12px; line-height: 1.5; margin: 0; }
.ipwh-quote-recaptcha-note a { color: inherit; text-decoration: underline; }
@media (max-width: 900px) {
  .ipwh-quote-layout { grid-template-columns: 1fr; }
  .ipwh-quote-card { grid-row: 1; }
  .ipwh-quote-guide { position: static; }
}
@media (max-width: 640px) {
  .ipwh-quote-wrap { width: calc(100% - 28px); }
  .ipwh-quote-shell .ipwh-quote-card { padding: 24px 18px; }
  .ipwh-quote-grid { grid-template-columns: 1fr; }
  .ipwh-quote-intro { text-align: left; }
  .ipwh-quote-submit { width: 100%; }
}
