/*
 * The sign-up wizards and their forms: a band's or fan club's sign-up, a new event or venue, an artist's application,
 * a band's claim and contribution (PageStylesheets.cs, #303).
 */

/* ==========================================================================
   Events (docs/events-venues-plan.md, phase 1; Figma page 21, E01–E04): */
.field-error {
    margin: 0.35rem 0 0;
    color: #ffc2cd;
    font-size: 0.9rem;
}

/* The five-step form (E03). */
.event-form {
    max-width: 880px;
    margin: 0 auto;
    padding: var(--aq-space-12) var(--aq-space-6) var(--aq-space-16);
}

.event-steps ol {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--aq-space-2);
    margin: var(--aq-space-6) 0;
    padding: 0;
    list-style: none;
}

.event-steps__item > a,
.event-steps__item > span {
    display: flex;
    align-items: center;
    gap: var(--aq-space-2);
    height: 100%;
    padding: var(--aq-space-2) var(--aq-space-3);
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius-pill);
    color: var(--aq-text-300);
    font-family: var(--aq-font-primary);
    font-size: 12px;
    text-decoration: none;
}

.event-steps__item.is-done > a {
    background: var(--aq-bg-300);
    color: var(--aq-text-100);
}

.event-steps__item.is-current > span {
    border-color: var(--aq-primary);
    background: var(--aq-primary);
    color: var(--aq-primary-foreground);
}

.event-steps__n {
    display: inline-grid;
    flex: none;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--aq-bg-300);
    font-weight: 600;
}

.event-form__group {
    margin: 0 0 var(--aq-space-4);
    padding: 0;
    border: 0;
}

.event-form__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--aq-space-3);
    margin-top: var(--aq-space-4);
}

.event-form__prices {
    grid-template-columns: 1fr 1fr 1fr;
}

.event-chips,
.event-identities {
    display: flex;
    flex-wrap: wrap;
    gap: var(--aq-space-2);
    margin-bottom: var(--aq-space-4);
}

.event-chip input,
.event-identity input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.event-chip span {
    display: inline-block;
    padding: var(--aq-space-1-5) 14px;
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius-pill);
    font-family: var(--aq-font-primary);
    font-size: var(--aq-text-sm);
    cursor: pointer;
}

.event-chip input:checked + span {
    border-color: var(--aq-accent);
    background: var(--aq-accent);
    color: var(--aq-bg-100);
}

.event-chip input:focus-visible + span,
.event-identity:focus-within {
    outline: 2px solid var(--aq-accent-light);
    outline-offset: 2px;
}

.event-identity {
    position: relative;
    display: flex;
    flex: 1 1 240px;
    flex-direction: column;
    gap: 2px;
    padding: var(--aq-space-3) var(--aq-space-4);
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius-md);
    background: var(--aq-bg-100);
    cursor: pointer;
}

.event-identity:has(input:checked) {
    border-color: var(--aq-accent);
    box-shadow: 0 0 0 1px var(--aq-accent);
}

.event-identity__name {
    font-weight: 600;
}

.event-identity__kind {
    color: var(--aq-text-300);
    font-size: var(--aq-text-sm);
}

.event-poster__preview {
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px dashed var(--aq-border);
    border-radius: var(--aq-radius-md);
    background: var(--aq-bg-100);
    color: var(--aq-text-300);
}

.event-review__poster {
    display: block;
    width: 100%;
    max-height: 300px;
    margin-bottom: var(--aq-space-4);
    border-radius: var(--aq-radius-md);
    object-fit: cover;
}

.event-review__title {
    margin: var(--aq-space-2) 0 var(--aq-space-4);
    font-family: var(--aq-font-display);
}

.event-review__list {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: var(--aq-space-2) var(--aq-space-4);
    margin: 0;
}

.event-review__list dt {
    color: var(--aq-text-300);
}

.event-review__list dd {
    margin: 0;
    overflow-wrap: anywhere;
}

