:root {
  --m-bg: #070b14;
  --m-surface: #101726;
  --m-subtle: #182236;
  --m-border: rgba(148, 163, 184, 0.16);
  --m-text: #f8fafc;
  --m-muted: #94a3b8;
  --m-accent: #2563eb;
  --m-accent-soft: rgba(37, 99, 235, 0.18);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bot: env(safe-area-inset-bottom, 0px);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  max-width: 100vw;
  min-height: 100dvh;
  overflow-x: hidden;
  font-family: 'Heebo', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--m-bg);
  color: var(--m-text);
  -webkit-font-smoothing: antialiased;
}

.tabular {
  font-variant-numeric: tabular-nums;
}

.hidden {
  display: none !important;
}

/* PIN 5585 Auth Screen */
.mob-auth-screen {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ma-card {
  width: 100%;
  max-width: 340px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.ma-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
}

.ma-title {
  font-size: 22px;
  font-weight: 900;
}

.ma-sub {
  font-size: 13px;
  color: var(--m-muted);
}

.ma-dots {
  display: flex;
  gap: 14px;
  margin: 8px 0 2px;
}

.ma-dots span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #475569;
  transition: background 120ms ease, border-color 120ms ease;
}

.ma-dots span.filled {
  background: var(--m-accent);
  border-color: var(--m-accent);
}

.ma-err {
  font-size: 12.5px;
  color: #f87171;
  min-height: 18px;
}

.ma-pad {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 6px;
}

.ma-pad button {
  height: 58px;
  border-radius: 14px;
  border: 1px solid var(--m-border);
  background: var(--m-surface);
  color: var(--m-text);
  font-family: inherit;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
}

.ma-pad button:active {
  background: var(--m-subtle);
  transform: scale(0.97);
}

.ma-pad button.is-aux {
  font-size: 15px;
  color: var(--m-muted);
}

/* Main App Shell */
.mob-app-shell {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding-top: var(--safe-top);
  padding-bottom: calc(68px + var(--safe-bot));
}

.mob-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 11, 20, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--m-border);
  padding: 10px 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.mh-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mh-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  min-width: 0;
}

.mh-mesh-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.7);
  flex-shrink: 0;
}

.mh-mesh-dot.offline {
  background: #f59e0b;
}

.mh-prod-pill {
  font-size: 11.5px;
  color: #93c5fd;
  background: var(--m-accent-soft);
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mh-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--m-border);
  background: var(--m-surface);
  color: var(--m-text);
  font-size: 16px;
}

/* Dedicated Live Command & Error Feedback Strip */
.mob-cmd-ticker {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 9px;
  border: 1px solid var(--m-border);
  background: var(--m-surface);
  color: #e2e8f0;
  font-family: inherit;
  font-size: 12px;
  text-align: right;
}

.mct-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  flex-shrink: 0;
}

.mct-dot.is-pending {
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
}

.mct-dot.is-error {
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
}

