:root {
    color-scheme: light;
    --ink: #18313f;
    --muted: #61737e;
    --line: #cbd9df;
    --surface: #ffffff;
    --page: #f4f8f9;
    --brand: #075a75;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--page);
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 64px;
    padding: 0 28px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
}

.brand,
.nav a {
    color: var(--ink);
    text-decoration: none;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.brand-mark {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #fff;
    background: var(--brand);
    border-radius: 8px;
}

.brand-logo {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    object-fit: contain;
    background: #fff;
}

.nav {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--muted);
    font-size: 0.95rem;
}

.nav form {
    margin: 0;
}

.link-button {
    padding: 0;
    border: 0;
    color: var(--brand);
    background: transparent;
    font: inherit;
    cursor: pointer;
}

.shell {
    width: min(920px, calc(100% - 32px));
    margin: 48px auto;
}

.panel,
.side-panel,
.hero-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 28px;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--brand);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1 {
    margin: 0 0 12px;
    font-size: 2rem;
    line-height: 1.15;
}

h2,
h3 {
    margin: 0 0 10px;
    line-height: 1.2;
}

h2 {
    font-size: 1.25rem;
}

h3 {
    font-size: 1rem;
}

p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.hero-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.auth-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
    gap: 18px;
    align-items: start;
}

.side-panel {
    background: #f9fbfc;
}

.form-stack {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

.form-stack label {
    display: grid;
    gap: 7px;
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 700;
}

.form-stack input,
.form-stack select,
.form-stack textarea,
.filter-grid input,
.filter-grid select,
.filter-grid textarea {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px 12px;
    color: var(--ink);
    background: #fff;
    font: inherit;
}

.form-stack textarea {
    resize: vertical;
}

.form-stack input:focus,
.form-stack select:focus,
.form-stack textarea:focus,
.filter-grid input:focus,
.filter-grid select:focus,
.filter-grid textarea:focus {
    outline: 3px solid rgba(7, 90, 117, 0.16);
    border-color: var(--brand);
}

.form-intro {
    margin-bottom: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.button-primary {
    color: #fff;
    background: var(--brand);
}

.button-secondary {
    color: var(--brand);
    background: #fff;
    border-color: var(--line);
}

.button-danger {
    color: #fff;
    background: #991b1b;
}

.button-small {
    min-height: 34px;
    padding: 7px 12px;
    font-size: 0.88rem;
}

.action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.alert {
    margin-bottom: 16px;
    border-radius: 8px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    background: #fff;
}

.alert-success {
    color: #14532d;
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.alert-error {
    color: #7f1d1d;
    border-color: #fecaca;
    background: #fef2f2;
}

.page-heading {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

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

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

.stat-card {
    display: grid;
    gap: 5px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px;
}

.admin-shell {
    width: min(1180px, calc(100% - 32px));
}

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

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.94rem;
}

th,
td {
    border-bottom: 1px solid var(--line);
    padding: 11px 10px;
    text-align: left;
    vertical-align: top;
}

th {
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
}

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

.stat-card span,
.election-row small {
    color: var(--muted);
}

.section-panel {
    margin-top: 18px;
}

.selection-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: space-between;
}

.selection-toolbar form {
    margin-left: auto;
}

.selection-cell {
    width: 72px;
    text-align: center;
}

.selection-cell input {
    width: 17px;
    height: 17px;
}

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

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

.election-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
    background: #fff;
}

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

.inline-form {
    display: inline-flex;
    margin: 0;
}

.filter-grid,
.field-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    align-items: end;
}

.filter-grid label,
.field-grid label {
    display: grid;
    gap: 7px;
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 700;
}

.filter-actions {
    display: flex;
    gap: 10px;
}

.muted-block {
    display: block;
    margin-top: 4px;
    color: var(--muted);
}

.empty-cell {
    color: var(--muted);
    text-align: center;
}

.check-panel {
    display: grid;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px;
}

.check-panel legend {
    padding: 0 8px;
    font-weight: 700;
}

.check-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.check-row input {
    width: 18px;
    height: 18px;
    accent-color: var(--brand);
}

.danger-zone {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.split-admin {
    display: grid;
    grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
    gap: 18px;
    align-items: start;
}

.turnout-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}

.year-link-grid,
.state-button-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.dashboard-extend {
    gap: 8px;
    margin: 14px 0;
}

.plain-list {
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
    line-height: 1.6;
}

button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.person-cell,
.preview-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.thumb {
    display: inline-grid;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    object-fit: cover;
    color: #fff;
    background: var(--brand);
    font-weight: 700;
}

.large-thumb {
    width: 90px;
    height: 90px;
}

.small-input {
    width: 88px;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px 10px;
    font: inherit;
}

.json-cell {
    display: block;
    max-width: 420px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    color: var(--muted);
}

.election-row p {
    margin-bottom: 4px;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.82rem;
    font-weight: 700;
}

.badge-success {
    color: #14532d;
    background: #dcfce7;
}

.badge-warning {
    color: #713f12;
    background: #fef3c7;
}

.badge-neutral {
    color: #475569;
    background: #e2e8f0;
}

.empty-state {
    color: var(--muted);
    border: 1px dashed var(--line);
    border-radius: 8px;
    padding: 18px;
    background: #fbfdfe;
}

.dashboard-actions {
    margin-top: 18px;
}

.meta-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
}

.meta-strip span {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 7px 11px;
    color: var(--muted);
    background: #fff;
    font-size: 0.88rem;
}

.candidate-grid,
.choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.candidate-card,
.choice-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.candidate-card img,
.choice-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #eef4f6;
}

.candidate-card div {
    padding: 12px;
}

.choice-card {
    position: relative;
    display: grid;
    cursor: pointer;
}

.choice-card input {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 20px;
    height: 20px;
    accent-color: var(--brand);
}

.choice-card span {
    display: grid;
    gap: 4px;
    padding: 12px;
}

.choice-card small {
    color: var(--muted);
}

.choice-card:has(input:checked) {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(7, 90, 117, 0.14);
}

.ballot-layout .page-heading {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px 20px;
    background: #fff;
}

.ballot-layout .choice-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 12px;
}

.ballot-layout .choice-card {
    display: grid;
    grid-template-columns: 18px 64px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    min-height: 118px;
    padding: 14px;
}

.ballot-layout .choice-card input {
    position: static;
    width: 18px;
    height: 18px;
    margin: 4px 0 0;
}

.ballot-layout .choice-card img,
.ballot-layout .choice-photo {
    width: 64px;
    height: 64px;
    aspect-ratio: auto;
    border-radius: 14px;
    object-fit: cover;
}

.choice-photo-placeholder {
    display: inline-grid;
    place-items: center;
    color: #fff;
    background: var(--brand);
    font-weight: 800;
}

.ballot-layout .choice-card span.choice-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 0;
}

.ballot-layout .choice-copy strong {
    color: var(--ink);
    line-height: 1.25;
}

.ballot-layout .choice-copy small {
    line-height: 1.35;
}

.ballot-review-button {
    background: #ef4b24;
}

.ballot-review-button:hover {
    background: #dc3e1b;
}

.ballot-layout .candidate-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.ballot-layout .candidate-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
}

.ballot-layout .candidate-card img {
    width: 64px;
    height: 64px;
    aspect-ratio: auto;
    border-radius: 14px;
}

.ballot-layout .candidate-card div {
    padding: 0;
}

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

.submit-panel {
    position: sticky;
    top: 84px;
}

.submit-panel .button {
    width: 100%;
}

.narrow-panel {
    max-width: 620px;
    margin: 0 auto;
}

.receipt-box {
    display: grid;
    gap: 8px;
    margin: 20px 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px;
    background: #f8fbfc;
}

.receipt-box span {
    color: var(--muted);
}

.receipt-box code {
    color: var(--ink);
    font-size: 1.1rem;
    overflow-wrap: anywhere;
}

@media (max-width: 760px) {
    .topbar,
    .hero-panel,
    .election-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .auth-grid,
    .dashboard-grid,
    .admin-dashboard-grid,
    .ballot-layout,
    .split-admin,
    .turnout-grid {
        grid-template-columns: 1fr;
    }

    .submit-panel {
        position: static;
    }

    .ballot-layout .choice-grid {
        grid-template-columns: 1fr;
    }

    .ballot-layout .choice-card {
        grid-template-columns: 22px 82px minmax(0, 1fr);
        min-height: 132px;
        padding: 18px;
    }

    .ballot-layout .choice-card img,
    .ballot-layout .choice-photo,
    .ballot-layout .candidate-card img {
        width: 82px;
        height: 82px;
        border-radius: 18px;
    }

    .topbar {
        padding: 14px 18px;
    }

    .nav {
        flex-wrap: wrap;
    }

    .shell {
        margin: 24px auto;
    }
}

/* Public website */
.public-site {
    --brand: #ef4b24;
    --public-bg: #071111;
    --public-surface: #0f1a1a;
    --public-soft: #f4f8f9;
    --public-card: #ffffff;
    --public-gold: #d4af37;
    --public-orange: #ef4b24;
    --public-orange-dark: #dc3e1b;
    --public-green: #0f8f63;
    --public-ink: #102a33;
    --public-muted: #62737d;
    --public-line: #d8e3e7;
    color: var(--public-ink);
    background: var(--public-soft);
    font-family: Montserrat, Arial, Helvetica, sans-serif;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(16, 42, 51, 0.12);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: min(1180px, calc(100% - 32px));
    min-height: 70px;
    margin: 0 auto;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: 12px;
    color: var(--public-ink);
    font-weight: 800;
    text-decoration: none;
}

