/* Classical Choral Theme - Alliance Alumni Mixed Choir (AAMC) */
:root {
    --navy-dark: #0f1a2e;
    --navy-primary: #1a2b4c;
    --navy-light: #253b68;
    --gold-primary: #c59b27;
    --gold-light: #dfb235;
    --gold-subtle: #fcf8ee;
    --gold-border: #e6cb7a;
    --cream-bg: #faf8f5;
    --card-bg: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --success: #15803d;
    --success-bg: #f0fdf4;
    --error: #b91c1c;
    --error-bg: #fef2f2;
    --font-heading: 'Cinzel', Georgia, serif;
    --font-subheading: 'Lora', Georgia, serif;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 14px rgba(26,43,76,0.08);
    --shadow-lg: 0 10px 25px rgba(26,43,76,0.12);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    background-color: var(--cream-bg);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header & Crest */
.site-header {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-primary) 100%);
    color: #ffffff;
    padding: 2.25rem 1rem 2rem;
    text-align: center;
    border-bottom: 4px solid var(--gold-primary);
    box-shadow: var(--shadow-md);
}

.header-container {
    max-width: 800px;
    margin: 0 auto;
}

.crest-icon {
    display: inline-block;
    width: 64px;
    height: 64px;
    line-height: 64px;
    background: rgba(197, 155, 39, 0.15);
    border: 2px solid var(--gold-primary);
    border-radius: 50%;
    color: var(--gold-light);
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.site-title {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    letter-spacing: 0.04em;
    color: #ffffff;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.site-subtitle {
    font-family: var(--font-subheading);
    font-size: 1.05rem;
    color: var(--gold-light);
    font-style: italic;
    margin-bottom: 0.75rem;
}

.election-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(197, 155, 39, 0.4);
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #e2e8f0;
}

/* Main Container */
.main-content {
    flex: 1;
    max-width: 820px;
    width: 100%;
    margin: 2rem auto;
    padding: 0 1.25rem;
}

/* Cards */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.75rem;
}

/* Header Action Badges & Returning Officer Button */
.header-badges {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 0.35rem;
}

.ro-badge-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(197, 155, 39, 0.22);
    border: 1px solid var(--gold-primary);
    padding: 0.35rem 0.95rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
}

.ro-badge-btn:hover {
    background: var(--gold-primary);
    color: var(--navy-dark);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(197, 155, 39, 0.35);
}

/* Status Pill */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.95rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.status-pill-gold {
    background: var(--gold-subtle);
    color: var(--navy-dark);
    border: 1px solid var(--gold-border);
}

.ro-access-divider {
    display: flex;
    align-items: center;
    max-width: 440px;
    margin: 1.5rem auto 1.25rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.ro-access-divider::before,
.ro-access-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.ro-access-divider span {
    padding: 0 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.08em;
}

.modal-close-btn {
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    padding: 0 0.25rem;
    transition: color 0.15s;
}

.modal-close-btn:hover {
    color: var(--navy-dark);
}

.card-gold {
    border-top: 4px solid var(--gold-primary);
}

/* Voter Status Bar */
.voter-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--gold-subtle);
    border: 1px solid var(--gold-border);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.voter-info strong {
    font-size: 1.1rem;
    color: var(--navy-dark);
}

.voter-badge {
    display: inline-block;
    background: var(--navy-primary);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Instructions */
.ballot-header {
    margin-bottom: 1.5rem;
}

.ballot-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--navy-primary);
    margin-bottom: 0.35rem;
}

