/* Submit-specific styles, on the shell's tokens (https://css.gpsaswimming.org/gpsa-shell.css), so light
   and dark come with them. Nothing here sets a colour of its own. */

.shell .warn-text { color: var(--warn-title); font-weight: 600; }

/* The pages that are a single step sit in one column even though main is wide. */
.shell #step-upload,
.shell #upload-note,
.shell #step-done { width: 100%; max-width: 640px; margin-inline: auto; box-sizing: border-box; }
.shell #upload-note { margin-block: 0; text-align: center; }
.shell #step-done { display: flex; flex-direction: column; gap: 16px; }

.shell #answers { display: flex; flex-direction: column; gap: 16px; }
.shell #findings { display: flex; flex-direction: column; gap: 16px; }
.shell #findings:empty { display: none; }

/* ── The meet, on Check ── */
.shell .meet__title { margin: 0; font-size: 24px; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; }
.shell .meet__status { margin: 0; font-size: 15px; font-weight: 600; color: var(--ok); }
.shell .source { margin: 0; font-size: 13px; color: var(--muted); }
.shell #scores { display: flex; flex-direction: column; gap: 8px; }
.shell #scores p { margin: 0; }
.shell .meet-line { margin: 0; font-size: 17px; font-weight: 600; }
.shell #done-meet { display: flex; flex-direction: column; gap: 4px; align-items: center; width: 100%; }
.shell #done-meet p { margin: 0; }

/* ── The scoreline ──
   Set like a result line, not a table: names in caps, points large in tabular figures. The winner
   is marked with a word and a heavier row, never by colour alone. A tie marks nobody. */
.shell .scoreline { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.shell .scoreline__row {
    display: flex; align-items: baseline; gap: 10px;
    padding: 10px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2);
}
.shell .scoreline__team {
    flex: 1; min-width: 0; text-align: left; overflow-wrap: anywhere;
    font-size: 15px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--text-2);
}
.shell .scoreline__points {
    font-size: 34px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; color: var(--text);
}
.shell .scoreline__flag { font-size: 13px; font-weight: 700; color: var(--ok); white-space: nowrap; }
.shell .scoreline__row.is-winner { border-color: var(--ok); border-width: 2px; padding: 9px 13px; }
.shell .scoreline__row.is-winner .scoreline__team { font-weight: 800; color: var(--text); }
.shell .scoreline__row.is-winner .scoreline__points { font-weight: 800; }

/* ── Findings inside notices ── */
.shell .notice__body p { margin: 0; }
.shell .notice__body ol.remedy { margin: 6px 0 0; }
.shell .notice__body ol.remedy li { margin-block: 3px; }
.shell .notice__body code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em;
    padding: 1px 5px; border-radius: 6px; background: var(--surface); color: var(--text); overflow-wrap: anywhere;
}

/* ── Receipt ── */
.shell #done-title { margin: 0; }
.shell #done-body .facts { margin: 0; }
.shell #done-body a { overflow-wrap: anywhere; }
.shell #done-body p { margin: 0; }
.shell .card--center .spinner { margin-inline: auto; }