.mct-text {
  flex: 1;
  min-width: 0;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mct-lat {
  font-size: 11px;
  color: var(--m-muted);
  white-space: nowrap;
}

/* Content Panes */
.mob-content {
  flex: 1;
  padding: 12px 14px 18px;
}

.mob-pane {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mob-hero-card {
  background: var(--m-surface);
  border: 1px solid var(--m-border);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.mhc-tag-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.mhc-tag {
  font-size: 11.5px;
  font-weight: 800;
  color: #60a5fa;
}

.mhc-edit-chip {
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.72);
  color: #cbd5e1;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.mhc-edit-chip.is-active {
  border-color: rgba(56, 189, 248, 0.55);
  background: rgba(37, 99, 235, 0.22);
  color: #bae6fd;
}

.mhc-edit-chip.is-tour {
  border-color: rgba(251, 191, 36, 0.55);
  background: rgba(245, 158, 11, 0.18);
  color: #fde68a;
}

.mhc-prod {
  font-size: 17px;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.mhc-time {
  font-size: 12px;
  color: var(--m-muted);
}

/* Single Primary CTA per screen */
.mob-cta-primary {
  padding: 12px 16px;
  min-height: 46px;
  border-radius: 11px;
  border: 0;
  background: var(--m-accent);
  color: #fff;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.mob-cta-primary.full-w {
  width: 100%;
  margin-top: 8px;
}

.mob-cta-primary:active {
  transform: scale(0.98);
}

/* 2x2 Studio Scenario Grid (Zero Width Jumps, Single-Line Hebrew) */
.mob-auto-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mob-auto-tile {
  min-height: 50px;
  padding: 0 10px;
  border-radius: 12px;
  border: 1px solid var(--m-border);
  background: var(--m-surface);
  color: var(--m-text);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
}

.mob-auto-tile:active {
  transform: scale(0.98);
}

.mob-auto-tile.is-arr {
  border-color: rgba(16, 185, 129, 0.35);
}

.mob-auto-tile.is-quiet {
  border-color: rgba(244, 63, 94, 0.32);
}

.mob-auto-tile.is-quiet-live {
  background: rgba(225, 29, 72, 0.16);
  border-color: rgba(251, 113, 133, 0.72);
  color: #ffe4e6;
}

.mob-auto-tile.is-eco {
  border-color: rgba(245, 158, 11, 0.32);
}

.mob-auto-tile.is-dep {
  border-color: rgba(96, 165, 250, 0.35);
}

.mat-ico {
  font-size: 18px;
}

/* Groups */
.mob-group {
  background: var(--m-surface);
  border: 1px solid var(--m-border);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mg-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
}

.mg-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--m-muted);
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--m-subtle);
}

.mg-mini-act {
  padding: 4px 10px;
  border-radius: 7px;
  border: 1px solid var(--m-border);
  background: var(--m-subtle);
  color: #cbd5e1;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
}

.mob-ico-row {
  display: grid;
  gap: 8px;
}

.mob-ico-row.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mob-ico-row.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mob-ico-row.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.mob-ico-btn {
  min-height: 56px;
  border-radius: 11px;
  border: 1px solid var(--m-border);
  background: var(--m-subtle);
  color: var(--m-text);
  font-family: inherit;
  font-size: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.mob-ico-btn span {
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}

.mob-ico-btn.is-warm {
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(251, 191, 36, 0.35);
  color: #fde68a;
}

.mob-ico-btn.is-hi {
  background: var(--m-accent-soft);
  border-color: rgba(96, 165, 250, 0.4);
  color: #93c5fd;
}

.mob-ico-btn.is-danger {
  background: rgba(239, 68, 68, 0.13);
  border-color: rgba(248, 113, 113, 0.35);
  color: #fca5a5;
}

/* BiDi-Safe Volume Row */
.mob-vol-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 2px;
}

.mv-step {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid var(--m-border);
  background: var(--m-subtle);
  color: var(--m-text);
  font-size: 18px;
  font-weight: 800;
}

.mob-vol-row input[type="range"] {
  flex: 1;
  accent-color: var(--m-accent);
}

.mv-val {
  width: 38px;
  text-align: right;
  font-size: 12px;
  font-weight: 700;
  color: var(--m-muted);
}

/* Smart Toggle Cards Grid (2 Columns on Smartphone) */
.mob-smart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.ms-card {
  min-height: 52px;
  padding: 8px 10px;
  border-radius: 11px;
  border: 1px solid var(--m-border);
  background: var(--m-subtle);
  color: #cbd5e1;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  text-align: right;
}

.ms-card.is-on {
  background: rgba(37, 99, 235, 0.22);
  border-color: #60a5fa;
  color: #fff;
}

.ms-card.is-light.is-on {
  background: rgba(234, 179, 8, 0.2);
  border-color: #facc15;
  color: #fef08a;
}

.ms-name {
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ms-state {
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
}

/* PA & Segmented */
.mob-seg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: var(--m-bg);
  padding: 4px;
  border-radius: 10px;
  border: 1px solid var(--m-border);
}

