:root {
  --ced-primary:             #580005;
  --ced-primary-container:   #7a0009;
  --ced-on-primary:          #ffffff;
  --ced-export-csv-bg:        #4a0e0e;
  --ced-export-csv-bg-hover:  #3d0c0c;
  --ced-on-export-csv:        #ffffff;
  --ced-secondary:           #af2b3e;
  --ced-secondary-container: #ffd9dc;
  --ced-on-secondary:        #ffffff;
  --ced-tertiary:            #002e25;
  --ced-tertiary-fixed:      #a8d5c9;
  --ced-surface:                   #fcf9f1;
  --ced-surface-container-lowest:  #fefdf9;
  --ced-surface-container-low:     #f5f2ea;
  --ced-surface-container:         #ede9df;
  --ced-surface-container-high:    #e5e1d6;
  --ced-surface-container-highest: #dedad0;
  --ced-on-surface:          #1c1c17;
  --ced-on-surface-variant:  #4a473e;
  --ced-outline-variant:     #c9c6bc;
  --ced-font-display:  'Noto Serif', Georgia, serif;
  --ced-font-body:     'Public Sans', system-ui, sans-serif;
  --ced-font-data:     'Space Grotesk', 'Courier New', monospace;
  --ced-shadow-ambient:  0 12px 40px rgba(88, 65, 65, 0.06);
  --ced-shadow-nav:      0 2px 8px rgba(88, 65, 65, 0.04);
  --ced-shadow-inset:    inset 0 1px 3px rgba(88, 65, 65, 0.04);
  --ced-radius-sm:  0.25rem;
  --ced-radius-md:  0.5rem;
  --ced-radius-xl:  0.75rem;
  --ced-blur-glass:      18px;
  --ced-glass-bg:        rgba(252, 249, 241, 0.72);
  --ced-space-2:   0.5rem;
  --ced-space-4:   1rem;
  --ced-space-6:   2rem;
  --ced-space-10:  3.5rem;
  --ced-space-12:  4rem;
  --ced-space-16:  5rem;
  --ced-space-24:  8rem;
  --bs-link-color:       var(--ced-secondary);
  --bs-link-hover-color: var(--ced-primary);
  --bs-body-color:       var(--ced-on-surface);
  --bs-body-bg:          var(--ced-surface);
  --bs-body-font-family: var(--ced-font-body);
  --bs-border-color:     rgba(201, 198, 188, 0.15);
  --bs-primary:          var(--ced-primary);
  --bs-primary-rgb:      88, 0, 5;
  --bs-secondary:        var(--ced-secondary);
  --bs-secondary-rgb:    175, 43, 62; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ced-font-display);
  margin-top: 0;
  margin-bottom: 0.75rem; }

h1 {
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--ced-primary);
  margin-bottom: 1.25rem; }

h2 {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ced-primary);
  margin-top: 2.5rem;
  margin-bottom: 0.875rem; }

h3 {
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ced-on-surface);
  margin-top: 2rem;
  margin-bottom: 0.75rem; }

h4 {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ced-on-surface);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem; }

h5 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ced-on-surface-variant);
  margin-top: 1.25rem;
  margin-bottom: 0.375rem; }

h6 {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ced-on-surface-variant);
  margin-top: 1rem;
  margin-bottom: 0.25rem; }

p {
  margin-top: 0;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ced-on-surface); }

ul, ol {
  margin-top: 0;
  margin-bottom: 1.25rem;
  padding-left: 2rem;
  font-size: 1.05rem;
  line-height: 1.7; }

li {
  margin-bottom: 0.5rem; }

strong, b {
  font-weight: 700; }

em, i {
  font-style: italic; }

blockquote {
  font-style: italic;
  color: var(--ced-on-surface-variant);
  border-left: 4px solid var(--ced-outline-variant);
  padding-left: 1rem;
  margin: 1.5rem 0; }

code, pre {
  font-family: var(--ced-font-data);
  font-size: 0.95em;
  background: var(--ced-surface-container-low);
  padding: 0.2em 0.4em;
  border-radius: var(--ced-radius-sm); }

.table td {
  font-family: var(--ced-font-data);
  font-size: 1rem !important; }
  .table td a {
    color: var(--ced-secondary) !important;
    text-decoration: none !important; }
    .table td a:hover {
      color: var(--ced-primary) !important;
      text-decoration: underline !important; }

.tag-archival {
  font-family: var(--ced-font-data);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--ced-secondary-container);
  color: var(--ced-primary);
  padding: 0.15em 0.5em;
  border-radius: var(--ced-radius-xl); }

:root {
  --bs-focus-ring-color: rgba(88, 0, 5, 0.2);
  --bs-focus-ring-width: 0.2rem; }

*:focus-visible {
  outline: 2px solid var(--ced-primary);
  outline-offset: 2px;
  box-shadow: none !important; }

.btn:focus-visible, .btn:focus {
  box-shadow: 0 0 0 0.2rem rgba(88, 0, 5, 0.2) !important; }

.form-control:focus,
.form-select:focus {
  border-color: var(--ced-primary);
  box-shadow: 0 0 0 0.2rem rgba(88, 0, 5, 0.1) !important; }

.form-check-input:checked {
  background-color: var(--ced-primary);
  border-color: var(--ced-primary); }

.form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(88, 0, 5, 0.2);
  border-color: var(--ced-primary); }

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background-color: var(--ced-primary); }

.pagination .page-link {
  color: var(--ced-secondary); }
  .pagination .page-link:hover {
    color: var(--ced-primary); }
  .pagination .page-link:focus {
    box-shadow: 0 0 0 0.2rem rgba(88, 0, 5, 0.2); }

.pagination .page-item.active .page-link {
  background-color: var(--ced-primary);
  border-color: var(--ced-primary);
  color: var(--ced-on-primary); }

.dropdown-item:hover, .dropdown-item:focus {
  background-color: var(--ced-surface-container);
  color: var(--ced-on-surface); }

.dropdown-item.active, .dropdown-item:active {
  background-color: var(--ced-primary);
  color: var(--ced-on-primary); }

