.quote-comparison{display:grid;gap:20px}.quote-comparison fieldset{min-width:0;padding:20px;border:1px solid #dce5f0;border-radius:12px;margin:0}.quote-comparison legend{padding:0 8px;font-weight:700;color:#142b4c}.quote-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.quote-fields{display:grid;gap:14px}.quote-field{display:grid;gap:8px;min-width:0;color:#425878;font-weight:600}.quote-comparison input,.quote-comparison select,.quote-actions button{box-sizing:border-box;width:100%;height:48px;min-width:0;padding:10px 14px;border:1px solid #c9d7e7;border-radius:8px;background:#fff;color:#142b4c;font:inherit;line-height:1.4}.quote-comparison input{text-align:left}.quote-comparison input:focus,.quote-comparison select:focus,.quote-actions button:focus-visible{outline:3px solid #75aaff;outline-offset:2px}.quote-actions{display:flex;gap:12px}.quote-actions button{display:flex;align-items:center;justify-content:center;width:auto;text-align:center;cursor:pointer;font-weight:700}.quote-actions button[type=submit]{background:#142b4c;color:#fff}.quote-result{display:block;white-space:pre-wrap;padding:20px;border-radius:12px;background:#f3f7fc;color:#142b4c;line-height:1.7;overflow-wrap:anywhere}.quote-note{font-size:.94rem;line-height:1.7}@media(max-width:640px){.quote-pair{grid-template-columns:1fr}.quote-actions{flex-direction:column}.quote-actions button{width:100%}.quote-comparison fieldset{padding:16px}}

.quote-worked-examples { scroll-margin-top: 110px; }
.quote-worked-examples h3 { margin: 22px 0 12px; font-size: 1.05rem; line-height: 1.5; }
.quote-worked-examples p + p { margin-top: 12px; }
.example-scope { padding: 16px; border-left: 4px solid #135fad; background: #edf5ff; border-radius: 0 10px 10px 0; }
.quote-example-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 16px 0; }
.quote-example-card { border: 1px solid #d2dfee; border-radius: 12px; padding: 18px; min-width: 0; background: #f8fbff; }
.quote-example-card h4 { margin: 0 0 16px; font-size: 1rem; color: #142b4c; }
.quote-example-card dl { margin: 0 0 16px; line-height: 1.5; }
.quote-example-card dt { margin-top: 12px; color: #425878; font-size: .9rem; }
.quote-example-card dd { margin: 2px 0 0; font-weight: 700; color: #142b4c; }
.quote-example-card strong { overflow-wrap: anywhere; }
#quote-comparison { scroll-margin-top: 110px; }
@media (max-width: 640px) {
  .quote-example-pair { grid-template-columns: 1fr; }
  .quote-worked-examples, #quote-comparison { scroll-margin-top: 145px; }
}

.quote-demo { scroll-margin-top: 110px; }
.quote-demo p { margin: 0; color: #425878; line-height: 1.65; }
.quote-demo p + p { margin-top: 12px; }
.quote-demo-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 16px 0 12px; }
.quote-demo-actions button { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 100%; min-width: 0; height: 48px; padding: 10px 14px; border: 1px solid #c9d7e7; border-radius: 8px; background: #edf5ff; color: #142b4c; font: inherit; font-weight: 700; line-height: 1.4; text-align: center; cursor: pointer; }
.quote-demo-actions button:focus-visible, .quote-result:focus-visible { outline: 3px solid #75aaff; outline-offset: 2px; }
.quote-demo-actions button:disabled { cursor: default; opacity: .6; }
.quote-result { scroll-margin-top: 110px; }
@media (max-width: 640px) { .quote-demo-actions { grid-template-columns: 1fr; } .quote-demo, .quote-result { scroll-margin-top: 145px; } }