.mob-seg.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.mob-seg.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.mob-banner-opts {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mob-pa-shield-hint {
  font-size: 12px;
  font-weight: 700;
  color: #fde68a;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 9px;
  padding: 7px 10px;
}

.mob-live-banner-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.35);
  margin-bottom: 10px;
}

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

.mlbb-meta {
  font-size: 11.5px;
  color: #93c5fd;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.mlbb-msg {
  font-size: 13px;
  color: var(--m-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mlbb-clear-btn {
  min-height: 36px;
  padding: 0 11px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: rgba(15, 23, 42, 0.55);
  color: var(--m-text);
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
}

.mob-seg button {
  min-height: 38px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--m-muted);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 800;
}

.mob-seg button.active {
  background: var(--m-subtle);
  color: var(--m-text);
}

.mob-pa-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mpa-chip {
  min-height: 38px;
  padding: 6px 11px;
  border-radius: 9px;
  border: 1px solid var(--m-border);
  background: var(--m-subtle);
  color: var(--m-text);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.mob-textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--m-border);
  background: var(--m-bg);
  color: var(--m-text);
  font-family: inherit;
  font-size: 14px;
  resize: none;
}

/* Security & Telemetry Lists */
.mob-ttlock-list,
.mob-tel-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.mtt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--m-subtle);
  font-size: 12.5px;
}

.mtt-btns {
  display: flex;
  gap: 6px;
}

.mtt-btns button {
  min-height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--m-border);
  background: var(--m-bg);
  color: var(--m-text);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
}

.mtel-item {
  padding: 8px 10px;
  border-radius: 9px;
  background: var(--m-bg);
  border: 1px solid var(--m-border);
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mtel-item.is-err {
  border-color: rgba(239, 68, 68, 0.5);
  background: rgba(127, 29, 29, 0.22);
}

.mob-diag-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.mdiag-pill {
  padding: 6px 8px;
  border-radius: 8px;
  background: var(--m-bg);
  border: 1px solid var(--m-border);
  font-size: 11px;
}

/* Bottom Thumb-Zone Navigation Bar */
.mob-tabbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(64px + var(--safe-bot));
  padding-bottom: var(--safe-bot);
  background: rgba(16, 23, 38, 0.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--m-border);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  z-index: 50;
}

.mtab {
  border: 0;
  background: transparent;
  color: var(--m-muted);
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.mtab.active {
  color: #60a5fa;
}

.mtab-ico {
  font-size: 19px;
  line-height: 1;
}

/* Fullscreen Mobile Tablet Touch Mirror */
.mob-mirror-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: #04070e;
  display: flex;
  flex-direction: column;
  padding-top: var(--safe-top);
  padding-bottom: var(--safe-bot);
}

.mmo-top {
  padding: 8px 12px;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
}

.mmo-close {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--m-border);
  background: var(--m-subtle);
  color: #fff;
  font-family: inherit;
  font-weight: 700;
}

.mmo-stage {
  flex: 1;
  min-height: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  overflow: hidden;
  touch-action: none;
}

.mmo-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  touch-action: none;
  user-select: none;
}

.mmo-ripple {
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  margin-left: -14px;
  margin-top: -14px;
  border-radius: 50%;
  border: 2.5px solid #38bdf8;
  background: rgba(56, 189, 248, 0.3);
  pointer-events: none;
  transition: transform 200ms ease-out, opacity 200ms ease-out;
}

.mmo-dock {
  padding: 8px 10px;
  background: #0f172a;
  display: flex;
  gap: 6px;
  overflow-x: auto;
}

