/* Hallmark · pre-emit critique: P5 H5 E5 S5 R5 V4 */
/* BSS Auswahl & Detail Next 1.6.6 */
#bss-review-next {
  --rn-red: #d90b35;
  --rn-red-dark: #ae082a;
  --rn-red-soft: #fff0f3;
  --rn-ink: #191b1f;
  --rn-ink-2: #3d4148;
  --rn-muted: #6d727a;
  --rn-faint: #9ca1a9;
  --rn-line: #e4e6e9;
  --rn-line-strong: #cfd2d7;
  --rn-paper: #fff;
  --rn-paper-2: #f7f8f9;
  --rn-paper-3: #eef0f2;
  --rn-success: #1f7a42;
  --rn-success-soft: #e9f7ec;
  --rn-warning: #b77706;
  --rn-warning-soft: #fff4d5;
  --rn-info: #1f5fa7;
  --rn-info-soft: #eaf2fc;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0 0 48px;
  container: bss-review / inline-size;
  color: var(--rn-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

#bss-review-next *,
#bss-review-next *::before,
#bss-review-next *::after { box-sizing: border-box; }
#bss-review-next button,
#bss-review-next input,
#bss-review-next select,
#bss-review-next textarea { font: inherit; letter-spacing: 0; }
#bss-review-next button { border: 0; }
#bss-review-next a { color: inherit; }
#bss-review-next svg { display: block; width: 18px; height: 18px; stroke-width: 1.8; }
#bss-review-next [hidden] { display: none !important; }
#bss-review-next .screen-reader-text { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(1px, 1px, 1px, 1px) !important; white-space: nowrap !important; }

.bssrn-loading,
.bssrn-login {
  min-height: 280px;
  padding: 64px 24px;
  border: 1px solid var(--rn-line);
  background: var(--rn-paper);
  color: var(--rn-muted);
  text-align: center;
}
.bssrn-login strong { color: var(--rn-red); font-size: 24px; }

.bssrn-shell {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--rn-line);
  border-radius: 8px;
  background: var(--rn-paper);
  box-shadow: 0 22px 60px -48px rgba(17, 19, 23, .45);
}

.bssrn-page-head {
  display: flex;
  min-height: 110px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 30px;
  border-bottom: 1px solid var(--rn-line);
}
.bssrn-page-head h1 { margin: 0; color: var(--rn-ink); font-size: 34px; line-height: 1.08; }
.bssrn-page-head p { margin: 7px 0 0; color: var(--rn-muted); font-size: 14px; }
.bssrn-updated { color: var(--rn-faint); font-size: 12px; white-space: nowrap; }
.bssrn-detail-shell > .bssrn-page-head { border-top: 4px solid var(--rn-red); padding-top: 20px; }

.bssrn-selection-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  padding: 22px 30px;
  border-bottom: 1px solid var(--rn-line);
}
.bssrn-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(82px, 1fr));
  max-width: 560px;
}
.bssrn-metric { padding: 4px 24px; border-right: 1px solid var(--rn-line); }
.bssrn-metric:first-child { padding-left: 0; }
.bssrn-metric:last-child { border-right: 0; }
.bssrn-metric strong { display: block; font-size: 28px; line-height: 1; font-variant-numeric: tabular-nums; }
.bssrn-metric span { display: block; margin-top: 7px; color: var(--rn-muted); font-size: 12px; font-weight: 700; }
.bssrn-metric[data-status="offen"] strong { color: var(--rn-red); }
.bssrn-metric[data-status="zusage"] strong { color: var(--rn-success); }
.bssrn-metric[data-status="warteliste"] strong { color: var(--rn-warning); }
.bssrn-metric[data-status="absage"] strong { color: var(--rn-ink-2); }

.bssrn-target { display: grid; min-width: 320px; grid-template-columns: auto auto; align-items: center; gap: 8px 18px; }
.bssrn-target span { color: var(--rn-muted); font-size: 12px; font-weight: 700; }
.bssrn-target strong { font-size: 26px; font-variant-numeric: tabular-nums; }
.bssrn-track { grid-column: 1 / -1; overflow: hidden; height: 7px; border-radius: 4px; background: var(--rn-paper-3); }
.bssrn-track i { display: block; height: 100%; background: var(--rn-red); transition: width .2s ease; }

.bssrn-view-nav {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 4px;
  padding: 8px 30px;
  border-bottom: 1px solid var(--rn-line);
  background: var(--rn-paper);
}
.bssrn-view-nav button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 5px;
  background: transparent;
  color: var(--rn-muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}
.bssrn-view-nav button[aria-selected="true"] { background: var(--rn-red-soft); color: var(--rn-red-dark); }

.bssrn-toolbar {
  display: grid;
  grid-template-columns: minmax(250px, 1.65fr) minmax(110px, .7fr) minmax(145px, .9fr) minmax(170px, 1.05fr) minmax(160px, 1fr) minmax(95px, .6fr) minmax(135px, .8fr) auto;
  gap: 10px;
  padding: 18px 30px;
  border-bottom: 1px solid var(--rn-line);
  background: var(--rn-paper-2);
}
.bssrn-search { position: relative; min-width: 0; }
.bssrn-search svg { position: absolute; top: 50%; left: 13px; color: var(--rn-muted); transform: translateY(-50%); pointer-events: none; }
.bssrn-search input,
.bssrn-toolbar select,
.bssrn-protocol-filters select,
.bssrn-protocol-filters input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--rn-line-strong);
  border-radius: 5px;
  outline: 0;
  background: var(--rn-paper);
  color: var(--rn-ink-2);
  font-size: 13px;
}
.bssrn-search input { padding: 0 14px 0 42px; }
.bssrn-toolbar select,
.bssrn-protocol-filters select { padding: 0 34px 0 12px; }
.bssrn-search input:focus,
.bssrn-toolbar select:focus,
.bssrn-protocol-filters select:focus,
.bssrn-protocol-filters input:focus,
.bssrn-comment-form textarea:focus { border-color: var(--rn-red); box-shadow: 0 0 0 3px rgba(217, 11, 53, .09); }

