/* the tokens mapped to Bootstrap's variables again on any element switching its colour mode, where Bootstrap's own
   blocks would bring back its defaults (its blue, its small radii) */
:root,
[data-bs-theme='light'],
[data-bs-theme='dark'] {
    --bs-body-font-family: var(--wh-font-family-sans);
    --bs-body-bg: var(--wh-color-surface);
    --bs-body-bg-rgb: var(--wh-color-surface-rgb);
    --bs-body-color: var(--wh-color-text);
    --bs-body-color-rgb: var(--wh-color-text-rgb);
    --bs-secondary-color: var(--wh-color-muted);
    --bs-border-width: var(--wh-border-width);
    --bs-border-radius: var(--wh-radius);
    --bs-link-color-rgb: initial;
    --bs-link-hover-color-rgb: initial;
    --bs-primary: var(--wh-color-primary);
    --bs-primary-rgb: var(--wh-color-primary-rgb);
    --bs-secondary: var(--wh-color-secondary);
    --bs-secondary-rgb: var(--wh-color-secondary-rgb);
    --bs-warning: var(--wh-color-warning);
    --bs-warning-rgb: var(--wh-color-warning-rgb);
    --bs-success: var(--wh-color-success);
    --bs-success-rgb: var(--wh-color-success-rgb);
    --bs-dark: var(--wh-color-surface--dark);
    --bs-dark-rgb: var(--wh-color-surface-rgb--dark);
    --bs-danger: var(--wh-color-danger);
    --bs-danger-rgb: var(--wh-color-danger-rgb);
    --bs-form-invalid-color: var(--bs-danger);
    --bs-form-invalid-border-color: var(--bs-danger);
    /* the alerts flat in the vivid colours of the statuses, the same in every theme */
    --bs-warning-text-emphasis: var(--wh-color-ink);
    --bs-warning-bg-subtle: var(--wh-color-warning-bg);
    --bs-warning-border-subtle: var(--wh-color-warning-bg);
    --bs-danger-text-emphasis: var(--bs-body-color);
    --bs-danger-bg-subtle: var(--wh-color-danger-bg);
    --bs-danger-border-subtle: var(--wh-color-danger-bg);
    --bs-success-text-emphasis: var(--bs-primary);
    --bs-success-bg-subtle: var(--wh-color-success-bg);
    --bs-success-border-subtle: var(--wh-color-success-bg);
    --swiper-theme-color: var(--wh-color-white) !important;
    --swiper-pagination-bullet-inactive-color: var(--wh-color-white);
    --swiper-pagination-bullet-inactive-opacity: 0.3;
}

[data-bs-theme='dark'] {
    --bs-body-color: var(--wh-color-text);
    --bs-body-color-rgb: var(--wh-color-text-rgb);
    --bs-body-bg: var(--wh-color-surface);
    --bs-body-bg-rgb: var(--wh-color-surface-rgb);
    --bs-link-color-rgb: initial;
    --bs-link-hover-color-rgb: initial;
    --bs-border-color: var(--wh-color-border);
    /* bootstrap's dark theme sets its own, on the offcanvas menu too */
    --bs-danger-text-emphasis: var(--bs-body-color);
    --bs-danger-bg-subtle: var(--wh-color-danger-bg);
    --bs-danger-border-subtle: var(--wh-color-danger-bg);
    --bs-form-invalid-color: var(--bs-danger);
    --bs-form-invalid-border-color: var(--bs-danger);
    /* the grounds of Bootstrap's hovers and pressed states (list groups, dropdowns), its bluish greys otherwise */
    --bs-tertiary-bg: var(--wh-color-surface-alt);
    --bs-tertiary-bg-rgb: var(--wh-color-surface-alt-rgb);
    --bs-secondary-bg: var(--wh-color-separator);
    --bs-secondary-bg-rgb: var(--wh-color-separator-rgb);
    /* their text the warm white rather than Bootstrap's pure white */
    --bs-emphasis-color: var(--wh-color-text);
    --bs-emphasis-color-rgb: var(--wh-color-text-rgb);
}

/* a light page on the light theme's tokens, which data-bs-theme switches, and a light block of a dark page: its borders
   the separators */
[data-bs-theme='light'],
.text-bg-light {
    --bs-border-color: var(--wh-color-separator);
    /* the hovers' and pressed states' grounds, from the light values: a light block sits in a dark page */
    --bs-tertiary-bg: var(--wh-color-surface-alt--light);
    --bs-tertiary-bg-rgb: var(--wh-color-surface-alt-rgb--light);
    --bs-secondary-bg: var(--wh-color-separator--light);
    --bs-secondary-bg-rgb: var(--wh-color-separator-rgb--light);
}

[data-bs-theme='dark'] body,
[data-bs-theme='dark'] .modal-backdrop,
footer,
.offcanvas,
.navbar {
    background: var(--wh-gradient-page);
}

[data-bs-theme='light'] footer,
[data-bs-theme='light'] .navbar,
[data-bs-theme='light'] .card {
    --bs-heading-color: var(--wh-color-white);
    --bs-body-color: var(--wh-color-white);
    --bs-card-color: var(--wh-color-white);
    color: var(--wh-color-white);
}

/* back to the dark theme's tokens on the dark grounds of a light page, as data-bs-theme="dark" would give them (the
   offcanvas has it) without bringing in Bootstrap's dark theme: the roles this stylesheet reads, Bootstrap's variables
   set from them again below */
[data-bs-theme='light'] footer,
[data-bs-theme='light'] .navbar,
[data-bs-theme='light'] .card:not(.text-bg-light) {
    --wh-color-ground: var(--wh-color-ground--dark);
    --wh-color-surface: var(--wh-color-surface--dark);
    --wh-color-text: var(--wh-color-text--dark);
    --wh-color-muted: var(--wh-color-muted--dark);
    --wh-color-tab-inactive: var(--wh-color-tab-inactive--dark);
    --wh-color-border: var(--wh-color-border--dark);
    --wh-color-separator: var(--wh-color-separator--dark);
    --wh-color-secondary: var(--wh-color-secondary--dark);
    --wh-color-secondary-rgb: var(--wh-color-secondary-rgb--dark);
    --wh-color-danger: var(--wh-color-secondary);
    --wh-color-danger-rgb: var(--wh-color-secondary-rgb);
    --wh-color-warning: var(--wh-color-warning--dark);
}

[data-bs-theme='light'] [data-bs-theme='dark'],
[data-bs-theme='light'] footer,
[data-bs-theme='light'] .navbar,
[data-bs-theme='light'] .card:not(.text-bg-light),
.text-bg-light {
    --bs-secondary: var(--wh-color-secondary);
    --bs-secondary-rgb: var(--wh-color-secondary-rgb);
    --bs-secondary-color: var(--wh-color-muted);
    --bs-danger: var(--wh-color-danger);
    --bs-danger-rgb: var(--wh-color-danger-rgb);
    --bs-form-invalid-color: var(--bs-danger);
    --bs-form-invalid-border-color: var(--bs-danger);
}

.list-group {
    --bs-list-group-action-color: var(--bs-body-color);
    --bs-list-group-item-padding-x: 0;
    --bs-list-group-item-padding-y: var(--wh-gap-row);
    --bs-list-group-border-width: var(--wh-border-width);
    --bs-list-group-border-color: var(--wh-color-separator);
    --bs-list-group-bg: transparent;
    --bs-list-group-active-color: var(--wh-color-black);
    --bs-list-group-active-bg: var(--bs-body-color);
}

.list-group-item {
    font-weight: normal;
}

.list-group-flush > .list-group-item:last-child {
    border-bottom-width: var(--bs-list-group-border-width);
}