.ballot-rules {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Counter Sticky Bar */
.counter-bar {
    position: sticky;
    top: 1rem;
    z-index: 50;
    background: var(--navy-dark);
    color: #ffffff;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--gold-primary);
}

.counter-badge {
    background: var(--gold-primary);
    color: var(--navy-dark);
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Candidate Grid */
.candidate-list,
.candidates-grid {
    display: grid;
    gap: 0.85rem;
    margin-bottom: 2rem;
}

.candidate-card {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    padding: 0.75rem 1.25rem;
    background: #ffffff;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.candidate-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.candidate-card.selected {
    border-color: var(--gold-primary);
    background: #fffdf9;
    box-shadow: 0 0 0 1px var(--gold-primary);
}

.candidate-card.disabled {
    opacity: 0.55;
    cursor: not-allowed;
    background: #f8fafc;
}

.candidate-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    object-position: center 15%;
    border: 1.5px solid var(--border-color);
    background: #f1f5f9;
    flex-shrink: 0;
}

.candidate-name {
    flex: 1;
    font-family: var(--font-subheading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin: 0;
    line-height: 1.3;
}

.candidate-checkbox {
    width: 24px;
    height: 24px;
    accent-color: var(--navy-primary);
    cursor: pointer;
    margin: 0 0 0 auto;
    flex-shrink: 0;
}

.candidate-content {
    flex: 1;
}

.candidate-name-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.35rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.candidate-name {
    font-family: var(--font-subheading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy-dark);
}

.voice-badge {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.voice-soprano { background: #fdf2f8; color: #9d174d; border: 1px solid #fbcfe8; }
.voice-alto    { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.voice-tenor   { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.voice-bass    { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }

.candidate-bio {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Buttons & Inputs */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background: var(--navy-primary);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(26,43,76,0.2);
}

.btn-primary:hover {
    background: var(--navy-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(26,43,76,0.3);
}

.btn-gold {
    background: var(--gold-primary);
    color: var(--navy-dark);
    font-weight: 700;
}

.btn-gold:hover {
    background: var(--gold-light);
}

.btn-block {
    width: 100%;
}

.input-field {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    color: var(--text-primary);
    margin-bottom: 1rem;
    transition: border-color 0.2s;
}

.input-field:focus {
    outline: none;
    border-color: var(--navy-primary);
}

/* Alerts */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.alert-error {
    background: var(--error-bg);
    color: var(--error);
    border: 1px solid #fecaca;
}

.alert-success {
    background: var(--success-bg);
    color: var(--success);
    border: 1px solid #bbf7d0;
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 26, 46, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-overlay.active {
    display: flex;
}

.modal-card {
    background: #ffffff;
    max-width: 500px;
    width: 100%;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--gold-primary);
}

.modal-title {
    font-family: var(--font-heading);
    color: var(--navy-primary);
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.modal-candidates {
    background: var(--cream-bg);
    padding: 1rem;
    border-radius: var(--radius-md);
    margin: 1rem 0 1.5rem;
}

.modal-candidates li {
    margin-left: 1.25rem;
    margin-bottom: 0.35rem;
    font-weight: 600;
    color: var(--navy-dark);
}

.modal-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.btn-secondary {
    background: #e2e8f0;
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: #cbd5e1;
}

/* Results & Stats */
.stats-grid,
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card,
.metric-card {
    background: #ffffff;
    padding: 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    text-align: center;
}

.stat-value,
.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy-primary);
}

.stat-label,
.metric-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Traffic Telemetry Styling */
.traffic-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.55rem;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 600;
}
.traffic-pill-sandbox {
    background: #ede9fe;
    color: #5b21b6;
    border: 1px solid #ddd6fe;
}
.traffic-pill-member {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}
.traffic-pill-none {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}
.traffic-device-badge {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #334155;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 500;
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.leaderboard-table th,
.leaderboard-table td {
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.leaderboard-table th {
    background: var(--navy-primary);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.progress-bar-bg {
    width: 100%;
    background: #e2e8f0;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-light));
    border-radius: 5px;
}

/* Footer */
.site-footer {
    background: var(--navy-dark);
    color: #94a3b8;
    text-align: center;
    padding: 2.25rem 1rem;
    font-size: 0.85rem;
    margin-top: auto;
    border-top: 1px solid #1e293b;
}

.site-footer a {
    color: var(--gold-light);
    text-decoration: none;
    transition: color 0.15s ease;
}

.site-footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 1.25rem 0 0.75rem;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--gold-light);
    border: 1px solid rgba(197, 160, 89, 0.3);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social-link:hover {
    background: var(--gold-primary);
    color: var(--navy-dark);
    border-color: var(--gold-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.25);
}

.footer-social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

@media (max-width: 600px) {
    .site-title { font-size: 1.35rem; }
    .site-subtitle { font-size: 0.95rem; }
    .card { padding: 1.25rem; }
    .candidate-card { padding: 1rem; }
    .counter-bar { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* Quorum & Attendance Monitor Styling */
.quorum-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.quorum-badge-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.quorum-badge-pending {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
}

.attendance-pill {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 600;
}

.attendance-pill-present {
    background: #dcfce7;
    color: #15803d;
}

.attendance-pill-proxy {
    background: #dbeafe;
    color: #1d4ed8;
}

.attendance-pill-apology {
    background: #fef3c7;
    color: #b45309;
}

.attendance-pill-pending {
    background: #f1f5f9;
    color: #64748b;
}

/* Executive Committee Nominees Showcase */
.nominees-intro-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.nominees-lead {
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
    font-size: 0.98rem;
    line-height: 1.65;
}

.jd-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    background: var(--gold-subtle);
    border: 1px solid var(--gold-border);
    border-left: 4px solid var(--gold-primary);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.4rem;
    margin-bottom: 1.5rem;
}

.jd-callout-copy {
    flex: 1;
}

.jd-callout-eyebrow {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #926f13;
    margin-bottom: 0.25rem;
}

.jd-callout-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--navy-dark);
    margin-bottom: 0.35rem;
}

.jd-callout-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

.jd-callout-actions {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    flex-shrink: 0;
}

.jd-btn {
    padding: 0.65rem 1.15rem;
    font-size: 0.9rem;
    gap: 0.45rem;
    white-space: nowrap;
}

.nominee-jump-nav {
    border-top: 1px solid var(--border-color);
    padding-top: 1.15rem;
}

.nominee-jump-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
    text-align: center;
}

.nominee-jump-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
}

.nominee-jump-chip {
    display: inline-block;
    padding: 0.32rem 0.72rem;
    border-radius: 9999px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    color: var(--navy-primary);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
}

.nominee-jump-chip:hover {
    background: var(--gold-subtle);
    border-color: var(--gold-primary);
    color: var(--navy-dark);
    transform: translateY(-1px);
}

.nominees-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.5rem 0 1rem;
    padding: 0 0.25rem;
}

.nominees-section-heading h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--navy-dark);
    letter-spacing: 0.03em;
}

.nominees-section-heading span {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-style: italic;
}

.nominee-profiles-list {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
    margin-bottom: 1.75rem;
}

.nominee-profile-card {
    margin-bottom: 0;
    scroll-margin-top: 1.5rem;
    border-top: 3px solid var(--gold-border);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.nominee-profile-card:hover {
    border-top-color: var(--gold-primary);
    box-shadow: var(--shadow-md);
}

.nominee-profile-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 1.25rem;
}

.nominee-portrait-frame {
    width: 156px;
    height: 156px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-border));
    box-shadow: var(--shadow-sm);
    margin-bottom: 0.9rem;
}