.mmo-dock button {
  min-height: 40px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid var(--m-border);
  background: var(--m-subtle);
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.mmo-dock button.is-kiosk {
  background: #0369a1;
}

/* Toast */
.mob-toast {
  position: fixed;
  bottom: calc(74px + var(--safe-bot));
  left: 50%;
  transform: translateX(-50%);
  padding: 9px 16px;
  border-radius: 999px;
  background: #1e293b;
  border: 1px solid rgba(96, 165, 250, 0.4);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  z-index: 200;
  white-space: nowrap;
  max-width: 92vw;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* [SM-02] Mobile Guard Strip */
.mob-guard-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}

.mob-guard-card {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.42);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mob-guard-card.is-overtime {
  background: rgba(37, 99, 235, 0.16);
  border-color: rgba(96, 165, 250, 0.45);
}

.mob-guard-card.is-concierge {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(52, 211, 153, 0.52);
}

.mgc-btn-primary.is-emerald {
  background: #059669;
}

.mgc-title {
  font-size: 12.5px;
  font-weight: 800;
  color: #fef3c7;
}

.mob-guard-card.is-overtime .mgc-title {
  color: #dbeafe;
}

.mgc-sub {
  font-size: 11.5px;
  color: #cbd5e1;
}

.mgc-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mgc-btn-primary {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  border: none;
  background: #2563eb;
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
}

.mg-btn-ghost {
  min-height: 34px;
}

.mg-badge.is-sp {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.32);
  max-width: 170px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mob-ico-btn.is-spotify.is-playing {
  border-color: rgba(16, 185, 129, 0.52);
  background: rgba(16, 185, 129, 0.14);
  color: #a7f3d0;
}

/* [SM-08] Thumb-Zone Slide-Over Spotify Bottom Sheet */
.mob-sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 155;
  background: rgba(4, 7, 14, 0.68);
  backdrop-filter: blur(4px);
}

.mob-spotify-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 160;
  max-height: 86dvh;
  background: var(--m-surface);
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -14px 36px rgba(0, 0, 0, 0.45);
  padding: 8px 14px calc(14px + var(--safe-bot));
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: mspSlideUp 200ms cubic-bezier(0.2, 0, 0, 1);
}

@keyframes mspSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.msp-handle {
  width: 38px;
  height: 4px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.35);
  align-self: center;
}

.msp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.msp-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.msp-title {
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.msp-studio-switch {
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  border-radius: 9px;
  background: var(--m-bg);
  border: 1px solid var(--m-border);
}

.msp-studio-switch button {
  min-height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--m-muted);
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
}

.msp-studio-switch button.active {
  background: var(--m-subtle);
  color: var(--m-text);
}

.msp-close {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--m-border);
  background: var(--m-subtle);
  color: var(--m-muted);
  font-size: 14px;
  font-weight: 700;
}

.msp-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 10px;
  background: var(--m-bg);
  border: 1px solid var(--m-border);
}

.msp-now-info {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  flex: 1;
}

.msp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #64748b;
  flex-shrink: 0;
}

.msp-dot.is-playing {
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.7);
}

.msp-now-txt {
  font-size: 12px;
  font-weight: 700;
  color: #e2e8f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.msp-sec-btns {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.msp-sec-btn {
  min-height: 32px;
  padding: 0 9px;
  border-radius: 8px;
  border: 1px solid var(--m-border);
  background: var(--m-subtle);
  color: #cbd5e1;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}

.msp-search-row {
  display: flex;
  gap: 8px;
}

.msp-input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--m-border);
  background: var(--m-bg);
  color: var(--m-text);
  font-family: inherit;
  font-size: 14px;
}

.msp-play-btn {
  min-height: 44px;
  padding: 0 14px;
}

