/* ===== DESIGN SYSTEM: RoboCup CMS ===== */
:root {
  --burgundy: #4D0B18;
  --burgundy-light: #6B1525;
  --burgundy-hover: #3A0812;
  --orange: #F26223;
  --orange-light: #F47D47;
  --orange-hover: #D9531A;
  --navy: #0C2647;
  --navy-light: #132F54;
  --off-white: #F8F5F1;
  --sky: #559EFC;
  --sky-light: #7AB4FD;
  --white: #FFFFFF;
  --text-dark: #2C1A10;
  --text-mid: #5C5250;
  --text-light: #9B9290;
  --text-muted: #B8B0AC;
  --border: #E8E2DC;
  --border-light: #F0EBE7;
  --rose-bg: #FDF2F0;
  --shadow-sm: 0 1px 3px rgba(77,11,24,0.04), 0 2px 8px rgba(77,11,24,0.03);
  --shadow-md: 0 4px 12px rgba(77,11,24,0.06), 0 2px 6px rgba(77,11,24,0.04);
  --shadow-lg: 0 12px 40px rgba(77,11,24,0.08), 0 4px 12px rgba(77,11,24,0.04);
  --shadow-xl: 0 20px 60px rgba(77,11,24,0.1), 0 8px 20px rgba(77,11,24,0.05);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== BASE ===== */
html {
  position: relative;
  min-height: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--off-white);
  color: var(--text-mid);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', sans-serif;
  color: var(--text-dark);
}

a {
  color: var(--orange);
  transition: color 0.2s;
}
a:hover {
  color: var(--orange-hover);
}

/* ===== NAVBAR ===== */
.navbar {
  background: var(--white) !important;
  padding: 0 2rem;
  min-height: 64px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  z-index: 100;
}
.navbar .container-fluid {
  max-width: 1280px;
  margin: 0 auto;
}
.navbar-brand {
  font-family: 'Sora', sans-serif !important;
  font-weight: 800 !important;
  font-size: 1.1rem !important;
  color: var(--burgundy) !important;
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
}
.navbar-brand .brand-slash {
  color: var(--orange);
  margin: 0 0.35rem;
  font-weight: 800;
}
.navbar .nav-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-light) !important;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.4rem 0.85rem !important;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.navbar .nav-link:hover {
  color: var(--burgundy) !important;
  background: var(--off-white);
}
.navbar .nav-link.active {
  color: var(--burgundy) !important;
  font-weight: 600;
  background: var(--rose-bg);
}
.navbar .nav-link.dropdown-toggle.text-warning {
  color: var(--orange) !important;
}
.nav-region-pill {
  font-family: 'Sora', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--orange);
  background: rgba(242,98,35,0.08);
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  display: inline-block;
}
.navbar .btn-nav-logout,
.btn-nav-logout {
  background: var(--off-white);
  color: var(--text-mid);
  border: 1px solid var(--border);
  padding: 0.38rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: all 0.15s;
  cursor: pointer;
}
.navbar .btn-nav-logout:hover,
.btn-nav-logout:hover {
  background: var(--white);
  border-color: var(--text-light);
}
.navbar .nav-email-text {
  font-size: 0.82rem;
  color: var(--text-light);
}
.navbar-toggler {
  border-color: var(--border) !important;
}
.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(77,11,24,0.08);
}
.dropdown-menu {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 0.35rem;
}
.dropdown-item {
  border-radius: 6px;
  font-size: 0.88rem;
  padding: 0.45rem 0.85rem;
}
.dropdown-item.active,
.dropdown-item:active {
  background: var(--rose-bg);
  color: var(--burgundy);
}
.dropdown-item:hover {
  background: var(--off-white);
}

