.personal-records{display:block;width:100%;min-width:0;max-width:1200px;margin-inline:auto;color:var(--ink,#283c3b);box-sizing:border-box;--pr-bg:var(--surface,#fff);--pr-border:var(--line,#d8e4e0);--pr-muted:var(--ink-2,#586d68);--pr-good:#287552;--pr-low:#986118;--pr-high:#ab423d}
.personal-records *{box-sizing:border-box}.personal-records .pr-heading,.personal-records .pr-result-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}.personal-records h1,.personal-records h2,.personal-records h3{margin:0 0 10px;overflow-wrap:anywhere}.personal-records p{margin:8px 0;overflow-wrap:anywhere}.personal-records .pr-eyebrow{font-size:.8rem;letter-spacing:.06em;text-transform:uppercase;color:var(--pr-muted)}.personal-records .pr-nav,.personal-records .pr-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.personal-records .pr-nav a{display:flex;align-items:center;min-height:44px;padding:8px 14px;border:1px solid var(--pr-border);border-radius:12px;text-decoration:none}.personal-records .pr-section{display:block;width:100%;padding:22px;margin:18px 0;background:var(--pr-bg);border:1px solid var(--pr-border);border-radius:18px;min-width:0}.personal-records label{display:flex;flex-direction:column;gap:7px;margin:12px 0;min-width:0;font-size:.94rem;font-weight:600}.personal-records input,.personal-records textarea,.personal-records select{font:inherit;color:inherit;min-width:0;width:100%;max-width:100%;min-height:44px;border:1px solid var(--pr-border);border-radius:9px;padding:9px 11px;background:var(--pr-bg)}.personal-records input[type=file]{padding:8px;font-size:.9rem}.personal-records textarea{resize:vertical}.personal-records .pr-check{flex-direction:row;align-items:center;gap:10px}.personal-records .pr-check input{width:22px;min-height:22px;flex:0 0 22px}.personal-records button{min-height:44px;max-width:100%;white-space:normal;padding:9px 13px;line-height:1.35}.personal-records button:disabled{opacity:.6}.personal-records .pr-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.personal-records .pr-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.personal-records .pr-number{font-size:1.7rem;font-weight:700;line-height:1.25;overflow-wrap:anywhere}.personal-records .pr-number small{font-size:.9rem;font-weight:500}.personal-records .pr-result,.personal-records .pr-series,.personal-records .pr-document,.personal-records .pr-note{min-width:0;padding:18px;border:1px solid var(--pr-border);border-radius:13px;margin:12px 0;background:var(--pr-bg)}.personal-records [data-reference=normal]{border-inline-start:5px solid var(--pr-good)}.personal-records [data-reference=low]{border-inline-start:5px solid var(--pr-low)}.personal-records [data-reference=high]{border-inline-start:5px solid var(--pr-high)}.personal-records .pr-reference,.personal-records .pr-status{display:inline-block;padding:5px 8px;border:1px solid currentColor;border-radius:8px;font-size:.8rem;margin:3px 4px 3px 0}.personal-records .pr-normal{color:var(--pr-good)}.personal-records .pr-low{color:var(--pr-low)}.personal-records .pr-high{color:var(--pr-high)}.personal-records .pr-muted{font-size:.9rem;color:var(--pr-muted)}.personal-records .pr-error{color:var(--compromised,#a1262c);font-weight:600;min-height:0}.personal-records .pr-error:empty,.personal-records [data-pr-progress]:empty{display:none}.personal-records .pr-quote{white-space:pre-wrap;overflow-wrap:anywhere}.personal-records details{margin:8px 0}.personal-records summary{min-height:44px;padding:11px 0;cursor:pointer;font-weight:600}.personal-records .pr-chart{width:100%;height:180px;overflow:visible}.personal-records .pr-chart polyline{fill:none;stroke:var(--blue,#26736c);stroke-width:2.5}.personal-records .pr-chart circle{fill:var(--blue,#26736c)}.personal-records .pr-chart text{fill:currentColor;font-size:11px}.personal-records .pr-axis{stroke:var(--pr-border);fill:none}.personal-records .pr-history{padding-left:24px}.pr-document-dialog{width:min(950px,95vw);max-height:90dvh;padding:18px;border:1px solid var(--line,#ccc);border-radius:14px;color:var(--ink,#283c3b);background:var(--surface,#fff)}.pr-document-dialog::backdrop{background:#0008}.pr-document-dialog header{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.pr-document-dialog h2{font-size:1.1rem;overflow-wrap:anywhere}.pr-document-dialog img{display:block;max-width:100%;height:auto;margin-top:15px}.pr-document-dialog iframe{display:block;width:100%;height:65dvh;border:0;margin-top:15px}.pr-document-dialog button{min-height:44px}
:root[data-theme=dark] .personal-records{--pr-good:#85d1ac;--pr-low:#f1c779;--pr-high:#ffaaa4}
.personal-records .pr-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}.personal-records .pr-summary-card{min-width:0;background:var(--pr-bg);border:1px solid var(--pr-border);border-left-width:5px;border-radius:12px;padding:14px}.personal-records .pr-summary-card h3{font-size:1rem;margin:0}.personal-records .pr-summary-card .pr-result-head{gap:5px}.personal-records .pr-summary-card .pr-reference{font-size:.75rem;padding:3px 6px}.personal-records .pr-mini-points{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.personal-records .pr-mini-points>span{flex:1;min-width:80px;border:1px solid var(--pr-border);border-radius:8px;padding:6px}.personal-records .pr-mini-points b{display:block;font-size:.9rem}.personal-records .pr-mini-points small{display:block;font-size:.75rem;color:var(--pr-muted)}.personal-records .pr-summary-link{display:inline-flex;align-items:center;min-height:44px;font-size:.9rem;margin-top:4px}
.personal-records .pr-summary-card[data-reference=normal]{border-inline-start-color:var(--pr-good)}.personal-records .pr-summary-card[data-reference=low]{border-inline-start-color:var(--pr-low)}.personal-records .pr-summary-card[data-reference=high]{border-inline-start-color:var(--pr-high)}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]) .personal-records{--pr-good:#85d1ac;--pr-low:#f1c779;--pr-high:#ffaaa4}}
@media(max-width:900px){.personal-records .pr-summary-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:650px){.personal-records .pr-section{padding:15px}.personal-records .pr-fields,.personal-records .pr-grid{grid-template-columns:minmax(0,1fr)}.personal-records .pr-result,.personal-records .pr-series,.personal-records .pr-document,.personal-records .pr-note{padding:13px}.personal-records .pr-nav{gap:5px}.personal-records .pr-nav a{padding-inline:10px}.personal-records .pr-heading{gap:10px}.personal-records .pr-number{font-size:1.5rem}}
/* v0.34: a value not found in the document text - shown in words, not only by colour */
.personal-records .pr-needs-check{display:flex;align-items:flex-start;gap:8px;margin:8px 0;padding:8px 11px;border:1px solid #b7791f;border-inline-start-width:4px;border-radius:9px;background:#fff7e3;color:#5b3c00;font-size:.9rem;font-weight:600;line-height:1.45}
.personal-records .pr-needs-check span{flex:0 0 auto;font-weight:800}
.personal-records [data-check=value_not_in_source]{border-color:#d9a441}
:root[data-theme=dark] .personal-records .pr-needs-check{background:#3a2a0c;color:#ffdc94;border-color:#d39b2a}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]) .personal-records .pr-needs-check{background:#3a2a0c;color:#ffdc94;border-color:#d39b2a}}

/* Compact documents: one accessible row opens the details in place. */
.dr-expand>summary{display:flex;align-items:center;gap:14px;min-height:78px;padding:16px;cursor:pointer;list-style:none}.dr-expand>summary::-webkit-details-marker{display:none}.dr-file{flex:0 0 34px;color:#55756b}.dr-file svg{width:28px;height:32px;fill:none;stroke:currentColor;stroke-width:1.5}.dr-name{display:flex;flex-direction:column;gap:6px;flex:1;min-width:0}.dr-name b{overflow-wrap:anywhere;font-size:16px}.dr-name>span{color:#68716c;font-size:14px}.dr-status{display:grid;place-items:center;border-radius:50%;width:26px;height:26px;flex:0 0 26px;background:#e6efe7;color:#356753;font-weight:700}.dr-pending{background:#eeeae1;color:#8a7354}.dr-chevron{font-size:22px}.dr-expand[open] .dr-chevron{transform:rotate(180deg)}.dr-body{padding:10px 20px 22px;border-top:1px solid #e5e6df}.doclist .dr-pregnancy{display:block;padding:0}.pr-document:has(.dr-expand){padding:0}.dr-expand>summary:focus-visible{outline:3px solid #637e71;outline-offset:-3px;border-radius:12px}body.n8 .dr-body .pr-actions{gap:10px}body.n8 .n8-page-heading:has(img){min-height:210px}body.n8 .n8-page-heading .n8-hero-image{max-height:240px}
@media(max-width:600px){.dr-expand>summary{gap:8px;padding:14px 10px}.dr-file{flex-basis:26px}.dr-name b{font-size:15px}.dr-status{flex-basis:23px;width:23px;height:23px}.dr-body{padding:12px}.dr-body .actions,.dr-body .pr-actions{display:flex;flex-wrap:wrap}body.n8 .n8-page-heading:has(img){min-height:0}body.n8 .n8-page-heading .n8-hero-image{height:136px;max-height:none}}
