:root {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #1f2937;
  background: white;
  line-height: 1.45;
}

* {
  box-sizing: border-box;
}
html {
  overflow-x: hidden;
}
body {
  margin: 0;
  background: #fff;
}
a {
  color: #2563eb;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
h1,
h2 {
  margin: 0;
  line-height: 1.2;
}
h1 {
  font-size: 2rem;
  margin-left: 10px;
  padding-left: 15px;
  border-left: 4px solid black;
}
h2 {
  font-size: 1.2rem;
}

.container {
  width: min(1280px, calc(100% - 32px));
  margin: 28px auto;
}
.narrow-container {
  width: min(460px, calc(100% - 32px));
  margin: 70px auto;
}
.card {
  /* background: #fff;
   */
  /* border-radius: 12px; */
  padding: 18px;
  margin-bottom: 18px;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 22px;
}
.toolbar.compact {
  margin-bottom: 16px;
}
.shared-page .container {
  margin-top: 16px;
}
.shared-title {
  margin-bottom: 12px;
  font-size: 1.25rem;
}
.shared-page th,
.shared-page td {
  padding: 9px 11px;
}
.app-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.app-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 164px;
  height: 38px;
  flex: 0 0 auto;
}
.app-logo img {
  display: block;
  width: 100%;
  height: auto;
}
.login-logo {
  margin-bottom: 18px;
}
.login-logo .app-logo {
  width: 184px;
  height: 44px;
}
.actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.toolbar-menu {
  display: flex;
  align-items: center;
}
.mobile-nav-toggle {
  display: none;
}
.table-actions {
  justify-content: flex-end;
  margin-bottom: 18px;
}
.table-action-form {
  margin-top: 0;
}
.status-badges {
  padding: 12px 14px;
}
.status-badges-list {
  margin-top: 10px;
  overflow: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.status-badge {
  display: block;
  margin: 0;
}
.status-badge img {
  display: block;
  max-height: 36px;
}
.app-logo:hover {
  text-decoration: none;
}
.status-badge-preview {
  display: block;
  max-width: 220px;
  max-height: 36px;
}
.healthchecks-project + .healthchecks-project {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.healthchecks-project h3 {
  margin: 0 0 8px;
  font-size: 0.95rem;
}
.site-footer {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
}
.admin-submenu {
  position: relative;
}
.admin-submenu summary {
  list-style: none;
}
.admin-submenu summary::-webkit-details-marker {
  display: none;
}
.admin-submenu summary::after {
  content: " ▾";
  font-size: 0.78em;
}
.admin-submenu-links {
  position: absolute;
  z-index: 10;
  top: calc(100% + 6px);
  right: 0;
  display: flex;
  min-width: 150px;
  flex-direction: column;
  gap: 2px;
  padding: 6px;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgb(15 23 42 / 12%);
}
.admin-submenu-links a {
  padding: 8px 10px;
  border-radius: 5px;
  color: #374151;
  white-space: nowrap;
}
.admin-submenu-links a:hover {
  background: #f3f4f6;
  text-decoration: none;
}
.bulk-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  padding: 14px;
}
.muted {
  color: #6b7280;
  margin: 5px 0 0;
}
.small {
  font-size: 0.86rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #2563eb;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  white-space: nowrap;
}
.button:hover {
  text-decoration: none;
  filter: brightness(0.97);
}
.button.secondary {
  background: #fff;
  color: #374151;
  border-color: #d1d5db;
}
.button.danger {
  background: #fff;
  color: #b91c1c;
  border-color: #fecaca;
}
.small-button {
  min-height: 34px;
  padding: 5px 10px;
  font-size: 0.86rem;
}
.icon-button {
  width: 34px;
  min-width: 34px;
  padding: 5px;
  font-size: 1.05rem;
  line-height: 1;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.mobile-filter-options {
  display: contents;
}
.mobile-filter-toggle {
  display: none;
}
label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
}
.filters input,
.filters select,
.filters textarea {
  max-width: 150px;
}
input,
select,
textarea {
  width: 100%;
  padding: 10px 11px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  color: #111827;
  font: inherit;
  font-size: 16px;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #bfdbfe;
  border-color: #60a5fa;
}
textarea {
  resize: vertical;
}
.checkbox {
  flex-direction: row;
  align-items: center;
}
.checkbox input {
  width: auto;
}
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 8px;
}
.event-server-fieldset {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px;
}
.event-server-fieldset legend {
  font-weight: 600;
  padding: 0 6px;
}
.event-server-fieldset p.muted {
  margin-bottom: 14px;
  font-size: 0.82rem;
}