.card {
    --bs-card-border-radius: var(--bs-border-radius);
    --bs-card-border-width: 0;
    background: var(--wh-gradient-card);
    border: none;
    overflow-wrap: normal;
}

.bg-card-gradient {
    background: var(--wh-gradient-card);
}

.card-img-overlay {
    background: var(--wh-gradient-image-site);
    padding: var(--wh-space-16);
}

.card-img-overlay-inverted {
    background: linear-gradient(180deg, rgba(var(--wh-color-ink-rgb), 0.1) 0%, var(--wh-color-ink) 100%) !important;
}

.btn {
    --bs-btn-padding-x: var(--wh-space-12);
    --bs-btn-padding-y: var(--wh-gap-button);
    --bs-btn-border-radius: var(--wh-radius);
    --bs-btn-font-size: var(--wh-text-button-size);
    font-weight: var(--wh-text-button-weight);
    /* the label centred, as in the app, also in the buttons laid out in flex with their icon */
    justify-content: center;
}

/* on a phone, the buttons at the size of a finger; the links styled as buttons keep their underline under their text */
@media (max-width: 575.98px) {
    .btn:not(.btn-link) {
        min-height: 2.75rem;
    }

    .btn-close {
        padding: calc((2.75rem - 1em) / 2);
    }
}

/* the buttons filled with a colour, --btn-brand, darker when hovered, pressed or disabled, their text in --btn-brand-color
   or white; the outlined ones filled with it from their hover */
