/* Scoped to the planner; shared and original article styles stay unchanged. */
#quote-comparison{margin:1.5rem 0;padding:clamp(.8rem,3vw,1.5rem);border:2px solid #006b77;border-radius:12px;background:#f5fafb;color:#12324b;scroll-margin-top:1rem;overflow-wrap:anywhere}
#quote-comparison *{box-sizing:border-box}
#quote-comparison [hidden]{display:none!important}
#quote-comparison h2{margin:.2rem 0 .7rem;font-size:1.55rem;line-height:1.25;color:#12324b}
#quote-comparison h3{margin:1rem 0 .6rem;font-size:1.15rem;color:#12324b}
#quote-comparison .tq-kicker{margin:0;color:#35575f;font-size:.8rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
#quote-comparison .tq-small,#quote-comparison .tq-hint{font-size:.9rem;line-height:1.45;color:#35575f}
#quote-comparison .tq-hint{margin:.4rem 0 .8rem}
#quote-comparison .tq-note{padding:.75rem;border-left:3px solid #597781;background:#edf4f6;font-size:.95rem}
#quote-comparison label{display:block;font-weight:600;line-height:1.4;margin:.5rem 0 .3rem}
#quote-comparison input,#quote-comparison select{width:100%;min-width:0;min-height:44px;padding:.5rem;font:inherit;color:#12324b;background:white;border:1px solid #597781;border-radius:5px}
#quote-comparison fieldset{min-width:0;margin:0 0 .8rem;padding:.6rem .8rem .8rem;border:1px solid #9fbec6;border-radius:8px}
#quote-comparison legend{font-weight:700;padding:0 .3rem;color:#12324b}
#quote-comparison .tq-item{background:white}
#quote-comparison .tq-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,9rem),1fr));gap:.6rem;align-items:start}
#quote-comparison .tq-two{grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr))}
#quote-comparison .tq-fields>*{min-width:0}
#quote-comparison .tq-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin:.8rem 0}
#quote-comparison button{font:inherit;font-size:.95rem;font-weight:600;line-height:1.4;min-height:44px;padding:.55rem .75rem;border:2px solid #006b77;border-radius:6px;color:#005762;background:white;cursor:pointer}
#quote-comparison button[type=submit]{color:white;background:#006b77}
#quote-comparison button:disabled{color:#52646b;border-color:#9fb0b7;background:#edf2f4;cursor:default}
#quote-comparison :is(input,select,button,summary,a):focus-visible{outline:3px solid #a24f00;outline-offset:3px}
#quote-comparison [aria-invalid=true]{border:2px solid #a32a1e}
#quote-comparison .tq-field-error,#quote-comparison #tq-error{color:#912819;font-size:.95rem;font-weight:600}
#quote-comparison .tq-field-error:empty,#quote-comparison #tq-error:empty{display:none}
#quote-comparison .tq-output{background:white;border:1px solid #9fbec6;border-radius:8px;padding:1rem;scroll-margin-top:1rem}
#quote-comparison .tq-output h3:first-child{margin-top:0}
#quote-comparison #tq-shopping ul{list-style:none;margin:1rem 0;padding:0}
#quote-comparison #tq-shopping li{border-top:1px solid #bacfd5;padding:.7rem 0}
#quote-comparison .tq-line-cost{display:block;margin-top:.3rem}
#quote-comparison dl{margin:0}
#quote-comparison dl>div{display:flex;justify-content:space-between;gap:1rem;padding:.65rem 0;border-bottom:1px solid #bacfd5}
#quote-comparison dt{flex:1}
#quote-comparison dd{margin:0;font-weight:700;flex:1;text-align:right}
#quote-comparison .tq-balance{font-weight:700;border-left:3px solid #006b77;padding:.5rem .75rem}
#quote-comparison .tq-method{margin-top:1rem;border-top:1px solid #bacfd5;padding-top:.8rem}
#quote-comparison summary{font-weight:700;cursor:pointer;min-height:44px;padding:.5rem 0;color:#005762}
#quote-comparison li{margin:.5rem 0}
#quote-comparison .tq-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:400px){#quote-comparison dl>div{display:block}#quote-comparison dd{text-align:left;margin-top:.3rem}}
@media print{
 #quote-comparison #tq-interactive{display:none!important}
 #quote-comparison{background:white;border:1px solid #597781;padding:.5rem}
 #quote-comparison #tq-print-record[hidden]{display:block!important}
 #quote-comparison li,#quote-comparison dl>div{break-inside:avoid}
 body.tq-print .gridContainer>:not(article),body.tq-print article>:not(.travel-guide),body.tq-print .travel-guide>:not(#quote-comparison){display:none!important}
 body.tq-print,body.tq-print .gridContainer,body.tq-print article{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:white!important}
 body.tq-print #quote-comparison{border:0;margin:0;padding:0;font:10pt/1.35 system-ui,sans-serif}
 body.tq-print #quote-comparison>:not(h2):not(#tq-print-record){display:none!important}
 body.tq-print #quote-comparison h2{font-size:16pt}
 body.tq-print #quote-comparison h3{font-size:11pt;margin:.7rem 0 .3rem;break-after:avoid}
 body.tq-print #quote-comparison li{margin:.3rem 0}
}

#quote-comparison .tq-offers{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr));gap:1rem}
#quote-comparison .tq-offers>*{min-width:0}
#quote-comparison .tq-offer{background:white}
#quote-comparison .tq-extra{margin-top:1rem;background:#f5fafb}
#quote-comparison input:disabled{background:#edf2f4;color:#52646b}
#quote-comparison .tq-summary{font-size:1.15rem;font-weight:700}
#quote-comparison .tq-offer-result{border:1px solid #9fbec6;border-radius:6px;padding:.75rem}
#quote-comparison .tq-offer-result dl>div{display:block}
#quote-comparison .tq-offer-result dd{text-align:left;margin-top:.3rem}
@media print{body.tq-print #quote-comparison .tq-offers{display:block}}

#quote-comparison #tq-totals{grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr))}
