.quote-main { background: var(--stone); padding: clamp(1.2rem, 3vw, 2.6rem) 0 var(--section); }
.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.quote-page [hidden] { display: none; }
.quote-back { text-decoration: none; font-size: var(--fs-sm); font-weight: 500; }
.quote-back:hover { text-decoration: underline; }
.quote-back span { margin-right: .3rem; }
.quote-intro h1 { margin: 1.6rem 0 .9rem; }
.quote-intro .lead { max-width: 40ch; }
.quote-preview { margin: 2rem 0; }
.quote-preview img { aspect-ratio: 1.85; width: 100%; object-fit: cover; border-radius: var(--radius-sm); }
.quote-preview figcaption { display: flex; justify-content: space-between; gap: .75rem; padding-top: .55rem; color: var(--muted); font-size: var(--fs-xs); }
.quote-preview figcaption span:first-child { color: var(--text); font-weight: 600; }
.quote-contacts { margin-top: 2rem; border-top: 1px solid var(--line); padding-top: 1.25rem; }
.quote-contacts h2 { font-size: 1.05rem; }
.quote-contacts a { display: block; width: fit-content; overflow-wrap: anywhere; text-underline-offset: .2em; }
.quote-card { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 4vw, 3rem); background: var(--paper); box-shadow: var(--shadow-sm); }
.quote-card h2 { font-size: clamp(1.55rem, 2.75vw, 2rem); margin-bottom: 1.4rem; }
.quote-fields { display: grid; gap: 1.15rem; }
.quote-fields .field { min-width: 0; grid-column: auto; }
.quote-page .field label { letter-spacing: normal; font-size: var(--fs-sm); }
.quote-page .field label span { font-size: var(--fs-xs); color: var(--muted); font-weight: 400; }
.quote-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.quote-page .field input, .quote-page .field textarea, .quote-page .field select { border-color: var(--line); }
.quote-page .field textarea::placeholder, .quote-page .field input::placeholder { color: #63666a; }
.quote-hint { margin: 1.5rem 0 1rem; color: var(--muted); font-size: var(--fs-sm); }
.quote-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.quote-actions .btn, #quote-basic .btn { text-transform: none; letter-spacing: normal; padding: .8rem 1.35rem; }
.quote-status:not(:empty) { color: var(--text); margin: 1rem 0 0; font-size: var(--fs-sm); }
.quote-status:empty { margin: 0; }
.quote-manual { margin-top: 1rem; }
@media (max-width: 800px) {
  .quote-layout { grid-template-columns: minmax(0,1fr); gap: 1.5rem; }
  .quote-intro { display: contents; }
  .quote-back { grid-row: 1; }
  .quote-intro h1 { grid-row: 2; margin: 0; }
  .quote-intro .lead { grid-row: 3; margin: -.75rem 0 0; max-width: 50ch; }
  .quote-card { grid-row: 4; }
  .quote-preview { margin: 0; }
  .quote-contacts { margin: 0; }
}
@media (max-width: 450px) {
  .quote-pair { grid-template-columns: 1fr; }
  .quote-actions > * { flex: 1 1 100%; }
}

.quote-guide-links { display: grid; justify-items: start; gap: .5rem; margin-top: 2rem; }
.quote-guide-links h2 { font-size: 1.125rem; margin-bottom: .25rem; }
.quote-guide-links a { text-decoration: underline; text-underline-offset: .18em; }
.quote-card #quote-basic h3 { margin-top: 2rem; }
.quote-fallback-links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.quote-fallback-links a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: .2em; }
