:root {
    --page-bg: #07101f;
    --page-bg-soft: #111827;
    --panel: #162131;
    --panel-strong: #223148;
    --text: #fffaf0;
    --muted: #c9c5b8;
    --cyan: #26c7ff;
    --gold: #d6a33d;
    --gold-bright: #f4c96a;
    --navy: #061b43;
    --ivory: #fff8ea;
    --olive: #73802d;
    --lime: #9be01f;
    --rose: #ff4d9a;
    --violet: #b86cff;
    --line: rgba(244, 201, 106, 0.22);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--page-bg);
    color: var(--text);
    font-family: "Segoe UI", Arial, sans-serif;
    letter-spacing: 0;
    overflow-x: hidden;
}

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

img {
    display: block;
    max-width: 100%;
}

h1:focus {
    outline: none;
}

.event-page {
    min-height: 100vh;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(115, 128, 45, 0.16), transparent 32%),
        linear-gradient(225deg, rgba(214, 163, 61, 0.16), transparent 36%),
        linear-gradient(180deg, #07101f 0%, #151827 48%, #0b0d17 100%);
}

.master-page {
    min-height: 100vh;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(38, 199, 255, 0.12), transparent 34%),
        linear-gradient(225deg, rgba(115, 128, 45, 0.18), transparent 40%),
        linear-gradient(180deg, #07101f 0%, #172032 52%, #0b0d17 100%);
}

.login-page {
    min-height: 100vh;
    overflow: hidden;
    background:
        linear-gradient(140deg, rgba(38, 199, 255, 0.13), transparent 30%),
        linear-gradient(225deg, rgba(244, 201, 106, 0.17), transparent 38%),
        linear-gradient(180deg, #07101f 0%, #172032 50%, #0b0d17 100%);
}

.event-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: min(1180px, calc(100% - 32px));
    min-height: 82px;
    margin: 0 auto;
    padding: 12px 0;
    background: rgba(7, 16, 31, 0.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}

.login-nav {
    position: relative;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 210px;
}

.brand-logo-link,
.logo-link {
    display: inline-flex;
    flex: 0 0 auto;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    padding: 4px;
    border: 1px solid rgba(244, 201, 106, 0.54);
    border-radius: 50%;
    background: var(--ivory);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.26);
    overflow: hidden;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain;
}

.brand-lockup strong,
.brand-lockup small {
    display: block;
}

.brand-lockup strong {
    color: var(--ivory);
    font-size: 1.05rem;
}

.brand-lockup small {
    color: var(--gold-bright);
    font-size: 0.82rem;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.nav-links a {
    min-height: 38px;
    padding: 9px 13px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--muted);
    font-weight: 700;
    font-size: 0.92rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--ivory);
    border-color: rgba(244, 201, 106, 0.34);
    background: rgba(244, 201, 106, 0.1);
    outline: none;
}

.nav-links a.active,
.nav-links a[aria-current="page"] {
    color: var(--ivory);
    border-color: rgba(244, 201, 106, 0.48);
    background: rgba(244, 201, 106, 0.14);
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid rgba(244, 201, 106, 0.28);
    border-radius: 8px;
    background: rgba(255, 248, 234, 0.06);
}

.language-switcher a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 34px;
    padding: 6px 9px;
    border-radius: 6px;
    color: var(--muted);
    font-weight: 900;
}

.language-switcher a:hover,
.language-switcher a:focus-visible,
.language-switcher a.active {
    color: var(--ivory);
    background: rgba(244, 201, 106, 0.16);
    outline: none;
}

.language-switcher span {
    font-size: 1rem;
    line-height: 1;
}

.language-switcher .language-flag {
    display: inline-flex;
    font-size: 1.05rem;
}

.language-switcher strong {
    font-size: 0.82rem;
    line-height: 1;
}

.event-switcher {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    width: min(1180px, calc(100% - 32px));
    margin: 20px auto 0;
}

.event-switcher a {
    display: grid;
    gap: 6px;
    min-height: 102px;
    padding: 16px;
    border: 1px solid rgba(244, 201, 106, 0.28);
    border-radius: 8px;
    color: var(--muted);
    background: rgba(255, 248, 234, 0.06);
}

.event-switcher a:hover,
.event-switcher a:focus-visible,
.event-switcher a.active {
    color: var(--ivory);
    border-color: rgba(244, 201, 106, 0.68);
    background: rgba(244, 201, 106, 0.14);
    outline: none;
}

.event-switcher span,
.event-switcher small {
    color: var(--gold-bright);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.event-switcher strong {
    color: inherit;
    font-size: 1.05rem;
    line-height: 1.25;
    font-weight: 950;
}

.hero-section,
.master-hero,
.login-shell,
.master-path-section,
.countdown-band,
.activity-section,
.age-section,
.register-section,
.site-footer,
.mvc-hero,
.mvc-register {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.login-shell {
    min-height: calc(100svh - 82px);
}

.login-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    align-items: center;
    gap: 48px;
    min-height: calc(100svh - 82px);
    padding: 54px 0 76px;
}

.login-copy {
    min-width: 0;
}

.login-emblem {
    display: grid;
    place-items: center;
    width: 118px;
    height: 118px;
    margin-bottom: 28px;
    padding: 8px;
    border: 1px solid rgba(244, 201, 106, 0.58);
    border-radius: 50%;
    background: var(--ivory);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}

.login-emblem img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.login-copy h1 {
    margin: 0;
    color: var(--ivory);
    font-size: 6rem;
    line-height: 0.92;
    font-weight: 900;
    text-transform: uppercase;
}

.login-lede {
    max-width: 610px;
    margin: 24px 0 0;
    color: #eee6d4;
    font-size: 1.24rem;
    line-height: 1.7;
}

.login-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.login-meta-row span {
    min-height: 38px;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    background: rgba(255, 248, 234, 0.06);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.login-panel {
    padding: 28px;
    border: 1px solid rgba(244, 201, 106, 0.36);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 248, 234, 0.1), rgba(255, 248, 234, 0.055)),
        rgba(12, 20, 36, 0.9);
    box-shadow: var(--shadow);
}

.login-panel h2 {
    margin: 0 0 18px;
    color: var(--ivory);
    font-size: 2.3rem;
    line-height: 1.05;
    font-weight: 900;
}

.login-form {
    display: grid;
    gap: 10px;
}

.login-form label {
    color: var(--gold-bright);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.login-form input {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid rgba(244, 201, 106, 0.36);
    border-radius: 8px;
    color: var(--ivory);
    background: rgba(7, 16, 31, 0.76);
    outline: none;
}

.password-input-wrap {
    position: relative;
}

.password-input-wrap input {
    padding-right: 54px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--gold-bright);
    background: transparent;
    transform: translateY(-50%);
    cursor: pointer;
}

.password-toggle:hover,
.password-toggle:focus-visible {
    border-color: rgba(244, 201, 106, 0.36);
    background: rgba(244, 201, 106, 0.1);
    outline: none;
}

.password-toggle svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.password-toggle .eye-closed {
    display: none;
}

.password-toggle[aria-pressed="true"] .eye-open {
    display: none;
}

.password-toggle[aria-pressed="true"] .eye-closed {
    display: block;
}

.password-rule-hint {
    display: block;
    margin-top: -2px;
    color: #527283;
    font-size: 0.86rem;
    line-height: 1.4;
}

.login-form input:focus {
    border-color: var(--gold-bright);
    box-shadow: 0 0 0 4px rgba(244, 201, 106, 0.14);
}

.login-submit {
    width: 100%;
    margin-top: 10px;
}

