:root {
    --old-gold: #d6a21f;
    --old-gold-dark: #9b7413;
    --royal-blue: #174ea6;
    --royal-blue-dark: #0f3470;
    --cream: #fff9ec;
    --ink: #1f2933;
    --muted: #617184;
    --border: #e3d6b0;
    --white: #ffffff;
}

/* Giveaway contributor board */
.admin-preview-banner { position:sticky; top:0; z-index:1000; padding:.8rem; background:#b42318; color:#fff; font-weight:900; text-align:center; letter-spacing:.04em; }
.giveaway-hero-layout { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr); align-items:center; gap:2rem; }
.giveaway-hero-graphic img,.giveaway-graphic-fallback { display:block; width:100%; max-height:26rem; border-radius:1rem; object-fit:contain; }
.giveaway-graphic-fallback { display:grid; place-items:center; min-height:15rem; padding:1.5rem; border:2px solid rgba(255,255,255,.45); background:rgba(255,255,255,.1); text-align:center; }
.giveaway-graphic-fallback span,.giveaway-graphic-fallback strong { display:block; }
.giveaway-graphic-fallback strong { color:var(--old-gold); font-size:1.5rem; }
.giveaway-details-grid,.giveaway-campaign-index { margin:1.5rem 0; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); }
.giveaway-manager-thumb { display:grid; place-items:center; min-height:9rem; margin:-1rem -1rem 1rem; background:linear-gradient(135deg,#002855,var(--royal-blue)); color:#fff; font-weight:800; }
.giveaway-manager-thumb img { width:100%; height:12rem; object-fit:cover; }
.member-giveaway-graphic { display:block; width:100%; max-height:16rem; margin-bottom:1rem; border-radius:.65rem; object-fit:cover; }
.giveaway-prize-image-area img { width:100%; height:12rem; object-fit:cover; }

.giveaway-hero {
    background: linear-gradient(135deg, rgba(0, 40, 85, .98), rgba(11, 72, 133, .94));
    color: #fff;
}

.page-header.giveaway-hero h1,
.giveaway-hero .section-kicker {
    color: #fff;
}

.giveaway-status-line,
.giveaway-board-heading {
    margin-top: 1.25rem;
}

.giveaway-rule-grid,
.giveaway-contributor-grid {
    gap: 1.25rem;
}

.giveaway-public-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
}

.giveaway-public-stats span {
    flex: 1 1 12rem;
    padding: 1rem;
    border: 1px solid rgba(0, 40, 85, .15);
    border-radius: .75rem;
    background: #fff;
    text-align: center;
}

.giveaway-public-stats strong {
    display: block;
    color: #002855;
    font-size: 1.6rem;
}

.giveaway-contributor-person {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.giveaway-contributor-person img,
.giveaway-photo-placeholder {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    object-fit: cover;
}

.giveaway-photo-placeholder {
    display: grid;
    place-items: center;
    background: #002855;
    color: #f2c94c;
    font-size: 1.5rem;
    font-weight: 800;
}

.giveaway-entry-list,
.member-giveaway-summary ul {
    margin: 1rem 0 0;
    padding-left: 1.25rem;
}

.giveaway-entry-list li,
.member-giveaway-summary li {
    margin: .45rem 0;
}

.giveaway-drawing-status-notice {
    margin-bottom: 1.5rem;
    border-left-color: var(--royal-blue);
}

.member-winner-notice {
    border: 2px solid var(--old-gold);
    background: #fff9e8;
}

.giveaway-winner-announcement {
    margin: 2rem 0;
}

.giveaway-public-winner-grid {
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

.giveaway-prize-image-area {
    display: grid;
    place-items: center;
    min-height: 10rem;
    margin: -1rem -1rem 1rem;
    padding: 1rem;
    border-radius: .75rem .75rem 0 0;
    background: linear-gradient(135deg, #002855, var(--royal-blue));
    color: #fff;
    text-align: center;
}

.giveaway-prize-image-area span,
.giveaway-prize-image-area strong {
    display: block;
}

.giveaway-prize-image-area strong {
    color: var(--old-gold);
    font-size: 1.45rem;
}

.giveaway-claim-form .privacy-notice {
    margin: 1rem 0;
}

@media (max-width: 760px) {
    .giveaway-hero-layout { grid-template-columns: 1fr; }
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: linear-gradient(rgba(255, 249, 236, 0.93), rgba(255, 249, 236, 0.96)), url('../images/fb-banner.png') center top / cover no-repeat;
    opacity: 0.22;
    pointer-events: none;
    z-index: -1;
}

a {
    color: var(--royal-blue);
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.narrow-container {
    width: min(720px, calc(100% - 32px));
}

.site-header {
    background: var(--royal-blue);
    color: var(--white);
    border-bottom: 5px solid var(--old-gold);
}

.header-inner {
    align-items: center;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    padding: 18px 0;
}

.header-brand-row {
    align-items: center;
    display: flex;
    flex: 0 1 auto;
    justify-content: space-between;
    gap: 18px;
    min-width: 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 1 auto;
    gap: 12px;
    color: var(--white);
    min-width: 0;
    text-decoration: none;
}

.brand-logo {
    background: var(--old-gold);
    border: 2px solid rgba(255, 255, 255, 0.75);
    border-radius: 50%;
    flex: 0 0 auto;
    height: 72px;
    object-fit: cover;
    padding: 3px;
    width: 72px;
}

.brand span {
    min-width: 0;
}

.brand strong {
    display: block;
    font-size: 1.18rem;
    line-height: 1.1;
}

.brand small {
    display: block;
    color: #f7e4aa;
    font-family: Arial, sans-serif;
    font-size: 0.85rem;
}

.screen-reader-text {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.intro-splash[hidden] {
    display: none;
}

.intro-splash {
    align-items: center;
    background:
        linear-gradient(145deg, rgba(8, 24, 54, 0.98), rgba(15, 52, 112, 0.94)),
        url('../images/fb-banner.png') center / cover no-repeat;
    color: var(--white);
    display: flex;
    inset: 0;
    justify-content: center;
    opacity: 0;
    padding: 24px;
    position: fixed;
    transition: opacity 240ms ease;
    z-index: 1000;
}

.intro-splash::before {
    background: rgba(8, 24, 54, 0.58);
    content: '';
    inset: 0;
    position: absolute;
}

.intro-splash.is-visible {
    opacity: 1;
}

.intro-splash.is-hiding {
    opacity: 0;
    pointer-events: none;
}

.intro-splash-inner {
    align-items: center;
    display: grid;
    gap: 18px;
    justify-items: center;
    max-width: 980px;
    position: relative;
    text-align: center;
    width: 100%;
}

.intro-splash-copy {
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.intro-splash-kicker {
    color: #f7e4aa;
    font-family: Arial, sans-serif;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.intro-splash h1 {
    font-size: clamp(2.2rem, 8vw, 4.8rem);
    line-height: 0.95;
    margin: 0 0 10px;
}

.intro-splash p {
    color: #fff6d8;
    margin: 0;
}

.intro-splash-video {
    background: #061633;
    border: 3px solid var(--old-gold);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
    display: block;
    max-height: 70vh;
    max-width: 92vw;
    object-fit: contain;
    width: min(920px, 92vw);
}

.intro-splash-button {
    background: var(--old-gold);
    border: 2px solid #f7e4aa;
    border-radius: 999px;
    color: var(--royal-blue-dark);
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    font-weight: 800;
    padding: 12px 22px;
}

.intro-splash-button:hover,
.intro-splash-button:focus-visible {
    background: #f7e4aa;
    outline: 3px solid rgba(255, 255, 255, 0.7);
    outline-offset: 3px;
}

.intro-splash-reduced-motion .intro-splash-video {
    display: none;
}

.intro-splash-reduced-motion .intro-splash-inner {
    background: rgba(15, 52, 112, 0.72);
    border: 2px solid rgba(214, 162, 31, 0.8);
    border-radius: 16px;
    padding: 28px;
}

.nav-toggle {
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 999px;
    color: var(--white);
    cursor: pointer;
    display: none;
    font-family: Arial, sans-serif;
    font-weight: 700;
    gap: 8px;
    padding: 9px 12px;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
    background: currentColor;
    border-radius: 999px;
    display: block;
    height: 2px;
    width: 18px;
}

.nav-toggle-bars {
    position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
    content: '';
    left: 0;
    position: absolute;
}

.nav-toggle-bars::before {
    top: -6px;
}

.nav-toggle-bars::after {
    top: 6px;
}

.main-nav {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
    margin-left: auto;
    margin-top: 0;
}

.main-nav a,
.submenu-toggle {
    color: var(--white);
    font-family: Arial, sans-serif;
    font-size: 0.92rem;
    line-height: 1.2;
}

.main-nav a {
    border-radius: 999px;
    padding: 9px 12px;
    text-decoration: none;
}

.main-nav a:hover,
.main-nav a.active,
.nav-archive.active > .nav-archive-row .nav-link {
    background: var(--old-gold);
    color: var(--royal-blue-dark);
}

.main-nav a:focus-visible,
.nav-toggle:focus-visible,
.submenu-toggle:focus-visible {
    outline: 3px solid #f7e4aa;
    outline-offset: 2px;
}

.nav-item {
    position: relative;
}

.nav-member-actions {
    align-items: center;
    border-left: 1px solid rgba(255, 255, 255, 0.28);
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-left: 4px;
    padding-left: 8px;
}

.nav-archive-row {
    align-items: center;
    display: flex;
}

.nav-archive-row .nav-link {
    padding-right: 8px;
}

.submenu-toggle {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    height: 36px;
    justify-content: center;
    margin-left: -7px;
    padding: 0;
    width: 28px;
}

.submenu-toggle::after {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    content: '';
}

.nav-archive:hover .archive-submenu,
.nav-archive:focus-within .archive-submenu,
.nav-archive.is-open .archive-submenu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
}

.archive-submenu {
    background: var(--white);
    border: 1px solid rgba(214, 162, 31, 0.45);
    border-radius: 12px;
    box-shadow: 0 14px 30px rgba(15, 52, 112, 0.22);
    display: grid;
    gap: 2px;
    left: 0;
    min-width: 230px;
    opacity: 0;
    padding: 8px;
    pointer-events: none;
    position: absolute;
    top: calc(100% + 8px);
    transform: translateY(-6px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
    visibility: hidden;
    z-index: 20;
}

.archive-submenu a {
    border-radius: 8px;
    color: var(--royal-blue-dark);
    display: block;
    padding: 9px 10px;
}

.archive-submenu a:hover,
.archive-submenu a:focus,
.archive-submenu a.active {
    background: #f8e9b8;
    color: var(--royal-blue-dark);
}

.nav-submit {
    border: 1px solid rgba(214, 162, 31, 0.8);
    font-weight: 700;
}

.nav-submit:hover,
.nav-submit.active {
    border-color: var(--old-gold);
}

.hero {
    padding: 88px 0 72px;
    background:
        linear-gradient(90deg, rgba(8, 30, 66, 0.9), rgba(15, 52, 112, 0.64) 54%, rgba(15, 52, 112, 0.34)),
        url('../images/fb-banner.png') center / cover no-repeat;
    color: var(--white);
    min-height: 460px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero::after {
    background: linear-gradient(90deg, var(--old-gold), rgba(214, 162, 31, 0));
    bottom: 0;
    content: '';
    height: 6px;
    left: 0;
    position: absolute;
    right: 0;
}

.hero-inner {
    width: min(1120px, calc(100% - 32px));
}

.hero-card {
    max-width: 780px;
    padding: 0;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.32);
}

.hero h1 {
    margin: 0 0 12px;
    font-size: clamp(2.3rem, 6vw, 4.4rem);
    line-height: 1;
}

.hero p,
.hero-lede {
    font-size: 1.2rem;
    color: #f8e9b8;
}

.hero-kicker,
.section-kicker {
    color: var(--old-gold-dark);
    font-family: Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.hero-kicker {
    color: #f8e9b8;
}

.hero-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.hero-outline-button {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.62);
    color: var(--white);
}

.page-outline-button {
    background: var(--white);
    border-color: var(--border);
    color: var(--royal-blue-dark);
}

.hero-memory-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 26px;
}

.hero-memory-strip span {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(248, 233, 184, 0.45);
    border-radius: 999px;
    color: #fff6d8;
    font-family: Arial, sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 6px 10px;
}

.notice {
    background: var(--white);
    border-left: 6px solid var(--old-gold);
    padding: 16px 18px;
    margin: 28px 0;
    box-shadow: 0 8px 24px rgba(31, 41, 51, 0.08);
}

.section {
    padding: 42px 0;
}

.section-heading {
    align-items: end;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    justify-content: space-between;
    margin-bottom: 18px;
}

.section-heading h2 {
    margin: 0;
}

.section-lede {
    color: var(--muted);
    font-family: Arial, sans-serif;
    margin: 6px 0 0;
    max-width: 680px;
}

.home-featured-section {
    background: rgba(255, 255, 255, 0.38);
    border-block: 1px solid rgba(227, 214, 176, 0.72);
}

.home-intro-grid .card,
.explore-grid .card {
    border-top: 5px solid var(--old-gold);
}

.explore-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.home-explore-card {
    display: flex;
    flex-direction: column;
    min-height: 248px;
    position: relative;
}

.home-explore-card::after {
    background: linear-gradient(180deg, var(--old-gold), rgba(214, 162, 31, 0));
    content: '';
    height: 54px;
    position: absolute;
    right: 18px;
    top: 0;
    width: 3px;
}

.home-explore-card p:not(.archive-card-kicker) {
    flex: 1;
}

.archive-card-kicker {
    color: var(--old-gold-dark);
    font-family: Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.text-link {
    color: var(--royal-blue-dark);
    font-family: Arial, sans-serif;
    font-weight: 800;
    text-decoration-color: rgba(214, 162, 31, 0.75);
    text-underline-offset: 3px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 8px 22px rgba(31, 41, 51, 0.07);
}

.card h2,
.card h3 {
    margin-top: 0;
    color: var(--royal-blue-dark);
}

.button {
    display: inline-block;
    margin-top: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--royal-blue);
    color: var(--white);
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-weight: 700;
}

.button.secondary {
    background: var(--old-gold);
    color: var(--royal-blue-dark);
}

.page-header {
    padding: 42px 0 20px;
}

.page-header h1 {
    margin-bottom: 8px;
    color: var(--royal-blue-dark);
}

.archive-page-summary {
    color: var(--muted);
    font-family: Arial, sans-serif;
    margin-top: 0;
}

.history-hero {
    background:
        linear-gradient(90deg, rgba(15, 52, 112, 0.94), rgba(15, 52, 112, 0.62)),
        url('../images/fb-banner.png') center / cover no-repeat;
    color: var(--white);
    padding: 58px 0;
}

.history-hero-grid {
    align-items: center;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1fr) 340px;
}

.history-hero-copy {
    max-width: 760px;
}

.history-kicker {
    color: #f7e4aa;
    font-family: Arial, sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.history-hero h1 {
    font-size: clamp(2.35rem, 5vw, 4.4rem);
    line-height: 1;
    margin: 0 0 16px;
}

.history-hero p {
    color: #fff6d8;
    font-size: 1.12rem;
    margin: 0 0 12px;
}

.history-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.history-outline-button {
    background: transparent;
    border: 1px solid currentColor;
    color: var(--royal-blue-dark);
}

.history-hero .history-outline-button,
.history-help-panel .history-outline-button {
    color: var(--white);
}

.history-fact-card,
.history-panel,
.history-side-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 10px 26px rgba(31, 41, 51, 0.08);
}

.history-fact-card {
    border-top: 5px solid var(--old-gold);
    color: var(--ink);
    padding: 22px;
}

.history-fact-card h2,
.history-side-card h2,
.history-panel h2 {
    color: var(--royal-blue-dark);
    margin-top: 0;
}

.history-fact-card dl {
    display: grid;
    gap: 14px;
    margin: 0;
}

.history-fact-card dt {
    color: var(--muted);
    font-family: Arial, sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
}

.history-fact-card dd {
    margin: 2px 0 0;
}

.history-section {
    padding-bottom: 24px;
}

.history-layout {
    align-items: start;
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, 1fr) 300px;
}

.history-main {
    display: grid;
    gap: 20px;
}

.history-panel {
    padding: 26px;
}

.history-panel p:last-child,
.history-side-card p:last-child,
.history-callout p:last-child {
    margin-bottom: 0;
}

.history-callout {
    background: #fffaf0;
    border: 1px solid rgba(214, 162, 31, 0.48);
    border-left: 6px solid var(--old-gold);
    border-radius: 12px;
    margin-top: 18px;
    padding: 16px 18px;
}

.history-callout h3 {
    color: var(--royal-blue-dark);
    margin: 0 0 6px;
}

.history-callout-gold {
    background: #fff5d8;
}

.history-callout-blue {
    background: var(--royal-blue-dark);
    border-color: var(--royal-blue-dark);
    border-left-color: var(--old-gold);
    color: var(--white);
}

.history-callout-blue h3,
.history-callout-blue p {
    color: var(--white);
}

.history-timeline {
    border-left: 4px solid var(--old-gold);
    display: grid;
    gap: 16px;
    margin: 22px 0;
    padding-left: 18px;
}

.history-timeline article {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 18px;
    position: relative;
}

.history-timeline article::before {
    background: var(--royal-blue);
    border: 3px solid var(--old-gold);
    border-radius: 50%;
    content: '';
    height: 12px;
    left: -28px;
    position: absolute;
    top: 20px;
    width: 12px;
}

.history-timeline span {
    color: var(--old-gold-dark);
    font-family: Arial, sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
}

.history-timeline h3 {
    color: var(--royal-blue-dark);
    margin: 2px 0 6px;
}

.history-note {
    background: #f6f8fb;
    border-radius: 10px;
    padding: 12px 14px;
}

.history-alumni-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.history-alumni-grid article {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px;
}

.history-alumni-grid h3 {
    color: var(--royal-blue-dark);
    margin-top: 0;
}

.history-source-list {
    display: grid;
    gap: 12px;
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
}

.history-source-list li {
    border-top: 1px solid var(--border);
    padding-top: 12px;
}

.history-source-list a {
    font-weight: 700;
}

.history-source-list span {
    color: var(--muted);
    display: block;
    font-family: Arial, sans-serif;
    font-size: 0.92rem;
    margin-top: 2px;
}

.history-sidebar {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 18px;
}

.history-side-card {
    padding: 20px;
}

.history-side-card ul {
    margin-bottom: 0;
    padding-left: 20px;
}

.history-archive-section {
    padding-top: 18px;
}

.placeholder-box {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 249, 236, 0.94)),
        url('../images/yearbook-texture-placeholder.svg') right 18px bottom 18px / 130px auto no-repeat;
    border: 1px dashed var(--old-gold-dark);
    border-radius: 12px;
    padding: 26px;
}

.archive-empty-state {
    max-width: 720px;
}

.archive-empty-state h2 {
    color: var(--royal-blue-dark);
    margin-top: 0;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 22px;
}

.archive-search-form {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 28px;
    padding: 22px;
    box-shadow: 0 8px 22px rgba(31, 41, 51, 0.07);
}

.archive-filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 16px;
}

.archive-search-form .button {
    border: 0;
    cursor: pointer;
    margin-right: 8px;
}

.archive-results-heading {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    justify-content: space-between;
}

.archive-card,
.archive-detail {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(31, 41, 51, 0.07);
}

.archive-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
}

.archive-detail {
    padding: 22px;
}

.archive-back-link {
    margin: 0 0 18px;
}

.archive-detail-section {
    border-top: 1px solid rgba(227, 214, 176, 0.78);
    padding: 22px 0;
}

.archive-detail-section:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.archive-detail-section-heading {
    margin-bottom: 12px;
}

.archive-detail-section-heading h2 {
    color: var(--royal-blue-dark);
    margin: 0;
}

.archive-detail-section-heading .section-kicker {
    margin-bottom: 4px;
}

.archive-detail-overview {
    background: linear-gradient(135deg, rgba(255, 249, 236, 0.86), rgba(255, 255, 255, 0.98));
    border: 1px solid rgba(227, 214, 176, 0.9);
    border-left: 5px solid var(--old-gold);
    border-radius: 12px;
    margin-bottom: 4px;
    padding: 18px;
}

.archive-card h2 {
    font-size: 1.32rem;
    line-height: 1.2;
    margin: 10px 0 8px;
}

.archive-card h2 a {
    color: var(--royal-blue-dark);
    text-decoration: none;
}

.archive-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px;
}