.list-group-item.active {
  background-color: var(--ced-primary);
  border-color: var(--ced-primary); }

.list-group-item:hover, .list-group-item:focus {
  background-color: var(--ced-surface-container-low); }

.btn-primary {
  --bs-btn-color: var(--ced-on-primary);
  --bs-btn-bg: var(--ced-primary);
  --bs-btn-border-color: var(--ced-primary);
  --bs-btn-hover-color: var(--ced-on-primary);
  --bs-btn-hover-bg: var(--ced-primary-container);
  --bs-btn-hover-border-color: var(--ced-primary-container);
  --bs-btn-active-color: var(--ced-on-primary);
  --bs-btn-active-bg: var(--ced-primary-container);
  --bs-btn-active-border-color: var(--ced-primary-container);
  border-radius: var(--ced-radius-xl); }

.btn-secondary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--ced-secondary);
  --bs-btn-border-color: var(--ced-secondary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--ced-primary);
  --bs-btn-hover-border-color: var(--ced-primary);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--ced-primary);
  --bs-btn-active-border-color: var(--ced-primary);
  border-radius: var(--ced-radius-xl); }

.btn-outline-primary {
  --bs-btn-color: var(--ced-primary);
  --bs-btn-border-color: var(--ced-primary);
  --bs-btn-hover-color: var(--ced-on-primary);
  --bs-btn-hover-bg: var(--ced-primary);
  --bs-btn-hover-border-color: var(--ced-primary);
  --bs-btn-active-color: var(--ced-on-primary);
  --bs-btn-active-bg: var(--ced-primary);
  --bs-btn-active-border-color: var(--ced-primary);
  border-radius: var(--ced-radius-xl); }

.btn-outline-secondary {
  --bs-btn-color: var(--ced-secondary);
  --bs-btn-border-color: var(--ced-secondary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--ced-secondary);
  --bs-btn-hover-border-color: var(--ced-secondary);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--ced-secondary);
  --bs-btn-active-border-color: var(--ced-secondary);
  border-radius: var(--ced-radius-xl); }

.nav-tabs {
  border-bottom-color: var(--ced-outline-variant); }
  .nav-tabs .nav-link {
    color: var(--ced-on-surface-variant);
    border-radius: var(--ced-radius-sm) var(--ced-radius-sm) 0 0; }
    .nav-tabs .nav-link:hover {
      color: var(--ced-primary);
      border-color: transparent transparent var(--ced-outline-variant); }
    .nav-tabs .nav-link.active {
      color: var(--ced-primary);
      background-color: var(--ced-surface);
      border-color: var(--ced-outline-variant) var(--ced-outline-variant) var(--ced-surface); }

.badge.bg-primary {
  background-color: var(--ced-primary) !important; }

.badge.bg-secondary {
  background-color: var(--ced-secondary) !important; }

.badge.text-bg-primary {
  background-color: var(--ced-primary) !important;
  color: var(--ced-on-primary) !important; }

.badge.text-bg-secondary {
  background-color: var(--ced-secondary) !important;
  color: #fff !important; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 58px;
  font-family: var(--ced-font-body);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ced-on-surface);
  background: var(--ced-surface); }

a {
  color: var(--ced-secondary);
  text-decoration: none; }
  a:hover {
    color: var(--ced-primary);
    text-decoration: underline; }

.list-group .list-group-item a {
  color: var(--ced-secondary);
  text-decoration: none; }
  .list-group .list-group-item a:hover {
    color: var(--ced-primary);
    text-decoration: underline; }

.navbar-search {
  max-width: 280px; }
  .navbar-search input {
    height: 28px;
    border-radius: 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--ced-outline-variant);
    transition: border-color 200ms ease;
    color: var(--ced-on-surface);
    font-size: 0.85rem; }
    .navbar-search input::placeholder {
      color: var(--ced-on-surface-variant); }
    .navbar-search input:focus {
      outline: none;
      background: transparent;
      border-bottom-color: var(--ced-primary);
      box-shadow: none; }
  .navbar-search .search-bar__btn {
    background: none;
    border: none;
    border-radius: 0;
    color: var(--ced-on-surface-variant);
    padding: 0 0.5rem; }
    .navbar-search .search-bar__btn:hover, .navbar-search .search-bar__btn:focus {
      color: var(--ced-primary);
      background: transparent;
      outline: none; }
    .navbar-search .search-bar__btn svg {
      fill: currentColor; }

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1040;
  background: var(--ced-surface) !important;
  color: var(--ced-on-surface);
  box-shadow: var(--ced-shadow-nav), 0 1px 0 rgba(201, 198, 188, 0.4); }

.navbar .navbar-brand {
  color: var(--ced-primary) !important;
  font-family: var(--ced-font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
  text-transform: none; }

.navbar .nav-link {
  color: var(--ced-on-surface-variant) !important;
  font-family: var(--ced-font-data);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-bottom: 0.3rem;
  border-bottom: 2px solid transparent;
  transition: color 150ms ease, border-color 150ms ease; }

.navbar .nav-link.active {
  color: var(--ced-secondary) !important;
  border-bottom-color: var(--ced-secondary); }

.navbar .nav-link:focus,
.navbar .nav-link:hover {
  color: var(--ced-primary) !important;
  background: transparent;
  border-bottom-color: transparent; }

.navbar-toggler {
  border-color: rgba(201, 198, 188, 0.4); }

.navbar-nav {
  flex-direction: row; }

.navbar .nav-item {
  margin-left: 1.5rem; }

@media (max-width: 991.98px) {
  .navbar-nav {
    flex-direction: column; }
  .navbar .nav-item {
    margin-left: 0; } }

.site-footer {
  background: var(--ced-primary);
  color: var(--ced-on-primary);
  padding: 3rem 0 1.5rem;
  margin-top: auto; }
  .site-footer .footer-sponsors {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 2rem; }
  .site-footer .footer-sponsor-logo {
    max-height: 48px;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
    /* Logos are supplied for dark backgrounds; avoid CSS filters on SVG <img>
       (they can blank out complex gradients / multi-colour marks in some browsers). */
    opacity: 0.9;
    transition: opacity 150ms ease; }
    .site-footer .footer-sponsor-logo:hover {
      opacity: 1; }
  .site-footer .footer-partner-text {
    font-family: var(--ced-font-data);
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: color 150ms ease; }
    .site-footer .footer-partner-text:hover {
      color: #fff; }
  .site-footer .footer-body {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 1.25rem;
    flex-wrap: wrap; }
  .site-footer .footer-identity {
    display: flex;
    flex-direction: column;
    gap: 0.35rem; }
  .site-footer .footer-site-name {
    font-family: var(--ced-font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.01em; }
  .site-footer .footer-tagline {
    font-family: var(--ced-font-body);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65); }
  .site-footer .footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: center; }
    .site-footer .footer-nav a {
      font-family: var(--ced-font-data);
      font-size: 0.75rem;
      font-weight: 500;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, 0.7);
      text-decoration: none;
      transition: color 150ms ease; }
      .site-footer .footer-nav a:hover {
        color: #fff; }
  .site-footer .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem; }
    .site-footer .footer-bottom small {
      font-family: var(--ced-font-data);
      font-size: 0.7rem;
      color: rgba(255, 255, 255, 0.45); }

