/* App styles (custom) */

:root {
  --app-red: #950000;
  --app-red-dark: #7a0000;
  --app-red-soft: #b30000;
  --app-ink: #363c42;
  --app-bg: #f3f4f6;
  --app-soft-border: #e5e7eb;
  --app-soft-bg: #faf7f7;
}


:root {
  --app-pending-bg: #e9ecef;
  --app-pending-border: #ced4da;
  --app-pending-text: #495057;
}

.badge.text-bg-pending,
.text-bg-pending {
  background-color: var(--app-pending-bg) !important;
  color: var(--app-pending-text) !important;
  border: 1px solid var(--app-pending-border);
}

.btn-outline-pending {
  color: var(--app-pending-text);
  border-color: var(--app-pending-border);
  background-color: #fff;
}

.btn-outline-pending:hover,
.btn-outline-pending:focus,
.btn-outline-pending:active {
  color: var(--app-pending-text) !important;
  background-color: var(--app-pending-bg) !important;
  border-color: var(--app-pending-border) !important;
}

.border-pending {
  border-color: var(--app-pending-border) !important;
}

.text-pending {
  color: var(--app-pending-text) !important;
}

.bg-pending-soft {
  background-color: #f8f9fa !important;
}

body {
  background: #fff;
  color: var(--app-ink);
}

a {
  color: var(--app-red);
}

a:hover,
a:focus {
  color: var(--app-red-dark);
}

.btn-primary {
  background-color: var(--app-red);
  border-color: var(--app-red);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--app-red-dark) !important;
  border-color: var(--app-red-dark) !important;
}

.btn-outline-primary {
  color: var(--app-red);
  border-color: var(--app-red);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  background-color: var(--app-red);
  border-color: var(--app-red);
}

.btn-secondary {
  background-color: var(--app-ink);
  border-color: var(--app-ink);
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
  background-color: #2b3035 !important;
  border-color: #2b3035 !important;
}

.page-link {
  color: var(--app-red);
}

.page-link:hover,
.page-link:focus {
  color: var(--app-red-dark);
}

.page-item.active .page-link {
  background-color: var(--app-red);
  border-color: var(--app-red);
}

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

.form-control:focus,
.form-select:focus,
.form-check-input:focus,
.btn:focus,
.btn-close:focus {
  border-color: rgba(149, 0, 0, .35);
  box-shadow: 0 0 0 .25rem rgba(149, 0, 0, .15);
}

/* Dashboard: KPI cards */
.kpi-card {
  border-left-width: .35rem !important;
  cursor: help;
}

.kpi-card .kpi-title {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.kpi-card .kpi-value {
  line-height: 1;
}

.kpi-card .kpi-sub {
  font-size: .85rem;
}

.dashboard-controls .form-select,
.dashboard-controls .form-check-label {
  font-size: .9rem;
}

.auth-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #f3f4f6 0%, #fafafa 100%);
}

.auth-card {
  border: 0;
  border-radius: 1rem;
}

.auth-card .card-body {
  padding: 1.75rem;
}

.auth-logo {
  max-width: 220px;
  width: 100%;
  height: auto;
}


.password-field {
  position: relative;
}

.password-field .form-control {
  padding-right: 3rem;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: .75rem;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #6b7280;
  z-index: 3;
}

.password-toggle:hover,
.password-toggle:focus {
  color: var(--app-red);
}

.password-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 .25rem rgba(149, 0, 0, .15);
}

.password-toggle-icon svg {
  display: block;
  width: 1.2rem;
  height: 1.2rem;
}

.auth-link {
  color: var(--app-red);
  font-weight: 600;
  text-decoration: none;
}

.auth-link:hover,
.auth-link:focus {
  color: var(--app-red-dark);
  text-decoration: underline;
}

.app-navbar {
  background: var(--app-red);
}

.app-navbar .navbar-toggler {
  border-color: rgba(255,255,255,.25);
}

.app-navbar .navbar-toggler-icon {
  filter: invert(1);
}

.app-navbar .nav-link,
.app-navbar .navbar-brand {
  color: rgba(255,255,255,.94);
}

.app-navbar .nav-link:hover,
.app-navbar .nav-link:focus,
.app-navbar .navbar-brand:hover,
.app-navbar .navbar-brand:focus,
.app-navbar .nav-link.active {
  color: #fff;
}

.app-navbar-logo {
  height: 44px;
  width: auto;
  display: block;
}

.active-event-bar {
  background: #f7f7f8;
  border-bottom: 1px solid #e5e7eb;
}

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

.text-primary {
  color: var(--app-red) !important;
}

.border-primary {
  border-color: var(--app-red) !important;
}

.badge-app-alert {
  background-color: var(--app-red) !important;
  color: #fff !important;
}

.app-section-card {
  border: 1px solid var(--app-soft-border);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 .35rem 1rem rgba(15, 23, 42, .05);
}

.app-section-card + .app-section-card {
  margin-top: 1rem;
}

.app-section-title {
  padding: .9rem 1.1rem;
  background: linear-gradient(180deg, #fff 0%, var(--app-soft-bg) 100%);
  border-bottom: 1px solid var(--app-soft-border);
  font-weight: 700;
}

.app-section-body {
  padding: 1.1rem;
}

.app-kv {
  height: 100%;
  padding: .85rem .95rem;
  border: 1px solid #ececec;
  border-radius: .9rem;
  background: #fff;
}

.app-kv-label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: .35rem;
}

.app-kv-value {
  min-height: 1.5rem;
}

.app-form-shell > .app-section-card {
  margin-bottom: 1rem;
}

.app-header-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.app-header-meta .badge {
  font-size: .8rem;
}

@media (max-width: 991.98px) {
  .app-navbar-logo {
    height: 38px;
  }
}

@media (max-width: 576px) {
  .dashboard-controls .btn {
    width: 100%;
  }

  .kpi-card .kpi-sub {
    display: none;
  }

  .kpi-card .kpi-title {
    font-size: .75rem;
  }

  .kpi-card .card-body {
    padding: .85rem;
  }

  .auth-card .card-body {
    padding: 1.35rem;
  }

  .app-section-title,
  .app-section-body {
    padding-left: .9rem;
    padding-right: .9rem;
  }
}

.app-navbar-manager {
  background: var(--manager-nav-bg, var(--app-red));
}

.app-navbar-manager .nav-link,
.app-navbar-manager .navbar-brand,
.app-navbar-manager .navbar-text {
  color: var(--manager-nav-text, rgba(255,255,255,.94));
}

