/* =========================================================
   CONTROL DE ACCESO — paleta clara industrial
   Fondo blanco / off-white. Acento amarillo de seguridad.
   Tipografía: Bebas Neue (display) + Manrope (texto) + JetBrains Mono.
   ========================================================= */

:root {
  --bg:           #fafafa;
  --surface:      #ffffff;
  --surface-2:    #f5f5f5;
  --surface-3:    #ebebeb;
  --border:       #e5e5e5;
  --border-2:     #d4d4d4;
  --text:         #0a0a0a;
  --text-2:       #525252;
  --text-3:       #a3a3a3;

  --accent:       #f5d000;     /* amarillo de seguridad: solo para fondos */
  --accent-deep:  #a07d00;     /* ámbar oscuro: para texto/iconos sobre blanco */
  --accent-soft:  rgba(245, 208, 0, 0.12);
  --accent-line:  rgba(245, 208, 0, 0.35);

  --success:      #15803d;
  --success-soft: rgba(21, 128, 61, 0.10);
  --danger:       #dc2626;
  --danger-soft:  rgba(220, 38, 38, 0.10);
  --warning:      #d97706;
  --warning-soft: rgba(217, 119, 6, 0.10);

  --shadow-sm:    0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow:       0 2px 6px rgba(0, 0, 0, 0.06);
  --shadow-lg:    0 12px 32px rgba(0, 0, 0, 0.10);

  --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body:    'Manrope', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  --radius:       4px;
  --radius-lg:    8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

[hidden] { display: none !important; }

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  min-height: 100vh;
  overscroll-behavior-y: none;
}

body { padding-bottom: env(safe-area-inset-bottom); }

/* ============== TEXTURA DE FONDO SUTIL ============== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent 0,
      transparent 60px,
      rgba(0, 0, 0, 0.018) 60px,
      rgba(0, 0, 0, 0.018) 61px
    );
}

/* ============== TOPBAR ============== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding-top: calc(16px + env(safe-area-inset-top));
}

.brand { display: flex; align-items: center; gap: 14px; }

.brand-mark {
  width: 8px;
  height: 36px;
  background: var(--accent);
  box-shadow: 0 1px 3px rgba(245, 208, 0, 0.3);
}

.brand-text { line-height: 1; }

.brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.06em;
  color: var(--text);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--text-3);
  margin-top: 4px;
}

.topbar-right { display: flex; align-items: center; gap: 10px; }

/* ============== CHIP DE GUARDIA ============== */
.guard-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 100px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text);
  font-weight: 600;
  transition: all 0.15s ease;
  max-width: 200px;
}
.guard-chip svg {
  width: 14px;
  height: 14px;
  color: var(--accent-deep);
  flex-shrink: 0;
}
.guard-chip:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.guard-chip-label {
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.guard-chip.no-guard {
  border-color: var(--danger);
  color: var(--danger);
  background: var(--danger-soft);
}
.guard-chip.no-guard svg { color: var(--danger); }

/* ============== STATUS PILL ============== */
.status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--border-2);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-2);
  background: var(--surface);
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-3);
}

.status-pill.online .status-dot {
  background: var(--success);
  animation: pulse 2.4s ease-out infinite;
}
.status-pill.online {
  color: var(--success);
  border-color: rgba(21, 128, 61, 0.30);
  background: var(--success-soft);
}

.status-pill.offline .status-dot { background: var(--warning); }
.status-pill.offline {
  color: var(--warning);
  border-color: rgba(217, 119, 6, 0.30);
  background: var(--warning-soft);
}

.status-pill.error .status-dot { background: var(--danger); }
.status-pill.error {
  color: var(--danger);
  border-color: rgba(220, 38, 38, 0.30);
  background: var(--danger-soft);
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0   rgba(21, 128, 61, 0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(21, 128, 61, 0); }
  100% { box-shadow: 0 0 0 0   rgba(21, 128, 61, 0); }
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.15s ease;
}
.icon-btn:hover { color: var(--text); border-color: var(--text); }
.icon-btn svg { width: 18px; height: 18px; }

/* ============== TABS ============== */
.tabs {
  position: sticky;
  top: 73px;
  z-index: 49;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.tab {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  padding: 18px 12px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--text-3);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
}

.tab-num { font-family: var(--font-mono); font-size: 11px; font-weight: 500; }
.tab-label { font-size: 18px; }

.tab:hover { color: var(--text-2); }