@media (max-width: 768px) {
  .site-footer .footer-body {
    flex-direction: column; }
  .site-footer .footer-nav {
    gap: 1rem; } }

.party-swatch {
  display: inline-block;
  width: var(--swatch-size, 12px);
  height: var(--swatch-size, 12px);
  border-radius: var(--ced-radius-sm);
  margin-right: 6px;
  vertical-align: middle; }

.seating-chart-grid {
  display: grid;
  grid-template-columns: repeat(40, 16px);
  gap: 4px;
  justify-content: center;
  background: var(--ced-surface-container-lowest);
  outline: 1.5px solid rgba(201, 198, 188, 0.15);
  margin: 0 auto 12px auto;
  padding: 16px 16px 10px 16px;
  max-width: fit-content; }

.seat {
  width: 14px;
  height: 14px;
  border-radius: var(--ced-radius-sm);
  background: var(--ced-surface-container);
  box-sizing: border-box;
  cursor: pointer; }

.seating-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: center;
  margin-top: 18px; }

.legend-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 1em; }

.legend-color {
  width: 18px;
  height: 18px;
  border-radius: var(--ced-radius-sm);
  display: inline-block;
  margin-right: 4px; }

.doc-carousel-section {
  margin-top: 2rem;
  margin-bottom: 2.5rem; }

.resources-heading {
  font-family: var(--ced-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ced-primary);
  margin-bottom: 1rem;
  letter-spacing: 0.01em; }

.doc-carousel-wrap {
  background: #2b2b28;
  border-radius: var(--ced-radius-xl);
  padding: 1.25rem 1.25rem 1rem; }

.doc-carousel-track {
  display: flex;
  gap: 0.875rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
  padding-bottom: 0.5rem; }
  .doc-carousel-track::-webkit-scrollbar {
    height: 4px; }
  .doc-carousel-track::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 2px; }

.doc-carousel-gutter-hint {
  font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  margin: 0;
  padding-top: 0.5rem; }

.doc-carousel-item {
  flex: 0 0 calc((100% - 4 * 0.875rem) / 5);
  scroll-snap-align: start;
  cursor: pointer;
  border: none;
  padding: 0;
  background: var(--ced-surface-container-highest);
  border-radius: var(--ced-radius-md);
  overflow: hidden;
  transition: transform 150ms ease, box-shadow 150ms ease;
  text-align: left; }
  .doc-carousel-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45); }
  @media (max-width: 991px) {
    .doc-carousel-item {
      flex: 0 0 calc((100% - 2 * 0.875rem) / 3); } }
  @media (max-width: 575px) {
    .doc-carousel-item {
      flex: 0 0 calc((100% - 0.875rem) / 2); } }
.doc-carousel-img-wrap {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--ced-surface-container); }
  .doc-carousel-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    filter: grayscale(20%);
    transition: filter 200ms ease;
    pointer-events: none; }
  .doc-carousel-item:hover .doc-carousel-img-wrap img {
    filter: grayscale(0%); }

.doc-carousel-label {
  padding: 0.45rem 0.75rem 0.6rem; }
  .doc-carousel-label span {
    font-family: var(--ced-font-data);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45); }

.doc-lightbox-content {
  background: #1a1a18;
  border: none;
  border-radius: var(--ced-radius-xl);
  padding: 0.75rem;
  position: relative; }

.doc-lightbox-close {
  position: absolute;
  top: 0.6rem;
  right: 0.75rem;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  padding: 0.25rem 0.4rem;
  border-radius: var(--ced-radius-sm);
  transition: color 150ms ease; }
  .doc-lightbox-close:hover {
    color: #fff; }

.doc-lightbox-img {
  display: block;
  width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--ced-radius-md); }

.doc-carousel-section--chart-slides .doc-carousel-track {
  gap: 0; }

.chart-card {
  flex: 0 0 100%;
  min-width: 0;
  max-width: none;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: var(--ced-surface-container-highest);
  border-radius: var(--ced-radius-md);
  overflow: hidden;
  padding: 1rem 1rem 1rem; }

.chart-card-chart-wrap {
  max-width: min(100%, 20rem);
  width: 100%;
  margin-inline: auto; }

.chart-card-title {
  font-family: var(--ced-font-data);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ced-primary);
  margin-bottom: 1rem; }

.ced-chips-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem;
  padding: 1.25rem 0 1.5rem;
  border-bottom: 1px solid var(--ced-outline-variant);
  margin-bottom: 1.5rem; }

.ced-chips-label {
  font-family: var(--ced-font-data);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ced-on-surface-variant);
  flex-shrink: 0;
  align-self: center;
  margin-right: 0.25rem; }

@media (max-width: 767px) {
  .ced-chips-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; }
    .ced-chips-row::-webkit-scrollbar {
      display: none; }
    .ced-chips-row .chat-prompt-btn {
      flex-shrink: 0;
      scroll-snap-align: start; } }