.msp-vibes-strip {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.msp-vibes-strip::-webkit-scrollbar {
  display: none;
}

.msp-vibe-chip {
  min-height: 36px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid var(--m-border);
  background: var(--m-subtle);
  color: var(--m-text);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.msp-results {
  flex: 1;
  min-height: 120px;
  max-height: 30dvh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.msp-track-row {
  width: 100%;
  min-height: 50px;
  padding: 6px 9px;
  border-radius: 10px;
  border: 1px solid var(--m-border);
  background: var(--m-bg);
  color: var(--m-text);
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: right;
}

.msp-track-row:active {
  background: var(--m-subtle);
}

.msp-cover {
  width: 36px;
  height: 36px;
  border-radius: 7px;
  object-fit: cover;
  background: var(--m-subtle);
  flex-shrink: 0;
}

.msp-t-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.msp-t-title {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.msp-t-sub {
  font-size: 11.5px;
  color: var(--m-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.msp-t-dur {
  font-size: 11.5px;
  color: var(--m-muted);
  white-space: nowrap;
}

.msp-t-play {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--m-subtle);
  color: #93c5fd;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

.msp-vol-footer {
  padding-top: 6px;
  border-top: 1px solid var(--m-border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.msp-vol-tag {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--m-muted);
}

.mgc-btn-ghost {
  min-height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--m-border);
  background: transparent;
  color: var(--m-muted);
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
}

.mob-guard-card.is-urgent {
  background: rgba(220, 38, 38, 0.18);
  border-color: rgba(248, 113, 113, 0.55);
}

.mob-guard-card.is-urgent .mgc-title {
  color: #fecaca;
}

/* [SM-12] Contextual Closing Telemetry & Remote WhatsApp Checkout Strip (Zero Primary Competition) */
.mob-chk-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px;
  margin-top: -2px;
  margin-bottom: 10px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--m-border);
  font-size: 11.5px;
  color: var(--m-muted);
}

.mob-chk-strip.is-done {
  border-color: rgba(16, 185, 129, 0.35);
  color: #a7f3d0;
}

.mob-chk-strip.is-issue {
  border-color: rgba(248, 113, 113, 0.48);
  color: #fecaca;
}

.mcs-status {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mcs-btn {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: var(--m-subtle);
  color: #e2e8f0;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

/* [SM-13] Night Lockup Optional G1 Toggle Strip */
.mob-night-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  margin-top: -2px;
  margin-bottom: 10px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--m-border);
  font-size: 12px;
  color: #cbd5e1;
  cursor: pointer;
}

.mob-night-opt input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #38bdf8;
  flex-shrink: 0;
}

/* [SM-14] Quick Production Override, Shift Extension & VIP Tour Bottom Sheet */
.mob-override-sheet {
  gap: 10px;
}

.mov-status-pill {
  padding: 6px 10px;
  border-radius: 9px;
  background: var(--m-bg);
  border: 1px solid var(--m-border);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--m-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mov-status-pill.is-manual {
  border-color: rgba(56, 189, 248, 0.45);
  color: #bae6fd;
}

.mov-status-pill.is-tour {
  border-color: rgba(251, 191, 36, 0.5);
  color: #fde68a;
}

.mov-ext-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mov-sec-lbl {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--m-muted);
}

.mov-ext-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.mov-ext-chip {
  min-height: 38px;
  border-radius: 10px;
  border: 1px solid var(--m-border);
  background: var(--m-subtle);
  color: #e2e8f0;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
}

.mov-ext-chip:active {
  transform: scale(0.97);
}

.mov-mode-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 11px;
  background: var(--m-bg);
  border: 1px solid var(--m-border);
}

.mov-mode-switch button {
  min-height: 36px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--m-muted);
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.mov-mode-switch button.active {
  background: var(--m-subtle);
  color: var(--m-text);
}

.mov-form-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mov-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mov-time-box {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 11px;
  font-weight: 700;
  color: var(--m-muted);
}

.mov-tour-hint {
  font-size: 11.5px;
  line-height: 1.4;
  color: #fde68a;
  padding: 6px 9px;
  border-radius: 9px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.mov-actions-row {
  display: flex;
  gap: 8px;
  align-items: center;
  padding-top: 2px;
}

.mov-submit-btn {
  flex: 1;
}

.mov-reset-btn {
  min-height: 46px;
  padding: 0 12px;
  border-radius: 11px;
  border: 1px solid var(--m-border);
  background: var(--m-subtle);
  color: #cbd5e1;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

/* [SM-15] On-Set Client Wireless Transmitter (HDMI 2) Chips & LG Director Controls */
.mob-hdmi-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding-top: 2px;
}

.mob-hdmi-chip {
  min-height: 36px;
  padding: 0 10px;
  border-radius: 9px;
  border: 1px solid var(--m-border);
  background: var(--m-subtle);
  color: #cbd5e1;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.mob-hdmi-chip.is-live-hdmi {
  background: rgba(245, 158, 11, 0.18);
  border-color: rgba(251, 191, 36, 0.55);
  color: #fde68a;
}

.mg-badge.is-live {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.32);
}

.mv-step.is-muted {
  background: rgba(239, 68, 68, 0.16);
  border-color: rgba(248, 113, 113, 0.45);
  color: #fca5a5;
}

.mgc-actions {
  flex-wrap: wrap;
}

.mgc-btn-ghost {
  min-height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.55);
  color: #e2e8f0;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}

/* [SM-16] WhatsApp Teleprompter Script Strip & Sheet (`LG 31.5"`) */
.mob-prompter-strip-btn {
  width: 100%;
  min-height: 38px;
  margin-top: 8px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--m-border);
  background: var(--m-subtle);
  color: var(--m-text);
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
}

.mob-prompter-strip-btn.is-has-script {
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(14, 165, 233, 0.12);
}

.mob-prompter-strip-btn .mps-meta {
  font-size: 11px;
  font-weight: 700;
  color: var(--m-muted);
}

.mob-prompter-strip-btn.is-has-script .mps-meta {
  color: #7dd3fc;
}

.mpr-tools-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.mpr-tool-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.mpr-chip-btn {
  min-height: 33px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--m-border);
  background: var(--m-subtle);
  color: #e2e8f0;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}

.mpr-chip-btn.active {
  border-color: rgba(96, 165, 250, 0.7);
  background: rgba(37, 99, 235, 0.22);
  color: #bfdbfe;
}

.mpr-word-count {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--m-muted);
}