.site-logo {
    width: auto;
    height: 38px;
    object-fit: contain;
}

.site-brand span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-nav-link,
.site-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border-radius: 8px;
    padding: 8px 11px;
    color: var(--public-ink);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.site-nav-link:hover,
.site-nav-link.is-active {
    color: var(--brand);
    background: rgba(239, 75, 36, 0.1);
}

.site-nav-cta {
    margin-left: 6px;
    color: #ffffff;
    background: var(--brand);
}

.site-nav-cta:hover,
.public-btn-primary:hover,
.public-site .button-primary:hover {
    background: var(--public-orange-dark);
}

.site-menu-button {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    border: 1px solid var(--public-line);
    border-radius: 8px;
    padding: 8px 10px;
    color: var(--public-ink);
    background: #ffffff;
    font: inherit;
    font-weight: 700;
}

.public-page {
    width: 100%;
}

.public-section {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 72px 0;
}

.public-eyebrow {
    margin: 0 0 10px;
    color: var(--brand);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.public-heading {
    margin: 0;
    color: var(--public-ink);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2rem, 5vw, 4.25rem);
    line-height: 1.04;
}

.public-copy {
    margin: 16px 0 0;
    color: var(--public-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.public-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.public-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 1px solid var(--public-line);
    border-radius: 8px;
    padding: 10px 16px;
    color: var(--brand);
    background: #ffffff;
    font-weight: 800;
    text-decoration: none;
}

.public-btn-primary {
    border-color: var(--brand);
    color: #ffffff;
    background: var(--brand);
}

.awards-hero {
    position: relative;
    min-height: calc(100vh - 70px);
    overflow: hidden;
    color: #ffffff;
    background: var(--public-bg);
}

.awards-hero-media,
.awards-hero-media video,
.awards-hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.awards-hero-media video,
.awards-hero-media img {
    object-fit: cover;
}

.awards-hero::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, rgba(7, 17, 17, 0.86), rgba(7, 17, 17, 0.48), rgba(7, 17, 17, 0.78));
}

.awards-hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: center;
    width: min(1180px, calc(100% - 32px));
    min-height: calc(100vh - 70px);
    margin: 0 auto;
    padding: 72px 0;
}

.awards-hero .public-heading,
.awards-hero .public-copy {
    max-width: 760px;
    color: #ffffff;
}

.awards-hero .public-copy {
    color: rgba(255, 255, 255, 0.82);
}

.awards-hero .public-eyebrow {
    color: var(--public-gold);
}

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

.public-card {
    border: 1px solid var(--public-line);
    border-radius: 8px;
    padding: 22px;
    background: #ffffff;
}

.public-card-dark {
    border-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    background: var(--public-surface);
}

.public-card h2,
.public-card h3,
.public-card h4 {
    margin: 0 0 8px;
    color: inherit;
}

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

.public-card-dark p {
    color: rgba(255, 255, 255, 0.76);
}

.media-strip {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    align-items: stretch;
    gap: 14px;
}

.media-tile {
    position: relative;
    min-height: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
    background: #dce7eb;
}

.media-tile:first-child {
    grid-row: span 2;
    aspect-ratio: auto;
}

.media-tile img,
.media-tile video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.media-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 16px;
    color: #ffffff;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent);
    font-weight: 800;
}

.experience-video-tile {
    min-height: auto;
    aspect-ratio: 16 / 9;
}

.public-split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: 30px;
    align-items: center;
}

.timeline-list {
    display: grid;
    gap: 14px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
    border-left: 3px solid var(--brand);
    padding: 14px 0 14px 18px;
}

.timeline-time {
    color: var(--brand);
    font-weight: 800;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    align-items: start;
    gap: clamp(14px, 2vw, 28px);
}

.gallery-card {
    position: relative;
    min-height: 0;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--public-line);
    background: #dce7eb;
}

.gallery-card.is-wide {
    grid-column: span 2;
    aspect-ratio: 16 / 10;
}

.gallery-card img,
.gallery-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-card-label {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 14px;
    color: #ffffff;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent);
    font-weight: 800;
}

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

.nominee-card {
    aspect-ratio: 3 / 4;
}

.awards-public-theme,
.nominees-page {
    background: #071111;
}

.awards-public-theme .public-page,
.nominees-page .public-page {
    color: #ffffff;
    background: #071111;
}

.nominees-hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(105deg, rgba(7, 17, 17, 0.96) 0%, rgba(16, 25, 24, 0.92) 45%, rgba(70, 35, 22, 0.92) 100%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 32px);
}

.nominees-hero::after {
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    content: "";
    background: linear-gradient(to top, rgba(198, 146, 53, 0.22), transparent);
    pointer-events: none;
}

.nominees-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.85fr);
    gap: clamp(32px, 6vw, 76px);
    align-items: center;
    width: min(1180px, calc(100% - 32px));
    min-height: calc(100vh - 150px);
    margin: 0 auto;
    padding: 80px 0;
}

.nominees-hero-copy .public-heading,
.nominees-hero-copy .public-copy {
    max-width: 740px;
    color: #ffffff;
}

.nominees-hero-copy .public-copy {
    color: rgba(255, 255, 255, 0.8);
}

.nominees-hero-copy .public-eyebrow,
.nominees-overview .public-eyebrow,
.category-heading-row .public-eyebrow {
    color: #f4c96c;
    letter-spacing: 0;
}

.nominees-hero-showpiece {
    position: relative;
    min-height: 560px;
}

.nominees-trophy {
    position: absolute;
    top: 14px;
    right: 0;
    display: grid;
    place-items: center;
    width: min(250px, 52%);
    min-height: 470px;
    border: 1px solid rgba(255, 230, 168, 0.34);
    border-radius: 130px 130px 34px 34px;
    color: #3a2107;
    background: linear-gradient(115deg, #fff0b7 0%, #c69235 34%, #f8c95c 58%, #7b4314 100%);
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.42), inset 24px 0 48px rgba(255, 255, 255, 0.22);
}

.nominees-trophy i {
    font-size: clamp(4.5rem, 10vw, 8rem);
}

.nominees-trophy span {
    display: none;
}

.nominees-feature-stack {
    position: relative;
    width: min(480px, 100%);
    height: 530px;
}

.nominees-feature-photo {
    position: absolute;
    z-index: 2;
    overflow: hidden;
    width: 176px;
    height: 226px;
    margin: 0;
    border: 1px solid rgba(255, 220, 150, 0.55);
    border-radius: 8px;
    background: #142322;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.38);
}

.nominees-feature-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nominees-feature-photo.is-photo-1 {
    top: 26px;
    left: 8px;
    transform: rotate(-5deg);
}

.nominees-feature-photo.is-photo-2 {
    top: 96px;
    left: 174px;
    transform: rotate(4deg);
}

.nominees-feature-photo.is-photo-3 {
    top: 258px;
    left: 36px;
    transform: rotate(3deg);
}

.nominees-feature-photo.is-photo-4 {
    top: 314px;
    left: 218px;
    transform: rotate(-4deg);
}

.nominees-feature-photo.is-photo-5,
.nominees-feature-photo.is-photo-6 {
    display: none;
}

.nominees-overview {
    color: #16221f;
    background: linear-gradient(180deg, #f9f4e8, #f3eee1);
    border-top: 1px solid rgba(246, 212, 138, 0.32);
    border-bottom: 1px solid rgba(20, 35, 34, 0.14);
    padding: 58px 0 28px;
}

.nominees-overview-inner {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.nominees-overview .public-heading {
    color: #16221f;
    font-size: clamp(2rem, 4vw, 3.3rem);
}

.nominees-stat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.nominees-stat-row div {
    min-width: 128px;
    border: 1px solid rgba(22, 34, 31, 0.12);
    border-radius: 8px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.72);
}

.nominees-stat-row strong,
.nominees-stat-row span {
    display: block;
}

.nominees-stat-row strong {
    color: #1c8c6b;
    font-size: 2rem;
    line-height: 1;
}

.nominees-stat-row span {
    margin-top: 5px;
    color: #4f625d;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.event-countdown-note {
    margin: 12px 0 0;
    color: #4f625d;
    font-size: 0.95rem;
    font-weight: 700;
}

.event-countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(88px, 1fr));
    gap: 12px;
    min-width: min(100%, 520px);
}

.event-countdown-card {
    border: 1px solid rgba(22, 34, 31, 0.12);
    border-radius: 8px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 12px 26px rgba(22, 34, 31, 0.04);
}

.event-countdown-card strong,
.event-countdown-card span {
    display: block;
}

.event-countdown-card strong {
    color: #1c8c6b;
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    line-height: 1;
}

