/* ============================================================
   ETF Action — Trustee dashboard (the ten-minute view).
   Scoped under .bp-scope so it inherits the board portal tokens
   (--navy, --line, --good-bg, …) and leaks nothing into the shell.
   Shares .brd-btn, .brd-scrim, .bp-state and .bp-spin with
   board-room.css rather than redefining them.
============================================================ */

/* .v2-tool-pane is display:grid + overflow:hidden. This page is a long
   vertical read, so it opts into scrolling the way the vault does. */
#v2-board-portal-dashboard.v2-tool-pane.active{
  display:block !important;
  overflow-y:auto; overflow-x:hidden; height:100%;
  scrollbar-width:thin; scrollbar-color:#cfd7e3 transparent;
}
#v2-board-portal-dashboard.v2-tool-pane.active::-webkit-scrollbar{width:10px}
#v2-board-portal-dashboard.v2-tool-pane.active::-webkit-scrollbar-button{display:none;width:0;height:0}
#v2-board-portal-dashboard.v2-tool-pane.active::-webkit-scrollbar-thumb{
  background:#cfd7e3;border-radius:8px;border:2px solid transparent;background-clip:content-box}
#v2-board-portal-dashboard.v2-tool-pane.active::-webkit-scrollbar-thumb:hover{
  background:#b3bdcc;background-clip:content-box}

.bp-scope .brd-d{max-width:1180px;margin:0 auto;padding:28px 32px 96px}

/* ── Header ───────────────────────────────────────────────────────────── */