.btn-primary,
.btn-outline-primary,
.btn-secondary,
.btn-outline-secondary,
.btn-facebook,
.btn-instagram,
.btn-whatsapp,
.btn-tiktok,
.btn-spotify,
.btn-residentadvisor,
.btn-google,
.btn-help,
.btn-safeplace,
.spinner-group button {
    --bs-btn-hover-bg: color-mix(in srgb, var(--btn-brand) 90%, #000);
    --bs-btn-hover-border-color: var(--bs-btn-hover-bg);
    --bs-btn-active-bg: color-mix(in srgb, var(--btn-brand) 80%, #000);
    --bs-btn-active-border-color: var(--bs-btn-active-bg);
    --bs-btn-disabled-bg: color-mix(in srgb, var(--btn-brand) 70%, #000);
    --bs-btn-disabled-border-color: var(--bs-btn-disabled-bg);
}

.btn-primary,
.btn-secondary,
.btn-facebook,
.btn-instagram,
.btn-whatsapp,
.btn-tiktok,
.btn-spotify,
.btn-residentadvisor,
.btn-google,
.btn-help,
.btn-safeplace,
.spinner-group button {
    --bs-btn-bg: var(--btn-brand);
    --bs-btn-border-color: var(--btn-brand);
}

.btn-outline-primary,
.btn-outline-secondary {
    --bs-btn-color: var(--bs-white);
    --bs-btn-border-color: var(--btn-brand);
}

/* the secondary ones keeping Bootstrap's white texts */
.btn-primary,
.btn-outline-primary,
.btn-facebook,
.btn-instagram,
.btn-whatsapp,
.btn-tiktok,
.btn-spotify,
.btn-residentadvisor,
.btn-google,
.btn-help,
.btn-safeplace,
.spinner-group button {
    --bs-btn-hover-color: var(--btn-brand-color, var(--bs-white));
    --bs-btn-active-color: var(--btn-brand-color, var(--bs-white));
    --bs-btn-disabled-color: var(--btn-brand-color, var(--bs-white));
}

.btn-primary,
.btn-facebook,
.btn-instagram,
.btn-whatsapp,
.btn-tiktok,
.btn-spotify,
.btn-residentadvisor,
.btn-google,
.btn-help,
.btn-safeplace,
.spinner-group button {
    --bs-btn-color: var(--btn-brand-color, var(--bs-white));
}

.btn-primary,
.btn-outline-primary { --btn-brand: var(--bs-primary); --btn-brand-color: var(--wh-color-ink); }
.btn-secondary,
.btn-outline-secondary { --btn-brand: var(--bs-secondary); }
.btn-facebook { --btn-brand: var(--wh-color-brand-facebook); }
.btn-instagram { --btn-brand: var(--wh-color-brand-instagram); }
.btn-whatsapp { --btn-brand: var(--wh-color-brand-whatsapp); }
.btn-tiktok { --btn-brand: var(--wh-color-brand-tiktok); }
.btn-spotify { --btn-brand: var(--wh-color-brand-spotify); }
.btn-residentadvisor { --btn-brand: var(--wh-color-brand-residentadvisor); }
.btn-google { --btn-brand: var(--bs-white); --btn-brand-color: var(--wh-color-ink); }
.btn-help { --btn-brand: var(--wh-color-brand-help); --btn-brand-color: var(--bs-body-color); }
.btn-safeplace { --btn-brand: var(--wh-color-brand-safeplace); --btn-brand-color: var(--bs-body-color); }

.btn-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    text-align: center;
    z-index: 9;
}

a,
.btn-link {
    text-decoration: none;
    font-weight: var(--wh-font-weight-semibold);
}

.btn-link {
    --bs-btn-hover-color: var(--wh-color-secondary);
    border-bottom: var(--wh-border-width) solid var(--wh-color-secondary);
    padding-bottom: 0.375rem;
}

.form-label,
.col-form-label,
label {
    margin-bottom: var(--wh-space-4);
    padding: 0;
}

.col-form-label.required:after,
.form-label.required:after {
    color: var(--bs-danger);
    content: '*';
    margin-left: var(--wh-space-4);
}

.form-control,
.form-select {
    width: 100%;
    min-height: calc(1.5em + 1.5rem + 2px);
    padding: var(--wh-space-12) var(--wh-space-16);
    background-color: var(--wh-color-white);
    color: var(--wh-color-ink);
    border-radius: var(--bs-border-radius);
    --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23191919' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    border: none;
}

.form-control:focus {
    background-color: var(--wh-color-white);
    color: var(--wh-color-ink);
}

/* the focus of the other controls (buttons, boxes, switches, links styled as buttons) an outline in the focus token,
   the text's colour, as the admin's, rather than Bootstrap's blue halo; ink on a light block of a dark page */
.btn:focus-visible,
.btn-check:focus-visible + .btn,
.form-check-input:focus,
.nav-link:focus-visible {
    box-shadow: 0 0 0 calc(2 * var(--wh-border-width)) var(--wh-color-focus);
}

.text-bg-light :is(.btn:focus-visible, .btn-check:focus-visible + .btn, .form-check-input:focus, .nav-link:focus-visible) {
    box-shadow: 0 0 0 calc(2 * var(--wh-border-width)) var(--wh-color-focus--light);
}

/* the fields' focus a grey ring, as the admin's, rather than Bootstrap's blue halo */
.form-control:focus,
.form-select:focus {
    border-color: var(--wh-color-muted--light);
    box-shadow: 0 0 0 calc(2 * var(--wh-border-width)) var(--wh-color-muted--light);
}

.form-control::file-selector-button,
.form-control:hover::file-selector-button {
    background-color: var(--wh-color-white) !important;
    color: var(--wh-color-ink);
}

/* as the app's, on any ground: a dark track when off, green when on, the knob always white */
.form-switch .form-check-input {
    --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e") !important;
    --bs-form-check-bg: var(--wh-color-separator--dark);
    background-color: var(--bs-form-check-bg);
    border: var(--bs-border-width) solid var(--bs-form-check-bg);
}

/* on a white ground, an empty radio or checkbox stays white: filled with the dark theme's ground, it looks checked */
.text-bg-light .form-check:not(.form-switch) .form-check-input {
    --bs-form-check-bg: var(--wh-color-white);
    --bs-border-color: var(--wh-color-ink);
}

.form-check-input:checked {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.form-check-input:checked[type=checkbox] {
    --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23191919' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.form-check-input:checked[type=radio] {
    --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23191919'/%3e%3c/svg%3e");
}

/* in ink on a white ground, where the warm white would not show */
.text-bg-light .form-check-input:checked,
[data-bs-theme='light'] .form-check-input:checked {
    background-color: var(--wh-color-ink);
    border-color: var(--wh-color-ink);
}

.text-bg-light .form-check-input:checked[type=checkbox],
[data-bs-theme='light'] .form-check-input:checked[type=checkbox] {
    --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.text-bg-light .form-check-input:checked[type=radio],
[data-bs-theme='light'] .form-check-input:checked[type=radio] {
    --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
}

/* over the checked colours above, ink on a white ground included */
.form-switch .form-check-input:checked,
.text-bg-light .form-switch .form-check-input:checked,
[data-bs-theme='light'] .form-switch .form-check-input:checked {
    background-color: var(--wh-color-success-bg);
    border-color: var(--wh-color-success-bg);
}

.spinner-group {
    align-items: center;
    touch-action: manipulation;
}

.spinner-group button {
    --btn-brand: var(--wh-color-ink);
    --btn-brand-color: var(--bs-white);
    /* lightened when hovered, the ink being near black */
    --bs-btn-hover-bg: color-mix(in srgb, var(--btn-brand) 90%, #fff);
}

.spinner-group .form-control {
    text-align: center;
    background: transparent;
    max-width: 50px;
    -moz-appearance: textfield;
    padding: 0;
}

.spinner-group .form-control::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.spinner-group .form-control:focus {
    outline: none;
    box-shadow: none;
}

.navbar-brand img {
    max-width: 190px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-weight: var(--wh-font-weight-bold);
}

/*
 * The type scale shared with the app: a page's title 26, a section's 22, growing on a large screen only (40 and 32);
 * the names on the cards 16, lighter than the titles
 */
h1,
.h1 {
    font-size: clamp(var(--wh-text-page-title-size), 1.1rem + 2.2vw, var(--wh-text-page-title-size-large));
}

h2,
.h2 {
    font-size: clamp(var(--wh-text-section-title-size), 0.95rem + 1.6vw, var(--wh-text-section-title-size-large));
}

/* the titles of the banners, as a section's on a phone */
h3,
.h3 {
    font-size: clamp(var(--wh-text-section-title-size), 1.15rem + 0.9vw, 1.75rem);
}

.card-title {
    font-size: var(--wh-text-card-title-size);
    font-weight: var(--wh-text-card-title-weight);
}

/* the networks as in the emails: a 36px round tint, its logo white at 16px */
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--wh-color-surface-alt--dark);
    color: var(--wh-color-white);
}

.social-links a:hover {
    background: var(--wh-color-separator--dark);
}

.social-links svg {
    width: 1rem;
    height: 1rem;
}

/* the footer's groups of links under a short heading, as the menu's */
.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--wh-space-8);
}

/* the street of the address in the secondary grey, .text-secondary being the brand's red on the site */
.footer-address {
    color: var(--wh-color-muted);
}

.footer-heading,
.account-nav-heading {
    margin-bottom: var(--wh-space-4);
    color: var(--wh-color-muted);
    font-size: var(--wh-text-small-size);
    font-weight: var(--wh-font-weight-semibold);
    letter-spacing: .06em;
    text-transform: uppercase;
}

/* the rule above the footer's links, the separator of the menu's items rather than Bootstrap's border colour */
footer .border-top {
    --bs-border-color: var(--wh-color-separator);
}

/* the access conditions of an event, light cards on its light block (on a dark page, hence the light value): their
   outline marked, as the app's */
.access-condition {
    --bs-border-color: var(--wh-color-card-outline--light);
}

/* the name and date of an event, what is looked for in a list: as the app's cards, under its picture or its poster */
.event-card .card-title {
    font-size: var(--wh-text-event-title-size);
    line-height: var(--wh-text-event-title-line-height);
}

.event-card-date {
    font-size: var(--wh-text-secondary-size);
}

.security-form {
    min-height: 100vh;
    width: 100%;
}

.security-form .logo-img {
    max-width: 150px;
}

.ts-dropdown .option,
.ts-dropdown .optgroup-header,
.ts-dropdown .no-results,
.ts-dropdown .create {
    padding: var(--wh-space-12) var(--wh-space-32) var(--wh-space-12) var(--wh-space-16) !important;
}

.ts-dropdown,
.ts-dropdown.form-control,
.ts-dropdown.form-select,
.form-select .ts-control {
    background: var(--bs-body-color);
    color: var(--wh-color-ink) !important;
}

/* the ground of the light theme, the tint too pale on the white of the dropdown */
.ts-dropdown .active {
    color: var(--wh-color-ink);
    background-color: var(--wh-color-ground--light);
}

b,
strong {
    font-weight: var(--wh-font-weight-semibold);
}

.icon {
    text-align: center;
    width: var(--wh-icon-size);
    height: var(--wh-icon-size);
}

/* tabler's stroke, as the app's; set on the paths, so not inherited from the svg */
.icon [stroke-width],
.icon-2x [stroke-width],
.icon-3x [stroke-width],
.icon-4x [stroke-width] {
    stroke-width: var(--wh-icon-stroke);
}

.icon-2x,
.icon-3x,
.icon-4x {
    text-align: center;
}

.icon-2x {
    height: 2.25rem;
}

.icon-3x {
    height: 3.25rem;
}

.icon-4x {
    height: 4.25rem;
}

.html-content img {
    height: auto;
    max-width: 100%;
}

.accordion {
    --bs-accordion-active-color: var(--bs-white);
    --bs-accordion-btn-focus-box-shadow: none;
    --bs-accordion-active-bg: transparent;
    --bs-accordion-bg: transparent;
    --bs-accordion-btn-bg: transparent;
    --bs-accordion-btn-padding-x: 0;
    --bs-accordion-body-padding-x: 0;
}

.offcanvas .accordion {
    --bs-accordion-btn-padding-y: var(--wh-gap-row);
    --bs-accordion-body-padding-y: 0;
    --bs-accordion-border-width: 0;
}

[data-bs-theme='dark'] .accordion-button::after {
    --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* a light block of a dark page, on the light theme's tokens (the roles this stylesheet reads), Bootstrap's variables set
   from them again above: data-bs-theme="light" would bring Bootstrap's whole light theme into it, its grounds and
   borders included; the green and yellow kept vivid, filling its badges and alerts */
.text-bg-light {
    --wh-color-ground: var(--wh-color-ground--light);
    --wh-color-surface: var(--wh-color-surface--light);
    --wh-color-surface-alt: var(--wh-color-surface-alt--light);
    --wh-color-text: var(--wh-color-text--light);
    --wh-color-muted: var(--wh-color-muted--light);
    --wh-color-tab-inactive: var(--wh-color-tab-inactive--light);
    --wh-color-border: var(--wh-color-border--light);
    --wh-color-separator: var(--wh-color-separator--light);
    --wh-color-secondary: var(--wh-color-secondary--light);
    --wh-color-secondary-rgb: var(--wh-color-secondary-rgb--light);
    --wh-color-danger: var(--wh-color-secondary);
    --wh-color-danger-rgb: var(--wh-color-secondary-rgb);
    /* its header, and the head and foot of its tables, on the tint, as the admin's */
    --bs-card-cap-bg: var(--wh-color-surface-alt);
    background: var(--wh-color-surface) !important;
    color: var(--wh-color-text) !important;
}

.vh-75 {
    height: 75vh !important;
}

.bg-vip {
    background: var(--wh-gradient-vip);
}

.bg-passculture {
    background: var(--wh-gradient-passculture);
}

.bg-ticketswap {
    background: var(--wh-color-brand-ticketswap);
}

.tac_activate {
    background: var(--bs-body-bg) !important;
    color: var(--bs-body-color) !important;
    font-size: var(--wh-text-body-size) !important;
}

.tac_activate .tarteaucitronAllow {
    background: var(--bs-primary) !important;
    border-radius: var(--wh-radius) !important;
    color: var(--wh-color-ink) !important;
    font-size: var(--wh-text-button-size) !important;
    font-weight: var(--wh-text-button-weight);
    padding: var(--wh-gap-button) var(--wh-space-12) !important;
}

.g-recaptcha .tac_activate {
    background: transparent !important;
    color: inherit !important;
    border: var(--bs-border-width) solid currentColor;
    border-radius: var(--bs-border-radius);
    padding: var(--wh-space-16);
}

/*
 * The cookie banner and its panel, dark on every page as the navigation bar (the dark theme's tokens, pinned), with the
 * site's buttons: accept as .btn-primary, refuse as .btn-outline-primary, personalise as .btn-link; a service's
 * allow/deny filled with the state colours once chosen
 */
#tarteaucitronRoot * {
    color: var(--wh-color-text--dark) !important;
    font-family: var(--wh-font-family-sans);
}

#tarteaucitronRoot .tarteaucitronCheck::before,
#tarteaucitronRoot .tarteaucitronCross::before {
    color: inherit !important;
}

