/* Appointment rows and overview attention, including narrow screens. */
.summary-grid a#appointment-summary small {display:block;font-size:.85rem;line-height:1.4;}
.summary-grid a.appointment-attention {background:#fff3cd;color:#573b00;border:2px solid #d18a00;}
.appointment-line {display:flex;align-items:baseline;justify-content:space-between;gap:1rem;}
.appointment-line .status {flex:none;text-align:right;}
.appointment-record .appointment-details {margin-top:.4rem;}
.appointment-record [role="status"]:empty {display:none;}
.appointment-history {margin-top:1rem;}
.appointment-record button {margin:.5rem .5rem 0 0;}
@media(max-width:700px){.appointment-line{flex-wrap:wrap;gap:.3rem}.appointment-line strong{flex:1 1 100%}.appointment-line .status{text-align:left}}

@keyframes appointment-approval-pulse {
  0%,100% {box-shadow:0 0 0 0 rgba(209,138,0,.12);background-color:#fff3cd;}
  50% {box-shadow:0 0 0 5px rgba(209,138,0,.24);background-color:#ffe7a3;}
}
.summary-grid a.appointment-attention {animation:appointment-approval-pulse 2.8s ease-in-out infinite;}
#appointment-summary small:empty {display:none;}
@media(prefers-reduced-motion:reduce){.summary-grid a.appointment-attention{animation:none;}}
