html:has(#modal[open]), body:has(#modal[open]) { overflow: hidden; }
#modal { overscroll-behavior: contain; }
#modal .modal-head { position: sticky; top: 0; z-index: 3; background: #fffef9; }
#modal #closeModal { min-width: 44px; min-height: 44px; }
.consult-lead { margin: .3rem 0 .85rem; color: #24483b; }
.consult-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; }
.consult-cards button { display: grid; gap: .25rem; justify-items: start; width: 100%; padding: .85rem; border: 1px solid #c4d5c4; border-radius: 12px; background: #edf4e9; color: #234938; text-align: left; font: inherit; cursor:pointer; }
.consult-cards button:hover,.consult-cards button:focus-visible { background: #e0eddd; border-color: #205d46; }
.consult-cards strong { font-size: 1rem; }
.consult-cards small { font-size: .82rem; line-height: 1.4; }
.consult-availability { margin: .85rem 0 .35rem; min-height: 44px; }
.consult-progress { margin: .35rem 0 .75rem; color: #205d46; font-size: .88rem; font-weight: 700; }
.consult-actions { position: sticky; bottom: 0; padding-block: .55rem; background: #fffef9; z-index: 2; }
.consult-study-fields { display: contents; }
.consult-study-fields[hidden] { display: none; }
.prep-quick-links { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,11rem),1fr)); gap: .7rem; margin: 1rem 0 1.6rem; }
.prep-quick-links a { display: block; padding: .8rem; border: 1px solid #d6e4d5; border-radius: .8rem; background: #edf4e9; color: #24483b; text-decoration: none; }
.prep-quick-links a:hover { background: #e1eedc; }
.prep-quick-links small { display: block; margin-top: .2rem; font-weight: 400; }
.prep-long-read { background: #fafcf7; border-radius: .7rem; padding: .65rem .85rem; }
.prep-long-read summary { font-weight: 700; cursor: pointer; color: #24483b; }
.promo-quick-links { display: flex; flex-wrap: wrap; gap: .45rem; margin-block: 1rem; }
.promo-quick-links a { min-height: 44px; display: inline-flex; align-items: center; padding: .4rem .7rem; border: 1px solid #e6cfc9; border-radius: .55rem; color: #6b3330; background: #fff8f1; text-decoration: none; }

main.wrap > #consultation.hero { padding-top: 40px; }
@media (max-width: 700px) {
  main.wrap > #consultation.hero { padding-top: 22px; }
}