@media (max-width: 860px) {
    .event-steps ol {
        grid-template-columns: repeat(5, minmax(44px, 1fr));
    }

    .event-steps__item > a > span:last-child,
    .event-steps__item > span > span:last-child {
        display: none;
    }

    .event-steps__item.is-current > span > span:last-child {
        display: inline;
    }

    .event-steps ol:has(.is-current) > .event-steps__item {
        flex: 0 0 auto;
        min-width: 0;
    }

    .event-steps ol:has(.is-current) > .event-steps__item.is-current {
        flex: 1 1 0;
    }

    .event-steps__item.is-current > span {
        min-width: 0;
        width: 100%;
    }

    .event-steps__item.is-current > span > span:last-child {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .event-form__prices {
        grid-template-columns: 1fr;
    }
}

.event-eyebrow {
    margin: 0 0 var(--aq-space-2);
    color: var(--aq-accent);
    font-family: var(--aq-font-primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
}

.event-intro {
    max-width: 720px;
    color: var(--aq-text-300);
    font-size: var(--aq-text-lg);
}

.event-gallery--edit figure {
    display: grid;
    gap: var(--aq-space-1-5);
    margin: 0;
}

/* ==========================================================================
   Band signup wizard (docs/band-signup-wizard-plan.md, phase 4; Figma page 20: */
.wizard__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 22.5rem;
    gap: var(--aq-space-8);
    width: min(100% - 2 * var(--aq-space-4), 72rem);
    margin-inline: auto;
}

.wizard__done {
    width: min(100% - 2 * var(--aq-space-4), 46rem);
    margin-inline: auto;
}

.wizard__eyebrow,
.wizard-card__title,
.wizard-pair__kicker {
    margin: 0 0 var(--aq-space-2);
    color: var(--aq-accent);
    font-family: var(--aq-font-primary);
    font-size: var(--aq-text-xs);
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.wizard__title {
    margin: 0 0 var(--aq-space-3);
    font-family: var(--aq-font-display);
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    line-height: 1.2;
}

.wizard__lead {
    margin: 0 0 var(--aq-space-4);
    color: var(--aq-text-300);
    font-size: var(--aq-text-lg);
    line-height: 1.6;
}

.wizard__pill {
    display: inline-block;
    margin: 0 0 var(--aq-space-6);
    padding: var(--aq-space-2) var(--aq-space-4);
    border: 1px solid var(--aq-accent);
    border-radius: var(--aq-radius-pill);
    color: var(--aq-accent-light);
    font-family: var(--aq-font-primary);
    font-size: var(--aq-text-xs);
    font-weight: 600;
    letter-spacing: 0.12em;
}

.wizard-steps {
    display: flex;
    flex-wrap: wrap;
    gap: var(--aq-space-2) var(--aq-space-4);
    margin: 0 0 var(--aq-space-6);
    padding: 0;
    list-style: none;
}

.wizard-steps__item {
    display: inline-flex;
    gap: var(--aq-space-2);
    align-items: center;
    color: var(--aq-text-300);
    font-size: var(--aq-text-sm);
}

.wizard-steps__item + .wizard-steps__item::before {
    content: "";
    width: 2rem;
    height: 1px;
    margin-inline-end: var(--aq-space-2);
    background: var(--aq-border);
}

.wizard-steps__dot {
    display: inline-grid;
    place-items: center;
    width: 1.75rem;
    height: 1.75rem;
    border: 1px solid var(--aq-border);
    border-radius: 50%;
    font-size: var(--aq-text-xs);
}

.wizard-card {
    margin-bottom: var(--aq-space-6);
    padding: var(--aq-space-6);
    border-radius: var(--aq-radius-lg);
}

.wizard-card--you {
    display: flex;
    gap: var(--aq-space-4);
    align-items: center;
    border-color: var(--aq-accent);
}

.wizard-card__strong {
    margin: 0;
    font-weight: 600;
}

.wizard-card__note {
    margin: var(--aq-space-1) 0 0;
    color: var(--aq-text-300);
    font-size: var(--aq-text-sm);
    line-height: 1.5;
}

.wizard-form {
    display: flex;
    flex-direction: column;
    gap: var(--aq-space-6);
    padding: var(--aq-space-6);
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius-lg);
    background: var(--aq-bg-200);
}

form.wizard-form#band-form {
    padding: 0;
    border: 0;
    background: none;
    gap: 0;
}