.login-alert {
    margin-bottom: 16px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 77, 154, 0.46);
    border-radius: 8px;
    color: var(--ivory);
    background: rgba(255, 77, 154, 0.12);
    font-weight: 800;
}

.hero-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
    align-items: center;
    gap: 46px;
    min-height: calc(100svh - 72px);
    padding: 56px 0 68px;
}

.hero-section.single-column-hero {
    grid-template-columns: minmax(0, 760px);
    justify-content: start;
    min-height: auto;
}

.hero-copy {
    container-type: inline-size;
    min-width: 0;
    max-width: 680px;
}

.community-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    max-width: 100%;
    margin-bottom: 28px;
    padding: 10px 14px 10px 10px;
    border: 1px solid rgba(244, 201, 106, 0.34);
    border-radius: 8px;
    background: rgba(255, 248, 234, 0.06);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.16);
}

.community-badge.logo-only {
    width: 92px;
    height: 92px;
    justify-content: center;
    padding: 6px;
    border-radius: 50%;
    background: var(--ivory);
}

.community-badge img {
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
    border: 1px solid rgba(244, 201, 106, 0.44);
    border-radius: 50%;
    background: var(--ivory);
    object-fit: cover;
}

.community-badge.logo-only img {
    width: 78px;
    height: 78px;
    flex-basis: 78px;
    border: 0;
    object-fit: contain;
}

.community-badge span,
.community-badge strong {
    display: block;
}

.community-badge span {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.community-badge strong {
    color: var(--ivory);
    font-size: 1rem;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--gold-bright);
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 0;
    max-width: 100%;
    font-size: var(--fit-font-size, 5.8rem);
    line-height: 0.92;
    font-weight: 900;
    color: var(--ivory);
    letter-spacing: 0;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.hero-lede {
    max-width: 640px;
    margin: 24px 0 0;
    color: #eee6d4;
    font-size: 1.28rem;
    line-height: 1.7;
    overflow-wrap: normal;
    word-break: normal;
}

.hero-copy h1.fit-hero-title {
    display: inline-block;
    max-width: 100%;
    font-size: min(var(--fit-font-size, 5.8rem), 8.9cqw);
    line-height: 1.12;
    padding-block: 0.06em;
    text-transform: none;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
}

.event-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 30px 0;
}

.event-meta-grid div,
.activity-tile,
.age-card,
.qr-showcase,
.mvc-facts div {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 248, 234, 0.055);
}

.event-meta-grid div {
    min-height: 96px;
    padding: 18px;
}

.event-meta-grid span,
.countdown-tile span,
.register-notes span,
.mvc-facts dt {
    display: block;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.event-meta-grid strong {
    display: block;
    margin-top: 8px;
    color: var(--ivory);
    font-size: 1.05rem;
    line-height: 1.35;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.master-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 470px);
    align-items: center;
    gap: 46px;
    min-height: calc(100svh - 82px);
    padding: 58px 0 62px;
}

.master-copy {
    min-width: 0;
}

.master-copy h1 {
    margin: 0;
    color: var(--ivory);
    font-size: 6.2rem;
    line-height: 0.9;
    font-weight: 900;
    text-transform: uppercase;
}

.master-lede {
    max-width: 650px;
    margin: 24px 0 0;
    color: #eee6d4;
    font-size: 1.32rem;
    line-height: 1.7;
}

.master-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.master-event-panel,
.path-tile {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 248, 234, 0.07);
    box-shadow: var(--shadow);
}

.master-event-panel {
    padding: 24px;
}

.master-event-panel h2 {
    margin: 0 0 12px;
    color: var(--ivory);
    font-size: 2.3rem;
    line-height: 1.05;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.master-event-panel p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.compact-meta {
    grid-template-columns: 1fr;
    margin: 22px 0;
}

.compact-meta div {
    min-height: auto;
}

.deadline-note {
    margin-bottom: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(244, 201, 106, 0.36);
    border-radius: 8px;
    color: var(--ivory);
    background: rgba(244, 201, 106, 0.12);
    font-weight: 800;
    line-height: 1.45;
}

.master-path-section {
    padding: 0 0 70px;
}

.master-path-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.path-tile {
    display: block;
    min-height: 190px;
    padding: 24px;
}

.path-tile:hover,
.path-tile:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(244, 201, 106, 0.6);
    outline: none;
}

.path-tile span {
    display: block;
    color: var(--gold-bright);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.path-tile h3 {
    margin: 18px 0 10px;
    color: var(--ivory);
    font-size: 1.28rem;
    font-weight: 900;
}

.path-tile p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 8px;
    border: 1px solid var(--line);
    font-weight: 900;
    text-align: center;
}

.primary-action {
    border-color: rgba(244, 201, 106, 0.7);
    color: #101525;
    background: linear-gradient(180deg, var(--gold-bright), var(--gold));
    box-shadow: 0 14px 36px rgba(214, 163, 61, 0.24);
}

.quiet-action {
    color: var(--ivory);
    background: rgba(255, 248, 234, 0.07);
}

.action-button:hover,
.action-button:focus-visible {
    transform: translateY(-1px);
    outline: none;
}

.poster-showcase {
    margin: 0;
    padding: 12px;
    border: 1px solid rgba(244, 201, 106, 0.42);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(255, 248, 234, 0.08), rgba(6, 12, 24, 0.78));
    box-shadow: var(--shadow);
}

.poster-showcase img {
    width: 100%;
    max-height: 76vh;
    object-fit: contain;
    border-radius: 6px;
}

.countdown-band {
    display: grid;
    grid-template-columns: minmax(260px, 0.78fr) minmax(360px, 1.22fr);
    gap: 24px;
    align-items: stretch;
    padding: 34px;
    border-top: 1px solid rgba(38, 199, 255, 0.28);
    border-bottom: 1px solid rgba(244, 201, 106, 0.34);
    background:
        linear-gradient(135deg, rgba(255, 248, 234, 0.08), transparent 58%),
        rgba(11, 19, 35, 0.84);
}

.section-heading h2 {
    margin: 0;
    font-size: 2.3rem;
    line-height: 1.05;
    font-weight: 900;
}

.section-heading p:last-child {
    margin: 12px 0 0;
    color: var(--muted);
    line-height: 1.6;
}

.compact-heading {
    max-width: 760px;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(96px, 1fr));
    gap: 12px;
}

.countdown-tile {
    display: grid;
    place-items: center;
    min-height: 124px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: var(--ivory);
    color: var(--navy);
}