.tab.tab-active {
  color: var(--text);
  border-bottom-color: var(--accent);
  background: linear-gradient(180deg, transparent 0%, var(--accent-soft) 100%);
}
.tab.tab-active .tab-num { color: var(--accent-deep); }

/* ============== MAIN ============== */
main {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 24px;
}

.view { display: none; }
.view-active { display: block; animation: fadeUp 0.4s ease; }

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

/* ============== BÚSQUEDA ============== */
.search-wrap { position: relative; margin-bottom: 16px; }

.search-wrap input {
  width: 100%;
  height: 60px;
  padding: 0 56px 0 56px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  outline: none;
  transition: all 0.15s ease;
  box-shadow: var(--shadow-sm);
}
.search-wrap input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.search-wrap input::placeholder { color: var(--text-3); }

.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--text-3);
  pointer-events: none;
}
.search-wrap input:focus ~ .search-icon { color: var(--accent-deep); }

.clear-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  background: var(--surface-3);
  color: var(--text-2);
  border-radius: var(--radius);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.clear-btn:hover { color: var(--text); background: var(--border-2); }

.list-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-3);
  text-transform: uppercase;
}

.link-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius);
  transition: all 0.15s ease;
}
.link-btn:hover { color: var(--accent-deep); }
.link-btn svg { width: 13px; height: 13px; }
.link-btn.spinning svg { animation: spin 0.9s linear infinite; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ============== LISTA DE EMPLEADOS ============== */
.employee-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }

.emp-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
  width: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.emp-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.2s ease;
}

.emp-card:hover, .emp-card:active {
  border-color: var(--border-2);
  box-shadow: var(--shadow);
}
.emp-card:hover::before, .emp-card:active::before { transform: scaleY(1); }

.emp-avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--text);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.05em;
}

.emp-info { flex: 1; min-width: 0; }

.emp-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.emp-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-2);
}

.emp-meta-sep { color: var(--border-2); }

.emp-arrow { flex-shrink: 0; color: var(--text-3); transition: all 0.15s ease; }
.emp-card:hover .emp-arrow { color: var(--accent-deep); transform: translateX(2px); }
.emp-arrow svg { width: 18px; height: 18px; }

.emp-card.registering { border-color: var(--success); background: var(--success-soft); }
.emp-card.registering .emp-avatar { background: var(--success); color: #ffffff; }

.match {
  background: var(--accent-soft);
  color: var(--accent-deep);
  padding: 0 2px;
  border-radius: 2px;
  font-weight: 700;
}

/* ============== VISITANTE RECURRENTE ============== */
.visitor-hint {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--success-soft);
  border: 1px solid rgba(21, 128, 61, 0.3);
  border-left: 3px solid var(--success);
  border-radius: var(--radius);
  animation: fadeUp 0.25s ease;
}

.visitor-hint-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--success);
  color: #ffffff;
  border-radius: 50%;
}

.visitor-hint-icon svg { width: 16px; height: 16px; }

.visitor-hint-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.visitor-hint-text strong {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--success);
}

.visitor-hint-text span {
  font-size: 13px;
  color: var(--text-2);
}

.visitor-hint-clear {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-2);
  background: var(--surface);
  color: var(--text-2);
  border-radius: var(--radius);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.15s ease;
}
.visitor-hint-clear:hover {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--text-3);
}

/* ============== EMPTY STATE ============== */
.empty-state { text-align: center; padding: 60px 24px; }

.empty-mark {
  font-family: var(--font-mono);
  font-size: 56px;
  color: var(--border-2);
  margin-bottom: 16px;
}

.empty-title {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.05em;
  color: var(--text-2);
  margin-bottom: 8px;
}

.empty-text {
  font-size: 14px;
  color: var(--text-3);
  max-width: 320px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ============== FORMULARIO DE VISITAS ============== */
.visit-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.field { display: flex; flex-direction: column; }
.field-full { grid-column: 1 / -1; }

.field-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 8px;
  font-weight: 600;
}

.field-label em { color: var(--accent-deep); font-style: normal; margin-left: 2px; }

.field input, .field textarea, .modal input {
  width: 100%;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  outline: none;
  transition: all 0.15s ease;
}

.field textarea { resize: vertical; min-height: 84px; font-family: var(--font-body); }

.field input:focus, .field textarea:focus, .modal input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }

.field input:invalid:not(:placeholder-shown) { border-color: var(--danger); }

.field input[readonly] {
  background: var(--surface-2);
  color: var(--text-2);
  cursor: not-allowed;
}

.field-hint { font-size: 12px; color: var(--text-3); margin-top: 6px; }

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px dashed var(--border);
}

