/* The admin area: a sidebar of every tool, grouped, and the open tool beside
   it. Below the tablet breakpoint the sidebar folds into a disclosure at the
   top of the page, named after the tool you're on. */

.admin-shell {
    display: grid;
    grid-template-columns: 236px minmax(0, 1fr);
    max-width: 1480px;
    margin: 0 auto;
}

.admin-nav {
    position: sticky;
    top: var(--nv-navbar-height);
    align-self: start;
    max-height: calc(100vh - var(--nv-navbar-height));
    overflow-y: auto;
    padding: 1.5rem 0.75rem 2rem 1rem;
    border-right: 1px solid var(--nv-border);
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

/* Each group is a heading that opens and closes it, with its icon, so the
   groups read as sections and can be told apart when folded. The tools sit
   indented under a thin line. */
.admin-nav__group {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-top: 0.6rem;
}

.admin-nav__group-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.4rem 0.6rem;
    border: 0;
    border-radius: var(--nv-radius-sm);
    background: none;
    color: var(--nv-heading);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.admin-nav__group-toggle:hover,
.admin-nav__group-toggle:focus-visible {
    background-color: var(--nv-surface-sunken);
}

.admin-nav__group-toggle:focus-visible {
    outline: 2px solid var(--nv-primary);
    outline-offset: -2px;
}

.admin-nav__group-icon {
    flex-shrink: 0;
    display: inline-flex;
    color: var(--nv-primary);
}

.admin-nav__group-name {
    flex: 1;
    min-width: 0;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
}

/* A small chevron drawn from two borders: points right when the group is
   folded, down when it's open. */
.admin-nav__chevron {
    flex-shrink: 0;
    width: 0.45rem;
    height: 0.45rem;
    margin-right: 0.15rem;
    border-right: 2px solid var(--nv-muted);
    border-bottom: 2px solid var(--nv-muted);
    transform: rotate(-45deg);
    transition: transform 0.15s ease;
}

.admin-nav__group--open .admin-nav__chevron {
    transform: rotate(45deg);
}

@media (prefers-reduced-motion: reduce) {
    .admin-nav__chevron {
        transition: none;
    }
}

.admin-nav__group-tools {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin: 0 0 0.35rem 1.05rem;
    padding-left: 0.35rem;
    border-left: 1px solid var(--nv-border);
}

.admin-nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.35rem 0.6rem;
    border-radius: var(--nv-radius-sm);
    color: var(--nv-text);
    font-size: 0.92rem;
    line-height: 1.3;
    text-decoration: none;
}

.admin-nav__link:hover,
.admin-nav__link:focus-visible {
    background-color: var(--nv-surface-sunken);
    color: var(--nv-heading);
    text-decoration: none;
}

.admin-nav__link--active,
.admin-nav__link--active:hover {
    background-color: var(--nv-primary-soft);
    color: var(--nv-heading);
    font-weight: 600;
    box-shadow: inset 3px 0 0 var(--nv-primary);
}

.admin-nav__count {
    flex-shrink: 0;
    min-width: 1.4rem;
    padding: 0 0.4rem;
    border-radius: 999px;
    background-color: var(--nv-danger);
    color: var(--nv-on-primary);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.35rem;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

/* On a folded group's heading: how much is waiting inside it, outlined so
   it reads as a total rather than another tool's count. */
.admin-nav__count--folded {
    background-color: transparent;
    color: var(--nv-danger);
    box-shadow: inset 0 0 0 1px var(--nv-danger);
}

.admin-nav-mobile {
    display: none;
}

/* The open tool. Admin screens are mostly wide tables and charts, so they
   get more room than the 960px the author pages read at. */
.admin-page {
    min-width: 0;
    padding: 0 32px 48px;
}

.admin-page .panel__subtitle {
    max-width: 75ch;
}

/* Forms that read better narrow: User management, Announcement, Version,
   Maintenance and Test push. */
.admin-panel--narrow {
    max-width: 760px;
}

/* The Needs you home: one card per queue, each a way into its tool. */
.admin-queues {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.admin-queue {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius);
    background-color: var(--nv-surface);
    color: var(--nv-text);
    text-decoration: none;
}

.admin-queue:hover,
.admin-queue:focus-visible {
    border-color: var(--nv-border-strong);
    box-shadow: var(--nv-shadow-sm);
    color: var(--nv-text);
    text-decoration: none;
}

.admin-queue__count {
    font-family: var(--nv-font-serif);
    font-size: 1.9rem;
    font-weight: 600;
    line-height: 1.1;
    color: var(--nv-heading);
    font-variant-numeric: tabular-nums;
}

.admin-queue__count--loading {
    display: block;
    width: 2rem;
    height: 2.1rem;
    border-radius: var(--nv-radius-sm);
    background-color: var(--nv-surface-sunken);
}

.admin-queue--waiting {
    border-color: color-mix(in srgb, var(--nv-danger) 45%, var(--nv-border));
}

.admin-queue--waiting .admin-queue__count {
    color: var(--nv-danger);
}

.admin-queue--clear .admin-queue__count {
    color: var(--nv-muted);
}

.admin-queue__note {
    font-size: 0.82rem;
    color: var(--nv-muted);
}

/* Find a story, on the admin home: a search and the matches as covers with
   their two copy buttons. */
.admin-story-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-width: 44rem;
    margin-bottom: 1.75rem;
}

