.patient-page{min-width:0;max-width:1200px;margin:0 auto}.patient-page .page-heading{align-items:center;gap:20px}.patient-scope{color:var(--muted);align-items:center;gap:9px;margin-bottom:24px;font-size:13px;line-height:1.6;display:flex}.patient-scope svg{width:17px;height:17px;color:var(--accent);flex:none}.patient-filters{border:1px solid var(--line);background:#fff;border-radius:12px;align-items:end;gap:16px;margin-bottom:32px;padding:24px;display:flex}.patient-filters label{flex:1;gap:10px;min-width:0;font-size:13px;font-weight:600;display:grid}.patient-filters input{border:1px solid var(--line);width:100%;min-width:0;height:44px;font:inherit;color:var(--ink);background:#fff;border-radius:8px;padding:0 13px}.patient-filter-actions{gap:8px;display:flex}.patient-filter-actions .primary-button{width:auto;min-height:44px;padding:0 24px;font-size:13px}.patient-section-title{justify-content:space-between;align-items:center;gap:12px;margin:0 0 18px;display:flex}.patient-section-title h2{letter-spacing:-.5px;align-items:center;gap:10px;font-size:19px;display:flex}.patient-section-title h2 span{color:var(--accent);background:var(--accent-soft);white-space:nowrap;border-radius:6px;padding:5px 9px;font-size:13px}.patient-section-title p,.patient-section-title>span{color:var(--muted);font-size:12px}.patient-section-title p{margin-top:8px}.patient-table-wrap{border:1px solid var(--line);background:#fff;border-radius:12px;width:100%;max-width:100%;overflow:auto}.patient-table{border-collapse:collapse;text-align:left;width:100%;font-size:13px}.patient-table td,.patient-table th{border-bottom:1px solid var(--line);white-space:nowrap;padding:20px 18px;line-height:1.6}.patient-table thead th{color:var(--muted);background:#faf8f6;font-size:12px;font-weight:500}.patient-table tbody tr:last-child>*{border-bottom:0}.patient-table tbody tr:hover{background:#fffaf7}.patient-table tbody th{font-weight:600}.patient-name{white-space:normal;overflow-wrap:anywhere;max-width:220px;color:var(--ink);text-underline-offset:4px;text-decoration:underline;display:block}.patient-name:hover,.patient-open{color:var(--accent)}.patient-open{align-items:center;gap:5px;min-height:32px;font-size:12px;display:inline-flex}.patient-open svg{width:14px;height:14px}.patient-count{background:#f5f2ef;border-radius:6px;padding:5px 9px}.patient-state{text-align:center;border:1px solid var(--line);color:var(--muted);background:#fff;border-radius:12px;padding:50px 24px;font-size:14px;line-height:1.8}.patient-state>svg{width:32px;height:32px;color:var(--accent);margin:0 auto 16px}.patient-state h2{color:var(--ink);margin-bottom:8px;font-size:17px}.patient-state button{margin-top:20px}.patient-pagination{color:var(--muted);justify-content:center;align-items:center;gap:20px;margin-top:24px;font-size:12px;display:flex}.patient-pagination svg{width:15px;height:15px}.patient-previous{transform:rotate(180deg)}.patient-back{color:var(--muted);align-items:center;gap:8px;min-height:24px;margin-bottom:24px;font-size:13px;display:inline-flex}.patient-back svg{width:15px;height:15px;transform:rotate(180deg)}.patient-profile{border:1px solid var(--line);background:#fff;border-radius:14px;margin-bottom:34px;overflow:hidden}.patient-profile-heading{border-bottom:1px solid var(--line);background:linear-gradient(110deg,#fff6f0,#fff);align-items:center;gap:16px;padding:26px 30px;display:flex}.patient-avatar{background:var(--accent-soft);width:48px;height:48px;color:var(--accent);border-radius:14px;flex:none;place-items:center;display:grid}.patient-avatar svg{width:24px;height:24px}.patient-profile-heading>div{min-width:0}.patient-profile-heading>div>span{color:var(--muted);font-size:11px}.patient-profile-heading h2{overflow-wrap:anywhere;margin-top:6px;font-size:25px}.patient-profile-heading small{margin-left:7px;font-size:15px;font-weight:400}.patient-readonly{white-space:nowrap;border:1px solid var(--line);color:var(--muted);border-radius:6px;margin-left:auto;padding:6px 9px;font-size:11px}.patient-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 24px;margin:0;padding:28px 30px;display:grid}.patient-facts dt{color:var(--muted);margin-bottom:9px;font-size:12px}.patient-facts dd{overflow-wrap:anywhere;margin:0;font-size:15px;font-weight:500}.patient-note{color:var(--muted);padding:0 30px 26px;font-size:12px;line-height:1.8}.patient-serial{font-family:ui-monospace,monospace}@media (width<=720px){.patient-page .page-heading{flex-direction:column;align-items:flex-start}.patient-filters{flex-wrap:wrap;padding:20px}.patient-filters label{flex-basis:100%}.patient-filter-actions{width:100%}.patient-filter-actions button{flex:1}.patient-profile-heading{gap:12px;padding:22px 20px}.patient-profile-heading h2{font-size:21px}.patient-readonly{display:none}.patient-facts{grid-template-columns:repeat(2,minmax(0,1fr));padding:24px 20px}.patient-note{padding:0 20px 22px}.patient-table td,.patient-table th{padding:16px}.patient-pagination{gap:14px}}