.bp-scope .brd-d-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:18px}
.bp-scope .brd-d-head h1{font-size:24px;font-weight:700;color:var(--navy);margin:0 0 4px}
.bp-scope .brd-d-cycle{font-size:13px;color:var(--muted);margin:0}
.bp-scope .brd-d-head-r{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.bp-scope .brd-d-picker{
  font:inherit;font-size:13px;color:var(--ink);background:var(--surface);
  border:1px solid var(--line);border-radius:8px;padding:7px 10px;min-width:180px}
.bp-scope .brd-d-pack{
  font-size:11px;font-weight:600;color:var(--muted);background:#f1f4f9;
  border-radius:999px;padding:2px 7px;margin-left:2px}

/* Notices: not dismissible on purpose — each one explains a panel below that
   would otherwise read as "all clear". */
.bp-scope .brd-d-notices{
  list-style:none;margin:0 0 24px;padding:12px 16px;
  background:var(--warn-bg);border:1px solid #f0e2c4;border-radius:var(--r)}
.bp-scope .brd-d-notices li{
  font-size:13px;line-height:1.55;color:#7a5a12;display:flex;gap:9px;align-items:flex-start}
.bp-scope .brd-d-notices li + li{margin-top:7px}
.bp-scope .brd-d-notices i{margin-top:3px;flex:0 0 auto}

/* ── Sections ─────────────────────────────────────────────────────────── */

.bp-scope .brd-d-sec{margin-bottom:40px}
.bp-scope .brd-d-h2{
  font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  color:var(--faint);margin:0 0 14px;padding-bottom:8px;border-bottom:1px solid var(--line)}
.bp-scope .brd-d-h3{font-size:14px;font-weight:700;color:var(--navy);margin:26px 0 6px}
.bp-scope .brd-d-sub{font-size:13px;color:var(--muted);margin:0 0 14px;line-height:1.55;max-width:76ch}
.bp-scope .brd-d-empty{
  font-size:13px;color:var(--muted);line-height:1.6;margin:0;max-width:76ch;
  background:#f8fafc;border:1px dashed var(--line);border-radius:var(--r);padding:16px 18px}
.bp-scope .brd-d-hint{font-size:12px;color:var(--faint);margin:10px 0 0}

/* ── RAG dots ─────────────────────────────────────────────────────────── */

.bp-scope .brd-rag{
  display:inline-block;width:11px;height:11px;border-radius:50%;vertical-align:middle}
.bp-scope .brd-rag.green{background:#1f9d55}
.bp-scope .brd-rag.amber{background:#d99a12}
.bp-scope .brd-rag.red{background:#cf2e2e}
/* No data is hollow, not grey-filled: a filled dot of any colour reads as a
   verdict, and "nobody has looked at this" is not one. */
.bp-scope .brd-rag.no_data{background:transparent;border:1.5px dashed #c3ccd8;width:10px;height:10px}

/* ── 1. Status ────────────────────────────────────────────────────────── */

.bp-scope .brd-d-status-top{
  display:flex;align-items:stretch;gap:16px;flex-wrap:wrap;margin-bottom:18px}
.bp-scope .brd-d-overall{
  display:flex;flex-direction:column;justify-content:center;gap:2px;
  min-width:190px;padding:14px 20px;border-radius:var(--r);
  border:1px solid var(--line);background:var(--surface)}
.bp-scope .brd-d-overall.red{background:var(--poor-bg);border-color:#f0cccc}
.bp-scope .brd-d-overall.amber{background:var(--warn-bg);border-color:#f0e2c4}
.bp-scope .brd-d-overall.green{background:var(--good-bg);border-color:#c9e6d3}
.bp-scope .brd-d-overall-word{font-size:22px;font-weight:700;color:var(--navy);line-height:1.1}
.bp-scope .brd-d-overall-sub{font-size:12px;color:var(--muted)}

.bp-scope .brd-d-tallies{display:flex;gap:12px;flex-wrap:wrap;flex:1}
.bp-scope .brd-d-tally{
  display:flex;flex-direction:column;justify-content:center;gap:2px;
  min-width:120px;padding:14px 16px;border-radius:var(--r);
  border:1px solid var(--line);background:var(--surface)}
.bp-scope .brd-d-tally b{font-size:20px;font-weight:700;color:var(--navy);line-height:1.1}
.bp-scope .brd-d-tally span{font-size:11px;color:var(--muted);line-height:1.35}
.bp-scope .brd-d-tally.high b{color:#a82424}
.bp-scope .brd-d-tally.med b{color:#9a6309}
.bp-scope .brd-d-tally.none b{color:var(--faint)}

.bp-scope .brd-d-gridwrap{
  border:1px solid var(--line);border-radius:var(--r);background:var(--surface);
  overflow-x:auto;box-shadow:var(--shadow)}
.bp-scope .brd-d-grid{width:100%;border-collapse:collapse;font-size:13px}
.bp-scope .brd-d-grid thead th{
  font-size:10px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;
  color:var(--faint);text-align:center;padding:11px 8px;
  border-bottom:1px solid var(--line);white-space:nowrap;background:#fbfcfe}
.bp-scope .brd-d-grid thead th.brd-d-fund{text-align:left;padding-left:16px}
.bp-scope .brd-d-grid tbody tr + tr{border-top:1px solid #eef2f7}
.bp-scope .brd-d-grid tbody tr:hover{background:#fafcff}
.bp-scope .brd-d-grid tr.brd-d-unevaluated{background:#fcfcfd}
.bp-scope .brd-d-grid tr.brd-d-unevaluated:hover{background:#f7f9fc}

.bp-scope .brd-d-grid th.brd-d-fund{text-align:left;padding:9px 8px 9px 16px;font-weight:600}
.bp-scope .brd-d-fundbtn{
  border:0;background:transparent;padding:0;cursor:pointer;text-align:left;
  display:flex;flex-direction:column;gap:1px;font:inherit}
.bp-scope .brd-d-tick{font-size:13px;font-weight:700;color:var(--blue)}
.bp-scope .brd-d-fundbtn:hover .brd-d-tick{text-decoration:underline}
.bp-scope .brd-d-name{
  font-size:11px;color:var(--muted);font-weight:400;
  max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.bp-scope .brd-d-grid td{text-align:center;padding:9px 8px}
.bp-scope .brd-d-ovr{white-space:nowrap}
.bp-scope .brd-d-nodata{font-size:10px;color:var(--faint);margin-left:6px}
.bp-scope .brd-d-cellbtn{
  border:0;background:transparent;padding:6px 8px;cursor:pointer;border-radius:6px;line-height:1}
.bp-scope .brd-d-cellbtn:hover{background:var(--blue-soft)}
.bp-scope .brd-d-cnt{white-space:nowrap;padding-right:14px}
.bp-scope .brd-d-sev{
  display:inline-block;min-width:19px;font-size:11px;font-weight:700;
  border-radius:5px;padding:2px 5px;margin-left:3px}
.bp-scope .brd-d-sev.high{background:var(--poor-bg);color:#a82424}
.bp-scope .brd-d-sev.med{background:var(--warn-bg);color:#9a6309}
.bp-scope .brd-d-sev.low{background:#eef2f7;color:#5a6a80}
.bp-scope .brd-d-clean{font-size:11px;color:#157a40}

/* ── 2. What changed ──────────────────────────────────────────────────── */

.bp-scope .brd-d-feed{list-style:none;margin:0;padding:0}
.bp-scope .brd-d-ev{
  display:flex;gap:12px;padding:13px 16px;background:var(--surface);
  border:1px solid var(--line);border-radius:var(--r);border-left-width:3px}
.bp-scope .brd-d-ev + .brd-d-ev{margin-top:8px}
.bp-scope .brd-d-ev.sev-high{border-left-color:#cf2e2e}
.bp-scope .brd-d-ev.sev-med{border-left-color:#d99a12}
.bp-scope .brd-d-ev.sev-low{border-left-color:#8aa0bd}
.bp-scope .brd-d-ev.sev-info{border-left-color:#dfe5ee}
.bp-scope .brd-d-ev.immaterial{background:#fbfcfd}
.bp-scope .brd-d-evdir{
  flex:0 0 auto;font-size:15px;font-weight:700;width:16px;text-align:center;color:var(--faint)}
.bp-scope .brd-d-evdir.up{color:#cf2e2e}
.bp-scope .brd-d-evdir.down{color:#1f9d55}
.bp-scope .brd-d-evdir.added{color:#1e63b0}
.bp-scope .brd-d-evdir.removed{color:#cf2e2e}
.bp-scope .brd-d-evbody{flex:1;min-width:0}
.bp-scope .brd-d-evtop{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.bp-scope .brd-d-evlabel{font-size:13px;font-weight:700;color:var(--navy)}
.bp-scope .brd-d-delta{
  font-size:12px;font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums}
.bp-scope .brd-d-imm{
  font-size:10px;font-weight:600;color:var(--faint);
  background:#f1f4f9;border-radius:999px;padding:1px 7px}
.bp-scope .brd-d-evdet{font-size:12px;color:var(--muted);line-height:1.55;margin:4px 0 0;max-width:88ch}

.bp-scope .brd-d-groups{margin-top:18px}
.bp-scope .brd-d-group{border-top:1px solid var(--line)}
.bp-scope .brd-d-grouphead{
  width:100%;display:flex;align-items:center;gap:10px;
  border:0;background:transparent;cursor:pointer;padding:11px 4px;font:inherit;text-align:left}
.bp-scope .brd-d-grouphead:hover{background:#fafcff}
.bp-scope .brd-d-grouphead i{color:var(--faint);font-size:11px}
.bp-scope .brd-d-grouplabel{flex:1;font-size:13px;font-weight:600;color:var(--navy)}
.bp-scope .brd-d-groupn{
  font-size:11px;font-weight:600;color:var(--muted);
  background:#f1f4f9;border-radius:999px;padding:2px 9px}
.bp-scope .brd-d-groupn.material{background:var(--warn-bg);color:#9a6309}
.bp-scope .brd-d-feed.inner{padding:0 4px 14px}

/* ── 3. Priority questions ────────────────────────────────────────────── */

.bp-scope .brd-d-qs{list-style:none;margin:0;padding:0;counter-reset:none}
.bp-scope .brd-d-q{
  display:flex;gap:14px;padding:16px 18px;background:var(--surface);
  border:1px solid var(--line);border-radius:var(--r);border-left-width:3px}
.bp-scope .brd-d-q + .brd-d-q{margin-top:10px}
.bp-scope .brd-d-q.sev-high{border-left-color:#cf2e2e}
.bp-scope .brd-d-q.sev-med{border-left-color:#d99a12}
.bp-scope .brd-d-q.sev-low{border-left-color:#8aa0bd}
.bp-scope .brd-d-qrank{
  flex:0 0 26px;height:26px;border-radius:50%;background:var(--navy);color:#fff;
  font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center}
.bp-scope .brd-d-qbody{flex:1;min-width:0}
.bp-scope .brd-d-qmeta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:7px}
.bp-scope .brd-d-qtick{font-size:12px;font-weight:700;color:var(--blue)}
.bp-scope .brd-d-qmod{font-size:11px;color:var(--muted)}
.bp-scope .brd-d-qsev{
  font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;
  border-radius:999px;padding:2px 8px}
.bp-scope .brd-d-qsev.high{background:var(--poor-bg);color:#a82424}
.bp-scope .brd-d-qsev.med{background:var(--warn-bg);color:#9a6309}
.bp-scope .brd-d-qsev.low{background:#eef2f7;color:#5a6a80}
.bp-scope .brd-d-qsev.info{background:#eef2f7;color:#8a99ad}
/* Suggested vs tracked is a substantive distinction, not a style flourish:
   only a tracked question has actually been put to the adviser. */
.bp-scope .brd-d-qsugg{
  font-size:10px;font-weight:600;color:var(--faint);
  border:1px dashed #cfd7e3;border-radius:999px;padding:1px 8px}
.bp-scope .brd-d-qtrack{
  font-size:10px;font-weight:700;color:#1e63b0;background:#e6f0fb;
  border-radius:999px;padding:2px 8px}
.bp-scope .brd-d-qtext{font-size:14px;line-height:1.6;color:var(--ink);margin:0;max-width:84ch}
.bp-scope .brd-d-qbasis{
  font-size:12px;line-height:1.55;color:var(--muted);margin:8px 0 0;max-width:88ch}
.bp-scope .brd-d-qbasis b{color:var(--ink);font-weight:600}
/* Who owes the answer, and by when. Present only on a tracked question,
   because a suggestion has nobody attached to it by definition. */
.bp-scope .brd-d-qown{
  display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:9px;
  font-size:11.5px;color:var(--muted)}
.bp-scope .brd-d-qstat{
  font-size:10px;font-weight:700;letter-spacing:.02em;border-radius:999px;padding:2px 8px;
  background:#eef2f7;color:#5a6a80}
.bp-scope .brd-d-qstat.st-sent{background:#e6f0fb;color:#1e63b0}
.bp-scope .brd-d-qstat.st-answered{background:#eaf3ea;color:#3d6b45}
.bp-scope .brd-d-qstat.st-open{background:#fdeeee;color:#a0342f}
.bp-scope .brd-d-qstat.st-resolved{background:#eef7ee;color:#4a7a52}
.bp-scope .brd-d-qdue{font-weight:600;color:#8a6a2f}
.bp-scope .brd-d-q.is-tracked .brd-d-qrank{background:#e6f0fb;color:#1e63b0}

.bp-scope .brd-d-qact{display:flex;gap:8px;margin-top:11px;flex-wrap:wrap}
.bp-scope .brd-d-qcopy,.bp-scope .brd-d-qfund,
.bp-scope .brd-d-qtrackbtn,.bp-scope .brd-d-qopen{
  font:inherit;font-size:11px;font-weight:600;color:var(--muted);background:transparent;
  border:1px solid var(--line);border-radius:6px;padding:5px 10px;cursor:pointer}
.bp-scope .brd-d-qcopy:hover,.bp-scope .brd-d-qfund:hover,
.bp-scope .brd-d-qtrackbtn:hover,.bp-scope .brd-d-qopen:hover{
  border-color:#c9d3e0;background:#f8fafc;color:var(--ink)}
/* The one action on this panel that creates a record, so it reads as primary. */
.bp-scope .brd-d-qtrackbtn{color:#1e63b0;border-color:#bcd4ee;background:#f4f9ff}
.bp-scope .brd-d-qtrackbtn:hover{border-color:#93b9e2;background:#e9f2fc;color:#164e8c}
.bp-scope .brd-d-qtrackbtn[disabled]{opacity:.6;cursor:default}

/* ── 4. Peer intelligence ─────────────────────────────────────────────── */

.bp-scope .brd-d-lenscard{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--r);
  padding:18px 20px;margin-bottom:14px;box-shadow:var(--shadow)}
.bp-scope .brd-d-lenstop{
  display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.bp-scope .brd-d-lenstop h4{font-size:15px;font-weight:700;color:var(--navy);margin:0}
.bp-scope .brd-d-gap{
  font-size:11px;font-weight:700;color:#5a6a80;background:#eef2f7;
  border-radius:999px;padding:3px 11px;white-space:nowrap}
/* Flagged only when the adviser's own group is the flattering one. The
   reverse case is real and is not a criticism, so it is not coloured as one. */
.bp-scope .brd-d-gap.adviser{background:var(--poor-bg);color:#a82424}
.bp-scope .brd-d-lenssum{
  font-size:13px;line-height:1.6;color:var(--ink);margin:9px 0 16px;max-width:92ch}

.bp-scope .brd-d-lenses{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(215px,1fr));gap:12px}
.bp-scope .brd-d-lens{
  border:1px solid var(--line);border-radius:10px;padding:13px 15px;background:#fbfcfe}
.bp-scope .brd-d-lens.ours{border-color:#c9d9ee;background:#f7fbff}
.bp-scope .brd-d-lens.absent{border-style:dashed;background:transparent}
.bp-scope .brd-d-lenshead{
  font-size:10px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;
  color:var(--faint);margin-bottom:9px}
.bp-scope .brd-d-lenspct{margin-bottom:7px}
.bp-scope .brd-d-lensname{
  font-size:12px;font-weight:600;color:var(--ink);line-height:1.4;margin-bottom:9px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.bp-scope .brd-d-lensnone{font-size:12px;color:var(--faint);padding:8px 0}
.bp-scope .brd-d-lensfacts{
  display:grid;grid-template-columns:auto 1fr;gap:2px 10px;margin:0;font-size:11px}
.bp-scope .brd-d-lensfacts dt{color:var(--faint)}
.bp-scope .brd-d-lensfacts dd{
  margin:0;color:var(--ink);font-weight:600;font-variant-numeric:tabular-nums;text-align:right}
.bp-scope .brd-d-lenssrc{
  font-size:10px;color:var(--faint);margin-top:9px;padding-top:8px;border-top:1px solid #eef2f7}
/* Caveats are part of the figure, not a footnote to it: the percentile above
   looks exactly as authoritative as the independent one beside it. */
.bp-scope .brd-d-caveats{
  list-style:none;margin:8px 0 0;padding:0;font-size:10px;color:#7a5a12;line-height:1.45}
.bp-scope .brd-d-caveats li{position:relative;padding-left:11px;margin-top:4px}
.bp-scope .brd-d-caveats li::before{
  content:'!';position:absolute;left:0;font-weight:700;color:#d99a12}

.bp-scope .brd-d-unc{list-style:none;margin:0;padding:0}
.bp-scope .brd-d-unc li{
  display:flex;align-items:center;gap:9px;padding:9px 2px;font-size:13px;color:var(--ink)}
.bp-scope .brd-d-unc li + li{border-top:1px solid #eef2f7}
.bp-scope .brd-d-uncn{font-size:11px;color:var(--faint)}

/* ── 5. The record ────────────────────────────────────────────────────── */

.bp-scope .brd-d-tiles{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}
.bp-scope .brd-d-tile{
  display:flex;flex-direction:column;gap:3px;padding:16px 18px;text-align:left;
  background:var(--surface);border:1px solid var(--line);border-radius:var(--r)}
.bp-scope .brd-d-tile i{font-size:15px;color:var(--faint);margin-bottom:4px}
.bp-scope .brd-d-tile b{font-size:22px;font-weight:700;color:var(--navy);line-height:1.1}
.bp-scope .brd-d-tile span{font-size:11px;color:var(--muted);line-height:1.4}
.bp-scope button.brd-d-tile.act{font:inherit;cursor:pointer;transition:.12s}
.bp-scope button.brd-d-tile.act:hover{border-color:#c9d3e0;background:#f8fafc}
.bp-scope .brd-d-coverage{
  font-size:12px;color:var(--muted);line-height:1.6;margin:14px 0 0;max-width:88ch}
.bp-scope .brd-d-coverage b{color:var(--navy)}

.bp-scope .brd-d-cycles{list-style:none;margin:0;padding:0}
.bp-scope .brd-d-cycles li{
  display:flex;align-items:center;gap:14px;padding:11px 14px;font-size:13px;
  border:1px solid var(--line);border-radius:var(--r);background:var(--surface)}
.bp-scope .brd-d-cycles li + li{margin-top:7px}
.bp-scope .brd-d-cycles li.current{border-color:#c9d9ee;background:#f7fbff}
.bp-scope .brd-d-cylabel{flex:1;font-weight:600;color:var(--navy)}
.bp-scope .brd-d-cydate{font-size:12px;color:var(--muted);white-space:nowrap}
.bp-scope .brd-d-cystat{
  font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;
  border-radius:999px;padding:2px 8px;background:#eef2f7;color:#5a6a80}
.bp-scope .brd-d-cystat.published{background:var(--good-bg);color:#157a40}
.bp-scope .brd-d-cystat.live,.bp-scope .brd-d-cystat.draft{background:var(--warn-bg);color:#9a6309}
.bp-scope .brd-d-cyn{font-size:11px;color:var(--faint);white-space:nowrap}

/* ── Drawer ───────────────────────────────────────────────────────────── */

.bp-scope .brd-d-drawer{
  position:fixed;top:0;right:0;bottom:0;width:min(640px,94vw);z-index:1401;
  background:var(--surface);box-shadow:-8px 0 32px rgba(20,40,70,.16);
  padding:24px 30px 60px;overflow-y:auto;
  animation:brd-slide .18s cubic-bezier(.2,.7,.3,1)}
.bp-scope .brd-d-drawer > header{
  display:flex;align-items:flex-start;justify-content:space-between;gap:16px;
  padding-bottom:14px;margin-bottom:18px;border-bottom:1px solid var(--line)}
.bp-scope .brd-d-drawer h2{font-size:17px;font-weight:700;color:var(--navy);margin:0}
.bp-scope .brd-d-close{
  border:0;background:transparent;font-size:24px;line-height:1;color:var(--faint);
  cursor:pointer;padding:0 4px}
.bp-scope .brd-d-close:hover{color:var(--ink)}

.bp-scope .brd-d-exs{list-style:none;margin:0;padding:0}
.bp-scope .brd-d-ex{
  padding:14px 16px;border:1px solid var(--line);border-radius:var(--r);
  border-left-width:3px;background:var(--surface)}
.bp-scope .brd-d-ex + .brd-d-ex{margin-top:9px}
.bp-scope .brd-d-ex.sev-high{border-left-color:#cf2e2e}
.bp-scope .brd-d-ex.sev-med{border-left-color:#d99a12}
.bp-scope .brd-d-ex.sev-low{border-left-color:#8aa0bd}
/* A waived finding stays visible and dimmed. Hiding it would lose the record
   that the board considered it, which is the part worth keeping. */
.bp-scope .brd-d-ex.waived{background:#fbfcfd;opacity:.82}
.bp-scope .brd-d-extop{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.bp-scope .brd-d-exlabel{font-size:13px;font-weight:700;color:var(--navy)}
.bp-scope .brd-d-exdet{font-size:12px;line-height:1.6;color:var(--muted);margin:6px 0 0}
.bp-scope .brd-d-exwaive{
  font-size:12px;line-height:1.55;color:#7a5a12;margin:8px 0 0;
  background:var(--warn-bg);border-radius:8px;padding:8px 11px}
.bp-scope .brd-d-exfoot{
  display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;
  margin-top:10px;padding-top:9px;border-top:1px solid #eef2f7;font-size:10px;color:var(--faint)}
.bp-scope .brd-d-exrule{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.bp-scope .brd-d-excite{color:#1e63b0}
.bp-scope .brd-d-exnocite{color:#a82424}

.bp-scope .brd-d-rulemod{margin-bottom:22px}
.bp-scope .brd-d-rulemod h3{font-size:13px;font-weight:700;color:var(--navy);margin:0 0 9px}
.bp-scope .brd-d-rulemod ul{list-style:none;margin:0;padding:0}
.bp-scope .brd-d-rulemod li{
  padding:11px 14px;border:1px solid var(--line);border-radius:10px;background:#fbfcfe}
.bp-scope .brd-d-rulemod li + li{margin-top:7px}
.bp-scope .brd-d-rulemod li.off{opacity:.6;border-style:dashed}
.bp-scope .brd-d-ruletop{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap}
.bp-scope .brd-d-rulelabel{font-size:12px;font-weight:700;color:var(--navy)}
.bp-scope .brd-d-ruleoff{
  font-size:10px;font-weight:600;color:var(--faint);border:1px dashed #cfd7e3;
  border-radius:999px;padding:1px 7px}
.bp-scope .brd-d-ruledesc{font-size:11px;line-height:1.55;color:var(--muted);margin:5px 0 0}
.bp-scope .brd-d-rulethr{font-size:11px;color:#7a5a12;margin:5px 0 0}
.bp-scope .brd-d-rulecode{
  display:inline-block;margin-top:7px;font-size:9px;color:var(--faint);
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace}

/* ── Narrow screens ───────────────────────────────────────────────────── */

@media (max-width:900px){
  .bp-scope .brd-d{padding:20px 18px 80px}
  .bp-scope .brd-d-head{flex-direction:column;gap:14px}
  .bp-scope .brd-d-name{max-width:150px}
}