/* ===== HERO SPLIT ===== */
.hero {
  display: flex;
  min-height: 480px;
  position: relative;
  overflow: hidden;
}
.hero-left {
  flex: 1;
  background: var(--burgundy);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 4rem 3rem 4rem 2rem;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
  z-index: 2;
}
.hero-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.hero-left-content {
  max-width: 500px;
  position: relative;
  z-index: 1;
}
.hero-left-content h1 {
  font-family: 'Sora', sans-serif;
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 1.25rem;
  animation: fadeUp 0.6s ease-out 0.1s both;
}
.hero-left-content h1 .accent {
  color: var(--orange);
}
.hero-left-content p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 400;
  animation: fadeUp 0.6s ease-out 0.2s both;
}
.hero-right {
  flex: 1;
  background: var(--off-white);
  display: flex;
  align-items: center;
  padding: 4rem 2rem 4rem 5rem;
  position: relative;
}
.hero-right-content {
  max-width: 420px;
}
.hero-logos {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  animation: fadeUp 0.5s ease-out 0.15s both;
}
.hero-logos img {
  height: 70px;
  width: auto;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}
.hero-event-tag {
  font-family: 'Sora', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--burgundy);
  background: var(--white);
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  animation: fadeUp 0.5s ease-out 0.2s both;
}
.hero-details {
  animation: fadeUp 0.5s ease-out 0.25s both;
}
.hero-details h2 {
  font-family: 'Sora', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  letter-spacing: -0.3px;
}
.hero-details p {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}
.hero-actions {
  display: flex;
  gap: 0.75rem;
  animation: fadeUp 0.5s ease-out 0.35s both;
}

/* ===== PREREGISTRATION DEADLINE ===== */
.preregistration-deadline {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-mid);
  margin-top: 0.5rem;
}
.deadline-urgent {
  color: var(--orange);
  font-weight: 700;
}

/* ===== INFO CARDS ===== */
.info-section {
  background: var(--off-white);
  padding: 4rem 2rem;
}
.info-section-inner {
  max-width: 1080px;
  margin: 0 auto;
}
.section-title {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  letter-spacing: -0.3px;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.info-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--burgundy);
  transition: all 0.25s;
}
.info-card:nth-child(2),
.info-card:nth-child(3) {
  border-left-color: var(--orange);
}
.info-card:nth-child(4) {
  border-left-color: var(--burgundy);
}
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.info-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}
.info-card:nth-child(1) .info-card-icon,
.info-card:nth-child(4) .info-card-icon {
  background: rgba(77,11,24,0.06);
}
.info-card:nth-child(2) .info-card-icon,
.info-card:nth-child(3) .info-card-icon {
  background: rgba(242,98,35,0.08);
}
.info-card-title {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}
.info-card-body {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.6;
}
.info-card-body strong {
  color: var(--text-dark);
  font-weight: 600;
}

/* ===== CONTENT AREA ===== */
.content-area {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2rem 2rem 4rem;
}

/* ===== ALERT BAR ===== */
.alert-bar {
  background: var(--rose-bg);
  border-left: 4px solid var(--burgundy);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
  color: var(--burgundy);
  margin-bottom: 1.5rem;
  line-height: 1.55;
}
.alert-bar strong {
  font-weight: 700;
}

/* ===== TABLE CARD ===== */
.table-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid var(--border-light);
  margin-bottom: 2rem;
}
.cms-section-title {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}

/* ===== LOGIN SPLIT ===== */
.login-split {
  position: relative;
  padding: 5rem 2rem;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
}
.login-bg-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 55%;
  height: 100%;
  background: var(--burgundy);
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
  z-index: 0;
}
.login-bg-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
}
.login-bg-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: var(--white);
  z-index: 0;
}
.login-container {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: center;
}
.login-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.25rem;
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 420px;
  border: 1px solid var(--border-light);
}
.login-card h1,
.login-card h2 {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
  letter-spacing: -0.3px;
}
.login-card .login-sub {
  color: var(--text-light);
  font-size: 0.88rem;
  margin-bottom: 2rem;
  line-height: 1.55;
}

/* ===== BOOTSTRAP COMPONENT OVERRIDES ===== */

