.quote-dialog {
  --quote-ink: #0c2430;
  --quote-muted: #4b6370;
  --quote-line: #c7dadd;
  --quote-ice: #eaf4f5;
  --quote-teal: #006c78;
  box-sizing: border-box;
  width: min(740px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 0;
  color: var(--quote-ink);
  background: #fff;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 24px 90px #0c24303d;
  font: inherit;
  overscroll-behavior: contain;
}
.quote-dialog::backdrop { background: rgb(12 36 48 / 65%); backdrop-filter: blur(3px); }
.quote-dialog *, .quote-dialog *::before, .quote-dialog *::after { box-sizing: border-box; }
.quote-dialog [hidden] { display: none !important; }
.quote-shell { position: relative; padding: 36px 40px 28px; }
.quote-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; color: var(--quote-ink); background: transparent; border: 0; border-radius: 50%; cursor: pointer; }
.quote-close:hover { background: var(--quote-ice); }
.quote-progress { margin: 0 44px 12px 0; color: var(--quote-teal); font-size: .875rem; font-weight: 650; line-height: 1.5; }
.quote-dialog h2 { margin: 0; max-width: 90%; color: var(--quote-ink); font-size: clamp(1.6rem, 3.8vw, 2rem); font-weight: 650; line-height: 1.2; letter-spacing: -.035em; }
.quote-intro { margin: 12px 0 24px; max-width: 56ch; color: var(--quote-muted); font-size: 1rem; line-height: 1.6; }
.quote-step, .quote-group { margin: 0; padding: 0; min-width: 0; border: 0; }
.quote-label { display: block; margin: 0 0 10px; padding: 0; color: var(--quote-ink); font-size: .9375rem; font-weight: 650; line-height: 1.5; }
.quote-audiences { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
.quote-audience { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 12px 18px; background: #fff; border: 1px solid var(--quote-line); border-radius: 6px; color: var(--quote-ink); font-size: 1rem; font-weight: 650; cursor: pointer; }
.quote-audience:has(input:checked) { background: var(--quote-ice); border-color: var(--quote-teal); box-shadow: inset 0 0 0 1px var(--quote-teal); }
.quote-audience input { width: 17px; height: 17px; margin: 0; accent-color: var(--quote-teal); }
.quote-choices { display: grid; gap: 10px; }
.quote-choice { display: flex; gap: 15px; align-items: flex-start; padding: 16px 18px; cursor: pointer; border: 1px solid var(--quote-line); border-radius: 8px; background: #fff; transition: border-color .15s, background-color .15s; }
.quote-choice:hover, .quote-audience:hover { border-color: var(--quote-teal); }
.quote-choice:has(input:checked) { border-color: var(--quote-teal); background: var(--quote-ice); box-shadow: inset 0 0 0 1px var(--quote-teal); }
.quote-choice input { flex: 0 0 auto; width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--quote-teal); }
.quote-choice strong { display: block; font-size: 1.0625rem; font-weight: 650; line-height: 1.4; }
.quote-choice span span { display: block; margin-top: 4px; color: var(--quote-muted); font-size: .9375rem; line-height: 1.5; }
.quote-context { margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid var(--quote-line); color: var(--quote-teal); font-size: .875rem; font-weight: 650; line-height: 1.5; }
.quote-helper { margin: 16px 0 0; color: var(--quote-muted); font-size: .875rem; line-height: 1.6; }
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-field { display: block; margin: 0 0 16px; color: var(--quote-ink); font-size: .9375rem; font-weight: 650; line-height: 1.5; }
.quote-short-field { max-width: calc(50% - 8px); }
.quote-optional, .quote-required { color: var(--quote-muted); font-size: .875rem; font-weight: 400; }
.quote-field input, .quote-field select, .quote-field textarea { display: block; width: 100%; min-width: 0; margin: 7px 0 0; padding: 11px 13px; border: 1px solid #9cb8bf; border-radius: 6px; color: var(--quote-ink); background: #fff; font: inherit; font-size: 1rem; font-weight: 400; line-height: 1.5; }
.quote-field input, .quote-field select { min-height: 48px; }
.quote-field input::placeholder, .quote-field textarea::placeholder { color: #58717e; opacity: 1; }
.quote-field input[aria-invalid="true"] { border-color: #a42d16; }
.quote-field textarea { resize: vertical; min-height: 86px; max-height: 50dvh; line-height: 1.6; }
#quote-message { min-height: 260px; }
.quote-field-help { display: block; margin-top: 6px; color: var(--quote-muted); font-size: .875rem; font-weight: 400; }
.quote-select, .quote-unit { display: block; position: relative; }
.quote-select select { appearance: none; padding-right: 38px; }
.quote-select::after { content: ''; position: absolute; top: 50%; right: 12px; width: 20px; height: 20px; transform: translateY(-50%); pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 7.5 5 5 5-5' fill='none' stroke='%230c2430' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.quote-unit input { padding-right: 44px; }
.quote-unit > span { position: absolute; top: 50%; right: 13px; transform: translateY(-50%); color: var(--quote-muted); font-weight: 400; pointer-events: none; }
.quote-note { margin: 0 0 18px; padding: 13px 16px; color: var(--quote-ink); background: var(--quote-ice); border-left: 3px solid #6aaab2; border-radius: 0 6px 6px 0; font-size: .9375rem; line-height: 1.6; }
.quote-draft-notice p { margin: 0 0 8px; }
.quote-refresh { min-height: 44px; padding: 6px 0; border: 0; background: none; color: var(--quote-teal); font: inherit; font-weight: 650; line-height: 1.5; text-align: left; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.quote-details { border-top: 1px solid var(--quote-line); border-bottom: 1px solid var(--quote-line); }
.quote-details summary { position: relative; display: block; list-style: none; padding: 15px 28px 15px 0; color: var(--quote-teal); font-size: .9375rem; font-weight: 650; line-height: 1.6; cursor: pointer; }
.quote-details summary::-webkit-details-marker { display: none; }
.quote-details summary > span { color: var(--quote-muted); font-size: .875rem; font-weight: 400; white-space: nowrap; }
.quote-details summary::after { content: ''; position: absolute; right: 0; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 7.5 5 5 5-5' fill='none' stroke='%23006c78' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.quote-details[open] summary::after { transform: translateY(-50%) rotate(180deg); }
.quote-details-body { padding-top: 4px; }
.quote-navigation { display: flex; justify-content: flex-end; align-items: center; gap: 20px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--quote-line); }
.quote-back { min-height: 44px; margin-right: auto; padding: 8px 0; color: var(--quote-ink); background: none; border: 0; font: inherit; font-size: 1rem; font-weight: 650; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; cursor: pointer; }
#quote-done { margin-right: 0; }
.quote-button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 22px; border: 1px solid transparent; border-radius: 6px; font: inherit; font-size: 1rem; font-weight: 650; line-height: 1.5; text-align: center; text-decoration: none; cursor: pointer; }
.quote-button-primary { color: #fff; background: var(--quote-teal); }
.quote-button-primary:hover { background: #005561; color: #fff; }
.quote-button-secondary { color: var(--quote-ink); background: #fff; border-color: #9cb8bf; }
.quote-button-secondary:hover { color: var(--quote-ink); background: var(--quote-ice); }
.quote-send-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.quote-status { min-height: 1.5em; margin: 12px 0 0; color: var(--quote-muted); font-size: .875rem; line-height: 1.5; }
.quote-error { margin: 16px 0 0; color: #a42d16; font-size: .9375rem; line-height: 1.5; }
.quote-dialog :is(button, a, input, select, textarea, summary):focus-visible { outline: 3px solid #006c78; outline-offset: 3px; }
.quote-dialog h2:focus { outline: none; }
.quote-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
html:has(.quote-dialog[open]) { overflow: hidden; }
@media (max-width: 540px) {
  .quote-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); }
  .quote-shell { padding: 29px 21px 21px; }
  .quote-close { top: 9px; right: 9px; }
  .quote-dialog h2 { max-width: 100%; }
  .quote-intro { margin-bottom: 20px; }
  .quote-grid { grid-template-columns: 1fr; gap: 0; }
  .quote-short-field { max-width: none; }
  .quote-choice { gap: 12px; padding: 15px 13px; }
  .quote-navigation { margin-top: 20px; gap: 16px; }
  .quote-navigation .quote-button { padding-inline: 16px; }
  .quote-send-actions { flex-direction: column; }
  .quote-send-actions .quote-button { width: 100%; }
  #quote-message { min-height: 250px; }
}
@media (prefers-reduced-motion: reduce) { .quote-choice { transition: none; } }