.archive-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.archive-card-badges span {
    background: #fff4cf;
    border: 1px solid rgba(155, 116, 19, 0.22);
    border-radius: 999px;
    color: var(--royal-blue-dark);
    font-family: Arial, sans-serif;
    font-size: 0.76rem;
    font-weight: 800;
    padding: 4px 8px;
}

.archive-meta {
    color: var(--muted);
    font-family: Arial, sans-serif;
    font-size: 0.92rem;
}

.archive-detail-meta {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 8px 14px;
    margin: 0;
}

.archive-detail-meta dt {
    color: var(--muted);
    font-family: Arial, sans-serif;
    font-weight: 700;
}

.archive-detail-meta dd {
    margin: 0;
}

.archive-card-thumb,
.archive-thumb {
    align-items: center;
    background:
        linear-gradient(135deg, rgba(23, 78, 166, 0.94), rgba(15, 52, 112, 0.72)),
        url('../images/yearbook-texture-placeholder.svg') center / 170px auto repeat;
    border-bottom: 1px solid var(--border);
    color: var(--white);
    font-family: Arial, sans-serif;
    font-weight: 700;
    justify-content: center;
    display: flex;
    min-height: 150px;
    margin: 0;
    overflow: hidden;
    text-decoration: none;
}

.archive-card-thumb img,
.archive-thumb img {
    aspect-ratio: 4 / 3;
    display: block;
    max-height: 240px;
    object-fit: cover;
    width: 100%;
}

