/* ==========================================================================
   Decision-rights map (tools/exhibit_rights.py): central R&D and business-
   unit leadership as two columns, the decisions her text names as rows
   between them, each joined to both sides by one hairline through the same
   centred marker, then the clarified forums and the end-state band. Builds on
   the shared slide classes in house.css (ex-sl-*); the switch between the
   slide and its stacked version is in matrix.css. The ochre and the teal are
   the site's (--gold-line, --graphic); the other colours are the slides' own,
   for the dark ground of the locked Noir direction. Gold marks only the end
   state; the rows carry no colour that could favour either party.
   ========================================================================== */

.ex-rg {
  --rg-row: rgba(255, 255, 255, 0.03);
  --rg-row-line: #22404b;
  --rg-link: #6f8b95;
}

/* --- The parties ----------------------------------------------------------- */
.ex-rg-party,
.ex-rg-forum {
  font-family: var(--font-display);
  font-weight: 600;
  fill: var(--sl-fg);
}

.ex-rg-party {
  font-size: 24px;
}

.ex-rg-row,
.ex-rg-sub,
.ex-rg-key,
.ex-rg-band {
  font-family: var(--font-body);
}

.ex-rg-sub {
  font-size: 13px;
  font-weight: 400;
  fill: var(--sl-muted);
}

/* --- The decision rows: one hairline, one marker, the same on every row ---- */
.ex-rg-rule {
  fill: var(--rg-row-line);
}

.ex-rg-row-band {
  fill: var(--rg-row);
  stroke: var(--rg-row-line);
  stroke-width: 1;
}

.ex-rg-row {
  font-size: 15px;
  font-weight: 600;
  fill: var(--sl-fg);
}

.ex-rg-link {
  fill: none;
  stroke: var(--rg-link);
  stroke-width: 1;
}

.ex-rg-joint {
  fill: var(--rg-link);
}

.ex-rg-mark {
  fill: var(--sl-panel);
  stroke: var(--sl-teal-soft);
  stroke-width: 1.5;
}

.ex-rg-mark__dot {
  fill: var(--sl-teal-soft);
  stroke: none;
}

.ex-rg-key {
  font-size: 12px;
  font-weight: 400;
  fill: var(--sl-muted);
}

/* --- The clarified forums -------------------------------------------------- */
.ex-rg-forum-card {
  fill: var(--graphic);
  fill-opacity: 0.1;
  stroke: var(--graphic);
  stroke-opacity: 0.6;
  stroke-width: 1;
}

.ex-rg-forum {
  font-size: 22px;
}

/* --- End state: what was delivered ----------------------------------------- */
.ex-rg-end {
  fill: var(--gold-line);
  fill-opacity: 0.08;
  stroke: var(--gold-line);
  stroke-width: 1.5;
}

.ex-rg-band {
  font-size: 14px;
  font-weight: 400;
  fill: var(--sl-steel);
}

.ex-rg-band__b {
  font-weight: 600;
  fill: var(--sl-fg);
}

/* Stacked version: the sizes in RG_TALL_SCALE (exhibit_rights.py); a test keeps them in step. */
.exhibit__svg--tall .ex-rg-party { font-size: 20px; }
.exhibit__svg--tall .ex-rg-forum { font-size: 18px; }
.exhibit__svg--tall .ex-rg-row { font-size: 14px; }
.exhibit__svg--tall .ex-rg-sub { font-size: 12px; }
.exhibit__svg--tall .ex-rg-band { font-size: 13px; }