.chat-widget {
  position: fixed !important;
  bottom: 1.25rem !important;
  right: 1.25rem !important;
  z-index: 1040 !important;
  transition: opacity 150ms ease; }
  .chat-widget .chatbot-container {
    border: 2px solid var(--ced-outline-variant); }

body.ced-chat-sync-active .chat-widget {
  opacity: 0 !important;
  pointer-events: none !important; }

.nav-chat-btn {
  color: var(--ced-on-surface);
  padding: 0.375rem 0.5rem;
  line-height: 1;
  border: none;
  background: transparent; }
  .nav-chat-btn:hover, .nav-chat-btn:focus-visible {
    color: var(--ced-primary);
    background: transparent;
    box-shadow: none; }
  .nav-chat-btn svg {
    display: block; }

@keyframes ced-message-in {
  from {
    opacity: 0;
    transform: translateY(6px); }
  to {
    opacity: 1;
    transform: translateY(0); } }

.ced-fullscreen-chat {
  background: radial-gradient(circle at top left, rgba(175, 43, 62, 0.22), transparent 40%), radial-gradient(circle at bottom right, rgba(175, 43, 62, 0.1), transparent 40%), #1e100e !important;
  color: #ede9df;
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  min-height: 100dvh;
  height: 100dvh;
  border-radius: 0;
  position: relative;
  overflow: hidden; }

.ced-fullscreen-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(237, 233, 223, 0.1);
  border: 1px solid rgba(237, 233, 223, 0.15);
  border-radius: 999px;
  color: rgba(237, 233, 223, 0.65);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: transform 150ms ease, background 150ms ease, color 150ms ease;
  z-index: 2; }
  .ced-fullscreen-close:hover {
    background: rgba(237, 233, 223, 0.18);
    color: #ede9df;
    transform: scale(1.04); }

.ced-fullscreen-shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  width: 100%;
  max-width: 1440px;
  padding: 2rem 2rem 1.5rem; }

.ced-fullscreen-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 3rem 0 2rem; }

.ced-fullscreen-body--ongoing {
  padding-bottom: 0;
  max-width: 72rem; }

.ced-fullscreen-landing {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0; }

.ced-fullscreen-landing-hint {
  font-family: var(--ced-font-data);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(237, 233, 223, 0.38);
  margin: 1.25rem 0 0; }

.ced-fullscreen-intro {
  margin-bottom: 1.75rem; }

.ced-fullscreen-title {
  font-family: var(--ced-font-display);
  font-size: clamp(4rem, 9vw, 8rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #ede9df;
  margin: 0 0 1rem;
  max-width: 10ch; }

.ced-fullscreen-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem; }

.ced-fullscreen-form--landing {
  margin-bottom: 0; }

.ced-fullscreen-form--ongoing {
  flex-direction: row;
  align-items: flex-end;
  gap: 1rem;
  margin: 0;
  padding: 1.25rem 0 1.5rem; }
  .ced-fullscreen-form--ongoing .ced-fullscreen-input-wrap {
    flex: 1;
    min-width: 0;
    padding-bottom: 0.65rem; }
  .ced-fullscreen-form--ongoing .ced-fullscreen-actions {
    flex-shrink: 0;
    align-self: flex-end;
    margin-bottom: 0.35rem; }
  .ced-fullscreen-form--ongoing .ced-fullscreen-input {
    font-size: clamp(1.1rem, 2.2vw, 1.45rem);
    min-height: 3rem;
    max-height: 18.75rem; }

.ced-fullscreen-input-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 1rem; }
  .ced-fullscreen-input-wrap::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(237, 233, 223, 0.75), rgba(237, 233, 223, 0.12));
    transform-origin: left; }

.ced-fullscreen-input {
  width: 100%;
  background: transparent;
  border: 0;
  color: #ede9df;
  caret-color: #ede9df;
  font-family: var(--ced-font-data);
  font-size: clamp(1.35rem, 2.8vw, 2.8rem);
  line-height: 1.35;
  padding: 0;
  min-height: 4.5rem;
  max-height: 22rem;
  resize: none;
  outline: none;
  transition: opacity 200ms ease;
  box-shadow: none; }
  .ced-fullscreen-input::placeholder {
    color: rgba(237, 233, 223, 0.28); }
  .ced-fullscreen-input:focus {
    box-shadow: none; }

.ced-fullscreen-form--landing .ced-fullscreen-input {
  min-height: min(40vh, 14rem); }

.ced-fullscreen-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem; }

.ced-fullscreen-submit {
  font-family: var(--ced-font-data);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1e100e;
  background: #ede9df;
  border: none;
  border-radius: 999px;
  padding: 0.95rem 1.5rem;
  cursor: pointer;
  transition: transform 150ms ease, opacity 150ms ease; }
  .ced-fullscreen-submit:hover {
    opacity: 0.9;
    transform: translateY(-1px); }

.ced-fullscreen-session {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0; }

.ced-fullscreen-thread-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0 0 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(237, 233, 223, 0.2) transparent; }
  .ced-fullscreen-thread-scroll::-webkit-scrollbar {
    width: 4px; }
  .ced-fullscreen-thread-scroll::-webkit-scrollbar-track {
    background: transparent; }
  .ced-fullscreen-thread-scroll::-webkit-scrollbar-thumb {
    background: rgba(237, 233, 223, 0.2);
    border-radius: 4px; }

.ced-fullscreen-composer {
  flex-shrink: 0;
  border-top: 1px solid rgba(237, 233, 223, 0.12);
  padding: 0 0.25rem; }

.ced-fullscreen-thread {
  width: 100%;
  padding: 1.25rem 0 0;
  border-top: none; }

.ced-fullscreen-thread-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem; }

.ced-fullscreen-thread-label,
.ced-fullscreen-thread-status {
  margin: 0; }

.ced-fullscreen-thread-label {
  font-family: var(--ced-font-data);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(237, 233, 223, 0.48); }

.ced-fullscreen-thread-status {
  font-family: var(--ced-font-body);
  font-size: 0.92rem;
  color: rgba(237, 233, 223, 0.42);
  text-align: right; }

.ced-fullscreen-thread-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding-right: 0.25rem; }

