@charset "UTF-8";
/**
 * DSSHL e-delegacije – glavni SCSS vhod
 * Zbuilda se v assets/css/app.css (ScssCompiler ob zahtevku)
 */
:root {
  --dsshl-primary: #0082ca;
  --dsshl-primary-rgb: 0, 130, 202;
  --dsshl-primary-dark: #006ca9;
  --dsshl-primary-soft: #e7f5fc;
  --dsshl-secondary: #95d600;
  --dsshl-secondary-rgb: 149, 214, 0;
  --dsshl-secondary-dark: #6fa800;
  --dsshl-ink: #101820;
  --dsshl-muted: #65717c;
  --dsshl-surface: #ffffff;
  --dsshl-canvas: #f4f7f9;
  --dsshl-border: #dfe7ec;
  --dsshl-radius-sm: 0.65rem;
  --dsshl-radius: 1rem;
  --dsshl-shadow-sm: 0 1px 2px rgba(16, 24, 32, 0.04), 0 8px 24px rgba(16, 24, 32, 0.06);
  --dsshl-shadow: 0 16px 40px rgba(16, 24, 32, 0.09);
}
html, html[data-bs-theme="light"], body {
  color-scheme: light;
  color-scheme: only light;
}
.navbar.bg-primary, .app-header .text-bg-primary, .login-page .card-primary {
  --bs-primary: var(--dsshl-primary);
  --bs-primary-rgb: 13, 71, 161;
}
.navbar.bg-primary {
  background-color: var(--dsshl-primary) !important;
}
.app-sidebar .nav-link.active {
  --lte-sidebar-menu-active-bg: var(--dsshl-primary);
}
.app-sidebar[data-bs-theme="light"] .nav-link {
  color: rgba(var(--bs-emphasis-color-rgb), 0.8);
}
.app-sidebar[data-bs-theme="light"] .nav-link.active {
  color: #fff;
}
.app-logo, .login-logo {
  width: auto;
  height: auto;
  max-height: 72px;
  max-width: 100%;
}
.app-logo-sidebar {
  max-height: 36px;
  width: auto;
  opacity: 1;
  box-shadow: none;
}
.navbar .app-logo {
  max-height: 40px;
}
.guest-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.guest-layout > main {
  flex: 1;
}
.login-page-footer .lang-switcher {
  display: inline-block;
}
.login-page .login-box .card {
  --bs-body-bg: #fff;
  --bs-body-color: #212529;
  background-color: #fff;
}
.fixed-header .app-header {
  z-index: 1040;
  background-color: var(--bs-body-bg);
}
.sidebar-mini.sidebar-collapse .app-sidebar .sidebar-brand .brand-link {
  justify-content: center;
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
  position: relative;
  min-height: 10rem;
}
.sidebar-mini.sidebar-collapse .app-sidebar .sidebar-menu .nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.sidebar-mini.sidebar-collapse .app-sidebar .sidebar-menu .nav-link .nav-icon {
  margin: 0;
  font-size: 1.15rem;
}
.sidebar-mini.sidebar-collapse .app-logo-sidebar.logo-xl, .sidebar-mini.sidebar-collapse .app-logo-sidebar.brand-image-xl {
  display: block;
  visibility: visible;
  opacity: 1;
  animation: none;
  max-height: 7rem;
  max-width: 3rem;
}
.sidebar-mini.sidebar-collapse .app-logo-sidebar.logo-xs, .sidebar-mini.sidebar-collapse .app-logo-sidebar.brand-image-xs {
  max-height: 7rem;
  max-width: 3rem;
  object-fit: contain;
}
.sidebar-mini.sidebar-collapse:not(.sidebar-without-hover) .app-sidebar:hover .sidebar-menu .nav-link {
  justify-content: flex-start;
  padding: 0.65rem 0.8rem;
}
.sidebar-mini.sidebar-collapse:not(.sidebar-without-hover) .app-sidebar:hover .sidebar-brand .brand-text {
  display: none !important;
  visibility: hidden !important;
  max-width: 0 !important;
  margin: 0 !important;
  animation: none !important;
}
@media (max-width: 991.98px) {
  .sidebar-expand-lg.sidebar-open .app-sidebar {
    z-index: 1045;
  }
}
.app-sidebar {
  --lte-sidebar-width: 17rem;
  border-right: 0 !important;
  background: linear-gradient(180deg, #0b1c29 0%, #102b3d 100%) !important;
  box-shadow: 8px 0 30px rgba(16, 24, 32, 0.12) !important;
}
.app-sidebar .sidebar-brand {
  min-height: 10rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.12);
}
.app-sidebar .sidebar-brand .brand-link {
  width: 100%;
  min-height: 10rem;
  justify-content: center;
  padding: 1rem !important;
  color: #fff;
}
.app-sidebar .sidebar-brand .app-logo-sidebar {
  max-width: min(11rem, calc(100% - 2rem));
  max-height: 8rem;
  margin: 0 !important;
  object-fit: contain;
}
.app-sidebar .sidebar-brand .app-logo-sidebar.logo-xl {
  position: static;
  visibility: visible;
  opacity: 1;
}
.app-sidebar .sidebar-brand .app-logo-sidebar.logo-xs {
  display: none !important;
}
.app-sidebar .sidebar-brand .brand-link.logo-switch::before {
  display: none;
  content: none;
}
.sidebar-mini.sidebar-collapse .app-sidebar .sidebar-brand .app-logo-sidebar.logo-xl {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.app-sidebar .brand-text {
  display: none;
}
.app-sidebar .sidebar-wrapper {
  padding: 0.75rem 0.65rem 1.25rem;
}
.app-sidebar .sidebar-menu {
  gap: 0.22rem;
}
.app-sidebar[data-bs-theme="light"] .sidebar-menu .nav-link {
  min-height: 2.8rem;
  display: flex;
  align-items: center;
  padding: 0.65rem 0.8rem;
  border-radius: 0.75rem;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 560;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}
.app-sidebar[data-bs-theme="light"] .sidebar-menu .nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(2px);
}
.app-sidebar[data-bs-theme="light"] .sidebar-menu .nav-link.active {
  color: #fff;
  background: var(--dsshl-primary);
  box-shadow: 0 8px 24px rgba(var(--dsshl-primary-rgb), 0.28);
}
.app-sidebar .nav-icon {
  color: var(--dsshl-secondary);
}
.app-sidebar .nav-link.active .nav-icon {
  color: #fff;
}
.app-sidebar .sidebar-nav-group > .nav-link p {
  width: 100%;
  display: flex;
  align-items: center;
}
.app-sidebar .sidebar-nav-group > .nav-link .nav-arrow {
  margin-left: auto;
  font-size: 0.72rem;
  transition: transform 160ms ease;
}
.app-sidebar[data-bs-theme="light"] .sidebar-nav-group.menu-open > .nav-link.group-active {
  color: #fff;
  background: rgba(var(--dsshl-primary-rgb), 0.2);
}
.app-sidebar .sidebar-submenu {
  display: none;
  margin: 0.25rem 0.2rem 0.45rem 1.2rem;
  padding: 0.2rem 0 0.2rem 0.6rem;
  border-left: 1px solid rgba(149, 214, 0, 0.42);
}
.app-sidebar .sidebar-nav-group.menu-open > .sidebar-submenu, .app-sidebar .sidebar-nav-group:hover > .sidebar-submenu, .app-sidebar .sidebar-nav-group:focus-within > .sidebar-submenu {
  display: block;
}
.app-sidebar .sidebar-nav-group.menu-open > .nav-link .nav-arrow, .app-sidebar .sidebar-nav-group:hover > .nav-link .nav-arrow, .app-sidebar .sidebar-nav-group:focus-within > .nav-link .nav-arrow {
  transform: rotate(90deg);
}
.app-sidebar[data-bs-theme="light"] .sidebar-submenu .nav-link {
  min-height: 2.3rem;
  padding: 0.45rem 0.65rem;
  border-radius: 0.6rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.68);
}
.app-sidebar .sidebar-submenu .nav-icon {
  width: 1.25rem;
  margin-right: 0.45rem;
  font-size: 0.88rem;
}
.sidebar-mini.sidebar-collapse .app-sidebar .sidebar-menu .nav-link:hover {
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .app-sidebar .nav-link, .btn {
    transition: none !important;
  }
}
.form-control:-webkit-autofill, .form-control:-webkit-autofill:hover, .form-control:-webkit-autofill:focus, .form-control:-webkit-autofill:active, .form-control:autofill, .form-control:autofill:hover, .form-control:autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  box-shadow: 0 0 0 1000px #fff inset !important;
  background-color: #fff !important;
  -webkit-text-fill-color: #212529 !important;
  caret-color: #212529;
  transition: background-color 600000.0000000001s 0s, color 600000.0000000001s 0s;
}
@media (prefers-color-scheme: dark) {
  .form-control:-webkit-autofill, .form-control:-webkit-autofill:hover, .form-control:-webkit-autofill:focus, .form-control:-webkit-autofill:active, .form-control:autofill {
    -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
    box-shadow: 0 0 0 1000px #fff inset !important;
    background-color: #fff !important;
    -webkit-text-fill-color: #212529 !important;
  }
}
.flatpickr-input.form-control {
  background-color: var(--bs-body-bg);
}
.flatpickr-calendar {
  font-family: inherit;
  z-index: 1060;
}
#archive-filter-form .archive-filter-range {
  display: none;
}
#archive-filter-form:has(#filter_mode_range:checked) .archive-filter-month {
  display: none !important;
}
#archive-filter-form:has(#filter_mode_range:checked) .archive-filter-range {
  display: block !important;
}
#archive-filter-form:has(#filter_mode_month:checked) .archive-filter-month {
  display: block !important;
}
#archive-filter-form:has(#filter_mode_month:checked) .archive-filter-range {
  display: none !important;
}
#archive-filter-form .select2-container {
  width: 100% !important;
}
body > .select2-container--open {
  z-index: 1090;
}
#archive-filter-form .select2-container--bootstrap-5 .select2-selection {
  min-height: calc(1.5em + 0.75rem + 2px);
}
#archive-filter-form .select2-container--bootstrap-5.select2-container--disabled .select2-selection {
  background-color: var(--bs-secondary-bg);
  cursor: not-allowed;
}
.arhiv-datatable th.archive-col-date, .arhiv-datatable td.archive-col-date {
  text-align: left !important;
}
.archive-status-label-1 {
  color: #267f00;
}
.archive-status-label-2 {
  color: #0094ff;
}
.archive-status-label-3 {
  color: #cc0000;
}
.archive-status-label-4 {
  color: #ff0000;
}
.archive-status-label-5 {
  color: #267f00;
}
.archive-status-label-6 {
  color: #cc0000;
}
.table-responsive {
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 576px) {
  .table th, .table td {
    font-size: 0.85rem;
  }
}
body {
  --bs-primary: var(--dsshl-primary);
  --bs-primary-rgb: var(--dsshl-primary-rgb);
  --bs-link-color: var(--dsshl-primary-dark);
  --bs-link-hover-color: var(--dsshl-primary);
  --bs-border-color: var(--dsshl-border);
  color: var(--dsshl-ink);
  background: var(--dsshl-canvas);
  font-feature-settings: "ss01" 1, "cv11" 1;
  -webkit-font-smoothing: antialiased;
}
a {
  text-underline-offset: 0.18em;
}
::selection {
  color: var(--dsshl-ink);
  background: rgba(var(--dsshl-secondary-rgb), 0.48);
}
.btn-primary {
  --bs-btn-bg: var(--dsshl-primary);
  --bs-btn-border-color: var(--dsshl-primary);
  --bs-btn-hover-bg: var(--dsshl-primary-dark);
  --bs-btn-hover-border-color: var(--dsshl-primary-dark);
  --bs-btn-active-bg: var(--dsshl-primary-dark);
  --bs-btn-active-border-color: var(--dsshl-primary-dark);
}
.btn {
  border-radius: 0.7rem;
  font-weight: 650;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.badge {
  border-radius: 999px;
  font-weight: 650;
  padding: 0.42em 0.7em;
}
.app-main {
  background: radial-gradient(circle at 95% 0%, rgba(var(--dsshl-primary-rgb), 0.08), transparent 24rem), var(--dsshl-canvas);
}
.app-header {
  min-height: 4rem;
  padding-inline: 0.5rem;
  border-bottom: 1px solid rgba(223, 231, 236, 0.85) !important;
  box-shadow: 0 2px 16px rgba(16, 24, 32, 0.04);
  backdrop-filter: blur(16px);
}
.app-header .navbar-brand-title {
  font-weight: 700;
  color: var(--dsshl-ink);
  letter-spacing: -0.015em;
}
.app-header .nav-link {
  border-radius: 0.65rem;
}
.app-header .nav-link:hover {
  background: var(--dsshl-primary-soft);
  color: var(--dsshl-primary-dark);
}
.app-header .sidebar-trigger {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  padding: 0;
}
.app-header .user-menu > .nav-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.65rem;
}
@media (max-width: 991.98px) {
  .app-header .sidebar-trigger {
    width: 3rem;
    height: 3rem;
    font-size: 1.75rem;
    line-height: 1;
  }
}
.user-avatar {
  display: grid;
  flex: 0 0 auto;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 100%;
  object-fit: cover;
  object-position: center;
}
.user-avatar-sm {
  width: 2.2rem;
  height: 2.2rem;
}
.user-avatar-lg {
  width: 6rem;
  height: 6rem;
  margin: 0 auto 0.8rem;
  border: 3px solid rgba(255, 255, 255, 0.78);
}
.user-avatar-fallback {
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--dsshl-primary), var(--dsshl-primary-dark));
  font-weight: 750;
  letter-spacing: 0.02em;
}
.user-avatar-sm.user-avatar-fallback {
  font-size: 0.72rem;
}
.user-avatar-lg.user-avatar-fallback {
  font-size: 1.7rem;
}
.user-menu .user-header {
  min-height: auto;
}
.app-content-header {
  padding: 1.6rem 0 1rem;
}
.app-content-header h3 {
  color: var(--dsshl-ink);
  font-size: clamp(1.55rem, 2vw, 2rem);
  font-weight: 750;
  letter-spacing: -0.035em;
}
.app-content-header .breadcrumb {
  --bs-breadcrumb-divider-color: #a4afb7;
  font-size: 0.82rem;
}
.app-content > .container-fluid, .app-content-header > .container-fluid {
  max-width: 1540px;
  padding-inline: clamp(1rem, 2vw, 2rem);
}
.app-content {
  padding-bottom: 2rem;
}
.app-footer {
  padding: 0.85rem clamp(1rem, 2vw, 2rem);
  border-top: 1px solid var(--dsshl-border);
  background: rgba(255, 255, 255, 0.92);
  color: var(--dsshl-muted);
  font-size: 0.82rem;
}
.card, .content-panel, .section-card {
  border: 1px solid var(--dsshl-border);
  border-radius: var(--dsshl-radius);
  background: var(--dsshl-surface);
  box-shadow: var(--dsshl-shadow-sm);
}
.card {
  overflow: hidden;
}
.card-header {
  padding: 1rem 1.25rem;
  border-bottom-color: var(--dsshl-border);
  background: transparent;
}
.card-body {
  padding: 1.25rem;
}
.section-card {
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.section-card-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--dsshl-border);
}
.section-card-icon {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 0.75rem;
  color: var(--dsshl-primary);
  background: var(--dsshl-primary-soft);
}
.section-card-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -0.012em;
}
.section-card-count {
  margin-left: auto;
  color: var(--dsshl-muted);
  background: #eef2f4;
}
.empty-state {
  padding: clamp(2rem, 5vw, 3.5rem) 1.5rem;
  text-align: center;
  color: var(--dsshl-muted);
}
.empty-state-icon {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 0.9rem;
  place-items: center;
  border-radius: 1rem;
  color: var(--dsshl-primary);
  background: var(--dsshl-primary-soft);
  font-size: 1.35rem;
}
.table-responsive {
  margin: 0;
}
.table {
  --bs-table-bg: transparent;
  --bs-table-hover-bg: var(--dsshl-primary-soft);
  margin-bottom: 0;
}
.table > :not(caption) > * > * {
  padding: 0.8rem 1rem;
  border-bottom-color: var(--dsshl-border);
}
.table thead th {
  color: var(--dsshl-muted);
  background: #f8fafb;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}
.table tbody tr:last-child > * {
  border-bottom: 0;
}
.calendar-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.calendar-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
}
.form-control, .form-select {
  min-height: 2.7rem;
  border-color: #cad6dd;
  border-radius: 0.7rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--dsshl-primary);
  box-shadow: 0 0 0 0.22rem rgba(var(--dsshl-primary-rgb), 0.14);
}
.alert {
  border: 0;
  border-left: 4px solid currentColor;
  border-radius: var(--dsshl-radius-sm);
  box-shadow: var(--dsshl-shadow-sm);
}
.guest-layout {
  background: radial-gradient(circle at top right, rgba(var(--dsshl-primary-rgb), 0.16), transparent 30rem), var(--dsshl-canvas);
}
.guest-layout > .navbar {
  background: linear-gradient(115deg, var(--dsshl-primary-dark), var(--dsshl-primary)) !important;
  border-bottom: 3px solid var(--dsshl-secondary);
}
.login-page .login-box .card {
  overflow: hidden;
  border-top: 4px solid var(--dsshl-secondary);
  box-shadow: var(--dsshl-shadow);
}
@media (max-width: 575.98px) {
  .app-content-header {
    padding-top: 1.15rem;
  }
  .app-content-header .breadcrumb {
    display: none;
  }
  .table > :not(caption) > * > * {
    padding: 0.7rem 0.8rem;
  }
  .calendar-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .calendar-actions .btn {
    justify-content: center;
  }
}
.referees-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.referees-card {
  overflow: hidden;
}
.referees-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.referee-name {
  color: var(--dsshl-ink);
  font-weight: 720;
}
.referee-username {
  color: var(--dsshl-muted);
  font-size: 0.77rem;
}
.referee-mobile-details {
  display: none;
}
.referee-mobile-official-roles {
  display: none;
}
.referee-official-role-list, .referee-role-list, .referee-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}
.official-type-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.28rem;
}
.official-type-badges:empty {
  display: none;
}
.official-type-badge {
  padding: 0.3rem 0.48rem;
  border: 1px solid transparent;
  border-radius: 0.4rem;
  font-size: 0.65rem;
  font-weight: 780;
  line-height: 1;
  text-transform: none;
  white-space: nowrap;
}
.official-type-badge.is-head {
  color: #633500;
  background: #ffb547;
  border-color: #f59e0b;
}
.official-type-badge.is-linesman {
  color: #fff;
  background: #374151;
  border-color: #27313f;
}
.official-type-badge.is-supervisor {
  color: #243800;
  background: #95d600;
  border-color: #7fb800;
}
.referee-role-badge {
  color: #335000;
  background: rgba(var(--dsshl-secondary-rgb), 0.2);
}
.referee-current-row > * {
  background: rgba(var(--dsshl-primary-rgb), 0.07) !important;
  box-shadow: inset 0 1px rgba(var(--dsshl-primary-rgb), 0.12), inset 0 -1px rgba(var(--dsshl-primary-rgb), 0.12);
}
.referee-current-row > *:first-child {
  box-shadow: inset 3px 0 var(--dsshl-primary), inset 0 1px rgba(var(--dsshl-primary-rgb), 0.12), inset 0 -1px rgba(var(--dsshl-primary-rgb), 0.12);
}
.referee-current-row .referee-name {
  color: var(--dsshl-primary-dark);
  font-weight: 800;
}
.referee-inactive-row > * {
  background: #fff0f0 !important;
}
.referee-inactive-row:hover > * {
  background: #ffe2e2 !important;
}
.referee-highlight > * {
  animation: referee-highlight 2.2s ease-out;
}
.btn-success-subtle {
  --bs-btn-color: #325000;
  --bs-btn-bg: rgba(var(--dsshl-secondary-rgb), .2);
  --bs-btn-border-color: rgba(var(--dsshl-secondary-rgb), .35);
  --bs-btn-hover-color: #243800;
  --bs-btn-hover-bg: rgba(var(--dsshl-secondary-rgb), .32);
  --bs-btn-hover-border-color: rgba(var(--dsshl-secondary-rgb), .5);
}
.status-dot {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.38rem;
  border-radius: 50%;
  background: currentColor;
  vertical-align: 0.08em;
}
.referee-form .card-header h3 {
  font-weight: 750;
}
.referee-permission-switch {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0 0.55rem 2.75rem;
  border-bottom: 1px solid var(--dsshl-border);
}
.referee-permission-switch:last-child {
  border-bottom: 0;
}
.referee-permission-switch .form-check-input {
  flex: 0 0 auto;
}
.impersonation-banner {
  padding: 0.75rem clamp(1rem, 2vw, 2rem) 0;
  background: var(--dsshl-canvas);
}
.impersonation-banner-inner {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  max-width: 1540px;
  margin-inline: auto;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(var(--dsshl-secondary-rgb), 0.6);
  border-radius: var(--dsshl-radius-sm);
  background: linear-gradient(90deg, #eef9d5, #f9fdec);
  box-shadow: var(--dsshl-shadow-sm);
}
.impersonation-icon {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 0.65rem;
  color: #314d00;
  background: var(--dsshl-secondary);
  font-size: 1.1rem;
}
.impersonation-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}
.impersonation-copy span {
  color: #526238;
  font-size: 0.78rem;
}
.impersonation-banner form {
  margin-left: auto;
  flex: 0 0 auto;
}
.dt-container {
  padding: 1rem;
}
.dt-container .dt-layout-row {
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.9rem;
}
.dt-container .dt-layout-row:last-child {
  margin: 0.9rem 0 0;
}
.dt-container .dt-search input, .dt-container .dt-length select {
  border: 1px solid #cad6dd;
  border-radius: 0.6rem;
}
.dt-container .dt-paging .pagination {
  margin-bottom: 0;
}
@keyframes referee-highlight {
  0%, 35% {
    background: rgba(var(--dsshl-secondary-rgb), 0.28);
  }
  100% {
    background: transparent;
  }
}
@media (max-width: 991.98px) {
  #referees-table .ref-col-city, #referees-table .ref-col-email, #referees-table .ref-col-mobile, #referees-table .ref-col-official-roles, #referees-table .ref-col-roles, #referees-table .ref-col-status {
    display: none;
  }
  .referee-mobile-official-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.45rem;
  }
  .referee-mobile-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    margin-top: 0.45rem;
    color: var(--dsshl-muted);
    font-size: 0.78rem;
  }
  .referee-mobile-details span, .referee-mobile-details a {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}
