/* Experiencia operativa móvil. Solo aplica bajo .app-mobile-ops.
   No altera layout, tipografía ni shell de escritorio / tablet horizontal. */

.app-mobile-ops {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--surface-base);
  color: var(--ink);
  font-family: var(--font-ui);
}

.app-mobile-ops .mops-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--ink);
  position: sticky;
  top: 0;
  z-index: 20;
}

.app-mobile-ops .mops-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.app-mobile-ops .mops-select {
  flex: 1;
  min-width: 0;
  height: 36px;
  border: 0;
  border-radius: 9px;
  padding: 0 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
}

.app-mobile-ops .mops-avatar {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 11px;
  cursor: pointer;
}

.app-mobile-ops .mops-user { position: relative; }
.app-mobile-ops .mops-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 220px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card-hover);
  padding: 10px;
  z-index: 30;
}
.app-mobile-ops .mops-menu__head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 8px 10px;
  border-bottom: 1px solid var(--border-soft);
}
.app-mobile-ops .mops-menu__head span { font-size: 12px; color: var(--text-soft); }
.app-mobile-ops .mops-menu__item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  padding: 10px 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px;
  color: var(--ink);
}
.app-mobile-ops .mops-menu__item--danger { color: #b91c1c; }

.app-mobile-ops .mops-context {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.app-mobile-ops .mops-select--event { flex: 1; }

.app-mobile-ops .mops-screen {
  flex: 1;
  overflow: auto;
  padding: 12px 12px 88px;
  -webkit-overflow-scrolling: touch;
}

.app-mobile-ops .mops-bottom {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border-top: 1px solid var(--border-soft);
  padding: 6px 8px calc(8px + env(safe-area-inset-bottom));
  z-index: 20;
}
.app-mobile-ops .mops-bottom button {
  border: 0;
  background: transparent;
  color: rgba(var(--ink-rgb), 0.48);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 4px;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.app-mobile-ops .mops-bottom button.is-on { color: var(--brand); }

.app-mobile-ops .mops-title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
}
.app-mobile-ops .mops-scan {
  width: 100%;
  justify-content: center;
  min-height: 52px;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 12px;
}
.app-mobile-ops .mops-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid rgba(var(--ink-rgb), 0.14);
  border-radius: 12px;
  padding: 0 12px;
  margin-bottom: 12px;
}
.app-mobile-ops .mops-search input {
  border: 0;
  background: transparent;
  padding: 12px 0;
  flex: 1;
  font: inherit;
  font-size: 15px;
  outline: none;
  min-width: 0;
}
.app-mobile-ops .mops-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 14px 16px;
  margin-bottom: 10px;
}
.app-mobile-ops .mops-card--tap { cursor: pointer; }
.app-mobile-ops .mops-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.app-mobile-ops .mops-card__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 8px 0;
  font-size: 13px;
  color: rgba(var(--ink-rgb), 0.58);
}
.app-mobile-ops .mops-cta { width: 100%; min-height: 46px; justify-content: center; }
.app-mobile-ops .mops-walk-btn {
  width: 100%;
  min-height: 44px;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.app-mobile-ops .mops-station,
.app-mobile-ops .mops-row-actions,
.app-mobile-ops .mops-filters,
.app-mobile-ops .mops-decide {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}
.app-mobile-ops .mops-decide { width: 100%; }
.app-mobile-ops .mops-decide .btn--primary,
.app-mobile-ops .mops-decide .btn--danger-solid { flex: 1; min-height: 44px; }
.app-mobile-ops .mops-chip {
  border: 1px solid rgba(var(--ink-rgb), 0.14);
  background: #fff;
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  color: rgba(var(--ink-rgb), 0.62);
}
.app-mobile-ops .mops-chip.is-on {
  background: rgba(var(--brand-rgb), 0.10);
  border-color: var(--brand);
  color: var(--brand);
}
.app-mobile-ops .mops-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 16px;
}
.app-mobile-ops .mops-form label {
  font-size: 12px;
  font-weight: 700;
  color: rgba(var(--ink-rgb), 0.55);
}
.app-mobile-ops .mops-match,
.app-mobile-ops .mops-recent__row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  text-align: left;
  border: 0;
  background: rgba(var(--ink-rgb), 0.04);
  border-radius: 10px;
  padding: 12px;
  margin-top: 8px;
  font: inherit;
  cursor: pointer;
}
.app-mobile-ops .mops-recent h3,
.app-mobile-ops .mops-card h3 {
  margin: 0 0 8px;
  font-size: 14px;
}
.app-mobile-ops .mops-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}
.app-mobile-ops .mops-kpi {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 14px;
  border-top: 3px solid var(--brand);
}
.app-mobile-ops .mops-kpi strong { display: block; font-size: 22px; }
.app-mobile-ops .mops-kpi span { font-size: 12px; color: rgba(var(--ink-rgb), 0.55); font-weight: 600; }
.app-mobile-ops .mops-live__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.app-mobile-ops .mops-checkin,
.app-mobile-ops .mops-auth,
.app-mobile-ops .mops-live,
.app-mobile-ops .mops-walk { display: flex; flex-direction: column; gap: 4px; }