.wizard-field {
    display: flex;
    flex-direction: column;
    gap: var(--aq-space-1);
    margin: 0;
    padding: 0;
    border: 0;
}

.wizard-card .wizard-field + .wizard-field,
.wizard-card .studio-form__row {
    margin-top: var(--aq-space-4);
}

.wizard .form-control.is-invalid,
.wizard .wizard-roles.is-invalid {
    border-color: var(--aq-crimson, #d4204a);
    box-shadow: 0 0 0 1px var(--aq-crimson, #d4204a);
}

.wizard-field > legend.form-label {
    float: none;
    width: auto;
    margin-bottom: var(--aq-space-1);
    line-height: inherit;
}

.wizard-roles {
    display: flex;
    flex-wrap: wrap;
    gap: var(--aq-space-2);
    padding: var(--aq-space-1) 0;
    border-radius: var(--aq-radius);
}

.wizard-role {
    position: relative;
    cursor: pointer;
}

.wizard-role input {
    position: absolute;
    opacity: 0;
}

.wizard-role span {
    display: inline-block;
    padding: var(--aq-space-2) var(--aq-space-4);
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius-pill);
    font-family: var(--aq-font-primary);
    font-size: var(--aq-text-sm);
    font-weight: 500;
}

.wizard-role input:checked + span {
    border-color: var(--aq-accent);
    background: var(--aq-accent);
    color: var(--aq-bg-100);
}

.wizard-role input:checked + span::before {
    content: "✓ ";
}

.wizard-role input:focus-visible + span {
    outline: 2px solid var(--aq-accent-light);
    outline-offset: 2px;
}

.wizard-other {
    margin-top: var(--aq-space-3);
}

/* Step 1's "Other" chip shows the written role (#251); without :has the field simply stays. */
.wizard-field:has(#wizard-other-role:not(:checked)) .wizard-other-box {
    display: none;
}

.wizard-divider {
    display: flex;
    gap: var(--aq-space-3);
    align-items: center;
    margin: 0;
    color: var(--aq-text-300);
    font-family: var(--aq-font-primary);
    font-size: var(--aq-text-xs);
    font-weight: 600;
    letter-spacing: 0.18em;
}

.wizard-divider::before,
.wizard-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--aq-border);
}

.wizard-notice {
    margin-bottom: var(--aq-space-4);
    padding: var(--aq-space-4);
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius);
    background: var(--aq-bg-300);
    font-size: var(--aq-text-sm);
    line-height: 1.5;
}

.wizard-notice p {
    margin: 0 0 var(--aq-space-2);
}

.wizard-notice--error {
    border-color: var(--aq-crimson, #d4204a);
    background: color-mix(in srgb, var(--aq-crimson, #d4204a) 14%, var(--aq-bg-200));
}

/* "Find Your Band" (Figma WF1, WF2, M4): the bands already here, before step 2. */
.band-find__results {
    margin: 0 0 var(--aq-space-6);
    padding: 0;
    list-style: none;
}

.band-find__result {
    display: flex;
    flex-wrap: wrap;
    gap: var(--aq-space-4);
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--aq-space-4);
}

.band-find__result.is-claimable {
    border-color: var(--aq-accent);
}

.band-find__top {
    display: flex;
    gap: var(--aq-space-4);
    align-items: center;
    min-width: 0;
}

.band-find__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--aq-space-3);
    align-items: center;
}

.band-find__tag {
    display: inline-block;
    margin-left: var(--aq-space-2);
    padding: 0.1rem 0.6rem;
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius-pill);
    color: var(--aq-text-300);
    font-size: var(--aq-text-xs, 0.75rem);
    font-weight: 400;
    vertical-align: middle;
}

.band-find__tag--claimable,
.band-find__tag--mine {
    border-color: var(--aq-accent);
    color: var(--aq-accent);
}

