.patient-name-link{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:0;border:0;background:none;color:inherit;text-align:left;cursor:pointer}.patient-name-link strong{color:#173f3d;transition:color .18s}.patient-name-link small{color:#778789}.patient-name-link:hover strong,.patient-name-link:focus-visible strong{color:#e86f4f;text-decoration:underline;text-underline-offset:4px}
.patient-workspace{display:grid;gap:20px;min-width:0}.patient-workspace-back{justify-self:start;border:0;background:transparent;color:#317f78;font-weight:800;padding:3px 0;cursor:pointer}.patient-workspace-back:hover{text-decoration:underline;text-underline-offset:4px}
.patient-workspace-header{display:grid;grid-template-columns:auto minmax(260px,1fr) auto;align-items:center;gap:20px;padding:26px 28px;border:1px solid #dce7e3;border-radius:25px;background:linear-gradient(135deg,#fff 10%,#f3faf7 62%,#fff4ee);box-shadow:0 16px 38px rgba(27,54,57,.07)}.patient-workspace-avatar{display:grid;place-items:center;width:66px;height:66px;border-radius:21px;background:linear-gradient(145deg,#318d84,#70c9c0);color:#fff;font-family:Georgia,serif;font-size:30px;font-weight:800;box-shadow:0 10px 24px rgba(49,141,132,.2)}.patient-workspace-header h2{margin:4px 0 5px;color:#142139;font-family:Georgia,serif;font-size:clamp(28px,3vw,42px);line-height:1.05}.patient-workspace-header p{margin:0;color:#6f7f83}.patient-workspace-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}.patient-workspace-header-actions .badge{margin-right:3px}
.patient-workspace-tabs{display:flex;gap:5px;padding:6px;overflow-x:auto;border:1px solid #dce6e2;border-radius:16px;background:#fff;scrollbar-width:thin}.patient-workspace-tabs button{display:flex;align-items:center;gap:7px;min-width:max-content;padding:11px 15px;border:0;border-radius:11px;background:transparent;color:#607174;font-weight:750;cursor:pointer;transition:.18s ease}.patient-workspace-tabs button span{display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:#edf4f1;color:#3a7f78}.patient-workspace-tabs button:hover{background:#f5f8f6;color:#173f3d}.patient-workspace-tabs button.active{background:#173f3d;color:#fff;box-shadow:0 7px 16px rgba(23,63,61,.16)}.patient-workspace-tabs button.active span{background:rgba(255,255,255,.14);color:#fff}
.patient-workspace-content{display:grid;gap:18px;min-width:0}.patient-workspace-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.patient-workspace-metrics article,.patient-financial-summary article{position:relative;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:1px 12px;min-height:116px;padding:18px;border:1px solid #dce7e3;border-radius:19px;background:#fff;overflow:hidden}.patient-workspace-metrics article:after,.patient-financial-summary article:after{content:"";position:absolute;right:-25px;bottom:-32px;width:80px;height:80px;border-radius:50%;background:#f1f7f4}.patient-workspace-metrics article>span{grid-row:1/4;display:grid;place-items:center;width:41px;height:41px;border-radius:13px;font-weight:900}.patient-workspace-metrics .teal{background:#e1f4ef;color:#258078}.patient-workspace-metrics .coral{background:#fff0e9;color:#eb7857}.patient-workspace-metrics .blue{background:#e9f0f7;color:#4f789d}.patient-workspace-metrics .gold{background:#fff6df;color:#a6771a}.patient-workspace-metrics small,.patient-financial-summary small{color:#859094;font-size:10px;font-weight:900;letter-spacing:.12em}.patient-workspace-metrics strong,.patient-financial-summary strong{color:#142139;font-family:Georgia,serif;font-size:27px}.patient-workspace-metrics p{margin:0;color:#778486;font-size:12px}
.patient-workspace-overview{display:grid;gap:18px}.patient-workspace-overview-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:16px}.patient-workspace-focus,.patient-workspace-care-map{padding:24px;border:1px solid #dce7e3;border-radius:21px;background:#fff}.patient-workspace-focus{background:linear-gradient(145deg,#183b3a,#276861);color:#fff}.patient-workspace-focus>small,.patient-workspace-care-map>small{display:block;margin-bottom:16px;font-size:10px;font-weight:900;letter-spacing:.15em}.patient-workspace-focus time{display:block;color:#9fe1d7;font-weight:800}.patient-workspace-focus h3{margin:8px 0 4px;font-family:Georgia,serif;font-size:25px}.patient-workspace-focus p{margin:0 0 18px;color:#cee1de}.patient-workspace-focus .secondary{background:#fff;border-color:#fff;color:#245f5b}.patient-workspace-care-map>div{display:flex;align-items:center;gap:12px;padding:11px 0;border-top:1px solid #edf1ef}.patient-workspace-care-map>div>span{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#f1f4f3;color:#9aa5a5;font-weight:900}.patient-workspace-care-map>div>span.done{background:#dff3ed;color:#257d74}.patient-workspace-care-map p{display:flex;flex-direction:column;margin:0}.patient-workspace-care-map small{color:#7d8a8c}
.patient-workspace-section{min-width:0;padding:22px;border:1px solid #dce7e3;border-radius:22px;background:#fff;box-shadow:0 10px 30px rgba(28,49,53,.04)}.patient-workspace-section+.patient-workspace-section{margin-top:0}.patient-workspace-section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:17px}.patient-workspace-section-head h3{margin:0;color:#142139;font-size:20px}.patient-workspace-section-head p{margin:5px 0 0;color:#7b898c;font-size:13px}.patient-workspace-summary-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.patient-workspace-summary-list>div{display:flex;align-items:center;gap:11px;padding:14px;border-radius:14px;background:#f7faf8}.patient-workspace-summary-list>div>span{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#e2f3ef;color:#2c827a}.patient-workspace-summary-list p{display:flex;flex-direction:column;margin:0}.patient-workspace-summary-list small{color:#798789}
.patient-workspace-table-wrap{max-width:100%;overflow:auto;border:1px solid #edf1ef;border-radius:14px}.patient-workspace-table-wrap table{min-width:760px;margin:0}.patient-workspace-table-wrap th{padding:12px 14px;background:#f5f8f6;color:#7c898c;font-size:10px;letter-spacing:.1em}.patient-workspace-table-wrap td{padding:14px;border-top:1px solid #edf1ef;vertical-align:middle}.patient-workspace-table-wrap td strong,.patient-workspace-table-wrap td small{display:block}.patient-workspace-table-wrap td small{margin-top:4px;color:#819092}.patient-private-label{display:inline-flex;gap:5px;align-items:center;color:#758486;font-size:12px;font-weight:750}.patient-workspace-empty{display:grid;place-items:center;padding:36px 20px;text-align:center;border:1px dashed #d9e3df;border-radius:15px;background:#fafcfb}.patient-workspace-empty>span{display:grid;place-items:center;width:45px;height:45px;margin-bottom:10px;border-radius:15px;background:#edf5f2;color:#328179;font-size:21px}.patient-workspace-empty p{max-width:440px;margin:6px 0 0;color:#7d898c}
.patient-recording-list{display:grid;gap:10px}.patient-recording-card{display:grid;grid-template-columns:auto minmax(200px,1fr) auto;align-items:center;gap:15px;padding:16px;border:1px solid #e2e9e6;border-radius:16px;background:#fbfdfc}.patient-recording-status{display:grid;place-items:center;width:41px;height:41px;border-radius:13px;background:#e7f5f1}.patient-recording-status i{width:10px;height:10px;border-radius:50%;background:#348e85;box-shadow:0 0 0 6px rgba(52,142,133,.12)}.patient-recording-status .badge{display:none}.patient-recording-card h3{margin:3px 0;color:#16223a;font-size:16px}.patient-recording-card p,.patient-recording-card small{margin:0;color:#778689}.patient-recording-actions{text-align:right}.patient-recording-actions>span{color:#7f8b8e;font-size:12px}.patient-financial-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.patient-financial-summary article{display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.patient-financial-summary strong{font-size:25px}.patient-protected-view{display:grid;gap:11px}.patient-protected-view h3{margin:0;color:#152139;font-family:Georgia,serif;font-size:28px}.patient-protected-view>p{margin:0;color:#758387}.patient-protected-view>div{max-height:58vh;padding:22px;overflow:auto;border:1px solid #dce7e3;border-radius:16px;background:#f8fbf9;color:#2e3e40;line-height:1.72;white-space:normal}.patient-protected-view h4{margin:10px 0 -3px;color:#3c706c}.patient-protected-view>small{color:#788789}
@media(max-width:1050px){.patient-workspace-header{grid-template-columns:auto 1fr}.patient-workspace-header-actions{grid-column:1/-1;justify-content:flex-start}.patient-workspace-metrics{grid-template-columns:repeat(2,1fr)}.patient-workspace-summary-list{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){.patient-workspace-header{grid-template-columns:1fr;padding:20px}.patient-workspace-avatar{width:55px;height:55px}.patient-workspace-header-actions{grid-column:auto}.patient-workspace-header-actions .secondary,.patient-workspace-header-actions .primary{flex:1}.patient-workspace-tabs{margin-inline:-4px}.patient-workspace-metrics,.patient-workspace-overview-grid,.patient-financial-summary{grid-template-columns:1fr}.patient-workspace-summary-list{grid-template-columns:1fr}.patient-workspace-section{padding:17px}.patient-workspace-section-head{align-items:flex-start;flex-direction:column}.patient-workspace-section-head>button{width:100%}.patient-recording-card{grid-template-columns:auto 1fr}.patient-recording-actions{grid-column:1/-1;text-align:left}.patient-recording-actions button{width:100%}}