.archive-placeholder,
.archive-thumb-placeholder {
    min-height: 150px;
}

.archive-placeholder span,
.archive-thumb-placeholder span {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(248, 233, 184, 0.7);
    border-radius: 999px;
    color: var(--royal-blue-dark);
    display: inline-block;
    padding: 6px 12px;
}

.archive-excerpt {
    flex: 1;
}

.archive-card-action {
    margin-bottom: 0;
}

.archive-body {
    font-size: 1.08rem;
    max-width: 820px;
}

.archive-files {
    display: grid;
    gap: 18px;
    margin-top: 12px;
}

.archive-file-gallery,
.archive-gallery {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.archive-files figure {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin: 0;
    overflow: hidden;
}

.archive-files img {
    display: block;
    height: auto;
    max-height: 680px;
    max-width: 100%;
    object-fit: contain;
    width: 100%;
}

.archive-files figcaption {
    color: var(--muted);
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    padding: 8px 10px 10px;
}

.archive-file-link,
.document-link {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: block;
    padding: 12px;
}

.archive-file-link a {
    overflow-wrap: anywhere;
}

.archive-file-card {
    box-shadow: 0 4px 16px rgba(31, 41, 51, 0.06);
}

.archive-file-image a {
    background: #f6f8fb;
    display: block;
}

.archive-file-unavailable {
    color: var(--muted);
    font-family: Arial, sans-serif;
}

.yearbook-board-note h2 {
    margin-top: 0;
}

.yearbooks-hero,
.yearbook-detail-hero {
    background:
        linear-gradient(135deg, rgba(15, 52, 112, 0.94), rgba(23, 78, 166, 0.72)),
        url('../images/fb-banner.png') center / cover no-repeat;
    color: var(--white);
    padding: 58px 0;
}

.yearbooks-hero h1,
.yearbook-detail-hero h1 {
    color: var(--white);
    font-size: clamp(2.4rem, 6vw, 4.3rem);
    line-height: 1;
    margin: 0 0 12px;
}

.yearbooks-hero p,
.yearbook-detail-hero p,
.yearbook-detail-hero .archive-page-summary {
    color: #fff6d8;
}

.yearbooks-hero .section-kicker,
.yearbook-detail-hero .section-kicker {
    color: #f8e9b8;
}

.full-yearbook-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.full-yearbook-card {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border);
    border-bottom: 5px solid var(--old-gold);
    border-radius: 12px;
    box-shadow: 0 10px 26px rgba(31, 41, 51, 0.08);
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    overflow: hidden;
}

