.appointment-finder {
  --af-border:#c5dbd4;
  min-width:0;
  padding:clamp(.95rem,2.4vw,1.6rem);
  border:1px solid var(--af-border);
  border-radius:1.15rem;
  background:linear-gradient(118deg,#fff 8%,#f2faf5 76%,#fff8df);
  color:#173e35;
}
.af-heading {display:flex;align-items:flex-start;gap:.7rem;margin-bottom:.9rem}
.af-emblem {flex:none;display:grid;place-items:center;background:#e2f3e9;color:#126048;border-radius:.65rem;width:2.55rem;height:2.55rem}
.af-emblem svg {width:1.4rem;height:1.4rem}
.af-heading h2 {margin:0;font-size:clamp(1.22rem,2.3vw,1.6rem);line-height:1.2;letter-spacing:-.025em}
.af-heading p {margin:.22rem 0 0;color:#47655d;font-size:.92rem;line-height:1.4}
.af-fields {display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:.68rem;align-items:end}
.af-field {min-width:0;display:grid;gap:.28rem;color:#2f5147;font-size:.83rem;font-weight:700}
.af-field select,.af-doctors summary {box-sizing:border-box;color:#163d32;background-color:#fff;border:1px solid #a9c6ba;border-radius:.52rem;min-height:2.65rem;width:100%;font:inherit;font-size:.95rem;font-weight:500;padding:.52rem .6rem;line-height:1.2}
.af-field select {text-overflow:ellipsis}
.af-doctors {position:relative;min-width:0}
.af-doctors summary {display:flex;align-items:center;justify-content:space-between;gap:.34rem;cursor:pointer;list-style:none}
.af-doctors summary::-webkit-details-marker {display:none}
.af-doctors summary [data-finder-doctor-name] {white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.af-chevron {width:.45rem;height:.45rem;margin-right:.15rem;margin-bottom:.14rem;transform:rotate(45deg);border:solid currentColor;border-width:0 1.5px 1.5px 0;flex:none}
.af-doctors[open] summary {border-color:#377763}
.af-options {position:absolute;top:calc(100% + .25rem);left:0;z-index:5;width:max(100%,18rem);max-height:18rem;overflow:auto;overscroll-behavior:contain;box-shadow:0 .6rem 1.8rem #143c3023;border:1px solid var(--af-border);border-radius:.65rem;background:#fff;padding:.25rem}
.af-option {display:flex;align-items:center;gap:.55rem;min-height:2.5rem;width:100%;border:none;border-radius:.45rem;text-align:start;background:transparent;color:inherit;cursor:pointer;padding:.42rem .45rem;font:inherit}
.af-option:hover,.af-option:focus-visible,.af-option[aria-pressed=true] {background:#ebf6ef}
.af-option-copy {display:grid;gap:.13rem;min-width:0}
.af-option-copy strong,.af-match h4 {font-size:.93rem;line-height:1.24}
.af-option small,.af-match small {font-size:.78rem;color:#45675b;line-height:1.3}
.af-portrait {width:2.4rem;height:2.7rem;object-fit:cover;object-position:50% 22%;flex:none;border-radius:.45rem;background:#edf3ee}
.af-fee {font-size:.88rem;white-space:nowrap}.af-fee s {font-size:.75rem;color:#53695f;margin-inline-end:.3rem}.af-fee b {color:#0a5943}
.af-preview {font-size:.73rem;font-weight:650;color:#755015}
.af-search {min-height:2.65rem;white-space:normal}
.af-utility,.af-result-heading {display:flex;gap:1rem;align-items:center;justify-content:space-between}
.af-utility {margin-top:.42rem;justify-content:flex-end}
.af-text {border:0;background:none;color:#22634d;padding:.32rem .1rem;font:inherit;font-weight:650;font-size:.86rem;cursor:pointer;text-decoration:underline;text-underline-offset:.14em}
.af-results {border-top:1px solid var(--af-border);padding-top:.75rem;margin-top:.55rem}
.af-result-heading h3 {margin:0;font-size:1rem}
.af-matches {display:grid;grid-auto-flow:column;grid-auto-columns:minmax(14.4rem,16.1rem);overflow-x:auto;gap:.55rem;padding:.32rem .1rem .6rem;scroll-snap-type:x proximity}
.af-match {scroll-snap-align:start;border-radius:.75rem;border:1px solid var(--af-border);background:white;padding:.7rem;display:flex;flex-direction:column;gap:.4rem;min-width:0}
.af-match-top {display:flex;align-items:flex-start;gap:.55rem}
.af-match h4 {margin:0;color:inherit}
.af-match small {display:block;margin-top:.12rem}
.af-match-actions {display:flex;align-items:center;justify-content:space-between;gap:.35rem;margin-top:auto}
.af-match-actions .btn {font-size:.84rem;padding:.42rem .6rem;min-height:2.35rem}
@media(max-width:760px) {
  .af-fields {grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem}
  .af-options {width:min(19rem,calc(100vw - 4rem))}
  .af-search {width:100%}
  .af-heading {margin-bottom:.65rem}
}
@media(min-width:761px) and (max-width:980px) {.af-options {left:auto;right:0}}