.countdown-tile strong {
    font-size: 3.1rem;
    line-height: 1;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.countdown-tile span {
    color: #5b564a;
}

.activity-section,
.age-section,
.register-section {
    scroll-margin-top: 104px;
    padding: 82px 0 0;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.activity-tile {
    min-height: 190px;
    padding: 22px;
}

.tile-line {
    display: block;
    width: 54px;
    height: 5px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 22px color-mix(in srgb, var(--accent), transparent 45%);
}

.activity-tile h3,
.age-card h3 {
    margin: 18px 0 10px;
    font-size: 1.25rem;
    font-weight: 900;
}

.activity-tile p,
.age-card p,
.register-copy p,
.mvc-copy p,
.mvc-register p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.age-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.age-card {
    min-height: 184px;
    padding: 24px;
    border-color: color-mix(in srgb, var(--accent), transparent 42%);
}

.age-card > span {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 8px 12px;
    border-radius: 8px;
    color: #06101b;
    background: var(--accent);
    font-size: 1.3rem;
    font-weight: 900;
}

.register-section {
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(560px, 1.18fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
    padding-bottom: 70px;
}

.register-copy h2 {
    margin: 0 0 16px;
    font-size: 3rem;
    line-height: 1.05;
    font-weight: 900;
}

.register-notes {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.register-notes span {
    min-height: 36px;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 248, 234, 0.06);
}

.footer-location-pills {
    justify-content: flex-end;
    margin-top: 0;
}

.qr-showcase {
    padding: 14px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.qr-showcase img {
    width: 100%;
    border-radius: 6px;
}

.full-action {
    width: 100%;
    margin-top: 12px;
}

.registration-form-section {
    align-items: start;
}

.registration-form-section .register-copy {
    max-width: 560px;
    padding-top: 26px;
}

.public-registration-card {
    min-width: 0;
    justify-self: stretch;
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid rgba(17, 137, 166, 0.18);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.registration-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 0;
}

.registration-tabs span {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid #1189a6;
    border-radius: 8px;
    color: #ffffff;
    background: #1189a6;
    font-weight: 900;
}

.public-registration-form {
    margin-top: 0;
}

.public-registration-form .public-registration-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 18px 20px;
}

.public-registration-form label {
    gap: 9px;
}

.public-registration-form label > span {
    line-height: 1.25;
}

.public-registration-form .wide-field,
.public-registration-subheading {
    grid-column: 1 / -1;
}

.public-registration-form small {
    display: block;
    margin-top: 6px;
    color: #527283;
    font-size: 0.88rem;
    line-height: 1.35;
    font-weight: 800;
}

.public-password-wrap {
    margin-top: 0;
}

.public-registration-form .checkbox-field {
    min-height: auto;
    padding: 14px 16px;
    border: 1px solid rgba(17, 137, 166, 0.16);
    border-radius: 8px;
    background: #f8fcfd;
}

.public-registration-subheading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 14px;
    margin-top: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(17, 137, 166, 0.14);
}

.public-registration-subheading h3 {
    margin: 4px 0 0;
    color: #123043;
    font-size: 1.35rem;
    line-height: 1.15;
    font-weight: 950;
}

.add-child-button,
.remove-child-button {
    min-height: 38px;
    padding: 8px 12px;
    font-size: 0.86rem;
}

.child-registration-card {
    display: grid;
    gap: 16px;
    padding: 18px;
    border: 1px solid rgba(17, 137, 166, 0.16);
    border-radius: 8px;
    background: #f8fcfd;
}

.child-registration-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.child-registration-header strong {
    color: #123043;
    font-size: 1rem;
    font-weight: 950;
}

.child-registration-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 18px 20px;
}

.child-registration-grid label {
    display: grid;
    gap: 9px;
    min-width: 0;
}

.public-registration-success {
    display: grid;
    gap: 4px;
    margin-bottom: 16px;
}

.public-registration-errors {
    margin-bottom: 16px;
}

.public-registration-errors ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding: 26px 0 38px;
    color: var(--muted);
    border-top: 1px solid var(--line);
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ivory);
    font-weight: 800;
}

.footer-brand img {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(244, 201, 106, 0.48);
    border-radius: 50%;
    background: var(--ivory);
    object-fit: contain;
}

.mvc-body {
    background: var(--page-bg);
}

.member-page {
    min-height: 100vh;
    background:
        linear-gradient(135deg, rgba(38, 199, 255, 0.11), transparent 36%),
        linear-gradient(225deg, rgba(115, 128, 45, 0.14), transparent 42%),
        linear-gradient(180deg, #07101f, #111827);
}

.password-page {
    min-height: 100vh;
    background:
        linear-gradient(140deg, rgba(244, 201, 106, 0.16), transparent 34%),
        linear-gradient(220deg, rgba(38, 199, 255, 0.12), transparent 40%),
        linear-gradient(180deg, #07101f, #111827);
}

.member-nav,
.member-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.member-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 82px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.member-nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.member-nav-actions a,
.member-nav-actions button {
    min-height: 38px;
    padding: 9px 13px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--muted);
    background: transparent;
    font: inherit;
    font-weight: 800;
}

.member-nav-actions button {
    border-color: rgba(244, 201, 106, 0.32);
    color: var(--ivory);
    background: rgba(244, 201, 106, 0.1);
    cursor: pointer;
}

.member-nav-actions a:hover,
.member-nav-actions a:focus-visible,
.member-nav-actions button:hover,
.member-nav-actions button:focus-visible {
    color: var(--ivory);
    border-color: rgba(244, 201, 106, 0.48);
    outline: none;
}

.member-nav-actions a.active,
.member-nav-actions a[aria-current="page"] {
    color: var(--ivory);
    border-color: rgba(244, 201, 106, 0.48);
    background: rgba(244, 201, 106, 0.14);
}

.member-shell {
    padding: 46px 0 72px;
}

.member-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: 26px;
    align-items: stretch;
    margin-bottom: 34px;
}

.member-hero > div:first-child,
.member-stat-grid div,
.member-section,
.empty-state,
.child-tile {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 248, 234, 0.06);
}

.member-hero > div:first-child {
    padding: 28px;
}

.member-hero h1 {
    margin: 0;
    color: var(--ivory);
    font-size: 3.4rem;
    line-height: 1.02;
    font-weight: 900;
}

.member-hero h1.member-login-name {
    color: #0b2f5f;
}

.member-hero p:last-child {
    max-width: 58ch;
    margin: 14px 0 0;
    color: var(--muted);
    line-height: 1.65;
}

.member-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.member-stat-grid div {
    display: grid;
    align-content: center;
    min-height: 160px;
    padding: 22px;
}

.member-stat-grid span,
.child-tile span {
    color: var(--gold-bright);
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
}

.member-stat-grid strong {
    margin-top: 8px;
    color: var(--ivory);
    font-size: 3rem;
    line-height: 1;
    font-weight: 900;
}

.member-section {
    margin-top: 18px;
    padding: 24px;
}

.management-panel .section-heading p:last-child strong {
    color: var(--ivory);
}

.management-form {
    margin-top: 22px;
}

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

.form-grid label,
.locked-role {
    display: grid;
    align-content: start;
    gap: 8px;
    min-width: 0;
}

.form-grid label > span,
.locked-role span {
    color: var(--gold-bright);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.form-grid input,
.form-grid select {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid rgba(244, 201, 106, 0.28);
    border-radius: 8px;
    color: var(--ivory);
    background: rgba(7, 16, 31, 0.76);
    outline: none;
}

.form-grid input:focus,
.form-grid select:focus {
    border-color: var(--gold-bright);
    box-shadow: 0 0 0 4px rgba(244, 201, 106, 0.12);
}

.wide-field {
    grid-column: span 2;
}

.checkbox-field {
    display: flex !important;
    align-items: center;
    align-content: center !important;
    grid-auto-flow: column;
    justify-content: start;
    min-height: 46px;
    padding-top: 24px;
}

.checkbox-field input[type="checkbox"] {
    width: 20px;
    min-height: 20px;
    height: 20px;
    padding: 0;
    accent-color: var(--gold-bright);
}

.locked-role {
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid rgba(244, 201, 106, 0.22);
    border-radius: 8px;
    background: rgba(255, 248, 234, 0.045);
}

.locked-role strong {
    color: var(--ivory);
    overflow-wrap: anywhere;
}

.management-submit,
.management-actions {
    margin-top: 18px;
}

.editable-member-list {
    display: grid;
    gap: 16px;
    margin-top: 22px;
}

.member-edit-card {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 248, 234, 0.05);
}

