.health-heading,.health-controls{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.health-user-context{overflow-wrap:anywhere;color:var(--muted);font-size:13px;line-height:1.7}.health-detail .health-user-parameter{margin-top:20px;padding:14px;background:var(--ws-soft,#eaf3ec);border-radius:8px}.health-detail .health-user-parameter h4{margin:0 0 8px}.health-user-parameter-row{padding:8px 0;overflow-wrap:anywhere}.health-user-parameter-row .health-result{grid-template-columns:minmax(0,1fr) auto;gap:6px}.health-user-parameter-row .health-result>span:last-child{grid-column:1/-1}.health-user-parameter-row .health-result>span:nth-child(2){font-size:17px;font-variant-numeric:tabular-nums}.health-user-parameter-row p{margin:6px 0}.health-parameter-empty{font-weight:600}.health-parameter-references{margin-top:14px}.health-user-parameter .help{font-size:13px}
.health-connection{margin-top:14px;padding:14px;background:var(--ws-soft,#eaf3ec);border-radius:8px}.health-connection p{margin:6px 0 12px;max-width:70ch;font-size:14px;line-height:1.7}.health-source-status{padding:12px 0;font-size:14px;line-height:1.7}.health-source-status p{margin:6px 0;max-width:70ch}
.health-controls{justify-content:flex-start}.health-controls label{flex:1;min-width:190px;margin:0}.health-controls input,.health-controls select{display:block;width:100%}
.health-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(290px,380px);gap:24px;margin-bottom:24px;align-items:start}
.health-result{display:grid;grid-template-columns:minmax(120px,1fr) minmax(70px,auto) minmax(60px,auto);align-items:center;gap:12px;text-align:left;width:100%;margin:0;border:0!important;border-bottom:1px solid var(--border)!important;border-radius:0!important;background:transparent!important;color:inherit!important;padding:12px!important}
.health-result:hover{background:var(--ws-soft,#eaf3ec)!important}.health-result small{display:block;font-size:11px;color:var(--muted);font-weight:400}.health-result strong{font-weight:500}
.health-detail{padding:18px;border:1px solid var(--border);border-radius:8px;background:var(--ws-surface,#fff);min-width:0;position:sticky;top:16px;max-height:85dvh;overflow:auto;scrollbar-width:thin}
.health-detail h4{margin:24px 0 10px}.health-detail p,.health-detail li{font-size:13px;line-height:1.8}.health-detail pre{max-height:340px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}.health-detail code{overflow-wrap:anywhere}.health-inputs{display:flex;gap:6px;flex-wrap:wrap}.health-inputs button{font-size:12px;min-height:34px}
.health-catalogue{border-top:1px solid var(--border);padding:12px 0}.health-catalogue p,.health-catalogue li{font-size:13px;line-height:1.8}
@media(max-width:1050px){.health-layout{grid-template-columns:minmax(0,1fr)}.health-detail{position:static;max-height:none}.health-result{grid-template-columns:minmax(90px,1fr) auto;gap:8px}.health-result>span:last-child{grid-column:1/-1}.health-controls label{min-width:0;flex-basis:100%}}
.health-summary{margin-bottom:18px;min-width:0}.health-summary h2{margin-bottom:4px!important}.health-summary .help{margin:4px 0 12px}
.health-summary .health-controls{margin-top:12px;max-width:800px}.health-view-tabs{display:flex;flex-wrap:wrap;gap:6px;margin-top:16px}
.health-view-tabs button[aria-pressed=true]{background:var(--ws-accent,#17675a)!important;color:#fff!important;border-color:var(--ws-accent,#17675a)!important}
.health-snapshot{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.health-snapshot p{max-width:100%;overflow-wrap:anywhere}.health-summary #health-message:empty{display:none}
.health-layout{grid-template-columns:minmax(0,1fr)}.health-layout.has-detail{grid-template-columns:minmax(0,1fr) minmax(300px,370px)}
.health-detail[hidden],.health-map-page [hidden]{display:none!important}.health-close{float:right;margin:0 0 12px 10px;font-size:12px!important;padding:6px 9px!important;min-height:32px!important}
.health-detail h3{margin-top:5px;overflow-wrap:anywhere}.health-detail-value{font-size:16px!important;font-weight:600}.health-formula{padding:12px;background:var(--ws-soft,#eaf3ec);border-radius:6px;overflow-wrap:anywhere}
.health-evidence-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.health-evidence-inputs button{text-align:left;display:grid;gap:4px;min-width:0;overflow-wrap:anywhere}.health-evidence-inputs span{color:var(--muted);font-weight:400;font-size:12px}
.health-detail details{padding:9px 0}.health-detail a{overflow-wrap:anywhere}.health-graph-layout{gap:16px;align-items:start}
.health-trace-table{overflow:auto;max-width:100%}.health-trace-table table{width:100%}
.health-graph-layout>#health-list{border:1px solid var(--border);border-radius:10px;overflow:hidden;background:var(--ws-surface,#fff);min-width:0}
.health-map-bar,.health-map-tools,.health-map-foot{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:12px 16px}
.health-map-bar strong{font-size:12px;font-weight:550;overflow-wrap:anywhere}.health-map-bar .actions,.health-map-tools .actions{margin:0;display:flex;gap:6px}
.health-map-bar button,.health-map-tools button{font-size:12px!important;min-height:34px!important;padding:7px 10px!important}
.health-map-tools{border-top:1px solid var(--border);justify-content:flex-start;padding-top:10px;padding-bottom:10px}
.health-map-tools label{display:flex;align-items:center;gap:8px;margin:0;font-size:12px!important}.health-map-tools select{min-height:34px!important;font-size:12px!important;padding:5px 20px 5px 8px;max-width:190px}
.health-map-tools output{min-width:42px;font-size:12px;text-align:center;align-self:center}.health-map-tools .actions{margin-left:auto}
.health-map-legend{margin:0;padding:0 16px 10px;font-size:11px;color:var(--muted);line-height:1.65}
.health-map-viewport{height:clamp(500px,67dvh,800px);overflow:auto;position:relative;background:#f7faf7;cursor:grab;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#8aab98 #f7faf7}
.health-map-viewport.dragging{cursor:grabbing;user-select:none}.health-map-spacer{position:relative;min-height:100%;min-width:100%}.health-map-world{position:absolute;top:0;left:0;transform-origin:0 0}
.health-map-viewport{contain:strict}
.data-workspace button.health-map-node{content-visibility:auto;contain-intrinsic-size:174px 86px}
.health-map-tier{position:absolute;font-size:13px;font-weight:600;white-space:nowrap;line-height:1.4;color:var(--ws-ink,#213c35);pointer-events:none}
.health-map-tier small{display:inline-block;margin-left:8px;font-size:10px;font-weight:400;color:var(--muted)}
.health-map-edges{position:absolute;top:0;left:0;pointer-events:none;overflow:visible}.health-map-edge{fill:none;stroke:#91a79b;stroke-width:1.2;opacity:.7}.health-map-edge.pending{stroke-dasharray:4 4}.health-map-edge.related{stroke:#17675a;stroke-width:2.4;opacity:1}.health-map-edge.dim{opacity:.16}
.data-workspace button.health-map-node{position:absolute;display:flex;flex-direction:column;align-items:stretch;text-align:left;justify-content:space-between;gap:3px;padding:9px 11px;border:1px solid color-mix(in srgb,var(--node-ink) 45%,white);border-radius:7px;background:var(--node-bg);color:var(--node-ink);font-size:12px;line-height:1.35;min-height:0;margin:0;transition:none;overflow:visible}
.data-workspace button.health-map-node:hover,.data-workspace button.health-map-node:active{background:var(--node-bg);border-color:var(--node-ink);color:var(--node-ink)}
.health-map-name{display:flex;gap:6px;align-items:flex-start}.health-map-name strong{font-size:12px;font-weight:600;overflow-wrap:anywhere;max-height:34px;overflow:hidden}.health-map-name .workspace-icon{width:15px;height:15px;flex-shrink:0}
.health-map-value{font-variant-numeric:tabular-nums;font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.health-map-node small{font-size:10px;color:inherit}
.data-workspace button.health-map-node.selected{outline:3px solid var(--node-ink);outline-offset:2px}.data-workspace button.health-map-node.related{border-color:var(--node-ink)}.health-map-node.dim{opacity:.45}.health-map-node.dim:focus-visible,.health-map-node.dim:hover{opacity:1}
.data-workspace button.health-map-node:focus-visible{outline:3px solid var(--node-ink);outline-offset:4px}
.health-map-foot{border-top:1px solid var(--border);font-size:11px;color:var(--muted);padding:10px 16px}.health-map-empty{position:absolute;top:90px;left:24px;font-size:14px}
.health-expanded{position:fixed;inset:12px;z-index:300;background:var(--ws-bg,#f4f6f3);margin:0;padding:12px;overflow:auto;border:1px solid var(--border);border-radius:12px}
.health-expanded .health-map-viewport{height:calc(100dvh - 240px);min-height:250px}.health-expanded .health-detail{max-height:calc(100dvh - 55px);top:0}
.health-map-page .twin-heading{margin-bottom:16px}.data-workspace .health-map-page .twin-selector{padding:14px 18px;margin-bottom:10px}.health-map-page .twin-person{margin-bottom:16px}.health-map-page .twin-user-paging{grid-column:auto}
@media(max-width:1150px){.health-layout.has-detail{grid-template-columns:minmax(0,1fr)}.health-graph-layout .health-detail{position:static;max-height:600px}.health-expanded .health-detail{max-height:none}.health-map-viewport{height:570px}}
@media(max-width:600px){.health-map-bar,.health-map-tools,.health-map-foot{padding:10px}.health-map-tools label{flex-basis:100%}.health-map-legend{padding:0 10px 10px}.health-map-viewport{height:470px}.health-expanded{inset:0;border-radius:0;padding:5px}.health-map-tools .actions{margin-left:0}.health-summary .health-heading{gap:10px}.health-map-page .twin-updated{display:none}.health-map-foot{gap:4px}.health-view-tabs button{flex:1 1 40%}.health-graph-layout .health-detail{max-height:none}.health-map-bar>.actions{flex-wrap:wrap}.health-controls{max-width:100%}}
.data-workspace .health-map-page .twin-heading{margin-bottom:12px}.data-workspace .health-map-page .twin-selector{grid-template-columns:195px minmax(200px,1fr) 150px}
.health-user-tools summary{padding:10px 0;color:var(--ws-accent);font-size:13px;cursor:pointer}.health-user-tools[open]{grid-column:1/-1}.health-user-tools form{margin:12px 0}.health-user-tools .twin-user-paging{margin-top:10px}
.data-workspace .health-map-page .twin-person{padding-bottom:0;margin-bottom:12px;min-height:32px}.health-map-page .twin-initial,.health-map-page .twin-person h2,.health-map-page .twin-updated{display:none}
.health-map-page .twin-person>div:nth-child(2){display:flex;align-items:center;flex-wrap:wrap;gap:12px}.data-workspace .health-map-page .twin-person p{margin:0}
.health-map-page .health-summary .health-heading h2{display:none}.health-map-page .health-summary .health-heading .help{max-width:65ch;margin:0}.health-map-page .health-view-tabs{margin-top:12px}.health-map-page .health-summary{margin-bottom:12px}
@media(max-width:900px){.data-workspace .health-map-page .twin-selector{grid-template-columns:165px minmax(0,1fr)}.health-user-tools{grid-column:1/-1}.health-user-tools summary{padding:2px 0}}
@media(max-width:600px){.data-workspace .health-map-page .twin-selector{grid-template-columns:minmax(0,1fr)}.health-map-page .twin-person>div:nth-child(2){gap:4px}.health-map-page .twin-environment{display:none}.health-user-tools summary{padding:4px 0}}

.health-profile-fields{margin:14px 0;border:1px solid var(--ws-line);border-radius:8px;overflow:hidden;font-size:13px}
.health-profile-fields>div{display:grid;grid-template-columns:minmax(100px,40%) minmax(0,1fr);gap:14px;padding:10px 12px;border-bottom:1px solid var(--ws-line)}
.health-profile-fields>div:last-child{border-bottom:0}
.health-profile-fields dt{color:var(--ws-muted);font-weight:500}
.health-profile-fields dd{margin:0;overflow-wrap:anywhere;color:var(--ws-ink)}

.health-source-nav{margin:16px 0;padding:14px 0;border-block:1px solid var(--border)}
.health-source-nav>strong{display:block;font-size:13px;margin-bottom:10px}
.health-source-nav>div{display:flex;flex-wrap:wrap;gap:8px}
.health-source-nav button{font-size:13px!important;min-height:38px!important}
.health-source-nav .help{margin:10px 0 0!important}
.health-source-records{display:grid;gap:0;margin:12px 0;max-height:300px;overflow:auto;scrollbar-width:thin}
.health-source-records button{display:grid;gap:5px;text-align:left;border:0;border-bottom:1px solid var(--border);border-radius:0;min-width:0;padding:12px!important}
.health-source-records span{font-size:12px;font-weight:400;color:var(--ws-muted);overflow-wrap:anywhere}
.health-source-fields details{padding:0}.health-source-fields>div{grid-template-columns:minmax(90px,35%) minmax(0,1fr)}
.health-source-fields pre{font-size:12px}.health-wave{margin:18px 0 24px}
.health-wave figcaption{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;font-size:12px}
.health-wave figcaption span{color:var(--ws-muted)}.health-wave svg{display:block;width:100%;height:auto;margin-top:8px}
.health-wave-axis{stroke:var(--border);fill:none}.health-source-records button:focus-visible{outline:2px solid var(--ws-accent);outline-offset:-2px}
.health-source-nav button:focus-visible{outline:2px solid var(--ws-accent);outline-offset:2px}
#health-source-selected{scroll-margin-top:12px}.health-detail .health-trace-table td{white-space:nowrap;font-variant-numeric:tabular-nums}