.band-find__search .studio-form__row {
    margin-bottom: var(--aq-space-2);
}

.band-find__lines {
    margin: var(--aq-space-3) 0;
    padding: var(--aq-space-3) var(--aq-space-4);
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius);
    list-style: none;
}

.band-find__lines li::before {
    content: "✓ ";
}

.band-find__lines li.is-alike::before {
    content: "~ ";
}

.wizard-notice--ok {
    border-color: var(--aq-accent);
    background: color-mix(in srgb, var(--aq-accent) 14%, var(--aq-bg-200));
}

.wizard-checks {
    display: flex;
    flex-direction: column;
    gap: var(--aq-space-3);
}

.wizard-checks label {
    display: flex;
    gap: var(--aq-space-3);
    align-items: flex-start;
}

.wizard-checks input {
    flex: none;
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.2rem;
    accent-color: var(--aq-accent);
}

.wizard-link + .wizard-link {
    margin-top: var(--aq-space-2);
}

.wizard-bar,
.wizard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--aq-space-3) var(--aq-space-4);
    align-items: center;
}

.wizard-bar__link {
    padding: 0;
    border: 0;
    background: none;
    color: var(--aq-accent-light);
    font-family: var(--aq-font-primary);
    font-size: var(--aq-text-sm);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.wizard-bar__link:hover {
    text-decoration: underline;
}

.wizard-avatar {
    display: inline-grid;
    flex: none;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: var(--aq-primary);
    color: #fff;
    font-family: var(--aq-font-primary);
    font-weight: 600;
}

.wizard-avatar--band {
    border: 1px solid var(--aq-accent);
    border-radius: var(--aq-radius);
    background: transparent;
    color: var(--aq-accent);
}

.wizard-pair__box {
    display: flex;
    gap: var(--aq-space-3);
    align-items: center;
    padding: var(--aq-space-4);
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius);
}

.wizard-pair__link {
    margin: var(--aq-space-2) 0 var(--aq-space-2) var(--aq-space-6);
    padding-inline-start: var(--aq-space-3);
    border-inline-start: 2px solid var(--aq-accent);
    color: var(--aq-accent-light);
    font-size: var(--aq-text-sm);
}

.wizard-pair .wizard-card__note:last-child {
    margin-top: var(--aq-space-4);
}

.wizard-how {
    margin: 0;
    padding-inline-start: 1.2rem;
    font-size: var(--aq-text-sm);
    line-height: 1.9;
}

.wizard-done {
    text-align: center;
}

.wizard-done__icon {
    margin: 0 0 var(--aq-space-3);
    font-size: 2.5rem;
}

.wizard-done .wizard-actions {
    justify-content: center;
    margin-top: var(--aq-space-6);
}

.wizard-done .wizard-actions form {
    margin: 0;
}

.wizard-done__lists {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    gap: var(--aq-space-4);
    margin-top: var(--aq-space-4);
    text-align: start;
}

.wizard-done__lists > div {
    padding: var(--aq-space-4);
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius);
}

.wizard-list {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: var(--aq-text-sm);
    line-height: 1.9;
    text-align: start;
}

.wizard-list--later {
    color: var(--aq-text-300);
}

.wizard-done > .wizard-list {
    display: inline-block;
    margin: var(--aq-space-2) 0 var(--aq-space-4);
}

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

    /* On a phone the person comes first; the explanation follows the form. */
    .wizard__aside .wizard-card:not(.wizard-pair) {
        display: none;
    }

    .wizard-form {
        padding: var(--aq-space-4);
    }

    .wizard-card {
        padding: var(--aq-space-4);
    }

    .wizard-steps__label {
        display: none;
    }

    .wizard-steps__item.is-current .wizard-steps__label {
        display: inline;
    }

    .wizard-steps__item + .wizard-steps__item::before {
        width: 1rem;
    }

    /* Figma M1/M2: the main button pinned to the bottom of the screen. */
    .wizard-bar {
        position: fixed;
        inset: auto 0 0;
        z-index: 20;
        padding: var(--aq-space-3) var(--aq-space-4) calc(var(--aq-space-3) + env(safe-area-inset-bottom));
        border-top: 1px solid var(--aq-border);
        background: var(--aq-bg-200);
    }

    .wizard-bar__next {
        flex: 1 1 100%;
        order: -1;
    }

    .wizard-bar__back {
        padding-inline: var(--aq-space-4);
    }
}