.member-card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.member-card-heading span {
    color: var(--gold-bright);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.member-card-heading h3 {
    margin: 6px 0 4px;
    color: var(--ivory);
    font-size: 1.35rem;
    line-height: 1.2;
    font-weight: 900;
}

.member-card-heading p {
    margin: 0;
    color: var(--muted);
    font-weight: 800;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border: 1px solid rgba(244, 201, 106, 0.24);
    border-radius: 8px;
    font-size: 0.78rem;
    text-transform: uppercase;
}

.status-pill.active {
    color: #ddff9a;
    background: rgba(155, 224, 31, 0.1);
}

.status-pill.inactive {
    color: #ffd1df;
    background: rgba(255, 77, 154, 0.1);
}

.compact-management-form {
    margin-top: 0;
}

.management-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.reset-form {
    margin-top: 12px;
}

.reset-button {
    min-height: 42px;
}

.member-readonly-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

.member-readonly-list div {
    padding: 12px;
    border: 1px solid rgba(244, 201, 106, 0.14);
    border-radius: 8px;
}

.member-readonly-list dt {
    color: var(--gold-bright);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.member-readonly-list dd {
    margin: 6px 0 0;
    color: var(--muted);
}

.member-table-wrap {
    width: 100%;
    margin-top: 22px;
    overflow-x: auto;
}

.member-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.member-table th,
.member-table td {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(244, 201, 106, 0.16);
    color: var(--muted);
    text-align: left;
    vertical-align: top;
}

.member-table th {
    color: var(--gold-bright);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.member-table td:first-child {
    color: var(--ivory);
    font-weight: 800;
}

.child-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.child-tile {
    min-height: 136px;
    padding: 20px;
}

.child-tile h3 {
    margin: 14px 0 8px;
    color: var(--ivory);
    font-size: 1.2rem;
    line-height: 1.22;
    font-weight: 900;
}

.child-tile p {
    margin: 0;
    color: var(--muted);
}

.empty-state {
    margin-top: 20px;
    padding: 20px;
    color: var(--muted);
    font-weight: 800;
}

.password-shell {
    display: grid;
    place-items: center;
    width: min(1180px, calc(100% - 32px));
    min-height: calc(100svh - 82px);
    margin: 0 auto;
    padding: 48px 0 72px;
}

.password-panel {
    width: min(460px, 100%);
    padding: 28px;
    border: 1px solid rgba(244, 201, 106, 0.36);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 248, 234, 0.1), rgba(255, 248, 234, 0.055)),
        rgba(12, 20, 36, 0.9);
    box-shadow: var(--shadow);
}

.password-panel h1 {
    margin: 0 0 20px;
    color: var(--ivory);
    font-size: 2.4rem;
    line-height: 1.05;
    font-weight: 900;
}

.password-success {
    margin-bottom: 16px;
    padding: 12px 14px;
    border: 1px solid rgba(155, 224, 31, 0.42);
    border-radius: 8px;
    color: var(--ivory);
    background: rgba(155, 224, 31, 0.12);
    font-weight: 800;
}

.mvc-event-page {
    min-height: 100vh;
    padding: 40px 0;
    background:
        linear-gradient(135deg, rgba(115, 128, 45, 0.15), transparent 36%),
        linear-gradient(180deg, #07101f, #151827);
}

.mvc-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 36px;
    align-items: center;
}

.mvc-copy h1 {
    margin: 0 0 18px;
    font-size: 4rem;
    line-height: 0.98;
    font-weight: 900;
    text-transform: uppercase;
}

.mvc-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 24px 0;
}

.mvc-facts div {
    padding: 16px;
}

.mvc-facts dd {
    margin: 8px 0 0;
    color: var(--text);
    font-weight: 800;
}

.mvc-poster {
    margin: 0;
    padding: 12px;
    border: 1px solid rgba(244, 201, 106, 0.42);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(255, 248, 234, 0.08), rgba(6, 12, 24, 0.78));
    box-shadow: var(--shadow);
}

.mvc-poster img {
    border-radius: 6px;
}

.mvc-register {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 24px;
    align-items: center;
    margin-top: 32px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 248, 234, 0.055);
}

.mvc-register h2 {
    margin: 0 0 10px;
    font-size: 2rem;
    font-weight: 900;
}

.mvc-register img {
    border-radius: 8px;
    background: #fff;
}

#blazor-error-ui {
    display: none;
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1000;
    padding: 14px 48px 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    background: #b32121;
    color: white;
    box-shadow: var(--shadow);
}

#blazor-error-ui .dismiss {
    position: absolute;
    top: 10px;
    right: 14px;
    cursor: pointer;
}

@media (max-width: 980px) {
    .hero-section,
    .master-hero,
    .login-hero,
    .register-section,
    .mvc-hero,
    .mvc-register,
    .member-hero {
        grid-template-columns: 1fr;
    }

    .login-copy h1 {
        font-size: 4.8rem;
    }

    .master-copy h1 {
        font-size: 4.8rem;
    }

    .hero-copy h1 {
        font-size: var(--fit-font-size, 4.4rem);
    }

    .poster-showcase img {
        max-height: none;
    }

    .countdown-band {
        grid-template-columns: 1fr;
    }

    .activity-grid,
    .age-grid,
    .master-path-grid,
    .child-grid,
    .form-grid,
    .member-readonly-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wide-field {
        grid-column: span 2;
    }
}

@media (max-width: 720px) {
    .hero-section,
    .master-hero,
    .login-shell,
    .master-path-section,
    .countdown-band,
    .activity-section,
    .age-section,
    .register-section,
    .site-footer,
    .mvc-hero,
    .mvc-register,
    .member-nav,
    .member-shell,
    .password-shell {
        width: calc(100% - 32px);
        max-width: calc(100% - 32px);
    }

    .event-nav {
        align-items: flex-start;
        flex-direction: column;
        padding: 10px 0;
    }

    .nav-links {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
        width: 100%;
    }

    .nav-links a {
        width: 100%;
        font-size: 0.82rem;
        padding-inline: 8px;
        text-align: center;
    }

    .language-switcher {
        width: 100%;
        justify-content: center;
    }

    .language-switcher a {
        flex: 1;
    }

    .member-nav {
        align-items: flex-start;
        flex-direction: column;
    }

    .member-nav-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .member-nav-actions a,
    .member-nav-actions button,
    .member-nav-actions form {
        width: 100%;
        text-align: center;
    }

    .login-hero {
        padding-top: 34px;
    }

    .login-copy h1 {
        font-size: 3.4rem;
        line-height: 1;
    }

    .login-lede {
        max-width: 31ch;
        font-size: 1.08rem;
    }

    .login-panel {
        padding: 22px;
    }

    .hero-section {
        padding-top: 34px;
    }

    .hero-copy h1 {
        font-size: var(--fit-font-size, 2.72rem);
        line-height: 1;
    }

    .master-copy h1 {
        font-size: 3.6rem;
        line-height: 1;
    }

    .master-lede {
        max-width: 31ch;
        font-size: 1.1rem;
    }

    .master-event-panel h2 {
        font-size: 2rem;
    }

    .hero-lede {
        max-width: 31ch;
        font-size: 1.08rem;
    }

    .event-meta-grid,
    .countdown-grid,
    .activity-grid,
    .age-grid,
    .master-path-grid,
    .mvc-facts,
    .member-stat-grid,
    .child-grid,
    .form-grid,
    .member-readonly-list {
        grid-template-columns: 1fr;
    }

    .wide-field {
        grid-column: span 1;
    }

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

    .public-registration-subheading,
    .child-registration-header {
        align-items: stretch;
        flex-direction: column;
    }

    .child-registration-grid {
        grid-template-columns: 1fr;
    }

    .checkbox-field {
        padding-top: 0;
    }

    .countdown-band {
        padding: 22px;
    }

    .countdown-tile {
        min-height: 96px;
    }

    .countdown-tile strong {
        font-size: 2.4rem;
    }

    .section-heading h2,
    .register-copy h2 {
        font-size: 2.1rem;
    }

    .member-hero h1 {
        font-size: 2.2rem;
    }

    .mvc-copy h1 {
        font-size: 3rem;
    }
}