.ced-fullscreen-message {
  display: flex;
  flex-direction: column;
  animation: ced-message-in 0.3s ease-out forwards; }

.ced-fullscreen-message::before {
  display: block;
  font-family: var(--ced-font-data);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(237, 233, 223, 0.38);
  margin-bottom: 0.5rem; }

.ced-fullscreen-message--user::before {
  content: 'Inquiry'; }

.ced-fullscreen-message--assistant::before {
  content: 'Response'; }

.ced-fullscreen-message-body {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  color: #ede9df; }

.ced-fullscreen-message--user .ced-fullscreen-message-body {
  font-family: var(--ced-font-display);
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #ede9df;
  border: none; }

.ced-fullscreen-message--assistant .ced-fullscreen-message-body {
  border-left: 2px solid rgba(237, 233, 223, 0.28);
  padding: 0.2rem 0 0.2rem 1rem;
  font-family: var(--ced-font-body);
  font-size: 1.05rem;
  line-height: 1.72;
  color: rgba(237, 233, 223, 0.82);
  border-top: none;
  border-right: none;
  border-bottom: none; }

.ced-fullscreen-message-body > *:first-child {
  margin-top: 0; }

.ced-fullscreen-message-body > *:last-child {
  margin-bottom: 0; }

.ced-fullscreen-message-body p {
  margin: 0 0 0.75rem; }

.ced-fullscreen-message-body ul,
.ced-fullscreen-message-body ol {
  margin: 0 0 0.75rem;
  padding-left: 1.2rem; }

.ced-fullscreen-message-body li + li {
  margin-top: 0.35rem; }

.ced-fullscreen-message-body a {
  color: inherit;
  opacity: 0.8; }
  .ced-fullscreen-message-body a:hover {
    opacity: 1; }

.ced-fullscreen-message-body code {
  font-family: var(--ced-font-data);
  font-size: 0.92em;
  background: rgba(237, 233, 223, 0.1);
  padding: 0.1em 0.35em;
  border-radius: 3px; }

.ced-fullscreen-message-body pre {
  overflow-x: auto;
  padding: 0.85rem;
  border-radius: 0.5rem;
  background: rgba(237, 233, 223, 0.07); }

@media (max-width: 991px) {
  .ced-fullscreen-shell {
    padding: 1.25rem 1.25rem 1rem; }
  .ced-fullscreen-body {
    padding: 2.5rem 0 1.75rem; }
  .ced-fullscreen-title {
    font-size: clamp(3.2rem, 14vw, 5.6rem); }
  .ced-fullscreen-actions {
    flex-direction: column;
    align-items: flex-start; }
  .ced-fullscreen-form--ongoing {
    flex-direction: column;
    align-items: stretch; }
    .ced-fullscreen-form--ongoing .ced-fullscreen-actions {
      align-self: flex-end;
      flex-direction: row; }
  .ced-fullscreen-thread-meta {
    flex-direction: column; }
  .ced-fullscreen-thread-status {
    text-align: left; } }

@media (max-width: 640px) {
  .ced-fullscreen-close {
    top: 1rem;
    right: 1rem;
    width: 2.75rem;
    height: 2.75rem; }
  .ced-fullscreen-body {
    padding-top: 2rem; }
  .ced-fullscreen-landing {
    justify-content: flex-start; }
  .ced-fullscreen-title {
    max-width: none; }
  .ced-fullscreen-input {
    font-size: clamp(1.15rem, 7vw, 1.8rem); } }

.ced-view-toggle {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.625rem; }
  .ced-view-toggle .btn-group .btn {
    line-height: 1;
    padding: 0.3rem 0.5rem;
    color: var(--ced-on-surface-variant);
    border-color: var(--ced-outline-variant); }
    .ced-view-toggle .btn-group .btn.active, .ced-view-toggle .btn-group .btn:active {
      background: var(--ced-surface-container-high);
      color: var(--ced-primary);
      border-color: var(--ced-outline-variant); }
    .ced-view-toggle .btn-group .btn:hover:not(.active) {
      background: var(--ced-surface-container);
      color: var(--ced-on-surface); }

.ced-election-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.625rem; }

.ced-election-card {
  display: flex;
  flex-direction: column;
  padding: 0.875rem 1rem;
  background: var(--ced-surface-container);
  border-radius: var(--ced-radius-xl);
  box-shadow: var(--ced-shadow-ambient);
  color: var(--ced-on-surface);
  text-decoration: none;
  transition: background 150ms ease, box-shadow 150ms ease; }
  .ced-election-card:hover {
    background: var(--ced-surface-container-high);
    box-shadow: 0 4px 16px rgba(88, 65, 65, 0.12);
    color: var(--ced-on-surface);
    text-decoration: none; }

.ced-election-card__year {
  font-family: var(--ced-font-data);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ced-primary); }

.ced-election-card__date {
  font-size: 0.75rem;
  color: var(--ced-on-surface-variant);
  margin-top: 0.25rem; }

.annotation {
  background: var(--ced-surface-container-low);
  border-left: 3px solid var(--ced-secondary);
  border-radius: 0 var(--ced-radius-sm) var(--ced-radius-sm) 0;
  padding: 0.75rem 1rem;
  margin: 1.25rem 0; }

.annotation__text {
  font-family: var(--ced-font-display);
  font-size: 0.95rem;
  color: var(--ced-on-surface-variant);
  line-height: 1.6;
  margin: 0;
  font-style: italic; }

.ced-map-container {
  height: 400px;
  border-radius: var(--ced-radius-xl);
  overflow: hidden;
  margin-bottom: 2rem;
  background: var(--ced-surface-container-low);
  position: relative; }

.ced-map-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--ced-surface-container-low);
  color: var(--ced-on-surface-variant);
  font-family: var(--ced-font-body);
  font-size: 0.9rem; }
  .ced-map-placeholder .material-icons {
    font-size: 2.5rem;
    opacity: 0.25; }
  .ced-map-placeholder p {
    margin: 0; }

.ced-district-toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem; }

.ced-district-tile-col[hidden] {
  display: none; }