@media (max-width: 575.98px) {
  .referees-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .referees-toolbar-actions {
    flex-direction: column;
  }
  .referees-toolbar .btn {
    width: 100%;
  }
  #referees-table > thead {
    display: none;
  }
  #referees-table, #referees-table tbody {
    display: block;
    width: 100% !important;
  }
  #referees-table tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    width: 100%;
    border-bottom: 1px solid var(--dsshl-border);
  }
  #referees-table tbody tr:last-child {
    border-bottom: 0;
  }
  #referees-table tbody td {
    display: block;
    min-width: 0;
    border: 0;
    background: transparent;
  }
  #referees-table .ref-col-actions {
    display: block;
    padding-left: 0.25rem;
  }
  .referee-actions {
    flex-wrap: nowrap;
    justify-content: flex-end;
  }
  .impersonation-banner-inner {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .impersonation-banner form {
    width: 100%;
    margin-left: 0;
  }
  .impersonation-banner .btn {
    width: 100%;
  }
  .dt-container {
    padding: 0.75rem;
  }
  .dt-container .dt-layout-row {
    align-items: stretch;
    flex-direction: column;
  }
  .dt-container .dt-layout-cell {
    width: 100%;
  }
  .dt-container .dt-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .dt-container .dt-search input {
    min-width: 0;
    width: 100%;
    margin-left: 0 !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .referee-highlight > * {
    animation: none;
    background: rgba(var(--dsshl-secondary-rgb), 0.2) !important;
  }
}
.settings-card-icon {
  display: grid;
  width: 2.55rem;
  height: 2.55rem;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 0.8rem;
  color: var(--dsshl-primary);
  background: var(--dsshl-primary-soft);
  font-size: 1.15rem;
}
.settings-card .form-label {
  color: var(--dsshl-ink);
  font-size: 0.86rem;
  font-weight: 680;
}
.settings-card .form-control:disabled {
  color: var(--dsshl-muted);
  background: #f1f4f6;
}
.settings-avatar-field {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--dsshl-border);
  border-radius: 0.9rem;
  background: #f8fafb;
}
.settings-avatar-preview {
  width: 5rem;
  height: 5rem;
}
.settings-avatar-preview.user-avatar-fallback {
  font-size: 1.35rem;
}
.settings-avatar-copy {
  min-width: 0;
  flex: 1 1 auto;
}
.settings-avatar-copy .form-control {
  background: #fff;
}
.payment-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.payment-option {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  min-width: 0;
  padding: 0.9rem;
  border: 1px solid var(--dsshl-border);
  border-radius: 0.8rem;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}
