:root {
  --ink: #09080d;
  --ink-2: #12101b;
  --panel: #171420;
  --panel-2: #201b2d;
  --paper: #f7f4ed;
  --paper-2: #eee8dc;
  --white: #ffffff;
  --gold: #f5c451;
  --gold-dark: #c78d1c;
  --purple: #7d4dff;
  --violet: #b94cff;
  --pink: #f24e91;
  --cyan: #45d5e8;
  --green: #58d99c;
  --red: #ff6b77;
  --muted: #a8a1b6;
  --border-dark: rgba(255,255,255,.12);
  --border-light: #ded8ca;
  --shadow: 0 20px 60px rgba(8,7,13,.18);
  --radius: 22px;
  --radius-sm: 12px;
  --max: 1240px;
  --font-display: Arial Black, Impact, Haettenschweiler, sans-serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--paper); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }

.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); letter-spacing: -.04em; font-size: 22px; }
.brand > span:last-child > span { color: var(--gold); }
.brand-mark { display: inline-flex; align-items: end; gap: 3px; height: 27px; }
.brand-mark span { display: block; width: 5px; border-radius: 99px; background: currentColor; }
.brand-mark span:nth-child(1) { height: 14px; }
.brand-mark span:nth-child(2) { height: 26px; }
.brand-mark span:nth-child(3) { height: 19px; }
.brand-logo { display: block; width: auto; height: auto; filter: brightness(0) invert(1); }
.brand-logo--admin { width: 150px; max-height: 94px; }
.brand-logo--auth { width: 178px; max-height: 112px; }