.admin-story-links__title {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--nv-muted);
    margin: 0;
}

.admin-story-links__results {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-story-links__story {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem 0.5rem 0.5rem;
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius-sm);
    background-color: var(--nv-surface);
}

.admin-story-links__cover {
    flex: none;
    width: 2.25rem;
    height: 3.2rem;
    border-radius: 4px;
    object-fit: cover;
    background: linear-gradient(160deg, var(--nv-primary), var(--nv-heading));
}

.admin-story-links__who {
    flex: 1;
    min-width: 0;
}

.admin-story-links__story-title {
    font-family: var(--nv-font-serif);
    font-weight: 600;
    color: var(--nv-heading);
    overflow-wrap: anywhere;
}

.admin-story-links__author {
    font-size: 0.85rem;
    color: var(--nv-muted);
}

.admin-story-links__actions {
    flex: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.35rem;
}

/* Listens, under Numbers: each story in the table carries a small cover
   and its title in the reading font, so a story is easy to spot. */
.admin-listens-table td,
.admin-listens-table th {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.admin-listens-story {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.admin-listens-story__cover {
    flex: none;
    width: 1.6rem;
    height: 2.3rem;
    border-radius: 3px;
    object-fit: cover;
    background: linear-gradient(160deg, var(--nv-primary), var(--nv-heading));
}

.admin-listens-story__title {
    font-family: var(--nv-font-serif);
    font-weight: 600;
    color: var(--nv-heading);
    white-space: normal;
    min-width: 10rem;
}

.admin-home-numbers__title {
    font-family: var(--nv-font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--nv-heading);
    margin: 0;
}

.admin-home-numbers__subtitle {
    color: var(--nv-muted);
    margin: 0.25rem 0 1.25rem;
}

@media (max-width: 900px) {
    .admin-shell {
        grid-template-columns: minmax(0, 1fr);
    }

    .admin-nav {
        display: none;
    }

    .admin-nav-mobile {
        display: block;
        margin: 1rem 0 0.5rem;
        border: 1px solid var(--nv-border);
        border-radius: var(--nv-radius);
        background-color: var(--nv-surface);
    }

    .admin-nav-mobile summary {
        padding: 0.65rem 1rem;
        font-weight: 600;
        color: var(--nv-heading);
        cursor: pointer;
    }

    .admin-nav-mobile nav {
        display: flex;
        flex-direction: column;
        gap: 0.15rem;
        padding: 0 0.5rem 0.75rem;
        max-height: 60vh;
        overflow-y: auto;
    }
}

/* "Nothing here" in every panel: one quiet line in a dashed box. Amber
   alert-warning boxes stay for the few that warn about something. */
.admin-empty {
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border: 1px dashed var(--nv-border-strong);
    border-radius: var(--nv-radius-sm);
    color: var(--nv-muted);
}

/* One title per tool page: the page header names the tool, so the panel's
   own title, which says the same thing, is hidden. Its description and its
   buttons stay. Tools made of several sections keep their section titles. */
.admin-tool--page-titled > .panel:first-of-type > .panel__header .panel__title {
    display: none;
}

.admin-tool--page-titled > .panel:first-of-type > .panel__header .panel__subtitle {
    margin-top: 0;
}

/* Everything below came from the style blocks of the old admin pages, which
   each carried their own copy. They're the same rules, now in one place. */

/* Bootstrap 5 spacing the content panels were written with. This is
   bootstrap 4, where these do nothing, so the rows of buttons touched. */
.admin-page .gap-1 { gap: 0.25rem; }
.admin-page .gap-2 { gap: 0.5rem; }
.admin-page .gap-3 { gap: 1rem; }

/* A compact select for toolbars and table headers. */
.admin-page .app-select.app-select--sm {
    padding: 0.3rem 2rem 0.3rem 0.75rem;
    font-size: 0.85rem;
    background-position: right 0.6rem center;
}

.admin-toolbar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 0 1 460px;
    min-width: 0;
}

.admin-toolbar__search {
    flex: 1 1 auto;
    min-width: 0;
}

.admin-toolbar .btn {
    flex-shrink: 0;
}

/* A card that needs someone to act on it, such as series waiting for
   moderation. The warning shows in the border only, so it doesn't shout. */
.admin-card--attention {
    border-color: color-mix(in srgb, var(--nv-warning) 45%, var(--nv-border));
}

.admin-subcard {
    padding: 1rem;
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius);
    background-color: var(--nv-surface);
}