.payment-option:has(input:checked) {
  border-color: var(--dsshl-primary);
  background: var(--dsshl-primary-soft);
  box-shadow: 0 0 0 2px rgba(var(--dsshl-primary-rgb), 0.1);
}
.payment-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.payment-option-icon {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 0.6rem;
  color: var(--dsshl-primary);
  background: #fff;
}
.payment-option strong, .payment-option small {
  display: block;
}
.payment-option strong {
  font-size: 0.85rem;
}
.payment-option small {
  margin-top: 0.15rem;
  color: var(--dsshl-muted);
  font-size: 0.72rem;
  line-height: 1.3;
}
.settings-note {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 1rem;
  border: 1px solid rgba(var(--dsshl-primary-rgb), 0.16);
  border-radius: var(--dsshl-radius-sm);
  color: #36556a;
  background: var(--dsshl-primary-soft);
  font-size: 0.83rem;
  line-height: 1.55;
}
.settings-note i {
  flex: 0 0 auto;
  color: var(--dsshl-primary);
  font-size: 1.05rem;
}
@media (max-width: 575.98px) {
  .payment-options {
    grid-template-columns: 1fr;
  }
  .settings-card .card-header {
    align-items: flex-start !important;
  }
  .settings-avatar-field {
    align-items: flex-start;
    flex-direction: column;
  }
  .settings-avatar-preview {
    width: 4rem;
    height: 4rem;
  }
  .settings-avatar-copy {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .payment-option {
    transition: none;
  }
}
.membership-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.membership-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
  color: var(--dsshl-primary);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.membership-intro {
  max-width: 54rem;
  color: var(--dsshl-text);
  font-size: 1rem;
}
.membership-summary {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 0.1rem 0.75rem;
  min-width: 17rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--dsshl-border);
  border-radius: var(--dsshl-radius-sm);
  background: #fff;
  box-shadow: var(--dsshl-shadow-sm);
}
.membership-summary-icon {
  display: grid;
  grid-row: 1 / 3;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border-radius: 0.85rem;
  font-size: 1.3rem;
}
.membership-summary small {
  display: block;
  color: var(--dsshl-muted);
}
.membership-summary strong {
  display: block;
  font-size: 1.25rem;
  line-height: 1.2;
}
.membership-summary-count {
  grid-column: 2;
  color: var(--dsshl-muted);
  font-size: 0.75rem;
}
.membership-summary.is-clear .membership-summary-icon {
  color: #3f6500;
  background: rgba(var(--dsshl-secondary-rgb), 0.22);
}
.membership-summary.is-due .membership-summary-icon {
  color: #b42318;
  background: #fee4e2;
}
.membership-card {
  overflow: hidden;
}
.membership-card .table {
  margin-bottom: 0;
}
.membership-card .table > :not(caption) > * > * {
  padding-block: 0.9rem;
}
.membership-type {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.membership-type i {
  color: var(--dsshl-primary);
}
.membership-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.58rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}
.membership-status.is-paid {
  color: #365900;
  background: rgba(var(--dsshl-secondary-rgb), 0.2);
}
.membership-status.is-overdue {
  color: #9a2a22;
  background: #fde9e7;
}
.membership-status.is-pending {
  color: #7c5700;
  background: #fff2ce;
}
.membership-mobile-details {
  display: none;
}
.membership-payment {
  margin-top: 1.5rem;
  padding: clamp(1rem, 2.5vw, 1.75rem);
  border: 1px solid rgba(var(--dsshl-primary-rgb), 0.24);
  border-radius: var(--dsshl-radius);
  background: linear-gradient(145deg, #fff, #f6fbfe);
  box-shadow: var(--dsshl-shadow);
}
.membership-payment-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.membership-payment-kicker {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--dsshl-primary);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.payment-document {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  border: 1px solid var(--dsshl-border);
  border-radius: var(--dsshl-radius-sm);
  background: #fff;
}
.payment-document-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-weight: 750;
}
.payment-document-title span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.payment-document-title i {
  color: var(--dsshl-primary);
}
.upn-preview {
  width: 100%;
  overflow-x: auto;
  border-radius: 0.55rem;
  background: #fafafa;
}
.upn-preview img {
  display: block;
  width: 100%;
  min-width: 620px;
  height: auto;
}
.qr-preview {
  display: grid;
  place-items: center;
  flex: 1;
  min-height: 14rem;
}
.qr-preview img {
  width: min(100%, 330px);
  height: auto;
}
.membership-empty-icon {
  display: inline-grid;
  width: 4rem;
  height: 4rem;
  place-items: center;
  border-radius: 1.15rem;
  color: var(--dsshl-primary);
  background: rgba(var(--dsshl-primary-rgb), 0.1);
  font-size: 1.75rem;
}
@media (max-width: 991.98px) {
  .membership-hero {
    align-items: stretch;
    flex-direction: column;
  }
  .membership-summary {
    min-width: 0;
    width: 100%;
  }
  .membership-col-invoice, .membership-col-reference, .membership-col-due {
    display: none;
  }
  .membership-mobile-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.15rem 0.6rem;
    margin-top: 0.35rem;
    color: var(--dsshl-muted);
    font-size: 0.72rem;
  }
}
@media (max-width: 575.98px) {
  #membership-table > thead {
    display: none;
  }
  #membership-table, #membership-table tbody {
    display: block;
    width: 100% !important;
  }
  #membership-table tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.15rem 0.75rem;
    width: 100%;
    padding: 0.85rem;
    border-bottom: 1px solid var(--dsshl-border);
  }
  #membership-table tbody tr:last-child {
    border-bottom: 0;
  }
  #membership-table tbody td {
    display: block;
    min-width: 0;
    padding: 0.2rem 0;
    border: 0;
    background: transparent;
  }
  #membership-table tbody td:nth-child(2) {
    grid-column: 1;
  }
  #membership-table tbody td:nth-child(5) {
    grid-column: 2;
    grid-row: 1;
    text-align: right;
  }
  #membership-table tbody td:nth-child(7) {
    grid-column: 1;
  }
  #membership-table tbody td:nth-child(8) {
    grid-column: 2;
    grid-row: 2 / 4;
    align-self: center;
    text-align: right;
  }
  .membership-card .dt-container {
    padding: 0.75rem;
  }
  .membership-card .dt-layout-row {
    align-items: stretch;
    flex-direction: column;
  }
  .membership-card .dt-layout-cell {
    width: 100%;
  }
  .membership-card .dt-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .membership-card .dt-search input {
    min-width: 0;
    width: 100%;
    margin-left: 0 !important;
  }
  .payment-document-title {
    align-items: flex-start;
    flex-direction: column;
  }
  .payment-document-title .btn {
    width: 100%;
  }
  .membership-payment-header .text-muted {
    font-size: 0.82rem;
  }
}
.absence-hero {
  background: linear-gradient(125deg, #0074b5, #0082ca 58%, #0b94d8);
  color: #fff;
  border-radius: 1.25rem;
  padding: clamp(1.4rem, 3vw, 2.3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 18px 42px rgba(0, 130, 202, 0.2);
  position: relative;
  overflow: hidden;
}
.absence-hero:after {
  content: "";
  position: absolute;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: rgba(149, 214, 0, 0.25);
  right: -6rem;
  top: -8rem;
}
.absence-hero > * {
  position: relative;
  z-index: 1;
}
.absence-hero h1 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  margin: 0.25rem 0;
}
.absence-hero p {
  margin: 0;
  max-width: 46rem;
  color: rgba(255, 255, 255, 0.84);
}
.absence-hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 700;
  font-size: 0.72rem;
  color: #cfff66;
}
.absence-hero .btn {
  font-weight: 700;
  white-space: nowrap;
  color: #006da9;
}
.absence-tabs {
  gap: 0.4rem;
  overflow-x: auto;
  flex-wrap: nowrap;
  padding-bottom: 0.2rem;
  scrollbar-width: none;
}
.absence-tabs::-webkit-scrollbar {
  display: none;
}
.absence-tabs .nav-link {
  white-space: nowrap;
  color: #4b5563;
  border-radius: 0.75rem;
  font-weight: 600;
}
.absence-tabs .nav-link.active {
  background: #0082ca;
  box-shadow: 0 6px 16px rgba(0, 130, 202, 0.22);
}
.absence-card {
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.07);
  overflow: hidden;
}
.absence-card .card-header {
  background: #fff;
  border-bottom: 1px solid #eef1f4;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.absence-card .card-body {
  padding: 1.25rem;
}
.absence-list {
  display: grid;
  gap: 0.75rem;
}
.absence-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid #e7edf2;
  border-radius: 0.9rem;
  padding: 1rem;
  background: #fff;
}
.absence-item.is-ongoing {
  border-left: 4px solid #95d600;
  background: linear-gradient(90deg, rgba(149, 214, 0, 0.08), #fff);
}
.absence-date {
  min-width: 7rem;
  border-right: 1px solid #e7edf2;
  padding-right: 1rem;
}
.absence-date strong, .absence-date span {
  display: block;
}
.absence-date span {
  font-size: 0.83rem;
  color: #6b7280;
}
.absence-item-body {
  flex: 1;
  min-width: 0;
}
.absence-item-body p {
  margin: 0 0 0.25rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.absence-item-body small {
  color: #6b7280;
}
.absence-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: #6b7280;
}
.absence-empty i {
  font-size: 2.4rem;
  color: #95d600;
}
.absence-empty strong {
  color: #111827;
}
.absence-empty-action {
  appearance: none;
  padding: 0;
  border: 0;
  color: var(--dsshl-primary-dark);
  background: transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}
.absence-empty-action:hover {
  color: var(--dsshl-primary);
}
.absence-empty-action:focus-visible {
  border-radius: 0.2rem;
  outline: 3px solid rgba(var(--dsshl-primary-rgb), 0.24);
  outline-offset: 2px;
}
.weekly-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
}
.weekly-day button {
  border: 1px solid #dce4ea;
  background: #f8fafc;
  width: 100%;
  border-radius: 0.75rem;
  padding: 0.65rem 0.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: #64748b;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
}
.weekly-day.is-active button {
  background: #fff0f1;
  border-color: #dc3545;
  color: #b42332;
}
.weekly-day.is-active button span {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.weekly-day button i {
  font-size: 1rem;
}
.calendar-header {
  text-align: center;
}
.calendar-today-link {
  border: 0;
  background: none;
  color: #0082ca;
  font-size: 0.8rem;
  padding: 0.15rem;
}
.absence-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
}
.calendar-weekday {
  text-align: center;
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 700;
  color: #94a3b8;
  padding: 0.4rem;
}
.calendar-day {
  aspect-ratio: 1.25;
  border: 0;
  border-radius: 0.65rem;
  background: #f7f9fb;
  color: #334155;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.calendar-day.is-outside {
  opacity: 0.32;
}
.calendar-day.is-today {
  box-shadow: inset 0 0 0 2px #0082ca;
  font-weight: 800;
}
.calendar-day.has-absence {
  background: rgba(0, 130, 202, 0.1);
  color: #006da9;
  font-weight: 800;
}
.calendar-day.has-absence i {
  position: absolute;
  width: 0.35rem;
  height: 0.35rem;
  background: #95d600;
  border-radius: 50%;
  bottom: 0.35rem;
}
.calendar-day.is-selected {
  background: #0082ca;
  color: #fff;
}
.calendar-details {
  margin-top: 1rem;
  min-height: 3.5rem;
  border-radius: 0.75rem;
  background: #f5f8fa;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  color: #64748b;
}
.calendar-details strong {
  color: #1e293b;
}
.calendar-details span i {
  font-size: 0.45rem;
  color: #95d600;
  margin-right: 0.45rem;
}
.season-stats {
  display: grid;
  gap: 0.75rem;
}
.season-stat {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: clamp(1rem, 5vw, 4rem);
  padding: 1rem 1.2rem;
  border: 1px solid #e7edf2;
  border-radius: 0.9rem;
}
.season-stat.is-current {
  border-color: #95d600;
  background: linear-gradient(90deg, rgba(149, 214, 0, 0.09), #fff);
}
.season-stat > div:first-child span, .season-stat > div:first-child strong, .season-stat > div:first-child small, .season-stat-value span, .season-stat-periods span {
  display: block;
}
.season-stat > div:first-child span, .season-stat-value span, .season-stat-periods span {
  font-size: 0.75rem;
  color: #64748b;
}
.season-stat > div:first-child strong {
  font-size: 1.1rem;
}
.season-stat > div:first-child small {
  color: #5b8100;
}
.season-stat-value strong, .season-stat-periods strong {
  font-size: 1.45rem;
  color: #0082ca;
}
.season-stat-periods strong {
  color: #334155;
}
@media (max-width: 575.98px) {
  .absence-hero {
    align-items: flex-start;
    flex-direction: column;
  }
  .absence-hero .btn {
    width: 100%;
  }
  .absence-item {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .absence-date {
    border: 0;
    min-width: 0;
    flex: 1;
  }
  .absence-item-body {
    order: 3;
    flex-basis: 100%;
  }
  .weekly-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .absence-card .card-body {
    padding: 1rem;
  }
  .absence-calendar {
    gap: 0.18rem;
  }
  .calendar-day {
    aspect-ratio: 1;
    border-radius: 0.45rem;
  }
  .season-stat {
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
  }
  .season-stat-periods {
    grid-column: 2;
  }
  .season-stat-value, .season-stat-periods {
    text-align: right;
  }
}
.calendar-day.is-weekend, .calendar-day.is-holiday {
  background: #eef3f6;
  color: #526171;
}
.calendar-day.is-holiday {
  box-shadow: inset 0 0 0 1px #cbd9e1;
  font-weight: 750;
}
.calendar-day.has-absence {
  background: #ffe5e7;
  color: #a51d2d;
  font-weight: 800;
}
.calendar-day.has-absence i {
  background: #dc3545;
}
.calendar-day.has-absence.is-today {
  box-shadow: inset 0 0 0 2px #0082ca;
}
.absence-calendar-tooltip .tooltip-inner {
  max-width: 18rem;
  text-align: left;
}
.absence-item-body .absence-schedule {
  display: block;
  margin-bottom: 0.2rem;
  color: #006da9;
  font-weight: 700;
}
.absence-schedule-box {
  height: 100%;
  padding: 1rem;
  border: 1px solid #dfe7ec;
  border-radius: 0.85rem;
  background: #f8fafb;
}
.absence-schedule-box legend {
  float: none;
  width: auto;
  margin: 0 0 0.75rem;
  padding: 0;
  color: #263946;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.absence-day-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}
.absence-day-presets .btn.is-active {
  color: #fff;
  background: #0082ca;
  border-color: #0082ca;
}
.absence-weekday-selector {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
}
.absence-weekday-selector label {
  cursor: pointer;
}
.absence-weekday-selector input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.absence-weekday-selector span {
  display: grid;
  min-height: 2.45rem;
  place-items: center;
  border: 1px solid #d7e1e7;
  border-radius: 0.65rem;
  color: #667783;
  background: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}
.absence-weekday-selector input:checked + span {
  border-color: #95d600;
  color: #335000;
  background: #eff9dc;
  box-shadow: inset 0 0 0 1px #95d600;
}
.absence-weekday-selector input:focus-visible + span {
  outline: 3px solid rgba(0, 130, 202, 0.2);
  outline-offset: 2px;
}
.absence-time-switch {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
}
.absence-time-range {
  margin-top: 0.65rem;
}
.calendar-day.has-partial-absence {
  background: #fff0d9;
  color: #986000;
}
.calendar-day.has-partial-absence i {
  background: #f2a52b;
}
.absence-item.is-external {
  border-left: 4px solid #0082ca;
  background: linear-gradient(90deg, rgba(0, 130, 202, 0.07), #fff);
}
.calendar-day.has-external-absence {
  box-shadow: inset 0 0 0 2px #0082ca;
}
.absence-overview-without-weekly > .col-xl-8 {
  width: 100%;
}
@media (max-width: 575.98px) {
  .absence-weekday-selector {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .absence-day-presets .btn {
    flex: 1 1 auto;
  }
  .absence-schedule-box {
    padding: 0.85rem;
  }
}
.supervision-hero {
  background: linear-gradient(125deg, #006da9, #0082ca 62%, #19a3d8);
  color: #fff;
  border-radius: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 18px 42px rgba(0, 130, 202, 0.2);
}
.supervision-hero span, .control-report-hero > div > span {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: #cfff66;
  font-size: 0.72rem;
  font-weight: 800;
}
.supervision-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin: 0.25rem 0;
}
.supervision-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}
.supervision-hero .btn {
  color: #006da9;
  font-weight: 700;
  white-space: nowrap;
}
.control-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin: 1.25rem 0;
}
.control-toolbar form {
  min-width: 15rem;
}
.control-toolbar label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 0.3rem;
}
.control-summary {
  display: flex;
  gap: 0.75rem;
}
.control-summary span {
  background: #fff;
  border: 1px solid #e5ebef;
  border-radius: 0.8rem;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  color: #64748b;
}
.control-summary strong {
  font-size: 1.25rem;
  color: #0082ca;
}
.archive-notice {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.2rem;
  border-radius: 0.85rem;
  background: #f1f5f8;
  color: #475569;
  margin-bottom: 1.25rem;
}
.archive-notice i {
  font-size: 1.35rem;
  color: #0082ca;
}
.archive-notice strong, .archive-notice span {
  display: block;
}
.archive-notice span {
  font-size: 0.85rem;
}
.control-list-card, .control-form .card {
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.07);
  overflow: hidden;
}
.control-list-card > .card-header, .control-form .card-header {
  background: #fff;
  border-bottom: 1px solid #edf1f4;
  padding: 1.1rem 1.25rem;
}
.control-list-card h2, .control-form h2 {
  font-size: 1.05rem;
  margin: 0;
}
.control-list-card p, .control-form .card-header p {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0.2rem 0 0;
}
.control-list-card td small {
  display: block;
  color: #64748b;
}
.control-list-card tr.is-own td:first-child {
  border-left: 3px solid #95d600;
}
.own-chip {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.12rem 0.4rem;
  border-radius: 1rem;
  background: #eaf8cb;
  color: #507600;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
}
.control-form-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.control-form-heading span {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #0082ca;
  font-weight: 700;
}
.control-form-heading h1 {
  margin: 0.2rem 0 0;
  font-size: 1.65rem;
}
.control-form {
  display: grid;
  gap: 1.25rem;
  max-width: 980px;
}
.control-form .card-header {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}
.control-form .card-header > span {
  width: 2rem;
  height: 2rem;
  border-radius: 0.65rem;
  background: #0082ca;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.control-form textarea {
  min-height: 8rem;
}
.control-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}
.control-form-actions p {
  margin: 0;
  color: #64748b;
}
.control-form-actions p i {
  color: #95d600;
  margin-right: 0.4rem;
}
.control-report {
  max-width: 1000px;
  margin: auto;
  background: #fff;
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.09);
}
.control-report-hero {
  background: linear-gradient(125deg, #006da9, #0082ca);
  padding: 2rem;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
}
.control-report-hero h1 {
  margin: 0.25rem 0;
  font-size: 2rem;
}
.control-report-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}
.control-report-date {
  text-align: right;
}
.control-report-date strong, .control-report-date span {
  display: block;
}
.control-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid #edf1f4;
}
.control-meta > div {
  padding: 1rem 1.25rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 0.65rem;
}
.control-meta i {
  grid-row: 1/3;
  color: #0082ca;
  font-size: 1.25rem;
}
.control-meta span {
  font-size: 0.72rem;
  color: #64748b;
}
.control-sections {
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
}
.control-sections section {
  border: 1px solid #e7edf2;
  border-radius: 0.9rem;
  padding: 1.2rem;
  display: flex;
  gap: 1rem;
}
.control-sections h2 {
  font-size: 1rem;
  margin: 0 0 0.6rem;
}
.control-section-icon {
  width: 2.3rem;
  height: 2.3rem;
  flex: 0 0 auto;
  border-radius: 0.7rem;
  display: grid;
  place-items: center;
}
.control-section-icon.blue {
  background: #e4f5ff;
  color: #0082ca;
}
.control-section-icon.green {
  background: #ecf8d3;
  color: #5c8500;
}
.control-section-icon.dark {
  background: #edf0f2;
  color: #334155;
}
.report-text {
  white-space: normal;
  color: #334155;
  line-height: 1.65;
}
.control-report footer {
  padding: 0 1.5rem 1.5rem;
  text-align: right;
}
@media (max-width: 767.98px) {
  .supervision-hero {
    align-items: flex-start;
    flex-direction: column;
  }
  .supervision-hero .btn {
    width: 100%;
  }
  .control-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .control-toolbar form {
    min-width: 0;
    width: 100%;
  }
  .control-summary {
    width: 100%;
  }
  .control-summary span {
    flex: 1;
  }
  .control-list-card .table-responsive {
    overflow: visible;
  }
  .control-list-card table thead {
    display: none;
  }
  .control-list-card table, .control-list-card tbody, .control-list-card tr, .control-list-card td {
    display: block;
    width: 100% !important;
  }
  .control-list-card tr {
    border: 1px solid #e5ebef;
    border-radius: 0.8rem;
    margin-bottom: 0.8rem;
    padding: 0.55rem;
  }
  .control-list-card td {
    border: 0;
    padding: 0.35rem 0.55rem;
  }
  .control-list-card td:before {
    content: attr(data-label);
    display: block;
    color: #94a3b8;
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 700;
  }
  .control-list-card .dataTables_info, .control-list-card .dataTables_length {
    display: none;
  }
  .control-form-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .control-form-actions .btn {
    width: 100%;
  }
  .control-report-hero {
    align-items: flex-start;
    flex-direction: column;
  }
  .control-report-date {
    text-align: left;
  }
  .control-meta {
    grid-template-columns: 1fr;
  }
  .control-meta > div {
    border-bottom: 1px solid #edf1f4;
  }
  .control-sections {
    padding: 1rem;
  }
  .control-sections section {
    padding: 1rem;
  }
  .control-report footer {
    padding: 0 1rem 1rem;
  }
  .control-report footer .btn {
    width: 100%;
  }
}
@media print {
  .app-header, .app-sidebar, .app-footer, .content-header, .btn {
    display: none !important;
  }
  .app-main, .app-content {
    margin: 0 !important;
    padding: 0 !important;
  }
  .control-report {
    box-shadow: none;
    max-width: none;
  }
}
.legacy-control-data {
  max-width: 100%;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  overflow-x: hidden;
  border-bottom: 1px solid #edf1f4;
  background: #f8fafb;
}
.legacy-control-data .table-responsive {
  width: 100%;
  max-width: 100%;
  contain: inline-size;
}
.legacy-control-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.legacy-control-heading .eyebrow {
  color: var(--dsshl-primary);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.legacy-control-heading h2 {
  margin: 0.15rem 0;
  font-size: 1.3rem;
}
.legacy-control-heading p {
  margin: 0;
  color: var(--dsshl-muted);
  font-size: 0.85rem;
}
.legacy-total-grade {
  display: grid;
  min-width: 8rem;
  padding: 0.75rem 1rem;
  border: 1px solid #fecaca;
  border-radius: 0.85rem;
  background: #fff1f2;
  text-align: center;
}
.legacy-total-grade span {
  color: #9f1239;
  font-size: 0.7rem;
  font-weight: 750;
  text-transform: uppercase;
}
.legacy-total-grade strong {
  color: #b42318;
  font-size: 1.55rem;
  line-height: 1.15;
}
.legacy-section-card, .legacy-rating-card {
  min-width: 0;
  max-width: 100%;
  margin-bottom: 1rem;
  border: 1px solid var(--dsshl-border);
  border-radius: 0.9rem;
  background: #fff;
  overflow: hidden;
}
.legacy-section-card > h3, .legacy-rating-card > h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--dsshl-border);
  font-size: 0.9rem;
}
.legacy-section-card > h3 i {
  color: var(--dsshl-primary);
}
.legacy-meta-table, .legacy-rating-table {
  min-width: 34rem;
}
.legacy-meta-table th, .legacy-meta-table td, .legacy-rating-table th, .legacy-rating-table td {
  text-align: center;
  vertical-align: middle;
}
.legacy-meta-table tbody th, .legacy-rating-table tbody th {
  text-align: left;
  white-space: normal;
}
.legacy-meta-table .is-total {
  color: var(--dsshl-primary-dark);
  background: var(--dsshl-primary-soft);
  font-weight: 800;
}
.legacy-table-note, .legacy-rating-legend {
  margin: 0.65rem 1rem 0.85rem;
  color: var(--dsshl-muted);
  font-size: 0.72rem;
}
.legacy-detail-grid, .legacy-ratings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.legacy-rating-table {
  font-size: 0.78rem;
}
.legacy-rating-table thead th:not(:first-child), .legacy-rating-table td {
  width: 2.5rem;
}
.legacy-rating-table td.is-selected {
  color: #fff;
  background: var(--dsshl-primary);
  font-weight: 800;
}
.legacy-match-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.legacy-match-flags > div {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--dsshl-border);
  border-radius: 0.75rem;
  background: #fff;
}
.legacy-match-flags span {
  color: var(--dsshl-muted);
  font-size: 0.75rem;
}
.legacy-match-flags strong {
  font-size: 0.85rem;
}
@media (max-width: 767.98px) {
  html:has(.legacy-control-data), body:has(.legacy-control-data) {
    overflow-x: hidden;
  }
  .legacy-control-heading {
    align-items: stretch;
    flex-direction: column;
  }
  .legacy-total-grade {
    width: 100%;
  }
  .legacy-detail-grid, .legacy-ratings-grid {
    grid-template-columns: 1fr;
  }
  .legacy-control-data .table-responsive {
    border-radius: 0;
  }
  .legacy-match-flags {
    display: grid;
    grid-template-columns: 1fr;
  }
  .legacy-match-flags > div {
    justify-content: space-between;
  }
}
@media print {
  .legacy-control-data {
    padding: 1rem;
    background: #fff;
  }
  .legacy-section-card, .legacy-rating-card {
    break-inside: avoid;
  }
  .legacy-detail-grid, .legacy-ratings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.report-video {
  width: min(100%, 46rem);
  margin: 1rem 0 1.35rem;
  border: 1px solid #dce5eb;
  border-radius: 0.9rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}
.report-video .ratio {
  background: #0f172a;
}
.report-video iframe {
  border: 0;
}
.report-video-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1rem;
  color: #006da9;
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
  border-top: 1px solid #e7edf2;
}
.report-video-link .bi-youtube {
  color: #e62117;
  font-size: 1.15rem;
}
.report-video-link .bi-box-arrow-up-right {
  margin-left: auto;
  font-size: 0.75rem;
}
.report-video-link:hover {
  background: #f3faff;
  color: #005f93;
}
.report-external-link {
  font-weight: 650;
  overflow-wrap: anywhere;
}
.report-external-link > .bi {
  margin-left: 0.3rem;
  font-size: 0.72em;
}
@media (max-width: 575.98px) {
  .control-sections section {
    display: block;
  }
  .control-sections section > div {
    min-width: 0;
  }
  .control-sections .control-section-icon {
    margin-bottom: 0.75rem;
  }
  .report-video {
    width: 100%;
    margin: 0.85rem 0 1.1rem;
  }
  .report-video-link {
    padding: 0.7rem 0.8rem;
  }
}
.match-reports-hero, .match-report-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 1rem;
  background: linear-gradient(125deg, #0078bc, #008fdc);
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 130, 202, 0.18);
}
.match-reports-hero span, .match-report-heading span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.82;
}
.match-reports-hero h1, .match-report-heading h1 {
  margin: 0.15rem 0 0.25rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 750;
}
.match-reports-hero p, .match-report-heading p {
  margin: 0;
  max-width: 42rem;
  opacity: 0.9;
}
.match-report-heading {
  justify-content: flex-start;
  padding: 1.1rem 1.25rem;
}
.match-report-heading .btn {
  flex: 0 0 auto;
}
.match-reports-list .card-header {
  padding: 1.2rem 1.35rem;
}
.match-reports-list .card-header h2 {
  margin: 0;
  font-size: 1.1rem;
}
.match-reports-list .card-header p {
  margin: 0.25rem 0 0;
  color: #6c7780;
}
.match-reports-list td strong {
  display: block;
}
.match-reports-list td small {
  display: block;
  margin-top: 0.2rem;
  color: #68727c;
}
.match-report-form {
  max-width: 1040px;
  margin: 0 auto 2rem;
}
.match-report-step[hidden] {
  display: none !important;
}
.match-report-step-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0 0 0.8rem;
}
.match-report-step-head > span {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 2.35rem;
  border-radius: 50%;
  background: #0082CA;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(0, 130, 202, 0.22);
}
.match-report-step-head h2 {
  margin: 0;
  font-size: 1.2rem;
}
.match-report-step-head p {
  margin: 0.15rem 0 0;
  color: #68727c;
}
.match-report-form > .match-report-step > .card, .match-report-event {
  border: 1px solid #dce4e9;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(17, 35, 47, 0.055);
  overflow: hidden;
}
.match-report-selected {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  margin-top: 1rem;
  border-radius: 0.75rem;
  background: rgba(149, 214, 0, 0.12);
  border: 1px solid rgba(112, 160, 0, 0.25);
}
.match-report-selected i {
  color: #669300;
  font-size: 1.25rem;
}
.match-report-selected strong, .match-report-selected span {
  display: block;
}
.match-report-selected span {
  color: #5f6a72;
  font-size: 0.88rem;
  margin-top: 0.1rem;
}
.report-match-option {
  padding: 0.15rem 0;
}
.report-match-option strong, .report-match-option small {
  display: block;
}
.report-match-option small {
  color: #6c757d;
  margin-top: 0.12rem;
}
.match-report-event {
  margin-bottom: 1rem;
  padding: 1.15rem 1.25rem 1.3rem;
  background: #fff;
}
.match-report-event header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0.9rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #e7ecef;
}
.match-report-event header > div {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.match-report-event .event-index {
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 0.55rem;
  background: #95D600;
  color: #17210a;
  font-weight: 800;
}
.match-report-event h3 {
  margin: 0;
  font-size: 1rem;
}
.match-report-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.report-review-match {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border-radius: 0.75rem;
  background: #eff8fd;
  color: #006da9;
}
.report-review-event {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.9rem 0;
  border-bottom: 1px solid #e5eaee;
}
.report-review-event > span {
  display: grid;
  place-items: center;
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #95D600;
  font-weight: 800;
}
.report-review-event strong, .report-review-event small {
  display: block;
}
.report-review-event small {
  margin-top: 0.2rem;
  color: #68727c;
}
@media (max-width: 767.98px) {
  .match-reports-hero {
    align-items: flex-start;
    flex-direction: column;
    padding: 1.2rem;
  }
  .match-reports-hero .btn {
    width: 100%;
  }
  .match-report-heading {
    padding: 0.9rem 1rem;
  }
  .match-report-step-head {
    align-items: flex-start;
  }
  .match-report-step-head p {
    font-size: 0.88rem;
  }
  .match-report-event {
    padding: 1rem;
  }
  .match-report-event header .btn span {
    display: none;
  }
  .match-report-form-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .match-report-form-actions .btn {
    width: 100%;
  }
  #match-reports-table thead {
    display: none;
  }
  #match-reports-table, #match-reports-table tbody, #match-reports-table tr, #match-reports-table td {
    display: block;
    width: 100%;
  }
  #match-reports-table tr {
    padding: 0.8rem 0;
    border-bottom: 1px solid #dfe5e9;
  }
  #match-reports-table td {
    border: 0;
    padding: 0.35rem 0.25rem;
  }
  #match-reports-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.1rem;
    color: #6c7780;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  #match-reports-table td:last-child .btn {
    width: 100%;
    margin-top: 0.35rem;
  }
}
.documents-hero {
  background: linear-gradient(125deg, #071f2d, #0c3448 58%, #0082ca);
  color: #fff;
  border-radius: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 18px 42px rgba(7, 31, 45, 0.18);
}
.documents-hero > div > span {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: #95d600;
  font-size: 0.72rem;
  font-weight: 800;
}
.documents-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin: 0.25rem 0;
}
.documents-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}
.documents-hero .btn {
  color: #006da9;
  font-weight: 700;
  white-space: nowrap;
}
.repository-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.25rem 0;
}
.repository-stats > div {
  background: #fff;
  border: 1px solid #e7edf2;
  border-radius: 0.9rem;
  padding: 1rem 1.2rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 0.75rem;
  align-items: center;
}
.repository-stats i {
  grid-row: 1/3;
  font-size: 1.45rem;
  color: #0082ca;
}
.repository-stats span {
  font-size: 0.72rem;
  color: #64748b;
}
.repository-stats strong {
  font-size: 1.25rem;
}
.document-repository {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.07);
  padding: 1.25rem;
}
.repository-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.repository-search {
  position: relative;
  max-width: 30rem;
  flex: 1;
}
.repository-search i {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
}
.repository-search input {
  padding-left: 2.5rem;
}
.repository-count {
  font-size: 0.8rem;
  color: #64748b;
}
.document-filters {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 1rem 0;
}
.document-filters::-webkit-scrollbar {
  display: none;
}
.document-filters button {
  border: 1px solid #e2e8ee;
  background: #f8fafc;
  border-radius: 2rem;
  padding: 0.5rem 0.75rem;
  white-space: nowrap;
  color: #526171;
  font-size: 0.8rem;
  font-weight: 600;
}
.document-filters button i {
  margin-right: 0.35rem;
}
.document-filters button span {
  display: inline-grid;
  place-items: center;
  min-width: 1.25rem;
  height: 1.25rem;
  border-radius: 1rem;
  background: #e7edf2;
  margin-left: 0.35rem;
  font-size: 0.68rem;
}
.document-filters button.active {
  background: #0082ca;
  border-color: #0082ca;
  color: #fff;
}
.document-filters button.active span {
  background: rgba(255, 255, 255, 0.2);
}
.document-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}
.document-card {
  border: 1px solid #e5ebef;
  border-radius: 0.9rem;
  padding: 1rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  transition: 0.18s ease;
}
.document-card:hover {
  border-color: #b8dced;
  box-shadow: 0 7px 20px rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
}
.document-icon {
  width: 3.4rem;
  height: 4rem;
  border-radius: 0.7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #eef3f6;
  color: #475569;
}
.document-icon i {
  font-size: 1.65rem;
  line-height: 1;
}
.document-icon span {
  font-size: 0.56rem;
  font-weight: 800;
  margin-top: 0.2rem;
}
.document-icon.is-pdf {
  background: #ffe9e7;
  color: #c7332d;
}
.document-icon.is-word {
  background: #e5f1ff;
  color: #1769aa;
}
.document-icon.is-excel {
  background: #e4f5e9;
  color: #247b42;
}
.document-icon.is-slides {
  background: #fff0df;
  color: #b65c16;
}
.document-icon.is-archive {
  background: #f3ebff;
  color: #7140a5;
}
.document-icon.is-image {
  background: #e6f8f5;
  color: #087b70;
}
.document-card-body {
  min-width: 0;
}
.document-card h2 {
  font-size: 0.92rem;
  line-height: 1.4;
  color: #334155;
  margin: 0 0 0.45rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.document-meta {
  display: flex;
  gap: 0.8rem;
  color: #94a3b8;
  font-size: 0.7rem;
}
.document-meta i {
  margin-right: 0.25rem;
}
.document-actions {
  display: flex;
  gap: 0.35rem;
}
.document-actions form {
  margin: 0;
}
.repository-empty {
  text-align: center;
  padding: 3rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  color: #64748b;
}
.repository-empty i {
  font-size: 2.6rem;
  color: #95d600;
}
.repository-empty strong {
  color: #1f2937;
}
.document-dropzone {
  border: 2px dashed #b9d4e2;
  border-radius: 1rem;
  background: #f6fbfd;
  min-height: 12rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  cursor: pointer;
}
.document-dropzone:hover {
  border-color: #0082ca;
}
.document-dropzone i {
  font-size: 2.6rem;
  color: #0082ca;
}
.document-dropzone strong {
  margin: 0.4rem 0;
}
.document-dropzone span {
  color: #64748b;
  font-size: 0.8rem;
  overflow-wrap: anywhere;
}
.document-dropzone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
@media (max-width: 991.98px) {
  .document-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 575.98px) {
  .documents-hero {
    align-items: flex-start;
    flex-direction: column;
  }
  .documents-hero .btn {
    width: 100%;
  }
  .repository-stats {
    grid-template-columns: 1fr;
  }
  .repository-stats > div {
    padding: 0.8rem 1rem;
  }
  .repository-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .repository-search {
    max-width: none;
  }
  .repository-count {
    text-align: right;
  }
  .document-repository {
    padding: 1rem;
  }
  .document-card {
    grid-template-columns: auto 1fr;
  }
  .document-actions {
    grid-column: 1/3;
  }
  .document-actions .btn-primary {
    flex: 1;
  }
  .document-actions > a {
    width: 100%;
  }
}
.document-repository {
  margin-top: 1.25rem;
}
.repository-toolbar {
  margin-bottom: 1rem;
}
.matches-hero {
  background: linear-gradient(125deg, #006da9, #0082ca 60%, #16a0d5);
  color: #fff;
  border-radius: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 18px 42px rgba(0, 130, 202, 0.2);
}
.matches-hero > div > span {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: #cfff66;
  font-size: 0.72rem;
  font-weight: 800;
}
.matches-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin: 0.25rem 0;
}
.matches-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}
.matches-hero .btn {
  color: #006da9;
  font-weight: 700;
  white-space: nowrap;
}
.matches-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin: 1.25rem 0;
}
.matches-toolbar form {
  min-width: 15rem;
}
.matches-toolbar label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 0.3rem;
}
.matches-total {
  background: #fff;
  border: 1px solid #e5ebef;
  border-radius: 0.8rem;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  color: #64748b;
}
.matches-total strong {
  font-size: 1.3rem;
  color: #0082ca;
}
.category-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.4rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 0.7rem;
}
.category-tabs::-webkit-scrollbar {
  display: none;
}
.category-tabs .nav-link {
  white-space: nowrap;
  border: 1px solid #dfe7ec;
  background: #fff;
  color: #475569;
  border-radius: 2rem;
  font-weight: 650;
  padding: 0.5rem 0.75rem;
}
.category-tabs .nav-link span {
  display: inline-grid;
  place-items: center;
  min-width: 1.3rem;
  height: 1.3rem;
  border-radius: 1rem;
  background: #edf1f4;
  margin-left: 0.35rem;
  font-size: 0.68rem;
}
.category-tabs .nav-link.active {
  background: #0082ca;
  border-color: #0082ca;
  color: #fff;
}
.category-tabs .nav-link.active span {
  background: rgba(255, 255, 255, 0.2);
}
.matches-card {
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.07);
  overflow: hidden;
}
.matches-card > .card-header {
  background: #fff;
  border-bottom: 1px solid #edf1f4;
  padding: 1.1rem 1.25rem;
}
.matches-card h2 {
  font-size: 1.05rem;
  margin: 0;
}
.matches-card .card-header p {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0.2rem 0 0;
}
.matches-table td small {
  display: block;
  color: #64748b;
}
.result-chip {
  display: inline-block;
  margin-left: 0.4rem;
  background: #0f2532;
  color: #fff;
  border-radius: 0.4rem;
  padding: 0.15rem 0.45rem;
  font-size: 0.72rem;
}
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 2rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 650;
}
.status-chip.is-ok {
  background: #e7f4fa;
  color: #0073ad;
}
.status-chip.is-complete {
  background: #ebf8cf;
  color: #537900;
}
.status-chip.is-muted {
  background: #eef1f3;
  color: #718096;
}
.match-form-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.match-form-heading span {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #0082ca;
  font-weight: 700;
}
.match-form-heading h1 {
  margin: 0.2rem 0 0;
  font-size: 1.65rem;
}
.match-form {
  display: grid;
  gap: 1.25rem;
}
.match-form > .card {
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.07);
  overflow: hidden;
}
.match-form > .card > .card-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: #fff;
  border-bottom: 1px solid #edf1f4;
  padding: 1.1rem 1.25rem;
}
.match-form h2 {
  font-size: 1.05rem;
  margin: 0;
}
.match-form .card-header p {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0.2rem 0 0;
}
.section-number {
  width: 2rem;
  height: 2rem;
  border-radius: 0.65rem;
  background: #0082ca;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.officials-grid {
  display: grid;
  gap: 0.6rem;
}
.officials-head, .official-row {
  display: grid;
  grid-template-columns: minmax(7rem, 0.7fr) repeat(3, minmax(10rem, 1fr));
  gap: 0.7rem;
  align-items: center;
}
.officials-head {
  padding: 0 0.75rem;
  color: #64748b;
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
}
.official-row {
  border: 1px solid #e5ebef;
  border-radius: 0.75rem;
  padding: 0.75rem;
}
.official-row .official-field-label {
  display: none;
}
.match-form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
}
.match-form-actions p {
  margin: 0;
  color: #64748b;
}
.match-form-actions p i {
  color: #0082ca;
  margin-right: 0.4rem;
}
@media (max-width: 767.98px) {
  .matches-hero {
    align-items: flex-start;
    flex-direction: column;
  }
  .matches-hero .btn {
    width: 100%;
  }
  .matches-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .matches-toolbar form {
    min-width: 0;
  }
  .matches-total {
    justify-content: center;
  }
  .matches-card .table-responsive {
    overflow: visible;
  }
  .matches-table thead {
    display: none;
  }
  .matches-table, .matches-table tbody, .matches-table tr, .matches-table td {
    display: block;
    width: 100% !important;
  }
  .matches-table tr {
    border: 1px solid #e5ebef;
    border-radius: 0.8rem;
    margin-bottom: 0.8rem;
    padding: 0.55rem;
  }
  .matches-table td {
    border: 0;
    padding: 0.35rem 0.55rem;
  }
  .matches-table td:before {
    content: attr(data-label);
    display: block;
    color: #94a3b8;
    font-size: 0.64rem;
    text-transform: uppercase;
    font-weight: 700;
  }
  .matches-card .dt-info, .matches-card .dt-length {
    display: none;
  }
  .officials-head {
    display: none;
  }
  .official-row {
    grid-template-columns: 1fr;
  }
  .official-row > strong {
    font-size: 1rem;
    color: #0082ca;
  }
  .official-row .official-field-label {
    display: block;
    color: #64748b;
    font-size: 0.68rem;
    margin-bottom: 0.2rem;
  }
  .match-form-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .match-form-actions .btn {
    width: 100%;
  }
}
.match-form .select2-container {
  width: 100% !important;
  max-width: 100%;
}
.match-form .select2-container--bootstrap-5 .select2-selection {
  min-height: 38px;
  display: flex;
  align-items: center;
}
.match-form .select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
  padding-left: 0.75rem;
  line-height: 1.35;
  white-space: normal;
}
.match-form .select2-container--bootstrap-5 .select2-selection--single .select2-selection__arrow {
  height: 100%;
}
.public-schedule-shell {
  max-width: 1440px;
  margin: auto;
  padding: 1rem clamp(1rem, 3vw, 2.5rem) 2rem;
}
.public-schedule-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.public-schedule-header > a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #0f2532;
  text-decoration: none;
}
.public-schedule-header img {
  height: 2.7rem;
}
.public-schedule-header > div {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.public-schedule-footer {
  text-align: center;
  color: #64748b;
  font-size: 0.75rem;
  padding-top: 2rem;
}
.schedule-hero {
  background: linear-gradient(125deg, #071f2d, #0b354b 55%, #0082ca);
  color: #fff;
  border-radius: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 18px 42px rgba(7, 31, 45, 0.18);
}
.schedule-hero > div > span {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: #95d600;
  font-size: 0.72rem;
  font-weight: 800;
}
.schedule-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin: 0.25rem 0;
}
.schedule-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}
.schedule-hero + .schedule-toolbar {
  margin-top: 1.25rem;
}
.schedule-season {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.9rem;
  padding: 0.75rem 1rem;
  text-align: right;
  white-space: nowrap;
}
.schedule-season small, .schedule-season strong {
  display: block;
}
.schedule-season small {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.7rem;
  text-transform: uppercase;
}
.schedule-season strong {
  font-size: 1.2rem;
}
.schedule-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.25rem 0;
}
.schedule-stats > div {
  background: #fff;
  border: 1px solid #e5ebef;
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 0.7rem;
  align-items: center;
}
.schedule-stats i {
  grid-row: 1/3;
  font-size: 1.3rem;
  color: #0082ca;
}
.schedule-stats span {
  font-size: 0.7rem;
  color: #64748b;
}
.schedule-stats strong {
  font-size: 1.2rem;
}
.schedule-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.schedule-search {
  position: relative;
  max-width: 30rem;
  flex: 1;
}
.schedule-search i {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
}
.schedule-search input {
  padding-left: 2.5rem;
}
.schedule-toolbar > span {
  font-size: 0.78rem;
  color: #64748b;
}
.schedule-categories {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 1rem 0;
}
.schedule-categories::-webkit-scrollbar {
  display: none;
}
.schedule-categories button {
  border: 1px solid #e0e7ec;
  background: #fff;
  color: #526171;
  border-radius: 2rem;
  padding: 0.48rem 0.75rem;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 650;
}
.schedule-categories button span {
  display: inline-grid;
  place-items: center;
  min-width: 1.25rem;
  height: 1.25rem;
  border-radius: 1rem;
  background: #edf1f4;
  margin-left: 0.3rem;
  font-size: 0.65rem;
}
.schedule-categories button.active {
  background: #0082ca;
  border-color: #0082ca;
  color: #fff;
}
.schedule-categories button.active span {
  background: rgba(255, 255, 255, 0.2);
}
.schedule-list {
  display: grid;
  gap: 1rem;
}
.schedule-match {
  background: #fff;
  border: 1px solid #e4eaee;
  border-radius: 1rem;
  display: grid;
  grid-template-columns: 11rem 1fr;
  overflow: hidden;
  box-shadow: 0 7px 22px rgba(15, 23, 42, 0.05);
}
.schedule-date {
  background: linear-gradient(155deg, #f2f7fa, #e6f1f6);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.schedule-date .schedule-day {
  color: #475569;
  font-size: 0.8rem;
}
.schedule-date strong {
  font-size: 1.6rem;
  color: #0078b7;
}
.schedule-date .schedule-location {
  display: flex;
  align-items: flex-start;
  gap: 0.3rem;
  margin-top: 0.25rem;
  color: #475569;
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.25;
}
.schedule-location i {
  color: #0082ca;
}
.schedule-date small {
  color: #94a3b8;
  margin-top: 0.25rem;
}
.schedule-match-main {
  padding: 1.1rem 1.25rem;
}
.schedule-match-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #64748b;
  font-size: 0.75rem;
}
.category-chip {
  background: #e5f4fb;
  color: #0073ad;
  border-radius: 2rem;
  padding: 0.18rem 0.5rem;
  font-weight: 700;
}
.schedule-match h2 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.15rem;
  margin: 0.75rem 0 1rem;
}
.schedule-match h2 i {
  font-style: normal;
  color: #95d600;
}
.schedule-officials {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}
.schedule-official {
  border: 1px solid #e6ebef;
  border-radius: 0.7rem;
  padding: 0.55rem 0.65rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-width: 0;
}
.official-role {
  grid-column: 1/3;
  justify-self: start;
}
.official-name {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}
.official-name:focus-visible {
  outline: 2px solid rgba(0, 130, 202, 0.45);
  outline-offset: 2px;
  border-radius: 0.25rem;
}
.official-name > i {
  flex: 0 0 auto;
  font-size: 1rem;
  line-height: 1;
}
.official-name-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.official-name > i.is-head {
  color: #f59e0b;
}
.official-name > i.is-linesman {
  color: #374151;
}
.official-name > i.is-supervisor {
  color: #95d600;
}
.official-name > i.is-reserve {
  color: #aab5bd;
}
.official-name strong {
  font-size: 0.95rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.official-name small {
  font-size: 0.62rem;
  color: #64748b;
}
.schedule-additional-officials {
  margin-top: 0.5rem;
}
.schedule-additional-officials .schedule-official {
  padding: 0.4rem 0.55rem;
  background: #fafbfc;
}
.schedule-additional-officials .official-role {
  font-size: 0.58rem;
}
.schedule-additional-officials .official-role.is-reserve {
  color: #526171;
  background: #edf1f4;
  border-color: #d8e0e6;
}
.schedule-additional-officials .official-name strong {
  font-size: 0.78rem;
}
.schedule-additional-officials .official-name > i {
  font-size: 0.88rem;
}
.schedule-contact-tooltip .tooltip-inner {
  max-width: 22rem;
  text-align: left;
}
.confirmation-dot {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #aab5bd;
}
.confirmation-dot.is-confirmed {
  background: #95d600;
}
.confirmation-dot.is-viewed {
  background: #f5aa2d;
}
.confirmation-dot.is-waiting {
  background: #aab5bd;
}
.confirmation-dot.is-substitute {
  background: #0082ca;
}
.schedule-empty {
  text-align: center;
  background: #fff;
  border-radius: 1rem;
  padding: 3rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: #64748b;
}
.schedule-empty i {
  font-size: 2.5rem;
  color: #95d600;
}
.schedule-empty strong {
  color: #1f2937;
}
.schedule-legend {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  color: #64748b;
  font-size: 0.7rem;
}
.schedule-legend .confirmation-dot {
  margin-right: 0.3rem;
}
@media (max-width: 991.98px) {
  .schedule-officials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575.98px) {
  .public-schedule-shell {
    padding: 1rem;
  }
  .public-schedule-header > a strong {
    display: none;
  }
  .schedule-hero {
    align-items: flex-start;
    flex-direction: column;
  }
  .schedule-season {
    text-align: left;
    width: 100%;
  }
  .schedule-stats {
    grid-template-columns: 1fr;
  }
  .schedule-stats > div {
    padding: 0.7rem 0.9rem;
  }
  .schedule-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .schedule-search {
    max-width: none;
  }
  .schedule-toolbar > span {
    text-align: right;
  }
  .schedule-match {
    grid-template-columns: 1fr;
  }
  .schedule-date {
    padding: 0.75rem 1rem;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .schedule-date .schedule-day {
    grid-column: 1;
    grid-row: 1;
  }
  .schedule-date strong {
    grid-column: 2;
    grid-row: 1/3;
  }
  .schedule-date .schedule-location {
    grid-column: 1;
    grid-row: 2;
  }
  .schedule-date small {
    grid-column: 1;
    grid-row: 3;
    margin: 0.15rem 0 0;
  }
  .schedule-match-top {
    align-items: flex-start;
    flex-direction: column;
  }
  .schedule-match h2 {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.15rem;
  }
  .schedule-match h2 i {
    display: none;
  }
  .schedule-officials {
    grid-template-columns: 1fr;
  }
  .schedule-legend {
    justify-content: flex-start;
  }
}
.official-role {
  margin-bottom: 0.75rem;
}
.official-name[data-schedule-contact] {
  cursor: pointer;
}
.schedule-contact-popover {
  --bs-popover-max-width:22rem}
.schedule-contact-popover .popover-body{padding:.45rem}
.schedule-contact-list{display:grid;
  gap: 0.25rem;
}
.schedule-contact-list a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.65rem;
  border-radius: 0.45rem;
  color: #1f2937;
  text-decoration: none;
  white-space: nowrap;
}
.schedule-contact-list a:hover, .schedule-contact-list a:focus-visible {
  background: #eef7fc;
  color: #0078b7;
}
.schedule-contact-list i {
  width: 1.1rem;
  color: #0082ca;
  text-align: center;
}
.schedule-contact-list span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.schedule-contact-list small {
  color: #64748b;
  font-size: 0.65rem;
}
.schedule-contact-list strong {
  font-size: 0.82rem;
  font-weight: 650;
}
.schedule-contact-unavailable {
  display: block;
  padding: 0.45rem 0.55rem;
  color: #64748b;
}
.schedule-official.is-current-user {
  border-color: rgba(0, 130, 202, 0.7);
  background: linear-gradient(135deg, rgba(0, 130, 202, 0.1), rgba(149, 214, 0, 0.08));
  box-shadow: inset 3px 0 #0082ca, 0 5px 14px rgba(0, 130, 202, 0.1);
}
.schedule-official.is-current-user .official-name strong {
  color: #006da9;
  font-weight: 850;
}
.schedule-additional-officials .schedule-official.is-current-user {
  background: linear-gradient(135deg, rgba(0, 130, 202, 0.1), rgba(149, 214, 0, 0.08));
}
.current-user-swatch {
  display: inline-block;
  width: 0.85rem;
  height: 0.65rem;
  margin-right: 0.35rem;
  border: 1px solid rgba(0, 130, 202, 0.7);
  border-left: 3px solid #0082ca;
  border-radius: 0.2rem;
  background: linear-gradient(135deg, rgba(0, 130, 202, 0.1), rgba(149, 214, 0, 0.08));
  vertical-align: -0.08rem;
}
.assignment-section {
  overflow: hidden;
}
.assignment-schedule-list {
  padding: 1rem;
  background: #f7f9fb;
}
.assignment-schedule-match {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.assignment-schedule-match .schedule-match-main {
  min-width: 0;
}
.assignment-schedule-list .schedule-official.is-current-user {
  border-color: rgba(220, 53, 69, 0.78);
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.14), rgba(220, 53, 69, 0.06));
  box-shadow: inset 4px 0 #dc3545, 0 5px 14px rgba(220, 53, 69, 0.14);
}
.assignment-schedule-list .schedule-official.is-current-user .official-name strong {
  color: #a61e2e;
  font-weight: 850;
}
.assignment-schedule-list .schedule-additional-officials .schedule-official.is-current-user {
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.14), rgba(220, 53, 69, 0.06));
}
.assignment-legend .current-user-swatch {
  border-color: rgba(220, 53, 69, 0.78);
  border-left-color: #dc3545;
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.14), rgba(220, 53, 69, 0.06));
}
.assignment-match-comment {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: -0.35rem 0 1rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.55rem;
  background: #f6f8fa;
  color: #526171;
  font-size: 0.78rem;
}
.assignment-match-comment i {
  color: #0082ca;
}
.assignment-legend {
  margin: 0.25rem 0 1.25rem;
}
@media (max-width: 575.98px) {
  .assignment-schedule-list {
    padding: 0.75rem;
  }
  .assignment-schedule-match .calendar-actions {
    width: 100%;
  }
  .assignment-schedule-match .calendar-actions .btn {
    width: 100%;
  }
}
.official-replaced-name {
  color: #b42335 !important;
  font-size: 0.72rem !important;
  font-weight: 700;
}
.official-name.has-substitute strong {
  color: #248900;
}
.assignment-card-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e7edf1;
}
.assignment-card-actions form {
  margin: 0;
}
.assignment-card-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
}
.swap-pending-note {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #8a5b00;
  font-size: 0.82rem;
  font-weight: 650;
}
.swap-modal-match {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin: 0 0 1rem;
  padding: 0.75rem;
  background: #f4f8fa;
  border-radius: 0.65rem;
}
.swap-modal-match span {
  color: #64748b;
  font-size: 0.78rem;
}
.swap-request-section {
  overflow: hidden;
}
.swap-request-list {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  background: #f7f9fb;
}
.swap-request-card {
  display: grid;
  grid-template-columns: 12rem minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #e2e8ed;
  border-radius: 0.85rem;
  background: #fff;
  box-shadow: 0 5px 16px rgba(15, 23, 42, 0.04);
}
.swap-request-card.is-actionable {
  border-color: rgba(149, 214, 0, 0.65);
  box-shadow: inset 4px 0 #95d600, 0 6px 18px rgba(51, 92, 0, 0.08);
}
.swap-request-date {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  padding: 1rem;
  background: #edf5f8;
  color: #334155;
}
.swap-request-date > i {
  color: #0082ca;
  font-size: 1.15rem;
}
.swap-request-date span {
  font-size: 0.88rem;
  font-weight: 750;
}
.swap-request-date small {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: #64748b;
}
.swap-request-main {
  min-width: 0;
  padding: 1rem 1.1rem;
}
.swap-request-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.swap-request-heading > div:first-child {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.swap-request-main h3 {
  margin: 0.65rem 0;
  font-size: 1rem;
}
.swap-request-main h3 i {
  color: #95d600;
  font-style: normal;
}
.swap-request-people {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.swap-request-people > span {
  display: flex;
  flex-direction: column;
}
.swap-request-people small {
  color: #64748b;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.swap-request-people strong {
  font-size: 0.86rem;
}
.swap-request-people > i {
  color: #0082ca;
}
.swap-request-comment {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0.8rem 0 0;
  padding: 0.55rem 0.65rem;
  border-radius: 0.5rem;
  background: #f7f8fa;
  color: #526171;
  font-size: 0.8rem;
}
.swap-request-comment i {
  color: #0082ca;
}
.swap-response-form {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e7edf1;
}
.swap-response-actions {
  display: flex;
  gap: 0.55rem;
  margin-top: 0.65rem;
}
.swap-response-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
@media (max-width: 767.98px) {
  .swap-request-card {
    grid-template-columns: 1fr;
  }
  .swap-request-date {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
  }
  .swap-request-date > i {
    grid-row: 1/3;
  }
  .swap-request-people {
    align-items: flex-start;
  }
  .swap-response-actions .btn {
    flex: 1;
    justify-content: center;
  }
}
@media (max-width: 575.98px) {
  .assignment-card-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .assignment-card-actions form, .assignment-card-actions .btn {
    width: 100%;
  }
  .assignment-card-actions .btn {
    justify-content: center;
  }
  .swap-request-heading {
    flex-direction: column;
  }
  .swap-request-people {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }
  .swap-response-actions {
    flex-direction: column;
  }
  .swap-request-main {
    padding: 0.85rem;
  }
  .swap-request-list {
    padding: 0.75rem;
  }
}
.assignment-hero, .assignment-subpage-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
  padding: clamp(1.4rem, 3vw, 2.35rem);
  border-radius: 1.25rem;
  color: #fff;
  background: linear-gradient(125deg, #071f2d, #006da9 58%, #0082ca);
  box-shadow: 0 18px 42px rgba(0, 130, 202, 0.2);
}
.assignment-hero > div:first-child > span, .assignment-subpage-hero > div:first-child > span {
  color: #cfff66;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.assignment-hero h1, .assignment-subpage-hero h1 {
  margin: 0.25rem 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}
.assignment-hero p, .assignment-subpage-hero p {
  max-width: 48rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}
.assignment-season, .assignment-subpage-period {
  min-width: 9rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.09);
}
.assignment-season small, .assignment-season strong, .assignment-subpage-period strong {
  display: block;
}
.assignment-season small {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.68rem;
  text-transform: uppercase;
}
.assignment-season strong, .assignment-subpage-period strong {
  font-size: 1.15rem;
}
.assignment-drafts {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1rem 1.15rem;
  border: 1px solid #cfe1ea;
  border-radius: 1rem;
  background: #f7fbfd;
}
.assignment-drafts-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.assignment-drafts-heading > i {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border-radius: 0.7rem;
  color: #006da9;
  background: #dff2fb;
  font-size: 1.1rem;
}
.assignment-drafts-heading strong, .assignment-drafts-heading span {
  display: block;
}
.assignment-drafts-heading span {
  color: #64748b;
  font-size: 0.76rem;
}
.assignment-draft-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}
.assignment-draft {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.4rem 0.45rem 0.4rem 0.7rem;
  border: 1px solid #d7e4ea;
  border-radius: 0.7rem;
  background: #fff;
  font-size: 0.78rem;
}
.assignment-workspace {
  display: grid;
  grid-template-columns: 17rem minmax(0, 1fr);
  align-items: start;
  gap: 1.15rem;
}
.assignment-referee-panel {
  position: sticky;
  top: 1rem;
  max-height: calc(100vh - 2rem);
  overflow: hidden;
  border: 1px solid #dde7ec;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.07);
}
.assignment-panel-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 1rem;
  border-bottom: 1px solid #e8eef1;
}
.assignment-panel-heading > div {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.assignment-panel-heading span {
  font-weight: 750;
}
.assignment-panel-heading strong {
  color: #0082ca;
  font-size: 1.2rem;
}
.assignment-panel-heading small {
  max-width: 7rem;
  color: #84919a;
  font-size: 0.64rem;
  text-align: right;
}
.assignment-referee-search {
  position: relative;
  display: block;
  margin: 0.75rem;
}
.assignment-referee-search i {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 0.75rem;
  transform: translateY(-50%);
  color: #94a3b8;
}
.assignment-referee-search input {
  padding-left: 2.2rem;
}
.assignment-referee-list {
  max-height: calc(100vh - 12rem);
  overflow-y: auto;
  padding: 0 0.65rem 0.75rem;
}
.assignment-referee {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.35rem 0.6rem;
  width: 100%;
  margin-bottom: 0.4rem;
  padding: 0.55rem;
  border: 1px solid #e7edf0;
  border-radius: 0.7rem;
  color: #243441;
  background: #fff;
  text-align: left;
  cursor: grab;
  transition: 0.15s ease;
}
.assignment-referee:hover {
  border-color: #9dd3eb;
  box-shadow: 0 5px 14px rgba(0, 130, 202, 0.08);
  transform: translateY(-1px);
}
.assignment-referee.is-dragging {
  opacity: 0.45;
}
.assignment-referee.is-unavailable {
  border-color: #efb6b6;
  background: #fff2f2;
}
.assignment-referee-avatar {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 0.58rem;
  color: #006da9;
  background: #e4f4fb;
  font-size: 0.68rem;
  font-weight: 800;
}
.assignment-referee > span:nth-child(2) {
  min-width: 0;
}
.assignment-referee strong, .assignment-referee small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.assignment-referee strong {
  font-size: 0.78rem;
}
.assignment-referee small {
  color: #84919a;
  font-size: 0.65rem;
}
.assignment-referee-roles {
  grid-column: 2;
  justify-content: flex-start;
}
.assignment-referee-roles .official-type-badge {
  padding: 0.22rem 0.36rem;
  font-size: 0.56rem;
}
.assignment-board {
  min-width: 0;
}
.assignment-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid #e1e8ec;
  border-radius: 0.85rem;
  background: #fff;
}
.assignment-toolbar > div {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.assignment-toolbar > div span, .assignment-toolbar label span {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
}
.assignment-toolbar > div strong {
  color: #0082ca;
  font-size: 1.25rem;
}
.assignment-toolbar label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.assignment-toolbar select {
  width: 10rem;
}
.assignment-match-list {
  display: grid;
  gap: 0.7rem;
}
.assignment-group-label {
  position: sticky;
  z-index: 2;
  top: 0;
  padding: 0.45rem 0.75rem;
  border-radius: 0.55rem;
  color: #415564;
  background: #e9f0f4;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.assignment-match {
  overflow: hidden;
  border: 1px solid #e0e8ec;
  border-radius: 0.9rem;
  background: #fff;
  box-shadow: 0 5px 18px rgba(15, 23, 42, 0.045);
}
.assignment-match.is-incomplete {
  border-color: #efb6b6;
}
.assignment-match > header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid #edf1f3;
}
.assignment-match-date {
  min-width: 5.4rem;
  padding-right: 0.9rem;
  border-right: 1px solid #e6ecef;
}
.assignment-match-date strong, .assignment-match-date span {
  display: block;
}
.assignment-match-date strong {
  font-size: 0.8rem;
}
.assignment-match-date span {
  color: #0082ca;
  font-size: 1.15rem;
  font-weight: 800;
}
.assignment-schedule-fields {
  display: grid;
  grid-template-columns: minmax(7.6rem, 1fr) minmax(5.1rem, 0.7fr);
  align-items: end;
  gap: 0.4rem;
}
.assignment-schedule-fields label {
  min-width: 0;
  margin: 0;
}
.assignment-schedule-fields label > span {
  display: block;
  margin: 0 0 0.2rem 0.1rem;
  color: #6f7f89;
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.assignment-schedule-fields .form-control {
  width: 100%;
  min-width: 0;
  height: 2.15rem;
  padding: 0.3rem 0.45rem;
  border-color: #d8e3e8;
  background: #fff;
  font-size: 0.74rem;
}
.assignment-match-schedule {
  min-width: 13.5rem;
}
.assignment-match-info {
  min-width: 0;
}
.assignment-match-info > span {
  color: #71808c;
  font-size: 0.7rem;
}
.assignment-match-info h2 {
  margin: 0.15rem 0 0;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}
.assignment-match-info h2 i {
  color: #95d600;
  font-style: normal;
}
.assignment-match > header > small {
  color: #9aa6ae;
}
.assignment-slots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 0.55rem;
  padding: 0.8rem;
}
.assignment-slot {
  min-width: 0;
  padding: 0.55rem;
  border: 1px dashed #cbd7dd;
  border-radius: 0.68rem;
  background: #f9fbfc;
  transition: 0.15s ease;
}
.assignment-slot.has-referee {
  border-style: solid;
  border-color: #9bd1e9;
  background: #f1faff;
}
.assignment-slot.is-drop-target {
  border-color: #95d600;
  background: #f4fce4;
  box-shadow: 0 0 0 3px rgba(149, 214, 0, 0.15);
}
.assignment-slot label {
  display: block;
  margin-bottom: 0.3rem;
  color: #6c7a85;
  font-size: 0.63rem;
  font-weight: 800;
  text-transform: uppercase;
}
.assignment-slot > div {
  position: relative;
}
.assignment-slot input[type="text"] {
  height: 2.15rem;
  padding-right: 2rem;
  border-color: transparent;
  background: transparent;
  font-size: 0.76rem;
}
.assignment-slot input:focus {
  border-color: #80c8e9;
  background: #fff;
}
.assignment-slot-clear {
  position: absolute;
  top: 50%;
  right: 0.3rem;
  width: 1.6rem;
  height: 1.6rem;
  padding: 0;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  color: #8a98a2;
  background: transparent;
}
.assignment-slot-clear:hover {
  color: #c13232;
  background: #ffe9e9;
}
.assignment-savebar {
  position: sticky;
  z-index: 4;
  bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.75rem 0.8rem 0.75rem 1rem;
  border: 1px solid #cfdde4;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(8px);
}
.assignment-savebar span {
  color: #64748b;
  font-size: 0.75rem;
}
.assignment-savebar span i {
  margin-right: 0.4rem;
  color: #0082ca;
}
.assignment-unavailable-note {
  display: none;
}
.assignment-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3.5rem 1rem;
  border-radius: 1rem;
  color: #64748b;
  background: #fff;
  text-align: center;
}
.assignment-empty i {
  margin-bottom: 0.5rem;
  color: #95d600;
  font-size: 2.8rem;
}
.assignment-empty strong {
  color: #243441;
}
.assignment-subpage-hero form {
  display: flex;
  align-items: flex-end;
  gap: 0.55rem;
  padding: 0.8rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.1);
}
.assignment-subpage-hero form label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.66rem;
  font-weight: 700;
}
.assignment-subpage-hero form input {
  min-width: 9rem;
  margin-top: 0.25rem;
}
.assignment-subpage-hero form .btn {
  color: #006da9;
  font-weight: 750;
}
.assignment-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.assignment-summary > div {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0 0.7rem;
  padding: 0.9rem 1rem;
  border: 1px solid #e1e8ec;
  border-radius: 0.85rem;
  background: #fff;
}
.assignment-summary i {
  grid-row: 1/3;
  color: #0082ca;
  font-size: 1.35rem;
}
.assignment-summary span {
  color: #73818b;
  font-size: 0.67rem;
}
.assignment-summary strong {
  font-size: 1.25rem;
}
.assignment-summary .is-success i {
  color: #6b9900;
}
.assignment-summary .is-warning i {
  color: #d18400;
}
.assignment-table-card {
  overflow: hidden;
  border: 0;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.07);
}
.assignment-table-card td > strong, .assignment-table-card td > small {
  display: block;
}
.assignment-table-card td > small {
  color: #788690;
  font-size: 0.72rem;
}
.confirmation-officials {
  display: grid;
  gap: 0.3rem;
  min-width: 14rem;
}
.confirmation-officials > span {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.4rem;
}
.confirmation-officials b {
  font-size: 0.78rem;
}
.confirmation-official-contact {
  cursor: pointer;
  border-radius: 0.2rem;
}
.confirmation-official-contact:focus-visible {
  outline: 2px solid rgba(0, 130, 202, 0.45);
  outline-offset: 2px;
}
.confirmation-officials small {
  color: #7d8a93;
  font-size: 0.62rem;
}
.confirmation-officials .official-type-badge {
  justify-self: end;
}
.assignment-status-summary {
  display: inline-flex;
  padding: 0.3rem 0.55rem;
  border-radius: 2rem;
  font-size: 0.7rem;
  font-weight: 750;
  white-space: nowrap;
}
.assignment-status-summary.is-incomplete {
  color: #a72c2c;
  background: #ffe9e9;
}
.assignment-status-summary.is-complete {
  color: #476700;
  background: #edf9d5;
}
.assignment-table-card td > strong.assignment-total {
  display: inline-grid;
  width: 2rem;
  min-width: 2rem;
  max-width: 2rem;
  height: 2rem;
  padding: 0;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #0082ca;
}
#assignment-statistics-table th:last-child, #assignment-statistics-table td:last-child {
  text-align: center;
}
.availability-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
  margin-bottom: 0.75rem;
  color: #64748b;
  font-size: 0.72rem;
}
.availability-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.availability-legend i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
}
.availability-legend .is-available i {
  background: #95d600;
}
.availability-legend .is-assigned i {
  background: #0082ca;
}
.availability-legend .is-absent i {
  background: #e04b4b;
}
.availability-legend .is-partial i {
  background: #f2a52b;
}
.availability-legend .is-weekly i {
  background: #f2a52b;
}
.availability-card {
  overflow: hidden;
  border: 0;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.07);
}
.availability-scroll {
  overflow: auto;
  max-height: min(70vh, 48rem);
}
.availability-table {
  width: 100%;
  min-width: 58rem;
  border-collapse: separate;
  border-spacing: 0;
}
.availability-table th, .availability-table td {
  padding: 0.55rem;
  border-right: 1px solid #edf1f3;
  border-bottom: 1px solid #edf1f3;
  text-align: center;
}
.availability-table thead th {
  position: sticky;
  z-index: 2;
  top: 0;
  color: #64748b;
  background: #f7fafb;
}
.availability-table thead th:first-child, .availability-table tbody th {
  position: sticky;
  z-index: 3;
  left: 0;
  min-width: 13rem;
  text-align: left;
  background: #fff;
  box-shadow: 5px 0 12px rgba(15, 23, 42, 0.04);
}
.availability-table thead th:first-child {
  z-index: 4;
  background: #f7fafb;
}
.availability-table thead span, .availability-table thead strong, .availability-table tbody th strong, .availability-table tbody th small {
  display: block;
}
.availability-table thead span {
  font-size: 0.62rem;
  text-transform: uppercase;
}
.availability-table thead strong {
  color: #263946;
  font-size: 0.78rem;
}
.availability-table tbody th strong {
  font-size: 0.78rem;
}
.availability-table tbody th small {
  color: #89959d;
  font-size: 0.65rem;
}
.availability-table tbody th .official-type-badges, .assignment-table-card td .official-type-badges {
  margin-top: 0.3rem;
  gap: 0.2rem;
}
.availability-table tbody th .official-type-badge, .assignment-table-card td .official-type-badge {
  padding: 0.22rem 0.36rem;
  font-size: 0.56rem;
}
.availability-state {
  display: flex;
  width: 100%;
  min-width: 4.6rem;
  min-height: 3rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.6rem;
  cursor: pointer;
}
.availability-state small {
  font-size: 0.57rem;
}
.availability-state.is-available {
  color: #4e7400;
  background: #eff9dc;
}
.availability-state.is-assigned {
  color: #006da9;
  background: #e5f5fc;
}
.availability-state.is-absent {
  color: #a72c2c;
  background: #ffe9e9;
}
.availability-state.is-partial {
  color: #956000;
  background: #fff3dc;
}
.availability-state.is-weekly {
  color: #956000;
  background: #fff3dc;
}
.availability-state:focus-visible {
  outline: 2px solid #0082ca;
  outline-offset: 2px;
}
.availability-assigned-conflict {
  margin-top: 0.1rem;
  color: #006da9;
  font-weight: 750;
}
.availability-week-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0.85rem 0;
}
.availability-week-navigation .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
}
.availability-tooltip .tooltip-inner {
  max-width: min(26rem, calc(100vw - 2rem));
  padding: 0.8rem 0.9rem;
  text-align: left;
}
.availability-tooltip .tooltip-inner > strong, .availability-tooltip-label {
  display: block;
}
.availability-tooltip-label {
  margin-top: 0.55rem;
  color: #c9edff;
  font-size: 0.7rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.availability-tooltip ul {
  margin: 0.3rem 0 0;
  padding-left: 1.1rem;
}
.availability-tooltip li + li {
  margin-top: 0.3rem;
}
.assignment-batch-heading, .assignment-stage-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem 0;
}
.assignment-batch-heading h2, .assignment-stage-heading h2 {
  margin: 0;
  font-size: 1.25rem;
}
.assignment-batch-heading p, .assignment-stage-heading p {
  margin: 0.2rem 0 0;
  color: #6b7d89;
  font-size: 0.82rem;
}
.assignment-batch-list {
  display: grid;
  gap: 0.75rem;
}
.assignment-batch-card {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #dfe8ec;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}
.assignment-batch-number {
  display: grid;
  align-self: stretch;
  place-content: center;
  border-radius: 0.75rem;
  color: #fff;
  background: linear-gradient(135deg, #006da9, #0082ca);
  text-align: center;
}
.assignment-batch-number small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}
.assignment-batch-number strong {
  font-size: 1.35rem;
}
.assignment-batch-summary h2 {
  margin: 0.35rem 0;
  font-size: 1rem;
}
.assignment-batch-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.55rem;
  border-radius: 2rem;
  font-size: 0.67rem;
  font-weight: 800;
}
.assignment-batch-status.is-draft {
  color: #8b5b00;
  background: #fff1ce;
}
.assignment-batch-status.is-sent {
  color: #4c7000;
  background: #ebf8d0;
}
.assignment-batch-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  color: #71808b;
  font-size: 0.7rem;
}
.assignment-batch-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.assignment-batch-incomplete {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.55rem;
  color: #b42332;
  font-size: 0.72rem;
  font-weight: 750;
}
.assignment-batch-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}
.assignment-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.2rem 0 0.7rem;
  color: #536774;
  font-size: 0.78rem;
  font-weight: 750;
  text-decoration: none;
}
.assignment-step {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #0082ca;
  font-weight: 900;
}
.assignment-stage-heading > div {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.assignment-stage-heading > strong {
  color: #0082ca;
  font-size: 1.2rem;
}
.assignment-selection-topbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.75rem;
}
.assignment-selection-toolbar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding: 0.85rem;
  border: 1px solid #dfe8ec;
  border-radius: 1rem;
  background: #fff;
}
.assignment-selection-toolbar label {
  min-width: 0;
}
.assignment-selection-toolbar label > span {
  display: block;
  margin: 0 0 0.3rem 0.1rem;
  color: #647682;
  font-size: 0.68rem;
  font-weight: 800;
}
.assignment-selection-toolbar .form-select {
  width: 100%;
}
.assignment-selector {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.5rem minmax(0, 1fr);
  align-items: start;
  gap: 0.75rem;
}
.assignment-selector-column {
  overflow: hidden;
  min-height: 28rem;
  border: 1px solid #dfe8ec;
  border-radius: 1rem;
  background: #fff;
}
.assignment-selector-column.is-selected {
  border-color: #9bd1e9;
  background: #f7fcff;
}
.assignment-selector-column > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid #e8eef1;
}
.assignment-selector-column header small {
  color: #7a8a95;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.assignment-selector-column header h3 {
  margin: 0.1rem 0 0;
  font-size: 1rem;
}
.assignment-selector-column > header > span {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  color: #006da9;
  background: #e5f5fc;
  font-weight: 850;
}
.assignment-match-search {
  position: relative;
  display: block;
  margin: 0.75rem;
}
.assignment-match-search i {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 0.75rem;
  transform: translateY(-50%);
  color: #8d9aa3;
}
.assignment-match-search input {
  padding-left: 2.2rem;
}
.assignment-selector-list {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  min-height: 20rem;
  padding: 0.75rem;
}
.assignment-selector-direction {
  display: grid;
  height: 28rem;
  place-items: center;
  color: #0082ca;
  font-size: 1.4rem;
}
.assignment-selector-empty {
  padding: 2rem 1rem;
  color: #8a98a1;
  text-align: center;
}
.assignment-select-match {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem;
  border: 1px solid #e0e8ec;
  border-radius: 0.75rem;
  background: #fff;
}
.assignment-select-match > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.assignment-select-date {
  min-width: 4.5rem;
  padding-right: 0.65rem;
  border-right: 1px solid #e7edf0;
}
.assignment-select-date strong, .assignment-select-date span, .assignment-select-info small, .assignment-select-info strong {
  display: block;
}
.assignment-select-date strong {
  font-size: 0.7rem;
}
.assignment-select-date span {
  color: #0082ca;
  font-weight: 850;
}
.assignment-select-date.assignment-schedule-fields {
  min-width: 12rem;
}
.assignment-select-info {
  min-width: 0;
}
.assignment-select-info small {
  color: #778791;
  font-size: 0.64rem;
}
.assignment-select-info strong {
  margin-top: 0.12rem;
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}
.assignment-select-match .btn {
  color: #006da9;
  background: #e7f5fc;
  font-size: 0.68rem;
  font-weight: 750;
  white-space: nowrap;
}
.assignment-select-match.is-selected {
  border-color: #95d600;
  box-shadow: inset 3px 0 #95d600;
}
.assignment-select-match.is-selected .btn {
  color: #a52d2d;
  background: #ffeaea;
}
.assignment-slot.is-conflicted {
  border-style: solid;
  border-color: #dc3545;
  background: #fff1f2;
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.1);
}
.assignment-slot.is-conflicted .form-control {
  border-color: #dc3545;
}
.assignment-slot-warning {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.45rem;
  color: #b42332;
  font-size: 0.67rem;
  line-height: 1.35;
}
.assignment-slot-warning:empty {
  display: none;
}
.assignment-slot-warning i {
  flex: 0 0 auto;
}
.assignment-match-completeness {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  color: #4f7300;
  background: #f4fae8;
  font-size: 0.69rem;
  font-weight: 750;
}
.assignment-match.is-incomplete .assignment-match-completeness {
  color: #b42332;
  background: #fff0f1;
}
.assignment-readonly-referee {
  margin-top: 0.45rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.5rem;
  color: #253846;
  background: #eef3f6;
  font-size: 0.8rem;
  font-weight: 750;
}
#assignment-workspace-form.is-read-only .assignment-workspace {
  grid-template-columns: minmax(0, 1fr);
}
.is-read-only .assignment-slots {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 1rem;
}
.is-read-only .assignment-slot {
  padding: 0.75rem;
  border-style: solid;
  background: #fff;
}
.is-read-only .assignment-slot:not(.has-referee) {
  border-style: dashed;
  background: #f8fafb;
}
.is-read-only .assignment-slot label {
  display: block;
  margin-bottom: 0.55rem;
}
.is-read-only .assignment-readonly-referee {
  margin: 0;
  padding: 0;
  background: transparent;
  font-size: 0.9rem;
}
.is-read-only .assignment-slot.has-referee .assignment-readonly-referee {
  color: #102c3c;
}
.assignment-optional {
  border-top: 1px solid #edf1f3;
  background: #fbfcfd;
}
.assignment-optional > summary {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  color: #536774;
  cursor: pointer;
  list-style: none;
}
.assignment-optional > summary::-webkit-details-marker {
  display: none;
}
.assignment-optional > summary > span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 800;
}
.assignment-optional > summary > span i {
  color: #0082ca;
}
.assignment-optional > summary > small {
  margin-left: auto;
  color: #82909a;
  font-size: 0.66rem;
}
.assignment-optional > summary > i {
  font-size: 0.7rem;
  transition: transform 0.18s ease;
}
.assignment-optional[open] > summary > i {
  transform: rotate(180deg);
}
.assignment-optional[open] > summary {
  border-bottom: 1px solid #e8eef1;
}
.assignment-optional:not([open]) > .assignment-slots {
  display: none;
}
.assignment-slots.is-optional {
  grid-template-columns: repeat(3, minmax(12rem, 1fr));
  background: #f6f9fa;
}
.assignment-optional .official-type-badge.is-reserve {
  color: #53616b;
  background: #dfe5e9;
}
.assignment-publish-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid #cde694;
  border-radius: 1rem;
  background: #f5fbe8;
}
.assignment-publish-bar strong, .assignment-publish-bar span {
  display: block;
}
.assignment-publish-bar span {
  color: #65744a;
  font-size: 0.74rem;
}
.assignment-publish-overlay {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(16, 24, 32, 0.58);
  backdrop-filter: blur(4px);
  cursor: wait;
}
.assignment-publish-overlay[hidden] {
  display: none !important;
}
.assignment-publish-overlay-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  width: min(22rem, 100%);
  padding: 2rem 1.75rem;
  border-radius: 1.1rem;
  background: #fff;
  box-shadow: 0 18px 48px rgba(16, 24, 32, 0.22);
  text-align: center;
}
.assignment-publish-overlay-card p {
  margin: 0;
  color: #102c3c;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.assignment-publish-spinner {
  width: 2.75rem;
  height: 2.75rem;
  border: 0.28rem solid rgba(0, 130, 202, 0.18);
  border-top-color: var(--dsshl-primary, #0082ca);
  border-radius: 50%;
  animation: assignment-publish-spin 0.7s linear infinite;
}
@keyframes assignment-publish-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .assignment-publish-spinner {
    animation-duration: 1.6s;
  }
}
body.is-publishing-assignments {
  overflow: hidden;
}
@media (max-width: 575.98px) {
  .availability-scroll {
    max-height: 68vh;
  }
  .availability-week-navigation .btn {
    flex: 1;
    justify-content: center;
    padding-inline: 0.55rem;
  }
}
@media (max-width: 1199.98px) {
  .assignment-workspace {
    grid-template-columns: 14rem minmax(0, 1fr);
  }
  .assignment-summary {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 991.98px) {
  .assignment-workspace {
    grid-template-columns: 1fr;
  }
  .assignment-referee-panel {
    position: static;
    max-height: none;
  }
  .assignment-referee-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 16rem;
  }
  .assignment-subpage-hero {
    align-items: flex-start;
    flex-direction: column;
  }
  .assignment-subpage-hero form {
    width: 100%;
  }
  .is-read-only .assignment-slots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .assignment-batch-card {
    grid-template-columns: 5rem minmax(0, 1fr);
  }
  .assignment-batch-actions {
    grid-column: 1/-1;
  }
  .assignment-selection-toolbar {
    grid-template-columns: 1fr 1fr;
  }
  .assignment-selection-toolbar label:last-child {
    grid-column: 1/-1;
  }
}
@media (max-width: 575.98px) {
  .assignment-hero, .assignment-subpage-hero {
    align-items: stretch;
    flex-direction: column;
    padding: 1.3rem;
  }
  .assignment-season {
    width: 100%;
  }
  .assignment-drafts {
    align-items: stretch;
    flex-direction: column;
  }
  .assignment-draft-list {
    justify-content: stretch;
  }
  .assignment-draft {
    justify-content: space-between;
    width: 100%;
  }
  .assignment-referee-list {
    grid-template-columns: 1fr;
  }
  .assignment-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .assignment-toolbar label {
    justify-content: space-between;
  }
  .assignment-toolbar select {
    width: 55%;
  }
  .assignment-match > header {
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
  }
  .assignment-match-date {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    grid-column: 1/3;
    padding: 0 0 0.45rem;
    border-right: 0;
    border-bottom: 1px solid #edf1f3;
  }
  .assignment-match-date.assignment-match-schedule {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
    align-items: end;
    gap: 0.5rem;
  }
  .assignment-match-info h2 {
    font-size: 0.88rem;
  }
  .assignment-slots {
    grid-template-columns: 1fr;
  }
  .assignment-savebar {
    align-items: stretch;
    flex-direction: column;
  }
  .assignment-savebar .btn {
    width: 100%;
  }
  .assignment-subpage-hero form {
    align-items: stretch;
    flex-direction: column;
  }
  .assignment-subpage-hero form input {
    width: 100%;
  }
  .assignment-summary {
    grid-template-columns: 1fr 1fr;
  }
  .assignment-summary > div {
    padding: 0.75rem;
  }
  .assignment-batch-heading, .assignment-stage-heading {
    align-items: stretch;
    flex-direction: column;
  }
  .assignment-batch-heading .btn, .assignment-stage-heading > .btn {
    width: 100%;
  }
  .assignment-batch-card {
    grid-template-columns: 4.5rem minmax(0, 1fr);
    padding: 0.75rem;
  }
  .assignment-batch-actions {
    justify-content: stretch;
  }
  .assignment-batch-actions > * {
    flex: 1 1 auto;
  }
  .assignment-batch-actions .btn {
    width: 100%;
  }
  .assignment-selector {
    grid-template-columns: 1fr;
  }
  .assignment-selection-toolbar {
    grid-template-columns: 1fr;
  }
  .assignment-selection-toolbar label:last-child {
    grid-column: auto;
  }
  .assignment-selection-topbar .btn {
    width: 100%;
  }
  .assignment-selector-direction {
    height: auto;
    padding: 0.25rem;
    transform: rotate(90deg);
  }
  .assignment-selector-column {
    min-height: 16rem;
  }
  .assignment-selector-list {
    min-height: 10rem;
  }
  .assignment-select-match {
    grid-template-columns: 1fr auto;
  }
  .assignment-select-date {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
    grid-column: 1/-1;
    padding: 0 0 0.4rem;
    border-right: 0;
    border-bottom: 1px solid #edf1f3;
  }
  .assignment-select-date.assignment-schedule-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
    align-items: end;
    gap: 0.5rem;
  }
  .assignment-select-match .btn span {
    display: none;
  }
  .assignment-publish-bar {
    align-items: stretch;
    flex-direction: column;
  }
  .is-read-only .assignment-slots {
    grid-template-columns: 1fr;
  }
  .assignment-slots.is-optional {
    grid-template-columns: 1fr;
  }
  .assignment-optional > summary {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .assignment-optional > summary > small {
    order: 3;
    width: 100%;
    margin-left: 1.45rem;
  }
}
.assignment-reminder-actions {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 1rem;
}
.assignment-reminder-list {
  display: grid;
  gap: 0.65rem;
  max-height: min(58vh, 34rem);
  overflow-y: auto;
  padding: 0.15rem;
}
.assignment-reminder-option {
  align-items: flex-start;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.75rem;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: auto minmax(0, 1fr);
  padding: 0.8rem 0.9rem;
}
.assignment-reminder-option:has(input:checked) {
  background: rgba(0, 130, 202, 0.06);
  border-color: rgba(0, 130, 202, 0.45);
}
.assignment-reminder-option .form-check-input {
  margin-top: 0.25rem;
}
.assignment-reminder-option strong, .assignment-reminder-option span, .assignment-reminder-option small {
  display: block;
}
.assignment-reminder-option span {
  font-weight: 600;
}
.assignment-reminder-option small {
  color: var(--bs-secondary-color);
  margin-top: 0.15rem;
}
@media (max-width: 575.98px) {
  .assignment-reminder-actions .btn {
    width: 100%;
  }
}
.email-log-hero {
  align-items: center;
  background: linear-gradient(120deg, #0b2c3f, var(--dsshl-primary, #0082ca));
  border-radius: 1rem;
  color: #fff;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  overflow: hidden;
  padding: clamp(1.25rem, 3vw, 2rem);
}
.email-log-hero span {
  color: var(--dsshl-secondary, #95d600);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.email-log-hero h1 {
  margin: 0.25rem 0;
}
.email-log-hero p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}
.email-log-hero > i {
  font-size: clamp(2.5rem, 6vw, 5rem);
  opacity: 0.2;
}
.email-log-card {
  border: 0;
  overflow: hidden;
}
.email-log-card .card-body {
  padding: 0;
}
.email-log-card td {
  vertical-align: middle;
}
.email-log-error {
  color: var(--bs-danger);
  display: block;
  line-height: 1.25;
  margin-top: 0.3rem;
  max-width: 22rem;
  white-space: normal;
}
@media (max-width: 575.98px) {
  .email-log-hero > i {
    display: none;
  }
  .email-log-card .dataTables_wrapper {
    font-size: 0.9rem;
  }
}
.notification-bell {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  font-size: 1.2rem;
}
.notification-badge {
  position: absolute;
  top: 0.15rem;
  right: 0.05rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.25rem;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 1rem;
  background: #dc3545;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
}
.notification-dropdown {
  width: min(24rem, calc(100vw - 1rem));
  padding: 0;
  overflow: hidden;
}
.notification-dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid #e2e8f0;
}
.notification-dropdown-header span {
  color: #64748b;
  font-size: 0.75rem;
}
.notification-dropdown-list {
  max-height: min(28rem, 60vh);
  overflow-y: auto;
}
.notification-dropdown-item {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.65rem;
  padding: 0.8rem 1rem;
  color: #0f172a;
  text-decoration: none;
  border-bottom: 1px solid #edf2f7;
}
.notification-dropdown-item > i {
  color: #0082ca;
  margin-top: 0.1rem;
  text-align: center;
}
.notification-dropdown-item > span {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.notification-dropdown-item strong, .notification-dropdown-item small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.notification-dropdown-item small {
  color: #475569;
  margin-top: 0.15rem;
}
.notification-dropdown-item time {
  color: #94a3b8;
  font-size: 0.7rem;
  margin-top: 0.3rem;
}
.notification-dropdown-item.is-unread {
  background: #eef8fe;
  box-shadow: inset 3px 0 #0082ca;
}
.notification-dropdown-item:hover {
  background: #f8fafc;
}
.notification-dropdown-empty {
  color: #64748b;
  text-align: center;
  padding: 2rem 1rem;
  margin: 0;
}
.notification-dropdown-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem;
  color: #0074b5;
  font-weight: 700;
  text-decoration: none;
  background: #f8fafc;
}
.notification-list {
  overflow: hidden;
  border: 1px solid #dbe4ed;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 0.5rem 1.5rem rgba(15, 23, 42, 0.05);
}
.notification-row {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) 1rem;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e5edf4;
  color: #0f172a;
  text-decoration: none;
}
.notification-row:last-child {
  border-bottom: 0;
}
.notification-row.is-unread {
  background: linear-gradient(90deg, rgba(0, 130, 202, 0.1), rgba(255, 255, 255, 0) 60%);
}
.notification-row:hover {
  background-color: #f8fafc;
}
.notification-type-icon, .notification-empty-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  background: #e9f6fd;
  color: #0082ca;
  font-size: 1.25rem;
}
.notification-type-supervision {
  background: #effbdc;
  color: #5f8e00;
}
.notification-type-reminder {
  background: #fff3d6;
  color: #b66b00;
}
.notification-row-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.notification-row-title {
  font-weight: 750;
}
.notification-row-body {
  color: #475569;
  margin-top: 0.15rem;
}
.notification-row time {
  color: #94a3b8;
  font-size: 0.78rem;
  margin-top: 0.35rem;
}
.notification-unread-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: #0082ca;
}
.notification-empty-icon {
  margin-inline: auto;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  font-size: 1.6rem;
}
.push-device-status {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.75rem;
  background: #f1f5f9;
  color: #475569;
}
.push-device-status.is-enabled {
  background: #effbdc;
  color: #496f00;
}
.push-device-status.is-error {
  background: #fff0f1;
  color: #b4232f;
}
.notification-preferences {
  border: 1px solid #dbe4ed;
  border-radius: 0.85rem;
  overflow: hidden;
}
.notification-preference {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #e5edf4;
  cursor: pointer;
}
.notification-preference:last-child {
  border-bottom: 0;
}
.notification-preference > span:first-child {
  display: flex;
  flex-direction: column;
}
.notification-preference small, .notification-device-row small {
  color: #64748b;
  margin-top: 0.15rem;
}
.notification-device-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5edf4;
}
.notification-device-row > span {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
}
.notification-device-row small {
  grid-column: 2;
}
.notification-prompt-modal .modal-content {
  border: 0;
  border-radius: 1.25rem;
  box-shadow: 0 1.5rem 4rem rgba(15, 23, 42, 0.22);
}
.notification-prompt-icon {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  margin-inline: auto;
  border-radius: 50%;
  background: linear-gradient(145deg, #e9f6fd, #effbdc);
  color: #0082ca;
  font-size: 1.75rem;
}
.pwa-install-steps {
  margin: 0 auto 1.25rem;
  max-width: 18rem;
  padding-left: 1.2rem;
  color: #334155;
  font-size: 0.95rem;
}
.pwa-install-steps li + li {
  margin-top: 0.35rem;
}
@media (max-width: 575.98px) {
  .notification-dropdown {
    position: fixed !important;
    top: 3.6rem !important;
    right: 0.5rem !important;
    left: 0.5rem !important;
    width: calc(100vw - 1rem) !important;
    max-width: none;
    transform: none !important;
  }
  .notification-row {
    grid-template-columns: 2.5rem minmax(0, 1fr) 0.65rem;
    gap: 0.7rem;
    padding: 0.9rem;
  }
  .notification-type-icon {
    width: 2.5rem;
    height: 2.5rem;
  }
  .notification-row-body {
    font-size: 0.9rem;
  }
  .notification-settings .card-header {
    flex-wrap: wrap;
  }
}
.flatpickr-calendar {
  border: 0;
  border-radius: 0.9rem;
  box-shadow: 0 18px 45px rgba(16, 24, 32, 0.2);
  overflow: hidden;
}
.flatpickr-months .flatpickr-month, .flatpickr-current-month .flatpickr-monthDropdown-months {
  background: #fff;
}
.flatpickr-day.today {
  border-color: var(--dsshl-secondary);
}
.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange, .flatpickr-day.selected:hover, .flatpickr-day.startRange:hover, .flatpickr-day.endRange:hover {
  border-color: var(--dsshl-primary);
  background: var(--dsshl-primary);
}
.flatpickr-day:hover, .flatpickr-day:focus {
  background: rgba(var(--dsshl-primary-rgb), 0.1);
  border-color: transparent;
}
@media (max-width: 359.98px) {
  .flatpickr-calendar.open {
    left: 0.75rem !important;
    right: 0.75rem !important;
    width: auto;
    max-width: calc(100vw - 1.5rem);
  }
}