/* Buttons */
.btn-primary {
  font-family: 'Sora', sans-serif;
  background-color: var(--orange) !important;
  border-color: var(--orange) !important;
  color: var(--white) !important;
  font-weight: 700;
  padding: 0.65rem 1.75rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  transition: all 0.25s;
  box-shadow: 0 4px 14px rgba(242,98,35,0.25);
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--orange-hover) !important;
  border-color: var(--orange-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(242,98,35,0.3);
}
.btn-secondary {
  font-family: 'Sora', sans-serif;
  background-color: var(--white) !important;
  color: var(--burgundy) !important;
  border: 2px solid var(--border) !important;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.btn-secondary:hover,
.btn-secondary:focus {
  border-color: var(--burgundy) !important;
  background-color: var(--off-white) !important;
  color: var(--burgundy) !important;
  transform: translateY(-2px);
}
.btn-outline-secondary {
  font-family: 'Sora', sans-serif;
  color: var(--burgundy);
  border-color: var(--border);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.2s;
}
.btn-outline-secondary:hover {
  background: var(--off-white);
  border-color: var(--burgundy);
  color: var(--burgundy);
}
.btn-outline-primary {
  font-family: 'Sora', sans-serif;
  color: var(--orange);
  border-color: var(--orange);
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all 0.2s;
}
.btn-outline-primary:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}
.btn-success {
  background-color: #16a34a !important;
  border-color: #16a34a !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.btn-sm {
  font-family: 'Sora', sans-serif;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
}
.btn-link {
  color: var(--orange);
  font-weight: 500;
  text-decoration: none;
}
.btn-link:hover {
  color: var(--orange-hover);
  text-decoration: underline;
}

/* Login-specific button */
.login-card .btn-primary {
  background-color: var(--burgundy) !important;
  border-color: var(--burgundy) !important;
  width: 100%;
  padding: 0.78rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  box-shadow: 0 4px 14px rgba(77,11,24,0.2);
}
.login-card .btn-primary:hover {
  background-color: var(--burgundy-hover) !important;
  border-color: var(--burgundy-hover) !important;
  box-shadow: 0 8px 24px rgba(77,11,24,0.25);
}

/* Tables */
.table {
  --bs-table-bg: transparent;
  --bs-table-striped-bg: rgba(77,11,24,0.015);
  --bs-table-hover-bg: rgba(77,11,24,0.02);
  border-collapse: collapse;
  font-size: 0.88rem;
}
.table thead th {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
  padding: 0.85rem 1.25rem;
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  border-top: none;
}
.table tbody td {
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-mid);
  vertical-align: middle;
}
.table tbody tr:last-child td {
  border-bottom: none;
}
.table-striped > tbody > tr:nth-of-type(odd) > * {
  --bs-table-bg-type: rgba(77,11,24,0.015);
}

/* Badges */
.badge {
  font-family: 'Plus Jakarta Sans', sans-serif;
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
}
.badge.text-bg-danger,
.badge.bg-danger {
  background-color: var(--rose-bg) !important;
  color: var(--burgundy) !important;
}
.badge.text-bg-success,
.badge.bg-success {
  background-color: rgba(34,197,94,0.08) !important;
  color: #16a34a !important;
}
.badge.text-bg-warning,
.badge.bg-warning {
  background-color: rgba(242,98,35,0.08) !important;
  color: var(--orange) !important;
}
.badge.text-bg-info,
.badge.bg-info {
  background-color: rgba(85,158,252,0.08) !important;
  color: var(--sky) !important;
}
.badge.text-bg-secondary,
.badge.bg-secondary {
  background-color: var(--off-white) !important;
  color: var(--text-mid) !important;
}

/* Alerts */
.alert {
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  border: none;
  line-height: 1.6;
}
.alert-warning {
  background: var(--rose-bg);
  color: var(--burgundy);
  border-left: 4px solid var(--burgundy);
}
.alert-info {
  background: rgba(85,158,252,0.06);
  color: var(--navy);
  border-left: 4px solid var(--sky);
}
.alert-success {
  background: rgba(34,197,94,0.06);
  color: #15803d;
  border-left: 4px solid #16a34a;
}
.alert-danger {
  background: var(--rose-bg);
  color: var(--burgundy);
  border-left: 4px solid var(--burgundy);
}

/* Cards */
.card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.card-header {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  padding: 0.85rem 1.25rem;
}
.list-group-item {
  border-color: var(--border-light);
  padding: 0.85rem 1.25rem;
  font-size: 0.9rem;
}

