/* Scenario supplements (spec 2026-09-30, mockup 018 A). Every class starts with "ss-". */
.ss-label { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: #F6E3F6; color: #91268F; font-size: 11px; font-weight: 700; white-space: nowrap; }
.ss-status { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; }
.ss-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: 0 0 8px; }
/* Text is darker than its dot so it meets WCAG AA contrast on white. */
.ss-status--active { color: #17704A; }
.ss-status--active::before { background: #1E8E5A; }
.ss-status--prep { color: #8A5A12; }
.ss-status--prep::before { background: #B7791F; }
.ss-status--archive { color: #6B6680; }
.ss-status--archive::before { background: #8C86A0; }
.ss-status--applied { color: #5A2E8E; }
.ss-status--applied::before { background: #5A2E8E; }

/* The form: the type picker (segmented control) and the grey lead tile before the files to append. */
.ss-seg { display: inline-flex; background: #F3F1F8; border-radius: 999px; padding: 3px; gap: 2px; }
.ss-seg button { border: 0; background: transparent; padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #5A4F75; cursor: pointer; }
.ss-seg button:focus-visible { outline: 2px solid #E46BE0; outline-offset: 2px; }
.ss-seg button.is-on { background: #fff; color: #432F8D; box-shadow: 0 2px 6px rgba(67,47,141,.15); }
.ss-lead { margin: 8px 0; padding: 10px 14px; border-radius: 10px; border: 1.5px dashed #CFC3E6; text-align: center; font-size: 12px; font-weight: 700; color: #5A4F75; }
.ss-lead small { font-weight: 400; color: #6F6883; }

/* The activation window: a lead line and four coloured groups. */
.ss-plan { font-size: 13px; color: #211C33; }
.ss-plan-lead { color: #5A4F75; margin-bottom: 4px; }
.ss-plan-none { margin-top: 10px; font-weight: 700; color: #8A5A12; }
.ss-group { border-radius: 12px; padding: 10px 12px; margin-top: 10px; }
.ss-group > b { display: block; margin-bottom: 4px; }
.ss-group ul { margin: 4px 0 0; padding-left: 18px; }
.ss-group--good { background: #EEF8F2; }
.ss-group--new { background: #F1ECF8; }
.ss-group--skip { background: #FDF3E7; }
.ss-group--later { background: #EEF1FB; }
.ss-later + .ss-later { margin-top: 8px; }
.ss-check { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 600; cursor: pointer; }
.ss-check .form-check-input { margin: 0; }

/* The history of an applied supplement: four facts, two tabs, two tables. */
.ss-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.ss-fact small { display: block; font-size: 11px; color: #6F6883; }
.ss-fact b { font-size: 13px; }
.ss-tabs { display: flex; gap: 18px; border-bottom: 1px solid #ECE7F4; margin-bottom: 10px; }
.ss-tabs button { border: 0; background: transparent; padding: 6px 0 8px; font-size: 13px; font-weight: 700; color: #6B6680; border-bottom: 2px solid transparent; cursor: pointer; }
.ss-tabs button:focus-visible { outline: 2px solid #E46BE0; outline-offset: 2px; }
.ss-tabs button.is-on { color: #432F8D; border-bottom-color: #91268F; }
.ss-count, .ss-chip { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; background: #F1ECF8; color: #432F8D; font-size: 11px; font-weight: 700; }
.ss-link + .ss-chip { margin-left: 8px; }
.ss-arrow { color: #91268F; font-weight: 800; }
.ss-link { color: #432F8D; font-weight: 700; }
@media (max-width: 720px) { .ss-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

