/* "Start your campaign here" (backlog A-8): the steps list on the public /start page and on the
   in-app /division/start page. Own tokens, so it reads the same in both shells. Contrast: --cs-ink
   on white 15:1, --cs-muted 7.4:1, done #065f46 on #d1fae5 7.1:1, to-do #92400e on #fef3c7 6.4:1. */
.cs-page {
    --cs-ink: #0f172a;
    --cs-muted: #475569;
    --cs-line: #e2e8f0;
    --cs-accent: #0f766e;
    --cs-card: #ffffff;
    --cs-done-ink: #065f46;
    --cs-done-bg: #d1fae5;
    --cs-todo-ink: #92400e;
    --cs-todo-bg: #fef3c7;
    --cs-off-ink: #334155;
    --cs-off-bg: #f1f5f9;
}
.cs-page h1 { color: var(--cs-ink); margin: 0 0 12px; }
.cs-intro-note { color: var(--cs-muted); }
.cs-page strong { font-weight: 700; }

.cs-steps { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 12px; }
.cs-step {
    background: var(--cs-card);
    border: 1px solid var(--cs-line);
    border-radius: 12px;
    padding: 16px;
    overflow-wrap: anywhere;
}
.cs-step-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.cs-step-number {
    flex: 0 0 auto;
    width: 32px; height: 32px; line-height: 32px;
    border-radius: 50%;
    background: var(--cs-accent); color: #fff;
    text-align: center; font-weight: 700;
}
.cs-step-title { flex: 1 1 200px; margin: 0; font-size: 1.1rem; color: var(--cs-ink); }
.cs-step-text { margin: 8px 0 0; color: var(--cs-ink); }
.cs-step-note { margin: 6px 0 0; color: var(--cs-muted); font-style: italic; }
.cs-links { margin: 6px 0 0; color: var(--cs-muted); }
.cs-links-label { font-weight: 700; color: var(--cs-ink); margin-right: 4px; }
.cs-links a { color: var(--cs-accent); text-decoration: underline; }

.cs-status {
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 2px 10px;
    font-size: 0.85rem;
    font-weight: 700;
}
.cs-status-checking { background: var(--cs-off-bg); color: var(--cs-off-ink); font-weight: 400; }
.cs-status-done { background: var(--cs-done-bg); color: var(--cs-done-ink); }
.cs-status-todo { background: var(--cs-todo-bg); color: var(--cs-todo-ink); }
.cs-status-optional { background: var(--cs-off-bg); color: var(--cs-off-ink); }

.cs-parts { margin: 8px 0 0; padding-left: 20px; }
.cs-part-done { color: var(--cs-done-ink); }
.cs-part-todo { color: var(--cs-todo-ink); }
.cs-summary { font-weight: 700; color: var(--cs-ink); }

.cs-help { margin-top: 24px; }

/* Dark mode (dark-mode.js sets .theme-dark on <html>): the in-app page's card body goes dark, and
   the text that sits straight on it - the heading, the note and the progress line - needs light
   ink. The steps keep their own white cards, so their colours are unchanged. #e2e8f0 on the dark
   card (#282a2c) is 11.9:1. */
.theme-dark .cs-page > h1,
.theme-dark .cs-page .cs-intro-note,
.theme-dark .cs-page .cs-summary,
.theme-dark .cs-page .cs-help { color: #e2e8f0; }