.ced-district-offcanvas {
  --bs-offcanvas-width: unquote('min(540px, 95vw)'); }
  .ced-district-offcanvas .offcanvas-header {
    background: var(--ced-surface-container);
    border-bottom: 1px solid var(--ced-outline-variant); }
  .ced-district-offcanvas .offcanvas-title {
    font-family: var(--ced-font-display);
    font-size: 1.05rem;
    color: var(--ced-on-surface); }
  .ced-district-offcanvas .offcanvas-body {
    background: var(--ced-surface);
    padding: 1rem 1.25rem; }

.ced-bar-wrap {
  height: 5px;
  border-radius: var(--ced-radius-sm);
  background: var(--ced-surface-container-highest);
  overflow: hidden;
  margin-bottom: 2px; }

.ced-bar {
  height: 100%;
  border-radius: var(--ced-radius-sm); }

.ced-correction-trigger {
  position: fixed;
  z-index: 1030;
  left: 1rem;
  bottom: 1.25rem;
  font-family: var(--ced-font-body);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  color: var(--ced-on-primary);
  border: none;
  border-radius: var(--ced-radius-xl);
  background: linear-gradient(180deg, var(--ced-primary) 0%, var(--ced-primary-container) 100%);
  box-shadow: var(--ced-shadow-ambient); }
  .ced-correction-trigger:hover {
    color: var(--ced-on-primary);
    filter: brightness(1.05); }
  .ced-correction-trigger:focus-visible {
    outline: 2px solid var(--ced-primary);
    outline-offset: 3px; }

.ced-correction-offcanvas {
  --bs-offcanvas-width: unquote('min(480px, 96vw)'); }
  .ced-correction-offcanvas .offcanvas-header {
    background: var(--ced-surface-container-low);
    border-bottom: none;
    box-shadow: inset 0 -1px 0 rgba(201, 198, 188, 0.15);
    padding: var(--ced-space-4) 1.25rem; }
  .ced-correction-offcanvas .offcanvas-body {
    background: var(--ced-surface);
    padding: var(--ced-space-6) 1.25rem; }
  .ced-correction-offcanvas .offcanvas-title.ced-correction-title {
    margin-top: 0; }

.ced-correction-title {
  font-family: var(--ced-font-display);
  font-size: clamp(1.375rem, 2.5vw, 1.625rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ced-primary);
  margin: 0 0 var(--ced-space-2); }

.ced-correction-context {
  display: flex;
  flex-direction: column;
  gap: 0.35rem; }

.ced-correction-context-label {
  font-family: var(--ced-font-data);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ced-on-surface-variant); }

.ced-correction-context-title {
  font-family: var(--ced-font-body);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ced-on-surface); }

.ced-correction-meta {
  font-family: var(--ced-font-data);
  font-size: 0.8125rem;
  color: var(--ced-on-surface-variant);
  letter-spacing: 0.02em; }

.ced-correction-meta-k {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ced-on-surface-variant);
  margin-right: 0.35rem; }

.ced-correction-form {
  color: var(--ced-on-surface); }

.ced-correction-fieldset {
  margin: 0;
  padding: var(--ced-space-4);
  border: none;
  border-radius: 0;
  background: var(--ced-surface-container-lowest); }

.ced-correction-legend {
  display: block;
  width: 100%;
  font-family: var(--ced-font-data);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--ced-on-surface);
  margin-bottom: var(--ced-space-4);
  padding: 0; }

.ced-correction-fieldset .form-check + .form-check {
  margin-top: 0.35rem; }

.ced-correction-label {
  display: block;
  font-family: var(--ced-font-data);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.03em;
  color: var(--ced-on-surface-variant);
  margin-bottom: 0.35rem; }

.ced-correction-req {
  color: var(--ced-secondary);
  font-weight: 700; }

.ced-correction-check-label {
  font-family: var(--ced-font-data);
  font-size: 0.9375rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--ced-on-surface); }

.ced-correction-form .form-check-input[type="radio"],
.ced-correction-form .form-check-input[type="checkbox"] {
  margin-top: 0.35em;
  border: 2px solid var(--ced-on-surface-variant);
  background-color: var(--ced-surface-container-highest); }
  .ced-correction-form .form-check-input[type="radio"]:focus,
  .ced-correction-form .form-check-input[type="checkbox"]:focus {
    border-color: var(--ced-primary);
    box-shadow: 0 0 0 0.2rem rgba(88, 0, 5, 0.2); }
  .ced-correction-form .form-check-input[type="radio"]:checked,
  .ced-correction-form .form-check-input[type="checkbox"]:checked {
    background-color: var(--ced-primary);
    border-color: var(--ced-primary); }

.ced-correction-form .ced-correction-input {
  font-family: var(--ced-font-data);
  font-size: 0.9375rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--ced-on-surface);
  background: var(--ced-surface-container-highest);
  border: 1px solid rgba(74, 71, 62, 0.45);
  border-radius: 0;
  box-shadow: none;
  padding: 0.6rem 0.75rem; }
  .ced-correction-form .ced-correction-input::placeholder {
    color: var(--ced-on-surface-variant);
    opacity: 0.85; }
  .ced-correction-form .ced-correction-input:focus {
    background: var(--ced-surface-container);
    border-color: var(--ced-primary);
    box-shadow: inset 0 0 0 1px var(--ced-primary);
    outline: none; }

textarea.ced-correction-input {
  min-height: 8rem;
  resize: vertical; }

.ced-correction-helper {
  font-family: var(--ced-font-body);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ced-on-surface-variant);
  margin-top: 0; }
  .ced-correction-helper a {
    font-weight: 600; }

.ced-correction-submit.btn-primary {
  font-family: var(--ced-font-body);
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  border: none;
  border-radius: var(--ced-radius-xl);
  color: var(--ced-on-primary);
  background-color: transparent;
  background-image: linear-gradient(180deg, var(--ced-primary) 0%, var(--ced-primary-container) 100%);
  box-shadow: var(--ced-shadow-ambient); }
  .ced-correction-submit.btn-primary:hover, .ced-correction-submit.btn-primary:focus-visible {
    color: var(--ced-on-primary);
    background-image: linear-gradient(180deg, var(--ced-primary) 0%, var(--ced-primary-container) 100%);
    filter: brightness(1.06); }