.mpr-textarea {
  min-height: 170px;
  max-height: 44dvh;
  padding: 11px 12px;
  line-height: 1.5;
  resize: vertical;
  font-size: 14.5px;
}

/* [SM-17] Shift Equipment Staging & Return Checklist Strip + Sheet */
.mob-equip-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.mob-eq-pill-btn {
  flex: 1;
  min-width: 185px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--m-border);
  background: var(--m-surface);
  color: var(--m-text);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
}

.mob-eq-pill-btn.is-staged {
  border-color: rgba(56, 189, 248, 0.42);
  background: rgba(14, 165, 233, 0.1);
}

.mob-eq-pill-btn.is-done {
  border-color: rgba(16, 185, 129, 0.45);
  background: rgba(16, 185, 129, 0.11);
}

.meq-mini-cnt {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--m-muted);
}

.mob-eq-pill-btn.is-staged .meq-mini-cnt {
  color: #7dd3fc;
}

.mob-eq-pill-btn.is-done .meq-mini-cnt {
  color: #6ee7b7;
}

.mob-lg-roam-chip {
  min-height: 36px;
  padding: 0 11px;
  border-radius: 10px;
  border: 1px solid rgba(251, 191, 36, 0.42);
  background: rgba(245, 158, 11, 0.12);
  color: #fde68a;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.meq-progress-pill {
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--m-bg);
  border: 1px solid var(--m-border);
  color: #93c5fd;
  font-size: 11.5px;
  font-weight: 800;
}

.meq-shifts-strip {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.meq-shift-chip {
  min-height: 32px;
  padding: 0 11px;
  border-radius: 8px;
  border: 1px solid var(--m-border);
  background: var(--m-bg);
  color: var(--m-muted);
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.meq-shift-chip.active {
  background: var(--m-subtle);
  border-color: rgba(96, 165, 250, 0.55);
  color: var(--m-text);
}

.meq-lg-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.11);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #fef3c7;
  font-size: 11.5px;
}

.meq-roam-inline-btn {
  min-height: 28px;
  padding: 0 9px;
  border-radius: 7px;
  border: 1px solid rgba(251, 191, 36, 0.5);
  background: rgba(245, 158, 11, 0.22);
  color: #fffbeb;
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.meq-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 44dvh;
  overflow-y: auto;
  padding-inline-end: 2px;
}

.meq-prod-sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--m-muted);
  padding: 2px 4px 4px;
}

.meq-prod-sub strong {
  color: #e2e8f0;
  font-size: 12.5px;
}