.table-wrap {
  overflow-x: auto;
  padding: 0;
}
.table-wrap.plain {
  border: 0;
  margin-bottom: 0;
}
table {
  border-collapse: collapse;
  width: 100%;
  /* min-width: 760px; */
}
th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid #edf0f2;
  text-align: left;
  vertical-align: middle;
}
.sites-admin-table th:first-child,
.sites-admin-table td:first-child {
  width: 42px;
}
th {
  background: #fafafa;
  font-size: 0.8rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}
th.sortable {
  cursor: pointer;
  user-select: none;
}
th.sortable::after {
  content: "↕";
  color: #9ca3af;
  font-size: 0.72rem;
  margin-left: 6px;
}
th.sortable[data-sort-direction="asc"]::after {
  content: "↑";
  color: #2563eb;
}
th.sortable[data-sort-direction="desc"]::after {
  content: "↓";
  color: #2563eb;
}
th.sortable:focus {
  outline: 2px solid #bfdbfe;
  outline-offset: -2px;
}
tbody tr:last-child td {
  border-bottom: 0;
}
.row-actions {
  display: table-cell;
  min-width: 250px;
  white-space: nowrap;
  text-align: right;
}
.row-actions form {
  display: inline-flex;
  margin: 0 0 0 8px;
  vertical-align: middle;
}
.row-actions > a {
  display: inline-flex;
  margin-left: 8px;
  vertical-align: middle;
}
.inline-form {
  display: inline-block;
  margin: 6px 0 0;
}
code {
  background: #f3f4f6;
  padding: 3px 6px;
  border-radius: 5px;
  white-space: nowrap;
}
.version-chip {
  margin-left: 8px;
  padding: 2px 5px;
  font-size: 0.72rem;
}
.version-chip-security {
  background: #fef2f2;
  color: #b91c1c;
}
.version-chip-warning {
  background: #fef3c7;
  color: #92400e;
}
.support-date-expired {
  background: #fef2f2;
  color: #b91c1c;
}
.support-date-warning {
  background: #fef3c7;
  color: #92400e;
}