.nominee-portrait {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 15%;
    background: #ffffff;
    display: block;
}

.nominee-profile-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--navy-dark);
    letter-spacing: 0.02em;
    margin-bottom: 0.55rem;
}

.nominee-name-rule {
    width: 52px;
    height: 3px;
    background: var(--gold-primary);
    border-radius: 2px;
}

.nominee-writeup {
    max-width: 66ch;
    margin: 0 auto;
    color: var(--text-primary);
    font-size: 0.98rem;
    line-height: 1.75;
    text-align: left;
}

.nominee-writeup p + p {
    margin-top: 0.95rem;
}

.nominee-card-footer {
    max-width: 66ch;
    margin: 1.15rem auto 0;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
}

.nominee-back-top-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--navy-primary);
    text-decoration: none;
    padding: 0.28rem 0.72rem;
    border-radius: 9999px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    transition: all 0.15s ease;
}

.nominee-back-top-link:hover {
    background: var(--gold-subtle);
    border-color: var(--gold-primary);
    color: var(--navy-dark);
    transform: translateY(-1px);
}

.back-to-top-fab {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.62rem 1rem;
    border-radius: 9999px;
    background: var(--navy-dark);
    color: #ffffff;
    border: 1.5px solid var(--gold-primary);
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease, background-color 0.15s ease;
}

.back-to-top-fab.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top-fab:hover {
    background: var(--navy-primary);
    color: var(--gold-light);
    transform: translateY(-2px);
}

.nominees-pending-section {
    background: #ffffff;
}

.nominees-pending-header {
    text-align: center;
    margin-bottom: 1.35rem;
}

.nominees-pending-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.nominee-pending-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--cream-bg);
}

.nominee-pending-portrait-frame {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    padding: 3px;
    background: var(--border-color);
    margin-bottom: 0.65rem;
}

.nominee-pending-portrait {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 15%;
    background: #ffffff;
    display: block;
}

.nominee-pending-name {
    font-family: var(--font-subheading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy-dark);
    line-height: 1.3;
    margin-bottom: 0.25rem;
}

.nominee-pending-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-style: italic;
}

@media (max-width: 640px) {
    .jd-callout {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
    }
    .jd-callout-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .jd-btn {
        flex: 1;
    }
    .nominee-portrait-frame {
        width: 132px;
        height: 132px;
    }
    .nominee-profile-name {
        font-size: 1.2rem;
    }
    .back-to-top-fab {
        right: 0.9rem;
        bottom: 0.9rem;
        padding: 0.55rem 0.88rem;
        font-size: 0.8rem;
    }
}