.app-navbar-manager .nav-link:hover,
.app-navbar-manager .nav-link:focus,
.app-navbar-manager .navbar-brand:hover,
.app-navbar-manager .navbar-brand:focus,
.app-navbar-manager .nav-link.active {
  color: var(--manager-nav-text, #fff);
  opacity: .9;
}

.app-navbar-manager .navbar-toggler {
  border-color: rgba(255,255,255,.25);
}

.app-navbar-manager .navbar-toggler-icon {
  filter: brightness(0) invert(1);
}

.app-navbar-logo-manager {
  width: 78px;
  height: 60px;
  object-fit: contain;
}


.dietary-box { padding: 1rem; border: 1px solid #dbe3ea; border-radius: 14px; background: #f8fafc; }
.dietary-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .75rem; }
.dietary-card { display:flex; gap:.6rem; align-items:flex-start; padding:.85rem .95rem; border:1px solid #dbe3ea; border-radius:12px; background:#fff; cursor:pointer; min-height:100%; }
.dietary-card input { margin-top:.15rem; flex:0 0 auto; }
.dietary-card span { font-size:.92rem; line-height:1.35; color:#1f2937; }
.dietary-card:has(input:checked) { border-color:#0d6efd; background:#eef5ff; box-shadow:0 0 0 1px rgba(13,110,253,.08) inset; }


/* Action color system */
.btn-app-add,
.btn-app-add.btn,
.btn-success {
  background-color: #198754;
  border-color: #198754;
}

.btn-app-add:hover,
.btn-app-add:focus,
.btn-app-add:active,
.btn-success:hover,
.btn-success:focus,
.btn-success:active {
  background-color: #157347 !important;
  border-color: #146c43 !important;
}

.btn-app-edit,
.btn-app-edit.btn,
.btn-outline-success {
  color: #198754;
  border-color: #198754;
  background-color: #fff;
}

.btn-app-edit:hover,
.btn-app-edit:focus,
.btn-app-edit:active,
.btn-outline-success:hover,
.btn-outline-success:focus,
.btn-outline-success:active {
  color: #fff !important;
  background-color: #198754 !important;
  border-color: #198754 !important;
}

.btn-app-delete,
.btn-app-delete.btn,
.btn-danger {
  background-color: var(--app-red);
  border-color: var(--app-red);
}

.btn-app-delete:hover,
.btn-app-delete:focus,
.btn-app-delete:active,
.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active {
  background-color: var(--app-red-dark) !important;
  border-color: var(--app-red-dark) !important;
}

.btn-outline-danger {
  color: var(--app-red);
  border-color: var(--app-red);
  background-color: #fff;
}

.btn-outline-danger:hover,
.btn-outline-danger:focus,
.btn-outline-danger:active {
  color: #fff !important;
  background-color: var(--app-red) !important;
  border-color: var(--app-red) !important;
}

.btn-app-share,
.btn-app-share.btn,
.btn-info {
  color: #fff;
}

.btn-app-share:disabled,
.btn-info:disabled,
.btn-outline-success:disabled,
.btn-outline-danger:disabled,
.btn-success:disabled,
.btn-danger:disabled {
  opacity: .65;
}

/* Placeholders: lighter gray so they don't look like real values */
input::placeholder,
textarea::placeholder,
select.form-select:invalid,
.form-control::placeholder,
.form-select::placeholder {
  color: #adb5bd !important;
  opacity: 1;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder,
.form-control::-webkit-input-placeholder {
  color: #adb5bd !important;
}

input::-moz-placeholder,
textarea::-moz-placeholder,
.form-control::-moz-placeholder {
  color: #adb5bd !important;
  opacity: 1;
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder,
.form-control:-ms-input-placeholder {
  color: #adb5bd !important;
}


.app-navbar .app-settings-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  padding-left: .65rem;
  padding-right: .65rem;
}

.app-navbar .app-settings-nav-toggle::after {
  margin-left: .35rem;
}

.app-navbar .app-settings-gear {
  font-size: 1.1rem;
  line-height: 1;
}

.app-navbar .app-settings-dropdown {
  border: 0;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .18);
  padding: .45rem;
  min-width: 13.5rem;
}

.app-navbar .app-settings-dropdown .dropdown-item {
  border-radius: 8px;
  font-weight: 600;
  padding: .55rem .75rem;
}

.app-navbar .app-settings-dropdown .dropdown-item:active,
.app-navbar .app-settings-dropdown .dropdown-item:hover,
.app-navbar .app-settings-dropdown .dropdown-item:focus {
  background: #f3f4f6;
  color: var(--app-red-dark);
}

/* ROOMING searchable selects */
.rooming-search-select-widget {
  position: relative;
  width: 100%;
}

.rooming-search-select-widget.is-disabled {
  opacity: .65;
}

.rooming-search-select-results {
  position: absolute;
  z-index: 1080;
  top: calc(100% + 2px);
  left: 0;
  right: 0;
  max-height: 18rem;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #ced4da;
  border-radius: .5rem;
  box-shadow: 0 .75rem 1.75rem rgba(15, 23, 42, .16);
  padding: .25rem;
}

.rooming-search-select-option {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: .45rem .6rem;
  border-radius: .35rem;
  color: #212529;
  font-size: .925rem;
}

.rooming-search-select-option:hover,
.rooming-search-select-option:focus,
.rooming-search-select-option.is-selected {
  background: #f1f5f9;
}

.rooming-search-select-option.is-disabled {
  color: #9ca3af;
  cursor: not-allowed;
  text-decoration: line-through;
}

.rooming-search-select-empty {
  padding: .55rem .6rem;
  color: #6c757d;
  font-size: .875rem;
}

.input-group .rooming-search-select-widget {
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
}

/* Zona STAFF / Día del evento */
.staff-event-body {
  min-height: 100vh;
  background: #f5f7fb;
  color: #142d4c;
}

.staff-event-topbar {
  position: sticky;
  top: 0;
  z-index: 1040;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 .2rem .75rem rgba(15, 23, 42, .06);
}

.staff-event-topbar-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: .6rem .9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.staff-event-brand img {
  height: 42px;
  width: auto;
  display: block;
}

.staff-event-user {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .1rem;
  font-size: .82rem;
  line-height: 1.1;
  color: #64748b;
}

.staff-event-user span {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.staff-event-user a {
  font-weight: 700;
  text-decoration: none;
  color: #d83a2e;
}

.staff-event-main {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 1rem .9rem calc(1.5rem + env(safe-area-inset-bottom));
}

.staff-home-hero {
  margin: .25rem 0 1rem;
  padding: 1rem;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, #142d4c 0%, #24476f 100%);
  color: #fff;
  box-shadow: 0 .75rem 1.5rem rgba(20, 45, 76, .16);
}

.staff-home-kicker {
  font-size: .78rem;
  letter-spacing: .12em;
  font-weight: 800;
  text-transform: uppercase;
  opacity: .82;
}

.staff-home-hero h1 {
  margin: .2rem 0 .15rem;
  font-size: clamp(1.35rem, 5vw, 2rem);
  font-weight: 800;
  line-height: 1.12;
}

.staff-home-hero p {
  margin: 0;
  opacity: .9;
}

.staff-tile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
}

.staff-tile {
  position: relative;
  min-height: 156px;
  padding: 1rem .75rem .85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: .25rem;
  border: 1px solid #e6ebf2;
  border-radius: 1.25rem;
  background: #fff;
  color: #142d4c;
  text-decoration: none;
  box-shadow: 0 .55rem 1.25rem rgba(15, 23, 42, .07);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
  -webkit-tap-highlight-color: transparent;
}

.staff-tile:hover,
.staff-tile:focus {
  color: #142d4c;
  transform: translateY(-1px);
  border-color: rgba(20, 45, 76, .22);
  box-shadow: 0 .8rem 1.5rem rgba(15, 23, 42, .11);
}

.staff-tile:active {
  transform: translateY(0);
}

.staff-tile-icon {
  width: 74px;
  height: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.staff-tile-icon img {
  max-width: 74px;
  max-height: 74px;
  display: block;
}

.staff-tile-label {
  margin-top: .15rem;
  font-weight: 850;
  font-size: 1.05rem;
}

.staff-tile-description {
  color: #64748b;
  font-size: .82rem;
  line-height: 1.15;
}

.staff-tile-soon {
  position: absolute;
  top: .55rem;
  right: .55rem;
  padding: .17rem .45rem;
  border-radius: 999px;
  background: #eef2f7;
  color: #64748b;
  font-size: .68rem;
  font-weight: 800;
}

.staff-tile-disabled {
  opacity: .62;
  cursor: not-allowed;
}

.staff-tile-disabled:hover,
.staff-tile-disabled:focus {
  transform: none;
  box-shadow: 0 .55rem 1.25rem rgba(15, 23, 42, .07);
}

.staff-tile-danger {
  border-color: rgba(216, 58, 46, .22);
}

.staff-home-note {
  margin-top: 1rem;
  color: #64748b;
  font-size: .86rem;
  text-align: center;
}

@media (min-width: 700px) {
  .staff-tile-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .staff-tile {
    min-height: 168px;
  }
  .staff-tile-icon,
  .staff-tile-icon img {
    width: 86px;
    height: 86px;
    max-width: 86px;
    max-height: 86px;
  }
}

.staff-page-head {
  margin-bottom: 1rem;
}
.staff-back-link {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  margin-bottom: .75rem;
  color: #142d4c;
  text-decoration: none;
  font-weight: 800;
}
.staff-page-head h1 {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 900;
  color: #142d4c;
}
.staff-page-head p {
  margin: .15rem 0 0;
  color: #64748b;
}
.staff-search-panel {
  position: sticky;
  top: 72px;
  z-index: 20;
  padding: .85rem;
  margin: 0 -.25rem 1rem;
  border: 1px solid #e6ebf2;
  border-radius: 1rem;
  background: rgba(255,255,255,.96);
  box-shadow: 0 .5rem 1rem rgba(15,23,42,.08);
  backdrop-filter: blur(8px);
}
.staff-search-label {
  display: block;
  margin-bottom: .35rem;
  font-weight: 850;
  color: #142d4c;
}
.staff-search-input {
  width: 100%;
  min-height: 54px;
  padding: .8rem 1rem;
  border: 2px solid #d8e0ec;
  border-radius: .9rem;
  font-size: 1.08rem;
  font-weight: 700;
  outline: none;
}
.staff-search-input:focus {
  border-color: #7890cf;
  box-shadow: 0 0 0 .2rem rgba(120,144,207,.18);
}
.staff-search-help,
.staff-search-status {
  margin-top: .45rem;
  color: #64748b;
  font-size: .86rem;
}
.staff-results {
  display: grid;
  gap: .85rem;
}
.staff-result-card {
  padding: .9rem;
  border: 1px solid #e6ebf2;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 .45rem 1rem rgba(15,23,42,.06);
}
.staff-result-top {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: flex-start;
  padding-bottom: .65rem;
  border-bottom: 1px solid #edf1f6;
}
.staff-result-name {
  font-size: 1.08rem;
  font-weight: 900;
  color: #142d4c;
  line-height: 1.15;
}
.staff-result-sub {
  margin-top: .18rem;
  color: #64748b;
  font-size: .84rem;
  font-weight: 700;
}
.staff-result-badges {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: .25rem;
  min-width: 120px;
}
.staff-mini-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: .2rem .45rem;
  background: #eef2f7;
  color: #142d4c;
  font-size: .72rem;
  font-weight: 850;
  white-space: nowrap;
}
.staff-mini-badge.ok { background: #dff5e6; color: #136c38; }
.staff-mini-badge.danger { background: #fde3df; color: #9f281d; }
.staff-mini-badge.warn { background: #fff2cf; color: #8a5b00; }
.staff-mini-badge.vip { background: #fff0bd; color: #8a5b00; }
.staff-result-grid {
  display: grid;
  gap: .42rem;
  margin-top: .65rem;
}
.staff-info-line,
.staff-alert-line {
  font-size: .94rem;
  color: #1f3657;
  line-height: 1.25;
}
.staff-info-line a {
  color: #142d4c;
  font-weight: 800;
}
.staff-alert-line {
  padding: .45rem .55rem;
  border-radius: .65rem;
  background: #fff7e0;
  color: #6d4a00;
}
@media (max-width: 520px) {
  .staff-result-top {
    flex-direction: column;
  }
  .staff-result-badges {
    justify-content: flex-start;
  }
}

/* STAFF Check-in móvil */
.staff-checkin-head {
  margin-bottom: .75rem;
}
.staff-checkin-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .55rem;
  margin-bottom: .85rem;
}
.staff-stat-pill {
  padding: .7rem .55rem;
  border-radius: .95rem;
  background: #fff;
  border: 1px solid #e6ebf2;
  box-shadow: 0 .35rem .85rem rgba(15,23,42,.06);
  text-align: center;
}
.staff-stat-pill strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1;
  color: #142d4c;
  font-weight: 950;
}
.staff-stat-pill span {
  display: block;
  margin-top: .2rem;
  color: #64748b;
  font-size: .78rem;
  font-weight: 800;
}
.staff-stat-pill.ok strong { color: #136c38; }
.staff-stat-pill.danger strong { color: #9f281d; }
.staff-checkin-search-panel {
  top: 67px;
}
.staff-checkin-filter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  margin-top: .55rem;
}
.staff-switch-line {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 34px;
  color: #142d4c;
  font-weight: 850;
  font-size: .9rem;
}
.staff-switch-line input {
  width: 20px;
  height: 20px;
  accent-color: #142d4c;
}
.staff-clear-btn {
  border: 1px solid #d8e0ec;
  background: #fff;
  color: #142d4c;
  border-radius: 999px;
  padding: .35rem .7rem;
  font-weight: 850;
}
.staff-checkin-results {
  padding-bottom: 1rem;
}
.staff-checkin-card {
  padding: 0;
  overflow: hidden;
}
.staff-checkin-card-main {
  padding: .9rem;
}
.staff-checkin-card.is-checked {
  border-color: rgba(19,108,56,.22);
}
.staff-checkin-card.is-pending {
  border-color: rgba(159,40,29,.16);
}
.staff-checkin-actions {
  border-top: 1px solid #edf1f6;
  padding: .75rem .9rem .9rem;
  background: #fbfcfe;
}
.staff-checkin-btn {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: .95rem;
  font-size: 1.05rem;
  font-weight: 950;
  color: #fff;
  box-shadow: 0 .45rem .9rem rgba(15,23,42,.12);
  -webkit-tap-highlight-color: transparent;
}
.staff-checkin-btn.ok {
  background: #16803f;
}
.staff-checkin-btn.undo {
  background: #d83a2e;
}
.staff-checkin-btn:disabled {
  opacity: .65;
  box-shadow: none;
}
@media (min-width: 760px) {
  .staff-checkin-card {
    display: grid;
    grid-template-columns: 1fr 220px;
  }
  .staff-checkin-actions {
    display: flex;
    align-items: center;
    border-top: 0;
    border-left: 1px solid #edf1f6;
  }
}

/* STAFF Zona Buscar avanzada */
.staff-search-results {
  padding-bottom: 1.25rem;
}
.staff-search-detail-card {
  overflow: hidden;
}
.staff-quick-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem;
  margin: .75rem 0 .1rem;
}
.staff-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: .55rem .65rem;
  border: 1px solid #d8e0ec;
  border-radius: .75rem;
  background: #fff;
  color: #142d4c;
  text-decoration: none;
  font-weight: 900;
  font-size: .88rem;
  line-height: 1.1;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}
.staff-action-btn.ok {
  border-color: rgba(19,108,56,.24);
  background: #e3f7e9;
  color: #136c38;
}
.staff-action-btn.danger {
  border-color: rgba(159,40,29,.18);
  background: #fde3df;
  color: #9f281d;
}
.staff-action-btn:disabled {
  opacity: .65;
}
.staff-detail-section {
  margin-top: .85rem;
  padding-top: .75rem;
  border-top: 1px solid #edf1f6;
}
.staff-detail-section h3 {
  margin: 0 0 .5rem;
  color: #142d4c;
  font-size: .93rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .025em;
}
.staff-detail-grid {
  grid-template-columns: 1fr;
}
.staff-companion-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .45rem;
}
.staff-companion-list li {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .3rem .45rem;
  padding: .5rem .55rem;
  border-radius: .75rem;
  background: #f8fafc;
  color: #1f3657;
}
.staff-companion-list li strong {
  color: #142d4c;
}
.staff-companion-list li span,
.staff-companion-list li small {
  color: #64748b;
  font-weight: 750;
}
.staff-alert-vip {
  background: #fff0bd;
  color: #805300;
}
@media (min-width: 720px) {
  .staff-quick-actions {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .staff-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* STAFF Seating operativo */
.staff-page-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.staff-page-head h1 {
  margin: 0;
  font-size: clamp(1.8rem, 8vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
}
.staff-page-head p {
  margin: 4px 0 0;
  color: #64748b;
}
.staff-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: #0f172a;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}
.staff-seating-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.staff-seating-stats div {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}
.staff-seating-stats strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1;
  color: #0f172a;
}
.staff-seating-stats span {
  display: block;
  margin-top: 5px;
  font-size: .78rem;
  color: #64748b;
  font-weight: 800;
  text-transform: uppercase;
}
.staff-seating-search-panel,
.staff-seating-board-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
  margin-bottom: 14px;
}
.staff-seating-search-panel label {
  display: block;
  margin-bottom: 7px;
  font-weight: 900;
  color: #0f172a;
}
.staff-seating-search-panel input {
  width: 100%;
  border: 2px solid rgba(15, 23, 42, 0.1);
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 1.05rem;
  outline: none;
}
.staff-seating-search-panel input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}
.staff-seating-search-results {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}
.staff-seating-search-item {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 10px 12px;
  background: #f8fafc;
}
.staff-seating-search-item strong,
.staff-seating-search-item span {
  display: block;
}
.staff-seating-search-item span {
  color: #64748b;
  font-size: .88rem;
}
.staff-seating-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  color: #475569;
  font-size: .86rem;
  font-weight: 800;
}
.staff-seating-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  padding: 7px 10px;
}
.staff-table-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}
.staff-table-dot.empty { background: #e5e7eb; }
.staff-table-dot.partial { background: #fed7aa; }
.staff-table-dot.full { background: #bbf7d0; }
.staff-table-dot.presidential { background: #1e3a8a; }
.staff-seating-board-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.staff-seating-board-head strong {
  font-size: 1.05rem;
}
.staff-seating-board-head span {
  color: #64748b;
  font-size: .86rem;
  text-align: right;
}
.staff-seating-board-scroll {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 18px;
  background: #f1f5f9;
  border: 1px solid rgba(15, 23, 42, 0.06);
}
.staff-seating-board {
  position: relative;
  min-width: 980px;
  min-height: 680px;
  background-image: radial-gradient(circle at 1px 1px, rgba(15,23,42,.12) 1px, transparent 0);
  background-size: 24px 24px;
}
.staff-plan-element {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-weight: 900;
  text-transform: uppercase;
  font-size: .85rem;
  letter-spacing: .04em;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
  pointer-events: none;
}
.staff-plan-element.orientation-vertical {
  writing-mode: vertical-rl;
  text-orientation: mixed;
}
.staff-seating-table {
  position: absolute;
  border: 3px solid rgba(15, 23, 42, 0.18);
  border-radius: 24px;
  background: #e5e7eb;
  color: #0f172a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 7px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.16);
  transition: transform .15s ease, box-shadow .15s ease, outline .15s ease;
}
.staff-seating-table:active,
.staff-seating-table:hover {
  transform: scale(1.04);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.22);
}
.staff-seating-table.is-empty { background: #e5e7eb; }
.staff-seating-table.is-partial { background: #fed7aa; }
.staff-seating-table.is-full { background: #bbf7d0; }
.staff-seating-table.is-presidential { border-color: #1e3a8a; border-width: 5px; }
.staff-seating-table.is-highlighted { outline: 8px solid rgba(37, 99, 235, .35); }
.staff-seating-table-code,
.staff-seating-table-name,
.staff-seating-table-capacity {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.staff-seating-table-code { font-size: .92rem; }
.staff-seating-table-name { font-size: .72rem; opacity: .75; }
.staff-seating-table-capacity { font-size: .86rem; }
.staff-seating-table.shape-round,
.staff-seating-table.shape-round-small { border-radius: 50%; }
.staff-seating-table.shape-square,
.staff-seating-table.shape-square-small { border-radius: 18px; }
.staff-seating-table.shape-rect-horizontal,
.staff-seating-table.shape-rect-horizontal-small,
.staff-seating-table.shape-rect-vertical,
.staff-seating-table.shape-rect-vertical-small { border-radius: 18px; }
.staff-seating-modal .modal-title {
  font-size: 1.35rem;
  font-weight: 900;
}
.staff-seating-assignment-list {
  display: grid;
  gap: 10px;
}
.staff-seating-person-card,
.staff-seating-add-box,
.staff-empty-state {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  background: #f8fafc;
  padding: 12px;
}
.staff-seating-person-main strong,
.staff-seating-person-main span {
  display: block;
}
.staff-seating-person-main strong {
  font-size: 1.05rem;
  color: #0f172a;
}
.staff-seating-person-main span {
  color: #64748b;
  font-size: .88rem;
}
.staff-seating-person-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.staff-seating-person-badges span {
  background: #e0f2fe;
  color: #075985;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: .75rem;
  font-weight: 900;
}
.staff-seating-move-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 10px;
}
.staff-seating-add-box p {
  color: #64748b;
  margin: 4px 0 10px;
}
@media (max-width: 720px) {
  .staff-page-head { display: block; }
  .staff-page-head .staff-back-link { margin-bottom: 12px; }
  .staff-seating-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .staff-seating-board-head { display: block; }
  .staff-seating-board-head span { display: block; text-align: left; margin-top: 4px; }
  .staff-seating-board { min-width: 860px; min-height: 620px; }
}

/* STAFF Diplomas entrega rápida */
.staff-diplomas-head {
  align-items: center;
}
.staff-diplomas-stats {
  margin-bottom: 1rem;
}
.staff-diplomas-tools,
.staff-diplomas-tabs {
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 20px;
  padding: 14px;
  margin-bottom: 14px;
  box-shadow: 0 12px 28px rgba(15,23,42,.07);
}
.staff-diplomas-tools label {
  display: block;
  margin-bottom: 8px;
  color: #0f172a;
  font-weight: 950;
}
.staff-diplomas-filter-row,
.staff-diplomas-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.staff-diplomas-filter-row {
  margin-top: 10px;
}
.staff-diploma-filter,
.staff-diplomas-tab {
  border: 1px solid rgba(15,23,42,.1);
  border-radius: 999px;
  background: #f8fafc;
  color: #0f172a;
  min-height: 42px;
  padding: 8px 14px;
  font-weight: 900;
  -webkit-tap-highlight-color: transparent;
}
.staff-diploma-filter.is-active,
.staff-diplomas-tab.is-active {
  background: #142d4c;
  color: #fff;
  border-color: #142d4c;
}
.staff-diplomas-plan-card {
  padding: 14px;
}
.staff-diplomas-board .staff-diploma-table {
  cursor: pointer;
}
.staff-diplomas-board .staff-diploma-table.is-empty {
  background: #e5e7eb;
  opacity: .72;
}
.staff-diplomas-board .staff-diploma-table.is-partial {
  background: #fed7aa;
}
.staff-diplomas-board .staff-diploma-table.is-full {
  background: #bbf7d0;
}
.staff-diplomas-board .staff-diploma-table.is-dimmed {
  opacity: .28;
  filter: grayscale(.35);
}
.staff-diplomas-board .staff-diploma-table.is-search-hit {
  outline: 8px solid rgba(37,99,235,.32);
}
.staff-diploma-list {
  display: grid;
  gap: 10px;
}
.staff-diploma-person {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15,23,42,.06);
}
.staff-diploma-person strong,
.staff-diploma-person span,
.staff-diploma-person small {
  display: block;
}
.staff-diploma-person strong {
  color: #0f172a;
  font-size: 1.02rem;
  line-height: 1.16;
}
.staff-diploma-person span {
  margin-top: 3px;
  color: #64748b;
  font-size: .86rem;
  font-weight: 750;
}
.staff-diploma-person small {
  margin-top: 4px;
  color: #136c38;
  font-weight: 800;
}
.staff-diploma-person.is-delivered {
  border-color: rgba(19,108,56,.22);
  background: #f0fbf4;
}
.staff-diploma-person.is-pending {
  border-color: rgba(159,40,29,.14);
}
.staff-diploma-toggle {
  min-width: 112px;
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  font-weight: 950;
  box-shadow: 0 8px 16px rgba(15,23,42,.12);
  -webkit-tap-highlight-color: transparent;
}
.staff-diploma-toggle.ok {
  background: #16803f;
}
.staff-diploma-toggle.undo {
  background: #d83a2e;
}
.staff-diploma-toggle:disabled {
  opacity: .65;
  box-shadow: none;
}
.staff-diplomas-unassigned {
  margin-top: 14px;
}
.staff-diplomas-modal .modal-content {
  border: 0;
  border-radius: 22px;
  overflow: hidden;
}
.staff-diplomas-modal .modal-title {
  font-weight: 950;
  color: #0f172a;
}
@media (max-width: 560px) {
  .staff-diploma-filter,
  .staff-diplomas-tab {
    flex: 1 1 auto;
    justify-content: center;
  }
  .staff-diploma-person {
    grid-template-columns: 1fr;
  }
  .staff-diploma-toggle {
    width: 100%;
  }
}

/* STAFF VIPs */
.staff-vips-head {
  margin-bottom: .8rem;
}
.staff-vips-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
  margin-bottom: .85rem;
}
.staff-vips-stats div {
  padding: .85rem .7rem;
  border: 1px solid #e6ebf2;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 .45rem 1rem rgba(15,23,42,.06);
  text-align: center;
}
.staff-vips-stats strong {
  display: block;
  color: #142d4c;
  font-size: 1.55rem;
  line-height: 1;
  font-weight: 950;
}
.staff-vips-stats span {
  display: block;
  margin-top: .3rem;
  color: #64748b;
  font-size: .75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .025em;
}
.staff-vips-filter {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: .8rem;
}
.staff-vips-filter-btn {
  appearance: none;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  padding: .48rem .8rem;
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.staff-vips-filter-btn.active {
  background: #142d4c;
  border-color: #142d4c;
  color: #fff;
  box-shadow: 0 .2rem .55rem rgba(20,45,76,.18);
}
.staff-vips-filter-btn:focus-visible {
  outline: 3px solid rgba(20,45,76,.22);
  outline-offset: 2px;
}

.staff-vips-search-panel {
  margin-bottom: 1rem;
}
.staff-vips-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
  padding-bottom: 1.25rem;
}
.staff-vip-card {
  overflow: hidden;
  border: 1px solid #e6ebf2;
  border-radius: 1.1rem;
  background: #fff;
  box-shadow: 0 .5rem 1.2rem rgba(15,23,42,.07);
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.staff-vip-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #142d4c, #7890cf);
  color: #fff;
}
.staff-vip-honoree-badge {
  position: absolute;
  top: .6rem;
  left: .6rem;
  z-index: 3;
  padding: .32rem .55rem;
  border-radius: .55rem;
  background: #16a34a;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: 0 .2rem .65rem rgba(15,23,42,.28);
  font-size: .68rem;
  line-height: 1;
  font-weight: 950;
  letter-spacing: .035em;
}

.staff-vip-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.staff-vip-photo span {
  width: 68px;
  height: 68px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  border: 2px solid rgba(255,255,255,.32);
  font-size: 1.35rem;
  font-weight: 950;
  letter-spacing: .03em;
}
.staff-vip-body {
  padding: .75rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.staff-vip-body h2 {
  margin: 0;
  color: #142d4c;
  font-size: 1.02rem;
  line-height: 1.1;
  font-weight: 950;
}
.staff-vip-meta,
.staff-vip-company,
.staff-vip-principal {
  margin-top: .28rem;
  color: #64748b;
  font-size: .78rem;
  line-height: 1.2;
  font-weight: 750;
}
.staff-vip-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .4rem;
}
.staff-vip-meta span + span::before {
  content: '· ';
}
.staff-vip-badges,
.staff-vip-alerts,
.staff-vip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-top: auto;
  padding-top: .55rem;
}
.staff-vip-badge,
.staff-vip-alerts span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: .18rem .45rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 900;
  line-height: 1;
}
.staff-vip-badge.vip {
  background: #fff0bd;
  color: #805300;
}
.staff-vip-badge.ok {
  background: #e3f7e9;
  color: #136c38;
}
.staff-vip-badge.pending {
  background: #fde3df;
  color: #9f281d;
}
.staff-vip-badge.table {
  background: #eef2f7;
  color: #1f3657;
}
.staff-vip-alerts span {
  background: #fff7ed;
  color: #9a3412;
}
.staff-vip-actions a {
  flex: 1 1 auto;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .45rem .5rem;
  border-radius: .75rem;
  border: 1px solid #d8e0ec;
  color: #142d4c;
  background: #f8fafc;
  text-decoration: none;
  font-size: .8rem;
  font-weight: 950;
}
.staff-vip-actions a:active {
  transform: translateY(1px);
}
@media (min-width: 760px) {
  .staff-vips-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1040px) {
  .staff-vips-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* STAFF Listados operativos */
.staff-lists-head {
  margin-bottom: .9rem;
}
.staff-lists-help,
.staff-lists-note {
  padding: .9rem;
  border: 1px solid #e6ebf2;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 .45rem 1rem rgba(15,23,42,.06);
  margin-bottom: .9rem;
}
.staff-lists-help strong,
.staff-lists-help span,
.staff-lists-note p {
  display: block;
  margin: 0;
}
.staff-lists-help strong {
  color: #142d4c;
  font-weight: 950;
}
.staff-lists-help span,
.staff-lists-note p {
  margin-top: .25rem;
  color: #64748b;
  font-size: .9rem;
  line-height: 1.35;
  font-weight: 700;
}
.staff-lists-grid {
  display: grid;
  gap: .85rem;
  padding-bottom: 1rem;
}
.staff-list-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .8rem;
  align-items: start;
  padding: .95rem;
  border: 1px solid #e6ebf2;
  border-radius: 1.1rem;
  background: #fff;
  box-shadow: 0 .55rem 1.25rem rgba(15,23,42,.07);
}
.staff-list-card-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: #eef5ff;
  color: #142d4c;
  font-size: 1.35rem;
}
.staff-list-card-body h2 {
  margin: 0;
  color: #142d4c;
  font-size: 1.05rem;
  font-weight: 950;
  line-height: 1.15;
}
.staff-list-card-body p {
  margin: .25rem 0 0;
  color: #64748b;
  font-size: .84rem;
  line-height: 1.3;
  font-weight: 700;
}
.staff-list-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-top: .55rem;
}
.staff-list-card-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: .18rem .48rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: .72rem;
  font-weight: 900;
}
.staff-list-download {
  grid-column: 1 / -1;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .85rem;
  background: #142d4c;
  color: #fff;
  text-decoration: none;
  font-weight: 950;
  box-shadow: 0 .45rem 1rem rgba(20,45,76,.18);
}
.staff-list-download:active {
  transform: translateY(1px);
}
@media (min-width: 760px) {
  .staff-lists-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* STAFF Información del evento */
.staff-info-alert {
  border-radius: 1rem;
  font-weight: 750;
}
.staff-empty-state {
  padding: 1rem;
  border: 1px dashed #cbd5e1;
  border-radius: 1rem;
  background: #fff;
  color: #142d4c;
  text-align: center;
}
.staff-empty-state strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 900;
}
.staff-empty-state p {
  margin: .35rem 0 0;
  color: #64748b;
}
.staff-info-accordion {
  display: grid;
  gap: .75rem;
  padding-bottom: 1.25rem;
}
.staff-info-item {
  overflow: hidden;
  border: 1px solid #e6ebf2;
  border-radius: 1.05rem;
  background: #fff;
  box-shadow: 0 .45rem 1rem rgba(15,23,42,.06);
}
.staff-info-toggle {
  width: 100%;
  min-height: 66px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  padding: .9rem 1rem;
  border: 0;
  background: #fff;
  color: #142d4c;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}
.staff-info-toggle strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 950;
  line-height: 1.15;
}
.staff-info-toggle small {
  display: block;
  margin-top: .18rem;
  color: #64748b;
  font-weight: 750;
}
.staff-info-toggle em {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #eef2f7;
  color: #142d4c;
  font-style: normal;
  font-weight: 950;
  transition: transform .15s ease;
}
.staff-info-toggle[aria-expanded="true"] em {
  transform: rotate(180deg);
}
.staff-info-content {
  padding: 0 1rem 1rem;
  border-top: 1px solid #edf1f6;
}
.staff-info-html {
  padding-top: .85rem;
  color: #1f3657;
  font-size: .98rem;
  line-height: 1.45;
}
.staff-info-html p:last-child,
.staff-info-html ul:last-child,
.staff-info-html ol:last-child,
.staff-info-html table:last-child {
  margin-bottom: 0;
}
.staff-info-html table {
  width: 100%;
  border-collapse: collapse;
  margin: .65rem 0;
  font-size: .92rem;
}
.staff-info-html th,
.staff-info-html td {
  border: 1px solid #d8e0ec;
  padding: .45rem .5rem;
  vertical-align: top;
}
.staff-info-html th {
  background: #eef5ff;
  color: #142d4c;
  font-weight: 900;
}
.staff-info-links {
  display: grid;
  gap: .5rem;
  margin-top: .85rem;
}
.staff-info-link {
  display: block;
  padding: .75rem .85rem;
  border: 1px solid #d8e0ec;
  border-radius: .8rem;
  background: #f8fafc;
  color: #142d4c;
  text-decoration: none;
  font-weight: 900;
}
.staff-info-link:active,
.staff-info-link:hover,
.staff-info-link:focus {
  color: #142d4c;
  background: #eef5ff;
}
.staff-info-link small {
  display: block;
  margin-top: .15rem;
  color: #64748b;
  font-weight: 700;
}
@media (min-width: 760px) {
  .staff-info-toggle {
    min-height: 72px;
    padding: 1rem 1.15rem;
  }
  .staff-info-content {
    padding: 0 1.15rem 1.15rem;
  }
}

/* STAFF navegacion rapida movil */
.staff-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1050;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .15rem;
  padding: .4rem .45rem calc(.4rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97);
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -.4rem 1.2rem rgba(15, 23, 42, .08);
  backdrop-filter: blur(10px);
}
.staff-bottom-nav-item {
  min-width: 0;
  min-height: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .15rem;
  border-radius: .85rem;
  color: #64748b;
  text-decoration: none;
  font-size: .68rem;
  font-weight: 900;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
}
.staff-bottom-nav-item img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .72;
}
.staff-bottom-nav-item span {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.staff-bottom-nav-item.is-active {
  background: #142d4c;
  color: #fff;
}
.staff-bottom-nav-item.is-active img {
  filter: none;
  opacity: 1;
}
.staff-event-main {
  padding-bottom: calc(5.6rem + env(safe-area-inset-bottom));
}
@media (min-width: 900px) {
  .staff-bottom-nav {
    left: 50%;
    right: auto;
    bottom: .8rem;
    width: min(620px, calc(100% - 2rem));
    transform: translateX(-50%);
    border: 1px solid #e5e7eb;
    border-radius: 1.35rem;
    padding: .45rem;
  }
  .staff-event-main {
    padding-bottom: 6.8rem;
  }
}

/* STAFF paso 12: cabecera de evento, resumen compacto y check-in agrupado */
.staff-event-topbar {
  position: sticky;
  top: 0;
  z-index: 1045;
  background: #fff;
  border-bottom: 0;
  box-shadow: 0 .2rem .75rem rgba(15, 23, 42, .05);
}
.staff-event-header-logo {
  display: block;
  width: 100%;
  min-height: 54px;
  max-height: 92px;
  padding: .35rem .75rem;
  text-align: center;
  background: #fff;
}
.staff-event-header-logo img {
  display: block;
  width: auto;
  max-width: min(100%, 960px);
  max-height: 82px;
  margin: 0 auto;
  object-fit: contain;
}
.staff-event-live-summary {
  position: sticky;
  top: 66px;
  z-index: 1040;
  width: min(1120px, calc(100% - 1rem));
  margin: .35rem auto .15rem;
  padding: .34rem .45rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .25rem;
  border: 1px solid #e6ebf2;
  border-radius: .7rem;
  background: rgba(255,255,255,.96);
  box-shadow: 0 .25rem .65rem rgba(15,23,42,.06);
  backdrop-filter: blur(8px);
}
.staff-event-live-summary div {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .25rem;
  min-width: 0;
  white-space: nowrap;
}
.staff-event-live-summary strong {
  color: #111827;
  font-size: 1.02rem;
  line-height: 1;
  font-weight: 950;
}
.staff-event-live-summary span {
  color: #64748b;
  font-size: .68rem;
  line-height: 1;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.staff-event-live-summary .ok strong { color: #16803f; }
.staff-event-live-summary .warn strong { color: #e58a00; }
.staff-event-main {
  padding-top: .75rem;
}
.staff-page-head.compact {
  margin-bottom: .55rem;
}
.staff-page-head.compact h1 {
  font-size: 1.35rem;
}
.staff-page-head.compact p {
  margin-bottom: 0;
}
.staff-checkin-group-card {
  margin-bottom: .65rem;
  border: 1px solid #e6ebf2;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 .35rem .9rem rgba(15,23,42,.06);
  overflow: hidden;
}
.staff-checkin-group-card.is-checked {
  border-color: rgba(22,128,63,.18);
}
.staff-checkin-group-card.is-pending {
  border-color: rgba(229,138,0,.22);
}
.staff-checkin-group-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .6rem;
  padding: .72rem .78rem .55rem;
  background: #fbfcfe;
  border-bottom: 1px solid #edf1f6;
}
.staff-mini-select-btn {
  flex: 0 0 auto;
  border: 1px solid #d8e0ec;
  border-radius: 999px;
  background: #fff;
  color: #142d4c;
  font-size: .72rem;
  font-weight: 900;
  padding: .34rem .55rem;
}
.staff-checkin-people-list {
  padding: .4rem .55rem;
}
.staff-checkin-person {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: .45rem;
  margin: 0;
  padding: .46rem .25rem;
  border-bottom: 1px solid #edf1f6;
  -webkit-tap-highlight-color: transparent;
}
.staff-checkin-person:last-child {
  border-bottom: 0;
}
.staff-checkin-person input {
  width: 22px;
  height: 22px;
  accent-color: #16803f;
}
.staff-checkin-person-main {
  min-width: 0;
}
.staff-checkin-person-name {
  display: block;
  color: #142d4c;
  font-size: .95rem;
  line-height: 1.1;
  font-weight: 950;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.staff-checkin-person-meta {
  display: block;
  margin-top: .08rem;
  color: #64748b;
  font-size: .74rem;
  line-height: 1.15;
  font-weight: 750;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.staff-checkin-person-tags {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: .18rem;
  max-width: 130px;
}
.staff-checkin-person.is-disabled {
  opacity: .72;
}
.staff-mini-badge.muted {
  color: #64748b;
  background: #eef2f7;
  border-color: #d8e0ec;
}
.staff-checkin-group-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .45rem;
  padding: .55rem .65rem .7rem;
  border-top: 1px solid #edf1f6;
  background: #fbfcfe;
}
.staff-checkin-btn.compact {
  min-height: 44px;
  border-radius: .75rem;
  font-size: .84rem;
  box-shadow: none;
}
@media (max-width: 420px) {
  .staff-event-live-summary {
    top: 60px;
    width: calc(100% - .6rem);
  }
  .staff-event-live-summary strong { font-size: .95rem; }
  .staff-event-live-summary span { font-size: .6rem; }
  .staff-checkin-person {
    grid-template-columns: 24px minmax(0, 1fr);
  }
  .staff-checkin-person-tags {
    grid-column: 2 / 3;
    justify-content: flex-start;
    max-width: none;
    margin-top: .15rem;
  }
  .staff-checkin-group-actions {
    grid-template-columns: 1fr;
  }
}


/* STAFF paso 13: ajustes visuales de cabecera, home e iconos */
.staff-event-topbar {
  background: var(--staff-event-header-bg, #fff) !important;
  box-shadow: 0 .18rem .55rem rgba(15, 23, 42, .05);
}
.staff-event-header-logo {
  background: transparent !important;
  min-height: 48px;
  max-height: 90px;
  padding: .32rem .75rem .18rem;
}
.staff-event-header-logo img {
  max-height: 78px;
}
.staff-event-title {
  padding: 0 .75rem .34rem;
  text-align: center;
  color: rgba(17, 24, 39, .86);
  font-size: .78rem;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.staff-event-live-summary {
  top: 88px;
  margin-top: .28rem;
}
.staff-tile {
  min-height: 152px;
  padding: 1rem .65rem .85rem;
  gap: .38rem;
}
.staff-tile-icon {
  width: 104px;
  height: 104px;
}
.staff-tile-icon img {
  width: auto;
  height: auto;
  max-width: 104px;
  max-height: 104px;
  object-fit: contain;
}
.staff-tile-label {
  margin-top: .05rem;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.12;
}
.staff-tile-description {
  display: none !important;
}
.staff-bottom-nav-item.is-active img {
  filter: brightness(0) invert(1);
  opacity: 1;
}
.staff-bottom-nav-item.is-active {
  background: #142d4c;
  color: #fff;
}
@media (min-width: 700px) {
  .staff-tile-icon {
    width: 118px;
    height: 118px;
  }
  .staff-tile-icon img {
    max-width: 118px;
    max-height: 118px;
  }
}
@media (max-width: 480px) {
  .staff-event-header-logo img {
    max-height: 64px;
  }
  .staff-event-title {
    font-size: .72rem;
  }
  .staff-event-live-summary {
    top: 76px;
  }
  .staff-tile {
    min-height: 142px;
  }
  .staff-tile-icon {
    width: 92px;
    height: 92px;
  }
  .staff-tile-icon img {
    max-width: 92px;
    max-height: 92px;
  }
}

/* STAFF paso 14: home más limpio y navegación inferior legible */
.staff-home-hero,
.staff-home-note {
  display: none !important;
}
.staff-event-topbar .staff-event-title {
  display: none !important;
}
.staff-event-live-summary {
  display: block !important;
  top: 72px;
  padding: .28rem .42rem .38rem;
}
.staff-event-live-summary .staff-event-title {
  display: block !important;
  padding: 0 .35rem .28rem;
  margin: 0 0 .22rem;
  border-bottom: 1px solid #edf1f6;
  color: #142d4c;
  font-size: .78rem;
  line-height: 1.15;
  font-weight: 500;
  text-align: center;
  letter-spacing: .01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.staff-event-live-summary-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .25rem;
}
.staff-event-live-summary-values > div {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .25rem;
  min-width: 0;
  white-space: nowrap;
}
.staff-tile-grid {
  margin-top: .35rem;
}
.staff-bottom-nav-item {
  color: #111827;
  font-weight: 500;
  gap: .2rem;
  background: transparent !important;
}
.staff-bottom-nav-item img {
  width: 29px;
  height: 29px;
  padding: .28rem;
  border: 1.5px solid #111827;
  border-radius: .55rem;
  background: #fff;
  object-fit: contain;
  filter: brightness(0) !important;
  opacity: 1 !important;
  box-sizing: content-box;
}
.staff-bottom-nav-item span {
  font-weight: 500;
  color: #111827;
}
.staff-bottom-nav-item.is-active {
  color: #111827 !important;
  background: transparent !important;
}
.staff-bottom-nav-item.is-active img {
  filter: brightness(0) !important;
  background: #fff;
  border-color: #111827;
  box-shadow: 0 .22rem .65rem rgba(15, 23, 42, .32);
}
.staff-bottom-nav-item.is-active span {
  color: #111827 !important;
  font-weight: 500;
}
@media (max-width: 480px) {
  .staff-event-live-summary {
    top: 68px;
    width: calc(100% - .6rem);
  }
  .staff-event-live-summary .staff-event-title {
    font-size: .72rem;
  }
  .staff-bottom-nav-item img {
    width: 26px;
    height: 26px;
    padding: .24rem;
  }
  .staff-bottom-nav-item span {
    font-size: .64rem;
  }
}

/* STAFF paso 15: navegación inferior con iconos SVG genéricos */
.staff-bottom-nav-item {
  color: #111827 !important;
  font-weight: 500 !important;
  background: transparent !important;
  gap: .22rem;
}
.staff-bottom-nav-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .26rem;
  border: 2px solid var(--staff-event-accent-color, #142d4c);
  border-radius: .6rem;
  background: #fff;
  color: #111827;
  box-sizing: border-box;
}
.staff-bottom-nav-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.staff-bottom-nav-label,
.staff-bottom-nav-item span.staff-bottom-nav-label {
  font-weight: 500 !important;
  color: #111827 !important;
  font-size: .66rem;
  line-height: 1;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.staff-bottom-nav-item.is-active {
  background: transparent !important;
  color: #111827 !important;
}
.staff-bottom-nav-item.is-active .staff-bottom-nav-icon {
  border-color: var(--staff-event-accent-color, #142d4c);
  color: #111827;
  background: #fff;
  box-shadow: 0 .24rem .7rem rgba(15, 23, 42, .34);
}
.staff-bottom-nav-item.is-active .staff-bottom-nav-label {
  color: #111827 !important;
  font-weight: 500 !important;
}
.staff-bottom-nav-item img {
  display: none !important;
}
@media (max-width: 480px) {
  .staff-bottom-nav-icon {
    width: 31px;
    height: 31px;
    padding: .22rem;
  }
  .staff-bottom-nav-label,
  .staff-bottom-nav-item span.staff-bottom-nav-label {
    font-size: .62rem;
  }
}


/* STAFF paso 16: Check-in más limpio y selección de grupo completa */
.staff-checkin-search-panel .staff-search-label,
.staff-checkin-search-panel .staff-switch-line,
.staff-checkin-search-panel .staff-clear-btn,
.staff-checkin-results .staff-result-name,
.staff-checkin-results .staff-result-sub,
.staff-checkin-results .staff-mini-badge,
.staff-checkin-results .staff-mini-select-btn,
.staff-checkin-results .staff-checkin-person-name,
.staff-checkin-results .staff-checkin-person-meta,
.staff-checkin-results .staff-checkin-btn {
  font-weight: 500 !important;
}
.staff-checkin-results .staff-result-name {
  font-size: 1rem;
}
.staff-checkin-results .staff-result-sub {
  font-size: .8rem;
}
.staff-checkin-results .staff-checkin-group-head {
  padding: .6rem .7rem .48rem;
}
.staff-checkin-results .staff-checkin-person {
  padding: .42rem .2rem;
}
.staff-checkin-results .staff-checkin-person-name {
  font-size: .92rem;
}
.staff-checkin-results .staff-checkin-person-meta {
  font-size: .72rem;
}
.staff-checkin-results .staff-checkin-btn.compact {
  font-size: .82rem;
}

/* STAFF Seating/Diplomas - incidencias y desplazamiento por arrastre */
.staff-table-dot.dietary { background: #dc2626; }
.staff-seating-board-scroll {
  cursor: grab;
  touch-action: pan-x pan-y;
}
.staff-seating-board-scroll.is-dragging,
.staff-seating-board-scroll.is-dragging * {
  cursor: grabbing !important;
  user-select: none;
}
.staff-seating-table.has-dietary {
  border-color: rgba(220, 38, 38, .72);
}
.staff-dietary-marker {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 15px;
  height: 15px;
  border-radius: 999px;
  background: #dc2626;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .28);
}
.staff-seating-table.shape-round-small .staff-dietary-marker,
.staff-seating-table.shape-square-small .staff-dietary-marker {
  top: 5px;
  right: 5px;
  width: 12px;
  height: 12px;
}
.staff-seating-person-badges span.is-dietary {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
.staff-seating-dietary-line {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 8px;
  padding: 7px 9px;
  border-radius: 12px;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #991b1b;
  font-size: .82rem;
  line-height: 1.25;
}
.staff-dietary-inline-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 4px;
  border-radius: 999px;
  background: #dc2626;
}

/* STAFF Seating listado y pestañas */
.staff-seating-tabs {
  display: inline-flex;
  gap: 8px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 999px;
  padding: 5px;
  margin: 0 0 14px;
  box-shadow: 0 10px 24px rgba(15,23,42,.06);
}
.staff-seating-tab {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #475569;
  font-weight: 600;
  padding: 9px 16px;
}
.staff-seating-tab.is-active {
  background: #0f172a;
  color: #fff;
}
.staff-seating-list-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
  margin-bottom: 14px;
}
.staff-seating-table-list {
  display: grid;
  gap: 12px;
}
.staff-seating-list-table {
  border: 1px solid rgba(15,23,42,.14);
  border-radius: 18px;
  overflow: hidden;
  background: #f8fafc;
  scroll-margin-top: 110px;
}
.staff-seating-list-table.has-dietary {
  border-color: rgba(220,38,38,.55);
}
.staff-seating-list-table.is-highlighted {
  box-shadow: 0 0 0 4px rgba(245, 158, 11, .28), 0 14px 32px rgba(15,23,42,.16);
}
.staff-seating-list-table-head {
  width: 100%;
  border: 0;
  background: #0f172a;
  color: #fff;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 9px;
  padding: 12px;
  text-align: left;
}
.staff-seating-list-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: #fff;
  transition: transform .18s ease;
}
.staff-seating-list-table.is-open .staff-seating-list-caret {
  transform: rotate(180deg);
}
.staff-seating-list-table-head strong,
.staff-seating-list-table-head em {
  display: block;
}
.staff-seating-list-table-head em {
  color: rgba(255,255,255,.78);
  font-style: normal;
  font-size: .88rem;
  margin-top: 2px;
}
.staff-seating-list-panel {
  background: #f8fafc;
}
.staff-seating-list-actions {
  display: flex;
  justify-content: flex-end;
  padding: 10px 12px 0;
}
.staff-seating-list-count,
.staff-seating-list-dietary,
.staff-seating-list-person-dietary {
  border-radius: 999px;
  font-size: .76rem;
  padding: 4px 8px;
  white-space: nowrap;
}
.staff-seating-list-count {
  background: rgba(255,255,255,.16);
  color: #fff;
}
.staff-seating-list-dietary {
  background: #fee2e2;
  color: #991b1b;
}
.staff-seating-list-person-dietary {
  background: #fee2e2;
  color: #991b1b;
}
.staff-seating-list-empty {
  color: #64748b;
  padding: 12px;
  font-size: .92rem;
}
.staff-seating-list-people {
  display: grid;
}
.staff-seating-list-person {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-top: 1px solid rgba(15,23,42,.06);
}
.staff-seating-list-person:first-child {
  border-top: 0;
}
.staff-seating-list-person.has-dietary {
  background: rgba(254,226,226,.32);
}
.staff-seating-list-person-name,
.staff-seating-list-person-meta {
  display: block;
}
.staff-seating-list-person-name {
  color: #0f172a;
  font-weight: 600;
}
.staff-seating-list-person-meta {
  color: #64748b;
  font-size: .84rem;
}
@media (max-width: 620px) {
  .staff-seating-tabs { width: 100%; display: grid; grid-template-columns: 1fr 1fr; border-radius: 16px; }
  .staff-seating-tab { border-radius: 12px; }
  .staff-seating-list-table-head { grid-template-columns: auto 1fr auto; }
  .staff-seating-list-dietary { grid-column: 2 / -1; justify-self: start; }
}


/* STAFF Seating/Diplomas - plano a ventana completa */
.staff-plan-fullscreen-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, .18);
  background: #fff;
  color: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .10);
  flex: 0 0 auto;
}
.staff-plan-fullscreen-btn:active { transform: scale(.98); }
.staff-seating-board-card.is-plan-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 3000;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff;
  display: flex;
  flex-direction: column;
  max-width: none !important;
  width: 100vw;
  height: 100vh;
}
.staff-seating-board-card.is-plan-fullscreen .staff-seating-board-head {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3010;
  margin: 0;
  display: block;
  pointer-events: none;
}
.staff-seating-board-card.is-plan-fullscreen .staff-seating-board-head > div:not(.staff-plan-actions),
.staff-seating-board-card.is-plan-fullscreen .staff-seating-legend {
  display: none !important;
}
.staff-seating-board-card.is-plan-fullscreen .staff-plan-fullscreen-btn {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 2rem;
  font-weight: 300;
  border: 1px solid rgba(15, 23, 42, .25);
  box-shadow: 0 12px 30px rgba(15, 23, 42, .22);
}
.staff-seating-board-card.is-plan-fullscreen .staff-seating-board-scroll {
  flex: 1 1 auto;
  width: 100vw;
  height: 100vh;
  border: 0;
  border-radius: 0;
  margin: 0;
  background: #f8fafc;
}
body.staff-plan-fullscreen-open {
  overflow: hidden;
}
body.staff-plan-fullscreen-open .modal {
  z-index: 3060;
}
body.staff-plan-fullscreen-open .modal-backdrop {
  z-index: 3050;
}
@media (max-width: 640px) {
  .staff-plan-fullscreen-btn {
    width: 36px;
    height: 36px;
  }
}


/* STAFF Seating - escala móvil del plano */
.staff-seating-board-scale {
  position: relative;
  min-width: 980px;
  min-height: 680px;
}
.staff-seating-board-scale > .staff-seating-board {
  transform-origin: top left;
}
@media (max-width: 767px) {
  .staff-seating-board-card:not(.is-plan-fullscreen) .staff-seating-board-scroll,
  .staff-seating-board-card.is-plan-fullscreen .staff-seating-board-scroll {
    overscroll-behavior: contain;
  }
  .staff-seating-board-card[data-seating-panel="plan"] .staff-seating-board-scale {
    min-width: 490px;
    min-height: 340px;
  }
  .staff-seating-board-card[data-seating-panel="plan"] .staff-seating-board-scale > .staff-seating-board {
    transform: scale(.5);
  }
}
@media (min-width: 768px) {
  .staff-seating-board-scale {
    width: auto !important;
    height: auto !important;
  }
}

/* STAFF Dirección refinements */
.staff-vip-card {
  height: 100%;
}
.staff-vip-photo {
  min-height: 148px;
}
.staff-vip-body h2 {
  min-height: 2.25em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.staff-vip-alerts {
  margin-top: .55rem;
  padding-top: 0;
}
.staff-vip-alerts span {
  border-radius: .65rem;
  line-height: 1.2;
  align-items: flex-start;
}
.staff-vip-actions {
  display: none !important;
}

/* STAFF Listados en pantalla */
.staff-list-card-full-only {
  border-style: dashed;
}
.staff-list-view {
  grid-column: 1 / -1;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .85rem;
  background: #fff;
  color: #142d4c;
  border: 1px solid #dbe4ef;
  text-decoration: none;
  font-size: .86rem;
  font-weight: 400;
}
.staff-list-screen-sections {
  display: grid;
  gap: 1rem;
  margin-top: .7rem;
  padding-bottom: 1rem;
}
.staff-list-screen-section {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 .35rem .9rem rgba(15, 23, 42, .05);
  scroll-margin-top: 1rem;
}
.staff-list-screen-title {
  display: flex;
  gap: .75rem;
  align-items: center;
  justify-content: space-between;
  padding: .7rem .8rem;
  border-bottom: 1px solid #edf2f7;
  background: #f8fafc;
}
.staff-list-screen-title h2,
.staff-list-screen-title p {
  margin: 0;
  font-weight: 400;
}
.staff-list-screen-title h2 {
  font-size: .98rem;
  color: #0f172a;
}
.staff-list-screen-title p {
  margin-top: .1rem;
  color: #64748b;
  font-size: .78rem;
}
.staff-list-screen-title a {
  flex: 0 0 auto;
  border: 1px solid #cbd5e1;
  border-radius: .7rem;
  padding: .35rem .6rem;
  color: #142d4c;
  background: #fff;
  text-decoration: none;
  font-size: .8rem;
  font-weight: 400;
}
.staff-list-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.staff-list-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: .78rem;
}
.staff-list-table th,
.staff-list-table td {
  padding: .38rem .45rem;
  border-bottom: 1px solid #edf2f7;
  text-align: left;
  vertical-align: top;
  font-weight: 400;
}
.staff-list-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #111827;
  color: #fff;
  white-space: nowrap;
}
.staff-list-table td {
  color: #1f2937;
}
.staff-list-table-row.is-pending-checkin td {
  background: #fff7ed;
}
.staff-list-table-row.is-direccion td:first-child,
.staff-list-table-row.is-direccion td:nth-child(2) {
  border-left: 3px solid #111827;
}
.staff-list-table-row.has-dietary td {
  background: #fff1f2;
}
.staff-list-table-row.has-mobility td {
  background: #eff6ff;
}
.staff-list-empty {
  text-align: center;
  color: #64748b;
  padding: .8rem !important;
}
@media (max-width: 640px) {
  .staff-list-table {
    min-width: 680px;
    font-size: .72rem;
  }
  .staff-list-table th,
  .staff-list-table td {
    padding: .32rem .36rem;
  }
}

/* STAFF Listados: modal operativo con búsqueda y paginación */
.staff-list-card-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr;
  gap: .45rem;
}
.staff-list-card-actions .staff-list-download,
.staff-list-card-actions .staff-list-view {
  grid-column: auto;
  width: 100%;
  cursor: pointer;
}
.staff-list-card-actions .staff-list-view {
  appearance: none;
  -webkit-appearance: none;
  min-height: 42px;
  border: 1px solid #dbe4ef;
}
.staff-list-modal-open,
.staff-list-modal-open body {
  overflow: hidden;
}
.staff-list-modal {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: none;
  background: rgba(15, 23, 42, .62);
}
.staff-list-modal.is-open {
  display: block;
}
.staff-list-modal-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: #f8fafc;
  color: #0f172a;
}
.staff-list-modal-header {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  padding: .75rem .85rem .6rem;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
}
.staff-list-modal-header h2,
.staff-list-modal-header p {
  margin: 0;
  font-weight: 400;
}
.staff-list-modal-header h2 {
  font-size: 1rem;
  line-height: 1.15;
}
.staff-list-modal-header p {
  margin-top: .15rem;
  color: #64748b;
  font-size: .78rem;
}
.staff-list-modal-close {
  min-width: 100px;
  min-height: 44px;
  padding: .6rem 1rem;
  flex: 0 0 auto;
  border: 1px solid #355185;
  border-radius: 8px;
  background: #4d69a2;
  color: #fff;
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .035em;
  line-height: 1.2;
  cursor: pointer;
}
.staff-list-modal-close:hover,.staff-list-modal-close:focus-visible {
  background: #304a7c;
  border-color: #304a7c;
  color: #fff;
}
.staff-list-modal-close:focus-visible {outline:3px solid #f59e0b;outline-offset:2px;}
.staff-list-modal-tools {
  flex: 0 0 auto;
  display: flex;
  gap: .55rem;
  align-items: end;
  padding: .6rem .75rem;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}
.staff-list-search-label {
  flex: 1 1 auto;
  display: grid;
  gap: .25rem;
  color: #475569;
  font-size: .72rem;
  font-weight: 400;
}
.staff-list-search-label input {
  min-height: 42px;
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: .8rem;
  padding: .5rem .7rem;
  background: #fff;
  color: #0f172a;
  font-size: .92rem;
}
.staff-list-modal-actions {
  flex: 0 0 auto;
}
.staff-list-modal-actions a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .8rem;
  padding: .45rem .75rem;
  background: #142d4c;
  color: #fff;
  text-decoration: none;
  font-size: .84rem;
  font-weight: 400;
}
.staff-list-modal-table-wrap {
  flex: 1 1 auto;
  overflow: auto;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}