#tarteaucitronRoot #tarteaucitronAlertBig {
    background: var(--wh-gradient-page) !important;
    border-top: var(--wh-border-width) solid var(--wh-color-separator--dark);
    /* its padding inside tarteaucitron's 100% width rather than added to it, the banner otherwise 32px wider than the
       screen */
    box-sizing: border-box !important;
    width: 100% !important;
    font-size: var(--wh-text-body-size) !important;
    padding: var(--wh-space-16) var(--wh-gap-page) !important;
}

#tarteaucitronAlertBig #tarteaucitronDisclaimerAlert {
    font-size: var(--wh-text-body-size) !important;
    margin-right: var(--wh-space-12);
    text-align: center !important;
}

@media (max-width: 991.98px) {
    #tarteaucitronAlertBig #tarteaucitronDisclaimerAlert {
        display: block;
        margin: 0 0 var(--wh-space-12);
    }
}

#tarteaucitronRoot #tarteaucitronAlertBig button,
#tarteaucitronRoot #tarteaucitron .tarteaucitronAsk button,
html body #tarteaucitronRoot button#tarteaucitronSaveButton {
    background: transparent !important;
    border: var(--wh-border-width) solid var(--wh-color-border--dark) !important;
    border-radius: var(--wh-radius) !important;
    font-size: var(--wh-text-button-size) !important;
    font-weight: var(--wh-text-button-weight);
    line-height: var(--wh-text-button-line-height) !important;
    margin: var(--wh-space-4);
    padding: var(--wh-gap-button) var(--wh-space-12) !important;
}

#tarteaucitronRoot #tarteaucitronAlertBig button.tarteaucitronCTAButton.tarteaucitronAllow,
#tarteaucitron #tarteaucitronServices .tarteaucitronMainLine #tarteaucitronAllAllowed,
html body #tarteaucitronRoot button#tarteaucitronSaveButton {
    background: var(--wh-color-primary) !important;
    border-color: var(--wh-color-primary) !important;
}

#tarteaucitronRoot #tarteaucitronAlertBig button.tarteaucitronCTAButton.tarteaucitronAllow,
#tarteaucitronRoot #tarteaucitronAlertBig button.tarteaucitronCTAButton.tarteaucitronAllow *,
#tarteaucitron #tarteaucitronServices .tarteaucitronMainLine #tarteaucitronAllAllowed,
#tarteaucitron #tarteaucitronServices .tarteaucitronMainLine #tarteaucitronAllAllowed *,
html body #tarteaucitronRoot button#tarteaucitronSaveButton {
    color: var(--wh-color-ink) !important;
}

#tarteaucitronRoot #tarteaucitronAlertBig button.tarteaucitronCTAButton.tarteaucitronDeny,
#tarteaucitron #tarteaucitronServices .tarteaucitronMainLine #tarteaucitronAllDenied {
    border-color: var(--wh-color-primary) !important;
}

#tarteaucitronRoot #tarteaucitronAlertBig button.tarteaucitronCTAButton.tarteaucitronAllow:hover,
#tarteaucitron #tarteaucitronServices .tarteaucitronMainLine #tarteaucitronAllAllowed:hover,
html body #tarteaucitronRoot button#tarteaucitronSaveButton:hover {
    background: color-mix(in srgb, var(--wh-color-primary) 90%, #000) !important;
}

#tarteaucitronRoot #tarteaucitronAlertBig button.tarteaucitronCTAButton.tarteaucitronDeny:hover,
#tarteaucitron #tarteaucitronServices .tarteaucitronMainLine #tarteaucitronAllDenied:hover {
    background: var(--wh-color-primary) !important;
}

#tarteaucitronRoot #tarteaucitronAlertBig button.tarteaucitronCTAButton.tarteaucitronDeny:hover,
#tarteaucitronRoot #tarteaucitronAlertBig button.tarteaucitronCTAButton.tarteaucitronDeny:hover *,
#tarteaucitron #tarteaucitronServices .tarteaucitronMainLine #tarteaucitronAllDenied:hover,
#tarteaucitron #tarteaucitronServices .tarteaucitronMainLine #tarteaucitronAllDenied:hover * {
    color: var(--wh-color-ink) !important;
}

#tarteaucitronAlertBig button#tarteaucitronCloseAlert {
    border-width: 0 0 var(--wh-border-width) !important;
    border-color: var(--wh-color-secondary--dark) !important;
    border-radius: 0 !important;
    font-weight: var(--wh-font-weight-semibold);
    padding: 0 0 .375rem !important;
}

/* on the phones, the buttons stacked at full width within the 16px gutter, Personalise staying a link centred under them */
@media (max-width: 575.98px) {
    #tarteaucitronRoot #tarteaucitronAlertBig button {
        box-sizing: border-box !important;
        display: block;
        margin: var(--wh-space-8) 0 0;
        width: 100%;
    }

    #tarteaucitronAlertBig button#tarteaucitronCloseAlert {
        margin: var(--wh-space-12) auto 0;
        width: fit-content;
    }
}

#tarteaucitron #tarteaucitronServices .tarteaucitronLine.tarteaucitronIsAllowed .tarteaucitronAllow,
#tarteaucitron #tarteaucitronServices #tarteaucitronServices_mandatory .tarteaucitronLine button.tarteaucitronAllow {
    background: var(--wh-color-success-bg) !important;
    border-color: var(--wh-color-success-bg) !important;
}

#tarteaucitron #tarteaucitronServices .tarteaucitronLine.tarteaucitronIsDenied .tarteaucitronDeny {
    background: var(--wh-color-danger-bg) !important;
    border-color: var(--wh-color-danger-bg) !important;
}