/* Forms */
.form-control,
.form-select {
  background-color: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  padding: 0.65rem 0.95rem;
  color: var(--text-dark);
  transition: all 0.2s;
}
.form-control::placeholder {
  color: var(--text-muted);
}
.form-control:focus,
.form-select:focus {
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(77,11,24,0.08);
  background-color: var(--white);
}
.form-label {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--text-dark);
}
.form-text {
  color: var(--text-light);
  font-size: 0.8rem;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy);
  padding: 3.5rem 2rem 2rem;
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
}
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.footer-brand .brand-slash {
  color: var(--orange);
}
.footer-desc {
  line-height: 1.65;
  max-width: 300px;
}
.footer-heading {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.55rem;
}
.footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--orange);
}
.footer-bottom {
  max-width: 1080px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}
.footer-bottom a {
  color: var(--orange);
  text-decoration: none;
}
.footer-bottom a:hover {
  text-decoration: underline;
}
.footer-version {
  color: rgba(255,255,255,0.42);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
}

/* ===== ROTATED TABLE HEADERS (slots_summary) ===== */
.table-header-rotated th.rotate {
  height: 300px;
  white-space: nowrap;
}
.table-header-rotated th.rotate > div {
  transform: translate(-9px, 0px) rotate(-90deg);
  width: 30px;
}
.table-header-rotated th.rotate > div > span {
  padding: 5px 10px;
}

/* ===== MAJOR GROUPED TABLE (slots_summary) ===== */
.major-grouped .major-group-header td {
  background: rgba(77,11,24,0.04);
  font-weight: 700;
  border-top: none;
  color: var(--text-dark);
}
.major-grouped tbody tr.major-group-header ~ tr.major-group-header td {
  border-top: 2px solid var(--border);
}
.major-grouped .major-group-header td:first-child {
  font-family: 'Sora', sans-serif;
  font-size: 0.88rem;
  border-left: 3px solid var(--burgundy);
}
.major-grouped .major-sub-league td {
  font-size: 0.84rem;
  border-bottom: 1px solid var(--border-light);
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}
.major-grouped .major-sub-league td:first-child {
  padding-left: 2.25rem;
  color: var(--text-light);
}
.major-grouped .major-totals-row td {
  background: rgba(77,11,24,0.04);
  font-weight: 700;
  border-top: 2px solid var(--burgundy);
  color: var(--text-dark);
}

/* ===== STICKY TABLE HEADERS ===== */
.table-sticky thead th {
  position: sticky;
  top: 64px;
  background-color: var(--off-white);
  z-index: 1;
}

/* ===== CMS LAYOUT ===== */
.cms-layout {
  display: flex;
  min-height: 100vh;
}

/* ===== CMS SIDEBAR ===== */
.cms-sidebar {
  width: 230px;
  background: var(--burgundy);
  color: white;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 200;
  overflow-y: auto;
}
.cms-sidebar-texture {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.cms-sidebar-logo {
  padding: 1.5rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: relative;
  z-index: 1;
}
.cms-sidebar-logo a { text-decoration: none; }
.cms-brand {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: white;
}
.cms-brand .brand-slash {
  color: var(--orange);
  margin: 0 0.15rem;
}
.cms-brand-sub {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.45);
  margin-top: 3px;
}
.cms-sidebar-nav {
  padding: 1.25rem 0;
  flex: 1;
  position: relative;
  z-index: 1;
}
.cms-nav-item {
  display: block;
  padding: 0.65rem 1.25rem 0.65rem 1.55rem;
  /* Bumped from 0.6 (≈4.2:1) to 0.78 to meet WCAG AA 4.5:1 on burgundy. */
  color: rgba(255,255,255,0.78);
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s;
}
.cms-nav-item:hover {
  color: rgba(255,255,255,0.95);
  background: rgba(255,255,255,0.04);
}
.cms-nav-item.active {
  color: white;
  font-weight: 600;
  background: rgba(255,255,255,0.08);
  border-left: 3px solid var(--orange);
  padding-left: calc(1.55rem - 3px);
  font-family: 'Sora', sans-serif;
}
.cms-nav-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.55;
  margin-right: 0.6rem;
  vertical-align: -0.15em;
}
.cms-nav-item:hover svg { opacity: 0.75; }
.cms-nav-item.active svg { opacity: 1; }
.cms-nav-section {
  padding: 0.65rem 1.25rem 0.4rem;
  color: rgba(255,255,255,0.3);
  font-size: 0.68rem;
  margin-top: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: 'Sora', sans-serif;
}
.cms-sidebar-user {
  padding: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  position: relative;
  z-index: 1;
}
.cms-admin-link {
  display: block;
  font-size: 0.72rem;
  /* Bumped from 0.45 (≈3.0:1) to 0.75 to meet WCAG AA on burgundy. */
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: color 0.2s;
}
.cms-admin-link:hover { color: var(--orange); }
/* Bumped from 0.4 (≈2.8:1) to 0.72 to meet WCAG AA on burgundy. */
.cms-user-label { font-size: 0.72rem; color: rgba(255,255,255,0.72); }
.cms-status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #28a745;
  margin-right: 6px;
  vertical-align: middle;
}
.cms-user-email { font-size: 0.85rem; color: white; font-weight: 600; margin-top: 2px; }
.cms-region-pill {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(242,98,35,0.15);
  color: var(--orange);
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 600;
  margin-top: 6px;
  font-family: 'Sora', sans-serif;
}
.cms-region-pill.pill-major {
  background: rgba(85,158,252,0.15);
  color: var(--sky);
}
.cms-region-pill.pill-junior-exec {
  background: rgba(40,167,69,0.15);
  color: #28a745;
}

