/*
 * Canonical positive-state colour roles. This sheet loads after each route's
 * feature styles so score gauges and badges cannot reintroduce a route-local
 * green value.
 */
:root {
    --v3-athletic-green: #009B44;
    --v3-athletic-green-strong: #009B44;
    --v3-athletic-green-soft: #009B44;
    --v3-accent-border: #009B44;
    --v3-success-border: #009B44;
}

:root[data-v3-theme="dark"] {
    --v3-accent-foreground: #009B44;
    --v3-success-foreground: #009B44;
}

:root[data-v3-theme="light"] {
    --v3-accent-foreground: var(--v3-ink-dark);
    --v3-success-foreground: var(--v3-ink-dark);
}

/* Squad Overview keeps its operational status vocabulary in both themes. */
:root[data-v3-theme="light"] .v3-dashboard-panel--overview {
    --v3-accent-foreground: #009B44;
    --v3-success-foreground: #009B44;
    --v3-warning-foreground: var(--v3-warning-orange);
    --v3-danger-foreground: var(--v3-danger-red);
    --v3-neutral-foreground: var(--v3-neutral-grey);
}

/* Athlete roster availability remains as legible and semantic as dark mode. */
:root[data-v3-theme="light"] .v3-athletes {
    --v3-success-foreground: #009B44;
    --v3-warning-foreground: var(--v3-warning-orange);
    --v3-danger-foreground: var(--v3-danger-red);
    --v3-neutral-foreground: var(--v3-neutral-grey);
}

.v3-dashboard,
.v3-athletes {
    --v3-score-good: #009B44;
    --v3-score-above: #009B44;
}

.v3-athlete-shell {
    --v3-athlete-good: #009B44;
}

.v3-app-nav-item.is-active {
    border-color: #009B44;
    color: #009B44;
    background: transparent;
}

.v3-app-nav-item:hover,
.v3-app-nav-item:focus-visible {
    border-color: #009B44;
}

.v3-app-nav-item.is-active:hover,
.v3-app-nav-item.is-active:focus-visible {
    color: #009B44;
}