.staff-list-modal-table-wrap .staff-list-table {
  min-width: 820px;
}
.staff-list-modal-table-wrap .staff-list-table th {
  top: 0;
}
.staff-list-pagination {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: .55rem .75rem calc(.55rem + env(safe-area-inset-bottom));
  border-top: 1px solid #e2e8f0;
  background: #fff;
}
.staff-list-pagination button {
  min-height: 38px;
  border: 1px solid #cbd5e1;
  border-radius: .75rem;
  background: #fff;
  color: #111827;
  padding: .4rem .75rem;
  font-size: .84rem;
  font-weight: 400;
  cursor: pointer;
}
.staff-list-pagination button:disabled {
  opacity: .35;
  cursor: default;
}
.staff-list-pagination span {
  color: #475569;
  font-size: .82rem;
  font-weight: 400;
}
@media (min-width: 900px) {
  .staff-list-card-actions {
    grid-template-columns: 1fr 1fr;
  }
  .staff-list-modal-panel {
    inset: 1.1rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1.5rem 4rem rgba(15, 23, 42, .28);
  }
}
@media (max-width: 640px) {
  .staff-list-modal-tools {
    align-items: stretch;
  }
  .staff-list-modal-actions a {
    min-width: 72px;
  }
  .staff-list-modal-table-wrap .staff-list-table {
    min-width: 760px;
    font-size: .72rem;
  }
}