.admin-subcard--tight {
    padding: 0.5rem 0.75rem;
}

.admin-banner-preview {
    display: block;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 3 / 1;
    object-fit: cover;
    border-radius: var(--nv-radius-sm);
}

/* The selected series in the list. Bootstrap fills it bright blue; here it
   is a tint with a bar down the side, which reads in both themes. */
.admin-page .list-group-item.active {
    background-color: var(--nv-primary-soft);
    border-color: var(--nv-border);
    color: var(--nv-heading);
    box-shadow: inset 3px 0 0 var(--nv-primary);
}

.admin-page .list-group-item-action:active {
    background-color: var(--nv-surface-sunken);
    color: var(--nv-heading);
}


/* MudChart writes its grid colours into the SVG as attributes, a light grey
   that glares on the dark surface. A CSS stroke outranks an attribute, so
   these hand the grid and the axis labels back to the theme. The class is
   on the group in some chart types and on the path in others, so both are
   covered. */
.admin-metrics-chart .mud-charts-xaxis text,
.admin-metrics-chart .mud-charts-yaxis text {
    fill: var(--nv-muted);
}

.admin-metrics-chart .mud-charts-gridlines-yaxis,
.admin-metrics-chart .mud-charts-gridlines-yaxis * {
    stroke: var(--nv-border);
}

.admin-metrics-chart .mud-charts-gridlines-xaxis-lines,
.admin-metrics-chart .mud-charts-gridlines-xaxis-lines * {
    stroke: var(--nv-border-strong);
}

.admin-metrics-chart .mud-chart-legend-text {
    color: var(--nv-muted);
}

/* The share bars in the breakdown tables. Bootstrap's own are a bright
   blue on a light grey track, which is neither theme. */
.admin-page .progress {
    min-width: 60px;
    background-color: var(--nv-surface-sunken);
    border-radius: var(--nv-radius-sm);
}

.admin-page .progress-bar {
    background-color: var(--nv-info);
}

.overview-note {
    color: var(--nv-muted);
    font-size: 0.875rem;
    max-width: 75ch;
    margin-bottom: 1rem;
}

.overview-rows {
    display: grid;
    gap: 0.75rem;
}

/* One row per question: what it asks, the number, its trend, and the
   button that opens the table behind it. */
.overview-row {
    margin-bottom: 0;
}

.overview-row__summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 13rem 10rem auto;
    gap: 1.25rem;
    align-items: center;
}

.overview-row__title {
    font-family: var(--nv-font-serif);
    font-size: 1.1rem;
    color: var(--nv-heading);
    margin: 0 0 0.25rem;
    text-wrap: balance;
}

.overview-row__explain {
    color: var(--nv-muted);
    font-size: 0.875rem;
    margin: 0;
    max-width: 65ch;
}