.band-welcome__head {
    max-width: 52rem;
    margin: 0 auto var(--aq-space-6);
    text-align: center;
}

.band-welcome__title {
    margin: 0 0 var(--aq-space-3);
    font-family: var(--aq-font-display);
    font-size: clamp(1.6rem, 4vw, 2.5rem);
}

.band-welcome__lead {
    margin: 0;
    color: var(--aq-text-300);
    font-size: var(--aq-text-lg);
    line-height: 1.6;
}

.band-welcome__pending {
    display: inline-block;
    margin: var(--aq-space-4) 0 0;
    padding: var(--aq-space-2) var(--aq-space-4);
    border: 1px solid var(--aq-accent);
    border-radius: var(--aq-radius-pill);
    color: var(--aq-accent-light);
    font-size: var(--aq-text-sm);
}

/* The landings' gold frame (LandingTour), here on the site's own page. */
.band-welcome__tour {
    max-width: 65rem;
    margin-inline: auto;
    background: var(--aq-bg-100);
    border: 1px solid color-mix(in srgb, var(--aq-accent) 45%, transparent);
    border-radius: var(--aq-radius-xl);
    box-shadow:
        0 0 80px color-mix(in srgb, var(--aq-accent) 18%, transparent),
        0 24px 64px rgb(0 0 0 / 60%);
}

@media (max-width: 767.98px) {
    .band-welcome__head {
        padding-inline: var(--aq-space-4);
    }

    .band-welcome__tour {
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
}

.venue-request {
    max-width: 860px;
    margin-inline: auto;
}

.venue-request__send {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--aq-space-3);
}

/* ---- "Contribuir" one thing at a time (docs/band-contribute-simple-plan.md; Figma page 32) ---- */

/* The band dashboard's frame, with what is missing and what waits in the menu. */
.bd-head__intro {
    margin: 0;
    color: var(--aq-text-300);
    font-size: var(--aq-text-sm);
}

.bc-pill {
    margin-left: auto;
    padding: 0.1rem 0.5rem;
    border-radius: var(--aq-radius-pill);
    background: color-mix(in srgb, var(--aq-text-300) 14%, transparent);
    color: var(--aq-text-300);
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
}

.bc-pill--missing {
    background: color-mix(in srgb, var(--aq-crimson, #d4204a) 18%, transparent);
    color: #f07a8c;
}

.bc-pill--waiting {
    background: color-mix(in srgb, var(--aq-accent) 18%, transparent);
    color: var(--aq-accent);
}

.studio--band .studio__nav a.bd-nav__item.is-current .bc-pill {
    background: rgb(255 255 255 / 20%);
    color: #fff;
}

.bc-head {
    display: grid;
    gap: var(--aq-space-1);
}

.bc-head__intro {
    margin: 0;
    color: var(--aq-text-300);
    font-size: var(--aq-text-sm);
}

.band-contribute .studio__content {
    display: flex;
    flex-direction: column;
    gap: var(--aq-space-5);
}

.band-contribute .studio__content > .studio-form {
    display: flex;
    flex-direction: column;
    gap: var(--aq-space-4);
}

.bc-sent {
    display: flex;
    flex-wrap: wrap;
    gap: var(--aq-space-2) var(--aq-space-4);
    align-items: center;
    justify-content: space-between;
}

.bc-sent form {
    margin: 0;
}

.bc-link {
    padding: 0;
    border: 0;
    background: none;
    color: var(--aq-accent);
    font-weight: 600;
    cursor: pointer;
}

.bc-link:hover,
.bc-link:focus-visible {
    text-decoration: underline;
}

.bc-sent .bd-icon {
    vertical-align: -3px;
}

/* "What's missing" (B1): a strip, one card per area, the quick link box. */
.bc-strip {
    display: flex;
    flex-wrap: wrap;
    gap: var(--aq-space-3);
}

.bc-chip {
    display: inline-flex;
    flex-wrap: wrap;
    gap: var(--aq-space-2);
    align-items: center;
    padding: 0.6rem 0.9rem;
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius-md);
    background: var(--aq-bg-200);
    color: var(--aq-text-100);
    font-size: var(--aq-text-xs);
    text-decoration: none;
}

.bc-chip__label {
    color: var(--aq-text-300);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bc-bar {
    display: inline-block;
    width: 160px;
    max-width: 30vw;
    height: 6px;
    overflow: hidden;
    border-radius: var(--aq-radius-sm);
    background: color-mix(in srgb, var(--aq-text-300) 18%, transparent);
}

.bc-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.bc-dot--gold {
    background: var(--aq-accent);
}

.bc-dot--green {
    background: var(--aq-success, #3fb950);
}

.bc-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--aq-space-4);
    margin: 0;
    padding: 0;
    list-style: none;
}

.bc-tile {
    display: flex;
    flex-direction: column;
    gap: var(--aq-space-3);
    padding: var(--aq-space-5);
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius-md);
    background: var(--aq-bg-200);
}

