@font-face {
    font-family: "Superstar M54";
    src: url("./fonts/superstar-m54.ttf") format("truetype");
    font-display: swap;
}

/* Member directory roster: scoped to /directory only. */
.member-directory {
    background: #fff;
    border: 2px solid #171717;
    box-shadow: 7px 7px 0 #171717;
    color: #171717;
    margin: clamp(28px, 5vw, 54px) auto;
    max-width: min(1320px, calc(100vw - 36px));
    overflow: hidden;
    width: calc(100% - 36px);
}

.member-directory__masthead {
    background: linear-gradient(90deg, rgba(203, 44, 48, 0.08), rgba(255, 255, 255, 0));
    border-bottom: 1px solid #ded8ce;
    padding: clamp(22px, 4vw, 34px);
}

.member-directory__kicker {
    color: #cb2c30;
    display: block;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.member-directory h1 {
    color: #111;
    font-size: clamp(2.1rem, 5vw, 3.4rem);
    line-height: 0.98;
    margin: 0;
}

.member-directory__masthead p {
    color: #4f5968;
    font-size: 0.98rem;
    line-height: 1.5;
    margin: 10px 0 0;
    max-width: 620px;
}

.member-directory__toolbar {
    align-items: center;
    background: #f4eee7;
    border-bottom: 1px solid #ded8ce;
    display: flex;
    gap: 14px;
    padding: 18px clamp(18px, 4vw, 34px);
}

.member-directory__search {
    flex: 1 1 auto;
    min-width: 0;
}

.member-directory__search input {
    background: #fff;
    border: 2px solid #171717;
    border-radius: 0;
    color: #171717;
    display: block;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    height: 46px;
    padding: 0 14px;
    width: 100%;
}

.member-directory__search input::placeholder {
    color: #687282;
    opacity: 1;
}

.member-directory__count {
    align-items: center;
    background: #111;
    color: #fff;
    display: inline-flex;
    flex: 0 0 auto;
    gap: 5px;
    min-height: 46px;
    padding: 0 16px;
    text-transform: uppercase;
    white-space: nowrap;
}

.member-directory__count strong,
.member-directory__count span {
    color: inherit;
    font-size: 0.78rem;
    font-weight: 900;
}

.member-directory__roster {
    margin: 24px clamp(18px, 4vw, 34px) 34px;
}

.member-directory__head,
.member-directory__row {
    display: grid;
    gap: 0;
    grid-template-columns: minmax(250px, 1.15fr) minmax(190px, 0.95fr) minmax(120px, 0.45fr) minmax(160px, 0.75fr) minmax(220px, 0.95fr);
}

.member-directory__head {
    align-items: center;
    background: #111;
    color: #fff;
    min-height: 44px;
}

.member-directory__head span {
    color: inherit;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0;
    min-width: 0;
    overflow: hidden;
    padding: 0 12px;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.member-directory__row {
    align-items: center;
    background: #fff;
    border: 1px solid #ded8ce;
    border-top: 0;
    cursor: pointer;
    min-height: 68px;
    transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.member-directory__row[hidden] {
    display: none !important;
}

.member-directory__row:hover,
.member-directory__row:focus-within {
    background: #fff8f8;
    box-shadow: 4px 4px 0 rgba(17, 17, 17, 0.12);
}

.member-directory__row:focus {
    outline: 3px solid rgba(203, 44, 48, 0.32);
    outline-offset: 2px;
}

.member-directory__person {
    align-items: center;
    display: flex;
    gap: 12px;
    min-width: 0;
    padding: 10px 12px;
}

.member-directory__avatar-link {
    border-radius: 999px;
    display: block;
    flex: 0 0 auto;
    text-decoration: none;
}

.member-directory__avatar {
    align-items: center;
    background: #101010;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #fff;
    display: flex;
    flex: 0 0 46px;
    font-size: 0.82rem;
    font-weight: 900;
    height: 46px;
    justify-content: center;
    line-height: 1;
    max-height: 46px;
    max-width: 46px;
    outline: 2px solid #ddd4ca;
    overflow: hidden;
    text-transform: uppercase;
    width: 46px;
}

.member-directory__avatar img {
    border-radius: 999px;
    display: block;
    height: 100% !important;
    max-height: none !important;
    max-width: none !important;
    object-fit: cover;
    width: 100% !important;
}

.member-directory__person-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.member-directory__name {
    color: #111;
    display: block;
    font-size: 0.98rem;
    font-weight: 900;
    line-height: 1.15;
    overflow: hidden;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.member-directory__name:hover,
.member-directory__name:focus {
    color: #cb2c30;
    text-decoration: underline;
}

.member-directory__handle {
    color: #4f5968;
    display: block;
    font-size: 0.76rem;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.member-directory__cell {
    color: #171717;
    font-size: 0.82rem;
    font-weight: 750;
    min-width: 0;
    overflow: hidden;
    padding: 0 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.member-directory__cell--role {
    align-items: center;
    display: flex;
    gap: 6px;
    min-width: 0;
}

.member-directory__role-list {
    display: block;
    min-width: 0;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
}

.member-directory__contact-link {
    align-items: center;
    color: #171717;
    display: inline-flex;
    gap: 7px;
    max-width: 100%;
    min-width: 0;
    text-decoration: none;
    vertical-align: middle;
}

.member-directory__contact-link span:last-child {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.member-directory__contact-link:hover,
.member-directory__contact-link:focus {
    color: #cb2c30;
    text-decoration: underline;
}

.member-directory__role-dot {
    background: #cb2c30;
    border-radius: 999px;
    display: inline-block;
    height: 9px;
    margin-right: 6px;
    width: 9px;
}

.member-directory__muted {
    color: #7b8490;
    font-weight: 700;
}

.member-directory__empty {
    background: #fff;
    border: 1px solid #ded8ce;
    color: #4f5968;
    font-weight: 800;
    margin: 24px clamp(18px, 4vw, 34px) 34px;
    padding: 18px;
}

@media (max-width: 920px) {
    .member-directory {
        box-shadow: 5px 5px 0 #171717;
        margin-left: 12px;
        margin-right: 12px;
        max-width: none;
        width: calc(100vw - 24px);
    }

    .member-directory__toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .member-directory__count {
        justify-content: center;
        min-height: 40px;
        width: 100%;
    }

    .member-directory__head {
        display: none;
    }

    .member-directory__roster {
        display: grid;
        gap: 10px;
    }

    .member-directory__row {
        border: 1px solid #ded8ce;
        display: grid;
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 10px 0;
    }

    .member-directory__row[hidden] {
        display: none !important;
    }

    .member-directory__person {
        padding: 4px 14px 10px;
    }

    .member-directory__cell {
        align-items: center;
        display: grid;
        gap: 8px;
        grid-template-columns: 78px minmax(0, 1fr);
        min-height: 28px;
        padding: 3px 14px;
        white-space: normal;
    }

    .member-directory__cell::before {
        color: #687282;
        content: attr(data-label);
        font-size: 0.68rem;
        font-weight: 900;
        text-transform: uppercase;
    }

    .member-directory__cell--role {
        display: flex;
        gap: 6px;
    }

    .member-directory__cell--role::before {
        flex: 0 0 78px;
    }
}

:root {
    --crest-red: #cb2c30;
    --crest-red-dark: #a6242b;
    --leaf: #233a1c;
    --cream: #faf6f0;
    --off-black: #1a1a1a;
    --border: #e0d9cd;
    --muted: #666;
    --soft: #888;
    --white: #ffffff;
    --page-bg: #f4eee4;
    --surface-panel: #ffffff;
    --surface-soft: #fff7f1;
    --surface-hero: #171717;
    --surface-hero-alt: #272727;
    --surface-footer: #161616;
    --surface-header: #141414;
    --header-rule: var(--crest-red);
    --shadow-offset: 6px;
    --shadow-card: var(--shadow-offset) var(--shadow-offset) 0 var(--off-black);
    --radius: 14px;
    --radius-sm: 8px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --button-radius: 8px;
    --content-width: 1180px;
    --header-width: 1440px;
}

body[data-theme="heritage-stripe"] {
    --page-bg: #f7efe2;
    --surface-soft: #fff2e7;
    --surface-hero: #211a18;
    --surface-hero-alt: #342522;
    --surface-header: #1a1412;
}

body[data-theme="midnight-grid"] {
    --page-bg: #ece8df;
    --surface-soft: #f0ebe3;
    --surface-hero: #121212;
    --surface-hero-alt: #1d1d1d;
    --surface-header: #0f0f0f;
    --header-rule: #e23f43;
    --shadow-offset: 7px;
}

body[data-theme="scarlet-white"] {
    --page-bg: #ffffff;
    --surface-panel: #ffffff;
    --surface-soft: #f5f5f5;
    --surface-hero: #cb2c30;
    --surface-hero-alt: #8d1d22;
    --surface-footer: #121212;
    --surface-header: #cb2c30;
    --header-rule: #121212;
    --shadow-offset: 0;
    --shadow-card: 0 0 0 transparent;
    --radius-sm: 4px;
    --radius-md: 0;
    --radius-lg: 0;
    --button-radius: 4px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    width: 100%;
}

body {
    margin: 0;
    background: var(--page-bg);
    color: var(--off-black);
    font-family: "Montserrat", sans-serif;
    line-height: 1.6;
    max-width: 100%;
    overflow-x: hidden;
    width: 100%;
}

body.is-mobile-menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.site-shell,
.auth-shell {
    min-height: 100vh;
    max-width: 100%;
}

.site-shell {
    overflow-x: visible;
}

.auth-shell {
    overflow-x: hidden;
}

.eyebrow {
    display: inline-block;
    color: var(--crest-red);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.site-chrome {
    position: sticky;
    top: 0;
    z-index: 140;
}

.site-adminbar {
    background: #101010;
    color: rgba(255, 255, 255, 0.9);
}

.site-header {
    background: var(--surface-header);
    border-bottom: 3px solid var(--header-rule);
}

.site-adminbar__inner,
.site-footer__inner,
.hero-panel,
.section-wrap,
.inner-hero,
.auth-panel,
.admin-header,
.admin-content {
    width: min(calc(100% - 2rem), var(--content-width));
    margin: 0 auto;
}

.site-adminbar__inner {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    min-height: 2.1rem;
    position: relative;
}

.site-adminbar__identity,
.site-adminbar__actions {
    align-items: center;
    display: flex;
    gap: 0.85rem;
}

.site-adminbar__identity span,
.site-adminbar__identity strong {
    font-size: 0.74rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.site-adminbar__identity strong {
    color: var(--white);
    font-weight: 800;
}

.site-adminbar__form {
    margin: 0;
}

.site-adminbar__switcher {
    align-items: center;
    display: flex;
    margin: 0;
}

.site-adminbar__switcher label {
    align-items: center;
    display: inline-flex;
    gap: 0.35rem;
}

.site-adminbar__switcher span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-adminbar__select {
    appearance: auto;
    background: #1f1f1f;
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 800;
    min-height: 1.65rem;
    padding: 0 1.6rem 0 0.45rem;
}

.site-adminbar__view-as {
    align-items: center;
    display: flex;
    flex: 0 1 27rem;
    gap: 0.55rem;
    min-width: 17rem;
}

.site-adminbar__quick-switch {
    align-items: center;
    display: inline-flex;
    flex: 0 0 auto;
    gap: 0.28rem;
}

.site-adminbar__quick-form {
    margin: 0;
}

.site-adminbar__quick-account {
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    filter: grayscale(1);
    font-size: 0.62rem;
    font-weight: 900;
    height: 1.75rem;
    justify-content: center;
    line-height: 1;
    opacity: 0.48;
    overflow: hidden;
    padding: 0;
    transition: border-color 140ms ease, filter 140ms ease, opacity 140ms ease;
    width: 1.75rem;
}

.site-adminbar__quick-account img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.site-adminbar__quick-account:hover,
.site-adminbar__quick-account:focus-visible {
    border-color: rgba(255, 255, 255, 0.72);
    filter: grayscale(0);
    opacity: 0.9;
    outline: 0;
}

.site-adminbar__quick-account.is-active {
    background: var(--crest-red);
    border-color: rgba(255, 255, 255, 0.72);
    filter: grayscale(0);
    opacity: 1;
}

.site-adminbar__feature-chip {
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 900;
    gap: 0.4rem;
    left: 50%;
    letter-spacing: 0.06em;
    min-height: 1.75rem;
    padding: 0.2rem 0.7rem;
    position: absolute;
    text-transform: uppercase;
    top: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
}

.site-adminbar__feature-chip span {
    align-items: center;
    background: var(--crest-red);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 0.65rem;
    height: 1.05rem;
    justify-content: center;
    min-width: 1.05rem;
    padding: 0 0.25rem;
}

.site-adminbar__feature-chip:hover,
.site-adminbar__feature-chip:focus-visible {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.52);
    outline: 0;
}

.site-adminbar__switcher {
    flex: 1 1 auto;
    min-width: 0;
}

.site-adminbar__search-shell {
    align-items: center;
    display: flex;
    gap: 0.45rem;
    position: relative;
    width: 100%;
}

.site-adminbar__search-label {
    color: rgba(255, 255, 255, 0.62);
    flex: 0 0 auto;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.site-adminbar__search {
    background: #1f1f1f;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 700;
    min-height: 1.75rem;
    min-width: 0;
    padding: 0.25rem 0.65rem;
    width: 100%;
}

.site-adminbar__search:focus {
    border-color: rgba(255, 255, 255, 0.58);
    outline: 0;
}

.site-adminbar__results {
    background: #171717;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
    left: 0;
    max-height: 20rem;
    overflow-y: auto;
    padding: 0.35rem;
    position: absolute;
    right: 0;
    top: calc(100% + 0.35rem);
    z-index: 80;
}

.site-adminbar__result,
.site-adminbar__result-empty {
    border-radius: 6px;
    display: block;
    padding: 0.5rem 0.55rem;
    text-align: left;
    width: 100%;
}

.site-adminbar__result {
    background: transparent;
    border: 0;
    color: #ffffff;
}

.site-adminbar__result:hover,
.site-adminbar__result:focus-visible,
.site-adminbar__result.is-active {
    background: rgba(203, 44, 48, 0.22);
    outline: 0;
}

.site-adminbar__result-label,
.site-adminbar__result-detail {
    display: block;
}

.site-adminbar__result-label {
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.2;
}

.site-adminbar__result-detail,
.site-adminbar__result-empty {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.3;
    margin-top: 0.15rem;
}

.site-adminbar__return-form {
    margin: 0;
}

.site-adminbar__return {
    background: transparent;
    border: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 0;
    text-transform: uppercase;
    white-space: nowrap;
}

.site-adminbar__return:hover,
.site-adminbar__return:focus-visible {
    color: #ffffff;
    outline: 0;
}

.admin-link {
    color: rgba(255, 255, 255, 0.82);
    display: inline-flex;
    align-items: center;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    min-height: 2.1rem;
    padding: 0;
    text-transform: uppercase;
}

.admin-link:hover {
    color: var(--white);
}

.admin-link--button {
    background: transparent;
    border: 0;
    color: rgba(255, 255, 255, 0.82);
}

.admin-link--review-needed {
    background: #1f7a3a;
    border: 1px solid #2fb463;
    color: #ffffff;
    cursor: pointer;
    font-weight: 900;
    min-height: 1.55rem;
    padding: 0 0.6rem;
}

.admin-link--review-needed:hover,
.admin-link--review-needed:focus-visible {
    background: #2fb463;
    color: #ffffff;
    outline: 0;
}

.site-header__inner {
    width: min(calc(100% - 2rem), var(--header-width));
    margin: 0 auto;
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr) auto;
    align-items: center;
    column-gap: clamp(0.8rem, 2vw, 2rem);
    padding: 0.6rem 0;
    position: relative;
}

.brand-lockup,
.admin-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-lockup {
    flex: 0 0 auto;
    margin-right: 0;
    min-width: max-content;
    padding-right: clamp(0.85rem, 1.6vw, 2rem);
}

.brand-logo {
    display: block;
    width: auto;
    height: 2.8rem;
    object-fit: contain;
    flex: 0 0 auto;
}

.brand-mark {
    width: 2.5rem;
    height: 2.8rem;
    display: inline-grid;
    place-items: center;
    background: var(--crest-red);
    color: var(--white);
    clip-path: polygon(50% 0%, 100% 16%, 100% 70%, 50% 100%, 0% 70%, 0% 16%);
    font-family: "Superstar M54", "Montserrat", sans-serif;
    font-size: 1.08rem;
    letter-spacing: 0.06em;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.08rem;
    min-width: 0;
}

.brand-copy__main {
    color: var(--white);
    font-family: "Superstar M54", "Montserrat", sans-serif;
    font-size: 1.34rem;
    letter-spacing: 0.04em;
    line-height: 1;
    white-space: nowrap;
    text-transform: uppercase;
}

.brand-copy__sub {
    color: var(--crest-red);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 0.35rem;
    align-items: stretch;
}

.site-header__menu {
    align-items: center;
    display: flex;
    flex: 1 1 auto;
    gap: 0.85rem;
    justify-content: flex-end;
    min-width: 0;
    max-width: 100%;
    width: max-content;
    justify-self: end;
}

.site-header__utilities {
    align-items: center;
    display: flex;
    gap: 0.45rem;
    justify-content: flex-end;
    justify-self: end;
    margin-left: 0.15rem;
    transform: translate(0.2rem, -0.28rem);
}

.site-header__menu-head,
.site-header__menu-toggle,
.site-header__menu-backdrop {
    display: none;
}

.site-header__menu-toggle {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: var(--white);
    justify-content: center;
    margin-left: auto;
    min-height: 2.8rem;
    min-width: 2.8rem;
    padding: 0.4rem;
}

.site-header__menu-toggle-lines {
    display: grid;
    gap: 0.28rem;
    width: 1.45rem;
}

.site-header__menu-toggle-lines span {
    background: currentColor;
    border-radius: 999px;
    display: block;
    height: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
    width: 100%;
}

body.is-mobile-menu-open .site-header__menu-toggle-lines span:nth-child(1) {
    transform: translateY(0.39rem) rotate(45deg);
}

body.is-mobile-menu-open .site-header__menu-toggle-lines span:nth-child(2) {
    opacity: 0;
}

body.is-mobile-menu-open .site-header__menu-toggle-lines span:nth-child(3) {
    transform: translateY(-0.39rem) rotate(-45deg);
}

.site-nav__item {
    position: relative;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    padding-bottom: 0.1rem;
}

@media (min-width: 981px) {
    .site-nav__item.has-children {
        padding-bottom: 0.8rem;
        margin-bottom: -0.8rem;
    }
}

.site-nav__link,
.site-nav__toggle,
.header-action,
.admin-nav a {
    border: 2px solid transparent;
    border-radius: var(--button-radius);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 0.46rem 0.72rem;
    text-transform: uppercase;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.site-nav__link {
    color: rgba(255, 255, 255, 0.86);
    display: inline-flex;
    align-items: center;
    width: auto;
    white-space: nowrap;
}

.site-nav__link:hover,
.site-nav__link.is-active {
    background: var(--crest-red);
    color: var(--white);
}

.site-nav__toggle {
    background: transparent;
    color: rgba(255, 255, 255, 0.82);
    padding: 0.46rem 0.46rem;
}

@media (min-width: 981px) {
    .site-nav__toggle {
        display: none;
    }
}

.site-nav__toggle:hover,
.site-nav__item.is-open > .site-nav__toggle,
.site-nav__item:focus-within > .site-nav__toggle {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.site-nav__item.is-open > .site-nav__toggle .site-nav__toggle-icon,
.site-nav__item:focus-within > .site-nav__toggle .site-nav__toggle-icon {
    transform: rotate(180deg);
}

.site-nav__toggle-icon {
    align-items: center;
    display: inline-flex;
    height: 1rem;
    justify-content: center;
    transition: transform 0.2s ease;
    width: 1rem;
}

.site-nav__toggle-icon svg {
    fill: none;
    height: 100%;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 100%;
}

.site-nav__submenu {
    background: var(--surface-panel);
    border: 2px solid var(--off-black);
    border-radius: var(--radius-sm);
    box-shadow: 6px 6px 0 var(--off-black);
    display: none;
    left: 0;
    min-width: 15rem;
    padding: 0.45rem;
    position: absolute;
    top: calc(100% - 0.1rem);
    z-index: 35;
}

.site-nav__submenu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -0.7rem;
    height: 0.8rem;
}

.site-nav__submenu .site-nav__item {
    display: block;
    padding-bottom: 0;
}

.site-nav__submenu .site-nav__link {
    color: var(--off-black);
    display: flex;
    justify-content: space-between;
    padding: 0.62rem 0.72rem;
    width: 100%;
}

.site-nav__submenu .site-nav__link:hover,
.site-nav__submenu .site-nav__link.is-active {
    background: #f7ede8;
    color: var(--crest-red-dark);
}

.site-nav__submenu .site-nav__toggle {
    color: var(--off-black);
    position: absolute;
    right: 0.35rem;
    top: 0.2rem;
}

.site-nav__submenu .site-nav__submenu {
    left: calc(100% - 0.15rem);
    top: -0.15rem;
}

.site-nav__item.has-children:hover > .site-nav__submenu,
.site-nav__item.has-children:focus-within > .site-nav__submenu,
.site-nav__item.is-open > .site-nav__submenu {
    display: block;
}

.site-header__actions,
.admin-header__actions,
.quick-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.site-profile-link,
.site-cart-link {
    align-items: center;
    align-self: center;
    background: #fff;
    border: 2px solid var(--off-black);
    border-radius: 999px;
    color: var(--off-black);
    display: inline-flex;
    gap: 0.35rem;
    justify-content: center;
    min-height: 2.25rem;
    min-width: 2.25rem;
    padding: 0.25rem 0.55rem;
}

.site-header__menu .site-profile-menu {
    flex: 0 0 auto;
}

.site-header__menu .site-profile-link {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.76);
    color: #fff;
    min-height: 2.65rem;
    min-width: 2.65rem;
    padding: 0.34rem;
}

.site-header__menu .site-profile-link:hover,
.site-header__menu .site-profile-link:focus-visible,
.site-header__menu .site-profile-menu[open] .site-profile-link {
    background: rgba(255, 255, 255, 0.14);
    border-color: #fff;
    outline: 0;
}

.site-header__menu .site-profile-link__icon {
    height: 1.35rem;
    width: 1.35rem;
}

.site-profile-link.is-signed-in {
    background: var(--off-black);
    color: #fff;
}

.site-profile-link__icon,
.site-cart-link__icon {
    display: inline-flex;
    height: 1.1rem;
    width: 1.1rem;
}

.site-profile-link__icon svg,
.site-cart-link__icon svg {
    display: block;
    fill: currentColor;
    height: 100%;
    width: 100%;
}

.site-cart-link__count {
    align-items: center;
    background: var(--crest-red);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 900;
    justify-content: center;
    line-height: 1;
    min-height: 1.25rem;
    min-width: 1.25rem;
    padding: 0.15rem 0.32rem;
}

.header-action {
    background: var(--white);
    border-color: var(--off-black);
    box-shadow: 3px 3px 0 var(--off-black);
    color: var(--off-black);
    padding: 0.5rem 0.8rem;
}

.header-action:hover,
.button:hover {
    transform: translate(-1px, -1px);
}

.header-action--edit,
.button--primary {
    background: var(--crest-red);
    color: var(--white);
}

.hero-panel,
.inner-hero,
.section-wrap,
.auth-panel {
    padding: 3rem 0;
}

.hero-panel {
    display: grid;
    gap: 1.75rem;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    align-items: stretch;
}

.hero-panel__copy,
.hero-panel__visual,
.panel-card,
.news-card,
.stat-card,
.cta-sidebar,
.auth-card,
.preview-card {
    background: var(--surface-panel);
    border: 3px solid var(--off-black);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.hero-panel__copy {
    background: linear-gradient(145deg, var(--surface-hero) 0%, var(--surface-hero-alt) 100%);
    color: var(--white);
    padding: 2.4rem;
}

.hero-panel__copy h1,
.inner-hero h1,
.site-footer h2,
.auth-card h1,
.admin-header h1,
.section-heading h2 {
    font-family: "Superstar M54", "Montserrat", sans-serif;
    letter-spacing: 0.06em;
    line-height: 1.05;
    margin: 0.4rem 0 1rem;
    text-transform: uppercase;
}

.hero-panel__copy h1 {
    font-size: clamp(2.3rem, 5vw, 4.6rem);
}

.hero-panel__summary,
.inner-hero__summary,
.auth-card__summary {
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.02rem;
    max-width: 42rem;
}

.hero-panel__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border: 2px solid var(--off-black);
    border-radius: var(--button-radius);
    box-shadow: 3px 3px 0 var(--off-black);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    min-height: 3rem;
    padding: 0.75rem 1.2rem;
    text-transform: uppercase;
    transition: transform 0.2s ease;
}

.button--secondary {
    background: var(--white);
    color: var(--off-black);
}

.button--full {
    width: 100%;
}

.hero-panel__visual {
    background: linear-gradient(180deg, var(--surface-soft) 0%, #f3ebe2 100%);
    padding: 1.5rem;
}

.scoreboard-card {
    background: var(--off-black);
    border-radius: 1.1rem;
    color: var(--white);
    padding: 1.35rem;
}

.scoreboard-card ul,
.plain-list {
    margin: 0.75rem 0 0;
    padding-left: 1.1rem;
}

.mini-card-grid,
.news-grid,
.admin-grid {
    display: grid;
    gap: 1.25rem;
}

.mini-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1rem;
}

.mini-card-grid article {
    background: var(--surface-panel);
    border: 2px solid var(--off-black);
    border-radius: var(--radius-md);
    padding: 1rem;
}

.mini-card-grid span,
.stat-card span {
    color: var(--muted);
    display: block;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.mini-card-grid strong,
.stat-card strong {
    display: block;
    font-size: 1.2rem;
    margin-top: 0.3rem;
}

.section-wrap {
    padding-top: 1.5rem;
    padding-bottom: 3rem;
}

.section-wrap--dark {
    background: var(--off-black);
    color: var(--white);
    width: 100%;
    padding: 3rem 0;
}

.section-heading {
    margin-bottom: 1.5rem;
}

.section-heading h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    max-width: 48rem;
}

.feature-grid,
.content-panels {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1.5rem;
}

.feature-grid article,
.content-panels div {
    background: var(--surface-panel);
    border: 2px solid var(--off-black);
    border-radius: var(--radius-md);
    padding: 1.2rem;
}

.callout-band {
    align-items: center;
    background: #fff3f3;
    border: 3px solid var(--off-black);
    border-radius: var(--radius-lg);
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    margin-top: 1.5rem;
    padding: 1.5rem;
}

.callout-band h2 {
    margin: 0.35rem 0 0;
}

.news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-card {
    padding: 1.4rem;
}

.news-card h2,
.news-card h3 {
    font-size: 1.35rem;
    line-height: 1.2;
    margin: 0.55rem 0 0.75rem;
}

.news-card p {
    color: var(--muted);
}

.news-card a {
    color: var(--crest-red);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.inner-hero {
    padding-bottom: 1rem;
}

.inner-hero--calendar-placeholder {
    min-height: 6rem;
    padding-top: 0;
}

.inner-hero h1 {
    font-size: clamp(2rem, 5vw, 4rem);
}

.inner-hero__summary {
    color: var(--muted);
    max-width: 42rem;
}

.news-hub {
    width: min(calc(100% - 2rem), var(--content-width));
    margin: 0 auto;
    display: grid;
    gap: clamp(1.5rem, 3vw, 2.6rem);
    padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(3rem, 5vw, 5rem);
}

.news-hub__masthead {
    border-bottom: 4px solid var(--off-black);
    padding-bottom: clamp(0.8rem, 1.8vw, 1.25rem);
}

.news-hub__masthead h1 {
    margin: 0;
    font-family: "Superstar M54", "Montserrat", sans-serif;
    font-size: clamp(2.2rem, 5vw, 4.6rem);
    line-height: 0.95;
    text-transform: uppercase;
}

.news-hub__brief {
    display: grid;
    gap: 0.45rem;
    padding: 1rem;
    background: var(--off-black);
    color: var(--white);
}

.news-hub__brief strong {
    color: var(--white);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.news-hub__brief span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
    line-height: 1.55;
}

.news-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    min-height: 420px;
    background: var(--off-black);
    color: var(--white);
}

.news-feature__media {
    display: block;
    min-height: 360px;
    background: #2c2c2c;
    overflow: hidden;
}

.news-feature__media img,
.news-card__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.news-feature__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    padding: clamp(1.4rem, 3vw, 2.6rem);
}

.news-feature__copy h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 0.98;
}

.news-feature__copy h2 a,
.news-card h2 a {
    color: inherit;
    text-decoration: none;
}

.news-feature__copy p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.02rem;
}

.news-topic-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.news-topic-bar a {
    display: inline-flex;
    align-items: center;
    min-height: 2.4rem;
    padding: 0.5rem 0.8rem;
    border: 2px solid var(--off-black);
    color: var(--off-black);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

.news-topic-bar a:first-child {
    background: var(--crest-red);
    color: var(--white);
}

.news-section {
    display: grid;
    gap: 1.2rem;
}

.news-section--banded {
    padding-top: clamp(1.4rem, 3vw, 2.2rem);
    border-top: 2px solid rgba(26, 26, 26, 0.16);
}

.news-section__header {
    display: grid;
    gap: 0.35rem;
}

.news-section__header h2 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    line-height: 1.06;
}

.news-grid--magazine {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
}

.news-grid--compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.news-hub .news-card {
    display: grid;
    grid-template-rows: auto 1fr;
    padding: 0;
    background: #ffffff;
    border: 1px solid rgba(26, 26, 26, 0.16);
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
}

.news-card__media {
    display: block;
    aspect-ratio: 16 / 10;
    background: #1f1f1f;
    overflow: hidden;
}

.news-card__fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: var(--crest-red);
    color: var(--white);
    font-family: "Superstar M54", "Montserrat", sans-serif;
    font-size: 1.25rem;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}

.news-card__body {
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
}

.news-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.7rem;
    align-items: center;
    color: var(--crest-red);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.news-feature .news-card__meta {
    color: rgba(255, 255, 255, 0.82);
}

.news-hub .news-card h2 {
    margin: 0;
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    line-height: 1.08;
}

.news-card--compact h2 {
    font-size: 1.22rem;
}

.news-hub .news-card p {
    margin: 0;
    color: var(--muted);
}

.news-card__link {
    color: var(--crest-red);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.content-layout {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1.65fr) minmax(18rem, 0.85fr);
}

.rich-content,
.preview-card__body {
    color: var(--off-black);
}

.rich-content p,
.preview-card__body p {
    margin: 0 0 1rem;
}

.rich-content h2,
.preview-card__body h2 {
    font-size: 1.6rem;
    margin: 1.8rem 0 0.85rem;
}

.rich-content h3,
.preview-card__body h3 {
    font-size: 1.15rem;
    margin: 1.4rem 0 0.7rem;
}

.rich-content ul,
.rich-content ol,
.preview-card__body ul,
.preview-card__body ol {
    margin: 0 0 1rem 1.2rem;
}

.rich-content blockquote,
.preview-card__body blockquote {
    background: #fff1f1;
    border-left: 5px solid var(--crest-red);
    margin: 1.2rem 0;
    padding: 1rem 1.2rem;
}

.section-wrap--calendar-app {
    padding-top: 0;
}

.calendar-shell {
    background: #ffffff;
    border: 1px solid rgba(26, 26, 26, 0.08);
    box-shadow: 0 22px 55px rgba(26, 26, 26, 0.08);
    display: grid;
    gap: 1.4rem;
    margin: 0 auto;
    padding: clamp(1rem, 2vw, 1.5rem);
}

.calendar-shell__toolbar {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
}

.calendar-shell__title h2 {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2.35rem);
}

.calendar-shell__actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
}

.calendar-toggle {
    background: #f6f7f9;
    border: 1px solid rgba(26, 26, 26, 0.12);
    border-radius: 999px;
    display: inline-flex;
    padding: 0.2rem;
}

.calendar-toggle__button,
.calendar-nav__button {
    appearance: none;
    background: transparent;
    border: 0;
    color: var(--off-black);
    cursor: pointer;
    font: inherit;
    text-decoration: none;
}

.calendar-toggle__button {
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0.62rem 0.95rem;
    text-transform: uppercase;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.calendar-toggle__button.is-active {
    background: var(--crest-red);
    box-shadow: 0 10px 20px rgba(203, 44, 48, 0.2);
    color: #ffffff;
}

.calendar-nav {
    align-items: center;
    display: inline-flex;
    gap: 0.45rem;
}

.calendar-nav__button {
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(26, 26, 26, 0.12);
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 700;
    justify-content: center;
    min-height: 2.5rem;
    min-width: 2.5rem;
    padding: 0 0.9rem;
    transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.calendar-nav__button:hover,
.calendar-nav__button:focus-visible {
    border-color: var(--crest-red);
    transform: translateY(-1px);
}

.calendar-nav__button--today {
    background: #f6f7f9;
}

.calendar-status {
    align-items: center;
    background: linear-gradient(135deg, #fff7f7 0%, #fff1f1 100%);
    border: 1px solid rgba(203, 44, 48, 0.18);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    padding: 1rem 1.1rem;
}

.calendar-status p {
    color: var(--muted);
    margin: 0.35rem 0 0;
    max-width: 48rem;
}

.calendar-view {
    display: none;
}

.calendar-view.is-active {
    display: block;
}

.calendar-embed {
    background: #ffffff;
    border: 1px solid rgba(26, 26, 26, 0.08);
    min-height: 62rem;
    overflow: hidden;
}

.calendar-embed iframe {
    border: 0;
    display: block;
    height: 62rem;
    width: 100%;
}

.calendar-embed--week,
.calendar-embed--week iframe {
    min-height: 52rem;
    height: 52rem;
}

.calendar-month {
    display: grid;
    gap: 0.75rem;
}

.calendar-month__head,
.calendar-month__grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-month__weekday {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    padding: 0 0.25rem;
    text-align: center;
    text-transform: uppercase;
}

.calendar-day {
    background: #ffffff;
    border: 1px solid rgba(26, 26, 26, 0.08);
    display: grid;
    gap: 0.85rem;
    min-height: 8.75rem;
    padding: 0.8rem;
}

.calendar-day.is-outside-month {
    background: #f7f7f8;
    color: var(--soft);
}

.calendar-day.is-today {
    border-color: rgba(203, 44, 48, 0.4);
    box-shadow: 0 0 0 1px rgba(203, 44, 48, 0.14);
}

.calendar-day__header {
    align-items: baseline;
    display: flex;
    gap: 0.35rem;
    justify-content: space-between;
}

.calendar-day__month {
    color: inherit;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.calendar-day__number {
    color: var(--off-black);
    font-size: 1rem;
    font-weight: 800;
}

.calendar-day.is-outside-month .calendar-day__number {
    color: inherit;
}

.calendar-day__events {
    display: grid;
    gap: 0.35rem;
    align-content: start;
}

.calendar-event {
    border-left: 3px solid var(--crest-red);
    display: grid;
    gap: 0.18rem;
}

.calendar-event__time {
    color: var(--crest-red-dark);
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.calendar-event__title {
    color: var(--off-black);
    line-height: 1.3;
}

.calendar-event__location {
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.4;
    margin: 0;
}

.calendar-event.is-all-day .calendar-event__time {
    color: var(--leaf);
}

.calendar-event--month {
    background: rgba(203, 44, 48, 0.06);
    border-left-width: 4px;
    padding: 0.38rem 0.45rem;
}

.calendar-event--month .calendar-event__title {
    font-size: 0.73rem;
    font-weight: 700;
}

.calendar-day__more {
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 700;
}

.calendar-event--week {
    background: linear-gradient(180deg, #fff9f9 0%, #fff4f4 100%);
    border: 1px solid rgba(203, 44, 48, 0.14);
    border-left-width: 4px;
    padding: 0.7rem 0.75rem;
}

.calendar-event--week .calendar-event__title {
    font-size: 0.92rem;
}

.calendar-event__meta {
    align-items: center;
    display: flex;
    gap: 0.4rem;
}

.calendar-day__empty,
.calendar-weekday__empty {
    color: var(--soft);
    font-size: 0.82rem;
    line-height: 1.45;
    margin: 0;
}

.calendar-week {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-weekday {
    background: #ffffff;
    border: 1px solid rgba(26, 26, 26, 0.08);
    display: grid;
    gap: 0.9rem;
    min-height: 15rem;
    padding: 1rem;
}

.calendar-weekday.is-today {
    border-color: rgba(203, 44, 48, 0.42);
    box-shadow: 0 0 0 1px rgba(203, 44, 48, 0.14);
}

.calendar-weekday__header {
    align-items: baseline;
    border-bottom: 1px solid rgba(26, 26, 26, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-bottom: 0.8rem;
}

.calendar-weekday__name {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.calendar-weekday__header strong {
    font-size: 1.05rem;
}

.calendar-weekday__body {
    display: grid;
    gap: 0.5rem;
}

.cta-sidebar {
    background: linear-gradient(180deg, #fff8f6 0%, #fff1ef 100%);
    padding: 1.4rem;
    position: sticky;
    top: 6rem;
    align-self: start;
}

.site-footer {
    background: var(--off-black);
    border-top: 4px solid var(--crest-red);
    color: var(--white);
    margin-top: 3rem;
}

.site-footer__inner {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    padding: 2rem 0 2.7rem;
}

.site-footer h2 {
    font-size: clamp(1.6rem, 4vw, 2.8rem);
}

.site-footer p {
    color: rgba(255, 255, 255, 0.82);
}

.site-footer__quiet-link {
    color: inherit;
    text-decoration: none;
}

.site-footer__quiet-link:hover,
.site-footer__quiet-link:focus-visible {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

@media (min-width: 901px) {
    body.site-account-page:not(.site-volunteers-page):not(.site-account-channels-page) .site-footer {
        --account-footer-rail-reserve: 21.4rem;
        margin-left: max(1rem, calc((100vw - var(--content-width)) / 2));
        margin-right: auto;
        width: min(calc(100vw - 2rem - var(--account-footer-rail-reserve)), calc(var(--content-width) - var(--account-footer-rail-reserve)));
    }
}

@media (min-width: 761px) {
    body.site-account-page:not(.site-volunteers-page):not(.site-account-channels-page) .site-chrome {
        left: 0;
        position: fixed;
        right: 0;
        top: 0;
        z-index: 170;
    }

    body.site-account-page:not(.site-volunteers-page):not(.site-account-channels-page) > main {
        padding-top: var(--site-chrome-height, 9.25rem);
    }
}

@media (min-width: 761px) {
    body.site-volunteers-page .site-footer {
        margin-left: 21.5rem;
        width: calc(100% - 21.5rem);
    }
}

body[data-theme="scarlet-white"] .site-header {
    background: var(--surface-header);
    border-bottom-color: var(--header-rule);
}

body[data-theme="scarlet-white"] .brand-copy__main {
    font-size: clamp(2.08rem, 1.35rem + 1.75vw, 2.68rem);
    letter-spacing: 0.04em;
}

body[data-theme="scarlet-white"] .brand-logo {
    height: 6rem;
}

body[data-theme="scarlet-white"] .brand-copy {
    transform: translateY(0.42rem);
}

body[data-theme="scarlet-white"] .site-nav__link,
body[data-theme="scarlet-white"] .site-nav__toggle {
    color: rgba(255, 255, 255, 0.96);
}

body[data-theme="scarlet-white"] .site-nav__link:hover,
body[data-theme="scarlet-white"] .site-nav__link.is-active,
body[data-theme="scarlet-white"] .site-nav__item.is-open > .site-nav__toggle,
body[data-theme="scarlet-white"] .site-nav__item:focus-within > .site-nav__toggle,
body[data-theme="scarlet-white"] .site-nav__toggle:hover {
    background: rgba(255, 255, 255, 0.14);
    color: var(--white);
}

body[data-theme="scarlet-white"] .site-nav__submenu {
    background: #ffffff;
    border: 1px solid #d9d9d9;
    border-radius: 0;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

body[data-theme="scarlet-white"] .site-nav__submenu .site-nav__link,
body[data-theme="scarlet-white"] .site-nav__submenu .site-nav__toggle {
    color: var(--off-black);
}

body[data-theme="scarlet-white"] .site-nav__submenu .site-nav__link:hover,
body[data-theme="scarlet-white"] .site-nav__submenu .site-nav__link.is-active {
    background: #f4f4f4;
    color: var(--crest-red);
}

body[data-theme="scarlet-white"] .header-action {
    background: var(--white);
    border-color: var(--off-black);
    box-shadow: none;
}

body[data-theme="scarlet-white"] .header-action--edit {
    background: var(--off-black);
    border-color: var(--off-black);
    color: var(--white);
}

body[data-theme="scarlet-white"] .button {
    box-shadow: none;
    border-radius: 4px;
}

body[data-theme="scarlet-white"] .button--secondary {
    border-color: var(--off-black);
}

body[data-theme="scarlet-white"] .hero-panel {
    gap: 0;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

body[data-theme="scarlet-white"] .hero-panel__copy,
body[data-theme="scarlet-white"] .hero-panel__visual,
body[data-theme="scarlet-white"] .news-card,
body[data-theme="scarlet-white"] .cta-sidebar,
body[data-theme="scarlet-white"] .feature-grid article,
body[data-theme="scarlet-white"] .content-panels div,
body[data-theme="scarlet-white"] .callout-band {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

body[data-theme="scarlet-white"] .hero-panel__copy {
    background: linear-gradient(155deg, #cb2c30 0%, #9c1f25 100%);
    padding: 3rem 2.7rem;
}

body[data-theme="scarlet-white"] .hero-panel__copy h1,
body[data-theme="scarlet-white"] .section-heading h2,
body[data-theme="scarlet-white"] .inner-hero h1,
body[data-theme="scarlet-white"] .site-footer h2 {
    font-family: "Montserrat", sans-serif;
    letter-spacing: -0.03em;
    text-transform: none;
}

body[data-theme="scarlet-white"] .hero-panel__copy h1 {
    font-size: clamp(2.5rem, 5vw, 4.9rem);
}

body[data-theme="scarlet-white"] .hero-panel__summary {
    color: rgba(255, 255, 255, 0.88);
    max-width: 33rem;
}

body[data-theme="scarlet-white"] .hero-panel__visual {
    align-content: center;
    background: linear-gradient(135deg, #161616 0%, #2d2d2d 100%);
    display: grid;
    padding: 2rem 2.2rem;
}

body[data-theme="scarlet-white"] .scoreboard-card {
    background: transparent;
    border-radius: 0;
    max-width: 23rem;
    padding: 0;
}

body[data-theme="scarlet-white"] .scoreboard-card .eyebrow,
body[data-theme="scarlet-white"] .mini-card-grid span {
    color: rgba(255, 255, 255, 0.72);
}

body[data-theme="scarlet-white"] .mini-card-grid {
    gap: 0.8rem;
    grid-template-columns: 1fr;
    margin-top: 1.5rem;
}

body[data-theme="scarlet-white"] .mini-card-grid article {
    background: transparent;
    border: 0;
    border-top: 2px solid rgba(255, 255, 255, 0.28);
    border-radius: 0;
    color: var(--white);
    padding: 0.95rem 0 0;
}

body[data-theme="scarlet-white"] .mini-card-grid strong {
    font-size: 1.1rem;
}

body[data-theme="scarlet-white"] .section-wrap {
    background: #ffffff;
}

body[data-theme="scarlet-white"] .section-wrap--dark {
    background: #141414;
}

body[data-theme="scarlet-white"] .section-heading {
    margin-bottom: 1.8rem;
}

body[data-theme="scarlet-white"] .section-heading h2 {
    font-size: clamp(2rem, 4vw, 3.35rem);
    max-width: 56rem;
}

body[data-theme="scarlet-white"] .feature-grid,
body[data-theme="scarlet-white"] .content-panels,
body[data-theme="scarlet-white"] .news-grid {
    gap: 1.5rem;
}

body[data-theme="scarlet-white"] .feature-grid article,
body[data-theme="scarlet-white"] .content-panels div,
body[data-theme="scarlet-white"] .news-card {
    background: transparent;
    padding: 1rem 0 0;
}

body[data-theme="scarlet-white"] .feature-grid article,
body[data-theme="scarlet-white"] .news-card {
    border-top: 3px solid var(--crest-red);
}

body[data-theme="scarlet-white"] .callout-band {
    background: var(--crest-red);
    color: var(--white);
    margin-top: 2rem;
    padding: 2rem 0;
}

body[data-theme="scarlet-white"] .callout-band .eyebrow {
    color: rgba(255, 255, 255, 0.78);
}

body[data-theme="scarlet-white"] .news-card h2,
body[data-theme="scarlet-white"] .news-card h3 {
    font-size: 1.55rem;
}

body[data-theme="scarlet-white"] .news-card p,
body[data-theme="scarlet-white"] .inner-hero__summary,
body[data-theme="scarlet-white"] .rich-content,
body[data-theme="scarlet-white"] .rich-content p {
    color: #444444;
}

body[data-theme="scarlet-white"] .inner-hero {
    padding-top: 3.5rem;
}

body[data-theme="scarlet-white"] .inner-hero__summary {
    font-size: 1.02rem;
}

body[data-theme="scarlet-white"] .content-layout {
    gap: 2rem;
}

body[data-theme="scarlet-white"] .cta-sidebar {
    background: #f7f7f7;
    border-top: 4px solid var(--crest-red);
    padding: 1.5rem;
    position: static;
}

body[data-theme="scarlet-white"] .rich-content blockquote,
body[data-theme="scarlet-white"] .preview-card__body blockquote {
    background: transparent;
    border-left: 0;
    border-top: 3px solid var(--crest-red);
    margin: 1.4rem 0;
    padding: 1rem 0 0;
}

body[data-theme="scarlet-white"] .site-footer {
    border-top: 6px solid var(--crest-red);
}

body[data-theme="scarlet-white"] .section-wrap--dark .news-card {
    border-top-color: rgba(255, 255, 255, 0.28);
}

body[data-theme="scarlet-white"] .section-wrap--dark .news-card h2,
body[data-theme="scarlet-white"] .section-wrap--dark .news-card h3 {
    color: var(--white);
}

body[data-theme="scarlet-white"] .section-wrap--dark .news-card p {
    color: rgba(255, 255, 255, 0.74);
}

body[data-theme="scarlet-white"] .section-wrap--dark .news-card a,
body[data-theme="scarlet-white"] .section-wrap--dark .news-card .eyebrow {
    color: rgba(255, 255, 255, 0.88);
}

.auth-shell {
    --admin-bg: #f0f0f1;
    --admin-surface: #ffffff;
    --admin-border: #dcdcde;
    --admin-text: #1d2327;
    --admin-muted: #50575e;
    --admin-link: #2271b1;
    --admin-link-hover: #135e96;
    --admin-sidebar: #1d2327;
    --admin-sidebar-hover: #2c3338;
    --admin-sidebar-active: #2271b1;
    background: var(--admin-bg);
    color: var(--admin-text);
}

.auth-panel {
    align-items: center;
    display: grid;
    min-height: 100vh;
}

.auth-card {
    background: var(--admin-surface);
    border: 1px solid var(--admin-border);
    border-radius: 0;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
    margin: 0 auto;
    max-width: 34rem;
    padding: 2rem;
    width: 100%;
}

.auth-card__brand {
    display: block;
}

.auth-form {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.auth-form--secondary {
    margin-top: 1rem;
}

.auth-form label,
.form-grid label {
    display: grid;
    gap: 0.4rem;
}

.auth-form span,
.form-grid span {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.auth-divider {
    align-items: center;
    color: var(--admin-muted);
    display: flex;
    gap: 0.85rem;
    margin: 1.6rem 0 0.35rem;
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

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

.auth-helper h2 {
    color: var(--admin-text);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.35rem;
}

.auth-helper .module-summary {
    margin: 0;
}

input,
select,
textarea {
    background: var(--surface-panel);
    border: 2px solid var(--off-black);
    border-radius: var(--radius-sm);
    min-height: 3rem;
    padding: 0.8rem 1rem;
    width: 100%;
}

textarea {
    min-height: 8rem;
    resize: vertical;
}

.admin-shell {
    --admin-bg: #f0f0f1;
    --admin-surface: #ffffff;
    --admin-border: #dcdcde;
    --admin-text: #1d2327;
    --admin-muted: #50575e;
    --admin-link: #2271b1;
    --admin-link-hover: #135e96;
    --admin-sidebar: #1d2327;
    --admin-sidebar-hover: #2c3338;
    --admin-sidebar-active: #2271b1;
    background: var(--admin-bg);
    color: var(--admin-text);
}

.admin-frame {
    display: grid;
    grid-template-columns: 13.75rem minmax(0, 1fr);
    min-height: 100vh;
}

.admin-sidebar {
    background: var(--admin-sidebar);
    border-right: 0;
    padding: 0;
}

.admin-brand {
    color: var(--white);
    display: block;
    margin: 0;
    padding: 1rem 1rem 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-brand strong,
.admin-brand span:last-child {
    display: block;
}

.admin-brand strong {
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.admin-brand span:last-child {
    color: #9ea5aa;
    font-size: 0.75rem;
    letter-spacing: 0;
    margin-top: 0.2rem;
    text-transform: none;
}

.admin-nav {
    display: grid;
    gap: 0;
    padding: 0.5rem 0;
}

.admin-nav,
.admin-nav__item,
.admin-nav__row {
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    width: 100%;
}

.admin-nav__item {
    display: grid;
}

.admin-nav__row {
    align-items: stretch;
    display: flex;
    min-width: 0;
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

.admin-nav__link {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: #f0f0f1;
    display: flex;
    flex: 1 1 auto;
    font-size: 0.82rem;
    font-weight: 500;
    gap: 0.75rem;
    letter-spacing: 0;
    margin: 0;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    padding: 0.7rem 1rem;
    text-decoration: none;
    text-transform: none;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.admin-nav__item.is-open > .admin-nav__row,
.admin-nav__row:has(.admin-nav__link.is-active),
.admin-nav__row:hover,
.admin-nav__row:focus-within {
    background: var(--admin-sidebar-active);
    box-shadow: inset 3px 0 0 #72aee6;
}

.admin-nav__link.is-active,
.admin-nav__link:hover,
.admin-nav__row:hover .admin-nav__link,
.admin-nav__row:focus-within .admin-nav__link {
    color: var(--white);
}

.admin-nav__toggle {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: #c8d1d9;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 2.35rem;
    justify-content: center;
    margin: 0;
    min-height: 0;
    padding: 0;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.admin-nav__toggle:hover,
.admin-nav__toggle:focus-visible {
    color: var(--white);
    outline: 0;
}

.admin-nav__link.is-active + .admin-nav__toggle,
.admin-nav__row:hover .admin-nav__toggle,
.admin-nav__row:focus-within .admin-nav__toggle {
    color: var(--white);
}

.admin-nav__chevron {
    border-bottom: 2px solid currentColor;
    border-right: 2px solid currentColor;
    display: block;
    height: 0.42rem;
    transform: rotate(45deg);
    transition: transform 0.15s ease;
    width: 0.42rem;
}

.admin-nav__toggle[aria-expanded="true"] .admin-nav__chevron {
    transform: rotate(225deg);
}

.admin-nav__icon {
    align-items: center;
    color: #9ea5aa;
    display: inline-flex;
    flex: 0 0 1rem;
    height: 1rem;
    justify-content: center;
    width: 1rem;
}

.admin-nav__icon svg {
    fill: none;
    height: 100%;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.85;
    width: 100%;
}

.admin-nav__link.is-active .admin-nav__icon,
.admin-nav__link:hover .admin-nav__icon,
.admin-nav__row:hover .admin-nav__icon,
.admin-nav__row:focus-within .admin-nav__icon {
    color: #d7ecff;
}

.admin-nav__label {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-shell {
    --admin-sidebar-width: 13.75rem;
    --admin-sidebar-collapsed: 4.35rem;
}

.admin-shell .admin-frame {
    grid-template-columns: var(--admin-sidebar-width) minmax(0, 1fr);
    transition: grid-template-columns 0.18s ease;
}

.admin-shell.is-admin-menu-collapsed .admin-frame {
    grid-template-columns: var(--admin-sidebar-collapsed) minmax(0, 1fr);
}

.admin-shell .admin-sidebar {
    position: relative;
    width: var(--admin-sidebar-width);
    z-index: 30;
}

.admin-shell.is-admin-menu-collapsed .admin-sidebar {
    width: var(--admin-sidebar-collapsed);
}

.admin-shell.is-admin-menu-collapsed.is-admin-menu-hover-open .admin-sidebar {
    box-shadow: 14px 0 28px rgba(0, 0, 0, 0.2);
    width: var(--admin-sidebar-width);
}

.admin-brand {
    align-items: center;
    display: flex;
    gap: 0.65rem;
    justify-content: space-between;
    min-height: 4.2rem;
    padding: 0.75rem 0.75rem 0.75rem 1rem;
}

.admin-brand__mark {
    color: inherit;
    display: block;
    min-width: 0;
    text-decoration: none;
}

.admin-sidebar__collapse {
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    box-shadow: none;
    color: #dce3e8;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 2rem;
    height: 2rem;
    justify-content: center;
    min-height: 0;
    padding: 0;
    width: 2rem;
}

.admin-sidebar__collapse:hover,
.admin-sidebar__collapse:focus-visible {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.24);
    color: var(--white);
    outline: 0;
}

.admin-sidebar__collapse span {
    border-bottom: 2px solid currentColor;
    border-left: 2px solid currentColor;
    display: block;
    height: 0.48rem;
    transform: rotate(45deg);
    transition: transform 0.15s ease;
    width: 0.48rem;
}

.admin-shell.is-admin-menu-collapsed .admin-sidebar__collapse span {
    transform: rotate(225deg);
}

.admin-shell.is-admin-menu-collapsed .admin-brand {
    justify-content: center;
    min-height: 3rem;
    padding: 0;
}

.admin-shell.is-admin-menu-collapsed .admin-brand__mark,
.admin-shell.is-admin-menu-collapsed .admin-nav__label,
.admin-shell.is-admin-menu-collapsed .admin-nav__toggle,
.admin-shell.is-admin-menu-collapsed .admin-subnav {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    visibility: hidden;
}

.admin-shell.is-admin-menu-collapsed .admin-sidebar__collapse {
    background: transparent;
    border: 0;
    border-radius: 0;
    flex: 0 0 100%;
    height: 3rem;
    width: 100%;
}

.admin-shell.is-admin-menu-collapsed .admin-sidebar__collapse:hover,
.admin-shell.is-admin-menu-collapsed .admin-sidebar__collapse:focus-visible {
    background: var(--admin-sidebar-active);
    box-shadow: inset 3px 0 0 #72aee6;
}

.admin-shell.is-admin-menu-collapsed .admin-nav__link {
    flex: 0 0 100%;
    justify-content: center;
    min-height: 3rem;
    padding: 0.75rem 0;
}

.admin-shell.is-admin-menu-collapsed .admin-nav__icon {
    flex-basis: 1.18rem;
    height: 1.18rem;
    width: 1.18rem;
}

.admin-shell.is-admin-menu-collapsed.is-admin-menu-hover-open .admin-sidebar .admin-brand {
    justify-content: space-between;
    min-height: 4.2rem;
    padding-left: 1rem;
    padding-right: 0.75rem;
}

.admin-shell.is-admin-menu-collapsed.is-admin-menu-hover-open .admin-sidebar .admin-brand__mark,
.admin-shell.is-admin-menu-collapsed.is-admin-menu-hover-open .admin-sidebar .admin-nav__label,
.admin-shell.is-admin-menu-collapsed.is-admin-menu-hover-open .admin-sidebar .admin-nav__toggle,
.admin-shell.is-admin-menu-collapsed.is-admin-menu-hover-open .admin-sidebar .admin-subnav {
    opacity: 1;
    pointer-events: auto;
    position: static;
    visibility: visible;
}

.admin-shell.is-admin-menu-collapsed.is-admin-menu-hover-open .admin-sidebar .admin-nav__link {
    flex: 1 1 auto;
    justify-content: flex-start;
    min-height: 0;
    padding: 0.7rem 1rem;
}

.admin-shell.is-admin-menu-collapsed.is-admin-menu-hover-open .admin-sidebar .admin-nav__icon {
    flex-basis: 1rem;
    height: 1rem;
    width: 1rem;
}

.admin-shell.is-admin-menu-collapsed.is-admin-menu-hover-open .admin-sidebar .admin-sidebar__collapse {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    box-shadow: none;
    flex: 0 0 2rem;
    height: 2rem;
    width: 2rem;
}

.dashboard-shell--member-only.is-admin-menu-collapsed .admin-sidebar,
.dashboard-shell--member-only.is-admin-menu-collapsed .admin-nav,
.dashboard-shell--member-only.is-admin-menu-collapsed .admin-nav--settings,
.dashboard-shell--member-only.is-admin-menu-collapsed .admin-nav__item,
.dashboard-shell--member-only.is-admin-menu-collapsed .admin-nav__row {
    max-width: var(--admin-sidebar-collapsed);
    overflow: hidden;
}

.dashboard-shell--member-only.is-admin-menu-collapsed .admin-nav__toggle,
.dashboard-shell--member-only.is-admin-menu-collapsed .admin-subnav {
    display: none;
}

.dashboard-shell--member-only.is-admin-menu-collapsed.is-admin-menu-hover-open .admin-sidebar,
.dashboard-shell--member-only.is-admin-menu-collapsed.is-admin-menu-hover-open .admin-nav,
.dashboard-shell--member-only.is-admin-menu-collapsed.is-admin-menu-hover-open .admin-nav--settings,
.dashboard-shell--member-only.is-admin-menu-collapsed.is-admin-menu-hover-open .admin-nav__item,
.dashboard-shell--member-only.is-admin-menu-collapsed.is-admin-menu-hover-open .admin-nav__row {
    max-width: var(--admin-sidebar-width);
    overflow: visible;
}

.dashboard-shell--member-only.is-admin-menu-collapsed.is-admin-menu-hover-open .admin-sidebar .admin-nav__toggle {
    display: inline-flex;
}

.dashboard-shell--member-only.is-admin-menu-collapsed.is-admin-menu-hover-open .admin-sidebar .admin-subnav {
    display: block;
}

.admin-main {
    min-width: 0;
}

.admin-header {
    align-items: center;
    background: var(--admin-surface);
    border-bottom: 1px solid var(--admin-border);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: 0;
    padding: 1rem 1.5rem;
    width: auto;
}

.admin-header h1 {
    color: var(--admin-text);
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.55rem, 3vw, 2rem);
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.2;
    margin: 0.2rem 0 0;
    text-transform: none;
}

.admin-content {
    margin: 0;
    padding: 1.5rem;
    padding-bottom: 3rem;
    width: auto;
}

.admin-kicker {
    color: var(--admin-muted);
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-shell .eyebrow,
.auth-shell .eyebrow {
    color: var(--admin-muted);
}

.admin-shell .panel-card,
.admin-shell .stat-card,
.admin-shell .preview-card,
.auth-shell .auth-card {
    background: var(--admin-surface);
}

.admin-shell .panel-card,
.admin-shell .stat-card,
.admin-shell .preview-card {
    border: 1px solid var(--admin-border);
    border-radius: 0;
    box-shadow: none;
}

.admin-shell .panel-card__header h2,
.admin-shell .preview-card h3 {
    color: var(--admin-text);
    font-family: "Montserrat", sans-serif;
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.admin-shell .module-summary,
.admin-shell .stat-card p,
.admin-shell .table-list__row small,
.admin-shell .preview-card p,
.auth-shell .auth-card__summary {
    color: var(--admin-muted);
}

.admin-shell .header-action,
.admin-shell .button,
.auth-shell .button {
    background: #f6f7f7;
    border: 1px solid var(--admin-border);
    border-radius: 3px;
    box-shadow: none;
    color: var(--admin-text);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0;
    min-height: 2.3rem;
    padding: 0.55rem 0.9rem;
    text-transform: none;
}

.admin-shell .header-action:hover,
.admin-shell .button:hover,
.auth-shell .button:hover {
    background: #f0f0f1;
    border-color: #8c8f94;
    transform: none;
}

.admin-shell .button--primary,
.admin-shell .header-action--edit,
.auth-shell .button--primary {
    background: var(--admin-link);
    border-color: var(--admin-link);
    color: #ffffff;
}

.admin-shell .button--primary:hover,
.admin-shell .header-action--edit:hover,
.auth-shell .button--primary:hover {
    background: var(--admin-link-hover);
    border-color: var(--admin-link-hover);
    color: #ffffff;
}

.admin-shell .button--success {
    background: #1f7a3a;
    border-color: #145a29;
    color: #ffffff;
}

.admin-shell .button--success:hover {
    background: #145a29;
    border-color: #145a29;
    color: #ffffff;
}

.git-review-needed-button {
    font-weight: 800;
    padding-inline: 1.2rem;
}

.git-review-modal {
    border: 0;
    max-width: min(92vw, 58rem);
    padding: 0;
}

.git-review-modal::backdrop {
    background: rgba(0, 0, 0, 0.55);
}

.git-review-modal__panel {
    background: #ffffff;
    display: grid;
    gap: 1rem;
    padding: 1.25rem;
}

.git-review-modal__header,
.git-review-modal__actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
}

.git-review-modal__close {
    background: transparent;
    border: 0;
    color: #555;
    cursor: pointer;
    font-weight: 700;
}

.git-review-modal__body {
    display: grid;
    gap: 1rem;
    max-height: min(58vh, 38rem);
    overflow: auto;
}

.git-review-modal__body h3,
.settings-section-title {
    color: #1d2327;
    font-size: 0.9rem;
    margin: 0 0 0.5rem;
}

.git-review-modal__reject {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.git-review-modal__checkpoint {
    align-items: end;
    display: grid;
    flex: 1 1 20rem;
    gap: 0.65rem;
    grid-template-columns: minmax(14rem, 1fr) auto;
}

.git-review-modal__checkpoint label,
.git-review-modal__reject label {
    display: grid;
    gap: 0.3rem;
}

.git-review-modal__checkpoint span,
.git-review-modal__reject span {
    color: #1d2327;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-shell input,
.admin-shell select,
.admin-shell textarea,
.auth-shell input,
.auth-shell select,
.auth-shell textarea {
    background: #ffffff;
    border: 1px solid var(--admin-border);
    border-radius: 3px;
    color: var(--admin-text);
}

.admin-shell input:focus,
.admin-shell select:focus,
.admin-shell textarea:focus,
.auth-shell input:focus,
.auth-shell select:focus,
.auth-shell textarea:focus {
    border-color: var(--admin-link);
    box-shadow: 0 0 0 1px var(--admin-link);
    outline: none;
}

.admin-shell .table-list {
    border: 1px solid var(--admin-border);
    border-radius: 0;
}

.admin-shell .table-list__row {
    background: #ffffff;
    border-bottom: 1px solid var(--admin-border);
}

.admin-shell .table-list__row:hover {
    background: #f6f7f7;
}

.admin-shell .editor-toolbar button {
    background: #f6f7f7;
    border: 1px solid var(--admin-border);
    border-radius: 3px;
    color: var(--admin-text);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.admin-shell .flash,
.auth-shell .flash {
    border: 1px solid var(--admin-border);
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.admin-shell .theme-card.is-active {
    outline: 2px solid var(--admin-link);
    outline-offset: 0;
}

.admin-shell .theme-badge {
    background: var(--admin-link);
    border-radius: 999px;
}

.auth-shell .auth-card h1 {
    color: var(--admin-text);
    font-family: "Montserrat", sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.2;
    margin: 0.25rem 0 0;
    text-transform: none;
}

.auth-shell .auth-card__summary {
    font-size: 0.95rem;
    max-width: none;
}

.auth-shell {
    --admin-bg: #b21b21;
    background: #b21b21;
}

.auth-shell .auth-panel {
    background:
        radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.13), transparent 26rem),
        linear-gradient(145deg, #d83439 0%, #b21b21 48%, #8f1217 100%);
    box-sizing: border-box;
    min-height: 100vh;
    min-height: 100svh;
    padding: 2rem 0;
    place-items: center;
    width: 100%;
}

.auth-shell .auth-card {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: grid;
    gap: 1.15rem;
    grid-template-rows: auto auto auto;
    justify-items: center;
    margin-left: auto;
    margin-right: auto;
    max-width: none;
    min-height: 0;
    padding: 0;
    row-gap: clamp(1.65rem, 5vh, 3.5rem);
    text-align: center;
    width: 100%;
}

.auth-shell .auth-card__seal {
    display: block;
    height: auto;
    justify-self: center;
    margin: 0 auto 0.25rem;
    width: min(14rem, 52vw);
}

.auth-shell .auth-form {
    align-self: center;
    display: grid;
    gap: 0.9rem;
    justify-self: center;
    margin-top: 0;
    max-width: none;
    transform: none;
    width: min(24rem, calc(100vw - 50px));
}

.auth-shell .auth-form label {
    display: grid;
    gap: 0.4rem;
    text-align: left;
}

.auth-shell .auth-form span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.auth-shell input {
    background: #ffffff;
    border: 0;
    border-radius: 0.35rem;
    color: #1d2327;
    min-height: 3.05rem;
}

.auth-shell input:focus {
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
    outline: none;
}

.auth-shell .button--primary {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.92);
    border-radius: 0.35rem;
    color: #9f171c;
    justify-self: center;
    margin-top: 0.6rem;
    min-height: 2.7rem;
    padding-left: 1.35rem;
    padding-right: 1.35rem;
    width: auto;
}

.auth-shell .button--primary:hover {
    background: #111111;
    border-color: #111111;
    color: #ffffff;
}

.auth-shell .auth-card__signature {
    color: #ffffff;
    font-family: "Superstar M54", "Montserrat", sans-serif;
    font-size: clamp(1.8rem, 7.8vw, 4.25rem);
    justify-self: center;
    letter-spacing: 0.04em;
    line-height: 0.95;
    margin-top: 0.2rem;
    max-width: 100vw;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    text-transform: uppercase;
    white-space: nowrap;
    width: max-content;
}

.admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 1.5rem;
}

.admin-grid--stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.panel-card,
.stat-card {
    padding: 1.4rem;
}

.panel-card__header {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.panel-card__header h2,
.preview-card h3 {
    margin: 0.35rem 0 0;
}

.stat-card strong {
    font-size: 2rem;
}

.stat-card p,
.module-summary,
.table-list__row small,
.preview-card p {
    color: var(--muted);
}

.table-list {
    border: 2px solid var(--off-black);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.table-list__row {
    align-items: center;
    background: var(--white);
    border-bottom: 2px solid var(--border);
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1.4fr) minmax(7rem, 0.7fr) minmax(6rem, 0.5fr);
    padding: 1rem 1.1rem;
}

.table-list__row:last-child {
    border-bottom: 0;
}

.table-list__row:hover {
    background: #fff7f2;
}

.table-list__row--wide strong,
.table-list__row span:first-child {
    display: block;
}

.editor-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1.6fr) minmax(18rem, 0.8fr);
}

.form-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid--single {
    grid-template-columns: 1fr;
}

.form-grid__full {
    grid-column: 1 / -1;
}

.checkbox-row {
    align-items: center;
    display: flex !important;
    gap: 0.75rem;
}

.checkbox-row input {
    min-height: 1rem;
    width: auto;
}

.selection-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.selection-card {
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid var(--admin-border);
    color: var(--admin-text);
    display: flex !important;
    gap: 0.75rem;
    padding: 0.85rem;
}

.selection-card input {
    min-height: 1rem;
    margin-top: 0.2rem;
    width: auto;
}

.selection-card strong,
.selection-card small {
    display: block;
}

.selection-card strong {
    font-size: 0.88rem;
    font-weight: 600;
}

.selection-card small,
.form-hint {
    color: var(--admin-muted);
    font-size: 0.8rem;
}

.selection-stack {
    display: grid;
    gap: 1rem;
}

.selection-stack__label {
    color: var(--admin-muted);
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.detail-list {
    display: grid;
    gap: 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.detail-list li {
    border-bottom: 1px solid var(--admin-border);
    padding-bottom: 0.75rem;
}

.detail-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.detail-list strong,
.detail-list span {
    display: block;
}

.detail-list span {
    color: var(--admin-muted);
    font-size: 0.82rem;
}

.editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}

.editor-toolbar button {
    background: var(--off-black);
    border: 0;
    border-radius: var(--button-radius);
    color: var(--white);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0.5rem 0.85rem;
    text-transform: uppercase;
}

.panel-card--sticky {
    position: sticky;
    top: 2rem;
    align-self: start;
}

.settings-tool-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.settings-tool-card {
    background: #ffffff;
    border: 1px solid var(--admin-border);
    color: var(--admin-text);
    display: grid;
    gap: 0.5rem;
    padding: 1rem;
    text-decoration: none;
    transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.settings-tool-card:hover {
    border-color: var(--admin-link);
    box-shadow: 0 0 0 1px var(--admin-link);
    transform: translateY(-1px);
}

.settings-tool-card__icon {
    align-items: center;
    background: #f6f7f7;
    border: 1px solid var(--admin-border);
    display: inline-flex;
    height: 2.4rem;
    justify-content: center;
    width: 2.4rem;
}

.settings-tool-card__icon svg {
    height: 1.05rem;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 1.05rem;
}

.settings-tool-card strong {
    font-size: 0.95rem;
}

.settings-tool-card p {
    color: var(--admin-muted);
    font-size: 0.82rem;
    margin: 0;
}

.button-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.settings-source-value {
    background: #f6f7f7;
    border: 1px solid var(--admin-border);
    border-radius: 12px;
    color: var(--admin-text);
    margin: 0;
    overflow-wrap: anywhere;
    padding: 0.9rem 1rem;
}

.settings-meta {
    display: grid;
    gap: 0.85rem;
    margin: 0 0 1rem;
}

.settings-meta div {
    border-bottom: 1px solid var(--admin-border);
    display: grid;
    gap: 0.2rem;
    padding-bottom: 0.85rem;
}

.settings-meta div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.settings-meta dt {
    color: var(--admin-muted);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.settings-meta dd {
    color: var(--admin-text);
    margin: 0;
}

.admin-grid--settings-files {
    align-items: start;
    grid-template-columns: minmax(0, 1.55fr) minmax(18rem, 0.85fr);
}

.file-manager-roots {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}

.file-root-pill {
    background: #ffffff;
    border: 1px solid var(--admin-border);
    color: var(--admin-text);
    display: grid;
    gap: 0.2rem;
    min-width: 0;
    padding: 0.85rem 0.95rem;
    text-decoration: none;
}

.file-root-pill:hover,
.file-root-pill.is-active {
    border-color: var(--admin-link);
    box-shadow: 0 0 0 1px var(--admin-link);
}

.file-root-pill strong {
    font-size: 0.88rem;
}

.file-root-pill span {
    color: var(--admin-muted);
    font-size: 0.74rem;
    overflow-wrap: anywhere;
}

.file-manager-path {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.file-manager-path a,
.file-manager-toolbar span,
.file-manager-toolbar strong {
    font-size: 0.84rem;
}

.file-manager-path__sep {
    color: var(--admin-muted);
}

.file-manager-toolbar {
    align-items: center;
    background: #f6f7f7;
    border: 1px solid var(--admin-border);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 0.85rem 0.95rem;
}

.file-manager-toolbar div {
    display: grid;
    gap: 0.15rem;
    min-width: 0;
}

.file-manager-toolbar span {
    color: var(--admin-muted);
    overflow-wrap: anywhere;
}

.file-manager-table td {
    vertical-align: top;
}

.file-entry-link {
    align-items: center;
    display: inline-flex;
    gap: 0.6rem;
}

.file-entry-badge {
    align-items: center;
    background: #f6f7f7;
    border: 1px solid var(--admin-border);
    color: var(--admin-muted);
    display: inline-flex;
    font-size: 0.68rem;
    font-weight: 800;
    justify-content: center;
    letter-spacing: 0.08em;
    min-width: 2.75rem;
    padding: 0.24rem 0.38rem;
    text-transform: uppercase;
}

.file-entry-badge--directory {
    background: #eef4ff;
    border-color: #b9cdf5;
    color: #315ea8;
}

.file-entry-badge--file {
    background: #f6f7f7;
}

.file-preview {
    background: #0f1720;
    border: 1px solid #0f1720;
    color: #e9eef5;
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.78rem;
    line-height: 1.55;
    margin: 0;
    max-height: 34rem;
    overflow: auto;
    padding: 1rem;
    white-space: pre-wrap;
    word-break: break-word;
}

.file-preview--placeholder {
    background: #f6f7f7;
    border-color: var(--admin-border);
    color: var(--admin-muted);
    font-family: inherit;
}

.preview-card {
    background: linear-gradient(180deg, var(--surface-soft) 0%, #fffdfb 100%);
    padding: 1.2rem;
}

.preview-card__body {
    border-top: 2px solid var(--border);
    margin-top: 1rem;
    padding-top: 1rem;
}

.flash-stack {
    position: fixed;
    right: 1rem;
    top: 1rem;
    z-index: 40;
}

.flash {
    background: var(--surface-panel);
    border: 2px solid var(--off-black);
    border-radius: var(--button-radius);
    box-shadow: 3px 3px 0 var(--off-black);
    margin-bottom: 0.75rem;
    max-width: 28rem;
    padding: 0.8rem 1rem;
}

.flash--success {
    background: #eef7ec;
}

.flash--error {
    background: #fff2f2;
}

.is-hidden {
    display: none !important;
}

.wp-screen {
    display: grid;
    gap: 1rem;
}

.wp-screen-header {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.wp-screen-header--editor {
    margin-bottom: 0.5rem;
}

.wp-screen-title {
    color: var(--admin-text);
    font-size: 1.35rem;
    font-weight: 600;
    margin: 0.25rem 0 0;
}

.wp-screen-subtitle {
    color: var(--admin-muted);
    margin: 0.45rem 0 0;
}

.wp-list-controls {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.wp-bulk-actions {
    align-items: center;
    display: flex;
    gap: 0.6rem;
}

.wp-bulk-actions select {
    min-width: 12rem;
    width: auto;
}

.wp-list-meta {
    align-items: center;
    color: var(--admin-muted);
    display: flex;
    gap: 1rem;
    font-size: 0.82rem;
}

.wp-list-meta__link {
    color: var(--admin-link);
    font-weight: 500;
}

.wp-list-table-wrap {
    background: var(--admin-surface);
    border: 1px solid var(--admin-border);
}

.wp-list-table {
    border-collapse: collapse;
    width: 100%;
}

.wp-list-table th,
.wp-list-table td {
    border-bottom: 1px solid var(--admin-border);
    padding: 0.85rem 0.9rem;
    text-align: left;
    vertical-align: top;
}

.wp-list-table thead th {
    background: #f6f7f7;
    color: var(--admin-text);
    font-size: 0.78rem;
    font-weight: 600;
}

.wp-list-table tbody tr:hover > td {
    background: #fbfbfb;
}

.inline-delete-form {
    display: inline;
}

.link-button {
    background: transparent;
    border: 0;
    color: var(--admin-link);
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    padding: 0;
    text-decoration: underline;
}

.link-button--danger {
    color: #b42318;
}

.people-list-table {
    font-size: 0.82rem;
}

.people-list-table th,
.people-list-table td {
    padding: 0.48rem 0.65rem;
    vertical-align: middle;
}

.people-list-table .column-primary {
    min-width: 8rem;
}

.people-list-table__person {
    white-space: nowrap;
}

.people-list-table .wp-item-title {
    font-size: 0.84rem;
}

.people-list-table .wp-row-actions {
    font-size: 0.7rem;
    margin-top: 0.12rem;
}

.people-list-table__last-name {
    font-weight: 650;
    white-space: nowrap;
}

.people-list-table__roles {
    max-width: 26rem;
}

.people-role-chip-list {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.24rem;
}

.people-role-chip {
    background: #f2f3f4;
    border: 1px solid #dcdcde;
    border-radius: 999px;
    color: #3c434a;
    display: inline-flex;
    font-size: 0.68rem;
    font-weight: 650;
    line-height: 1;
    padding: 0.18rem 0.42rem;
    white-space: nowrap;
}

.people-list-table__muted {
    color: var(--admin-muted);
}


.people-filter-bar .wp-bulk-actions {
    align-items: end;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.people-filter-bar input,
.people-filter-bar select {
    font-size: 0.78rem;
    min-height: 2.15rem;
    padding: 0.35rem 0.5rem;
    width: auto;
}

.people-summary-trigger {
    background: transparent;
    border: 0;
    box-shadow: none;
    cursor: pointer;
    min-height: 0;
    padding: 0;
    text-align: left;
}

.people-account-badge {
    background: #f2f3f4;
    border: 1px solid #dcdcde;
    border-radius: 999px;
    color: #50575e;
    display: inline-flex;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.18rem 0.48rem;
    white-space: nowrap;
}

.people-account-badge--eligible {
    background: #fff8e5;
    border-color: #f0c36d;
    color: #7a4d00;
}

.people-account-badge--active {
    background: #ecf7ed;
    border-color: #b8ddb9;
    color: #1f6f2c;
}

.people-account-badge--contact_only,
.people-account-badge--not_eligible {
    background: #f2f3f4;
    color: #50575e;
}

.people-account-badge--missing_phone {
    background: #fff1f1;
    border-color: #f2b8bd;
    color: #a6242b;
}

.people-summary-modal {
    border: 0;
    max-width: min(92vw, 64rem);
    padding: 0;
    width: 64rem;
}

.people-summary-modal::backdrop {
    background: rgba(0, 0, 0, 0.5);
}

.people-summary-modal__panel {
    background: #ffffff;
    display: grid;
    gap: 1rem;
    padding: 1.25rem;
}

.people-summary-modal__header {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.people-summary-modal__header h2 {
    font-size: 1.35rem;
    margin: 0.2rem 0 0;
}

.people-summary-modal__body {
    display: grid;
    gap: 1rem;
    max-height: min(70vh, 46rem);
    overflow: auto;
}

.people-summary-section {
    border-top: 1px solid var(--admin-border);
    display: grid;
    gap: 0.75rem;
    padding-top: 1rem;
}

.people-summary-section:first-child {
    border-top: 0;
    padding-top: 0;
}

.people-summary-section h3,
.people-summary-section h4 {
    margin: 0;
}

.people-summary-grid {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    margin: 0;
}

.people-summary-grid div,
.people-summary-note {
    background: #f6f7f7;
    border: 1px solid var(--admin-border);
    padding: 0.65rem;
}

.people-summary-grid dt {
    color: var(--admin-muted);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.people-summary-grid dd,
.people-summary-note p {
    margin: 0.18rem 0 0;
}

.people-summary-list {
    margin: 0;
    padding-left: 1.1rem;
}

.people-summary-list span {
    color: var(--admin-muted);
    font-size: 0.78rem;
}


.wp-list-table .check-column {
    width: 44px;
}

.wp-list-table .check-column input {
    min-height: auto;
    width: auto;
}

.wp-list-table .column-primary {
    min-width: 22rem;
}

.wp-item-title {
    color: var(--admin-link);
    font-size: 0.9rem;
    font-weight: 600;
}

.wp-item-title:hover,
.wp-list-meta__link:hover {
    color: var(--admin-link-hover);
}

.wp-row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.35rem;
    font-size: 0.76rem;
}

.wp-row-actions a,
.wp-row-action-button {
    color: var(--admin-link);
}

.wp-product-thumb {
    align-items: center;
    aspect-ratio: 1 / 1;
    background: #f4f4f4;
    border: 1px solid #dcdcde;
    border-radius: 0.35rem;
    color: var(--crest-red);
    display: inline-flex;
    font-weight: 900;
    justify-content: center;
    overflow: hidden;
    width: 3.5rem;
}

.wp-product-thumb img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.wp-row-action-button {
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
}

.wp-item-meta {
    color: var(--admin-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.45rem;
    font-size: 0.78rem;
}

.wp-pill {
    background: #edf4ff;
    border: 1px solid #cddff7;
    border-radius: 999px;
    color: #1d4f91;
    padding: 0.05rem 0.45rem;
}

.wp-mode-badge {
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.16rem 0.5rem;
}

.wp-mode-badge--classic {
    background: #edf4ff;
    color: #1d4f91;
}

.wp-mode-badge--blocks {
    background: #fff4ea;
    color: #9d3b0a;
}

.wp-status-badge {
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.18rem 0.55rem;
}

.wp-status-badge--published {
    background: #ecf7ed;
    color: #1f6f2c;
}

.wp-status-badge--draft {
    background: #f2f3f4;
    color: #50575e;
}

.wp-status-badge--trash {
    background: #fff1f1;
    color: #a6242b;
}

.wp-status-badge--active {
    background: #ecf7ed;
    color: #1f6f2c;
}

.wp-status-badge--inactive {
    background: #f2f3f4;
    color: #50575e;
}

.wp-status-badge--archived {
    background: #fdf0e7;
    color: #8a4b18;
}

.wp-status-badge--not_sent {
    background: #f2f3f4;
    color: #50575e;
}

.wp-status-badge--draft_created {
    background: #eef6ff;
    color: #135e96;
}

.wp-status-badge--needs_attention,
.wp-status-badge--error,
.wp-status-badge--printful_error {
    background: #fff1f1;
    color: #a6242b;
}

.wp-status-badge--approved,
.wp-status-badge--printful_approved {
    background: #ecf7ed;
    color: #1f6f2c;
}

.wp-status-badge--incomplete,
.wp-status-badge--incomplete_expired {
    background: #f2f3f4;
    color: #50575e;
}

.wp-status-badge--past_due,
.wp-status-badge--unpaid,
.wp-status-badge--canceled {
    background: #fff1f1;
    color: #a6242b;
}

.wp-empty-state {
    color: var(--admin-muted);
    text-align: center;
}

.admin-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 1rem;
}

.admin-filter-tabs a {
    background: var(--admin-surface);
    border: 1px solid var(--admin-border);
    color: var(--admin-link);
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1;
    padding: 0.65rem 0.8rem;
    text-decoration: none;
}

.admin-filter-tabs a.is-active {
    background: var(--admin-link);
    border-color: var(--admin-link);
    color: #fff;
}

.printful-fulfillment-table th,
.printful-fulfillment-table td {
    vertical-align: top;
}

.printful-order-items {
    display: grid;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.printful-order-items li {
    color: var(--admin-text);
    font-weight: 700;
}

.printful-order-items span {
    color: var(--admin-muted);
    font-weight: 800;
}

.printful-actions {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.printful-actions form {
    margin: 0;
}

.printful-error {
    color: #a6242b;
}

.wp-inline-editor td {
    background: #f6f7f7;
}

.wp-quick-edit-form {
    display: grid;
    gap: 0.9rem;
}

.wp-quick-edit-grid {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.wp-quick-edit-grid label {
    display: grid;
    gap: 0.35rem;
}

.wp-quick-edit-grid span {
    color: var(--admin-muted);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.wp-quick-edit-actions {
    display: flex;
    gap: 0.6rem;
}

.classic-editor-layout {
    display: grid;
    gap: 1rem;
}

.classic-editor-shell {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1.6fr) minmax(18rem, 0.85fr);
    transition: grid-template-columns 0.18s ease;
}

.classic-editor-main,
.classic-editor-sidebar {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.classic-editor-main {
    min-width: 0;
}

.classic-editor-sidebar {
    min-width: 0;
    position: sticky;
    top: 1rem;
}

.classic-editor-shell.is-sidebar-collapsed {
    grid-template-columns: minmax(0, 1fr);
}

.classic-editor-shell.is-sidebar-collapsed .classic-editor-sidebar {
    display: none;
}

.meta-box {
    background: var(--admin-surface);
    border: 1px solid var(--admin-border);
    display: grid;
    gap: 0.9rem;
    padding: 1rem;
}

.meta-box--editor {
    gap: 1rem;
    padding: 0;
}

.meta-box--editor > * {
    padding-left: 1rem;
    padding-right: 1rem;
}

.meta-box--editor > :first-child {
    padding-top: 1rem;
}

.meta-box--editor > :last-child {
    padding-bottom: 1rem;
}

.meta-box label {
    display: grid;
    gap: 0.35rem;
}

.meta-box__helper {
    color: var(--admin-muted);
    font-size: 0.79rem;
    line-height: 1.5;
    margin-top: 0.1rem;
}

.meta-box__header h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
}

.meta-box__header p {
    color: var(--admin-muted);
    margin: 0.3rem 0 0;
}

.meta-box__label,
.classic-slug-row span,
.meta-box label span {
    color: var(--admin-muted);
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

.meta-box__actions {
    display: grid;
    gap: 0.65rem;
}

.classic-title-wrap {
    display: grid;
    gap: 0.35rem;
}

.classic-title-input {
    font-size: 1.7rem;
    font-weight: 600;
    min-height: 3.4rem;
}

.classic-permalink {
    color: var(--admin-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
    font-size: 0.82rem;
}

.classic-permalink code {
    background: #f6f7f7;
    border: 1px solid var(--admin-border);
    color: var(--admin-text);
    padding: 0.12rem 0.4rem;
}

.classic-slug-row {
    padding-bottom: 0.2rem;
}

.classic-editor {
    background: var(--admin-surface);
    border-top: 1px solid var(--admin-border);
}

.classic-editor__header {
    align-items: center;
    background: linear-gradient(180deg, #f6f7f7 0%, #f0f0f1 100%);
    border-bottom: 1px solid var(--admin-border);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 1rem;
}

.classic-editor__tabs {
    display: flex;
    gap: 0.35rem;
}

.classic-editor__tab {
    background: transparent;
    border: 1px solid transparent;
    border-bottom: 0;
    color: var(--admin-muted);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 0.75rem;
}

.classic-editor__tab.is-active {
    background: var(--admin-surface);
    border-color: var(--admin-border);
    color: var(--admin-text);
}

.classic-editor__media {
    align-items: center;
    display: inline-flex;
    gap: 0.5rem;
    padding-inline: 0.8rem;
    white-space: nowrap;
}

.classic-editor-toggle {
    gap: 0.5rem;
}

.classic-editor-toggle__icon {
    align-items: center;
    color: var(--admin-muted);
    display: inline-flex;
    flex: 0 0 0.95rem;
    height: 0.95rem;
    justify-content: center;
    transition: transform 0.18s ease;
    width: 0.95rem;
}

.classic-editor-toggle__icon svg {
    fill: none;
    height: 100%;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 100%;
}

.classic-editor-toggle[aria-expanded="false"] .classic-editor-toggle__icon {
    transform: rotate(180deg);
}

.classic-editor .editor-toolbar {
    align-items: center;
    background: #ffffff;
    border-bottom: 1px solid var(--admin-border);
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin: 0;
    padding: 0.6rem 1rem;
}

.editor-mode-grid {
    display: grid;
    gap: 0.75rem;
}

.editor-mode-option {
    cursor: pointer;
    display: block;
    margin: 0;
    position: relative;
}

.editor-mode-option input {
    opacity: 0;
    pointer-events: none;
    position: absolute;
}

.editor-mode-option__card {
    background: #f6f7f7;
    border: 1px solid var(--admin-border);
    border-radius: 4px;
    display: grid;
    gap: 0.3rem;
    padding: 0.85rem 0.95rem;
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.editor-mode-option__card strong {
    color: var(--admin-text);
    font-size: 0.86rem;
}

.editor-mode-option__card small {
    color: var(--admin-muted);
    font-size: 0.78rem;
    line-height: 1.45;
}

.editor-mode-option.is-selected .editor-mode-option__card,
.editor-mode-option input:checked + .editor-mode-option__card {
    background: #fffaf5;
    border-color: #dba979;
    box-shadow: inset 0 0 0 1px #e7c29f;
}

.editor-surface-note {
    align-items: start;
    background: #f6f7f7;
    border: 1px solid var(--admin-border);
    border-left: 4px solid #8c8f94;
    display: grid;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
}

.editor-surface-note p {
    color: var(--admin-muted);
    font-size: 0.82rem;
    line-height: 1.55;
    margin: 0;
}

.block-json-input {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 0.82rem;
    line-height: 1.55;
    min-height: 22rem;
    white-space: pre;
}

.editor-toolbar__button {
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    color: #3c434a;
    display: inline-flex;
    height: 2rem;
    justify-content: center;
    padding: 0;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
    width: 2rem;
}

.editor-toolbar__button:hover,
.editor-toolbar__button:focus-visible {
    background: #f6f7f7;
    border-color: #dcdcde;
    color: #0a4b78;
    outline: none;
}

.editor-toolbar__divider {
    background: var(--admin-border);
    display: inline-flex;
    height: 1.5rem;
    margin: 0 0.2rem;
    width: 1px;
}

.editor-toolbar__icon {
    align-items: center;
    display: inline-flex;
    flex: 0 0 1rem;
    height: 1rem;
    justify-content: center;
    width: 1rem;
}

.editor-toolbar__icon svg {
    height: 100%;
    width: 100%;
}

.editor-toolbar__icon svg path,
.editor-toolbar__icon svg circle,
.editor-toolbar__icon svg rect {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.editor-toolbar__icon svg text {
    fill: currentColor;
    font-family: "Montserrat", sans-serif;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.classic-editor__visual,
.classic-editor__code {
    border: 0;
    color: #1d2327;
    line-height: 1.75;
    min-height: 24rem;
    padding: 1.15rem 1.2rem 1.35rem;
}

.classic-editor__visual {
    background: #ffffff;
    font-size: 1rem;
    outline: none;
}

.classic-editor__visual p:first-child {
    margin-top: 0;
}

.classic-editor__visual h2,
.classic-editor__visual h3 {
    color: #1d2327;
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

.classic-editor__visual blockquote {
    border-left: 4px solid #72aee6;
    color: #50575e;
    margin: 1.5rem 0;
    padding: 0.15rem 0 0.15rem 1rem;
}

.classic-editor__visual ul,
.classic-editor__visual ol {
    padding-left: 1.4rem;
}

.classic-editor__visual img {
    height: auto;
    max-width: 100%;
}

.classic-editor__code {
    background: #fcfcfc;
    border-top: 1px solid var(--admin-border);
    font-family: "Consolas", "Courier New", monospace;
    font-size: 0.92rem;
    resize: vertical;
}

.pattern-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pattern-card {
    align-items: flex-start;
    background: #f6f7f7;
    border: 1px solid var(--admin-border);
    color: var(--admin-text);
    display: grid;
    gap: 0.25rem;
    padding: 0.9rem;
    text-align: left;
}

.pattern-card:hover {
    background: #eef4fb;
    border-color: #b9d1eb;
}

.pattern-card strong {
    font-size: 0.86rem;
    font-weight: 600;
}

.pattern-card span {
    color: var(--admin-muted);
    font-size: 0.78rem;
}

.checkbox-row--stacked {
    align-items: flex-start;
}

.theme-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.theme-card.is-active {
    outline: 3px solid var(--crest-red);
    outline-offset: 3px;
}

.theme-badge {
    align-items: center;
    background: var(--crest-red);
    border-radius: var(--button-radius);
    color: var(--white);
    display: inline-flex;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0.45rem 0.6rem;
    text-transform: uppercase;
}

.theme-preview {
    border: 2px solid var(--off-black);
    border-radius: var(--radius-md);
    display: grid;
    gap: 0.65rem;
    margin: 1rem 0 1.2rem;
    min-height: 10rem;
    padding: 1rem;
}

.theme-preview strong,
.theme-preview span {
    display: block;
}

.theme-preview--crisp-command {
    background: linear-gradient(140deg, #181818 0%, #313131 55%, #f8f1e8 55%, #f8f1e8 100%);
    color: var(--white);
}

.theme-preview--heritage-stripe {
    background: linear-gradient(180deg, #f8efe3 0%, #f8efe3 70%, #cb2c30 70%, #cb2c30 100%);
    color: var(--off-black);
}

.theme-preview--midnight-grid {
    background: linear-gradient(135deg, #141414 0%, #141414 60%, #cb2c30 60%, #cb2c30 100%);
    color: var(--white);
}

.theme-preview--scarlet-white {
    background: linear-gradient(135deg, #cb2c30 0%, #cb2c30 44%, #ffffff 44%, #ffffff 100%);
    color: #141414;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (max-width: 1280px) {
    .site-header__inner {
        column-gap: 1.05rem;
        padding: 0.5rem 0;
    }

    .brand-lockup {
        gap: 0.6rem;
        padding-right: 0.65rem;
    }

    .site-header__menu {
        gap: 0.55rem;
    }

    .site-nav {
        gap: 0.15rem;
    }

    .site-nav__link,
    .site-nav__toggle,
    .header-action {
        font-size: 0.71rem;
        letter-spacing: 0.04em;
        padding: 0.42rem 0.58rem;
    }

    .site-nav__toggle {
        padding: 0.42rem;
    }

    .site-header__actions {
        gap: 0.5rem;
    }

    body[data-theme="scarlet-white"] .brand-logo {
        height: 5.15rem;
    }

    body[data-theme="scarlet-white"] .brand-copy__main {
        font-size: clamp(1.75rem, 1.02rem + 1.05vw, 2.05rem);
    }

    body[data-theme="scarlet-white"] .brand-copy {
        transform: translateY(0.34rem);
    }
}

@media (min-width: 981px) and (max-width: 1100px) {
    .site-header__inner {
        column-gap: 0.55rem;
        width: min(calc(100% - 1rem), var(--header-width));
    }

    .brand-lockup {
        gap: 0.45rem;
        padding-right: 0.2rem;
    }

    body[data-theme="scarlet-white"] .brand-logo,
    .brand-logo {
        height: 4.35rem;
    }

    body[data-theme="scarlet-white"] .brand-copy {
        transform: translateY(0.18rem);
    }

    body[data-theme="scarlet-white"] .brand-copy__main,
    .brand-copy__main {
        font-size: 1.26rem;
        letter-spacing: 0.02em;
    }

    .brand-copy__sub {
        display: none;
    }

    .site-header__menu {
        gap: 0.25rem;
        width: auto;
    }

    .site-nav {
        gap: 0.04rem;
    }

    .site-nav__link,
    .site-nav__toggle {
        font-size: 0.66rem;
        letter-spacing: 0.025em;
        padding: 0.35rem 0.42rem;
    }

    .site-nav__toggle {
        padding-left: 0.28rem;
        padding-right: 0.28rem;
    }

    .site-profile-link,
    .site-notification-link,
    .site-cart-link {
        min-height: 2rem;
        min-width: 2rem;
        padding: 0.2rem 0.42rem;
    }
}

@media (max-width: 980px) {
    .site-header__inner {
        width: min(calc(100% - 2rem), var(--content-width));
        align-items: center;
        display: flex;
        flex-direction: row;
        gap: 0.75rem;
        padding: 0.45rem 0;
    }

    .site-header__utilities {
        flex: 0 0 auto;
        gap: 0.42rem;
        margin-left: auto;
    }

    .brand-lockup {
        flex: 1 1 auto;
        margin-right: 0;
        min-width: 0;
        padding-right: 0;
    }

    .site-header__menu-toggle {
        display: inline-flex;
    }

    .site-header__menu-backdrop {
        background: rgba(0, 0, 0, 0.4);
        bottom: 0;
        display: block;
        left: 0;
        opacity: 0;
        pointer-events: none;
        position: fixed;
        right: 0;
        top: 0;
        transition: opacity 0.22s ease;
        z-index: 39;
    }

    body.is-mobile-menu-open .site-header__menu-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .site-header__menu {
        align-items: stretch;
        background: #ffffff;
        border-left: 3px solid var(--off-black);
        bottom: 0;
        box-shadow: -18px 0 32px rgba(0, 0, 0, 0.18);
        display: flex;
        flex-direction: column;
        gap: 1rem;
        max-width: 24rem;
        overflow-y: auto;
        padding: 1rem;
        position: fixed;
        right: 0;
        top: 0;
        transform: translateX(100%);
        transition: transform 0.22s ease;
        width: min(86vw, 24rem);
        z-index: 40;
        justify-self: auto;
    }

    body.is-mobile-menu-open .site-header__menu {
        transform: translateX(0);
    }

    .site-header__menu-head {
        align-items: center;
        border-bottom: 1px solid #e6e6e6;
        display: flex;
        justify-content: space-between;
        padding-bottom: 0.75rem;
    }

    .site-header__menu-kicker {
        color: var(--crest-red);
        font-size: 0.72rem;
        font-weight: 800;
        letter-spacing: 0.12em;
        text-transform: uppercase;
    }

    .site-header__menu-close {
        background: transparent;
        border: 0;
        color: var(--off-black);
        font-size: 2rem;
        line-height: 1;
        padding: 0;
    }

    .site-nav {
        display: grid;
        gap: 0.5rem;
        justify-content: stretch;
        width: 100%;
    }

    .site-nav__item {
        align-items: start;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        padding-bottom: 0;
        width: 100%;
    }

    .site-nav__link,
    .site-nav__toggle {
        border: 1px solid #d7d7d7;
        color: var(--off-black);
        min-height: 2.9rem;
    }

    .site-nav__link {
        background: #ffffff;
        justify-content: flex-start;
        padding: 0.72rem 0.9rem;
        width: 100%;
    }

    .site-nav__link:hover,
    .site-nav__link.is-active {
        background: #f7f7f7;
        color: var(--crest-red);
    }

    .site-nav__toggle {
        background: #ffffff;
        margin-left: 0.45rem;
        min-width: 2.9rem;
        padding: 0.46rem;
    }

    .site-nav__toggle:hover,
    .site-nav__item.is-open > .site-nav__toggle,
    .site-nav__item:focus-within > .site-nav__toggle {
        background: #f7f7f7;
        color: var(--crest-red);
    }

    .site-nav__submenu {
        background: transparent;
        border: 0;
        box-shadow: none;
        display: none;
        gap: 0.45rem;
        grid-column: 1 / -1;
        left: auto;
        margin-top: 0.45rem;
        min-width: 0;
        padding: 0 0 0 0.9rem;
        position: static;
        top: auto;
    }

    .site-nav__submenu::before {
        display: none;
    }

    .site-nav__item.is-open > .site-nav__submenu,
    .site-nav__item.has-children:focus-within > .site-nav__submenu {
        display: grid;
    }

    .site-nav__submenu .site-nav__item {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .site-nav__submenu .site-nav__link {
        background: #f8f8f8;
        color: var(--off-black);
    }

    .site-nav__submenu .site-nav__link:hover,
    .site-nav__submenu .site-nav__link.is-active {
        background: #efefef;
        color: var(--crest-red);
    }

    .site-nav__submenu .site-nav__toggle {
        background: #f8f8f8;
        color: var(--off-black);
        margin-left: 0.45rem;
        position: static;
    }

    body[data-theme="scarlet-white"] .site-header__menu .site-nav__link,
    body[data-theme="scarlet-white"] .site-header__menu .site-nav__toggle {
        background: #ffffff;
        border-color: #d7d7d7;
        color: var(--off-black);
    }

    body[data-theme="scarlet-white"] .site-header__menu .site-nav__link:hover,
    body[data-theme="scarlet-white"] .site-header__menu .site-nav__link.is-active,
    body[data-theme="scarlet-white"] .site-header__menu .site-nav__toggle:hover,
    body[data-theme="scarlet-white"] .site-header__menu .site-nav__item.is-open > .site-nav__toggle,
    body[data-theme="scarlet-white"] .site-header__menu .site-nav__item:focus-within > .site-nav__toggle {
        background: #f7f7f7;
        color: var(--crest-red);
    }

    body[data-theme="scarlet-white"] .site-header__menu .site-nav__submenu .site-nav__link,
    body[data-theme="scarlet-white"] .site-header__menu .site-nav__submenu .site-nav__toggle {
        background: #f8f8f8;
        color: var(--off-black);
    }

    body[data-theme="scarlet-white"] .site-header__menu .site-nav__submenu .site-nav__link:hover,
    body[data-theme="scarlet-white"] .site-header__menu .site-nav__submenu .site-nav__link.is-active,
    body[data-theme="scarlet-white"] .site-header__menu .site-nav__submenu .site-nav__toggle:hover,
    body[data-theme="scarlet-white"] .site-header__menu .site-nav__submenu .site-nav__item.is-open > .site-nav__toggle,
    body[data-theme="scarlet-white"] .site-header__menu .site-nav__submenu .site-nav__item:focus-within > .site-nav__toggle {
        background: #efefef;
        color: var(--crest-red);
    }

    .site-header__actions {
        display: grid;
        gap: 0.75rem;
        margin-top: auto;
        padding-top: 0.35rem;
        width: 100%;
    }

    .header-action {
        justify-content: center;
        width: 100%;
    }
}

@media (min-width: 781px) and (max-width: 980px) {
    .site-header__inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.55rem;
        padding: 0.5rem 0 0.7rem;
    }

    .brand-lockup {
        margin-right: 0;
    }

    .site-header__menu-toggle,
    .site-header__menu-backdrop,
    .site-header__menu-head {
        display: none !important;
    }

    .site-header__menu {
        align-items: center;
        background: transparent;
        border: 0;
        box-shadow: none;
        display: flex;
        flex-direction: row;
        gap: 0.6rem;
        justify-content: space-between;
        margin-left: 0;
        max-width: none;
        overflow: visible;
        padding: 0;
        position: static;
        transform: none;
        transition: none;
        width: 100%;
    }

    .site-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 0.18rem;
        justify-content: flex-start;
        width: auto;
    }

    .site-nav__item {
        align-items: center;
        display: flex;
        padding-bottom: 0.1rem;
        width: auto;
    }

    .site-nav__link,
    .site-nav__toggle {
        border: 2px solid transparent;
        min-height: 0;
    }

    .site-nav__link {
        background: transparent;
        padding: 0.42rem 0.58rem;
        width: auto;
    }

    .site-nav__toggle {
        background: transparent;
        margin-left: 0;
        min-width: 0;
        padding: 0.42rem;
        position: static;
    }

    .site-nav__submenu {
        background: var(--surface-panel);
        border: 2px solid var(--off-black);
        box-shadow: 6px 6px 0 var(--off-black);
        display: none;
        gap: 0;
        grid-column: auto;
        left: 0;
        margin-top: 0;
        min-width: 15rem;
        padding: 0.45rem;
        position: absolute;
        top: calc(100% - 0.1rem);
    }

    .site-nav__submenu::before {
        display: block;
    }

    .site-nav__submenu .site-nav__item {
        display: block;
    }

    .site-nav__submenu .site-nav__link {
        background: transparent;
        padding: 0.62rem 0.72rem;
        width: 100%;
    }

    .site-nav__submenu .site-nav__toggle {
        margin-left: 0;
        position: absolute;
        right: 0.35rem;
        top: 0.2rem;
    }

    .site-nav__submenu .site-nav__submenu {
        left: calc(100% - 0.15rem);
        top: -0.15rem;
    }

    .site-header__actions {
        display: flex;
        margin-left: auto;
        margin-top: 0;
        padding-top: 0;
        width: auto;
    }

    .header-action {
        justify-content: center;
        width: auto;
    }

    body[data-theme="scarlet-white"] .site-header__menu .site-nav__link,
    body[data-theme="scarlet-white"] .site-header__menu .site-nav__toggle {
        background: transparent;
        border-color: transparent;
        color: rgba(255, 255, 255, 0.96);
    }

    body[data-theme="scarlet-white"] .site-header__menu .site-nav__link:hover,
    body[data-theme="scarlet-white"] .site-header__menu .site-nav__link.is-active,
    body[data-theme="scarlet-white"] .site-header__menu .site-nav__toggle:hover,
    body[data-theme="scarlet-white"] .site-header__menu .site-nav__item.is-open > .site-nav__toggle,
    body[data-theme="scarlet-white"] .site-header__menu .site-nav__item:focus-within > .site-nav__toggle {
        background: rgba(255, 255, 255, 0.14);
        color: var(--white);
    }

    body[data-theme="scarlet-white"] .site-header__menu .site-nav__submenu {
        background: #ffffff;
        border: 1px solid #d9d9d9;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
    }

    body[data-theme="scarlet-white"] .site-header__menu .site-nav__submenu .site-nav__link,
    body[data-theme="scarlet-white"] .site-header__menu .site-nav__submenu .site-nav__toggle {
        background: transparent;
        color: var(--off-black);
    }

    body[data-theme="scarlet-white"] .site-header__menu .site-nav__submenu .site-nav__link:hover,
    body[data-theme="scarlet-white"] .site-header__menu .site-nav__submenu .site-nav__link.is-active,
    body[data-theme="scarlet-white"] .site-header__menu .site-nav__submenu .site-nav__toggle:hover,
    body[data-theme="scarlet-white"] .site-header__menu .site-nav__submenu .site-nav__item.is-open > .site-nav__toggle,
    body[data-theme="scarlet-white"] .site-header__menu .site-nav__submenu .site-nav__item:focus-within > .site-nav__toggle {
        background: #f4f4f4;
        color: var(--crest-red);
    }
}

@media (max-width: 1080px) {
    .hero-panel,
    .content-layout,
    .editor-grid,
    .classic-editor-shell,
    .site-footer__inner,
    .callout-band {
        grid-template-columns: 1fr;
    }

    .admin-shell .admin-frame {
        grid-template-columns: var(--admin-sidebar-width) minmax(0, 1fr);
    }

    .admin-shell .admin-sidebar {
        border-right: 0;
        border-bottom: 0;
    }

    .admin-shell.is-admin-menu-collapsed .admin-frame {
        grid-template-columns: var(--admin-sidebar-collapsed) minmax(0, 1fr);
    }

    .classic-editor-sidebar {
        position: static;
    }

    .admin-grid--stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-grid,
    .content-panels,
    .news-grid,
    .mini-card-grid,
    .pattern-grid,
    .theme-grid,
    .selection-grid {
        grid-template-columns: 1fr;
    }

    .wp-quick-edit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body[data-theme="scarlet-white"] .hero-panel {
        gap: 0.85rem;
    }

    body[data-theme="scarlet-white"] .hero-panel__copy {
        padding: 2.35rem 2rem 2rem;
    }

    body[data-theme="scarlet-white"] .hero-panel__visual {
        padding: 1.5rem 1.65rem 1.7rem;
    }

    body[data-theme="scarlet-white"] .scoreboard-card {
        max-width: none;
    }
}

.site-header__admin-mobile {
    display: none;
}

@media (max-width: 980px) {
    .site-adminbar {
        display: none;
    }

    .site-header__admin-mobile {
        align-content: center;
        border-top: 1px solid #e6e6e6;
        display: grid;
        gap: 0.7rem;
        margin-top: auto;
        min-height: 10rem;
        padding-top: 1rem;
    }

    .site-header__admin-dashboard {
        align-items: center;
        background: var(--crest-red);
        border: 1px solid var(--crest-red);
        color: var(--white);
        display: flex;
        font-size: 0.86rem;
        font-weight: 800;
        justify-content: center;
        letter-spacing: 0.06em;
        min-height: 3rem;
        padding: 0.8rem 1rem;
        text-align: center;
        text-decoration: none;
        text-transform: uppercase;
        width: 100%;
    }

    .site-header__admin-dashboard:hover,
    .site-header__admin-dashboard:focus-visible {
        background: var(--off-black);
        border-color: var(--off-black);
        color: var(--white);
        outline: 0;
    }

    .site-header__admin-mobile p {
        color: #818181;
        font-size: 0.78rem;
        line-height: 1.4;
        margin: 0;
        text-align: center;
    }
}

@media (max-width: 780px) {
    .wp-screen-header,
    .classic-editor__header,
    .site-adminbar__inner,
    .admin-header,
    .panel-card__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-adminbar__actions,
    .admin-header__actions,
    .quick-actions,
    .wp-bulk-actions {
        width: 100%;
    }

    .site-adminbar__actions {
        gap: 0.65rem;
        flex-wrap: wrap;
    }

    .site-adminbar__identity {
        width: 100%;
        justify-content: space-between;
    }

    .site-header__inner {
        align-items: center;
        flex-direction: row;
        min-height: 4.8rem;
        padding: 0.45rem 0;
    }

    .brand-lockup {
        flex: 1 1 auto;
        margin-right: 0;
        min-width: 0;
    }

    .brand-logo {
        height: 4.25rem;
    }

    .brand-copy {
        gap: 0.12rem;
        min-width: 0;
    }

    .brand-copy__main {
        font-size: 1.42rem;
        letter-spacing: 0.03em;
    }

    .brand-copy__sub {
        font-size: 0.58rem;
        letter-spacing: 0.12em;
    }

    body[data-theme="scarlet-white"] .brand-logo {
        height: 4.2rem;
    }

    body[data-theme="scarlet-white"] .brand-copy {
        transform: translateY(0.26rem);
    }

    body[data-theme="scarlet-white"] .brand-copy__main {
        font-size: 1.28rem;
    }

    .site-profile-link,
    .site-cart-link {
        min-height: 2rem;
        min-width: 2rem;
        padding: 0.2rem 0.45rem;
    }

    .site-header__menu-toggle {
        display: inline-flex;
    }

    .site-header__menu-backdrop {
        background: rgba(0, 0, 0, 0.4);
        bottom: 0;
        display: block;
        left: 0;
        opacity: 0;
        pointer-events: none;
        position: fixed;
        right: 0;
        top: 0;
        transition: opacity 0.22s ease;
        z-index: 39;
    }

    body.is-mobile-menu-open .site-header__menu-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .site-header__menu {
        align-items: stretch;
        background: #ffffff;
        border-left: 3px solid var(--off-black);
        bottom: 0;
        box-shadow: -18px 0 32px rgba(0, 0, 0, 0.18);
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-left: 0;
        max-width: 24rem;
        overflow-y: auto;
        padding: 1rem;
        position: fixed;
        right: 0;
        top: 0;
        transform: translateX(100%);
        transition: transform 0.22s ease;
        width: min(86vw, 24rem);
        z-index: 40;
    }

    body.is-mobile-menu-open .site-header__menu {
        transform: translateX(0);
    }

    .site-header__menu-head {
        align-items: center;
        border-bottom: 1px solid #e6e6e6;
        display: flex;
        justify-content: space-between;
        padding-bottom: 0.75rem;
    }

    .site-header__menu-kicker {
        color: var(--crest-red);
        font-size: 0.72rem;
        font-weight: 800;
        letter-spacing: 0.12em;
        text-transform: uppercase;
    }

    .site-header__menu-close {
        background: transparent;
        border: 0;
        color: var(--off-black);
        font-size: 2rem;
        line-height: 1;
        padding: 0;
    }

    .site-nav {
        display: grid;
        gap: 0.5rem;
        justify-content: stretch;
        width: 100%;
    }

    .site-nav__item {
        align-items: start;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        padding-bottom: 0;
        width: 100%;
    }

    .site-nav__link,
    .site-nav__toggle {
        border: 1px solid #d7d7d7;
        color: var(--off-black);
        min-height: 2.9rem;
    }

    .site-nav__link {
        background: #ffffff;
        justify-content: flex-start;
        padding: 0.72rem 0.9rem;
        width: 100%;
    }

    .site-nav__link:hover,
    .site-nav__link.is-active {
        background: #f7f7f7;
        color: var(--crest-red);
    }

    .site-nav__toggle {
        background: #ffffff;
        margin-left: 0.45rem;
        min-width: 2.9rem;
        padding: 0.46rem;
    }

    .site-nav__toggle:hover,
    .site-nav__item.is-open > .site-nav__toggle,
    .site-nav__item:focus-within > .site-nav__toggle {
        background: #f7f7f7;
        color: var(--crest-red);
    }

    .site-nav__submenu {
        background: transparent;
        border: 0;
        box-shadow: none;
        display: none;
        gap: 0.45rem;
        grid-column: 1 / -1;
        left: auto;
        margin-top: 0.45rem;
        min-width: 0;
        padding: 0 0 0 0.9rem;
        position: static;
        top: auto;
    }

    .site-nav__submenu::before {
        display: none;
    }

    .site-nav__item.is-open > .site-nav__submenu,
    .site-nav__item.has-children:focus-within > .site-nav__submenu {
        display: grid;
    }

    .site-nav__submenu .site-nav__item {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .site-nav__submenu .site-nav__link {
        background: #f8f8f8;
        color: var(--off-black);
    }

    .site-nav__submenu .site-nav__link:hover,
    .site-nav__submenu .site-nav__link.is-active {
        background: #efefef;
        color: var(--crest-red);
    }

    .site-nav__submenu .site-nav__toggle {
        background: #f8f8f8;
        color: var(--off-black);
        margin-left: 0.45rem;
        position: static;
    }

    body[data-theme="scarlet-white"] .site-header__menu .site-nav__link,
    body[data-theme="scarlet-white"] .site-header__menu .site-nav__toggle {
        background: #ffffff;
        border-color: #d7d7d7;
        color: var(--off-black);
    }

    body[data-theme="scarlet-white"] .site-header__menu .site-nav__link:hover,
    body[data-theme="scarlet-white"] .site-header__menu .site-nav__link.is-active,
    body[data-theme="scarlet-white"] .site-header__menu .site-nav__toggle:hover,
    body[data-theme="scarlet-white"] .site-header__menu .site-nav__item.is-open > .site-nav__toggle,
    body[data-theme="scarlet-white"] .site-header__menu .site-nav__item:focus-within > .site-nav__toggle {
        background: #f7f7f7;
        color: var(--crest-red);
    }

    body[data-theme="scarlet-white"] .site-header__menu .site-nav__submenu .site-nav__link,
    body[data-theme="scarlet-white"] .site-header__menu .site-nav__submenu .site-nav__toggle {
        background: #f8f8f8;
        color: var(--off-black);
    }

    body[data-theme="scarlet-white"] .site-header__menu .site-nav__submenu .site-nav__link:hover,
    body[data-theme="scarlet-white"] .site-header__menu .site-nav__submenu .site-nav__link.is-active,
    body[data-theme="scarlet-white"] .site-header__menu .site-nav__submenu .site-nav__toggle:hover,
    body[data-theme="scarlet-white"] .site-header__menu .site-nav__submenu .site-nav__item.is-open > .site-nav__toggle,
    body[data-theme="scarlet-white"] .site-header__menu .site-nav__submenu .site-nav__item:focus-within > .site-nav__toggle {
        background: #efefef;
        color: var(--crest-red);
    }

    .site-header__actions {
        display: grid;
        gap: 0.75rem;
        margin-top: auto;
        padding-top: 0.35rem;
        width: 100%;
    }

    .header-action,
    .button {
        justify-content: center;
        width: 100%;
    }

    .wp-list-controls,
    .wp-list-meta,
    .wp-quick-edit-grid,
    .pattern-grid {
        grid-template-columns: 1fr;
    }

    .wp-list-controls,
    .wp-list-meta,
    .wp-quick-edit-actions {
        display: grid;
    }

    .admin-grid,
    .form-grid,
    .table-list__row {
        grid-template-columns: 1fr;
    }

    .admin-grid--stats {
        grid-template-columns: 1fr;
    }

    .classic-editor-toggle {
        width: 100%;
    }

    .hero-panel {
        gap: 0.9rem;
        padding-top: 1.25rem;
        padding-bottom: 2rem;
    }

    .hero-panel__copy {
        padding: 1.8rem 1.2rem 1.45rem;
    }

    .hero-panel__copy h1 {
        font-size: clamp(2rem, 10vw, 2.85rem);
        line-height: 0.94;
        margin-bottom: 0.85rem;
    }

    .hero-panel__summary {
        font-size: 0.95rem;
    }

    .hero-panel__actions {
        gap: 0.7rem;
        margin-top: 1.15rem;
    }

    .hero-panel__actions .button {
        width: 100%;
    }

    .hero-panel__visual {
        padding: 1.2rem 1.2rem 1.35rem;
    }

    .scoreboard-card {
        padding: 0.2rem 0;
    }

    .scoreboard-card ul {
        margin-top: 0.65rem;
        padding-left: 1rem;
    }

    .mini-card-grid {
        gap: 0.65rem;
        margin-top: 1rem;
    }

    .mini-card-grid article {
        padding: 0.8rem 0 0;
    }

    .mini-card-grid strong {
        font-size: 1rem;
        margin-top: 0.22rem;
    }

    body[data-theme="scarlet-white"] .hero-panel {
        gap: 0;
        padding-top: 0;
        padding-bottom: 0.85rem;
        width: 100%;
    }

    body[data-theme="scarlet-white"] .hero-panel__copy {
        padding: 1.85rem 1rem 1.45rem;
    }

    body[data-theme="scarlet-white"] .hero-panel__copy h1 {
        font-size: clamp(2.1rem, 10.2vw, 3rem);
        line-height: 0.92;
    }

    body[data-theme="scarlet-white"] .hero-panel__visual {
        padding: 1rem 1rem 1.2rem;
    }

    body[data-theme="scarlet-white"] .scoreboard-card {
        padding: 0;
    }

    body[data-theme="scarlet-white"] .mini-card-grid {
        gap: 0.5rem;
        margin-top: 0.9rem;
    }

    body[data-theme="scarlet-white"] .mini-card-grid article {
        padding-top: 0.72rem;
    }

    body[data-theme="scarlet-white"] .mini-card-grid strong {
        font-size: 0.96rem;
    }

    .hero-panel,
    .inner-hero,
    .section-wrap,
    .auth-panel,
    .admin-header,
    .admin-content {
        width: min(calc(100% - 1.2rem), var(--content-width));
    }

    .admin-shell .header-action,
    .admin-shell .button {
        width: auto;
    }

    .admin-shell .quick-actions,
    .admin-shell .admin-header__actions {
        display: flex;
        flex-wrap: wrap;
    }
}

.bb-block + .bb-block {
    margin-top: 1.9rem;
}

.bb-block--button-group {
    margin-top: 1.6rem;
}

.bb-block--quote cite {
    color: var(--muted);
    display: block;
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 700;
    margin-top: 0.85rem;
}

.bb-block--divider {
    border: 0;
    border-top: 2px solid #dddddd;
    margin: 2rem 0;
}

.bb-block--divider-labeled {
    align-items: center;
    color: var(--muted);
    display: flex;
    font-size: 0.76rem;
    font-weight: 800;
    gap: 1rem;
    letter-spacing: 0.12em;
    margin: 2rem 0;
    text-transform: uppercase;
}

.bb-block--divider-labeled::before,
.bb-block--divider-labeled::after {
    background: #dddddd;
    content: "";
    flex: 1 1 auto;
    height: 1px;
}

.bb-block__callout-action {
    margin-top: 1rem;
}

.block-editor-screen {
    background: #e7eaee;
    color: var(--off-black);
    overflow-x: hidden;
    overflow-y: auto;
}

.block-editor {
    min-height: 100vh;
}

.block-editor-shell {
    display: grid;
    grid-template-columns: 23rem minmax(0, 1fr);
    min-height: 100vh;
}

.block-editor-sidebar {
    background: #101216;
    color: rgba(255, 255, 255, 0.94);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    position: sticky;
    top: 0;
    align-self: start;
    min-height: 100vh;
}

.block-editor-panel {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 1rem;
}

.block-editor-panel h1,
.block-editor-panel h2 {
    color: #ffffff;
    margin: 0;
}

.block-editor-panel h1 {
    font-size: 1.3rem;
    margin-top: 0.4rem;
}

.block-editor-panel h2 {
    font-size: 0.98rem;
}

.block-editor-panel p,
.block-editor-panel__note {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
    margin: 0.55rem 0 0;
}

.block-editor-panel__eyebrow {
    color: rgba(255, 255, 255, 0.58);
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.block-editor-panel__header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.4rem;
}

.block-editor-link {
    align-items: center;
    color: rgba(255, 255, 255, 0.82);
    display: inline-flex;
    font-size: 0.85rem;
    font-weight: 700;
    gap: 0.5rem;
}

.block-editor-link:hover {
    color: #ffffff;
}

.block-editor-link__icon {
    font-size: 1rem;
    line-height: 1;
}

.block-editor-actions {
    display: grid;
    gap: 0.7rem;
    margin-top: 1rem;
}

.block-editor-toprow {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.block-editor-save-state {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.block-editor-action {
    width: 100%;
}

.block-editor-tabs {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    display: grid;
    gap: 0.35rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 1rem;
    padding: 0.3rem;
}

.block-editor-tab {
    background: transparent;
    border: 0;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    min-height: 2.35rem;
    text-transform: uppercase;
}

.block-editor-tab.is-active {
    background: #ffffff;
    color: var(--off-black);
}

.block-editor-tab-panel {
    display: grid;
    gap: 0.9rem;
}

.block-editor-panel__header--spaced {
    margin-top: 1.2rem;
}

.block-editor-field,
.block-editor-checkbox {
    display: grid;
    gap: 0.4rem;
    margin-top: 0.9rem;
}

.block-editor-field span,
.block-editor-permalink span {
    color: rgba(255, 255, 255, 0.72);
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.block-editor-field input,
.block-editor-field select,
.block-editor-field textarea {
    background: #ffffff;
    border: 1px solid #cfd5dc;
    border-radius: 12px;
    color: var(--off-black);
    min-height: 2.8rem;
    padding: 0.72rem 0.85rem;
    width: 100%;
}

.block-editor-field textarea {
    min-height: 6rem;
    resize: vertical;
}

.block-editor-field-grid {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.block-editor-checkbox {
    align-items: center;
    grid-template-columns: auto minmax(0, 1fr);
}

.block-editor-checkbox input {
    margin: 0.15rem 0 0;
}

.block-editor-checkbox span {
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.block-editor-permalink {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    margin-top: 0.9rem;
    padding: 0.72rem 0.8rem;
}

.block-editor-permalink code {
    color: #ffffff;
    display: block;
    font-size: 0.82rem;
    margin-top: 0.35rem;
    word-break: break-all;
}

.block-editor-outline {
    display: grid;
    gap: 0.55rem;
}

.block-editor-outline__item {
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.9);
    display: grid;
    gap: 0.8rem;
    grid-template-columns: auto minmax(0, 1fr);
    padding: 0.72rem 0.8rem;
    text-align: left;
}

.block-editor-outline__item.is-selected {
    background: rgba(203, 44, 48, 0.2);
    border-color: rgba(255, 255, 255, 0.22);
}

.block-editor-outline__index,
.block-editor-outline__count {
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 800;
    height: 1.8rem;
    justify-content: center;
    min-width: 1.8rem;
    padding: 0 0.4rem;
}

.block-editor-outline__copy {
    display: grid;
    gap: 0.1rem;
    min-width: 0;
}

.block-editor-outline__copy strong,
.block-editor-outline__copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.block-editor-outline__copy small {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.78rem;
}

.block-editor-library {
    display: grid;
    gap: 0.7rem;
}

.block-editor-selected-empty {
    align-items: start;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.7);
    display: grid;
    gap: 0.3rem;
    padding: 0.95rem;
}

.block-editor-selected-empty strong {
    color: #ffffff;
}

.block-editor-selected-form {
    display: grid;
    gap: 0.9rem;
}

.block-editor-fieldset {
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-top: 0.35rem;
    text-transform: uppercase;
}

.block-editor-library__item {
    background: #ffffff;
    border: 1px solid #d2d8df;
    border-radius: 14px;
    color: var(--off-black);
    display: grid;
    gap: 0.2rem;
    padding: 0.8rem 0.9rem;
    text-align: left;
}

.block-editor-library__item strong {
    font-size: 0.92rem;
}

.block-editor-library__item span {
    color: var(--muted);
    font-size: 0.82rem;
}

.block-editor-main {
    padding: 1.5rem;
}

.block-editor-main__surface {
    margin: 0 auto;
    max-width: 1180px;
}

.block-editor-stage {
    background: #ffffff;
    border-radius: 26px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
    padding: 0.6rem 0 2rem;
}

.block-editor-stage__hero,
.block-editor-stage__section {
    margin: 0 auto;
    width: min(calc(100% - 3rem), var(--content-width));
}

.block-editor-stage__hero {
    padding-top: 2.2rem;
}

.block-editor-stage__section {
    padding-top: 0.5rem;
}

.block-editor-stage__cta.is-hidden {
    display: none;
}

.block-editor-canvas {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    min-height: 18rem;
}

.block-editor-empty-state {
    align-items: center;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    justify-content: center;
    min-height: 16rem;
    text-align: center;
}

.block-editor-empty-state strong {
    color: var(--off-black);
    font-size: 1.05rem;
}

.block-canvas-block {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 22px;
    box-shadow: none;
    padding: 1rem 1rem 1.2rem;
    position: relative;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.block-canvas-block:hover {
    border-color: rgba(203, 44, 48, 0.24);
    box-shadow: 0 0 0 4px rgba(203, 44, 48, 0.04);
}

.block-canvas-block.is-selected {
    border-color: var(--crest-red);
    box-shadow: 0 0 0 4px rgba(203, 44, 48, 0.08);
}

.block-canvas-block__chrome {
    align-items: start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.block-canvas-block__identity {
    display: grid;
    gap: 0.12rem;
    min-width: 0;
}

.block-canvas-block__identity small {
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.block-canvas-block__badge {
    color: var(--crest-red);
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.block-canvas-block__actions {
    display: inline-flex;
    gap: 0.38rem;
    opacity: 0;
    transition: opacity 0.18s ease;
}

.block-canvas-block:hover .block-canvas-block__actions,
.block-canvas-block.is-selected .block-canvas-block__actions {
    opacity: 1;
}

.block-canvas-block__action {
    align-items: center;
    background: #f6f8fa;
    border: 1px solid #d9dee5;
    border-radius: 10px;
    color: var(--off-black);
    display: inline-flex;
    height: 2.2rem;
    justify-content: center;
    padding: 0;
    width: 2.2rem;
}

.block-canvas-block__action svg {
    fill: none;
    height: 1rem;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 1rem;
}

.block-canvas-block__action:hover:not(:disabled) {
    background: #ffffff;
    border-color: #c3cad1;
}

.block-canvas-block__action:disabled {
    cursor: default;
    opacity: 0.4;
}

.block-canvas-block__action--danger:hover:not(:disabled) {
    background: #fff2f2;
    border-color: #e5b1b1;
    color: #b42318;
}

.block-canvas-block__body {
    display: grid;
    gap: 0.9rem;
}

.block-canvas-block__preview {
    display: grid;
    gap: 0.95rem;
}

.block-canvas-block__preview h2,
.block-canvas-block__preview h3,
.block-canvas-block__preview p,
.block-canvas-block__preview blockquote {
    margin-top: 0;
}

.block-canvas-block__preview h2 {
    font-size: clamp(1.5rem, 2vw, 2.15rem);
    line-height: 1.04;
}

.block-canvas-block__preview h3 {
    font-size: 1.08rem;
    line-height: 1.2;
}

.block-canvas-block__preview p {
    color: var(--off-black);
}

.block-canvas-block__preview > section,
.block-canvas-block__preview > div,
.block-canvas-block__preview > blockquote {
    width: 100%;
}

.block-canvas-block__preview .feature-grid,
.block-canvas-block__preview .hero-panel__actions {
    margin-top: 0.4rem;
}

.block-canvas-block__preview .button {
    width: auto;
}

.block-canvas-input,
.block-canvas-select {
    background: transparent;
    border: 0;
    color: var(--off-black);
    width: 100%;
}

.block-canvas-input:focus,
.block-canvas-select:focus {
    outline: none;
}

.block-canvas-input--eyebrow {
    color: var(--crest-red);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    padding: 0;
    text-transform: uppercase;
}

.block-canvas-input--headline,
.block-canvas-input--heading {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.5rem, 2vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    padding: 0;
}

.block-canvas-input--body,
.block-canvas-input--paragraph,
.block-canvas-input--quote,
.block-canvas-input--card-body,
.block-canvas-input--attribution,
.block-canvas-input--divider-label,
.block-canvas-card-editor .block-canvas-input,
.block-canvas-inline-pair .block-canvas-input {
    background: #f8f9fb;
    border: 1px solid #e0e5eb;
    border-radius: 14px;
    min-height: 3rem;
    padding: 0.85rem 1rem;
}

.block-canvas-input--paragraph,
.block-canvas-input--body,
.block-canvas-input--quote,
.block-canvas-input--card-body {
    line-height: 1.7;
    overflow: hidden;
    resize: none;
}

.block-canvas-input--quote {
    font-size: 1.1rem;
    font-style: italic;
}

.block-canvas-input--card-title {
    background: transparent;
    border-bottom: 1px solid #e0e5eb;
    font-size: 1.02rem;
    font-weight: 700;
    padding: 0 0 0.6rem;
}

.block-canvas-meta-row {
    display: flex;
    justify-content: flex-end;
}

.block-canvas-select {
    background: #f8f9fb;
    border: 1px solid #e0e5eb;
    border-radius: 12px;
    max-width: 8rem;
    min-height: 2.6rem;
    padding: 0.5rem 0.8rem;
}

.block-canvas-card-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.block-canvas-card-editor {
    background: #ffffff;
    border: 1px solid #e0e5eb;
    border-radius: 16px;
    display: grid;
    gap: 0.8rem;
    padding: 1rem;
}

.block-canvas-callout {
    margin: 0;
}

.block-canvas-inline-pair {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0.85rem;
}

.block-canvas-quote {
    background: #fff7f7;
    border-left: 5px solid var(--crest-red);
    border-radius: 16px;
    margin: 0;
    padding: 1rem;
}

.block-canvas-buttons {
    display: grid;
    gap: 0.85rem;
}

.block-canvas-button-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.block-canvas-button-preview .button {
    cursor: default;
    pointer-events: none;
    width: auto;
}

.block-canvas-divider {
    display: grid;
    gap: 0.8rem;
}

.block-canvas-divider__line {
    background: #dddddd;
    height: 2px;
    width: 100%;
}

.block-editor-screen .site-flash {
    left: 50%;
    position: fixed;
    top: 1rem;
    transform: translateX(-50%);
    z-index: 100;
}

.block-editor-screen .site-flash__item {
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.18);
}

@media (max-width: 1180px) {
    .block-editor-shell {
        grid-template-columns: 20rem minmax(0, 1fr);
    }

    .block-editor-stage__hero,
    .block-editor-stage__section {
        width: min(calc(100% - 2rem), var(--content-width));
    }

    .block-canvas-card-grid,
    .block-canvas-inline-pair,
    .block-editor-field-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 960px) {
    .block-editor-screen {
        overflow: auto;
    }

    .block-editor-shell {
        grid-template-columns: 1fr;
    }

    .block-editor-sidebar,
    .block-editor-main {
        overflow: visible;
    }

    .block-editor-sidebar {
        min-height: auto;
        position: static;
    }

    .block-editor-main {
        padding: 1rem;
    }

    .block-editor-stage {
        border-radius: 18px;
        min-height: auto;
    }

    .block-editor-stage__hero,
    .block-editor-stage__section {
        width: min(calc(100% - 1.5rem), var(--content-width));
    }
}

@media (max-width: 640px) {
    .block-editor-sidebar,
    .block-editor-main {
        padding: 0.85rem;
    }

    .block-editor-stage {
        border-radius: 14px;
        padding-top: 0.3rem;
    }

    .block-canvas-block {
        border-radius: 14px;
        padding: 0.85rem;
    }

    .block-canvas-block__chrome {
        align-items: start;
        flex-direction: column;
    }

    .block-canvas-block__actions {
        width: 100%;
    }

    .block-canvas-block__action {
        flex: 1 1 auto;
        width: auto;
    }
}

.bb-site-section {
    width: 100%;
}

.bb-site-section__frame {
    width: min(calc(100% - 2rem), 1380px);
    margin: 0 auto;
}

.bb-site-section__frame--content {
    max-width: 980px;
}

.bb-site-section__frame--wide {
    max-width: 1280px;
}

.bb-site-section__frame--full {
    width: 100%;
    max-width: none;
}

.bb-site-section__content {
    width: 100%;
    margin: 0 auto;
}

.bb-site-section__content--content {
    max-width: 940px;
}

.bb-site-section__content--section {
    max-width: none;
}

.bb-site-section--bg-none {
    background: transparent;
}

.bb-site-section--bg-light {
    background: #f8fafc;
}

.bb-site-section--bg-dark {
    background: #111827;
    color: #ffffff;
}

.bb-site-section--bg-accent {
    background: linear-gradient(135deg, #cb2c30 0%, #8f1e22 100%);
    color: #ffffff;
}

.bb-site-section--padding-none .bb-site-section__content {
    padding: 0;
}

.bb-site-section--padding-small .bb-site-section__content {
    padding: 1.2rem 0;
}

.bb-site-section--padding-medium .bb-site-section__content {
    padding: 2rem 0;
}

.bb-site-section--padding-large .bb-site-section__content {
    padding: 3rem 0;
}

.bb-site-section--padding-xlarge .bb-site-section__content {
    padding: 4.25rem 0;
}

.bb-site-section--min-short .bb-site-section__content {
    min-height: 12rem;
}

.bb-site-section--min-medium .bb-site-section__content {
    min-height: 18rem;
}

.bb-site-section--min-tall .bb-site-section__content {
    min-height: 24rem;
}

.bb-site-section__content--layout-stack {
    display: grid;
    gap: 1rem;
}

.bb-site-section__content--layout-two-column {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bb-site-section__content--layout-feature-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bb-site-section__content--spacing-tight {
    gap: 0.7rem;
}

.bb-site-section__content--spacing-standard {
    gap: 1rem;
}

.bb-site-section__content--spacing-relaxed {
    gap: 1.6rem;
}

.bb-site-block + .bb-site-block {
    margin-top: 0;
}

.bb-site-block--heading {
    margin: 0;
    line-height: 1.06;
    letter-spacing: -0.03em;
}

.bb-site-block--paragraph p,
.bb-site-block--section-copy p,
.bb-site-block--quote p,
.bb-site-card p {
    margin: 0 0 1rem;
}

.bb-site-block--paragraph p:last-child,
.bb-site-block--section-copy p:last-child,
.bb-site-block--quote p:last-child,
.bb-site-card p:last-child {
    margin-bottom: 0;
}

.bb-site-eyebrow {
    display: inline-block;
    color: var(--crest-red);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.bb-site-section--bg-dark .bb-site-eyebrow,
.bb-site-section--bg-accent .bb-site-eyebrow {
    color: rgba(255, 255, 255, 0.82);
}

.bb-site-block--section-copy h2,
.bb-site-block--feature-cards h2,
.bb-site-block--callout h2 {
    margin: 0.35rem 0 0.85rem;
    line-height: 1.08;
}

.bb-site-card-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bb-site-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1rem;
    color: var(--off-black);
}

.bb-site-section--bg-dark .bb-site-card,
.bb-site-section--bg-accent .bb-site-card {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.bb-site-block--callout {
    display: grid;
    gap: 1rem;
}

.bb-site-block--front-page-slider {
    width: 100%;
    margin: 0;
}

.bb-site-block--by-the-numbers {
    width: 100%;
    margin: 0;
    background: var(--bb-numbers-bg, var(--crest-red));
    color: var(--bb-numbers-text, #ffffff);
}

.bb-site-numbers {
    width: min(calc(100% - 2rem), 1380px);
    margin: 0 auto;
    padding: clamp(1.05rem, 1.6vw, 1.55rem) 0;
    text-align: center;
}

.bb-site-numbers__headline {
    margin: 0 0 0.65rem;
    color: inherit;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.1rem, 1.45vw, 1.45rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
    text-align: center;
}

.bb-site-numbers__grid {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(0.45rem, 0.8vw, 0.7rem);
    justify-content: center;
}

.bb-site-numbers__item {
    display: grid;
    flex: 0 1 10.35rem;
    max-width: 10.35rem;
    justify-items: center;
    align-content: start;
    gap: 0.35rem;
    min-height: 5.65rem;
    padding: 0.65rem 0.65rem 0.6rem;
    text-align: center;
}

.bb-site-numbers__value {
    color: inherit;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.4rem, 2vw, 2.05rem);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 0.95;
    text-align: center;
    text-transform: none;
}

.bb-site-numbers__description {
    margin: 0;
    color: var(--bb-numbers-muted, rgba(255, 255, 255, 0.82));
    font-size: 0.72rem;
    line-height: 1.28;
    max-width: 11rem;
    text-align: center;
}

.bb-site-numbers__description--mobile {
    display: none;
}

.bb-site-block--numbers-font-m54 .bb-site-numbers__headline,
.bb-site-block--numbers-font-m54 .bb-site-numbers__value {
    font-family: "Superstar M54", "Montserrat", sans-serif;
    font-weight: 400;
    letter-spacing: 0.04em;
}

.bb-site-block--numbers-font-m54 .bb-site-numbers__headline {
    font-size: clamp(1.2rem, 1.65vw, 1.7rem);
}

.bb-site-block--numbers-font-m54 .bb-site-numbers__value {
    font-size: clamp(1.55rem, 2.2vw, 2.25rem);
    line-height: 0.92;
}

.bb-featured-news {
    overflow: hidden;
}

.bb-featured-news__row {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.bb-featured-news__item {
    display: grid;
    grid-template-rows: auto 1fr;
    min-width: 0;
    background: #ffffff;
    border: 1px solid rgba(26, 26, 26, 0.16);
}

.bb-featured-news__media {
    display: block;
    aspect-ratio: 16 / 9;
    background: #f3f0ea;
    overflow: hidden;
}

.bb-featured-news__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bb-featured-news__copy {
    display: grid;
    align-content: start;
    gap: 0.35rem;
    padding: 0.65rem;
}

.bb-featured-news__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    color: var(--muted, #666);
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    line-height: 1;
    text-transform: uppercase;
}

.bb-featured-news h3 {
    margin: 0;
    color: var(--off-black, #1a1a1a);
    font-family: "Montserrat", sans-serif;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.12;
    font-size: 0.92rem;
}

.bb-featured-news h3 a {
    color: inherit;
    text-decoration: none;
}

.bb-featured-news h3 a:hover,
.bb-featured-news h3 a:focus-visible {
    color: var(--crest-red, #cb2c30);
}

.bb-featured-news p {
    margin: 0;
    color: var(--muted, #666);
    font-size: 0.74rem;
    line-height: 1.32;
}

.bb-spirit-wear {
    display: grid;
    grid-template-columns: minmax(17rem, 0.82fr) minmax(0, 1.65fr);
    align-items: stretch;
    background: var(--cream, #faf6f0);
    border: 2px solid var(--off-black, #1a1a1a);
    box-shadow: 8px 8px 0 var(--off-black, #1a1a1a);
    color: var(--off-black, #1a1a1a);
    overflow: hidden;
}

.bb-spirit-wear__panel {
    display: grid;
    align-content: center;
    gap: 0.75rem;
    min-height: 18rem;
    padding: clamp(1.35rem, 2.6vw, 2.25rem);
    background: var(--off-black, #1a1a1a);
    color: #ffffff;
}

.bb-spirit-wear__eyebrow {
    color: var(--crest-red, #cb2c30);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    line-height: 1;
    text-transform: uppercase;
}

.bb-spirit-wear h2 {
    margin: 0;
    color: #ffffff;
    font-family: "Superstar M54", "Montserrat", sans-serif;
    font-size: clamp(2.2rem, 4.5vw, 4.7rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 0.92;
    text-transform: uppercase;
}

.bb-spirit-wear__body {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.45;
    max-width: 28rem;
}

.bb-spirit-wear__body p {
    margin: 0;
}

.bb-spirit-wear__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 2.85rem;
    margin-top: 0.25rem;
    padding: 0.78rem 1rem;
    background: var(--crest-red, #cb2c30);
    border: 2px solid #ffffff;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.bb-spirit-wear__button:hover,
.bb-spirit-wear__button:focus-visible {
    background: #ffffff;
    color: var(--off-black, #1a1a1a);
}

.bb-spirit-wear__products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    align-content: stretch;
    padding: clamp(1rem, 2vw, 1.5rem);
}

.bb-spirit-wear-card {
    display: grid;
    grid-template-rows: minmax(8.5rem, 1fr) auto;
    min-width: 0;
    background: #ffffff;
    border: 1px solid rgba(26, 26, 26, 0.24);
}

.bb-spirit-wear-card__media {
    display: grid;
    place-items: center;
    min-height: 8.5rem;
    background: #f3f0ea;
    color: var(--crest-red, #cb2c30);
    overflow: hidden;
    text-decoration: none;
}

.bb-spirit-wear-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bb-spirit-wear-card__placeholder {
    display: grid;
    place-items: center;
    width: 4.25rem;
    height: 4.25rem;
    border-radius: 999px;
    background: var(--crest-red, #cb2c30);
    color: #ffffff;
    font-family: "Superstar M54", "Montserrat", sans-serif;
    font-size: 1.7rem;
    line-height: 1;
}

.bb-spirit-wear-card__copy {
    display: grid;
    gap: 0.35rem;
    padding: 0.75rem;
}

.bb-spirit-wear-card h3 {
    margin: 0;
    color: var(--off-black, #1a1a1a);
    font-family: "Montserrat", sans-serif;
    font-size: 0.86rem;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.15;
}

.bb-spirit-wear-card h3 a {
    color: inherit;
    text-decoration: none;
}

.bb-spirit-wear-card h3 a:hover,
.bb-spirit-wear-card h3 a:focus-visible {
    color: var(--crest-red, #cb2c30);
}

.bb-spirit-wear-card__price {
    color: var(--muted, #666);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    line-height: 1;
    text-transform: uppercase;
}

.bb-spirit-wear__empty {
    grid-column: 1 / -1;
    align-self: center;
    margin: 0;
    padding: 1rem;
    border: 1px dashed rgba(26, 26, 26, 0.28);
    color: var(--muted, #666);
    font-weight: 800;
}

.bb-parent-hub {
    display: grid;
    background: var(--cream, #faf6f0);
    border: 2px solid var(--off-black, #1a1a1a);
    box-shadow: 8px 8px 0 var(--off-black, #1a1a1a);
    color: var(--off-black, #1a1a1a);
    overflow: hidden;
}

.bb-parent-hub__cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    padding: clamp(1rem, 2vw, 1.5rem);
}

.bb-parent-hub-card {
    display: grid;
    align-content: start;
    gap: 0.62rem;
    min-width: 0;
    background: #ffffff;
    border: 1px solid rgba(26, 26, 26, 0.24);
    padding: 0.9rem;
}

.bb-parent-hub-card header {
    display: grid;
    grid-template-columns: 2.2rem minmax(0, 1fr);
    align-items: center;
    gap: 0.6rem;
    min-width: 0;
}

.bb-parent-hub-card__icon {
    display: grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    background: var(--off-black, #1a1a1a);
    color: #ffffff;
}

.bb-parent-hub-card__icon svg,
.bb-parent-hub-links svg {
    display: block;
    width: 1.08rem;
    height: 1.08rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.bb-parent-hub-card h3 {
    margin: 0;
    color: var(--off-black, #1a1a1a);
    font-family: "Montserrat", sans-serif;
    font-size: 0.88rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    line-height: 1.08;
    text-transform: uppercase;
}

.bb-parent-hub-card time {
    color: var(--crest-red, #cb2c30);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    line-height: 1;
    text-transform: uppercase;
}

.bb-parent-hub-card strong {
    color: var(--off-black, #1a1a1a);
    font-size: 0.96rem;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.18;
}

.bb-parent-hub-card strong a {
    color: inherit;
    text-decoration: none;
}

.bb-parent-hub-card strong a:hover,
.bb-parent-hub-card strong a:focus-visible {
    color: var(--crest-red, #cb2c30);
}

.bb-parent-hub-card p,
.bb-parent-hub-card__empty {
    margin: 0;
    color: var(--muted, #666);
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.35;
}

.bb-parent-hub-card__action {
    color: var(--crest-red, #cb2c30);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.bb-parent-hub-card__action:hover,
.bb-parent-hub-card__action:focus-visible {
    color: var(--off-black, #1a1a1a);
}

.bb-parent-hub-events,
.bb-parent-hub-news {
    display: grid;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bb-parent-hub-events li,
.bb-parent-hub-news li {
    display: grid;
    gap: 0.28rem;
    padding: 0.52rem 0;
    border-top: 1px solid rgba(26, 26, 26, 0.13);
}

.bb-parent-hub-events li {
    grid-template-columns: 4.1rem minmax(0, 1fr);
    gap: 0.65rem;
}

.bb-parent-hub-events li:first-child,
.bb-parent-hub-news li:first-child {
    border-top: 0;
    padding-top: 0;
}

.bb-parent-hub-events__date {
    color: var(--crest-red, #cb2c30);
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1.1;
    text-transform: uppercase;
}

.bb-parent-hub-events__body {
    display: grid;
    gap: 0.18rem;
    min-width: 0;
}

.bb-parent-hub-events__body strong,
.bb-parent-hub-news strong {
    font-size: 0.8rem;
    line-height: 1.15;
}

.bb-parent-hub-events__body em {
    color: var(--muted, #666);
    font-size: 0.66rem;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
}

.bb-parent-hub-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.bb-parent-hub-links a {
    display: grid;
    grid-template-columns: 1.9rem minmax(0, 1fr);
    align-items: center;
    gap: 0.5rem;
    min-height: 2.35rem;
    padding: 0.42rem 0.55rem;
    background: #f7f3ed;
    border: 1px solid rgba(26, 26, 26, 0.16);
    color: var(--off-black, #1a1a1a);
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1.05;
    text-decoration: none;
    text-transform: uppercase;
}

.bb-parent-hub-links a span {
    display: grid;
    place-items: center;
    width: 1.9rem;
    height: 1.9rem;
    color: var(--crest-red, #cb2c30);
}

.bb-parent-hub-links a:hover,
.bb-parent-hub-links a:focus-visible {
    border-color: var(--off-black, #1a1a1a);
}

.bb-slider {
    position: relative;
    width: 100%;
    background: #0f0f10;
    overflow: clip;
}

.bb-slider__viewport {
    position: relative;
    width: 100%;
    min-height: clamp(22rem, 62vw, 44rem);
}

.bb-slider__slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.55s ease;
}

.bb-slider__slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.bb-slider__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bb-slider__control,
.bb-slider__pause,
.bb-slider__dot {
    appearance: none;
    border: 0;
}

.bb-slider__control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 999px;
    background: rgba(10, 10, 10, 0.45);
    color: #ffffff;
    backdrop-filter: blur(8px);
    transition: background 0.2s ease, transform 0.2s ease;
}

.bb-slider__control:hover,
.bb-slider__control:focus-visible,
.bb-slider__pause:hover,
.bb-slider__pause:focus-visible,
.bb-slider__dot:hover,
.bb-slider__dot:focus-visible {
    outline: none;
    background: rgba(10, 10, 10, 0.68);
}

.bb-slider__control span {
    font-size: 2rem;
    line-height: 1;
}

.bb-slider__control--prev {
    left: 1rem;
}

.bb-slider__control--next {
    right: 1rem;
}

.bb-slider__chrome {
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.bb-slider__pause {
    min-height: 2.35rem;
    padding: 0 0.9rem;
    border-radius: 999px;
    background: rgba(10, 10, 10, 0.55);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bb-slider__pause[aria-pressed="true"] {
    background: rgba(203, 44, 48, 0.92);
}

.bb-slider__dots {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-left: auto;
}

.bb-slider__dot {
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
    transition: transform 0.2s ease, background 0.2s ease;
}

.bb-slider__dot.is-active,
.bb-slider__dot[aria-current="true"] {
    background: #ffffff;
    transform: scale(1.08);
}

.bb-slider-feature {
    position: absolute;
    top: clamp(1.5rem, 4vw, 2.7rem);
    right: clamp(1rem, 6vw, 7rem);
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 9.25rem;
    align-items: center;
    width: min(32.5rem, calc(100% - 8rem));
    min-height: 12.25rem;
    padding: 1.35rem 1.25rem 1rem 2.35rem;
    overflow: hidden;
    color: var(--off-black, #1a1a1a);
    text-decoration: none;
    background: rgba(250, 246, 240, 0.96);
    border: 3px solid var(--off-black, #1a1a1a);
    border-radius: 8px;
    box-shadow: 0.55rem 0.55rem 1.2rem rgba(0, 0, 0, 0.38);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.bb-slider-feature::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 0.72rem;
    background: var(--crest-red, #cb2c30);
}

.bb-slider-feature:hover,
.bb-slider-feature:focus-visible {
    color: var(--off-black, #1a1a1a);
    outline: none;
    transform: translateY(-1px);
    box-shadow: 0.65rem 0.65rem 1.35rem rgba(0, 0, 0, 0.42);
}

.bb-slider-feature__copy {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.45rem;
    min-width: 0;
}

.bb-slider-feature__eyebrow,
.bb-slider-feature__url,
.bb-slider-feature__badge {
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.bb-slider-feature__eyebrow {
    color: var(--crest-red, #cb2c30);
    font-size: 0.9rem;
    line-height: 1.1;
}

.bb-slider-feature__title {
    display: grid;
    gap: 0.03em;
    font-family: "Superstar M54", "Montserrat", sans-serif;
    font-size: clamp(2.25rem, 3vw, 2.95rem);
    line-height: 0.92;
    text-transform: uppercase;
}

.bb-slider-feature__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 2.25rem;
    padding: 0.2rem 1rem;
    color: #ffffff;
    background: var(--off-black, #1a1a1a);
    border: 2px solid var(--off-black, #1a1a1a);
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.bb-slider-feature__url {
    color: #525252;
    font-size: 0.84rem;
    line-height: 1.1;
    text-transform: none;
}

.bb-slider-feature__media {
    position: relative;
    display: grid;
    place-items: center;
    width: 9.25rem;
    height: 9.25rem;
    margin-left: auto;
    overflow: hidden;
    background: #ffe8cd;
    border: 4px solid var(--crest-red, #cb2c30);
    border-radius: 999px;
}

.bb-slider-feature__media::after {
    content: "";
    position: absolute;
    inset: 0 0 0 50%;
    background: rgba(255, 205, 180, 0.42);
}

.bb-slider-feature__media img {
    position: relative;
    z-index: 1;
    display: block;
    width: 88%;
    height: 88%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.bb-slider-feature__badge {
    position: absolute;
    top: 0.72rem;
    right: 0.78rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 1.7rem;
    padding: 0.15rem 0.78rem;
    color: var(--off-black, #1a1a1a);
    background: var(--light-steam, #ff9865);
    border-radius: 999px;
    font-size: 0.83rem;
    line-height: 1;
}

.bb-site-block--quote {
    border-left: 4px solid var(--crest-red);
    padding-left: 1rem;
    margin: 0;
}

.bb-site-section--bg-dark .bb-site-block--quote,
.bb-site-section--bg-accent .bb-site-block--quote {
    border-left-color: rgba(255, 255, 255, 0.78);
}

.bb-site-button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.bb-site-block--divider {
    display: grid;
    gap: 0.55rem;
}

.bb-site-block--divider::before {
    content: "";
    height: 1px;
    background: #d8dee7;
    width: 100%;
}

.bb-site-block--divider-labeled span {
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

@media (max-width: 1240px) {
    .bb-site-numbers__item {
        flex-basis: 9.8rem;
        max-width: 9.8rem;
    }

    .bb-parent-hub__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .bb-site-section__content--layout-two-column,
    .bb-site-section__content--layout-feature-grid,
    .bb-site-card-grid {
        grid-template-columns: 1fr;
    }

    .bb-site-section__frame {
        width: min(calc(100% - 1.25rem), 1380px);
    }

    .bb-site-section__frame--full {
        width: 100%;
    }

    .bb-site-numbers {
        width: min(calc(100% - 1.25rem), 1380px);
        padding: 1rem 0;
    }

    .bb-site-numbers__item {
        flex-basis: 9.15rem;
        max-width: 9.15rem;
        min-height: 0;
    }

    .bb-slider__viewport {
        min-height: clamp(16rem, 76vw, 26rem);
    }

    .bb-slider__control {
        width: 2.6rem;
        height: 2.6rem;
    }

    .bb-slider__control--prev {
        left: 0.7rem;
    }

    .bb-slider__control--next {
        right: 0.7rem;
    }

    .bb-slider__chrome {
        left: 0.8rem;
        right: 0.8rem;
        bottom: 0.8rem;
        gap: 0.7rem;
    }

    .bb-slider-feature {
        top: 0.8rem;
        right: 0.8rem;
        left: 0.8rem;
        grid-template-columns: minmax(0, 1fr) 4.7rem;
        width: auto;
        min-height: 0;
        padding: 0.78rem 0.78rem 0.78rem 1.15rem;
        border-width: 2px;
        box-shadow: 0.35rem 0.35rem 0.9rem rgba(0, 0, 0, 0.32);
    }

    .bb-slider-feature::before {
        width: 0.4rem;
    }

    .bb-slider-feature__copy {
        gap: 0.28rem;
    }

    .bb-slider-feature__eyebrow {
        font-size: 0.7rem;
    }

    .bb-slider-feature__title {
        display: flex;
        flex-wrap: wrap;
        gap: 0 0.35rem;
        font-size: clamp(1.42rem, 6.8vw, 2rem);
        line-height: 0.95;
    }

    .bb-slider-feature__button {
        min-height: 1.85rem;
        padding: 0.2rem 0.7rem;
        font-size: 0.78rem;
    }

    .bb-slider-feature__url {
        display: none;
    }

    .bb-slider-feature__media {
        width: 4.7rem;
        height: 4.7rem;
        border-width: 2px;
    }

    .bb-slider-feature__badge {
        top: 0.42rem;
        right: 0.48rem;
        min-height: 1.35rem;
        padding: 0.12rem 0.52rem;
        font-size: 0.66rem;
    }

    .bb-featured-news__row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .bb-slider-feature {
        grid-template-columns: minmax(0, 1fr) 3.8rem;
        padding-right: 0.65rem;
    }

    .bb-slider-feature__media {
        width: 3.8rem;
        height: 3.8rem;
    }

    .bb-slider-feature__badge {
        display: none;
    }
}

@media (max-width: 640px) {
    .bb-site-block--by-the-numbers {
        overflow: hidden;
    }

    .bb-site-numbers {
        width: 100%;
        padding: 0.72rem 0 0.78rem;
    }

    .bb-site-numbers__headline {
        width: min(calc(100% - 2rem), 1380px);
        margin: 0 auto 0.4rem;
        padding: 0 0.05rem;
    }

    .bb-site-numbers__grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 0.55rem;
        -ms-overflow-style: none;
        justify-content: flex-start;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        padding: 0 0.65rem 0.15rem;
        scroll-padding-inline: 0.8rem;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .bb-site-numbers__grid::-webkit-scrollbar {
        display: none;
    }

    .bb-site-numbers__item {
        align-content: start;
        background: var(--bb-numbers-rule);
        border: 1px solid var(--bb-numbers-rule);
        border-radius: 0.85rem;
        flex: 0 0 calc((100vw - 2.7rem) / 3);
        gap: 0.28rem;
        justify-items: center;
        max-width: calc((100vw - 2.7rem) / 3);
        min-height: 0;
        min-width: calc((100vw - 2.7rem) / 3);
        padding: 0.48rem 0.4rem 0.5rem;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        text-align: center;
        width: calc((100vw - 2.7rem) / 3);
    }

    .bb-site-numbers__value {
        font-size: clamp(1.1rem, 4.6vw, 1.55rem);
        line-height: 0.98;
        text-align: center;
    }

    .bb-site-numbers__description {
        font-size: 0.6rem;
        line-height: 1.15;
        max-width: none;
        text-align: center;
    }

    .bb-site-numbers__item--has-mobile-copy .bb-site-numbers__description--desktop {
        display: none;
    }

    .bb-site-numbers__item--has-mobile-copy .bb-site-numbers__description--mobile {
        display: block;
    }

    .bb-featured-news {
        margin-inline: -0.65rem;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        padding-inline: 0.65rem;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .bb-featured-news::-webkit-scrollbar {
        display: none;
    }

    .bb-featured-news__row {
        display: flex;
        gap: 0.65rem;
        width: max-content;
    }

    .bb-featured-news__item {
        flex: 0 0 15.5rem;
        width: 15.5rem;
    }

    .bb-featured-news p {
        display: none;
    }

    .bb-spirit-wear {
        grid-template-columns: minmax(0, 1fr);
        box-shadow: 5px 5px 0 var(--off-black, #1a1a1a);
    }

    .bb-spirit-wear__panel {
        min-height: 0;
        padding: 1.15rem;
    }

    .bb-spirit-wear h2 {
        font-size: clamp(2.05rem, 12vw, 3.25rem);
    }

    .bb-spirit-wear__body {
        font-size: 0.82rem;
    }

    .bb-spirit-wear__products {
        display: flex;
        gap: 0.65rem;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        padding: 0.85rem;
        scroll-padding-inline: 0.85rem;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .bb-spirit-wear__products::-webkit-scrollbar {
        display: none;
    }

    .bb-spirit-wear-card {
        flex: 0 0 12.5rem;
        grid-template-rows: 8.25rem auto;
        width: 12.5rem;
    }

    .bb-spirit-wear-card__media {
        min-height: 8.25rem;
    }

    .bb-parent-hub {
        box-shadow: 4px 4px 0 var(--off-black, #1a1a1a);
    }

    .bb-parent-hub__cards {
        display: flex;
        gap: 0.65rem;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        padding: 0.85rem;
        scroll-padding-inline: 0.85rem;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .bb-parent-hub__cards::-webkit-scrollbar {
        display: none;
    }

    .bb-parent-hub-card {
        flex: 0 0 min(18rem, 82vw);
        width: min(18rem, 82vw);
    }

    .bb-parent-hub-events li {
        grid-template-columns: 3.7rem minmax(0, 1fr);
    }
}

@media (max-width: 1100px) {
    .calendar-week {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .calendar-shell__toolbar {
        align-items: center;
        display: grid;
        gap: 0.75rem;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .calendar-shell__actions {
        align-items: center;
        display: contents;
    }

    .calendar-shell__title {
        min-width: 0;
    }

    .calendar-shell__title h2 {
        font-size: clamp(1.2rem, 3vw, 1.7rem);
        line-height: 1.1;
    }

    .calendar-nav {
        grid-column: 1 / -1;
        justify-content: space-between;
    }

    .calendar-month {
        overflow-x: auto;
        padding-bottom: 0.25rem;
    }

    .calendar-month__head,
    .calendar-month__grid {
        min-width: 54rem;
    }

    .calendar-week {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .inner-hero--calendar-placeholder {
        min-height: 4.25rem;
    }

    .calendar-shell {
        gap: 0.9rem;
        padding: 0.85rem;
    }

    .calendar-shell__toolbar {
        gap: 0.55rem;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .calendar-shell__title h2 {
        font-size: 1rem;
        line-height: 1.05;
    }

    .calendar-toggle {
        width: auto;
        justify-self: end;
    }

    .calendar-toggle__button {
        flex: 0 0 auto;
        font-size: 0.72rem;
        justify-content: center;
        letter-spacing: 0.04em;
        padding: 0.48rem 0.72rem;
    }

    .calendar-nav {
        width: 100%;
        justify-content: space-between;
    }

    .calendar-nav__button {
        flex: 1 1 0;
        font-size: 0.82rem;
        min-height: 2.2rem;
        padding: 0 0.65rem;
    }

    .calendar-week {
        grid-template-columns: 1fr;
    }

    .calendar-weekday {
        min-height: 0;
    }
}

/* Store foundation */
.inner-hero--store,
.inner-hero--donate,
.inner-hero--checkout {
    background: #fff;
    border-bottom: 1px solid rgba(26, 26, 26, 0.1);
    color: var(--off-black);
    padding-bottom: clamp(1rem, 2vw, 1.5rem);
    padding-top: clamp(1rem, 2vw, 1.5rem);
}

.inner-hero--store h1,
.inner-hero--donate h1,
.inner-hero--checkout h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 0.98;
    margin-bottom: 0;
}

.store-heading-row {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.store-heading-row h1 {
    flex: 0 0 auto;
}

.inner-hero--store .store-category-nav {
    justify-content: flex-end;
}

.inner-hero--store .eyebrow,
.inner-hero--donate .eyebrow,
.inner-hero--checkout .eyebrow {
    color: var(--crest-red);
}

.store-shell,
.donate-shell,
.product-detail-shell,
.account-shell {
    padding-top: clamp(2rem, 4vw, 3.5rem);
}

.store-shell {
    padding-top: clamp(1rem, 2vw, 1.5rem);
}

.site-donate-page,
.site-checkout-page,
.site-store-page,
.site-product-page,
.site-account-page {
    overflow-x: clip;
}

.account-layout {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
}

.account-card {
    background: #fff;
    border: 1px solid rgba(26, 26, 26, 0.12);
    border-radius: 0.45rem;
    box-shadow: 0 1rem 2.2rem rgba(26, 26, 26, 0.07);
    display: grid;
    gap: 0.75rem;
    padding: clamp(1.25rem, 3vw, 2rem);
}

.account-card h2 {
    color: var(--off-black);
    font-size: clamp(1.45rem, 3vw, 2.2rem);
    line-height: 1.05;
    margin: 0;
}

.account-card p {
    color: var(--muted);
    margin: 0;
}

.account-preview-note {
    background: #f7f7f7;
    border-left: 4px solid var(--crest-red);
    color: var(--off-black) !important;
    font-size: 0.92rem;
    padding: 0.85rem 1rem;
}

.account-card--quiet {
    align-content: start;
}

.account-next-list {
    color: var(--muted);
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding-left: 1.15rem;
}

.store-toolbar {
    align-items: end;
    display: flex;
    gap: 1.25rem;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.store-toolbar h2 {
    color: var(--off-black);
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1;
    margin: 0.2rem 0 0;
}

.store-category-nav {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: flex-end;
}

.store-category-nav a {
    background: #fff;
    border: 1px solid rgba(26, 26, 26, 0.16);
    border-radius: 999px;
    color: var(--off-black);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 0.55rem 0.8rem;
    text-transform: uppercase;
}

.store-category-nav a.is-active,
.store-category-nav a:hover,
.store-category-nav a:focus-visible {
    background: var(--crest-red);
    border-color: var(--crest-red);
    color: #fff;
}

.store-empty-state,
.donate-card,
.donate-story-panel,
.product-checkout-card,
.checkout-summary-card,
.checkout-payment-card {
    background: #fff;
    border: 1px solid rgba(26, 26, 26, 0.12);
    border-radius: 0.45rem;
    box-shadow: 0 1rem 2.2rem rgba(26, 26, 26, 0.07);
    padding: clamp(1.25rem, 3vw, 2rem);
}

.store-empty-state {
    max-width: 44rem;
}

.store-empty-state h2,
.donate-card h2 {
    color: var(--off-black);
    font-size: clamp(1.7rem, 3vw, 2.7rem);
    margin: 0.25rem 0 0.7rem;
}

.store-product-grid {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.store-product-card {
    background: #fff;
    border: 1px solid rgba(26, 26, 26, 0.12);
    border-radius: 0.45rem;
    box-shadow: 0 0.55rem 1.25rem rgba(26, 26, 26, 0.055);
    overflow: hidden;
}

.store-product-card__media {
    align-items: center;
    aspect-ratio: 1 / 1;
    background:
        linear-gradient(135deg, rgba(203, 44, 48, 0.1), rgba(26, 26, 26, 0.05)),
        #f7f7f7;
    display: flex;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.store-product-card__media img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.store-product-card__placeholder {
    align-items: center;
    background: var(--crest-red);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    font-family: var(--display-font, "Montserrat"), sans-serif;
    font-size: 1.35rem;
    font-weight: 900;
    height: 4rem;
    justify-content: center;
    letter-spacing: 0.04em;
    width: 4rem;
}

.store-product-card__body {
    display: grid;
    gap: 0;
    padding: 0.65rem 0.7rem 0.75rem;
}

.store-product-card h3 {
    font-size: 1rem;
    line-height: 1.15;
    margin: 0;
}

.store-product-card h3 a {
    color: var(--off-black);
}

.store-product-card__price {
    background: var(--off-black);
    border-radius: 0.3rem;
    bottom: 0.55rem;
    box-shadow: 0 0.45rem 1rem rgba(0, 0, 0, 0.24);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    line-height: 1;
    padding: 0.5rem 0.65rem;
    position: absolute;
    right: 0.55rem;
    text-transform: uppercase;
}

.product-detail {
    display: grid;
    gap: clamp(1.5rem, 4vw, 3rem);
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.product-detail__media {
    aspect-ratio: 1 / 1;
    background: #f5f5f5;
    border: 1px solid rgba(26, 26, 26, 0.1);
    border-radius: 1.25rem;
    overflow: hidden;
}

.product-detail__media img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.product-detail__placeholder {
    align-items: center;
    background: linear-gradient(135deg, var(--crest-red), var(--off-black));
    color: #fff;
    display: flex;
    font-family: var(--display-font, "Montserrat"), sans-serif;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    height: 100%;
    justify-content: center;
    min-height: 100%;
    padding: 2rem;
    text-align: center;
    text-transform: uppercase;
}

.product-detail__content {
    align-self: start;
    display: grid;
    gap: 1rem;
}

.product-detail__crumbs {
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.82rem;
    font-weight: 800;
    gap: 0.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.product-detail__crumbs a {
    color: var(--crest-red);
}

.product-detail h1 {
    color: var(--off-black);
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    line-height: 0.95;
    margin: 0;
}

.product-detail__price {
    color: var(--crest-red);
    font-size: clamp(1.35rem, 3vw, 2rem);
}

.product-detail__summary {
    color: var(--muted);
    font-size: 1.08rem;
    margin: 0;
}

.product-options {
    border-top: 1px solid rgba(26, 26, 26, 0.12);
    padding-top: 1rem;
}

.product-options h2 {
    color: var(--off-black);
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    margin: 0 0 0.75rem;
    text-transform: uppercase;
}

.product-options__grid {
    display: grid;
    gap: 0.65rem;
}

.product-option-card {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(26, 26, 26, 0.14);
    border-radius: 0.85rem;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: auto 1fr auto;
    padding: 0.8rem;
}

.product-option-card input {
    accent-color: var(--crest-red);
}

.product-option-card span {
    display: grid;
    gap: 0.1rem;
}

.product-option-card small {
    color: var(--muted);
}

.product-option-card em {
    color: var(--crest-red);
    font-style: normal;
    font-weight: 900;
}

.product-checkout-card,
.checkout-payment-card {
    display: grid;
    gap: 0.7rem;
}

.product-checkout-card p,
.checkout-payment-card p {
    color: var(--muted);
    margin: 0;
}

.product-checkout-card .button[disabled],
.donate-card .button[disabled],
.donation-amount-grid button[disabled] {
    cursor: not-allowed;
    opacity: 0.72;
}

.product-detail__description {
    border-top: 1px solid rgba(26, 26, 26, 0.12);
    padding-top: 1rem;
}

.product-back-link {
    color: var(--muted);
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    margin-bottom: 0.85rem;
    text-transform: uppercase;
}

.product-back-link::before {
    content: "\2190";
    margin-right: 0.35rem;
}

.donate-layout,
.checkout-layout {
    display: grid;
    gap: clamp(1.25rem, 3vw, 2rem);
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    max-width: 100%;
    min-width: 0;
    width: 100%;
}

.donate-shell {
    max-width: 100%;
    overflow-x: hidden;
    padding-top: 1.25rem;
    padding-bottom: 2rem;
}

.donate-shell .donate-card,
.donate-shell .donate-story-panel {
    padding: clamp(1rem, 2vw, 1.45rem);
}

.donate-card,
.donate-story-panel {
    display: grid;
    gap: 1rem;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
    width: 100%;
}

.donate-story-panel {
    align-content: center;
    align-self: stretch;
    background: var(--off-black);
    color: #fff;
}

.donate-story-panel h2 {
    color: #fff;
    font-size: clamp(1.8rem, 2.75vw, 2.65rem);
    line-height: 1.02;
    margin: 0;
}

.donate-story-panel p,
.donate-card p,
.donation-product-card p {
    color: var(--muted);
    margin: 0;
}

.donate-story-panel p {
    color: rgba(255, 255, 255, 0.78);
}

.commerce-benefit-list {
    display: grid;
    gap: 0.6rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.commerce-benefit-list li {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    font-weight: 800;
    padding-top: 0.7rem;
}

.donor-fields {
    display: grid;
    gap: 0.35rem;
    grid-template-columns: 1fr;
    min-width: 0;
}

.donor-fields label,
.checkout-quantity-form label {
    display: grid;
    min-width: 0;
}

.donor-fields span,
.checkout-quantity-form label span,
.donation-form-label {
    color: var(--off-black);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.donor-fields input,
.checkout-quantity-form input,
.checkout-quantity-form select {
    border: 1px solid rgba(26, 26, 26, 0.2);
    border-radius: 0.35rem;
    color: var(--off-black);
    font: inherit;
    min-height: 2rem;
    padding: 0.32rem 0.65rem;
    width: 100%;
}

.donor-fields input::placeholder {
    color: rgba(26, 26, 26, 0.48);
}

.donation-quantity-field {
    align-items: center;
    display: inline-flex;
    gap: 0.5rem;
    justify-self: center;
}

.donation-quantity-field span {
    color: var(--off-black);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.donation-quantity-field input {
    border: 1px solid rgba(26, 26, 26, 0.2);
    border-radius: 0.35rem;
    color: var(--off-black);
    font: inherit;
    font-weight: 800;
    min-height: 2rem;
    padding: 0.28rem 0.45rem;
    text-align: center;
    width: 4rem;
}

.donation-frequency-grid {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
}

.frequency-choice {
    cursor: pointer;
    display: block;
}

.frequency-choice input {
    height: 1px;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    width: 1px;
}

.frequency-choice span {
    background: #fff;
    border: 1px solid rgba(26, 26, 26, 0.24);
    border-radius: 0.35rem;
    color: var(--off-black);
    display: block;
    font-size: 0.82rem;
    font-weight: 900;
    padding: 0.58rem 0.7rem;
    text-align: center;
}

.frequency-choice input:checked + span,
.frequency-choice:hover span {
    background: var(--off-black);
    border-color: var(--off-black);
    color: #fff;
}

.donation-amount-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75rem;
    min-width: 0;
}

.amount-choice {
    cursor: pointer;
    display: block;
    flex: 1 1 0;
    min-width: 0;
}

.amount-choice input {
    height: 1px;
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px;
}

.amount-choice span,
.donation-amount-grid button {
    background: #fff;
    border: 2px solid rgba(155, 16, 28, 0.72);
    border-radius: 0.35rem;
    color: var(--crest-red);
    display: block;
    font-size: 1.25rem;
    font-weight: 900;
    padding: 0.75rem 0.65rem;
    text-align: center;
    white-space: nowrap;
}

.amount-choice input:checked + span,
.amount-choice:hover span,
.donation-amount-grid button:hover,
.donation-amount-grid button:focus-visible {
    background: var(--crest-red);
    color: #fff;
}

.donation-product-list {
    display: grid;
    gap: 1rem;
}

.donation-product-card {
    align-content: start;
    display: grid;
    gap: 0.5rem;
    min-width: 0;
}

.donation-product-card h3 {
    color: var(--off-black);
    margin: 0;
}

.donation-checkout-form,
.checkout-quantity-form {
    align-content: start;
    display: grid;
    gap: 0.45rem;
}

.donation-checkout-form .button {
    align-self: center;
    box-sizing: content-box;
    height: 1.2rem;
    justify-self: center;
    line-height: 1;
    min-height: 0;
    padding: 0.55rem 10px;
    width: auto;
}

.cart-add-notice {
    background: #f7fff5;
    border: 1px solid rgba(30, 120, 65, 0.28);
    border-radius: 0.4rem;
    display: grid;
    gap: 0.65rem;
    justify-items: center;
    margin-top: 0.35rem;
    padding: 0.85rem;
    text-align: center;
}

.cart-add-notice strong {
    color: var(--off-black);
}

.cart-add-notice__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: center;
}

.cart-add-notice .button {
    min-height: 2.25rem;
    padding: 0.5rem 0.8rem;
    width: auto;
}

.checkout-shell {
    padding-top: clamp(2rem, 4vw, 3.5rem);
}

.checkout-summary-card {
    align-self: start;
    background: var(--off-black);
    color: #fff;
}

.checkout-back-link {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.checkout-summary-card h2 {
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 3.1rem);
    line-height: 1;
    margin: 0;
}

.checkout-summary-card p {
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
}

.checkout-payment-form,
.checkout-contact-fields {
    display: grid;
    gap: 0.85rem;
}

.checkout-contact-fields {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.checkout-contact-fields label {
    display: grid;
    gap: 0.32rem;
}

.checkout-contact-fields span {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.checkout-contact-fields input {
    border: 1px solid rgba(26, 26, 26, 0.18);
    border-radius: 0.28rem;
    font: inherit;
    min-height: 2.75rem;
    padding: 0.58rem 0.7rem;
    width: 100%;
}

.checkout-summary-list {
    display: grid;
    gap: 0;
    margin: 0;
}

.checkout-summary-list div {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    display: grid;
    gap: 0.3rem;
    grid-template-columns: minmax(7rem, 0.4fr) 1fr;
    padding: 0.75rem 0;
}

.checkout-summary-list dt {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.checkout-summary-list dd {
    color: #fff;
    font-weight: 800;
    margin: 0;
    overflow-wrap: anywhere;
}

.checkout-payment-card strong {
    color: var(--off-black);
    font-size: 1.35rem;
}

.cart-layout {
    display: grid;
    gap: clamp(1rem, 2vw, 1.5rem);
    grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
}

.cart-card {
    background: #fff;
    border: 1px solid rgba(26, 26, 26, 0.12);
    border-radius: 0.45rem;
    box-shadow: 0 1rem 2.2rem rgba(26, 26, 26, 0.07);
    display: grid;
    gap: 1rem;
    min-width: 0;
    padding: clamp(1rem, 2vw, 1.5rem);
}

.cart-card p {
    color: var(--muted);
    margin: 0;
}

.cart-card__header,
.cart-item {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.cart-card__header h2 {
    font-size: clamp(1.4rem, 2vw, 2rem);
    margin: 0;
}

.cart-item-list {
    display: grid;
    gap: 0.75rem;
}

.cart-item {
    border-top: 1px solid rgba(26, 26, 26, 0.1);
    padding-top: 0.75rem;
}

.cart-item span {
    color: var(--muted);
    display: block;
}

.cart-item__meta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: flex-end;
}

.cart-item__meta button {
    background: transparent;
    border: 0;
    color: var(--crest-red);
    font-size: 0.78rem;
    font-weight: 900;
    padding: 0;
    text-transform: uppercase;
}

.cart-checkout-form {
    display: grid;
    gap: 0.75rem;
}

.form-error {
    background: #fff2f2;
    border: 1px solid rgba(155, 16, 28, 0.32);
    border-radius: 0.35rem;
    color: var(--crest-red);
    font-weight: 800;
    padding: 0.75rem;
}

.product-editor-layout .classic-editor-shell {
    align-items: start;
    gap: 1.1rem;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
}

.product-editor-layout .classic-editor-main,
.product-editor-layout .classic-editor-sidebar {
    gap: 0.75rem;
}

.product-editor-layout .meta-box {
    gap: 0.7rem;
    padding: 0.85rem;
}

.product-editor-layout .classic-editor-sidebar {
    position: sticky;
    top: 0.85rem;
}

.product-editor-layout .meta-box--editor {
    gap: 0.65rem;
    padding: 0;
}

.product-editor-layout .meta-box--editor > * {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
}

.product-editor-layout .meta-box--editor > :first-child {
    padding-top: 0.85rem;
}

.product-editor-layout .meta-box--editor > :last-child {
    padding-bottom: 0.85rem;
}

.product-editor-layout .classic-title-input {
    font-size: 1.25rem;
    min-height: 2.55rem;
}

.product-editor-layout .classic-permalink {
    font-size: 0.76rem;
    margin-top: -0.15rem;
}

.product-editor-layout .classic-slug-row,
.product-editor-layout .product-description-field {
    margin-top: -0.15rem;
}

.product-editor-layout .classic-editor__visual {
    min-height: 14rem;
}

.product-editor-layout input,
.product-editor-layout select,
.product-editor-layout textarea {
    min-height: 2.25rem;
}

.product-editor-layout textarea {
    line-height: 1.35;
}

.product-editor-layout textarea[name="gallery_urls"] {
    min-height: 5.5rem;
}

.product-editor-layout .meta-box__header p {
    font-size: 0.8rem;
    line-height: 1.35;
    margin-top: 0.15rem;
}

.product-compact-grid {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-compact-grid--images {
    align-items: end;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr);
}

.product-settings-card[hidden] {
    display: none;
}

.product-settings-card {
    gap: 0.62rem;
}

.product-settings-card .checkbox-card {
    min-height: 1.85rem;
}

.product-editor-layout input[type="checkbox"] {
    flex: 0 0 auto;
    height: 1rem;
    min-height: 1rem;
    width: 1rem;
}

.product-category-list {
    gap: 0.15rem;
    grid-template-columns: minmax(0, 1fr);
}

.product-category-list .checkbox-card {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    display: flex;
    font-size: 0.86rem;
    gap: 0.4rem;
    justify-content: flex-start;
    min-height: 1.35rem;
    padding: 0;
}

.product-category-list .checkbox-card span {
    font-size: 0.78rem;
    line-height: 1.15;
    margin: 0;
}

.product-category-list .checkbox-card input {
    margin: 0;
}

.product-advanced-box {
    display: grid;
}

.product-advanced-box summary {
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0;
    list-style-position: inside;
    text-transform: uppercase;
}

.product-advanced-box:not([open]) {
    gap: 0;
}

.meta-box__header--row,
.switch-row {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.switch-row {
    background: #f6f7f7;
    border: 1px solid #dcdcde;
    border-radius: 0;
    cursor: pointer;
    flex: 0 0 auto;
    font-weight: 700;
    padding: 0.35rem 0.55rem;
}

.switch-row span {
    margin: 0 !important;
}

.switch-row input,
.checkbox-card input {
    accent-color: #2271b1;
}

.product-variants-panel.is-hidden {
    display: none;
}

.product-variants-table {
    min-width: 62rem;
}

.product-variants-table input {
    font-size: 0.82rem;
    min-height: 2rem;
    min-width: 0;
    width: 100%;
}

.product-variants-table th,
.product-variants-table td {
    padding: 0.45rem;
}

.product-variants-table td:nth-child(1) {
    text-align: center;
    width: 3.25rem;
}

.product-variants-table td:nth-child(2) {
    width: 12rem;
}

.product-variants-table td:nth-child(3),
.product-variants-table td:nth-child(4) {
    width: 13rem;
}

.product-variants-table td:nth-child(5) {
    width: 7rem;
}

.product-variants-table td:nth-child(6) {
    width: 8rem;
}

.product-variant-actions {
    display: flex;
    justify-content: flex-end;
}

.product-variant-list {
    display: grid;
    gap: 0.75rem;
}

.product-variant-empty {
    color: var(--admin-muted);
    font-size: 0.86rem;
    margin: 0;
}

.product-variant-card {
    background: #fff;
    border: 1px solid #dcdcde;
    display: grid;
    gap: 0.75rem;
    padding: 0.75rem;
}

.product-variant-card__top {
    align-items: end;
    display: grid;
    gap: 0.7rem;
    grid-template-columns: auto minmax(14rem, 1fr);
}

.product-variant-card__top--simple {
    grid-template-columns: minmax(16rem, 1fr) minmax(7rem, 0.35fr) minmax(8rem, 0.45fr) auto;
}

.product-variant-active {
    align-items: center;
    background: #f6f7f7;
    border: 1px solid #dcdcde;
    display: flex !important;
    gap: 0.45rem !important;
    min-height: 2.35rem;
    padding: 0 0.7rem;
}

.product-variant-active span {
    margin: 0 !important;
}

.product-variant-grid {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-variant-advanced {
    border-top: 1px solid #e5e5e5;
    padding-top: 0.45rem;
}

.product-variant-advanced summary {
    color: var(--admin-muted);
    cursor: pointer;
    font-size: 0.76rem;
    font-weight: 800;
}

.product-variant-advanced .product-variant-grid {
    margin-top: 0.65rem;
}

.product-image-preview {
    align-items: center;
    aspect-ratio: 1 / 1;
    background: #f7f7f7;
    border: 1px dashed rgba(26, 26, 26, 0.28);
    border-radius: var(--button-radius);
    color: var(--muted);
    display: grid;
    justify-items: center;
    overflow: hidden;
    margin-inline: auto;
    max-width: 12rem;
    width: min(100%, 12rem);
}

.product-image-preview img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.product-image-manager {
    display: grid;
    gap: 0.7rem;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.product-image-slot {
    background: #fff;
    border: 1px solid #dcdcde;
    display: grid;
    gap: 0.65rem;
    padding: 0.7rem;
}

.product-image-slot--primary {
    align-items: stretch;
    grid-template-columns: minmax(8rem, 12rem) minmax(0, 1fr);
}

.product-image-slot__preview {
    align-items: center;
    aspect-ratio: 1 / 1;
    background: #f7f7f7;
    border: 1px dashed rgba(26, 26, 26, 0.28);
    color: var(--admin-muted);
    display: grid;
    font-size: 0.84rem;
    justify-items: center;
    overflow: hidden;
    text-align: center;
}

.product-image-slot__preview img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.product-image-slot__fields {
    align-content: start;
    display: grid;
    gap: 0.65rem;
}

.product-gallery-slots {
    display: grid;
    gap: 0.7rem;
    grid-column: span 4;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-image-slot--gallery {
    align-content: start;
}

.product-image-slot--gallery .product-image-slot__preview {
    width: 100%;
}

.product-image-slot input[type="file"] {
    font-size: 0.82rem;
    max-width: 100%;
}

.product-image-tile {
    background: #f4f5f6;
    border: 1px dashed #b8c0c8;
    display: grid;
    aspect-ratio: 1 / 1;
    min-height: 0;
    position: relative;
}

.product-image-tile--primary {
    min-height: 0;
}

.product-image-drop {
    align-items: center;
    cursor: pointer;
    display: grid !important;
    gap: 0.45rem !important;
    justify-items: center;
    min-height: 100%;
    padding: 0.75rem;
    text-align: center;
}

.product-image-drop input[type="file"] {
    height: 1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    width: 1px;
}

.product-image-drop__preview {
    align-items: center;
    aspect-ratio: 1 / 1;
    color: var(--admin-muted);
    display: grid;
    font-size: 0.9rem;
    justify-items: center;
    max-height: 100%;
    overflow: hidden;
    width: 100%;
}

.product-image-drop__preview img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.product-image-drop strong {
    background: #fff;
    border: 1px solid #ccd3da;
    color: #111;
    font-size: 0.78rem;
    font-weight: 900;
    padding: 0.35rem 0.55rem;
    text-transform: uppercase;
}

.product-image-tile.has-image .product-image-drop strong {
    display: none;
}

.product-image-remove {
    align-items: center;
    background: #111;
    border: 0;
    color: #fff;
    cursor: pointer;
    display: none;
    font-size: 0.85rem;
    font-weight: 900;
    height: 1.55rem;
    justify-content: center;
    position: absolute;
    right: 0.45rem;
    top: 0.45rem;
    width: 1.55rem;
    z-index: 2;
}

.product-image-tile.has-image .product-image-remove {
    display: flex;
}

.product-media-picker {
    align-items: end;
    display: grid;
    gap: 0.45rem;
    grid-template-columns: minmax(0, 1fr) auto;
}

@media (max-width: 1180px) {
    .product-editor-layout .classic-editor-shell {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-editor-layout .classic-editor-sidebar {
        position: static;
    }

    .product-variant-grid,
    .product-compact-grid--images,
    .product-image-manager,
    .product-gallery-slots {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-gallery-slots {
        grid-column: auto;
    }
}

@media (max-width: 760px) {
    .product-compact-grid,
    .product-compact-grid--images,
    .product-image-manager,
    .product-image-slot--primary,
    .product-gallery-slots,
    .product-variant-card__top,
    .product-variant-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.checkbox-stack {
    display: grid;
    gap: 0.5rem;
}

.checkbox-card {
    align-items: center;
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 0.45rem;
    display: flex;
    gap: 0.55rem;
    padding: 0.65rem 0.7rem;
}

.account-nav-bar {
    align-items: center;
    background: #111;
    color: #fff;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) minmax(16rem, auto);
    margin: 0 auto;
    padding: 0.85rem max(1.25rem, calc((100vw - var(--content-width)) / 2));
}

.account-nav-bar__copy {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.8rem;
}

.account-nav-bar h1 {
    font-size: 1.05rem;
    line-height: 1.2;
    margin: 0;
}

.account-nav-bar p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.86rem;
    line-height: 1.35;
    margin: 0;
}

.account-preview-note {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.28rem 0.55rem;
    text-transform: uppercase;
}

.account-panel {
    background: #fff;
    border: 1px solid rgba(17, 17, 17, 0.12);
    border-radius: 0.5rem;
    box-shadow: 0 0.65rem 1.8rem rgba(17, 17, 17, 0.08);
}

.account-nav-bar__identity {
    align-items: center;
    display: grid;
    gap: 0.4rem 0.7rem;
    grid-template-columns: auto 1fr;
    justify-self: end;
    max-width: 34rem;
}

.account-avatar {
    align-items: center;
    aspect-ratio: 1;
    background: var(--accent);
    border-radius: 50%;
    color: #fff;
    display: grid;
    font-weight: 900;
    height: 2.8rem;
    justify-content: center;
}

.account-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.account-badges span {
    background: #f2f2f2;
    border: 1px solid rgba(17, 17, 17, 0.1);
    border-radius: 999px;
    color: #202020;
    font-size: 0.74rem;
    font-weight: 800;
    padding: 0.32rem 0.62rem;
    text-transform: uppercase;
}

.account-nav-bar__identity strong {
    font-size: 0.95rem;
    line-height: 1.1;
}

.account-nav-bar__roles {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.72rem;
    font-weight: 800;
    grid-column: 2;
    line-height: 1.35;
    text-transform: uppercase;
}

.account-shell {
    padding-top: 2rem;
}

.account-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.account-panel {
    align-content: start;
    display: grid;
    gap: 1rem;
    padding: 1.15rem;
}

.account-panel--wide {
    grid-column: 1 / -1;
}

.account-panel__header {
    display: grid;
    gap: 0.25rem;
}

.account-panel h2 {
    font-size: 1.28rem;
    margin: 0;
}

.account-lede {
    font-size: 1.02rem;
    font-weight: 800;
    margin: 0;
}

.account-muted {
    color: var(--muted);
    line-height: 1.55;
    margin: 0;
}

.account-detail-list {
    display: grid;
    gap: 0.8rem;
    margin: 0;
}

.account-detail-list div {
    border-top: 1px solid rgba(17, 17, 17, 0.1);
    display: grid;
    gap: 0.25rem;
    padding-top: 0.75rem;
}

.account-detail-list dt {
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
}

.account-detail-list dd {
    margin: 0;
}

.account-person-list {
    display: grid;
    gap: 0.55rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.account-person-list li {
    background: #f7f7f7;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 0.4rem;
    display: grid;
    gap: 0.15rem;
    padding: 0.72rem;
}

.account-person-list span {
    color: var(--muted);
    font-size: 0.88rem;
}

.account-info-strip,
.account-quick-actions {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.account-info-strip div {
    background: #f8f8f8;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 0.4rem;
    display: grid;
    gap: 0.45rem;
    padding: 0.9rem;
}

.account-info-strip strong {
    font-size: 0.98rem;
}

.account-info-strip span {
    color: var(--muted);
    line-height: 1.45;
}

.account-info-strip a,
.account-quick-actions a,
.account-quick-actions span,
.account-button {
    align-items: center;
    border: 1px solid rgba(17, 17, 17, 0.14);
    border-radius: 0.35rem;
    color: var(--ink);
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 850;
    justify-content: center;
    min-height: 2.5rem;
    padding: 0.65rem 0.8rem;
    text-decoration: none;
    text-transform: uppercase;
}

.account-info-strip a,
.account-quick-actions a {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.account-quick-actions span,
.account-button--disabled {
    background: #f4f4f4;
    color: #757575;
}

.account-action-row {
    align-items: center;
    display: flex;
}

.account-panel--community {
    background: #171717;
    color: #fff;
}

.account-panel--community p {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.65;
    margin: 0;
}

.account-portal {
    align-items: start;
    display: grid;
    gap: clamp(1.75rem, 4vw, 3.5rem);
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 21rem);
}

.account-briefing {
    min-width: 0;
}

.account-briefing__intro {
    border-bottom: 3px solid var(--ink);
    margin-bottom: 0.6rem;
    padding-bottom: 1rem;
}

.account-briefing__intro h2 {
    font-size: clamp(2rem, 4.2vw, 4.5rem);
    line-height: 0.96;
    margin: 0.25rem 0 0.5rem;
    max-width: 10ch;
}

.account-briefing__intro p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    max-width: 42rem;
}

.account-briefing-list {
    counter-reset: briefing;
    list-style: none;
    margin: 0;
    padding: 0;
}

.account-briefing-item {
    align-items: center;
    border-bottom: 1px solid rgba(17, 17, 17, 0.18);
    display: grid;
    gap: 1rem;
    grid-template-columns: 4.7rem minmax(0, 1fr) auto;
    padding: 1.25rem 0;
}

.account-briefing-item--primary {
    background: linear-gradient(90deg, rgba(203, 44, 48, 0.08), rgba(203, 44, 48, 0));
    margin-left: -0.85rem;
    padding-left: 0.85rem;
}

.account-briefing-item__marker {
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.account-briefing-item__body {
    display: grid;
    gap: 0.25rem;
}

.account-briefing-item__body span {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.account-briefing-item h3 {
    font-size: clamp(1.2rem, 2vw, 1.65rem);
    line-height: 1.08;
    margin: 0;
}

.account-briefing-item p {
    color: var(--muted);
    line-height: 1.55;
    margin: 0;
    max-width: 44rem;
}

.account-briefing-item > a,
.account-disabled-action {
    border: 1px solid rgba(17, 17, 17, 0.2);
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 900;
    min-width: 8.5rem;
    padding: 0.65rem 0.8rem;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.account-briefing-item > a {
    background: #111;
    border-color: #111;
    color: #fff;
}

.account-disabled-action {
    background: #f2f2f2;
    color: #777;
}

.account-shortcuts {
    align-items: center;
    border-bottom: 1px solid rgba(17, 17, 17, 0.18);
    border-top: 1px solid rgba(17, 17, 17, 0.18);
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 1.5rem;
}

.account-shortcuts a,
.account-shortcuts span {
    border-right: 1px solid rgba(17, 17, 17, 0.14);
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 900;
    padding: 0.8rem 1rem;
    text-decoration: none;
    text-transform: uppercase;
}

.account-shortcuts a:hover {
    background: var(--accent);
    color: #fff;
}

.account-shortcuts span {
    color: #777;
}

.account-family-rail {
    border-left: 3px solid var(--ink);
    display: grid;
    gap: 1.35rem;
    padding-left: 1.2rem;
    position: sticky;
    top: 1rem;
}

.account-rail-section {
    border-bottom: 1px solid rgba(17, 17, 17, 0.14);
    display: grid;
    gap: 0.6rem;
    padding-bottom: 1.1rem;
}

.account-rail-section h2,
.account-rail-section h3 {
    line-height: 1.08;
    margin: 0;
}

.account-rail-section h2 {
    font-size: 1.45rem;
}

.account-rail-section h3 {
    font-size: 1.06rem;
}

.account-rail-section p {
    color: var(--muted);
    line-height: 1.5;
    margin: 0;
}

.account-rail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.account-rail-tags span {
    background: #efefef;
    color: #333;
    font-size: 0.7rem;
    font-weight: 850;
    padding: 0.28rem 0.48rem;
    text-transform: uppercase;
}

.account-rail-list {
    display: grid;
    gap: 0.65rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.account-rail-list li {
    display: grid;
    gap: 0.1rem;
}

.account-rail-list strong {
    font-size: 0.95rem;
}

.account-rail-list span {
    color: var(--muted);
    font-size: 0.86rem;
}

.account-shell--social {
    background: #f6f6f4;
    padding-top: 1.5rem;
}

.account-social-layout {
    align-items: start;
    display: grid;
    gap: 1.4rem;
    grid-template-columns: minmax(0, 1fr) 20rem;
}

.member-feed,
.member-sidebar {
    min-width: 0;
}

.member-feed__head {
    align-items: end;
    border-bottom: 3px solid #111;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.9rem;
}

.member-feed__head h1 {
    font-size: clamp(2.2rem, 4.6vw, 4.8rem);
    line-height: 0.95;
    margin: 0.2rem 0 0;
}

.member-feed-tabs {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.15rem;
    justify-content: flex-end;
}

.member-feed-tabs a,
.member-feed-tabs span {
    color: #111;
    font-size: 0.76rem;
    font-weight: 900;
    padding: 0.45rem 0.55rem;
    text-decoration: none;
    text-transform: uppercase;
}

.member-feed-tabs a[aria-current="page"] {
    background: #111;
    color: #fff;
}

.member-feed-tabs span {
    color: #777;
}

.feed-composer,
.feed-post,
.member-sidebar__section {
    background: #fff;
    border: 1px solid rgba(17, 17, 17, 0.14);
}

.feed-composer {
    display: grid;
    gap: 0.9rem;
    margin-bottom: 1rem;
    padding: 1rem;
}

.feed-composer__identity,
.feed-post__meta,
.member-sidebar__profile {
    align-items: center;
    display: flex;
    gap: 0.75rem;
}

.feed-composer__identity label {
    font-size: 1rem;
    font-weight: 900;
}

.feed-avatar {
    align-items: center;
    aspect-ratio: 1;
    background: #111;
    color: #fff;
    display: inline-grid;
    flex: 0 0 auto;
    font-size: 0.82rem;
    font-weight: 950;
    height: 2.55rem;
    justify-content: center;
}

.feed-avatar--board {
    background: var(--accent);
}

.feed-avatar--staff {
    background: #245a3a;
}

.feed-composer textarea {
    background: #f7f7f7;
    border: 1px solid rgba(17, 17, 17, 0.16);
    color: #111;
    font: inherit;
    line-height: 1.45;
    min-height: 6.25rem;
    padding: 0.85rem;
    resize: vertical;
    width: 100%;
}

.feed-composer textarea:focus {
    border-color: #111;
    outline: 2px solid rgba(203, 44, 48, 0.24);
}

.feed-composer__footer {
    align-items: center;
    display: flex;
    gap: 0.8rem;
    justify-content: space-between;
}

.feed-post-types,
.feed-composer__actions,
.feed-post__actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.feed-post-types label,
.feed-composer__actions button,
.feed-post__actions button,
.feed-post__actions a {
    background: #fff;
    border: 1px solid rgba(17, 17, 17, 0.2);
    color: #111;
    cursor: pointer;
    font: inherit;
    font-size: 0.76rem;
    font-weight: 900;
    padding: 0.55rem 0.7rem;
    text-decoration: none;
    text-transform: uppercase;
}

.feed-post-types label.is-active,
.feed-post-types label:has(input:checked),
.feed-composer__actions button,
.feed-post__actions a {
    background: #111;
    border-color: #111;
    color: #fff;
}

.feed-post-types input {
    height: 1px;
    opacity: 0;
    position: absolute;
    width: 1px;
}

.feed-composer__actions span {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 800;
}

.feed-post__actions form {
    margin: 0;
}

.feed-empty {
    background: #fff;
    border: 1px solid rgba(17, 17, 17, 0.14);
    display: grid;
    gap: 0.35rem;
    padding: 1.2rem;
}

.feed-empty h2,
.feed-empty p {
    margin: 0;
}

.feed-empty p {
    color: var(--muted);
}

.feed-post {
    display: grid;
    gap: 0.85rem;
    margin-bottom: 0.8rem;
    padding: 1rem;
}

.feed-post--pinned {
    border-left: 6px solid var(--accent);
}

.feed-post__meta strong {
    display: block;
    line-height: 1.15;
}

.feed-post__meta span {
    color: var(--muted);
    display: block;
    font-size: 0.84rem;
    margin-top: 0.1rem;
}

.feed-post__body {
    display: grid;
    gap: 0.35rem;
}

.feed-post__body h2 {
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    line-height: 1.05;
    margin: 0;
}

.feed-post__body p {
    color: #333;
    font-size: 1rem;
    line-height: 1.55;
    margin: 0;
}

.feed-post__reply {
    background: #f3f3f1;
    border-left: 3px solid #111;
    display: grid;
    gap: 0.2rem;
    padding: 0.75rem 0.85rem;
}

.feed-post__reply span {
    color: #444;
}

.member-sidebar {
    display: grid;
    gap: 0.8rem;
    position: sticky;
    top: 1rem;
}

.member-sidebar__section {
    display: grid;
    gap: 0.7rem;
    padding: 0.95rem;
}

.member-sidebar__section h2,
.member-sidebar__section h3,
.member-sidebar__section h4,
.member-sidebar__section p {
    margin: 0;
}

.member-sidebar__section h2 {
    font-size: 1.12rem;
}

.member-sidebar__section h3 {
    border-bottom: 1px solid rgba(17, 17, 17, 0.14);
    font-size: 0.95rem;
    padding-bottom: 0.45rem;
    text-transform: uppercase;
}

.member-sidebar__section h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
}

.member-sidebar__section p,
.member-sidebar-list small {
    color: var(--muted);
    line-height: 1.45;
}

.member-tags,
.member-groups,
.member-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.member-tags span,
.member-groups span,
.member-quick-links a,
.member-quick-links span {
    background: #f0f0ee;
    color: #111;
    font-size: 0.72rem;
    font-weight: 850;
    padding: 0.38rem 0.5rem;
    text-decoration: none;
    text-transform: uppercase;
}

.member-quick-links a {
    background: #111;
    color: #fff;
}

.member-profile-link {
    color: #111;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.member-quick-links span {
    color: #777;
}

/* Member social restore layer */
.member-sidebar__profile {
    justify-content: center;
}

.member-sidebar__profile-main {
    align-items: center;
    display: grid;
    gap: 0.75rem;
    justify-items: center;
    text-align: center;
    width: 100%;
}

.member-sidebar__avatar-wrap {
    display: inline-grid;
    position: relative;
}

.member-sidebar__avatar {
    height: 5.25rem;
    width: 5.25rem;
}

.feed-avatar,
.social-profile__avatar,
.member-sidebar__avatar {
    border-radius: 999px;
    overflow: hidden;
}

.feed-avatar--image,
.social-profile__avatar img,
.member-sidebar__avatar {
    object-fit: cover;
}

.member-sidebar__avatar-edit,
.social-profile__edit-icon {
    align-items: center;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(17, 17, 17, 0.14);
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
    color: #444;
    cursor: pointer;
    display: inline-flex;
    height: 2rem;
    justify-content: center;
    min-height: 0;
    padding: 0;
    width: 2rem;
}

.member-sidebar__avatar-edit {
    bottom: 0;
    position: absolute;
    right: 0;
}

.member-sidebar__avatar-edit svg,
.social-profile__edit-icon svg {
    fill: none;
    height: 1rem;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 1rem;
}

.member-sidebar__profile-actions {
    align-items: center;
    display: flex;
    gap: 0.45rem;
    justify-content: center;
}

.member-sidebar__profile-actions a {
    align-items: center;
    border: 1px solid rgba(17, 17, 17, 0.12);
    border-radius: 999px;
    color: #5f6368;
    display: inline-flex;
    height: 2.75rem;
    justify-content: center;
    position: relative;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
    width: 2.75rem;
}

.member-sidebar__profile-actions a:hover,
.member-sidebar__profile-actions a:focus-visible {
    background: #f2f2f0;
    color: #111;
    outline: 0;
    transform: translateY(-2px) scale(1.05);
}

.member-sidebar__profile-actions svg,
.feed-action-button svg,
.feed-composer__tool svg {
    fill: none;
    height: 1.25rem;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
    width: 1.25rem;
}

.member-sidebar__profile-actions [data-tooltip]::after {
    background: #111;
    border-radius: 0.35rem;
    bottom: calc(100% + 0.45rem);
    color: #fff;
    content: attr(data-tooltip);
    font-size: 0.7rem;
    font-weight: 800;
    left: 50%;
    letter-spacing: 0;
    opacity: 0;
    padding: 0.3rem 0.45rem;
    pointer-events: none;
    position: absolute;
    text-transform: none;
    transform: translate(-50%, 0.2rem);
    transition: opacity 0.12s ease, transform 0.12s ease;
    white-space: nowrap;
    z-index: 5;
}

.member-sidebar__profile-actions [data-tooltip]:hover::after,
.member-sidebar__profile-actions [data-tooltip]:focus-visible::after {
    opacity: 1;
    transform: translate(-50%, 0);
}

.member-sidebar-cta {
    align-items: center;
    background: var(--crest-red);
    border: 0;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 900;
    justify-content: center;
    letter-spacing: 0.06em;
    min-height: 2.75rem;
    padding: 0.7rem 0.85rem;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    width: 100%;
}

.member-sidebar__quick-actions {
    gap: 0.45rem;
}

.member-sidebar-cta--secondary {
    background: #111;
}

.feed-composer__tools {
    align-items: center;
    display: flex;
    gap: 0.45rem;
}

.feed-composer__tool {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: #6b6f76;
    cursor: pointer;
    display: inline-flex;
    height: 2.55rem;
    justify-content: center;
    min-height: 0;
    overflow: hidden;
    padding: 0;
    position: relative;
    width: 2.55rem;
}

.feed-composer__tool--active,
.feed-composer__tool:hover {
    background: #f2f2f0;
    color: #111;
}

.feed-composer__tool input[type="file"] {
    cursor: pointer;
    inset: 0;
    opacity: 0;
    position: absolute;
}

.feed-composer__photo-preview,
.feed-post__photos {
    display: grid;
    gap: 0.35rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feed-composer__photo-preview[hidden] {
    display: none;
}

.feed-post__photos figure {
    aspect-ratio: 1.35 / 1;
    background: #f0f0ee;
    margin: 0;
    overflow: hidden;
}

.feed-post__photo-link {
    color: inherit;
    display: block;
    height: 100%;
    position: relative;
    text-decoration: none;
}

.feed-post__photos img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.feed-post__photos--count-1 {
    grid-template-columns: 1fr;
}

.account-shell--social .member-feed {
    margin-left: auto;
    margin-right: auto;
    max-width: 44rem;
    width: 100%;
}

.account-shell--social .feed-post__photos {
    margin-top: 0.15rem;
}

.account-shell--social .feed-post__photos figure {
    aspect-ratio: 4 / 3;
    max-height: 24rem;
}

.account-shell--social .feed-post__photos--count-1 figure {
    aspect-ratio: 16 / 9;
    max-height: 28rem;
}

.feed-post__photo-more {
    align-items: center;
    background: rgba(17, 17, 17, 0.64);
    color: #fff;
    display: inline-flex;
    font-size: 1.25rem;
    font-weight: 900;
    inset: 0;
    justify-content: center;
    position: absolute;
}

@media (max-width: 760px) {
    .account-shell--social .member-feed {
        max-width: none;
    }

    .account-shell--social .feed-post__photos figure,
    .account-shell--social .feed-post__photos--count-1 figure {
        max-height: 55vh;
    }
}

.feed-post__meta {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
}

.feed-post__meta > div {
    align-items: center;
    display: flex;
    gap: 0.45rem;
    min-width: 0;
}

.feed-post__timestamp {
    color: #777;
    font-size: 0.78rem;
    text-decoration: none;
}

.feed-post__timestamp:hover {
    color: #111;
    text-decoration: underline;
}

.feed-action-button {
    align-items: center;
    background: transparent !important;
    border: 0 !important;
    border-radius: 999px;
    color: #777 !important;
    display: inline-flex;
    gap: 0.28rem;
    min-height: 2rem;
    padding: 0.35rem 0.45rem !important;
    text-transform: none !important;
}

.feed-action-button:hover,
.feed-action-button:focus-visible {
    background: #f2f2f0 !important;
    color: #333 !important;
    outline: 0;
}

.feed-action-button.is-active {
    color: #b21b21 !important;
}

.feed-action-button.is-active svg {
    fill: currentColor;
}

.feed-action-button span,
.feed-action-button strong {
    color: inherit;
    font-size: 0.78rem;
    font-weight: 700;
}

.feed-post__actions {
    justify-content: flex-start;
}

.feed-post__replies {
    border-top: 1px solid rgba(17, 17, 17, 0.1);
    display: grid;
    gap: 0.75rem;
    padding-top: 0.85rem;
}

.feed-post__replies[hidden] {
    display: none;
}

.feed-reply {
    align-items: start;
    display: grid;
    gap: 0.55rem;
    grid-template-columns: auto minmax(0, 1fr);
}

.feed-reply__body {
    background: #f6f6f4;
    border-radius: 0.85rem;
    padding: 0.65rem 0.8rem;
}

.feed-reply__meta {
    align-items: center;
    display: flex;
    gap: 0.4rem;
}

.feed-reply__meta strong {
    font-size: 0.86rem;
}

.feed-reply__meta a,
.feed-reply__meta span {
    color: #777;
    font-size: 0.76rem;
    text-decoration: none;
}

.feed-reply__actions {
    align-items: center;
    display: flex;
    gap: 0.2rem;
    margin-top: 0.25rem;
}

.feed-reply-form {
    display: grid;
    gap: 0.45rem;
    grid-template-columns: minmax(0, 1fr) auto;
    position: relative;
}

.feed-reply-form textarea {
    min-height: 2.75rem;
}

.member-text-token {
    color: var(--crest-red);
    font-weight: 800;
    text-decoration: none;
}

.member-text-token:hover {
    text-decoration: underline;
}

.feed-composer {
    position: relative;
}

.mention-picker {
    background: #fff;
    border: 1px solid rgba(17, 17, 17, 0.16);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.14);
    display: grid;
    gap: 0.12rem;
    left: 1rem;
    max-height: 17rem;
    overflow: auto;
    padding: 0.3rem;
    position: absolute;
    right: 1rem;
    top: 7.7rem;
    z-index: 30;
}

.feed-reply-form .mention-picker {
    left: 0;
    right: 4.2rem;
    top: calc(100% + 0.25rem);
}

.mention-picker[hidden] {
    display: none;
}

.mention-picker__option {
    align-items: center;
    background: transparent;
    border: 0;
    color: #222;
    cursor: pointer;
    display: grid;
    gap: 0.55rem;
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 3rem;
    padding: 0.45rem 0.55rem;
    text-align: left;
    width: 100%;
}

.mention-picker__option:hover,
.mention-picker__option.is-active {
    background: #f2f2f0;
}

.mention-picker__option img,
.mention-picker__option > span {
    align-items: center;
    background: #111;
    border-radius: 999px;
    color: #fff;
    display: inline-grid;
    font-size: 0.74rem;
    font-weight: 900;
    height: 2rem;
    justify-content: center;
    overflow: hidden;
    width: 2rem;
}

.mention-picker__option img {
    object-fit: cover;
}

.mention-picker__option strong,
.mention-picker__option small {
    display: block;
    min-width: 0;
}

.mention-picker__option strong {
    font-size: 0.86rem;
    line-height: 1.15;
}

.mention-picker__option small {
    color: #777;
    font-size: 0.74rem;
    margin-top: 0.08rem;
}

.social-profile {
    background: #fff;
    border: 1px solid rgba(17, 17, 17, 0.12);
    min-width: 0;
}

.social-profile__cover-wrap {
    position: relative;
}

.social-profile__cover {
    aspect-ratio: 3.7 / 1;
    background: linear-gradient(135deg, #b21b21, #111);
    overflow: hidden;
}

.social-profile__cover img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.social-profile__identity {
    align-items: end;
    display: grid;
    gap: 1rem;
    grid-template-columns: auto minmax(0, 1fr);
    padding: 0 1.2rem 1.1rem;
}

.social-profile__avatar-wrap {
    margin-top: -3rem;
    position: relative;
}

.social-profile__avatar {
    align-items: center;
    background: #111;
    border: 4px solid #fff;
    color: #fff;
    display: grid;
    font-size: 1.65rem;
    font-weight: 950;
    height: 7.25rem;
    justify-content: center;
    width: 7.25rem;
}

.social-profile__avatar img {
    display: block;
    height: 100%;
    width: 100%;
}

.social-profile__edit-icon--cover {
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.social-profile__edit-icon--avatar {
    bottom: 0.3rem;
    position: absolute;
    right: 0.3rem;
}

.social-profile__summary {
    min-width: 0;
    padding-top: 0.75rem;
}

.social-profile__name-row h1 {
    font-size: clamp(1.75rem, 3vw, 2.65rem);
    line-height: 1;
    margin: 0;
}

.social-profile__handle,
.member-profile-meta,
.member-profile-bio {
    color: #666;
    margin: 0.35rem 0 0;
}

.social-profile__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.7rem;
}

.social-profile__facts span {
    background: #f0f0ee;
    color: #333;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.35rem 0.5rem;
}

.social-profile__tabs {
    border-bottom: 1px solid rgba(17, 17, 17, 0.12);
    border-top: 1px solid rgba(17, 17, 17, 0.12);
    display: flex;
    gap: 0;
    padding: 0 1.2rem;
}

.social-profile__tabs a {
    color: #555;
    font-size: 0.8rem;
    font-weight: 900;
    padding: 0.85rem 1rem;
    text-decoration: none;
    text-transform: uppercase;
}

.social-profile__tabs a[aria-current="page"] {
    box-shadow: inset 0 -3px 0 var(--crest-red);
    color: #111;
}

.social-profile__timeline,
.social-profile__tab-panel {
    display: grid;
    gap: 0.85rem;
    padding: 1.2rem;
}

.social-profile__timeline > h2,
.social-profile__tab-panel > h2 {
    margin: 0;
}

.profile-edit-modal::backdrop {
    background: rgba(0, 0, 0, 0.55);
}

.profile-edit-modal__panel {
    background: #fff;
    display: grid;
    gap: 1rem;
    max-width: min(92vw, 34rem);
    padding: 1rem;
}

.profile-edit-modal__header,
.profile-edit-modal__actions {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.profile-edit-modal__close,
.profile-edit-modal__secondary {
    background: transparent;
    border: 0;
    color: #555;
}

.member-image-cropper__preview {
    align-items: center;
    background: #f3f3f1;
    display: grid;
    justify-content: center;
    min-height: 10rem;
    overflow: hidden;
}

.member-image-cropper__preview--photo {
    border-radius: 999px;
    height: 12rem;
    margin: 0 auto;
    width: 12rem;
}

.member-image-cropper__preview img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.member-volunteer-panel {
    display: grid;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.member-volunteer-panel__head {
    align-items: end;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.member-volunteer-panel__head h2 {
    font-size: clamp(1.45rem, 2.8vw, 2.4rem);
    line-height: 1;
    margin: 0.12rem 0 0;
}

.member-volunteer-panel__head > span {
    background: #111;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 900;
    padding: 0.42rem 0.55rem;
    text-transform: uppercase;
}

.member-volunteer-opportunity {
    background: #fff;
    border: 1px solid rgba(17, 17, 17, 0.14);
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
}

.member-volunteer-opportunity__summary {
    align-items: start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.member-volunteer-opportunity__summary h3,
.member-volunteer-opportunity__summary p,
.member-volunteer-opportunity__description {
    margin: 0;
}

.member-volunteer-opportunity__summary h3 {
    font-size: 1.24rem;
    line-height: 1.1;
}

.member-volunteer-opportunity__summary p,
.member-volunteer-opportunity__description,
.member-volunteer-slot span,
.member-volunteer-slot small {
    color: var(--muted);
    line-height: 1.45;
}

.member-volunteer-opportunity__summary > span {
    background: #f0f0ee;
    color: #111;
    flex: 0 0 auto;
    font-size: 0.72rem;
    font-weight: 900;
    padding: 0.42rem 0.55rem;
    text-transform: uppercase;
}

.member-volunteer-slots {
    display: grid;
    gap: 0.55rem;
}

.member-volunteer-slot {
    align-items: center;
    background: #f7f7f5;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0.75rem;
}

.member-volunteer-slot strong,
.member-volunteer-slot span,
.member-volunteer-slot small {
    display: block;
}

.member-volunteer-slot form {
    margin: 0;
}

.volunteer-metric-grid {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 1rem;
}

.admin-metric-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    display: grid;
    gap: 0.22rem;
    padding: 1rem;
}

.admin-metric-card span {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-metric-card strong {
    color: #111827;
    font-size: 1.45rem;
    line-height: 1;
}

.volunteer-roster-summary {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    margin-bottom: 1rem;
}

.volunteer-roster-summary div {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    display: grid;
    gap: 0.2rem;
    padding: 1rem;
}

.volunteer-roster-summary span {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.volunteer-roster-summary strong {
    color: #111827;
    font-size: 1.3rem;
}

.volunteer-slot-form,
.volunteer-slot-card {
    margin-bottom: 1rem;
}

.volunteer-slot-list {
    display: grid;
    gap: 1rem;
}

.volunteer-inline-edit {
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.1);
    margin-bottom: 1rem;
    padding: 0.75rem;
}

.volunteer-inline-edit summary {
    cursor: pointer;
    font-weight: 800;
}

.volunteer-inline-edit form {
    margin-top: 0.8rem;
}

.volunteer-admin-add {
    align-items: end;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-top: 1rem;
}

.volunteer-admin-add label {
    display: grid;
    gap: 0.3rem;
}

.volunteer-owner-grid {
    display: grid;
    gap: 0.55rem;
}

.volunteer-owner-grid label,
.volunteer-owner-strip {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.volunteer-owner-grid label {
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.1);
    padding: 0.65rem;
}

.volunteer-owner-strip {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
}

.volunteer-owner-strip span,
.volunteer-owner-strip strong {
    font-size: 0.78rem;
    text-transform: uppercase;
}

.volunteer-owner-strip span {
    color: #64748b;
    font-weight: 800;
}

.volunteer-owner-strip strong {
    background: #f1f5f9;
    color: #111827;
    padding: 0.35rem 0.5rem;
}

.volunteer-delete-confirm {
    border-top: 1px solid rgba(15, 23, 42, 0.12);
    display: grid;
    gap: 0.55rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
}

.volunteer-delete-confirm input {
    border-color: rgba(153, 27, 27, 0.28);
}

.volunteer-delete-confirm button {
    justify-self: start;
}

.volunteer-participation-form {
    align-items: center;
    display: grid;
    gap: 0.35rem;
    grid-template-columns: minmax(7rem, 0.75fr) minmax(8rem, 1fr) auto;
}

.account-volunteer-manager {
    display: grid;
    gap: 1rem;
}

.member-volunteer-manager-grid {
    align-items: start;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) 20rem;
}

.member-volunteer-manager-main {
    display: grid;
    gap: 1rem;
    min-width: 0;
}

.member-volunteer-owner-card {
    background: #fff;
    border: 1px solid rgba(17, 17, 17, 0.14);
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
}

.member-volunteer-owner-card label {
    display: grid;
    gap: 0.35rem;
}

.member-volunteer-owner-card label span {
    color: #333;
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.member-volunteer-owner-card input,
.member-volunteer-owner-card select,
.member-volunteer-owner-card textarea,
.owner-roster-row input,
.owner-roster-row select {
    background: #f7f7f7;
    border: 1px solid rgba(17, 17, 17, 0.16);
    color: #111;
    font: inherit;
    padding: 0.62rem;
    width: 100%;
}

.owner-roster-list {
    display: grid;
    gap: 0.65rem;
}

.owner-roster-list p {
    color: var(--muted);
    margin: 0;
}

.owner-roster-row {
    align-items: start;
    background: #f7f7f5;
    display: grid;
    gap: 0.65rem;
    grid-template-columns: minmax(12rem, 1fr) minmax(18rem, 1.4fr) auto;
    padding: 0.75rem;
}

.owner-roster-row strong,
.owner-roster-row span {
    display: block;
}

.owner-roster-row span {
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.35;
}

.owner-roster-row form {
    align-items: center;
    display: grid;
    gap: 0.45rem;
    grid-template-columns: minmax(7rem, 0.8fr) minmax(8rem, 1fr) auto;
    margin: 0;
}

.account-button--subtle {
    background: #f0f0ee;
    color: #111;
}

@media (max-width: 760px) {
    .member-volunteer-opportunity__summary,
    .member-volunteer-panel__head {
        align-items: stretch;
        flex-direction: column;
    }

    .member-volunteer-slot,
    .volunteer-admin-add,
    .volunteer-metric-grid,
    .volunteer-roster-summary,
    .member-volunteer-manager-grid,
    .owner-roster-row,
    .owner-roster-row form,
    .volunteer-participation-form {
        grid-template-columns: 1fr;
    }
}

.member-profile-page {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 22rem);
}

.member-profile-main,
.member-profile-side,
.member-profile-form {
    background: #fff;
    border: 1px solid rgba(17, 17, 17, 0.14);
    display: grid;
    gap: 1rem;
    padding: 1.15rem;
}

.member-profile-main h1,
.member-profile-main h2,
.member-profile-side h2,
.member-profile-form h1 {
    margin: 0;
}

.member-profile-main h1,
.member-profile-form h1 {
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 0.96;
}

.member-profile-meta {
    color: var(--muted);
    line-height: 1.5;
    margin: 0;
}

.member-profile-bio {
    color: #222;
    font-size: 1.05rem;
    line-height: 1.65;
    margin: 0;
}

.member-profile-facts {
    display: grid;
    gap: 0.6rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.member-profile-facts div {
    background: #f5f5f3;
    display: grid;
    gap: 0.2rem;
    padding: 0.85rem;
}

.member-profile-facts span,
.member-profile-form label span {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.member-profile-facts strong {
    font-size: 1rem;
}

.member-profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.member-profile-actions a,
.member-profile-form button {
    background: #111;
    border: 1px solid #111;
    color: #fff;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 900;
    padding: 0.65rem 0.85rem;
    text-decoration: none;
    text-transform: uppercase;
}

.member-profile-actions a.secondary {
    background: #fff;
    color: #111;
}

.member-profile-form label {
    display: grid;
    gap: 0.35rem;
}

.member-profile-form input,
.member-profile-form textarea {
    border: 1px solid rgba(17, 17, 17, 0.18);
    font: inherit;
    padding: 0.72rem;
}

.member-sidebar-list {
    display: grid;
    gap: 0.55rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.member-sidebar-list li {
    display: grid;
    gap: 0.1rem;
}

.member-sidebar-list span {
    font-weight: 800;
}


.tiger-den-card {
    gap: 0.8rem;
}

.tiger-den-students {
    display: grid;
    gap: 0.55rem;
}

.tiger-den-student {
    align-items: center;
    background: #f4f5f7;
    border-left: 4px solid var(--brand-red);
    display: grid;
    gap: 0.65rem;
    grid-template-columns: 2.35rem 1fr;
    padding: 0.7rem;
}

.tiger-den-student__avatar {
    align-items: center;
    aspect-ratio: 1;
    background: #111827;
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 900;
    height: 2.35rem;
    justify-content: center;
    object-fit: cover;
    width: 2.35rem;
}

.tiger-den-student__main {
    display: grid;
    gap: 0.32rem;
    min-width: 0;
}

.tiger-den-student__main strong {
    color: #111;
    font-size: 0.93rem;
    line-height: 1.15;
}

.tiger-den-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.32rem;
}

.tiger-den-badge {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(17, 17, 17, 0.12);
    border-radius: 999px;
    color: #343a46;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 800;
    gap: 0.24rem;
    min-height: 1.55rem;
    padding: 0.18rem 0.48rem;
}

.tiger-den-badge--empty {
    color: #9ca3af;
    justify-content: center;
    min-width: 1.55rem;
    padding: 0.18rem;
}


.tiger-den-badge--brass {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #9a3412;
}

.tiger-den-badge--woodwind {
    background: #ecfdf5;
    border-color: #bbf7d0;
    color: #166534;
}

.tiger-den-badge--percussion {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.tiger-den-badge--guard {
    background: #fdf2f8;
    border-color: #fbcfe8;
    color: #be185d;
}

.tiger-den-badge--props {
    background: #f5f3ff;
    border-color: #ddd6fe;
    color: #6d28d9;
}

.tiger-den-badge--leadership {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}

.tiger-den-badge__treble {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1rem;
    line-height: 1;
}

.tiger-den-badge--grade {
    background: #111827;
    border-color: #111827;
    color: #fff;
    justify-content: center;
    min-width: 1.55rem;
    padding-inline: 0.42rem;
}

.tiger-den-group {
    display: grid;
    gap: 0.38rem;
}

.member-sidebar-list--compact {
    gap: 0.34rem;
}

.member-sidebar-list--compact li {
    gap: 0;
}

.member-sidebar-list--compact span {
    font-size: 0.86rem;
}

@media (max-width: 900px) {
    .store-toolbar,
    .product-detail,
    .donate-layout,
    .checkout-layout,
    .cart-layout,
    .account-layout {
        display: grid;
        grid-template-columns: 1fr;
    }

    .store-heading-row {
        align-items: flex-start;
        display: grid;
        grid-template-columns: 1fr;
    }

    .store-category-nav,
    .inner-hero--store .store-category-nav {
        justify-content: flex-start;
    }

    .store-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .donor-fields {
        grid-template-columns: 1fr;
    }

    .checkout-contact-fields {
        grid-template-columns: 1fr;
    }

    .account-nav-bar,
    .account-portal,
    .account-social-layout,
    .account-grid,
    .account-info-strip,
    .account-quick-actions {
        grid-template-columns: 1fr;
    }

    .account-nav-bar__identity {
        justify-self: start;
        max-width: none;
    }

    .account-family-rail {
        border-left: 0;
        border-top: 3px solid var(--ink);
        padding-left: 0;
        padding-top: 1.15rem;
        position: static;
    }

    .account-briefing-item {
        align-items: start;
        grid-template-columns: 1fr;
    }

    .account-briefing-item > a,
    .account-disabled-action {
        justify-self: start;
    }

    .member-feed__head,
    .feed-composer__footer {
        align-items: flex-start;
        display: grid;
    }

    .member-feed-tabs {
        justify-content: flex-start;
    }

    .member-sidebar {
        position: static;
    }

    .member-profile-page,
    .member-profile-facts {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 900px) {
    .account-shell--social {
        padding-top: 0.75rem;
    }

    .account-social-layout {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .member-sidebar {
        display: contents;
    }

    .member-sidebar__profile {
        order: -2;
        width: 100%;
    }

    .member-sidebar__profile-main {
        gap: 0.65rem;
        padding: 0.2rem 0;
    }

    .member-sidebar__avatar {
        height: 5.75rem;
        width: 5.75rem;
    }

    .member-sidebar__profile-actions a {
        height: 3rem;
        width: 3rem;
    }

    .member-feed,
    .social-profile {
        order: 0;
        width: 100%;
    }

    .member-sidebar__section:not(.member-sidebar__profile) {
        order: 2;
        width: 100%;
    }

    .member-feed__head {
        display: none;
    }

    .feed-composer,
    .feed-post,
    .member-sidebar__section,
    .social-profile {
        border-left: 0;
        border-right: 0;
    }

    .feed-composer__footer {
        align-items: center;
        display: flex;
    }

    .feed-post__meta > div {
        align-items: center;
    }

    .feed-post__actions {
        justify-content: flex-start;
    }

    .feed-reply-form {
        grid-template-columns: 1fr;
    }

    .social-profile__cover {
        aspect-ratio: 2.4 / 1;
    }

    .social-profile__identity {
        align-items: start;
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 0 1rem 1rem;
        text-align: center;
    }

    .social-profile__avatar-wrap {
        margin-top: -3.15rem;
    }

    .social-profile__avatar {
        height: 6.5rem;
        width: 6.5rem;
    }

    .social-profile__facts,
    .social-profile__tabs {
        justify-content: center;
    }

    .social-profile__tabs {
        overflow-x: auto;
        padding: 0 0.5rem;
    }
}

@media (max-width: 640px) {
    .section-wrap--store-intro {
        padding-bottom: 0.25rem;
        padding-top: 1rem;
    }

    .section-wrap--store-intro + .store-shell,
    .store-shell {
        padding-top: 1.15rem;
    }

    .store-toolbar {
        align-items: flex-start;
        gap: 0.75rem;
        margin-bottom: 0.85rem;
    }

    .store-toolbar h2 {
        font-size: 1.55rem;
    }

    .store-product-grid {
        display: grid;
        gap: 0.55rem;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .store-product-card__body {
        gap: 0;
        padding: 0.55rem;
    }

    .store-product-card h3 {
        font-size: 0.88rem;
    }

    .donation-amount-grid {
        display: grid;
        gap: 0.45rem;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        width: 100%;
    }

    .amount-choice span,
    .donation-amount-grid button {
        font-size: 0.88rem;
        padding: 0.65rem 0.2rem;
    }

    .store-category-nav a {
        font-size: 0.72rem;
        padding: 0.5rem 0.65rem;
    }

    .product-option-card {
        grid-template-columns: auto 1fr;
    }

    .product-option-card em {
        grid-column: 2;
    }

    .meta-box__header--row {
        align-items: flex-start;
        display: grid;
    }
}

@media (max-width: 430px) {
    .site-header__inner {
        gap: 0.42rem;
        width: min(calc(100% - 1rem), var(--content-width));
    }

    .site-header__utilities {
        gap: 0.32rem;
    }

    body[data-theme="scarlet-white"] .brand-logo,
    .brand-logo {
        height: 3.55rem;
    }

    body[data-theme="scarlet-white"] .brand-copy {
        transform: translateY(0.12rem);
    }

    body[data-theme="scarlet-white"] .brand-copy__main,
    .brand-copy__main {
        font-size: 1.02rem;
        letter-spacing: 0.02em;
    }

    .brand-copy__sub {
        display: none;
    }

    .site-profile-link,
    .site-notification-link,
    .site-cart-link {
        min-height: 1.95rem;
        min-width: 1.95rem;
        padding: 0.18rem 0.42rem;
    }

    .site-header__menu-toggle {
        min-height: 2.25rem;
        min-width: 2.25rem;
        padding: 0.35rem;
    }
}

@media (max-width: 980px) {
    .site-header__menu {
        align-content: start;
        align-items: stretch;
        display: none;
        justify-content: flex-start;
        padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
        transform: none;
    }

    .site-header__menu .site-nav {
        align-content: start;
        justify-content: stretch;
    }

    .site-header__menu .site-nav__item {
        display: block;
        position: relative;
    }

    .site-header__menu .site-nav__item.has-children > .site-nav__link {
        padding-right: 3.35rem;
    }

    .site-header__menu .site-nav__item.has-children > .site-nav__toggle {
        background: transparent;
        border: 0;
        height: 2.9rem;
        margin-left: 0;
        min-width: 2.9rem;
        padding: 0.46rem;
        position: absolute;
        right: 0;
        top: 0;
    }

    body[data-theme="scarlet-white"] .site-header__menu .site-nav__item.has-children > .site-nav__toggle {
        background: transparent;
        border-color: transparent;
    }

    .site-header__menu .site-nav__submenu {
        margin-top: 0.45rem;
    }

    .site-header__menu .site-nav__item.has-children:focus-within > .site-nav__submenu {
        display: none;
    }

    .site-header__menu .site-nav__item.has-children:not(.is-open) > .site-nav__submenu,
    .site-header__menu .site-nav__item.has-children:not(.is-open):focus-within > .site-nav__submenu {
        display: none !important;
    }

    .site-header__menu .site-nav__item.has-children:focus-within > .site-nav__toggle .site-nav__toggle-icon {
        transform: none;
    }

    .site-header__menu .site-nav__item.is-open > .site-nav__submenu,
    .site-header__menu .site-nav__item.has-children.is-open:focus-within > .site-nav__submenu {
        display: grid !important;
    }

    .site-header__menu .site-nav__item.is-open > .site-nav__toggle .site-nav__toggle-icon,
    .site-header__menu .site-nav__item.has-children.is-open:focus-within > .site-nav__toggle .site-nav__toggle-icon {
        transform: rotate(180deg);
    }

    body.is-mobile-menu-open .site-header__menu {
        display: flex;
        transform: none;
    }

    .site-header__mobile-account-actions {
        background: #fff;
        display: grid;
        gap: 0.6rem;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: auto;
        padding-top: 0.75rem;
        position: sticky;
        bottom: calc(4.4rem + env(safe-area-inset-bottom, 0px));
        z-index: 2;
    }

    .site-header__mobile-account-actions a,
    .site-header__mobile-account-actions button {
        align-items: center;
        background: var(--crest-red);
        border: 2px solid #111;
        color: #fff;
        cursor: pointer;
        display: inline-flex;
        font-size: 0.78rem;
        font-weight: 900;
        justify-content: center;
        letter-spacing: 0.04em;
        min-height: 2.75rem;
        padding: 0.65rem 0.5rem;
        text-align: center;
        text-decoration: none;
        text-transform: uppercase;
        width: 100%;
    }

    .site-header__mobile-account-actions form {
        margin: 0;
    }
}
.admin-subnav {
    display: grid;
    gap: 1px;
    margin: -1px 0.6rem 7px 2.75rem;
    min-width: 0;
    overflow: hidden;
}

.admin-subnav[hidden] {
    display: none;
}

.admin-subnav__link {
    border-left: 2px solid rgba(255, 255, 255, 0.18);
    color: #c8d1d9;
    display: block;
    font-size: 0.75rem;
    font-weight: 650;
    letter-spacing: 0;
    overflow: hidden;
    padding: 5px 10px;
    text-decoration: none;
    text-overflow: ellipsis;
    text-transform: none;
    white-space: nowrap;
}

.admin-subnav__link:hover,
.admin-subnav__link.is-active {
    border-left-color: #f0a3a6;
    color: #fff;
}

.finance-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.finance-kpis article {
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    padding: 16px;
}

.finance-kpis span {
    color: #646970;
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.finance-kpis strong {
    color: #1d2327;
    display: block;
    font-size: 1.55rem;
    line-height: 1.2;
    margin-top: 8px;
}

.finance-note {
    background: #fff8e5;
    border: 1px solid #e6d18a;
    border-radius: 6px;
    color: #4d3b00;
    margin: 0 0 18px;
    padding: 12px 14px;
}

.finance-year-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
}

.finance-year-tabs a {
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    color: #1d2327;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 7px 10px;
    text-decoration: none;
}

.finance-year-tabs a:hover,
.finance-year-tabs a.is-active {
    background: #1d2327;
    border-color: #1d2327;
    color: #fff;
}

.finance-table-scroll {
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 6px;
    overflow: visible;
    width: 100%;
}

.finance-rollup-panel {
    margin: 0 0 22px;
}

.finance-section-title {
    align-items: baseline;
    display: flex;
    gap: 12px;
    margin: 20px 0 10px;
}

.finance-section-title h3 {
    color: #1d2327;
    font-size: 1.05rem;
    line-height: 1.25;
    margin: 0;
}

.finance-budget-table {
    border-collapse: collapse;
    font-size: 0.8rem;
    table-layout: fixed;
    width: 100%;
}

.finance-rollup-table {
    margin-bottom: 0;
}

.finance-rollup-table .finance-sticky-col {
    width: 30%;
}

.finance-history-table {
    width: 100%;
}

.finance-history-panel {
    margin-top: 24px;
}

.finance-history-header {
    margin-bottom: 12px;
}

.finance-budget-table th,
.finance-budget-table td {
    border: 1px solid #dcdcde;
    padding: 8px 7px;
    text-align: right;
    white-space: normal;
    word-break: keep-all;
}

.finance-budget-table thead th {
    background: #1d2327;
    color: #fff;
    font-weight: 700;
    position: sticky;
    top: 0;
    z-index: 2;
}

.finance-budget-table thead tr + tr th,
.finance-budget-table thead th.finance-subhead-proposed,
.finance-mini-header .finance-subhead-proposed {
    background: #2c3338;
    color: #fff;
}

.finance-budget-table thead th.finance-head-proposed {
    background: #111;
    color: #fff;
}

.finance-budget-table thead th.finance-head-actual {
    background: #b21b21;
    color: #fff;
}

.finance-budget-table thead th.finance-subhead-actual,
.finance-mini-header .finance-subhead-actual {
    background: #eadfce;
    color: #3c2f1e;
}

.finance-rollup-table thead th.finance-subhead-proposed {
    background: #2c3338;
    color: #fff;
}

.finance-rollup-table thead th.finance-subhead-actual {
    background: #eadfce;
    color: #3c2f1e;
}

.finance-budget-table .finance-sticky-col {
    text-align: left;
}

.finance-budget-table thead .finance-sticky-col {
    z-index: 3;
}

.finance-line-name {
    background: #fff;
    width: 34%;
}

.finance-budget-table .finance-sticky-col {
    width: 34%;
}

.finance-total-row .finance-sticky-col {
    background: #f6f7f7;
}

.finance-line-name a {
    color: #1d2327;
    text-decoration: none;
}

.finance-line-name a:hover {
    color: #b21b21;
    text-decoration: underline;
}

.finance-line-label-wrap {
    align-items: center;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 5px;
}

.finance-note-flag {
    display: inline-flex;
    position: relative;
}

.finance-note-flag__button {
    align-items: center;
    background: #b21b21;
    border: 0;
    border-radius: 999px;
    color: #fff;
    cursor: help;
    display: inline-flex;
    font-size: 0.68rem;
    font-weight: 900;
    height: 18px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    width: 18px;
}

.finance-note-flag__button:focus {
    outline: 2px solid #1d2327;
    outline-offset: 2px;
}

.finance-note-popover {
    background: #fff;
    border: 1px solid #b21b21;
    border-radius: 6px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    color: #1d2327;
    font-size: 0.78rem;
    font-weight: 500;
    left: 50%;
    line-height: 1.35;
    opacity: 0;
    padding: 10px 11px;
    pointer-events: none;
    position: absolute;
    text-align: left;
    top: calc(100% + 8px);
    transform: translateX(-50%) translateY(-3px);
    transition: opacity 120ms ease, transform 120ms ease;
    visibility: hidden;
    width: min(280px, 72vw);
    z-index: 30;
}

.finance-note-popover strong,
.finance-note-popover span {
    display: block;
}

.finance-note-popover strong {
    color: #b21b21;
    font-size: 0.7rem;
    letter-spacing: 0;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.finance-note-flag:hover .finance-note-popover,
.finance-note-flag:focus-within .finance-note-popover {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    visibility: visible;
}

.finance-section-row th {
    background: #f0f0f1;
    color: #1d2327;
    font-size: 0.86rem;
    text-align: left;
    text-transform: uppercase;
}

.finance-mini-header th {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 5px 7px;
    text-align: right;
    text-transform: uppercase;
}

.finance-mini-header .finance-sticky-col {
    background: #f6f7f7;
    color: #3c434a;
    text-align: left;
}

.finance-collapse-toggle {
    align-items: center;
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    gap: 8px;
    padding: 0;
    text-align: left;
    text-transform: uppercase;
}

.finance-collapse-arrow {
    display: inline-block;
    font-size: 0.95rem;
    line-height: 1;
    transform-origin: center;
    transition: transform 120ms ease;
    width: 16px;
}

.finance-collapse-toggle[aria-expanded="false"] .finance-collapse-arrow {
    transform: rotate(-90deg);
}

.finance-row-hidden {
    display: none;
}

.finance-total-row th,
.finance-total-row td {
    background: #f6f7f7;
    font-weight: 800;
}

.finance-band-row th {
    text-align: center;
}

.is-negative {
    color: #b32d2e;
    font-weight: 700;
}

.is-positive {
    color: #008a20;
    font-weight: 700;
}

.finance-split {
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    margin-top: 20px;
}

.finance-list-row {
    border-top: 1px solid #dcdcde;
    display: grid;
    gap: 3px;
    padding: 11px 0;
}

.finance-list-row:first-of-type {
    border-top: 0;
}

.finance-list-row span,
.finance-list-row small {
    color: #646970;
}

.finance-plain-list {
    color: #3c434a;
    margin: 0;
    padding-left: 20px;
}

@media (max-width: 980px) {
    .finance-kpis,
    .finance-split {
        grid-template-columns: 1fr;
    }

    .finance-table-scroll {
        border-radius: 4px;
        overflow: visible;
    }

    .finance-budget-table {
        font-size: 0.66rem;
    }

    .finance-budget-table th,
    .finance-budget-table td {
        padding: 5px 4px;
    }

    .finance-budget-table .finance-sticky-col,
    .finance-line-name,
    .finance-rollup-table .finance-sticky-col {
        width: 28%;
    }

    .finance-mini-header th {
        font-size: 0.58rem;
        padding: 4px 3px;
    }
}

@media (max-width: 560px) {
    .finance-screen .wp-screen-header,
    .finance-section-title {
        align-items: stretch;
        display: grid;
    }

    .finance-kpis article {
        padding: 12px;
    }

    .finance-kpis strong {
        font-size: 1.2rem;
    }

    .finance-note {
        font-size: 0.78rem;
        padding: 9px 10px;
    }

    .finance-year-tabs a {
        font-size: 0.76rem;
        padding: 6px 8px;
    }

    .finance-budget-table {
        font-size: 0.54rem;
        line-height: 1.2;
    }

    .finance-budget-table th,
    .finance-budget-table td {
        padding: 4px 2px;
        word-break: normal;
    }

    .finance-budget-table .finance-sticky-col,
    .finance-line-name,
    .finance-rollup-table .finance-sticky-col {
        width: 27%;
    }

    .finance-line-name a,
    .finance-collapse-toggle {
        overflow-wrap: anywhere;
    }

    .finance-note-popover {
        left: 0;
        transform: translateY(-3px);
        width: min(250px, 76vw);
    }

    .finance-note-flag:hover .finance-note-popover,
    .finance-note-flag:focus-within .finance-note-popover {
        transform: translateY(0);
    }

    .finance-section-row th {
        font-size: 0.68rem;
        padding: 6px 4px;
    }

    .finance-collapse-arrow {
        width: 10px;
    }

    .finance-mini-header th {
        font-size: 0.5rem;
        letter-spacing: 0;
        padding: 3px 2px;
    }
}

/* Project workspace */
.projects-home,
.project-app {
    display: grid;
    gap: 18px;
}

.projects-home__header,
.project-app-header {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.projects-home__header h2,
.project-app-header h2 {
    color: var(--admin-text);
    font-family: "Montserrat", sans-serif;
    font-size: 1.45rem;
    font-weight: 650;
    letter-spacing: 0;
    line-height: 1.15;
    margin: 0;
    text-transform: none;
}

.project-card-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.project-tile,
.project-empty-card,
.project-create-card {
    background: #ffffff;
    border: 1px solid #dcdcde;
    color: #1d2327;
    display: grid;
    gap: 10px;
    padding: 16px;
    text-decoration: none;
}

.project-tile:hover,
.project-tile:focus-visible {
    border-color: #8c8f94;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    outline: 0;
}

.project-tile__avatar {
    align-items: center;
    background: #cb2c30;
    color: #ffffff;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 800;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.project-tile__type,
.project-tile__meta,
.project-empty-card p {
    color: #646970;
    font-size: 0.84rem;
}

.project-progress-bar {
    background: #e5e5e5;
    display: block;
    height: 6px;
    overflow: hidden;
}

.project-progress-bar span {
    background: #1f7a3a;
    display: block;
    height: 100%;
}

.project-create-popover,
.project-add-section-popover {
    position: relative;
}

.project-create-popover[open] .project-create-card,
.project-add-section-popover[open] .project-new-section {
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: min(92vw, 520px);
    z-index: 50;
}

.project-segmented {
    background: #f6f7f7;
    border: 1px solid #dcdcde;
    display: grid;
    gap: 0;
    grid-template-columns: repeat(2, 1fr);
    padding: 3px;
}

.project-segmented label {
    align-items: center;
    cursor: pointer;
    display: flex;
    font-size: 0.84rem;
    gap: 6px;
    justify-content: center;
    padding: 8px;
}

.project-list {
    display: grid;
    gap: 12px;
}

.project-list-section {
    background: #ffffff;
    border: 1px solid #dcdcde;
    border-left: 4px solid #8c8f94;
    display: grid;
    min-width: 0;
}

.project-accent-1 { border-left-color: #cb2c30; }
.project-accent-2 { border-left-color: #2271b1; }
.project-accent-3 { border-left-color: #1f7a3a; }
.project-accent-4 { border-left-color: #b26200; }
.project-accent-5 { border-left-color: #7c3aed; }
.project-accent-6 { border-left-color: #50575e; }

.project-section-row {
    align-items: center;
    background: #cb2c30;
    border-bottom: 1px solid #a82126;
    color: #ffffff;
    display: grid;
    gap: 8px;
    grid-template-columns: 28px 32px minmax(0, 1fr) auto 32px;
    min-height: 44px;
    padding: 6px 10px;
}

.project-drag-handle,
.project-section-owner,
.project-subtask-indicator,
.project-row-icons,
.project-drawer-owner,
.project-file-drop,
.project-link-button,
.project-icon-button {
    align-items: center;
    display: inline-flex;
    gap: 6px;
}

.project-section-title {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    min-width: 0;
}

.project-section-title strong {
    font-size: 0.94rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.project-section-owner {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.78rem;
}

.project-table {
    display: grid;
    min-width: 0;
}

.project-task-list {
    display: grid;
}

.project-task-row {
    align-items: center;
    background: #ffffff;
    border-bottom: 1px solid #ececec;
    display: grid;
    gap: 8px;
    grid-template-columns: 30px minmax(220px, 1fr) 92px minmax(120px, 180px) 58px 32px;
    min-height: 42px;
    padding: 5px 10px;
}

.project-task-row:hover,
.project-task-row.is-selected {
    background: #f8fbff;
}

.project-task-row.is-selected {
    box-shadow: inset 4px 0 0 #2271b1;
}

.project-task-row.is-complete .project-task-name {
    color: #8c8f94;
    text-decoration: line-through;
}

.project-task-row.is-dragging,
.project-list-section.is-dragging {
    opacity: 0.55;
}

.project-task-row.is-new {
    animation: project-row-flash 1.4s ease;
}

.project-list-section--smart .project-section-row {
    background: #111827;
    color: #ffffff;
    grid-template-columns: 28px minmax(0, 1fr) auto;
}

.project-drag-handle--locked {
    color: rgba(255, 255, 255, 0.78);
}

.project-smart-section-note {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    margin-left: auto;
    text-transform: uppercase;
}

.admin-shell .project-app .project-list-section--smart .project-section-row {
    grid-template-columns: 28px minmax(0, 1fr) auto;
}

.admin-shell .project-app .project-list-section--smart .project-section-title strong {
    flex: 1 1 auto;
}

.project-task-row--smart .project-task-name {
    align-items: baseline;
    display: inline-flex;
    flex-direction: row;
    gap: 0.45rem;
    min-width: 0;
}

.project-task-row--smart .project-task-name small {
    color: #64748b;
    display: inline;
    flex: 0 1 auto;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

@keyframes project-row-flash {
    0% { background: #fff8d6; }
    100% { background: #ffffff; }
}

.project-complete-form,
.project-due-form,
.project-section-row form {
    margin: 0;
}

.project-complete-circle {
    align-items: center;
    background: #ffffff;
    border: 1px solid #8c8f94;
    border-radius: 999px;
    color: #1f7a3a;
    cursor: pointer;
    display: inline-flex;
    height: 20px;
    justify-content: center;
    min-height: 0;
    padding: 0;
    width: 20px;
}

.project-complete-circle svg {
    height: 14px;
    width: 14px;
}

.project-task-name {
    background: transparent;
    border: 0;
    box-shadow: none;
    color: #1d2327;
    cursor: pointer;
    font: inherit;
    min-height: 0;
    overflow: hidden;
    padding: 0;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.project-task-name:hover,
.project-task-name:focus-visible {
    color: #2271b1;
    outline: 0;
}

.project-due-form {
    position: relative;
}

.project-due-form input[type="date"] {
    height: 1px;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    width: 1px;
}

.project-due-trigger,
.project-drawer-due-trigger,
.project-row-more,
.project-icon-button,
.project-subtask-indicator {
    align-items: center;
    background: transparent;
    border: 0;
    box-shadow: none;
    color: #646970;
    cursor: pointer;
    display: inline-flex;
    font-size: 0.78rem;
    justify-content: center;
    min-height: 0;
    padding: 4px;
}

.project-icon-button {
    border: 1px solid transparent;
    min-height: 32px;
    min-width: 32px;
}

.project-icon-button--primary {
    background: #2271b1;
    border-color: #2271b1;
    color: #ffffff;
}

.project-icon-button:hover,
.project-due-trigger:hover,
.project-row-more:hover,
.project-subtask-indicator:hover {
    color: #1d2327;
}

.project-section-row .project-icon-button,
.project-section-row .project-drag-handle {
    color: rgba(255, 255, 255, 0.86);
}

.project-section-row .project-icon-button:hover,
.project-section-row .project-icon-button:focus-visible {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.project-icon-button svg,
.project-due-trigger svg,
.project-row-more svg,
.project-subtask-indicator svg,
.project-section-owner svg,
.project-owner-inline-form svg,
.project-drawer-owner svg,
.project-link-button svg,
.project-file-drop svg,
.project-add-task-row svg,
.project-drag-handle svg {
    height: 17px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    fill: none;
    width: 17px;
}

.project-due-trigger.has-date {
    background: #f0f6fc;
    color: #135e96;
    font-weight: 650;
    padding-inline: 7px;
}

.project-assignee-chip {
    color: #50575e;
    font-size: 0.78rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.project-subtask-placeholder {
    display: block;
    min-height: 1px;
}

.project-row-icons {
    justify-content: flex-end;
}

.project-add-task-row,
.project-new-section {
    align-items: center;
    background: #fbfbfb;
    display: grid;
    gap: 8px;
}

.project-add-task-row {
    border-top: 1px solid #ececec;
    grid-template-columns: 24px minmax(0, 1fr);
    padding: 7px 10px;
}

.project-add-task-row span {
    color: #646970;
}

.project-add-task-row input,
.project-new-section input,
.project-new-section select,
.project-create-card input,
.project-create-card select,
.project-create-card textarea {
    background: #ffffff;
    border: 1px solid #dcdcde;
    min-height: 34px;
    padding: 6px 8px;
}

.project-add-task-row input {
    border: 0;
    min-height: 28px;
}

.project-new-section {
    border: 1px solid #dcdcde;
    grid-template-columns: minmax(160px, 1fr) 130px minmax(160px, 1fr) minmax(130px, 1fr) 38px;
    padding: 10px;
}

.project-list-section.is-collapsed .project-table {
    display: none;
}

.project-list-section.is-collapsed .project-section-row {
    border-bottom: 0;
}

.project-list-section.is-collapsed .project-icon-button--quiet svg {
    transform: rotate(-90deg);
}

.project-task-drawer {
    background: rgba(0, 0, 0, 0.28);
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    transition: opacity 0.16s ease;
    z-index: 100;
}

.project-task-drawer.is-open {
    opacity: 1;
    pointer-events: auto;
}

.project-task-drawer__panel {
    background: #ffffff;
    box-shadow: -18px 0 38px rgba(0, 0, 0, 0.24);
    display: grid;
    gap: 18px;
    height: 100%;
    margin-left: auto;
    max-width: min(92vw, 520px);
    overflow: auto;
    padding: 20px;
    position: relative;
    transform: translateX(100%);
    transition: transform 0.18s ease;
    width: 520px;
}

.project-task-drawer.is-open .project-task-drawer__panel {
    transform: translateX(0);
}

.project-task-drawer__close {
    position: absolute;
    right: 12px;
    top: 12px;
}

.project-drawer-form,
.project-drawer-block {
    display: grid;
    gap: 10px;
}

.project-drawer-title input,
.project-drawer-title textarea {
    border: 0;
    border-bottom: 1px solid #dcdcde;
    font-size: 1.35rem;
    font-weight: 650;
    padding: 14px 38px 8px 0;
    width: 100%;
}

.project-drawer-title textarea {
    line-height: 1.25;
    min-height: 7.5rem;
    overflow-y: auto;
    resize: vertical;
}

.project-drawer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.project-drawer-due,
.project-drawer-owner {
    border: 1px solid #dcdcde;
    min-height: 36px;
    padding: 4px 8px;
}

.project-drawer-owner select {
    border: 0;
    min-height: 26px;
    padding: 0;
}

.project-drawer-block {
    border-top: 1px solid #dcdcde;
    padding-top: 14px;
}

.project-drawer-block h3 {
    font-size: 0.9rem;
    margin: 0;
}

.project-subtask-add,
.project-comment-form,
.project-attachment-form {
    display: grid;
    gap: 8px;
}

.project-comment-form textarea {
    min-height: 70px;
}

.project-file-drop {
    border: 1px dashed #8c8f94;
    cursor: pointer;
    justify-content: center;
    min-height: 44px;
    padding: 10px;
}

.project-file-drop input {
    height: 1px;
    opacity: 0;
    position: absolute;
    width: 1px;
}

.project-link-button {
    background: transparent;
    border: 0;
    color: #2271b1;
    cursor: pointer;
    font-weight: 650;
    justify-self: start;
    min-height: 0;
    padding: 0;
}

.project-bulk-actions {
    align-items: center;
    background: #101418;
    color: #ffffff;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin: -8px 0 14px;
    min-height: 38px;
    padding: 8px 12px;
}

.project-bulk-actions[hidden] {
    display: none;
}

.project-bulk-actions span {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.project-link-button--danger {
    color: #d62f32;
}

.workflow-modal {
    background: transparent;
    border: 0;
    color: var(--off-black);
    max-width: min(74rem, calc(100vw - 1.5rem));
    padding: 0;
    width: min(74rem, calc(100vw - 1.5rem));
}

.header-action--seal {
    background: #fff;
    border-color: #111;
    padding: 0.18rem;
}

.header-action--seal img {
    display: block;
    height: 1.9rem;
    width: 1.9rem;
}

.workflow-modal::backdrop {
    background: rgba(0, 0, 0, 0.42);
}

.workflow-modal__panel {
    background: #f4f5f7;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    max-height: min(50rem, calc(100vh - 2rem));
    min-height: min(42rem, calc(100vh - 2rem));
    overflow: hidden;
}

.workflow-modal__header {
    align-items: center;
    background: #111;
    color: #fff;
    display: flex;
    justify-content: space-between;
    padding: 0.95rem 1.1rem;
}

.workflow-modal__header h2 {
    color: #fff;
    font-size: 1.55rem;
    margin: 0;
}

.workflow-modal__close {
    background: #fff;
    color: #111;
}

.workflow-tabs {
    align-items: center;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    overflow: visible;
    padding: 0.55rem 0.7rem;
    position: relative;
    z-index: 30;
}

.workflow-tab {
    background: transparent;
    border: 1px solid transparent;
    color: #374151;
    cursor: pointer;
    flex: 0 0 auto;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.03em;
    min-height: 2rem;
    padding: 0.35rem 0.65rem;
    text-transform: uppercase;
}

.workflow-tab-wrap {
    align-items: center;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 999px;
    display: inline-flex;
    flex: 0 0 auto;
    gap: 0.05rem;
    min-height: 2rem;
    padding: 0.08rem 0.18rem 0.08rem 0;
}

.workflow-tab-wrap .workflow-tab {
    border: 0;
    flex: 0 0 auto;
    min-height: 1.9rem;
    padding: 0.35rem 0.3rem 0.35rem 0.65rem;
}

.workflow-tab-remove-form {
    align-items: center;
    display: inline-flex;
    flex: 0 0 auto;
    margin: 0;
}

.workflow-tab-remove {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: #64748b;
    cursor: pointer;
    display: inline-flex;
    font-size: 0.95rem;
    font-weight: 900;
    height: 1.35rem;
    justify-content: center;
    line-height: 1;
    padding: 0;
    width: 1.35rem;
}

.workflow-tab-remove:hover,
.workflow-tab-remove:focus-visible {
    background: #111827;
    color: #fff;
    outline: 0;
}

.workflow-tab-wrap.is-active .workflow-tab-remove {
    color: rgba(255, 255, 255, 0.82);
}

.workflow-tab-wrap.is-active,
.workflow-tab.is-active {
    background: var(--crest-red);
    border-color: var(--crest-red);
    color: #fff;
}

.workflow-tab-wrap.is-active .workflow-tab {
    background: transparent;
    color: #fff;
}

.workflow-add-tab {
    flex: 0 0 auto;
    position: relative;
}

.workflow-tab--add {
    background: #111;
    color: #fff;
    display: inline-flex;
}

.workflow-add-tab__form {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
    display: grid;
    gap: 0.55rem;
    min-width: min(22rem, calc(100vw - 2rem));
    padding: 0.75rem;
    position: absolute;
    right: 0;
    top: calc(100% + 0.35rem);
    z-index: 20;
}

.workflow-modal.admin-shell .project-app {
    color: #111827;
}

.workflow-modal.admin-shell .project-app--workflow {
    padding: 0;
}

.workflow-add-tab__form label {
    display: grid;
    gap: 0.3rem;
}

.workflow-add-tab__form span {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.workflow-add-tab__form select {
    min-height: 2.4rem;
    width: 100%;
}

.workflow-add-tab__form button {
    background: var(--crest-red);
    border: 0;
    color: #fff;
    cursor: pointer;
    font-weight: 900;
    min-height: 2.2rem;
    text-transform: uppercase;
}

.workflow-tab-panels {
    min-height: 0;
    overflow: auto;
    padding: 0.8rem;
}

.workflow-tab-panel {
    display: none;
}

.workflow-tab-panel.is-active {
    display: block;
}

.workflow-empty {
    background: #fff;
    margin: 0;
    padding: 1rem;
}

.project-app--workflow {
    background: transparent;
}

.project-app--workflow .project-app-header {
    padding-top: 0;
}

@media (max-width: 760px) {
    .workflow-modal {
        max-width: calc(100vw - 0.5rem);
        width: calc(100vw - 0.5rem);
    }

    .workflow-modal__panel {
        max-height: calc(100vh - 0.5rem);
        min-height: calc(100vh - 0.5rem);
    }

    .workflow-tab-panels {
        padding: 0.55rem;
    }
}

.project-drawer-list {
    display: grid;
    gap: 8px;
}

.project-drawer-list-item,
.project-comment-item {
    background: #f6f7f7;
    border: 1px solid #dcdcde;
    color: #1d2327;
    padding: 9px;
    text-decoration: none;
}

.project-comment-item {
    align-items: start;
    display: grid;
    gap: 8px;
    grid-template-columns: 32px minmax(0, 1fr);
}

.project-comment-avatar {
    align-items: center;
    background: #1d2327;
    border-radius: 999px;
    color: #ffffff;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 800;
    height: 32px;
    justify-content: center;
    object-fit: cover;
    width: 32px;
}

.project-comment-body strong,
.project-comment-body span,
.project-comment-body p {
    display: block;
    margin: 0;
}

.project-comment-body span {
    color: #646970;
    font-size: 0.76rem;
}

.project-subtask-item.is-complete {
    color: #8c8f94;
    text-decoration: line-through;
}

@media (max-width: 980px) {
    .projects-home__header,
    .project-app-header {
        align-items: stretch;
        display: grid;
    }

    .project-task-row {
        grid-template-columns: 28px minmax(0, 1fr) 78px 32px;
    }

    .project-assignee-chip,
    .project-subtask-indicator,
    .project-subtask-placeholder {
        display: none;
    }

    .project-new-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .project-card-grid {
        grid-template-columns: 1fr;
    }

    .project-section-row {
        grid-template-columns: 24px 30px minmax(0, 1fr) 30px;
    }

    .project-section-row > span:nth-last-child(2) {
        display: none;
    }

    .project-task-row {
        grid-template-columns: 26px minmax(0, 1fr) 30px;
    }

    .project-due-form {
        display: none;
    }

    .project-task-drawer__panel {
        max-width: 100vw;
        width: 100vw;
    }
}


.site-profile-menu {
    position: relative;
}

.site-profile-menu--mobile-utility {
    display: none;
}

.site-profile-menu summary {
    list-style: none;
}

.site-profile-menu summary::-webkit-details-marker {
    display: none;
}

.site-notification-link,
.site-profile-link,
.site-cart-link {
    text-decoration: none;
}

.site-notification-link {
    align-items: center;
    align-self: center;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.54);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    justify-content: center;
    min-height: 2.05rem;
    min-width: 2.05rem;
    padding: 0.25rem;
}

.site-notification-link:hover,
.site-notification-link:focus-visible,
.site-header__utilities .site-profile-link:hover,
.site-header__utilities .site-profile-link:focus-visible,
.site-header__utilities .site-profile-menu--mobile-utility[open] .site-profile-link,
.site-cart-link:hover,
.site-cart-link:focus-visible {
    border-color: rgba(255, 255, 255, 0.9);
    outline: 0;
}

.site-header__utilities .site-profile-link,
.site-header__utilities .site-cart-link {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.54);
    color: #fff;
    min-height: 2.05rem;
    min-width: 2.05rem;
    padding: 0.25rem;
}

.site-header__utilities .site-profile-link.is-signed-in {
    background: transparent;
    color: #fff;
}

.site-header__utilities .site-profile-link__icon,
.site-header__utilities .site-cart-link__icon {
    height: 1.08rem;
    width: 1.08rem;
}

.site-notification-link.has-interest,
.site-cart-link.has-interest {
    background: #fff;
    border-color: #fff;
    color: #111;
}

.site-notification-link__icon {
    display: inline-flex;
    height: 1.1rem;
    width: 1.1rem;
}

.site-notification-link__icon svg {
    display: block;
    fill: none;
    height: 100%;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 100%;
}

.site-profile-menu__panel {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
    min-width: 13rem;
    padding: 0.35rem;
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    z-index: 90;
}

.site-profile-menu__panel a,
.site-profile-menu__panel button {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--off-black);
    display: flex;
    font-size: 0.82rem;
    font-weight: 800;
    justify-content: flex-start;
    letter-spacing: 0.02em;
    min-height: 2.35rem;
    padding: 0.55rem 0.7rem;
    text-align: left;
    text-decoration: none;
    width: 100%;
}

.site-profile-menu__item-icon {
    align-items: center;
    display: inline-flex;
    flex: 0 0 1.1rem;
    height: 1.1rem;
    justify-content: center;
    margin-right: 0.5rem;
    width: 1.1rem;
}

.site-profile-menu__item-icon svg {
    display: block;
    fill: none;
    height: 100%;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 100%;
}

.site-profile-menu__panel a:hover,
.site-profile-menu__panel button:hover,
.site-profile-menu__panel a:focus-visible,
.site-profile-menu__panel button:focus-visible {
    background: #f1f1f1;
    outline: 0;
}

.site-profile-menu__panel form {
    border-top: 1px solid #e5e5e5;
    margin: 0.35rem 0 0;
    padding-top: 0.35rem;
}

.site-header__mobile-account-actions {
    display: none;
}

@media (max-width: 980px) {
    body.is-mobile-menu-open .site-header__menu > .site-header__mobile-account-actions {
        background: #fff;
        bottom: calc(4.8rem + env(safe-area-inset-bottom, 0px));
        display: grid !important;
        gap: 0.6rem;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-top: 0.75rem;
        position: fixed;
        right: max(1rem, env(safe-area-inset-right, 0px));
        width: min(calc(86vw - 2rem), 22rem);
        z-index: 181;
    }
}

.site-mobile-bottom-nav {
    display: none;
}

@media (max-width: 760px) {
    html,
    body {
        overscroll-behavior-y: none;
    }

    body > main {
        padding-bottom: calc(4.4rem + env(safe-area-inset-bottom, 0px));
        padding-top: var(--site-chrome-height, 5rem);
    }

    .site-chrome {
        left: 0;
        position: fixed;
        right: 0;
        top: var(--site-visual-viewport-offset-top, 0px);
        z-index: 170;
    }

    .site-header__menu .site-profile-menu--main {
        display: none;
    }

    .site-header__utilities {
        align-items: center;
        display: grid;
        flex: 0 0 auto;
        gap: 0.35rem;
        grid-template-columns: repeat(3, 2.1rem);
        justify-content: flex-end;
        min-width: calc(6.3rem + 0.7rem);
        transform: none;
    }

    .site-header__utilities.site-header__utilities--signed-in {
        grid-template-columns: repeat(4, 2.1rem);
        min-width: calc(8.4rem + 1.05rem);
    }

    .site-header__utilities .site-notifications {
        align-items: center;
        display: inline-flex !important;
        flex: 0 0 auto;
        opacity: 1;
        visibility: visible;
    }

    .site-header__utilities .site-notification-link,
    .site-header__utilities .site-profile-link,
    .site-header__utilities .site-cart-link {
        align-items: center;
        display: inline-flex !important;
        flex: 0 0 2.1rem;
        height: 2.1rem;
        justify-content: center;
        min-height: 2.1rem;
        min-width: 2.1rem;
        padding: 0;
        width: 2.1rem;
    }

    .site-header__utilities .site-profile-menu--mobile-utility {
        align-items: center;
        display: inline-flex !important;
        flex: 0 0 2.1rem;
        justify-content: center;
    }

    .site-header__utilities .site-header__menu-toggle {
        display: inline-flex !important;
        flex: 0 0 2.1rem;
        height: 2.1rem;
        margin-left: 0;
        min-height: 2.1rem;
        min-width: 2.1rem;
        padding: 0.3rem;
        width: 2.1rem;
    }

    .site-mobile-bottom-nav {
        align-items: stretch;
        background: var(--crest-red);
        border-top: 2px solid #111;
        bottom: 0;
        box-shadow: 0 -12px 28px rgba(0, 0, 0, 0.22);
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        left: 0;
        padding: 0.38rem max(0.45rem, env(safe-area-inset-left, 0px)) calc(0.38rem + env(safe-area-inset-bottom, 0px)) max(0.45rem, env(safe-area-inset-right, 0px));
        position: fixed;
        right: 0;
        z-index: 180;
    }

    body.site-app-frame-page .site-mobile-bottom-nav {
        bottom: var(--site-bottom-nav-counter-offset, 0px);
    }

    .site-mobile-bottom-nav a {
        align-items: center;
        color: rgba(255, 255, 255, 0.86);
        display: grid;
        font-size: 0.67rem;
        font-weight: 900;
        gap: 0.12rem;
        justify-items: center;
        letter-spacing: 0.01em;
        min-height: 3.2rem;
        padding: 0.2rem 0.1rem;
        text-decoration: none;
    }

    .site-mobile-bottom-nav a.is-active,
    .site-mobile-bottom-nav a:hover,
    .site-mobile-bottom-nav a:focus-visible {
        color: #fff;
        outline: 0;
    }

    .site-mobile-bottom-nav a.is-active .site-mobile-bottom-nav__icon {
        background: #fff;
        color: var(--crest-red);
    }

    .site-mobile-bottom-nav__icon {
        align-items: center;
        border: 1.5px solid rgba(255, 255, 255, 0.74);
        border-radius: 999px;
        display: inline-flex;
        height: 2rem;
        justify-content: center;
        position: relative;
        width: 2rem;
    }

    .site-mobile-bottom-nav__badge {
        align-items: center;
        background: #111;
        border: 2px solid #fff;
        border-radius: 999px;
        color: #fff;
        display: inline-flex;
        font-size: 0.64rem;
        font-weight: 900;
        height: 1.18rem;
        justify-content: center;
        line-height: 1;
        min-width: 1.18rem;
        padding: 0 0.22rem;
        position: absolute;
        right: -0.48rem;
        top: -0.4rem;
    }

.site-mobile-bottom-nav svg {
        display: block;
        fill: none;
        height: 1.15rem;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 2;
        width: 1.15rem;
    }
}

/* Mobile navigation repair: keep drawer actions and header utility icons explicit. */
@media (max-width: 980px) {
    body.is-mobile-menu-open .site-header__menu {
        z-index: 220;
    }

    .site-header__menu > .site-header__mobile-account-actions {
        display: none;
    }

    body.is-mobile-menu-open .site-header__menu > .site-header__mobile-account-actions {
        background: #fff;
        bottom: auto;
        display: grid !important;
        gap: 0.6rem;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: auto;
        padding: 0.75rem 0 0;
        position: sticky;
        right: auto;
        width: 100%;
        z-index: 2;
    }
}

@media (max-width: 760px) {
    .site-header__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .site-header__utilities {
        display: grid !important;
        grid-template-columns: repeat(3, 2.1rem);
    }

    .site-header__utilities.site-header__utilities--signed-in {
        grid-template-columns: repeat(4, 2.1rem);
    }

    .site-header__utilities .site-notifications {
        display: inline-flex !important;
        grid-column: 1;
        grid-row: 1;
    }

    .site-header__utilities .site-cart-link {
        display: inline-flex !important;
        grid-column: 1;
        grid-row: 1;
    }

    .site-header__utilities.site-header__utilities--signed-in .site-cart-link {
        grid-column: 2;
        grid-row: 1;
    }

    .site-header__utilities .site-profile-menu--mobile-utility {
        display: inline-flex !important;
        grid-column: 2;
        grid-row: 1;
    }

    .site-header__utilities.site-header__utilities--signed-in .site-profile-menu--mobile-utility {
        grid-column: 3;
        grid-row: 1;
    }

    .site-header__utilities .site-header__menu-toggle {
        display: inline-flex !important;
        grid-column: 3;
        grid-row: 1;
    }

    .site-header__utilities.site-header__utilities--signed-in .site-header__menu-toggle {
        grid-column: 4;
        grid-row: 1;
    }
}

.member-dashboard-shell {
    background: #f3f4f6;
    color: var(--off-black);
    min-height: 100vh;
}

.member-dashboard-frame {
    display: block;
    min-height: 100vh;
}

.member-dashboard-sidebar {
    background: #171d22;
    bottom: 0;
    color: #fff;
    left: 0;
    overflow-y: auto;
    padding: 1.25rem 0.85rem;
    position: fixed;
    top: 0;
    width: 16.5rem;
    z-index: 30;
}

.member-dashboard-brand {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    display: grid;
    gap: 0.15rem;
    padding: 0 0.35rem 1rem;
    text-decoration: none;
}

.member-dashboard-brand strong {
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
}

.member-dashboard-brand span {
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.78rem;
    font-weight: 700;
}

.member-dashboard-nav {
    display: grid;
    gap: 0.3rem;
    padding-top: 1rem;
}

.member-dashboard-nav__link {
    align-items: center;
    color: rgba(255, 255, 255, 0.78);
    display: flex;
    gap: 0.7rem;
    font-size: 0.84rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    padding: 0.75rem 0.65rem;
    text-decoration: none;
    text-transform: uppercase;
}

.member-dashboard-nav__link:hover,
.member-dashboard-nav__link.is-active {
    background: var(--crest-red);
    color: #fff;
}

.member-dashboard-nav__icon {
    display: inline-flex;
    height: 1.1rem;
    width: 1.1rem;
}

.member-dashboard-nav__icon svg {
    fill: none;
    height: 100%;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 100%;
}

.member-dashboard-main {
    margin-left: 16.5rem;
    min-width: 0;
}

.member-dashboard-header {
    align-items: center;
    background: #fff;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.4rem 2rem;
}

.member-dashboard-header h1 {
    font-size: clamp(1.9rem, 3vw, 3rem);
    line-height: 1.05;
    margin: 0;
}

.member-dashboard-header__actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: flex-end;
}

.member-dashboard-content {
    padding: 2rem;
}

.member-dashboard-panel,
.member-settings-section {
    background: #fff;
    border: 1px solid #ddd;
    margin-bottom: 1rem;
    padding: 1.35rem;
}

.member-dashboard-welcome h2,
.member-dashboard-panel h2,
.member-settings-section h2 {
    font-size: 1.45rem;
    line-height: 1.2;
    margin: 0 0 0.35rem;
}

.member-dashboard-welcome p,
.member-settings-section p,
.member-dashboard-panel p {
    color: #5e6772;
    margin: 0;
}

.member-dashboard-grid {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1.2rem;
}

.member-dashboard-card {
    background: #fff;
    border: 1px solid #dedede;
    color: inherit;
    display: grid;
    gap: 0.45rem;
    min-height: 9rem;
    padding: 1rem;
    text-decoration: none;
}

form.member-dashboard-card {
    font: inherit;
    text-align: left;
}

.member-dashboard-card--disabled,
.personal-todos-admin-card--disabled {
    background: #eeeeec;
    color: #555;
}

.member-dashboard-card--disabled .button,
.personal-todos-admin-card--disabled .button {
    justify-self: start;
    margin-top: 0.35rem;
}

.member-dashboard-card > span {
    color: var(--crest-red);
    display: inline-flex;
    height: 1.35rem;
    width: 1.35rem;
}

.member-dashboard-card svg {
    fill: none;
    height: 100%;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 100%;
}

.member-dashboard-card strong {
    font-size: 1rem;
    font-weight: 900;
}

.member-dashboard-card small,
.member-dashboard-empty {
    color: #6b7280;
    font-size: 0.84rem;
    line-height: 1.45;
}

.member-dashboard-page .member-dashboard-overview {
    display: grid;
    gap: 1rem;
}

.member-dashboard-page .member-dashboard-welcome,
.member-dashboard-page .member-dashboard-feature,
.member-dashboard-page .member-dashboard-card {
    background: #fff;
    border: 1px solid #dcdcde;
}

.member-dashboard-page .member-dashboard-welcome {
    padding: clamp(1.1rem, 2vw, 1.5rem);
}

.member-dashboard-kicker {
    color: var(--crest-red);
    display: block;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
}

.member-dashboard-feature-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.member-dashboard-feature {
    display: grid;
    gap: 1rem;
    padding: clamp(1rem, 2vw, 1.35rem);
}

.member-dashboard-feature__head {
    align-items: start;
    display: grid;
    gap: 0.85rem;
    grid-template-columns: 2.2rem minmax(0, 1fr);
}

.member-dashboard-feature__head > span {
    align-items: center;
    background: #111;
    color: #fff;
    display: inline-flex;
    height: 2.2rem;
    justify-content: center;
    width: 2.2rem;
}

.member-dashboard-feature__head svg {
    fill: none;
    height: 1.12rem;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 1.12rem;
}

.member-dashboard-feature h3 {
    color: #111;
    font-size: 1.18rem;
    line-height: 1.2;
    margin: 0;
}

.member-dashboard-feature p {
    color: #596270;
    font-size: 0.92rem;
    line-height: 1.5;
    margin: 0.25rem 0 0;
}

.member-dashboard-work-list {
    display: grid;
    gap: 0.55rem;
}

.member-dashboard-work-item {
    border-left: 4px solid var(--crest-red);
    display: grid;
    gap: 0.18rem;
    padding: 0.62rem 0.75rem;
}

.member-dashboard-work-item span {
    color: var(--crest-red);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.member-dashboard-work-item strong {
    color: #111;
    font-size: 0.94rem;
    line-height: 1.2;
}

.member-dashboard-work-item small {
    color: #596270;
    font-size: 0.78rem;
    line-height: 1.35;
}

.member-dashboard-feature__action {
    justify-self: start;
    margin-top: auto;
}

.member-dashboard-den-students {
    display: grid;
    gap: 0.55rem;
}

.member-dashboard-den-student {
    align-items: center;
    background: #f6f7f7;
    display: grid;
    gap: 0.65rem;
    grid-template-columns: 2.25rem minmax(0, 1fr);
    padding: 0.62rem;
}

.member-dashboard-den-student__avatar {
    align-items: center;
    background: #111;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 900;
    height: 2.25rem;
    justify-content: center;
    width: 2.25rem;
}

.member-dashboard-den-student strong {
    color: #111;
    display: block;
    font-size: 0.92rem;
    line-height: 1.2;
}

.member-dashboard-den-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.25rem;
}

.member-dashboard-den-badges span {
    align-items: center;
    background: #111;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 0.68rem;
    font-weight: 900;
    justify-content: center;
    min-height: 1.4rem;
    min-width: 1.4rem;
    padding: 0.12rem 0.42rem;
}

.member-dashboard-den-group {
    display: grid;
    gap: 0.35rem;
}

.member-dashboard-den-group h4 {
    color: #596270;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    margin: 0;
    text-transform: uppercase;
}

.member-dashboard-den-group ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.member-dashboard-den-group li {
    align-items: center;
    background: #f6f7f7;
    color: #111;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 800;
    gap: 0.25rem;
    min-height: 1.8rem;
    padding: 0.25rem 0.55rem;
}

.member-dashboard-den-group li span {
    color: #d6a300;
}

.member-settings-den-members {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.member-settings-den-members span {
    align-items: center;
    background: #f8fafc;
    border: 1px solid rgba(17, 24, 39, 0.14);
    border-radius: 999px;
    color: #111827;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 800;
    gap: 0.35rem;
    padding: 0.35rem 0.6rem;
}

.member-settings-den-members strong {
    color: #d6a300;
    font-size: 0.95rem;
}

.member-dashboard-grid--utility {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1120px) {
    .dashboard-shell--member-only .admin-header {
        align-items: flex-start;
        display: grid;
        gap: 1rem;
    }

    .dashboard-shell--member-only .admin-header__actions {
        justify-content: flex-start;
    }

    .member-dashboard-feature-grid,
    .member-dashboard-grid--utility {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .member-dashboard-feature-grid,
    .member-dashboard-grid--utility {
        grid-template-columns: 1fr;
    }

    .member-dashboard-feature__head {
        grid-template-columns: 1.95rem minmax(0, 1fr);
    }

    .member-dashboard-feature__head > span {
        height: 1.95rem;
        width: 1.95rem;
    }
}

.member-settings-tabs {
    background: #fff;
    border: 1px solid #ddd;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
}

.member-settings-tabs a {
    color: #3f4650;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    padding: 0.55rem 0.75rem;
    text-decoration: none;
    text-transform: uppercase;
}

.member-settings-tabs a:hover,
.member-settings-tabs a:focus-visible {
    background: #f1f1f1;
    outline: 0;
}

.member-settings-card {
    border-top: 1px solid #e0e0e0;
    margin-top: 1rem;
    padding-top: 1rem;
}

.member-settings-list {
    display: grid;
    gap: 0.55rem;
    margin: 0 0 1rem;
}

.member-settings-list div {
    display: grid;
    gap: 0.15rem;
}

.member-settings-list dt,
.member-settings-form span,
.member-toggle-list span {
    color: #6b7280;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.member-settings-list dd {
    font-weight: 800;
    margin: 0;
}

.member-settings-form {
    display: grid;
    gap: 0.8rem;
    max-width: 48rem;
}

.member-settings-form--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.member-settings-form label,
.member-toggle-list label {
    display: grid;
    gap: 0.3rem;
}

.member-settings-form input {
    border: 1px solid #cfd4dc;
    min-height: 2.6rem;
    padding: 0.55rem 0.65rem;
    width: 100%;
}

.member-settings-form .is-wide {
    grid-column: 1 / -1;
}

.member-toggle-list {
    display: grid;
    gap: 0.65rem;
    max-width: 42rem;
}

.member-toggle-list label {
    align-items: center;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    min-height: 2.6rem;
}

.member-toggle-list input {
    height: 1.1rem;
    width: 1.1rem;
}

.member-order-list {
    display: grid;
    gap: 0.65rem;
    margin-top: 1rem;
}

.member-order-row {
    align-items: center;
    border: 1px solid #e0e0e0;
    display: grid;
    gap: 0.35rem;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0.8rem;
}

.member-order-row small {
    color: #6b7280;
    grid-column: 1 / -1;
}

@media (max-width: 880px) {
    .member-dashboard-frame {
        display: grid;
        grid-template-columns: 1fr;
    }

    .member-dashboard-sidebar {
        bottom: auto;
        left: auto;
        max-height: none;
        overflow-x: auto;
        overflow-y: visible;
        padding: 0.8rem;
        position: sticky;
        top: 0;
        width: auto;
        z-index: 30;
    }

    .member-dashboard-main {
        margin-left: 0;
    }

    .member-dashboard-brand {
        padding-bottom: 0.75rem;
    }

    .member-dashboard-nav {
        display: flex;
        overflow-x: auto;
        padding-top: 0.75rem;
    }

    .member-dashboard-nav__link {
        flex: 0 0 auto;
    }

    .member-dashboard-header,
    .member-dashboard-content {
        padding: 1rem;
    }

    .member-dashboard-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .member-dashboard-grid,
    .member-settings-form--grid {
        grid-template-columns: 1fr;
    }
}

.git-review-checklist {
    display: grid;
    gap: 0.55rem;
    margin: 0.35rem 0 1rem;
}

.git-review-checklist__item {
    align-items: flex-start;
    border: 1px solid #e2e2e2;
    display: grid;
    gap: 0.65rem;
    grid-template-columns: auto minmax(0, 1fr);
    line-height: 1.45;
    padding: 0.65rem 0.75rem;
}

.git-review-checklist__item input {
    height: 1.05rem;
    margin-top: 0.16rem;
    width: 1.05rem;
}

.git-review-checklist__item:has(input:checked) {
    background: #f5f7f5;
    color: #506050;
}

.git-review-checklist__item:has(input:checked) span {
    text-decoration: line-through;
    text-decoration-thickness: 1px;
    text-decoration-color: #9aa69a;
}

.git-review-checklist__status {
    color: #68707a;
    font-size: 0.78rem;
    font-weight: 800;
    margin: 0.15rem 0 0;
}

.git-review-checklist__status[data-state="saving"] {
    color: #7a5b00;
}

.git-review-checklist__status[data-state="saved"] {
    color: #1f6f3a;
}

.git-review-checklist__status[data-state="error"] {
    color: var(--crest-red);
}

@media (max-width: 900px) {
    .member-sidebar__profile-main {
        gap: 0;
        padding: 0;
    }

    .member-sidebar__avatar-wrap,
    .member-sidebar__profile-main > div:has(h2) {
        display: none;
    }

    .member-sidebar__profile-actions {
        background: #fff;
        border-bottom: 1px solid #e3e3e3;
        border-top: 1px solid #e3e3e3;
        display: grid;
        gap: 0;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        justify-content: stretch;
        width: 100%;
    }

    .member-sidebar__profile-actions a {
        border: 0;
        border-radius: 0;
        height: 3.2rem;
        width: 100%;
    }
}


.feed-author-link {
    color: inherit;
    text-decoration: none;
}

.feed-author-link:hover,
.feed-author-link:focus-visible {
    color: var(--crest-red);
    outline: 0;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

.feed-author-link--avatar {
    border-radius: 999px;
    display: inline-flex;
    flex: 0 0 auto;
}

.feed-author-link--avatar:hover,
.feed-author-link--avatar:focus-visible {
    box-shadow: 0 0 0 2px rgba(190, 30, 45, 0.22);
    text-decoration: none;
}

.social-profile__contact-list {
    display: grid;
    gap: 0.75rem;
}

.social-profile__contact-list article {
    align-items: center;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 2.25rem minmax(0, 1fr) auto;
    min-width: 0;
}

.social-profile__contact-icon {
    align-items: center;
    background: #f1f3f5;
    border-radius: 999px;
    color: #5c6672;
    display: inline-flex;
    flex: 0 0 2.25rem;
    height: 2.25rem;
    justify-content: center;
    width: 2.25rem;
}

.social-profile__contact-icon svg {
    fill: none;
    height: 1rem;
    max-height: 1rem;
    max-width: 1rem;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 1rem;
}

.social-profile__contact-body {
    min-width: 0;
}

.social-profile__contact-body a,
.social-profile__contact-body span,
.social-profile__contact-body address {
    overflow-wrap: anywhere;
}

.tiger-den-student {
    align-items: center;
    display: grid;
    gap: 0.65rem;
    grid-template-columns: minmax(0, 1fr) auto;
}

.tiger-den-student__name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tiger-den-badges {
    justify-content: flex-end;
}

.tiger-den-person-link {
    color: inherit;
    min-width: 0;
    text-decoration: none;
}

.tiger-den-person-link:hover,
.tiger-den-person-link:focus-visible {
    color: var(--crest-red);
    outline: 0;
    text-decoration: underline;
    text-underline-offset: 0.16em;
}

.tiger-den-owner-star {
    align-items: center;
    color: #c29a1d;
    cursor: help;
    display: inline-flex;
    font-size: 0.86rem;
    justify-content: center;
    line-height: 1;
    margin-left: 0.35rem;
    position: relative;
}

.tiger-den-owner-star::after {
    background: #171d22;
    color: #fff;
    content: attr(data-tooltip);
    font-size: 0.72rem;
    font-weight: 800;
    left: 50%;
    line-height: 1.25;
    max-width: 16rem;
    opacity: 0;
    padding: 0.45rem 0.55rem;
    pointer-events: none;
    position: absolute;
    text-align: center;
    top: calc(100% + 0.45rem);
    transform: translateX(-50%) translateY(-0.2rem);
    transition: opacity 0.15s ease, transform 0.15s ease;
    width: max-content;
    z-index: 20;
}

.tiger-den-owner-star:hover::after,
.tiger-den-owner-star:focus-visible::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.member-sidebar-list--compact li {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.15rem;
    min-width: 0;
}

.member-dashboard-shell,
.member-dashboard-frame,
.member-dashboard-main,
.member-dashboard-content,
.member-dashboard-panel,
.member-settings-section,
.member-settings-card,
.member-settings-form,
.member-settings-form label {
    max-width: 100%;
    min-width: 0;
}

.member-dashboard-shell {
    overflow-x: hidden;
}

.member-settings-form input,
.member-settings-form select,
.member-settings-form textarea {
    box-sizing: border-box;
    min-width: 0;
}

@media (max-width: 700px) {
    .social-profile__contact-list article {
        grid-template-columns: 2rem minmax(0, 1fr);
    }

    .social-profile__contact-icon {
        flex-basis: 2rem;
        height: 2rem;
        width: 2rem;
    }

    .social-profile__contact-list article > .profile-edit-trigger,
    .social-profile__contact-list article > button {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width: 880px) {
    .member-dashboard-frame {
        max-width: 100vw;
        overflow-x: hidden;
    }

    .member-dashboard-content {
        overflow-x: hidden;
    }

    .member-settings-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .member-settings-tabs a {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .member-order-row {
        grid-template-columns: 1fr;
    }
}


/* Member mobile and notification polish */
.site-notifications {
    align-self: center;
    position: relative;
}

.site-notifications summary {
    list-style: none;
}

.site-notifications summary::-webkit-details-marker {
    display: none;
}

.site-notification-link {
    position: relative;
}

.site-notification-link__badge {
    align-items: center;
    background: var(--crest-red);
    border: 2px solid #111;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 0.62rem;
    font-weight: 900;
    height: 1.1rem;
    justify-content: center;
    min-width: 1.1rem;
    padding: 0 0.2rem;
    position: absolute;
    right: -0.25rem;
    top: -0.25rem;
}

.site-notifications__panel {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
    color: var(--off-black);
    max-height: min(32rem, calc(100vh - 7rem));
    min-width: 22rem;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    width: min(24rem, calc(100vw - 1.5rem));
    z-index: 95;
}

.site-notifications__tabs {
    border-bottom: 1px solid #e5e5e5;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 0.35rem;
}

.site-notifications__tabs button {
    background: transparent;
    border: 0;
    color: #59616b;
    font-size: 0.78rem;
    font-weight: 900;
    padding: 0.6rem;
    text-transform: uppercase;
}

.site-notifications__tabs button.is-active {
    background: #f1f1f1;
    color: var(--off-black);
}

.site-notifications__list {
    display: grid;
    max-height: min(26rem, calc(100vh - 12rem));
    overflow-y: auto;
}

.site-notifications__list[hidden] {
    display: none;
}

.site-notifications__item {
    border-bottom: 1px solid #ededed;
    color: inherit;
    display: grid;
    gap: 0.18rem;
    padding: 0.8rem 0.9rem;
    text-decoration: none;
}

.site-notifications__item:hover,
.site-notifications__item:focus-visible {
    background: #f7f7f7;
    outline: 0;
}

.site-notifications__item strong {
    font-size: 0.86rem;
    line-height: 1.25;
}

.site-notifications__item span,
.site-notifications__item small,
.site-notifications__empty {
    color: #6a727c;
    font-size: 0.76rem;
    line-height: 1.35;
}

.site-notifications__empty {
    margin: 0;
    padding: 1rem;
}

.social-profile__den-popover {
    position: relative;
}

.social-profile__den-popover summary {
    background: #f1f3f5;
    border-radius: 999px;
    color: #3f4650;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 900;
    list-style: none;
    padding: 0.35rem 0.65rem;
}

.social-profile__den-popover summary::-webkit-details-marker {
    display: none;
}

.social-profile__den-panel {
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
    left: 0;
    min-width: 18rem;
    padding: 1rem;
    position: absolute;
    top: calc(100% + 0.45rem);
    z-index: 40;
}

body.member-dashboard-shell,
.member-dashboard-shell * {
    box-sizing: border-box;
}

body.member-dashboard-shell {
    max-width: 100vw;
    overflow-x: hidden;
}

.member-dashboard-frame,
.member-dashboard-main,
.member-dashboard-content,
.member-settings,
.member-settings-section,
.member-settings-card,
.member-settings-form,
.member-settings-form label,
.member-settings-list,
.member-toggle-list,
.member-dashboard-header,
.member-dashboard-header > div {
    max-width: 100%;
    min-width: 0;
}

.member-settings-form input,
.member-settings-form button,
.member-toggle-list button {
    max-width: 100%;
}

@media (max-width: 900px) {
    .member-sidebar__avatar-wrap {
        display: none;
    }

    .member-sidebar__profile-main > div:has(h2) {
        display: block;
        text-align: center;
    }

    .member-sidebar__profile-main h2 {
        font-size: 1rem;
        margin: 0.45rem 0 0.7rem;
    }
}

@media (max-width: 880px) {
    .member-dashboard-frame {
        display: block;
        width: 100%;
    }

    .member-dashboard-sidebar,
    .member-dashboard-header,
    .member-dashboard-content {
        max-width: 100vw;
        padding-left: 0.85rem;
        padding-right: 0.85rem;
        width: 100%;
    }

    .member-dashboard-nav {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        overflow: visible;
        width: 100%;
    }

    .member-dashboard-nav__link {
        flex: initial;
        font-size: 0.66rem;
        gap: 0.35rem;
        justify-content: center;
        min-width: 0;
        padding: 0.65rem 0.25rem;
    }

    .member-dashboard-nav__link span:last-child {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .member-dashboard-header__actions {
        justify-content: flex-start;
        width: 100%;
    }

    .member-settings-section {
        padding: 1rem;
    }

    .member-toggle-list label {
        align-items: flex-start;
        gap: 0.75rem;
    }

    .member-toggle-list input {
        flex: 0 0 auto;
    }
}

@media (max-width: 600px) {
    .site-notifications__panel {
        position: fixed;
        right: 0.75rem;
        top: 4.5rem;
        width: calc(100vw - 1.5rem);
        min-width: 0;
    }

    .social-profile__den-panel {
        left: auto;
        right: 0;
        min-width: min(18rem, calc(100vw - 2rem));
    }
}


/* Dismissible flash messages and profile Tiger Den popover cleanup */
.flash-stack {
    display: grid;
    gap: 0.55rem;
    max-width: min(28rem, calc(100vw - 2rem));
    position: fixed;
    right: 1rem;
    top: 1rem;
    z-index: 120;
}

.flash {
    align-items: center;
    background: #ecf8ef;
    border: 1px solid #bfdfc8;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.16);
    color: #14532d;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(0, 1fr) auto;
    line-height: 1.35;
    padding: 0.75rem 0.75rem 0.75rem 0.9rem;
}

.flash--error {
    background: #fff1f1;
    border-color: #efcaca;
    color: #7f1d1d;
}

.flash__close {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: currentColor;
    cursor: pointer;
    display: inline-flex;
    font-size: 1.2rem;
    font-weight: 800;
    height: 1.75rem;
    justify-content: center;
    line-height: 1;
    opacity: 0.68;
    padding: 0;
    width: 1.75rem;
}

.flash__close:hover,
.flash__close:focus-visible {
    background: rgba(0, 0, 0, 0.08);
    opacity: 1;
    outline: 0;
}

.social-profile,
.social-profile__identity,
.social-profile__summary,
.social-profile__facts {
    overflow: visible;
}

.social-profile__den-popover {
    display: inline-block;
    z-index: 45;
}

.social-profile__den-popover[open] {
    z-index: 75;
}

.social-profile__den-panel.tiger-den-card {
    background: #fff;
    border: 0;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
    color: var(--off-black);
    display: grid;
    gap: 0.9rem;
    left: 0;
    margin-top: 0.4rem;
    min-width: 19rem;
    padding: 1rem;
    position: absolute;
    text-align: left;
    top: 100%;
    width: max-content;
    z-index: 80;
}

.social-profile__den-panel::before {
    background: var(--crest-red);
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 4px;
}

.social-profile__den-panel .tiger-den-group {
    display: grid;
    gap: 0.45rem;
}

.social-profile__den-panel .tiger-den-group h4 {
    color: #6b7280;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    margin: 0;
    text-transform: uppercase;
}

.social-profile__facts .social-profile__den-panel .member-sidebar-list span,
.social-profile__facts .social-profile__den-panel .member-sidebar-list small,
.social-profile__facts .social-profile__den-panel .member-sidebar-list li {
    background: transparent;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    padding: 0;
}

.social-profile__den-panel .member-sidebar-list span {
    color: #111827;
    font-size: 0.88rem;
    font-weight: 850;
}

@media (max-width: 600px) {
    .flash-stack {
        left: 0.75rem;
        max-width: none;
        right: 0.75rem;
        top: 0.75rem;
    }

    .social-profile__den-panel.tiger-den-card {
        left: 50%;
        max-width: calc(100vw - 2rem);
        min-width: min(19rem, calc(100vw - 2rem));
        right: auto;
        transform: translateX(-50%);
        width: calc(100vw - 2rem);
    }
}


.social-profile__den-panel .tiger-den-students {
    gap: 0.5rem;
}

.social-profile__den-panel .tiger-den-student {
    background: #f7f8fa;
    grid-template-columns: minmax(0, 1fr) auto;
    min-width: 17rem;
}

.social-profile__den-panel .tiger-den-student__name {
    color: #111827;
    font-size: 0.9rem;
}

.social-profile__den-panel .tiger-den-badges {
    justify-content: flex-end;
}

.social-profile__facts .social-profile__den-panel .tiger-den-badge span {
    background: transparent;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    padding: 0;
}

.tiger-den-badge,
.tiger-den-badge--brass,
.tiger-den-badge--woodwind,
.tiger-den-badge--percussion,
.tiger-den-badge--guard,
.tiger-den-badge--props,
.tiger-den-badge--leadership,
.tiger-den-badge--empty,
.tiger-den-badge--grade {
    background: #111827;
    border-color: #111827;
    color: #fff;
}

.tiger-den-badge--empty {
    color: #fff;
}

.social-profile__facts .social-profile__den-panel .tiger-den-owner-star,
.social-profile__den-panel .tiger-den-owner-star {
    color: #c29a1d;
}

.social-profile__den-panel .tiger-den-badge,
.social-profile__den-panel .tiger-den-badge--brass,
.social-profile__den-panel .tiger-den-badge--woodwind,
.social-profile__den-panel .tiger-den-badge--percussion,
.social-profile__den-panel .tiger-den-badge--guard,
.social-profile__den-panel .tiger-den-badge--props,
.social-profile__den-panel .tiger-den-badge--leadership,
.social-profile__den-panel .tiger-den-badge--empty,
.social-profile__den-panel .tiger-den-badge--grade {
    background: #111827;
    border-color: #111827;
    color: #fff;
}

.social-profile__panel {
    display: grid;
    gap: 0.85rem;
    padding: 1.2rem;
}

.social-profile__panel > h2 {
    margin: 0;
}

.social-profile__panel .social-profile__den-panel--tab.tiger-den-card {
    box-shadow: none;
    left: auto;
    margin-top: 0;
    min-width: 0;
    position: relative;
    top: auto;
    transform: none;
    width: min(34rem, 100%);
    z-index: auto;
}

.social-profile__panel .social-profile__den-panel--tab .tiger-den-student {
    min-width: 0;
}

@media (max-width: 600px) {
    .social-profile__panel .social-profile__den-panel--tab.tiger-den-card {
        left: auto;
        max-width: 100%;
        min-width: 0;
        right: auto;
        transform: none;
        width: 100%;
    }
}

/* Member photo library */
.site-photo-page main {
    background: #f7f4ef;
}

.photo-hub {
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(28px, 5vw, 58px) 20px 72px;
}

.photo-hub--album {
    max-width: min(1680px, calc(100% - 32px));
    padding-left: 0;
    padding-right: 0;
}

.photo-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
    gap: 24px;
    align-items: end;
    padding: clamp(28px, 5vw, 56px);
    background: #161313;
    color: #fff;
    border-radius: 0;
    box-shadow: 0 24px 70px rgba(22, 19, 19, .22);
    position: relative;
    overflow: hidden;
}

.photo-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(203, 44, 48, .42), transparent 58%), repeating-linear-gradient(90deg, rgba(255,255,255,.05), rgba(255,255,255,.05) 1px, transparent 1px, transparent 12px);
    pointer-events: none;
}

.photo-hero > * {
    position: relative;
    z-index: 1;
}

.photo-hero h1 {
    margin: 6px 0 12px;
    max-width: 780px;
    font-size: clamp(2.2rem, 7vw, 5.2rem);
    line-height: .92;
    letter-spacing: 0;
}

.photo-hero p {
    max-width: 650px;
    margin: 0;
    color: rgba(255,255,255,.78);
    font-size: 1.04rem;
}

.photo-backlink {
    display: inline-flex;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    margin-bottom: 12px;
}

.photo-search {
    display: flex;
    gap: 8px;
    background: rgba(255,255,255,.12);
    padding: 8px;
    border: 1px solid rgba(255,255,255,.2);
}

.photo-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    padding: 13px 14px;
    font: inherit;
}

.photo-search button,
.photo-actions button,
.photo-tile__button {
    cursor: pointer;
}

.photo-search button,
.photo-actions button {
    border: 0;
    background: #cb2c30;
    color: #fff;
    padding: 12px 14px;
    font-weight: 800;
}

.photo-filterbar {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0 30px;
}

.photo-filterbar a,
.photo-chip-list a {
    color: #2b2522;
    text-decoration: none;
    border: 1px solid rgba(43,37,34,.18);
    background: #fff;
    padding: 9px 12px;
    font-weight: 800;
    font-size: .86rem;
}

.photo-filterbar a.is-active {
    background: #2b2522;
    color: #fff;
}

.photo-tag-search {
    align-items: center;
    display: flex;
    gap: 8px;
    margin: 0;
}

.photo-tag-search input {
    border: 1px solid rgba(43,37,34,.18);
    color: #201b18;
    font: inherit;
    font-size: .86rem;
    font-weight: 800;
    min-height: 2.35rem;
    min-width: min(64vw, 15rem);
    padding: 8px 10px;
}

.photo-tag-search button {
    background: #2b2522;
    border: 0;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: .82rem;
    font-weight: 900;
    min-height: 2.35rem;
    padding: 8px 11px;
}

.photo-album-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.photo-album-card-shell {
    display: block;
    min-height: 360px;
    position: relative;
}

.photo-album-card {
    display: grid;
    height: 100%;
    min-height: 360px;
    color: #fff;
    text-decoration: none;
    background: #211c1a;
    position: relative;
    overflow: hidden;
}

.photo-hero--album {
    position: relative;
}

.photo-album-edit-trigger {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(0,0,0,.14);
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(0,0,0,.18);
    color: #111;
    cursor: pointer;
    display: inline-flex;
    height: 2.35rem;
    justify-content: center;
    padding: 0;
    position: absolute;
    right: 12px;
    top: 12px;
    width: 2.35rem;
    z-index: 4;
}

.photo-hero--album .photo-album-edit-trigger {
    right: 14px;
    top: 14px;
}

.photo-album-edit-trigger:hover,
.photo-album-edit-trigger:focus-visible {
    background: #fff;
    border-color: rgba(0,0,0,.32);
    color: #000;
}

.photo-album-edit-trigger svg {
    fill: none;
    height: 1.08rem;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
    width: 1.08rem;
}

.photo-album-card__image,
.photo-album-card__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.photo-album-card__image img {
    object-fit: cover;
    transition: transform .35s ease;
}

.photo-album-card:hover .photo-album-card__image img {
    transform: scale(1.05);
}

.photo-album-card__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,.78));
}

.photo-album-card__copy {
    position: relative;
    z-index: 1;
    align-self: end;
    padding: 22px;
    display: grid;
    gap: 7px;
}

.photo-album-card__copy span,
.photo-album-card__copy small,
.photo-section__header .eyebrow {
    text-transform: uppercase;
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .08em;
}

.photo-album-card__copy strong {
    font-size: clamp(1.4rem, 3vw, 2.1rem);
    line-height: 1;
}

.photo-section {
    margin-top: 32px;
}

.photo-section__header h2 {
    margin: 4px 0 20px;
    font-size: clamp(1.8rem, 4vw, 3rem);
}

.photo-masonry {
    columns: 4 220px;
    column-gap: 14px;
}

.photo-masonry--album {
    columns: auto;
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
}

.photo-tile {
    break-inside: avoid;
    margin: 0 0 14px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(31, 26, 22, .08);
}

.photo-tile--album {
    break-inside: auto;
    display: grid;
    margin: 0;
}

.photo-tile__button {
    display: block;
    width: 100%;
    border: 0;
    padding: 0;
    background: #111;
}

.photo-tile img {
    display: block;
    width: 100%;
    height: auto;
}

.photo-tile--album .photo-tile__button img {
    aspect-ratio: 4 / 3;
    height: 100%;
    object-fit: cover;
}

.photo-tile__meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    color: #5c514c;
    font-size: .78rem;
    font-weight: 800;
}

.photo-tile__frame {
    align-items: start;
    display: grid;
    gap: 10px;
    grid-template-columns: auto minmax(0, 1fr);
    padding: 10px;
}

.photo-save-button {
    background: #cb2c30;
    border: 0;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: .82rem;
    font-weight: 900;
    min-height: 2.5rem;
    padding: 0 14px;
    text-transform: uppercase;
}

.photo-save-button.is-saved {
    background: #1f7a45;
}

.photo-tile__tagger {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.photo-tile__tagger .person-multi-picker {
    border-color: rgba(43,37,34,.12);
    gap: 6px;
    min-width: 0;
    padding: 6px;
}

.photo-tile__tagger .person-multi-picker__chips {
    min-height: 1.7rem;
}

.photo-tile__tagger .person-multi-picker:not(.has-selection) .person-multi-picker__chips {
    display: none;
}

.photo-tile__tagger .person-multi-picker__empty {
    align-items: center;
    display: inline-flex;
    min-height: 1.7rem;
    padding: 0 2px;
}

.photo-tile__tagger .person-multi-picker__chip {
    border-radius: 999px;
    gap: 0;
    padding: 0;
}

.photo-tile__tagger .person-multi-picker__chip img,
.photo-tile__tagger .person-multi-picker__chip span {
    height: 1.75rem;
    width: 1.75rem;
}

.photo-tile__tagger .person-multi-picker__chip strong {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.photo-tile__tagger .person-multi-picker__chip b {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(43,37,34,.18);
    border-radius: 999px;
    color: #2b2522;
    display: inline-flex;
    height: 1rem;
    justify-content: center;
    margin-left: -0.42rem;
    width: 1rem;
}

.photo-tile__tagger .person-multi-picker__input {
    font-size: .84rem;
    min-width: 0;
    padding: 4px 2px 2px;
    width: 100%;
}

.photo-tile__tag-status {
    color: #1f7a45;
    font-size: .72rem;
    font-weight: 900;
    min-height: .9rem;
}

.photo-viewer {
    width: min(1180px, calc(100vw - 24px));
    max-width: none;
    height: min(760px, calc(100vh - 24px));
    border: 0;
    padding: 0;
    background: #111;
    color: #fff;
}

.photo-viewer::backdrop {
    background: rgba(0,0,0,.78);
}

.photo-viewer__frame {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    height: 100%;
}

.photo-viewer figure {
    display: grid;
    place-items: center;
    margin: 0;
    min-width: 0;
    background: #080706;
}

.photo-viewer figure img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.photo-viewer__panel {
    overflow: auto;
    padding: 24px;
    background: #f8f4ed;
    color: #201b18;
}

.photo-viewer__panel h2 {
    margin: 5px 0 16px;
    font-size: 1.25rem;
    word-break: break-word;
}

.photo-viewer__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    border: 0;
    background: #fff;
    color: #111;
    padding: 9px 12px;
    font-weight: 900;
}

.photo-chip-list,
.photo-people-list,
.photo-actions {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.photo-chip-list {
    display: flex;
    flex-wrap: wrap;
}

.photo-people-list span {
    display: inline-flex;
    margin: 4px 4px 0 0;
    padding: 7px 9px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.1);
    font-weight: 800;
    font-size: .82rem;
}

.photo-downloads {
    background: #fff;
    border: 1px solid rgba(0,0,0,.1);
    padding: 10px;
}

.photo-downloads summary {
    cursor: pointer;
    font-weight: 900;
}

.photo-downloads div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.photo-downloads a {
    background: #171717;
    color: #fff;
    font-size: .78rem;
    font-weight: 900;
    padding: 8px 10px;
    text-decoration: none;
}

.photo-actions form {
    display: grid;
    gap: 8px;
}

.photo-actions textarea {
    width: 100%;
    resize: vertical;
    border: 1px solid rgba(0,0,0,.16);
    padding: 10px;
    font: inherit;
}

.photo-empty {
    padding: 28px;
    background: #fff;
    color: #5c514c;
    font-weight: 800;
    text-align: center;
}

.photo-pagination {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(43,37,34,.12);
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    margin-top: 24px;
    padding: 14px;
}

.photo-pagination__summary {
    color: #5c514c;
    font-size: .86rem;
    font-weight: 900;
}

.photo-pagination__size,
.photo-pagination__size label,
.photo-pagination__pages {
    align-items: center;
    display: flex;
    gap: 8px;
}

.photo-pagination__size {
    margin: 0;
}

.photo-pagination__size span {
    color: #5c514c;
    font-size: .8rem;
    font-weight: 900;
}

.photo-pagination__size select {
    border: 1px solid rgba(43,37,34,.18);
    color: #201b18;
    font: inherit;
    font-weight: 900;
    padding: 8px 28px 8px 10px;
}

.photo-pagination__size button {
    background: #2b2522;
    border: 0;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: .78rem;
    font-weight: 900;
    padding: 9px 11px;
}

.photo-pagination__pages {
    justify-content: flex-end;
}

.photo-pagination__pages a,
.photo-pagination__pages span {
    align-items: center;
    border: 1px solid rgba(43,37,34,.16);
    color: #2b2522;
    display: inline-flex;
    font-size: .86rem;
    font-weight: 900;
    height: 2.25rem;
    justify-content: center;
    min-width: 2.25rem;
    padding: 0 .55rem;
    text-decoration: none;
}

.photo-pagination__pages a:hover,
.photo-pagination__pages a:focus-visible,
.photo-pagination__pages .is-active {
    background: #2b2522;
    color: #fff;
}

.photo-pagination__pages span[aria-disabled="true"] {
    color: rgba(43,37,34,.32);
}

.photo-album-editor {
    border: 0;
    max-width: min(560px, calc(100vw - 28px));
    padding: 0;
    width: 100%;
}

.photo-album-editor::backdrop {
    background: rgba(0,0,0,.55);
}

.photo-album-editor__panel {
    background: #fff;
    color: #201b18;
    display: grid;
    gap: 14px;
    padding: 22px;
}

.photo-album-editor__header {
    align-items: start;
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.photo-album-editor__header h2 {
    font-size: 1.45rem;
    letter-spacing: 0;
    line-height: 1.1;
    margin: 3px 0 0;
}

.photo-album-editor__close {
    align-items: center;
    background: #f3eee7;
    border: 1px solid rgba(43,37,34,.12);
    color: #2b2522;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 1.2rem;
    font-weight: 900;
    height: 2rem;
    justify-content: center;
    padding: 0;
    width: 2rem;
}

.photo-album-editor label {
    display: grid;
    gap: 6px;
}

.photo-album-editor label span {
    color: #5c514c;
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.photo-album-editor input,
.photo-album-editor select,
.photo-album-editor textarea {
    border: 1px solid rgba(43,37,34,.18);
    color: #201b18;
    font: inherit;
    padding: 10px;
    width: 100%;
}

.photo-album-editor__pair {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr 1fr;
}

.photo-album-editor__actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.photo-album-editor__actions button {
    border: 0;
    cursor: pointer;
    font: inherit;
    font-weight: 900;
    padding: 11px 14px;
}

.photo-album-editor__actions button[type="button"] {
    background: #f3eee7;
    color: #2b2522;
}

.photo-album-editor__actions button[type="submit"] {
    background: #cb2c30;
    color: #fff;
}

.photo-admin-shell {
    display: grid;
    gap: 1.25rem;
}

.photo-admin-hero {
    align-items: end;
    background: #171717;
    color: #fff;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1.35rem;
}

.photo-admin-hero h1 {
    color: inherit;
    font-size: 1.85rem;
    letter-spacing: 0;
    line-height: 1.1;
    margin: 0.15rem 0 0.3rem;
}

.photo-admin-hero p {
    color: rgba(255,255,255,.76);
    margin: 0;
    max-width: 54rem;
}

.photo-admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    justify-content: flex-end;
}

.photo-admin-stats {
    display: grid;
    gap: .8rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.photo-year-switcher {
    align-items: end;
    background: #fff;
    border: 1px solid var(--admin-border, rgba(0,0,0,.12));
    display: flex;
    gap: .85rem;
    justify-content: space-between;
    padding: .85rem;
}

.photo-year-switcher label {
    display: grid;
    gap: .35rem;
    min-width: min(100%, 18rem);
}

.photo-year-switcher span {
    color: #6d625c;
    font-size: .78rem;
    font-weight: 900;
}

.photo-year-switcher select {
    border: 1px solid rgba(0,0,0,.16);
    font: inherit;
    font-weight: 900;
    padding: .65rem .75rem;
}

.photo-admin-stats div,
.photo-admin-panel {
    background: #fff;
    border: 1px solid var(--admin-border, rgba(0,0,0,.12));
}

.photo-admin-stats div {
    display: grid;
    gap: .25rem;
    padding: 1rem;
}

.photo-admin-stats span,
.photo-admin-note,
.photo-person-picker__label {
    color: #6d625c;
    font-size: .78rem;
    font-weight: 800;
}

.photo-admin-stats strong {
    color: #171717;
    font-size: 1.55rem;
    line-height: 1;
}

.photo-admin-tabs {
    align-items: center;
    background: #fff;
    border: 1px solid var(--admin-border, rgba(0,0,0,.12));
    display: flex;
    gap: .35rem;
    overflow-x: auto;
    padding: .4rem;
}

.photo-admin-tab {
    background: transparent;
    border: 0;
    color: #5f5550;
    cursor: pointer;
    font: inherit;
    font-weight: 900;
    padding: .65rem .9rem;
}

.photo-admin-tab.is-active {
    background: #171717;
    color: #fff;
}

.photo-admin-tab-panel {
    display: grid;
    gap: 1rem;
}

.photo-admin-tab-panel[hidden] {
    display: none;
}

.photo-admin-command-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.photo-admin-command-grid--bottom {
    align-items: start;
}

.photo-admin-panel {
    display: grid;
    gap: 1rem;
    padding: 1rem;
}

.photo-admin-panel--wide {
    min-width: 0;
}

.photo-admin-panel--compact {
    align-content: start;
}

.photo-admin-panel__header {
    align-items: center;
    border-bottom: 1px solid var(--admin-border, rgba(0,0,0,.12));
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin: -1rem -1rem 0;
    padding: 1rem;
}

.photo-admin-panel__header h2 {
    color: #171717;
    font-size: 1.05rem;
    letter-spacing: 0;
    margin: .1rem 0 0;
}

.photo-admin-form {
    gap: .85rem;
}

.photo-admin-form__pair {
    display: grid;
    gap: .8rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.photo-admin-table-wrap {
    overflow-x: auto;
}

.photo-admin-table th,
.photo-admin-table td {
    vertical-align: middle;
}

.photo-admin-count {
    background: #f3f4f6;
    border-radius: 999px;
    display: inline-flex;
    font-weight: 800;
    min-width: 2.4rem;
    justify-content: center;
    padding: .3rem .55rem;
}

.photo-admin-row-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}

.photo-admin-tool-list {
    display: grid;
    gap: .7rem;
}

.photo-admin-tool-list a {
    border: 1px solid rgba(0,0,0,.1);
    color: inherit;
    display: grid;
    gap: .25rem;
    padding: .85rem;
    text-decoration: none;
}

.photo-admin-tool-list a:hover {
    border-color: #171717;
}

.photo-admin-tool-list span {
    color: #6d625c;
    font-size: .82rem;
    font-weight: 700;
}

.photo-admin-batch-list {
    display: grid;
    gap: .65rem;
}

.photo-admin-batch {
    align-items: center;
    border: 1px solid rgba(0,0,0,.1);
    color: inherit;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: .85rem;
    text-decoration: none;
}

.photo-admin-batch:hover {
    border-color: #1f2937;
}

.photo-admin-batch span {
    display: grid;
    gap: .2rem;
    min-width: 0;
}

.photo-admin-batch small {
    color: #6d625c;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.photo-admin-definition-list {
    display: grid;
    gap: .65rem;
    margin: 0;
}

.photo-admin-definition-list div {
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,.08);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding-bottom: .65rem;
}

.photo-admin-definition-list dt {
    color: #6d625c;
    font-size: .78rem;
    font-weight: 900;
}

.photo-admin-definition-list dd {
    color: #171717;
    font-weight: 900;
    margin: 0;
    text-align: right;
}

.admin-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.admin-photo-card {
    display: grid;
    align-content: start;
    gap: 0;
    border: 1px solid rgba(0,0,0,.1);
    background: #fff;
    overflow: visible;
}

.admin-photo-card__image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #111;
    display: block;
}

.admin-photo-card__form {
    display: grid;
    gap: .85rem;
    padding: .9rem;
}

.admin-photo-card label {
    display: grid;
    gap: 7px;
}

.admin-photo-card input {
    width: 100%;
}

.photo-chip-box,
.photo-person-picker__chips {
    align-items: center;
    border: 1px solid rgba(0,0,0,.16);
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    min-height: 2.7rem;
    padding: .35rem;
}

.photo-chip-box input {
    border: 0;
    flex: 1 1 8rem;
    min-width: 7rem;
    outline: 0;
    padding: .35rem;
}

.photo-chip,
.photo-person-chip {
    align-items: center;
    background: #f4f4f5;
    border: 1px solid rgba(0,0,0,.1);
    color: #171717;
    cursor: pointer;
    display: inline-flex;
    gap: .4rem;
    font-size: .78rem;
    font-weight: 800;
    padding: .28rem .45rem;
}

.photo-chip b,
.photo-person-chip b {
    color: #7f1d1d;
    font-size: .9rem;
    line-height: 1;
}

.photo-person-picker {
    display: grid;
    gap: .45rem;
    position: relative;
}

.photo-person-picker__search {
    position: relative;
}

.photo-person-picker__results {
    background: #fff;
    border: 1px solid rgba(0,0,0,.16);
    box-shadow: 0 14px 30px rgba(15,23,42,.14);
    left: 0;
    max-height: 16rem;
    overflow: auto;
    position: absolute;
    right: 0;
    top: calc(100% + .25rem);
    z-index: 20;
}

.photo-person-result {
    align-items: center;
    background: #fff;
    border: 0;
    border-bottom: 1px solid rgba(0,0,0,.07);
    cursor: pointer;
    display: flex;
    gap: .65rem;
    padding: .65rem;
    text-align: left;
    width: 100%;
}

.photo-person-result:hover,
.photo-person-result:focus {
    background: #f6f7f7;
}

.photo-person-result span:last-child {
    display: grid;
    gap: .1rem;
}

.photo-person-result small {
    color: #6d625c;
    font-weight: 800;
}

.photo-person-avatar {
    align-items: center;
    background: #171717;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    flex: 0 0 1.85rem;
    font-size: .68rem;
    font-weight: 900;
    height: 1.85rem;
    justify-content: center;
    overflow: hidden;
    width: 1.85rem;
}

.photo-person-avatar img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.photo-autosave-status {
    color: #1b6b3a;
    font-size: .76rem;
    font-weight: 900;
    min-height: 1rem;
}

.photo-autosave-status.is-error {
    color: #b42318;
}

@media (max-width: 800px) {
    .photo-admin-hero,
    .photo-admin-command-grid,
    .photo-admin-form__pair {
        grid-template-columns: 1fr;
    }

    .photo-admin-hero {
        align-items: stretch;
        display: grid;
    }

    .photo-year-switcher {
        align-items: stretch;
        flex-direction: column;
    }

    .photo-admin-stats {
        grid-template-columns: 1fr;
    }

    .photo-admin-actions {
        justify-content: flex-start;
    }

    .photo-hero,
    .photo-viewer__frame {
        grid-template-columns: 1fr;
    }

    .photo-viewer__panel {
        max-height: 42vh;
    }

    .photo-album-grid {
        grid-template-columns: 1fr;
    }

    .photo-album-editor__pair,
    .photo-masonry--album {
        grid-template-columns: 1fr;
    }

    .photo-tile__frame {
        grid-template-columns: 1fr;
    }

    .photo-search {
        display: grid;
    }

    .photo-pagination {
        align-items: stretch;
        grid-template-columns: 1fr;
    }

    .photo-pagination__size,
    .photo-pagination__size label,
    .photo-pagination__pages {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
}

/* Photo library follow-up: profile saved photos, tagging, and crop controls */
.profile-saved-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.profile-saved-photo {
    display: grid;
    gap: 8px;
    color: inherit;
    text-decoration: none;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    padding: 8px;
}

.profile-saved-photo img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: #151210;
}

.profile-saved-photo span {
    font-size: .78rem;
    font-weight: 800;
    color: #5f5550;
}

.photo-tag-editor {
    margin-top: 18px;
    padding: 12px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.1);
}

.photo-tag-editor summary {
    cursor: pointer;
    font-weight: 900;
}

.photo-tag-editor form,
.photo-tag-editor label {
    display: grid;
    gap: 7px;
}

.photo-tag-editor form {
    margin-top: 12px;
}

.photo-tag-editor input,
.photo-tag-editor select {
    width: 100%;
    border: 1px solid rgba(0,0,0,.16);
    padding: 9px;
    font: inherit;
}

.photo-crop-launcher {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.photo-library-cropper {
    display: grid;
    gap: 10px;
    padding: 12px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.1);
}

.photo-library-cropper[hidden] {
    display: none;
}

.photo-library-cropper canvas {
    width: 100%;
    height: auto;
    touch-action: none;
    background: #111;
    cursor: move;
}

.photo-library-cropper label {
    display: grid;
    gap: 6px;
    font-weight: 800;
}

.photo-library-cropper__buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

/* Photo import staging */
.photo-import-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin: 18px 0;
    padding: 12px;
    background: #f7f4ef;
    border: 1px solid rgba(0,0,0,.08);
}

.photo-import-toolbar__status {
    display: grid;
    gap: 3px;
}

.photo-import-toolbar__status small {
    color: #6d625c;
    font-weight: 800;
}

.photo-import-album {
    border: 1px solid rgba(0,0,0,.1);
    background: #fff;
    margin: 18px 0;
}

.photo-import-album__header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding: 14px;
    background: #f7f4ef;
    border-bottom: 1px solid rgba(0,0,0,.08);
}

.photo-import-album__header h3 {
    margin: 0;
    font-size: 1.05rem;
}

.photo-import-album__header p {
    margin: 4px 0 0;
    color: #6d625c;
    font-size: .82rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.photo-import-album__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    align-items: center;
}

.photo-import-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 14px;
    padding: 14px;
}

.photo-import-card {
    display: grid;
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(0,0,0,.1);
    background: #fff;
    cursor: pointer;
}

.photo-import-card input {
    width: 18px;
    height: 18px;
}

.photo-import-card__thumb {
    display: block;
    aspect-ratio: 1;
    background: #161313;
    overflow: hidden;
}

.photo-import-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-import-card__meta {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.photo-import-card__meta strong,
.photo-import-card__meta small {
    overflow-wrap: anywhere;
}

.photo-import-card__meta small {
    color: #6d625c;
    font-size: .76rem;
    font-weight: 700;
}

.photo-import-card__meta em {
    color: #1b6b3a;
    font-size: .72rem;
    font-style: normal;
    font-weight: 900;
    text-transform: uppercase;
}

.photo-import-card--imported {
    background: #f5fbf7;
    border-color: rgba(27,107,58,.22);
    cursor: default;
    opacity: .72;
}

.photo-import-card--imported .photo-import-card__thumb img {
    filter: saturate(.75);
}

@media (max-width: 700px) {
    .photo-import-toolbar,
    .photo-import-album__header {
        align-items: stretch;
        flex-direction: column;
    }

    .photo-import-album__actions {
        justify-content: flex-start;
    }
}


/* Personal to-do popover and review checklist cleanup */
.brand-logo-link,
.brand-logo-button,
.brand-copy {
    color: inherit;
    text-decoration: none;
}

.brand-logo-button {
    background: transparent;
    border: 0;
    cursor: pointer;
    flex: 0 0 auto;
    padding: 0;
}

.brand-logo-button:focus-visible {
    border-radius: 999px;
    outline: 3px solid rgba(255, 255, 255, 0.72);
    outline-offset: 0.2rem;
}

.personal-todos-modal {
    background: transparent;
    border: 0;
    color: var(--off-black);
    max-height: min(46rem, calc(100vh - 1.5rem));
    max-width: min(42rem, calc(100vw - 1.5rem));
    padding: 0;
    width: min(42rem, calc(100vw - 1.5rem));
}

.personal-todos-modal::backdrop {
    background: rgba(0, 0, 0, 0.28);
}

.personal-todos-modal__panel {
    background: #f4f5f7;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
    display: grid;
    gap: 0.85rem;
    grid-template-rows: auto auto auto minmax(0, 1fr);
    max-height: min(46rem, calc(100vh - 1.5rem));
    padding: 1rem;
}

.personal-todos-modal__header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.personal-todos-modal__header h2 {
    font-size: 1.55rem;
    line-height: 1.1;
    margin: 0;
}

.personal-todos-modal__close {
    background: #fff;
    color: #4b5563;
    font-size: 1.15rem;
}

.personal-todos-add {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: grid;
    gap: 0.6rem;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0.65rem;
}

.personal-todos-add input {
    border: 0;
    color: var(--off-black);
    font: inherit;
    font-weight: 750;
    min-width: 0;
    outline: 0;
    padding: 0.35rem 0.45rem;
}

.personal-todos-list {
    display: grid;
    gap: 0.45rem;
    max-height: none;
    min-height: 0;
    overflow-y: auto;
    padding-right: 0.2rem;
}

.personal-todos-empty {
    background: #fff;
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
    padding: 1rem;
}

.feature-notes-modal {
    background: transparent;
    border: 0;
    color: var(--off-black);
    max-width: min(38rem, calc(100vw - 1.5rem));
    padding: 0;
    width: min(38rem, calc(100vw - 1.5rem));
}

.feature-notes-modal::backdrop {
    background: rgba(0, 0, 0, 0.28);
}

.feature-notes-modal__panel {
    background: #f4f5f7;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
}

.feature-notes-modal__header,
.feature-notes-modal__footer {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.feature-notes-modal__header span {
    color: var(--crest-red);
    display: block;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.feature-notes-modal__header h2 {
    font-size: 1.55rem;
    line-height: 1.1;
    margin: 0;
}

.feature-notes-modal__close,
.feature-note-row button {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: #4b5563;
    cursor: pointer;
    display: inline-flex;
    font-weight: 900;
    justify-content: center;
}

.feature-notes-modal__close {
    font-size: 1.15rem;
    height: 2rem;
    width: 2rem;
}

.feature-notes-add {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: grid;
    gap: 0.6rem;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0.65rem;
}

.feature-notes-add input {
    border: 0;
    color: var(--off-black);
    font: inherit;
    font-weight: 750;
    min-width: 0;
    outline: 0;
    padding: 0.35rem 0.45rem;
}

.feature-notes-add button,
.feature-notes-modal__footer button {
    background: #111;
    border: 1px solid #111;
    color: #fff;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 900;
    min-height: 2rem;
    padding: 0.35rem 0.75rem;
    text-transform: uppercase;
}

.feature-notes-list {
    display: grid;
    gap: 0.45rem;
    max-height: min(24rem, calc(100vh - 16rem));
    overflow-y: auto;
}

.feature-notes-empty,
.feature-note-row {
    background: #fff;
    margin: 0;
}

.feature-notes-empty {
    color: #6b7280;
    font-size: 0.9rem;
    padding: 1rem;
}

.feature-note-row {
    align-items: center;
    display: grid;
    gap: 0.55rem;
    grid-template-columns: 1.4rem minmax(0, 1fr) 1.6rem;
    padding: 0.55rem 0.65rem;
}

.feature-note-row form {
    margin: 0;
}

.feature-note-row span {
    font-size: 0.9rem;
    font-weight: 750;
    line-height: 1.3;
}

.feature-note-row button {
    border-radius: 999px;
    height: 1.35rem;
    padding: 0;
    width: 1.35rem;
}

.feature-note-row [data-feature-note-toggle] button::after {
    border: 2px solid currentColor;
    border-radius: 999px;
    content: "";
    height: 0.58rem;
    width: 0.58rem;
}

.feature-note-row.is-complete {
    opacity: 0.62;
}

.feature-note-row.is-complete span {
    text-decoration: line-through;
}

.feature-note-row.is-complete [data-feature-note-toggle] button::after {
    background: var(--crest-red);
    border-color: var(--crest-red);
}

.feature-notes-modal__footer span {
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 750;
}

.personal-todo-row.project-task-row {
    background: #fff;
    grid-template-columns: 1.75rem minmax(0, 1fr) auto auto;
    min-height: 2.65rem;
}

.personal-todo-row .project-task-name {
    background: transparent;
    border: 0;
    color: var(--off-black);
    cursor: default;
    display: block;
    font-size: 0.9rem;
    font-weight: 800;
    overflow: hidden;
    padding: 0;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.personal-todo-toggle {
    display: contents;
}

.personal-todo-row.is-complete .project-task-name {
    color: #8b949e;
    text-decoration: line-through;
}

.personal-todo-row .project-complete-circle.is-error {
    border-color: var(--crest-red);
}

.personal-todos-admin-card .panel-card__header > span {
    color: #6b7280;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.personal-todos-list--admin {
    max-height: none;
    overflow: visible;
}

@media (max-width: 640px) {
    .personal-todos-modal {
        max-width: calc(100vw - 1rem);
        width: calc(100vw - 1rem);
    }

    .personal-todos-modal__panel {
        padding: 0.8rem;
    }

    .personal-todos-add {
        grid-template-columns: 1fr;
    }

    .personal-todo-row.project-task-row {
        grid-template-columns: 1.75rem minmax(0, 1fr) auto;
    }

    .personal-todo-row .project-due-trigger {
        display: none;
    }
}


/* Searchable project people pickers and richer personal to-do rows */
.project-person-select--native {
    appearance: none;
    border: 0;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    width: 1px;
}

.project-person-combobox {
    min-width: 0;
    position: relative;
    width: 100%;
}

.project-person-combobox__input {
    background: transparent;
    border: 1px solid transparent;
    color: #50575e;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 750;
    min-width: 0;
    padding: 0.22rem 0.35rem;
    text-overflow: ellipsis;
    width: 100%;
}

.project-person-combobox--avatar {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    overflow: visible;
    position: relative;
    width: 2rem;
}

.project-person-combobox__avatar {
    align-items: center;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.18);
    border-radius: 999px;
    color: #64748b;
    display: inline-flex;
    height: 1.9rem;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    width: 1.9rem;
}

.project-person-combobox__avatar img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.project-person-combobox__avatar b,
.project-person-combobox__avatar span {
    align-items: center;
    display: inline-flex;
    font-size: 0.66rem;
    font-weight: 900;
    height: 100%;
    justify-content: center;
    width: 100%;
}

.project-person-combobox__avatar span::before {
    border: 1.5px solid currentColor;
    border-radius: 999px;
    content: "";
    height: 0.78rem;
    width: 0.78rem;
}

.project-person-combobox--avatar.has-selection .project-person-combobox__avatar {
    background: #111827;
    border-color: rgba(255, 255, 255, 0.75);
    color: #fff;
}

.project-person-combobox--avatar .project-person-combobox__input {
    background: #fff;
    border-color: #111827;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
    min-height: 2.1rem;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
    width: 12rem;
    z-index: 145;
}

.project-person-combobox--avatar.is-searching .project-person-combobox__input {
    opacity: 1;
    pointer-events: auto;
}

.project-person-combobox--avatar .project-person-combobox__list {
    min-width: 13rem;
    right: 0;
    z-index: 146;
}

.project-section-row .project-person-combobox__input {
    color: rgba(255, 255, 255, 0.88);
}

.project-person-combobox__input:focus {
    background: #ffffff;
    border-color: #2271b1;
    color: #1d2327;
    outline: 0;
}

.project-person-combobox__list {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.14);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
    left: 0;
    max-height: 16rem;
    overflow-y: auto;
    position: absolute;
    right: 0;
    top: calc(100% + 0.2rem);
    z-index: 140;
}

.project-person-combobox__option {
    background: transparent;
    border: 0;
    color: #1d2327;
    cursor: pointer;
    display: block;
    font-size: 0.82rem;
    font-weight: 750;
    padding: 0.5rem 0.6rem;
    text-align: left;
    width: 100%;
}

.project-person-combobox__option img,
.project-person-combobox__option b {
    border-radius: 999px;
    height: 1.35rem;
    margin-right: 0.45rem;
    object-fit: cover;
    width: 1.35rem;
}

.project-person-combobox__option b {
    align-items: center;
    background: #111827;
    color: #fff;
    display: inline-flex;
    font-size: 0.62rem;
    justify-content: center;
}

.project-person-combobox__option:hover,
.project-person-combobox__option.is-active {
    background: #f0f6fc;
}

.project-owner-inline-form,
.project-assignee-inline-form,
.personal-todo-assign-form {
    align-items: center;
    display: flex;
    gap: 0.25rem;
    margin: 0;
    min-width: 0;
}

.project-assignee-inline-form {
    justify-content: flex-start;
}

.project-drawer-assignment {
    color: #64748b;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.78rem;
    font-weight: 800;
    gap: 0.35rem 0.75rem;
    margin: -0.35rem 0 0;
}

.project-owner-inline-form svg {
    flex: 0 0 17px;
}

.project-assignee-inline-form .project-person-combobox,
.personal-todo-assign-form .project-person-combobox {
    min-width: 7rem;
}

.project-assignee-inline-form .project-person-combobox--avatar {
    min-width: 2rem;
}

.personal-todo-row.project-task-row {
    grid-template-columns: 1.75rem minmax(12rem, 1fr) 5.8rem minmax(8rem, 12rem) 3rem 2rem;
}

.personal-todo-drawer {
    z-index: 160;
}

.personal-todo-drawer .project-task-drawer__panel {
    max-width: min(28rem, calc(100vw - 1rem));
}

@media (max-width: 640px) {
    .personal-todo-row.project-task-row {
        grid-template-columns: 1.75rem minmax(0, 1fr) 2rem;
    }

    .personal-todo-row .personal-todo-due-form,
    .personal-todo-row .personal-todo-assign-form,
    .personal-todo-row .project-subtask-indicator {
        display: none;
    }
}


.personal-todos-selection {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    padding: 0.55rem 0.65rem;
}

.personal-todos-selection[hidden] {
    display: none;
}

.personal-todos-selection span {
    color: #4b5563;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.personal-todo-select {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    margin: 0;
}

.personal-todo-select input {
    height: 1rem;
    margin: 0;
    width: 1rem;
}

.personal-todo-row.is-selected-for-delete {
    background: #fff8e6;
}

.personal-todo-row.project-task-row {
    grid-template-columns: 1.75rem minmax(12rem, 1fr) 5.8rem minmax(8rem, 12rem) 3rem 2rem;
}

@media (max-width: 640px) {
    .personal-todo-row.project-task-row {
        grid-template-columns: 1.75rem minmax(0, 1fr) 2rem;
    }
}

.personal-todo-row {
    cursor: pointer;
}

.personal-todo-row button,
.personal-todo-row input,
.personal-todo-row select,
.personal-todo-row .project-person-combobox {
    cursor: auto;
}


/* Profile media history and polished owner pickers */
.profile-media-history {
    border-top: 1px solid rgba(15, 23, 42, 0.12);
    display: grid;
    gap: 0.6rem;
    margin: 0.85rem 0 0;
    padding-top: 0.85rem;
}
.profile-media-history > span {
    color: #64748b;
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
}
.profile-media-history__grid {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(auto-fill, minmax(4rem, 1fr));
}
.profile-media-history__item {
    margin: 0;
    position: relative;
}
.profile-media-history__use { margin: 0; }
.profile-media-history__use button {
    aspect-ratio: 1;
    background: #f8fafc;
    border: 2px solid transparent;
    cursor: pointer;
    overflow: hidden;
    padding: 0;
    width: 100%;
}
.profile-media-history__item.is-current .profile-media-history__use button { border-color: var(--crest-red); }
.profile-media-history__item img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}
.profile-media-history__delete {
    margin: 0;
    position: absolute;
    right: 0.25rem;
    top: 0.25rem;
    z-index: 2;
}
.profile-media-history__delete button {
    align-items: center;
    aspect-ratio: 1;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.2);
    border-radius: 999px;
    box-shadow: 0 0.35rem 0.9rem rgba(15, 23, 42, 0.18);
    color: #111827;
    cursor: pointer;
    display: inline-flex;
    font-size: 1rem;
    font-weight: 900;
    height: 1.45rem;
    justify-content: center;
    line-height: 1;
    padding: 0;
    width: 1.45rem;
}
.profile-media-history__delete button:hover,
.profile-media-history__delete button:focus-visible {
    background: #f8fafc;
    border-color: rgba(15, 23, 42, 0.38);
}
#profile-banner-modal .profile-media-history__use button { aspect-ratio: 3 / 1; }

.person-multi-picker {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.16);
    display: grid;
    gap: 0.45rem;
    min-width: min(100%, 18rem);
    padding: 0.45rem;
    position: relative;
}
.person-multi-picker__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}
.person-multi-picker__empty {
    color: #64748b;
    font-size: 0.82rem;
    padding: 0.25rem 0.35rem;
}
.person-multi-picker__chip,
.person-multi-picker__option {
    align-items: center;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.1);
    color: #111827;
    display: inline-flex;
    gap: 0.4rem;
    min-width: 0;
}
.person-multi-picker__chip {
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 850;
    padding: 0.22rem 0.38rem 0.22rem 0.22rem;
}
.person-multi-picker__chip img,
.person-multi-picker__chip span,
.person-multi-picker__option img,
.person-multi-picker__option > span:first-child,
.member-volunteer-owner-chip img,
.member-volunteer-owner-chip > span {
    align-items: center;
    background: #111827;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.62rem;
    font-weight: 900;
    height: 1.45rem;
    justify-content: center;
    object-fit: cover;
    width: 1.45rem;
}
.person-multi-picker__chip strong {
    max-width: 10rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.person-multi-picker__chip b { color: #64748b; font-size: 0.9rem; }
.person-multi-picker__input {
    background: transparent;
    border: 0;
    font: inherit;
    min-width: 10rem;
    outline: 0;
    padding: 0.35rem;
}
.person-multi-picker__list {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.16);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.18);
    left: 0;
    max-height: 18rem;
    overflow-y: auto;
    position: absolute;
    right: 0;
    top: calc(100% + 0.25rem);
    z-index: 180;
}
.person-multi-picker__option {
    border: 0;
    cursor: pointer;
    font-size: 0.84rem;
    font-weight: 800;
    justify-content: flex-start;
    padding: 0.55rem 0.65rem;
    width: 100%;
}
.person-multi-picker__option:hover,
.person-multi-picker__option.is-active { background: #eef6ff; }
.project-section-row .person-multi-picker {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.24);
    min-width: 14rem;
}
.project-section-row .person-multi-picker__input,
.project-section-row .person-multi-picker__empty { color: rgba(255,255,255,0.9); }

.member-volunteer-panel--full {
    border: 0;
    box-shadow: none;
}
.member-volunteer-owners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.75rem 0;
}
.member-volunteer-owner-chip {
    align-items: center;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.1);
    display: inline-flex;
    gap: 0.4rem;
    padding: 0.25rem 0.48rem 0.25rem 0.25rem;
}
.member-volunteer-owner-chip strong {
    color: #334155;
    font-size: 0.78rem;
    font-weight: 850;
}
.member-volunteer-opportunity {
    border-left: 4px solid var(--crest-red);
}
.member-volunteer-slot {
    border: 1px solid rgba(15, 23, 42, 0.1);
}

/* Volunteer hub and signup-sheet experience. Scoped to front-end volunteer pages only. */
.volunteer-hub,
.volunteer-sheet,
.volunteer-builder {
    margin: 0 auto;
    max-width: 1180px;
    padding: clamp(1rem, 3vw, 2rem);
}

.volunteer-hub__hero,
.volunteer-builder__header,
.volunteer-sheet__hero {
    align-items: end;
    border-bottom: 3px solid #111;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.volunteer-hub__eyebrow {
    color: var(--crest-red);
    display: block;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

.volunteer-hub__hero h1,
.volunteer-builder__header h1,
.volunteer-sheet__hero h1 {
    font-size: clamp(2.1rem, 6vw, 5rem);
    line-height: 0.92;
    margin: 0;
}

.volunteer-hub__hero p,
.volunteer-builder__header p,
.volunteer-sheet__hero p {
    color: var(--muted);
    line-height: 1.45;
    margin: 0.55rem 0 0;
    max-width: 52rem;
}

.volunteer-hub__create,
.volunteer-builder__submit button,
.volunteer-sheet-need__head button,
.volunteer-signup-drawer summary,
.volunteer-signup-drawer button {
    background: var(--crest-red);
    border: 2px solid var(--crest-red);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 900;
    justify-content: center;
    padding: 0.7rem 0.95rem;
    text-decoration: none;
    text-transform: uppercase;
}

.volunteer-hub__filters,
.volunteer-sheet__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 1rem;
}

.volunteer-hub__filters a,
.volunteer-sheet__tabs a,
.volunteer-builder__header a,
.volunteer-sheet__hero > a,
.volunteer-sheet__meta a {
    border: 1px solid rgba(17, 17, 17, 0.14);
    color: #111;
    font-size: 0.78rem;
    font-weight: 900;
    padding: 0.55rem 0.7rem;
    text-decoration: none;
    text-transform: uppercase;
}

.volunteer-hub__filters a.is-active,
.volunteer-sheet__tabs a.is-active {
    background: #111;
    color: #fff;
}

.volunteer-opportunity-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
}

.volunteer-opportunity-card,
.volunteer-builder__panel,
.volunteer-sheet-need,
.volunteer-hub__empty {
    background: #fff;
    border: 1px solid rgba(17, 17, 17, 0.14);
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
}

.volunteer-opportunity-card {
    display: grid;
    gap: 1rem;
    padding: 1rem;
}

.volunteer-opportunity-card__main {
    color: inherit;
    display: grid;
    gap: 0.8rem;
    grid-template-columns: 4.25rem minmax(0, 1fr);
    text-decoration: none;
}

.volunteer-opportunity-card__date {
    align-items: center;
    background: #111;
    color: #fff;
    display: grid;
    font-size: 0.82rem;
    font-weight: 900;
    min-height: 4.25rem;
    padding: 0.45rem;
    text-align: center;
    text-transform: uppercase;
}

.volunteer-opportunity-card__type {
    color: var(--crest-red);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.volunteer-opportunity-card h2,
.volunteer-sheet-need h2,
.volunteer-builder__panel h2,
.volunteer-hub__empty h2 {
    font-size: 1.45rem;
    line-height: 1.05;
    margin: 0.1rem 0 0;
}

.volunteer-opportunity-card p,
.volunteer-hub__empty p,
.volunteer-builder__panel p,
.volunteer-sheet-need p {
    color: var(--muted);
    line-height: 1.45;
    margin: 0.35rem 0 0;
}

.volunteer-progress {
    background: #ececea;
    height: 0.55rem;
    overflow: hidden;
}

.volunteer-progress span {
    background: var(--crest-red);
    display: block;
    height: 100%;
}

.volunteer-opportunity-card__meta,
.volunteer-opportunity-card__foot,
.volunteer-sheet__meta,
.volunteer-sheet-need__head {
    align-items: center;
    display: flex;
    gap: 0.8rem;
    justify-content: space-between;
}

.volunteer-owner-stack {
    display: flex;
}

.volunteer-owner-stack span {
    align-items: center;
    background: #111;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 0.7rem;
    font-weight: 900;
    height: 2rem;
    justify-content: center;
    margin-right: -0.45rem;
    overflow: hidden;
    width: 2rem;
}

.volunteer-owner-stack img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.volunteer-opportunity-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: flex-end;
}

.volunteer-opportunity-card__actions a {
    color: #111;
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.volunteer-builder__form,
.volunteer-sheet__needs {
    display: grid;
    gap: 1rem;
}

.volunteer-builder__panel,
.volunteer-sheet-need,
.volunteer-hub__empty {
    padding: clamp(1rem, 2vw, 1.4rem);
}

.volunteer-builder__panel > span {
    color: var(--crest-red);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.volunteer-builder__grid {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1rem;
}

.volunteer-builder__field,
.volunteer-builder-fields__row,
.volunteer-builder-table__row {
    display: grid;
    gap: 0.35rem;
}

.volunteer-builder__field--wide {
    grid-column: 1 / -1;
}

.volunteer-builder__field span {
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.volunteer-builder input,
.volunteer-builder select,
.volunteer-builder textarea,
.volunteer-signup-drawer input,
.volunteer-signup-drawer select,
.volunteer-signup-drawer textarea {
    background: #f7f7f5;
    border: 1px solid rgba(17, 17, 17, 0.16);
    color: #111;
    font: inherit;
    padding: 0.68rem;
    width: 100%;
}

.volunteer-builder-table {
    display: grid;
    gap: 0.45rem;
    margin-top: 1rem;
}

.volunteer-builder-table__head,
.volunteer-builder-table__row {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: minmax(10rem, 1.4fr) minmax(10rem, 1fr) minmax(10rem, 1fr) 5rem;
}

.volunteer-builder-table__head {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.volunteer-builder-table__row textarea {
    grid-column: 1 / -1;
}

.volunteer-builder-fields,
.volunteer-builder-owner-grid {
    display: grid;
    gap: 0.55rem;
    margin-top: 1rem;
}

.volunteer-builder-fields__row {
    align-items: center;
    grid-template-columns: minmax(9rem, 1fr) 10rem minmax(9rem, 1fr) 8rem;
}

.volunteer-builder-fields__row label,
.volunteer-builder-owner-grid label {
    align-items: center;
    display: flex;
    gap: 0.45rem;
    font-weight: 800;
}

.volunteer-builder-fields__row input[type="checkbox"],
.volunteer-builder-owner-grid input {
    width: auto;
}

.volunteer-builder-owner-grid {
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}

.volunteer-builder__submit {
    display: flex;
    justify-content: flex-end;
}

.volunteer-sheet__stats {
    background: #111;
    color: #fff;
    min-width: 7rem;
    padding: 0.9rem;
    text-align: center;
}

.volunteer-sheet__stats strong,
.volunteer-sheet__stats span {
    display: block;
}

.volunteer-sheet__stats strong {
    font-size: 2rem;
    line-height: 1;
}

.volunteer-sheet__stats span,
.volunteer-sheet__meta span {
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.volunteer-sheet__meta {
    justify-content: flex-start;
    margin-bottom: 1rem;
}

.volunteer-signup-drawer {
    position: relative;
}

.volunteer-signup-drawer summary {
    list-style: none;
}

.volunteer-signup-drawer summary::-webkit-details-marker {
    display: none;
}

.volunteer-signup-drawer form {
    background: #fff;
    border: 1px solid rgba(17, 17, 17, 0.18);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    display: grid;
    gap: 0.5rem;
    margin-top: 0.5rem;
    min-width: min(24rem, calc(100vw - 2rem));
    padding: 0.8rem;
    position: absolute;
    right: 0;
    z-index: 4;
}

.volunteer-signup-table {
    display: grid;
    margin-top: 1rem;
    overflow-x: auto;
}

.volunteer-signup-table__head,
.volunteer-signup-table__row {
    border-bottom: 1px solid rgba(17, 17, 17, 0.12);
    display: grid;
    gap: 0.75rem;
    min-width: 36rem;
    padding: 0.7rem 0;
}

.volunteer-signup-table__head {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.volunteer-signup-table__row span {
    color: var(--muted);
}

.volunteer-signup-table__empty {
    color: var(--muted);
    padding: 1rem 0 0;
}

@media (max-width: 760px) {
    .volunteer-hub,
    .volunteer-sheet,
    .volunteer-builder {
        padding: 1rem;
    }

    .volunteer-hub__hero,
    .volunteer-builder__header,
    .volunteer-sheet__hero,
    .volunteer-sheet-need__head,
    .volunteer-opportunity-card__foot {
        align-items: stretch;
        flex-direction: column;
    }

    .volunteer-builder__grid,
    .volunteer-builder-table__head,
    .volunteer-builder-table__row,
    .volunteer-builder-fields__row {
        grid-template-columns: 1fr;
    }

    .volunteer-signup-drawer form {
        position: static;
    }
}

/* Volunteer workspace v2. Keep scoped: no global nav/header/layout edits here. */
.site-volunteers-page .volunteer-workspace {
    --volunteer-rail-width: 21.5rem;
    --volunteer-content-pad: clamp(1rem, 1.7vw, 1.6rem);
    background: #f4f4f1;
    min-height: 80vh;
    padding: 0;
}

.site-volunteers-page .volunteer-hub-layout {
    display: block;
    margin: 0;
    max-width: none;
}

.site-volunteers-page .volunteer-hub-rail {
    background: #101114;
    box-sizing: border-box;
    color: #fff;
    display: grid;
    gap: 0.9rem;
    min-height: calc(100vh - var(--volunteer-chrome-height, 0px));
    min-width: 0;
    overflow: hidden;
    padding: 1.1rem 0.9rem;
    position: fixed;
    bottom: 0;
    left: 0;
    top: var(--volunteer-chrome-height, 0px);
    width: var(--volunteer-rail-width);
    z-index: 80;
}

.site-volunteers-page .volunteer-hub-rail__header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    padding-bottom: 0.95rem;
}

.site-volunteers-page .volunteer-hub-rail__header span {
    color: var(--crest-red);
    display: block;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.site-volunteers-page .volunteer-hub-rail__header h1 {
    color: #fff;
    font-size: clamp(2rem, 2.25vw, 2.45rem);
    line-height: 0.94;
    margin: 0;
    max-width: 100%;
    overflow-wrap: normal;
}

.site-volunteers-page .volunteer-hub-rail__header p {
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.8rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 0.65rem 0 0;
}

.site-volunteers-page .volunteer-hub-main {
    box-sizing: border-box;
    margin-left: var(--volunteer-rail-width);
    max-width: none;
    min-width: 0;
    padding: var(--volunteer-content-pad);
    width: auto;
}

.site-volunteers-page .volunteer-opportunity-nav {
    background: transparent;
    border: 0;
    box-shadow: none;
    min-width: 0;
}

.site-volunteers-page .volunteer-opportunity-nav__scroll {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    margin: 0;
    max-width: none;
    overflow: visible;
    padding: 0;
}

.site-volunteers-page .volunteer-opportunity-nav a {
    align-items: center;
    background: transparent;
    border: 0;
    border-left: 3px solid transparent;
    box-sizing: border-box;
    color: rgba(255, 255, 255, 0.86);
    cursor: pointer;
    display: flex;
    font-size: 0.78rem;
    font-weight: 900;
    gap: 0.55rem;
    justify-content: space-between;
    letter-spacing: 0.02em;
    min-height: 2.15rem;
    padding: 0.36rem 0.48rem 0.36rem 0.58rem;
    text-decoration: none;
    text-transform: none;
    width: 100%;
}

.site-volunteers-page .volunteer-opportunity-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: rgba(255, 255, 255, 0.42);
    color: #fff;
}

.site-volunteers-page .volunteer-opportunity-nav a.is-active {
    background: rgba(255, 255, 255, 0.14);
    border-left-color: var(--crest-red);
    color: #fff;
}

.site-volunteers-page .volunteer-opportunity-nav__title {
    flex: 1 1 auto;
    line-height: 1.2;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-volunteers-page .volunteer-opportunity-nav__meta {
    align-items: center;
    color: rgba(255, 255, 255, 0.58);
    display: flex;
    flex: 0 0 auto;
    font-size: 0.66rem;
    font-weight: 850;
    gap: 0.32rem;
    justify-content: flex-end;
    margin-left: auto;
    min-width: max-content;
}

.site-volunteers-page .volunteer-opportunity-nav__meta b {
    color: #fff;
    font-size: 0.62rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.site-volunteers-page .volunteer-opportunity-nav a.is-active .volunteer-opportunity-nav__meta {
    color: #64748b;
}

.site-volunteers-page .volunteer-opportunity-nav a.is-active .volunteer-opportunity-nav__meta b {
    color: var(--crest-red);
}

.site-volunteers-page .volunteer-create-popover {
    min-width: 0;
    position: relative;
    width: 100%;
}

.site-volunteers-page .volunteer-create-popover[open] {
    inset: 0;
    position: fixed;
    width: auto;
    z-index: 2000;
}

.site-volunteers-page .volunteer-create-popover summary {
    background: var(--crest-red);
    border: 1px solid var(--crest-red);
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: 0.78rem;
    font-weight: 900;
    justify-content: center;
    letter-spacing: 0.04em;
    list-style: none;
    min-height: 2.45rem;
    padding: 0.72rem 0.85rem;
    text-transform: uppercase;
    width: 100%;
}

.site-volunteers-page .volunteer-create-popover[open] > summary {
    height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0;
    pointer-events: none;
    position: absolute;
    width: 0;
}

.site-volunteers-page .volunteer-create-popover summary::-webkit-details-marker {
    display: none;
}

.site-volunteers-page .volunteer-create-modal {
    align-items: center;
    background: rgba(10, 11, 14, 0.82);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: clamp(1rem, 4vw, 3rem);
    position: fixed;
    z-index: 1000;
}

.site-volunteers-page .volunteer-create-modal__panel {
    background: #fff;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
    max-width: 46rem;
    padding: clamp(1.25rem, 4vw, 2.4rem);
    width: min(100%, 46rem);
}

.site-volunteers-page .volunteer-create-modal__header {
    align-items: start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.site-volunteers-page .volunteer-create-modal__header span {
    color: var(--crest-red);
    display: block;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

.site-volunteers-page .volunteer-create-modal__header h2 {
    font-size: clamp(2rem, 6vw, 4.2rem);
    line-height: 0.92;
    margin: 0;
}

.site-volunteers-page .volunteer-create-modal__header button {
    align-items: center;
    background: #111;
    border: 0;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 1.4rem;
    font-weight: 900;
    height: 2.35rem;
    justify-content: center;
    line-height: 1;
    width: 2.35rem;
}

.site-volunteers-page .volunteer-create-modal form {
    display: grid;
    gap: 0.85rem;
}

.site-volunteers-page .volunteer-create-modal p {
    color: var(--muted);
    line-height: 1.45;
    margin: 0;
}

.site-volunteers-page .volunteer-create-popover label,
.site-volunteers-page .volunteer-inline-edit label,
.site-volunteers-page .volunteer-sheet-editor label {
    display: grid;
    gap: 0.35rem;
}

.site-volunteers-page .volunteer-create-popover span,
.site-volunteers-page .volunteer-inline-edit label > span,
.site-volunteers-page .volunteer-sheet-editor label > span,
.site-volunteers-page .volunteer-sheet-editor__label {
    color: #555;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.site-volunteers-page .volunteer-create-popover input,
.site-volunteers-page .volunteer-create-popover button,
.site-volunteers-page .volunteer-inline-edit input,
.site-volunteers-page .volunteer-inline-edit select,
.site-volunteers-page .volunteer-inline-edit textarea,
.site-volunteers-page .volunteer-roster-entry input,
.site-volunteers-page .volunteer-roster-entry select,
.site-volunteers-page .volunteer-roster-entry textarea,
.site-volunteers-page .volunteer-sheet-editor input,
.site-volunteers-page .volunteer-sheet-editor select,
.site-volunteers-page .volunteer-sheet-editor textarea,
.site-volunteers-page .volunteer-add-row input,
.site-volunteers-page .volunteer-add-row select,
.site-volunteers-page .volunteer-add-row textarea {
    border: 1px solid rgba(17, 17, 17, 0.16);
    color: #111;
    font: inherit;
    padding: 0.68rem;
    width: 100%;
}

.site-volunteers-page .volunteer-create-modal form button,
.site-volunteers-page .volunteer-inline-edit form button,
.site-volunteers-page .volunteer-roster-entry > button,
.site-volunteers-page .volunteer-sheet-editor button,
.site-volunteers-page .volunteer-add-row button,
.site-volunteers-page .volunteer-need-panel__head button {
    background: var(--crest-red);
    border-color: var(--crest-red);
    color: #fff;
    cursor: pointer;
    font-weight: 900;
    text-transform: uppercase;
}

.site-volunteers-page .volunteer-create-popover .volunteer-create-modal__header button {
    background: #111;
    border: 0;
    border-radius: 999px;
    color: #fff;
    flex: 0 0 auto;
    font-size: 1.4rem;
    height: 2.35rem;
    line-height: 1;
    padding: 0;
    text-transform: none;
    width: 2.35rem;
}

.site-volunteers-page .volunteer-inline-edit {
    display: inline-flex;
    position: relative;
}

.site-volunteers-page .volunteer-inline-edit summary {
    align-items: center;
    background: transparent;
    border: 1px solid rgba(17, 17, 17, 0.16);
    border-radius: 999px;
    color: #555;
    cursor: pointer;
    display: inline-flex;
    font-size: 0.75rem;
    font-weight: 900;
    height: 1.65rem;
    justify-content: center;
    line-height: 1;
    list-style: none;
    margin-left: 0.35rem;
    width: 1.65rem;
}

.site-volunteers-page .volunteer-inline-edit summary::-webkit-details-marker {
    display: none;
}

.site-volunteers-page .volunteer-inline-edit summary:hover {
    background: #111;
    border-color: #111;
    color: #fff;
}

.site-volunteers-page .volunteer-inline-edit__modal {
    align-items: center;
    background: rgba(10, 11, 14, 0.68);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: clamp(1rem, 4vw, 3rem);
    position: fixed;
    z-index: 1000;
}

.site-volunteers-page .volunteer-inline-edit__panel {
    background: #fff;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
    max-height: calc(100vh - 2rem);
    max-width: 40rem;
    overflow-y: auto;
    padding: clamp(1rem, 3vw, 1.65rem);
    width: min(100%, 40rem);
}

.site-volunteers-page .volunteer-inline-edit__panel--wide {
    max-width: 58rem;
    width: min(100%, 58rem);
}

.site-volunteers-page .volunteer-inline-edit__header {
    align-items: center;
    border-bottom: 1px solid rgba(17, 17, 17, 0.1);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.9rem;
}

.site-volunteers-page .volunteer-inline-edit__header h2 {
    font-size: clamp(1.45rem, 4vw, 2.45rem);
    line-height: 0.95;
    margin: 0;
}

.site-volunteers-page .volunteer-inline-edit__header button {
    align-items: center;
    background: #111;
    border: 0;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 1.35rem;
    font-weight: 900;
    height: 2.2rem;
    justify-content: center;
    line-height: 1;
    width: 2.2rem;
}

.site-volunteers-page .volunteer-inline-edit form {
    display: grid;
    gap: 0.75rem;
}

.site-volunteers-page .volunteer-inline-edit__hint {
    color: var(--muted);
    line-height: 1.45;
    margin: 0;
}

.site-volunteers-page .volunteer-signup-experience,
.site-volunteers-page .volunteer-workspace__empty {
    margin: 0;
    max-width: none;
    padding: clamp(0.65rem, 1.8vw, 1.25rem) 0;
    width: 100%;
}

.site-volunteers-page .volunteer-signup-hero {
    align-items: end;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-bottom: 0.55rem;
}

.site-volunteers-page .volunteer-signup-title-row {
    align-items: center;
    display: flex;
    gap: 0.55rem;
    min-width: 0;
}

.site-volunteers-page .volunteer-owner-avatar-stack {
    align-items: center;
    display: inline-flex;
    flex: 0 0 auto;
    gap: 0.25rem;
}

.site-volunteers-page .volunteer-owner-avatar-stack span {
    align-items: center;
    background: #111827;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 0.64rem;
    font-weight: 900;
    height: 1.9rem;
    justify-content: center;
    margin-right: 0;
    overflow: hidden;
    width: 1.9rem;
}

.site-volunteers-page .volunteer-signup-hero .volunteer-owner-avatar-stack span {
    color: #fff;
    letter-spacing: 0;
    margin-bottom: 0;
    text-transform: none;
}

.site-volunteers-page .volunteer-owner-avatar-stack img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.site-volunteers-page .volunteer-opportunity-nav .volunteer-owner-avatar-stack {
    display: none;
}

.site-volunteers-page .volunteer-opportunity-nav .volunteer-owner-avatar-stack span {
    border-width: 1px;
    font-size: 0.42rem;
    height: 1.05rem;
    width: 1.05rem;
}

.site-volunteers-page .volunteer-signup-hero span,
.site-volunteers-page .volunteer-workspace__empty span {
    align-items: center;
    color: var(--crest-red);
    display: inline-flex;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

.site-volunteers-page .volunteer-signup-hero h1,
.site-volunteers-page .volunteer-workspace__empty h1 {
    font-size: clamp(1.55rem, 3.2vw, 2.75rem);
    line-height: 1;
    margin: 0;
    min-width: 0;
}

.site-volunteers-page .volunteer-signup-hero p,
.site-volunteers-page .volunteer-workspace__empty p {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.35;
    margin: 0.35rem 0 0;
    max-width: 54rem;
}

.site-volunteers-page .volunteer-signup-hero__stat {
    background: #111;
    color: #fff;
    min-width: 6rem;
    padding: 0.55rem 0.7rem;
    text-align: center;
}

.site-volunteers-page .volunteer-signup-hero__stat strong {
    display: block;
    font-size: 1.55rem;
    line-height: 1;
}

.site-volunteers-page .volunteer-signup-hero__stat span {
    color: rgba(255,255,255,0.74);
    letter-spacing: 0;
    margin: 0.25rem 0 0;
}

.site-volunteers-page .volunteer-signup-meta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.site-volunteers-page .volunteer-section-toolbar {
    align-items: center;
    background: transparent;
    border: 0;
    display: flex;
    gap: 0.6rem;
    justify-content: flex-end;
    margin-bottom: 0.5rem;
    padding: 0;
}

.site-volunteers-page .volunteer-section-toolbar > span {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.site-volunteers-page .volunteer-inline-edit--section summary {
    background: #111;
    border-radius: 0;
    color: #fff;
    height: auto;
    margin-left: 0;
    min-height: 1.8rem;
    padding: 0.32rem 0.6rem;
    text-transform: uppercase;
    width: auto;
}

.site-volunteers-page .volunteer-signup-meta > span,
.site-volunteers-page .volunteer-signup-meta > a {
    background: #fff;
    border: 1px solid rgba(17, 17, 17, 0.14);
    color: #111;
    font-size: 0.76rem;
    font-weight: 900;
    padding: 0.5rem 0.65rem;
    text-decoration: none;
    text-transform: uppercase;
}

.site-volunteers-page .volunteer-owner-pill {
    align-items: center;
    color: #111;
    display: inline-flex;
    gap: 0.4rem;
    text-decoration: none;
}

.site-volunteers-page a.volunteer-owner-pill:hover {
    border-color: rgba(17, 17, 17, 0.28);
}

.site-volunteers-page .volunteer-owner-pill img,
.site-volunteers-page .volunteer-owner-pill b {
    align-items: center;
    background: #111;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 0.68rem;
    height: 1.55rem;
    justify-content: center;
    overflow: hidden;
    width: 1.55rem;
}

.site-volunteers-page .volunteer-owner-pill img {
    object-fit: cover;
}

.site-volunteers-page .volunteer-owner-pill__avatar {
    flex: 0 0 auto;
    font-size: 0.68rem;
    height: 1.55rem;
    width: 1.55rem;
}

.site-volunteers-page .volunteer-sheet-editor,
.site-volunteers-page .volunteer-need-panel,
.site-volunteers-page .volunteer-workspace__empty {
    background: #fff;
    border: 1px solid rgba(17, 17, 17, 0.12);
    box-shadow: none;
    margin-bottom: 0.55rem;
}

.site-volunteers-page .volunteer-sheet-editor__header {
    align-items: start;
    border-bottom: 1px solid rgba(17, 17, 17, 0.1);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1rem;
}

.site-volunteers-page .volunteer-sheet-editor__header span {
    color: var(--crest-red);
    display: block;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.site-volunteers-page .volunteer-sheet-editor__header h2 {
    font-size: clamp(1.35rem, 3vw, 2rem);
    line-height: 1;
    margin: 0;
}

.site-volunteers-page .volunteer-sheet-editor__header p {
    color: var(--muted);
    line-height: 1.35;
    margin: 0;
    max-width: 24rem;
}

.site-volunteers-page .volunteer-sheet-editor form {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 1rem;
}

.site-volunteers-page .volunteer-sheet-editor__wide {
    grid-column: 1 / -1;
}

.site-volunteers-page .volunteer-sheet-editor__field-row {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: minmax(9rem, 1fr) 10rem minmax(9rem, 1fr) 8rem 2rem;
    margin-top: 0.5rem;
}

.site-volunteers-page .volunteer-sheet-editor__field-list {
    display: grid;
    gap: 0.5rem;
}

.site-volunteers-page .volunteer-sheet-editor__field-row select {
    appearance: auto;
    background: #fff;
    cursor: pointer;
}

.site-volunteers-page .volunteer-field-add,
.site-volunteers-page .volunteer-field-remove {
    cursor: pointer;
    font-weight: 900;
}

.site-volunteers-page .volunteer-field-add {
    background: #111;
    border: 1px solid #111;
    color: #fff;
    font-size: 0.76rem;
    margin-top: 0.65rem;
    min-height: 2rem;
    padding: 0.42rem 0.65rem;
    text-transform: uppercase;
}

.site-volunteers-page .volunteer-field-remove {
    align-items: center;
    background: transparent;
    border: 1px solid rgba(15, 23, 42, 0.16);
    color: #64748b;
    display: inline-flex;
    font-size: 1rem;
    height: 2rem;
    justify-content: center;
    padding: 0;
    width: 2rem;
}

.site-volunteers-page .volunteer-field-remove:hover,
.site-volunteers-page .volunteer-field-remove:focus-visible {
    border-color: rgba(203, 44, 48, 0.42);
    color: #b42328;
    outline: 0;
}

.site-volunteers-page .volunteer-sheet-editor__field-row label,
.site-volunteers-page .volunteer-sheet-editor__owners label {
    align-items: center;
    display: flex;
    gap: 0.4rem;
}

.site-volunteers-page .volunteer-sheet-editor__field-row input[type="checkbox"],
.site-volunteers-page .volunteer-sheet-editor__owners input {
    width: auto;
}

.site-volunteers-page .volunteer-sheet-editor__owners {
    display: grid;
    gap: 0.45rem;
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
    margin-top: 0.5rem;
}

.site-volunteers-page .volunteer-need-panel {
    background: #fff;
    border-left: 4px solid #cb2c30;
    display: grid;
    padding: 0;
}

.site-volunteers-page .volunteer-need-panel__head {
    align-items: center;
    background: #cb2c30;
    color: #fff;
    display: grid;
    gap: 0.5rem;
    grid-template-columns: 1.35rem minmax(10rem, 1fr) 2rem auto;
    min-height: 2.75rem;
    padding: 0.35rem 0.65rem;
}

.site-volunteers-page .volunteer-need-panel h2 {
    color: #fff;
    font-size: 0.96rem;
    line-height: 1;
    margin: 0;
}

.site-volunteers-page .volunteer-section-toggle {
    align-items: center;
    background: transparent !important;
    border: 1px solid transparent !important;
    box-shadow: none !important;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    display: inline-flex;
    font-size: 1rem;
    font-weight: 900;
    height: 2rem;
    justify-content: center;
    line-height: 1;
    padding: 0;
    text-transform: none !important;
    transition: transform 140ms ease;
    width: 2rem;
}

.site-volunteers-page .volunteer-section-toggle:hover,
.site-volunteers-page .volunteer-section-toggle:focus-visible {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    outline: 0;
}

.site-volunteers-page .volunteer-need-panel.is-collapsed .volunteer-section-toggle {
    transform: rotate(-90deg);
}

.site-volunteers-page .volunteer-need-panel__title {
    align-items: center;
    display: flex;
    gap: 0.35rem;
    min-width: 0;
}

.site-volunteers-page .volunteer-opportunity-edit summary,
.site-volunteers-page .volunteer-section-edit summary {
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    color: currentColor;
    cursor: pointer;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 900;
    height: 1.65rem;
    justify-content: center;
    line-height: 1;
    list-style: none;
    padding: 0;
    width: 1.65rem;
}

.site-volunteers-page .volunteer-opportunity-edit summary::-webkit-details-marker,
.site-volunteers-page .volunteer-section-edit summary::-webkit-details-marker {
    display: none;
}

.site-volunteers-page .volunteer-opportunity-edit summary:hover,
.site-volunteers-page .volunteer-opportunity-edit summary:focus-visible {
    background: rgba(17, 24, 39, 0.08);
    border-color: rgba(17, 24, 39, 0.12);
    outline: 0;
}

.site-volunteers-page .volunteer-section-edit summary:hover,
.site-volunteers-page .volunteer-section-edit summary:focus-visible {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.24);
    outline: 0;
}

.site-volunteers-page .volunteer-section-accent-2,
.site-volunteers-page .volunteer-section-accent-3,
.site-volunteers-page .volunteer-section-accent-4,
.site-volunteers-page .volunteer-section-accent-5,
.site-volunteers-page .volunteer-section-accent-6 {
    border-left-color: #cb2c30;
}

.site-volunteers-page .volunteer-section-drag {
    color: rgba(255,255,255,0.72);
    cursor: grab;
    flex: 0 0 auto;
    font-size: 0.95rem;
    font-weight: 900;
    letter-spacing: -0.18em;
    line-height: 1;
    width: 1.35rem;
}

.site-volunteers-page .volunteer-need-panel__owners {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.35rem;
    justify-content: flex-end;
    margin-top: 0;
    min-width: 0;
    overflow: hidden;
}

.site-volunteers-page .volunteer-need-panel__owners .volunteer-owner-pill {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 0;
    font-weight: 850;
    gap: 0;
    line-height: 1;
    height: 1.9rem;
    justify-content: center;
    max-width: none;
    min-height: 0;
    overflow: hidden;
    padding: 0.12rem;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 1.9rem;
}

.site-volunteers-page .volunteer-need-panel__owners .volunteer-owner-pill img,
.site-volunteers-page .volunteer-need-panel__owners .volunteer-owner-pill b {
    align-items: center;
    background: rgba(255, 255, 255, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    flex: 0 0 1.55rem;
    font-size: 0.52rem;
    height: 1.55rem;
    justify-content: center;
    object-fit: cover;
    width: 1.55rem;
}

.site-volunteers-page .volunteer-need-panel__owners--compact {
    margin-top: 0;
}

.site-volunteers-page .volunteer-need-panel p {
    color: var(--muted);
    margin: 0.35rem 0 0;
}

.site-volunteers-page .volunteer-opportunity-actions {
    border-top: 1px solid rgba(15, 23, 42, 0.12);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.9rem;
    padding-top: 0.9rem;
}

.site-volunteers-page .volunteer-section-delete-form {
    border-top: 1px solid rgba(15, 23, 42, 0.12);
    margin-top: 0.8rem;
    padding-top: 0.8rem;
}

.site-volunteers-page .volunteer-section-edit summary {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    color: rgba(255, 255, 255, 0.9) !important;
    height: 1.45rem !important;
    min-height: 0 !important;
    width: 1.45rem !important;
}

.site-volunteers-page .volunteer-signup-title-row .volunteer-opportunity-edit,
.site-volunteers-page .volunteer-need-panel__title .volunteer-section-edit {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.site-volunteers-page .volunteer-section-add-footer {
    display: flex;
    justify-content: center;
    padding: 0.25rem 0 0.75rem;
}

.site-volunteers-page .volunteer-section-add-footer summary {
    background: #111;
    border: 1px solid #111;
    color: #fff;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 900;
    list-style: none;
    min-height: 2.15rem;
    padding: 0.5rem 0.8rem;
    text-transform: uppercase;
}

.site-volunteers-page .volunteer-section-add-footer summary::-webkit-details-marker {
    display: none;
}

.site-volunteers-page .volunteer-opportunity-actions form {
    margin: 0;
}

.site-volunteers-page .volunteer-opportunity-actions button {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.16);
    color: #111827;
    cursor: pointer;
    font-size: 0.76rem;
    font-weight: 900;
    min-height: 2.1rem;
    padding: 0.45rem 0.65rem;
    text-transform: uppercase;
}

.site-volunteers-page .volunteer-opportunity-actions .button-danger {
    border-color: rgba(203, 44, 48, 0.42);
    color: #b42328;
}

.site-volunteers-page .volunteer-add-row {
    position: relative;
}

.site-volunteers-page .volunteer-add-row summary {
    background: var(--crest-red);
    color: #fff;
    cursor: pointer;
    font-weight: 900;
    list-style: none;
    padding: 0.72rem 1rem;
    text-transform: uppercase;
}

.site-volunteers-page .volunteer-add-row summary::-webkit-details-marker {
    display: none;
}

.site-volunteers-page .volunteer-add-row form {
    background: #fff;
    border: 1px solid rgba(17, 17, 17, 0.16);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18);
    display: grid;
    gap: 0.55rem;
    min-width: min(24rem, calc(100vw - 2rem));
    padding: 0.8rem;
    position: absolute;
    right: 0;
    top: calc(100% + 0.45rem);
    z-index: 5;
}

.site-volunteers-page .volunteer-roster {
    display: grid;
    margin-top: 0;
    overflow-x: auto;
}

.site-volunteers-page .volunteer-roster__toolbar {
    align-items: center;
    background: #f6f7f7;
    border-bottom: 1px solid #ececec;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0;
    min-height: 2rem;
    padding: 0.25rem 0.6rem;
}

.site-volunteers-page .volunteer-roster__toolbar > span {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.site-volunteers-page .volunteer-roster__head,
.site-volunteers-page .volunteer-roster__row {
    align-items: center;
    display: grid;
    gap: 0.5rem;
    grid-template-columns: var(--volunteer-columns);
    min-width: 34rem;
}

.site-volunteers-page .volunteer-roster__head {
    background: #f6f7f7;
    border-bottom: 1px solid #ececec;
    color: #6b7280;
    font-size: 0.68rem;
    font-weight: 900;
    min-height: 2rem;
    padding: 0.25rem 0.65rem;
    text-transform: uppercase;
}

.site-volunteers-page .volunteer-roster__count {
    justify-self: end;
    text-align: right;
    white-space: nowrap;
}

.site-volunteers-page .volunteer-roster__row {
    background: #fff;
    border: 0;
    border-top: 1px solid #ececec;
    margin-top: 0;
    min-height: 2.6rem;
    padding: 0.3rem 0.65rem;
}

.site-volunteers-page .volunteer-roster__row.is-mine {
    background: #fff4f4;
    border-color: rgba(213, 37, 48, 0.26);
}

.site-volunteers-page .volunteer-roster-person {
    align-items: center;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 999px;
    color: #111827;
    display: inline-flex;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 850;
    justify-self: start;
    max-width: 100%;
    min-width: 0;
    padding: 0.18rem 0.55rem 0.18rem 0.22rem;
    text-decoration: none;
}

.site-volunteers-page a.volunteer-roster-person:hover {
    color: var(--crest-red);
}

.site-volunteers-page .volunteer-roster-person img,
.site-volunteers-page .volunteer-roster-person b {
    align-items: center;
    background: #111;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.62rem;
    height: 1.35rem;
    justify-content: center;
    overflow: hidden;
    width: 1.35rem;
}

.site-volunteers-page .volunteer-roster-person img {
    object-fit: cover;
}

.site-volunteers-page .volunteer-roster-person__avatar {
    flex: 0 0 auto;
    font-size: 0.62rem;
    height: 1.35rem;
    width: 1.35rem;
}

.site-volunteers-page .volunteer-roster__row span,
.site-volunteers-page .volunteer-roster__empty {
    color: var(--muted);
}

.site-volunteers-page .volunteer-roster-add-button {
    align-items: center;
    background: var(--crest-red);
    border: 1px solid var(--crest-red);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 900;
    justify-content: center;
    min-height: 1.8rem;
    padding: 0.25rem 0.55rem;
    text-transform: uppercase;
    width: auto;
}

.site-volunteers-page .volunteer-roster__row--entry {
    background: #fff;
    border-style: dashed;
}

.site-volunteers-page .volunteer-roster__row--entry .volunteer-roster-person {
    color: #8a8f98;
}

.site-volunteers-page .volunteer-roster__row--entry .volunteer-roster-person b {
    background: #d9dde3;
    color: #555;
}

.site-volunteers-page .volunteer-roster__row--spread {
    background: #fafafa;
    color: #8a8f98;
}

.site-volunteers-page .volunteer-roster__row--spread .volunteer-roster-person {
    color: #8a8f98;
    font-style: italic;
}

.site-volunteers-page .volunteer-roster__row--spread .volunteer-roster-person b {
    background: #e5e7eb;
    color: #6b7280;
}

.site-volunteers-page .volunteer-roster-entry {
    display: grid;
    gap: 0.35rem;
    margin-top: 0;
}

.site-volunteers-page .volunteer-roster-entry > button {
    margin: 0.3rem 0.65rem 0.5rem;
    justify-self: end;
    width: auto;
}

.site-volunteers-page .volunteer-cancel-assignment {
    justify-self: end;
}

.site-volunteers-page .volunteer-cancel-assignment button {
    align-items: center;
    background: transparent;
    border: 1px solid rgba(17, 17, 17, 0.16);
    border-radius: 999px;
    color: #777;
    cursor: pointer;
    display: inline-flex;
    font-size: 1rem;
    font-weight: 900;
    height: 1.65rem;
    justify-content: center;
    line-height: 1;
    width: 1.65rem;
}

.site-volunteers-page .volunteer-cancel-assignment button:hover {
    background: #111;
    border-color: #111;
    color: #fff;
}

.site-volunteers-page .volunteer-roster__empty {
    background: #f8f8f6;
    padding: 1rem;
}

@media (max-width: 760px) {
    .site-volunteers-page .volunteer-workspace {
        padding: 0;
    }

    .site-volunteers-page .volunteer-hub-layout {
        display: block;
        max-width: none;
    }

    .site-volunteers-page .volunteer-hub-rail {
        border-left: 0;
        border-right: 0;
        bottom: auto;
        gap: 0.6rem;
        left: auto;
        min-height: 0;
        padding: 0.7rem;
        position: sticky;
        top: var(--volunteer-chrome-height, 0px);
        width: auto;
        z-index: 120;
    }

    .site-volunteers-page .volunteer-hub-main {
        margin-left: 0;
        margin-right: 0;
        max-width: none;
    }

    .site-volunteers-page .volunteer-hub-rail__header {
        padding-bottom: 0.45rem;
    }

    .site-volunteers-page .volunteer-hub-rail__header h1 {
        font-size: 1.35rem;
    }

    .site-volunteers-page .volunteer-hub-rail__header p {
        font-size: 0.72rem;
        margin-top: 0.25rem;
    }

    .site-volunteers-page .volunteer-opportunity-nav__scroll {
        flex-direction: row;
        overflow-x: auto;
        padding: 0;
    }

    .site-volunteers-page .volunteer-opportunity-nav a {
        flex: 0 0 11.5rem;
        min-height: 2rem;
        padding: 0.34rem 0.48rem;
    }

    .site-volunteers-page .volunteer-create-popover summary {
        min-height: 2.25rem;
    }

    .site-volunteers-page .volunteer-signup-hero,
    .site-volunteers-page .volunteer-need-panel__head {
        align-items: stretch;
        grid-template-columns: 1fr;
    }

    .site-volunteers-page .volunteer-need-panel__head {
        grid-template-columns: 1.35rem minmax(0, 1fr) 2rem;
    }

    .site-volunteers-page .volunteer-need-panel__owners {
        display: none;
    }

    .site-volunteers-page .volunteer-sheet-editor form,
    .site-volunteers-page .volunteer-sheet-editor__field-row {
        grid-template-columns: 1fr;
    }

    .site-volunteers-page .volunteer-add-row form {
        position: fixed;
        right: 1rem;
        top: 8rem;
    }
}


.volunteer-admin-cards {
    display: grid;
    gap: 0.85rem;
}
.volunteer-admin-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
}
.volunteer-admin-card__main,
.volunteer-admin-card__foot {
    align-items: start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}
.volunteer-admin-card h3 {
    font-size: 1.1rem;
    margin: 0.35rem 0 0.2rem;
}
.volunteer-admin-card h3 a { color: #111827; text-decoration: none; }
.volunteer-admin-card p {
    color: #64748b;
    margin: 0;
}
.volunteer-admin-card__actions,
.volunteer-admin-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}
.volunteer-admin-card__actions a,
.volunteer-admin-card__actions button,
.volunteer-admin-card__meta span {
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.1);
    color: #334155;
    font-size: 0.78rem;
    font-weight: 850;
    padding: 0.35rem 0.5rem;
    text-decoration: none;
}
.volunteer-admin-card__actions form { margin: 0; }
.volunteer-admin-card__actions button {
    cursor: pointer;
    font: inherit;
}
.volunteer-admin-card__actions button.is-danger {
    background: #fff1f1;
    border-color: rgba(166, 36, 43, 0.24);
    color: #a6242b;
}
.wp-status-badge--closed {
    background: #fef9c3;
    color: #854d0e;
}
.volunteer-admin-progress {
    background: #e5e7eb;
    height: 0.42rem;
    overflow: hidden;
}
.volunteer-admin-progress span {
    background: var(--crest-red);
    display: block;
    height: 100%;
}
.volunteer-admin-card__foot {
    align-items: baseline;
    color: #64748b;
    font-size: 0.82rem;
    justify-content: flex-start;
}
.volunteer-admin-card__foot strong {
    color: #111827;
    font-size: 1rem;
}
@media (max-width: 760px) {
    .volunteer-admin-card__main { flex-direction: column; }
}

/* Navigation stabilization: keep the three logged-in navigation shells predictable. */
.admin-shell .admin-sidebar {
    bottom: 0;
    height: auto;
    left: 0;
    overflow-x: hidden;
    overflow-y: auto;
    position: fixed;
    top: 0;
}

.admin-shell .admin-frame {
    display: block;
}

.admin-shell .admin-main {
    margin-left: var(--admin-sidebar-width);
}

.admin-shell.is-admin-menu-collapsed .admin-main {
    margin-left: var(--admin-sidebar-collapsed);
}

.admin-shell.is-admin-menu-collapsed .admin-frame {
    display: block;
}

.admin-shell.is-admin-menu-collapsed.is-admin-menu-hover-open .admin-frame {
    display: block;
}

.admin-shell.is-admin-menu-collapsed.is-admin-menu-hover-open .admin-sidebar {
    position: fixed;
}

.admin-shell.is-admin-menu-collapsed .admin-nav__row {
    min-height: 3rem;
}

.admin-shell.is-admin-menu-collapsed .admin-nav__toggle {
    display: none;
}

.admin-shell.is-admin-menu-collapsed.is-admin-menu-hover-open .admin-nav__toggle {
    display: inline-flex;
}

.admin-subnav {
    margin: 0 0 0.5rem 2.75rem;
    padding: 0.15rem 0 0.15rem 0.55rem;
}

.admin-shell.is-admin-menu-collapsed.is-admin-menu-hover-open .admin-subnav {
    margin-left: 2.75rem;
}

body.member-dashboard-shell {
    overflow-x: hidden;
}

.member-dashboard-frame {
    min-height: 100vh;
}

.member-dashboard-sidebar {
    box-sizing: border-box;
}

.member-dashboard-main {
    min-height: 100vh;
}

.member-dashboard-header {
    position: relative;
    z-index: 2;
}

.member-dashboard-content {
    overflow-x: clip;
}

.account-social-layout {
    align-items: start;
    display: block;
    padding-right: 21.4rem;
    position: relative;
}

.member-sidebar {
    max-width: 100%;
    bottom: auto;
    gap: 0.55rem;
    max-height: calc(100vh - 10.25rem);
    overflow: visible;
    position: fixed;
    right: max(1rem, calc((100vw - var(--content-width)) / 2));
    top: var(--site-chrome-height, 9.25rem);
    width: 20rem;
    z-index: 35;
}

.member-sidebar__section {
    gap: 0.5rem;
    padding: 0.75rem;
}

.member-sidebar__section h2 {
    font-size: 1rem;
}

.member-sidebar__section h3 {
    font-size: 0.82rem;
    padding-bottom: 0.3rem;
}

.member-sidebar__section h4 {
    font-size: 0.76rem;
}

.member-sidebar__section p,
.member-sidebar-list small {
    font-size: 0.78rem;
    line-height: 1.3;
}

.member-sidebar__avatar {
    height: 4.35rem;
    width: 4.35rem;
}

.member-sidebar__profile-main {
    gap: 0.5rem;
}

.member-sidebar__profile-actions a {
    height: 2.35rem;
    width: 2.35rem;
}

.tiger-den-card,
.tiger-den-students,
.tiger-den-group,
.member-sidebar-list {
    gap: 0.28rem;
}

.tiger-den-student {
    min-height: 2.25rem;
    padding: 0.45rem 0.5rem;
}

.tiger-den-student__name,
.member-sidebar-list span {
    font-size: 0.82rem;
}

.tiger-den-badge {
    height: 1.7rem;
    min-width: 1.7rem;
}

.member-sidebar-cta {
    min-height: 2.2rem;
    padding: 0.55rem 0.7rem;
}

.member-sidebar__profile {
    border-color: rgba(17, 17, 17, 0.1);
}

.member-sidebar__profile-actions {
    width: 100%;
}

.member-sidebar__profile-actions a {
    background: #fff;
}

.feed-composer,
.feed-post,
.member-sidebar__section,
.social-profile {
    box-shadow: none;
}

@media (max-width: 880px) {
    .member-dashboard-sidebar {
        position: sticky;
        top: 0;
        z-index: 60;
    }

    .member-dashboard-brand {
        align-items: center;
        border-bottom: 0;
        display: flex;
        justify-content: space-between;
        padding-bottom: 0.65rem;
    }

    .member-dashboard-nav {
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0;
        display: grid;
        gap: 0;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        overflow: hidden;
        padding-top: 0;
    }

    .member-dashboard-nav__link {
        align-items: center;
        display: grid;
        gap: 0.28rem;
        justify-items: center;
        min-height: 3.75rem;
        padding: 0.55rem 0.2rem;
        text-align: center;
    }

    .member-dashboard-nav__icon {
        height: 1.2rem;
        width: 1.2rem;
    }

    .member-dashboard-header {
        background: #fff;
        border-bottom: 1px solid #ddd;
        position: static;
    }

    .member-dashboard-header__actions .header-action {
        flex: 1 1 auto;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 900px) {
    .account-shell--social {
        padding-top: 0;
    }

    .account-social-layout {
        display: flex;
        flex-direction: column;
        gap: 0.85rem;
        padding-right: 0;
    }

    .member-sidebar {
        display: contents;
        position: static;
        width: auto;
        max-height: none;
    }

    .member-sidebar__profile {
        order: -1;
        position: sticky;
        top: 4.85rem;
        z-index: 45;
    }

    .member-sidebar__profile-main {
        gap: 0.55rem;
    }

    .member-sidebar__profile-actions {
        background: #fff;
        display: grid;
        gap: 0;
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .member-sidebar__profile-actions a {
        border-radius: 0;
        height: 2.9rem;
        width: 100%;
    }

    .member-sidebar__section:not(.member-sidebar__profile) {
        order: 2;
        width: 100%;
    }

    .member-feed,
    .social-profile {
        order: 1;
        width: 100%;
    }
}

@media (max-width: 520px) {
    .member-dashboard-nav__link {
        font-size: 0.62rem;
        letter-spacing: 0.02em;
    }

    .member-sidebar__profile-actions a {
        min-width: 0;
    }
}

@media (max-width: 900px) {
    .account-shell--social .member-sidebar__profile {
        display: none;
    }
}

/* Unified dashboard theme: admin tools now share the member dashboard shell language. */
.admin-shell {
    --admin-sidebar-width: 16.5rem;
    --admin-sidebar-collapsed: 4.35rem;
    background: #f3f4f6;
    color: var(--off-black);
}

.admin-shell .admin-sidebar {
    background: #171d22;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    padding: 1.25rem 0.85rem;
}

.admin-shell .admin-main {
    margin-left: var(--admin-sidebar-width);
    min-height: 100vh;
    transition: margin-left 0.18s ease;
}

.admin-shell.is-admin-menu-collapsed .admin-main {
    margin-left: var(--admin-sidebar-collapsed);
}

.admin-shell .admin-brand {
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    gap: 0.65rem;
    justify-content: space-between;
    min-height: 0;
    padding: 0 0.35rem 1rem;
}

.admin-shell .admin-brand__mark strong {
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
}

.admin-shell .admin-brand__mark span {
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.78rem;
    font-weight: 700;
}

.admin-shell .admin-sidebar__collapse {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    flex: 0 0 2rem;
    height: 2rem;
    width: 2rem;
}

.admin-shell .admin-nav {
    display: grid;
    gap: 0.3rem;
    padding-top: 1rem;
}

.admin-shell .admin-nav--settings {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: auto;
    padding-top: 0.75rem;
}

.admin-shell .admin-nav__item,
.admin-shell .admin-nav__row {
    overflow: visible;
}

.admin-shell .admin-nav__row {
    border-radius: 0;
}

.admin-shell .admin-nav__link {
    border-radius: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.84rem;
    font-weight: 900;
    gap: 0.7rem;
    letter-spacing: 0.04em;
    padding: 0.75rem 0.65rem;
    text-transform: uppercase;
}

.admin-shell .admin-nav__toggle {
    flex-basis: 2.2rem;
}

.admin-shell .admin-nav__item.is-open > .admin-nav__row,
.admin-shell .admin-nav__row:has(.admin-nav__link.is-active),
.admin-shell .admin-nav__row:hover,
.admin-shell .admin-nav__row:focus-within {
    background: var(--crest-red);
    box-shadow: none;
}

.admin-shell .admin-nav__icon {
    color: currentColor;
    flex: 0 0 1.1rem;
    height: 1.1rem;
    width: 1.1rem;
}

.admin-shell .admin-subnav {
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    margin: 0.15rem 0 0.35rem 1.2rem;
    padding: 0.15rem 0 0.15rem 0.8rem;
}

.admin-shell .admin-subnav__link {
    border-left: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.36rem 0.45rem;
    text-transform: uppercase;
}

.admin-shell .admin-subnav__link:hover,
.admin-shell .admin-subnav__link.is-active {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.admin-shell .admin-header {
    background: #fff;
    border-bottom: 1px solid #ddd;
    padding: 1.4rem 2rem;
}

.admin-shell .admin-header h1 {
    font-size: clamp(1.9rem, 3vw, 3rem);
    font-weight: 900;
    line-height: 1.05;
}

.admin-shell .admin-content {
    padding: 2rem;
}

.admin-shell .panel-card,
.admin-shell .stat-card,
.admin-shell .preview-card,
.admin-shell .table-list,
.admin-shell .classic-editor-shell,
.admin-shell .wp-screen-header,
.admin-shell .photo-admin-shell,
.admin-shell .project-tile,
.admin-shell .project-empty-card,
.admin-shell .project-create-card,
.admin-shell .volunteer-admin-card {
    border-color: #ddd;
    border-radius: 0;
    box-shadow: none;
}

.admin-shell.is-admin-menu-collapsed .admin-brand {
    border-bottom: 0;
    justify-content: center;
    padding: 0 0 0.75rem;
}

.admin-shell.is-admin-menu-collapsed .admin-sidebar {
    padding-left: 0;
    padding-right: 0;
}

.admin-shell.is-admin-menu-collapsed .admin-nav {
    padding-left: 0;
    padding-right: 0;
}

.admin-shell.is-admin-menu-collapsed .admin-nav__link {
    justify-content: center;
    min-height: 3rem;
    padding: 0.75rem 0;
}

.admin-shell.is-admin-menu-collapsed .admin-sidebar__collapse {
    border-radius: 0;
    width: 100%;
}

.admin-shell.is-admin-menu-collapsed.is-admin-menu-hover-open .admin-sidebar {
    padding: 1.25rem 0.85rem;
}

.admin-shell.is-admin-menu-collapsed.is-admin-menu-hover-open .admin-brand {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    justify-content: space-between;
    padding: 0 0.35rem 1rem;
}

@media (max-width: 880px) {
    .admin-shell .admin-sidebar {
        bottom: auto;
        left: 0;
        overflow-x: auto;
        overflow-y: visible;
        padding: 0.8rem;
        position: sticky;
        top: 0;
        width: 100%;
        z-index: 60;
    }

    .admin-shell .admin-main,
    .admin-shell.is-admin-menu-collapsed .admin-main {
        margin-left: 0;
    }

    .admin-shell .admin-brand {
        padding-bottom: 0.65rem;
    }

    .admin-shell .admin-nav {
        display: flex;
        overflow-x: auto;
        padding-top: 0.65rem;
    }

    .admin-shell .admin-nav--settings {
        border-top: 0;
        margin-top: 0;
    }

    .admin-shell .admin-nav__item {
        flex: 0 0 auto;
    }

    .admin-shell .admin-nav__toggle,
    .admin-shell .admin-subnav {
        display: none;
    }

    .admin-shell .admin-nav__link {
        min-height: 3rem;
        padding: 0.65rem 0.75rem;
    }

    .admin-shell .admin-header,
    .admin-shell .admin-content {
        padding: 1rem;
    }

    .admin-shell .admin-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-shell .admin-header__actions {
        justify-content: flex-start;
    }
}

/* Unified dashboard content pass: make admin pages match member-dashboard pages. */
.admin-shell .admin-grid {
    gap: 1rem;
}

.admin-shell .admin-grid--stats {
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

.admin-shell .panel-card,
.admin-shell .stat-card,
.admin-shell .preview-card,
.admin-shell .member-dashboard-panel,
.admin-shell .wp-screen-header,
.admin-shell .wp-list-controls,
.admin-shell .wp-list-table-wrap,
.admin-shell .classic-editor-main,
.admin-shell .classic-editor-sidebar,
.admin-shell .meta-box,
.admin-shell .photo-admin-panel,
.admin-shell .photo-admin-stats div,
.admin-shell .project-tile,
.admin-shell .project-empty-card,
.admin-shell .project-create-card,
.admin-shell .project-section,
.admin-shell .volunteer-admin-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0;
    box-shadow: none;
}

.admin-shell .panel-card,
.admin-shell .stat-card,
.admin-shell .preview-card,
.admin-shell .wp-screen-header,
.admin-shell .classic-editor-main,
.admin-shell .classic-editor-sidebar,
.admin-shell .meta-box,
.admin-shell .photo-admin-panel,
.admin-shell .project-tile,
.admin-shell .project-empty-card,
.admin-shell .project-create-card,
.admin-shell .volunteer-admin-card {
    padding: 1.25rem;
}

.admin-shell .product-editor-layout .classic-editor-main,
.admin-shell .product-editor-layout .classic-editor-sidebar {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.admin-shell .product-editor-layout .meta-box {
    padding: 0.85rem;
}

.admin-shell .product-editor-layout .meta-box--editor {
    padding: 0;
}

.admin-shell .panel-card__header,
.admin-shell .wp-screen-header,
.admin-shell .classic-editor__header,
.admin-shell .meta-box__header,
.admin-shell .photo-admin-panel__header,
.admin-shell .project-app-header,
.admin-shell .projects-home__header {
    align-items: center;
    border-bottom: 1px solid #e6e6e6;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin: -0.1rem 0 1rem;
    padding-bottom: 0.85rem;
}

.admin-shell .panel-card__header h2,
.admin-shell .wp-screen-header h2,
.admin-shell .classic-editor__header h2,
.admin-shell .meta-box__header h3,
.admin-shell .photo-admin-panel__header h2,
.admin-shell .project-app-header h2,
.admin-shell .projects-home__header h2,
.admin-shell .preview-card h3 {
    color: #111;
    font-family: "Montserrat", sans-serif;
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.2;
    margin: 0;
    text-transform: none;
}

.admin-shell .eyebrow,
.admin-shell .admin-kicker,
.admin-shell .stat-card span,
.admin-shell .meta-box__label,
.admin-shell .meta-box label span,
.admin-shell .form-grid span,
.admin-shell .photo-admin-stats span {
    color: #6b7280;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.admin-shell .stat-card {
    align-content: start;
    display: grid;
    gap: 0.35rem;
    min-height: 8.25rem;
}

.admin-shell .stat-card strong {
    color: #111;
    font-size: clamp(1.9rem, 3vw, 3rem);
    font-weight: 900;
    line-height: 1;
}

.admin-shell .stat-card p,
.admin-shell .panel-card p,
.admin-shell .preview-card p,
.admin-shell .module-summary,
.admin-shell .project-tile__meta,
.admin-shell .project-empty-card p,
.admin-shell .photo-admin-note,
.admin-shell .volunteer-admin-card p {
    color: #5e6772;
    line-height: 1.45;
}

.admin-shell .quick-actions {
    gap: 0.55rem;
}

.admin-shell .button,
.admin-shell .header-action,
.admin-shell button,
.admin-shell input[type="submit"] {
    border-radius: 0;
}

.admin-shell .button,
.admin-shell .header-action,
.admin-shell .wp-list-controls a,
.admin-shell .photo-admin-tab,
.admin-shell .photo-admin-actions a,
.admin-shell .photo-admin-actions button,
.admin-shell .project-link-button,
.admin-shell .volunteer-admin-card__actions a,
.admin-shell .volunteer-admin-card__actions button {
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    min-height: 2.4rem;
    text-transform: uppercase;
}

.admin-shell .button--primary,
.admin-shell .header-action--edit,
.admin-shell .photo-admin-tab.is-active {
    background: var(--crest-red);
    border-color: var(--crest-red);
    color: #fff;
}

.admin-shell .button--secondary,
.admin-shell .header-action,
.admin-shell .wp-list-controls a,
.admin-shell .photo-admin-tab,
.admin-shell .volunteer-admin-card__actions a,
.admin-shell .volunteer-admin-card__actions button {
    background: #fff;
    border: 1px solid #d1d5db;
    color: #111;
}

.admin-shell input,
.admin-shell select,
.admin-shell textarea {
    border: 1px solid #cfd4dc;
    border-radius: 0;
    box-shadow: none;
    min-height: 2.6rem;
}

.admin-shell input:focus,
.admin-shell select:focus,
.admin-shell textarea:focus {
    border-color: #111;
    box-shadow: 0 0 0 2px rgba(203, 44, 48, 0.18);
    outline: 0;
}

.admin-shell .form-grid {
    gap: 0.85rem;
}

.admin-shell .table-list,
.admin-shell .wp-list-table,
.admin-shell .photo-admin-table {
    background: #fff;
    border: 1px solid #ddd;
    border-collapse: collapse;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
}

.admin-shell .table-list__row,
.admin-shell .wp-list-table th,
.admin-shell .wp-list-table td,
.admin-shell .photo-admin-table th,
.admin-shell .photo-admin-table td {
    border-color: #e5e7eb;
}

.admin-shell .wp-list-table thead th,
.admin-shell .photo-admin-table th {
    background: #f8fafc;
    color: #3f4650;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.admin-shell .table-list__row:hover,
.admin-shell .wp-list-table tbody tr:hover > td,
.admin-shell .photo-admin-table tr:hover td {
    background: #f8fafc;
}

.admin-shell .classic-editor-shell {
    background: transparent;
    border: 0;
    box-shadow: none;
    gap: 1rem;
}

.admin-shell .classic-editor {
    border: 1px solid #ddd;
    border-radius: 0;
}

.admin-shell .classic-editor__visual,
.admin-shell .classic-editor__code {
    background: #fff;
}

.admin-shell .photo-admin-shell {
    background: transparent;
    border: 0;
    display: grid;
    gap: 1rem;
}

.admin-shell .photo-admin-hero {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0;
    box-shadow: none;
    color: #111;
}

.admin-shell .photo-admin-hero h1 {
    color: #111;
}

.admin-shell .photo-admin-hero p {
    color: #5e6772;
}

.admin-shell .photo-admin-tabs {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0;
    gap: 0.35rem;
    padding: 0.5rem;
}

.admin-shell .project-card-grid,
.admin-shell .photo-admin-command-grid,
.admin-shell .volunteer-admin-grid {
    gap: 1rem;
}

.admin-shell .project-tile__avatar {
    border-radius: 0;
}

.admin-shell .project-progress-bar,
.admin-shell .volunteer-admin-progress {
    border-radius: 0;
}

.admin-shell .wp-status-badge,
.admin-shell .photo-admin-count,
.admin-shell .volunteer-admin-card__meta span {
    border-radius: 0;
    font-weight: 900;
}

@media (max-width: 880px) {
    .admin-shell .panel-card,
    .admin-shell .stat-card,
    .admin-shell .preview-card,
    .admin-shell .wp-screen-header,
    .admin-shell .classic-editor-main,
    .admin-shell .classic-editor-sidebar,
    .admin-shell .meta-box,
    .admin-shell .photo-admin-panel,
    .admin-shell .project-tile,
    .admin-shell .project-empty-card,
    .admin-shell .project-create-card,
    .admin-shell .volunteer-admin-card {
        padding: 1rem;
    }

    .admin-shell .panel-card__header,
    .admin-shell .wp-screen-header,
    .admin-shell .classic-editor__header,
    .admin-shell .meta-box__header,
    .admin-shell .photo-admin-panel__header,
    .admin-shell .project-app-header,
    .admin-shell .projects-home__header {
        align-items: flex-start;
        display: grid;
    }
}

/* Project workspace density guardrails. Keep the Asana-like project UI compact inside the unified dashboard shell. */
.admin-shell .project-app .project-icon-button,
.admin-shell .project-app .project-row-more,
.admin-shell .project-app .project-due-trigger,
.admin-shell .project-app .project-drawer-due-trigger,
.admin-shell .project-app .project-subtask-indicator {
    height: 32px;
    line-height: 1;
    min-height: 32px;
    min-width: 32px;
    padding: 4px;
    width: 32px;
}

.admin-shell .project-app .project-jump-add {
    width: auto;
}

.admin-shell .project-app .project-icon-button svg,
.admin-shell .project-app .project-row-more svg,
.admin-shell .project-app .project-due-trigger svg,
.admin-shell .project-app .project-drawer-due-trigger svg,
.admin-shell .project-app .project-subtask-indicator svg,
.admin-shell .project-app .project-owner-inline-form svg,
.admin-shell .project-app .project-add-task-row svg,
.admin-shell .project-app .project-drag-handle svg {
    flex: 0 0 17px;
    height: 17px;
    max-height: 17px;
    max-width: 17px;
    width: 17px;
}

.admin-shell .project-app .project-section-row {
    gap: 8px;
    grid-template-columns: 28px 32px minmax(0, 1fr) minmax(12rem, auto) 32px;
    min-height: 44px;
    padding: 6px 10px;
}

.admin-shell .project-app .project-task-row {
    gap: 8px;
    grid-template-columns: 30px minmax(220px, 1fr) 92px minmax(120px, 180px) 58px 32px;
    min-height: 42px;
    padding: 5px 10px;
}

.admin-shell .project-app .project-add-task-row {
    min-height: 36px;
    padding: 6px 10px;
}

.admin-shell .project-app .project-section-title {
    flex-wrap: nowrap;
    gap: 8px;
    min-width: 0;
}

.admin-shell .project-app .project-section-title strong {
    flex: 0 1 auto;
    min-width: 0;
}

.admin-shell .project-app .project-owner-inline-form {
    flex: 0 0 auto;
    height: 28px;
    justify-self: end;
    max-width: min(46rem, 100%);
}

.admin-shell .project-app .project-section-owner-cell {
    justify-content: flex-end;
}

.admin-shell .project-app .project-section-row .person-multi-picker {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    display: flex;
    gap: 0.3rem;
    height: 28px;
    justify-content: flex-end;
    min-width: 8.25rem;
    max-width: min(46rem, 100%);
    padding: 0;
    transition: max-width 140ms ease, min-width 140ms ease;
}

.admin-shell .project-app .project-section-row .person-multi-picker:focus-within {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    min-width: 16rem;
    max-width: min(46rem, 100%);
}

.admin-shell .project-app .project-section-row .person-multi-picker__chips {
    flex: 0 1 auto;
    flex-wrap: nowrap;
    gap: 0.3rem;
    justify-content: flex-end;
    min-width: 0;
    overflow: hidden;
}

.admin-shell .project-app .project-section-row .person-multi-picker__chip,
.admin-shell .project-app .project-section-row .person-multi-picker__empty {
    align-items: center;
    background: transparent;
    border: 0;
    color: rgba(255, 255, 255, 0.94);
    display: inline-flex;
    flex: 0 1 auto;
    font-size: 0.68rem;
    font-weight: 850;
    gap: 0.25rem;
    min-width: 0;
    padding: 0;
}

.admin-shell .project-app .project-section-row .person-multi-picker__chip {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    max-width: 18rem;
    padding: 0.18rem 0.35rem 0.18rem 0.22rem;
}

.admin-shell .project-app .project-section-row .person-multi-picker__empty {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    padding: 0.18rem 0.5rem 0.18rem 0.22rem;
}

.admin-shell .project-app .project-section-row .person-multi-picker__empty span,
.admin-shell .project-app .project-section-row .person-multi-picker__chip img,
.admin-shell .project-app .project-section-row .person-multi-picker__chip span {
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    flex: 0 0 1rem;
    font-size: 0.52rem;
    height: 1rem;
    justify-content: center;
    object-fit: cover;
    width: 1rem;
}

.admin-shell .project-app .project-section-row .person-multi-picker__empty strong,
.admin-shell .project-app .project-section-row .person-multi-picker__chip strong {
    color: inherit;
    max-width: 15rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-shell .project-app .project-section-row .person-multi-picker__chip b {
    display: inline-block;
    flex: 0 0 auto;
    height: 0.65rem;
    opacity: 0.54;
    position: relative;
    width: 0.65rem;
}

.admin-shell .project-app .project-section-row .person-multi-picker__chip b::before,
.admin-shell .project-app .project-section-row .person-multi-picker__chip b::after {
    background: currentColor;
    border-radius: 999px;
    content: "";
    height: 1px;
    left: 50%;
    position: absolute;
    top: 50%;
    width: 0.62rem;
}

.admin-shell .project-app .project-section-row .person-multi-picker__chip b::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.admin-shell .project-app .project-section-row .person-multi-picker__chip b::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.admin-shell .project-app .project-section-row .person-multi-picker__input {
    background: transparent;
    border: 0;
    box-shadow: none;
    color: rgba(255, 255, 255, 0.94);
    flex: 1 1 1.5rem;
    font-size: 0.68rem;
    line-height: 1;
    min-height: 0;
    min-width: 0;
    outline: 0;
    padding: 0.18rem 0.5rem;
    width: 0;
}

.admin-shell .project-app .project-section-row .person-multi-picker__input::placeholder {
    color: transparent;
}

.admin-shell .project-app .project-section-row .person-multi-picker.has-selection .person-multi-picker__input {
    appearance: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    caret-color: transparent;
    color: rgba(255, 255, 255, 0.48);
    cursor: pointer;
    flex: 0 0 1.25rem;
    font-size: 0.9rem;
    font-weight: 800;
    height: 1.25rem;
    line-height: 1;
    padding: 0;
    text-align: center;
    width: 1.25rem;
}

.admin-shell .project-app .project-section-row .person-multi-picker.has-selection .person-multi-picker__input::placeholder {
    color: rgba(255, 255, 255, 0.48);
    opacity: 1;
}

.admin-shell .project-app .project-section-row .person-multi-picker:focus-within .person-multi-picker__chip,
.admin-shell .project-app .project-section-row .person-multi-picker:focus-within .person-multi-picker__empty {
    color: rgba(255, 255, 255, 0.94);
}

.admin-shell .project-app .project-section-row .person-multi-picker:focus-within .person-multi-picker__empty span,
.admin-shell .project-app .project-section-row .person-multi-picker:focus-within .person-multi-picker__chip img,
.admin-shell .project-app .project-section-row .person-multi-picker:focus-within .person-multi-picker__chip span {
    background: rgba(255, 255, 255, 0.24);
    border-color: rgba(255, 255, 255, 0.42);
}

.admin-shell .project-app .project-section-row .person-multi-picker:focus-within .person-multi-picker__chip b {
    opacity: 0.66;
}

.admin-shell .project-app .project-section-row .person-multi-picker:focus-within .person-multi-picker__input {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 999px;
    box-shadow: none;
    color: #fff;
    caret-color: auto;
    cursor: text;
    flex-basis: 8rem;
    font-size: 0.68rem;
    font-weight: 500;
    height: auto;
    min-height: 0;
    min-width: 8rem;
    outline: 0;
    padding: 0.18rem 0.5rem;
    text-align: left;
    width: 8rem;
}

.admin-shell .project-app .project-section-row .person-multi-picker:focus-within .person-multi-picker__input::placeholder {
    color: rgba(255, 255, 255, 0.72);
}

.admin-shell .project-app .project-section-row .person-multi-picker__list {
    color: #111827;
    min-width: 14rem;
}

@media (max-width: 980px) {
    .admin-shell .project-app .project-section-row {
        grid-template-columns: 24px 30px minmax(0, 1fr) 30px;
    }

    .admin-shell .project-app .project-section-owner-cell {
        display: none;
    }

    .admin-shell .project-app .project-task-row {
        grid-template-columns: 26px minmax(0, 1fr) 30px;
    }
}

.workflow-modal.admin-shell {
    background: transparent;
    color: var(--off-black);
}

.workflow-modal.admin-shell .workflow-modal__panel {
    background: #f4f5f7;
}
.member-notification-settings {
    gap: 18px;
}

.member-push-device {
    align-items: center;
    background: #f7f7f7;
    border: 1px solid rgba(22, 22, 22, 0.12);
    border-radius: 8px;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    padding: 14px;
}

.member-push-device div {
    display: grid;
    gap: 4px;
}

.member-push-device span,
.member-push-note,
.member-notification-grid__fixed {
    color: #666;
    font-size: 0.9rem;
}

.member-lock-screen-options {
    border: 1px solid rgba(22, 22, 22, 0.12);
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 0;
    padding: 14px;
}

.member-lock-screen-options legend {
    color: #333;
    font-weight: 800;
    padding: 0 6px;
}

.member-lock-screen-options label {
    align-items: center;
    display: inline-flex;
    gap: 8px;
}

.member-notification-grid {
    display: grid;
    gap: 0;
    grid-template-columns: minmax(0, 1fr) 76px 76px;
    overflow: hidden;
}

.member-notification-grid > * {
    align-items: center;
    border-bottom: 1px solid rgba(22, 22, 22, 0.09);
    display: flex;
    justify-content: center;
    min-height: 42px;
    padding: 8px;
}

.member-notification-grid > :nth-child(3n + 1) {
    justify-content: flex-start;
}

.member-notification-grid > strong {
    background: #161616;
    color: #fff;
    font-size: 0.76rem;
    letter-spacing: 0;
    text-transform: uppercase;
}

.member-notification-grid input[type="checkbox"],
.member-lock-screen-options input[type="radio"] {
    accent-color: #cb2c30;
}

@media (max-width: 640px) {
    .member-push-device {
        align-items: stretch;
        flex-direction: column;
    }

    .member-notification-grid {
        grid-template-columns: minmax(0, 1fr) 62px 62px;
    }
}

/* Scoped content blocks for public program and booster information pages. */
.bb-info-hero {
    align-items: stretch;
    display: grid;
    gap: clamp(22px, 4vw, 44px);
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
}

.bb-info-hero__copy {
    align-self: center;
    display: grid;
    gap: 18px;
}

.bb-info-hero__copy h1 {
    color: #161616;
    font-size: clamp(2.35rem, 5vw, 4.7rem);
    line-height: 0.96;
    margin: 0;
}

.bb-info-hero__summary {
    color: #3d3d3d;
    font-size: 1.08rem;
    line-height: 1.72;
    max-width: 68ch;
}

.bb-info-hero__summary > :first-child,
.bb-action-cards__card > :first-child {
    margin-top: 0;
}

.bb-info-hero__summary > :last-child,
.bb-action-cards__card > :last-child {
    margin-bottom: 0;
}

.bb-info-hero__media {
    background: #161616;
    border-radius: 8px;
    box-shadow: 0 22px 55px rgba(22, 22, 22, 0.18);
    margin: 0;
    min-height: 320px;
    overflow: hidden;
    position: relative;
}

.bb-info-hero__media img {
    display: block;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    width: 100%;
}

.bb-info-hero__media figcaption {
    background: rgba(22, 22, 22, 0.76);
    bottom: 0;
    color: #fff;
    font-size: 0.82rem;
    left: 0;
    padding: 10px 14px;
    position: absolute;
    right: 0;
}

.bb-info-hero__stat {
    align-self: stretch;
    background: #161616;
    border-left: 8px solid #cb2c30;
    border-radius: 8px;
    color: #fff;
    display: grid;
    gap: 12px;
    min-height: 300px;
    padding: clamp(24px, 4vw, 42px);
    place-content: center start;
}

.bb-info-hero--action .bb-info-hero__stat {
    background: #233a1c;
}

.bb-info-hero__stat strong {
    display: block;
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.9;
}

.bb-info-hero__stat span {
    color: #ff9865;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.bb-info-hero__stat p {
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.55;
    margin: 0;
    max-width: 34ch;
}

.bb-quick-facts,
.bb-action-cards {
    display: grid;
    gap: 22px;
}

.bb-quick-facts__header,
.bb-action-cards__header {
    display: grid;
    gap: 8px;
    max-width: 760px;
}

.bb-quick-facts__header h2,
.bb-action-cards__header h2 {
    color: #161616;
    font-size: clamp(1.75rem, 3vw, 2.6rem);
    line-height: 1.05;
    margin: 0;
}

.bb-quick-facts__grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bb-quick-facts__item {
    background: #fff;
    border: 1px solid rgba(22, 22, 22, 0.1);
    border-radius: 8px;
    display: grid;
    gap: 7px;
    padding: 18px;
}

.bb-quick-facts__item span,
.bb-action-cards__card > span {
    color: #cb2c30;
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0;
    text-transform: uppercase;
}

.bb-quick-facts__item strong {
    color: #161616;
    font-size: 1.22rem;
    line-height: 1.1;
}

.bb-quick-facts__item p {
    color: #4a4a4a;
    font-size: 0.92rem;
    line-height: 1.45;
    margin: 0;
}

.bb-action-cards__grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bb-action-cards__card {
    background: #fff;
    border: 1px solid rgba(22, 22, 22, 0.1);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(22, 22, 22, 0.08);
    display: grid;
    gap: 12px;
    padding: clamp(18px, 3vw, 26px);
}

.bb-action-cards__card h3 {
    color: #161616;
    font-size: 1.2rem;
    line-height: 1.2;
    margin: 0;
}

.bb-action-cards__card p,
.bb-action-cards__card li {
    color: #454545;
    line-height: 1.58;
}

.bb-staff-profiles {
    display: grid;
    gap: 24px;
}

.bb-staff-profiles__header {
    display: grid;
    gap: 10px;
    max-width: 820px;
}

.bb-staff-profiles__header h2 {
    color: #161616;
    font-size: clamp(1.9rem, 4vw, 3.2rem);
    line-height: 1.02;
    margin: 0;
}

.bb-staff-profiles__intro {
    color: #454545;
    font-size: 1.02rem;
    line-height: 1.65;
}

.bb-staff-profiles__intro > :first-child,
.bb-staff-card__bio > :first-child {
    margin-top: 0;
}

.bb-staff-profiles__intro > :last-child,
.bb-staff-card__bio > :last-child {
    margin-bottom: 0;
}

.bb-staff-profiles__empty {
    background: #fff;
    border: 1px solid rgba(22, 22, 22, 0.1);
    border-radius: 8px;
    color: #4a4a4a;
    margin: 0;
    padding: 18px;
}

.bb-staff-profiles__grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bb-staff-profiles--featured .bb-staff-profiles__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bb-staff-card {
    background: #fff;
    border: 1px solid rgba(22, 22, 22, 0.1);
    border-radius: 8px;
    box-shadow: 0 16px 38px rgba(22, 22, 22, 0.08);
    display: grid;
    overflow: hidden;
}

.bb-staff-profiles--featured .bb-staff-card {
    grid-template-columns: minmax(160px, 0.42fr) minmax(0, 0.58fr);
}

.bb-staff-profiles--compact .bb-staff-card {
    align-items: center;
    grid-template-columns: 104px minmax(0, 1fr);
}

.bb-staff-card__photo {
    aspect-ratio: 4 / 3;
    background: #f1f1f1;
    margin: 0;
    min-height: 180px;
    overflow: hidden;
}

.bb-staff-profiles--compact .bb-staff-card__photo {
    aspect-ratio: 1;
    min-height: 104px;
}

.bb-staff-card__photo img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.bb-staff-card__copy {
    display: grid;
    gap: 10px;
    padding: clamp(18px, 3vw, 24px);
}

.bb-staff-card__role {
    color: #cb2c30;
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0;
    text-transform: uppercase;
}

.bb-staff-card h3 {
    color: #161616;
    font-size: 1.28rem;
    line-height: 1.12;
    margin: 0;
}

.bb-staff-card__bio {
    color: #4a4a4a;
    line-height: 1.55;
}

.bb-staff-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.bb-staff-card__badges span {
    background: rgba(35, 58, 28, 0.08);
    border-radius: 999px;
    color: #233a1c;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 6px 9px;
}

.bb-staff-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}



.festival-page {
    --festival-red: var(--theme-primary, #cb2c30);
    --festival-red-dark: #9f1f27;
    --festival-ink: #171717;
    --festival-muted: #555;
    --festival-soft: #f6f2ec;
    --festival-line: rgba(17, 17, 17, 0.11);
    color: var(--festival-ink);
}

.festival-page * {
    box-sizing: border-box;
}

.festival-page h1,
.festival-page h2,
.festival-page h3,
.festival-page p,
.festival-page figure {
    margin-top: 0;
}

.festival-page__inner {
    width: min(100% - 2rem, 1180px);
    margin: 0 auto;
}

.festival-kicker {
    color: var(--festival-red);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.festival-hero {
    background: #070707;
    color: #fff;
    overflow: hidden;
    padding: clamp(34px, 6vw, 76px) 0;
}

.festival-hero__grid {
    align-items: center;
    display: grid;
    gap: clamp(26px, 5vw, 64px);
    grid-template-columns: minmax(0, 0.96fr) minmax(300px, 0.74fr);
}

.festival-hero__copy {
    display: grid;
    gap: 18px;
}

.festival-hero h1 {
    color: #fff;
    font-size: clamp(2.5rem, 6.4vw, 5.25rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 0.95;
    margin-bottom: 0;
    text-transform: uppercase;
}

.festival-hero__summary {
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1.05rem, 1.8vw, 1.32rem);
    line-height: 1.62;
    max-width: 62ch;
}

.festival-hero__actions,
.festival-page .festival-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.festival-button {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 900;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    text-decoration: none;
    text-transform: uppercase;
}

.festival-button--primary {
    background: var(--festival-red);
    color: #fff;
}

.festival-button--secondary {
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
}

.festival-hero__media {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    box-shadow: 18px 18px 0 var(--festival-red);
    margin: 0;
    min-height: 420px;
    overflow: hidden;
}

.festival-hero__media img {
    display: block;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    width: 100%;
}

.festival-date-card {
    background: #fff;
    border-radius: 8px;
    color: var(--festival-ink);
    display: grid;
    gap: 4px;
    justify-self: start;
    min-width: min(100%, 360px);
    padding: 16px 18px;
}

.festival-date-card span {
    color: var(--festival-red);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.festival-date-card strong {
    font-size: clamp(1.25rem, 2.7vw, 2rem);
    line-height: 1.05;
}

.festival-section {
    background: #fff;
    padding: clamp(36px, 6vw, 76px) 0;
}

.festival-section--soft {
    background: var(--festival-soft);
}

.festival-section--dark {
    background: #111;
    color: #fff;
}

.festival-section__head {
    display: grid;
    gap: 10px;
    margin: 0 0 clamp(22px, 4vw, 38px);
    max-width: 760px;
}

.festival-section__head--center {
    justify-items: center;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.festival-section__head h2 {
    color: inherit;
    font-size: clamp(1.8rem, 4vw, 3.35rem);
    font-weight: 900;
    line-height: 0.98;
    margin-bottom: 0;
    text-transform: uppercase;
}

.festival-section__head p {
    color: var(--festival-muted);
    font-size: 1.02rem;
    line-height: 1.65;
    margin-bottom: 0;
}

.festival-section--dark .festival-section__head p,
.festival-section--dark .festival-card p,
.festival-section--dark .festival-card small {
    color: rgba(255, 255, 255, 0.76);
}

.festival-card-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.festival-card {
    background: #fff;
    border: 1px solid var(--festival-line);
    border-radius: 8px;
    display: grid;
    gap: 10px;
    padding: clamp(18px, 3vw, 26px);
}

.festival-card h3 {
    font-size: 1.2rem;
    line-height: 1.15;
    margin-bottom: 0;
}

.festival-card p {
    color: var(--festival-muted);
    line-height: 1.55;
    margin-bottom: 0;
}

.festival-card small {
    color: var(--festival-red);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.festival-card--red {
    background: var(--festival-red);
    border-color: var(--festival-red);
    color: #fff;
}

.festival-card--red small,
.festival-card--red p,
.festival-card--red a {
    color: #fff;
}

.festival-card--dark {
    background: #171717;
    border-color: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.festival-recap {
    align-items: center;
    display: grid;
    gap: clamp(24px, 5vw, 54px);
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
}

.festival-recap figure {
    border-radius: 8px;
    margin: 0;
    overflow: hidden;
}

.festival-recap img {
    display: block;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    width: 100%;
}

.festival-recap__copy {
    display: grid;
    gap: 16px;
}

.festival-recap__copy h2 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 4.1rem);
    font-weight: 900;
    line-height: 0.95;
    margin-bottom: 0;
    text-transform: uppercase;
}

.festival-recap__copy p {
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    line-height: 1.65;
}

.festival-schedule-grid {
    align-items: start;
    display: grid;
    gap: clamp(22px, 4vw, 44px);
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.58fr);
}

.festival-doc-stack {
    display: grid;
    gap: 18px;
}

.festival-doc {
    background: #fff;
    border: 1px solid var(--festival-line);
    border-radius: 8px;
    margin: 0;
    overflow: hidden;
}

.festival-doc img {
    display: block;
    height: auto;
    width: 100%;
}

.festival-doc figcaption {
    color: var(--festival-muted);
    font-size: 0.86rem;
    font-weight: 800;
    padding: 12px 14px 14px;
    text-align: center;
}

.festival-info-panel {
    background: #fff;
    border: 1px solid var(--festival-line);
    border-radius: 8px;
    display: grid;
    gap: 18px;
    padding: clamp(20px, 3vw, 28px);
}

.festival-info-panel h3 {
    font-size: 1.35rem;
    line-height: 1.15;
    margin-bottom: 0;
}

.festival-place-list {
    display: grid;
    gap: 12px;
}

.festival-place {
    border-left: 5px solid var(--festival-red);
    padding-left: 14px;
}

.festival-place a {
    color: var(--festival-red);
    font-weight: 900;
}

.festival-place p,
.festival-note p {
    color: var(--festival-muted);
    line-height: 1.5;
    margin-bottom: 0;
}

.festival-note {
    background: #f7f7f7;
    border-radius: 8px;
    display: grid;
    gap: 8px;
    padding: 16px;
}

.festival-gallery-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.festival-gallery-grid figure {
    background: #fff;
    border: 1px solid var(--festival-line);
    border-radius: 8px;
    margin: 0;
    overflow: hidden;
}

.festival-gallery-grid img {
    display: block;
    height: 260px;
    object-fit: cover;
    width: 100%;
}

.festival-gallery-grid figcaption {
    color: var(--festival-muted);
    font-size: 0.84rem;
    font-weight: 850;
    padding: 12px 14px;
}

@media (max-width: 920px) {
    .festival-hero__grid,
    .festival-recap,
    .festival-schedule-grid,
    .festival-card-grid,
    .festival-gallery-grid {
        grid-template-columns: 1fr;
    }

    .festival-hero__media {
        box-shadow: 10px 10px 0 var(--festival-red);
        min-height: 300px;
    }

    .festival-hero__media img,
    .festival-recap img {
        min-height: 300px;
    }
}

@media (max-width: 640px) {
    .festival-hero,
    .festival-section {
        padding: 32px 0;
    }

    .festival-button {
        width: 100%;
    }

    .festival-hero__actions,
    .festival-page .festival-action-row {
        display: grid;
    }

    .festival-date-card {
        width: 100%;
    }

    .festival-gallery-grid img {
        height: 220px;
    }
}

.bb-sponsor-page {
    color: #171717;
    display: grid;
    gap: clamp(42px, 7vw, 84px);
}

.bb-sponsor-page > :not(.bb-sponsor-hero),
.bb-sponsor-form-block {
    padding: clamp(20px, 3vw, 40px) clamp(20px, 4vw, 64px);
}

.bb-sponsor-page h1,
.bb-sponsor-page h2,
.bb-sponsor-page h3,
.bb-sponsor-page p {
    margin-top: 0;
}

.bb-sponsor-hero {
    align-items: stretch;
    background: #050505;
    color: #fff;
    display: grid;
    gap: clamp(24px, 4vw, 46px);
    grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
    padding: clamp(28px, 5vw, 64px);
}

.bb-sponsor-hero .bb-site-eyebrow,
.bb-sponsor-hero__copy h1,
.bb-sponsor-hero__copy h2,
.bb-sponsor-hero__copy p {
    color: #fff;
}

.bb-sponsor-hero__copy {
    align-self: center;
    display: grid;
    gap: 18px;
}

.bb-sponsor-hero__copy h1,
.bb-sponsor-section-head h2 {
    font-size: clamp(2.4rem, 6vw, 5.2rem);
    line-height: 0.92;
    margin: 0;
    text-transform: uppercase;
}

.bb-sponsor-hero__copy p,
.bb-sponsor-section-head p {
    color: #464646;
    font-size: 1.08rem;
    line-height: 1.7;
    max-width: 68ch;
}

.bb-sponsor-hero__media,
.bb-sponsor-image-panel {
    background: #111;
    border-radius: 8px;
    box-shadow: 0 22px 55px rgba(17, 17, 17, 0.18);
    margin: 0;
    min-height: 360px;
    overflow: hidden;
}

.bb-sponsor-hero__media img,
.bb-sponsor-image-panel img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.bb-sponsor-impact {
    display: grid;
    gap: clamp(24px, 4vw, 46px);
    grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
}

.bb-sponsor-section-head {
    display: grid;
    gap: 14px;
}

.bb-sponsor-section-head h2 {
    font-size: clamp(2rem, 4.5vw, 4rem);
}

.bb-sponsor-stat-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bb-sponsor-stat {
    background: #fff;
    border: 1px solid rgba(17, 17, 17, 0.1);
    border-radius: 8px;
    display: grid;
    gap: 8px;
    min-height: 142px;
    padding: 20px;
}

.bb-sponsor-stat strong {
    color: #cb2c30;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 0.9;
}

.bb-sponsor-stat span {
    color: #363636;
    font-size: 0.95rem;
    font-weight: 750;
    line-height: 1.35;
}

.bb-sponsor-impact {
    background: var(--theme-primary, #b5121b);
    color: #fff;
    gap: clamp(16px, 2.2vw, 28px);
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
}

.bb-sponsor-impact .bb-sponsor-section-head {
    justify-items: center;
    max-width: 920px;
}

.bb-sponsor-impact .bb-sponsor-section-head h2,
.bb-sponsor-impact .bb-sponsor-stat strong,
.bb-sponsor-impact .bb-sponsor-stat span {
    color: #fff;
}

.bb-sponsor-impact .bb-sponsor-section-head h2 {
    font-size: clamp(1.55rem, 2.8vw, 2.9rem);
    line-height: 1.05;
}

.bb-sponsor-impact .bb-sponsor-stat-grid {
    gap: clamp(10px, 1.5vw, 18px);
    grid-template-columns: repeat(4, minmax(140px, 1fr));
    margin: 0 auto;
    max-width: 1040px;
    width: 100%;
}

.bb-sponsor-impact .bb-sponsor-stat {
    align-content: center;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: none;
    justify-items: center;
    min-height: clamp(98px, 10vw, 136px);
    padding: clamp(12px, 1.7vw, 20px);
    text-align: center;
}

.bb-sponsor-impact .bb-sponsor-stat strong {
    font-size: clamp(2.1rem, 4.6vw, 4rem);
}

.bb-sponsor-impact .bb-sponsor-stat span {
    font-size: clamp(0.8rem, 1vw, 0.94rem);
    max-width: 24ch;
}

.bb-sponsor-benefits {
    align-items: center;
    background: #f4eee7;
    display: grid;
    gap: clamp(24px, 4vw, 44px);
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
}

.bb-sponsor-benefits > div {
    display: contents;
}

.bb-sponsor-benefits .bb-sponsor-section-head {
    align-self: center;
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
    max-width: 680px;
}

.bb-sponsor-benefits .bb-sponsor-image-panel {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    width: 100%;
}

.bb-sponsor-benefit-grid,
.bb-sponsor-reach-grid,
.bb-sponsor-more-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bb-sponsor-benefits .bb-sponsor-benefit-grid {
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: repeat(5, minmax(130px, 1fr));
    justify-self: center;
    max-width: 1180px;
    width: 100%;
}

.bb-sponsor-benefit,
.bb-sponsor-reach-card,
.bb-sponsor-more-card {
    background: #fff;
    border: 1px solid rgba(17, 17, 17, 0.1);
    border-radius: 8px;
    display: grid;
    gap: 8px;
    padding: 20px;
}

.bb-sponsor-benefit h3,
.bb-sponsor-reach-card h3,
.bb-sponsor-more-card h3 {
    color: #171717;
    font-size: 1.08rem;
    line-height: 1.15;
    margin: 0;
}

.bb-sponsor-benefit p,
.bb-sponsor-reach-card p,
.bb-sponsor-more-card p {
    color: #4c4c4c;
    line-height: 1.55;
    margin: 0;
}

.bb-sponsor-roi {
    align-items: center;
    gap: clamp(14px, 2vw, 22px);
    justify-items: center;
    text-align: center;
}

.bb-sponsor-roi > .bb-sponsor-section-head,
.bb-sponsor-roi > .bb-sponsor-reach-grid {
    padding-bottom: 0;
    padding-top: 0;
}

.bb-sponsor-roi .bb-sponsor-section-head {
    justify-items: center;
    max-width: 900px;
}

.bb-sponsor-roi .bb-sponsor-section-head h2 {
    background: var(--theme-primary, #b5121b);
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 3rem);
    line-height: 1.05;
    padding: clamp(18px, 3vw, 34px) clamp(20px, 5vw, 70px);
    text-align: center;
}

.bb-sponsor-roi .bb-sponsor-section-head .bb-site-eyebrow {
    justify-self: center;
}

.bb-sponsor-roi .bb-sponsor-reach-grid {
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 820px;
    width: 100%;
}

.bb-sponsor-roi .bb-sponsor-reach-card {
    gap: 5px;
    min-height: 0;
    padding: 14px 16px;
}

.bb-sponsor-roi .bb-sponsor-reach-card h3 {
    font-size: 0.98rem;
}

.bb-sponsor-roi .bb-sponsor-reach-card p {
    font-size: 0.9rem;
    line-height: 1.35;
}

.bb-sponsor-logo-section {
    background: #050505;
    color: #fff;
}

.bb-sponsor-logo-section .bb-site-eyebrow,
.bb-sponsor-logo-section h2,
.bb-sponsor-logo-section p {
    color: #fff;
}

.bb-sponsor-logo-everywhere {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bb-sponsor-logo-place {
    background: #111;
    border-radius: 8px;
    color: #fff;
    display: grid;
    min-height: 190px;
    overflow: hidden;
    position: relative;
}

.bb-sponsor-logo-place img {
    display: block;
    height: 100%;
    object-fit: cover;
    opacity: 0.76;
    width: 100%;
}

.bb-sponsor-logo-place span {
    align-self: end;
    background: linear-gradient(180deg, rgba(17, 17, 17, 0), rgba(17, 17, 17, 0.86));
    bottom: 0;
    font-size: 0.86rem;
    font-weight: 850;
    left: 0;
    padding: 42px 14px 14px;
    position: absolute;
    right: 0;
    text-transform: uppercase;
}

.bb-sponsor-tower {
    align-items: stretch;
    display: grid;
    gap: clamp(22px, 4vw, 44px);
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
}

.bb-sponsor-tower__copy {
    background: #171717;
    border-left: 8px solid #cb2c30;
    border-radius: 8px;
    color: #fff;
    display: grid;
    gap: 18px;
    padding: clamp(24px, 4vw, 42px);
}

.bb-sponsor-tower__copy h2 {
    color: #fff;
    font-size: clamp(2rem, 4.5vw, 4rem);
    line-height: 0.96;
    margin: 0;
}

.bb-sponsor-tower__copy p,
.bb-sponsor-tower__copy li {
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.6;
}

.bb-sponsor-tower__copy ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding-left: 20px;
}

.bb-sponsor-recognition {
    display: grid;
    gap: 22px;
}

.bb-sponsor-recognition__grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bb-sponsor-recognition__item {
    background: #111;
    border-radius: 8px;
    color: #fff;
    display: grid;
    min-height: 220px;
    overflow: hidden;
    position: relative;
}

.bb-sponsor-recognition__item img {
    height: 100%;
    object-fit: cover;
    opacity: 0.78;
    width: 100%;
}

.bb-sponsor-recognition__item span {
    align-self: end;
    background: linear-gradient(180deg, rgba(17, 17, 17, 0), rgba(17, 17, 17, 0.86));
    bottom: 0;
    font-weight: 850;
    left: 0;
    padding: 44px 16px 16px;
    position: absolute;
    right: 0;
    text-transform: uppercase;
}

.bb-sponsor-form-block {
    align-items: start;
    display: grid;
    gap: clamp(24px, 4vw, 44px);
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
}

.bb-sponsor-form-block__copy h2 {
    font-size: clamp(2rem, 5vw, 4.4rem);
    line-height: 0.96;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.bb-sponsor-form-block__body {
    color: #4c4c4c;
    line-height: 1.65;
}

.bb-sponsor-form-block__success {
    background: rgba(35, 58, 28, 0.1);
    border: 1px solid rgba(35, 58, 28, 0.18);
    border-radius: 8px;
    color: #233a1c;
    font-weight: 800;
    padding: 12px 14px;
}

.bb-sponsor-form {
    background: #fff;
    border: 1px solid rgba(17, 17, 17, 0.1);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(17, 17, 17, 0.1);
    display: grid;
    gap: 18px;
    padding: clamp(20px, 4vw, 32px);
}

.bb-sponsor-form__trap {
    height: 0;
    left: -9999px;
    overflow: hidden;
    position: absolute;
    width: 0;
}

.bb-sponsor-form__grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bb-sponsor-form__field {
    display: grid;
    gap: 6px;
}

.bb-sponsor-form__field--wide {
    grid-column: 1 / -1;
}

.bb-sponsor-form__field span {
    color: #171717;
    font-size: 0.78rem;
    font-weight: 850;
    text-transform: uppercase;
}

.bb-sponsor-form__field input,
.bb-sponsor-form__field textarea {
    border: 1px solid rgba(17, 17, 17, 0.18);
    border-radius: 6px;
    font: inherit;
    min-height: 44px;
    padding: 10px 12px;
    width: 100%;
}

.bb-sponsor-tier {
    display: grid;
    gap: 18px;
}

.bb-sponsor-tier h3 {
    font-size: 1.5rem;
    margin: 0;
}

.bb-sponsor-logo-grid {
    align-items: center;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bb-sponsor-logo-card {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(17, 17, 17, 0.1);
    border-radius: 8px;
    display: grid;
    gap: 10px;
    justify-items: center;
    min-height: 150px;
    padding: 18px;
    text-align: center;
}

.bb-sponsor-logo-card img {
    display: block;
    max-height: 76px;
    max-width: 210px;
    object-fit: contain;
    width: 100%;
}

.bb-sponsor-logo-card span {
    color: #454545;
    font-size: 0.86rem;
    font-weight: 800;
}

@media (max-width: 900px) {
    .bb-sponsor-hero,
    .bb-sponsor-impact,
    .bb-sponsor-benefits,
    .bb-sponsor-tower,
    .bb-sponsor-form-block,
    .bb-sponsor-stat-grid,
    .bb-sponsor-benefit-grid,
    .bb-sponsor-reach-grid,
    .bb-sponsor-more-grid,
    .bb-sponsor-logo-everywhere,
    .bb-sponsor-recognition__grid,
    .bb-sponsor-logo-grid {
        grid-template-columns: 1fr;
    }

    .bb-sponsor-benefits .bb-sponsor-section-head,
    .bb-sponsor-benefits .bb-sponsor-image-panel,
    .bb-sponsor-benefits .bb-sponsor-benefit-grid {
        grid-column: 1;
        justify-self: stretch;
    }

    .bb-sponsor-benefits .bb-sponsor-section-head {
        grid-row: 1;
        max-width: none;
    }

    .bb-sponsor-benefits .bb-sponsor-image-panel {
        grid-row: 2;
    }

    .bb-sponsor-benefits .bb-sponsor-benefit-grid {
        grid-row: 3;
        grid-template-columns: 1fr;
    }

    .bb-sponsor-roi .bb-sponsor-reach-grid {
        grid-template-columns: 1fr;
    }

    .bb-sponsor-form__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .bb-sponsor-impact .bb-sponsor-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .bb-sponsor-impact .bb-sponsor-stat-grid {
        grid-template-columns: 1fr;
    }
}

.bb-history-table-wrap {
    overflow-x: auto;
}

.bb-history-table {
    border-collapse: collapse;
    min-width: 980px;
    width: 100%;
}

.bb-history-table th,
.bb-history-table td {
    border: 1px solid rgba(22, 22, 22, 0.12);
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}

.bb-history-table th {
    background: #161616;
    color: #fff;
    font-size: 0.76rem;
    letter-spacing: 0;
    text-transform: uppercase;
}

.bb-history-table td:first-child {
    color: #cb2c30;
    font-weight: 850;
}

@media (max-width: 900px) {
    .bb-info-hero,
    .bb-quick-facts__grid,
    .bb-action-cards__grid,
    .bb-staff-profiles__grid,
    .bb-staff-profiles--featured .bb-staff-profiles__grid,
    .bb-staff-profiles--featured .bb-staff-card,
    .bb-staff-profiles--compact .bb-staff-card {
        grid-template-columns: 1fr;
    }

    .bb-info-hero__media,
    .bb-info-hero__media img,
    .bb-info-hero__stat {
        min-height: 260px;
    }
}

/* Generated fallback avatars: only applied by member_avatar_* helpers. */
.generated-avatar {
    --avatar-bg: #cb2c30;
    align-items: center;
    background: var(--avatar-bg) !important;
    border-radius: 999px;
    color: #fff;
    display: inline-grid;
    isolation: isolate;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.generated-avatar::before,
.generated-avatar::after {
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 0;
}

.generated-avatar img,
.generated-avatar__initials {
    position: relative;
    z-index: 2;
}

.generated-avatar img {
    border-radius: inherit;
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.generated-avatar__initials {
    color: var(--avatar-fg, #fff);
    font: inherit;
    line-height: 1;
}

.generated-avatar--photo::before,
.generated-avatar--photo::after {
    display: none;
}

.generated-avatar--pattern-01::before { border: max(2px, .08em) solid rgba(255,255,255,.55); border-radius: inherit; inset: 12%; }
.generated-avatar--pattern-02::before { background: linear-gradient(135deg, transparent 0 28%, rgba(255,255,255,.26) 28% 45%, transparent 45% 62%, rgba(255,255,255,.16) 62% 78%, transparent 78%); }
.generated-avatar--pattern-03::before { background-image: radial-gradient(rgba(255,255,255,.30) 18%, transparent 20%); background-size: 34% 34%; }
.generated-avatar--pattern-04::before { background: linear-gradient(90deg, rgba(255,255,255,.24) 0 50%, transparent 50%); }
.generated-avatar--pattern-05::before { background: linear-gradient(90deg, rgba(255,255,255,.22) 0 50%, transparent 50%), linear-gradient(180deg, transparent 0 50%, rgba(255,255,255,.18) 50%); }
.generated-avatar--pattern-06::before { background: linear-gradient(180deg, rgba(255,255,255,.28) 0 28%, rgba(255,255,255,.08) 28% 34%, transparent 34%); }
.generated-avatar--pattern-07::before { background: linear-gradient(0deg, rgba(255,255,255,.28) 0 28%, rgba(255,255,255,.08) 28% 34%, transparent 34%); }
.generated-avatar--pattern-08::before { background: linear-gradient(180deg, transparent 0 38%, rgba(255,255,255,.28) 38% 62%, transparent 62%); }
.generated-avatar--pattern-09::before { background: linear-gradient(135deg, transparent 0 45%, rgba(255,255,255,.24) 45% 72%, transparent 72%); }
.generated-avatar--pattern-10::before { background: conic-gradient(from 8deg, rgba(255,255,255,.25) 0 18deg, transparent 18deg 44deg, rgba(255,255,255,.18) 44deg 62deg, transparent 62deg 90deg); }
.generated-avatar--pattern-11::before { border: max(2px, .07em) solid rgba(255,255,255,.58); border-radius: inherit; inset: 9%; }
.generated-avatar--pattern-11::after { border: max(1px, .05em) solid rgba(255,255,255,.38); border-radius: inherit; inset: 24%; }
.generated-avatar--pattern-12::before { background: radial-gradient(circle at 72% 20%, rgba(255,255,255,.30) 0 36%, transparent 37%); }
.generated-avatar--pattern-13::before { background-image: linear-gradient(45deg, rgba(255,255,255,.22) 25%, transparent 25% 50%, rgba(255,255,255,.22) 50% 75%, transparent 75%); background-size: 42% 42%; }
.generated-avatar--pattern-14::before { background: repeating-linear-gradient(90deg, rgba(255,255,255,.26) 0 2px, transparent 2px 13px); }
.generated-avatar--pattern-15::before { background: radial-gradient(ellipse at 20% 20%, transparent 0 28%, rgba(255,255,255,.22) 29% 34%, transparent 35%), radial-gradient(ellipse at 80% 78%, transparent 0 28%, rgba(255,255,255,.20) 29% 34%, transparent 35%); }
.generated-avatar--pattern-16::before { background: linear-gradient(135deg, rgba(255,255,255,.22) 0 24%, transparent 24% 76%, rgba(255,255,255,.20) 76%); }
.generated-avatar--pattern-17::before { background-image: linear-gradient(rgba(255,255,255,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.22) 1px, transparent 1px); background-size: 34% 34%; }
.generated-avatar--pattern-18::before { background: linear-gradient(90deg, rgba(255,255,255,.24) 0 44%, transparent 44%), linear-gradient(135deg, transparent 0 54%, rgba(255,255,255,.18) 54%); }
.generated-avatar--pattern-19::before { background-image: linear-gradient(35deg, rgba(255,255,255,.24) 0 2px, transparent 2px), linear-gradient(115deg, rgba(255,255,255,.18) 0 2px, transparent 2px); background-size: 42% 36%; }
.generated-avatar--pattern-20::before { background: repeating-linear-gradient(28deg, rgba(255,255,255,.18) 0 2px, transparent 2px 12px), repeating-linear-gradient(132deg, rgba(255,255,255,.14) 0 2px, transparent 2px 14px); }
.generated-avatar--pattern-21::before { background: radial-gradient(circle at 50% 50%, transparent 0 32%, rgba(255,255,255,.26) 33% 39%, transparent 40%); }
.generated-avatar--pattern-22::before { background: linear-gradient(45deg, rgba(255,255,255,.24) 0 22%, transparent 22%), linear-gradient(225deg, rgba(255,255,255,.18) 0 22%, transparent 22%); }
.generated-avatar--pattern-23::before { background: repeating-linear-gradient(0deg, rgba(255,255,255,.22) 0 3px, transparent 3px 15px); }
.generated-avatar--pattern-24::before { background: repeating-linear-gradient(90deg, rgba(255,255,255,.22) 0 3px, transparent 3px 15px); }
.generated-avatar--pattern-25::before { background: conic-gradient(from 45deg, transparent 0 25%, rgba(255,255,255,.24) 25% 50%, transparent 50% 75%, rgba(255,255,255,.18) 75%); }
.generated-avatar--pattern-26::before { background: radial-gradient(circle at 25% 25%, rgba(255,255,255,.26) 0 18%, transparent 19%), radial-gradient(circle at 75% 75%, rgba(255,255,255,.20) 0 18%, transparent 19%); }
.generated-avatar--pattern-27::before { background: linear-gradient(160deg, transparent 0 35%, rgba(255,255,255,.24) 35% 44%, transparent 44% 58%, rgba(255,255,255,.16) 58% 67%, transparent 67%); }
.generated-avatar--pattern-28::before { background: radial-gradient(circle at 0 50%, rgba(255,255,255,.26) 0 42%, transparent 43%); }
.generated-avatar--pattern-29::before { background: radial-gradient(circle at 100% 50%, rgba(255,255,255,.26) 0 42%, transparent 43%); }
.generated-avatar--pattern-30::before { background: linear-gradient(135deg, rgba(255,255,255,.24) 0 18%, transparent 18% 82%, rgba(255,255,255,.20) 82%), repeating-linear-gradient(90deg, rgba(255,255,255,.10) 0 2px, transparent 2px 12px); }

.member-avatar-settings {
    border-top: 1px solid rgba(17, 17, 17, 0.12);
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
}

.member-avatar-settings__choices {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.member-avatar-choice {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(17, 17, 17, 0.16);
    cursor: pointer;
    display: flex;
    gap: 0.65rem;
    min-width: 10.5rem;
    padding: 0.6rem 0.75rem;
}

.member-avatar-choice:has(input:checked) {
    border-color: var(--crest-red);
    box-shadow: inset 0 0 0 2px var(--crest-red);
}

.member-avatar-choice input {
    inline-size: 1px;
    opacity: 0;
    position: absolute;
}

.member-avatar-choice__preview {
    flex: 0 0 3rem;
    font-size: 0.9rem;
    font-weight: 950;
    height: 3rem;
    width: 3rem;
}

.member-avatar-choice__text {
    display: grid;
    gap: 0.1rem;
}

.member-avatar-choice__text strong {
    color: #111;
    font-size: 0.86rem;
    line-height: 1;
}

.member-avatar-choice__text span {
    color: #666;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.member-settings-accordion-toggle {
    display: none;
}

.member-dashboard-accordion-toggle {
    display: none;
}

.member-dashboard-section__body {
    display: grid;
    gap: 1rem;
    min-width: 0;
}

.member-settings-section__body {
    min-width: 0;
}

@media (max-width: 760px) {
    body.dashboard-shell--member-only.member-dashboard-page {
        background: #f3f4f6;
    }

    body.dashboard-shell--member-only.member-dashboard-page .admin-frame {
        display: block;
        min-height: 100svh;
    }

    body.dashboard-shell--member-only.member-dashboard-page .admin-sidebar {
        display: none;
    }

    body.dashboard-shell--member-only.member-dashboard-page .admin-main,
    body.dashboard-shell--member-only.member-dashboard-page.is-admin-menu-collapsed .admin-main {
        margin-left: 0;
    }

    body.dashboard-shell--member-only.member-dashboard-page .admin-header {
        align-items: flex-start;
        display: grid;
        gap: 0.75rem;
        padding: 1rem 0.85rem 0.9rem;
    }

    body.dashboard-shell--member-only.member-dashboard-page .admin-header h1 {
        font-family: "Montserrat", sans-serif;
        font-size: clamp(1.6rem, 7vw, 2.15rem);
        letter-spacing: 0;
        line-height: 1.08;
        margin: 0.15rem 0 0;
        text-transform: none;
    }

    body.dashboard-shell--member-only.member-dashboard-page .admin-header .admin-kicker {
        font-size: 0.68rem;
        letter-spacing: 0.08em;
    }

    body.dashboard-shell--member-only.member-dashboard-page .admin-header__actions {
        display: grid;
        gap: 0.55rem;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    body.dashboard-shell--member-only.member-dashboard-page .admin-header__actions form {
        display: contents;
    }

    body.dashboard-shell--member-only.member-dashboard-page .admin-header__actions .header-action {
        min-height: 2.55rem;
        padding: 0.55rem 0.65rem;
        text-align: center;
        width: 100%;
    }

    body.dashboard-shell--member-only.member-dashboard-page .admin-content {
        padding: 0.8rem;
    }

    body.dashboard-shell--member-only.member-dashboard-page .member-dashboard-welcome,
    body.dashboard-shell--member-only.member-dashboard-page .member-dashboard-feature,
    body.dashboard-shell--member-only.member-dashboard-page .member-dashboard-card {
        padding: 0.9rem;
    }

    body.dashboard-shell--member-only.member-dashboard-page .member-dashboard-welcome h2,
    body.dashboard-shell--member-only.member-dashboard-page .member-dashboard-panel h2,
    body.dashboard-shell--member-only.member-dashboard-page .member-dashboard-feature h3 {
        font-size: 1.12rem;
        line-height: 1.2;
    }

    body.dashboard-shell--member-only.member-dashboard-page .member-dashboard-welcome p,
    body.dashboard-shell--member-only.member-dashboard-page .member-dashboard-panel p,
    body.dashboard-shell--member-only.member-dashboard-page .member-dashboard-feature p {
        font-size: 0.92rem;
        line-height: 1.45;
    }

    body.dashboard-shell--member-only.member-dashboard-page .member-settings-tabs {
        display: none;
    }

    body.dashboard-shell--member-only.member-dashboard-page .member-settings {
        display: grid;
        gap: 0.62rem;
    }

    body.dashboard-shell--member-only.member-dashboard-page .member-settings-section {
        background: #fff;
        border: 1px solid #ddd;
        margin: 0;
        overflow: hidden;
        padding: 0;
    }

    body.dashboard-shell--member-only.member-dashboard-page .member-settings-section__intro {
        display: none;
    }

    body.dashboard-shell--member-only.member-dashboard-page .member-settings-accordion-toggle {
        align-items: center;
        background: #fff;
        border: 0;
        color: #111;
        cursor: pointer;
        display: flex;
        font: inherit;
        gap: 0.75rem;
        justify-content: space-between;
        min-height: 4rem;
        padding: 0.85rem 0.9rem;
        text-align: left;
        width: 100%;
    }

    body.dashboard-shell--member-only.member-dashboard-page .member-settings-accordion-toggle strong,
    body.dashboard-shell--member-only.member-dashboard-page .member-settings-accordion-toggle small {
        display: block;
    }

    body.dashboard-shell--member-only.member-dashboard-page .member-settings-accordion-toggle strong {
        font-size: 1rem;
        font-weight: 900;
        line-height: 1.15;
    }

    body.dashboard-shell--member-only.member-dashboard-page .member-settings-accordion-toggle small {
        color: #626b76;
        font-size: 0.78rem;
        font-weight: 650;
        line-height: 1.3;
        margin-top: 0.2rem;
    }

    body.dashboard-shell--member-only.member-dashboard-page .member-settings-accordion-toggle__icon {
        border-bottom: 2px solid currentColor;
        border-right: 2px solid currentColor;
        flex: 0 0 0.6rem;
        height: 0.6rem;
        transform: rotate(45deg);
        transition: transform 0.16s ease;
        width: 0.6rem;
    }

    body.dashboard-shell--member-only.member-dashboard-page .member-settings-section.is-open .member-settings-accordion-toggle__icon {
        transform: rotate(225deg);
    }

    body.dashboard-shell--member-only.member-dashboard-page .member-settings-section__body {
        display: none;
        padding: 0 0.9rem 0.95rem;
    }

    body.dashboard-shell--member-only.member-dashboard-page .member-settings-section.is-open .member-settings-section__body {
        display: block;
    }

    body.dashboard-shell--member-only.member-dashboard-page .member-settings-card {
        border-top: 1px solid #e6e6e6;
        margin-top: 0;
        padding-top: 0.85rem;
    }

    body.dashboard-shell--member-only.member-dashboard-page .member-settings-list {
        gap: 0.45rem;
        margin-bottom: 0.85rem;
    }

    body.dashboard-shell--member-only.member-dashboard-page .member-settings-form {
        gap: 0.68rem;
    }

    body.dashboard-shell--member-only.member-dashboard-page .member-settings-form input,
    body.dashboard-shell--member-only.member-dashboard-page .member-settings-form select,
    body.dashboard-shell--member-only.member-dashboard-page .member-settings-form textarea {
        font-size: 1rem;
        min-height: 2.55rem;
    }

    body.dashboard-shell--member-only.member-dashboard-page .member-push-device {
        align-items: stretch;
        display: grid;
        gap: 0.65rem;
        grid-template-columns: 1fr;
    }

    body.dashboard-shell--member-only.member-dashboard-page .member-notification-grid {
        grid-template-columns: minmax(0, 1fr) 3rem 3rem;
        overflow-x: auto;
    }

    body.dashboard-shell--member-only.member-dashboard-page .member-notification-grid > span,
    body.dashboard-shell--member-only.member-dashboard-page .member-notification-grid > strong {
        font-size: 0.72rem;
    }

    body.dashboard-shell--member-only.member-dashboard-page .member-dashboard-feature-grid {
        display: grid;
        gap: 0.62rem;
        grid-template-columns: 1fr;
    }

    body.dashboard-shell--member-only.member-dashboard-page .member-dashboard-feature {
        background: #fff;
        border: 1px solid #ddd;
        display: block;
        margin: 0;
        overflow: hidden;
        padding: 0;
    }

    body.dashboard-shell--member-only.member-dashboard-page .member-dashboard-feature + .member-dashboard-feature {
        margin-top: 0.62rem;
    }

    body.dashboard-shell--member-only.member-dashboard-page .member-dashboard-accordion-toggle {
        align-items: center;
        background: #fff;
        border: 0;
        color: #111;
        cursor: pointer;
        display: flex;
        font: inherit;
        gap: 0.75rem;
        justify-content: space-between;
        min-height: 4rem;
        padding: 0.85rem 0.9rem;
        text-align: left;
        width: 100%;
    }

    body.dashboard-shell--member-only.member-dashboard-page .member-dashboard-accordion-toggle strong,
    body.dashboard-shell--member-only.member-dashboard-page .member-dashboard-accordion-toggle small {
        display: block;
    }

    body.dashboard-shell--member-only.member-dashboard-page .member-dashboard-accordion-toggle strong {
        font-size: 1rem;
        font-weight: 900;
        line-height: 1.15;
    }

    body.dashboard-shell--member-only.member-dashboard-page .member-dashboard-accordion-toggle small {
        color: #626b76;
        font-size: 0.78rem;
        font-weight: 650;
        line-height: 1.3;
        margin-top: 0.2rem;
    }

    body.dashboard-shell--member-only.member-dashboard-page .member-dashboard-accordion-toggle__icon {
        border-bottom: 2px solid currentColor;
        border-right: 2px solid currentColor;
        flex: 0 0 0.6rem;
        height: 0.6rem;
        transform: rotate(45deg);
        transition: transform 0.16s ease;
        width: 0.6rem;
    }

    body.dashboard-shell--member-only.member-dashboard-page .member-dashboard-feature.is-open > .member-dashboard-accordion-toggle .member-dashboard-accordion-toggle__icon {
        transform: rotate(225deg);
    }

    body.dashboard-shell--member-only.member-dashboard-page .member-dashboard-feature > .member-dashboard-section__body {
        display: none;
        padding: 0 0.9rem 0.95rem;
    }

    body.dashboard-shell--member-only.member-dashboard-page .member-dashboard-feature.is-open > .member-dashboard-section__body {
        display: grid;
    }

    body.dashboard-shell--member-only.member-dashboard-page .member-dashboard-feature__head {
        grid-template-columns: 1.95rem minmax(0, 1fr);
    }

    body.dashboard-shell--member-only.member-dashboard-page .member-dashboard-feature__head > span {
        height: 1.95rem;
        width: 1.95rem;
    }

    body.dashboard-shell--member-only.member-dashboard-page .member-dashboard-grid--utility {
        gap: 0.62rem;
        grid-template-columns: 1fr;
        margin-top: 0;
    }

    body.dashboard-shell--member-only.member-dashboard-page .member-dashboard-card {
        min-height: 0;
    }

    body.dashboard-shell--member-only.member-dashboard-page .member-dashboard-feature--settings .member-settings {
        gap: 0.62rem;
    }
}
/* Club 36 public membership page */
.site-club36-page {
    background: #fffaf1;
}

.club36-page {
    --club36-red: #b5121b;
    --club36-red-dark: #850f16;
    --club36-black: #151515;
    --club36-ink: #171717;
    --club36-muted: #626972;
    --club36-line: #ded6ca;
    --club36-paper: #fff8ec;
    --club36-soft: #f5f1e8;
    --club36-white: #ffffff;
    --club36-brass: #c69a35;
    color: var(--club36-ink);
    background: var(--club36-white);
}

.club36-page h1,
.club36-page h2,
.club36-page h3,
.club36-page p {
    margin-top: 0;
}

.club36-hero {
    color: var(--club36-white);
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.62) 48%, rgba(0, 0, 0, 0.2) 100%),
        url("/media/posts/strong-start-2025/ryle-tournament-hero.jpg") center / cover no-repeat;
}

.club36-hero__inner,
.club36-section__inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.club36-hero__inner {
    min-height: clamp(620px, 84vh, 820px);
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.72fr);
    gap: clamp(32px, 6vw, 82px);
    align-items: center;
    padding: clamp(58px, 8vw, 96px) 0 clamp(44px, 7vw, 72px);
}

.club36-eyebrow,
.club36-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--club36-red);
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0;
}

.club36-eyebrow {
    color: #f2d18a;
}

.club36-eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    background: var(--club36-brass);
}

.club36-hero h1 {
    max-width: 760px;
    margin-bottom: 18px;
    color: var(--club36-white);
    font-size: clamp(3.6rem, 8.4vw, 7.6rem);
    line-height: 0.88;
    letter-spacing: 0;
}

.club36-hero__copy > p {
    max-width: 690px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1.08rem, 2vw, 1.38rem);
    line-height: 1.52;
}

.club36-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 34px;
}

.club36-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.club36-button--primary {
    color: var(--club36-white);
    background: var(--club36-red);
    box-shadow: 0 14px 30px rgba(181, 18, 27, 0.24);
}

.club36-button--ghost {
    color: var(--club36-white);
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.08);
}

.club36-button--light {
    color: var(--club36-red);
    background: var(--club36-white);
}

.club36-button--dark {
    color: var(--club36-white);
    background: var(--club36-black);
}

.club36-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 760px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.24);
}

.club36-hero__stats div {
    min-height: 96px;
    padding: 18px;
    border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.club36-hero__stats div:last-child {
    border-right: 0;
}

.club36-hero__stats strong {
    display: block;
    margin-bottom: 5px;
    color: var(--club36-white);
    font-size: 1.24rem;
    font-weight: 950;
}

.club36-hero__stats span {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.35;
}

.club36-join-card {
    display: grid;
    align-content: center;
    gap: 16px;
    padding: clamp(22px, 4vw, 34px);
    color: var(--club36-ink);
    background: rgba(255, 255, 255, 0.96);
    border-radius: 8px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
}

.club36-join-card > span {
    color: var(--club36-red);
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.club36-join-card h2 {
    margin-bottom: 0;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1;
}

.club36-join-card small {
    font-size: 1rem;
}

.club36-join-card p {
    color: var(--club36-muted);
    line-height: 1.55;
}

.club36-section {
    padding: clamp(58px, 8vw, 96px) 0;
    scroll-margin-top: 190px;
}

.club36-section h2 {
    max-width: 780px;
    margin-bottom: 16px;
    font-size: clamp(2rem, 4vw, 3.55rem);
    line-height: 1;
    letter-spacing: 0;
}

.club36-section__lede,
.club36-story p {
    max-width: 780px;
    color: var(--club36-muted);
    font-size: 1.08rem;
    line-height: 1.62;
}

.club36-story {
    background: var(--club36-paper);
    border-bottom: 1px solid var(--club36-line);
}

.club36-story__grid,
.club36-membership__grid,
.club36-redemption-grid,
.club36-checkout__grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: clamp(32px, 6vw, 84px);
    align-items: center;
}

.club36-story__image {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 14px 14px 0 var(--club36-brass);
}

.club36-story__image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.club36-membership {
    background: var(--club36-white);
}

.club36-membership__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 34px;
    align-items: stretch;
}

.club36-price-card {
    display: grid;
    gap: 20px;
    min-height: 410px;
    padding: clamp(24px, 4vw, 42px);
    color: var(--club36-white);
    background: linear-gradient(135deg, var(--club36-red) 0%, #1a1a1a 100%);
    border: 1px solid var(--club36-red-dark);
    border-radius: 8px;
}

.club36-price-card h3,
.club36-included-card h3 {
    margin-bottom: 12px;
    font-size: clamp(1.7rem, 3.2vw, 2.8rem);
    line-height: 1;
}

.club36-price {
    margin-bottom: 14px;
    font-size: 2.8rem;
    font-weight: 950;
    line-height: 1;
}

.club36-price span {
    font-size: 1rem;
}

.club36-price-card p,
.club36-price-card li {
    color: rgba(255, 255, 255, 0.82);
}

.club36-price-card ul,
.club36-included-card ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.club36-price-card li,
.club36-included-card li {
    display: flex;
    gap: 10px;
    line-height: 1.42;
}

.club36-price-card li::before,
.club36-included-card li::before {
    content: "";
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    margin-top: 8px;
    background: var(--club36-brass);
    border-radius: 50%;
}

.club36-included-card {
    display: grid;
    align-content: center;
    min-height: 410px;
    padding: clamp(24px, 4vw, 42px);
    background: var(--club36-paper);
    border: 1px solid var(--club36-line);
    border-radius: 8px;
}

.club36-included-card p,
.club36-included-card li {
    color: var(--club36-muted);
}

.club36-included-card li::before {
    background: var(--club36-red);
}

.club36-benefits,
.club36-faq {
    background: var(--club36-soft);
}

.club36-benefit-grid,
.club36-partner-grid,
.club36-faq-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin-top: 36px;
    background: var(--club36-line);
    border: 1px solid var(--club36-line);
}

.club36-benefit-grid article,
.club36-partner-grid article,
.club36-faq-grid article {
    min-height: 188px;
    padding: 26px;
    background: var(--club36-white);
}

.club36-benefit-grid article > span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    color: var(--club36-white);
    background: var(--club36-red);
    border-radius: 8px;
    font-weight: 950;
}

.club36-benefit-grid h3,
.club36-partner-grid h3,
.club36-faq-grid h3 {
    margin-bottom: 8px;
    font-size: 1.06rem;
}

.club36-benefit-grid p,
.club36-partner-grid p,
.club36-faq-grid p {
    margin-bottom: 0;
    color: var(--club36-muted);
    line-height: 1.5;
}

.club36-benefits {
    color: var(--club36-white);
    background:
        linear-gradient(135deg, rgba(10, 10, 10, 0.96), rgba(82, 13, 17, 0.94)),
        url("/media/posts/alumni-state-week-2024/alumni-state-week-feature.png") center / cover no-repeat;
}

.club36-benefits h2 {
    color: var(--club36-white);
}

.club36-benefits .club36-kicker {
    color: #f0cc77;
}

.club36-benefits .club36-section__lede {
    color: rgba(255, 255, 255, 0.78);
}

.club36-benefits .club36-benefit-grid {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.14);
}

.club36-benefits .club36-benefit-grid article {
    background: rgba(12, 12, 12, 0.84);
}

.club36-benefits .club36-benefit-grid article > span {
    color: var(--club36-black);
    background: var(--club36-brass);
}

.club36-benefits .club36-benefit-grid h3 {
    color: var(--club36-white);
}

.club36-benefits .club36-benefit-grid p {
    color: rgba(255, 255, 255, 0.74);
}

.club36-redemption-section {
    padding: clamp(48px, 6vw, 76px) 0;
    color: var(--club36-ink);
    background:
        linear-gradient(90deg, #fff8ec 0%, #f4efe6 58%, #ffffff 100%);
    border-top: 1px solid var(--club36-line);
    border-bottom: 1px solid var(--club36-line);
}

.club36-redemption-section h2 {
    max-width: 650px;
    color: var(--club36-ink);
    font-size: clamp(1.9rem, 3.2vw, 3rem);
    line-height: 1.02;
}

.club36-redemption-section .club36-kicker,
.club36-redemption-section .club36-section__lede {
    color: var(--club36-muted);
}

.club36-redemption-section .club36-section__lede {
    max-width: 700px;
    font-size: 1rem;
    line-height: 1.55;
}

.club36-redemption-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
    gap: clamp(28px, 5vw, 64px);
}

.club36-steps {
    display: grid;
    gap: 0;
    max-width: 660px;
    margin-top: 24px;
    border-top: 1px solid rgba(181, 18, 27, 0.16);
}

.club36-steps > div {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 16px;
    row-gap: 3px;
    align-items: start;
    padding: 17px 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(181, 18, 27, 0.16);
    border-radius: 0;
}

.club36-steps > div > span {
    display: grid;
    place-items: center;
    grid-row: 1 / span 2;
    width: 36px;
    height: 36px;
    color: var(--club36-black);
    background: var(--club36-brass);
    border-radius: 50%;
    font-weight: 950;
}

.club36-steps strong {
    display: block;
    margin-bottom: 4px;
    color: var(--club36-ink);
    font-size: 1.08rem;
}

.club36-steps p {
    grid-column: 2;
    margin-bottom: 0;
    color: var(--club36-muted);
    line-height: 1.45;
}

.club36-phone-mockup {
    display: grid;
    place-items: center;
    align-self: center;
}

.club36-phone {
    width: min(308px, 100%);
    padding: 9px;
    background: linear-gradient(145deg, #ffffff, #d9dde2);
    border: 1px solid rgba(20, 20, 20, 0.14);
    border-radius: 32px;
    box-shadow: 14px 14px 0 rgba(198, 154, 53, 0.72), 0 26px 60px rgba(51, 43, 31, 0.22);
}

.club36-phone__screen {
    overflow: hidden;
    background: #f7f2e9;
    border: 1px solid rgba(20, 20, 20, 0.08);
    border-radius: 23px;
}

.club36-phone__hero {
    padding: 14px;
    color: var(--club36-white);
    background:
        linear-gradient(180deg, rgba(181, 18, 27, 0.96), rgba(57, 14, 18, 0.92)),
        url("/media/posts/alumni-state-week-2024/alumni-state-week-feature.png") center / cover no-repeat;
}

.club36-phone__hero > span {
    display: block;
    margin-bottom: 12px;
    color: #f2d18a;
    font-size: 0.76rem;
    font-weight: 950;
    text-transform: uppercase;
}

.club36-phone__hero strong {
    display: block;
    margin-bottom: 7px;
    color: var(--club36-white);
    font-size: 1.18rem;
    line-height: 1;
}

.club36-phone__hero p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.84rem;
    line-height: 1.35;
}

.club36-phone__form,
.club36-text-preview,
.club36-phone__perks {
    margin: 8px;
    padding: 10px;
    background: var(--club36-white);
    border: 1px solid #e2d9cc;
    border-radius: 14px;
}

.club36-phone__form label {
    display: block;
    margin-bottom: 6px;
    color: var(--club36-muted);
    font-size: 0.74rem;
    font-weight: 950;
    text-transform: uppercase;
}

.club36-phone__form div {
    display: grid;
    gap: 7px;
}

.club36-phone__form input {
    width: 100%;
    min-height: 34px;
    padding: 7px 9px;
    color: var(--club36-ink);
    background: #fffdf8;
    border: 1px solid #d7d1c6;
    border-radius: 8px;
    font: inherit;
    font-weight: 800;
}

.club36-phone__form button {
    min-height: 36px;
    color: var(--club36-white);
    background: var(--club36-red);
    border: 0;
    border-radius: 8px;
    font: inherit;
    font-weight: 950;
}

.club36-text-preview {
    background: #eaf1f6;
    border-color: #cadbe8;
}

.club36-text-preview span,
.club36-phone__perks > strong {
    display: block;
    margin-bottom: 5px;
    color: var(--club36-ink);
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.club36-text-preview p {
    margin-bottom: 0;
    color: #244b6b;
    font-size: 0.8rem;
    line-height: 1.3;
}

.club36-phone__perks {
    display: grid;
    gap: 5px;
}

.club36-phone__perks div {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
    padding-top: 6px;
    border-top: 1px solid #ece5dc;
}

.club36-phone__perks span {
    color: var(--club36-ink);
    font-weight: 900;
}

.club36-phone__perks small {
    color: var(--club36-muted);
    font-size: 0.74rem;
    text-align: right;
}

.club36-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
}

.club36-partner-grid {
    gap: 16px;
    background: transparent;
    border: 0;
}

.club36-partner-grid article {
    display: grid;
    align-content: space-between;
    gap: 20px;
    min-height: 214px;
    border: 1px solid var(--club36-line);
    border-radius: 8px;
    background: #fffdf8;
}

.club36-partner-grid article > span {
    width: max-content;
    padding: 7px 9px;
    color: #244b6b;
    background: #eaf1f6;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 950;
    text-transform: uppercase;
}

.club36-partner-note {
    margin-top: 22px;
    padding: 18px 20px;
    color: var(--club36-muted);
    background: var(--club36-soft);
    border-left: 4px solid var(--club36-brass);
    border-radius: 8px;
    line-height: 1.55;
}

.club36-checkout {
    color: var(--club36-white);
    background:
        linear-gradient(90deg, rgba(181, 18, 27, 0.94), rgba(31, 31, 31, 0.9)),
        url("/media/pages/sponsors/impact-band.jpg") center / cover no-repeat;
}

.club36-checkout h2,
.club36-checkout .club36-kicker,
.club36-checkout .club36-section__lede {
    color: var(--club36-white);
}

.club36-checkout-card {
    padding: clamp(22px, 4vw, 34px);
    color: var(--club36-ink);
    background: rgba(255, 255, 255, 0.96);
    border-radius: 8px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.club36-checkout-card strong,
.club36-checkout-card span {
    display: block;
}

.club36-checkout-card strong {
    margin-bottom: 6px;
    font-size: 1.5rem;
}

.club36-checkout-card span {
    margin-bottom: 14px;
    color: var(--club36-red);
    font-size: 2rem;
    font-weight: 950;
}

.club36-checkout-card p {
    color: var(--club36-muted);
    line-height: 1.55;
}

.club36-faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.club36-final-cta {
    padding: clamp(54px, 8vw, 86px) 20px;
    scroll-margin-top: 190px;
    color: var(--club36-white);
    text-align: center;
    background: var(--club36-red);
}

.club36-final-cta h2 {
    max-width: 860px;
    margin: 0 auto 14px;
    color: var(--club36-white);
    font-size: clamp(2.15rem, 5vw, 4.4rem);
    line-height: 0.96;
}

.club36-final-cta p {
    max-width: 700px;
    margin: 0 auto 26px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.08rem;
    line-height: 1.55;
}

.club36-pass-page {
    background: #f6f1e8;
}

.club36-pass-hero {
    padding: clamp(38px, 6vw, 82px) 0;
    color: var(--club36-white);
    background:
        linear-gradient(135deg, rgba(14, 14, 14, 0.96), rgba(93, 12, 18, 0.92)),
        url("/media/posts/alumni-state-week-2024/alumni-state-week-feature.png") center / cover no-repeat;
}

.club36-pass-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
    gap: clamp(28px, 6vw, 76px);
    align-items: center;
}

.club36-pass-copy h1 {
    max-width: 760px;
    margin-bottom: 18px;
    color: var(--club36-white);
    font-size: clamp(3rem, 8vw, 6.8rem);
    line-height: 0.92;
    letter-spacing: 0;
}

.club36-pass-copy p {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
    line-height: 1.62;
}

.club36-pass-card {
    padding: clamp(22px, 4vw, 34px);
    color: var(--club36-white);
    background: linear-gradient(145deg, rgba(207, 22, 35, 0.96), rgba(42, 12, 15, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    box-shadow: 16px 16px 0 rgba(198, 154, 53, 0.72), 0 24px 64px rgba(0, 0, 0, 0.26);
}

.club36-pass-card__top {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: clamp(48px, 9vw, 86px);
    color: #f0cc77;
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.club36-pass-card h2 {
    margin-bottom: 20px;
    color: var(--club36-white);
    font-size: clamp(1.85rem, 4vw, 3rem);
    line-height: 1;
}

.club36-pass-card dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 22px;
}

.club36-pass-card dl div {
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.club36-pass-card dt {
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.club36-pass-card dd {
    margin: 0;
    color: var(--club36-white);
    font-size: 1rem;
    font-weight: 900;
}

.club36-pass-card p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.45;
}

.club36-pass-perks {
    background: #fffaf1;
}

.club36-pass-perk-list {
    display: grid;
    gap: 1px;
    margin-top: 32px;
    background: var(--club36-line);
    border: 1px solid var(--club36-line);
}

.club36-pass-perk-list article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    min-height: 124px;
    padding: clamp(20px, 4vw, 30px);
    background: var(--club36-white);
}

.club36-pass-perk-list span {
    display: block;
    margin-bottom: 4px;
    color: var(--club36-red);
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.club36-pass-perk-list h3 {
    margin-bottom: 8px;
    color: var(--club36-ink);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

.club36-pass-perk-list p {
    max-width: 720px;
    margin-bottom: 0;
    color: var(--club36-muted);
    line-height: 1.48;
}

.club36-pass-perk-list strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    color: var(--club36-white);
    background: var(--club36-red);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 950;
    text-transform: uppercase;
    white-space: nowrap;
}

.club36-pass-footer {
    background: var(--club36-black);
}

.club36-wallet-hero {
    padding: clamp(28px, 5vw, 54px) 0;
    color: var(--club36-white);
    background:
        linear-gradient(135deg, rgba(15, 15, 15, 0.97), rgba(101, 14, 20, 0.94)),
        url("/media/posts/alumni-state-week-2024/alumni-state-week-feature.png") center / cover no-repeat;
}

.club36-wallet-hero__row {
    display: flex;
    gap: 20px;
    align-items: end;
    justify-content: space-between;
}

.club36-wallet-hero h1 {
    margin: 0 0 8px;
    color: var(--club36-white);
    font-size: clamp(2.45rem, 7vw, 5.8rem);
    line-height: 0.92;
    letter-spacing: 0;
}

.club36-wallet-hero p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.02rem;
}

.club36-wallet-status {
    min-width: 170px;
    padding: 14px 16px;
    color: var(--club36-white);
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    text-align: right;
}

.club36-wallet-status strong,
.club36-wallet-status span {
    display: block;
}

.club36-wallet-status strong {
    margin-bottom: 3px;
    font-size: 0.78rem;
    text-transform: uppercase;
}

.club36-wallet-status span {
    color: #f0cc77;
    font-size: 1.3rem;
    font-weight: 950;
}

.club36-wallet-shell {
    padding: clamp(24px, 5vw, 54px) 0 clamp(44px, 7vw, 78px);
    background: #f7f2e9;
}

.club36-tab-input {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    opacity: 0;
    pointer-events: none;
}

.club36-tab-list {
    display: inline-grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
    background: #e6ded1;
    border: 1px solid #d8cebf;
    border-radius: 999px;
}

.club36-tab-list label {
    display: grid;
    place-items: center;
    min-height: 42px;
    padding: 0 22px;
    color: var(--club36-muted);
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.86rem;
    font-weight: 950;
    text-transform: uppercase;
}

#club36-tab-perks:checked ~ .club36-tab-list label[for="club36-tab-perks"],
#club36-tab-member:checked ~ .club36-tab-list label[for="club36-tab-member"] {
    color: var(--club36-white);
    background: var(--club36-red);
}

.club36-tab-panel {
    display: none;
    margin-top: 24px;
}

#club36-tab-perks:checked ~ .club36-tab-panel--perks,
#club36-tab-member:checked ~ .club36-tab-panel--member {
    display: block;
}

.club36-wallet-section-head {
    margin: 28px 0 14px;
}

.club36-wallet-section-head:first-of-type {
    margin-top: 0;
}

.club36-wallet-section-head p {
    margin: 6px 0 0;
    color: var(--club36-muted);
}

.club36-perk-stack {
    display: grid;
    gap: 10px;
}

.club36-perk-row {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    scroll-margin-top: 190px;
    padding: clamp(14px, 3vw, 18px);
    background: var(--club36-white);
    border: 1px solid #e0d7c9;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(42, 31, 21, 0.07);
}

.club36-perk-logo {
    width: 76px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #f7f1e7;
    border: 1px solid #e1d5c4;
    border-radius: 8px;
}

.club36-perk-logo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    padding: 7px;
}

.club36-perk-logo span {
    color: var(--club36-red);
    font-size: 1.45rem;
    font-weight: 950;
}

.club36-perk-copy > span {
    display: block;
    margin-bottom: 3px;
    color: var(--club36-red);
    font-size: 0.72rem;
    font-weight: 950;
    text-transform: uppercase;
}

.club36-perk-row h2 {
    margin-bottom: 4px;
    color: var(--club36-ink);
    font-size: clamp(1.08rem, 2.4vw, 1.42rem);
    line-height: 1.08;
}

.club36-perk-row p {
    margin-bottom: 0;
    color: var(--club36-muted);
    font-size: 0.94rem;
    line-height: 1.35;
}

.club36-perk-row form,
.club36-perk-status {
    justify-self: end;
}

.club36-perk-row button,
.club36-household-list button,
.club36-add-member button {
    min-height: 42px;
    padding: 0 18px;
    color: var(--club36-white);
    background: var(--club36-red);
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 950;
    text-transform: uppercase;
    white-space: nowrap;
}

.club36-perk-status {
    min-height: 42px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    color: var(--club36-muted);
    background: #e7dfd3;
    border: 1px solid #d8cbb9;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
    white-space: nowrap;
}

.club36-perk-status--always {
    color: #694d10;
    background: #f4e4b2;
    border-color: #dfc067;
}

.club36-perk-stack--muted .club36-perk-row {
    box-shadow: none;
}

.club36-perk-row--used,
.club36-perk-row--upcoming {
    background: #fbf7ef;
}

.club36-perk-row--used .club36-perk-status,
.club36-perk-row--upcoming .club36-perk-status {
    color: var(--club36-muted);
    background: #e7dfd3;
}

.club36-member-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 16px;
}

.club36-member-panel {
    padding: clamp(20px, 4vw, 28px);
    background: var(--club36-white);
    border: 1px solid #e0d7c9;
    border-radius: 8px;
}

.club36-member-panel h2 {
    margin-bottom: 16px;
    color: var(--club36-ink);
    font-size: clamp(1.55rem, 3.6vw, 2.35rem);
    line-height: 1;
}

.club36-member-panel dl {
    display: grid;
    gap: 12px;
    margin: 0;
}

.club36-member-panel dl div {
    padding-top: 10px;
    border-top: 1px solid #ebe3d8;
}

.club36-member-panel dt {
    color: var(--club36-muted);
    font-size: 0.74rem;
    font-weight: 950;
    text-transform: uppercase;
}

.club36-member-panel dd {
    margin: 3px 0 0;
    color: var(--club36-ink);
    font-weight: 850;
}

.club36-household-list {
    display: grid;
    gap: 8px;
}

.club36-household-list > div {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-top: 1px solid #ebe3d8;
}

.club36-household-person {
    display: grid;
    gap: 3px;
}

.club36-household-person strong {
    color: var(--club36-ink);
    font-weight: 850;
}

.club36-household-person small {
    color: var(--club36-muted);
    font-size: 0.86rem;
    font-weight: 700;
    text-transform: none;
}

.club36-household-list > div > small {
    color: var(--club36-muted);
    font-weight: 850;
    text-transform: uppercase;
}

.club36-household-list button {
    min-height: 32px;
    padding: 0 12px;
    color: var(--club36-red);
    background: #f3e3e4;
    font-size: 0.72rem;
}

.club36-add-member {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #ebe3d8;
}

.club36-add-member label {
    display: block;
    margin-bottom: 8px;
    color: var(--club36-muted);
    font-size: 0.74rem;
    font-weight: 950;
    text-transform: uppercase;
}

.club36-add-member div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr) auto;
    gap: 8px;
}

.club36-add-member input {
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid #d7cec0;
    border-radius: 8px;
    font: inherit;
}

@media (max-width: 980px) {
    .club36-hero__inner,
    .club36-story__grid,
    .club36-redemption-grid,
    .club36-checkout__grid,
    .club36-pass-grid {
        grid-template-columns: 1fr;
    }

    .club36-hero__inner {
        min-height: auto;
    }

    .club36-benefit-grid,
    .club36-partner-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .club36-hero h1 {
        font-size: clamp(3.2rem, 17vw, 5.5rem);
    }

    .club36-hero__stats,
    .club36-membership__grid,
    .club36-benefit-grid,
    .club36-partner-grid,
    .club36-faq-grid {
        grid-template-columns: 1fr;
    }

    .club36-hero__stats div {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    }

    .club36-hero__stats div:last-child {
        border-bottom: 0;
    }

    .club36-section-head {
        display: grid;
    }

    .club36-phone {
        box-shadow: 10px 10px 0 rgba(198, 154, 53, 0.94);
    }

    .club36-pass-card {
        box-shadow: 10px 10px 0 rgba(198, 154, 53, 0.88);
    }

    .club36-pass-perk-list article {
        grid-template-columns: 1fr;
    }

    .club36-wallet-hero__row,
    .club36-member-grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    .club36-wallet-status {
        text-align: left;
    }

    .club36-perk-row {
        grid-template-columns: 62px minmax(0, 1fr);
        align-items: start;
    }

    .club36-perk-logo {
        width: 62px;
    }

    .club36-perk-row form,
    .club36-perk-status {
        grid-column: 2;
        justify-self: start;
    }

    .club36-add-member div {
        grid-template-columns: 1fr;
    }
}