/* STAFF paso 29: check-in recuperado y listados de asistentes nuevos */
.staff-checkin-person.is-nonconfirmed {
  background: #fff7ed;
  border: 1px solid #fb923c;
  border-radius: 12px;
  margin: .28rem 0;
  padding-left: .45rem;
  padding-right: .45rem;
}
.staff-mini-badge.alert {
  color: #9a3412;
  background: #ffedd5;
  border-color: #fdba74;
}
.staff-mini-badge.new {
  color: #1d4ed8;
  background: #dbeafe;
  border-color: #93c5fd;
}
.staff-list-table-row.is-new-attendee td {
  background: #ecfeff;
}
.staff-list-table-row.is-new-attendee td:first-child {
  border-left: 3px solid #0891b2;
}

/* STAFF paso 30: altas rápidas en check-in */
.staff-checkin-top-actions{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.45rem}.staff-checkin-top-actions .staff-search-label{margin:0}.staff-checkin-btn.neutral{background:#fff;color:#111;border:1px solid #d5dbe5}.staff-onsite-open{overflow:hidden}.staff-onsite-modal[hidden]{display:none!important}.staff-onsite-modal{position:fixed;inset:0;z-index:12000;display:flex;align-items:flex-end;justify-content:center}.staff-onsite-modal-backdrop{position:absolute;inset:0;background:rgba(8,15,30,.58)}.staff-onsite-dialog{position:relative;width:min(96vw,520px);max-height:92vh;overflow:auto;background:#fff;border-radius:18px 18px 0 0;padding:1rem;box-shadow:0 -18px 55px rgba(0,0,0,.25)}.staff-onsite-dialog-wide{width:min(96vw,720px)}.staff-onsite-close{position:absolute;right:.75rem;top:.55rem;width:34px;height:34px;border:1px solid #d8dee8;border-radius:999px;background:#fff;color:#111;font-size:1.35rem;line-height:1}.staff-onsite-dialog h2{margin:0 2.3rem .35rem 0;font-size:1.15rem;font-weight:500}.staff-onsite-help{margin:0 0 .75rem;color:#5b6574;font-size:.9rem}.staff-onsite-context{border:1px solid #e1e6ef;border-radius:12px;background:#f6f8fb;padding:.55rem .7rem;margin-bottom:.65rem;font-size:.9rem}.staff-onsite-dialog label{display:block;margin-bottom:.6rem;color:#273142;font-size:.86rem}.staff-onsite-dialog input{width:100%;margin-top:.25rem;border:1px solid #cfd6e2;border-radius:12px;padding:.7rem .75rem;font-size:1rem;background:#fff}.staff-onsite-grid{display:grid;grid-template-columns:1fr;gap:.1rem .65rem}.staff-onsite-companions-head{display:flex;justify-content:space-between;align-items:center;gap:.75rem;margin:.7rem 0 .45rem;font-size:.92rem}.staff-onsite-companion-row{display:grid;grid-template-columns:1fr 1fr 36px;gap:.35rem;margin-bottom:.4rem}.staff-onsite-companion-row input{margin-top:0;padding:.62rem .65rem}.staff-onsite-remove{border:1px solid #e1e6ef;border-radius:10px;background:#fff;color:#8b1e1e;font-size:1.2rem}.staff-onsite-actions{display:flex;justify-content:flex-end;gap:.5rem;margin-top:.9rem}@media (min-width:680px){.staff-onsite-modal{align-items:center}.staff-onsite-dialog{border-radius:18px}.staff-onsite-grid{grid-template-columns:1fr 1fr}.staff-onsite-grid label:nth-child(5){grid-column:1/-1}}

/* STAFF Seating/Diplomas - selector de zoom del plano */
.staff-plan-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.staff-plan-zoom {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .08);
}
.staff-plan-zoom button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #334155;
  font-size: .78rem;
  line-height: 1;
  padding: 8px 9px;
  min-width: 44px;
}
.staff-plan-zoom button.is-active {
  background: #111827;
  color: #fff;
}
.staff-seating-board-scale {
  position: relative;
  min-width: 735px;
  min-height: 510px;
}
.staff-seating-board-scale > .staff-seating-board {
  transform-origin: top left;
}
.staff-seating-board-card.is-plan-fullscreen .staff-plan-actions {
  display: block;
}
.staff-seating-board-card.is-plan-fullscreen .staff-plan-zoom {
  position: fixed;
  left: 50%;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 3015;
  pointer-events: auto;
  box-shadow: 0 14px 36px rgba(15, 23, 42, .22);
}
.staff-seating-board-card.is-plan-fullscreen .staff-plan-fullscreen-btn {
  position: fixed;
  top: calc(10px + env(safe-area-inset-top, 0px));
  right: 10px;
  z-index: 3020;
}
@media (max-width: 520px) {
  .staff-seating-board-head {
    gap: 10px;
  }
  .staff-plan-actions {
    width: 100%;
    justify-content: space-between;
  }
  .staff-plan-zoom button {
    min-width: 42px;
    padding: 8px 8px;
    font-size: .75rem;
  }
}
@media (max-width: 767px) {
  .staff-seating-board-card[data-seating-panel="plan"] .staff-seating-board-scale,
  .staff-diplomas-plan-card .staff-seating-board-scale {
    min-width: 0;
    min-height: 0;
  }
  .staff-seating-board-card[data-seating-panel="plan"] .staff-seating-board-scale > .staff-seating-board,
  .staff-diplomas-plan-card .staff-seating-board-scale > .staff-seating-board {
    transform: none;
  }
}
@media (min-width: 768px) {
  .staff-seating-board-scale {
    width: auto;
    height: auto;
  }
}