.eyebrow { display: inline-block; color: #706a79; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow.gold { color: var(--gold); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; font-weight: 800; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.button:hover { transform: translateY(-1px); }
.button.primary { color: var(--ink); background: var(--gold); box-shadow: 0 12px 30px rgba(245,196,81,.2); }
.button.primary:hover { background: #ffd66f; }
.button.secondary { color: inherit; background: transparent; border-color: currentColor; opacity: .88; }
.button.full { width: 100%; }

.site-header { position: relative; z-index: 5; display: flex; justify-content: space-between; align-items: center; max-width: var(--max); margin: 0 auto; padding: 28px 28px; color: var(--white); }
.public-body { background: var(--ink); color: var(--white); }
.public-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 700; }
.public-nav a { opacity: .78; }
.public-nav a:hover { opacity: 1; }
.public-nav .nav-cta { padding: 11px 17px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; opacity: 1; }

.hero { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; min-height: 720px; max-width: var(--max); margin: -83px auto 0; padding: 150px 28px 80px; overflow: hidden; }
.hero:before { content: ""; position: absolute; inset: 55px 28px 0; border: 1px solid rgba(255,255,255,.08); border-radius: 36px; pointer-events: none; }
.hero-copy { position: relative; z-index: 2; align-self: center; max-width: 700px; padding: 45px 0 0 48px; }
.hero h1 { margin: 18px 0 24px; font-family: var(--font-display); font-size: clamp(62px, 7.2vw, 112px); line-height: .88; letter-spacing: -.075em; text-transform: uppercase; }
.hero h1 em { color: transparent; -webkit-text-stroke: 1.5px var(--gold); font-style: normal; }
.hero-copy > p { max-width: 650px; color: #c8c2d1; font-size: 19px; line-height: 1.65; }
.hero-actions { display: flex; gap: 14px; margin-top: 35px; }
.hero-art { position: relative; min-height: 540px; align-self: center; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .42; }
.hero-glow-one { width: 300px; height: 300px; right: 90px; top: 150px; background: var(--purple); }
.hero-glow-two { width: 220px; height: 220px; right: 280px; bottom: 20px; background: var(--pink); }
.award-orbit { position: absolute; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; }
.orbit-one { width: 430px; height: 430px; right: 8px; top: 50px; }
.orbit-two { width: 315px; height: 315px; right: 65px; top: 108px; border-color: rgba(245,196,81,.28); }
.microphone { position: absolute; z-index: 2; right: 137px; top: 107px; width: 170px; height: 390px; transform: rotate(12deg); filter: drop-shadow(0 30px 40px rgba(0,0,0,.38)); }
.mic-head { position: relative; width: 170px; height: 210px; border: 12px solid var(--gold); border-radius: 88px 88px 62px 62px; background: linear-gradient(155deg, #2c2340, #0e0b14 70%); overflow: hidden; }
.mic-head:before { content: ""; position: absolute; inset: 16px; border-radius: inherit; background: repeating-linear-gradient(90deg, rgba(255,255,255,.16) 0 2px, transparent 2px 14px); opacity: .45; }
.mic-head i { position: absolute; left: 20px; right: 20px; height: 3px; background: rgba(245,196,81,.55); z-index: 1; }
.mic-head i:nth-child(1) { top: 48px; }.mic-head i:nth-child(2) { top: 82px; }.mic-head i:nth-child(3) { top: 116px; }.mic-head i:nth-child(4) { top: 150px; }
.mic-stem { width: 24px; height: 130px; margin: -2px auto 0; border-radius: 0 0 20px 20px; background: linear-gradient(#fbd36e, #9d6712); }
.mic-base { width: 120px; height: 20px; margin: -4px auto 0; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 10px rgba(245,196,81,.1); }
.sound-wave { position: absolute; bottom: 68px; width: 8px; border-radius: 8px; background: linear-gradient(var(--pink), var(--purple)); }
.wave-a { left: 60px; height: 65px; }.wave-b { left: 84px; height: 125px; }.wave-c { left: 108px; height: 92px; }.wave-d { left: 132px; height: 155px; }

.status-strip { display: grid; grid-template-columns: 1fr 1fr 1fr auto; align-items: center; gap: 20px; max-width: calc(var(--max) - 56px); margin: 0 auto; padding: 22px 28px; border-top: 1px solid var(--border-dark); border-bottom: 1px solid var(--border-dark); }
.status-strip div { display: grid; gap: 5px; }
.status-strip span { color: #888094; font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.status-strip strong { font-size: 16px; }
.status-strip > a { color: var(--gold); font-weight: 800; }

.public-section { max-width: var(--max); margin: 0 auto; padding: 110px 28px; }
.intro-section { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; }
.public-section h2 { margin: 13px 0 0; font-family: var(--font-display); font-size: clamp(42px, 5vw, 76px); line-height: .95; letter-spacing: -.055em; text-transform: uppercase; }
.intro-section > p { margin: 0; color: #bdb5c8; font-size: 19px; line-height: 1.8; }
.category-showcase { padding-top: 40px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 25px; margin-bottom: 38px; }
.section-heading > a { color: var(--gold); font-weight: 800; }
.category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.category-tile { position: relative; min-height: 285px; padding: 32px; border: 1px solid var(--border-dark); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; background: #15121d; }
.category-tile:after { content: ""; position: absolute; width: 210px; height: 210px; right: -55px; bottom: -70px; border-radius: 50%; background: var(--tile-color); filter: blur(1px); opacity: .55; }
.tile-1 { --tile-color: var(--purple); }.tile-2 { --tile-color: var(--pink); }.tile-3 { --tile-color: var(--cyan); }.tile-4 { --tile-color: var(--gold); }
.category-number { color: rgba(255,255,255,.35); font-family: var(--font-display); font-size: 42px; }
.category-tile div { position: relative; z-index: 1; max-width: 70%; }
.category-tile h3 { margin: 0 0 10px; font-size: 27px; }
.category-tile p { color: #bdb5c8; line-height: 1.55; }
.category-tile strong { color: var(--gold); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.process-section { padding-top: 50px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 45px; background: var(--border-dark); border: 1px solid var(--border-dark); border-radius: var(--radius); overflow: hidden; }
.process-grid article { min-height: 250px; padding: 30px; background: var(--ink); }
.process-grid span { color: var(--gold); font-family: var(--font-display); font-size: 28px; }
.process-grid h3 { margin: 48px 0 10px; font-size: 22px; }
.process-grid p { color: #aaa3b4; line-height: 1.6; }
.page-hero { max-width: var(--max); margin: 0 auto; padding: 110px 28px 75px; }
.page-hero h1 { max-width: 920px; margin: 18px 0 22px; font-family: var(--font-display); font-size: clamp(54px, 7vw, 102px); line-height: .92; letter-spacing: -.065em; text-transform: uppercase; }
.page-hero p { max-width: 760px; color: #bcb5c8; font-size: 20px; line-height: 1.7; }
.category-list { padding-top: 20px; }
.category-list > h2 { margin: 70px 0 20px; font-size: 34px; }
.category-list article { display: flex; justify-content: space-between; gap: 30px; padding: 28px 0; border-top: 1px solid var(--border-dark); }
.category-list article span { color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.category-list article h3 { margin: 7px 0; font-size: 26px; }
.category-list article p { max-width: 760px; color: #a9a1b4; }
.category-list article > strong { white-space: nowrap; color: #827b8c; }
.prose { max-width: 860px; font-size: 20px; line-height: 1.85; color: #d2cbd9; }
.empty-state { color: #8f8799; }
.site-footer { display: grid; grid-template-columns: 1.5fr 1fr auto; gap: 50px; max-width: var(--max); margin: 30px auto 0; padding: 70px 28px 45px; border-top: 1px solid var(--border-dark); color: #948c9f; }
.footer-brand { color: var(--white); }
.site-footer p { max-width: 520px; line-height: 1.6; }
.footer-links { display: grid; grid-template-columns: repeat(2, auto); gap: 15px 40px; align-content: start; }
.copyright { text-align: right; }

/* Admin */
.admin-body, .auth-body { min-height: 100vh; background: var(--paper); color: var(--ink); }
.admin-shell { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: 100vh; }
.admin-sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 30px 22px; background: var(--ink); color: var(--white); }
.admin-brand { padding: 0 10px; }
.sidebar-label { margin: 12px 10px 30px; color: #756f80; font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.admin-nav { display: grid; gap: 6px; }
.admin-nav a { padding: 12px 14px; border-radius: 10px; color: #aaa3b4; font-size: 14px; font-weight: 700; }
.admin-nav a:hover, .admin-nav a.active { color: var(--white); background: rgba(255,255,255,.08); }
.admin-nav a.active { box-shadow: inset 3px 0 var(--gold); }
.nav-divider { height: 1px; margin: 15px 0; background: var(--border-dark); }
.sidebar-user { margin-top: auto; padding: 20px 10px 0; border-top: 1px solid var(--border-dark); display: grid; gap: 5px; }
.sidebar-user strong { font-size: 14px; }.sidebar-user span { color: #817a8b; font-size: 12px; }
.link-button { padding: 10px 0 0; border: 0; background: none; color: var(--gold); font-weight: 800; }
.admin-main { min-width: 0; }
.admin-topbar { padding: 34px 42px 22px; border-bottom: 1px solid var(--border-light); background: rgba(247,244,237,.95); }
.admin-topbar h1 { margin: 5px 0 0; font-size: 34px; letter-spacing: -.035em; }
.admin-content { padding: 32px 42px 60px; }
.alert { margin: 20px 42px 0; padding: 15px 18px; border-radius: var(--radius-sm); font-weight: 700; }
.alert.success { background: #e1f7ea; color: #16643e; border: 1px solid #b7e5ca; }
.alert.error { background: #ffe7e9; color: #912e39; border: 1px solid #ffc4ca; }
.dashboard-lead { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 30px; border-radius: var(--radius); background: var(--ink); color: var(--white); overflow: hidden; position: relative; }
.dashboard-lead:after { content: ""; position: absolute; right: -70px; top: -100px; width: 280px; height: 280px; border-radius: 50%; background: var(--purple); opacity: .35; }
.dashboard-lead > * { position: relative; z-index: 1; }
.dashboard-lead h2 { margin: 12px 0 8px; font-size: 30px; }
.dashboard-lead p { max-width: 780px; margin: 0; color: #aaa3b5; line-height: 1.6; }
.metric-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin: 20px 0; }
.metric-grid article { padding: 22px; border: 1px solid var(--border-light); border-radius: 16px; background: var(--white); }
.metric-grid span, .metric-grid small { display: block; color: #817a88; font-size: 12px; }
.metric-grid strong { display: block; margin: 8px 0 3px; font-size: 34px; letter-spacing: -.04em; }
.admin-grid { display: grid; gap: 20px; }
.admin-grid.two-one { grid-template-columns: minmax(0, 1.7fr) minmax(280px, .8fr); }
.panel { border: 1px solid var(--border-light); border-radius: var(--radius); background: var(--white); box-shadow: 0 8px 28px rgba(41,35,55,.04); overflow: hidden; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 22px; }
.panel-heading h2 { margin: 6px 0 0; font-size: 23px; letter-spacing: -.025em; }
.form-section { padding: 28px; margin-bottom: 20px; }
.form-section.compact { align-self: start; }
.readiness-list { display: grid; }
.readiness-list > a, .readiness-list > span { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 15px; padding: 18px 25px; border-top: 1px solid var(--border-light); }
.readiness-list > a:hover { background: #fbf9f5; }
.readiness-list strong, .readiness-list small { display: block; }.readiness-list small { margin-top: 4px; color: #837c88; }
.readiness-list b { color: var(--gold-dark); font-size: 12px; }
.step-dot { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: var(--paper-2); font-weight: 900; }
.step-dot.ready { background: #e2f8ec; color: #16734a; }.step-dot.future { background: #efecf3; color: #7d7588; }
.activity-list { padding: 0 24px 20px; }
.activity-list article { display: grid; grid-template-columns: 10px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--border-light); }
.activity-list article > span { width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--gold); }
.activity-list strong, .activity-list small { display: block; }.activity-list small { margin-top: 4px; color: #8e8792; }
.page-actions { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-bottom: 22px; }
.page-actions p { max-width: 760px; margin: 0; color: #746e79; line-height: 1.55; }
.table-panel { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th { padding: 15px 18px; background: #f1ede5; color: #726b77; text-align: left; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; }
.data-table td { padding: 18px; border-top: 1px solid var(--border-light); vertical-align: middle; }
.data-table td strong, .data-table td small { display: block; }.data-table td small { margin-top: 4px; color: #8b8490; }
.row-muted { opacity: .55; }
.text-link { color: #5f35d1; font-weight: 800; white-space: nowrap; }
.tag { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 999px; background: #eee9f5; color: #5c4a77; font-size: 11px; font-weight: 800; }
.tag.muted { background: #ece9e4; color: #77716d; }.tag.success-tag { background: #dff5e8; color: #276845; }
.status-pill { display: inline-flex; align-items: center; width: fit-content; padding: 6px 10px; border-radius: 999px; background: #ece8f3; color: #5d526e; font-size: 11px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.status-pill.active, .status-pill.published, .status-pill.winners_published, .status-pill.voting_open, .status-pill.nominations_open { background: #def6e8; color: #176542; }
.status-pill.disabled, .status-pill.archived, .status-pill.voting_closed, .status-pill.nominations_closed { background: #eeeae5; color: #756f69; }
.status-pill.integrity_review, .status-pill.eligibility_review, .status-pill.finalist_review { background: #fff1ce; color: #825b0d; }
.status-pill.draft { background: #ebe8f2; color: #5f566e; }
.inline-filter label { display: flex; align-items: center; gap: 12px; color: #68616e; font-weight: 800; }
.inline-filter select { width: auto; min-width: 240px; }
.admin-form label, .form-stack label { display: grid; gap: 8px; color: #4e4853; font-size: 13px; font-weight: 800; }
.admin-form input, .admin-form select, .admin-form textarea, .form-stack input, .form-stack select, .form-stack textarea, .inline-filter select {
  width: 100%; min-width: 0; border: 1px solid #cbc4d0; border-radius: 11px; background: var(--white); padding: 12px 13px; color: var(--ink); outline: none;
}
.admin-form input:focus, .admin-form select:focus, .admin-form textarea:focus, .form-stack input:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(125,77,255,.12); }
.admin-form textarea { resize: vertical; line-height: 1.55; }
.admin-form label small { color: #8f8893; font-weight: 500; }
.form-grid { display: grid; gap: 18px; }
.form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }.form-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.span-two { grid-column: span 2; }
.admin-form > .panel + .panel { margin-top: 20px; }
.admin-form > .panel label + label, .form-section > label + label { margin-top: 18px; }
.check-row, .check-grid { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 22px; }
.check-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.check-row label, .check-grid label { display: flex; align-items: center; gap: 9px; font-weight: 700; }
.check-row input, .check-grid input, .role-option input { width: 17px; height: 17px; accent-color: var(--purple); }
.form-actions { display: flex; justify-content: flex-end; padding: 5px 0 20px; }
.date-wrap { width: 100%; border: 1px solid #cbc4d0; border-radius: 11px; background: var(--white); padding: 12px 13px; }
.date-wrap input { display: block; width: 100%; min-width: 0; border: 0; padding: 0; background: transparent; box-shadow: none !important; }
.form-stack { display: grid; gap: 18px; }
.mini-list { display: grid; margin-top: 25px; border-top: 1px solid var(--border-light); }
.mini-list span { display: grid; padding: 12px 0; border-bottom: 1px solid var(--border-light); }.mini-list small { color: #8b8490; }
.role-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.role-option { display: flex !important; align-items: flex-start; gap: 12px !important; padding: 17px; border: 1px solid var(--border-light); border-radius: 14px; background: #fbfaf7; }
.role-option input { flex: 0 0 auto; margin-top: 2px; }.role-option span { display: grid; gap: 4px; }.role-option small { color: #837c88; font-weight: 500; }

.auth-body { display: grid; place-items: center; padding: 30px; background: radial-gradient(circle at 75% 20%, rgba(125,77,255,.35), transparent 28%), radial-gradient(circle at 20% 80%, rgba(242,78,145,.22), transparent 25%), var(--ink); }
.auth-shell { width: min(100%, 480px); }
.auth-card { padding: 38px; border: 1px solid rgba(255,255,255,.14); border-radius: 28px; background: rgba(22,18,31,.9); color: var(--white); box-shadow: 0 30px 90px rgba(0,0,0,.4); backdrop-filter: blur(18px); }
.auth-brand { margin-bottom: 42px; }
.auth-card h1 { margin: 12px 0 8px; font-family: var(--font-display); font-size: 44px; letter-spacing: -.05em; text-transform: uppercase; }
.auth-card > p { color: #a9a2b4; line-height: 1.6; }
.auth-card label { color: #d6d0dd; }.auth-card input { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: var(--white); }
.auth-card .alert { margin: 18px 0; }
.auth-note { margin: 20px 0 0 !important; font-size: 12px; text-align: center; }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; padding-top: 145px; }
  .hero-copy { padding-right: 45px; }
  .hero-art { min-height: 480px; }
  .metric-grid { grid-template-columns: repeat(3, 1fr); }
  .admin-grid.two-one { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .site-header { align-items: flex-start; }
  .public-nav { gap: 13px; flex-wrap: wrap; justify-content: flex-end; }
  .public-nav .nav-cta { display: none; }
  .status-strip { grid-template-columns: repeat(2, 1fr); }
  .intro-section { grid-template-columns: 1fr; gap: 25px; }
  .category-grid { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
  .copyright { text-align: left; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: relative; height: auto; }
  .admin-nav { grid-template-columns: repeat(3, 1fr); }
  .sidebar-user { margin-top: 20px; }
  .admin-topbar, .admin-content { padding-left: 22px; padding-right: 22px; }
  .alert { margin-left: 22px; margin-right: 22px; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .site-header { padding: 22px 18px; }
  .public-nav a:not(.nav-cta) { font-size: 12px; }
  .hero { padding: 130px 18px 60px; margin-top: -98px; }
  .hero:before { left: 18px; right: 18px; }
  .hero-copy { padding: 30px 18px 0; }
  .hero h1 { font-size: 58px; }
  .hero-copy > p { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-art { min-height: 410px; transform: scale(.82); transform-origin: top center; margin-bottom: -90px; }
  .status-strip { margin: 0 18px; padding: 20px 0; grid-template-columns: 1fr 1fr; }
  .status-strip > a { grid-column: span 2; }
  .public-section, .page-hero { padding-left: 18px; padding-right: 18px; }
  .process-grid { grid-template-columns: 1fr; }
  .category-tile div { max-width: 85%; }
  .category-list article { flex-direction: column; }
  .admin-nav { grid-template-columns: repeat(2, 1fr); }
  .admin-content { padding: 22px 14px 50px; }
  .admin-topbar { padding: 25px 16px 18px; }
  .alert { margin: 15px 14px 0; }
  .metric-grid { grid-template-columns: 1fr; }
  .dashboard-lead, .page-actions { align-items: flex-start; flex-direction: column; }
  .form-grid.two, .form-grid.three, .check-grid, .role-grid { grid-template-columns: 1fr; }
  .span-two { grid-column: auto; }
  .data-table { min-width: 760px; }
  .form-section { padding: 20px; }
  .auth-card { padding: 28px 22px; }
}

/* Phase 3 — nomination operations */
.admin-filter-panel { margin-bottom: 20px; }
.admin-filter-grid { display: grid; grid-template-columns: repeat(4,minmax(150px,1fr)); align-items: end; gap: 14px; }
.admin-filter-grid label, .podcast-filter label { display: grid; gap: 7px; color: #4e4853; font-size: 12px; font-weight: 800; }
.admin-filter-grid input, .admin-filter-grid select, .podcast-filter input, .podcast-filter select { width: 100%; min-width: 0; border: 1px solid #cbc4d0; border-radius: 11px; background: #fff; padding: 11px 12px; }
.admin-filter-grid .filter-search { grid-column: span 2; }.filter-check { display: flex !important; align-items: center; gap: 8px !important; min-height: 42px; }.filter-check input { width: 17px; height: 17px; accent-color: var(--purple); }.filter-actions { display: flex; gap: 8px; }
.nomination-metrics { grid-template-columns: repeat(5,1fr); }
.table-identity { display: flex; align-items: center; gap: 12px; min-width: 240px; }.table-identity img, .table-avatar { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 10px; object-fit: cover; }.table-avatar { display: grid; place-items: center; color: #fff; background: linear-gradient(145deg,var(--purple),var(--pink)); font-size: 20px; font-weight: 900; }.table-identity > div { min-width: 0; }.table-identity small { max-width: 290px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.verification-note { margin-top: 6px !important; color: #a05e12 !important; }.muted-copy { color: #938b97; }.duplicate-score { display: inline-flex; padding: 5px 8px; border-radius: 999px; color: #8c4d0d; background: #fff0cf; font-size: 11px; font-weight: 900; }
.status-pill.submitted, .status-pill.needs_review { color: #5b36bd; background: #eee7ff; }.status-pill.needs_information { color: #8b5910; background: #fff0c9; }.status-pill.eligible, .status-pill.shortlisted, .status-pill.finalist { color: #12613d; background: #dcf7e7; }.status-pill.ineligible, .status-pill.disqualified { color: #8c2a35; background: #ffe3e6; }.status-pill.duplicate { color: #6b596a; background: #eee8ed; }.status-pill.awaiting_verification { color: #7f5b16; background: #fff1d3; }.status-pill.withdrawn { color: #706b66; background: #ece9e5; }
.admin-pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }.admin-pagination a { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; border: 1px solid var(--border-light); border-radius: 9px; background: #fff; font-size: 12px; font-weight: 900; }.admin-pagination a.active { color: #fff; background: var(--ink); }

.review-header-actions { display: flex; align-items: center; gap: 10px; }
.nomination-review-hero { display: grid; grid-template-columns: 150px minmax(0,1fr); align-items: center; gap: 28px; margin-bottom: 22px; padding: 30px; border-radius: 24px; color: #fff; background: radial-gradient(circle at 90% 15%,rgba(125,77,255,.38),transparent 30%),var(--ink); overflow: hidden; }.review-artwork img, .review-artwork > span { display: grid; place-items: center; width: 150px; height: 150px; border-radius: 22px; object-fit: cover; }.review-artwork > span { background: linear-gradient(145deg,var(--gold),var(--pink)); color: var(--ink); font-size: 52px; font-weight: 900; }.nomination-review-hero h2 { margin: 10px 0 8px; font-size: 42px; letter-spacing: -.04em; }.review-secondary { margin: 0; color: #beb6c7; }.review-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }.review-meta span { padding: 8px 11px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; color: #aaa3b5; font-size: 10px; }.review-meta b { color: #fff; }
.review-layout { grid-template-columns: minmax(0,1.65fr) minmax(300px,.75fr); }.review-primary, .review-sidebar { min-width: 0; }.review-sidebar { display: grid; align-content: start; gap: 20px; }.review-sidebar .form-section { margin: 0; }
.detail-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; margin: 0; border: 1px solid var(--border-light); border-radius: 15px; overflow: hidden; background: var(--border-light); }.detail-grid > div { padding: 17px; background: #fff; }.detail-grid dt { color: #8b8490; font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }.detail-grid dd { margin: 6px 0 0; font-weight: 800; }.detail-grid dd small { display: block; margin-top: 4px; color: #847d89; font-weight: 500; }.detail-block { margin-top: 20px; }.detail-block > strong { display: block; margin-bottom: 8px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }.detail-block p { margin: 0; color: #59525e; line-height: 1.65; }.detail-emphasis { padding: 20px; border-left: 4px solid var(--purple); border-radius: 0 13px 13px 0; background: #f5f0ff; }.link-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }.link-grid a, .link-grid span { padding: 7px 10px; border-radius: 999px; background: #eee9f5; color: #5e3eb1; font-size: 10px; font-weight: 800; }
.rule-callout { margin-bottom: 20px; padding: 20px; border-radius: 14px; background: #fff5d9; }.rule-callout strong { line-height: 1.5; }.rule-callout p { margin: 9px 0 0; color: #6d5d3d; line-height: 1.6; }
.review-comment-list { margin-top: 25px; border-top: 1px solid var(--border-light); }.review-comment-list article { padding: 18px 0; border-bottom: 1px solid var(--border-light); }.review-comment-list article > div { display: flex; justify-content: space-between; gap: 15px; }.review-comment-list small { color: #8d8691; }.review-comment-list p { margin: 9px 0 0; color: #5d5662; line-height: 1.55; }
.status-history { position: relative; }.status-history article { display: grid; grid-template-columns: 18px 1fr; gap: 14px; padding: 0 0 22px; }.status-history article > span { position: relative; width: 12px; height: 12px; margin-top: 4px; border: 3px solid #fff; border-radius: 50%; background: var(--purple); box-shadow: 0 0 0 1px #c8bfd1; }.status-history article > span::after { content: ""; position: absolute; width: 1px; height: 45px; top: 12px; left: 2px; background: #ddd5e1; }.status-history article:last-child > span::after { display: none; }.status-history strong, .status-history small { display: block; }.status-history small { margin-top: 3px; color: #8e8792; }.status-history p { margin: 8px 0 0; color: #5d5662; font-size: 12px; line-height: 1.5; }
.decision-warning { margin: 16px 0 0; color: #857d89; font-size: 10px; line-height: 1.5; }.duplicate-candidate { display: grid; grid-template-columns: 1fr auto; gap: 7px; padding: 14px 0; border-top: 1px solid var(--border-light); }.duplicate-candidate strong, .duplicate-candidate small { display: block; }.duplicate-candidate small { margin-top: 3px; color: #8d8591; }.duplicate-candidate > b { color: #a46a13; }.duplicate-candidate > a { color: #5f35d1; font-size: 10px; font-weight: 900; }.duplicate-candidate form { grid-column: 1/-1; }.duplicate-candidate button { border: 0; padding: 0; color: #9a3442; background: transparent; font-size: 10px; font-weight: 900; cursor: pointer; }.merged-notice { margin-top: 15px; padding: 12px; border-radius: 10px; background: #eee8f5; font-size: 11px; }.merged-notice a { color: #5f35d1; font-weight: 900; }
.submitter-panel > strong, .submitter-panel > a, .submitter-panel > span, .submitter-panel > small { display: block; }.submitter-panel > a { margin-top: 5px; color: #5f35d1; font-weight: 800; }.submitter-panel > span { margin-top: 12px; color: #665f6b; }.submitter-panel > small { margin-top: 8px; color: #8f8793; }

.podcast-filter { display: grid; grid-template-columns: minmax(260px,1fr) 180px auto auto; align-items: end; gap: 12px; }.podcast-edit-grid { display: grid; grid-template-columns: minmax(0,1fr) 260px; gap: 30px; }.podcast-artwork-editor { align-self: start; padding: 18px; border: 1px solid var(--border-light); border-radius: 17px; background: #faf7f2; }.podcast-artwork-editor > img, .podcast-artwork-editor > span { display: grid; place-items: center; width: 100%; aspect-ratio: 1; border-radius: 13px; object-fit: cover; background: #e9e1ed; color: #766e7c; font-weight: 900; }.podcast-artwork-editor label { margin-top: 16px; }.podcast-artwork-editor input { padding: 9px; font-size: 11px; }.table-panel-heading { padding: 25px 25px 0; }

@media (max-width: 1200px) {
  .admin-filter-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.nomination-metrics { grid-template-columns: repeat(3,1fr); }.review-layout { grid-template-columns: 1fr; }.review-sidebar { grid-template-columns: repeat(2,minmax(0,1fr)); }.podcast-edit-grid { grid-template-columns: 1fr; }.podcast-artwork-editor { max-width: 300px; }
}
@media (max-width: 760px) {
  .admin-filter-grid, .nomination-metrics, .review-sidebar, .detail-grid { grid-template-columns: 1fr; }.admin-filter-grid .filter-search { grid-column: auto; }.nomination-review-hero { grid-template-columns: 1fr; }.review-artwork img, .review-artwork > span { width: 110px; height: 110px; }.nomination-review-hero h2 { font-size: 34px; }.podcast-filter { grid-template-columns: 1fr; }.review-header-actions { align-items: flex-start; flex-direction: column; }
}

/* Phase 4 — finalists and ballot builder */
.button.danger { color: #fff; background: #a93749; border-color: #a93749; }
.button[disabled] { cursor: not-allowed; opacity: .45; transform: none; }
.metric-card--danger { border-color: #f0b8bf; background: #fff2f3; }
.metric-card--success { border-color: #b8e2ca; background: #effbf4; }
.ballot-page-actions, .ballot-category-actions, .ballot-preview-actions { margin-bottom: 20px; }
.ballot-cycle-filter { display: grid; grid-template-columns: minmax(260px,1fr) repeat(2,minmax(210px,.7fr)); gap: 18px; align-items: end; }
.ballot-cycle-filter label { display: grid; gap: 7px; color: #4e4853; font-size: 12px; font-weight: 800; }
.ballot-cycle-filter select { width: 100%; border: 1px solid #cbc4d0; border-radius: 11px; background: #fff; padding: 11px 12px; }
.ballot-cycle-filter > div { min-height: 44px; padding: 0 0 2px; }
.ballot-cycle-filter small, .ballot-cycle-filter strong { display: block; }.ballot-cycle-filter small { color: #8d8691; font-size: 9px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }.ballot-cycle-filter strong { margin-top: 7px; font-size: 13px; }
.ballot-metrics { grid-template-columns: repeat(4,1fr); }
.ballot-overview-panel { overflow: hidden; }
.ballot-overview-panel .table-panel-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; padding-bottom: 22px; }
.ballot-overview-panel .table-panel-heading h2 { margin: 6px 0 0; }.ballot-overview-panel .table-panel-heading p { max-width: 460px; margin: 0; color: #817987; font-size: 12px; line-height: 1.6; }
.ballot-table td > small, .ballot-table td > strong { display: block; }.ballot-table td > small { margin-top: 5px; color: #8d8691; font-size: 10px; }
.ballot-category-name span, .ballot-category-name strong, .ballot-category-name small { display: block; }.ballot-category-name span { color: #786e80; font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }.ballot-category-name strong { margin-top: 6px; font-size: 14px; }.ballot-category-name small { margin-top: 5px; color: #918995; font-size: 10px; }
.readiness-summary { display: inline-grid; gap: 3px; min-width: 110px; padding: 8px 10px; border-radius: 10px; }.readiness-summary strong { font-size: 11px; }.readiness-summary small { font-size: 9px; }.readiness-summary.has-blockers { color: #8d2c3b; background: #ffe5e8; }.readiness-summary.has-warnings { color: #82580d; background: #fff0ce; }.readiness-summary.is-ready { color: #12613d; background: #ddf7e7; }
.status-pill.ballot-status.draft { color: #625a67; background: #ece7ef; }.status-pill.ballot-status.scheduled { color: #6b4f07; background: #fff0c7; }.status-pill.ballot-status.published { color: #12613d; background: #dcf7e7; }.status-pill.ballot-status.locked { color: #274e73; background: #dceefe; }.status-pill.ballot-status.archived { color: #706b66; background: #ece9e5; }.status-pill.ballot-status.withdrawn { color: #706b66; background: #ece9e5; }.status-pill.ballot-status.disqualified { color: #8c2a35; background: #ffe3e6; }

.ballot-category-hero { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(520px,.85fr); gap: 32px; align-items: center; margin-bottom: 22px; padding: 34px; border-radius: 24px; color: #fff; background: radial-gradient(circle at 82% 10%,rgba(69,213,232,.2),transparent 28%),radial-gradient(circle at 62% 100%,rgba(242,78,145,.2),transparent 33%),var(--ink); }
.ballot-category-hero h2 { margin: 9px 0 10px; font-size: 44px; letter-spacing: -.045em; }.ballot-category-hero > div:first-child > p { max-width: 680px; margin: 0; color: #bbb4c4; line-height: 1.6; }
.ballot-category-hero-stats { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid rgba(255,255,255,.12); border-radius: 17px; overflow: hidden; }.ballot-category-hero-stats article { min-width: 0; padding: 18px; border-left: 1px solid rgba(255,255,255,.12); }.ballot-category-hero-stats article:first-child { border-left: 0; }.ballot-category-hero-stats small,.ballot-category-hero-stats strong,.ballot-category-hero-stats span { display: block; }.ballot-category-hero-stats small { color: #8f879a; font-size: 8px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }.ballot-category-hero-stats strong { margin: 9px 0 6px; font-size: 24px; }.ballot-category-hero-stats span { color: #aaa3b4; font-size: 9px; }
.ballot-builder-layout { grid-template-columns: minmax(0,1.65fr) minmax(310px,.62fr); }.ballot-builder-main, .ballot-builder-sidebar { min-width: 0; }.ballot-builder-sidebar { display: grid; align-content: start; gap: 20px; }.ballot-builder-sidebar .form-section { margin: 0; }
.readiness-score { padding: 7px 10px; border-radius: 999px; font-size: 10px; font-weight: 900; }.readiness-score.is-ready { color: #12613d; background: #dcf7e7; }.readiness-score.has-blockers { color: #8c2a35; background: #ffe3e6; }
.readiness-checklist { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }.readiness-checklist article { display: grid; grid-template-columns: 30px 1fr; gap: 11px; align-items: start; padding: 14px; border: 1px solid var(--border-light); border-radius: 12px; }.readiness-checklist article > span { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; font-size: 12px; font-weight: 900; }.readiness-checklist strong { font-size: 11px; }.readiness-checklist p { margin: 5px 0 0; color: #756e7a; font-size: 10px; line-height: 1.45; }.readiness-checklist .ready > span { color: #12613d; background: #dcf7e7; }.readiness-checklist .warning > span { color: #805608; background: #fff0c7; }.readiness-checklist .blocker { border-color: #f2c1c7; background: #fff7f8; }.readiness-checklist .blocker > span { color: #8c2a35; background: #ffe3e6; }
.ballot-entry-list { display: grid; gap: 10px; }.ballot-entry-card { display: grid; grid-template-columns: 32px 72px minmax(0,1fr) auto; gap: 14px; align-items: center; padding: 13px; border: 1px solid var(--border-light); border-radius: 15px; background: #fff; transition: border-color .18s ease, opacity .18s ease, transform .18s ease; }.ballot-entry-card.is-dragging { opacity: .55; border-color: var(--purple); transform: scale(.995); }.drag-handle { align-self: stretch; border: 0; border-radius: 9px; color: #867d8b; background: #f0ebf2; font-size: 18px; cursor: grab; }.drag-handle:active { cursor: grabbing; }.ballot-entry-art img,.ballot-entry-art span { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 11px; object-fit: cover; }.ballot-entry-art span { color: #fff; background: linear-gradient(145deg,var(--purple),var(--pink)); font-size: 25px; font-weight: 900; }.ballot-entry-summary h3 { margin: 7px 0 2px; font-size: 16px; }.ballot-entry-summary p { margin: 0; color: #716975; font-size: 11px; }.ballot-entry-summary small { display: block; margin-top: 7px; color: #938b97; font-size: 9px; }.vote-preserve-note { margin-left: 6px; color: #5a496d; font-size: 9px; font-weight: 900; }.ballot-entry-buttons { display: flex; gap: 5px; }.ballot-entry-buttons button { min-width: 34px; height: 34px; padding: 0 9px; border: 1px solid #d8d1db; border-radius: 8px; background: #fff; color: #665d6b; font-size: 11px; font-weight: 900; }.ballot-entry-editor { grid-column: 1/-1; padding: 17px; border-top: 1px solid var(--border-light); }.embedded-entry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }.finalist-correction-form { padding: 16px; border: 1px solid #f0c3c8; border-radius: 13px; background: #fff7f8; }.finalist-correction-form > small { color: #8d7479; font-size: 9px; line-height: 1.45; }
.ballot-order-actions { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border-light); }.ballot-order-actions > span { color: #837b87; font-size: 10px; }.ballot-empty-state { padding: 30px; border: 1px dashed #cfc6d3; border-radius: 14px; text-align: center; }.ballot-empty-state strong { color: var(--ink); font-size: 16px; }.ballot-empty-state p { margin-bottom: 0; }
.inactive-finalists { margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--border-light); }.inactive-finalists h3 { font-size: 13px; }.inactive-finalists article { display: grid; grid-template-columns: 1fr auto auto; gap: 15px; align-items: center; padding: 12px 0; border-top: 1px solid #ece6ee; }.inactive-finalists strong,.inactive-finalists small { display: block; }.inactive-finalists small { margin-top: 3px; color: #918995; font-size: 9px; }.inactive-finalists > article > span { color: #7f7684; font-size: 9px; }.inactive-finalists button { border: 0; color: #5f35d1; background: transparent; font-size: 10px; font-weight: 900; }
.add-finalist-form { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: end; }.add-finalist-form label { display: grid; gap: 7px; font-size: 11px; font-weight: 800; }.add-finalist-form select { width: 100%; border: 1px solid #cbc4d0; border-radius: 11px; padding: 12px; background: #fff; }
.check-row { display: flex !important; align-items: flex-start; gap: 9px !important; }.check-row input { width: 17px !important; height: 17px; margin-top: 1px; accent-color: var(--purple); }.check-row span { color: #59515d; font-size: 11px; line-height: 1.4; }
.publication-current { margin-bottom: 16px; padding: 15px; border-radius: 12px; color: #fff; background: var(--ink); }.publication-current small,.publication-current strong,.publication-current span { display: block; }.publication-current small { color: #8f8798; font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }.publication-current strong { margin: 6px 0 3px; font-size: 18px; }.publication-current span { color: #aaa3b4; font-size: 9px; }.publication-panel form + form { margin-top: 10px; }.schedule-form { margin-top: 18px !important; padding-top: 18px; border-top: 1px solid var(--border-light); }.date-control { display: flex; width: 100%; min-width: 0; border: 1px solid #c9c1cd; border-radius: 10px; padding: 10px 12px; background: #fff; }.date-control input { display: block; width: 100%; min-width: 0; border: 0; padding: 0; background: transparent; }.locked-message { margin-bottom: 15px; padding: 13px; border-radius: 10px; color: #315777; background: #e4f2ff; font-size: 10px; line-height: 1.5; }.archive-ballot-form { margin-top: 20px !important; padding-top: 15px; border-top: 1px solid var(--border-light); }.archive-ballot-form button { border: 0; padding: 0; color: #9a3442; background: transparent; font-size: 10px; font-weight: 900; }.publication-blocked { margin: 14px 0 0; color: #953644; font-size: 9px; line-height: 1.5; }
.ballot-history article { display: grid; grid-template-columns: 13px 1fr; gap: 10px; padding-bottom: 16px; }.ballot-history article > span { position: relative; width: 9px; height: 9px; margin-top: 3px; border-radius: 50%; background: var(--purple); }.ballot-history article > span::after { content: ""; position: absolute; left: 4px; top: 9px; width: 1px; height: 35px; background: #ddd5e1; }.ballot-history article:last-child > span::after { display: none; }.ballot-history strong,.ballot-history small { display: block; }.ballot-history strong { font-size: 10px; }.ballot-history small { margin-top: 3px; color: #8f8793; font-size: 8px; }.ballot-history p { margin: 5px 0 0; color: #675f6b; font-size: 9px; line-height: 1.45; }

.ballot-preview-hero { margin-bottom: 22px; padding: 45px; border-radius: 24px; color: #fff; background: radial-gradient(circle at 80% 20%,rgba(245,196,81,.2),transparent 32%),var(--ink); }.ballot-preview-hero h2 { margin: 10px 0; font-size: 52px; letter-spacing: -.05em; }.ballot-preview-hero p { max-width: 720px; margin: 0; color: #b6afbf; line-height: 1.6; }.ballot-preview-program { display: grid; gap: 25px; }.ballot-preview-category { padding: 28px; border: 1px solid var(--border-light); border-radius: 20px; background: #fff; }.ballot-preview-category > header { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: start; margin-bottom: 25px; }.ballot-preview-category header > div:first-child > span { color: #7a7180; font-size: 9px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }.ballot-preview-category h2 { margin: 6px 0 8px; font-size: 30px; }.ballot-preview-category header p { max-width: 700px; margin: 0; color: #766e7b; font-size: 11px; line-height: 1.55; }.ballot-preview-category header > div:last-child { display: grid; justify-items: end; gap: 5px; text-align: right; }.ballot-preview-category header > div:last-child strong { margin-top: 5px; font-size: 11px; }.ballot-preview-category header > div:last-child small { color: #8f8792; font-size: 9px; }.ballot-preview-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; }.ballot-preview-grid article { min-width: 0; padding: 13px; border: 1px solid #e3dce6; border-radius: 14px; background: #faf7fb; }.ballot-preview-art img,.ballot-preview-art span { display: grid; place-items: center; width: 100%; aspect-ratio: 1; border-radius: 10px; object-fit: cover; }.ballot-preview-art span { color: #fff; background: linear-gradient(145deg,var(--purple),var(--pink)); font-size: 42px; font-weight: 900; }.ballot-preview-grid article > small { display: block; margin-top: 12px; color: #807787; font-size: 8px; }.ballot-preview-grid h3 { margin: 4px 0 7px; font-size: 16px; }.ballot-preview-grid p { min-height: 45px; margin: 0; color: #766e7b; font-size: 9px; line-height: 1.45; }.ballot-preview-grid article > div:last-child { margin-top: 11px; padding-top: 9px; border-top: 1px solid #e3dce6; color: #786f7f; font-size: 8px; }

@media (max-width: 1200px) {
  .ballot-metrics { grid-template-columns: repeat(2,1fr); }
  .ballot-category-hero { grid-template-columns: 1fr; }
  .ballot-builder-layout { grid-template-columns: 1fr; }
  .ballot-builder-sidebar { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ballot-preview-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 820px) {
  .ballot-cycle-filter, .readiness-checklist, .embedded-entry-form, .ballot-builder-sidebar { grid-template-columns: 1fr; }
  .ballot-category-hero-stats { grid-template-columns: 1fr; }.ballot-category-hero-stats article { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }.ballot-category-hero-stats article:first-child { border-top: 0; }
  .ballot-entry-card { grid-template-columns: 30px 62px 1fr; }.ballot-entry-art img,.ballot-entry-art span { width: 62px; height: 62px; }.ballot-entry-buttons { grid-column: 2/-1; }.ballot-entry-buttons button { flex: 1; }
  .add-finalist-form { grid-template-columns: 1fr; }.ballot-preview-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.ballot-preview-category > header { grid-template-columns: 1fr; }.ballot-preview-category header > div:last-child { justify-items: start; text-align: left; }
}
@media (max-width: 520px) {
  .ballot-metrics, .ballot-preview-grid { grid-template-columns: 1fr; }
  .ballot-entry-card { grid-template-columns: 28px 1fr; }.ballot-entry-art { grid-column: 2; }.ballot-entry-summary { grid-column: 1/-1; }.ballot-entry-buttons { grid-column: 1/-1; }
  .ballot-order-actions { align-items: stretch; flex-direction: column; }.ballot-order-actions .button { width: 100%; }
}

/* Phase 4 test-ballot mode */
.test-ballot-state { display: inline-grid; gap: 4px; margin-top: 26px; padding: 13px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: rgba(255,255,255,.05); }.test-ballot-state small { color: #948c9f; font-size: 8px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }.test-ballot-state strong { font-size: 13px; }.test-ballot-state span { color: #aaa3b4; font-size: 8px; }
.ballot-preview-choice { position: relative; display: block; min-width: 0; padding: 13px; border: 1px solid #e3dce6; border-radius: 14px; background: #faf7fb; cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }.ballot-preview-choice:hover { border-color: #bfb3c8; transform: translateY(-1px); }.ballot-preview-choice.is-selected,.ballot-preview-choice:has(input:checked) { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(125,77,255,.11); }.ballot-preview-choice > input[type="radio"],.ballot-preview-choice > input[type="checkbox"] { position: absolute; opacity: 0; pointer-events: none; }.test-choice-indicator { position: absolute; z-index: 3; display: grid; place-items: center; width: 26px; height: 26px; top: 21px; right: 21px; border: 2px solid rgba(255,255,255,.8); border-radius: 50%; color: transparent; background: rgba(9,8,13,.35); box-shadow: 0 2px 8px rgba(0,0,0,.18); }.ballot-preview-choice:has(input[type="checkbox"]) .test-choice-indicator { border-radius: 7px; }.ballot-preview-choice:has(input:checked) .test-choice-indicator { color: #fff; border-color: var(--purple); background: var(--purple); }.ballot-preview-choice:has(input:checked) .test-choice-indicator::after { content: "✓"; font-size: 13px; font-weight: 900; }
.ballot-preview-choice > small { display: block; margin-top: 12px; color: #807787; font-size: 8px; }.ballot-preview-choice > strong { display: block; margin: 4px 0 7px; font-size: 16px; }.preview-description { display: block; min-height: 45px; color: #766e7b; font-size: 9px; line-height: 1.45; }.preview-content-state { display: block; margin-top: 11px; padding-top: 9px; border-top: 1px solid #e3dce6; color: #786f7f; font-size: 8px; }
.ballot-preview-write-in { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; min-height: 160px; border-style: dashed; }.ballot-preview-write-in .test-choice-indicator { position: static; color: #fff; border: 0; background: var(--purple); }.ballot-preview-write-in small,.ballot-preview-write-in strong { display: block; }.ballot-preview-write-in small { color: #7c7381; font-size: 8px; text-transform: uppercase; }.ballot-preview-write-in strong { margin: 5px 0 10px; }.ballot-preview-write-in input { width: 100%; border: 1px solid #cbc4d0; border-radius: 9px; padding: 10px; background: #fff; }
.ballot-test-actions { position: sticky; z-index: 8; bottom: 18px; display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; max-width: 980px; margin: 24px auto 0; padding: 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; color: #fff; background: rgba(9,8,13,.94); box-shadow: 0 20px 50px rgba(9,8,13,.28); backdrop-filter: blur(12px); }.ballot-test-actions span,.ballot-test-actions strong { display: block; }.ballot-test-actions span { color: var(--gold); font-size: 8px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }.ballot-test-actions strong { margin-top: 4px; font-size: 11px; }.clear-test-ballot { margin-top: 18px; text-align: center; }.clear-test-ballot button { border: 0; color: #963745; background: transparent; font-size: 10px; font-weight: 900; }
@media (max-width: 760px) { .ballot-test-actions { position: static; grid-template-columns: 1fr; }.ballot-test-actions .button { width: 100%; } }

/* Phase 5 — voter and ballot administration */
.status-in_progress { background:#fff1c8; color:#72520c; }
.status-submitted { background:#e3f6ea; color:#17633a; }
.status-locked { background:#e9e7ed; color:#4e4755; }
.status-invalidated,.status-superseded { background:#fde3e6; color:#942b3a; }
.admin-action-stack { display:grid; gap:10px; margin-top:22px; padding-top:20px; border-top:1px solid var(--line); }
.inline-admin-action { display:grid; grid-template-columns:1fr auto; gap:9px; }.inline-admin-action input { min-width:0; border:1px solid var(--line); border-radius:9px; padding:10px 12px; background:#fff; }
.audit-row { padding:13px 0; border-bottom:1px solid var(--line); }.audit-row:last-child{border-bottom:0}.audit-row strong,.audit-row small{display:block}.audit-row small{margin-top:4px;color:var(--muted);font-size:9px}.audit-row p{margin:7px 0 0;color:#5d5561;font-size:10px;line-height:1.5}
.detail-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }.detail-grid div{padding:13px;border:1px solid var(--line);border-radius:10px;background:#faf8fb}.detail-grid dt{color:var(--muted);font-size:8px;font-weight:900;letter-spacing:.11em;text-transform:uppercase}.detail-grid dd{margin:5px 0 0;font-size:11px;font-weight:800}
@media(max-width:760px){.inline-admin-action{grid-template-columns:1fr}.detail-grid{grid-template-columns:1fr}}