#tarteaucitron #tarteaucitronServices .tarteaucitronLine.tarteaucitronIsAllowed .tarteaucitronAllow *,
#tarteaucitron #tarteaucitronServices .tarteaucitronLine.tarteaucitronIsAllowed .tarteaucitronAllow,
#tarteaucitron #tarteaucitronServices #tarteaucitronServices_mandatory .tarteaucitronLine button.tarteaucitronAllow,
#tarteaucitron #tarteaucitronServices #tarteaucitronServices_mandatory .tarteaucitronLine button.tarteaucitronAllow *,
#tarteaucitron #tarteaucitronServices .tarteaucitronLine.tarteaucitronIsDenied .tarteaucitronDeny,
#tarteaucitron #tarteaucitronServices .tarteaucitronLine.tarteaucitronIsDenied .tarteaucitronDeny * {
    color: var(--wh-color-ink) !important;
}

#tarteaucitronRoot #tarteaucitronBack {
    background: var(--wh-color-ink) !important;
}

#tarteaucitron #tarteaucitronServices,
#tarteaucitron #tarteaucitronServices .tarteaucitronMainLine,
#tarteaucitron .tarteaucitronBorder,
#tarteaucitron #tarteaucitronInfo,
#tarteaucitron #tarteaucitronClosePanel,
html body #tarteaucitronRoot div#tarteaucitronSave,
#tarteaucitron #tarteaucitronServices .tarteaucitronLine,
#tarteaucitron #tarteaucitronServices .tarteaucitronTitle button,
#tarteaucitron #tarteaucitronServices .tarteaucitronTitle + [id^="tarteaucitronDetails"] {
    background: var(--wh-color-surface--dark) !important;
    border-color: var(--wh-color-separator--dark) !important;
}

#tarteaucitron #tarteaucitronServices {
    border-radius: var(--wh-radius);
}

#tarteaucitron #tarteaucitronClosePanel {
    border-radius: var(--wh-radius) var(--wh-radius) 0 0;
}

#tarteaucitron #tarteaucitronServices .tarteaucitronLine {
    border-left-color: transparent !important;
    border-top: var(--wh-border-width) solid var(--wh-color-separator--dark);
}

#tarteaucitron #tarteaucitronInfo,
#tarteaucitron #tarteaucitronInfo *,
#tarteaucitron #tarteaucitronServices .tarteaucitronDetails,
#tarteaucitron .tarteaucitronName .tacCurrentStatus,
#tarteaucitron .tarteaucitronName .tarteaucitronReadmoreSeparator,
#tarteaucitron .tarteaucitronListCookies,
#tarteaucitron a {
    color: var(--wh-color-muted--dark) !important;
}

#tarteaucitronRoot button:focus-visible,
#tarteaucitronRoot a:focus-visible {
    outline: calc(2 * var(--wh-border-width)) solid var(--wh-color-focus--dark) !important;
    outline-offset: calc(2 * var(--wh-border-width));
}

/*
 * As the app's lists, the cards slide up to the edges of the screen, the first and last aligned with the page
 * (clipped by main); not a slider within a card, like the pictures of a product
 */
[data-controller~="swiper"]:not([data-swiper-nested-value="true"]) {
    overflow: visible !important;
}

/* Lays the slides out as Swiper will until its lazy controller has loaded, otherwise they stack up then collapse (layout shift) */
[data-controller~="swiper"]:not(.swiper-initialized) {
    --swiper-items: var(--swiper-items-mobile, 1.1);
    display: flex;
    gap: var(--wh-space-24);
}

[data-controller~="swiper"]:not(.swiper-initialized) > :not(.swiper-wrapper) {
    flex: 0 0 calc((100% - (var(--swiper-items) - 1) * var(--wh-space-24)) / var(--swiper-items));
    min-width: 0;
}

[data-swiper-items-mobile-value="1"] { --swiper-items-mobile: 1; }
[data-swiper-items-mobile-value="1.2"] { --swiper-items-mobile: 1.2; }
[data-swiper-items-mobile-value="2.1"] { --swiper-items-mobile: 2.1; }
[data-swiper-items-tablet-value="1"] { --swiper-items-tablet: 1; }
[data-swiper-items-desktop-value="1"] { --swiper-items-desktop: 1; }
[data-swiper-items-desktop-value="3.2"] { --swiper-items-desktop: 3.2; }
[data-swiper-items-desktop-value="5.1"] { --swiper-items-desktop: 5.1; }

@media (min-width: 768px) {
    [data-controller~="swiper"]:not(.swiper-initialized) {
        --swiper-items: var(--swiper-items-tablet, 2.1);
    }
}

@media (min-width: 992px) {
    [data-controller~="swiper"]:not(.swiper-initialized) {
        --swiper-items: var(--swiper-items-desktop, 4.1);
    }
}

.form-text {
    color: var(--wh-color-border);
}

.text-bg-light .form-text,
[data-bs-theme='light'] .form-text {
    color: var(--wh-color-muted);
}

.table {
    --bs-table-bg: transparent;
    --bs-table-color: initial;
}

.text-bg-light .table > thead,
.text-bg-light .table > tfoot {
    --bs-table-bg: var(--wh-color-surface-alt);
}

/* a card's table flush with it, as the admin's: its head and foot bands to the card's edges, rounded as it at its top or
   bottom (its scrolling box clips them), a line between its head and a header on the same tint, its cells airy as the
   app's lists */
.card > .card-header + .card-table {
    border-top: var(--bs-border-width) solid var(--bs-border-color);
}

.card > .card-table:first-child {
    border-top-left-radius: var(--bs-card-inner-border-radius);
    border-top-right-radius: var(--bs-card-inner-border-radius);
}

.card > .card-table:last-child {
    border-bottom-left-radius: var(--bs-card-inner-border-radius);
    border-bottom-right-radius: var(--bs-card-inner-border-radius);
}

.card-table > .table {
    margin-bottom: 0;
}

/* Bootstrap's own padding of the cells, compiled without its variables; more on the card's edges */
.card-table > .table > :not(caption) > * > * {
    padding: var(--wh-space-16) var(--wh-space-12);
}

.card-table > .table > * > tr > :first-child {
    padding-left: var(--bs-card-spacer-x);
}

.card-table > .table > * > tr > :last-child {
    padding-right: var(--bs-card-spacer-x);
}

.card > .card-table:last-child > .table > :last-child > tr:last-child > * {
    border-bottom-width: 0;
}

.modal {
    --bs-modal-header-border-width: 0;
    --bs-modal-footer-border-width: 0;
}

.modal-footer {
    justify-content: flex-start;
}

.mn-1 {
    margin: -1px;
}

.mn-5 {
    margin-top: -5rem;
}

/* With d-grid, stacks the children in a single cell, its height being the one of the highest child (a picture and a text over it) */
.grid-stack > * {
    grid-area: 1 / 1;
}

.bg-transparent {
    background: transparent !important;
}

.offcanvas {
    --bs-offcanvas-border-width: 0;
}

/* the titles of the groups of the filters of the events */
#offcanvasFilter legend.col-form-label {
    font-size: 1.2rem;
    text-transform: initial;
    padding-bottom: var(--wh-space-8);
    margin-bottom: var(--wh-space-16);
    /* a light rule on the dark panel, as visible as the old #d6d4d4 */
    border-bottom: var(--wh-border-width) solid var(--wh-color-muted);
    color: var(--bs-body-color);
}

.btn.rounded {
    --bs-btn-font-size: 0;
    --bs-btn-padding-x: var(--wh-gap-button);
}

.btn svg {
    font-size: 0;
}

.nav {
    --bs-nav-link-hover-color: var(--wh-color-ink);
}

.nav-tabs {
    --bs-nav-link-hover-color: var(--wh-color-text);
    --bs-nav-tabs-border-width: 0;
    --bs-nav-tabs-border-radius: 0;
    --bs-nav-tabs-link-active-color: var(--wh-color-text);
    --bs-nav-link-padding-y: 0;
    --bs-nav-link-color: var(--wh-color-tab-inactive);
    font-size: var(--wh-text-page-title-size);
}

