.record-view-open{overflow:hidden}.record-loading{position:fixed;inset:0;z-index:12000;display:grid;place-items:center;background:#17233b73;color:#fff;font-weight:800}.patient-record-overlay{position:fixed;inset:0;z-index:11000;overflow:auto;background:#fbf7fa}.patient-record-page{width:min(1180px,calc(100% - 40px));margin:28px auto 60px}.patient-record-header{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:20px}.patient-record-header>div:first-child{flex:1;min-width:0}.patient-record-header small{color:#c91d5c;font-weight:800}.patient-record-header h1{margin:5px 0;font-size:clamp(26px,4vw,42px);overflow-wrap:anywhere}.patient-record-header p{margin:0;color:#6f6672}.patient-record-actions{display:flex;flex:0 0 280px;max-width:100%;gap:10px;flex-wrap:wrap}.patient-record-actions button{width:100%;border:1px solid #c91d5c;border-radius:10px;padding:11px 16px;background:#fff;color:#a9154d;font-weight:800}.patient-record-actions .record-add{background:#c91d5c;color:#fff}.record-card{margin-top:16px;padding:22px;background:#fff;border:1px solid #e5dce4;border-radius:16px;box-shadow:0 12px 36px #8d184d12}.record-card h2{margin:0 0 16px}.record-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0}.record-summary div{padding:13px 16px;border-bottom:1px solid #eee4ea}.record-summary dt{color:#6f6672;font-size:12px}.record-summary dd{margin:5px 0 0;font-weight:800}.record-section-head{display:flex;align-items:center;gap:10px}.record-section-head h2{margin:0}.record-section-head span{display:grid;place-items:center;min-width:26px;height:26px;border-radius:99px;background:#fce8f1;color:#b81350;font-weight:800}.record-table-wrap{overflow:auto}.record-history table{min-width:920px;margin-top:16px}.record-history th,.record-history td{padding:12px 10px}.record-empty{color:#6f6672}.patient-list tbody tr td:first-child strong{cursor:zoom-in}.patient-list tbody tr td:first-child strong:hover{text-decoration:underline;text-decoration-color:#c91d5c;text-underline-offset:4px}@media(max-width:720px){.patient-record-page{width:min(100% - 24px,1180px);margin:16px auto 40px}.patient-record-header{flex-direction:column}.patient-record-actions{width:100%;flex-basis:auto}.patient-record-actions button{flex:1}.record-summary{grid-template-columns:1fr 1fr}.record-card{padding:16px}}@media(max-width:460px){.record-summary{grid-template-columns:1fr}}
