/* ── setup.css — Accounts · Strategies (scorecard) · Alerts (owner B) ──
   Cut verbatim from styles.css (UI 7.0 step 0). Loaded after styles.css and
   before the signals-*.css / boards.css sheets (see the <link> order in index.html). */

/* ── Alerts ────────────────────────────────────────────────────────── */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 9px; flex-wrap: wrap; margin-bottom: 10px; }
.rdot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--border-2); }
.rdot.on { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
.tbl td.rd { width: 28px; padding-right: 0; text-align: center; }
.tbl tr.unread { cursor: pointer; }
.tbl tr.unread td { font-weight: 500; }
.tbl tr.read td { color: var(--muted); }
.tbl tr.read .rdot { opacity: .5; }
.tbl td.reason { max-width: 440px; line-height: 1.45; font-size: 12px; }

/* ── Scorecard ─────────────────────────────────────────────────────── */
.sc-verdict { border-radius: var(--r); padding: 12px 14px; border: 1px solid var(--border); display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: var(--gap); }
.sc-verdict .h { font-size: 14px; font-weight: 650; letter-spacing: -0.014em; }
.sc-verdict small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.sc-verdict.pass { background: var(--pos-bg); border-color: var(--pos-bd); } .sc-verdict.pass .h { color: var(--pos); }
.sc-verdict.fail { background: var(--neg-bg); border-color: var(--neg-bd); } .sc-verdict.fail .h { color: var(--neg); }
.sc-group { margin-bottom: var(--gap); }
.sc-group h4 { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); margin-bottom: 7px; }
.sc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(162px, 1fr)); gap: 8px; }
.sc-tile { position: relative; border: 1px solid var(--border); border-radius: var(--r); padding: 10px 12px; }
.sc-tile::after { content: ""; position: absolute; top: 12px; right: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--border-2); }
.sc-tile .l { font-size: 11px; color: var(--muted); padding-right: 14px; }
.sc-tile .v { font-size: 17px; font-weight: 620; letter-spacing: -0.024em; margin: 5px 0 2px; font-variant-numeric: tabular-nums; }
.sc-tile .tg { font-size: 10.5px; color: var(--faint); }
.sc-tile.pass::after { background: var(--pos); }
.sc-tile.fail { border-color: var(--neg-bd); background: var(--neg-bg); } .sc-tile.fail::after { background: var(--neg); } .sc-tile.fail .v { color: var(--neg); }
.sc-tile.stale::after { background: var(--warn); }
.sc-hard { font-size: 9.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--neg); margin-left: 4px; }
.sc-readiness { font-size: 11.5px; font-weight: 600; font-variant-numeric: tabular-nums; padding: 2px 7px; border-radius: var(--r-xs); background: var(--surface-3); color: var(--muted); }
.sc-readiness.ok { background: var(--pos-bg); color: var(--pos); } .sc-readiness.warn { background: var(--warn-bg); color: var(--warn); } .sc-readiness.bad { background: var(--neg-bg); color: var(--neg); }
.sc-crit { display: grid; grid-template-columns: repeat(auto-fill, minmax(182px, 1fr)); gap: 10px; }
.sc-crit label { font-size: 11.5px; }
.sc-crit .def { font-size: 10.5px; color: var(--faint); font-weight: 400; }

/* Scorecard: the standard account table (#84) -- the columns the verdict reads */
.tbl td.sc-verdict-col { background: var(--accent-bg); font-weight: 600; }