.meq-item-row {
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--m-border);
  background: var(--m-bg);
  color: var(--m-text);
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: right;
  cursor: pointer;
}

.meq-item-row.is-checked {
  border-color: rgba(16, 185, 129, 0.42);
  background: rgba(16, 185, 129, 0.09);
}

.meq-chk {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1.5px solid rgba(148, 163, 184, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  color: #042f2e;
  flex-shrink: 0;
}

.meq-item-row.is-checked .meq-chk {
  background: #10b981;
  border-color: #10b981;
}

.meq-ico {
  font-size: 15px;
  flex-shrink: 0;
}

.meq-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.meq-name {
  font-size: 13px;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.3;
}

.meq-item-row.is-checked .meq-name {
  color: #a7f3d0;
  text-decoration: line-through;
  text-decoration-color: rgba(167, 243, 208, 0.45);
}

.meq-item-note {
  font-size: 11px;
  color: var(--m-muted);
}

.meq-sub-tag {
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.14);
  color: #7dd3fc;
  font-size: 10.5px;
  font-weight: 700;
  flex-shrink: 0;
}

.meq-sub-tag.is-ret {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
}

.meq-qty {
  padding: 2px 8px;
  border-radius: 7px;
  background: var(--m-subtle);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

.meq-empty {
  padding: 22px 12px;
  text-align: center;
  font-size: 12.5px;
  color: var(--m-muted);
}

/* [v3.4] Single-CTA Secondary Lighting Mirror Bar, Active Tablet App Ring & APK Update Bar */
.mob-mirror-launch-bar {
  width: 100%;
  min-height: 44px;
  padding: 0 13px;
  border-radius: 11px;
  border: 1px solid rgba(251, 191, 36, 0.36);
  background: rgba(245, 158, 11, 0.11);
  color: #fde68a;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
}

.mob-mirror-launch-bar:active {
  transform: scale(0.985);
}

.mmlb-arrow {
  font-size: 14px;
  opacity: 0.8;
}

.mob-ico-btn.is-active-app {
  border-color: rgba(56, 189, 248, 0.85);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.35), 0 4px 12px rgba(2, 132, 199, 0.18);
}

.mg-badge.is-offline {
  color: #fcd34d;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.32);
}

.mob-apk-update-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 13px;
  background: var(--m-surface);
  border: 1px solid var(--m-border);
}

.maub-info {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.maub-info strong {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--m-text);
}

.maub-info span {
  font-size: 11px;
  color: var(--m-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* =========================================================================
   📹 Fullscreen Mobile Live Camera, PTZ & Reolink Hub VOD Overlay
   ========================================================================= */
.mob-cam-overlay {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: #06090f;
  display: flex;
  flex-direction: column;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.mcam-head-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.mcam-title {
  font-size: 14px;
  font-weight: 800;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mcam-strip {
  display: flex;
  gap: 6px;
  padding: 8px 12px;
  overflow-x: auto;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  scrollbar-width: none;
}

.mcam-strip::-webkit-scrollbar {
  display: none;
}

.mcam-strip-btn {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--m-border);
  background: var(--m-surface);
  color: #cbd5e1;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.mcam-strip-btn.active {
  background: rgba(56, 189, 248, 0.18);
  border-color: rgba(56, 189, 248, 0.65);
  color: #f8fafc;
}

.mcam-stage {
  position: relative;
  flex: 1;
  min-height: 200px;
  width: 100%;
  background: #030509;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  direction: ltr;
}

.mcam-video,
.mcam-poster {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #030509;
}

.mcam-poster {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.85;
}

.mcam-controls {
  padding: 10px 12px 14px;
  background: #0b111e;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mcam-action-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.mcam-chip {
  flex: 1;
  min-width: 78px;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 11px;
  border: 1px solid var(--m-border);
  background: var(--m-surface);
  color: #f1f5f9;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
}

.mcam-chip.is-live-ret {
  border-color: rgba(248, 113, 113, 0.55);
  background: rgba(127, 29, 29, 0.45);
  color: #fecaca;
}

.mcam-ptz-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}

.mcam-ptz-btn {
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid var(--m-border);
  background: var(--m-subtle);
  color: #f8fafc;
  font-size: 15px;
  font-weight: 800;
}

.mcam-ptz-btn:active {
  background: rgba(56, 189, 248, 0.25);
}

.mcam-vod-strip {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-top: 2px;
  scrollbar-width: none;
}

.mcam-vod-strip::-webkit-scrollbar {
  display: none;
}

.mcam-vod-item {
  min-height: 46px;
  padding: 6px 11px;
  border-radius: 10px;
  border: 1px solid var(--m-border);
  background: var(--m-surface);
  color: #e2e8f0;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: right;
  flex-shrink: 0;
}

.mcam-vod-item.active {
  border-color: rgba(56, 189, 248, 0.7);
  background: rgba(56, 189, 248, 0.16);
}

.mcam-vod-item strong {
  font-size: 12px;
}

.mcam-vod-item span {
  font-size: 10.5px;
  color: var(--m-muted);
}

/* Stateful 1-Tap Studio Open / Close Toggle Card (`לחוץ / משוחרר`) */
.mob-entry-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mob-entry-card {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(15, 23, 42, 0.88);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #f8fafc;
  font-family: inherit;
  text-align: right;
  cursor: pointer;
  transition: transform 140ms cubic-bezier(0.2, 0, 0, 1), border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.mob-entry-card:active {
  transform: scale(0.985);
}

.mob-entry-card.is-pressed {
  border-color: rgba(16, 185, 129, 0.72);
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.56), rgba(15, 23, 42, 0.94));
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.22), inset 0 1px 0 rgba(52, 211, 153, 0.18);
}