.bc-tile--missing {
    border-color: color-mix(in srgb, var(--aq-accent) 55%, transparent);
}

.bc-tile__top {
    display: flex;
    gap: var(--aq-space-2);
    align-items: center;
    justify-content: space-between;
}

.bc-tile__top .bc-pill {
    margin-left: 0;
    white-space: normal;
    text-align: right;
}

.bc-tile__icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--aq-primary) 22%, transparent);
    color: #c9bcf7;
}

.bc-tile__icon .bd-icon {
    width: 18px;
    height: 18px;
}

.bc-tile__title {
    margin: 0;
    color: var(--aq-text-100);
    font-family: var(--aq-font-primary);
    font-size: 1rem;
    font-weight: 600;
}

.bc-tile__text {
    flex: 1;
    margin: 0;
    color: var(--aq-text-300);
    font-size: var(--aq-text-sm);
}

.bc-tile__action {
    align-self: flex-start;
}

.bc-quick__form {
    display: flex;
    flex-wrap: wrap;
    gap: var(--aq-space-3);
}

.bc-quick__form .form-control {
    flex: 1 1 260px;
    min-width: 0;
}

.band-contribute .btn-gold .bd-icon,
.band-contribute .btn-outline .bd-icon {
    width: 14px;
    height: 14px;
    vertical-align: -2px;
}

/* One notice for the page, in place of a box on every form (D1). */
.bc-consent {
    display: flex;
    gap: var(--aq-space-3);
    padding: var(--aq-space-3) var(--aq-space-4);
    border-radius: var(--aq-radius-md);
    background: color-mix(in srgb, var(--aq-primary) 10%, transparent);
    color: var(--aq-text-300);
    font-size: var(--aq-text-sm);
}

.bc-consent > .bd-icon {
    margin-top: 2px;
    color: #c9bcf7;
}

.bc-consent p {
    margin: 0;
}

.bc-consent summary {
    margin-top: var(--aq-space-1);
    color: var(--aq-accent);
    cursor: pointer;
}

.bc-consent ul {
    margin: var(--aq-space-2) 0 0;
    padding-left: 1.1rem;
}

/* The forms of each area, until phases 4 and 5 give them their own look. */
.bc-more {
    display: grid;
    gap: var(--aq-space-3);
}

.bc-more summary {
    color: var(--aq-text-300);
    font-size: var(--aq-text-sm);
    cursor: pointer;
}

.bc-thumb {
    margin: 0;
}

.bc-thumb--cover {
    flex: 1 1 16rem;
    min-width: 0;
    max-width: 420px;
}

