/* ECUES - ADMIN RESPONSIVE */
/* Estructura: desktop > tablet > mobile > altura */

@media (min-width: 1280px) {
  body:has(.admin-page) { height: 100dvh; min-height: 0; overflow: hidden; }
  body:has(.admin-page) .app-shell { height: 100dvh; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
  body:has(.admin-page) .app-shell > .topbar, body:has(.admin-page) .app-shell > .footer { flex: 0 0 auto; }
  body:has(.admin-page) .app-shell > main { min-height: 0; flex: 1 1 auto; display: flex; overflow: hidden; }
  body:has(.admin-page) .admin-page { width: 100%; height: 100%; min-height: 0; flex: 1 1 auto; display: flex; flex-direction: column; padding: 18px 36px 12px; overflow: hidden; }
  body:has(.admin-page) .admin-page-header { flex: 0 0 auto; margin-bottom: 12px; }
  body:has(.admin-page) .center-filters, body:has(.admin-page) .participant-filters, body:has(.admin-page) .event-filters, body:has(.admin-page) .audit-filters { flex: 0 0 auto; margin-bottom: 10px; }
  body:has(.admin-page) .admin-listing { min-height: 0; flex: 1 1 auto; display: flex; flex-direction: column; align-items: stretch; overflow: hidden; }
  body:has(.admin-page) .users-card { min-height: 0; flex: 0 1 auto; max-height: calc(100% - 44px); display: block; overflow: hidden; }
  body:has(.admin-page) .users-table-wrap { width: 100%; min-height: 0; max-height: 100%; overflow: hidden; }
  body:has(.admin-page) .users-table { width: 100% !important; min-width: 0 !important; max-width: 100% !important; table-layout: fixed; }
  body:has(.admin-page) .users-table th { min-width: 0 !important; max-width: none !important; height: auto; min-height: 36px; padding: 7px 10px; overflow: hidden; line-height: 1.2; white-space: normal !important; overflow-wrap: anywhere; }
  body:has(.admin-page) .users-table td { min-width: 0 !important; max-width: none !important; height: 48px; padding: 6px 10px; overflow: hidden; vertical-align: middle; }
  body:has(.admin-page) .users-table td:last-child { overflow: visible; }
  body:has(.admin-page) .users-table tbody tr { height: 48px; }
  body:has(.admin-page) .admin-table-footer { min-height: 44px; flex: 0 0 44px; margin-top: 10px; border-radius: 10px; }
  body:has(.admin-page) .last-access { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  body:has(.admin-page) .users-actions { min-width: 74px; justify-content: flex-end; flex-wrap: nowrap; gap: 6px; }
  .center-filters[data-admin-filters] { grid-template-columns: minmax(260px, 1.4fr) 160px 180px 150px !important; }
  .participant-filters[data-admin-filters] { grid-template-columns: minmax(280px, 1fr) 180px !important; }
  .event-filters[data-admin-filters] { grid-template-columns: minmax(280px, 1.3fr) 190px 180px 150px !important; }
  .audit-filters[data-admin-filters] { grid-template-columns: 160px 180px minmax(220px, 1fr) 160px 160px !important; }
  .users-admin-table th:nth-child(1), .users-admin-table td:nth-child(1) { width: 25%; }
  .users-admin-table th:nth-child(2), .users-admin-table td:nth-child(2) { width: 12%; }
  .users-admin-table th:nth-child(3), .users-admin-table td:nth-child(3) { width: 11%; }
  .users-admin-table th:nth-child(4), .users-admin-table td:nth-child(4) { width: 11%; }
  .users-admin-table th:nth-child(5), .users-admin-table td:nth-child(5) { width: 14%; }
  .users-admin-table th:nth-child(6), .users-admin-table td:nth-child(6) { width: auto; }
  .users-admin-table th:nth-child(7), .users-admin-table td:nth-child(7) { width: 92px; }
  .center-table th:nth-child(1), .center-table td:nth-child(1) { width: 18%; }
  .center-table th:nth-child(2), .center-table td:nth-child(2) { width: 9%; }
  .center-table th:nth-child(3), .center-table td:nth-child(3) { width: 12%; }
  .center-table th:nth-child(4), .center-table td:nth-child(4) { width: 20%; }
  .center-table th:nth-child(5), .center-table td:nth-child(5) { width: 10%; }
  .center-table th:nth-child(6), .center-table td:nth-child(6) { width: 7%; }
  .center-table th:nth-child(7), .center-table td:nth-child(7) { width: 14%; }
  .center-table th:nth-child(8), .center-table td:nth-child(8) { width: 10%; }
  .participant-table th:nth-child(1), .participant-table td:nth-child(1) { width: 24%; }
  .participant-table th:nth-child(2), .participant-table td:nth-child(2) { width: 12%; }
  .participant-table th:nth-child(3), .participant-table td:nth-child(3) { width: 13%; }
  .participant-table th:nth-child(4), .participant-table td:nth-child(4) { width: 15%; }
  .participant-table th:nth-child(5), .participant-table td:nth-child(5) { width: 16%; }
  .participant-table th:nth-child(6), .participant-table td:nth-child(6) { width: 9%; }
  .participant-table th:nth-child(7), .participant-table td:nth-child(7) { width: 11%; }
  .event-table th:nth-child(1), .event-table td:nth-child(1) { width: 22%; }
  .event-table th:nth-child(2), .event-table td:nth-child(2) { width: 11%; }
  .event-table th:nth-child(3), .event-table td:nth-child(3) { width: 10%; }
  .event-table th:nth-child(4), .event-table td:nth-child(4) { width: 18%; }
  .event-table th:nth-child(5), .event-table td:nth-child(5) { width: 10%; }
  .event-table th:nth-child(6), .event-table td:nth-child(6) { width: 8%; }
  .event-table th:nth-child(7), .event-table td:nth-child(7) { width: 12%; }
  .event-table th:nth-child(8), .event-table td:nth-child(8) { width: 9%; }
  .audit-table th:nth-child(1), .audit-table td:nth-child(1) { width: 13%; }
  .audit-table th:nth-child(2), .audit-table td:nth-child(2) { width: 19%; }
  .audit-table th:nth-child(3), .audit-table td:nth-child(3) { width: 12%; }
  .audit-table th:nth-child(4), .audit-table td:nth-child(4) { width: 12%; }
  .audit-table th:nth-child(5), .audit-table td:nth-child(5) { width: 35%; }
  .audit-table th:nth-child(6), .audit-table td:nth-child(6) { width: 9%; }
  .center-identity { min-width: 210px; }
  .center-location { min-width: 160px; }
  .center-alias-list { min-width: 150px; flex-wrap: nowrap; overflow: hidden; }
  .event-identity, .event-participant-list { width: 100%; min-width: 0 !important; }
  .event-identity > div:last-child { min-width: 0; }
  .event-identity strong, .event-identity small { max-width: 100% !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .event-participant-list { flex-wrap: nowrap; overflow: hidden; }
  .event-participant-list span { flex: 0 1 auto; overflow: hidden; text-overflow: ellipsis; }
  .participant-identity { width: 100%; min-width: 0 !important; }
  .participant-identity > div:last-child { min-width: 0; }
  .participant-identity strong, .participant-identity small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .participant-code, .participant-count { max-width: 100%; }
  .audit-user { min-width: 160px; }
  .audit-date, .audit-user, .audit-badge { max-width: 100%; }
  .audit-user strong, .audit-user small, .audit-date { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .audit-table td:nth-child(5) { overflow: hidden; text-overflow: ellipsis; }
}

@media (min-width: 768px) and (max-width: 1279px) {
  body:has(.admin-page) .admin-page { min-height: calc(100dvh - 114px); padding: 22px 24px 28px; }
  body:has(.admin-page) .admin-page-header { margin-bottom: 18px; }
  body:has(.admin-page) .admin-page-header h1 { font-size: 24px; }
  body:has(.admin-page) .users-table-wrap { overflow: hidden; }
  body:has(.admin-page) .users-table { width: 100%; table-layout: fixed; }
  body:has(.admin-page) .users-table th { padding: 10px 9px; font-size: 10px; white-space: normal; }
  body:has(.admin-page) .users-table td { padding: 10px 9px; overflow: hidden; }
  body:has(.admin-page) .users-actions { min-width: 74px; gap: 5px; }
  .center-filters, .event-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .participant-filters { grid-template-columns: minmax(0, 1fr) 180px; }
  .audit-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .users-admin-table th:nth-child(5), .users-admin-table td:nth-child(5), .users-admin-table th:nth-child(6), .users-admin-table td:nth-child(6) { display: none; }
  .users-admin-table th:nth-child(1), .users-admin-table td:nth-child(1) { width: 38%; }
  .users-admin-table th:nth-child(2), .users-admin-table td:nth-child(2) { width: 16%; }
  .users-admin-table th:nth-child(3), .users-admin-table td:nth-child(3) { width: 14%; }
  .users-admin-table th:nth-child(4), .users-admin-table td:nth-child(4) { width: 16%; }
  .users-admin-table th:nth-child(7), .users-admin-table td:nth-child(7) { width: 16%; }
  .center-table th:nth-child(4), .center-table td:nth-child(4), .center-table th:nth-child(7), .center-table td:nth-child(7) { display: none; }
  .center-table th:nth-child(1), .center-table td:nth-child(1) { width: 30%; }
  .center-table th:nth-child(2), .center-table td:nth-child(2) { width: 14%; }
  .center-table th:nth-child(3), .center-table td:nth-child(3) { width: 22%; }
  .center-table th:nth-child(5), .center-table td:nth-child(5) { width: 12%; }
  .center-table th:nth-child(6), .center-table td:nth-child(6) { width: 10%; }
  .center-table th:nth-child(8), .center-table td:nth-child(8) { width: 12%; }
  .participant-table th:nth-child(5), .participant-table td:nth-child(5) { display: none; }
  .participant-table th:nth-child(1), .participant-table td:nth-child(1) { width: 30%; }
  .participant-table th:nth-child(2), .participant-table td:nth-child(2) { width: 18%; }
  .participant-table th:nth-child(3), .participant-table td:nth-child(3) { width: 14%; }
  .participant-table th:nth-child(4), .participant-table td:nth-child(4) { width: 14%; }
  .participant-table th:nth-child(6), .participant-table td:nth-child(6) { width: 12%; }
  .participant-table th:nth-child(7), .participant-table td:nth-child(7) { width: 12%; }
  .event-table th:nth-child(5), .event-table td:nth-child(5), .event-table th:nth-child(7), .event-table td:nth-child(7) { display: none; }
  .event-table th:nth-child(1), .event-table td:nth-child(1) { width: 27%; }
  .event-table th:nth-child(2), .event-table td:nth-child(2) { width: 15%; }
  .event-table th:nth-child(3), .event-table td:nth-child(3) { width: 13%; }
  .event-table th:nth-child(4), .event-table td:nth-child(4) { width: 20%; }
  .event-table th:nth-child(6), .event-table td:nth-child(6) { width: 10%; }
  .event-table th:nth-child(8), .event-table td:nth-child(8) { width: 15%; }
  .audit-table th:nth-child(5), .audit-table td:nth-child(5) { display: none; }
  .audit-table th:nth-child(1), .audit-table td:nth-child(1) { width: 18%; }
  .audit-table th:nth-child(2), .audit-table td:nth-child(2) { width: 28%; }
  .audit-table th:nth-child(3), .audit-table td:nth-child(3) { width: 18%; }
  .audit-table th:nth-child(4), .audit-table td:nth-child(4) { width: 20%; }
  .audit-table th:nth-child(6), .audit-table td:nth-child(6) { width: 16%; }
  .center-identity, .center-location, .center-alias-list, .event-identity, .event-participant-list, .participant-identity, .audit-user { min-width: 0; }
  .center-identity strong, .center-identity small, .center-location strong, .center-location small, .event-identity strong, .event-identity small, .participant-identity strong, .participant-identity small, .audit-user strong, .audit-user small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

@media (max-width: 767px) {
  body:has(.admin-page) { overflow-x: hidden; }
  body:has(.admin-page) .topbar {
    height: auto;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px 18px;
  }

  body:has(.admin-page) .brand {
    width: 100%;
    min-width: 0;
    gap: 11px;
  }

  body:has(.admin-page) .brand-logo {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
  }

  body:has(.admin-page) .brand-main {
    min-width: 0;
  }

  body:has(.admin-page) .brand-title {
    gap: 7px;
  }

  body:has(.admin-page) .brand-same,
  body:has(.admin-page) .brand-separator,
  body:has(.admin-page) .brand-ecues {
    font-size: 27px;
  }

  body:has(.admin-page) .brand-subtitle {
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.2;
  }

  body:has(.admin-page) .topbar-actions {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  body:has(.admin-page) .theme-switch {
    flex: 0 0 70px;
  }

  body:has(.admin-page) .language-menu {
    flex: 0 0 auto;
  }

  body:has(.admin-page) .language-menu-trigger {
    min-width: 104px;
    justify-content: center;
  }

  body:has(.admin-page) .user-menu {
    flex: 0 0 auto;
  }

  body:has(.admin-page) .user-menu-trigger {
    gap: 8px;
    padding: 2px 2px 2px 2px;
  }

  body:has(.admin-page) .user-avatar {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    font-size: 16px;
  }

  body:has(.admin-page) .user-meta {
    display: none;
  }

  body:has(.admin-page) .user-chevron {
    margin-left: 2px;
    font-size: 9px;
  }
  body:has(.admin-page) .admin-page { min-height: 0; padding: 18px 14px 24px; overflow: visible; }
  body:has(.admin-page) .admin-page-branded { background-position: 58% center; }
  body:has(.admin-page) .admin-page-header { align-items: stretch; flex-direction: column; gap: 14px; margin-bottom: 16px; }
  body:has(.admin-page) .admin-page-header h1 { font-size: 24px; }
  body:has(.admin-page) .admin-page-header p { margin-top: 5px; line-height: 1.4; }
  body:has(.admin-page) .admin-primary-button { width: 100%; justify-content: center; }
  .center-filters, .participant-filters, .event-filters, .audit-filters { grid-template-columns: 1fr !important; gap: 12px; margin-bottom: 14px; padding: 14px; }
  .center-filter-actions, .participant-filter-actions, .event-filter-actions, .audit-filter-actions { grid-column: auto; flex-direction: column; }
  .center-filter-actions .admin-primary-button, .participant-filter-actions .admin-primary-button, .event-filter-actions .admin-primary-button, .audit-filter-actions .admin-primary-button, .center-clear-button, .participant-clear-button, .event-clear-button, .audit-clear-button { width: 100%; justify-content: center; }
  body:has(.admin-page) .users-card { overflow: visible; border: 0; background: transparent; box-shadow: none; }
  body:has(.admin-page) .users-table-wrap { overflow: visible; }
  body:has(.admin-page) .users-table, body:has(.admin-page) .users-table tbody { width: 100%; display: block; }
  body:has(.admin-page) .users-table thead { display: none; }
  body:has(.admin-page) .users-table tbody { display: grid; gap: 10px; }
  body:has(.admin-page) .users-table tbody tr { display: block; overflow: hidden; border: 1px solid #dfe7ed; border-radius: 12px; background: #ffffff; box-shadow: 0 4px 14px rgba(22, 49, 77, 0.05); }
  body:has(.admin-page) .users-table td { width: 100% !important; height: auto; min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 12px; border: 0; border-top: 1px solid #edf1f4; overflow: visible; text-align: right; }
  body:has(.admin-page) .users-table td::before { content: attr(data-label); flex: 0 0 42%; color: #71869a; font-size: 10px; font-weight: 700; text-align: left; text-transform: uppercase; letter-spacing: 0.035em; }
  body:has(.admin-page) .users-table td:first-child { min-height: 0; display: block; padding: 14px 12px; border-top: 0; text-align: left; }
  body:has(.admin-page) .users-table td:first-child::before, body:has(.admin-page) .users-table td[data-label=""]::before { display: none; }
  body:has(.admin-page) .users-table td[colspan] { display: block; padding: 24px 16px !important; border-top: 0; text-align: center; }
  body:has(.admin-page) .users-table td[colspan]::before { display: none; }
  body:has(.admin-page) .users-actions { min-width: 0; width: 100%; justify-content: flex-end; }
  body:has(.admin-page) .users-identity, body:has(.admin-page) .center-identity, body:has(.admin-page) .event-identity, body:has(.admin-page) .participant-identity { min-width: 0; width: 100%; }
  body:has(.admin-page) .center-location, body:has(.admin-page) .center-alias-list, body:has(.admin-page) .event-participant-list { min-width: 0; max-width: 58%; justify-content: flex-end; }
  body:has(.admin-page) .center-alias-list, body:has(.admin-page) .event-participant-list { flex-wrap: wrap; }
  body:has(.admin-page) .audit-description { max-width: 58%; white-space: normal; text-align: right; }
  body:has(.admin-page) .admin-table-footer { min-height: 0; flex-direction: column; align-items: stretch; gap: 10px; margin-top: 10px; padding: 10px 12px; border-radius: 10px; }
  body:has(.admin-page) .admin-results-count { text-align: center; }
  body:has(.admin-page) .admin-pagination { justify-content: center; flex-wrap: wrap; }
  .admin-skeleton-head { display: none; }
  .admin-skeleton-card { border-radius: 10px; background: transparent; box-shadow: none; }
  .admin-skeleton-row { display: flex; flex-wrap: wrap; gap: 10px; min-height: 0; margin-bottom: 10px; padding: 12px; border: 1px solid #dfe7ed; border-radius: 12px; background: #ffffff; }
  .admin-skeleton-cell { min-width: 120px; flex: 1 1 42%; padding: 5px; }
  .admin-skeleton-leading { flex-basis: 100%; }
  .admin-skeleton-footer { flex-direction: column; align-items: stretch; gap: 10px; border: 1px solid #dfe7ed; border-radius: 10px; }
  .admin-skeleton-pages { justify-content: center; }
  .user-form-grid, .centro-form-grid, .centro-form-grid-three, .center-admin-details-grid { grid-template-columns: 1fr; }
  .center-admin-wide, .centro-form-grid-three .login-field:last-child { grid-column: auto; }
  .ampliacion-participantes-header { align-items: stretch; flex-direction: column; }
  .ampliacion-add-button { justify-content: center; }
  .ampliacion-participante-row { grid-template-columns: minmax(0, 1fr) 82px 34px; }
  .modal-backdrop:has(.user-form-modal), .modal-backdrop:has(.center-admin-modal), .modal-backdrop:has(.event-admin-modal), .modal-backdrop:has(.audit-detail-modal), .modal-backdrop:has(.participant-modal) { padding: 8px; }
  .user-form-modal, .participant-modal, .audit-detail-modal { width: calc(100vw - 16px); max-width: none; max-height: calc(100dvh - 16px); border-radius: 14px; }
  .user-form-modal { padding: 20px 18px 16px; }
  .user-form-modal > .modal-close, .centro-modal:not(.center-admin-modal) > .modal-close, .ampliacion-modal:not(.event-admin-modal) > .modal-close { top: 18px; right: 18px; }
  .user-form-modal > .user-modal-icon, .centro-modal:not(.center-admin-modal) > .user-modal-icon, .ampliacion-modal:not(.event-admin-modal) > .user-modal-icon { width: 38px; height: 38px; top: 18px; left: 20px; font-size: 15px; }
  .user-form-modal > .login-heading, .centro-modal:not(.center-admin-modal) > .login-heading, .ampliacion-modal:not(.event-admin-modal) > .login-heading { min-height: 38px; margin-bottom: 18px; padding-left: 50px; padding-right: 42px; }
  .user-form-modal > .login-heading h2, .centro-modal:not(.center-admin-modal) > .login-heading h2, .ampliacion-modal:not(.event-admin-modal) > .login-heading h2 { font-size: 17px; }
  .user-form-modal > form { min-height: 0; overflow-y: auto; scrollbar-gutter: auto; }
  .user-form-modal > form > .login-submit { position: sticky; bottom: 0; z-index: 4; margin-top: 20px; }
  .participant-modal > .login-heading { margin-bottom: 24px; }
  .participant-modal > form > .login-field:last-of-type { margin-bottom: 22px; }
  .center-admin-modal, .event-admin-modal { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); border-radius: 14px; }
  .center-admin-modal-header, .event-admin-modal-header { min-height: 70px; grid-template-columns: 38px minmax(0, 1fr); gap: 10px; padding: 15px 56px 12px 18px; }
  .center-admin-modal-header .user-modal-icon, .event-admin-modal-header .user-modal-icon { width: 38px; height: 38px; font-size: 15px; }
  .center-admin-modal-header .login-heading h2, .event-admin-modal-header .login-heading h2 { font-size: 17px; }
  .center-admin-modal > .modal-close, .event-admin-modal > .modal-close { top: 19px; right: 16px; }
  .center-admin-modal-body, .event-admin-modal-body { padding: 22px 18px; }
  .event-admin-modal-body { max-height: calc(100dvh - 190px); }
  .center-admin-modal-footer, .event-admin-modal-footer { padding: 12px 18px 14px; }
  .event-admin-modal .ampliacion-participante-row { grid-template-columns: minmax(0, 1fr) 82px 40px; }
  .audit-detail-modal { padding: 18px; }
  .audit-detail-meta { grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0 12px; }
  .audit-json-grid, .audit-technical { grid-template-columns: 1fr; }
  .audit-json-grid { gap: 10px; }
  .audit-json-grid pre { max-height: 18dvh; }
  .audit-extra { margin-top: 10px; }
  .audit-extra pre { max-height: 82px; }
  .audit-technical { gap: 8px; margin-top: 10px; }
  html[data-theme="dark"] body:has(.admin-page) .users-table tbody tr, html[data-theme="dark"] .admin-skeleton-row { border-color: #203d52; background: #0d2233; box-shadow: none; }
  html[data-theme="dark"] body:has(.admin-page) .users-table td { border-top-color: #18364b; }
  html[data-theme="dark"] body:has(.admin-page) .users-table td::before { color: #8fa5b6; }
  html[data-theme="dark"] .admin-skeleton-card, html[data-theme="dark"] .admin-skeleton-footer { border-color: #28455a; background: transparent; }
}

@media (max-width: 520px) {
  body:has(.admin-page) .topbar { gap: 15px; padding: 15px 14px; }
  body:has(.admin-page) .brand { gap: 10px; }
  body:has(.admin-page) .brand-logo { width: 56px; height: 56px; flex-basis: 56px; }
  body:has(.admin-page) .brand-same, body:has(.admin-page) .brand-separator, body:has(.admin-page) .brand-ecues { font-size: 26px; }
  body:has(.admin-page) .brand-subtitle { font-size: 10px; }
  body:has(.admin-page) .topbar-actions { gap: 10px; }
  body:has(.admin-page) .theme-switch { width: 68px; flex-basis: 68px; }
  body:has(.admin-page) .language-menu-trigger { min-width: 98px; height: 38px; padding: 0 10px 0 8px; }
  body:has(.admin-page) .language-trigger-flag { width: 23px; height: 23px; }
  body:has(.admin-page) .user-avatar { width: 42px; height: 42px; flex-basis: 42px; }
  body:has(.admin-page) .user-meta { display: none; }
  body:has(.admin-page) .users-table td { align-items: flex-start; }
  body:has(.admin-page) .users-table td::before { flex-basis: 38%; }
  body:has(.admin-page) .center-location, body:has(.admin-page) .center-alias-list, body:has(.admin-page) .event-participant-list, body:has(.admin-page) .audit-description { max-width: 62%; }
  .audit-detail-meta { grid-template-columns: 1fr; }
  .audit-json-grid pre { max-height: 15dvh; }
}


@media (max-width: 380px) {
  body:has(.admin-page) .topbar { padding-left: 12px; padding-right: 12px; }
  body:has(.admin-page) .brand-logo { width: 52px; height: 52px; flex-basis: 52px; }
  body:has(.admin-page) .brand-same, body:has(.admin-page) .brand-separator, body:has(.admin-page) .brand-ecues { font-size: 24px; }
  body:has(.admin-page) .brand-subtitle { font-size: 9px; }
  body:has(.admin-page) .theme-switch { width: 64px; flex-basis: 64px; }
  body:has(.admin-page) .language-menu-trigger { min-width: 92px; }
  body:has(.admin-page) .language-trigger-code { font-size: 11px; }
  body:has(.admin-page) .user-avatar { width: 40px; height: 40px; flex-basis: 40px; }
}

@media (min-width: 1280px) and (max-height: 760px) {
  body:has(.admin-page) .admin-page { padding-top: 14px; padding-bottom: 10px; }
  body:has(.admin-page) .admin-page-header { margin-bottom: 10px; }
  body:has(.admin-page) .admin-page-header h1 { font-size: 28px; }
  body:has(.admin-page) .admin-page-header p { margin-top: 4px; font-size: 10px; }
  body:has(.admin-page) .center-filters, body:has(.admin-page) .participant-filters, body:has(.admin-page) .event-filters, body:has(.admin-page) .audit-filters { margin-bottom: 10px; padding-top: 10px; padding-bottom: 10px; }
}

@media (max-height: 850px) and (min-width: 768px) {
  .audit-detail-modal { max-height: calc(100dvh - 24px); padding: 30px; }
  .audit-detail-meta { margin-top: 14px; margin-bottom: 14px; }
  .audit-json-grid pre { max-height: 210px; }
  .audit-extra pre { max-height: 96px; }
}