.imu-inspired-page {
    min-height: 100vh;
    color: #173243;
    background:
        linear-gradient(115deg, rgba(178, 223, 230, 0.56) 0 32%, transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f5fbfc 56%, #eef7f8 100%);
}

.imu-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(1180px, calc(100% - 32px));
    min-height: 86px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(23, 50, 67, 0.12);
}

.imu-brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: #173243;
}

.imu-brand-mark {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    padding: 5px;
    border: 2px solid #91ccd4;
    border-radius: 50%;
    background: #ffffff;
    overflow: hidden;
}

.imu-brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.imu-brand strong,
.imu-brand small {
    display: block;
}

.imu-brand strong {
    font-size: 1.12rem;
    font-weight: 900;
}

.imu-brand small {
    margin-top: 2px;
    color: #4f7480;
    font-size: 0.82rem;
    font-weight: 800;
}

.imu-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.imu-links a {
    min-height: 38px;
    padding: 9px 12px;
    border-radius: 8px;
    color: #26495a;
    font-weight: 850;
}

.imu-links a:hover,
.imu-links a:focus-visible {
    color: #0f6f8f;
    background: rgba(154, 213, 221, 0.22);
    outline: none;
}

.imu-links a.active,
.imu-links a[aria-current="page"] {
    color: #ffffff;
    background: #1189a6;
}

.imu-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    align-items: center;
    gap: 56px;
    width: min(1180px, calc(100% - 32px));
    min-height: calc(100svh - 86px - 170px);
    margin: 0 auto;
    padding: 68px 0 48px;
}

.imu-hero-copy {
    min-width: 0;
    padding: 22px 0;
}

.imu-kicker,
.imu-panel-header span {
    margin: 0 0 10px;
    color: #e06433;
    font-size: 0.92rem;
    font-weight: 950;
    text-transform: uppercase;
}

.imu-hero-copy h1 {
    margin: 0;
    color: #123043;
    font-size: 7rem;
    line-height: 0.9;
    font-weight: 950;
    text-transform: uppercase;
}

.imu-tagline {
    max-width: 620px;
    margin: 24px 0 0;
    color: #31566a;
    font-size: 1.38rem;
    line-height: 1.65;
    font-weight: 650;
}

.imu-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.imu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    border: 2px solid transparent;
    border-radius: 8px;
    font-weight: 950;
    text-align: center;
}

.imu-button.primary {
    color: #ffffff;
    background: #1189a6;
    box-shadow: 0 16px 34px rgba(17, 137, 166, 0.22);
}

.imu-button.secondary {
    color: #123043;
    border-color: #1189a6;
    background: #ffffff;
}

.imu-button:hover,
.imu-button:focus-visible {
    transform: translateY(-1px);
    outline: none;
}

.imu-login-panel {
    position: relative;
    padding: 30px;
    border: 1px solid rgba(17, 137, 166, 0.18);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 28px 72px rgba(41, 87, 104, 0.16);
}

.imu-login-panel::before {
    content: "";
    position: absolute;
    top: -12px;
    right: 26px;
    width: 112px;
    height: 12px;
    border-radius: 8px 8px 0 0;
    background: #f3b33d;
}

.imu-panel-header h2 {
    margin: 0 0 20px;
    color: #123043;
    font-size: 2.45rem;
    line-height: 1;
    font-weight: 950;
}

.imu-login-form label {
    color: #31566a;
}

.imu-login-form input {
    color: #123043;
    border-color: rgba(17, 137, 166, 0.22);
    background: #f8fcfd;
}

.imu-login-form input:focus {
    border-color: #1189a6;
    box-shadow: 0 0 0 4px rgba(17, 137, 166, 0.12);
}

.imu-login-form .password-toggle {
    color: #1189a6;
}

.imu-login-submit {
    width: 100%;
    margin-top: 10px;
    border: 0;
}

.imu-community-band {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 58px;
}

.imu-community-band a {
    display: grid;
    gap: 9px;
    min-height: 148px;
    padding: 22px;
    border: 1px solid rgba(17, 137, 166, 0.16);
    border-radius: 8px;
    color: #173243;
    background: #ffffff;
    box-shadow: 0 18px 46px rgba(41, 87, 104, 0.1);
}

.imu-community-band a:hover,
.imu-community-band a:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(17, 137, 166, 0.38);
    outline: none;
}

.imu-community-band span {
    color: #e06433;
    font-size: 0.84rem;
    font-weight: 950;
}

.imu-community-band strong {
    color: #123043;
    font-size: 1.22rem;
    font-weight: 950;
}

.imu-community-band small {
    color: #527283;
    font-size: 0.96rem;
    line-height: 1.5;
}

.imu-inspired-page .login-alert {
    color: #6d1f2e;
    border-color: rgba(224, 100, 51, 0.36);
    background: rgba(224, 100, 51, 0.1);
}

