/* Site-wide overrides. Brand accent is injected by the layout as --brand-accent / --brand-accent-text. */
.navbar-brand .brand-logo {
    max-height: 2rem;
    width: auto;
}

.navbar-brand .brand-name {
    font-weight: 600;
}

.brand-accent .btn-primary {
    --bs-btn-bg: var(--brand-accent);
    --bs-btn-border-color: var(--brand-accent);
    --bs-btn-color: var(--brand-accent-text);
    --bs-btn-hover-bg: var(--brand-accent);
    --bs-btn-hover-border-color: var(--brand-accent);
    --bs-btn-hover-color: var(--brand-accent-text);
    --bs-btn-active-bg: var(--brand-accent);
    --bs-btn-active-border-color: var(--brand-accent);
    --bs-btn-active-color: var(--brand-accent-text);
}

/* Dashboard tiles: a coloured edge repeats the status colour; the text badge carries the meaning. */
.tile {
    border-left-width: 0.35rem;
}

.tile-success { border-left-color: var(--bs-success); }
.tile-warning { border-left-color: var(--bs-warning); }
.tile-danger { border-left-color: var(--bs-danger); }
.tile-secondary { border-left-color: var(--bs-secondary); }

.tile .progress {
    height: 0.9rem;
}

.tile .origin-progress {
    height: 0.4rem;
    margin: 0.2rem 0;
}

.tile summary {
    cursor: pointer;
}

.tile .tile-forecast {
    border-left: 2px solid var(--bs-border-color);
    padding-left: 0.5rem;
}