@media (max-width: 760px) {
    .bc-tiles {
        grid-template-columns: 1fr;
    }

    .bc-tile {
        flex-flow: row wrap;
        align-items: center;
        padding: var(--aq-space-3) var(--aq-space-4);
    }

    .bc-tile__top {
        order: 2;
        margin-left: auto;
    }

    .bc-tile__top .bc-tile__icon {
        display: none;
    }

    .bc-tile__title {
        order: 1;
    }

    .bc-tile__text {
        order: 3;
        flex-basis: 100%;
    }

    .bc-tile__action {
        order: 4;
    }

    .bc-chip {
        flex: 1 1 100%;
    }
}

/* Members, discography, links, videos, bio and details one line at a time (Figma page 32, B2, B3). */
.bc-list__head {
    display: flex;
    flex-wrap: wrap;
    gap: var(--aq-space-2);
    align-items: center;
    justify-content: space-between;
}

.bc-list__head .studio-card__title {
    margin: 0;
}

.bc-list__hint {
    color: var(--aq-text-300);
    font-size: var(--aq-text-xs);
}

.bc-rows {
    display: flex;
    flex-direction: column;
    margin: var(--aq-space-2) 0 0;
    padding: 0;
    list-style: none;
}

.bc-row + .bc-row {
    border-top: 1px solid var(--aq-border);
}

.bc-row__head {
    display: flex;
    flex-wrap: wrap;
    gap: var(--aq-space-3);
    align-items: center;
    padding: var(--aq-space-3) 0;
}

summary.bc-row__head {
    list-style: none;
    cursor: pointer;
}

summary.bc-row__head::-webkit-details-marker {
    display: none;
}

.bc-row__mark {
    display: grid;
    flex: none;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--aq-primary) 30%, transparent);
    color: #c9bcf7;
    font-size: 0.75rem;
    font-weight: 600;
}

.bc-row__text {
    display: flex;
    flex: 1 1 12rem;
    flex-direction: column;
    min-width: 0;
    overflow-wrap: anywhere;
}

.bc-row__text small {
    color: var(--aq-text-300);
    font-size: var(--aq-text-xs);
}

.bc-row__head .bc-pill {
    margin-left: 0;
}

.bc-withdraw {
    margin: 0;
}

.bc-row__edit[open] {
    margin: var(--aq-space-2) calc(-1 * var(--aq-space-3));
    padding: 0 var(--aq-space-3) var(--aq-space-3);
    border: 1px solid color-mix(in srgb, var(--aq-primary) 55%, transparent);
    border-radius: var(--aq-radius-md);
    background: color-mix(in srgb, var(--aq-primary) 8%, transparent);
}

.bc-row__edit[open] .bc-row__correct {
    visibility: hidden;
}

.bc-row__form,
.bc-add__form {
    display: grid;
    gap: var(--aq-space-3);
}

.bc-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--aq-space-3);
    align-items: end;
}

.bc-fields--add {
    grid-template-columns: minmax(180px, 2fr) repeat(auto-fit, minmax(130px, 1fr));
}

.bc-fields--add .bc-fields__year {
    max-width: 140px;
}

.bc-fields .form-label small {
    color: var(--aq-text-300);
    font-weight: 400;
}

.bc-add__button {
    justify-self: start;
    min-height: 40px;
}

.bc-row__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--aq-space-3);
    align-items: center;
    justify-content: flex-end;
}

.bc-danger {
    margin-right: auto;
    padding: 0;
    border: 0;
    background: none;
    color: #f07a8c;
    font-weight: 600;
    cursor: pointer;
}

.bc-danger:hover,
.bc-danger:focus-visible {
    text-decoration: underline;
}

.bc-bio__foot {
    display: flex;
    flex-wrap: wrap;
    gap: var(--aq-space-3);
    align-items: center;
}

.bc-bio__foot .bc-list__hint {
    flex: 1 1 14rem;
}

.bc-detail {
    display: flex;
    flex-wrap: wrap;
    gap: var(--aq-space-3);
    align-items: center;
    padding: var(--aq-space-3) 0;
}

