/* Get a quote page. Uses the site's tokens from site.css. */
.qt-wrap { max-width: 760px; }
.qt { gap: 22px; }
.qt[hidden] { display: none; }
.qt-head { display: grid; gap: 8px; }
.qt-count { margin: 0; font-size: var(--t-sm); color: var(--ink-2); font-weight: 550; }
.qt-bar { display: block; height: 6px; border-radius: 99px; background: var(--soft-2); overflow: hidden; }
.qt-bar i { display: block; height: 100%; width: 25%; background: var(--accent); border-radius: inherit; transition: width .25s ease; }
.qt-step { border: 0; padding: 0; margin: 0; display: grid; gap: 22px; min-width: 0; }
.qt-step[hidden] { display: none; }
.qt-step legend { padding: 0; margin-bottom: 4px; }
.qt-title { font-size: clamp(1.35rem, 3vw, 1.7rem); margin: 0; }
.qt-title:focus { outline: none; }
.qt-title:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.qt-label { font-weight: 550; font-size: .92rem; }
.qt-options, .qt-checks { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.qt-checks { grid-template-columns: minmax(0, 1fr); }
.qt-opt { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); cursor: pointer; font-size: .97rem; line-height: 1.35; }
.qt-opt[hidden] { display: none; }
.qt-opt input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); flex: none; }
.qt-opt:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.qt-opt:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.qt-opt:has([aria-invalid="true"]) { border-color: #c0392b; }
.qt-opt .small { flex-basis: 100%; padding-left: 28px; }
.qt-grid { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.qt-num input { max-width: 160px; }
.qt-help { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-size: .95rem; display: grid; gap: 8px; }
.qt-help p { margin: 0; }
.qt-help[hidden] { display: none; }
.qt-note { margin: 0; background: var(--accent-soft); color: var(--accent-ink); border-radius: 12px; padding: 12px 16px; font-size: .95rem; }
.qt-optin { background: var(--bg); }
.qt-nav { display: flex; gap: 12px; flex-wrap: wrap; }
.qt-nav [hidden] { display: none; }
.qt-result { display: grid; gap: 18px; }
.qt-result[hidden] { display: none; }
.qt-result h2:focus { outline: none; }
.qt-est { background: var(--soft); border-radius: var(--r-l); padding: clamp(20px, 4vw, 32px); display: grid; gap: 14px; }
.qt-est h3, .qt-est h4 { margin: 0; }
.qt-big { margin: 0; font-size: 1.6rem; font-weight: 650; }
.qt-big span { font-size: .95rem; font-weight: 450; color: var(--ink-2); }
.qt-table { width: 100%; min-width: 0; background: var(--bg); border-radius: 12px; }
.qt-table td:first-child, .qt-table th:first-child { overflow-wrap: anywhere; }
.qt-table .num { text-align: right; white-space: nowrap; }
.qt-table tfoot th, .qt-table tfoot td { border-bottom: 0; }
.qt-list { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.qt-disclaimer { font-weight: 550; margin: 0; }
@media (max-width: 640px) {
  .qt-grid { grid-template-columns: minmax(0, 1fr); }
  .qt-table th, .qt-table td { padding: 12px 10px; }
}