@media (max-width: 980px) {
    .imu-hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 48px;
    }

    .imu-hero-copy h1 {
        font-size: 5.2rem;
    }

    .imu-community-band {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .imu-nav {
        align-items: flex-start;
        flex-direction: column;
        padding: 12px 0 14px;
    }

    .imu-links {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .imu-links a {
        width: 100%;
        background: rgba(154, 213, 221, 0.18);
        text-align: center;
    }

    .imu-hero-copy h1 {
        font-size: 3.7rem;
    }

    .imu-tagline {
        font-size: 1.12rem;
    }

    .imu-login-panel {
        padding: 22px;
    }

    .imu-community-band {
        grid-template-columns: 1fr;
    }

    .public-registration-grid {
        grid-template-columns: 1fr;
    }
}

/* Light Shalom app theme shared with the front page. */
.mvc-body,
.admin-page,
.dashboard-page,
.member-page,
.password-page,
.event-page,
.master-page {
    color: #173243;
    background:
        linear-gradient(115deg, rgba(178, 223, 230, 0.56) 0 32%, transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f5fbfc 56%, #eef7f8 100%);
}

.mvc-event-page {
    min-height: 100vh;
    color: #173243;
    background:
        linear-gradient(115deg, rgba(178, 223, 230, 0.56) 0 32%, transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f5fbfc 56%, #eef7f8 100%);
}

.event-nav,
.member-nav {
    background: transparent;
    border-bottom: 1px solid rgba(23, 50, 67, 0.12);
    backdrop-filter: none;
}

.brand-lockup,
.brand-lockup strong,
.footer-brand,
.member-nav-actions a,
.member-nav-actions button,
.nav-links a {
    color: #173243;
}

.brand-lockup small {
    color: #4f7480;
}

.brand-mark,
.community-badge.logo-only,
.login-emblem {
    border-color: #91ccd4;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(41, 87, 104, 0.14);
}

.nav-links a:hover,
.nav-links a:focus-visible,
.member-nav-actions a:hover,
.member-nav-actions a:focus-visible,
.member-nav-actions button:hover,
.member-nav-actions button:focus-visible {
    color: #0f6f8f;
    border-color: transparent;
    background: rgba(154, 213, 221, 0.22);
}

.member-nav-actions a.active,
.member-nav-actions a.active:hover,
.member-nav-actions a.active:focus-visible,
.member-nav-actions a[aria-current="page"],
.member-nav-actions a[aria-current="page"]:hover,
.member-nav-actions a[aria-current="page"]:focus-visible {
    color: #ffffff;
    border-color: #1189a6;
    background: #1189a6;
}

.language-switcher,
.imu-inspired-page .language-switcher,
.mvc-event-page .language-switcher,
.admin-page .language-switcher,
.dashboard-page .language-switcher,
.member-page .language-switcher,
.password-page .language-switcher,
.event-page .language-switcher,
.master-page .language-switcher {
    border-color: rgba(17, 137, 166, 0.16);
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(41, 87, 104, 0.08);
}

.language-switcher a,
.imu-inspired-page .language-switcher a,
.mvc-event-page .language-switcher a,
.admin-page .language-switcher a,
.member-page .language-switcher a,
.password-page .language-switcher a,
.event-page .language-switcher a,
.master-page .language-switcher a {
    color: #31566a;
}

.language-switcher a:hover,
.language-switcher a:focus-visible,
.language-switcher a.active,
.imu-inspired-page .language-switcher a:hover,
.imu-inspired-page .language-switcher a:focus-visible,
.imu-inspired-page .language-switcher a.active {
    color: #ffffff;
    background: #1189a6;
}

.hero-copy h1,
.master-copy h1,
.login-copy h1,
.member-hero h1,
.mvc-copy h1,
.password-panel h1,
.section-heading h2,
.register-copy h2,
.mvc-register h2,
.member-card-heading h3,
.child-tile h3,
.path-tile h3,
.activity-tile h3,
.age-card h3,
.master-event-panel h2 {
    color: #123043;
}

.eyebrow,
.event-meta-grid span,
.countdown-tile span,
.register-notes span,
.mvc-facts dt,
.member-stat-grid span,
.child-tile span,
.form-grid label > span,
.locked-role span,
.member-card-heading span,
.member-table th,
.member-readonly-list dt {
    color: #e06433;
}

.hero-lede,
.master-lede,
.login-lede,
.activity-tile p,
.age-card p,
.register-copy p,
.mvc-copy p,
.mvc-register p,
.member-hero p:last-child,
.master-event-panel p,
.path-tile p,
.event-meta-grid strong,
.member-table td,
.member-readonly-list dd,
.child-tile p,
.empty-state {
    color: #31566a;
}

.event-meta-grid div,
.activity-tile,
.age-card,
.path-tile,
.master-event-panel,
.member-hero > div:first-child,
.member-stat-grid div,
.member-section,
.dashboard-panel,
.empty-state,
.child-tile,
.mvc-facts div,
.mvc-register,
.password-panel,
.login-panel {
    border-color: rgba(17, 137, 166, 0.16);
    background: #ffffff;
    box-shadow: 0 18px 46px rgba(41, 87, 104, 0.1);
}

.poster-showcase,
.mvc-poster,
.qr-showcase {
    border-color: rgba(17, 137, 166, 0.18);
    background: #ffffff;
    box-shadow: 0 22px 60px rgba(41, 87, 104, 0.16);
}

.primary-action {
    color: #ffffff;
    border-color: #1189a6;
    background: #1189a6;
    box-shadow: 0 16px 34px rgba(17, 137, 166, 0.22);
}

.quiet-action,
.action-button {
    color: #123043;
    border-color: #1189a6;
    background: #ffffff;
}

.action-button:hover,
.action-button:focus-visible {
    transform: translateY(-1px);
    outline: none;
}

.countdown-band {
    border-color: rgba(17, 137, 166, 0.16);
    background: #ffffff;
    box-shadow: 0 18px 46px rgba(41, 87, 104, 0.1);
}

.countdown-tile,
.age-card > span {
    background: #f5fbfc;
    color: #123043;
}

.tile-line {
    background: #1189a6;
    box-shadow: none;
}

.site-footer {
    color: #31566a;
    border-top-color: rgba(23, 50, 67, 0.12);
}

.login-form input,
.form-grid input,
.form-grid select,
.form-grid textarea {
    color: #123043;
    border-color: rgba(17, 137, 166, 0.22);
    background: #f8fcfd;
}

.login-form input:focus,
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
    border-color: #1189a6;
    box-shadow: 0 0 0 4px rgba(17, 137, 166, 0.12);
}

.member-role-select,
.member-role-option,
.locked-role strong {
    color: #0b2f5f;
    font-weight: 900;
}

.form-grid textarea {
    width: 100%;
    min-height: 92px;
    padding: 10px 12px;
    border: 1px solid rgba(17, 137, 166, 0.22);
    border-radius: 8px;
    resize: vertical;
    outline: none;
}

.member-create-disclosure summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    list-style: none;
}

.member-create-disclosure summary::-webkit-details-marker {
    display: none;
}

.member-create-disclosure summary strong,
.editor-empty-state h3 {
    display: block;
    color: #123043;
    font-size: 1.55rem;
    line-height: 1.15;
    font-weight: 950;
}

.member-create-disclosure summary small {
    color: #31566a;
    font-weight: 800;
}

.member-create-disclosure[open] summary {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(17, 137, 166, 0.14);
}

.member-directory-layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
    gap: 18px;
    margin-top: 22px;
}

.member-list-panel,
.member-editor-panel {
    min-width: 0;
    border: 1px solid rgba(17, 137, 166, 0.16);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 46px rgba(41, 87, 104, 0.1);
}

.member-list-panel {
    padding: 18px;
}

.member-editor-panel {
    padding: 22px;
}

.directory-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.directory-toolbar strong {
    color: #123043;
    font-size: 1.75rem;
    line-height: 1;
    font-weight: 950;
}

.directory-toolbar span,
.directory-toolbar small {
    color: #527283;
    font-weight: 800;
}

.alphabet-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.alphabet-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    min-height: 32px;
    padding: 6px 9px;
    border: 1px solid rgba(17, 137, 166, 0.18);
    border-radius: 8px;
    color: #123043;
    background: #f8fcfd;
    font-size: 0.84rem;
    font-weight: 950;
}

.alphabet-nav a.active {
    color: #ffffff;
    border-color: #1189a6;
    background: #1189a6;
}

.alphabet-nav a.empty:not(.active) {
    color: #91a7b0;
    background: #f2f7f8;
}

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

.member-list-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 72px;
    padding: 12px;
    border: 1px solid rgba(17, 137, 166, 0.14);
    border-radius: 8px;
    color: #173243;
    background: #f8fcfd;
}

.member-list-card:hover,
.member-list-card:focus-visible,
.member-list-card.selected {
    border-color: rgba(17, 137, 166, 0.46);
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(41, 87, 104, 0.1);
    outline: none;
}

.member-list-initial {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    color: #ffffff;
    background: #1189a6;
    font-weight: 950;
}

.member-list-card strong,
.member-list-card small {
    display: block;
    min-width: 0;
}

.member-list-card strong {
    color: #123043;
    overflow-wrap: anywhere;
}

.member-stat-grid strong {
    color: #123043;
}

.member-list-card small {
    margin-top: 3px;
    color: #527283;
    font-weight: 800;
}

.pagination-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.pagination-nav a,
.pagination-nav span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid rgba(17, 137, 166, 0.18);
    border-radius: 8px;
    color: #123043;
    background: #ffffff;
    font-size: 0.84rem;
    font-weight: 900;
}