.cms-sidebar-version {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 0.6rem;
  padding: 3px 9px 3px 7px;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
  font-family: 'SFMono-Regular', 'Menlo', 'Consolas', monospace;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.08);
}

/* ===== CMS MAIN CONTENT ===== */
.cms-main {
  flex: 1;
  margin-left: 230px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.cms-topbar {
  padding: 0.85rem 2rem;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}
.cms-topbar-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.cms-topbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.cms-page-title {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-dark);
  margin: 0;
}
.cms-season-context {
  font-size: 0.78rem;
  color: var(--text-light);
}
.cms-hamburger {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cms-hamburger-icon {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 16px;
}
.cms-hamburger-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.15s ease, top 0.2s ease;
}
.cms-hamburger-icon span:nth-child(1) { top: 2px; }
.cms-hamburger-icon span:nth-child(2) { top: 7px; }
.cms-hamburger-icon span:nth-child(3) { top: 12px; }
.cms-hamburger[aria-expanded="true"] .cms-hamburger-icon span:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}
.cms-hamburger[aria-expanded="true"] .cms-hamburger-icon span:nth-child(2) {
  opacity: 0;
}
.cms-hamburger[aria-expanded="true"] .cms-hamburger-icon span:nth-child(3) {
  top: 7px;
  transform: rotate(-45deg);
}
@media (prefers-reduced-motion: reduce) {
  .cms-hamburger-icon span { transition: none; }
}
.cms-content {
  padding: 1.75rem 2rem;
  flex: 1;
  background: var(--off-white);
}

/* ===== CMS PUBLIC HEADER ===== */
.cms-public-header {
  background: var(--white);
  padding: 0.85rem 2rem;
  border-bottom: 1px solid var(--border);
}
.cms-public-header-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cms-public-header .cms-brand {
  color: var(--burgundy);
  text-decoration: none;
}

/* ===== SIDEBAR MOBILE ===== */
.cms-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 199;
}

/* ===== HTMX TRANSITIONS ===== */
.htmx-indicator {
  display: none;
}
.htmx-request .htmx-indicator {
  display: inline-block;
}
.htmx-settling {
  opacity: 0.8;
}
.htmx-swapping {
  opacity: 0.5;
  transition: opacity 0.15s ease-out;
}

/* — Button loading state (sliding progress bar) — */
.btn.htmx-request {
  position: relative;
  pointer-events: none;
  opacity: 0.75;
  overflow: hidden;
}
.btn.htmx-request::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -40%;
  height: 2px;
  width: 40%;
  border-radius: 2px;
  background: currentColor;
  animation: htmx-btn-slide 1s ease-in-out infinite;
}
@keyframes htmx-btn-slide {
  0%   { left: -40%; }
  100% { left: 100%; }
}