.full-yearbook-year {
    align-items: center;
    background:
        linear-gradient(180deg, rgba(15, 52, 112, 0.96), rgba(23, 78, 166, 0.92)),
        var(--royal-blue-dark);
    color: #f8e9b8;
    display: flex;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.45rem;
    font-weight: 800;
    justify-content: center;
    min-height: 100%;
    padding: 18px 10px;
    text-align: center;
}

.full-yearbook-card-body {
    padding: 20px;
}

.full-yearbook-card h2 {
    color: var(--royal-blue-dark);
    font-size: 1.45rem;
    margin: 0 0 8px;
}

.full-yearbook-meta {
    color: var(--muted);
    font-family: Arial, sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    margin: 0 0 10px;
}

.full-yearbook-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 0;
}

.full-yearbook-actions .button {
    margin-top: 0;
}

.yearbook-materials-section {
    margin-top: 34px;
}

.yearbook-detail-panel {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 10px 26px rgba(31, 41, 51, 0.08);
    padding: 24px;
}

.yearbook-detail-heading {
    align-items: center;
    border-bottom: 3px solid var(--old-gold);
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 14px;
}

.yearbook-detail-heading h2 {
    color: var(--royal-blue-dark);
    margin: 0;
}

.yearbook-detail-heading .button {
    margin-top: 0;
}

.yearbook-detail-notes {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 16px;
}

.yearbook-detail-notes h2 {
    color: var(--royal-blue-dark);
    font-size: 1.25rem;
    margin: 0 0 8px;
}

.yearbook-detail-notes p {
    margin-bottom: 0;
}

.yearbook-pdf-preview {
    background: var(--royal-blue-dark);
    border: 1px solid var(--border);
    border-radius: 10px;
    height: min(78vh, 860px);
    min-height: 560px;
    overflow: hidden;
}

.yearbook-pdf-preview iframe {
    border: 0;
    display: block;
    height: 100%;
    width: 100%;
}

.yearbook-filter-form {
    margin-bottom: 24px;
}

.yearbook-board-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.yearbook-profile-card {
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid var(--border);
    border-left: 5px solid var(--old-gold);
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(31, 41, 51, 0.06);
    padding: 20px;
}

.yearbook-profile-card-top {
    align-items: center;
    border-bottom: 1px solid var(--border);
    display: grid;
    gap: 14px;
    grid-template-columns: auto 1fr;
    margin-bottom: 12px;
    padding-bottom: 12px;
}

.yearbook-profile-avatar {
    align-items: center;
    background: #f8f2d6;
    border: 2px solid var(--old-gold);
    color: var(--royal-blue-dark);
    display: flex;
    flex: 0 0 auto;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    justify-content: center;
    overflow: hidden;
}

.yearbook-profile-avatar img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.yearbook-profile-avatar-small {
    border-radius: 50%;
    font-size: 1.3rem;
    height: 88px;
    width: 88px;
}

.yearbook-profile-avatar-large {
    border-color: var(--old-gold);
    border-radius: 50%;
    box-shadow: 0 18px 38px rgba(8, 24, 54, 0.22);
    font-size: 3rem;
    height: 176px;
    width: 176px;
}

.yearbook-profile-heading {
    min-width: 0;
}

.yearbook-profile-heading h2 {
    color: var(--royal-blue-dark);
    font-size: 1.35rem;
    margin: 0 0 4px;
}

.yearbook-profile-heading span,
.yearbook-profile-meta {
    color: var(--muted);
    font-family: Arial, sans-serif;
    font-size: 0.92rem;
}

.yearbook-profile-meta {
    margin: 0 0 8px;
}

.yearbook-profile-card-action {
    margin-bottom: 0;
    margin-top: 16px;
}

.yearbook-profile-hero .text-link {
    color: #fff6d8;
}

.yearbook-profile-hero {
    background:
        linear-gradient(135deg, rgba(15, 52, 112, 0.96), rgba(23, 78, 166, 0.78)),
        url('../images/fb-banner.png') center / cover no-repeat;
    color: var(--white);
    padding: 34px 0 38px;
}

.yearbook-profile-back {
    margin: 0 0 14px;
}

.yearbook-profile-hero-card {
    align-items: center;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(248, 233, 184, 0.82);
    border-bottom: 5px solid var(--old-gold);
    border-radius: 16px;
    box-shadow: 0 18px 46px rgba(8, 24, 54, 0.2);
    color: var(--ink);
    display: grid;
    gap: 26px;
    grid-template-columns: auto minmax(0, 1fr);
    padding: 28px;
}

.yearbook-profile-hero-copy {
    min-width: 0;
}

.yearbook-profile-hero-copy .section-kicker {
    color: var(--old-gold-dark);
}

.yearbook-profile-hero h1 {
    color: var(--royal-blue-dark);
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1;
    margin: 0 0 14px;
}

.yearbook-profile-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.yearbook-profile-hero-meta span {
    background: #fff4cf;
    border: 1px solid rgba(155, 116, 19, 0.28);
    border-radius: 999px;
    color: var(--royal-blue-dark);
    font-family: Arial, sans-serif;
    font-size: 0.88rem;
    font-weight: 800;
    padding: 6px 10px;
}

.yearbook-profile-reviewed-note {
    color: var(--muted);
    font-family: Arial, sans-serif;
    font-size: 0.95rem;
    margin: 0;
}

.yearbook-profile-layout {
    align-items: start;
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, 1fr) 340px;
}

.yearbook-profile-main,
.yearbook-profile-sidebar {
    display: grid;
    gap: 18px;
}

.yearbook-profile-sidebar {
    position: sticky;
    top: 18px;
}

.yearbook-profile-detail,
.yearbook-profile-note,
.yearbook-profile-contributions,
.yearbook-profile-action-card {
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 10px 26px rgba(31, 41, 51, 0.07);
    padding: 24px;
}

.yearbook-profile-detail {
    border-top: 5px solid var(--old-gold);
}

.yearbook-profile-note {
    border-left: 5px solid var(--old-gold);
}

.yearbook-profile-contributions {
    border-top: 5px solid var(--royal-blue);
}

.yearbook-profile-card-heading {
    border-bottom: 1px solid rgba(227, 214, 176, 0.82);
    margin-bottom: 18px;
    padding-bottom: 12px;
}

.yearbook-profile-card-heading h2 {
    color: var(--royal-blue-dark);
    margin: 0;
}

.yearbook-profile-detail-list {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    margin: 0;
}