.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}
.dot {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #9ca3af;
}
.external-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-left: 5px;
  border-radius: 4px;
  color: #2563eb;
  font-size: 1.05rem;
  line-height: 1;
  vertical-align: middle;
}
.external-link:hover {
  background: #eff6ff;
  text-decoration: none;
}
.table-section-title {
  margin: 24px 0 10px;
}
.fetch-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: -8px 0 16px;
  color: #6b7280;
}
.fetch-progress progress {
  width: min(360px, 100%);
  height: 10px;
}
.server-statuses {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  padding: 12px 14px;
}
.server-status-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.server-status-item .status {
  width: 18px;
  height: 18px;
}
.server-status-item .dot {
  width: 12px;
  height: 12px;
}
.server-status-item strong {
  color: #6b7280;
  font-weight: 600;
}
.server-name-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.server-name-button:hover {
  color: #2563eb;
  text-decoration: underline;
}
.server-dialog {
  width: min(560px, calc(100% - 32px));
  max-height: min(720px, calc(100% - 32px));
  padding: 22px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  color: #1f2937;
  background: #fff;
}
.server-dialog::backdrop {
  background: rgb(15 23 42 / 55%);
}
.server-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.server-dialog h3 {
  margin: 18px 0 8px;
  font-size: 1rem;
}
.server-description {
  color: #4b5563;
}
.server-sites-list {
  list-style: none;
  margin: 0;
  padding-left: 0px;
}
.server-sites-list li + li {
  margin-top: 5px;
}
.entity-description {
  margin-top: 4px;
  color: #6b7280;
  font-size: 0.86rem;
}
.status.online .dot {
  background: #16a34a;
}
.status.offline .dot,
.status.incident .dot {
  background: #dc2626;
}
.status.pending .dot {
  background: #ea580c;
}
.status.maintenance .dot {
  background: #7c3aed;
}
.status.unknown .dot {
  background: #9ca3af;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}
.status-pill .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.status-pill.online {
  color: #166534;
  background: #dcfce7;
  border-color: #bbf7d0;
}
.status-pill.offline,
.status-pill.incident {
  color: #991b1b;
  background: #fee2e2;
  border-color: #fecaca;
}
.status-pill.pending {
  color: #9a3412;
  background: #ffedd5;
  border-color: #fdba74;
}
.status-pill.maintenance {
  color: #5b21b6;
  background: #ede9fe;
  border-color: #ddd6fe;
}
.status-pill.unknown {
  color: #4b5563;
  background: #f3f4f6;
  border-color: #e5e7eb;
}
.badge {
  margin-left: 6px;
  font-size: 0.72rem;
  background: #f3f4f6;
  color: #6b7280;
  padding: 2px 6px;
  border-radius: 999px;
}
.event-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}
.event-badge.maintenance,
.event-badge.planned {
  color: #1d4ed8;
  background: #eff6ff;
  border-color: #bfdbfe;
}
.event-badge.incident {
  color: #991b1b;
  background: #fef2f2;
  border-color: #fecaca;
}
.event-badge.info {
  color: #4b5563;
  background: #f3f4f6;
  border-color: #e5e7eb;
}
.event-badge.ongoing {
  color: #9a3412;
  background: #ffedd5;
  border-color: #fdba74;
}
.event-badge.resolved {
  color: #166534;
  background: #dcfce7;
  border-color: #bbf7d0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-grid.one-column {
  grid-template-columns: 1fr;
}
.form-section {
  margin: 0;
  padding: 18px;
  background: #fafafa;
}
.form-section > legend {
  font-size: 1rem;
}
.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.section-subsection {
  margin: 0;
  background: #fff;
}
.span-2 {
  grid-column: span 2;
}
.login-card h1 {
  margin-bottom: 18px;
}
.alert {
  padding: 11px 13px;
  border-radius: 8px;
  margin-bottom: 16px;
}
.alert.success {
  background: #ecfdf5;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.alert.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
.down-alerts {
  margin-bottom: 18px;
}
.down-alert {
  margin-bottom: 8px;
}
.status-refresh {
  margin: -6px 0 12px;
  color: #6b7280;
  font-size: 0.86rem;
  text-align: right;
}
fieldset {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 12px;
}
fieldset legend {
  color: #374151;
  font-weight: 600;
  padding: 0 5px;
}
.kuma-monitor-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr 0.8fr auto auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 10px;
}
.monitor-skip-status {
  flex-direction: row;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.kuma-monitor-row .button {
  margin-bottom: 0;
}
.status-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.status-item {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.monitor-summary {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.status-item .status {
  width: 20px;
  height: 20px;
}
.status-item .dot {
  width: 12px;
  height: 12px;
}
.project-row {
  cursor: pointer;
}
.project-row:hover td {
  background: #f8fafc;
}
.project-row:focus {
  outline: 2px solid #93c5fd;
  outline-offset: -2px;
}
.project-row.is-expanded td {
  border-bottom-color: transparent;
}
.project-details td {
  padding: 0 14px 16px;
  background: #fafafa;
}
.project-details-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 24px;
  padding: 16px;
  border-top: 1px solid #edf0f2;
  border-radius: 0 0 8px 8px;
  color: #4b5563;
  font-size: 0.9rem;
}
.project-details-grid strong {
  display: block;
  margin-bottom: 4px;
  color: #6b7280;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}
.mobile-details-only {
  display: none;
}
.detail-wide {
  grid-column: 1 / -1;
}
.detail-status {
  gap: 6px;
}
.monitor-link {
  color: black;
  font-weight: bold;
}
.monitor-link:hover {
  color: #2563eb;
}
.row-alert {
  width: 36px;
  text-align: center;
}
.alert-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #d97706;
  font-size: 1.1rem;
  line-height: 1;
  cursor: help;
}
.client-form {
  margin-top: 16px;
  align-items: end;
}
.client-form label {
  flex: 1 1 280px;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.empty {
  padding: 24px;
  text-align: center;
  color: #6b7280;
}
.hidden {
  display: none;
}
body:not(.edit-mode-active) .edit-mode-control {
  display: none !important;
}

html[data-theme="dark"] {
  color-scheme: dark;
  color: #e5e7eb;
  background: #111827;
}
html[data-theme="dark"] body {
  background: #111827;
}
html[data-theme="dark"] .app-logo img {
  filter: invert(1) grayscale(1);
}
html[data-theme="dark"] a {
  color: #93c5fd;
}
html[data-theme="dark"] .external-link:hover {
  background: #1e3a8a;
}
html[data-theme="dark"] .card {
  background: #1f2937;
  border-color: #374151;
}
html[data-theme="dark"] .muted,
html[data-theme="dark"] .empty {
  color: #9ca3af;
}
html[data-theme="dark"] .button.secondary,
html[data-theme="dark"] .button.danger {
  background: #1f2937;
  color: #e5e7eb;
  border-color: #4b5563;
}
html[data-theme="dark"] .admin-submenu-links {
  background: #1f2937;
  border-color: #4b5563;
}
html[data-theme="dark"] .admin-submenu-links a {
  color: #e5e7eb;
}
html[data-theme="dark"] .admin-submenu-links a:hover {
  background: #374151;
}
html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
  background: #111827;
  color: #f9fafb;
  border-color: #4b5563;
}
html[data-theme="dark"] input:focus,
html[data-theme="dark"] select:focus,
html[data-theme="dark"] textarea:focus,
html[data-theme="dark"] th.sortable:focus {
  outline-color: #60a5fa;
  border-color: #60a5fa;
}
html[data-theme="dark"] th {
  background: #111827;
  color: #9ca3af;
}
html[data-theme="dark"] th,
html[data-theme="dark"] td {
  border-bottom-color: #374151;
}
html[data-theme="dark"] code,
html[data-theme="dark"] .badge {
  background: #374151;
  color: #e5e7eb;
}
html[data-theme="dark"] fieldset {
  border-color: #4b5563;
}
html[data-theme="dark"] .form-section {
  background: #111827;
}
html[data-theme="dark"] .section-subsection {
  background: #1f2937;
}
html[data-theme="dark"] .project-row:hover td,
html[data-theme="dark"] .project-details td {
  background: #111827;
}
html[data-theme="dark"] .project-details-grid {
  border-top-color: #374151;
  color: #d1d5db;
}
html[data-theme="dark"] .project-details-grid strong {
  color: #9ca3af;
}
html[data-theme="dark"] .alert-icon {
  color: #fbbf24;
}
html[data-theme="dark"] fieldset legend {
  color: #d1d5db;
}
html[data-theme="dark"] .alert.success {
  background: #064e3b;
  color: #bbf7d0;
  border-color: #047857;
}
html[data-theme="dark"] .alert.error {
  background: #450a0a;
  color: #fecaca;
  border-color: #991b1b;
}
html[data-theme="dark"] .status-pill.online {
  background: #064e3b;
  color: #bbf7d0;
  border-color: #047857;
}
html[data-theme="dark"] .status-pill.offline,
html[data-theme="dark"] .status-pill.incident {
  background: #450a0a;
  color: #fecaca;
  border-color: #991b1b;
}
html[data-theme="dark"] .status-pill.pending {
  background: #431407;
  color: #fed7aa;
  border-color: #9a3412;
}
html[data-theme="dark"] .status-pill.maintenance {
  background: #2e1065;
  color: #ddd6fe;
  border-color: #6d28d9;
}
html[data-theme="dark"] .status-pill.unknown {
  background: #374151;
  color: #e5e7eb;
  border-color: #4b5563;
}
html[data-theme="dark"] .event-badge.maintenance,
html[data-theme="dark"] .event-badge.planned {
  background: #1e3a8a;
  color: #bfdbfe;
  border-color: #1d4ed8;
}
html[data-theme="dark"] .event-badge.incident {
  background: #450a0a;
  color: #fecaca;
  border-color: #991b1b;
}
html[data-theme="dark"] .event-badge.info {
  background: #374151;
  color: #e5e7eb;
  border-color: #4b5563;
}
html[data-theme="dark"] .event-badge.ongoing {
  background: #431407;
  color: #fed7aa;
  border-color: #9a3412;
}
html[data-theme="dark"] .event-badge.resolved {
  background: #064e3b;
  color: #bbf7d0;
  border-color: #047857;
}
html[data-theme="dark"] .version-chip-security,
html[data-theme="dark"] .support-date-expired {
  background: #450a0a;
  color: #fecaca;
}
html[data-theme="dark"] .version-chip-warning,
html[data-theme="dark"] .support-date-warning {
  background: #451a03;
  color: #fde68a;
}
.theme-toggle {
  white-space: nowrap;
}
body > .theme-toggle {
  position: fixed;
  top: 16px;
  right: 16px;
}

@media (min-width: 761px) {
  .mobile-nav-toggle {
    display: none;
  }
}

@media (max-width: 760px) {
  .app-logo {
    width: 123px;
    height: 25.5px;
  }
  .app-title h1 {
    display: none;
  }
  .mobile-filter-search input {
    max-width: 100%;
  }
  .container {
    width: min(100% - 20px, 1280px);
    margin: 16px auto;
  }
  .toolbar {
    justify-content: space-between;
  }
  .toolbar-menu {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .mobile-nav-toggle {
    display: inline-flex;
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 102;
  }
  .mobile-nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    display: flex;
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    padding: 76px 20px 24px;
    overflow-y: auto;
    background: #f6f7f9;
    border-left: 1px solid #d1d5db;
    box-shadow: -8px 0 24px rgb(15 23 42 / 16%);
    transform: translateX(100%);
    visibility: hidden;
    transition:
      transform 180ms ease,
      visibility 180ms ease;
  }
  .mobile-nav-menu.is-open {
    transform: translateX(0);
    visibility: visible;
  }
  .mobile-nav-menu > .button,
  .mobile-nav-menu > form .button,
  .mobile-nav-menu > .admin-submenu > summary {
    width: 100%;
  }
  .mobile-nav-menu .admin-submenu {
    position: static;
  }
  .mobile-nav-menu .admin-submenu > summary {
    display: none;
  }
  .mobile-nav-menu .admin-submenu-links {
    position: static;
    display: flex;
    min-width: 0;
    gap: 8px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .mobile-nav-menu .admin-submenu-links a {
    width: 100%;
    padding: 11px 14px;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
  }
  body.mobile-nav-open {
    overflow: hidden;
  }
  html[data-theme="dark"] .mobile-nav-menu {
    background: #111827;
    border-color: #4b5563;
  }
  html[data-theme="dark"] .mobile-nav-menu .admin-submenu-links a {
    background: #1f2937;
    color: #e5e7eb;
    border-color: #4b5563;
  }
  .filters,
  .form-grid,
  .section-grid,
  .project-details-grid {
    grid-template-columns: 1fr;
  }
  .mobile-filter-toggle {
    display: inline-flex;
    margin-bottom: 12px;
  }
  .mobile-filter-options {
    display: none;
  }
  .mobile-filter-options.is-open {
    display: grid;
    gap: 14px;
  }
  .mobile-moved-column {
    display: none;
  }
  .mobile-details-only {
    display: block;
  }
  .span-2 {
    grid-column: span 1;
  }
}

html[data-theme="dark"] .event-server-fieldset {
  border-color: #374151;
}

.event-details {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 8px 12px;
  margin: 16px 0 0;
}
.event-details dt {
  color: #4b5563;
  font-weight: 600;
}
.event-details dd {
  margin: 0;
}
.event-detail-description {
  margin-top: 12px;
}
html[data-theme="dark"] .event-details dt {
  color: #d1d5db;
}