/* STAFF Seating - filtro de intolerancias Celíacos/Todos */
.staff-seating-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
  margin: .55rem 0 .8rem;
}
.staff-seating-toolbar .staff-seating-tabs {
  margin: 0;
}
.staff-dietary-filter {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: 0;
  font-size: .82rem;
  color: #475569;
  white-space: nowrap;
}
.staff-dietary-filter .form-select {
  width: auto;
  min-width: 132px;
  font-size: .82rem;
  padding-top: .25rem;
  padding-bottom: .25rem;
}
.staff-seating-table.has-dietary {
  border-color: inherit;
}
.staff-seating-table:not(.dietary-visible) .staff-dietary-marker {
  display: none;
}
.staff-dietary-marker {
  width: 22px;
  height: 22px;
  top: 5px;
  right: 5px;
  border: 3px solid #fff;
  box-shadow: 0 2px 9px rgba(15, 23, 42, .35);
}
.staff-seating-table.shape-round-small .staff-dietary-marker,
.staff-seating-table.shape-square-small .staff-dietary-marker {
  width: 18px;
  height: 18px;
  top: 4px;
  right: 4px;
}
.staff-seating-list-table.has-dietary:not(.dietary-visible) .staff-seating-list-dietary {
  display: none;
}
@media (max-width: 520px) {
  .staff-seating-toolbar {
    align-items: stretch;
  }
  .staff-dietary-filter {
    width: 100%;
    justify-content: space-between;
  }
  .staff-dietary-filter .form-select {
    flex: 1;
    max-width: 180px;
  }
}