/* ===== TIMELINE ===== */
.cms-countdown {
  font-size: 0.88rem;
  color: var(--text-mid);
  margin-bottom: 1rem;
  font-family: 'Sora', sans-serif;
}
.cms-countdown-days {
  color: var(--orange);
  font-weight: 700;
}
.cms-timeline-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}
.cms-timeline-labels {
  position: relative;
  height: 20px;
  margin-bottom: 4px;
}
.cms-timeline-label {
  position: absolute;
  text-align: center;
  font-size: 0.65rem;
  font-family: 'Sora', sans-serif;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cms-timeline-label.cms-timeline-completed { color: var(--burgundy); font-weight: 600; }
.cms-timeline-label.cms-timeline-current { color: var(--orange); font-weight: 700; }
.cms-timeline-label.cms-timeline-future { color: var(--text-muted); }
.cms-timeline-bar {
  position: relative;
  height: 12px;
  border-radius: 6px;
  background: var(--border-light);
}
.cms-timeline-segment {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(242,98,35,0.12);
}
.cms-timeline-segment.cms-timeline-completed { background: var(--burgundy); }
.cms-timeline-segment.cms-timeline-current { background: rgba(242,98,35,0.15); }
.cms-timeline-fill {
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(to right, var(--burgundy-light), var(--orange));
}
.cms-timeline-segment.cms-timeline-completed .cms-timeline-fill {
  background: var(--burgundy);
}

/* ===== MILESTONE BUBBLES ===== */
/* Simple approach: bubbles sit in rows above/below the bar. No pseudo-element
   connectors — just the bubble with arrow, cleanly positioned. */
.cms-milestone-row {
  position: relative;
  height: 28px;
}
.cms-milestone-above { margin-bottom: 6px; }
.cms-milestone-below { margin-top: 6px; }
.cms-milestone-bubble {
  position: absolute;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}
.cms-milestone-above .cms-milestone-bubble { bottom: 0; }
.cms-milestone-below .cms-milestone-bubble { top: 0; }
.cms-milestone-tag {
  color: white;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.66rem;
  font-weight: 600;
  font-family: 'Sora', sans-serif;
  white-space: nowrap;
}
.cms-milestone-arrow-down {
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
}
.cms-milestone-arrow-up {
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
}
/* Solid connector line from bubble arrow to bar */
.cms-milestone-line {
  position: absolute;
  width: 1px;
  z-index: 3;
}
/* Above milestones: line extends upward from top of bar through labels to bubble */
.cms-milestone-line.cms-milestone-pos-above {
  bottom: 100%;
  height: 60px;
}
/* Below milestones: line extends downward from bottom of bar to bubble */
.cms-milestone-line.cms-milestone-pos-below {
  top: 100%;
  height: 18px;
}
/* Dot on the bar */
.cms-milestone-dot {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid white;
  z-index: 5;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

/* Milestone colors */
.cms-milestone-burgundy .cms-milestone-tag { background: var(--burgundy); box-shadow: 0 2px 6px rgba(77,11,24,0.2); }
.cms-milestone-burgundy .cms-milestone-arrow-down { border-top-color: var(--burgundy); }
.cms-milestone-burgundy .cms-milestone-arrow-up { border-bottom-color: var(--burgundy); }
.cms-milestone-burgundy.cms-milestone-line { background: rgba(77,11,24,0.2); }
.cms-milestone-burgundy.cms-milestone-dot { background: var(--burgundy); }

.cms-milestone-orange .cms-milestone-tag { background: var(--orange); box-shadow: 0 2px 6px rgba(242,98,35,0.25); }
.cms-milestone-orange .cms-milestone-arrow-down { border-top-color: var(--orange); }
.cms-milestone-orange .cms-milestone-arrow-up { border-bottom-color: var(--orange); }
.cms-milestone-orange.cms-milestone-line { background: rgba(242,98,35,0.2); }
.cms-milestone-orange.cms-milestone-dot { background: var(--orange); }

.cms-milestone-sky .cms-milestone-tag { background: var(--sky); box-shadow: 0 2px 6px rgba(85,158,252,0.25); }
.cms-milestone-sky .cms-milestone-arrow-down { border-top-color: var(--sky); }
.cms-milestone-sky .cms-milestone-arrow-up { border-bottom-color: var(--sky); }
.cms-milestone-sky.cms-milestone-line { background: rgba(85,158,252,0.25); }
.cms-milestone-sky.cms-milestone-dot { background: var(--sky); }

.cms-milestone-passed .cms-milestone-tag { opacity: 0.7; }

/* "Today" vertical marker on the timeline bar — extends above and below the bar
   so it's visible through the milestone lane and phase labels. */
.cms-timeline-today {
  position: absolute;
  top: -60px;
  bottom: -18px;
  width: 2px;
  background: #16a34a;
  transform: translateX(-1px);
  z-index: 6;
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.6);
}
.cms-timeline-today-label {
  position: absolute;
  top: -76px;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 600;
  color: #16a34a;
  background: white;
  padding: 0 4px;
  border-radius: 3px;
  letter-spacing: 0.02em;
  z-index: 7;
  pointer-events: none;
}

/* ===== DASHBOARD ===== */
.cms-cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  padding-top: 0.6rem;
  margin-bottom: 1.5rem;
}
.cms-stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem 1.25rem;
  border: 1px solid var(--border-light);
  position: relative;
}
.cms-stat-floating-label {
  position: absolute;
  top: -0.55rem;
  left: 1rem;
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  background: var(--burgundy);
  color: var(--white);
  font-size: 0.6rem;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  line-height: 1;
}
.cms-stat-label {
  font-size: 0.72rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
}
.cms-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--burgundy);
  margin-top: 0.25rem;
  font-family: 'Sora', sans-serif;
}
.cms-stat-card.cms-stat-orange .cms-stat-value { color: var(--orange); }
.cms-stat-card.cms-stat-sky .cms-stat-value { color: var(--sky); }
.cms-stat-detail {
  font-size: 0.8rem;
  color: var(--orange);
  font-weight: 600;
  margin-top: 0.25rem;
}
.cms-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
/* Wider variant used by the dashboard navigation hub — fits more cards per row. */
.cms-actions-grid-wide {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.cms-action-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  text-decoration: none;
  transition: all 0.25s;
}
.cms-action-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.cms-action-title {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}
.cms-action-desc {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.55;
}
.cms-action-link {
  display: block;
  margin-top: 1rem;
  font-family: 'Sora', sans-serif;
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 700;
}

