
#curve-widget{margin:0 0 18px;padding:0;border:1px solid var(--line-strong);border-top:4px solid var(--navy);background:var(--white);box-shadow:0 12px 32px rgba(23,54,76,.08);color:var(--ink)}
#curve-widget>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 18px;list-style:none;color:var(--navy);font-weight:800;cursor:pointer}
#curve-widget>summary::-webkit-details-marker{display:none}
#curve-widget>summary::after{content:"+";color:var(--orange-dark);font:700 20px/1 "IBM Plex Mono",monospace}
#curve-widget[open]>summary::after{content:"−"}
#curve-widget>summary:hover,#curve-widget>summary:focus-visible{background:#eef1ed;outline:2px solid var(--orange);outline-offset:-2px}
#curve-widget .curve-body{padding:0 18px 18px}
#curve-widget h2{margin:0 0 3px;font-size:22px;line-height:1.15;letter-spacing:-.02em}
#curve-widget .sub{margin:0 0 8px;color:var(--muted);font-size:11px;line-height:1.42}
#curve-widget .curve-status{margin:0 0 12px;padding:8px 10px;border-left:3px solid #b63a2f;background:#feece8;color:#70231b;font-size:10px;line-height:1.45}
#curve-widget .curve-status strong{color:#70231b}
#curve-widget .curve-status.validated{border-left-color:var(--green);background:var(--green-soft);color:var(--green)}
#curve-widget .curve-status.validated strong{color:var(--green)}
#curve-widget .lbl{margin:0 9px 7px 0;color:var(--muted);font-family:"IBM Plex Mono",monospace;font-size:9px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;align-self:center}
#curve-widget>.lbl{margin-bottom:7px;color:var(--navy)}
#curve-widget .tabs{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:8px}
#curve-widget .tab{min-height:36px;padding:7px 12px;border:1px solid var(--line-strong);border-radius:5px;background:#f8faf8;color:#465662;font-family:"IBM Plex Mono",monospace;font-size:10px;font-weight:600;cursor:pointer}
#curve-widget .tab:hover,#curve-widget .tab:focus-visible{border-color:var(--orange);outline:0}
#curve-widget .tab.active{border-color:var(--navy);background:var(--navy);color:var(--white)}
#curve-widget .tab.is-disabled,#curve-widget .tab:disabled{opacity:.45;cursor:not-allowed;background:#eef1f2;color:#687781;border-color:var(--line);pointer-events:none}
#curve-widget #modelTabs{display:grid;grid-template-columns:minmax(0,1fr);gap:5px}
#curve-widget #modelTabs .tab{font-family:"Archivo",sans-serif;font-size:12px;text-align:center}
#curve-widget #modelDesc{min-height:18px;margin-top:-3px;color:#465662}
#curve-widget .row{display:flex;align-items:center;flex-wrap:wrap;margin-bottom:3px}
#curve-widget .seg{display:inline-flex;margin:0 10px 8px 0;border:1px solid var(--line-strong);border-radius:5px;overflow:hidden;background:#f8faf8}
#curve-widget .seg button{min-height:34px;padding:6px 10px;border:0;border-right:1px solid var(--line);background:transparent;color:#465662;font-size:11px;cursor:pointer}
#curve-widget #curveScoring button{min-width:66px}
#curve-widget .seg button:last-child{border-right:0}
#curve-widget .seg button.active{background:var(--navy);color:var(--white);font-weight:700}
#curve-widget .seg button:disabled{background:#eef1f2;color:#87939b;cursor:not-allowed}
#curve-widget .src-toggle{display:inline-flex;align-items:center;gap:5px;margin:0 12px 8px 0;color:#465662;font-size:11px;cursor:pointer}
#curve-widget .src-toggle input{accent-color:var(--orange);cursor:pointer}
#curve-widget .src-toggle.is-disabled{opacity:.5;cursor:not-allowed}
#curve-widget .src-toggle.is-disabled input{cursor:not-allowed}
#curve-widget .src-group{display:flex;flex-wrap:wrap;margin:0 0 10px;padding:7px 8px 4px;border:1px solid var(--line);border-radius:6px;background:#fbfcfa}
#curve-widget .src-group>legend{padding:0 6px;color:var(--muted);font-family:"IBM Plex Mono",monospace;font-size:9px;font-weight:600;letter-spacing:.05em;text-transform:uppercase}
#curve-widget .source-toggles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 10px;width:100%}
#curve-widget .source-toggle-group{min-width:0;padding:7px 8px 3px;border:1px solid var(--line);border-radius:5px;background:rgba(255,255,255,.48)}
#curve-widget .source-toggle-heading{display:block;margin:0 0 6px;color:var(--muted);font:600 9px/1.2 "IBM Plex Mono",monospace;text-transform:uppercase;letter-spacing:.05em}
#curve-widget .source-toggles .src-toggle{min-height:32px;margin:0 13px 3px 0;padding:4px 2px;font-weight:700}
#curve-widget .source-line{display:inline-block;width:20px;border-top-width:3px;border-top-color:currentColor}
#curve-widget .src-text{display:inline-flex;flex-direction:column;line-height:1.35}
#curve-widget .src-meta{font-size:9px;color:var(--muted);white-space:nowrap}
#curve-widget .dot{display:inline-block;width:9px;height:9px;border-radius:50%}
#curve-widget #chart{display:block;width:100%;height:430px;touch-action:none}
#curve-widget .legend{display:flex;gap:14px;flex-wrap:wrap;margin-top:7px;color:var(--muted);font-size:11px}
#curve-widget .sw{display:inline-block;width:18px;height:3px;margin-right:4px;vertical-align:middle}
#curve-widget .note{margin-top:8px;color:var(--muted);font-size:10px;line-height:1.5}
#curve-widget #tip{position:fixed;z-index:100;display:none;width:max-content;max-width:min(250px,calc(100vw - 24px));padding:8px 10px;border-radius:7px;background:rgba(18,32,44,.96);color:#fff;font-size:11px;line-height:1.5;pointer-events:none;box-shadow:0 8px 24px rgba(18,32,44,.24)}
#curve-widget #tip b{font-size:12px}
#curve-widget #tip>strong{display:block;font-size:12px}
#curve-widget .tip-espn-zero{display:inline-block;margin:3px 0 0;padding:1px 6px;border:1px solid #f1a7a0;border-radius:3px;color:#ffd9d4;font-size:10px;font-weight:700;white-space:nowrap}
#curve-widget .tip-meta{display:block;margin:2px 0 6px;color:#cbd6dd;font-size:9px}
#curve-widget .tip-grid{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 12px;min-width:190px}
#curve-widget .tip-grid b{text-align:right}
#curve-widget .tip-source{display:flex;align-items:center;gap:6px;min-width:0}
#curve-widget .tip-source i{display:inline-block;width:8px;height:8px;border-radius:50%;flex:0 0 auto}
#curve-widget .whatif-badge{display:none;margin-left:7px;padding:3px 7px;border:1px solid #efb08f;border-radius:4px;background:var(--orange-soft);color:var(--orange-dark);font-family:"IBM Plex Mono",monospace;font-size:8px;font-weight:600;letter-spacing:.03em;vertical-align:3px}
#curve-widget .whatif-badge.on{display:inline-block}
#curve-widget .zslider{position:relative;flex:1 1 220px;min-width:180px;max-width:520px;height:28px;margin:0 10px 8px 0}
#curve-widget .zslider .track{position:absolute;top:12px;left:8px;right:8px;height:4px;border-radius:2px;background:var(--line);pointer-events:none}
#curve-widget .zslider .fill{position:absolute;top:12px;height:4px;border-radius:2px;background:var(--orange);pointer-events:none}
#curve-widget .zslider input[type=range]{position:absolute;width:100%;height:28px;margin:0;padding:0;-webkit-appearance:none;appearance:none;background:transparent;pointer-events:none}
#curve-widget .zslider input[type=range]::-webkit-slider-thumb{width:17px;height:17px;margin-top:5px;border:2px solid var(--orange);border-radius:50%;background:var(--white);-webkit-appearance:none;appearance:none;pointer-events:auto;cursor:ew-resize}
#curve-widget .zslider input[type=range]::-moz-range-thumb{width:13px;height:13px;border:2px solid var(--orange);border-radius:50%;background:var(--white);pointer-events:auto;cursor:ew-resize}
#curve-widget .zlabel{margin:0 12px 8px 0;color:var(--muted);font-family:"IBM Plex Mono",monospace;font-size:10px;white-space:nowrap}
#curve-widget .y-axis-tools{padding-top:2px}
#curve-widget .yslider .fill{background:var(--navy)}
#curve-widget .axis-reset{min-height:34px;margin:0 10px 8px 0;padding:6px 10px;border:1px solid var(--line-strong);border-radius:5px;background:#fff;color:var(--navy);font-size:11px;font-weight:700;cursor:pointer}
#curve-widget .axis-reset:disabled{opacity:.45;cursor:not-allowed}
#curve-widget .find-row{align-items:center;margin-top:1px}
#curve-widget .player-find{display:inline-flex;align-items:center;gap:8px;min-width:min(100%,310px);margin:0 8px 8px 0}
#curve-widget .player-find .lbl{margin:0;white-space:nowrap}
#curve-widget .player-find input{width:100%;min-height:36px;padding:7px 9px;border:1px solid var(--line-strong);border-radius:5px;background:#fff;color:var(--ink);font-size:12px}
#curve-widget .find-status{margin:0 0 8px;color:var(--muted);font-size:10px}
#curve-widget .touch-hint{display:none;margin:2px 0 6px;color:#465662;font-size:10px;line-height:1.35}
#curve-widget .src-toggle.is-stale{padding-right:5px;background:#fff7e6}
#curve-widget .src-toggle.is-stale .src-meta{color:#9a6419}
#curve-widget .explainer{margin-top:12px;padding:0;border-top:1px solid var(--line);color:#465662;font-size:11px}
#curve-widget .explainer summary{padding:12px 0 3px;color:var(--navy);font-weight:700;cursor:pointer}
#curve-widget .explainer p{margin:8px 0;line-height:1.55}
#curve-widget .explainer b{color:var(--ink)}
#curve-widget .league-row{gap:6px 9px;margin:4px 0 8px;padding:9px 10px;border:1px solid var(--line);background:#fbfcfa}
#curve-widget .lock-row{align-items:flex-end;gap:10px;margin:4px 0 10px;padding:10px 11px;border-top:3px solid var(--navy);background:#eef2f3}
#curve-widget .lock-control{display:grid;grid-template-columns:auto minmax(210px,330px);align-items:center;gap:8px;min-width:0}
#curve-widget .lock-control .lbl{margin:0;color:var(--navy)}
#curve-widget .lock-control select{width:100%;min-height:44px;padding:8px 32px 8px 10px;border:1px solid var(--line-strong);border-radius:5px;background:var(--white);color:var(--ink);font-size:12px;font-weight:700;cursor:pointer}
#curve-widget .lock-control select:focus-visible{outline:3px solid var(--orange);outline-offset:2px}
#curve-widget .lock-note{flex:1 1 280px;margin-bottom:2px;color:var(--muted);font-size:10px;line-height:1.45}
#curve-widget .curve-tools{gap:10px;margin-top:4px}
#curve-widget .tail-toggle{min-height:34px;margin-right:4px;padding:0 9px;border:1px solid var(--line-strong);border-radius:5px;background:#f8faf8;font-family:"IBM Plex Mono",monospace;font-weight:600}
#curve-widget .tail-toggle input{margin:0}
#curve-widget .roster-shape-panel{margin:2px 0 10px;border:1px solid var(--line);background:#fbfcfa}
#curve-widget .roster-shape-panel>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;color:var(--navy);font-weight:800;cursor:pointer;list-style:none}
#curve-widget .roster-shape-panel>summary::-webkit-details-marker{display:none}
#curve-widget .roster-shape-panel>summary::after{content:"+";color:var(--orange-dark);font:700 16px/1 "IBM Plex Mono",monospace}
#curve-widget .roster-shape-panel[open]>summary::after{content:"−"}
#curve-widget .roster-shape-body{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px 12px;padding:10px 12px;border-top:1px solid var(--line)}
#curve-widget .roster-shape-grid{display:grid;grid-template-columns:repeat(9,minmax(54px,1fr));gap:7px}
#curve-widget .roster-step{display:grid;gap:3px;min-width:0;color:var(--muted);font:700 9px/1.2 "IBM Plex Mono",monospace;text-transform:uppercase}
#curve-widget .roster-step input{width:100%;min-height:34px;border:1px solid var(--line-strong);border-radius:5px;background:var(--white);color:var(--ink);padding:5px 6px;font:700 12px/1 "Archivo",sans-serif}
#curve-widget .absence-step input{border-color:#b9c8d0;background:#f2f6f8}
#curve-widget .specialist-toggle{align-self:end;display:flex;align-items:center;gap:6px;min-height:34px;margin:0}
#curve-widget .specialist-toggle:has(input:disabled){opacity:.5}
#curve-widget .roster-shape-note{grid-column:1/-1;margin:0;color:var(--muted);font-size:10px;line-height:1.4}
#curve-widget .weights-panel{margin:2px 0 10px;border:1px solid var(--line);background:#fbfcfa}
#curve-widget .weights-panel>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;color:var(--navy);font-weight:800;cursor:pointer;list-style:none}
#curve-widget .weights-panel>summary::-webkit-details-marker{display:none}
#curve-widget .weights-panel>summary::after{content:"+";color:var(--orange-dark);font:700 16px/1 "IBM Plex Mono",monospace}
#curve-widget .weights-panel[open]>summary::after{content:"−"}
#curve-widget .weights-body{display:grid;gap:10px;padding:10px 12px;border-top:1px solid var(--line)}
#curve-widget .weights-note{margin:0;color:var(--muted);font-size:11px;line-height:1.5}
#curve-widget .weights-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
@media(max-width:700px){#curve-widget .weights-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
#curve-widget .weight-step{display:grid;gap:4px;min-width:0}
#curve-widget .weight-step label{display:flex;justify-content:space-between;align-items:baseline;color:var(--navy);font:700 11px/1.2 "Archivo",sans-serif}
#curve-widget .weight-step .weight-val{color:var(--orange-dark);font:700 12px/1 "IBM Plex Mono",monospace}
#curve-widget .weight-step input[type=range]{width:100%;accent-color:var(--orange-dark)}
#curve-widget .weights-actions{display:flex;gap:8px}
#curve-widget .weights-reset{border:1px solid var(--line-strong);border-radius:5px;background:var(--white);color:var(--navy);font:700 11px/1 "Archivo",sans-serif;padding:8px 12px;cursor:pointer}
#curve-widget .weights-reset:hover{border-color:var(--orange-dark)}
#curve-widget .weights-readout{margin:0;color:var(--muted);font-size:10px;line-height:1.45}
#curve-widget #weightsBenchSlot .bench-share-block{margin:0}
#curve-widget .adjustment-panel{margin:0 0 10px;border:1px solid var(--line);background:#fbfcfa}
#curve-widget .adjustment-panel>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 11px;color:var(--navy);font-size:11px;font-weight:800;cursor:pointer;list-style:none}
#curve-widget .adjustment-panel>summary::-webkit-details-marker{display:none}
#curve-widget .adjustment-panel>summary::after{content:"+";color:var(--orange-dark);font:700 16px/1 "IBM Plex Mono",monospace}
#curve-widget .adjustment-panel[open]>summary::after{content:"−"}
#curve-widget .adjustment-body{display:grid;gap:9px;padding:10px 11px;border-top:1px solid var(--line)}
#curve-widget .adjustment-note{margin:0;color:var(--muted);font-size:10px;line-height:1.45}
#curve-widget .adjustment-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#curve-widget .adjustment-card{min-width:0;padding:8px;border:1px solid var(--line);border-radius:5px;background:var(--white)}
#curve-widget .adjustment-card h3{margin:0 0 6px;color:var(--navy);font-size:12px;line-height:1.25;letter-spacing:0}
#curve-widget .adjustment-empty{margin:0;color:var(--muted);font-size:10px;line-height:1.45}
#curve-widget .adjustment-table-wrap{overflow:auto;border:1px solid var(--line);background:var(--white)}
#curve-widget .adjustment-table-wrap table{width:100%;min-width:420px;border-collapse:collapse}
#curve-widget .allocation-table-wrap table{min-width:100%}
#curve-widget .adjustment-table-wrap th,#curve-widget .adjustment-table-wrap td{padding:6px 7px;border-bottom:1px solid var(--line);font-size:10px;text-align:right;white-space:nowrap}
#curve-widget .adjustment-table-wrap th{background:#eef1ed;color:var(--muted);font-family:"IBM Plex Mono",monospace;font-size:8px;text-transform:uppercase;letter-spacing:.04em}
#curve-widget .adjustment-table-wrap th:first-child,#curve-widget .adjustment-table-wrap td:first-child{text-align:left}
#curve-widget .adjustment-table-wrap tbody tr:last-child td{border-bottom:0}
#curve-widget .adjustment-table-wrap .is-flex-hit{color:var(--orange-dark);font-weight:800}
#curve-widget #footnote{min-height:16px}
#curve-widget .visible-players-panel{margin-top:11px;border-top:1px solid var(--line);font-size:11px}
#curve-widget .visible-players-panel>summary{padding:10px 0 6px;color:var(--navy);font-weight:700;cursor:pointer}
#curve-widget .visible-note,.visible-empty{margin:0 0 8px;color:var(--muted);line-height:1.45}
#curve-widget .visible-table-wrap{max-height:320px;overflow:auto;border:1px solid var(--line)}
#curve-widget .visible-table-wrap table{width:100%;min-width:520px;border-collapse:collapse;background:var(--white)}
#curve-widget .visible-table-wrap th,#curve-widget .visible-table-wrap td{padding:7px 8px;border-bottom:1px solid var(--line);font-size:10px;text-align:right}
#curve-widget .visible-table-wrap th{position:sticky;top:0;z-index:3;background:#eef1ed;color:var(--muted);font-family:"IBM Plex Mono",monospace;text-transform:uppercase;letter-spacing:.04em}
#curve-widget .visible-table-wrap th:first-child,#curve-widget .visible-table-wrap td:first-child{position:sticky;left:0;z-index:2;width:48px;min-width:48px;background:var(--white);font-family:"IBM Plex Mono",monospace;color:var(--muted);box-shadow:1px 0 0 var(--line)}
#curve-widget .visible-table-wrap th:first-child{z-index:5;background:#eef1ed}
#curve-widget .visible-table-wrap th:nth-child(2),#curve-widget .visible-table-wrap td:nth-child(2){position:sticky;left:48px;z-index:2;min-width:178px;text-align:left;background:var(--white);box-shadow:1px 0 0 var(--line)}
#curve-widget .visible-table-wrap th:nth-child(2){z-index:5;background:#eef1ed}
#curve-widget .visible-table-wrap td span{display:block;margin-top:2px;color:var(--muted);font-size:9px}
@media(max-width:700px){#curve-widget{margin-left:-4px;margin-right:-4px}#curve-widget>summary{padding:12px 14px}#curve-widget .curve-body{padding:0 14px 14px}#curve-widget h2{font-size:20px}#curve-widget #modelTabs{grid-template-columns:1fr}#curve-widget #modelTabs .tab{text-align:left}#curve-widget #chart{height:360px}#curve-widget .seg{max-width:100%;flex-wrap:wrap}#curve-widget #tauSeg button{flex:1 1 110px;border-bottom:1px solid var(--line)}#curve-widget .league-row{align-items:flex-start;display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px 8px}#curve-widget .zslider{flex-basis:100%;max-width:none;order:2}#curve-widget .zlabel{order:3;width:100%}#curve-widget .src-group{flex:1 1 100%;margin-right:0}#curve-widget .source-toggles{grid-template-columns:1fr}#curve-widget .adjustment-card-grid{grid-template-columns:1fr}#curve-widget .lock-row{align-items:stretch}#curve-widget .lock-control{grid-template-columns:1fr;width:100%}#curve-widget .lock-note{flex-basis:100%}#curve-widget .roster-shape-body{grid-template-columns:1fr}#curve-widget .roster-shape-grid{grid-template-columns:repeat(3,minmax(0,1fr))}#curve-widget .touch-hint{display:block}#curve-widget .player-find{flex:1 1 100%}#curve-widget .axis-reset{min-height:40px}}
@media(prefers-reduced-motion:reduce){#curve-widget *{scroll-behavior:auto!important}}
/* Interaction and mobile legibility */
#curve-widget .tab,#curve-widget .seg button{min-height:44px}
@media(max-width:700px){
  #curve-widget #modelTabs{grid-template-columns:1fr}
  #curve-widget #modelTabs .tab{padding:7px 10px;text-align:left;font-size:11px;line-height:1.25}
}
#curve-widget .bench-share-block{grid-column:1/-1;display:grid;gap:7px;padding:10px 12px;border:1px solid var(--line);border-radius:6px;background:var(--white)}
#curve-widget .bench-share-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
#curve-widget .bench-share-title{color:var(--muted);font:700 9px/1.2 "IBM Plex Mono",monospace;text-transform:uppercase;letter-spacing:.05em}
#curve-widget .bench-share-value{color:var(--navy);font:700 13px/1 "Archivo",sans-serif}
#curve-widget .bench-share-reset{margin-left:auto;min-height:30px;padding:4px 10px;border:1px solid var(--line-strong);border-radius:5px;background:#f8faf8;color:var(--navy);font-size:10px;font-weight:700;cursor:pointer}
#curve-widget .bench-share-reset:hover,#curve-widget .bench-share-reset:focus-visible{border-color:var(--orange);outline:0}
#curve-widget .bench-share-reset:disabled{opacity:.45;cursor:not-allowed}
#curve-widget .bench-share-slider{flex:1 1 100%;min-width:0;max-width:none;margin:0}
#curve-widget .bench-share-slider .bench-share-tick{position:absolute;top:9px;width:2px;height:10px;background:var(--navy);pointer-events:none}
#curve-widget .bench-share-slider input[type=range]:disabled::-webkit-slider-thumb{border-color:#9aa7ae;cursor:not-allowed}
#curve-widget .bench-share-slider input[type=range]:disabled::-moz-range-thumb{border-color:#9aa7ae;cursor:not-allowed}
#curve-widget .bench-share-readout{margin:0;color:var(--muted);font-size:10px;line-height:1.5}
/* Chart health panel: active runtime invariant checks */
#curve-widget .health-panel{margin:0 0 12px;border:1px solid var(--line);border-radius:6px;background:var(--white)}
#curve-widget .health-panel>summary{padding:8px 12px;cursor:pointer;font-size:11px;font-weight:700;color:var(--navy);list-style:none;display:flex;align-items:center;gap:8px}
#curve-widget .health-panel>summary::-webkit-details-marker{display:none}
#curve-widget .health-badge{font:700 9px/1 "IBM Plex Mono",monospace;padding:3px 8px;border-radius:10px;letter-spacing:.04em}
#curve-widget .health-badge[data-status="ok"]{background:#e6f4ea;color:#137333}
#curve-widget .health-badge[data-status="warn"]{background:#fef7e0;color:#b06000}
#curve-widget .health-badge[data-status="fail"]{background:#fce8e6;color:#a50e0e}
#curve-widget .health-list{list-style:none;margin:0;padding:0 12px 8px;display:grid;gap:6px}
#curve-widget .health-list li{display:grid;grid-template-columns:20px 1fr;gap:8px;padding:6px 8px;border-radius:4px;font-size:10px;line-height:1.4}
#curve-widget .health-pass{background:#f0f9f2;color:#137333}
#curve-widget .health-warn{background:#fef9e7;color:#7a4a00}
#curve-widget .health-fail{background:#fdecea;color:#a50e0e;border:1px solid #f5c6cb}
#curve-widget .health-icon{font-weight:700;font-size:12px}
#curve-widget .health-name{font-weight:700}
#curve-widget .health-detail{grid-column:2;color:inherit;opacity:.85;font-family:"IBM Plex Mono",monospace;font-size:9px}
#curve-widget .health-empty{color:var(--muted);font-style:italic}
#curve-widget .health-note{margin:0;padding:0 12px 10px;font-size:9px;color:var(--muted);line-height:1.4}
/* JEG-30: structured per-source guard diagnostics detail view */
#curve-widget .health-diagnostics{grid-column:2;margin:6px 0 2px;font-size:9px}
#curve-widget .health-diagnostics summary{cursor:pointer;font-weight:600;color:inherit;opacity:.9}
#curve-widget .health-diagnostics summary:hover{opacity:1;text-decoration:underline}
#curve-widget .health-diag-table{width:100%;border-collapse:collapse;margin:6px 0;font-family:"IBM Plex Mono",monospace;font-size:9px}
#curve-widget .health-diag-table th,#curve-widget .health-diag-table td{padding:3px 6px;text-align:right;border-bottom:1px solid rgba(0,0,0,.08)}
#curve-widget .health-diag-table th:first-child,#curve-widget .health-diag-table td:first-child,
#curve-widget .health-diag-table th:nth-child(2),#curve-widget .health-diag-table td:nth-child(2){text-align:left}
#curve-widget .health-diag-table thead th{font-weight:700;opacity:.7}
#curve-widget .health-diag-fail td{color:#a50e0e;font-weight:600}
#curve-widget .health-perpos td{opacity:.75;font-size:8px}
#curve-widget .health-diag-note{margin:4px 0 0;font-size:8px;opacity:.7;line-height:1.4}
