:root{--ink:#172a25;--muted:#687b75;--brand:#0b6b5d;--line:#dce6e2;--soft:#eef6f3;--danger:#aa3940;--warn:#956516;--success:#2d7450}*{box-sizing:border-box}html{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#edf2f0;color:var(--ink)}body{margin:0}.report-toolbar{position:sticky;top:0;z-index:5;height:64px;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(18px,calc((100vw - 980px)/2));backdrop-filter:blur(12px)}.back-link{color:var(--brand);font-weight:800;text-decoration:none;font-size:12px}.toolbar-actions{display:flex;align-items:center;gap:10px}.toolbar-actions label{font-size:10px;color:var(--muted);font-weight:700;display:flex;align-items:center;gap:6px}.toolbar-actions select,.toolbar-actions button{border:1px solid var(--line);border-radius:9px;background:#fff;padding:8px 10px;font:inherit;font-size:10px;color:var(--ink)}.toolbar-actions button{background:var(--brand);color:#fff;border-color:var(--brand);font-weight:800;cursor:pointer}.report-page{width:min(980px,calc(100% - 28px));margin:24px auto;background:#fff;min-height:1100px;box-shadow:0 18px 60px rgba(30,55,48,.12);padding:42px 46px}.loading{text-align:center;color:var(--muted);padding:80px}.report-head{display:flex;align-items:flex-start;justify-content:space-between;gap:30px;border-bottom:2px solid var(--ink);padding-bottom:22px}.report-brand{display:flex;align-items:center;gap:11px}.report-mark{width:42px;height:42px;border-radius:12px;background:var(--brand);color:#fff;display:grid;place-items:center;font-size:20px}.report-brand div{display:flex;flex-direction:column}.report-brand strong{font-size:19px}.report-brand span{font-size:10px;color:var(--muted)}.report-meta{text-align:right}.report-meta span{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:800}.report-meta strong{display:block;margin-top:5px;font-size:13px}.patient-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:22px 0}.patient-item{border:1px solid var(--line);border-radius:10px;padding:11px}.patient-item span,.summary-card span{display:block;font-size:8px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:800;margin-bottom:5px}.patient-item strong{font-size:11px}.section{margin-top:25px}.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:11px}.section-head h2{font-size:16px;margin:0}.section-head p{font-size:9px;color:var(--muted);margin:0}.summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.summary-card{border:1px solid var(--line);border-radius:12px;padding:14px;background:#fafcfb}.summary-card strong{font-size:22px;letter-spacing:-.04em}.summary-card small{font-size:8px;color:var(--muted)}.summary-card.highlight{background:var(--soft);border-color:#c9dfd8}.status{display:inline-flex;padding:4px 7px;border-radius:999px;background:var(--soft);font-size:8px;font-weight:800;margin-top:6px}.status.normal{color:var(--success)}.status.elevated,.status.stage_1{color:var(--warn)}.status.stage_2,.status.severe_hypertension,.status.hypertensive_emergency{color:var(--danger)}.protocol-box{border:1px solid var(--line);border-radius:12px;padding:14px}.protocol-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px}.protocol-top strong{font-size:11px}.protocol-top span{font-size:10px;color:var(--brand);font-weight:850}.protocol-bar{height:8px;border-radius:999px;background:#e9efed;overflow:hidden}.protocol-bar i{display:block;height:100%;background:var(--brand);border-radius:inherit}.protocol-box p{font-size:9px;color:var(--muted);line-height:1.55;margin:9px 0 0}.report-table{width:100%;border-collapse:collapse}.report-table th,.report-table td{text-align:left;padding:8px 7px;border-bottom:1px solid var(--line);font-size:9px;vertical-align:top}.report-table th{font-size:7px;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);background:#fafcfb}.report-table td strong{font-size:11px}.report-table small{color:var(--muted)}.empty{padding:24px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:10px;font-size:10px}.report-note{margin-top:26px;padding:13px;border-radius:10px;background:#f7f9f8;color:var(--muted);font-size:8.5px;line-height:1.6}.report-note strong{color:var(--ink)}.report-footer{border-top:1px solid var(--line);margin-top:30px;padding-top:12px;display:flex;justify-content:space-between;gap:20px;font-size:8px;color:var(--muted)}@media(max-width:700px){.report-toolbar{padding:0 12px}.report-page{width:100%;margin:0;box-shadow:none;padding:24px 16px}.patient-grid,.summary-grid{grid-template-columns:1fr 1fr}.report-head{flex-direction:column}.report-meta{text-align:left}.toolbar-actions label{display:none}}@media print{html,body{background:#fff}.report-toolbar{display:none}.report-page{width:100%;margin:0;box-shadow:none;padding:0;min-height:auto}.section{break-inside:avoid}.report-table{break-inside:auto}.report-table tr{break-inside:avoid}.report-note{break-inside:avoid}@page{size:A4;margin:14mm}}