
/* Expansion-opportunity figures. This article-local stylesheet loads after resources.css.
   Element+class selectors keep these ahead of the .article-content p / span rules. */

.ex-fan,
.ex-ladder,
.ex-states {
  margin: 38px 0;
  padding: 34px 36px 32px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-bg-muted);
}

p.ex-fan__title,
p.ex-ladder__title,
p.ex-states__title {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-primary);
}

p.ex-fan__meta,
p.ex-ladder__meta,
p.ex-states__meta {
  margin: 5px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: #64748b;
}

p.ex-fan__note,
p.ex-states__note {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid #d5dfec;
  font-size: 14px;
  line-height: 1.55;
  color: #3d4d66;
  text-wrap: pretty;
}

p.ex-states__note b { color: var(--color-primary); }
p.ex-states__note em { font-style: italic; }

/* ---------- Figure 1: one signal, four scopes ---------- */

.ex-fan__body {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  gap: 16px;
  margin-top: 22px;
}

.ex-signal {
  display: flex;
  flex-direction: column;
  padding: 20px 20px 18px;
  border-radius: 10px;
  background: #0d2145;
}

p.ex-signal__kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #93b4e8;
}

p.ex-signal__value {
  margin: 8px 0 0;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #fff;
}

p.ex-signal__def {
  margin: 9px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: #b9cbe6;
}

p.ex-signal__warn {
  margin: auto 0 0;
  padding-top: 16px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  color: #ffd9a8;
}

.ex-branches {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ex-branch {
  padding: 14px 18px;
  border: 1px solid #d5dfec;
  border-left: 4px solid #2f6df6;
  border-radius: 10px;
  background: #fff;
}

.ex-branch--close {
  border-left-color: #97402f;
  background: #fdf6f4;
}

p.ex-branch__scope {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-primary);
}

p.ex-branch__if,
p.ex-branch__ask {
  display: flex;
  gap: 8px;
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: #3d4d66;
  text-wrap: pretty;
}

p.ex-branch__ask { color: #1e3a68; font-weight: 600; }

.ex-branch__if i,
.ex-branch__ask i {
  flex: none;
  width: 32px;
  font-style: normal;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.85;
  color: #5a6a80;
}

.ex-branch--close .ex-branch__ask { color: #8c3025; }

/* ---------- Figure 2: where product evidence stops ---------- */

.ex-ladder__rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 22px;
}

.ex-stage {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 150px;
  align-items: center;
  gap: 0 16px;
  padding: 13px 16px;
  border: 1px solid #d5dfec;
  border-radius: 10px;
  background: #fff;
}

.ex-stage--last { border-color: #b8dcc7; background: #f4fbf7; }

.ex-stage__n {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e5edf9;
  font-size: 14px;
  font-weight: 700;
  color: #1e3a68;
}

.ex-stage__n--last { background: #17693f; color: #fff; }

p.ex-stage__name {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-primary);
}

p.ex-stage__def {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: #4a5a72;
  text-wrap: pretty;
}

.ex-stage__owner {
  justify-self: end;
  padding: 5px 11px;
  border-radius: 999px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.ex-stage__owner--product { background: #e5edf9; color: #1e3a68; }
.ex-stage__owner--customer { background: #fdf2dd; color: #6b4e08; }
.ex-stage__owner--commercial { background: #f0ebf8; color: #4b3a70; }
.ex-stage__owner--done { background: #dff0e6; color: #17693f; }

.ex-ladder__line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin: 4px 0;
  padding: 9px 16px;
  border-top: 2px dashed #b0bdcd;
  border-bottom: 2px dashed #b0bdcd;
}

.ex-ladder__line-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #97402f;
}

.ex-ladder__line-note {
  font-size: 14px;
  line-height: 1.4;
  color: #5a6a80;
}

.ex-ladder__foot {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #d5dfec;
}

p.ex-ladder__bad {
  margin: 0;
  padding: 10px 12px;
  border: 1px dashed #c58f83;
  border-radius: 8px;
  text-align: center;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: #97402f;
  background: #fdf6f4;
}

p.ex-ladder__foot-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #3d4d66;
  text-wrap: pretty;
}

/* ---------- Figure 3: same volume, six actions ---------- */

.ex-states__rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 22px;
}

.ex-acct {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) 116px minmax(0, 2fr);
  align-items: center;
  gap: 0 18px;
  padding: 13px 16px;
  border: 1px solid #d5dfec;
  border-radius: 10px;
  background: #fff;
}

.ex-acct__name {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-primary);
}

.ex-acct__name em {
  font-style: normal;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.35;
  color: #64748b;
}

.ex-acct__bar {
  display: flex;
  align-items: center;
  gap: 9px;
}

.ex-bar {
  flex: 1;
  height: 9px;
  border-radius: 5px;
  background: #e3eaf3;
}

.ex-bar b {
  display: block;
  height: 100%;
  border-radius: 5px;
  background: #93a7c4;
}

.ex-acct__bar em {
  flex: none;
  width: 30px;
  text-align: right;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #4a5a72;
}

.ex-acct__out {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.ex-state {
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.ex-state--stop { background: #f9e3de; color: #8c3025; }
.ex-state--warn { background: #fdf2dd; color: #6b4e08; }
.ex-state--go { background: #dff0e6; color: #17693f; }
.ex-state--look { background: #e5edf9; color: #1e3a68; }
.ex-state--none { background: #eef2f7; color: #4a5a72; }

p.ex-acct__why {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #3d4d66;
  text-wrap: pretty;
}

/* ---------- Narrow ---------- */

@media (max-width: 1180px) {
  .ex-fan,
  .ex-ladder,
  .ex-states { padding: 28px 24px 26px; }

  .ex-fan__body { grid-template-columns: 232px minmax(0, 1fr); }

  .ex-stage { grid-template-columns: 32px minmax(0, 1fr) 132px; }

  .ex-acct {
    grid-template-columns: minmax(0, 1fr) 104px;
    gap: 12px 16px;
  }

  .ex-acct__out {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 820px) {
  .ex-fan__body { grid-template-columns: minmax(0, 1fr); }

  .ex-signal__warn { padding-top: 14px; }

  .ex-stage {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px 14px;
  }

  .ex-stage__owner {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
  }

  .ex-ladder__foot { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