.pagination-nav a.active {
    color: #ffffff;
    border-color: #1189a6;
    background: #1189a6;
}

.pagination-nav span {
    color: #91a7b0;
    background: #f2f7f8;
}

.editor-empty-state {
    padding: 24px;
    border: 1px dashed rgba(17, 137, 166, 0.28);
    border-radius: 8px;
    color: #31566a;
    background: #f8fcfd;
}

.editor-empty-state p {
    margin: 8px 0 0;
}

.children-disclosure {
    padding: 0;
}

.children-disclosure summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px;
    cursor: pointer;
    list-style: none;
}

.children-disclosure summary::-webkit-details-marker {
    display: none;
}

.children-disclosure summary strong {
    display: block;
    color: #123043;
    font-size: 1.55rem;
    line-height: 1.15;
    font-weight: 950;
}

.children-disclosure summary small {
    display: grid;
    place-items: center;
    min-width: 42px;
    min-height: 42px;
    border-radius: 8px;
    color: #ffffff;
    background: #1189a6;
    font-size: 1.05rem;
    font-weight: 950;
}

.children-disclosure[open] summary {
    border-bottom: 1px solid rgba(17, 137, 166, 0.14);
}

.children-disclosure > .empty-state,
.children-disclosure > .child-grid {
    margin: 22px 24px 24px;
}

.selected-child-registration-panel,
.selected-children-panel {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid rgba(17, 137, 166, 0.14);
}

.member-subsection-heading h4 {
    margin: 0 0 16px;
    color: #123043;
    font-size: 1.25rem;
    line-height: 1.2;
    font-weight: 950;
}

.child-registration-form {
    margin-bottom: 16px;
    padding: 16px;
    border: 1px solid rgba(17, 137, 166, 0.14);
    border-radius: 8px;
    background: #f8fcfd;
}

.child-form-grid {
    margin-bottom: 14px;
}

.member-events-panel,
.member-feedback-panel {
    margin-bottom: 18px;
    padding: 18px;
    border: 1px solid rgba(17, 137, 166, 0.16);
    border-radius: 8px;
    background: rgba(244, 251, 252, 0.82);
}

.member-events-panel,
.member-events-empty {
    margin-top: 22px;
}

.member-event-grid {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.member-event-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 16px;
    border: 1px solid rgba(17, 137, 166, 0.16);
    border-radius: 8px;
    background: #f8fcfd;
}

.member-event-card.registered {
    border-color: rgba(42, 135, 86, 0.2);
    background: rgba(244, 251, 247, 0.95);
}

.member-event-copy {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.member-event-copy h4 {
    margin: 0;
    color: #0b2f5f;
    font-size: 1.16rem;
    font-weight: 950;
}

.member-event-copy p {
    margin: 0;
    color: #4f6471;
    line-height: 1.55;
}

.event-activity-pill,
.member-event-meta span {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    padding: 6px 10px;
    border: 1px solid rgba(224, 100, 51, 0.18);
    border-radius: 8px;
    color: #e06433;
    background: #fff8ea;
    font-size: 0.76rem;
    font-weight: 950;
    text-transform: uppercase;
}

.member-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.member-event-actions {
    display: grid;
    justify-items: end;
    gap: 8px;
}

.member-event-actions form {
    margin: 0;
}

.member-event-actions small {
    color: #5f7280;
    font-weight: 800;
}

.member-feedback-form {
    margin-top: 16px;
}

.feedback-form-grid {
    align-items: start;
}

.member-feedback-form .wide-field {
    grid-column: 1 / -1;
}

.feedback-text-field textarea {
    min-height: 150px;
    resize: vertical;
}

.member-events-empty,
.member-feedback-empty {
    margin-bottom: 18px;
}

.selected-child-list {
    display: grid;
    gap: 10px;
}

.selected-child-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 58px;
    padding: 12px 14px;
    border: 1px solid rgba(17, 137, 166, 0.14);
    border-radius: 8px;
    background: #ffffff;
}

.selected-child-card strong {
    color: #123043;
    overflow-wrap: anywhere;
}

.selected-child-card span {
    color: #527283;
    font-size: 0.82rem;
    font-weight: 800;
    white-space: nowrap;
}

.child-detail-lines {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    color: #527283;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.35;
}

.selected-child-card .child-detail-lines span,
.child-tile .child-detail-lines span {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    white-space: normal;
}

.child-tile .child-detail-lines {
    align-items: flex-start;
    color: var(--muted);
    font-size: 1rem;
    font-weight: 500;
}

.child-edit-form {
    display: grid;
    align-items: stretch;
    justify-content: stretch;
    gap: 12px;
}

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

.child-edit-form .form-grid label > span {
    color: #e06433;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    white-space: normal;
}

.child-save-button {
    justify-self: start;
}

.compact-empty-state {
    margin-top: 0;
    padding: 16px;
}

.member-card-heading {
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(17, 137, 166, 0.14);
}

.status-pill {
    border-color: rgba(17, 137, 166, 0.18);
    color: #31566a;
    background: #f8fcfd;
}

.status-pill.active {
    color: #0b6d58;
    background: rgba(31, 176, 132, 0.12);
}

.status-pill.inactive {
    color: #8a3c28;
    background: rgba(224, 100, 51, 0.12);
}

.member-table th,
.member-table td {
    border-bottom-color: rgba(17, 137, 166, 0.14);
}

.member-table th:first-child,
.member-table td:first-child {
    color: #0b2f5f;
    font-weight: 950;
}

.contact-warning-field > span,
.member-readonly-list .contact-warning-value dt {
    color: #a9411e;
}

.contact-warning-field input,
.member-readonly-list .contact-warning-value,
.member-table td.contact-warning-cell {
    border-color: rgba(224, 100, 51, 0.52);
    background: rgba(224, 100, 51, 0.1);
}

.contact-warning-field input {
    box-shadow: inset 4px 0 0 rgba(224, 100, 51, 0.72);
}

.contact-warning-field input::placeholder,
.member-readonly-list .contact-warning-value dd,
.member-table td.contact-warning-cell {
    color: #8a3c28;
    font-weight: 900;
}

.dashboard-hero {
    grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1fr);
}

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

.dashboard-chart-grid,
.dashboard-detail-grid {
    display: grid;
    gap: 18px;
}

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

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

.dashboard-comments-panel {
    grid-column: 1 / -1;
}

.dashboard-panel {
    display: grid;
    align-content: start;
    gap: 16px;
}

.dashboard-panel-note,
.dashboard-generated {
    margin: 0;
    color: #527283;
    font-weight: 800;
}

.dashboard-generated {
    text-align: right;
}

.dashboard-bars {
    display: grid;
    gap: 13px;
}

.dashboard-bar-row {
    display: grid;
    grid-template-columns: minmax(74px, 0.34fr) minmax(0, 1fr) 44px;
    align-items: center;
    gap: 12px;
}

.dashboard-bar-row > span {
    color: #123043;
    font-weight: 900;
}

.dashboard-bar-row > strong {
    color: #0b2f5f;
    font-size: 1rem;
    text-align: right;
}

.dashboard-bar-track {
    height: 14px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(17, 137, 166, 0.12);
}