.nav-tabs .nav-item {
    margin-top: var(--wh-space-8);
    margin-bottom: var(--wh-space-8);
}

.nav-tabs .nav-item:first-child .nav-link {
    padding-left: 0;
}

.nav-tabs .nav-item:not(:last-child) {
    border-right: var(--wh-border-width) solid var(--wh-color-text);
}

.nav-tabs .active {
    font-weight: var(--wh-font-weight-semibold);
}

/* a segmented control, as the app's: pills on a track of the alternate surface, the current one white under ink; on a
   phone its links at the size of a finger */
.nav-segmented {
    --bs-nav-link-padding-x: var(--wh-space-16);
    --bs-nav-link-padding-y: var(--wh-space-8);
    --bs-nav-link-font-size: var(--wh-text-button-size);
    --bs-nav-link-font-weight: var(--wh-font-weight-semibold);
    --bs-nav-link-color: var(--wh-color-muted);
    --bs-nav-link-hover-color: var(--wh-color-text);
    --bs-nav-pills-border-radius: var(--wh-radius);
    --bs-nav-pills-link-active-bg: var(--wh-color-primary);
    --bs-nav-pills-link-active-color: var(--wh-color-ink);
    background: var(--wh-color-surface-alt);
}

/* a segment's count, after its label */
.nav-segmented .nav-link > span {
    font-size: var(--wh-text-pill-size);
}

@media (max-width: 575.98px) {
    .nav-segmented .nav-link {
        min-height: 2.75rem;
    }
}

.aspect-ratio-1x1 {
    aspect-ratio: 1 / 1;
}

.spinner .mb-3 {
    margin-bottom: 0 !important;
}

/* the pills (genre, type, category), as the app's */
.fs-pill {
    font-size: var(--wh-text-pill-size) !important;
}

.pswp img {
    max-width: none;
    object-fit: contain;
}

.html-content a {
    text-decoration: underline;
}