/* ===== LEAGUE CARDS ===== */
.cms-league-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  margin-bottom: 1rem;
  overflow: hidden;
}
.cms-league-header {
  padding: 1rem 1.25rem;
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Sora', sans-serif;
  text-align: left;
  cursor: pointer;
}
.cms-league-header:hover { background: var(--off-white); }
.cms-league-header[aria-expanded="true"] .cms-league-toggle {
  transform: rotate(180deg);
}
.cms-league-toggle {
  transition: transform 0.2s ease;
}
.cms-league-body { padding: 0 1.25rem 1rem; }
.cms-league-body:empty { padding: 0; }
.cms-detail-panel {
  background: var(--off-white);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin-top: 1rem;
  border: 1px solid var(--border);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
  .cms-sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  .cms-sidebar.open {
    transform: translateX(0);
  }
  .cms-sidebar.open ~ .cms-sidebar-overlay {
    display: block;
  }
  .cms-main {
    margin-left: 0;
  }
  .cms-topbar {
    padding: 0.85rem 1.25rem;
  }
  .cms-content {
    padding: 1.25rem;
  }
}
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    min-height: auto;
  }
  .hero-left {
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    justify-content: center;
    padding: 3.5rem 2rem 4.5rem;
  }
  .hero-left-content { max-width: 100%; }
  .hero-left-content h1 { font-size: 2.4rem; }
  .hero-right {
    padding: 2.5rem 2rem 3rem;
    justify-content: center;
  }
  .hero-right-content { max-width: 100%; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .login-split { padding: 3rem 1.5rem; }
  .login-bg-left { width: 100%; clip-path: none; height: 45%; }
  .login-bg-right { display: none; }
  .login-container { justify-content: center; padding-left: 0; }
  .navbar { padding: 0 1.25rem; }
  .nav-email-text { display: none; }
}
@media (max-width: 600px) {
  .hero-left-content h1 { font-size: 2rem; }
  .info-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .nav-region-pill { display: none; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .table { font-size: 0.82rem; }
  .table thead th,
  .table tbody td { padding: 0.7rem 0.75rem; }
}

/* Skip-to-content link — visually hidden until keyboard-focused. */
.cms-skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 10000;
  padding: 0.5rem 0.75rem;
  background: var(--burgundy);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
}
.cms-skip-link:not(:focus):not(:focus-within) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Global keyboard-focus indicator — interactive elements without one fail
   WCAG 2.4.7. Targets buttons, links, form controls, and any role="button". */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
  border-radius: 2px;
}
.cms-nav-item:focus-visible {
  outline-offset: -2px;
}

