/* Hop Scaling tab (Tools). Uses index.html's dark theme tokens. */
#hs-root{display:grid;gap:14px}
.hs-bar{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end}
.hs-f{display:grid;gap:4px;font-size:11px;font-weight:700;color:var(--text3);letter-spacing:.06em;text-transform:uppercase}
.hs-f select,.hs-f input{background:var(--surface2);color:var(--text);border:1px solid var(--border2);border-radius:7px;padding:7px 9px;font-size:14px;font-family:inherit}
.hs-f input{width:110px;font-variant-numeric:tabular-nums}
.hs-f select:focus-visible,.hs-f input:focus-visible,#hs-root button:focus-visible{outline:2px solid var(--blue);outline-offset:1px}
.hs-turns{font-size:13px;color:var(--text2);padding-bottom:8px}
.hs-banner{background:var(--amber-bg);border:1px solid var(--amber-border);color:var(--amber-soft);border-radius:8px;padding:8px 12px;font-size:13px;font-weight:600}
.hs-note{font-size:13px;color:var(--text2)}
.hs-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}
.hs-tile{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:12px 14px;display:grid;gap:5px;align-content:start}
.hs-k{font-size:11px;font-weight:700;color:var(--text3);letter-spacing:.06em;text-transform:uppercase}
.hs-v{font-size:28px;font-weight:700;color:var(--text);font-variant-numeric:tabular-nums}
.hs-s{font-size:12px;color:var(--text3)}
.hs-cmp-row{display:flex;justify-content:space-between;align-items:baseline;gap:10px;font-size:13px;padding:3px 8px;border-radius:6px;color:var(--text2)}
.hs-cmp-row .hs-num{font-size:19px;font-weight:700;font-variant-numeric:tabular-nums}
.hs-cmp-row.high{background:var(--red-bg);color:var(--red-soft)}
.hs-cmp-row.low{background:var(--amber-bg);color:var(--amber-soft)}
.hs-cmp-row.ok{background:var(--green-bg);color:var(--green-soft)}
.hs-cmp-row:last-of-type{border-top:1px dashed var(--border2);border-radius:0;color:var(--text3)}
.hs-head{display:flex;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;gap:10px;margin-top:6px}
.hs-seg{display:inline-flex;border:1px solid var(--border2);border-radius:8px;overflow:hidden}
.hs-seg button{background:var(--surface2);color:var(--text2);border:none;padding:7px 12px;font-size:12px;font-weight:600;cursor:pointer;font-family:inherit}
.hs-seg button.on{background:var(--blue);color:#fff}
.hs-wrap{overflow-x:auto;background:var(--surface);border:1px solid var(--border);border-radius:10px}
.hs-table{width:100%;border-collapse:collapse;font-size:14px}
.hs-table th,.hs-table td{padding:9px 12px;border-bottom:1px solid var(--border);text-align:left;vertical-align:top;color:var(--text)}
.hs-table th{font-size:11px;font-weight:700;color:var(--text3);letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}
.hs-table .r{text-align:right;font-variant-numeric:tabular-nums}
.hs-group td{background:var(--surface2);font-size:11px;font-weight:700;color:var(--blue-soft);letter-spacing:.07em;text-transform:uppercase}
.hs-group td span{color:var(--text3);font-weight:400;text-transform:none;letter-spacing:0}
.hs-sev-high td:first-child{box-shadow:inset 3px 0 0 var(--red)}
.hs-sev-low td:first-child{box-shadow:inset 3px 0 0 var(--amber)}
.hs-sev-ok td:first-child{box-shadow:inset 3px 0 0 var(--green)}
.hs-chip{display:inline-block;min-width:32px;text-align:center;font-size:12px;font-weight:700;padding:1px 6px;border-radius:5px;background:var(--blue-bg);color:var(--blue-soft);margin-right:6px}
.hs-pill{display:inline-block;padding:2px 8px;border-radius:999px;font-size:12px;font-weight:700;white-space:nowrap}
.hs-pill.high{background:var(--red-bg);color:var(--red-soft)}
.hs-pill.low{background:var(--amber-bg);color:var(--amber-soft)}
.hs-pill.ok{background:var(--green-bg);color:var(--green-soft)}
.hs-pill.off{background:var(--surface3);color:var(--text3)}
.hs-sub{font-size:11.5px;color:var(--text3)}
.hs-muted{color:var(--text3)}
.hs-link{background:none;border:none;color:var(--blue-soft);text-decoration:underline;cursor:pointer;font-weight:600;font-size:13px;padding:2px 4px;font-family:inherit}
.hs-detail td{background:var(--bg2);font-size:13.5px;color:var(--text2);padding:10px 14px 12px 50px}
.hs-detail b{color:var(--text)}
.hs-sched th,.hs-sched td{text-align:center}
.hs-sched th:first-child,.hs-sched td:first-child{text-align:left}
.hs-dose{font-weight:700;font-variant-numeric:tabular-nums}
.hs-perbatch{font-size:13px;color:var(--text2)}
.hs-foot{font-size:11.5px;color:var(--text3);line-height:1.5}
.hs-empty{text-align:center;color:var(--text3);padding:40px}
.hs-alt{font-size:11.5px;color:var(--text3);font-weight:400;font-variant-numeric:tabular-nums}