/* Actives page */
.page-actives {
    --actives-dark: #212121;
    --actives-pink: #ff57a7;
    --actives-pink-gradient: linear-gradient(180deg, var(--wh-color-white) 0%, #ff57a7 100%);
}

.page-actives .text-actives {
    color: var(--actives-pink);
}

.page-actives .hero-actives-logo {
    width: 100%;
    max-width: min(100%, 640px);
    height: auto;
}

.page-actives .actives-artists .card {
    background: var(--actives-pink-gradient);
    color: var(--actives-dark);
}

.page-actives .actives-artists .btn-outline-secondary {
    --bs-btn-color: var(--actives-dark);
    --bs-btn-border-color: var(--actives-dark);
    --bs-btn-hover-color: var(--wh-color-white);
    --bs-btn-hover-bg: var(--actives-dark);
    --bs-btn-hover-border-color: var(--actives-dark);
}

.page-actives .actives-date-card {
    background: var(--actives-pink-gradient);
    color: var(--actives-dark);
}

.page-actives .btn-outline-actives {
    --bs-btn-color: var(--actives-pink);
    --bs-btn-border-color: var(--actives-pink);
    --bs-btn-hover-color: var(--actives-dark);
    --bs-btn-hover-bg: var(--actives-pink);
    --bs-btn-hover-border-color: var(--actives-pink);
    --bs-btn-active-color: var(--actives-dark);
    --bs-btn-active-bg: color-mix(in srgb, var(--actives-pink) 80%, #000);
    --bs-btn-active-border-color: color-mix(in srgb, var(--actives-pink) 80%, #000);
}

/* "Des rendez-vous pensés pour toi" cards */
.page-actives .rdv-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--wh-space-24);
    height: 100%;
    padding: 1.75rem;
    border: 0;
    color: var(--actives-dark);
}

.page-actives .rdv-card-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 0.4rem;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.page-actives .rdv-card-body {
    align-self: stretch;
    margin-top: auto;
    margin-bottom: auto;
}

.page-actives .rdv-card-title {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.page-actives .rdv-card-text {
    margin: 1.25rem 0;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.3;
}

.page-actives .rdv-card-infos {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.4rem 0.75rem;
    align-items: baseline;
    margin: 0;
    font-size: 0.85rem;
}

.page-actives .rdv-card-infos dt {
    font-weight: 800;
    text-transform: uppercase;
}

.page-actives .rdv-card-infos dd {
    margin: 0;
}

.page-actives .rdv-card-footer {
    font-size: 0.85rem;
    font-weight: var(--wh-font-weight-semibold);
}

/* Focus artiste calendar */
.page-actives .rdv-calendar {
    margin: var(--wh-space-24) 0 0;
    padding: 0;
    list-style: none;
}

.page-actives .rdv-calendar-item {
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: 0.6rem;
    align-items: center;
    padding: 0.9rem 0;
}

.page-actives .rdv-calendar-item + .rdv-calendar-item {
    border-top: 2px solid var(--actives-dark);
}

.page-actives .rdv-calendar-date {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.page-actives .rdv-calendar-star {
    width: var(--wh-icon-size);
    height: var(--wh-icon-size);
    fill: currentcolor;
}

.page-actives .rdv-calendar-name {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.page-actives .rdv-calendar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
    margin-top: 0.3rem;
}

.page-actives .rdv-calendar-tag {
    padding: 0 0.2rem;
    border: var(--wh-border-width) solid var(--actives-dark);
    border-radius: 0.2rem;
    font-size: 0.6rem;
    font-weight: 500;
    line-height: 1.4;
    text-transform: uppercase;
}

/* Card variants */
.page-actives .rdv-card-dark {
    background: var(--actives-dark);
    color: var(--actives-pink);
}

.page-actives .rdv-card-dark .rdv-card-badge {
    background: var(--actives-pink);
    color: var(--actives-dark);
}

.page-actives .rdv-card-white {
    background: var(--wh-color-white);
}

.page-actives .rdv-card-white .rdv-card-badge {
    background: var(--actives-dark);
    color: var(--wh-color-white);
}

.page-actives .rdv-card-pink {
    background: var(--actives-pink);
}

.page-actives .rdv-card-pink .rdv-card-badge {
    background: var(--actives-dark);
    color: var(--actives-pink);
}

.page-actives .rdv-card-gradient {
    background: var(--actives-pink-gradient);
}

.page-actives .rdv-card-gradient .rdv-card-badge {
    background: var(--actives-dark);
    color: var(--wh-color-white);
}

/* Privatisation sub-pages */
.privatisation-bandeau-img {
    max-height: 26rem;
    object-fit: cover;
}

.privatisation-testimonial,
.privatisation-contact {
    background: var(--wh-color-ground);
    color: var(--wh-color-text);
}

.privatisation-testimonial-avatar {
    width: 110px;
    height: 110px;
    object-fit: cover;
}

.privatisation-testimonial-role {
    color: var(--wh-color-muted);
}

.privatisation-testimonial-stars {
    color: var(--wh-color-warning);
}

.privatisation-testimonial-stars svg {
    width: var(--wh-icon-size);
    height: var(--wh-icon-size);
}

.privatisation-testimonial-stars svg path {
    fill: currentColor;
}

.privatisation-extra-item {
    flex: 1 1 240px;
}

.privatisation-extra-item-highlight {
    background: transparent;
    color: var(--wh-color-text);
    border: var(--wh-border-width) solid var(--wh-color-secondary);
}

/* margins of 16px on the phones, as the app's; the rows inside keep their own gutter, so stay aligned */
@media (max-width: 575.98px) {
    .container {
        --bs-gutter-x: calc(2 * var(--wh-gap-page));
    }
}

/* clips the sliders overflowing the page, without creating the scroll container that would stop the sticky elements */
main {
    overflow-x: hidden;
    overflow-x: clip;
}

/* in a slider, each event card at its own height, as in the grids, not stretched to the highest of its row */
.swiper-wrapper > .event-card,
[data-controller~="swiper"] > .event-card {
    align-self: flex-start;
    height: auto;
}

/* the artists' letters, always at hand under the navigation bar */
.artist-index {
    position: sticky;
    top: 5rem;
    z-index: 5;
}

.artist-letter {
    background: none;
    border: 0;
    border-radius: var(--wh-radius);
    color: inherit;
    font-weight: var(--wh-font-weight-semibold);
    min-width: 1.75rem;
    padding: .125rem var(--wh-space-4);
    text-align: center;
}

.artist-letter.active,
.artist-letter:not(.disabled):hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.artist-letter.disabled {
    opacity: .35;
}

.artist-row img {
    object-fit: cover;
}

.artist-row:hover {
    color: var(--bs-secondary) !important;
}

/* a job's summary follows the reading, the form being far below */
@media (min-width: 992px) {
    .job-apply {
        position: sticky;
        top: 6rem;
    }
}

/* a video or a map waiting for the consent: a picture and a clear choice rather than an empty hole */
.youtube_player:has(.tac_activate) {
    background: url("../images/bg/bg-job-0XZ0HRn.jpg") center / cover;
    border-radius: var(--bs-border-radius);
    overflow: hidden;
}

.googlemapsembed:has(.tac_activate) {
    background: var(--wh-gradient-card);
}

.youtube_player .tac_activate,
.googlemapsembed .tac_activate {
    align-items: center;
    background: rgb(0 0 0 / .55) !important;
    color: var(--bs-white) !important;
    display: flex;
    height: 100%;
    justify-content: center;
    padding: var(--wh-space-16);
    text-align: center;
}

/* fields on a white card, where they would be invisible without a border */
.form-outlined .form-control,
.form-outlined .form-select {
    border: var(--wh-border-width) solid var(--wh-color-border);
}

/* the button beside such a field (a password's reveal) in the field's outline, rather than white on white */
.form-outlined .input-group > .btn {
    --bs-btn-color: var(--wh-color-ink);
    --bs-btn-bg: var(--wh-color-white);
    --bs-btn-border-color: var(--wh-color-border);
    --bs-btn-hover-color: var(--wh-color-ink);
    --bs-btn-hover-bg: var(--wh-color-surface-alt);
    --bs-btn-hover-border-color: var(--wh-color-border);
    --bs-btn-active-color: var(--wh-color-ink);
    --bs-btn-active-bg: var(--wh-color-surface-alt);
    --bs-btn-active-border-color: var(--wh-color-border);
}

/* the tabs cut by the edge of a phone fade out, showing that they scroll */
@media (max-width: 991.98px) {
    .nav-tabs.overflow-x-auto {
        -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 3rem), transparent);
        mask-image: linear-gradient(to right, #000 calc(100% - 3rem), transparent);
        padding-right: 3rem;
    }
}

/* submit button of a form being sent, see assets/js/submit_lock.js */
.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 1rem;
    height: 1rem;
    margin: auto;
    border: 2px solid var(--bs-btn-color);
    border-right-color: transparent;
    border-radius: 50%;
    animation: btn-loading-spin .75s linear infinite;
}

@keyframes btn-loading-spin {
    to {
        transform: rotate(360deg);
    }
}

/* the dark buttons in the charte's ink, as the app's, rather than Bootstrap's grey: filled for a light block's main
   action, outlined for its other ones, both filled with ink from their hover */
.btn-dark,
.btn-outline-dark {
    --bs-btn-color: var(--wh-color-ink);
    --bs-btn-border-color: var(--wh-color-ink);
    --bs-btn-hover-color: var(--wh-color-primary);
    --bs-btn-hover-bg: var(--wh-color-ink);
    --bs-btn-hover-border-color: var(--wh-color-ink);
    --bs-btn-active-color: var(--wh-color-primary);
    --bs-btn-active-bg: var(--wh-color-ink);
    --bs-btn-active-border-color: var(--wh-color-ink);
    --bs-btn-disabled-color: var(--wh-color-ink);
    --bs-btn-disabled-border-color: var(--wh-color-ink);
}

.btn-dark {
    --bs-btn-color: var(--wh-color-primary);
    --bs-btn-bg: var(--wh-color-ink);
    --bs-btn-hover-bg: color-mix(in srgb, var(--wh-color-ink) 85%, var(--wh-color-white));
    --bs-btn-hover-border-color: var(--bs-btn-hover-bg);
    --bs-btn-active-bg: color-mix(in srgb, var(--wh-color-ink) 75%, var(--wh-color-white));
    --bs-btn-active-border-color: var(--bs-btn-active-bg);
    --bs-btn-disabled-color: var(--wh-color-primary);
    --bs-btn-disabled-bg: var(--wh-color-ink);
}

/* the danger buttons in the charte's red, the outlined ones filled with it from their hover: under ink on a dark ground,
   under white on the deeper red of a light block */
.btn-outline-danger,
.btn-danger {
    --bs-btn-color: var(--wh-color-danger);
    --bs-btn-border-color: var(--wh-color-danger);
    --bs-btn-hover-color: var(--wh-color-ink);
    --bs-btn-hover-bg: var(--wh-color-danger);
    --bs-btn-hover-border-color: var(--wh-color-danger);
    --bs-btn-active-color: var(--wh-color-ink);
    --bs-btn-active-bg: var(--wh-color-danger);
    --bs-btn-active-border-color: var(--wh-color-danger);
}

.btn-danger {
    --bs-btn-color: var(--wh-color-ink);
    --bs-btn-bg: var(--wh-color-danger);
    --bs-btn-hover-bg: color-mix(in srgb, var(--wh-color-danger) 90%, #000);
    --bs-btn-hover-border-color: var(--bs-btn-hover-bg);
}

:is(.text-bg-light, [data-bs-theme='light']) :is(.btn-outline-danger, .btn-danger) {
    --bs-btn-hover-color: var(--wh-color-white);
    --bs-btn-active-color: var(--wh-color-white);
}

:is(.text-bg-light, [data-bs-theme='light']) .btn-danger {
    --bs-btn-color: var(--wh-color-white);
}

/* a light card's content 20 px from its edges, as the app's lists; its header and footer on its white, set off by a
   rule */
.card.text-bg-light {
    --bs-card-spacer-x: 1.25rem;
}

.card.text-bg-light > .card-header {
    padding: var(--wh-space-16) var(--bs-card-spacer-x);
    border-bottom: var(--wh-border-width) solid var(--wh-color-separator);
}

.card.text-bg-light > .card-footer {
    padding: var(--wh-space-12) var(--bs-card-spacer-x);
    border-top: var(--wh-border-width) solid var(--wh-color-separator);
}

/* a status in a pill of its vivid colour under ink, as the app's; neutral without one */
.badge-state {
    --bs-badge-color: var(--wh-color-ink);
    --bs-badge-font-size: var(--wh-text-pill-size);
    --bs-badge-font-weight: var(--wh-text-pill-weight);
    --bs-badge-padding-x: var(--wh-space-8);
    --bs-badge-padding-y: var(--wh-space-4);
    background: var(--wh-color-separator--light);
}

.badge-state-success {
    background: var(--wh-color-success-bg);
}

.badge-state-warning {
    background: var(--wh-color-warning-bg);
}

.badge-state-danger {
    background: var(--wh-color-danger-bg);
}

/* a pale tint of the warning's vivid yellow behind a line to act on, the same in both colour modes, Bootstrap's
   bg-warning being the light mode's dark gold of the text */
.bg-warning-tint {
    background-color: rgba(var(--wh-color-warning-bg-rgb), 0.25) !important;
}

/* a pill in the charte's ink, Bootstrap's text-bg-dark being the dark surface */
.text-bg-ink {
    color: var(--wh-color-primary) !important;
    background-color: var(--wh-color-ink) !important;
}

/*
 * The customer's account: a flat page, its menu a column of pills (a row scrolling sideways on a phone), its lists and
 * forms in light cards
 */
body:has(.account),
body:has(.account) :is(.navbar, footer, .offcanvas, .modal-backdrop) {
    background: var(--wh-color-ink);
}

.account {
    --bs-gutter-x: var(--wh-gap-section);
    padding-top: var(--wh-space-16);
}

@media (min-width: 992px) {
    .account {
        padding-top: var(--wh-space-32);
    }
}

.account-row,
.account-links,
.pager-info {
    font-size: var(--wh-text-secondary-size);
    line-height: var(--wh-text-secondary-line-height);
}

.account-nav {
    --bs-nav-link-padding-x: var(--wh-space-12);
    --bs-nav-link-padding-y: var(--wh-gap-button);
    --bs-nav-link-font-size: var(--wh-text-button-size);
    --bs-nav-link-font-weight: var(--wh-font-weight-semibold);
    --bs-nav-link-color: var(--wh-color-muted);
    --bs-nav-link-hover-color: var(--wh-color-text);
    flex-wrap: nowrap;
    gap: var(--wh-space-8);
    /* the scrolling row runs to the screen's edges, its first pill still on the page's edge, with room for the focus ring */
    margin-inline: calc(50% - 50vw);
    padding: calc(2 * var(--wh-border-width)) calc(50vw - 50%);
    overflow-x: auto;
    scrollbar-width: none;
}

.account-nav .nav-link {
    display: flex;
    flex: none;
    align-items: center;
    gap: var(--wh-gap-button);
    border: var(--wh-border-width) solid var(--wh-color-separator);
    border-radius: var(--wh-radius);
    line-height: var(--wh-text-button-line-height);
    white-space: nowrap;
}

.account-nav .nav-link.active {
    background: var(--wh-color-primary);
    border-color: var(--wh-color-primary);
    color: var(--wh-color-ink);
}

.account-nav .account-nav-logout {
    --bs-nav-link-color: var(--wh-color-danger);
    --bs-nav-link-hover-color: var(--wh-color-danger);
}

.account-nav-heading {
    padding: 0 var(--wh-space-12) var(--wh-gap-title);
}

.account-nav hr {
    margin: var(--wh-space-12);
    color: var(--wh-color-separator);
    opacity: 1;
}

@media (min-width: 992px) {
    .account-nav {
        --bs-nav-link-font-weight: var(--wh-font-weight-regular);
        flex-direction: column;
        gap: var(--wh-space-4);
        margin-inline: 0;
        padding: 0;
        overflow: visible;
    }

    .account-nav .nav-link {
        border: 0;
    }

    .account-nav .nav-link:hover,
    .account-nav .nav-link.active {
        background: var(--wh-color-surface-alt);
        color: var(--wh-color-text);
    }

    .account-nav .nav-link.active {
        font-weight: var(--wh-font-weight-semibold);
    }

    .account-nav .account-nav-logout:hover {
        color: var(--wh-color-danger);
    }
}

/* an event of the tickets: its picture and texts, the button under them on a phone, beside them otherwise */
.account-event {
    display: flex;
    flex-direction: column;
    gap: var(--wh-space-12);
    padding: var(--wh-space-16) var(--bs-card-spacer-x);
}

.account-event-body {
    display: flex;
    flex-grow: 1;
    align-items: center;
    gap: var(--wh-space-12);
    min-width: 0;
}

.account-event-text {
    min-width: 0;
}

@media (min-width: 576px) {
    .account-event {
        flex-direction: row;
        align-items: center;
        gap: var(--wh-space-16);
    }

    .account-event-body {
        gap: var(--wh-space-16);
    }
}

.account-links .icon,
.pagination .icon {
    width: var(--wh-icon-size-chevron);
    height: var(--wh-icon-size-chevron);
}

/* a line of a light card: a switch and its label, or a short text */
.account-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--wh-space-12);
    padding: var(--wh-space-12) var(--bs-card-spacer-x);
}

