/* Q Doctor v1.1.3: clinic-local 90-day booking calendar, readable on TV/mobile. */
.qd90-panel{margin-top:1.25rem;}
.qd90-panel h2,.qd90-panel h3,.qd90-panel h4{margin:.3rem 0 .65rem;}
.qd90-panel p{line-height:1.5;}
.qd90-legend{display:flex;flex-wrap:wrap;gap:.55rem;margin:.7rem 0 1rem;}
.qd90-key{font-size:.8rem;padding:.35rem .6rem;border:1px solid #cbd5e1;border-radius:999px;background:#f1f5f9;color:#334155;}
.qd90-key.is-available{background:#dcfce7;border-color:#16a34a;color:#166534;font-weight:700;}
.qd90-key.is-picked{background:#dbeafe;border-color:#2563eb;color:#1d4ed8;font-weight:700;}
.qd90-month{margin:.7rem 0 1.5rem;max-width:750px;}
.qd90-month h3,.qd90-month h4{font-size:1rem;font-weight:800;}
.qd90-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;}
.qd90-dayname{text-align:center;font-size:.75rem;color:#64748b;font-weight:700;padding:.3rem 0;}
.qd90-day{box-sizing:border-box;min-width:0;min-height:53px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border-radius:9px;border:1px solid #d1d5db;background:#f8fafc;color:#475569;padding:4px 2px;font:inherit;text-align:center;}
button.qd90-day{cursor:pointer;transition:border-color .14s ease,background-color .14s ease;}
button.qd90-day:hover{border-color:#2563eb;}
.qd90-daynum{font-weight:800;font-size:.96rem;line-height:1.15;}
.qd90-daystatus{font-size:.58rem;line-height:1.15;overflow-wrap:anywhere;}
.qd90-day.is-available{background:#dcfce7;border:2px solid #16a34a;color:#166534;}
.qd90-day.is-picked{outline:3px solid #2563eb;outline-offset:1px;}
.qd90-day.is-unavailable{background:#f1f5f9;color:#94a3b8;}
.qd90-day:focus-visible{outline:3px solid #2563eb;outline-offset:2px;}
.qd90-selection{margin-top:.5rem;font-weight:700;}
@media(max-width:480px){.qd90-grid{gap:3px}.qd90-day{min-height:44px;border-radius:6px;padding:2px 0}.qd90-daynum{font-size:.82rem}.qd90-daystatus{font-size:.49rem}.qd90-dayname{font-size:.63rem}}
@media(prefers-reduced-motion:reduce){button.qd90-day{transition:none}}

/* Doctor-only visibility: amber dates indicate appointments in another hospital.
   The hospital booking calendar never receives those hospital names or sessions. */
.qd90-day.is-other-hospital:not(.is-available){border-color:#c58b20;background:#fff7de;color:#664809}
.qd90-day.is-other-hospital:not(.is-available) .qd90-daystatus{color:#745016}
.qd90-key.is-other-hospital::before{background:#c58b20}
