/* ===========================================================================
   SolutionsSales preview -- 特長, part 3: crops 03-05. Same compact / wide
   rule as part 2 (@container min-width 460px). All text here >= 4.5:1.
   =========================================================================== */

/* ---- 03: run status of one workflow (not its tree: the mockup draws that).
   One row per step: how many contacts are there now, with a bar in
   proportion to the 320 that entered. 96 + 52 + 172 = 320. Bars are only a
   picture of the number beside them (graphics on #E2E8EE track). */
.sa-feat-run { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.sa-feat-runh { display: flex; justify-content: space-between; padding: 8px 14px 4px; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--muted); }
.sa-feat-steps li { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border-bottom: 1px solid var(--sa-hair); }
.sa-feat-steps .sa-feat-2l { flex: 1 1 auto; }
.sa-feat-ic { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; background: var(--navy); color: var(--white); }
.sa-feat-ic--wait { background: var(--st-lead); color: var(--st-lead-tx); }
.sa-feat-ic--stop { background: var(--sa-acc); }
.sa-feat-shot .sa-feat-ic svg { width: 14px; height: 14px; }
.sa-feat-track { flex: none; width: 56px; height: 6px; overflow: hidden; border-radius: 3px; background: var(--sa-hair); }
.sa-feat-track i { display: block; width: calc(var(--v, 0) * 100%); height: 100%; border-radius: 3px; background: var(--navy-mid); transform-origin: left; }
.sa-feat-track--wait i { background: #C99700; }
.sa-feat-track--acc i { background: var(--sa-acc); }
.sa-feat-num { flex: none; min-width: 46px; font-size: 13px; font-variant-numeric: tabular-nums; text-align: right; color: var(--navy); white-space: nowrap; }
@container (min-width: 460px) { .sa-feat-track { width: 104px; } }

/* ---- 04: sender settings (limit per day, one-click unsubscribe, bounce) --- */
.sa-feat-v4__body { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
.sa-feat-senders { display: none; }
.sa-feat-senders li { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 14px; border-bottom: 1px solid var(--sa-hair); }
@container (min-width: 460px) {
  .sa-feat-v4__body { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  .sa-feat-senders { display: block; border-right: 1px solid var(--sa-hair); }
}
.sa-feat-av { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--navy); font-size: 12px; font-weight: 700; color: var(--white); }
.sa-feat-av[data-c="2"] { background: var(--blue); }
.sa-win .sa-feat-set { min-width: 0; padding: 2px 14px 0; }
.sa-feat-set li { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; border-bottom: 1px solid var(--sa-hair); font-size: 13px; color: var(--navy); white-space: nowrap; }
.sa-feat-set li > b { font-size: 13px; font-variant-numeric: tabular-nums; }
/* Segmented choice, drawn flat: navy = chosen (#FFF 14.5:1). */
/* Status word, not a switch: green #237A52 on #FFF 5.43:1, with a check. */
.sa-feat-on { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--st-nur); }

/* ---- 05: report by company: open / click / web visit ---------------------- */
.sa-feat-kpi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 12px 14px 4px; }
.sa-feat-kpi p { display: grid; gap: 2px; min-width: 0; padding: 7px 10px; border-radius: 6px; background: var(--surface-2); }
.sa-feat-kpi small { overflow: hidden; font-size: 13px; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.sa-feat-kpi b { font-size: 18px; line-height: 1.2; font-variant-numeric: tabular-nums; color: var(--navy); white-space: nowrap; }
.sa-feat-shot .sa-feat-tbl { width: calc(100% - 28px); margin: 6px 14px 0; border-collapse: collapse; font-size: 13px; }
.sa-feat-tbl th { padding: 6px 0; border-bottom: 1px solid var(--sa-hair); font-size: 13px; font-weight: 700; text-align: left; color: var(--muted); white-space: nowrap; }
.sa-feat-tbl th:first-child { width: 34%; }
.sa-feat-tbl td { height: 32px; padding: 0; border-bottom: 1px solid var(--sa-hair); color: var(--navy); white-space: nowrap; }
.sa-feat-tbl td:first-child { font-weight: 700; }
.sa-feat-bar { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-variant-numeric: tabular-nums; }
/* Bars: #7E93A8 (3.2:1) and the accent (5.8:1) on white; the number beside
   each bar carries the value, the bar is only its picture. */
.sa-feat-bar i { display: block; width: calc(var(--v, 0) * 28px); height: 6px; border-radius: 3px; background: #7E93A8; transform-origin: left; }
.sa-feat-bar--web i { background: var(--sa-acc); }
@container (min-width: 460px) { .sa-feat-bar i { width: calc(var(--v, 0) * 44px); } }
