.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow)}.button,button{display:inline-flex;justify-content:center;align-items:center;gap:7px;min-height:44px;padding:9px 17px;border:1px solid #dce4ec;border-radius:15px;background:#ffffffb5;color:#344454;font-weight:550}.primary{background:var(--accent);color:white;border-color:var(--accent)}.subtle{background:var(--accent-soft);color:#3a6995;border-color:#cddfeb}.button.small,button.small{min-height:36px;font-size:13px;padding:5px 12px}.badge{display:inline-block;background:var(--accent-soft);color:#447398;border-radius:99px;padding:3px 11px;font-size:12px}.badge.warning{background:#f8eddc;color:#926d38}.badge.success{background:#e4f0e9;color:#39725a}.badge.danger{background:#f5e6e8;color:var(--danger)}.row{display:flex;justify-content:space-between;gap:14px;padding:14px 0;border-bottom:1px solid #dce4eb}.row:last-child{border-bottom:0}.metric{font:600 28px Clinic}.empty{padding:18px 0;color:var(--muted)}.error{color:var(--danger);background:#f9ecee;border-radius:14px;padding:13px}.loading{padding:35px;animation:breathe 1.2s ease-in-out infinite}dialog{border:1px solid white;border-radius:26px;padding:26px;max-width:600px;width:calc(100% - 32px);max-height:88dvh;box-shadow:0 24px 100px #24344830;background:#f7f9fb}dialog::backdrop{background:#263b5544;backdrop-filter:blur(4px)}#toast{position:fixed;bottom:24px;right:24px;max-width:calc(100vw - 48px);z-index:10000;border-radius:16px;background:#25384c;color:white;padding:0}#toast:not(:empty){padding:12px 18px;box-shadow:var(--shadow)}@keyframes breathe{50%{opacity:.55}}@media(prefers-reduced-motion:reduce){.loading{animation:none}}.search{max-width:420px}.detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.detail-grid dt{color:var(--muted);font-size:13px}.detail-grid dd{margin:0}.selected{background:#29435f;color:#fff}

/* Scheduling cards keep patient details and actions readable in narrow day columns. */
.native-scheduling .calendar-grid .row{display:block}.native-scheduling .calendar-grid .row>.actions{margin-top:12px;justify-content:flex-start}.native-scheduling .calendar-grid .row p{overflow-wrap:anywhere}.native-scheduling .calendar-grid .row>.actions .button,.native-scheduling .calendar-grid .row>.actions button{flex:0 1 auto}