.overview-row__figure {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.overview-row__value {
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.1;
    color: var(--nv-heading);
    font-variant-numeric: tabular-nums;
}

.overview-row__value--good {
    color: var(--nv-success);
}

.overview-row__value--close {
    color: var(--nv-warning);
}

.overview-row__count,
.overview-row__target {
    font-size: 0.8rem;
    color: var(--nv-muted);
    font-variant-numeric: tabular-nums;
}

.overview-row__target {
    color: var(--nv-faint);
}

.overview-row__failed,
.overview-row__no-trend,
.overview-row__empty {
    font-size: 0.85rem;
    color: var(--nv-muted);
}

.overview-row__failed {
    color: var(--nv-danger);
}

.overview-row__empty {
    margin: 0;
}

/* Drawn by hand rather than with MudChart: it is a shape, not a chart to
   read values off, and eight full charts would bury the numbers. Colours
   come from the theme so it reads on both surfaces. */
.overview-sparkline {
    display: block;
    width: 100%;
    max-width: 10rem;
    height: 40px;
    overflow: visible;
}

.overview-sparkline__area {
    fill: var(--nv-info-soft);
    stroke: none;
}

.overview-sparkline__line {
    fill: none;
    stroke: var(--nv-info);
    stroke-width: 1.5;
    vector-effect: non-scaling-stroke;
}

.overview-sparkline__end {
    fill: var(--nv-info);
}

.overview-row__table {
    margin-top: 1rem;
    border-top: 1px solid var(--nv-border);
    padding-top: 0.75rem;
}

.overview-row__table td {
    font-variant-numeric: tabular-nums;
}

.overview-approx {
    margin-left: 0.4rem;
    font-size: 0.7rem;
}

@media (max-width: 900px) {
    .overview-row__summary {
        grid-template-columns: minmax(0, 1fr) 10rem;
    }

    .overview-row__question {
        grid-column: 1 / -1;
    }
}


/* The sign-up panel: each step as a bar, as wide as its share of everyone who signed up. */
.signup-funnel {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}

/* The bar sits behind the label and count, so long labels never wrap round it. */
.signup-funnel__step {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.4rem 0.75rem;
    font-variant-numeric: tabular-nums;
}

.signup-funnel__bar {
    position: absolute;
    inset: 0 auto 0 0;
    background: var(--nv-accent-soft);
    border-left: 3px solid var(--nv-accent);
    border-radius: 4px;
    z-index: 0;
}

.signup-funnel__label,
.signup-funnel__count {
    position: relative;
    z-index: 1;
}

.signup-funnel__share {
    color: var(--nv-muted);
    margin-left: 0.25rem;
}

@media (max-width: 600px) {
    .admin-page {
        padding: 0 16px 32px;
    }

    .admin-page .panel {
        padding: 1.1rem;
    }

    .admin-toolbar {
        flex-basis: 100%;
    }

    .overview-row__summary {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.75rem;
    }
}

/* User management: where someone stands (banned, suspended or fine), every ban
   and suspension they've had, and the buttons that change it. */
.admin-standing {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--nv-border);
}

.admin-standing__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.admin-standing__title {
    margin: 0;
    color: var(--nv-heading);
}

.admin-standing__pill {
    display: inline-block;
    padding: 0.1rem 0.6rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}

.admin-standing__pill--good {
    background-color: var(--nv-success-soft);
    color: var(--nv-success);
}

.admin-standing__pill--suspended {
    background-color: var(--nv-warning-soft);
    color: var(--nv-heading);
    border: 1px solid var(--nv-warning);
}

.admin-standing__pill--banned {
    background-color: var(--nv-danger-soft);
    color: var(--nv-danger);
    border: 1px solid var(--nv-danger);
}

.admin-standing__history {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin: 0;
    padding: 0 0 0 0.75rem;
    list-style: none;
    border-left: 2px solid var(--nv-border);
}

.admin-standing__entry {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.25rem 0.75rem;
}

.admin-standing__entry span {
    color: var(--nv-muted);
    font-size: 0.875rem;
}

.admin-standing__entry--past strong {
    color: var(--nv-muted);
    font-weight: 500;
}

.admin-standing__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Seasonal themes: the list, and the form that opens in place, with a small
   phone drawn in the form's colours. The phone's colours come in as --sp-*
   variables on .seasonal-phone, so they never touch the site's own theme. */