.yearbook-profile-detail-list dt {
    color: var(--royal-blue-dark);
    font-family: Arial, sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.yearbook-profile-detail-list dd {
    font-size: 1.08rem;
    margin: 2px 0 0;
}

.yearbook-profile-detail-list div {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
}

.yearbook-profile-note p {
    font-size: 1.08rem;
    line-height: 1.75;
    margin-bottom: 0;
}

.yearbook-profile-contributions-intro {
    color: var(--muted);
    font-family: Arial, sans-serif;
    margin-top: -6px;
}

.yearbook-profile-contribution-list {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.yearbook-profile-contribution-card {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px;
}

.yearbook-profile-contribution-card h3 {
    color: var(--royal-blue-dark);
    font-size: 1.15rem;
    margin: 8px 0;
}

.yearbook-profile-contribution-card p {
    color: var(--ink);
    line-height: 1.6;
    margin: 0 0 12px;
}

.yearbook-profile-contribution-card .button {
    margin-top: 0;
}

.yearbook-profile-contribution-topline {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.yearbook-profile-contribution-topline span {
    background: #fff8df;
    border: 1px solid rgba(214, 162, 31, 0.42);
    border-radius: 999px;
    color: var(--royal-blue-dark);
    font-family: Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 9px;
}

.yearbook-profile-action-card {
    border-top: 5px solid var(--old-gold);
}

.yearbook-profile-action-card h2 {
    color: var(--royal-blue-dark);
    font-size: 1.35rem;
    margin: 0 0 8px;
}

.yearbook-profile-owner-card {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 244, 207, 0.94));
}

.yearbook-profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.yearbook-profile-actions .button {
    margin-top: 0;
}

.yearbook-profile-privacy-note {
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    margin: 16px 0 0;
    padding-top: 12px;
}

.archive-item-nav {
    border-top: 1px solid var(--border);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 28px;
    padding-top: 18px;
}

.archive-item-nav div:last-child {
    text-align: right;
}

.archive-comments {
    background: linear-gradient(135deg, rgba(255, 249, 236, 0.92), rgba(255, 255, 255, 0.88));
    border: 1px solid rgba(227, 214, 176, 0.9);
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(31, 41, 51, 0.06);
    margin-top: 34px;
    padding: 22px;
}

.archive-comments-heading {
    align-items: center;
    border-bottom: 3px solid var(--old-gold);
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 12px;
}

.archive-comments-heading h2,
.archive-comments-heading p {
    margin: 0;
}

.archive-comments-heading .section-kicker {
    margin-bottom: 4px;
}

.archive-comments-heading p {
    color: var(--muted);
    font-family: Arial, sans-serif;
}

.archive-comments-heading span {
    align-items: center;
    background: var(--royal-blue-dark);
    border: 2px solid var(--old-gold);
    border-radius: 50%;
    color: var(--white);
    display: inline-flex;
    font-family: Arial, sans-serif;
    font-weight: 800;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.archive-comment-list {
    display: grid;
    gap: 14px;
    margin-bottom: 22px;
}

.archive-comment {
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border);
    border-left: 5px solid var(--old-gold);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(31, 41, 51, 0.06);
    display: grid;
    gap: 14px;
    grid-template-columns: auto 1fr;
    padding: 16px;
}

.archive-comment-avatar {
    align-items: center;
    background: #f8f2d6;
    border: 2px solid var(--old-gold);
    border-radius: 50%;
    color: var(--royal-blue-dark);
    display: flex;
    flex: 0 0 auto;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1rem;
    font-weight: 700;
    height: 56px;
    justify-content: center;
    overflow: hidden;
    width: 56px;
}

.archive-comment-avatar img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.archive-comment-content {
    min-width: 0;
}

.archive-comment-content header {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-bottom: 8px;
}

.archive-comment-content header strong {
    color: var(--royal-blue-dark);
}

.archive-comment-content header span {
    color: var(--muted);
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
}

.archive-comment p {
    line-height: 1.65;
    margin-bottom: 0;
}

.archive-comment-form {
    background: rgba(255, 255, 255, 0.98);
    margin-top: 20px;
}

.media-hub-note h2 {
    margin-top: 0;
}

.media-hub-callout,
.submit-intro-panel {
    align-items: center;
    background:
        linear-gradient(135deg, rgba(15, 52, 112, 0.96), rgba(23, 78, 166, 0.86)),
        url('../images/fb-banner.png') center / cover no-repeat;
    border-bottom: 5px solid var(--old-gold);
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(15, 52, 112, 0.18);
    color: var(--white);
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-bottom: 24px;
    padding: 24px;
}

.media-hub-callout .section-kicker,
.submit-intro-panel .section-kicker {
    color: #f8e9b8;
}

.media-hub-callout h2,
.submit-intro-panel h2 {
    margin: 0 0 8px;
}

.media-hub-callout p,
.submit-intro-panel p {
    color: #fff6d8;
    margin-bottom: 0;
}

.media-hub-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.archive-detail-media-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.media-card {
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 10px 26px rgba(31, 41, 51, 0.08);
    overflow: hidden;
}

.media-embed {
    background: var(--royal-blue-dark);
    aspect-ratio: 16 / 9;
}

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

.media-card-body {
    padding: 18px;
}

.media-card-topline {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.media-card-topline span {
    background: #fff4cf;
    border: 1px solid rgba(155, 116, 19, 0.22);
    border-radius: 999px;
    color: var(--royal-blue-dark);
    font-family: Arial, sans-serif;
    font-size: 0.76rem;
    font-weight: 800;
    padding: 4px 8px;
}

.media-card-body h2 {
    color: var(--royal-blue-dark);
    font-size: 1.3rem;
    margin: 0 0 8px;
}

.media-provider {
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.media-card-caption {
    margin-bottom: 12px;
}

.media-card-meta {
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    gap: 6px 12px;
    margin-bottom: 12px;
}

.media-card-action {
    margin-bottom: 0;
}

.related-archive {
    margin-top: 34px;
}

.related-archive h2 {
    border-bottom: 3px solid var(--old-gold);
    color: var(--royal-blue-dark);
    padding-bottom: 10px;
}

.submission-form {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 8px 22px rgba(31, 41, 51, 0.07);
}

.submit-intro-panel {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 249, 236, 0.94)),
        url('../images/yearbook-texture-placeholder.svg') right 24px center / 180px auto no-repeat;
    border: 1px solid var(--border);
    border-bottom: 5px solid var(--old-gold);
    color: var(--ink);
}

.submit-intro-panel .section-kicker {
    color: var(--old-gold-dark);
}

.submit-intro-panel h2 {
    color: var(--royal-blue-dark);
}

.submit-intro-panel p {
    color: var(--ink);
}

.submit-intro-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    max-width: 360px;
}

.submit-intro-list span {
    background: var(--royal-blue);
    border-radius: 999px;
    color: var(--white);
    font-family: Arial, sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 6px 10px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.form-row {
    margin-bottom: 18px;
}

.file-metadata-fields {
    margin: 18px 0;
}

.file-metadata-fields h2 {
    font-size: 1.25rem;
}

.file-metadata-fieldset {
    border: 1px solid var(--border);
    border-radius: 8px;
    margin: 0 0 16px;
    padding: 14px;
}

.file-metadata-fieldset legend {
    color: var(--royal-blue-dark);
    font-family: Arial, sans-serif;
    font-weight: 700;
    padding: 0 6px;
}

.form-row label {
    display: block;
    color: var(--royal-blue-dark);
    font-family: Arial, sans-serif;
    font-weight: 700;
    margin-bottom: 6px;
}

.form-row label span,
.field-note {
    color: var(--muted);
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
}

input[type='text'],
input[type='email'],
input[type='password'],
input[type='number'],
input[type='file'],
select,
textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--ink);
    font: inherit;
    padding: 10px 12px;
}

textarea {
    resize: vertical;
}

