:root{--bg:#f5f6f8;--card:#fff;--ink:#172033;--muted:#687187;--line:#e3e6eb;--navy:#14264b;--accent:#2c6bed;--good:#13795b}
*{box-sizing:border-box} body{margin:0;font:15px/1.45 system-ui,-apple-system,Segoe UI,sans-serif;background:var(--bg);color:var(--ink)}
a{color:var(--accent);text-decoration:none}.topbar{background:var(--navy);color:white;padding:18px max(20px,calc((100vw - 1180px)/2));display:flex;justify-content:space-between;gap:20px;align-items:center}
.brand{color:white;font-size:21px;font-weight:750}.eyebrow{font-size:11px;letter-spacing:.12em;font-weight:800;opacity:.7}.topbar nav{display:flex;gap:20px}.topbar nav a{color:#dfe7f8;font-weight:650}
.page{max-width:1180px;margin:0 auto;padding:30px 20px 50px}.hero,.section-title{display:flex;justify-content:space-between;align-items:flex-end;gap:25px;margin-bottom:24px}.hero h1,.section-title h1{font-size:34px;margin:4px 0 6px}.hero p{margin:0;color:var(--muted)}
.kpis{display:flex;gap:10px}.kpi{background:var(--card);border:1px solid var(--line);border-radius:10px;padding:12px 16px;min-width:95px}.kpi span{display:block;font-weight:800;font-size:20px}.kpi small{color:var(--muted)}
.grid-two{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}.card{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:20px;margin-bottom:18px;box-shadow:0 1px 2px rgba(20,30,50,.03)}
.card h2{font-size:18px;margin:0 0 16px}.card-head{display:flex;justify-content:space-between;align-items:center;gap:15px}.muted{color:var(--muted);font-size:13px}.pill{font-size:12px;border-radius:999px;padding:5px 9px;background:#eaf7f2;color:var(--good);font-weight:700}
table{width:100%;border-collapse:collapse}th{text-align:left;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.05em}th,td{padding:9px 8px;border-bottom:1px solid var(--line)}tbody tr:last-child td{border-bottom:0}
.pos{display:inline-block;min-width:35px;font-size:11px;font-weight:800;color:#3b4760}.attention-item{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.attention-item:last-child{border:0}.attention-item p{margin:3px 0 0;color:var(--muted)}
.dot{width:9px;height:9px;border-radius:50%;background:#8c96a8;margin-top:6px;flex:none}.dot.watch{background:#d98b16}.dot.info{background:#2c6bed}
.teams{padding-left:25px;margin:0}.teams li{padding:7px 8px;border-bottom:1px solid var(--line)}.teams .mine{font-weight:800;background:#f2f6ff}
.settings{display:grid;grid-template-columns:120px 1fr;gap:10px 14px}.settings dt{font-weight:700}.settings dd{margin:0;color:var(--muted)}
.filters{display:flex;flex-wrap:wrap;gap:5px}.filters a{padding:7px 10px;border:1px solid var(--line);border-radius:8px;background:white;font-weight:700;font-size:12px}.filters a.active{background:var(--navy);color:white;border-color:var(--navy)}
.notice{background:#fff7df;border:1px solid #f1d98b;border-radius:10px;padding:12px 14px;margin-bottom:14px;color:#654e13}.table-card{overflow-x:auto;padding:8px 14px}.waiver{min-width:820px}.waiver td small{display:block;color:var(--muted)}
.prose{max-width:800px}.prose p{color:#4e596f}footer{max-width:1180px;margin:0 auto;padding:0 20px 35px;color:var(--muted);font-size:12px}
@media(max-width:760px){.topbar{align-items:flex-start;flex-direction:column}.topbar nav{gap:13px;flex-wrap:wrap}.grid-two{grid-template-columns:1fr}.hero,.section-title{align-items:flex-start;flex-direction:column}.kpis{width:100%;overflow-x:auto}.kpi{flex:1}.page{padding-top:22px}.hero h1,.section-title h1{font-size:29px}}

.recommendation-card{border-left:4px solid #2c6bed}.recommend-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.recommend{border:1px solid var(--line);border-radius:10px;padding:14px;display:flex;flex-direction:column;gap:5px}
.recommend p{font-size:13px;color:var(--muted);margin:5px 0}.recommend-top{display:flex;justify-content:space-between;align-items:center}.score{font-size:21px;font-weight:800}
.filter-row{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-bottom:12px}
.action{display:inline-block;font-size:10px;font-weight:850;letter-spacing:.04em;border-radius:999px;padding:5px 8px;white-space:nowrap}
.action.claim{background:#dff5e8;color:#0d6a48}.action.watch{background:#fff0cc;color:#805b00}
.action.stream-option{background:#e8efff;color:#2856a8}.action.ignore{background:#eef0f4;color:#697287}
.positive{color:#0d7957;font-weight:750}.reason{min-width:260px;max-width:380px;color:#58647b;font-size:13px}
@media(max-width:900px){.recommend-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.recommend-grid{grid-template-columns:1fr}}

.mine-row{background:#f2f6ff}.power{min-width:850px}.power td,.power th{white-space:nowrap}
.roster td small{display:block;color:var(--muted);font-size:11px}

.source-strip{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}
.source-chip{background:#fff;border:1px solid var(--line);border-radius:9px;padding:8px 11px;display:flex;gap:9px;align-items:center;color:var(--ink);font-size:12px}
.source-chip span,.source-state{font-size:10px;text-transform:uppercase;letter-spacing:.04em;font-weight:800}
.source-chip.live,.source-state.live{border-color:#9ed8c1;color:#0d6a48}
.source-chip.error,.source-state.error{border-color:#e9aaa7;color:#9d2b26}
.source-chip.credentials-required,.source-state.credentials-required{border-color:#e8c978;color:#805b00}
.source-chip.snapshot,.source-state.snapshot{border-color:#a7bce8;color:#315baf}
.source-chip.historical-baseline,.source-state.historical-baseline{border-color:#c8cdd8;color:#687187}
.source-state{padding:5px 8px;border:1px solid;border-radius:999px}.source-card h3{font-size:13px;margin:18px 0 4px}
code{background:#f0f2f5;padding:2px 5px;border-radius:4px}

.flash-stack{margin-bottom:16px}.flash{padding:11px 14px;border-radius:9px;border:1px solid var(--line);background:#fff}
.flash.success{background:#eaf7f2;border-color:#9ed8c1;color:#0d6a48}.flash.error{background:#fff0ef;border-color:#e9aaa7;color:#9d2b26}
.refresh-form{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin:14px 0}.refresh-form label{font-weight:700;font-size:12px;display:flex;flex-direction:column;gap:5px}
.refresh-form input{min-width:280px;padding:9px 10px;border:1px solid var(--line);border-radius:7px}
.refresh-form button{padding:10px 13px;border:0;border-radius:7px;background:var(--navy);color:white;font-weight:750;cursor:pointer}

.env-grid{max-width:520px;border:1px solid var(--line);border-radius:8px;overflow:hidden;margin-top:12px}
.env-row{display:flex;justify-content:space-between;gap:20px;padding:10px 12px;background:#fff;border-bottom:1px solid var(--line)}
.env-row:last-child{border-bottom:0}.env-ok{color:#0d6a48}.env-missing{color:#9d2b26}