.seasonal-themes {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.seasonal-themes__heading {
    margin: 1.5rem 0 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--nv-heading);
}

.seasonal-theme__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    padding: 0.65rem 1rem;
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius);
    background-color: var(--nv-surface);
}

.seasonal-theme__summary {
    color: var(--nv-heading);
}

.seasonal-theme__confirm {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
}

.seasonal-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 1.5rem;
    margin-bottom: 0.5rem;
    padding: 1rem;
    border: 1px solid var(--nv-border-strong);
    border-radius: var(--nv-radius);
    background-color: var(--nv-surface);
}

.seasonal-form__legend {
    width: auto;
    margin-bottom: 0.5rem;
    font-size: inherit;
}

.seasonal-form__footer {
    grid-column: 1 / -1;
}

.seasonal-colours {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 0.75rem 1rem;
}

.seasonal-colour__label {
    display: block;
    margin: 0;
    font-weight: 500;
    color: var(--nv-heading);
}

.seasonal-colour__key {
    display: block;
    font-family: SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.75rem;
    color: var(--nv-muted);
}

.seasonal-colour__inputs {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.25rem;
}

/* The colour as it is, alpha and all, over a checkerboard so a see-through
   colour looks see-through. */
.seasonal-colour__swatch {
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    border: 1px solid var(--nv-border-strong);
    border-radius: var(--nv-radius-sm);
    background:
        linear-gradient(var(--swatch), var(--swatch)),
        repeating-conic-gradient(#d0d0d0 0 25%, #ffffff 0 50%) 0 0 / 8px 8px;
}

.seasonal-colour__picker {
    flex-shrink: 0;
    width: 2rem;
    height: 1.75rem;
    padding: 0;
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius-sm);
    background: none;
    cursor: pointer;
}

.seasonal-colour__hex {
    min-width: 0;
    font-family: SFMono-Regular, Menlo, Consolas, monospace;
    text-transform: none;
}

.seasonal-colour__hex--unreadable,
.seasonal-colour__hex--unreadable:focus {
    border-color: var(--nv-danger);
    box-shadow: 0 0 0 1px var(--nv-danger);
}

.seasonal-colour--failing .seasonal-colour__label {
    color: var(--nv-danger);
}

.seasonal-colour--failing .seasonal-colour__swatch,
.seasonal-colour--failing .seasonal-colour__hex {
    border-color: var(--nv-danger);
}

.seasonal-more {
    margin-top: 1rem;
}

.seasonal-more > summary {
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--nv-heading);
    cursor: pointer;
}

.seasonal-preview__title {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--nv-heading);
}

.seasonal-phone {
    width: 220px;
    max-width: 100%;
    padding: 8px;
    border-radius: 30px;
    background-color: #1b1b1d;
    box-shadow: var(--nv-shadow-md);
}

.seasonal-phone__screen {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 320px;
    padding: 2rem 0.85rem 1rem;
    border-radius: 22px;
    background-color: var(--sp-surface);
    font-family: var(--nv-font-sans);
    font-size: 0.8rem;
}

.seasonal-phone__top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
}

.seasonal-phone__text {
    color: var(--sp-text);
}

.seasonal-phone__link {
    flex-shrink: 0;
    color: var(--sp-link);
    text-decoration: underline;
}

.seasonal-phone__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    padding: 0.75rem;
    border: 1px solid var(--sp-edge);
    border-radius: 8px;
    background-color: var(--sp-card);
}

.seasonal-phone__title {
    font-family: var(--nv-font-serif);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--sp-heading);
}

.seasonal-phone__dim {
    color: var(--sp-dim);
}

.seasonal-phone__button {
    margin-top: 0.35rem;
    padding: 0.3rem 1rem;
    border-radius: 8px;
    background-color: var(--sp-accent);
    color: var(--sp-on-accent);
    font-weight: 600;
}

.seasonal-contrast {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.85rem;
    color: var(--nv-text);
}

.seasonal-contrast__line--failing {
    font-weight: 600;
    color: var(--nv-danger);
}

@media (max-width: 991.98px) {
    .seasonal-form {
        grid-template-columns: minmax(0, 1fr);
    }
}