.honeypot {
    left: -10000px;
    position: absolute;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.member-auth-form {
    max-width: 640px;
}

.auth-switch-link {
    margin-bottom: 0;
    margin-top: 16px;
}

.attribution-fieldset {
    margin-bottom: 18px;
}

.checkbox-row label {
    align-items: flex-start;
    display: flex;
    gap: 10px;
}

.checkbox-row input[type='checkbox'] {
    margin-top: 5px;
}

.member-profile-form {
    max-width: none;
}

.member-profile-dashboard-container {
    width: min(1120px, calc(100% - 32px));
}

.member-profile-dashboard {
    align-items: start;
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
    margin-bottom: 22px;
}

.member-profile-preview-card,
.member-profile-readiness-card,
.member-profile-form-card {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 10px 26px rgba(31, 41, 51, 0.08);
}

.member-profile-preview-card,
.member-profile-readiness-card {
    padding: 22px;
}

.member-profile-preview-card {
    border-top: 5px solid var(--old-gold);
}

.member-profile-readiness-card {
    border-top: 5px solid var(--royal-blue);
}

.member-profile-form-card {
    border-top: 5px solid var(--old-gold);
    padding: 26px;
}

.member-profile-photo-preview {
    align-items: center;
    background:
        linear-gradient(135deg, rgba(255, 249, 236, 0.92), rgba(255, 244, 207, 0.96)),
        var(--cream);
    border: 3px solid var(--old-gold);
    border-radius: 16px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
    color: var(--royal-blue-dark);
    display: flex;
    font-size: 3rem;
    font-weight: 800;
    height: 220px;
    justify-content: center;
    margin: 0 auto 18px;
    overflow: hidden;
    width: min(220px, 100%);
}

.member-profile-photo-preview img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.member-profile-summary-copy {
    text-align: center;
}

.member-profile-summary-copy h2 {
    color: var(--royal-blue-dark);
    font-size: 1.75rem;
    line-height: 1.15;
    margin: 0 0 4px;
}

.member-profile-type,
.member-profile-class-year {
    font-family: Arial, sans-serif;
    font-weight: 800;
    margin: 0 0 8px;
}

.member-profile-type {
    color: var(--muted);
}

.member-profile-class-year {
    color: var(--old-gold-dark);
}

.member-profile-years-attended {
    color: var(--muted);
    font-family: Arial, sans-serif;
    margin: 0 0 14px;
}

.member-profile-photo-note {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 12px;
}

.member-profile-card-action {
    margin-bottom: 0;
}

.member-profile-readiness-card h2 {
    color: var(--royal-blue-dark);
    margin: 0 0 14px;
}

.member-profile-status-list {
    display: grid;
    gap: 12px;
    margin: 18px 0;
}

.member-profile-status-list div {
    align-items: center;
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 12px 14px;
}

.member-profile-status-list dt {
    color: var(--royal-blue-dark);
    font-family: Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.member-profile-status-list dd {
    margin: 0;
    text-align: right;
}

.member-profile-status-badge {
    background: #fff4cf;
    border: 1px solid rgba(155, 116, 19, 0.28);
    border-radius: 999px;
    color: var(--royal-blue-dark);
    display: inline-flex;
    font-family: Arial, sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.2;
    padding: 5px 9px;
}

.member-profile-status-badge.status-verified,
.member-profile-status-badge.status-approved,
.member-profile-status-badge.status-public {
    background: #eaf7ee;
    border-color: #add8b8;
    color: #246b36;
}

.member-profile-status-badge.status-pending,
.member-profile-status-badge.status-pending-review {
    background: #fff7df;
    border-color: #e6c873;
    color: #614500;
}

.member-profile-status-badge.status-rejected,
.member-profile-status-badge.status-not-approved,
.member-profile-status-badge.status-missing {
    background: #fdecec;
    border-color: #f3b9b9;
    color: #8f1d1d;
}

.member-profile-readiness-note {
    background: #fffaf0;
    border: 1px solid rgba(214, 162, 31, 0.48);
    border-left: 4px solid var(--old-gold);
    border-radius: 10px;
    padding: 14px 16px;
}

.member-profile-readiness-note h3 {
    color: var(--royal-blue-dark);
    margin: 0 0 6px;
}

.member-profile-readiness-note p {
    font-family: Arial, sans-serif;
    font-size: 0.95rem;
    margin: 0 0 8px;
}

.member-profile-readiness-note p:last-child {
    margin-bottom: 0;
}

.member-profile-form-heading {
    border-bottom: 1px solid var(--border);
    margin-bottom: 22px;
    padding-bottom: 14px;
}

.member-profile-form-heading h2 {
    color: var(--royal-blue-dark);
    margin: 0 0 6px;
}

.member-profile-form-heading p:last-child {
    color: var(--muted);
    font-family: Arial, sans-serif;
    margin: 0;
}

.member-profile-form .form-row {
    margin-bottom: 22px;
}

.member-profile-form .form-grid {
    gap: 22px;
}

.member-profile-form .form-actions {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-top: 6px;
    padding: 14px;
}

.member-profile-form .form-actions .button {
    border: 0;
    cursor: pointer;
    margin-top: 0;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.table-wrap {
    overflow-x: auto;
}

.member-submissions-table {
    background: rgba(255, 255, 255, 0.97);
    border-collapse: collapse;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(31, 41, 51, 0.06);
    font-family: Arial, sans-serif;
    min-width: 760px;
    width: 100%;
}

.member-submissions-table th,
.member-submissions-table td {
    border-bottom: 1px solid var(--border);
    padding: 12px;
    text-align: left;
    vertical-align: top;
}

.member-submissions-table th {
    background: var(--royal-blue-dark);
    color: var(--white);
}

.member-submissions-table tr:last-child td {
    border-bottom: 0;
}

.member-submission-detail {
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid var(--border);
    border-left: 5px solid var(--old-gold);
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(31, 41, 51, 0.06);
    margin-bottom: 18px;
    padding: 22px;
}

.member-submission-detail h2:first-child {
    margin-top: 0;
}

.member-submission-detail-list {
    display: grid;
    gap: 10px 18px;
    grid-template-columns: 170px 1fr;
    margin: 0;
}

.member-submission-detail-list dt {
    color: var(--royal-blue-dark);
    font-family: Arial, sans-serif;
    font-weight: 700;
}

.member-submission-detail-list dd {
    margin: 0;
}

.member-submission-content {
    border-top: 1px solid var(--border);
    margin-top: 20px;
    padding-top: 16px;
}

.member-file-list {
    display: grid;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.member-file-list li {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: grid;
    gap: 4px;
    padding: 12px;
}

.status-pill {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--royal-blue-dark);
    display: inline-flex;
    font-family: Arial, sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 3px 9px;
    text-transform: capitalize;
}

.muted-text {
    color: var(--muted);
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
}

.success-notice {
    border-left-color: #2f8f46;
}

.error-notice {
    border-left-color: #b3261e;
}

.error-notice h2,
.success-notice h2 {
    margin-top: 0;
}

.legal-content {
    display: grid;
    gap: 18px;
    max-width: 880px;
}

.legal-content article {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--border);
    border-left: 5px solid var(--old-gold);
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(31, 41, 51, 0.06);
    padding: 22px;
}

.legal-content h2 {
    color: var(--royal-blue-dark);
    margin: 0 0 8px;
}

.legal-content p:last-child {
    margin-bottom: 0;
}

.site-footer {
    background:
        linear-gradient(145deg, rgba(15, 52, 112, 0.98), rgba(7, 26, 58, 0.98)),
        var(--royal-blue-dark);
    border-top: 5px solid var(--old-gold);
    color: var(--white);
    font-family: Arial, sans-serif;
    margin-top: 48px;
    padding: 34px 0 18px;
}

.footer-grid {
    align-items: start;
    display: grid;
    gap: 26px;
    grid-template-columns: minmax(250px, 1.35fr) minmax(170px, 0.8fr) minmax(170px, 0.8fr) minmax(230px, 1fr);
}

.site-footer h2 {
    color: var(--white);
    font-size: 1rem;
    line-height: 1.2;
    margin: 0 0 10px;
}

.site-footer p {
    color: #dce7ff;
    margin: 0 0 10px;
}

.footer-about h2 {
    color: #f7e4aa;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.45rem;
}

.footer-tagline {
    font-weight: 700;
}

.footer-disclaimer {
    border-left: 4px solid var(--old-gold);
    color: #fff6d8;
    padding-left: 12px;
}

.footer-links ul {
    display: grid;
    gap: 6px 14px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer a,
.site-footer a:visited {
    color: #d6aa2f;
    text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
    color: #f4d35e;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-footer a:focus {
    outline: 2px solid #f4d35e;
    outline-offset: 3px;
}

.footer-support {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(214, 162, 31, 0.42);
    border-radius: 12px;
    padding: 18px;
}

.footer-support h2 {
    color: #f7e4aa;
}

.footer-cash-app {
    color: #fff6d8;
}

.footer-cash-app strong {
    color: #f7e4aa;
}

.footer-bottom {
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    color: #dce7ff;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    justify-content: space-between;
    margin-top: 24px;
    padding-top: 16px;
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .header-inner {
        align-items: stretch;
        display: block;
        padding: 12px 0;
    }

    .brand-logo {
        height: 52px;
        width: 52px;
    }

    .brand strong {
        font-size: 1rem;
    }

    .brand small {
        font-size: 0.75rem;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .main-nav {
        align-items: stretch;
        background: rgba(15, 52, 112, 0.35);
        border: 1px solid rgba(247, 228, 170, 0.26);
        border-radius: 14px;
        flex-direction: column;
        gap: 4px;
        margin-left: 0;
        margin-top: 14px;
        padding: 8px;
    }

    .nav-js .main-nav {
        display: none;
    }

    .nav-js .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        border-radius: 10px;
        display: block;
        padding: 12px 13px;
    }

    .nav-member-actions {
        align-items: stretch;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.22);
        flex-direction: column;
        gap: 4px;
        margin-left: 0;
        margin-top: 4px;
        padding-left: 0;
        padding-top: 8px;
    }

    .nav-archive-row {
        display: grid;
        grid-template-columns: 1fr 44px;
        gap: 4px;
    }

    .nav-archive-row .nav-link {
        padding-right: 13px;
    }

    .submenu-toggle {
        background: rgba(255, 255, 255, 0.1);
        height: 44px;
        margin-left: 0;
        width: 44px;
    }

    .nav-archive.is-open .submenu-toggle::after {
        transform: rotate(180deg);
    }

    .archive-submenu {
        background: rgba(15, 52, 112, 0.45);
        border: 0;
        border-left: 3px solid var(--old-gold);
        border-radius: 0 0 10px 10px;
        box-shadow: none;
        display: none;
        margin: 4px 0 2px 10px;
        min-width: 0;
        opacity: 1;
        padding: 5px 0 5px 8px;
        pointer-events: auto;
        position: static;
        transform: none;
        transition: none;
        visibility: visible;
    }

    .archive-submenu a {
        color: var(--white);
        padding: 11px 12px;
    }

    .archive-submenu a:hover,
    .archive-submenu a:focus,
    .archive-submenu a.active {
        background: var(--old-gold);
        color: var(--royal-blue-dark);
    }

    .nav-archive.is-open .archive-submenu,
    .nav-archive:focus-within .archive-submenu {
        display: grid;
    }

    .history-hero-grid,
    .history-layout,
    .yearbook-profile-layout {
        grid-template-columns: 1fr;
    }

    .history-sidebar,
    .yearbook-profile-sidebar {
        position: static;
    }

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

    .footer-about,
    .footer-support {
        grid-column: 1 / -1;
    }
}

@media (max-width: 520px) {
    .header-brand-row {
        gap: 12px;
    }

    .brand {
        gap: 10px;
    }

    .brand small {
        display: none;
    }
}

@media (max-width: 680px) {

    .hero {
        min-height: 360px;
        padding: 48px 0;
    }

    .hero-card {
        padding: 20px;
    }

    .hero-actions .button,
    .media-hub-callout .button {
        text-align: center;
        width: 100%;
    }

    .hero-memory-strip span {
        font-size: 0.8rem;
    }

    .section-heading {
        align-items: flex-start;
    }

    .media-hub-callout,
    .submit-intro-panel {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .submit-intro-list {
        justify-content: flex-start;
        max-width: none;
    }

    .history-hero {
        padding: 42px 0;
    }

    .history-panel,
    .history-fact-card,
    .history-side-card {
        border-radius: 12px;
        padding: 20px;
    }

    .history-alumni-grid {
        grid-template-columns: 1fr;
    }

    .archive-comment {
        gap: 12px;
        grid-template-columns: 44px 1fr;
        padding: 14px;
    }

    .archive-comment-avatar {
        font-size: 0.86rem;
        height: 44px;
        width: 44px;
    }

    .archive-comments-heading {
        align-items: flex-start;
    }

    .archive-comments {
        padding: 18px;
    }

    .archive-detail {
        padding: 18px;
    }

    .archive-detail-overview {
        background-image: linear-gradient(135deg, rgba(255, 249, 236, 0.88), rgba(255, 255, 255, 0.98));
        padding: 16px;
    }

    .archive-detail-meta {
        grid-template-columns: 1fr;
        gap: 2px 0;
    }

    .archive-detail-meta dd {
        margin-bottom: 10px;
    }

    .full-yearbook-card {
        grid-template-columns: 1fr;
    }

    .full-yearbook-year {
        justify-content: flex-start;
        min-height: 0;
    }

    .full-yearbook-actions .button,
    .yearbook-detail-heading .button {
        text-align: center;
        width: 100%;
    }

    .yearbook-detail-heading {
        align-items: flex-start;
        display: grid;
    }

    .yearbook-detail-panel {
        padding: 18px;
    }

    .yearbook-pdf-preview {
        height: 68vh;
        min-height: 420px;
    }

    .yearbook-profile-card-top {
        align-items: flex-start;
        grid-template-columns: 1fr;
    }

    .yearbook-profile-hero-card {
        align-items: flex-start;
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .yearbook-profile-avatar-large {
        height: 136px;
        width: 136px;
    }

    .yearbook-profile-detail-list {
        grid-template-columns: 1fr;
    }

    .yearbook-profile-actions .button {
        text-align: center;
        width: 100%;
    }

    .yearbook-profile-contribution-card .button {
        text-align: center;
        width: 100%;
    }

    .member-submission-detail-list {
        grid-template-columns: 1fr;
    }

    .member-profile-dashboard {
        grid-template-columns: 1fr;
    }

    .member-profile-photo-preview {
        height: 180px;
        width: min(180px, 100%);
    }

    .member-profile-preview-card,
    .member-profile-readiness-card,
    .member-profile-form-card {
        padding: 20px;
    }

    .member-profile-status-list div {
        align-items: flex-start;
        display: grid;
    }

    .member-profile-status-list dd {
        text-align: left;
    }

    .history-actions .button,
    .history-callout .button {
        text-align: center;
        width: 100%;
    }

    .legal-content article {
        padding: 18px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-about,
    .footer-support {
        grid-column: auto;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Member getting started guide */
.getting-started-hero {
    background:
        linear-gradient(135deg, rgba(15, 52, 112, 0.98), rgba(23, 78, 166, 0.94)),
        var(--royal-blue-dark);
    border-bottom: 5px solid var(--old-gold);
    color: var(--white);
}

.getting-started-hero h1,
.getting-started-hero .section-kicker {
    color: var(--white);
}

.getting-started-hero > .container > p:not(.section-kicker) {
    color: #fff6d8;
    font-size: 1.12rem;
    max-width: 760px;
}

.getting-started-hero-actions,
.getting-started-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.getting-started-hero-actions .button,
.getting-started-card-actions .button {
    margin-top: 0;
}

.getting-started-container {
    max-width: 1050px;
}

.getting-started-next-step,
.member-getting-started-callout {
    align-items: center;
    background: #fff9e8;
    border: 2px solid var(--old-gold);
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(31, 41, 51, 0.08);
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-bottom: 24px;
    padding: 22px 24px;
}

.getting-started-next-step h2,
.member-getting-started-callout h2,
.getting-started-card h2,
.getting-started-encouragement h2 {
    color: var(--royal-blue-dark);
    margin: 0 0 8px;
}

.getting-started-next-step p:last-child,
.member-getting-started-callout p:last-child,
.getting-started-encouragement p:last-child {
    margin-bottom: 0;
}

.getting-started-next-step > .button,
.member-getting-started-callout > .button {
    flex: 0 0 auto;
    margin-top: 0;
}

.getting-started-steps {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.getting-started-card {
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid var(--border);
    border-top: 5px solid var(--royal-blue);
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(31, 41, 51, 0.06);
    padding: 24px;
    position: relative;
}

.getting-started-card:nth-child(even) {
    border-top-color: var(--old-gold);
}

.getting-started-card-wide {
    grid-column: 1 / -1;
}

.getting-started-number {
    align-items: center;
    background: var(--royal-blue-dark);
    border: 3px solid var(--old-gold);
    border-radius: 50%;
    color: var(--white);
    display: inline-flex;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    font-weight: 800;
    height: 42px;
    justify-content: center;
    margin-bottom: 14px;
    width: 42px;
}

.getting-started-card p {
    max-width: 70ch;
}

.getting-started-encouragement {
    background: var(--royal-blue-dark);
    border-left: 6px solid var(--old-gold);
    border-radius: 14px;
    color: #fff6d8;
    margin-top: 24px;
    padding: 24px;
}

.getting-started-encouragement h2 {
    color: var(--white);
}

@media (max-width: 680px) {
    .getting-started-steps {
        grid-template-columns: 1fr;
    }

    .getting-started-card-wide {
        grid-column: auto;
    }

    .getting-started-next-step,
    .member-getting-started-callout {
        align-items: flex-start;
        flex-direction: column;
        padding: 20px;
    }

    .getting-started-next-step > .button,
    .member-getting-started-callout > .button,
    .getting-started-hero-actions .button,
    .getting-started-card-actions .button {
        text-align: center;
        width: 100%;
    }

    .getting-started-card {
        padding: 20px;
    }
}


/* Member progress dashboard */
.member-dashboard-hero {
    background: linear-gradient(135deg, rgba(15, 52, 112, .98), rgba(23, 78, 166, .94));
    border-bottom: 5px solid var(--old-gold);
    color: var(--white);
}
.member-dashboard-hero h1,
.member-dashboard-hero .section-kicker { color: var(--white); }
.member-dashboard-hero p:not(.section-kicker) { color: #fff6d8; font-size: 1.12rem; max-width: 760px; }
.member-dashboard-container { width: min(1180px, calc(100% - 32px)); }
.member-dashboard-next-action {
    align-items: center;
    background: #fff9e8;
    border: 2px solid var(--old-gold);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(31, 41, 51, .09);
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-bottom: 24px;
    padding: 24px;
}
.member-dashboard-next-action h2,
.member-dashboard-card h2,
.member-dashboard-guide-card h2,
.member-dashboard-account-card h2 { color: var(--royal-blue-dark); margin: 0 0 8px; }
.member-dashboard-next-action p:last-child { margin-bottom: 0; }
.member-dashboard-next-action > .button { flex: 0 0 auto; margin-top: 0; }
.member-dashboard-grid {
    align-items: stretch;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.member-dashboard-card,
.member-dashboard-guide-card,
.member-dashboard-account-card {
    background: rgba(255, 255, 255, .98);
    border: 1px solid var(--border);
    border-top: 5px solid var(--royal-blue);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(31, 41, 51, .07);
    padding: 24px;
}
.member-dashboard-grid > .member-dashboard-card:nth-child(even),
.member-dashboard-account-card { border-top-color: var(--old-gold); }
.member-dashboard-card-heading {
    align-items: flex-start;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    margin-bottom: 16px;
}
.member-dashboard-card-heading .section-kicker { margin-bottom: 4px; }
.member-dashboard-percentage {
    color: var(--royal-blue-dark);
    font-family: Arial, sans-serif;
    font-size: 2rem;
    line-height: 1;
}
.member-dashboard-progress {
    accent-color: var(--royal-blue);
    display: block;
    height: 16px;
    margin: 4px 0 8px;
    width: 100%;
}
.member-dashboard-progress::-webkit-progress-bar { background: #e8edf6; border-radius: 999px; }
.member-dashboard-progress::-webkit-progress-value { background: linear-gradient(90deg, var(--royal-blue), var(--old-gold)); border-radius: 999px; }
.member-dashboard-progress::-moz-progress-bar { background: linear-gradient(90deg, var(--royal-blue), var(--old-gold)); border-radius: 999px; }
.member-dashboard-checklist {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none;
    margin: 18px 0;
    padding: 0;
}
.member-dashboard-checklist li {
    align-items: center;
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 9px;
    display: flex;
    font-family: Arial, sans-serif;
    font-size: .9rem;
    gap: 8px;
    padding: 9px 10px;
}
.member-dashboard-checklist li > span {
    align-items: center;
    border-radius: 50%;
    display: inline-flex;
    flex: 0 0 auto;
    font-weight: 900;
    height: 22px;
    justify-content: center;
    width: 22px;
}
.member-dashboard-checklist .is-complete > span { background: #eaf7ee; color: #246b36; }
.member-dashboard-checklist .is-missing > span { background: #fff4cf; color: #775500; }
.member-dashboard-status {
    background: #fff4cf;
    border: 1px solid rgba(155, 116, 19, .28);
    border-radius: 999px;
    color: var(--royal-blue-dark);
    display: inline-flex;
    flex: 0 0 auto;
    font-family: Arial, sans-serif;
    font-size: .8rem;
    font-weight: 800;
    line-height: 1.2;
    padding: 6px 10px;
}
.member-dashboard-status.status-approved,
.member-dashboard-status.status-verified,
.member-dashboard-status.status-published { background: #eaf7ee; border-color: #add8b8; color: #246b36; }
.member-dashboard-status.status-pending-review { background: #fff7df; border-color: #e6c873; color: #614500; }
.member-dashboard-status.status-rejected,
.member-dashboard-status.status-hidden,
.member-dashboard-status.status-missing { background: #fdecec; border-color: #f3b9b9; color: #8f1d1d; }
.member-dashboard-status.status-private { background: #eef3fb; border-color: #c3d1e8; color: var(--royal-blue-dark); }
.member-dashboard-photo-layout {
    align-items: center;
    display: grid;
    gap: 20px;
    grid-template-columns: 128px 1fr;
}
.member-dashboard-photo-preview {
    align-items: center;
    background: linear-gradient(135deg, #fff9ec, #fff4cf);
    border: 3px solid var(--old-gold);
    border-radius: 14px;
    color: var(--royal-blue-dark);
    display: flex;
    font-size: 2.5rem;
    font-weight: 800;
    height: 128px;
    justify-content: center;
    overflow: hidden;
    width: 128px;
}
.member-dashboard-photo-preview img { display: block; height: 100%; object-fit: cover; width: 100%; }
.member-dashboard-photo-layout p { margin-top: 0; }
.member-dashboard-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.member-dashboard-actions .button,
.member-dashboard-photo-layout .button { margin-top: 0; }
.member-dashboard-stats {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}
.member-dashboard-stats div {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 10px;
    min-width: 0;
    padding: 12px 8px;
    text-align: center;
}
.member-dashboard-stats strong {
    color: var(--royal-blue-dark);
    display: block;
    font-family: Arial, sans-serif;
    font-size: 1.65rem;
}
.member-dashboard-stats span { color: var(--muted); display: block; font-family: Arial, sans-serif; font-size: .74rem; line-height: 1.25; }
.member-dashboard-contributions { border-top-color: var(--old-gold); margin-top: 20px; }
.member-dashboard-contribution-list { display: grid; gap: 12px; margin-top: 18px; }
.member-dashboard-contribution-list article {
    background: var(--cream);
    border: 1px solid var(--border);
    border-left: 4px solid var(--royal-blue);
    border-radius: 10px;
    padding: 15px 16px;
}
.member-dashboard-contribution-list article > div { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.member-dashboard-contribution-list article > div span { color: var(--muted); font-family: Arial, sans-serif; font-size: .8rem; font-weight: 700; }
.member-dashboard-contribution-list h3 { color: var(--royal-blue-dark); margin: 7px 0; }
.member-dashboard-contribution-list a { font-family: Arial, sans-serif; font-weight: 800; }
.member-dashboard-empty-state { background: var(--cream); border: 1px dashed var(--border); border-radius: 10px; padding: 18px; }
.member-dashboard-support-grid { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 20px; }
.member-dashboard-guide-card { background: linear-gradient(135deg, rgba(15, 52, 112, .98), rgba(23, 78, 166, .94)); color: #fff6d8; }
.member-dashboard-guide-card h2,
.member-dashboard-guide-card .section-kicker { color: var(--white); }
.member-dashboard-guide-card .button { background: var(--old-gold); color: var(--royal-blue-dark); }
.member-dashboard-account-card p { margin: 0 0 8px; }
.member-dashboard-container > .member-giveaway-summary { margin-top: 20px; }

@media (max-width: 860px) {
    .member-dashboard-grid,
    .member-dashboard-support-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .member-dashboard-next-action { align-items: flex-start; flex-direction: column; padding: 20px; }
    .member-dashboard-next-action > .button,
    .member-dashboard-actions .button { text-align: center; width: 100%; }
    .member-dashboard-card,
    .member-dashboard-guide-card,
    .member-dashboard-account-card { padding: 20px; }
    .member-dashboard-card-heading { align-items: flex-start; flex-direction: column; }
    .member-dashboard-checklist { grid-template-columns: 1fr; }
    .member-dashboard-photo-layout { align-items: flex-start; grid-template-columns: 1fr; }
    .member-dashboard-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