.dashboard-bar-fill {
    display: block;
    height: 100%;
    min-width: 4px;
    border-radius: inherit;
    background: linear-gradient(90deg, #1189a6, #e06433);
}

.dashboard-family-list,
.dashboard-feedback-list {
    display: grid;
    gap: 12px;
}

.dashboard-family-row,
.dashboard-feedback-row {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(17, 137, 166, 0.14);
    border-radius: 8px;
    background: #f8fcfd;
}

.dashboard-family-row header,
.dashboard-feedback-row header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.dashboard-family-row header span,
.dashboard-feedback-row header span {
    color: #e06433;
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.dashboard-family-row h3,
.dashboard-feedback-row h3 {
    margin: 4px 0;
    color: #123043;
    font-size: 1.08rem;
    line-height: 1.25;
    font-weight: 950;
}

.dashboard-family-row p,
.dashboard-feedback-row p {
    margin: 0;
    color: #31566a;
}

.dashboard-family-row dl {
    display: grid;
    gap: 10px;
    margin: 0;
}

.dashboard-family-row dl div {
    display: grid;
    gap: 4px;
}

.dashboard-family-row dt {
    color: #e06433;
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.dashboard-family-row dd {
    margin: 0;
    color: #31566a;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.dashboard-feedback-row > p {
    padding: 12px 14px;
    border-radius: 8px;
    color: #173243;
    background: #ffffff;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.dashboard-feedback-row header > strong {
    flex: 0 0 auto;
    padding: 7px 10px;
    border-radius: 999px;
    color: #0b2f5f;
    background: rgba(244, 201, 106, 0.24);
    font-size: 0.82rem;
}

.admin-hero {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
}

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

.admin-tabs {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 18px;
}

.admin-tabs a {
    display: grid;
    gap: 8px;
    min-height: 86px;
    padding: 16px;
    border: 1px solid rgba(17, 137, 166, 0.16);
    border-radius: 8px;
    color: #173243;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(41, 87, 104, 0.08);
}

.admin-tabs a:hover,
.admin-tabs a:focus-visible,
.admin-tabs a.active {
    color: #ffffff;
    border-color: #1189a6;
    background: #1189a6;
    outline: none;
}

.admin-tabs strong,
.admin-tabs span {
    display: block;
}

.admin-tabs strong {
    font-size: 0.94rem;
    font-weight: 950;
}

.admin-tabs span {
    font-size: 1.55rem;
    line-height: 1;
    font-weight: 950;
}

.admin-section {
    margin-top: 0;
}

.admin-create-card,
.admin-edit-card,
.admin-inline-row {
    border: 1px solid rgba(17, 137, 166, 0.16);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(41, 87, 104, 0.08);
}

.admin-create-card {
    margin-top: 22px;
    padding: 20px;
}

.compact-admin-create {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 14px;
}

.compact-admin-create .form-grid {
    margin: 0;
}

.admin-edit-grid {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}

.admin-edit-card {
    padding: 20px;
}

.admin-form-grid {
    margin-bottom: 18px;
}

.admin-event-picker {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.admin-event-picker a {
    display: grid;
    gap: 6px;
    min-height: 98px;
    padding: 14px;
    border: 1px solid rgba(17, 137, 166, 0.16);
    border-radius: 8px;
    color: #173243;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(41, 87, 104, 0.08);
}

.admin-event-picker a:hover,
.admin-event-picker a:focus-visible,
.admin-event-picker a.active {
    color: #ffffff;
    border-color: #1189a6;
    background: #1189a6;
    outline: none;
}

.admin-event-picker span,
.admin-event-picker small {
    color: inherit;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-event-picker strong {
    font-size: 1rem;
    line-height: 1.25;
    font-weight: 950;
}

.program-template-form {
    margin-top: 18px;
}

.program-template-grid {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.program-template-field {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(17, 137, 166, 0.14);
    border-radius: 8px;
    background: #f8fcfd;
}

.program-template-field label {
    display: grid;
    gap: 8px;
}

.program-template-field label > span {
    color: #e06433;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.program-template-field input,
.program-template-field textarea {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid rgba(17, 137, 166, 0.22);
    border-radius: 8px;
    color: #123043;
    background: #ffffff;
    outline: none;
}

.program-template-field textarea {
    min-height: 116px;
    resize: vertical;
}

.program-template-field input:focus,
.program-template-field textarea:focus {
    border-color: #1189a6;
    box-shadow: 0 0 0 4px rgba(17, 137, 166, 0.12);
}

.program-template-field small {
    grid-column: 1 / -1;
    color: #527283;
    font-size: 0.78rem;
    font-weight: 800;
}

.mail-recipient-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 16px;
    align-items: center;
    margin-top: 18px;
    padding: 16px;
    border: 1px solid rgba(17, 137, 166, 0.16);
    border-radius: 8px;
    background: #f8fcfd;
}

.mail-recipient-summary span,
.mail-recipient-summary small {
    color: #527283;
    font-weight: 800;
}

.mail-recipient-summary span {
    color: #e06433;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.mail-recipient-summary strong {
    grid-row: span 2;
    color: #123043;
    font-size: 2rem;
    line-height: 1;
    font-weight: 950;
}

.mail-compose-form .wide-field {
    grid-column: span 3;
}

.mail-body-field textarea {
    min-height: 240px;
}

.admin-table-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.admin-inline-row {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    align-items: end;
    gap: 12px;
    padding: 14px;
}

.admin-inline-row > span {
    display: grid;
    place-items: center;
    min-height: 46px;
    border-radius: 8px;
    color: #ffffff;
    background: #1189a6;
    font-weight: 950;
}

.admin-inline-row label {
    display: grid;
    gap: 8px;
}

.admin-inline-row label > span {
    color: #e06433;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-inline-row input {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid rgba(17, 137, 166, 0.22);
    border-radius: 8px;
    color: #123043;
    background: #f8fcfd;
    outline: none;
}

.admin-inline-row input:focus {
    border-color: #1189a6;
    box-shadow: 0 0 0 4px rgba(17, 137, 166, 0.12);
}

@media (max-width: 980px) {
    .member-directory-layout {
        grid-template-columns: 1fr;
    }

    .admin-hero,
    .dashboard-hero,
    .admin-stat-grid,
    .dashboard-stat-grid,
    .dashboard-chart-grid,
    .dashboard-detail-grid,
    .admin-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .program-template-field {
        grid-template-columns: 1fr;
    }

    .mail-compose-form .wide-field {
        grid-column: span 2;
    }
}

@media (max-width: 720px) {
    .event-nav,
    .member-nav {
        background: transparent;
    }

    .member-create-disclosure summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .member-list-card {
        grid-template-columns: 38px minmax(0, 1fr);
    }

    .member-list-card .status-pill {
        grid-column: 2;
        justify-self: start;
    }

    .selected-child-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .selected-child-card span {
        white-space: normal;
    }

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

    .member-event-actions {
        justify-items: start;
    }

    .child-edit-grid {
        grid-template-columns: 1fr;
    }

    .child-save-button {
        width: 100%;
    }

    .member-editor-panel,
    .member-list-panel {
        padding: 16px;
    }

    .admin-hero,
    .dashboard-hero,
    .admin-stat-grid,
    .dashboard-stat-grid,
    .dashboard-chart-grid,
    .dashboard-detail-grid,
    .admin-tabs,
    .compact-admin-create,
    .admin-inline-row {
        grid-template-columns: 1fr;
    }

    .dashboard-family-row header,
    .dashboard-feedback-row header {
        flex-direction: column;
    }

    .dashboard-bar-row {
        grid-template-columns: 1fr 42px;
    }

    .dashboard-bar-row > span {
        grid-column: 1 / -1;
    }

    .mail-compose-form .wide-field,
    .mail-recipient-summary {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .admin-inline-row > span {
        place-items: start;
        align-items: center;
        padding: 0 12px;
    }
}