.mob-entry-card.is-partial {
  border-color: rgba(245, 158, 11, 0.58);
  background: linear-gradient(135deg, rgba(120, 53, 15, 0.34), rgba(15, 23, 42, 0.94));
}

.mob-entry-card.is-busy {
  opacity: 0.82;
  pointer-events: none;
}

.mec-main {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mec-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.mec-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #f8fafc;
}

.mec-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.16);
  color: #cbd5e1;
  font-variant-numeric: tabular-nums;
}

.mob-entry-card.is-pressed .mec-badge {
  background: rgba(16, 185, 129, 0.24);
  color: #6ee7b7;
}

.mob-entry-card.is-partial .mec-badge {
  background: rgba(245, 158, 11, 0.24);
  color: #fde68a;
}

.mec-sub {
  font-size: 11.5px;
  color: #94a3b8;
  line-height: 1.35;
}

.mec-end {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.met-switch {
  width: 50px;
  height: 28px;
  border-radius: 999px;
  background: rgba(51, 65, 85, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.3);
  position: relative;
  transition: background 180ms cubic-bezier(0.2, 0, 0, 1), border-color 180ms ease;
}

.met-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #cbd5e1;
  position: absolute;
  top: 2px;
  left: 3px;
  transition: transform 180ms cubic-bezier(0.2, 0, 0, 1), background 180ms ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.mob-entry-card.is-pressed .met-switch {
  background: #10b981;
  border-color: #34d399;
}

.mob-entry-card.is-pressed .met-thumb {
  transform: translateX(20px);
  background: #ffffff;
}

.mec-toggle-state {
  font-size: 10.5px;
  font-weight: 700;
  color: #94a3b8;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.mob-entry-card.is-pressed .mec-toggle-state {
  color: #6ee7b7;
}

.mec-partial-row {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.mec-sec-btn {
  padding: 5px 11px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: rgba(15, 23, 42, 0.85);
  color: #e2e8f0;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
}

.mob-entry-report {
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.92);
  padding: 10px 12px;
  font-variant-numeric: tabular-nums;
}

.mer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.mer-title {
  font-size: 12px;
  font-weight: 800;
  color: #f1f5f9;
}

.mer-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}

.mer-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.2);
  color: #bfdbfe;
}

.mer-pill.is-shutter {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
}

.mer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  font-size: 11.5px;
  color: #cbd5e1;
}

.mer-close {
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 13px;
  padding: 2px 6px;
}