/* Custom 404/403/500 error pages. */
.cms-error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
}
.cms-error-content { text-align: center; max-width: 480px; }
.cms-error-code {
  font-family: 'Sora', sans-serif;
  font-size: 5rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.cms-error-title {
  font-family: 'Sora', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark, #0C2647);
  margin-bottom: 0.75rem;
}
.cms-error-body {
  color: var(--text-mid, #4a5568);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.cms-error-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* Respect user's motion preference (Apple Reduced Motion / Material). */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* Assigned Slots import-preview rows: hidden when empty, shown once HTMX
   swaps the preview HTML into the td. Replaces a fragile hx-on::after-request
   pattern that silently failed in HTMX 2.0.4 (swap landed in a d-none row). */
.cvent-preview-row:has(> td:empty) { display: none; }

/* Bootstrap 5.3 subtle/emphasis color lock — defaults flip palettes when
   the user's OS reports dark-mode preference, leaving `text-warning-emphasis`
   and `text-danger-emphasis` light against light `bg-*-subtle` backgrounds.
   The CMS is light-theme-only by design (operators work in spreadsheets +
   Cvent which are light-theme). Locking the variables here keeps every
   subtle/emphasis pair readable regardless of OS theme. */
:root,
[data-bs-theme] {
  --bs-warning-text-emphasis: #664d03;
  --bs-warning-bg-subtle: #fff3cd;
  --bs-warning-border-subtle: #ffe69c;
  --bs-danger-text-emphasis: #58151c;
  --bs-danger-bg-subtle: #f8d7da;
  --bs-danger-border-subtle: #f1aeb5;
  --bs-info-text-emphasis: #055160;
  --bs-info-bg-subtle: #cff4fc;
  --bs-info-border-subtle: #9eeaf9;
  --bs-success-text-emphasis: #0a3622;
  --bs-success-bg-subtle: #d1e7dd;
  --bs-success-border-subtle: #a3cfbb;
}

/* Bootstrap 5.3 utility shims — `bg-*-subtle` / `text-*-emphasis` /
   `border-*-subtle` weren't shipped in 5.2.3. Remove when django-
   bootstrap5 ≥ 25. */
.bg-warning-subtle { background-color: var(--bs-warning-bg-subtle) !important; }
.bg-danger-subtle  { background-color: var(--bs-danger-bg-subtle)  !important; }
.bg-info-subtle    { background-color: var(--bs-info-bg-subtle)    !important; }
.bg-success-subtle { background-color: var(--bs-success-bg-subtle) !important; }

.text-warning-emphasis { color: var(--bs-warning-text-emphasis) !important; }
.text-danger-emphasis  { color: var(--bs-danger-text-emphasis)  !important; }
.text-info-emphasis    { color: var(--bs-info-text-emphasis)    !important; }
.text-success-emphasis { color: var(--bs-success-text-emphasis) !important; }

.border-warning-subtle { border-color: var(--bs-warning-border-subtle) !important; }
.border-danger-subtle  { border-color: var(--bs-danger-border-subtle)  !important; }
.border-info-subtle    { border-color: var(--bs-info-border-subtle)    !important; }
.border-success-subtle { border-color: var(--bs-success-border-subtle) !important; }

/* Tooltip target affordance — pair with `data-bs-toggle="tooltip"` on
   any element where the hover signal isn't otherwise obvious (the
   native title= attribute is invisible on mobile). */
.cms-tooltip-hint {
  text-decoration: underline dotted;
  text-underline-offset: 2px;
  cursor: help;
}

/* Date cells in the slots summary grid: keep dates on a single line
   so a "Mar 27 – 29, 2026" range doesn't fragment across rows when
   the column is narrow. The table widens to fit instead. */
.cms-nowrap-date {
  white-space: nowrap;
}
