.hp-chips{flex-wrap:wrap;gap:8px;display:flex}.hp-chip{border:1px solid var(--line);color:var(--muted);font:inherit;cursor:pointer;background:#fff;border-radius:999px;align-items:center;gap:6px;padding:8px 13px;font-size:13.5px;font-weight:600;display:inline-flex}.hp-chip.on{background:var(--mint);color:var(--teal-text);border-color:#8ecdbf}.hp-chip.add{border-style:dashed}.hp-tabs{background:var(--canvas);border-radius:14px;gap:4px;margin:16px 0;padding:4px;display:flex;overflow-x:auto}.hp-tabs button{color:var(--muted);font:inherit;cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:10px;flex:1 0 auto;padding:9px 14px;font-size:14px;font-weight:600}.hp-tabs button.on{color:var(--blue);box-shadow:var(--shadow-soft);background:#fff}.hp-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;display:grid}.hp-card{border:1px solid var(--line);border-radius:var(--radius-card,20px);box-shadow:var(--shadow-soft);background:#fff;padding:18px}.hp-card h3{justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;font-size:16px;display:flex}.hp-card h3 .link-btn{font-size:13px}.hp-person{flex-wrap:wrap;align-items:center;gap:18px;display:flex}.hp-stat{gap:2px;display:grid}.hp-stat small{color:var(--muted);font-size:12.5px}.hp-stat strong{font-size:20px}.hp-blood{background:var(--coral-soft);min-width:52px;height:52px;color:var(--closed);border-radius:16px;place-items:center;padding:0 8px;font-size:18px;font-weight:800;display:inline-grid}.hp-item{border-bottom:1px solid var(--line);align-items:flex-start;gap:10px;padding:10px 0;display:flex}.hp-item:last-child{border-bottom:0}.hp-item>div{flex:1;min-width:0}.hp-item strong{font-size:14.5px;display:block}.hp-item small{color:var(--muted);font-size:12.5px;display:block}.hp-item .hp-actions{flex:none;gap:6px;display:flex}.hp-by{color:var(--muted);font-size:12px}.hp-by.verified{color:var(--teal-text);font-weight:600}.hp-pill{background:var(--mint);color:var(--teal-text);white-space:nowrap;border-radius:999px;align-items:center;padding:3px 9px;font-size:12px;font-weight:700;display:inline-flex}.hp-pill.low,.hp-pill.high{color:var(--pending);background:#fdf3e2}.hp-pill.critical,.hp-pill.severe{color:var(--closed);background:#fbecee}.hp-pill.muted{background:var(--canvas);color:var(--muted)}.hp-latest{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;display:grid}.hp-vital{border:1px solid var(--line);text-align:start;font:inherit;cursor:pointer;background:#fff;border-radius:16px;gap:4px;padding:12px 14px;display:grid}.hp-vital small{color:var(--muted);font-size:12.5px}.hp-vital strong{font-size:22px}.hp-vital strong span{color:var(--muted);margin-inline-start:4px;font-size:12px;font-weight:500}.hp-chart{width:100%;height:auto;display:block}.hp-chart .grid{stroke:var(--line);stroke-width:1px}.hp-chart .band{fill:var(--mint);opacity:.6}.hp-chart .line{fill:none;stroke:var(--teal);stroke-width:2.5px;stroke-linejoin:round;stroke-linecap:round}.hp-chart .line2{fill:none;stroke:var(--blue);stroke-width:2px;stroke-dasharray:5 4}.hp-chart circle{fill:#fff;stroke:var(--teal);stroke-width:2px}.hp-chart circle.alert{stroke:var(--closed);fill:var(--closed)}.hp-chart text{fill:var(--muted);font-size:11px}.hp-alert{color:var(--pending);background:#fdf3e2;border-radius:14px;align-items:flex-start;gap:10px;margin:12px 0;padding:12px 14px;font-size:14px;font-weight:500;display:flex}.hp-alert.critical{color:var(--closed);background:#fbecee}.hp-alert a{color:inherit;font-weight:700}.hp-dose{border:1px solid var(--line);background:#fff;border-radius:14px;align-items:center;gap:10px;padding:10px 12px;display:flex}.hp-dose>div{flex:1}.hp-dose time{font-variant-numeric:tabular-nums;font-weight:700}.hp-times{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.hp-times input{width:120px}.hp-severity{align-items:center;gap:10px;display:flex}.hp-severity input{accent-color:var(--coral);flex:1}.hp-qr{background:var(--canvas);border-radius:16px;justify-items:center;gap:8px;padding:14px;display:grid}.hp-qr img{background:#fff;border-radius:12px;width:180px;height:180px}.hp-section-head{justify-content:space-between;align-items:center;gap:10px;margin:18px 0 10px;display:flex}.hp-section-head h2{font-size:18px}.hp-row-form{gap:10px;display:grid}.hp-form-actions{justify-content:flex-end;gap:8px;display:flex}@media (max-width:640px){.hp-grid{grid-template-columns:1fr}.hp-latest{grid-template-columns:repeat(2,minmax(0,1fr))}}