/* Online Job Description (JD) Page & Diagonal DRAFT Watermark */
.jd-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.85rem 1.25rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.jd-toolbar-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.jd-draft-pill {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
    font-size: 0.76rem;
    padding: 0.28rem 0.75rem;
}

.jd-toolbar-meta {
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.jd-toolbar-actions {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.jd-document-card {
    position: relative;
    overflow: hidden;
    padding: 2.5rem 2.25rem;
}

.jd-watermark-layer {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    pointer-events: none;
    user-select: none;
    z-index: 2;
    overflow: hidden;
    padding: 3rem 0;
}

.jd-watermark-stamp {
    font-family: var(--font-heading);
    font-size: clamp(4.5rem, 13vw, 7.5rem);
    font-weight: 700;
    letter-spacing: 0.22em;
    color: rgba(180, 83, 9, 0.085);
    transform: rotate(-32deg);
    white-space: nowrap;
    line-height: 1;
}

.jd-document-body {
    position: relative;
    z-index: 1;
}

.jd-doc-header {
    text-align: center;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--gold-border);
}

.jd-doc-org {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #926f13;
    margin-bottom: 0.35rem;
}

.jd-doc-title {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    color: var(--navy-dark);
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

.jd-doc-subtitle {
    font-family: var(--font-subheading);
    font-size: 1.05rem;
    color: var(--text-secondary);
    font-style: italic;
}

.jd-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 1.25rem;
    background: var(--gold-subtle);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.4rem;
    margin-bottom: 2rem;
}

.jd-meta-item-wide {
    grid-column: 1 / -1;
}

.jd-meta-item dt {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--navy-primary);
    margin-bottom: 0.15rem;
}

.jd-meta-item dd {
    font-size: 0.92rem;
    color: var(--text-primary);
    line-height: 1.5;
}

.jd-section {
    margin-bottom: 2rem;
    padding-bottom: 1.65rem;
    border-bottom: 1px solid var(--border-color);
}

.jd-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0.5rem;
}

.jd-section-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--navy-primary);
    margin-bottom: 0.85rem;
    letter-spacing: 0.02em;
}

.jd-section p {
    font-size: 0.96rem;
    color: var(--text-primary);
    line-height: 1.72;
    margin-bottom: 0.85rem;
}

.jd-list {
    margin: 0.5rem 0 1rem 1.35rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.68;
}

.jd-list > li {
    margin-bottom: 0.55rem;
}

.jd-sublist {
    margin: 0.4rem 0 0.4rem 1.25rem;
    list-style-type: disc;
}

.jd-sublist > li {
    margin-bottom: 0.35rem;
}

.jd-subcommittee {
    background: var(--cream-bg);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--gold-primary);
    border-radius: var(--radius-md);
    padding: 1.15rem 1.3rem;
    margin-bottom: 1rem;
}

.jd-subcommittee h4 {
    font-family: var(--font-subheading);
    font-size: 1.05rem;
    color: var(--navy-dark);
    margin-bottom: 0.35rem;
}

.jd-subcommittee-focus {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem !important;
}

.jd-subcommittee .jd-list {
    margin-bottom: 0;
}

.jd-table-wrap {
    overflow-x: auto;
    margin-top: 0.75rem;
}

.jd-table {
    margin-bottom: 0;
    font-size: 0.92rem;
}

.jd-doc-footer {
    text-align: center;
    padding-top: 1.25rem;
    border-top: 2px solid var(--gold-border);
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 640px) {
    .jd-document-card {
        padding: 1.5rem 1.2rem;
    }
    .jd-doc-title {
        font-size: 1.3rem;
    }
    .jd-meta-grid {
        grid-template-columns: 1fr;
    }
    .jd-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .jd-toolbar-actions {
        width: 100%;
    }
}

/* Site-Wide Breadcrumb Navigation */
.breadcrumb-nav {
    margin-bottom: 1.15rem;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
    list-style: none;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.55rem 0.95rem;
    font-size: 0.84rem;
    color: var(--text-muted);
    box-shadow: var(--shadow-sm);
}

.breadcrumb-list li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.breadcrumb-list li + li::before {
    content: '\203A';
    color: var(--gold-primary);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}

.breadcrumb-list a {
    color: var(--navy-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.15s ease;
}

.breadcrumb-list a:hover {
    color: var(--gold-primary);
    text-decoration: underline;
}

.breadcrumb-list li[aria-current="page"] {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Public Register Filter Controls */
.register-filter-bar {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.register-filter-bar .input-field {
    flex: 1;
    min-width: 220px;
}

.register-filter-count {
    font-size: 0.84rem;
    color: var(--text-muted);
    white-space: nowrap;
}

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