.hf-patient-page{width:100%;min-width:0}.hf-patient-layout{display:grid;gap:1rem;width:100%;min-width:0}.hf-patient-main{display:flex;flex-direction:column;gap:.75rem;width:100%;min-width:0}.hf-patient-search-idle{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:8rem;padding:1.25rem 1rem;border-radius:1rem;border:1px dashed oklch(1 0 0 / .12);background:#ffffff05;text-align:center}@media(min-width:1024px){.hf-patient-layout{grid-template-columns:minmax(0,1fr) minmax(280px,360px);align-items:start}}@media(min-width:1280px){.hf-patient-layout{grid-template-columns:minmax(0,1fr) minmax(300px,380px)}}.hf-patient-data-list{width:100%;min-width:0}.hf-patient-data-list__meta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:.75rem;padding:0 .125rem}.hf-patient-data-list__sort-label{display:inline-flex;align-items:center;gap:.375rem;font-size:.625rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted-foreground)}.hf-patient-data-list__count{font-size:.625rem;color:var(--muted-foreground)}.hf-patient-layered-list{display:flex;flex-direction:column;gap:.625rem;width:100%;min-width:0}.hf-patient-layered-card{position:relative;display:flex;flex-direction:column;gap:.625rem;width:100%;min-width:0;padding:.875rem .875rem .875rem 1rem;border-radius:1rem;border:1px solid oklch(1 0 0 / .1);background:linear-gradient(145deg,#ffffff12,#ffffff05);backdrop-filter:blur(14px) saturate(140%);-webkit-backdrop-filter:blur(14px) saturate(140%);box-shadow:0 calc(2px + var(--hf-layer, 0) * 1px) calc(10px + var(--hf-layer, 0) * 2px) #00000047,inset 0 1px #ffffff0f;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.hf-patient-layered-card:hover{transform:translateY(-1px);border-color:#d1ff7438;border-color:oklch(.94 .27 125 / .22)}.hf-patient-layered-card--active{border-color:#d1ff7480;border-color:oklch(.94 .27 125 / .5);background:linear-gradient(145deg,#d1ff741f,#dbff9b13,#ffffff08);background:linear-gradient(145deg,color(xyz 0.593 0.877 0.06 / 0.122),color(xyz 0.652 0.903 0.204 / 0.076),#ffffff08);box-shadow:0 8px 24px #00000059,0 0 0 1px #d1ff7426;box-shadow:0 8px 24px #00000059,0 0 0 1px oklch(.94 .27 125 / .15)}.hf-patient-layered-card--live{border-color:#d1ff7459;border-color:oklch(.94 .27 125 / .35)}.hf-patient-layered-card__accent{position:absolute;left:0;top:.75rem;bottom:.75rem;width:3px;border-radius:0 999px 999px 0;background:linear-gradient(180deg,#d1ff74,#baff27,#a6fb00 25%,#9df900 31.25%,#98f80c,#94f71b 37.5%,#83f138 50%,#5ce656 75%,#43e060 87.5%,#32de65,#19db69);background:linear-gradient(180deg,color(xyz 0.593 0.877 0.06),color(xyz 0.499 0.775 0.106) 25%,color(xyz 0.477 0.751 0.116) 31.25%,#98f80c,#94f71b 37.5%,#83f138 50%,#5ce656 75%,#43e060 87.5%,#32de65,#19db69);opacity:.55}.hf-patient-layered-card--live .hf-patient-layered-card__accent,.hf-patient-layered-card--active .hf-patient-layered-card__accent{opacity:1;box-shadow:0 0 10px #d1ff7473;box-shadow:0 0 10px oklch(.94 .27 125 / .45)}.hf-patient-layered-card__head{display:flex;align-items:flex-start;justify-content:space-between;gap:.5rem;min-width:0}.hf-patient-layered-card__identity{display:flex;align-items:center;gap:.625rem;min-width:0;flex:1}.hf-patient-layered-card__avatar,.hf-patient-glass-table__avatar{display:flex;flex-shrink:0;align-items:center;justify-content:center;width:2.25rem;height:2.25rem;border-radius:.75rem;border:1px solid oklch(1 0 0 / .12);background:#d1ff741a;background:oklch(.94 .27 125 / .1);font-size:.6875rem;font-weight:700;color:#d1ff74;color:oklch(.94 .27 125)}.hf-patient-layered-card__name{font-size:clamp(.8125rem,3.5vw,.875rem);font-weight:600;line-height:1.25;word-break:break-word}.hf-patient-layered-card__meta{margin-top:.125rem;font-size:clamp(.625rem,2.8vw,.6875rem);color:var(--muted-foreground);line-height:1.35;word-break:break-word}.hf-patient-layered-card__body{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem}.hf-patient-layered-card__reason{min-width:0;flex:1;font-size:.6875rem;color:var(--muted-foreground)}.hf-patient-layered-card__time,.hf-patient-glass-table__time{display:inline-flex;align-items:center;gap:.35rem;font-size:.6875rem;color:var(--muted-foreground)}.hf-patient-layered-card__foot{display:flex;justify-content:flex-end}.hf-patient-layered-card__action,.hf-patient-glass-table__action{display:inline-flex;align-items:center;gap:.375rem;border-radius:999px;border:1px solid var(--glass-border);padding:.35rem .75rem;font-size:.6875rem;color:var(--foreground);transition:background .15s ease,border-color .15s ease}.hf-patient-layered-card__action:hover,.hf-patient-glass-table__action:hover{border-color:#d1ff7459;border-color:oklch(.94 .27 125 / .35);background:#d1ff741a;background:oklch(.94 .27 125 / .1)}.hf-patient-layered-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:1rem;border:1px dashed oklch(1 0 0 / .14);background:#ffffff08;padding:2rem 1rem;text-align:center;font-size:.8125rem;color:var(--muted-foreground)}.hf-patient-status{flex-shrink:0;border-radius:999px;padding:.25rem .5rem;font-size:.5625rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}.hf-patient-status--reviewed{color:var(--success);background:#43c2511f}.hf-patient-status--flagged{color:var(--accent);background:#51a9ff24;background:oklch(.72 .16 250 / .14)}.hf-patient-status--emergency{color:var(--destructive);background:#f51d3124}.hf-patient-status--waiting{color:var(--muted-foreground);background:#ffffff0f}.hf-patient-status--closed{color:var(--muted-foreground);background:#ffffff0a}.hf-patient-glass-table{overflow:hidden;border-radius:1rem;border:1px solid oklch(1 0 0 / .1);background:linear-gradient(180deg,#ffffff0a,#ffffff03)}.hf-patient-glass-table__head-row{border-bottom:1px solid oklch(1 0 0 / .1);background:#ffffff0a}.hf-patient-glass-table__head{height:auto!important;padding:.625rem .75rem!important;font-size:.625rem!important;font-weight:600!important;letter-spacing:.08em;text-transform:uppercase;color:var(--muted-foreground)!important}.hf-patient-glass-table__row{cursor:pointer;border-bottom:1px solid oklch(1 0 0 / .06);transition:background .15s ease,box-shadow .15s ease}.hf-patient-glass-table__row:hover{background:#ffffff0d!important}.hf-patient-glass-table__row[data-state=selected]{background:#d1ff741a!important;background:oklch(.94 .27 125 / .1)!important;box-shadow:inset 3px 0 #d1ff74;box-shadow:inset 3px 0 oklch(.94 .27 125)}.hf-patient-glass-table__row--live{box-shadow:inset 3px 0 #d1ff74a6;box-shadow:inset 3px 0 oklch(.94 .27 125 / .65)}.hf-patient-profile-panel{width:100%;min-width:0}@media(min-width:1024px){.hf-patient-profile-panel{position:sticky;top:1rem;max-height:calc(100vh - 2rem);overflow-y:auto}}.hf-patient-profile-empty{display:flex;min-height:clamp(12rem,40vh,20rem);flex-direction:column;align-items:center;justify-content:center;padding:1.25rem;text-align:center;font-size:clamp(.75rem,3vw,.875rem);color:var(--muted-foreground)}.hf-patient-profile-header h2{font-size:clamp(1.125rem,4.5vw,1.5rem);line-height:1.2;word-break:break-word}.hf-patient-profile-header p{font-size:clamp(.625rem,2.8vw,.75rem);line-height:1.4;word-break:break-word}.hf-patient-vitals-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}.hf-patient-vitals-grid>div{min-width:0;padding:.5rem .75rem}.hf-patient-vitals-grid .hf-vital-value{font-size:clamp(.875rem,3.5vw,1.125rem);word-break:break-word}.hf-patient-sheet-backdrop{position:fixed;inset:0;z-index:45;background:#0000008c;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.hf-patient-sheet{position:fixed;left:0;right:0;bottom:0;z-index:46;max-height:min(88vh,720px);overflow-y:auto;overflow-x:hidden;border-radius:1.25rem 1.25rem 0 0;padding-bottom:env(safe-area-inset-bottom,0)}.hf-patient-sheet .futura-card,.hf-patient-sheet .glass-card{border-radius:1.25rem 1.25rem 0 0}.hf-patient-sheet-handle{width:2.5rem;height:.25rem;margin:.625rem auto 0;border-radius:999px;background:#fff3}.hf-patient-chart{position:relative;min-width:0}.hf-patient-chart .recharts-surface{overflow:visible}.hf-patient-chart .recharts-cartesian-grid-horizontal line,.hf-patient-chart .recharts-cartesian-grid-vertical line{stroke:#ffffff1a}.hf-patient-chart--area .recharts-area-curve{filter:drop-shadow(0 0 6px rgba(200,255,0,.35))}.hf-patient-chart--bar .recharts-bar-rectangle{filter:drop-shadow(0 0 4px rgba(200,255,0,.2))}