.bc-detail__label {
    display: flex;
    flex: 0 0 13rem;
    flex-direction: column;
}

.bc-detail__label small {
    color: var(--aq-text-300);
    font-size: var(--aq-text-xs);
}

.bc-detail__form {
    display: flex;
    flex: 1 1 16rem;
    gap: var(--aq-space-3);
    align-items: center;
    margin: 0;
}

.bc-detail__form .form-control,
.bc-detail__form .form-select {
    flex: 1;
    min-width: 0;
}

@media (max-width: 760px) {
    .bc-fields--add {
        grid-template-columns: 1fr;
    }

    .bc-fields--add .bc-fields__year {
        max-width: none;
    }

    .bc-add__button {
        justify-self: stretch;
    }

    .bc-detail__label {
        flex-basis: 100%;
    }
}

/* Logo, cover and photos (Figma page 32, C1–C6): the file area, the crop, the origin cards, the photo strip. */
.bc-waiting {
    display: flex;
    flex-wrap: wrap;
    gap: var(--aq-space-3);
    align-items: center;
    justify-content: space-between;
}

.bc-image {
    display: flex;
    flex-direction: column;
    gap: var(--aq-space-4);
}

.bc-image__step {
    display: grid;
    gap: var(--aq-space-4);
}

.bc-image__row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--aq-space-5);
    align-items: center;
}

.bc-image__drop {
    flex: 1 1 18rem;
    min-width: 0;
}

.bc-where {
    display: inline-grid;
    gap: var(--aq-space-2);
    justify-self: start;
    padding: var(--aq-space-3) var(--aq-space-4);
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius-md);
    background: var(--aq-bg-100);
}

.bc-where__row {
    display: flex;
    gap: var(--aq-space-5);
    align-items: flex-end;
}

.bc-where__item {
    display: grid;
    gap: var(--aq-space-1);
    justify-items: center;
}

.bc-where__item small {
    color: var(--aq-text-300);
    font-size: 0.7rem;
}

.bc-where__circle {
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 2px solid var(--aq-accent);
    border-radius: 50%;
    background: radial-gradient(circle, #3b2b7a, #120d2a);
    color: var(--aq-accent-light);
    font-family: var(--aq-font-display);
    font-size: 0.65rem;
}

/* Step 2: three cards; only what the chosen one needs shows (decision D2). */
.bc-origin {
    display: grid;
    gap: var(--aq-space-4);
}

.bc-origin__cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--aq-space-3);
}

.bc-origin__card {
    display: flex;
    gap: var(--aq-space-3);
    align-items: flex-start;
    padding: var(--aq-space-4);
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius-md);
    background: var(--aq-bg-100);
    cursor: pointer;
}

.bc-origin__card small {
    color: var(--aq-text-300);
    font-size: var(--aq-text-xs);
}

.bc-origin__card:has(input:checked) {
    border: 2px solid var(--aq-accent);
    background: color-mix(in srgb, var(--aq-accent) 8%, var(--aq-bg-100));
}

.bc-origin__card:has(input:focus-visible) {
    outline: 2px solid var(--aq-accent);
    outline-offset: 2px;
}

.bc-origin__fields > div {
    display: none;
}

.bc-origin:has(input[value="OwnWork"]:checked) .bc-origin__author,
.bc-origin:has(input[value="Permission"]:checked) :is(.bc-origin__source, .bc-origin__author),
.bc-origin:has(input[value="FreeLicence"]:checked) :is(.bc-origin__source, .bc-origin__licence, .bc-origin__author),
.bc-origin:has(input:checked) .bc-origin__caption {
    display: block;
}

/* Without :has() (old browsers) every field shows, as before. */
@supports not selector(:has(*)) {
    .bc-origin__fields > div {
        display: block;
    }
}

.bc-image__note {
    margin-right: auto;
}

/* The photos chosen, like the message box's strip; a tap opens the editor. */
.bc-photos {
    display: grid;
    gap: var(--aq-space-2);
}

.bc-photos__list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--aq-space-3);
    margin: 0;
    padding: 0;
    list-style: none;
}