.event-countdown-card span {
    margin-top: 6px;
    color: #4f625d;
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

.nominees-category-nav {
    display: flex;
    gap: 10px;
    width: min(1180px, calc(100% - 32px));
    margin: 28px auto 0;
    overflow-x: auto;
    padding-bottom: 10px;
}

.nominees-category-nav a {
    flex: 0 0 auto;
    border: 1px solid rgba(22, 34, 31, 0.14);
    border-radius: 8px;
    padding: 10px 13px;
    color: #16221f;
    background: rgba(255, 255, 255, 0.74);
    font-size: 0.86rem;
    font-weight: 800;
    text-decoration: none;
}

.nominees-category-nav a:hover {
    color: #ffffff;
    background: #1c8c6b;
}

.nominees-stage {
    padding: 44px 0 86px;
    background:
        linear-gradient(180deg, #071111 0%, #111716 54%, #071111 100%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 34px);
}

.nominees-category-list {
    display: grid;
    gap: 22px;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.award-category {
    display: grid;
    grid-template-columns: 152px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid rgba(255, 221, 156, 0.18);
    border-radius: 8px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

.category-medallion {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 228px;
    color: #f3c262;
    background: linear-gradient(180deg, rgba(198, 146, 53, 0.24), rgba(13, 25, 23, 0.9));
    border-right: 1px solid rgba(255, 221, 156, 0.18);
}

.category-medallion::before,
.category-medallion::after {
    position: absolute;
    width: 74px;
    height: 132px;
    border: 2px solid rgba(244, 201, 108, 0.68);
    content: "";
}

.category-medallion::before {
    left: 18px;
    border-right: 0;
    border-radius: 70px 0 0 70px;
    transform: rotate(-10deg);
}

.category-medallion::after {
    right: 18px;
    border-left: 0;
    border-radius: 0 70px 70px 0;
    transform: rotate(10deg);
}

.category-medallion i {
    position: absolute;
    top: 48px;
    font-size: 1.7rem;
}

.category-medallion span {
    position: relative;
    z-index: 1;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 2.9rem;
    font-weight: 800;
    line-height: 1;
}

.awards-public-theme .category-medallion i {
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
}

.awards-public-theme .category-medallion span {
    display: none;
}

.category-content {
    min-width: 0;
    padding: clamp(20px, 3vw, 34px);
}

.category-heading-row {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.category-heading-row h2 {
    margin: 0;
    color: #ffffff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.55rem, 3vw, 2.55rem);
}

.category-heading-row > span {
    flex: 0 0 auto;
    border: 1px solid rgba(244, 201, 108, 0.28);
    border-radius: 8px;
    padding: 8px 10px;
    color: #f4c96c;
    background: rgba(244, 201, 108, 0.08);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

.nominee-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
}

.nominee-panel {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.055);
}

.nominee-portrait {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    width: 76px;
    height: 96px;
    border: 1px solid rgba(244, 201, 108, 0.24);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.78);
    background: linear-gradient(135deg, #1c8c6b, #16221f);
    font-weight: 900;
}

.nominee-portrait img {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nominee-portrait span {
    position: relative;
    z-index: 0;
}

.nominee-portrait.is-icon {
    background: linear-gradient(135deg, rgba(28, 140, 107, 0.88), rgba(244, 201, 108, 0.18));
}

.nominee-portrait i {
    position: relative;
    z-index: 1;
    color: #f4c96c;
    font-size: 1.65rem;
}

.nominee-details {
    min-width: 0;
}

.nominee-details h3 {
    margin: 0;
    color: #ffffff;
    font-size: 0.98rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.nominee-details p {
    margin: 7px 0 0;
    color: #f4c96c;
    font-size: 0.86rem;
    font-weight: 800;
}

.awards-media-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(190px, 0.65fr);
    gap: 12px;
}

.awards-video-frame,
.awards-image-frame {
    position: relative;
    overflow: hidden;
    min-height: 0;
    margin: 0;
    border: 1px solid rgba(244, 201, 108, 0.22);
    border-radius: 8px;
    background: #13201f;
}

.awards-video-frame {
    grid-row: span 2;
    aspect-ratio: 16 / 10;
}

.awards-video-frame.is-wide {
    grid-row: auto;
    aspect-ratio: 16 / 9;
}

.awards-image-frame {
    aspect-ratio: 4 / 3;
}

.awards-video-frame video,
.awards-video-frame img,
.awards-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.awards-public-theme .public-card {
    border-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.055);
}

.awards-public-theme .public-card p,
.awards-public-theme .public-copy {
    color: rgba(255, 255, 255, 0.78);
}

.awards-public-theme .timeline-item {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid #f4c96c;
    border-radius: 8px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.055);
}

.awards-public-theme .timeline-time {
    color: #f4c96c;
}

.awards-public-theme .timeline-item h3 {
    color: #ffffff;
}

.awards-public-theme .timeline-item p {
    color: rgba(255, 255, 255, 0.74);
}

.countdown-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.countdown-segment {
    border: 1px solid var(--public-line);
    border-radius: 8px;
    padding: 18px;
    text-align: center;
    background: #ffffff;
}

.countdown-number {
    color: var(--brand);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.countdown-label {
    margin-top: 6px;
    color: var(--public-muted);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.public-app-shell {
    width: min(980px, calc(100% - 32px));
    margin: 48px auto;
}

.public-app-shell .auth-grid {
    margin: 0;
}

.topbar {
    box-shadow: 0 8px 26px rgba(16, 42, 51, 0.05);
}

.admin-topbar {
    background: #ffffff;
}

.nav-area-link {
    color: var(--brand);
    font-weight: 700;
}

@media (max-width: 900px) {
    .site-menu-button {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: 70px;
        right: 16px;
        left: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        border: 1px solid var(--public-line);
        border-radius: 8px;
        padding: 10px;
        background: #ffffff;
        box-shadow: 0 18px 38px rgba(16, 42, 51, 0.16);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav-cta {
        margin-left: 0;
    }

    .public-split,
    .media-strip {
        grid-template-columns: 1fr;
    }

    .nominees-hero-inner,
    .award-category {
        grid-template-columns: 1fr;
    }

    .awards-media-grid {
        grid-template-columns: 1fr;
    }

    .awards-video-frame {
        grid-row: auto;
    }

    .nominees-hero-showpiece {
        min-height: 440px;
    }

    .nominees-feature-stack {
        height: 420px;
    }

    .nominees-trophy {
        min-height: 370px;
    }

    .category-medallion {
        min-height: 138px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 221, 156, 0.18);
    }

    .category-medallion i {
        top: 28px;
    }

    .media-tile:first-child,
    .gallery-card.is-wide {
        grid-column: auto;
        grid-row: auto;
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 640px) {
    .site-brand span {
        max-width: 180px;
    }

    .public-section {
        padding: 48px 0;
    }

    .awards-hero,
    .awards-hero-content {
        min-height: auto;
    }

    .public-actions,
    .public-btn {
        width: 100%;
    }

    .gallery-grid,
    .nominee-grid {
        grid-template-columns: 1fr;
    }

    .nominees-hero-inner {
        min-height: auto;
        padding: 44px 0 34px;
    }

    .nominees-hero-showpiece {
        min-height: 290px;
    }

    .nominees-trophy {
        width: 46%;
        min-height: 245px;
    }

    .nominees-feature-stack {
        width: 100%;
        height: 275px;
    }

    .nominees-feature-photo {
        width: 116px;
        height: 148px;
    }

    .nominees-feature-photo.is-photo-1 {
        top: 0;
        left: 0;
    }

    .nominees-feature-photo.is-photo-2 {
        top: 46px;
        left: 104px;
    }

    .nominees-feature-photo.is-photo-3 {
        top: 120px;
        left: 30px;
    }

    .nominees-feature-photo.is-photo-4 {
        top: 132px;
        left: 150px;
    }

    .nominees-overview-inner,
    .category-heading-row {
        align-items: stretch;
        flex-direction: column;
    }

    .event-countdown {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-width: 0;
    }

    .nominees-stat-row div {
        flex: 1 1 128px;
    }

    .nominee-strip {
        grid-template-columns: 1fr;
    }

    .nominee-panel {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .nominee-portrait {
        width: 72px;
        height: 88px;
    }

    .gallery-card,
    .gallery-card.is-wide,
    .nominee-card,
    .media-tile,
    .media-tile:first-child {
        aspect-ratio: 4 / 3;
    }

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

    .timeline-item {
        grid-template-columns: 1fr;
    }
}

/* Horizon International School Jinja brand system.
 * Source: https://horizon.ac.ug — HISJ navy, orange and excellence gold. */
:root {
    --ink: #1e293b;
    --muted: #64748b;
    --line: #dbeaf0;
    --page: #f5f5f5;
    --brand: #044061;
    --accent: #E84C27;
    --gold: #D4AF37;
}

body {
    font-family: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
    background: var(--page);
}

h1,
h2,
h3,
.public-heading {
    font-family: 'Playfair Display', Georgia, serif;
}

.button-primary {
    border-color: var(--accent);
    background: var(--accent);
}

.button-primary:hover {
    background: #c23d1e;
}

.button-danger {
    background: #991b1b;
}

.eyebrow,
.public-eyebrow {
    color: var(--accent);
}

.link-button {
    color: var(--accent);
}

.public-site {
    --brand: #E84C27;
    --public-bg: #044061;
    --public-surface: #032d45;
    --public-soft: #f5f5f5;
    --public-card: #ffffff;
    --public-gold: #D4AF37;
    --public-orange: #E84C27;
    --public-orange-dark: #c23d1e;
    --public-green: #044061;
    --public-ink: #1e293b;
    --public-muted: #64748b;
    --public-line: #dbeaf0;
    color: var(--public-ink);
    background: var(--public-soft);
    font-family: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
}

.site-nav-link:hover,
.site-nav-link.is-active {
    color: var(--public-orange);
    background: rgba(232, 76, 39, 0.1);
}

.site-nav-cta,
.public-btn-primary {
    border-color: var(--public-orange);
    background: var(--public-orange);
}

.awards-hero,
.awards-public-theme,
.nominees-page,
.awards-public-theme .public-page,
.nominees-page .public-page {
    background: var(--public-bg);
}

.awards-hero::after {
    background: linear-gradient(90deg, rgba(4, 64, 97, 0.9), rgba(4, 64, 97, 0.55), rgba(3, 45, 69, 0.82));
}

.nominees-hero {
    background:
        linear-gradient(105deg, rgba(4, 64, 97, 0.96) 0%, rgba(4, 64, 97, 0.9) 45%, rgba(108, 47, 28, 0.9) 100%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 32px);
}

.nominees-hero-copy .public-eyebrow,
.nominees-overview .public-eyebrow,
.category-heading-row .public-eyebrow {
    color: var(--public-gold);
}

.site-logo,
.brand-logo {
    background: #ffffff;
}

/* STUCO Elections 2026/2027 */
.stuco-election-block {
    margin-top: 30px;
    border-top: 1px solid var(--public-line);
    padding-top: 28px;
}

.stuco-election-heading,
.stuco-position-heading {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: end;
}

.stuco-election-heading h3,
.stuco-position-heading h4 {
    margin: 0;
    color: var(--public-ink);
}

.stuco-roster-count,
.stuco-position-heading span {
    color: var(--public-muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.stuco-roster {
    display: grid;
    gap: 26px;
    margin-top: 28px;
}

.stuco-position-block {
    border: 1px solid var(--public-line);
    border-radius: 12px;
    padding: 20px;
    background: #ffffff;
}

.stuco-candidate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.stuco-candidate-card {
    overflow: hidden;
    border: 1px solid var(--public-line);
    border-radius: 10px;
    background: #f8fbfc;
}

.stuco-candidate-photo-wrap {
    aspect-ratio: 4 / 5;
    background: #dce7eb;
}

.stuco-candidate-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stuco-candidate-photo-placeholder {
    display: grid;
    place-items: center;
    color: var(--brand);
    font-size: 2.5rem;
    font-weight: 800;
}

.stuco-candidate-copy {
    padding: 14px;
}

.stuco-candidate-copy h5 {
    margin: 0;
    color: var(--public-ink);
    font-size: 0.96rem;
}

.stuco-photo-status {
    display: inline-block;
    margin-top: 6px;
    color: #a66a00;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}


@media (max-width: 640px) {
    .stuco-election-heading,
    .stuco-position-heading {
        align-items: start;
        flex-direction: column;
    }
}

/* Public STUCO announcement, responsive portraits and live progress. */
.stuco-announcement-section {
    padding-top: clamp(28px, 5vw, 56px);
    padding-bottom: 24px;
}

.stuco-announcement {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(24px, 5vw, 72px);
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 22px;
    padding: clamp(26px, 5vw, 58px);
    color: #ffffff;
    background:
        radial-gradient(circle at 100% 0%, rgba(232, 76, 39, 0.42), transparent 44%),
        linear-gradient(125deg, #044061 0%, #032d45 72%, #022538 100%);
    box-shadow: 0 20px 54px rgba(4, 64, 97, 0.18);
}

.stuco-announcement .public-eyebrow,
.live-results-hero .public-eyebrow {
    color: var(--public-gold);
}

.stuco-announcement .public-heading,
.stuco-announcement .public-copy,
.live-results-hero .public-heading,
.live-results-hero .public-copy {
    color: #ffffff;
}

.stuco-announcement .public-copy,
.live-results-hero .public-copy {
    color: rgba(255, 255, 255, 0.82);
}

.stuco-voting-date {
    display: block;
    margin-top: 16px;
    color: #ffffff;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.45rem, 3vw, 2.45rem);
    font-weight: 800;
    line-height: 1.1;
}

.stuco-announcement-note {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.88rem;
}

.stuco-announcement-actions {
    display: flex;
    min-width: 170px;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.stuco-date-mark {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 16px;
    padding: 14px 18px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.stuco-date-mark strong {
    color: var(--public-gold);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    line-height: 0.9;
}

.stuco-date-mark small {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.35;
}

.stuco-candidate-grid {
    grid-template-columns: repeat(auto-fit, minmax(155px, 190px));
    justify-content: start;
}

.stuco-candidate-card {
    min-width: 0;
}

.stuco-candidate-photo-wrap {
    aspect-ratio: 4 / 5;
    width: 100%;
    min-height: 0;
}

.stuco-candidate-photo {
    object-position: center 22%;
}

.live-results-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
    gap: clamp(24px, 6vw, 80px);
    align-items: center;
    border-radius: 0 0 24px 24px;
    color: #ffffff;
    background: linear-gradient(125deg, #044061, #032d45);
}

.live-date-card {
    border: 1px solid rgba(212, 175, 55, 0.42);
    border-radius: 18px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.08);
}

.live-date-card time {
    display: block;
    margin-top: 6px;
    color: #ffffff;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.25rem, 3vw, 1.8rem);
    font-weight: 800;
    line-height: 1.18;
}

.live-date-card small {
    display: block;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.72);
}

.live-status,
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid var(--public-line);
    border-radius: 999px;
    padding: 6px 10px;
    color: var(--public-muted);
    background: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.live-status {
    margin-bottom: 28px;
    color: var(--public-gold);
    border-color: rgba(212, 175, 55, 0.42);
    background: rgba(255, 255, 255, 0.08);
}

.live-status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--public-gold);
}

.live-status.is-live i {
    background: #52d273;
    box-shadow: 0 0 0 4px rgba(82, 210, 115, 0.18);
}

.live-results-content {
    padding-top: 44px;
}

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

.live-summary-card {
    border: 1px solid var(--public-line);
    border-radius: 14px;
    padding: 20px;
    background: #ffffff;
}

.live-summary-card strong,
.live-summary-card span {
    display: block;
}

.live-summary-card strong {
    color: var(--brand);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
}

.live-summary-card span {
    margin-top: 3px;
    color: var(--public-muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.live-results-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: end;
    margin-top: 58px;
}

.live-results-heading .public-heading {
    font-size: clamp(1.8rem, 4vw, 3rem);
}

.live-position-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.live-position-card {
    border: 1px solid var(--public-line);
    border-radius: 16px;
    padding: 20px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(4, 64, 97, 0.05);
}

.live-position-card-heading {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: start;
    border-bottom: 1px solid var(--public-line);
    padding-bottom: 16px;
}

.live-position-card-heading .public-eyebrow {
    margin-bottom: 5px;
}

.live-position-card h3 {
    margin: 0;
    color: var(--public-ink);
    font-size: 1.15rem;
}

.live-badge-unopposed {
    color: #8a6100;
    border-color: rgba(212, 175, 55, 0.55);
    background: #fff8dc;
}

.live-candidate-list {
    display: grid;
    gap: 18px;
    padding-top: 18px;
}

.live-candidate-row {
    display: grid;
    gap: 9px;
}

.live-candidate-identity {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.live-candidate-identity img {
    flex: 0 0 38px;
    width: 38px;
    height: 48px;
    border-radius: 7px;
    object-fit: cover;
    object-position: center 22%;
}

.live-candidate-identity strong {
    overflow: hidden;
    color: var(--public-ink);
    font-size: 0.9rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.live-candidate-score {
    display: grid;
    grid-template-columns: minmax(80px, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.live-score-track {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #e9f0f3;
}

.live-score-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--public-orange), var(--public-gold));
    transition: width 0.3s ease;
}

.live-candidate-score > span {
    color: var(--public-muted);
    font-size: 0.75rem;
    font-weight: 800;
    white-space: nowrap;
}

.live-candidate-score small {
    color: var(--brand);
}

.live-no-candidates {
    margin: 20px 0 0;
    color: var(--public-muted);
    font-size: 0.88rem;
}

@media (max-width: 760px) {
    .stuco-announcement,
    .live-results-hero {
        grid-template-columns: 1fr;
    }

    .stuco-announcement-actions {
        align-items: start;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .live-results-hero {
        gap: 28px;
    }

    .live-summary-grid,
    .live-position-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .public-section {
        width: min(100% - 20px, 1180px);
    }

    .stuco-candidate-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
    }

    .stuco-candidate-copy {
        padding: 11px;
    }

    .stuco-candidate-copy h5 {
        font-size: 0.83rem;
    }

    .live-results-heading {
        align-items: start;
        flex-direction: column;
    }
}

/* Final STUCO public presentation: centered cards, readable live portraits,
 * keyboard-friendly details and restrained motion. */
.stuco-election-heading,
.stuco-position-heading {
    align-items: center;
    justify-content: center;
    text-align: center;
}

.stuco-election-heading > div,
.stuco-position-heading > h4 {
    max-width: 100%;
}

.stuco-candidate-grid {
    grid-template-columns: repeat(auto-fit, minmax(155px, 190px));
    justify-content: center;
}

.stuco-candidate-card {
    display: block;
    width: min(100%, 190px);
    overflow: hidden;
    border: 1px solid rgba(4, 64, 97, 0.14);
    border-radius: 16px;
    color: inherit;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(4, 64, 97, 0.12), 0 3px 8px rgba(4, 64, 97, 0.08);
    text-decoration: none;
    transform: translateY(0);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.stuco-candidate-card:hover {
    border-color: rgba(232, 76, 39, 0.45);
    box-shadow: 0 18px 34px rgba(4, 64, 97, 0.18), 0 5px 12px rgba(232, 76, 39, 0.12);
    transform: translateY(-5px);
}

.stuco-candidate-card:focus-visible {
    outline: 3px solid rgba(212, 175, 55, 0.75);
    outline-offset: 4px;
}

.stuco-candidate-photo-wrap {
    border-bottom: 1px solid rgba(4, 64, 97, 0.1);
    box-shadow: inset 0 -12px 22px rgba(4, 64, 97, 0.08);
}

.stuco-candidate-copy {
    display: flex;
    min-height: 128px;
    flex-direction: column;
    align-items: center;
    padding: 14px 12px 16px;
    text-align: center;
}

.stuco-candidate-copy h5 {
    line-height: 1.3;
}

.stuco-candidate-position,
.stuco-candidate-class {
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.stuco-candidate-position {
    margin-top: 8px;
    color: var(--public-orange);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.stuco-candidate-class {
    margin-top: 5px;
    color: var(--public-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.stuco-photo-status {
    margin-top: auto;
    padding-top: 7px;
}

.live-results-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-top: 20px;
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 28px;
    padding: clamp(38px, 6vw, 72px) clamp(24px, 5vw, 66px);
    background:
        radial-gradient(circle at 92% 8%, rgba(232, 76, 39, 0.2), transparent 29%),
        radial-gradient(circle at 4% 96%, rgba(212, 175, 55, 0.12), transparent 28%),
        linear-gradient(135deg, #044061 0%, #043a56 48%, #032d45 100%);
    box-shadow: 0 20px 52px rgba(4, 64, 97, 0.18);
}

.live-results-hero::before {
    position: absolute;
    z-index: -1;
    top: -140px;
    right: -100px;
    width: 380px;
    height: 380px;
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 50%;
    box-shadow: 0 0 0 30px rgba(212, 175, 55, 0.04), 0 0 0 60px rgba(212, 175, 55, 0.025);
    content: "";
}

.live-date-card {
    position: relative;
    overflow: hidden;
    border-color: rgba(255, 255, 255, 0.22);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.live-date-card::after {
    position: absolute;
    right: -38px;
    bottom: -56px;
    width: 138px;
    height: 138px;
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 50%;
    content: "";
}

.live-summary-card {
    position: relative;
    overflow: hidden;
    min-height: 108px;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(4, 64, 97, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.live-summary-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--public-orange), var(--public-gold));
    content: "";
}

.live-summary-card:hover {
    box-shadow: 0 18px 34px rgba(4, 64, 97, 0.13);
    transform: translateY(-3px);
}

.live-results-heading {
    align-items: center;
    border-bottom: 1px solid var(--public-line);
    padding-bottom: 18px;
}

.live-position-card {
    border-radius: 18px;
    box-shadow: 0 14px 32px rgba(4, 64, 97, 0.09);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.live-position-card:hover {
    box-shadow: 0 20px 38px rgba(4, 64, 97, 0.14);
    transform: translateY(-3px);
}

.live-candidate-list {
    gap: 14px;
}

.live-candidate-row {
    grid-template-columns: minmax(160px, 0.82fr) minmax(180px, 1.18fr);
    gap: 16px;
    align-items: center;
    border: 1px solid rgba(4, 64, 97, 0.1);
    border-radius: 14px;
    padding: 12px;
    background: linear-gradient(110deg, #ffffff, #f8fbfc);
    box-shadow: 0 7px 18px rgba(4, 64, 97, 0.06);
}

.live-candidate-identity {
    gap: 13px;
}

.live-candidate-identity img {
    flex: 0 0 70px;
    width: 70px;
    height: 88px;
    border: 2px solid #ffffff;
    border-radius: 11px;
    box-shadow: 0 7px 16px rgba(4, 64, 97, 0.2);
}

.live-candidate-identity strong {
    display: block;
    overflow: visible;
    line-height: 1.3;
    text-overflow: clip;
    white-space: normal;
}

.live-candidate-class {
    display: block;
    margin-top: 5px;
    color: var(--public-muted);
    font-size: 0.74rem;
    font-weight: 700;
}

.live-candidate-score {
    min-width: 0;
}

.live-score-track {
    height: 10px;
    box-shadow: inset 0 1px 3px rgba(4, 64, 97, 0.12);
}

.live-score-track span {
    min-width: 0;
    animation: stuco-progress-in 700ms ease both;
}

.stuco-candidate-card,
.live-summary-card,
.live-position-card {
    animation: stuco-rise-in 500ms ease both;
}

.stuco-candidate-card:nth-child(2),
.live-position-card:nth-child(2) { animation-delay: 60ms; }
.stuco-candidate-card:nth-child(3),
.live-position-card:nth-child(3) { animation-delay: 120ms; }
.stuco-candidate-card:nth-child(4),
.live-position-card:nth-child(4) { animation-delay: 180ms; }

@keyframes stuco-rise-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes stuco-progress-in {
    from { transform: scaleX(0); transform-origin: left; }
    to { transform: scaleX(1); transform-origin: left; }
}

.stuco-candidate-dialog {
    width: min(720px, calc(100% - 28px));
    max-width: 720px;
    border: 0;
    border-radius: 22px;
    padding: 0;
    color: var(--public-ink);
    background: #ffffff;
    box-shadow: 0 28px 90px rgba(4, 64, 97, 0.3);
}

.stuco-candidate-dialog::backdrop {
    background: rgba(3, 35, 52, 0.72);
    backdrop-filter: blur(4px);
}

.stuco-dialog-layout {
    display: grid;
    grid-template-columns: minmax(200px, 0.8fr) minmax(0, 1.2fr);
    gap: 26px;
    align-items: center;
    padding: 28px;
}

.stuco-dialog-photo-wrap {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 16px;
    background: #dce7eb;
    box-shadow: 0 14px 30px rgba(4, 64, 97, 0.16);
}

.stuco-dialog-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
}

.stuco-dialog-copy h2 {
    margin: 0;
    color: var(--public-ink);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.7rem, 4vw, 2.8rem);
    line-height: 1.08;
}

.stuco-dialog-position {
    margin: 14px 0 0;
    color: var(--public-orange);
    font-weight: 900;
    text-transform: uppercase;
}

.stuco-dialog-class {
    margin: 8px 0 0;
    color: var(--public-muted);
    font-weight: 700;
}

.stuco-dialog-close {
    position: absolute;
    z-index: 1;
    top: 12px;
    right: 12px;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid rgba(4, 64, 97, 0.14);
    border-radius: 50%;
    color: var(--public-ink);
    background: #ffffff;
    cursor: pointer;
    font-size: 1.45rem;
    line-height: 1;
}

@media (max-width: 760px) {
    .stuco-election-heading,
    .stuco-position-heading {
        flex-direction: column;
    }

    .live-candidate-row {
        grid-template-columns: 1fr;
    }

    .live-candidate-score {
        padding-left: 83px;
    }

    .stuco-candidate-grid {
        grid-template-columns: repeat(auto-fit, minmax(155px, 190px));
    }

    .stuco-position-block.has-multiple-candidates .stuco-candidate-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .stuco-dialog-layout {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 22px;
    }

    .stuco-dialog-photo-wrap {
        width: min(210px, 72vw);
        margin: 0 auto;
    }

    .live-candidate-identity img {
        flex-basis: 64px;
        width: 64px;
        height: 80px;
    }

    .live-candidate-score {
        padding-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .stuco-candidate-card,
    .live-summary-card,
    .live-position-card,
    .live-score-track span {
        animation: none;
        transition: none;
    }
}

/* President tickets: the vote and the public presentation represent the
 * President and running mate as one clear team. */
.stuco-ticket-grid {
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    width: min(100%, 1020px);
    margin-right: auto;
    margin-left: auto;
}

.stuco-ticket-card {
    width: 100%;
    padding: 16px;
    border-color: rgba(4, 64, 97, 0.18);
    background: linear-gradient(145deg, #ffffff 0%, #f3f8fa 100%);
}

.stuco-ticket-kicker,
.ballot-ticket-label {
    display: block;
    color: var(--public-orange, var(--accent));
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.stuco-ticket-people {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    margin-top: 13px;
}

.stuco-ticket-person {
    display: grid;
    min-width: 0;
    gap: 9px;
}

.stuco-ticket-photo-wrap {
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 12px;
    background: #dce7eb;
    box-shadow: 0 8px 18px rgba(4, 64, 97, 0.14);
}

.stuco-ticket-person-copy {
    display: grid;
    min-width: 0;
    gap: 4px;
    text-align: center;
}

.stuco-ticket-person-copy strong {
    color: var(--public-ink);
    font-size: 0.86rem;
    line-height: 1.2;
}

.stuco-ticket-person-copy small {
    color: var(--public-muted);
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.3;
}

.stuco-ticket-plus,
.ballot-ticket-plus,
.review-ticket-plus,
.live-ticket-plus {
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    align-self: center;
    border-radius: 50%;
    color: #ffffff;
    background: var(--brand, #044061);
    font-size: 1rem;
    font-weight: 900;
}

.stuco-ticket-footer,
.ballot-ticket-note {
    display: block;
    margin-top: 14px;
    color: var(--public-muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-align: center;
}

.ballot-ticket-choice {
    grid-template-columns: 18px minmax(0, 1fr) !important;
    min-height: 0 !important;
    padding: 16px !important;
}

.ballot-ticket-choice > span,
.ballot-ticket-choice .ballot-ticket-content,
.ballot-ticket-choice .ballot-ticket-people,
.ballot-ticket-choice .ballot-ticket-person,
.ballot-ticket-choice .ballot-ticket-person-copy {
    padding: 0;
}

.ballot-ticket-content {
    display: grid;
    min-width: 0;
    gap: 10px;
}

.ballot-ticket-people {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

.ballot-ticket-person {
    display: grid !important;
    min-width: 0;
    gap: 8px;
}

.ballot-ticket-person .choice-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    border-radius: 10px;
    object-fit: cover;
}

.ballot-ticket-person-copy {
    display: grid !important;
    gap: 3px !important;
    text-align: center;
}

.ballot-ticket-person-copy strong {
    color: var(--ink);
    font-size: 0.84rem;
    line-height: 1.2;
}

.ballot-ticket-person-copy small {
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.3;
}

.review-ticket-card {
    padding: 16px;
}

.review-ticket-people {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.review-ticket-person {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.review-ticket-person img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.review-ticket-person div {
    display: grid;
    gap: 3px;
}

.review-ticket-person strong {
    line-height: 1.2;
}

.review-ticket-person small {
    color: var(--muted);
    font-weight: 700;
    line-height: 1.3;
}

.live-ticket-identity {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.live-ticket-person {
    display: flex;
    min-width: 0;
    gap: 10px;
    align-items: center;
}

.live-ticket-person img {
    flex: 0 0 56px;
    width: 56px;
    height: 70px;
    object-fit: cover;
    border-radius: 9px;
    box-shadow: 0 6px 14px rgba(4, 64, 97, 0.14);
}

.live-ticket-person > div {
    min-width: 0;
}

.live-candidate-role {
    display: block;
    margin-top: 4px;
    color: var(--public-orange);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.stuco-dialog-people {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.stuco-dialog-person {
    display: grid;
    min-width: 0;
    gap: 10px;
}

.stuco-dialog-person[hidden],
.stuco-dialog-plus[hidden] {
    display: none;
}

.stuco-dialog-person-copy {
    display: grid;
    gap: 4px;
    text-align: center;
}

.stuco-dialog-role {
    color: var(--public-orange);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.stuco-dialog-person-name {
    color: var(--public-ink);
    line-height: 1.2;
}

.stuco-dialog-person-class {
    color: var(--public-muted);
    font-size: 0.76rem;
    font-weight: 700;
}

@media (max-width: 760px) {
    .stuco-ticket-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stuco-ticket-card {
        padding: 11px;
    }

    .stuco-ticket-people,
    .ballot-ticket-people,
    .review-ticket-people {
        gap: 7px;
    }

    .stuco-ticket-person-copy strong,
    .ballot-ticket-person-copy strong {
        font-size: 0.74rem;
    }

    .stuco-ticket-person-copy small,
    .ballot-ticket-person-copy small {
        font-size: 0.62rem;
    }

    .live-ticket-identity {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .live-ticket-identity + .live-candidate-score {
        padding-left: 0;
    }

    .live-ticket-plus {
        display: none;
    }
}

@media (max-width: 520px) {
    .stuco-ticket-grid {
        grid-template-columns: 1fr;
    }

    .stuco-dialog-people {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        gap: 7px;
    }

    .stuco-dialog-person-name {
        font-size: 0.82rem;
    }

    .stuco-dialog-person-class {
        font-size: 0.68rem;
    }
}

.election-actions {
    display: grid;
    min-width: 245px;
    justify-items: end;
    gap: 10px;
}

.unopposed-dashboard-panel {
    width: min(100%, 340px);
    padding: 11px 12px;
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 10px;
    background: #fffaf0;
}

.unopposed-dashboard-heading {
    display: flex;
    gap: 7px;
    align-items: center;
    color: #765400;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.unopposed-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d4af37;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.16);
}

.unopposed-dashboard-list {
    display: grid;
    gap: 8px;
    margin-top: 9px;
}

.unopposed-dashboard-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 2px;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid rgba(212, 175, 55, 0.22);
}

.unopposed-dashboard-item img {
    width: 42px;
    height: 52px;
    grid-row: span 3;
    border-radius: 7px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(4, 64, 97, 0.12);
}

.unopposed-dashboard-item > div {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.unopposed-dashboard-item span,
.unopposed-dashboard-item small {
    color: #8b6d27;
    font-size: 0.7rem;
}

.unopposed-dashboard-item span {
    font-weight: 800;
}

.unopposed-dashboard-item strong {
    color: #263746;
    font-size: 0.82rem;
}

.unopposed-dashboard-item small {
    font-weight: 700;
}

.stuco-ticket-lead .stuco-ticket-photo-wrap {
    border: 3px solid var(--public-orange, var(--accent));
    box-shadow: 0 10px 24px rgba(232, 76, 39, 0.2), 0 7px 16px rgba(4, 64, 97, 0.13);
}

.stuco-ticket-lead .stuco-ticket-person-copy strong {
    font-size: 0.98rem;
}

.debate-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
    gap: 36px;
    min-height: 510px;
    align-items: center;
    overflow: hidden;
    border-radius: 30px;
    color: #ffffff;
    background:
        radial-gradient(circle at 78% 28%, rgba(212, 175, 55, 0.2), transparent 28%),
        linear-gradient(132deg, #043a58 0%, #075a75 58%, #0d7184 100%);
    box-shadow: 0 24px 60px rgba(4, 64, 97, 0.18);
}

.debate-hero-copy {
    position: relative;
    z-index: 1;
    padding: 62px 0 62px 62px;
}

.debate-hero .public-eyebrow {
    color: #f1d475;
}

.debate-hero .public-heading {
    max-width: 720px;
    margin-top: 14px;
    color: #ffffff;
    font-size: clamp(3rem, 6vw, 5.7rem);
    line-height: 0.97;
}

.debate-hero .public-heading em {
    color: #f1d475;
    font-style: normal;
}

.debate-hero .public-copy {
    max-width: 610px;
    color: rgba(255, 255, 255, 0.82);
}

.debate-hero-date {
    display: inline-grid;
    gap: 3px;
    margin-top: 22px;
    padding: 10px 14px;
    border-left: 3px solid #f1d475;
    background: rgba(3, 35, 52, 0.22);
}

.debate-hero-date span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.debate-hero-date strong {
    color: #ffffff;
    font-size: 0.94rem;
}

.debate-hero .public-btn:not(.public-btn-primary) {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.1);
}

.debate-hero-art {
    position: relative;
    min-height: 430px;
    isolation: isolate;
}

.debate-hero-art::before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 315px;
    height: 315px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 50%;
    content: '';
    transform: translate(-50%, -50%);
}

.debate-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    border: 1px solid rgba(241, 212, 117, 0.45);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(-26deg);
}

.debate-orbit-one {
    width: 400px;
    height: 180px;
}

.debate-orbit-two {
    width: 180px;
    height: 400px;
    transform: translate(-50%, -50%) rotate(30deg);
}

.debate-hero-mark {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 154px;
    height: 154px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 50%;
    color: #f1d475;
    background: rgba(3, 35, 52, 0.42);
    box-shadow: 0 0 0 18px rgba(255, 255, 255, 0.04), 0 20px 50px rgba(3, 35, 52, 0.28);
    font-family: Georgia, serif;
    font-size: 6rem;
    font-weight: 700;
    transform: translate(-50%, -50%);
}

.debate-hero-note {
    position: absolute;
    display: grid;
    gap: 4px;
    max-width: 155px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(3, 35, 52, 0.3);
    backdrop-filter: blur(8px);
}

.debate-hero-note small {
    color: #f1d475;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.debate-hero-note strong {
    color: #ffffff;
    font-size: 0.85rem;
    line-height: 1.2;
}

.debate-hero-note-top {
    top: 16%;
    right: 6%;
}

.debate-hero-note-bottom {
    right: 12%;
    bottom: 11%;
}

.debate-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.88fr);
    gap: 70px;
    align-items: end;
}

.debate-intro-grid .public-heading {
    max-width: 580px;
}

.debate-intro-copy {
    padding-bottom: 7px;
}

.debate-timing-note {
    margin-top: 20px;
    color: var(--public-orange);
    font-size: 0.8rem;
    font-weight: 800;
}

.debate-programme-section,
.debate-tickets-section {
    border-radius: 26px;
    background: linear-gradient(145deg, #f5fafb 0%, #ffffff 65%);
}

.debate-section-heading {
    display: flex;
    gap: 24px;
    align-items: end;
    justify-content: space-between;
}

.debate-section-heading .public-heading {
    margin-bottom: 0;
}

.debate-section-stamp {
    padding: 9px 13px;
    border: 1px solid rgba(212, 175, 55, 0.55);
    border-radius: 999px;
    color: #8b6d27;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.debate-programme-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 30px;
}

.debate-programme-item {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) 24px;
    gap: 16px;
    align-items: start;
    padding: 20px;
    border: 1px solid rgba(4, 64, 97, 0.12);
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(4, 64, 97, 0.06);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.debate-programme-item:hover {
    box-shadow: 0 16px 30px rgba(4, 64, 97, 0.12);
    transform: translateY(-3px);
}

.debate-programme-number {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 12px;
    color: #ffffff;
    background: var(--brand, #044061);
    font-family: Georgia, serif;
    font-size: 1.2rem;
    font-weight: 700;
}

.debate-programme-label {
    margin: 0 0 5px;
    color: var(--public-orange);
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.debate-programme-item h3 {
    margin: 0;
    color: var(--public-ink);
    font-size: 1.05rem;
}

.debate-programme-time {
    display: block;
    margin: 1px 0 6px;
    color: var(--public-ink);
    font-size: 0.78rem;
    font-weight: 900;
}

.debate-programme-description {
    margin: 7px 0 0;
    color: var(--public-muted);
    font-size: 0.84rem;
    line-height: 1.55;
}

.debate-programme-speaker {
    display: block;
    margin-top: 9px;
    color: var(--public-orange);
    font-size: 0.72rem;
    font-weight: 800;
}

.debate-programme-arrow {
    color: var(--public-orange);
    font-size: 1.2rem;
}

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

.debate-ticket-card {
    padding: 18px;
    border: 1px solid rgba(4, 64, 97, 0.13);
    border-radius: 17px;
    background: #ffffff;
    box-shadow: 0 12px 26px rgba(4, 64, 97, 0.08);
}

.debate-ticket-photos {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 8px;
    align-items: center;
}

.debate-ticket-photos img {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 10px;
    object-fit: cover;
}

.debate-ticket-photos img:first-child {
    border: 3px solid var(--public-orange);
}

.debate-ticket-photos span {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: var(--brand, #044061);
    font-weight: 900;
}

.debate-ticket-card .debate-programme-label {
    margin-top: 17px;
}

.debate-ticket-card h3 {
    margin: 0;
    color: var(--public-ink);
    font-size: 1.08rem;
    line-height: 1.25;
}

.debate-ticket-card h3 span {
    color: var(--public-orange);
}

.debate-ticket-card > p:last-child {
    margin: 8px 0 0;
    color: var(--public-muted);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.45;
}

.debate-ticket-card > p:last-child span {
    color: var(--public-orange);
}

.debate-closing-card {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: space-between;
    padding: 40px 46px;
    overflow: hidden;
    border-radius: 22px;
    color: #ffffff;
    background: linear-gradient(120deg, #043a58, #075a75);
    box-shadow: 0 18px 40px rgba(4, 64, 97, 0.15);
}

.debate-closing-card .public-heading {
    margin: 0;
    color: #ffffff;
}

@media (max-width: 900px) {
    .debate-hero {
        grid-template-columns: 1fr;
    }

    .debate-hero-copy {
        padding: 48px 38px 0;
    }

    .debate-hero-art {
        min-height: 350px;
    }

    .debate-ticket-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .election-actions {
        width: 100%;
        min-width: 0;
        justify-items: stretch;
    }

    .election-actions .row-actions {
        justify-content: flex-start;
    }

    .unopposed-dashboard-panel {
        width: 100%;
    }

    .debate-intro-grid,
    .debate-programme-list {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .debate-intro-grid {
        gap: 12px;
    }

    .debate-section-heading,
    .debate-closing-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .debate-closing-card {
        padding: 30px 24px;
    }
}

@media (max-width: 520px) {
    .debate-hero-copy {
        padding: 38px 24px 0;
    }

    .debate-hero-art {
        min-height: 300px;
        transform: scale(0.86);
    }

    .debate-hero-art::before {
        width: 260px;
        height: 260px;
    }

    .debate-orbit-one {
        width: 330px;
        height: 145px;
    }

    .debate-orbit-two {
        width: 145px;
        height: 330px;
    }

    .debate-hero-note-top {
        right: 0;
    }

    .debate-hero-note-bottom {
        right: 0;
    }

    .debate-programme-item {
        grid-template-columns: 44px minmax(0, 1fr) 18px;
        gap: 11px;
        padding: 15px;
    }

    .debate-programme-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Debate page: compact schedule-first layout. */
.debate-page {
    background: linear-gradient(180deg, rgba(236, 247, 248, 0.55), rgba(255, 255, 255, 0) 34%);
}

.debate-page .public-section {
    padding-top: 48px;
    padding-bottom: 48px;
}

.debate-page .debate-hero {
    min-height: 438px;
    grid-template-columns: minmax(0, 1fr) minmax(290px, 0.78fr);
    gap: 18px;
    border-radius: 24px;
}

.debate-page .debate-hero-copy {
    padding: 52px 0 52px 56px;
}

.debate-page .debate-hero .public-heading {
    max-width: 580px;
    font-size: clamp(3rem, 6vw, 5.2rem);
}

.debate-page .debate-hero .public-copy {
    margin-top: 14px;
    font-size: 1.02rem;
}

.debate-event-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    max-width: 430px;
    margin-top: 24px;
}

.debate-event-meta div {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border-left: 2px solid #f1d475;
    background: rgba(3, 35, 52, 0.24);
}

.debate-event-meta span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.debate-event-meta strong {
    color: #ffffff;
    font-size: 0.84rem;
    line-height: 1.3;
}

.debate-page .debate-hero .public-actions {
    margin-top: 22px;
}

.debate-page .debate-hero-art {
    min-height: 390px;
}

.debate-page .debate-programme-section {
    border: 1px solid rgba(4, 64, 97, 0.1);
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(4, 64, 97, 0.08);
}

.debate-page .debate-section-heading {
    align-items: center;
}

.debate-page .debate-section-heading .public-eyebrow {
    margin-bottom: 6px;
}

.debate-page .debate-section-heading .public-heading {
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.debate-page .debate-programme-list {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
}

.debate-page .debate-programme-item {
    grid-template-columns: 48px minmax(150px, 0.34fr) minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    min-height: 76px;
    padding: 14px 18px;
    border-radius: 12px;
    box-shadow: none;
}

.debate-page .debate-programme-item:hover {
    box-shadow: 0 10px 24px rgba(4, 64, 97, 0.1);
}

.debate-page .debate-programme-item.is-featured {
    border-color: rgba(4, 64, 97, 0.3);
    background: #f1f8f9;
}

.debate-page .debate-programme-item.is-briefing {
    border-color: rgba(241, 120, 54, 0.48);
    background: #fffaf1;
    box-shadow: inset 4px 0 0 var(--public-orange);
}

.debate-page .debate-programme-number {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    font-size: 1.05rem;
}

.debate-page .debate-programme-time {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.35;
}

.debate-programme-content h3 {
    font-size: 1rem;
    line-height: 1.3;
}

.debate-page .debate-programme-speaker {
    margin-top: 5px;
    font-size: 0.7rem;
}

.debate-followup-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 34px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 18px;
    background: linear-gradient(110deg, #fffdf5, #ffffff);
}

.debate-followup-card .public-eyebrow {
    margin-bottom: 4px;
}

.debate-followup-card .public-heading {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.debate-followup-card > strong {
    color: var(--public-ink);
    font-size: 1rem;
}

@media (max-width: 900px) {
    .debate-page .debate-hero-copy {
        padding: 46px 38px 0;
    }

    .debate-page .debate-hero-art {
        min-height: 330px;
    }
}

@media (max-width: 760px) {
    .debate-page .public-section {
        padding-top: 34px;
        padding-bottom: 34px;
    }

    .debate-page .debate-hero-copy {
        padding: 40px 28px 0;
    }

    .debate-page .debate-programme-item {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 5px 14px;
        align-items: start;
        padding: 14px;
    }

    .debate-page .debate-programme-number {
        grid-row: 1 / span 2;
        width: 40px;
        height: 40px;
    }

    .debate-page .debate-programme-time {
        grid-column: 2;
        grid-row: 1;
    }

    .debate-page .debate-programme-content {
        grid-column: 2;
        grid-row: 2;
    }

    .debate-followup-card {
        align-items: flex-start;
        flex-direction: column;
        padding: 24px;
    }
}

@media (max-width: 520px) {
    .debate-event-meta {
        grid-template-columns: 1fr;
    }

    .debate-page .debate-hero-art {
        min-height: 290px;
    }
}

/* Nominees: direct, compact roster with one clear unopposed section. */
.nominees-page-content {
    background: linear-gradient(180deg, rgba(238, 247, 248, 0.65), rgba(255, 255, 255, 0) 42%);
}

.nominees-page-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    padding-top: 38px;
    padding-bottom: 18px;
}

.nominees-page-heading .public-eyebrow {
    margin-bottom: 6px;
}

.nominees-page-heading .public-heading {
    font-size: clamp(2.35rem, 5vw, 4rem);
}

.stuco-roster-section {
    padding-top: 18px;
}

.stuco-roster-section > .stuco-election-heading {
    justify-content: flex-start;
    border-bottom: 1px solid var(--public-line);
    padding-bottom: 18px;
}

.stuco-roster-section > .stuco-election-heading h2 {
    margin: 0;
    color: var(--public-ink);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.stuco-roster-section .stuco-roster {
    gap: 22px;
    margin-top: 22px;
}

.stuco-roster-section .stuco-position-block {
    border-radius: 18px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 28px rgba(4, 64, 97, 0.06);
}

.stuco-roster-section .stuco-position-heading {
    border-bottom: 1px solid rgba(4, 64, 97, 0.1);
    padding-bottom: 12px;
}

.stuco-roster-section .stuco-position-heading h3 {
    margin: 0;
    color: var(--public-ink);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.35rem;
}

.stuco-roster-section .stuco-position-heading > span {
    padding: 5px 9px;
    border-radius: 999px;
    color: var(--brand);
    background: #edf5f7;
    font-size: 0.68rem;
}

.stuco-roster-section .stuco-candidate-grid {
    margin-top: 18px;
}

.stuco-ticket-people,
.ballot-ticket-people,
.review-ticket-people {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

.stuco-ticket-mate,
.ballot-ticket-mate,
.review-ticket-mate {
    border-left: 1px solid rgba(4, 64, 97, 0.16);
    padding-left: 14px;
}

.stuco-ticket-lead .stuco-ticket-photo-wrap {
    border: 3px solid var(--public-orange, var(--accent));
    box-shadow: 0 12px 26px rgba(232, 76, 39, 0.18), 0 8px 18px rgba(4, 64, 97, 0.14);
}

.stuco-ticket-lead .stuco-ticket-person-copy strong,
.ballot-ticket-lead .ballot-ticket-person-copy strong,
.review-ticket-lead strong {
    font-size: 1rem;
}

.stuco-ticket-mate .stuco-ticket-photo-wrap,
.ballot-ticket-mate .choice-photo,
.review-ticket-mate img {
    opacity: 0.86;
}

.ballot-ticket-people .ballot-ticket-lead,
.review-ticket-people .review-ticket-lead {
    border-left: 3px solid var(--public-orange, var(--accent));
    padding-left: 10px;
}

.live-ticket-identity {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

.live-ticket-lead {
    border-left: 3px solid var(--public-orange, var(--accent));
    padding-left: 10px;
}

.live-ticket-mate {
    border-left: 1px solid rgba(4, 64, 97, 0.16);
    padding-left: 14px;
    opacity: 0.86;
}

.stuco-dialog-people {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

.stuco-dialog-lead .stuco-dialog-photo-wrap {
    border: 3px solid var(--public-orange, var(--accent));
}

.stuco-dialog-mate {
    border-left: 1px solid rgba(4, 64, 97, 0.16);
    padding-left: 14px;
    opacity: 0.86;
}

.stuco-unopposed-section {
    margin-top: 34px;
    border-top: 1px solid rgba(212, 175, 55, 0.45);
    padding-top: 28px;
}

.stuco-unopposed-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}

.stuco-unopposed-heading .public-eyebrow {
    margin-bottom: 5px;
    color: #9b7520;
}

.stuco-unopposed-heading h2 {
    margin: 0;
    color: var(--public-ink);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.stuco-unopposed-heading > span {
    padding: 7px 11px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 999px;
    color: #8b6d27;
    background: #fffaf0;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

.stuco-unopposed-card {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(212, 175, 55, 0.38);
    border-radius: 16px;
    color: inherit;
    background: linear-gradient(110deg, #fffdf6, #ffffff);
    box-shadow: 0 10px 24px rgba(4, 64, 97, 0.07);
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.stuco-unopposed-card:hover {
    border-color: rgba(212, 175, 55, 0.7);
    box-shadow: 0 16px 30px rgba(4, 64, 97, 0.12);
    transform: translateY(-3px);
}

.stuco-unopposed-card:focus-visible {
    outline: 3px solid rgba(212, 175, 55, 0.75);
    outline-offset: 3px;
}

.stuco-unopposed-photo-wrap {
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 11px;
    background: #dce7eb;
    box-shadow: 0 7px 16px rgba(4, 64, 97, 0.16);
}

.stuco-unopposed-copy {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.stuco-unopposed-copy strong,
.stuco-unopposed-copy > span:not(.stuco-unopposed-badge),
.stuco-unopposed-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.stuco-unopposed-copy strong {
    color: var(--public-ink);
    font-size: 0.95rem;
    line-height: 1.25;
}

.stuco-unopposed-copy > span:not(.stuco-unopposed-badge) {
    color: var(--public-orange);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.stuco-unopposed-copy small {
    color: var(--public-muted);
    font-size: 0.75rem;
    font-weight: 700;
}

.stuco-unopposed-badge {
    width: max-content;
    padding: 3px 7px;
    border-radius: 999px;
    color: #8b6d27;
    background: #fff1bf;
    font-size: 0.6rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (max-width: 760px) {
    .nominees-page-heading {
        align-items: start;
        flex-direction: column;
        padding-top: 28px;
    }

    .stuco-unopposed-heading {
        align-items: start;
        flex-direction: column;
    }

    .stuco-ticket-people,
    .ballot-ticket-people,
    .review-ticket-people,
    .stuco-dialog-people {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    }

    .live-ticket-identity {
        grid-template-columns: 1fr;
    }

    .live-ticket-mate {
        border-top: 1px solid rgba(4, 64, 97, 0.16);
        border-left: 0;
        padding-top: 10px;
        padding-left: 0;
    }
}

@media (max-width: 520px) {
    .stuco-roster-section .stuco-position-block {
        padding: 14px;
    }

    .stuco-ticket-mate,
    .ballot-ticket-mate,
    .review-ticket-mate,
    .stuco-dialog-mate {
        padding-left: 9px;
    }

    .stuco-ticket-lead .stuco-ticket-person-copy strong,
    .ballot-ticket-lead .ballot-ticket-person-copy strong,
    .review-ticket-lead strong {
        font-size: 0.84rem;
    }
}

/* Live President results: give each ticket a full-width, readable team panel. */
.live-position-card-president {
    grid-column: 1 / -1;
    border-color: rgba(4, 64, 97, 0.2);
    background: linear-gradient(145deg, #f5fafb 0%, #ffffff 60%);
}

.live-position-card-president .live-position-card-heading {
    padding-bottom: 18px;
}

.live-position-card-president .live-position-card-heading h3 {
    font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.live-position-card-president .live-candidate-list {
    gap: 14px;
}

.live-candidate-row-ticket {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 15px;
    border: 1px solid rgba(4, 64, 97, 0.12);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(4, 64, 97, 0.07);
}

.live-candidate-row-ticket .live-ticket-identity {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
    gap: 14px;
    align-items: stretch;
}

.live-candidate-row-ticket .live-ticket-person {
    min-height: 112px;
    padding: 11px;
    border: 1px solid rgba(4, 64, 97, 0.12);
    border-radius: 14px;
    background: #f8fbfc;
}

.live-candidate-row-ticket .live-ticket-lead {
    border: 2px solid rgba(232, 76, 39, 0.55);
    border-left-width: 5px;
    background: #fffaf7;
    box-shadow: 0 8px 20px rgba(232, 76, 39, 0.1);
}

.live-candidate-row-ticket .live-ticket-mate {
    border: 1px solid rgba(4, 64, 97, 0.12);
    padding-left: 11px;
    opacity: 0.86;
}

.live-candidate-row-ticket .live-ticket-person img {
    flex: 0 0 66px;
    width: 66px;
    height: 84px;
}

.live-candidate-row-ticket .live-ticket-lead img {
    flex-basis: 86px;
    width: 86px;
    height: 108px;
    border: 2px solid #ffffff;
    box-shadow: 0 6px 14px rgba(232, 76, 39, 0.16);
}

.live-candidate-row-ticket .live-ticket-person strong {
    display: block;
    font-size: 0.95rem;
    line-height: 1.25;
}

.live-candidate-row-ticket .live-ticket-lead strong {
    font-size: 1.08rem;
}

.live-candidate-row-ticket .live-ticket-person .live-candidate-role {
    margin-top: 5px;
}

.live-candidate-row-ticket .live-candidate-score {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 13px;
    padding: 0 3px;
}

.live-candidate-row-ticket .live-score-track {
    height: 10px;
}

@media (max-width: 760px) {
    .live-position-card-president {
        grid-column: auto;
    }

    .live-candidate-row-ticket .live-ticket-identity {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .live-candidate-row-ticket .live-ticket-mate {
        border-top: 1px solid rgba(4, 64, 97, 0.12);
        border-left: 1px solid rgba(4, 64, 97, 0.12);
        padding-top: 11px;
    }

    .live-candidate-row-ticket .live-candidate-score {
        padding-left: 0;
    }
}

@media (max-width: 520px) {
    .live-candidate-row-ticket .live-ticket-lead img {
        flex-basis: 74px;
        width: 74px;
        height: 94px;
    }

    .live-candidate-row-ticket .live-ticket-lead strong {
        font-size: 0.98rem;
    }
}

@media (max-width: 760px) {
    /* Keep each presidential pair together on its own mobile row. */
    .nominees-page-content .stuco-ticket-grid {
        grid-template-columns: minmax(0, 1fr);
        width: min(100%, 460px);
        margin-right: auto;
        margin-left: auto;
    }
}