.ced-correction-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden; }

.ced-table-export-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 0.5rem; }

.ced-table-export-note {
  font-family: var(--ced-font-body);
  font-size: 0.8rem;
  color: var(--ced-on-surface-variant);
  max-width: 42rem;
  margin: 0;
  line-height: 1.4; }

.ced-btn-export-csv {
  appearance: none;
  border: none;
  border-radius: 0;
  background: var(--ced-export-csv-bg);
  color: var(--ced-on-export-csv);
  font-family: var(--ced-font-body);
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1.15;
  padding: 0.65rem 1.35rem;
  min-width: 7rem;
  text-align: center;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1em;
  transition: background-color 0.15s ease; }
  .ced-btn-export-csv:hover {
    background: var(--ced-export-csv-bg-hover);
    color: var(--ced-on-export-csv); }
  .ced-btn-export-csv:focus-visible {
    outline: 2px solid var(--ced-primary);
    outline-offset: 2px; }

.ced-btn-export-csv__line {
  display: block; }

.ced-district-timeline {
  margin-top: 0.5rem; }

.ced-district-timeline__wrap {
  padding: 0.25rem 0 0.75rem; }

.ced-district-timeline__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0.25rem 0.25rem 0.75rem;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--ced-outline-variant) 55%, transparent) transparent; }
  .ced-district-timeline__track::-webkit-scrollbar {
    height: 5px; }
  .ced-district-timeline__track::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--ced-outline-variant) 50%, transparent);
    border-radius: 3px; }

.ced-district-timeline__card {
  flex: 0 0 min(22rem, 88vw);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: var(--ced-surface-container);
  border-radius: var(--ced-radius-xl);
  box-shadow: var(--ced-shadow-ambient);
  padding: 1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  min-height: 12rem; }

.ced-district-timeline__card-head {
  margin-bottom: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid color-mix(in srgb, var(--ced-outline-variant) 35%, transparent); }

.ced-district-timeline__title {
  font-family: var(--ced-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
  line-height: 1.25; }
  .ced-district-timeline__title a {
    color: var(--ced-primary);
    text-decoration: none; }
    .ced-district-timeline__title a:hover {
      color: var(--ced-secondary);
      text-decoration: underline; }

.ced-district-timeline__date {
  font-family: var(--ced-font-data);
  font-size: 0.8rem;
  color: var(--ced-on-surface-variant);
  margin: 0; }

.ced-district-timeline__body {
  flex: 1 1 auto;
  min-height: 0; }
  .ced-district-timeline__body .table-export-toolbar {
    margin-bottom: 0.5rem; }
  .ced-district-timeline__body .table {
    font-size: 0.875rem; }

.ced-district-timeline__hint {
  font-family: var(--ced-font-data);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ced-on-surface-variant);
  text-align: center;
  margin: 0;
  padding-top: 0.35rem;
  opacity: 0.85; }

.ced-district-meta {
  margin-top: 0.35rem;
  line-height: 1.35; }
  .ced-district-meta--compact {
    margin-top: 0.25rem; }

.ced-district-cell-stack .ced-district-meta,
.ced-district-cell-stack .ced-district-party-strip {
  margin-top: 0.35rem; }

.ced-district-party-strip {
  max-width: 100%;
  margin-top: 0.35rem; }
  .ced-district-party-strip--barcode {
    display: block;
    width: 100%;
    height: 28px;
    border-radius: var(--ced-radius-sm);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); }
  .ced-district-party-strip--dots {
    display: flex;
    flex-wrap: nowrap;
    gap: 2px;
    align-items: stretch; }
  .ced-district-party-strip__cell {
    flex: 1 1 0;
    min-width: 6px;
    max-width: 14px;
    height: 10px;
    border-radius: var(--ced-radius-sm);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); }

.ced-district-tile-col .ced-district-party-strip,
.ced-province-district-card-col .ced-district-party-strip {
  margin-top: 0.5rem; }

@keyframes banner-cta-gradient-drift {
  0%, 100% {
    background-position: 0% 50%; }
  50% {
    background-position: 100% 50%; } }

@media (prefers-reduced-motion: reduce) {
  .banner-console .banner-cta-gradient-title,
  .banner-console .banner-cta-gradient-subtitle {
    animation: none;
    background-size: 100% 100%; } }

.banner-console {
  position: absolute;
  left: 0;
  bottom: -220px;
  width: 100vw;
  z-index: 50;
  pointer-events: none;
  --banner-cta-g1: #7b217c;
  --banner-cta-g2: #9a0742;
  --banner-cta-g3: #4b0b16; }
  .banner-console .banner-cta-gradient-title {
    font-family: "Merriweather", var(--ced-font-display), serif;
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    color: #3c103c;
    background-color: #fff;
    background-image: linear-gradient(90deg, var(--banner-cta-g1) 0%, var(--banner-cta-g2) 50%, var(--banner-cta-g3) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: banner-cta-gradient-drift 14s ease-in-out infinite; }
  .banner-console .banner-cta-gradient-subtitle {
    font-family: "Merriweather", var(--ced-font-display), serif;
    font-size: 1.8rem;
    font-weight: 200;
    letter-spacing: -0.05em;
    color: #7b217c;
    background-color: #fff;
    background-image: linear-gradient(90deg, var(--banner-cta-g1) 0%, var(--banner-cta-g2) 50%, var(--banner-cta-g3) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: banner-cta-gradient-drift 14s ease-in-out infinite;
    animation-delay: -4s; }
  .banner-console .banner-cta-attribution {
    font-family: "Merriweather", var(--ced-font-display), serif;
    font-size: 1.1rem;
    font-weight: 100;
    color: #7b217c; }
  .banner-console .button_slide {
    font-family: "Merriweather", var(--ced-font-display), serif;
    font-weight: 500;
    color: var(--ced-primary);
    border: 2px solid var(--ced-primary);
    border-radius: 0;
    padding: 18px 36px;
    display: inline-block;
    width: 100%;
    font-size: 20px;
    letter-spacing: 1px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: inset 0 0 0 0 var(--ced-secondary);
    transition: ease-out 0.4s; }
  .banner-console .banner-btn-alt-label {
    font-family: inherit; }
  .banner-console .slide_right:hover {
    box-shadow: inset 400px 0 0 0 var(--ced-secondary);
    color: var(--ced-on-secondary); }

.banner-glass {
  border-top: 6px solid var(--ced-primary);
  backdrop-filter: blur(var(--ced-blur-glass)) saturate(180%);
  background: var(--ced-glass-bg);
  border-radius: 0;
  box-shadow: var(--ced-shadow-ambient);
  padding: 1.5rem 1rem;
  margin-top: 1.5rem; }

.stats-section {
  padding: 3rem 0 3.5rem;
  background: var(--ced-surface);
  border-left: 4px solid var(--ced-primary); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem; }

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem; }

.stat-number {
  font-family: var(--ced-font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--ced-primary);
  line-height: 1;
  letter-spacing: -0.02em;
  min-width: 4ch; }

.stat-label {
  font-family: var(--ced-font-data);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ced-on-surface-variant); }

@media (max-width: 767px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem; }
  .stat-number {
    font-size: 2.75rem; } }

@media (max-width: 479px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr; } }