/* STAFF v20.6: resumen y estados en modal de mesa */
.staff-seating-modal-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:.35rem;margin-bottom:.65rem}
.staff-seating-modal-stat{border:1px solid #e4e9f2;border-radius:12px;background:#fff;padding:.45rem .35rem;text-align:center;line-height:1.05}
.staff-seating-modal-stat span{display:block;font-size:1.2rem;color:#111827;font-weight:500}
.staff-seating-modal-stat small{display:block;font-size:.68rem;color:#64748b;font-weight:400;margin-top:.1rem}
.staff-seating-modal-stat.is-ok{background:#dcfce7;border-color:#86efac}.staff-seating-modal-stat.is-ok span{color:#166534}
.staff-seating-modal-stat.is-warn{background:#fef9c3;border-color:#fde68a}.staff-seating-modal-stat.is-warn span{color:#854d0e}
.staff-seating-modal-stat.is-danger{background:#fee2e2;border-color:#fca5a5}.staff-seating-modal-stat.is-danger span{color:#991b1b}
.staff-seating-person-card.is-checked-in{background:#dcfce7;border-color:#86efac}
.staff-seating-person-card.is-pending-checkin{background:#fef9c3;border-color:#fde68a}
.staff-seating-person-card.is-no-show{background:#fee2e2;border-color:#fca5a5}
.staff-checkin-btn.no-show{background:#111827;color:#fff}
.staff-checkin-group-actions{grid-template-columns:1fr 1fr}
.staff-checkin-group-actions .staff-checkin-btn.no-show{grid-column:1/-1}
@media (min-width:720px){.staff-checkin-group-actions{grid-template-columns:1fr 1fr 1fr 1fr}.staff-checkin-group-actions .staff-checkin-btn.no-show{grid-column:auto}}

/* STAFF: alertas operativas de menores y necesidades/alergias */
@keyframes staffAttentionBlink {
  0%, 45% { opacity: 1; }
  55%, 90% { opacity: .18; }
  100% { opacity: 1; }
}
.staff-attention-blink {
  animation: staffAttentionBlink 1.05s steps(1, end) infinite;
}
.staff-special-star {
  display: inline-block;
  color: #f4c430;
  margin-left: .4rem;
  font-size: 1.4em;
  line-height: .8;
  font-weight: 900;
  vertical-align: -.08em;
  text-shadow: 0 1px 1px rgba(0,0,0,.24);
}
.staff-minor-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: .38rem;
  padding: .24rem .5rem;
  border-radius: .42rem;
  background: #004cff;
  color: #fff;
  font-size: .72rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .045em;
  box-shadow: 0 0 0 2px rgba(0,76,255,.14), 0 2px 6px rgba(0,48,180,.24);
  vertical-align: .12em;
}
.staff-minor-age-inline {
  display: inline-block;
  margin-left: .38rem;
  white-space: nowrap;
  font-size: .82rem;
  font-weight: 800;
  color: #123a88;
}

/* INNOVA 2026: identificación de ponentes en las pantallas STAFF. */
@keyframes innovaPonenteBlink { 0%, 49% { opacity: 1; } 50%, 79% { opacity: .25; } 80%, 100% { opacity: 1; } }
.staff-mini-badge.vip.innova-ponente, .staff-vip-badge.vip.innova-ponente { background: #4d69a2; color: #fff; animation: innovaPonenteBlink 1.3s step-end infinite; }
@media (prefers-reduced-motion: reduce) { .staff-mini-badge.vip.innova-ponente, .staff-vip-badge.vip.innova-ponente { animation: none; } }

/* Indicador de invitados extranjeros */
.staff-foreign-globe{display:inline-flex;align-items:center;justify-content:center;color:#25c786;font-size:1.5rem;line-height:1;animation:staffForeignBlink 1.15s ease-in-out infinite;filter:drop-shadow(0 0 1px #25c786)}
@keyframes staffForeignBlink{0%,100%{opacity:1}50%{opacity:.15}}
@media(prefers-reduced-motion:reduce){.staff-foreign-globe{animation:none}}

/* v32.4: STAFF screen-only attendee identification */
.staff-list-person-name{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:160px}
.staff-list-person-name strong{font-weight:700}
.staff-list-person-company{font-size:.84em;color:#64748b;margin-top:3px}
.staff-list-speaker-icon{display:inline-flex;color:#f59e0b;font-size:1.15rem;animation:staffSpeakerBlink 1.1s ease-in-out infinite}
@keyframes staffSpeakerBlink{0%,100%{opacity:1}50%{opacity:.15}}
@media(prefers-reduced-motion:reduce){.staff-list-speaker-icon{animation:none}}

/* Indicador uniforme de necesidades especiales en las pantallas STAFF. */
.staff-mini-badge.special-needs {
  display: inline-flex; align-items: center;
  background: #f59e0b; color: #000;
  border-radius: .4rem; padding: .24rem .5rem;
  font-weight: 800; font-size: .76rem; line-height: 1.25;
  margin-left: .35rem; vertical-align: middle;
}

/* v33.4: distinctive, readable and consistently sized STAFF status labels */
.staff-mini-badge, .staff-mini-badge.special-needs,
.staff-minor-badge, .staff-vip-badge {
  display:inline-flex;align-items:center;justify-content:center;
  box-sizing:border-box; font-size:.76rem;line-height:1.3;
  font-weight:750;letter-spacing:0; padding:.22rem .48rem;
  border-radius:.4rem;vertical-align:middle;white-space:normal;
  margin:0; text-align:center;
}
.staff-mini-badge.warn {background:#b45309;color:#fff}
.staff-mini-badge.special-needs {background:#7e22ce;color:#fff}
.staff-mini-badge.vip {background:#4d69a2;color:#fff}
.staff-mini-badge.vip.innova-ponente {background:#4d69a2;color:#fff}
.staff-mini-badge.foreign {background:#167347;color:#fff}
.staff-mini-badge.minor {background:#b91c1c;color:#fff}
.staff-mini-badge.danger {background:#b91c1c;color:#fff}
.staff-mini-badge.ok {background:#147d45;color:#fff}
.staff-mini-badge.alert {background:#c2410c;color:#fff}
.staff-mini-badge.new {background:#0369a1;color:#fff}
.staff-mini-badge.muted {background:#475569;color:#fff}
.staff-foreign-blink {animation:staffForeignBlink 1.15s ease-in-out infinite}
@media(prefers-reduced-motion:reduce){.staff-foreign-blink{animation:none}}
/* Only screen list tables: compact person cell, labels below company. */
.staff-list-modal-table-wrap .staff-list-table th:first-child,
.staff-list-modal-table-wrap .staff-list-table td:first-child {
  width:205px;min-width:165px;max-width:225px;
  overflow-wrap:anywhere;white-space:normal;
}
.staff-list-modal-table-wrap .staff-list-person-name {min-width:0;display:block}
.staff-list-modal-table-wrap .staff-list-person-company {overflow-wrap:anywhere}
.staff-list-person-badges {display:flex;align-items:center;flex-wrap:wrap;gap:4px;margin-top:5px}
.staff-list-person-badges .staff-mini-badge {font-size:.76rem}
@media(max-width:640px){
 .staff-list-modal-table-wrap .staff-list-table th:first-child,
 .staff-list-modal-table-wrap .staff-list-table td:first-child {width:170px;min-width:145px;max-width:185px}
}

/* v33.6: legibilidad y densidad de los listados STAFF en pantalla (no Excel). */
.staff-list-modal-table-wrap .staff-list-table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}
.staff-list-modal-table-wrap .staff-list-table th,
.staff-list-modal-table-wrap .staff-list-table td {
  border: 1px solid #dce1e6;
  padding: .32rem .38rem;
  width: 1%;
  min-width: 0;
  max-width: 200px;
  white-space: normal;
  overflow-wrap: anywhere;
  vertical-align: top;
}
.staff-list-modal-table-wrap .staff-list-table th {
  white-space: normal;
  overflow-wrap: normal;
}
.staff-list-modal-table-wrap .staff-list-table tbody tr:nth-child(odd) > td {
  background: #f4f6f8;
}
.staff-list-modal-table-wrap .staff-list-table tbody tr:nth-child(even) > td {
  background: #fff;
}
/* Los estados se comunican con los badges; no anulan el rayado alterno. */
.staff-list-modal-table-wrap .staff-list-table tbody tr.is-pending-checkin > td,
.staff-list-modal-table-wrap .staff-list-table tbody tr.has-dietary > td,
.staff-list-modal-table-wrap .staff-list-table tbody tr.has-mobility > td {
  background: inherit;
}
.staff-list-modal-table-wrap .staff-list-table th:first-child,
.staff-list-modal-table-wrap .staff-list-table td:first-child {
  width: 175px;
  min-width: 150px;
  max-width: 195px;
}
.staff-list-modal-table-wrap .staff-list-person-badges { gap: 3px; }
@media (max-width: 640px) {
  .staff-list-modal-table-wrap .staff-list-table th,
  .staff-list-modal-table-wrap .staff-list-table td { padding: .28rem .32rem; max-width: 165px; }
  .staff-list-modal-table-wrap .staff-list-table th:first-child,
  .staff-list-modal-table-wrap .staff-list-table td:first-child { width: 155px; min-width: 135px; max-width: 175px; }
}

/* v33.8: anchos equilibrados para listados STAFF en pantalla. */
.staff-list-modal-table-wrap .staff-list-table th,
.staff-list-modal-table-wrap .staff-list-table td {
  width: auto;
  min-width: 105px;
  max-width: 245px;
  padding: .4rem .52rem;
  overflow-wrap: break-word;
}
.staff-list-modal-table-wrap .staff-list-table th:first-child,
.staff-list-modal-table-wrap .staff-list-table td:first-child {
  width: 155px;
  min-width: 135px;
  max-width: 175px;
  overflow-wrap: anywhere;
}
/* Hora y hotel necesitan un poco mas de espacio para leerse sin cortes. */
.staff-list-modal[data-staff-list-modal="trains"] .staff-list-table th:nth-child(2),
.staff-list-modal[data-staff-list-modal="trains"] .staff-list-table td:nth-child(2) {
  width: 145px;
  min-width: 140px;
  max-width: 170px;
}
.staff-list-modal[data-staff-list-modal="trains"] .staff-list-table th:nth-child(3),
.staff-list-modal[data-staff-list-modal="trains"] .staff-list-table td:nth-child(3) {
  width: 165px;
  min-width: 150px;
  max-width: 220px;
}
@media (max-width: 640px) {
  .staff-list-modal-table-wrap .staff-list-table th,
  .staff-list-modal-table-wrap .staff-list-table td { min-width: 95px; max-width: 205px; padding: .34rem .42rem; }
  .staff-list-modal-table-wrap .staff-list-table th:first-child,
  .staff-list-modal-table-wrap .staff-list-table td:first-child { width: 140px; min-width: 125px; max-width: 160px; }
  .staff-list-modal[data-staff-list-modal="trains"] .staff-list-table th:nth-child(2),
  .staff-list-modal[data-staff-list-modal="trains"] .staff-list-table td:nth-child(2) { min-width: 140px; }
  .staff-list-modal[data-staff-list-modal="trains"] .staff-list-table th:nth-child(3),
  .staff-list-modal[data-staff-list-modal="trains"] .staff-list-table td:nth-child(3) { min-width: 150px; }
}
