/* Site quotes (quote-view.js, account-quotes.js, quote-link.js, quote-checkout.js). Tokens from styles.css; .choice, .kv, .co-msg from styles.css and checkout.css. */
.q-wrap { max-width: 760px; padding-top: 8px; padding-bottom: 24px; }
.q-wrap h1 { margin-bottom: 14px; }
.q-card { padding: 18px; }
.q-for { font-weight: 600; margin: 0 0 8px; overflow-wrap: anywhere; }
.q-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; }
.q-title { margin: 0; font-size: 1.35rem; overflow-wrap: anywhere; }
.q-title:focus { outline: none; }
.q-title:focus-visible { outline: 3px solid var(--forest); outline-offset: 2px; }
.q-view > p { margin: 4px 0 0; }
.q-pill { background: var(--forest-tint); color: var(--forest-dark); border-radius: 10em; padding: 2px 10px; font-size: .85rem; white-space: nowrap; }
.q-pill.is-expired, .q-pill.is-closed { background: var(--bad-bg); color: var(--bad); }
.q-pill.is-accepted { background: var(--info-bg); color: var(--ink); }
.q-valid { font-weight: 600; color: var(--forest-dark); }
.q-valid.is-bad { color: var(--bad); }
.q-item { border: 0; border-top: 1px solid var(--line); margin: 16px 0 0; padding: 14px 0 0; min-width: 0; }
.q-item-h { font: 700 1.1rem/1.3 var(--font); padding: 0; margin: 0 0 4px; overflow-wrap: anywhere; }
.q-desc { margin: 2px 0 6px; }
.q-specs { margin: 4px 0 8px; padding-left: 20px; color: var(--ink-2); font-size: .95rem; }
.q-specs li { margin: 2px 0; overflow-wrap: anywhere; }
.q-item p.muted { margin: 2px 0; }
.q-opts-h { font-weight: 600; margin: 10px 0 6px; }
.q-opts { margin-bottom: 4px; }
.q-opt { align-items: center; }
.q-opt .co-opt-b { flex: 1 1 auto; }
.q-opt .co-opt-p { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.q-opt:has(input:disabled) { cursor: default; opacity: .75; }
.q-totals { margin-top: 16px; padding-top: 6px; border-top: 2px solid var(--line); }
.q-totals .kv { flex-wrap: wrap; }
.q-totals .co-total strong { font-size: 1.25rem; color: var(--forest-dark); }
.q-sum { font-variant-numeric: tabular-nums; }
.q-note { margin-top: 14px; padding: 10px 12px; background: var(--ground); border-radius: 10px; }
.q-note .co-sub { margin: 0 0 4px; }
.q-note p { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.q-newer, .q-ordered { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 10px; }
.q-newer p, .q-ordered p { margin: 0; }
.notice-bad .btn { margin-top: 8px; }
.q-accept { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.q-accept .field { margin-bottom: 6px; }
.q-email input { width: 100%; }
.q-back { margin: 0 0 10px; padding: 8px 0; }
.q-list .btn { margin-top: 8px; }
.q-co .q-until { margin: 10px 0 0; font-weight: 600; color: var(--forest-dark); }
.q-co .co-form[hidden], .q-co .co-edit[hidden] { display: none; }
.q-co .co-grid:has(.co-form[hidden]) { display: block; max-width: 560px; }
.q-email-note { margin: -4px 0 10px; }
#q-co-ref { margin: 0 0 6px; }
input[readonly] { background: var(--ground); }
@media (max-width: 420px) {
  .q-card { padding: 14px; }
  .q-title { font-size: 1.2rem; }
  .q-opt { gap: 10px; padding: 10px; }
}
