/* Horizon: tool-specific layout. Colours come from the shared tokens; --tc/--tt are set by .tool-horizon. */
.tool-horizon [hidden]{display:none !important}
.hz-thr{fill:none;stroke:var(--bad);stroke-width:1.2;stroke-dasharray:3 3}
.kv-zone.hz-bad{fill:var(--bad);opacity:.11}
.kv-zone.hz-watch{fill:var(--warn);opacity:.13}
.kv-zone.hz-ok{fill:var(--ok);opacity:.1}
.when-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:1.1rem;align-items:center}
.when-side{display:grid;gap:.6rem;justify-items:center;min-width:0}
.when-side .hint{max-width:20rem;margin-top:1.1rem !important}
.range-row output{white-space:nowrap}
.kstat strong small{text-transform:none}
.hz-agree{margin:.8rem 0 0;font-size:.9rem;line-height:1.5;color:var(--ink-2)}
#model-table table{font-size:.9rem}
#model-table th,#model-table td{padding:.55rem .7rem;white-space:nowrap}
#model-table thead th{white-space:normal}
#model-table tbody th{font-weight:640;white-space:normal}
@media (max-width:620px){#model-table table{font-size:.72rem}#model-table th,#model-table td{padding:.4rem .25rem;white-space:normal}}
@media (max-width:900px){.when-grid{grid-template-columns:minmax(0,1fr)}}