.explore-cards-section {
  padding: 3rem 0 4rem;
  background: var(--ced-surface-container-low); }

.explore-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem; }

.explore-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  background: var(--ced-surface-container);
  border-radius: var(--ced-radius-xl);
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  transition: background 200ms ease, box-shadow 200ms ease;
  min-height: 420px; }
  .explore-card:hover {
    background: var(--ced-surface-container-high);
    box-shadow: var(--ced-shadow-ambient);
    text-decoration: none;
    color: inherit; }

.explore-card-watermark {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 8rem;
  line-height: 1;
  color: var(--ced-on-surface-variant);
  opacity: 0.1;
  pointer-events: none;
  user-select: none; }

.explore-card-title {
  font-family: var(--ced-font-display);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--ced-primary);
  margin-top: 0;
  margin-bottom: 0.75rem; }

.explore-card-desc {
  font-family: var(--ced-font-body);
  font-size: 0.95rem;
  color: var(--ced-on-surface-variant);
  line-height: 1.6;
  margin-bottom: 0; }

.explore-card-footer {
  margin-top: 2rem; }

.explore-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--ced-primary);
  color: var(--ced-on-primary);
  font-family: var(--ced-font-body);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--ced-radius-xl);
  transition: background 150ms ease; }
  .explore-card:hover .explore-card-cta {
    background: var(--ced-secondary); }

.explore-card-cta-icon {
  font-size: 1.1rem;
  line-height: 1; }

.chat-prompts-section {
  padding: 3.5rem 0 4rem;
  background: var(--ced-surface-container-low); }

.chat-prompts-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem; }

.chat-prompts-icon {
  font-size: 2.5rem;
  color: var(--ced-secondary);
  flex-shrink: 0;
  margin-top: 0.15rem; }

.chat-prompts-heading {
  font-family: var(--ced-font-display);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--ced-primary);
  margin: 0 0 0.25rem 0; }

.chat-prompts-subhead {
  font-family: var(--ced-font-body);
  font-size: 0.95rem;
  color: var(--ced-on-surface-variant);
  margin: 0; }

.chat-prompts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.75rem; }

.chat-prompt-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--ced-surface-container);
  border: none;
  border-radius: var(--ced-radius-xl);
  padding: 0.9rem 1.25rem;
  text-align: left;
  cursor: pointer;
  font-family: var(--ced-font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ced-on-surface);
  line-height: 1.4;
  transition: background 150ms ease, box-shadow 150ms ease, color 150ms ease; }
  .chat-prompt-btn:hover {
    background: var(--ced-primary);
    color: var(--ced-on-primary);
    box-shadow: var(--ced-shadow-ambient); }
    .chat-prompt-btn:hover .chat-prompt-btn-icon {
      color: var(--ced-on-primary);
      opacity: 0.8; }

.chat-prompt-btn-icon {
  font-size: 1.35rem;
  color: var(--ced-secondary);
  flex-shrink: 0;
  transition: color 150ms ease, opacity 150ms ease; }

@media (max-width: 767px) {
  .chat-prompts-grid {
    grid-template-columns: 1fr; } }

.provinces-section {
  padding: 3rem 0 4rem;
  background: var(--ced-surface); }

.provinces-section-heading {
  font-family: var(--ced-font-display);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--ced-primary);
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em; }

.dossier-section {
  padding: 3rem 0 4rem; }

.dossier-heading {
  font-family: var(--ced-font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--ced-primary);
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em; }

.dossier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem; }

.dossier-card {
  display: block;
  position: relative;
  aspect-ratio: 3 / 4;
  background-size: cover;
  background-position: center top;
  border-radius: var(--ced-radius-xl);
  overflow: hidden;
  text-decoration: none;
  transition: transform 200ms ease, box-shadow 200ms ease; }
  .dossier-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(28, 28, 23, 0.22);
    text-decoration: none; }

.dossier-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 5, 5, 0.92) 0%, rgba(10, 5, 5, 0.55) 45%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem; }

.dossier-card-category {
  font-family: var(--ced-font-data);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ced-secondary-container);
  margin-bottom: 0.5rem;
  display: block; }

.dossier-card-title {
  font-family: var(--ced-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin: 0 0 0.5rem 0; }

.dossier-card-desc {
  font-family: var(--ced-font-body);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden; }

.article-hero {
  width: 100%;
  height: 420px;
  background-size: cover;
  background-position: center top; }

.article-single .container {
  padding-top: 2.5rem;
  padding-bottom: 4rem; }

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem; }

.article-date {
  font-family: var(--ced-font-data);
  font-size: 0.75rem;
  color: var(--ced-on-surface-variant); }

.article-description {
  font-size: 1.15rem;
  color: var(--ced-on-surface-variant);
  font-style: italic;
  border-left: 3px solid var(--ced-secondary);
  padding-left: 1rem;
  margin-bottom: 2rem; }

.article-body {
  margin-top: 1.5rem; }
