.ehr-muted[data-astro-cid-shy367xk]{font-size:.8rem;color:var(--color-text-secondary)}#ehr-patients[data-astro-cid-shy367xk]{width:100%;max-width:none;margin:0;min-height:100vh;display:flex;flex-direction:column;gap:1.25rem;padding:0 24px}.ehr-form-panel[data-astro-cid-shy367xk]{background:#fff;border-radius:16px;padding:1rem;border:1px solid rgba(0,0,0,.05);margin-bottom:1rem;display:none}.ehr-form-panel[data-astro-cid-shy367xk].active{display:block}.ehr-form-panel[data-astro-cid-shy367xk] label[data-astro-cid-shy367xk]{display:block;font-size:.8rem;margin-bottom:.25rem}.ehr-form-panel[data-astro-cid-shy367xk] input[data-astro-cid-shy367xk],.ehr-form-panel[data-astro-cid-shy367xk] select[data-astro-cid-shy367xk],.ehr-form-panel[data-astro-cid-shy367xk] textarea[data-astro-cid-shy367xk]{width:100%;border-radius:10px;border:1px solid #e5e7eb;padding:.45rem .65rem;font-size:.85rem;margin-bottom:.75rem}.ehr-form-actions[data-astro-cid-shy367xk]{display:flex;gap:.5rem;flex-wrap:wrap}.ehr-form-actions[data-astro-cid-shy367xk] button[data-astro-cid-shy367xk]{border:none;border-radius:999px;padding:.55rem .95rem;font-size:.85rem;font-weight:600;cursor:pointer;line-height:1}.ehr-patient-table-wrapper[data-astro-cid-shy367xk]{flex:1;min-height:0;min-height:calc(100vh - 310px);overflow:auto;border:1px solid #e5e7eb;border-radius:16px;background:#fff}.ehr-patient-table[data-astro-cid-shy367xk]{width:100%;border-collapse:collapse;table-layout:fixed}.ehr-patient-table[data-astro-cid-shy367xk] th[data-astro-cid-shy367xk],.ehr-patient-table[data-astro-cid-shy367xk] td[data-astro-cid-shy367xk]{padding:.75rem 1rem;border-bottom:1px solid #f1f5f9;font-size:.9rem;text-align:left}.ehr-patient-table[data-astro-cid-shy367xk] thead[data-astro-cid-shy367xk] th[data-astro-cid-shy367xk]{background:#f8fafc;font-weight:600;border-bottom:1px solid #e5e7eb}.ehr-patient-table[data-astro-cid-shy367xk] th[data-astro-cid-shy367xk]:nth-child(1),.ehr-patient-table[data-astro-cid-shy367xk] td[data-astro-cid-shy367xk]:nth-child(1){width:28%}.ehr-patient-table[data-astro-cid-shy367xk] th[data-astro-cid-shy367xk]:nth-child(2),.ehr-patient-table[data-astro-cid-shy367xk] td[data-astro-cid-shy367xk]:nth-child(2){width:32%}.ehr-patient-table[data-astro-cid-shy367xk] th[data-astro-cid-shy367xk]:nth-child(3),.ehr-patient-table[data-astro-cid-shy367xk] td[data-astro-cid-shy367xk]:nth-child(3){width:28%}.ehr-patient-table[data-astro-cid-shy367xk] th[data-astro-cid-shy367xk]:nth-child(4),.ehr-patient-table[data-astro-cid-shy367xk] td[data-astro-cid-shy367xk]:nth-child(4){width:12%;text-align:right;white-space:nowrap}.ehr-truncate[data-astro-cid-shy367xk]{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ehr-patient-table[data-astro-cid-shy367xk] tr[data-astro-cid-shy367xk]:last-child td[data-astro-cid-shy367xk]{border-bottom:none}.ehr-modal-overlay[data-astro-cid-shy367xk]{position:fixed;inset:0;background:#0f172a8c;display:flex;align-items:center;justify-content:center;padding:1.25rem;opacity:0;pointer-events:none;transition:opacity .2s ease;z-index:60}.ehr-modal-overlay[data-astro-cid-shy367xk].active{opacity:1;pointer-events:auto}.ehr-modal-card[data-astro-cid-shy367xk]{background:#fff;border-radius:16px;padding:1.5rem;width:min(760px,100%);box-shadow:0 20px 40px #0f172a33}.ehr-modal-header[data-astro-cid-shy367xk]{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}.ehr-modal-header[data-astro-cid-shy367xk] h3[data-astro-cid-shy367xk]{margin:0;font-size:1.1rem}.ehr-modal-close[data-astro-cid-shy367xk]{background:transparent;border:none;font-size:1.4rem;cursor:pointer;color:#64748b}.ehr-modal-form[data-astro-cid-shy367xk]{display:grid;gap:.85rem;grid-template-columns:1fr}@media (min-width: 860px){.ehr-modal-form[data-astro-cid-shy367xk]{grid-template-columns:repeat(2,minmax(0,1fr))}.ehr-modal-form[data-astro-cid-shy367xk] .full-span[data-astro-cid-shy367xk]{grid-column:1 / -1}}.ehr-modal-form[data-astro-cid-shy367xk] label[data-astro-cid-shy367xk]{display:flex;flex-direction:column;gap:.35rem;font-size:.85rem;color:#0f172a;font-weight:600}.ehr-modal-form[data-astro-cid-shy367xk] input[data-astro-cid-shy367xk],.ehr-modal-form[data-astro-cid-shy367xk] select[data-astro-cid-shy367xk]{border:1px solid #e2e8f0;border-radius:10px;padding:.55rem .7rem;font-size:.9rem}.ehr-modal-actions[data-astro-cid-shy367xk]{display:flex;justify-content:flex-end;gap:.75rem;margin-top:.5rem}.ehr-primary-btn[data-astro-cid-shy367xk]{background:#000;color:#fff;border:none;padding:.55rem .95rem;border-radius:999px;font-size:.85rem;font-weight:600;cursor:pointer}.ehr-secondary-btn[data-astro-cid-shy367xk]{background:#e2e8f0;color:#0f172a;border:none;padding:.55rem .85rem;border-radius:999px;font-size:.85rem;font-weight:600;cursor:pointer}
