/* TPS predictions view. Solid colours only. Uses the hub's CSS variables when present. */
.tps{--tp-bg:var(--bg,#111);--tp-panel:var(--panel,#1a1a1a);--tp-line:var(--border,#383838);--tp-ink:var(--ink,#ececec);--tp-muted:var(--muted,#a7a7a7);
  --tp-hi:#f3f3f3;--tp-low:#b4b4b4;--tp-max:#8a8a8a;--tp-bad:#d99090;color:var(--tp-ink);font:13px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif;max-width:1000px}
.tps *{box-sizing:border-box}
.tps .tp-panel{background:var(--tp-panel);border:1px solid var(--tp-line);border-radius:10px;padding:16px 18px;margin:0 0 14px}
.tps .tp-h{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--tp-muted);margin:0 0 10px;font-weight:600}
.tps h4{font-size:12px;color:var(--tp-muted);margin:14px 0 6px;font-weight:600}
.tps .tp-note{color:var(--tp-muted);font-size:12px;margin:6px 0}
.tps .tp-warn{color:var(--tp-bad);font-size:12px;margin:8px 0}
.tps .tp-status{min-height:20px;margin:0 0 10px;color:var(--tp-muted)} .tps .tp-err{color:var(--tp-bad)}
.tps .tp-in,.tps select.tp-in{background:var(--tp-bg);color:var(--tp-ink);border:1px solid var(--tp-line);border-radius:7px;padding:8px 10px;font:inherit;min-height:36px}
.tps .tp-in:focus{outline:2px solid #bdbdbd;outline-offset:1px}
.tps .tp-model{width:100%}
.tps .tp-btn{background:var(--tp-bg);color:var(--tp-ink);border:1px solid var(--tp-line);border-radius:7px;padding:7px 12px;font:inherit;cursor:pointer;min-height:34px}
.tps .tp-btn:hover{border-color:#8a8a8a} .tps .tp-btn:disabled{opacity:.5;cursor:wait}
.tps .tp-go{background:#e8e8e8;color:#161616;border-color:#e8e8e8;font-weight:600}
.tps .tp-alt{background:transparent}
.tps .tp-seg{display:inline-flex;border:1px solid var(--tp-line);border-radius:9px;overflow:hidden;flex-wrap:wrap}
.tps .tp-seg-b{border:0;border-radius:0;background:transparent;padding:9px 16px}
.tps .tp-seg-b.on{background:#e8e8e8;color:#161616;font-weight:600}
.tps .tp-pick{position:relative}
.tps .tp-results{position:absolute;z-index:6;left:0;right:0;top:100%;margin-top:4px;background:#0c0c0c;border:1px solid #5a5a5a;border-radius:8px;max-height:340px;overflow:auto}
.tps .tp-res{display:flex;justify-content:space-between;gap:12px;width:100%;text-align:left;background:none;border:0;color:var(--tp-ink);padding:8px 12px;font:inherit;cursor:pointer;border-bottom:1px solid #262626}
.tps .tp-res:hover,.tps .tp-res:focus{background:#242424;outline:0}
.tps .tp-res small,.tps .tp-chip small{color:var(--tp-muted);font-size:11px;white-space:nowrap}
.tps .tp-more{padding:8px 12px;color:var(--tp-muted);font-size:12px}
.tps .tp-grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.tps .tp-col h4{margin-top:0}
.tps .tp-chip{display:flex;gap:10px;align-items:center;justify-content:space-between;background:var(--tp-bg);border:1px solid var(--tp-line);border-radius:8px;padding:8px 10px;margin-top:8px}
.tps .tp-chip>div{min-width:0} .tps .tp-chip b{display:block;font-weight:600} .tps .tp-chip small{display:block;white-space:normal}
.tps .tp-step{display:inline-flex;align-items:center;gap:6px} .tps .tp-step .tp-btn{padding:2px 9px;min-height:28px} .tps .tp-step b{min-width:18px;text-align:center}
.tps .tp-x{padding:2px 8px;min-height:26px;color:var(--tp-muted)}
.tps .tp-presets{color:var(--tp-muted);font-size:12px;margin:0 0 12px} .tps .tp-link{border:0;background:none;color:var(--tp-ink);text-decoration:underline;padding:0 6px;min-height:0}
.tps .tp-chips{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 10px}
.tps .tp-chipbtn{border-radius:99px;padding:3px 11px;min-height:28px;font-size:12px;color:var(--tp-muted)}
.tps .tp-chipbtn.on{background:#e8e8e8;color:#161616;border-color:#e8e8e8;font-weight:600}
.tps .tp-opts{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin-top:10px}
.tps .tp-lab{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--tp-muted)} .tps .tp-chk{flex-direction:row;align-items:center;gap:6px;min-height:36px}
.tps .tp-title{font-size:15px;margin-bottom:6px} .tps .tp-title span{color:var(--tp-muted)}
.tps .tp-conf{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap;color:var(--tp-muted);font-size:12px;margin-bottom:12px}
.tps .tp-badge{border:1px solid #8a8a8a;border-radius:99px;padding:1px 10px;color:var(--tp-ink);font-weight:600;font-size:11px;letter-spacing:.04em;text-transform:uppercase}
.tps .tp-b-measured{background:#e8e8e8;color:#161616;border-color:#e8e8e8} .tps .tp-b-prior{border-style:dashed}
.tps .tp-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.tps .tp-card{background:var(--tp-bg);border:1px solid var(--tp-line);border-radius:9px;padding:12px 14px} .tps .tp-card h4{margin:0 0 8px}
.tps .tp-trio{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.tps .tp-cell span{display:block;font-size:11px;color:var(--tp-muted);text-transform:uppercase;letter-spacing:.04em}
.tps .tp-cell b{font-size:26px;font-variant-numeric:tabular-nums;font-weight:600}
.tps .tp-low b{color:var(--tp-low)} .tps .tp-avg b{color:var(--tp-hi)} .tps .tp-max b{color:var(--tp-max)}
.tps .tp-table{width:100%;border-collapse:collapse} .tps .tp-table th{font-size:11px;color:var(--tp-muted);font-weight:600;text-align:left;padding:5px 6px 5px 0;border-bottom:1px solid var(--tp-line)}
.tps .tp-table td{padding:6px 6px 6px 0;border-bottom:1px solid #2a2a2a;vertical-align:top;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.tps .tp-table .r{text-align:right} .tps .tp-table tr:last-child td{border-bottom:0}
.tps .tp-click{cursor:pointer} .tps .tp-click:hover td{background:#202020}
.tps .tp-bar{display:flex;height:10px;border-radius:5px;overflow:hidden;background:var(--tp-bg);margin:10px 0;border:1px solid var(--tp-line)} .tps .tp-bar i{display:block;height:100%}
.tps .tp-slim{height:8px;margin:4px 0;min-width:90px}
.tps .tp-sw{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:8px;vertical-align:baseline}
.tps .tp-line{margin-bottom:6px} .tps .tp-notes{margin:0;padding-left:18px;color:var(--tp-muted)} .tps .tp-notes li{margin-bottom:4px}
@media (max-width:860px){.tps .tp-grid4{grid-template-columns:1fr 1fr}.tps .tp-cards{grid-template-columns:1fr}}
@media (max-width:520px){.tps .tp-grid4{grid-template-columns:1fr}.tps .tp-cell b{font-size:22px}.tps .tp-panel{padding:14px}}
.tps .tp-res.tp-sel{background:#2c2c2c}
.tps .tp-recent{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:8px}.tps .tp-recent:empty{display:none}
.tps .tp-maker{font-size:11px;font-weight:400;border:1px solid var(--tp-line);border-radius:99px;padding:0 7px;margin-left:8px;color:var(--tp-muted);white-space:nowrap}
.tps .tp-t1{color:var(--tp-ink);border-color:#8a8a8a} .tps .tp-t2{color:#c8c8c8}
.tps .tp-res b{font-weight:600}
.tps .tp-feat{margin-top:10px} .tps .tp-feat summary{cursor:pointer;color:var(--tp-muted);font-size:12px;margin-bottom:4px}
.tps .tp-fg{margin-top:8px} .tps .tp-fm{font-size:11px;font-weight:600;color:var(--tp-muted);text-transform:uppercase;letter-spacing:.05em}
.tps .tp-fmbtn{border:0;background:none;padding:0;min-height:0;font-size:11px;font-weight:600;color:var(--tp-muted);text-transform:uppercase;letter-spacing:.05em;cursor:pointer}
.tps .tp-fmbtn:hover{color:var(--tp-ink)}
.tps .tp-rlist{border:1px solid var(--tp-line);border-radius:8px;background:var(--tp-bg);max-height:260px;overflow:auto;margin:6px 0 4px}
.tps .tp-rlist .tp-res small{margin-left:0}
.tps .tp-rec h4{margin:16px 0 8px;color:var(--tp-ink)}
.tps .tp-rcards{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;margin-bottom:8px}
.tps .tp-rcard{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;text-align:left;background:var(--tp-bg);color:var(--tp-ink);border:1px solid var(--tp-line);border-radius:9px;padding:11px 13px;font:inherit;cursor:pointer}
.tps .tp-rcard:hover,.tps .tp-rcard:focus{border-color:#bdbdbd;outline:0}
.tps .tp-rt{font-size:11px;color:var(--tp-muted);text-transform:uppercase;letter-spacing:.05em;font-weight:600}
.tps .tp-rq{font-size:17px;font-weight:600;margin:2px 0}.tps .tp-rm,.tps .tp-rw{color:var(--tp-muted);font-size:12px}
.tps .tp-rs b{font-size:22px;font-variant-numeric:tabular-nums}.tps .tp-rs small{color:var(--tp-muted)}
.tps .tp-all{margin-top:6px}.tps .tp-all summary{cursor:pointer;color:var(--tp-muted);font-size:12px;margin-bottom:6px}