.account-row .form-check,
.account-row label {
    min-height: 0;
    margin: 0;
}

.account-links {
    --bs-list-group-item-padding-x: var(--bs-card-spacer-x);
    --bs-list-group-item-padding-y: var(--wh-space-12);
}

.account-links .list-group-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--wh-space-12);
}

.account-links.list-group-flush > .list-group-item:last-child {
    border-bottom-width: 0;
}

/* the pager of a list in a light card */
.pagination {
    --bs-pagination-padding-x: var(--wh-space-8);
    --bs-pagination-padding-y: 0;
    --bs-pagination-font-size: var(--wh-text-button-size);
    --bs-pagination-color: var(--wh-color-ink);
    --bs-pagination-bg: transparent;
    --bs-pagination-border-width: 0;
    --bs-pagination-border-radius: var(--wh-radius);
    --bs-pagination-hover-color: var(--wh-color-ink);
    --bs-pagination-hover-bg: var(--wh-color-ground--light);
    --bs-pagination-focus-color: var(--wh-color-ink);
    --bs-pagination-focus-bg: transparent;
    --bs-pagination-focus-box-shadow: 0 0 0 calc(2 * var(--wh-border-width)) var(--wh-color-focus--light);
    --bs-pagination-active-color: var(--wh-color-primary);
    --bs-pagination-active-bg: var(--wh-color-ink);
    --bs-pagination-disabled-color: rgba(var(--wh-color-muted-rgb--light), 0.5);
    --bs-pagination-disabled-bg: transparent;
    gap: var(--wh-space-4);
}

.pagination .page-item .page-link {
    display: inline-grid;
    place-items: center;
    min-width: 2.5rem;
    height: 2.5rem;
    margin-left: 0;
    border-radius: var(--bs-pagination-border-radius);
    font-weight: var(--wh-font-weight-semibold);
    font-variant-numeric: tabular-nums;
}

/* the summary and the pages beside each other; on a phone the arrows on each side of the page's position, at the size
   of a finger */
.pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--wh-space-12);
}

.pager-info {
    color: var(--wh-color-muted);
    font-variant-numeric: tabular-nums;
}

.pager .pager-position {
    display: none;
}

@media (max-width: 575.98px) {
    .pager > .pager-info {
        display: none;
    }

    .pager .pagination {
        flex-grow: 1;
        align-items: center;
        justify-content: space-between;
    }

    .pager .pagination > .page-item:not(:first-child, :last-child) {
        display: none;
    }

    .pager .pager-position {
        display: block;
    }

    .pagination .page-item .page-link {
        min-width: 2.75rem;
        height: 2.75rem;
    }
}

/* on a phone, the menu's pills and the account's links at the size of a finger */
@media (max-width: 575.98px) {
    .account-nav .nav-link,
    .account-links .list-group-item {
        min-height: 2.75rem;
    }
}

/* the switches of a light card's rows at the app's size */
.account-row .form-switch .form-check-input {
    width: 2.75rem;
    height: 1.5rem;
    margin: 0;
}

.account-row .form-switch {
    padding: 0;
}

.account-linked-name {
    display: flex;
    align-items: center;
    gap: var(--wh-space-12);
    font-weight: var(--wh-font-weight-semibold);
}

/* a ticketing's actions, on a line of their own under it */
.account-order-item-with-actions > * {
    border-bottom-width: 0;
}
