[data-life-health-tool]{--health-accent:var(--blue,#2447ff);--health-ink:var(--ink,#17212c);--health-muted:var(--muted,#526171);--health-border:#7c8b9e;--health-line:var(--line,#d3dae2);--health-surface:#fff;--health-soft:var(--soft,#f1f4f7);--health-error:#7d1e18;--health-error-bg:#fff3f2;margin:24px 0;padding:24px;border:1px solid var(--health-line);border-radius:var(--radius,6px);background:var(--health-surface);color:var(--health-ink);font-family:var(--font-sans,Nunito,system-ui,sans-serif);font-size:16px;line-height:1.55;overflow-wrap:anywhere;color-scheme:light;caret-color:var(--health-accent)}
[data-life-health-tool] *{box-sizing:border-box}
[data-life-health-tool] ::selection{background:#dceaff;color:var(--health-ink)}
[data-life-health-tool] h2{font-size:24px;line-height:1.25;margin:0 0 12px}
[data-life-health-tool] h3{font-size:19px;line-height:1.3;margin:0 0 16px}
[data-life-health-tool] p{max-width:68ch;margin:8px 0}
.health-intro{position:relative;padding-bottom:20px;border-bottom:1px solid var(--health-line)}
.health-intro>p{color:var(--health-muted);font-size:15px}
.health-intro button.health-example{padding-left:0;border-color:transparent;background:transparent;text-decoration:underline;text-underline-offset:4px;font-size:15px}
.health-setup{padding-top:24px}
.health-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px;margin:16px 0}
.health-fields:empty{display:none}
.health-field{display:flex;flex-direction:column;gap:6px;min-width:0;font:inherit}
.health-field>label{font-weight:650;font-size:15px;line-height:1.4}
.health-field .health-offset-label{font-size:13px;font-weight:400;color:var(--health-muted)}
.health-field input,.health-field select,.health-field textarea,[data-life-health-tool] fieldset>select,.health-csv>select{width:100%;max-width:100%;min-height:48px;padding:12px;border:1px solid var(--health-border);border-radius:var(--radius,6px);font:inherit;background:var(--health-surface);color:var(--health-ink)}
.health-field textarea{min-height:88px;resize:vertical}
.health-field input::placeholder{color:var(--health-muted);opacity:1}
.health-field small,.health-note,.health-memory-note,.health-print-range{font-size:14px;line-height:1.5;color:var(--health-muted)}
.health-required{display:inline;font-size:12px;font-weight:400;margin-left:6px;color:var(--health-muted)}
.health-memory-note{border-top:1px solid var(--health-line);padding-top:16px}
.health-status:empty{display:none}
.health-status{color:var(--health-muted);font-size:14px;margin:12px 0}
.health-actions{display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap;margin:16px 0}
[data-life-health-tool] button,.health-file,[data-life-health-tool] summary{min-height:44px;font:inherit;line-height:1.4;cursor:pointer;touch-action:manipulation}
[data-life-health-tool] button,.health-file{padding:10px 16px;border:1px solid var(--health-line);border-radius:var(--radius,6px);background:var(--health-surface);color:var(--health-accent);font-weight:600}
[data-life-health-tool] button:hover:not(:disabled),.health-file:hover{background:var(--health-soft);border-color:var(--health-accent)}
[data-life-health-tool] button:active:not(:disabled){background:#dceaff}
[data-life-health-tool] button[type=submit],.health-record-entry .health-actions>button:first-child{background:var(--health-accent);color:#fff;border-color:var(--health-accent)}
[data-life-health-tool] button[type=submit]:hover,.health-record-entry .health-actions>button:first-child:hover{background:#1635d3}
[data-life-health-tool] button:disabled{background:var(--health-soft);color:var(--health-muted);border-color:var(--health-line);cursor:default;opacity:1}
.health-file{position:relative;display:inline-flex;align-items:center}
.health-file input{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.health-file:focus-within,[data-life-health-tool] :focus-visible{outline:3px solid var(--health-accent);outline-offset:3px}
.health-secondary-actions{justify-content:space-between;padding-top:16px}
[data-life-health-tool] button.health-clear{color:var(--health-muted);border-color:transparent}
.health-error,.health-urgent{padding:16px;border-left:4px solid var(--health-error);background:var(--health-error-bg);color:var(--health-error);font-weight:500}
.health-field [aria-invalid=true]{border:2px solid var(--health-error)}
.health-record-entry,[data-life-health-tool] fieldset{min-width:0;margin:24px 0 16px;padding:20px 0 0;border:0;border-top:1px solid var(--health-line);border-radius:0}
[data-life-health-tool] legend{font-size:19px;font-weight:650;padding:0 12px 0 0}
.health-extra,.health-help,.health-csv,.health-optional-history{margin:16px 0;border-top:1px solid var(--health-line);border-bottom:1px solid var(--health-line)}
[data-life-health-tool] summary{padding:12px 0;font-size:15px;font-weight:600;color:var(--health-accent)}
.health-extra[open]{padding-bottom:8px}
.health-offset-helper{padding:12px 16px;background:var(--health-soft);border-radius:var(--radius,6px)}
.health-offset-helper>button{font-size:14px;background:var(--health-surface)}
.health-offset-helper p{font-size:13px}
.health-csv{padding:0 16px;background:var(--health-soft)}
.health-csv>label,[data-life-health-tool] fieldset>label{display:block;margin:16px 0;max-width:100%}
.health-csv>label:has(input[type=checkbox]),[data-life-health-tool] fieldset>label:has(input[type=checkbox]){display:flex;align-items:center;gap:12px;min-height:44px}
[data-life-health-tool] input[type=checkbox]{width:24px;height:24px;flex:0 0 24px;accent-color:var(--health-accent)}
[data-life-health-tool] input[type=file]{max-width:100%;font:inherit;display:block;margin-top:8px}
[data-life-health-tool] input[type=file]::file-selector-button{min-height:44px;padding:8px 12px;border:1px solid var(--health-border);border-radius:var(--radius,6px);background:var(--health-surface);color:var(--health-ink);font:inherit;cursor:pointer}
.health-records{max-width:100%;min-width:0;margin-top:28px}
.health-table-scroll{max-width:100%;overflow:auto;overscroll-behavior-x:contain;scrollbar-color:var(--health-border) var(--health-soft)}
.health-records table{border-collapse:collapse;width:100%;font-size:14px;font-variant-numeric:tabular-nums}
.health-records caption{text-align:left;color:var(--health-muted);padding:8px 0}
.health-records th,.health-records td{padding:12px 8px;text-align:left;border-bottom:1px solid var(--health-line);overflow-wrap:anywhere;vertical-align:top}
.health-records th{background:var(--health-soft)}
.health-row-actions{min-width:100px}
.health-row-actions button{display:block;width:100%;margin:0 0 8px;font-size:14px}
.health-result{scroll-margin-top:24px}
.health-result:empty{display:none}
.health-result:not(:empty){padding:24px 0;border-top:2px solid var(--health-accent)}
.health-result dl{margin:12px 0;font-variant-numeric:tabular-nums}
.health-result dl>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,.6fr);gap:24px;padding:16px 0;border-bottom:1px solid var(--health-line)}
.health-result dt{font-size:15px;font-weight:600}
.health-result dd{margin:0;font-size:19px;font-weight:650;overflow-wrap:anywhere}
.health-print-context{display:none}
[data-life-health-tool] [hidden]{display:none!important}
#life-ui>main.life-health-page{display:block!important;max-width:900px;margin:0 auto;padding:24px 32px}
body:has([data-life-health-tool])>.skip-link,body:has([data-life-health-tool])>.skip{position:absolute;top:12px;left:12px;z-index:1000;transform:translateY(-200%);padding:12px;background:#fff;color:var(--blue,#2447ff)}
body:has([data-life-health-tool])>.skip-link:focus,body:has([data-life-health-tool])>.skip:focus{transform:none;outline:3px solid var(--blue,#2447ff)}
@media(max-width:640px){[data-life-health-tool]{padding:16px;margin:20px 0}.health-fields{grid-template-columns:1fr;gap:16px}.health-result dl>div{grid-template-columns:1fr;gap:6px}.health-primary-actions>button{width:100%;min-height:48px}#life-ui>main.life-health-page{padding:20px 16px}.health-records table,.health-records tbody{display:block}.health-records thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.health-records tr{display:block;border:1px solid var(--health-line);border-radius:var(--radius,6px);padding:8px 12px;margin-bottom:12px}.health-records td{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:8px 0;border:0}.health-records td:before{content:attr(data-label);font-weight:600;color:var(--health-muted)}.health-records .health-row-actions{display:flex;flex-wrap:wrap;border-top:1px solid var(--health-line);padding-top:12px}.health-row-actions:before{display:none}.health-row-actions button{width:auto;flex:1;margin:0}.health-table-scroll{overflow:visible}.health-record-entry .health-actions>button:first-child{width:100%}body:has([data-life-health-tool]) .primary-nav{display:flex!important;gap:18px;max-width:100%;overflow-x:auto;white-space:nowrap}body:has([data-life-health-tool]) .primary-nav a{flex:0 0 auto;white-space:nowrap;word-break:normal;overflow-wrap:normal;min-height:44px;display:flex;align-items:center}}
@media print{.health-form,.health-intro,.health-actions,.health-file,.health-help,.health-csv,.health-status,.health-memory-note,[data-life-health-tool]>fieldset,.health-row-actions,.health-records th:last-child{display:none!important}[data-life-health-tool]{padding:0;border:0;font-size:11pt}.health-print-context{display:block;border-top:1px solid #7c8b9e;margin-top:20px}.health-print-range{display:block}.health-table-scroll{overflow:visible}.health-records table{display:table;font-size:9pt}.health-records tbody{display:table-row-group}.health-records thead{position:static;display:table-header-group;width:auto;height:auto;clip-path:none}.health-records tr{display:table-row}.health-records td{display:table-cell}.health-records td:before{display:none}.health-result dl>div{break-inside:avoid}body:has([data-life-health-tool]) .usb-global-header,body:has([data-life-health-tool]) footer{display:none!important}}
body:has([data-life-health-tool]) .health-reading-help{border-top:1px solid var(--line,#d3dae2);margin:24px 0;padding:8px 0}
body:has([data-life-health-tool]) .health-reading-help>summary{min-height:48px;padding:12px 0;cursor:pointer;color:var(--blue,#2447ff);font-weight:600}
body:has([data-life-health-tool]) .health-reading-help>summary:focus-visible{outline:3px solid var(--blue,#2447ff);outline-offset:3px}
@media print{body:has([data-life-health-tool]) .health-reading-help{display:none}}
.health-result-more{border-bottom:1px solid var(--health-line)}
@media(max-width:640px){.health-records caption{display:block;width:100%;margin-bottom:8px}.health-records table{table-layout:fixed}}
@media print{.health-result-more:not([open]){display:none}.health-result-more>summary{display:none}}
