/* Doctor selector clarity + compact doctor identity badges in calendar. */
body.app-body .topbar-practitioner-switch{
    padding-right:34px !important;
    cursor:pointer;
}
body.app-body .topbar-practitioner-switch .topbar-practitioner-chevron{
    position:absolute;
    right:10px;
    top:50%;
    z-index:3;
    width:18px;
    height:18px;
    display:grid;
    place-items:center;
    transform:translateY(-50%);
    color:#64748b;
    pointer-events:none;
    transition:transform .16s ease,color .16s ease;
}
body.app-body .topbar-practitioner-switch .topbar-practitioner-chevron svg{
    width:15px;
    height:15px;
}
body.app-body .topbar-practitioner-switch:hover .topbar-practitioner-chevron,
body.app-body .topbar-practitioner-switch:focus-within .topbar-practitioner-chevron{
    color:#2563eb;
}
body.app-body .topbar-practitioner-switch:focus-within{
    border-color:#93c5fd !important;
    box-shadow:0 0 0 3px rgba(37,99,235,.10) !important;
}
body.app-body .topbar-practitioner-switch select:disabled + *,
body.app-body .topbar-practitioner-switch:has(select:disabled) .topbar-practitioner-chevron{
    opacity:.35;
}

body.app-body #weeklyCalendarApp .calendar-appointment-simple.doctor-badged{
    border-left:4px solid var(--dentist-color,#2563eb) !important;
}
body.app-body #weeklyCalendarApp .calendar-appointment-simple.doctor-badged .appointment-simple-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:6px;
    min-width:0;
}
body.app-body #weeklyCalendarApp .calendar-doctor-badge{
    max-width:96px;
    min-width:0;
    padding:3px 7px 3px 5px;
    display:inline-flex;
    align-items:center;
    gap:5px;
    border:1px solid color-mix(in srgb,var(--dentist-color,#2563eb) 28%,#dbe3ef);
    border-radius:999px;
    background:color-mix(in srgb,var(--dentist-color,#2563eb) 8%,#fff);
    color:#344054;
    font-size:8.5px;
    font-weight:800;
    line-height:1;
    white-space:nowrap;
    overflow:hidden;
}
body.app-body #weeklyCalendarApp .calendar-doctor-badge i{
    width:7px;
    height:7px;
    flex:0 0 7px;
    border-radius:50%;
    background:var(--dentist-color,#2563eb);
    box-shadow:0 0 0 2px color-mix(in srgb,var(--dentist-color,#2563eb) 15%,transparent);
}
body.app-body #weeklyCalendarApp .calendar-doctor-badge span{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
}
@media(max-width:900px){
    body.app-body #weeklyCalendarApp .calendar-doctor-badge{max-width:76px;font-size:7.5px;padding:3px 5px}
}


/* v2 — subtle slot typography refinement */
body.app-body #weeklyCalendarApp .calendar-slot .calendar-appointment-simple .appointment-simple-person h3,
body.app-body #weeklyCalendarApp .calendar-slot .calendar-appointment-simple .appointment-patient-profile-link{
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif !important;
    font-size:11px !important;
    font-weight:650 !important;
    letter-spacing:-.015em !important;
    line-height:1.22 !important;
}
body.app-body #weeklyCalendarApp .calendar-slot .calendar-appointment-simple .appointment-patient-profile-link{
    color:#183b66 !important;
}
body.app-body #weeklyCalendarApp .calendar-slot .calendar-appointment-simple .appointment-patient-profile-link:hover,
body.app-body #weeklyCalendarApp .calendar-slot .calendar-appointment-simple .appointment-patient-profile-link:focus-visible{
    color:#1d4ed8 !important;
}
body.app-body #weeklyCalendarApp .calendar-slot .calendar-appointment-simple .calendar-doctor-badge{
    margin-left:0 !important;
    margin-right:auto !important;
    transform:none !important;
}


/* v3 — doctor badge slightly right of center */
body.app-body #weeklyCalendarApp .calendar-slot .calendar-appointment-simple .calendar-doctor-badge{
    margin-left:auto !important;
    margin-right:18% !important;
    transform:none !important;
}