/* ============== BOTONES ============== */
.btn-primary, .btn-ghost, .btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 24px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid transparent;
  min-height: 56px;
}

.btn-primary {
  flex: 1;
  background: var(--text);
  color: var(--surface);
  border-color: var(--text);
}
.btn-primary:hover {
  background: var(--accent);
  color: var(--text);
  border-color: var(--accent);
}
.btn-primary:active { transform: translateY(1px); }
.btn-primary:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-primary .btn-arrow { width: 18px; height: 18px; }

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border-color: var(--border-2);
}
.btn-ghost:hover { color: var(--text); border-color: var(--text); }

.btn-danger {
  background: transparent;
  color: var(--danger);
  border-color: rgba(220, 38, 38, 0.3);
  font-size: 14px;
}
.btn-danger:hover { background: var(--danger-soft); border-color: var(--danger); }

.btn-block { width: 100%; }

/* ============== MODAL DE CONFIRMACIÓN ============== */
.confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 24px;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.confirm-box {
  text-align: center;
  max-width: 420px;
  width: 100%;
  padding: 40px 32px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: confirmIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes confirmIn {
  from { opacity: 0; transform: scale(0.92) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.confirm-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--success);
}
.confirm-box.queued::before { background: var(--warning); }

.confirm-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  background: var(--success);
  color: #ffffff;
  border-radius: 50%;
  font-size: 44px;
  font-weight: 700;
  animation: iconPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}
.confirm-box.queued .confirm-icon { background: var(--warning); }

@keyframes iconPop {
  from { transform: scale(0); }
  to   { transform: scale(1); }
}

.confirm-title {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 12px;
}

.confirm-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.confirm-time {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 20px;
}

.confirm-status {
  display: inline-block;
  padding: 6px 12px;
  background: var(--success-soft);
  border: 1px solid rgba(21, 128, 61, 0.25);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--success);
  font-weight: 600;
  margin-bottom: 24px;
}
.confirm-box.queued .confirm-status {
  color: var(--warning);
  background: var(--warning-soft);
  border-color: rgba(217, 119, 6, 0.25);
}

.confirm-ok { margin-top: 4px; }

/* ============== MODAL GENÉRICO ============== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(10, 10, 10, 0.4);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 24px;
  animation: fadeIn 0.2s ease;
}

.modal {
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: confirmIn 0.3s ease;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.08em;
  color: var(--text);
}

.modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
}

.modal-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  background: var(--surface-2);
}

.guard-overlay { z-index: 110; }
.guard-modal { max-width: 460px; }

.guard-intro {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-2);
}

.cfg-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.cfg-from-file {
  margin-top: 8px;
  padding: 10px 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-2);
}

.cfg-from-file code {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 2px 5px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--accent-deep);
}

.cfg-stat {
  padding: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.cfg-stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 6px;
  font-weight: 600;
}

.cfg-stat-value {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--text);
  letter-spacing: 0.04em;
}

/* ============== QUEUE BADGE ============== */
.queue-badge {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--warning);
  color: #ffffff;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.3);
  animation: slideUp 0.4s ease;
}

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

.queue-badge svg {
  width: 14px;
  height: 14px;
  animation: spin 4s linear infinite;
}

/* ============== RESPONSIVE ============== */
@media (max-width: 600px) {
  .topbar { padding: 12px 16px; padding-top: calc(12px + env(safe-area-inset-top)); }
  .brand-name { font-size: 18px; }
  .brand-sub { font-size: 9px; }

  .topbar-right { gap: 6px; }
  .guard-chip { padding: 6px 10px; max-width: 110px; font-size: 10px; }
  .guard-chip svg { width: 12px; height: 12px; }

  .status-pill { padding: 5px 10px; font-size: 9px; }
  .status-pill .status-label { display: none; }
  .status-pill .status-dot { width: 10px; height: 10px; }

  .tabs { top: 65px; }
  .tab { padding: 14px 8px; }
  .tab-label { font-size: 16px; }

  main { padding: 16px; }

  .form-grid { grid-template-columns: 1fr; gap: 14px; }
  .visit-form { padding: 20px; }
  .form-actions { flex-direction: column-reverse; }
  .form-actions > * { width: 100%; }

  .emp-card { padding: 14px 16px; gap: 12px; }
  .emp-avatar { width: 40px; height: 40px; font-size: 16px; }
  .emp-name { font-size: 15px; }
}

/* ============== TABLET HORIZONTAL ============== */
@media (min-width: 768px) and (orientation: landscape) {
  .employee-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
}