.bssrn-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid var(--rn-line-strong) !important;
  border-radius: 5px;
  background: var(--rn-paper);
  color: var(--rn-ink-2);
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}
.bssrn-button:hover { border-color: var(--rn-ink-2) !important; }
.bssrn-button--primary { border-color: var(--rn-red) !important; background: var(--rn-red); color: #fff; }
.bssrn-button--primary:hover { border-color: var(--rn-red-dark) !important; background: var(--rn-red-dark); }
.bssrn-button:disabled { cursor: not-allowed; opacity: .45; }

/* Selection */
.bssrn-selection-workspace { display: grid; min-height: 680px; grid-template-columns: 330px minmax(0, 1fr); }
.bssrn-queue { min-width: 0; border-right: 1px solid var(--rn-line); background: var(--rn-paper-2); }
.bssrn-queue-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--rn-line); }
.bssrn-queue-head strong { font-size: 13px; }
.bssrn-queue-head span { color: var(--rn-muted); font-size: 11px; }
.bssrn-queue-list { overflow: auto; max-height: 730px; }
.bssrn-queue-row {
  display: grid;
  width: 100%;
  min-height: 76px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--rn-line) !important;
  border-left: 4px solid transparent !important;
  background: transparent;
  color: var(--rn-ink-2);
  cursor: pointer;
  text-align: left;
}
.bssrn-queue-row:hover { background: #fff; }
.bssrn-queue-row[aria-selected="true"] { border-left-color: var(--rn-red) !important; background: var(--rn-red-soft); }
.bssrn-queue-row strong,
.bssrn-queue-row small { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bssrn-queue-row strong { color: var(--rn-ink); font-size: 14px; }
.bssrn-queue-row small { margin-top: 5px; color: var(--rn-muted); font-size: 11px; }
.bssrn-status { align-self: start; padding: 4px 7px; border-radius: 4px; font-size: 10px; font-weight: 800; white-space: nowrap; }
.bssrn-status[data-status="offen"] { background: var(--rn-paper-3); color: var(--rn-ink-2); }
.bssrn-status[data-status="zusage"] { background: var(--rn-success-soft); color: var(--rn-success); }
.bssrn-status[data-status="warteliste"] { background: var(--rn-warning-soft); color: var(--rn-warning); }
.bssrn-status[data-status="absage"] { background: var(--rn-red-soft); color: var(--rn-red-dark); }
.bssrn-queue-states { display: grid; justify-items: end; gap: 5px; }
.bssrn-interview-status { display: inline-flex; min-height: 22px; align-items: center; padding: 3px 7px; border: 1px solid var(--rn-line); border-radius: 4px; background: var(--rn-paper); color: var(--rn-muted); font-size: 9px; font-weight: 800; line-height: 1.2; white-space: nowrap; }
.bssrn-interview-status[data-tone="danger"] { border-color: #f2b7c4; background: var(--rn-red-soft); color: var(--rn-red-dark); }
.bssrn-interview-status[data-tone="warning"] { border-color: #ecd69a; background: var(--rn-warning-soft); color: #875600; }
.bssrn-interview-status[data-tone="info"] { border-color: #b7cde8; background: var(--rn-info-soft); color: var(--rn-info); }
.bssrn-interview-status[data-tone="success"] { border-color: #b8ddc4; background: var(--rn-success-soft); color: var(--rn-success); }

.bssrn-record { display: flex; min-width: 0; flex-direction: column; }
.bssrn-record-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; padding: 24px 28px 20px; border-bottom: 1px solid var(--rn-line); }
.bssrn-record-index { color: var(--rn-red); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.bssrn-record-title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 6px; }
.bssrn-record-title h2 { margin: 0; font-size: 30px; line-height: 1.12; }
.bssrn-record-meta { display: flex; flex-wrap: wrap; gap: 7px 16px; margin-top: 12px; color: var(--rn-muted); font-size: 12px; }
.bssrn-record-meta span,
.bssrn-record-meta a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.bssrn-record-meta a { color: var(--rn-info); font-weight: 700; }
.bssrn-decision-stamp { align-self: start; color: var(--rn-muted); font-size: 11px; text-align: right; }
.bssrn-decision-stamp strong { display: block; color: var(--rn-ink-2); font-size: 12px; }

.bssrn-record-tabs { display: flex; gap: 22px; padding: 0 28px; border-bottom: 1px solid var(--rn-line); }
.bssrn-record-tabs button { min-height: 49px; padding: 0; border-bottom: 3px solid transparent !important; background: transparent; color: var(--rn-muted); cursor: pointer; font-size: 13px; font-weight: 750; }
.bssrn-record-tabs button[aria-selected="true"] { border-bottom-color: var(--rn-red) !important; color: var(--rn-ink); }
.bssrn-record-body { flex: 1; padding: 24px 28px 18px; }

.bssrn-interview-strip {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px;
  margin-bottom: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--rn-line);
  border-bottom: 1px solid var(--rn-line);
}
.bssrn-interview-strip[data-state="none"] { border-top-color: var(--rn-line-strong); }
.bssrn-interview-strip[data-state="completed"] { border-top-color: #a9d4b7; }
.bssrn-interview-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 5px; background: var(--rn-ink); color: #fff; }
.bssrn-interview-strip[data-state="none"] .bssrn-interview-icon { background: var(--rn-paper-3); color: var(--rn-ink-2); }
.bssrn-interview-strip[data-state="completed"] .bssrn-interview-icon { background: var(--rn-success); }
.bssrn-kicker { display: block; margin-bottom: 4px; color: var(--rn-red); font-size: 10px; font-weight: 850; letter-spacing: 0; text-transform: uppercase; }
.bssrn-interview-copy h3 { margin: 0; color: var(--rn-ink); font-size: 16px; line-height: 1.35; }
.bssrn-interview-copy > p { max-width: 720px; margin: 5px 0 0; color: var(--rn-muted); font-size: 12px; }
.bssrn-interview-meta { display: flex; flex-wrap: wrap; gap: 7px 16px; margin-top: 9px; color: var(--rn-muted); font-size: 11px; }
.bssrn-interview-meta span { display: inline-flex; align-items: center; gap: 6px; }
.bssrn-interview-meta svg { width: 15px !important; height: 15px !important; }
.bssrn-interview-actions { display: grid; min-width: 176px; justify-items: end; gap: 10px; }
.bssrn-interview-result { max-width: 760px; margin-top: 12px; padding: 11px 14px; border-left: 3px solid var(--rn-success); background: var(--rn-success-soft); }
.bssrn-interview-result strong { color: var(--rn-success); font-size: 11px; text-transform: uppercase; }
.bssrn-interview-result p { margin: 3px 0 0; color: var(--rn-ink-2); font-size: 12px; line-height: 1.5; }

.bssrn-evidence-grid { display: grid; grid-template-columns: 1.2fr .9fr .9fr .8fr 1fr; border-top: 1px solid var(--rn-line); border-bottom: 1px solid var(--rn-line); }
.bssrn-evidence { min-width: 0; padding: 20px; border-right: 1px solid var(--rn-line); }
.bssrn-evidence:first-child { padding-left: 0; }
.bssrn-evidence:last-child { border-right: 0; }
.bssrn-evidence h3 { margin: 0 0 12px; font-size: 13px; }
.bssrn-evidence p { margin: 0; color: var(--rn-ink-2); font-size: 12px; line-height: 1.6; }
.bssrn-evidence dl { display: grid; gap: 9px; margin: 0; }
.bssrn-evidence dl div { min-width: 0; }
.bssrn-evidence dt { color: var(--rn-faint); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.bssrn-evidence dd { min-width: 0; margin: 2px 0 0; overflow-wrap: anywhere; color: var(--rn-ink-2); font-size: 12px; }
.bssrn-docs { display: grid; gap: 8px; }
.bssrn-docs a,
.bssrn-docs span { display: flex; min-width: 0; align-items: center; gap: 8px; color: var(--rn-info); font-size: 12px; font-weight: 700; text-decoration: none; }
.bssrn-docs span { color: var(--rn-faint); }
.bssrn-docs b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bssrn-history { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.bssrn-history li { display: grid; grid-template-columns: 7px minmax(0, 1fr); gap: 9px; color: var(--rn-muted); font-size: 11px; }
.bssrn-history i { width: 7px; height: 7px; margin-top: 4px; border-radius: 50%; background: var(--rn-line-strong); }
.bssrn-history strong { display: block; color: var(--rn-ink-2); font-size: 11px; }

.bssrn-decision-dock { margin-top: 24px; border-top: 1px solid var(--rn-line); }
.bssrn-decision-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 18px 0; }
.bssrn-decision-option { min-height: 46px; border: 1px solid var(--rn-line-strong) !important; border-radius: 5px; background: #fff; color: var(--rn-ink-2); cursor: pointer; font-size: 13px; font-weight: 750; }
.bssrn-decision-option[data-value="zusage"] { border-color: #86c79a !important; background: #dff4e5; color: #146d36; }
.bssrn-decision-option[data-value="warteliste"] { border-color: #e6bb3d !important; background: #ffefb8; color: #805000; }
.bssrn-decision-option[data-value="absage"] { border-color: #e18ca0 !important; background: #ffdee5; color: #a5072a; }
.bssrn-decision-option[data-value="offen"] { border-color: #aeb3bb !important; background: #e6e8eb; color: #32363d; }
.bssrn-decision-option[data-value="zusage"]:hover { border-color: #4eaa6b !important; background: #c9ebd3; }
.bssrn-decision-option[data-value="warteliste"]:hover { border-color: #c98a09 !important; background: #ffe38a; }
.bssrn-decision-option[data-value="absage"]:hover { border-color: #cc3657 !important; background: #ffc9d5; }
.bssrn-decision-option[data-value="offen"]:hover { border-color: #737982 !important; background: #d3d6da; }
.bssrn-decision-option[aria-pressed="true"] { border-color: var(--rn-ink-2) !important; background: var(--rn-ink-2); color: #fff; }
.bssrn-decision-option[aria-pressed="true"][data-value="zusage"] { border-color: var(--rn-success) !important; background: var(--rn-success); }
.bssrn-decision-option[aria-pressed="true"][data-value="warteliste"] { border-color: var(--rn-warning) !important; background: var(--rn-warning); }
.bssrn-decision-option[aria-pressed="true"][data-value="absage"] { border-color: var(--rn-red) !important; background: var(--rn-red); }
.bssrn-decision-option[aria-pressed="true"][data-value="offen"] { border-color: #363a42 !important; background: #363a42; }
.bssrn-decision-review { display: grid; grid-template-columns: minmax(0, 1fr) 260px auto; align-items: end; gap: 12px; padding: 16px 0 4px; border-top: 1px solid var(--rn-line); }
.bssrn-decision-review p { align-self: center; margin: 0; color: var(--rn-muted); font-size: 11px; }
.bssrn-decision-review p strong { color: var(--rn-ink-2); }
.bssrn-decision-review label { display: grid; gap: 5px; color: var(--rn-muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.bssrn-decision-review input { min-height: 42px; border: 1px solid var(--rn-line-strong); border-radius: 5px; padding: 0 11px; outline: 0; font-size: 12px; }

/* Comments */
.bssrn-comments { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; }
.bssrn-thread { border-top: 1px solid var(--rn-line); }
.bssrn-thread-empty { padding: 36px 8px; color: var(--rn-muted); font-size: 13px; text-align: center; }
.bssrn-comment { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 16px 4px; border-bottom: 1px solid var(--rn-line); }
.bssrn-comment--reply { margin-left: 46px; grid-template-columns: 28px minmax(0, 1fr); }
.bssrn-avatar { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--rn-ink-2); color: #fff; font-size: 10px; font-weight: 800; }
.bssrn-comment--reply .bssrn-avatar { width: 28px; height: 28px; background: var(--rn-red-soft); color: var(--rn-red-dark); }
.bssrn-comment header { display: flex; justify-content: space-between; gap: 8px; }
.bssrn-comment header strong { font-size: 12px; }
.bssrn-comment header span { color: var(--rn-faint); font-size: 10px; }
.bssrn-comment p { margin: 7px 0; color: var(--rn-ink-2); font-size: 12px; white-space: pre-wrap; }
.bssrn-comment button { padding: 0; background: transparent; color: var(--rn-red); cursor: pointer; font-size: 11px; font-weight: 700; }
.bssrn-comment-form { margin-top: 18px; border: 1px solid var(--rn-line-strong); border-radius: 6px; }
.bssrn-reply-context { display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--rn-line); background: var(--rn-red-soft); color: var(--rn-ink-2); font-size: 11px; }
.bssrn-reply-context button { background: transparent; color: var(--rn-red); cursor: pointer; font-weight: 800; }
.bssrn-comment-form textarea { width: 100%; min-height: 92px; resize: vertical; border: 0; outline: 0; padding: 13px; background: #fff; font-size: 12px; }
.bssrn-comment-form footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-top: 1px solid var(--rn-line); }
.bssrn-comment-form footer span { color: var(--rn-muted); font-size: 10px; }
.bssrn-access-note { align-self: start; padding: 18px; border-left: 4px solid var(--rn-info); background: var(--rn-info-soft); }
.bssrn-access-note h3 { margin: 0 0 7px; font-size: 14px; }
.bssrn-access-note p { margin: 0; color: var(--rn-ink-2); font-size: 11px; }
.bssrn-member-list { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.bssrn-member-list li { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; }
.bssrn-member-list i { width: 7px; height: 7px; border-radius: 50%; background: var(--rn-success); }

/* Protocol and setup */
.bssrn-protocol,
.bssrn-setup { padding: 24px 30px 34px; }
.bssrn-section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.bssrn-section-head h2 { margin: 0; font-size: 26px; }
.bssrn-section-head p { margin: 5px 0 0; color: var(--rn-muted); font-size: 12px; }
.bssrn-protocol-filters { display: grid; grid-template-columns: minmax(220px, 1fr) 180px 200px auto; gap: 10px; margin-bottom: 18px; }
.bssrn-protocol-filters input { padding: 0 12px; }
.bssrn-table-wrap { overflow: auto; border: 1px solid var(--rn-line); }
.bssrn-table { width: 100%; min-width: 850px; border-collapse: collapse; font-size: 12px; }
.bssrn-table th { padding: 11px 13px; border-bottom: 1px solid var(--rn-line-strong); background: var(--rn-paper-2); color: var(--rn-muted); font-size: 10px; text-align: left; text-transform: uppercase; }
.bssrn-table td { padding: 13px; border-bottom: 1px solid var(--rn-line); color: var(--rn-ink-2); vertical-align: top; }
.bssrn-table tr:last-child td { border-bottom: 0; }
.bssrn-table button { padding: 0; background: transparent; color: var(--rn-red); cursor: pointer; font-weight: 700; text-align: left; }
.bssrn-log-id { color: var(--rn-faint); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; }

.bssrn-setup-summary { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 22px; border: 1px solid var(--rn-line); }
.bssrn-setup-summary div { padding: 18px; border-right: 1px solid var(--rn-line); }
.bssrn-setup-summary div:last-child { border-right: 0; }
.bssrn-setup-summary strong { display: block; font-size: 25px; }
.bssrn-setup-summary span { color: var(--rn-muted); font-size: 11px; }
.bssrn-member-row { display: grid; grid-template-columns: minmax(220px, 1fr) 1.2fr 150px 100px; align-items: center; gap: 16px; min-height: 82px; padding: 14px 18px; border-bottom: 1px solid var(--rn-line); }
.bssrn-member-row:first-child { border-top: 1px solid var(--rn-line); }
.bssrn-member-identity { display: flex; align-items: center; gap: 12px; }
.bssrn-member-identity .bssrn-avatar { flex: none; }
.bssrn-member-identity strong,
.bssrn-member-identity small { display: block; }
.bssrn-member-identity small { color: var(--rn-muted); font-size: 10px; }
.bssrn-member-scope { color: var(--rn-ink-2); font-size: 11px; }
.bssrn-access-state { color: var(--rn-success); font-size: 11px; font-weight: 800; }
.bssrn-access-state[data-enabled="false"] { color: var(--rn-muted); }
.bssrn-switch { position: relative; width: 46px; height: 26px; border-radius: 13px; background: var(--rn-line-strong); cursor: pointer; }
.bssrn-switch::after { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.2); content: ""; transition: transform .16s ease; }
.bssrn-switch[aria-pressed="true"] { background: var(--rn-success); }
.bssrn-switch[aria-pressed="true"]::after { transform: translateX(20px); }
.bssrn-switch:disabled { cursor: not-allowed; opacity: .5; }

/* Detail */
.bssrn-detail-toolbar { grid-template-columns: minmax(260px, 1.6fr) 150px 160px 180px 160px auto; }
.bssrn-detail-workspace { display: grid; min-height: 720px; grid-template-columns: 460px minmax(0, 1fr); }
.bssrn-detail-list { min-width: 0; border-right: 1px solid var(--rn-line); }
.bssrn-detail-list-head,
.bssrn-detail-row { display: grid; grid-template-columns: minmax(150px, 1.6fr) 55px 45px 82px 70px 24px; gap: 8px; align-items: center; }
.bssrn-detail-list-head { min-height: 48px; padding: 0 16px; border-bottom: 1px solid var(--rn-line-strong); color: var(--rn-muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.bssrn-detail-list-body { overflow: auto; max-height: 690px; }
.bssrn-detail-row { width: 100%; min-height: 74px; padding: 10px 16px; border-bottom: 1px solid var(--rn-line) !important; border-left: 4px solid transparent !important; background: #fff; color: var(--rn-ink-2); cursor: pointer; font-size: 11px; text-align: left; }
.bssrn-detail-row:hover { background: var(--rn-paper-2); }
.bssrn-detail-row[aria-selected="true"] { border-left-color: var(--rn-red) !important; background: var(--rn-red-soft); }
.bssrn-detail-row strong { overflow: hidden; color: var(--rn-ink); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.bssrn-detail-row span { font-variant-numeric: tabular-nums; }
.bssrn-detail-row svg { width: 15px; height: 15px; color: var(--rn-muted); }
.bssrn-detail-list footer { padding: 14px 16px; border-top: 1px solid var(--rn-line); color: var(--rn-muted); font-size: 11px; }
.bssrn-detail-record { min-width: 0; }
.bssrn-detail-record .bssrn-record-head { padding-top: 22px; }
.bssrn-detail-links { display: grid; align-self: start; gap: 10px; }
.bssrn-detail-links a,
.bssrn-detail-links span { display: flex; min-width: 130px; align-items: center; gap: 8px; color: var(--rn-info); font-size: 12px; font-weight: 750; text-decoration: none; }
.bssrn-detail-links span { color: var(--rn-faint); }
.bssrn-detail-content { padding: 24px 28px; }
.bssrn-kv { width: 100%; border-collapse: collapse; font-size: 12px; }
.bssrn-kv th,
.bssrn-kv td { padding: 11px 10px; border-bottom: 1px solid var(--rn-line); text-align: left; vertical-align: top; }
.bssrn-kv th { width: 34%; color: var(--rn-muted); font-weight: 500; }
.bssrn-kv td { color: var(--rn-ink-2); overflow-wrap: anywhere; }
.bssrn-founder-select { display: grid; gap: 7px; margin-bottom: 18px; }
.bssrn-founder-select button { display: flex; min-height: 42px; align-items: center; justify-content: space-between; gap: 12px; padding: 0 12px; border: 1px solid var(--rn-line) !important; border-left: 4px solid transparent !important; background: #fff; color: var(--rn-ink-2); cursor: pointer; font-size: 12px; text-align: left; }
.bssrn-founder-select button[aria-selected="true"] { border-left-color: var(--rn-red) !important; background: var(--rn-red-soft); color: var(--rn-red-dark); font-weight: 750; }
.bssrn-empty { display: grid; min-height: 260px; place-items: center; color: var(--rn-muted); font-size: 13px; text-align: center; }
.bssrn-mobile-back { display: none; }

/* Detail table: comparison first, record details on demand */
.bssrn-data-tools {
  padding: 18px 24px;
  border-bottom: 1px solid var(--rn-line);
  background: var(--rn-paper-2);
}
.bssrn-data-tools-primary {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) auto auto;
  align-items: center;
  gap: 14px;
}
.bssrn-data-search { position: relative; min-width: 0; }
.bssrn-data-search svg { position: absolute; top: 13px; left: 14px; z-index: 1; width: 18px; height: 18px; color: var(--rn-muted); pointer-events: none; }
.bssrn-data-search input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--rn-line-strong);
  border-radius: 5px;
  outline: 0;
  background: var(--rn-paper);
  color: var(--rn-ink);
  font-size: 13px;
}
.bssrn-data-search input:focus,
.bssrn-data-filter-row select:focus { border-color: var(--rn-red); box-shadow: 0 0 0 3px rgba(217, 11, 53, .09); }
.bssrn-result-count { color: var(--rn-muted); font-size: 12px; white-space: nowrap; }
.bssrn-result-count strong { color: var(--rn-ink); font-size: 16px; font-variant-numeric: tabular-nums; }
.bssrn-data-filter-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(145px, 1fr)) auto;
  gap: 10px;
  margin-top: 12px;
  align-items: end;
}
.bssrn-data-filter-row label { display: grid; min-width: 0; gap: 5px; }
.bssrn-data-filter-row label > span { color: var(--rn-muted); font-size: 9px; font-weight: 850; text-transform: uppercase; }
.bssrn-data-filter-row .bssrn-priority-filter > span { color: var(--rn-success); }
.bssrn-data-filter-row .bssrn-priority-filter select { border-color: #a7cfb5; background: #fbfefc; }
.bssrn-data-filter-row select {
  width: 100%;
  min-height: 42px;
  padding: 0 34px 0 11px;
  border: 1px solid var(--rn-line-strong);
  border-radius: 5px;
  outline: 0;
  background: var(--rn-paper);
  color: var(--rn-ink-2);
  font-size: 12px;
}
.bssrn-filter-reset { white-space: nowrap; }
.bssrn-detail-table-wrap { width: 100%; max-width: 100%; overflow: auto; overscroll-behavior-inline: contain; }
.bssrn-detail-table {
  width: 100%;
  min-width: 1080px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  background: var(--rn-paper);
  color: var(--rn-ink-2);
  font-size: 12px;
}
.bssrn-detail-table th,
.bssrn-detail-table td { padding: 12px 11px; border-bottom: 1px solid var(--rn-line); text-align: left; vertical-align: middle; }
.bssrn-detail-table thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  height: 48px;
  padding-top: 8px;
  padding-bottom: 8px;
  border-bottom-color: var(--rn-line-strong);
  background: #f3f4f6;
  color: var(--rn-muted);
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
}
.bssrn-detail-table thead th:first-child { left: 0; z-index: 5; }
.bssrn-detail-table th button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-transform: inherit;
}
.bssrn-detail-table th button:hover { color: var(--rn-ink); }
.bssrn-detail-table th button svg { width: 13px; height: 13px; }
.bssrn-detail-table th:nth-child(1) { width: 168px; }
.bssrn-detail-table th:nth-child(2) { width: 124px; }
.bssrn-detail-table th:nth-child(3) { width: 56px; }
.bssrn-detail-table th:nth-child(4) { width: 62px; }
.bssrn-detail-table th:nth-child(5) { width: 112px; }
.bssrn-detail-table th:nth-child(6) { width: 170px; }
.bssrn-detail-table th:nth-child(7) { width: 190px; }
.bssrn-detail-table th:nth-child(8) { width: 122px; }
.bssrn-detail-table th:nth-child(9) { width: 112px; }
.bssrn-detail-table thead .bssrn-detail-action-head {
  right: 0;
  z-index: 6;
  padding-right: 16px;
  background: #f3f4f6;
  box-shadow: -1px 0 var(--rn-line);
  text-align: right;
}
.bssrn-detail-table thead .bssrn-women-head { background: #edf8f0; color: #176c39; box-shadow: inset 0 -3px var(--rn-success); }
.bssrn-data-row { background: var(--rn-paper); transition: background .12s ease; }
.bssrn-data-row:hover { background: #fafbfc; }
.bssrn-data-row[data-expanded="true"] { background: var(--rn-red-soft); }
.bssrn-data-row > .bssrn-team-column { position: sticky; left: 0; z-index: 2; padding-left: 16px; background: inherit; box-shadow: 1px 0 0 var(--rn-line); }
.bssrn-data-row[data-expanded="true"] > .bssrn-team-column { box-shadow: inset 4px 0 var(--rn-red), 1px 0 0 var(--rn-line); }
.bssrn-team-column > button { display: grid; width: 100%; gap: 3px; padding: 0; background: transparent; color: inherit; cursor: pointer; text-align: left; }
.bssrn-team-column strong { overflow: hidden; color: var(--rn-ink); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.bssrn-team-column small { color: var(--rn-muted); font-size: 9px; }
.bssrn-language-cell { display: inline-grid; min-width: 30px; min-height: 25px; place-items: center; border: 1px solid var(--rn-line); border-radius: 4px; background: var(--rn-paper-2); font-size: 10px; font-weight: 850; }
.bssrn-language-cell[data-language="DE"] { border-color: #f0b0bd; background: var(--rn-red-soft); color: var(--rn-red-dark); }
.bssrn-language-cell[data-language="EN"] { border-color: #b9d0eb; background: var(--rn-info-soft); color: var(--rn-info); }
.bssrn-founder-cell strong,
.bssrn-university-cell { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-height: 1.35; }
.bssrn-founder-cell strong { color: var(--rn-ink-2); font-weight: 700; }
.bssrn-university-cell { color: var(--rn-muted); font-size: 10px; }
.bssrn-number-cell { text-align: center !important; font-variant-numeric: tabular-nums; }
.bssrn-women-share { display: grid; min-width: 0; gap: 6px; }
.bssrn-women-share > span { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.bssrn-women-share strong { color: var(--rn-muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.bssrn-women-share small { color: var(--rn-faint); font-size: 8px; white-space: nowrap; }
.bssrn-women-share > i { display: block; height: 4px; overflow: hidden; border-radius: 2px; background: #e6e8eb; }
.bssrn-women-share > i b { display: block; height: 100%; border-radius: inherit; background: var(--rn-faint); }
.bssrn-women-share[data-level="partial"] strong { color: var(--rn-warning); }
.bssrn-women-share[data-level="partial"] > i b { background: var(--rn-warning); }
.bssrn-women-share[data-level="target"] strong { color: var(--rn-success); }
.bssrn-women-share[data-level="target"] > i b { background: var(--rn-success); }
.bssrn-founded-cell { display: inline-flex; align-items: center; gap: 5px; color: var(--rn-muted); font-size: 10px; font-weight: 750; }
.bssrn-founded-cell[data-founded="true"] { color: var(--rn-success); }
.bssrn-founded-cell svg { width: 14px; height: 14px; }
.bssrn-expand-cell {
  position: sticky;
  right: 0;
  z-index: 2;
  padding: 9px 12px !important;
  background: inherit;
  box-shadow: -1px 0 var(--rn-line);
  text-align: right !important;
}
.bssrn-detail-toggle {
  display: inline-flex;
  width: 94px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--rn-line-strong) !important;
  border-radius: 5px;
  background: var(--rn-paper);
  color: var(--rn-ink-2);
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
  transition: border-color .12s ease, background .12s ease, color .12s ease, transform .12s ease;
}
.bssrn-detail-toggle svg { width: 14px; height: 14px; }
.bssrn-detail-toggle:hover { border-color: #aeb4bc !important; background: #f5f6f8; color: var(--rn-ink); }
.bssrn-detail-toggle:focus-visible { outline: 0; border-color: var(--rn-red) !important; box-shadow: 0 0 0 3px rgba(217, 11, 53, .12); }
.bssrn-detail-toggle:active { transform: translateY(1px); }
.bssrn-detail-toggle[aria-expanded="true"] { border-color: var(--rn-ink) !important; background: var(--rn-ink); color: #fff; }
.bssrn-detail-toggle[aria-expanded="true"]:hover { border-color: var(--rn-red-dark) !important; background: var(--rn-red-dark); color: #fff; }
.bssrn-detail-expanded > td { padding: 0; background: #f5f6f8; }
.bssrn-table-inspector { border-left: 4px solid var(--rn-red); background: #f5f6f8; }
.bssrn-table-inspector > header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 22px; border-bottom: 1px solid var(--rn-line); }
.bssrn-table-inspector > header h3 { margin: 3px 0 0; font-size: 18px; }
.bssrn-table-inspector-grid { display: grid; grid-template-columns: 1.05fr 1.3fr .9fr; }
.bssrn-table-inspector-grid > section { min-width: 0; padding: 20px 22px; border-right: 1px solid var(--rn-line); }
.bssrn-table-inspector-grid > section:last-child { border-right: 0; }
.bssrn-table-inspector h4 { margin: 0 0 13px; color: var(--rn-ink); font-size: 12px; }
.bssrn-table-activity { margin: 0 0 15px; color: var(--rn-ink-2); font-size: 11px; line-height: 1.55; }
.bssrn-table-inspector dl { display: grid; gap: 0; margin: 0; }
.bssrn-table-inspector dl div { display: grid; grid-template-columns: minmax(90px, .7fr) minmax(0, 1fr); gap: 12px; padding: 8px 0; border-top: 1px solid var(--rn-line); }
.bssrn-table-inspector dt { color: var(--rn-muted); font-size: 9px; }
.bssrn-table-inspector dd { margin: 0; color: var(--rn-ink-2); font-size: 10px; overflow-wrap: anywhere; }
.bssrn-table-people > div { display: grid; gap: 8px; }
.bssrn-table-people article { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 9px; padding: 9px 0; border-top: 1px solid var(--rn-line); }
.bssrn-table-people article:first-child { border-top: 0; padding-top: 0; }
.bssrn-table-person-index { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; background: var(--rn-ink); color: #fff; font-size: 9px; font-weight: 850; }
.bssrn-table-people strong,
.bssrn-table-people small { display: block; }
.bssrn-table-people strong { color: var(--rn-ink); font-size: 11px; }
.bssrn-table-people small { margin-top: 2px; color: var(--rn-info); font-size: 9px; overflow-wrap: anywhere; }
.bssrn-table-people p { margin: 4px 0 0; color: var(--rn-muted); font-size: 9px; line-height: 1.45; }
.bssrn-table-documents { display: grid; gap: 8px; margin-bottom: 15px; }
.bssrn-table-documents > * { display: flex; min-height: 38px; align-items: center; gap: 8px; padding: 0 10px; border: 1px solid var(--rn-line-strong); border-radius: 4px; background: #fff; color: var(--rn-info); font-size: 10px; font-weight: 750; text-decoration: none; }
.bssrn-table-documents > [data-missing="true"] { color: var(--rn-muted); }
.bssrn-table-documents svg { width: 16px; height: 16px; }
.bssrn-table-document-summary { display: grid; gap: 5px; margin-bottom: 12px; padding: 11px 12px; border-left: 3px solid var(--rn-info); background: var(--rn-info-soft); }
.bssrn-table-document-summary strong { color: var(--rn-ink); font-size: 11px; }
.bssrn-table-document-summary span { color: var(--rn-muted); font-size: 9px; line-height: 1.45; }
.bssrn-table-document-summary a { display: inline-flex; width: fit-content; align-items: center; gap: 6px; margin-top: 2px; color: var(--rn-info); font-size: 9px; font-weight: 800; text-decoration: none; }
.bssrn-table-document-summary a:hover { text-decoration: underline; }
.bssrn-table-document-summary a svg { width: 14px; height: 14px; }
.bssrn-detail-footer { display: flex; min-height: 54px; align-items: center; justify-content: space-between; gap: 18px; padding: 0 24px; border-top: 1px solid var(--rn-line); background: var(--rn-paper-2); color: var(--rn-muted); font-size: 10px; }
.bssrn-detail-footer strong { color: var(--rn-ink); font-size: 12px; }
.bssrn-detail-empty { border-bottom: 1px solid var(--rn-line); }
.bssrn-toast { position: fixed; right: 24px; bottom: 24px; z-index: 99999; max-width: 390px; padding: 13px 16px; border-radius: 6px; background: var(--rn-ink); color: #fff; box-shadow: 0 14px 35px rgba(0,0,0,.25); font-size: 12px; }
.bssrn-toast[data-tone="error"] { background: var(--rn-red-dark); }

/* Dossier command and status */
.bssrn-dossier-command {
  display: grid;
  grid-template-columns: 48px minmax(260px, 1fr) minmax(220px, 320px) auto;
  align-items: center;
  gap: 18px;
  padding: 18px 30px;
  border-bottom: 1px solid var(--rn-line);
  background: #17191d;
  color: #fff;
}
.bssrn-dossier-command-icon { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid #3a3d44; border-radius: 6px; background: #24272d; color: #ff5578; }
.bssrn-dossier-command-copy strong { display: block; font-size: 17px; }
.bssrn-dossier-command-copy p { max-width: 680px; margin: 4px 0 0; color: #b9bec8; font-size: 11px; line-height: 1.45; }
.bssrn-dossier-command .bssrn-kicker { color: #ff6a87; }
.bssrn-dossier-run-state { min-width: 0; }
.bssrn-dossier-run-state > span,
.bssrn-dossier-run-state > small { display: block; }
.bssrn-dossier-run-state > span { font-size: 12px; font-weight: 800; }
.bssrn-dossier-run-state > small { margin-top: 2px; overflow: hidden; color: #9ca3ae; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.bssrn-dossier-progress { height: 4px; margin-top: 8px; overflow: hidden; border-radius: 2px; background: #373a41; }
.bssrn-dossier-progress i { display: block; height: 100%; background: #ff315b; transition: width .25s ease; }
.bssrn-dossier-command .bssrn-button { border-color: #ff315b !important; box-shadow: 0 7px 24px rgba(217, 11, 53, .28); }
.bssrn-dossier-status { display: inline-flex; min-height: 22px; align-items: center; gap: 4px; padding: 3px 7px; border: 1px solid var(--rn-line); border-radius: 4px; background: #fff; color: var(--rn-muted); font-size: 9px; font-weight: 800; line-height: 1.2; white-space: nowrap; }
.bssrn-dossier-status svg { width: 12px !important; height: 12px !important; }
.bssrn-dossier-status[data-tone="warning"] { border-color: #ecd69a; background: #fff5cf; color: #775100; }
.bssrn-dossier-status[data-tone="success"] { border-color: #9bc9aa; background: #e7f6eb; color: #155c31; }
.bssrn-dossier-status[data-tone="info"] { border-color: #acc8ea; background: #e9f3ff; color: #164e87; }
.bssrn-dossier-status[data-tone="danger"] { border-color: #efadbd; background: #ffe8ed; color: #a5072a; }
.bssrn-dossier-status[data-tone="info"] svg { animation: bssrn-spin 1.2s linear infinite; }
@keyframes bssrn-spin { to { transform: rotate(360deg); } }
.bssrn-record-tabs .bssrn-dossier-status { margin-left: 5px; pointer-events: none; }

/* Dossier profile */
.bssrn-record-body[data-tab="dossier"] { padding: 0; background: #f4f5f7; }
.bssrn-dossier { color: var(--rn-ink); }
.bssrn-dossier-hero { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 28px; padding: 34px 30px; background: #17191d; color: #fff; }
.bssrn-dossier-hero h3 { margin: 6px 0 10px; color: #fff; font-size: 34px; line-height: 1.08; }
.bssrn-dossier-hero p { max-width: 760px; margin: 0; color: #c4c8d0; font-size: 13px; line-height: 1.6; }
.bssrn-dossier-hero .bssrn-kicker { color: #ff6685; }
.bssrn-dossier-verdict { display: flex; min-height: 130px; flex-direction: column; justify-content: center; padding: 18px; border: 1px solid #41444b; border-left: 4px solid #e5a817; background: #24272c; }
.bssrn-dossier-verdict span,
.bssrn-dossier-verdict small { color: #aeb4be; font-size: 9px; font-weight: 750; text-transform: uppercase; }
.bssrn-dossier-verdict strong { margin: 8px 0; color: #ffd667; font-size: 19px; line-height: 1.2; }
.bssrn-dossier-safety { display: flex; align-items: flex-start; gap: 14px; margin: 0; padding: 16px 30px; border-bottom: 1px solid #c7d8e9; background: #e9f2f9; color: #163e64; }
.bssrn-dossier-safety svg { flex: none; margin-top: 2px; }
.bssrn-dossier-safety p { margin: 0; font-size: 11px; line-height: 1.55; }
.bssrn-dossier-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--rn-line); background: #fff; }
.bssrn-dossier-stats div { padding: 20px 26px; border-right: 1px solid var(--rn-line); }
.bssrn-dossier-stats div:last-child { border-right: 0; }
.bssrn-dossier-stats strong,
.bssrn-dossier-stats span { display: block; }
.bssrn-dossier-stats strong { font-size: 27px; font-variant-numeric: tabular-nums; }
.bssrn-dossier-stats span { margin-top: 2px; color: var(--rn-muted); font-size: 10px; font-weight: 700; }
.bssrn-dossier-section { padding: 30px; border-bottom: 1px solid var(--rn-line); background: #fff; }
.bssrn-dossier-section > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.bssrn-dossier-section > header > div { display: flex; align-items: center; gap: 12px; }
.bssrn-dossier-section > header > div > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 4px; background: var(--rn-ink); color: #fff; font-size: 10px; font-weight: 850; }
.bssrn-dossier-section > header h3 { margin: 0; font-size: 20px; }
.bssrn-dossier-section > header > p { max-width: 460px; margin: 0; color: var(--rn-muted); font-size: 10px; text-align: right; }
.bssrn-check-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rn-line); border-left: 1px solid var(--rn-line); }
.bssrn-check { display: grid; min-height: 112px; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: start; gap: 11px; padding: 16px; border-right: 1px solid var(--rn-line); border-bottom: 1px solid var(--rn-line); }
.bssrn-check[data-tone="success"] { background: #f3fbf5; }
.bssrn-check[data-tone="warning"] { background: #fffaf0; }
.bssrn-check[data-tone="danger"] { background: #fff4f6; }
.bssrn-check-icon { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: #fff; color: var(--rn-warning); box-shadow: inset 0 0 0 1px var(--rn-line); }
.bssrn-check[data-tone="success"] .bssrn-check-icon { color: var(--rn-success); }
.bssrn-check[data-tone="danger"] .bssrn-check-icon { color: var(--rn-red); }
.bssrn-check strong { display: block; font-size: 12px; }
.bssrn-check p { margin: 5px 0 0; color: var(--rn-ink-2); font-size: 10px; line-height: 1.5; }
.bssrn-check-state { max-width: 100px; overflow: hidden; color: var(--rn-muted); font-size: 8px; font-weight: 850; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.bssrn-source-refs { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.bssrn-source-refs > span { display: inline-flex; align-items: center; gap: 3px; padding: 2px 5px; border: 1px solid var(--rn-line); border-radius: 3px; background: #fff; color: var(--rn-muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 8px; }
.bssrn-source-refs svg { width: 10px !important; height: 10px !important; }
.bssrn-dossier-people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.bssrn-dossier-person { border: 1px solid var(--rn-line); border-top: 4px solid var(--rn-ink); background: #fff; }
.bssrn-dossier-person > header { display: flex; align-items: center; gap: 11px; padding: 15px; border-bottom: 1px solid var(--rn-line); }
.bssrn-dossier-person > header > span { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: var(--rn-red); color: #fff; font-size: 10px; font-weight: 850; }
.bssrn-dossier-person > header strong,
.bssrn-dossier-person > header small { display: block; }
.bssrn-dossier-person > header strong { font-size: 12px; }
.bssrn-dossier-person > header small { margin-top: 2px; color: var(--rn-muted); font-size: 9px; }
.bssrn-dossier-person dl { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
.bssrn-dossier-person dl div { padding: 11px 15px; border-right: 1px solid var(--rn-line); border-bottom: 1px solid var(--rn-line); }
.bssrn-dossier-person dl div:nth-child(even) { border-right: 0; }
.bssrn-dossier-person dt { color: var(--rn-muted); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.bssrn-dossier-person dd { margin: 3px 0 0; color: var(--rn-ink-2); font-size: 10px; overflow-wrap: anywhere; }
.bssrn-dossier-person > .bssrn-source-refs { padding: 0 15px 13px; }
.bssrn-document-list { border-top: 1px solid var(--rn-line); }
.bssrn-document-row { display: grid; grid-template-columns: 30px minmax(180px, .7fr) minmax(220px, 1fr) 110px; align-items: center; gap: 13px; min-height: 66px; padding: 10px 12px; border-right: 1px solid var(--rn-line); border-bottom: 1px solid var(--rn-line); border-left: 4px solid var(--rn-warning); }
.bssrn-document-row[data-tone="success"] { border-left-color: var(--rn-success); }
.bssrn-document-row[data-tone="danger"] { border-left-color: var(--rn-red); }
.bssrn-document-row > span { color: var(--rn-muted); }
.bssrn-document-row strong,
.bssrn-document-row small { display: block; }
.bssrn-document-row strong { font-size: 11px; }
.bssrn-document-row small { margin-top: 3px; color: var(--rn-muted); font-size: 9px; }
.bssrn-document-row p { margin: 0; color: var(--rn-ink-2); font-size: 10px; line-height: 1.45; }
.bssrn-document-row > b { color: var(--rn-muted); font-size: 8px; text-align: right; text-transform: uppercase; }
.bssrn-dossier-section--pitch { background: #17191d; color: #fff; }
.bssrn-dossier-section--pitch > header h3 { color: #fff; }
.bssrn-dossier-section--pitch > header > div > span { background: var(--rn-red); }
.bssrn-dossier-section--pitch > header > p { color: #aeb4be; }
.bssrn-pitch-summary { border-top: 1px solid #373b42; }
.bssrn-pitch-section { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid #373b42; }
.bssrn-pitch-section > span { color: #ff5578; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 16px; font-weight: 850; }
.bssrn-pitch-section h4 { margin: 0; color: #fff; font-size: 14px; }
.bssrn-pitch-section p { max-width: 820px; margin: 7px 0 0; color: #c7cbd2; font-size: 11px; line-height: 1.65; }
.bssrn-pitch-section .bssrn-source-refs span { border-color: #41444b; background: #24272c; color: #b8bec8; }
.bssrn-dossier-footer { display: flex; align-items: center; gap: 18px; padding: 15px 30px; background: #fff; color: var(--rn-muted); font-size: 9px; }
.bssrn-dossier-footer > span { display: inline-flex; align-items: center; gap: 5px; }
.bssrn-dossier-footer .bssrn-button { margin-left: auto; }
.bssrn-dossier-inline-empty { padding: 26px; border: 1px dashed var(--rn-line-strong); color: var(--rn-muted); font-size: 11px; text-align: center; }
.bssrn-dossier-empty { display: grid; min-height: 540px; align-content: center; justify-items: center; padding: 40px; text-align: center; }
.bssrn-dossier-empty-mark { display: grid; width: 76px; height: 76px; margin-bottom: 18px; place-items: center; border: 1px solid var(--rn-line-strong); border-radius: 50%; background: #fff; color: var(--rn-red); }
.bssrn-dossier-empty[data-state="running"] .bssrn-dossier-empty-mark svg { animation: bssrn-spin 1.2s linear infinite; }
.bssrn-dossier-empty h3 { max-width: 600px; margin: 6px 0 8px; font-size: 25px; }
.bssrn-dossier-empty > p { max-width: 590px; margin: 0 0 18px; color: var(--rn-muted); font-size: 12px; line-height: 1.6; }
.bssrn-dossier-empty > small { margin-top: 14px; color: var(--rn-muted); font-size: 9px; }
.bssrn-dossier-large-progress { width: min(420px, 90%); height: 7px; margin: 10px 0; overflow: hidden; border-radius: 4px; background: var(--rn-line); }
.bssrn-dossier-large-progress i { display: block; height: 100%; background: var(--rn-red); }

/* Dossier profile v2: one-page brief first, evidence on demand */
.bssrn-record-body[data-tab="dossier"] { padding: 0; overflow: hidden; background: #eef1f3; }
.bssrn-profile { min-width: 0; color: #191b1f; background: #fff; }
.bssrn-profile-hero { display: grid; min-height: 430px; grid-template-columns: minmax(360px, 44%) minmax(0, 1fr); border-top: 6px solid #d90b35; border-bottom: 1px solid #d9dde2; background: #fff; }
.bssrn-profile-media { min-width: 0; min-height: 424px; background: #17191d; }
.bssrn-profile-visual-grid { display: grid; width: 100%; height: 100%; min-height: 424px; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 1px; background: #4c515a; }
.bssrn-profile-visual-grid[data-count="1"] { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.bssrn-profile-visual-grid[data-count="2"] { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
.bssrn-profile-visual-grid[data-count="3"] .bssrn-profile-visual:first-child { grid-row: 1 / 3; }
.bssrn-profile-visual { position: relative; min-width: 0; min-height: 0; overflow: hidden; padding: 0; border: 0 !important; border-radius: 0; background: #22252a; color: #fff; cursor: zoom-in; text-align: left; }
.bssrn-profile-visual::after { position: absolute; inset: auto 0 0; height: 42%; background: linear-gradient(to bottom, transparent, rgba(0,0,0,.86)); content: ""; pointer-events: none; }
.bssrn-profile-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .22s ease; }
.bssrn-profile-visual:hover img { transform: scale(1.018); }
.bssrn-profile-visual > span { position: absolute; right: 14px; bottom: 13px; left: 14px; z-index: 1; }
.bssrn-profile-visual b,
.bssrn-profile-visual small { display: block; overflow-wrap: anywhere; }
.bssrn-profile-visual b { color: #fff; font-size: 12px; }
.bssrn-profile-visual small { margin-top: 2px; color: #d4d8de; font-size: 9px; }
.bssrn-profile-visual-empty { display: flex; height: 100%; min-height: 424px; align-items: flex-end; gap: 14px; padding: 28px; background: #17191d; color: #fff; }
.bssrn-profile-visual-empty svg { width: 32px !important; height: 32px !important; color: #ff4468; }
.bssrn-profile-visual-empty strong,
.bssrn-profile-visual-empty span { display: block; }
.bssrn-profile-visual-empty strong { font-size: 14px; }
.bssrn-profile-visual-empty span { max-width: 340px; margin-top: 5px; color: #bbc0c8; font-size: 10px; line-height: 1.5; }
.bssrn-profile-intro { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: 36px 38px; }
.bssrn-profile-intro .bssrn-kicker { color: #b1082b; }
.bssrn-profile-intro h3 { margin: 8px 0 14px; color: #17191d; font-size: 38px; line-height: 1.05; overflow-wrap: anywhere; }
.bssrn-profile-lead { max-width: 760px; margin: 0; color: #3e434b; font-size: 15px; line-height: 1.6; }
.bssrn-profile-meta { display: flex; flex-wrap: wrap; gap: 7px 15px; margin: 22px 0; color: #5f6670; font-size: 10px; font-weight: 750; }
.bssrn-profile-meta span { display: inline-flex; align-items: center; gap: 5px; }
.bssrn-profile-meta svg { width: 13px !important; height: 13px !important; color: #d90b35; }
.bssrn-profile-verdict { display: grid; grid-template-columns: minmax(0, 1fr) 76px 76px; align-items: stretch; margin-top: auto; border: 1px solid #17191d; background: #17191d; color: #fff; }
.bssrn-profile-verdict > div { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: 14px 16px; border-right: 1px solid #3c4047; }
.bssrn-profile-verdict > div:last-child { border-right: 0; }
.bssrn-profile-verdict span,
.bssrn-profile-verdict small { color: #aeb4bd; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.bssrn-profile-verdict strong { margin-top: 5px; color: #ffd34f; font-size: 15px; line-height: 1.25; overflow-wrap: anywhere; }
.bssrn-profile-verdict b { color: #fff; font-size: 24px; font-variant-numeric: tabular-nums; }
.bssrn-profile-actions { border-bottom: 1px solid #d9dde2; background: #fff; }
.bssrn-profile-actions > header,
.bssrn-profile-project > header,
.bssrn-profile-proofs > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 25px 30px 18px; }
.bssrn-profile-actions > header { background: #17191d; color: #fff; }
.bssrn-profile-actions > header h3,
.bssrn-profile-project > header h3,
.bssrn-profile-proofs > header h3 { margin: 4px 0 0; font-size: 21px; }
.bssrn-profile-actions > header h3 { color: #fff; }
.bssrn-profile-actions > header .bssrn-kicker { color: #ff5578; }
.bssrn-profile-actions > header p,
.bssrn-profile-project > header p,
.bssrn-profile-proofs > header p { max-width: 430px; margin: 0; color: #737a84; font-size: 10px; line-height: 1.45; text-align: right; }
.bssrn-profile-actions > header p { color: #b8bec7; }
.bssrn-profile-actions > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bssrn-profile-action { display: grid; min-height: 112px; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: start; gap: 12px; padding: 18px 20px; border-right: 1px solid #d9dde2; border-bottom: 1px solid #d9dde2; border-left: 5px solid #d38b00; background: #fffaf0; }
.bssrn-profile-action:nth-child(even) { border-right: 0; }
.bssrn-profile-action[data-tone="danger"] { border-left-color: #c50a32; background: #fff1f4; }
.bssrn-profile-action[data-tone="success"] { border-left-color: #168447; background: #eff9f2; }
.bssrn-profile-action > span { color: #a36c00; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; font-weight: 850; }
.bssrn-profile-action[data-tone="danger"] > span { color: #c50a32; }
.bssrn-profile-action strong { display: block; font-size: 12px; }
.bssrn-profile-action p { margin: 5px 0 0; color: #4e555f; font-size: 10px; line-height: 1.5; }
.bssrn-profile-clear { display: flex; grid-column: 1 / -1; align-items: center; gap: 13px; padding: 24px 30px; border-left: 5px solid #168447; background: #eff9f2; color: #125f35; }
.bssrn-profile-clear strong,
.bssrn-profile-clear span { display: block; }
.bssrn-profile-clear span { margin-top: 3px; font-size: 10px; }
.bssrn-proof-state { display: inline-flex; min-height: 25px; align-items: center; gap: 5px; padding: 4px 8px; border: 1px solid #c6cbd1; border-radius: 4px; background: #fff; color: #4b515a; font-size: 9px; font-weight: 800; white-space: nowrap; }
.bssrn-proof-state svg { width: 12px !important; height: 12px !important; }
.bssrn-proof-state[data-tone="success"] { border-color: #87c89f; background: #e8f7ed; color: #126b3b; }
.bssrn-proof-state[data-tone="warning"] { border-color: #e3bd63; background: #fff3cc; color: #775100; }
.bssrn-proof-state[data-tone="danger"] { border-color: #e79aac; background: #ffe7ed; color: #a30729; }
.bssrn-profile-project { border-bottom: 1px solid #d9dde2; background: #f2f5f7; }
.bssrn-profile-project > header .bssrn-kicker,
.bssrn-profile-proofs > header .bssrn-kicker { color: #9d0928; }
.bssrn-profile-facts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid #d9dde2; background: #fff; }
.bssrn-profile-fact { position: relative; min-width: 0; min-height: 130px; grid-column: span 2; padding: 20px 22px; border-right: 1px solid #d9dde2; border-bottom: 1px solid #d9dde2; }
.bssrn-profile-fact:nth-child(-n+2) { grid-column: span 3; }
.bssrn-profile-fact:nth-child(2),
.bssrn-profile-fact:last-child { border-right: 0; }
.bssrn-profile-fact::before { position: absolute; top: 0; left: 0; width: 44px; height: 4px; background: #d90b35; content: ""; }
.bssrn-profile-fact > span { color: #8f1830; font-size: 9px; font-weight: 850; text-transform: uppercase; }
.bssrn-profile-fact p { margin: 10px 0 0; color: #2f343b; font-size: 11px; line-height: 1.58; overflow-wrap: anywhere; }
.bssrn-profile-proofs { border-bottom: 1px solid #d9dde2; background: #fff; }
.bssrn-profile-table-wrap { overflow-x: auto; border-top: 1px solid #d9dde2; }
.bssrn-profile-proofs table { width: 100%; min-width: 650px; border-collapse: collapse; table-layout: fixed; }
.bssrn-profile-proofs th,
.bssrn-profile-proofs td { padding: 13px 18px; border-right: 1px solid #e1e4e8; border-bottom: 1px solid #e1e4e8; text-align: left; vertical-align: middle; }
.bssrn-profile-proofs thead th { background: #f5f6f8; color: #676e78; font-size: 8px; font-weight: 850; text-transform: uppercase; }
.bssrn-profile-proofs tbody th { display: flex; align-items: center; gap: 10px; font-weight: 400; }
.bssrn-profile-proofs tbody th > span { display: grid; width: 30px; height: 30px; flex: none; place-items: center; border-radius: 50%; background: #d90b35; color: #fff; font-size: 9px; font-weight: 850; }
.bssrn-profile-proofs tbody th strong,
.bssrn-profile-proofs tbody th small { display: block; }
.bssrn-profile-proofs tbody th strong { font-size: 11px; overflow-wrap: anywhere; }
.bssrn-profile-proofs tbody th small { margin-top: 2px; color: #858b94; font-size: 8px; }
.bssrn-profile-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 30px; background: #17191d; color: #fff; }
.bssrn-profile-footer strong,
.bssrn-profile-footer span { display: block; }
.bssrn-profile-footer strong { font-size: 12px; }
.bssrn-profile-footer span { margin-top: 3px; color: #aeb4bd; font-size: 9px; }
.bssrn-profile-footer .bssrn-button { border-color: #d90b35 !important; background: #d90b35; color: #fff; }

/* Version-specific formal dossier approval */
.bssrn-formal-review {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
  padding: 28px 30px;
  border-top: 1px solid #dfc270;
  border-bottom: 1px solid #dfc270;
  background: #fff7dd;
}
.bssrn-formal-review[data-state="approved"] { border-color: #8fbfa0; background: #eaf7ee; }
.bssrn-formal-review-mark { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 50%; background: #17191d; color: #ffd66a; box-shadow: 0 8px 24px rgba(23,25,29,.18); }
.bssrn-formal-review[data-state="approved"] .bssrn-formal-review-mark { background: #176b38; color: #fff; }
.bssrn-formal-review-mark svg { width: 25px !important; height: 25px !important; }
.bssrn-formal-review-copy .bssrn-kicker { color: #8b5b00; }
.bssrn-formal-review[data-state="approved"] .bssrn-kicker { color: #176b38; }
.bssrn-formal-review-copy h3 { margin: 5px 0 7px; font-size: 23px; line-height: 1.2; }
.bssrn-formal-review-copy > p { max-width: 720px; margin: 0; color: #545960; font-size: 11px; line-height: 1.55; }
.bssrn-formal-review-scope { display: flex; flex-wrap: wrap; gap: 7px 14px; margin-top: 15px; }
.bssrn-formal-review-scope span { display: inline-flex; align-items: center; gap: 5px; color: #694700; font-size: 9px; font-weight: 800; }
.bssrn-formal-review-scope svg { width: 13px !important; height: 13px !important; }
.bssrn-formal-review-stamp { display: grid; max-width: 690px; grid-template-columns: auto 1fr; gap: 2px 12px; margin-top: 14px; padding-left: 13px; border-left: 3px solid #24864a; }
.bssrn-formal-review-stamp strong { color: #155d32; font-size: 11px; }
.bssrn-formal-review-stamp span { color: #67706a; font-size: 9px; }
.bssrn-formal-review-stamp q { grid-column: 1 / -1; margin-top: 4px; color: #33433a; font-size: 10px; font-style: normal; line-height: 1.5; }
.bssrn-formal-review-actions { display: grid; max-width: 620px; grid-column: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bssrn-formal-review[data-state="review_required"] .bssrn-formal-review-actions { max-width: 390px; grid-template-columns: 1fr; }
.bssrn-formal-review-actions .bssrn-button { width: 100%; }
.bssrn-formal-review-actions small { color: #71540f; font-size: 8px; line-height: 1.45; text-align: center; }
.bssrn-formal-review[data-state="approved"] .bssrn-formal-review-actions small { color: #41664e; }
.bssrn-review-history { max-width: 720px; margin-top: 15px; border-top: 1px solid rgba(70,72,76,.18); }
.bssrn-review-history > summary { display: inline-flex; align-items: center; gap: 6px; padding: 10px 0 2px; color: #4f555d; cursor: pointer; font-size: 9px; font-weight: 850; }
.bssrn-review-history > summary svg { width: 13px !important; height: 13px !important; }
.bssrn-review-history ol { display: grid; gap: 0; margin: 8px 0 0; padding: 0; border-top: 1px solid rgba(70,72,76,.15); list-style: none; }
.bssrn-review-history li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 9px; padding: 10px 0; border-bottom: 1px solid rgba(70,72,76,.15); }
.bssrn-review-history li > span { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; background: #fff; color: #176b38; }
.bssrn-review-history li[data-action-type="reopen"] > span { color: #a86c00; }
.bssrn-review-history li svg { width: 13px !important; height: 13px !important; }
.bssrn-review-history strong,
.bssrn-review-history small { display: block; }
.bssrn-review-history strong { font-size: 10px; }
.bssrn-review-history small { margin-top: 1px; color: #737980; font-size: 8px; }
.bssrn-review-history p { margin: 4px 0 0; color: #4c535a; font-size: 9px; line-height: 1.45; }

/* Dossier profile v3: brand, 1,000-character brief, visual evidence and impressions */
.bssrn-profile-hero { min-height: 520px; grid-template-columns: minmax(380px, 42%) minmax(0, 58%); }
.bssrn-profile-intro { min-height: 514px; justify-content: flex-start; padding: 34px 36px 30px; background: #f7f8fa; }
.bssrn-profile-media,
.bssrn-profile-visual-grid,
.bssrn-profile-visual-empty { min-height: 514px; }
.bssrn-profile-visual-grid { height: 514px; }
.bssrn-profile-visual-grid[data-count="4"] { grid-template-columns: 1.2fr .8fr; grid-template-rows: 1fr 1fr 1fr; }
.bssrn-profile-visual-grid[data-count="4"] .bssrn-profile-visual:first-child { grid-row: 1 / 4; }
.bssrn-profile-brand-lockup { display: flex; min-height: 88px; align-items: center; gap: 17px; padding-bottom: 22px; border-bottom: 1px solid #d9dde2; }
.bssrn-profile-brand-lockup > div:last-child { min-width: 0; }
.bssrn-profile-brand-lockup small { display: block; margin-top: 5px; color: #747b85; font-size: 9px; font-weight: 750; }
.bssrn-profile-logo { display: grid; width: 118px; height: 78px; flex: none; place-items: center; overflow: hidden; padding: 8px; border: 1px solid #c9ced5 !important; border-radius: 4px; background: #fff; cursor: zoom-in; }
.bssrn-profile-logo img { width: 100%; height: 100%; object-fit: contain; }
.bssrn-profile-logo--fallback { background: #17191d; color: #fff; cursor: default; font-size: 22px; font-weight: 900; }
.bssrn-profile-intro h3 { margin: 28px 0 13px; font-size: 44px; }
.bssrn-profile-lead { color: #252930; font-size: 16px; line-height: 1.55; }
.bssrn-profile-story { border-bottom: 1px solid #cfd4da; background: #fff; }
.bssrn-profile-story > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 25px 30px 18px; border-bottom: 1px solid #d9dde2; background: #17191d; color: #fff; }
.bssrn-profile-story > header .bssrn-kicker { color: #ff5578; }
.bssrn-profile-story > header h3 { margin: 4px 0 0; color: #fff; font-size: 24px; }
.bssrn-profile-story > header > span { color: #b9bec7; font-size: 9px; font-weight: 800; }
.bssrn-profile-story-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(330px, .88fr); }
.bssrn-profile-summary-copy { margin: 0; padding: 30px; color: #282d34; font-size: 14px; line-height: 1.82; white-space: pre-line; }
.bssrn-profile-impressions { border-left: 1px solid #d9dde2; background: #eef2f5; }
.bssrn-profile-impressions > header { display: flex; align-items: center; gap: 11px; padding: 17px 20px; border-bottom: 1px solid #d9dde2; background: #d90b35; color: #fff; }
.bssrn-profile-impressions > header > span { display: grid; width: 31px; height: 31px; flex: none; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; }
.bssrn-profile-impressions > header svg { width: 15px !important; height: 15px !important; }
.bssrn-profile-impressions > header strong,
.bssrn-profile-impressions > header small { display: block; }
.bssrn-profile-impressions > header strong { font-size: 12px; }
.bssrn-profile-impressions > header small { margin-top: 2px; color: #ffdce4; font-size: 8px; }
.bssrn-profile-impressions > div { display: grid; }
.bssrn-profile-impression { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 9px; padding: 14px 18px; border-bottom: 1px solid #d9dde2; background: #fff; }
.bssrn-profile-impression:last-child { border-bottom: 0; }
.bssrn-profile-impression > span { color: #c20a31; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; font-weight: 900; }
.bssrn-profile-impression strong { display: block; font-size: 10px; }
.bssrn-profile-impression p { margin: 4px 0 0; color: #4d545d; font-size: 9px; line-height: 1.5; }
.bssrn-profile-impression .bssrn-source-refs { margin-top: 6px; }
.bssrn-dossier-long { border-top: 10px solid #eef1f3; background: #fff; }
.bssrn-dossier-long-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 30px; border-bottom: 1px solid #d9dde2; }
.bssrn-dossier-long-head h3 { margin: 4px 0 5px; font-size: 25px; }
.bssrn-dossier-long-head p { margin: 0; color: #69707a; font-size: 10px; }
.bssrn-dossier-safety { display: flex; align-items: flex-start; gap: 14px; margin: 0; padding: 16px 30px; border-bottom: 1px solid #b9d1e6; background: #e7f1f8; color: #174b78; }
.bssrn-dossier-safety svg { flex: none; margin-top: 2px; }
.bssrn-dossier-safety p { margin: 0; font-size: 10px; line-height: 1.55; }
.bssrn-dossier-section { padding: 30px; border-bottom: 1px solid #d9dde2; background: #fff; }
.bssrn-dossier-section > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.bssrn-dossier-section > header > div { display: flex; align-items: center; gap: 12px; }
.bssrn-dossier-section > header > div > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 4px; background: #17191d; color: #fff; font-size: 10px; font-weight: 850; }
.bssrn-dossier-section > header h3 { margin: 0; font-size: 20px; }
.bssrn-dossier-section > header > p { max-width: 460px; margin: 0; color: #737a84; font-size: 10px; text-align: right; }
.bssrn-check-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #d9dde2; border-left: 1px solid #d9dde2; }
.bssrn-check { display: grid; min-height: 112px; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: start; gap: 11px; padding: 16px; border-right: 1px solid #d9dde2; border-bottom: 1px solid #d9dde2; }
.bssrn-check[data-tone="success"] { background: #f0f9f3; }
.bssrn-check[data-tone="warning"] { background: #fffaf0; }
.bssrn-check[data-tone="danger"] { background: #fff3f5; }
.bssrn-check-icon { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: #fff; color: #b87900; box-shadow: inset 0 0 0 1px #d9dde2; }
.bssrn-check[data-tone="success"] .bssrn-check-icon { color: #168447; }
.bssrn-check[data-tone="danger"] .bssrn-check-icon { color: #c50a32; }
.bssrn-check strong { display: block; font-size: 12px; }
.bssrn-check p { margin: 5px 0 0; color: #464c55; font-size: 10px; line-height: 1.5; }
.bssrn-source-refs { display: block; margin-top: 9px; }
.bssrn-source-refs summary { display: inline-flex; align-items: center; gap: 4px; color: #616872; cursor: pointer; font-size: 8px; font-weight: 800; }
.bssrn-source-refs summary svg { width: 10px !important; height: 10px !important; }
.bssrn-source-refs ul { margin: 7px 0 0; padding: 9px 10px 9px 26px; border: 1px solid #d9dde2; background: #f5f6f8; color: #59606a; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 8px; line-height: 1.5; overflow-wrap: anywhere; }
.bssrn-dossier-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bssrn-dossier-person { border: 1px solid #d9dde2; border-top: 4px solid #17191d; background: #fff; }
.bssrn-dossier-person > header { display: flex; align-items: center; gap: 11px; padding: 15px; border-bottom: 1px solid #d9dde2; }
.bssrn-dossier-person > header > span { display: grid; width: 36px; height: 36px; flex: none; place-items: center; border-radius: 50%; background: #d90b35; color: #fff; font-size: 10px; font-weight: 850; }
.bssrn-dossier-person > header > .bssrn-proof-state { margin-left: auto; }
.bssrn-dossier-person > header strong,
.bssrn-dossier-person > header small { display: block; }
.bssrn-dossier-person > header strong { font-size: 12px; }
.bssrn-dossier-person > header small { margin-top: 2px; color: #737a84; font-size: 9px; }
.bssrn-dossier-person dl { display: grid; grid-template-columns: 1fr; margin: 0; }
.bssrn-dossier-person dl > div { padding: 13px 15px; border-bottom: 1px solid #d9dde2; }
.bssrn-dossier-person dt { color: #747b84; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.bssrn-dossier-person dd { margin: 4px 0 0; color: #343941; font-size: 10px; line-height: 1.45; overflow-wrap: anywhere; }
.bssrn-document-list { display: grid; gap: 8px; }
.bssrn-document-group { border: 1px solid #d9dde2; background: #fff; }
.bssrn-document-group > summary { display: flex; min-height: 50px; align-items: center; justify-content: space-between; gap: 16px; padding: 0 15px; cursor: pointer; }
.bssrn-document-group > summary > span { display: inline-flex; align-items: center; gap: 9px; }
.bssrn-document-group > summary strong { font-size: 11px; text-transform: capitalize; }
.bssrn-document-group > summary small { color: #737a84; font-size: 9px; }
.bssrn-document-group > div { border-top: 1px solid #d9dde2; }
.bssrn-document-row { display: grid; grid-template-columns: minmax(170px, .65fr) minmax(220px, 1fr) auto; align-items: start; gap: 16px; min-height: 72px; padding: 13px 15px; border-bottom: 1px solid #e1e4e8; }
.bssrn-document-row:last-child { border-bottom: 0; }
.bssrn-document-row strong,
.bssrn-document-row small { display: block; }
.bssrn-document-row strong { font-size: 10px; overflow-wrap: anywhere; }
.bssrn-document-row small { margin-top: 3px; color: #737a84; font-size: 8px; }
.bssrn-document-row p { margin: 0; color: #3f454d; font-size: 9px; line-height: 1.5; }
.bssrn-document-row > .bssrn-source-refs { grid-column: 1 / -1; margin-top: -4px; }
.bssrn-roadmap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #d9dde2; border-left: 1px solid #d9dde2; }
.bssrn-roadmap article { min-height: 135px; padding: 17px; border-right: 1px solid #d9dde2; border-bottom: 1px solid #d9dde2; }
.bssrn-roadmap strong { color: #b1082b; font-size: 10px; }
.bssrn-roadmap p { margin: 7px 0 0; color: #3f454d; font-size: 10px; line-height: 1.5; }
.bssrn-dossier-section--pitch { background: #17191d; color: #fff; }
.bssrn-dossier-section--pitch > header h3 { color: #fff; }
.bssrn-dossier-section--pitch > header > div > span { background: #d90b35; }
.bssrn-dossier-section--pitch > header > p { color: #aeb4be; }
.bssrn-pitch-summary { border-top: 1px solid #3a3e45; }
.bssrn-pitch-section { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid #3a3e45; }
.bssrn-pitch-section > span { color: #ff5578; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 16px; font-weight: 850; }
.bssrn-pitch-section h4 { margin: 0; color: #fff; font-size: 14px; }
.bssrn-pitch-section p { max-width: 820px; margin: 7px 0 0; color: #c7cbd2; font-size: 11px; line-height: 1.65; }
.bssrn-dossier-section--pitch .bssrn-source-refs summary { color: #c4cad3; }
.bssrn-dossier-section--pitch .bssrn-source-refs ul { border-color: #444851; background: #24272c; color: #c3c8d0; }
.bssrn-dossier-footer { display: flex; align-items: center; gap: 18px; padding: 15px 30px; background: #fff; color: #737a84; font-size: 9px; }
.bssrn-dossier-footer > span { display: inline-flex; align-items: center; gap: 5px; }
.bssrn-dossier-footer .bssrn-button { margin-left: auto; }

/* Human-readable evidence cards and stable status badges */
.bssrn-proof-state {
  position: static;
  display: inline-grid;
  min-width: 108px;
  min-height: 32px;
  align-self: start;
  grid-template-columns: 16px minmax(0, auto);
  align-items: center;
  justify-content: start;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid #abb1b9;
  border-radius: 5px;
  background: #eef0f2;
  color: #343941;
  font-size: 9px;
  font-weight: 850;
  line-height: 1.15;
  white-space: nowrap;
}
.bssrn-proof-state svg { width: 14px !important; height: 14px !important; }
.bssrn-proof-state > span { min-width: 0; }
.bssrn-proof-state[data-tone="success"] { border-color: #208649; background: #d7f0df; color: #0f6633; }
.bssrn-proof-state[data-tone="warning"] { border-color: #bd7900; background: #ffe8a8; color: #714900; }
.bssrn-proof-state[data-tone="danger"] { border-color: #d30c34; background: #ffd9e2; color: #a30729; }
.bssrn-profile-proofs td .bssrn-proof-state { width: max-content; max-width: 100%; }
.bssrn-source-refs { display: block; margin-top: 11px; }
.bssrn-source-refs > summary {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  gap: 8px;
  padding: 5px 9px;
  border: 1px solid #cbd1d8;
  border-radius: 4px;
  background: #fff;
  color: #343a42;
  cursor: pointer;
  list-style: none;
}
.bssrn-source-refs > summary::-webkit-details-marker { display: none; }
.bssrn-source-refs > summary::marker { content: ""; }
.bssrn-source-refs > summary > svg { width: 14px !important; height: 14px !important; color: #c20a31; }
.bssrn-source-refs > summary > span { display: grid; gap: 1px; }
.bssrn-source-refs > summary strong { color: inherit; font-size: 9px; line-height: 1.15; }
.bssrn-source-refs > summary small { color: #737a84; font-size: 7px; font-weight: 700; line-height: 1.15; }
.bssrn-source-refs[open] > summary { border-color: #8f969f; background: #f7f8fa; }
.bssrn-source-body { margin-top: 8px; border: 1px solid #d5dae0; background: #f7f8fa; }
.bssrn-source-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bssrn-source-card {
  display: grid;
  min-height: 116px;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 10px 12px;
  padding: 14px;
  border-right: 1px solid #dce0e5;
  border-bottom: 1px solid #dce0e5;
  background: #fff;
}
.bssrn-source-card:nth-child(even) { border-right: 0; }
.bssrn-source-card-icon { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #cfd4da; border-radius: 50%; background: #f8f9fa; color: #454b53; }
.bssrn-source-card[data-kind="form"] .bssrn-source-card-icon { border-color: #9eb8d0; background: #edf5fb; color: #174b78; }
.bssrn-source-card[data-kind="pitchdeck"] .bssrn-source-card-icon,
.bssrn-source-card[data-kind="ideenpapier"] .bssrn-source-card-icon,
.bssrn-source-card[data-kind="meilensteinplan"] .bssrn-source-card-icon { border-color: #e89aab; background: #fff0f3; color: #b1082b; }
.bssrn-source-card[data-scope="protected"] { border-left: 4px solid #174b78; background: #f1f6fa; }
.bssrn-source-card[data-scope="protected"] .bssrn-source-card-icon { border-color: #8cabc5; background: #dcebf6; color: #174b78; }
.bssrn-source-card-icon svg { width: 14px !important; height: 14px !important; }
.bssrn-source-card-copy { min-width: 0; }
.bssrn-source-card-copy small,
.bssrn-source-card-copy strong,
.bssrn-source-card-copy > span { display: block; }
.bssrn-source-card-copy small { color: #6a717b; font-size: 9px; font-weight: 850; line-height: 1.2; text-transform: uppercase; }
.bssrn-source-card-copy strong { margin-top: 3px; color: #24282e; font-size: 12px; line-height: 1.3; overflow-wrap: break-word; word-break: normal; hyphens: auto; }
.bssrn-source-card-copy > span { margin-top: 4px; color: #646b74; font-size: 10px; line-height: 1.35; }
.bssrn-source-actions {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 7px;
}
.bssrn-source-action {
  display: inline-flex;
  min-height: 36px;
  flex: 1 1 118px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 9px;
  border: 1px solid #bdc3ca;
  border-radius: 4px;
  background: #fff;
  color: #343a42;
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}
.bssrn-source-action:hover { border-color: #343a42; background: #f4f5f7; color: #15171a; }
.bssrn-source-action svg { width: 13px !important; height: 13px !important; flex: 0 0 auto; }
.bssrn-source-action > span { display: inline; color: inherit; font: inherit; }
.bssrn-source-preview[data-scope="project"] { border-color: var(--rn-red); background: var(--rn-red); color: #fff; }
.bssrn-source-preview[data-scope="project"]:hover { border-color: var(--rn-red-dark); background: var(--rn-red-dark); color: #fff; }
.bssrn-source-preview[data-scope="protected"] { border-color: #174b78; background: #174b78; color: #fff; }
.bssrn-source-preview[data-scope="protected"]:hover { border-color: #0c3558; background: #0c3558; }
.bssrn-source-original[data-scope="protected"] { border-color: #7e9bb4; color: #174b78; }
.bssrn-dossier-person .bssrn-source-grid,
.bssrn-check .bssrn-source-grid,
.bssrn-profile-action .bssrn-source-grid,
.bssrn-roadmap .bssrn-source-grid { grid-template-columns: minmax(0, 1fr); }
.bssrn-dossier-person .bssrn-source-card,
.bssrn-check .bssrn-source-card,
.bssrn-profile-action .bssrn-source-card,
.bssrn-roadmap .bssrn-source-card { border-right: 0; }
.bssrn-dossier-section--pitch .bssrn-source-action { border-color: #5a6069; background: #1b1e22; color: #f5f6f8; }
.bssrn-dossier-section--pitch .bssrn-source-action:hover { border-color: #f5f6f8; background: #2e3238; }
.bssrn-source-result { display: flex; min-height: 48px; align-items: center; gap: 9px; padding: 9px 12px; border-top: 1px solid #d5dae0; background: #fff; color: #4c535c; }
.bssrn-source-result > svg { width: 17px !important; height: 17px !important; }
.bssrn-source-result span { display: grid; gap: 1px; }
.bssrn-source-result small { color: #777e87; font-size: 7px; font-weight: 850; text-transform: uppercase; }
.bssrn-source-result strong { font-size: 9px; }
.bssrn-source-result[data-tone="success"] { border-left: 4px solid #24864a; color: #176b38; }
.bssrn-source-result[data-tone="warning"] { border-left: 4px solid #bd7b00; color: #7a5100; }
.bssrn-source-result[data-tone="danger"] { border-left: 4px solid #d50c2f; color: #a30729; }
.bssrn-dossier-section--pitch .bssrn-source-refs > summary { border-color: #555a63; background: #24272c; color: #f0f2f5; }
.bssrn-dossier-section--pitch .bssrn-source-refs > summary small { color: #b8bec7; }
.bssrn-dossier-section--pitch .bssrn-source-body { border-color: #454a53; background: #202328; }
.bssrn-dossier-section--pitch .bssrn-source-card { border-color: #41464e; background: #24272c; }
.bssrn-dossier-section--pitch .bssrn-source-card strong { color: #f5f6f8; }
.bssrn-dossier-section--pitch .bssrn-source-card small,
.bssrn-dossier-section--pitch .bssrn-source-card > div > span { color: #b8bec7; }
.bssrn-dossier-section--pitch .bssrn-source-result { border-color: #454a53; background: #24272c; }
.bssrn-visual-dialog { width: min(1120px, calc(100vw - 32px)); max-width: 1120px; padding: 0; overflow: hidden; border: 0; border-radius: 6px; background: #17191d; box-shadow: 0 30px 90px rgba(0,0,0,.5); }
.bssrn-visual-dialog::backdrop { background: rgba(10,11,13,.82); }
.bssrn-visual-dialog > .bssrn-icon-button { position: absolute; top: 12px; right: 12px; z-index: 2; border-color: #4c515a !important; background: #17191d; color: #fff; }
.bssrn-visual-dialog figure { display: grid; max-height: calc(100vh - 40px); grid-template-rows: minmax(0, 1fr) auto; margin: 0; }
.bssrn-visual-dialog img { width: 100%; max-height: calc(100vh - 130px); object-fit: contain; background: #0d0e10; }
.bssrn-visual-dialog figcaption { padding: 16px 20px; color: #fff; }
.bssrn-visual-dialog figcaption strong,
.bssrn-visual-dialog figcaption span { display: block; }
.bssrn-visual-dialog figcaption span { margin-top: 3px; color: #b9bec7; font-size: 10px; }

/* Dossier run and scoped Excel replacement for the former CSV export */
.bssrn-dialog--dossier { width: min(900px, calc(100vw - 32px)); max-width: 900px; }
.bssrn-dialog--excel { width: min(720px, calc(100vw - 32px)); max-width: 720px; }
.bssrn-run-form > header,
.bssrn-export-form > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 24px 26px 20px; border-bottom: 1px solid var(--rn-line); }
.bssrn-run-form > header h2,
.bssrn-export-form > header h2 { margin: 0; font-size: 27px; line-height: 1.15; }
.bssrn-run-form > header p,
.bssrn-export-form > header p { margin: 6px 0 0; color: var(--rn-muted); font-size: 12px; }
.bssrn-run-flow { display: grid; grid-template-columns: 1fr 20px 1fr 20px 1fr 20px 1fr; align-items: center; gap: 5px; padding: 15px 26px; border-bottom: 1px solid var(--rn-line); background: #17191d; color: #fff; }
.bssrn-run-flow > span { display: flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 750; }
.bssrn-run-flow b { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: var(--rn-red); font-size: 9px; }
.bssrn-run-flow > svg { width: 14px; color: #767c86; }
.bssrn-run-target { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 12px; margin: 22px 26px 0; padding: 14px; border: 1px solid var(--rn-line); background: var(--rn-paper-2); }
.bssrn-run-target > svg { color: var(--rn-red); }
.bssrn-run-target strong,
.bssrn-run-target span { display: block; }
.bssrn-run-target strong { font-size: 12px; }
.bssrn-run-target span { margin-top: 2px; color: var(--rn-muted); font-size: 9px; }
.bssrn-run-target > b { color: var(--rn-red-dark); font-size: 11px; }
.bssrn-run-mode { display: grid; gap: 8px; margin: 22px 26px 0; padding: 0; border: 0; }
.bssrn-run-mode legend { margin-bottom: 8px; font-size: 12px; font-weight: 800; }
.bssrn-run-mode label { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: start; gap: 10px; padding: 12px; border: 1px solid var(--rn-line); cursor: pointer; }
.bssrn-run-mode label:has(input:checked) { border-color: var(--rn-red); background: var(--rn-red-soft); }
.bssrn-run-mode input { margin-top: 2px; accent-color: var(--rn-red); }
.bssrn-run-mode strong,
.bssrn-run-mode small { display: block; }
.bssrn-run-mode strong { font-size: 11px; }
.bssrn-run-mode small { margin-top: 3px; color: var(--rn-muted); font-size: 9px; }
.bssrn-run-guard { display: flex; gap: 13px; margin: 20px 26px 0; padding: 14px; border-left: 4px solid var(--rn-info); background: var(--rn-info-soft); color: #163e64; }
.bssrn-run-guard > svg { flex: none; }
.bssrn-run-guard strong { font-size: 11px; }
.bssrn-run-guard p { margin: 4px 0 0; font-size: 9px; line-height: 1.55; }
.bssrn-run-form > footer,
.bssrn-export-form > footer { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; padding: 16px 26px; border-top: 1px solid var(--rn-line); background: var(--rn-paper-2); }
.bssrn-export-section { padding: 22px 26px 0; }
.bssrn-export-section + .bssrn-export-section { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--rn-line); }
.bssrn-export-section-title { display: flex; align-items: center; gap: 11px; margin-bottom: 13px; }
.bssrn-export-section-title > span { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 4px; background: var(--rn-ink); color: #fff; font-size: 9px; font-weight: 850; }
.bssrn-export-section-title strong,
.bssrn-export-section-title small { display: block; }
.bssrn-export-section-title strong { font-size: 13px; }
.bssrn-export-section-title small { margin-top: 2px; color: var(--rn-muted); font-size: 9px; }
.bssrn-export-select-actions { display: flex; gap: 5px; margin-left: auto; }
.bssrn-export-select-actions button { padding: 5px 8px; border: 1px solid var(--rn-line) !important; border-radius: 4px; background: #fff; color: var(--rn-muted); cursor: pointer; font-size: 9px; font-weight: 800; }
.bssrn-export-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.bssrn-export-columns label { min-width: 0; cursor: pointer; }
.bssrn-export-columns input { position: absolute; opacity: 0; pointer-events: none; }
.bssrn-export-columns label > span { display: grid; min-height: 58px; grid-template-columns: 22px minmax(0, 1fr); align-content: center; column-gap: 8px; padding: 10px; border: 1px solid var(--rn-line); background: #fff; }
.bssrn-export-columns label:has(input:checked) > span { border-color: #82bc94; background: #eff9f2; box-shadow: inset 3px 0 var(--rn-success); }
.bssrn-export-columns label[data-sensitive="true"] > span { border-style: dashed; }
.bssrn-export-columns label[data-sensitive="true"]:has(input:checked) > span { border-color: #d2ae52; background: #fff9e8; box-shadow: inset 3px 0 var(--rn-warning); }
.bssrn-export-columns svg { grid-row: 1 / 3; align-self: center; width: 15px !important; color: var(--rn-success); }
.bssrn-export-columns label:not([data-sensitive="true"]) input:not(:checked) + span > svg { opacity: 0; }
.bssrn-export-columns label[data-sensitive="true"] svg { color: var(--rn-warning); }
.bssrn-export-columns strong,
.bssrn-export-columns small { display: block; min-width: 0; }
.bssrn-export-columns strong { overflow-wrap: anywhere; font-size: 10px; }
.bssrn-export-columns small { margin-top: 2px; color: #6f5520; font-size: 8px; }
.bssrn-export-note { display: flex; gap: 8px; margin: 13px 0 0; color: var(--rn-muted); font-size: 9px; line-height: 1.45; }
.bssrn-export-note svg { flex: none; width: 15px !important; color: var(--rn-info); }

/* Interview request */
.bssrn-dialog {
  width: min(760px, calc(100vw - 32px));
  max-width: 760px;
  max-height: min(900px, calc(100dvh - 32px));
  overflow: auto;
  padding: 0;
  border: 1px solid var(--rn-line-strong);
  border-radius: 7px;
  background: var(--rn-paper);
  color: var(--rn-ink);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .3);
}
.bssrn-dialog::backdrop { background: rgba(17, 19, 23, .64); backdrop-filter: blur(2px); }
.bssrn-interview-form > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 24px 26px 20px; border-bottom: 1px solid var(--rn-line); }
.bssrn-interview-form > header h2 { margin: 0; font-size: 27px; line-height: 1.15; }
.bssrn-interview-form > header p { margin: 6px 0 0; color: var(--rn-muted); font-size: 12px; }
.bssrn-icon-button { display: grid; width: 40px; height: 40px; flex: none; place-items: center; border: 1px solid var(--rn-line) !important; border-radius: 5px; background: var(--rn-paper); color: var(--rn-ink-2); cursor: pointer; }
.bssrn-interview-steps { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--rn-line); background: var(--rn-paper-2); }
.bssrn-interview-steps span { display: flex; min-height: 50px; align-items: center; gap: 8px; padding: 0 16px; border-right: 1px solid var(--rn-line); color: var(--rn-muted); font-size: 11px; font-weight: 700; }
.bssrn-interview-steps span:last-child { border-right: 0; }
.bssrn-interview-steps b { display: grid; width: 22px; height: 22px; place-items: center; border: 1px solid var(--rn-line-strong); border-radius: 50%; background: #fff; color: var(--rn-muted); font-size: 10px; }
.bssrn-interview-steps span[data-active="true"] { color: var(--rn-red-dark); }
.bssrn-interview-steps span[data-active="true"] b { border-color: var(--rn-red); background: var(--rn-red); color: #fff; }
.bssrn-field { display: grid; gap: 7px; padding: 22px 26px 0; color: var(--rn-ink-2); font-size: 12px; font-weight: 750; }
.bssrn-field textarea,
.bssrn-field select,
.bssrn-field input { width: 100%; min-height: 44px; border: 1px solid var(--rn-line-strong); border-radius: 5px; outline: 0; background: #fff; color: var(--rn-ink); font-size: 13px; font-weight: 400; }
.bssrn-field textarea { min-height: 108px; resize: vertical; padding: 12px; line-height: 1.5; }
.bssrn-field select,
.bssrn-field input { padding: 0 11px; }
.bssrn-field textarea:focus,
.bssrn-field select:focus,
.bssrn-field input:focus { border-color: var(--rn-red); box-shadow: 0 0 0 3px rgba(217, 11, 53, .09); }
.bssrn-field small { color: var(--rn-muted); font-size: 10px; font-weight: 500; }
.bssrn-plan-summary { display: flex; align-items: center; gap: 12px; margin: 18px 26px 0; padding: 13px 14px; border-left: 3px solid var(--rn-info); background: var(--rn-info-soft); }
.bssrn-plan-summary > svg { flex: none; color: var(--rn-info); }
.bssrn-plan-summary strong,
.bssrn-plan-summary span { display: block; }
.bssrn-plan-summary strong { font-size: 12px; }
.bssrn-plan-summary span { margin-top: 2px; color: var(--rn-muted); font-size: 10px; }
.bssrn-plan-details { margin: 14px 26px 0; border-top: 1px solid var(--rn-line); border-bottom: 1px solid var(--rn-line); }
.bssrn-plan-details summary { padding: 13px 0; color: var(--rn-ink-2); cursor: pointer; font-size: 12px; font-weight: 800; }
.bssrn-plan-fields { display: grid; gap: 18px; padding: 4px 0 18px; }
.bssrn-plan-fields fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.bssrn-plan-fields legend { font-size: 12px; font-weight: 800; }
.bssrn-plan-fields fieldset > p { margin: 4px 0 10px; color: var(--rn-muted); font-size: 10px; }
.bssrn-plan-fields .bssrn-field { padding: 0; }
.bssrn-contact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bssrn-contact-choice { display: grid; min-width: 0; grid-template-columns: 18px minmax(0, 1fr); align-items: center; gap: 9px; min-height: 52px; padding: 8px 10px; border: 1px solid var(--rn-line); border-radius: 5px; cursor: pointer; }
.bssrn-contact-choice:has(input:checked) { border-color: #a9d4b7; background: var(--rn-success-soft); }
.bssrn-contact-choice input { width: 16px; height: 16px; accent-color: var(--rn-success); }
.bssrn-contact-choice strong,
.bssrn-contact-choice small { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bssrn-contact-choice strong { font-size: 11px; }
.bssrn-contact-choice small { margin-top: 2px; color: var(--rn-muted); font-size: 9px; }
.bssrn-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bssrn-no-mail { display: flex; gap: 12px; margin: 18px 26px 0; padding: 14px; border-left: 3px solid var(--rn-warning); background: var(--rn-warning-soft); }
.bssrn-no-mail > svg { flex: none; color: var(--rn-warning); }
.bssrn-no-mail strong,
.bssrn-no-mail span { display: block; }
.bssrn-no-mail strong { color: #654000; font-size: 12px; }
.bssrn-no-mail span { margin-top: 3px; color: #765311; font-size: 10px; line-height: 1.5; }
.bssrn-inline-error { padding: 12px; border-left: 3px solid var(--rn-red); background: var(--rn-red-soft); color: var(--rn-red-dark); font-size: 11px; }
.bssrn-interview-form > footer { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 20px; padding: 16px 26px; border-top: 1px solid var(--rn-line); background: var(--rn-paper-2); }

.bssrn-dialog--review { width: min(820px, calc(100vw - 32px)); max-width: 820px; }
.bssrn-review-form > header { display: grid; grid-template-columns: 52px minmax(0, 1fr) 40px; align-items: start; gap: 15px; padding: 24px 26px 20px; border-bottom: 1px solid var(--rn-line); background: #17191d; color: #fff; }
.bssrn-review-form > header[data-mode="reopen"] { background: #33280f; }
.bssrn-review-form > header h2 { margin: 3px 0 5px; color: #fff; font-size: 27px; line-height: 1.15; }
.bssrn-review-form > header p { margin: 0; color: #bfc4cc; font-size: 11px; }
.bssrn-review-form > header .bssrn-kicker { color: #ff6b88; }
.bssrn-review-form > header[data-mode="reopen"] .bssrn-kicker { color: #ffd368; }
.bssrn-review-form > header .bssrn-icon-button { border-color: #4a4e56 !important; background: #24272c; color: #fff; }
.bssrn-review-dialog-mark { display: grid; width: 50px; height: 50px; place-items: center; border: 1px solid #4a4e56; border-radius: 50%; background: #24272c; color: #ff5477; }
.bssrn-review-form > header[data-mode="reopen"] .bssrn-review-dialog-mark { border-color: #6c5929; background: #4b3b15; color: #ffd368; }
.bssrn-review-dialog-mark svg { width: 23px !important; height: 23px !important; }
.bssrn-review-boundary { display: flex; gap: 11px; padding: 14px 26px; border-bottom: 1px solid #b8d2e8; background: #e8f2f9; color: #174b77; }
.bssrn-review-boundary svg { flex: none; margin-top: 1px; }
.bssrn-review-boundary p { margin: 0; font-size: 10px; line-height: 1.5; }
.bssrn-review-checklist { display: grid; gap: 8px; margin: 0; padding: 20px 26px 4px; border: 0; }
.bssrn-review-checklist legend { padding: 0; color: #343941; font-size: 11px; font-weight: 850; }
.bssrn-review-check { display: grid; min-width: 0; grid-template-columns: 22px 18px 36px minmax(0, 1fr); align-items: center; gap: 10px; min-height: 70px; padding: 11px 13px; border: 1px solid #d7dbe0; border-radius: 5px; background: #fff; cursor: pointer; transition: border-color .15s ease, background .15s ease, box-shadow .15s ease; }
.bssrn-review-check:has(input:checked) { border-color: #77b38b; background: #edf8f0; box-shadow: inset 4px 0 #27804a; }
.bssrn-review-check input { width: 18px; height: 18px; margin: 0; accent-color: #217642; }
.bssrn-review-check-number { color: #a3a8af; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; font-weight: 900; }
.bssrn-review-check-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: #f0f2f4; color: #555c65; }
.bssrn-review-check:has(input:checked) .bssrn-review-check-icon { background: #d9efdf; color: #176b38; }
.bssrn-review-check-icon svg { width: 16px !important; height: 16px !important; }
.bssrn-review-check strong,
.bssrn-review-check small { display: block; }
.bssrn-review-check strong { font-size: 11px; }
.bssrn-review-check small { margin-top: 3px; color: #686f78; font-size: 9px; line-height: 1.4; }
.bssrn-review-note { padding-top: 18px; }
.bssrn-review-reopen-warning { display: flex; gap: 12px; margin: 20px 26px 0; padding: 15px; border-left: 4px solid #bd7a00; background: #fff3d6; color: #674500; }
.bssrn-review-reopen-warning svg { flex: none; }
.bssrn-review-reopen-warning strong,
.bssrn-review-reopen-warning span { display: block; }
.bssrn-review-reopen-warning strong { font-size: 12px; }
.bssrn-review-reopen-warning span { margin-top: 3px; font-size: 10px; line-height: 1.5; }
.bssrn-review-readiness { display: flex; align-items: center; gap: 8px; margin: 15px 26px 0; padding: 10px 12px; border-left: 3px solid #c08a1a; background: #fff8e7; color: #75540d; font-size: 9px; line-height: 1.45; }
.bssrn-review-readiness[data-ready="true"] { border-left-color: #258149; background: #eaf7ee; color: #185f35; }
.bssrn-review-readiness svg { flex: none; width: 15px !important; height: 15px !important; }
.bssrn-review-form > footer { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 20px; padding: 16px 26px; border-top: 1px solid var(--rn-line); background: var(--rn-paper-2); }

@media (max-width: 1320px) {
  .bssrn-toolbar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bssrn-toolbar .bssrn-search { grid-column: span 2; }
  .bssrn-detail-toolbar { grid-template-columns: minmax(240px, 2fr) repeat(3, minmax(135px, 1fr)); }
  .bssrn-evidence-grid { grid-template-columns: 1fr 1fr; }
  .bssrn-evidence { border-bottom: 1px solid var(--rn-line); }
  .bssrn-evidence:nth-child(even) { border-right: 0; }
  .bssrn-evidence:nth-child(odd):not(:first-child) { padding-left: 0; }
  .bssrn-evidence:last-child { grid-column: 1 / -1; border-right: 0; border-bottom: 0; padding-left: 0; }
  .bssrn-evidence:nth-child(3) { padding-left: 0; }
  .bssrn-dossier-command { grid-template-columns: 48px minmax(240px, 1fr) minmax(190px, 260px); }
  .bssrn-dossier-command > .bssrn-button { grid-column: 2 / -1; justify-self: end; }
}

/* The BSS rail reduces the usable work area without changing viewport width. */
@container bss-review (max-width: 1320px) {
  .bssrn-toolbar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bssrn-toolbar .bssrn-search { grid-column: span 2; }
  .bssrn-detail-toolbar { grid-template-columns: minmax(240px, 2fr) repeat(3, minmax(135px, 1fr)); }
  .bssrn-evidence-grid { grid-template-columns: 1fr 1fr; }
  .bssrn-evidence { border-bottom: 1px solid var(--rn-line); }
  .bssrn-evidence:nth-child(even) { border-right: 0; }
  .bssrn-evidence:nth-child(odd):not(:first-child) { padding-left: 0; }
  .bssrn-evidence:last-child { grid-column: 1 / -1; border-right: 0; border-bottom: 0; padding-left: 0; }
  .bssrn-evidence:nth-child(3) { padding-left: 0; }
  .bssrn-dossier-command { grid-template-columns: 48px minmax(240px, 1fr) minmax(190px, 260px); }
  .bssrn-dossier-command > .bssrn-button { grid-column: 2 / -1; justify-self: end; }
}

@container bss-review (max-width: 900px) {
  .bssrn-page-head,
  .bssrn-selection-head,
  .bssrn-section-head { align-items: flex-start; flex-direction: column; }
  .bssrn-selection-head { display: flex; }
  .bssrn-target { width: 100%; min-width: 0; }
  .bssrn-toolbar,
  .bssrn-detail-toolbar { grid-template-columns: 1fr 1fr; padding: 14px 18px; }
  .bssrn-toolbar .bssrn-search,
  .bssrn-search { grid-column: 1 / -1; }
  .bssrn-toolbar > :nth-last-child(-n+2) { grid-row: auto; }
  .bssrn-selection-workspace,
  .bssrn-detail-workspace { grid-template-columns: 1fr; }
  .bssrn-queue,
  .bssrn-detail-list { border-right: 0; }
  .bssrn-queue-list,
  .bssrn-detail-list-body { max-height: none; }
  .bssrn-record,
  .bssrn-detail-record { border-top: 1px solid var(--rn-line-strong); }
  .bssrn-decision-review { grid-template-columns: 1fr 1fr; }
  .bssrn-decision-review p { grid-column: 1 / -1; }
  .bssrn-interview-strip { grid-template-columns: 42px minmax(0, 1fr); }
  .bssrn-interview-actions { grid-column: 2; min-width: 0; grid-template-columns: auto auto; align-items: center; justify-content: start; justify-items: start; }
  .bssrn-comments { grid-template-columns: 1fr; }
  .bssrn-access-note { order: -1; }
  .bssrn-protocol-filters { grid-template-columns: 1fr 1fr; }
  .bssrn-member-row { grid-template-columns: minmax(200px, 1fr) 1fr 120px 70px; }
  .bssrn-dossier-command { grid-template-columns: 44px minmax(0, 1fr); padding: 16px 18px; }
  .bssrn-dossier-command-icon { width: 44px; height: 44px; }
  .bssrn-dossier-run-state { grid-column: 2; }
  .bssrn-dossier-command > .bssrn-button { grid-column: 2; justify-self: start; }
  .bssrn-dossier-hero { grid-template-columns: 1fr; }
  .bssrn-dossier-verdict { min-height: 0; }
  .bssrn-check-grid,
  .bssrn-dossier-people { grid-template-columns: 1fr; }
  .bssrn-document-row { grid-template-columns: 30px minmax(170px, .8fr) minmax(180px, 1fr); }
  .bssrn-document-row > b { grid-column: 2 / -1; text-align: left; }
  .bssrn-export-columns { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .bssrn-page-head,
  .bssrn-selection-head,
  .bssrn-section-head { align-items: flex-start; flex-direction: column; }
  .bssrn-selection-head { display: flex; }
  .bssrn-target { width: 100%; min-width: 0; }
  .bssrn-toolbar,
  .bssrn-detail-toolbar { grid-template-columns: 1fr 1fr; padding: 14px 18px; }
  .bssrn-toolbar .bssrn-search,
  .bssrn-search { grid-column: 1 / -1; }
  .bssrn-toolbar > :nth-last-child(-n+2) { grid-row: auto; }
  .bssrn-selection-workspace,
  .bssrn-detail-workspace { grid-template-columns: 1fr; }
  .bssrn-queue,
  .bssrn-detail-list { border-right: 0; }
  .bssrn-queue-list,
  .bssrn-detail-list-body { max-height: none; }
  .bssrn-record,
  .bssrn-detail-record { border-top: 1px solid var(--rn-line-strong); }
  .bssrn-decision-review { grid-template-columns: 1fr 1fr; }
  .bssrn-decision-review p { grid-column: 1 / -1; }
  .bssrn-interview-strip { grid-template-columns: 42px minmax(0, 1fr); }
  .bssrn-interview-actions { grid-column: 2; min-width: 0; grid-template-columns: auto auto; align-items: center; justify-content: start; justify-items: start; }
  .bssrn-comments { grid-template-columns: 1fr; }
  .bssrn-access-note { order: -1; }
  .bssrn-protocol-filters { grid-template-columns: 1fr 1fr; }
  .bssrn-member-row { grid-template-columns: minmax(200px, 1fr) 1fr 120px 70px; }
  .bssrn-dossier-command { grid-template-columns: 44px minmax(0, 1fr); padding: 16px 18px; }
  .bssrn-dossier-command-icon { width: 44px; height: 44px; }
  .bssrn-dossier-run-state { grid-column: 2; }
  .bssrn-dossier-command > .bssrn-button { grid-column: 2; justify-self: start; }
  .bssrn-dossier-hero { grid-template-columns: 1fr; }
  .bssrn-dossier-verdict { min-height: 0; }
  .bssrn-check-grid,
  .bssrn-dossier-people { grid-template-columns: 1fr; }
  .bssrn-document-row { grid-template-columns: 30px minmax(170px, .8fr) minmax(180px, 1fr); }
  .bssrn-document-row > b { grid-column: 2 / -1; text-align: left; }
  .bssrn-export-columns { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  #bss-review-next { margin-bottom: 24px; }
  .bssrn-shell { border-right: 0; border-left: 0; border-radius: 0; }
  .bssrn-page-head { min-height: 0; padding: 20px 16px; }
  .bssrn-page-head h1 { font-size: 27px; }
  .bssrn-updated { white-space: normal; }
  .bssrn-selection-head { padding: 16px; }
  .bssrn-metrics { width: 100%; grid-template-columns: 1fr 1fr; }
  .bssrn-metric { padding: 12px; border-bottom: 1px solid var(--rn-line); }
  .bssrn-metric:nth-child(2) { border-right: 0; }
  .bssrn-metric:nth-last-child(-n+2) { border-bottom: 0; }
  .bssrn-metric:nth-child(3) { padding-left: 0; }
  .bssrn-view-nav { display: grid; grid-template-columns: 1fr 1fr; padding: 8px 16px; }
  .bssrn-view-nav button { justify-content: center; white-space: normal; }
  .bssrn-toolbar,
  .bssrn-detail-toolbar { grid-template-columns: 1fr; padding: 12px 16px; }
  .bssrn-search { grid-column: auto; }
  .bssrn-queue-head { position: sticky; top: 0; z-index: 2; background: var(--rn-paper-2); }
  .bssrn-record-head { display: block; padding: 20px 16px 16px; }
  .bssrn-record-title h2 { font-size: 24px; }
  .bssrn-decision-stamp { margin-top: 13px; text-align: left; }
  .bssrn-record-tabs { overflow-x: auto; gap: 18px; padding: 0 16px; }
  .bssrn-record-tabs button { flex: none; }
  .bssrn-record-body,
  .bssrn-detail-content { padding: 18px 16px; }
  .bssrn-interview-strip { grid-template-columns: 38px minmax(0, 1fr); gap: 12px; }
  .bssrn-interview-icon { width: 36px; height: 36px; }
  .bssrn-interview-actions { grid-column: 1 / -1; grid-template-columns: 1fr; justify-items: stretch; }
  .bssrn-interview-actions .bssrn-interview-status { justify-self: start; }
  .bssrn-interview-actions .bssrn-button { width: 100%; }
  .bssrn-evidence-grid { grid-template-columns: 1fr; }
  .bssrn-evidence,
  .bssrn-evidence:nth-child(2),
  .bssrn-evidence:nth-child(3) { padding: 16px 0; border-right: 0; border-bottom: 1px solid var(--rn-line); }
  .bssrn-evidence:last-child { border-bottom: 0; }
  .bssrn-decision-options { grid-template-columns: 1fr 1fr; }
  .bssrn-decision-review { grid-template-columns: 1fr; }
  .bssrn-decision-review p { grid-column: auto; }
  .bssrn-decision-review .bssrn-button { width: 100%; }
  .bssrn-comment--reply { margin-left: 22px; }
  .bssrn-protocol,
  .bssrn-setup { padding: 20px 16px 28px; }
  .bssrn-protocol-filters { grid-template-columns: 1fr; }
  .bssrn-setup-summary { grid-template-columns: 1fr; }
  .bssrn-setup-summary div { border-right: 0; border-bottom: 1px solid var(--rn-line); }
  .bssrn-setup-summary div:last-child { border-bottom: 0; }
  .bssrn-member-row { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
  .bssrn-member-scope,
  .bssrn-access-state { grid-column: 1 / -1; }
  .bssrn-detail-list-head,
  .bssrn-detail-row { grid-template-columns: minmax(120px, 1fr) 42px 34px 54px 22px; }
  .bssrn-detail-list-head > :nth-child(5),
  .bssrn-detail-row > :nth-child(5) { display: none; }
  .bssrn-detail-links { margin-top: 16px; }
  .bssrn-detail-row { min-height: 68px; padding: 9px 12px; }
  .bssrn-detail-list-head { padding: 0 12px; }
  .bssrn-mobile-mode-detail .bssrn-detail-list { display: none; }
  .bssrn-mobile-mode-list .bssrn-detail-record { display: none; }
  .bssrn-mobile-back { display: inline-flex; margin-bottom: 14px; }
  .bssrn-toast { right: 12px; bottom: 12px; left: 12px; max-width: none; }
  .bssrn-interview-form > header { padding: 20px 18px 16px; }
  .bssrn-interview-form > header h2 { font-size: 23px; }
  .bssrn-interview-steps { grid-template-columns: 1fr; }
  .bssrn-interview-steps span { min-height: 40px; border-right: 0; border-bottom: 1px solid var(--rn-line); }
  .bssrn-interview-steps span:last-child { border-bottom: 0; }
  .bssrn-field { padding: 18px 18px 0; }
  .bssrn-plan-summary,
  .bssrn-plan-details,
  .bssrn-no-mail { margin-right: 18px; margin-left: 18px; }
  .bssrn-contact-list,
  .bssrn-field-row { grid-template-columns: 1fr; }
  .bssrn-interview-form > footer { align-items: stretch; flex-direction: column-reverse; padding: 14px 18px; }
  .bssrn-dossier-command { grid-template-columns: 36px minmax(0, 1fr); gap: 11px; padding: 14px 16px; }
  .bssrn-dossier-command-icon { width: 36px; height: 36px; }
  .bssrn-dossier-command-copy p { display: none; }
  .bssrn-dossier-command > .bssrn-button { width: 100%; }
  .bssrn-record-tabs .bssrn-dossier-status span { display: none; }
  .bssrn-dossier-hero { padding: 25px 16px; }
  .bssrn-dossier-hero h3 { font-size: 27px; }
  .bssrn-dossier-safety { padding: 14px 16px; }
  .bssrn-dossier-stats { grid-template-columns: 1fr 1fr; }
  .bssrn-dossier-stats div:nth-child(2) { border-right: 0; }
  .bssrn-dossier-stats div:nth-child(-n+2) { border-bottom: 1px solid var(--rn-line); }
  .bssrn-dossier-section { padding: 24px 16px; }
  .bssrn-dossier-section > header { align-items: flex-start; flex-direction: column; gap: 8px; }
  .bssrn-dossier-section > header > p { text-align: left; }
  .bssrn-check { grid-template-columns: 28px minmax(0, 1fr); }
  .bssrn-check-state { grid-column: 2; }
  .bssrn-dossier-person dl { grid-template-columns: 1fr; }
  .bssrn-dossier-person dl div { border-right: 0; }
  .bssrn-document-row { grid-template-columns: 26px minmax(0, 1fr); }
  .bssrn-document-row > p,
  .bssrn-document-row > b { grid-column: 2; }
  .bssrn-pitch-section { grid-template-columns: 34px minmax(0, 1fr); gap: 10px; }
  .bssrn-dossier-footer { align-items: flex-start; flex-direction: column; padding: 14px 16px; }
  .bssrn-dossier-footer .bssrn-button { width: 100%; margin-left: 0; }
  .bssrn-run-form > header,
  .bssrn-export-form > header { padding: 20px 18px 16px; }
  .bssrn-run-flow { grid-template-columns: 1fr 1fr; padding: 12px 18px; }
  .bssrn-run-flow > svg { display: none; }
  .bssrn-run-target,
  .bssrn-run-mode,
  .bssrn-run-guard { margin-right: 18px; margin-left: 18px; }
  .bssrn-run-form > footer,
  .bssrn-export-form > footer { align-items: stretch; flex-direction: column-reverse; padding: 14px 18px; }
  .bssrn-export-section { padding-right: 18px; padding-left: 18px; }
  .bssrn-export-columns { grid-template-columns: 1fr; }
  .bssrn-export-section-title { align-items: flex-start; }
  .bssrn-export-select-actions { flex-direction: column; }
}

@media (max-width: 1100px) {
  .bssrn-profile-hero { grid-template-columns: 1fr; }
  .bssrn-profile-media,
  .bssrn-profile-visual-grid,
  .bssrn-profile-visual-empty { min-height: 340px; }
  .bssrn-profile-visual-grid { height: 340px; }
  .bssrn-profile-intro { min-height: 360px; }
  .bssrn-profile-actions > div { grid-template-columns: 1fr; }
  .bssrn-profile-action { border-right: 0; }
  .bssrn-roadmap { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .bssrn-profile-media,
  .bssrn-profile-visual-grid,
  .bssrn-profile-visual-empty { min-height: 300px; }
  .bssrn-profile-visual-grid { height: 300px; }
  .bssrn-profile-intro { min-height: 0; padding: 28px 22px; }
  .bssrn-profile-intro h3 { font-size: 31px; }
  .bssrn-profile-lead { font-size: 13px; }
  .bssrn-profile-verdict { grid-template-columns: minmax(0, 1fr) 68px 68px; }
  .bssrn-profile-verdict > div { padding: 12px; }
  .bssrn-profile-actions > header,
  .bssrn-profile-project > header,
  .bssrn-profile-proofs > header { align-items: flex-start; flex-direction: column; gap: 7px; padding: 22px; }
  .bssrn-profile-actions > header p,
  .bssrn-profile-project > header p,
  .bssrn-profile-proofs > header p { text-align: left; }
  .bssrn-profile-facts { grid-template-columns: 1fr 1fr; }
  .bssrn-profile-fact,
  .bssrn-profile-fact:nth-child(-n+2) { grid-column: span 1; }
  .bssrn-profile-fact:nth-child(even) { border-right: 0; }
  .bssrn-profile-fact:last-child { grid-column: 1 / -1; }
  .bssrn-profile-footer,
  .bssrn-dossier-long-head { align-items: stretch; flex-direction: column; padding: 20px 22px; }
  .bssrn-profile-footer .bssrn-button,
  .bssrn-dossier-long-head .bssrn-button { width: 100%; }
  .bssrn-check-grid,
  .bssrn-dossier-people { grid-template-columns: 1fr; }
  .bssrn-document-row { grid-template-columns: minmax(150px, .7fr) minmax(0, 1fr) auto; }
  .bssrn-roadmap { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .bssrn-profile-media,
  .bssrn-profile-visual-grid,
  .bssrn-profile-visual-empty { min-height: 270px; }
  .bssrn-profile-visual-grid { height: 270px; }
  .bssrn-profile-visual-grid[data-count="3"] { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; }
  .bssrn-profile-visual-grid[data-count="3"] .bssrn-profile-visual:first-child { grid-row: auto; grid-column: 1 / -1; }
  .bssrn-profile-intro { padding: 24px 16px; }
  .bssrn-profile-intro h3 { font-size: 27px; }
  .bssrn-profile-meta { gap: 7px 10px; margin: 18px 0; }
  .bssrn-profile-verdict { grid-template-columns: 1fr 1fr; }
  .bssrn-profile-verdict > div:first-child { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid #3c4047; }
  .bssrn-profile-action { min-height: 0; grid-template-columns: 28px minmax(0, 1fr); padding: 16px 14px; }
  .bssrn-profile-action > .bssrn-proof-state { grid-column: 2; justify-self: start; }
  .bssrn-profile-actions > header,
  .bssrn-profile-project > header,
  .bssrn-profile-proofs > header { padding: 20px 16px; }
  .bssrn-profile-facts { grid-template-columns: 1fr; }
  .bssrn-profile-fact,
  .bssrn-profile-fact:nth-child(-n+2),
  .bssrn-profile-fact:last-child { min-height: 0; grid-column: 1; padding: 18px 16px; border-right: 0; }
  .bssrn-profile-footer,
  .bssrn-dossier-long-head { padding: 18px 16px; }
  .bssrn-dossier-section { padding: 24px 16px; }
  .bssrn-dossier-section > header { align-items: flex-start; flex-direction: column; gap: 8px; }
  .bssrn-dossier-section > header > p { text-align: left; }
  .bssrn-check { grid-template-columns: 28px minmax(0, 1fr); }
  .bssrn-check > .bssrn-proof-state { grid-column: 2; justify-self: start; }
  .bssrn-document-row { grid-template-columns: 1fr; gap: 8px; }
  .bssrn-document-row > .bssrn-proof-state { justify-self: start; }
  .bssrn-document-row > .bssrn-source-refs { grid-column: 1; margin-top: 0; }
  .bssrn-source-grid { grid-template-columns: 1fr; }
  .bssrn-source-card { border-right: 0; }
  .bssrn-pitch-section { grid-template-columns: 32px minmax(0, 1fr); gap: 9px; }
  .bssrn-dossier-footer { padding: 14px 16px; }
  .bssrn-visual-dialog { width: calc(100vw - 16px); }
}

@media (max-width: 1100px) {
  .bssrn-profile-hero { grid-template-columns: 1fr; }
  .bssrn-profile-intro { min-height: 0; }
  .bssrn-profile-media,
  .bssrn-profile-visual-grid,
  .bssrn-profile-visual-empty { min-height: 430px; }
  .bssrn-profile-visual-grid { height: 430px; }
  .bssrn-profile-story-layout { grid-template-columns: 1fr; }
  .bssrn-profile-impressions { border-top: 1px solid #d9dde2; border-left: 0; }
  .bssrn-profile-impressions > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bssrn-profile-impression:nth-child(odd) { border-right: 1px solid #d9dde2; }
}

@media (max-width: 760px) {
  .bssrn-profile-intro { padding: 26px 22px; }
  .bssrn-profile-brand-lockup { align-items: flex-start; }
  .bssrn-profile-logo { width: 104px; height: 70px; }
  .bssrn-profile-intro h3 { margin-top: 23px; font-size: 34px; }
  .bssrn-profile-story > header { align-items: flex-start; flex-direction: column; gap: 7px; padding: 22px; }
  .bssrn-profile-summary-copy { padding: 24px 22px; font-size: 13px; line-height: 1.72; }
  .bssrn-profile-impressions > div { grid-template-columns: 1fr; }
  .bssrn-profile-impression:nth-child(odd) { border-right: 0; }
}

@media (max-width: 620px) {
  .bssrn-profile-brand-lockup { min-height: 0; gap: 12px; padding-bottom: 18px; }
  .bssrn-profile-logo { width: 88px; height: 62px; padding: 6px; }
  .bssrn-profile-intro h3 { font-size: 30px; }
  .bssrn-profile-lead { font-size: 13px; }
  .bssrn-profile-media,
  .bssrn-profile-visual-grid,
  .bssrn-profile-visual-empty { min-height: 340px; }
  .bssrn-profile-visual-grid { height: 340px; }
  .bssrn-profile-visual-grid[data-count="4"] { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
  .bssrn-profile-visual-grid[data-count="4"] .bssrn-profile-visual:first-child { grid-row: auto; }
  .bssrn-profile-story > header { padding: 20px 16px; }
  .bssrn-profile-summary-copy { padding: 22px 16px; }
  .bssrn-profile-impressions > header { padding-right: 16px; padding-left: 16px; }
  .bssrn-profile-impression { padding-right: 16px; padding-left: 16px; }
}

@container bss-review (max-width: 900px) {
  .bssrn-formal-review { grid-template-columns: 54px minmax(0, 1fr); padding: 24px 22px; }
  .bssrn-formal-review-mark { width: 50px; height: 50px; }
  .bssrn-formal-review-actions small { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 620px) {
  .bssrn-formal-review { grid-template-columns: 42px minmax(0, 1fr); gap: 12px; padding: 20px 16px; }
  .bssrn-formal-review-mark { width: 40px; height: 40px; }
  .bssrn-formal-review-mark svg { width: 19px !important; height: 19px !important; }
  .bssrn-formal-review-copy h3 { font-size: 20px; }
  .bssrn-formal-review-scope { align-items: flex-start; flex-direction: column; }
  .bssrn-formal-review-actions { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .bssrn-formal-review-stamp { grid-template-columns: 1fr; }
  .bssrn-formal-review-stamp q { grid-column: 1; }
  .bssrn-review-form > header { grid-template-columns: 40px minmax(0, 1fr) 36px; gap: 10px; padding: 20px 16px 17px; }
  .bssrn-review-dialog-mark { width: 38px; height: 38px; }
  .bssrn-review-form > header h2 { font-size: 21px; }
  .bssrn-review-boundary { padding: 13px 16px; }
  .bssrn-review-checklist { padding: 18px 16px 4px; }
  .bssrn-review-check { grid-template-columns: 20px 14px 30px minmax(0, 1fr); gap: 7px; padding: 10px; }
  .bssrn-review-check-icon { width: 30px; height: 30px; }
  .bssrn-review-note { padding-right: 16px; padding-left: 16px; }
  .bssrn-review-reopen-warning,
  .bssrn-review-readiness { margin-right: 16px; margin-left: 16px; }
  .bssrn-review-form > footer { align-items: stretch; flex-direction: column-reverse; padding: 14px 16px; }
}

@container bss-review (max-width: 1100px) {
  .bssrn-data-filter-row { grid-template-columns: repeat(3, minmax(130px, 1fr)); }
  .bssrn-filter-reset { width: 100%; }
}

@container bss-review (max-width: 720px) {
  .bssrn-data-tools { padding: 14px 16px; }
  .bssrn-data-tools-primary { grid-template-columns: 1fr auto; }
  .bssrn-data-search { grid-column: 1 / -1; }
  .bssrn-result-count { justify-self: start; }
  .bssrn-data-filter-row { grid-template-columns: 1fr 1fr; }
  .bssrn-detail-footer { align-items: flex-start; flex-direction: column; justify-content: center; padding: 12px 16px; }
}

@media (max-width: 760px) {
  .bssrn-data-tools { padding: 14px 16px; }
  .bssrn-data-tools-primary { grid-template-columns: 1fr auto; }
  .bssrn-data-search { grid-column: 1 / -1; }
  .bssrn-data-filter-row { grid-template-columns: 1fr 1fr; }
  .bssrn-detail-footer { align-items: flex-start; flex-direction: column; justify-content: center; padding: 12px 16px; }
}

@media (max-width: 480px) {
  .bssrn-data-tools-primary,
  .bssrn-data-filter-row { grid-template-columns: 1fr; }
  .bssrn-data-tools-primary .bssrn-button { width: 100%; }
}
