/* The quote form shares the portfolio's paper, cobalt and local typeface. */
.viewer.is-quote { width: min(760px, calc(100vw - 40px)); }
.quote-form-wrap { padding: 32px clamp(20px, 5vw, 42px) 28px; }
.quote-form-wrap h2 { font-size: clamp(30px, 5vw, 44px); line-height: 1.08; letter-spacing: -.045em; margin-bottom: 12px; }
.quote-intro { color: var(--muted); font-size: 16px; line-height: 1.6; margin-bottom: 26px; }
.quote-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; border: 0; padding: 0; margin: 0; min-width: 0; }
.quote-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; font-size: 14px; }
.quote-field > span { font-weight: 700; }
.quote-field small { font-weight: 400; color: var(--muted); font-size: 13px; }
.quote-field-wide { grid-column: 1 / -1; }
.quote-field input, .quote-field select, .quote-field textarea { width: 100%; min-width: 0; min-height: 50px; padding: 12px 14px; border: 1px solid #c6cad5; border-radius: 4px; background: white; color: var(--ink); font: inherit; font-size: 16px; line-height: 1.5; }
.quote-field select { cursor: pointer; }
.quote-field textarea { resize: vertical; min-height: 124px; }
.quote-field input::placeholder, .quote-field textarea::placeholder { color: #737680; }
.quote-field input:focus, .quote-field select:focus, .quote-field textarea:focus { outline: 2px solid var(--blue); outline-offset: 2px; border-color: var(--blue); }
.quote-fields:disabled { opacity: .7; }
.quote-privacy { margin-top: 18px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.quote-privacy a { text-decoration: underline; }
.quote-submit { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; margin-top: 22px; padding: 14px 20px; background: var(--blue); color: white; border-radius: 4px; font-size: 16px; font-weight: 700; transition: background .2s; }
.quote-submit:hover { background: #1237ee; }
.quote-submit:disabled { opacity: .65; cursor: wait; }
.quote-status { padding: 16px; margin-top: 18px; border-radius: 4px; font-size: 16px; line-height: 1.6; background: #e7ecff; }
.quote-status[data-state=error] { color: #7f2626; background: #fff0ee; }
.quote-success { padding: 28px 0 14px; }
.quote-success-mark { color: var(--blue); font-size: 48px; margin-bottom: 16px; }
.quote-success p { margin-top: 16px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.quote-reset { margin-top: 24px; min-height: 44px; padding: 10px 16px; background: #e7ecff; border-radius: 4px; font-size: 14px; }
.quote-alternatives { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
.quote-alternatives a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .viewer.is-quote { width: calc(100vw - 20px); }
  .quote-form-wrap { padding: 24px 18px; }
  .quote-fields { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .quote-intro { margin-bottom: 22px; }
  .quote-alternatives { flex-direction: column; gap: 2px; }
}
