:root {
  --bg-dark: #0b1320;
  --bg-panel: #131f33;
  --bg-card: #1a2942;
  --bg-card-hover: #223554;
  --border-color: #2a3f63;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --accent-ocean: #0ea5e9;
  --accent-turquoise: #14b8a6;
  --accent-sand: #f59e0b;
  --accent-coral: #f43f5e;
  --accent-emerald: #10b981;
  --accent-purple: #8b5cf6;
  --radius-lg: 12px;
  --radius-md: 9px;
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.45);
  --ui-zoom: 1;
  --font-scale: 1;
  --sidebar-width: clamp(235px, 18.5vw, 290px);
  --frame-pad: clamp(10px, 1.15vw, 16px);
  --frame-gap: clamp(10px, 1.1vw, 16px);
}

html {
  font-size: calc(clamp(13.2px, 0.9vw, 15.5px) * var(--font-scale, 1));
}

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  background: radial-gradient(circle at top right, #152642 0%, var(--bg-dark) 70%);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.42;
  zoom: var(--ui-zoom, 1);
}

/* Para perfiles de alto nivel (incluido Instalador), suprimir completamente la barra superior de botones de módulos */
body.high-level-sidebar-mode #mainNavTabs {
  display: none !important;
}

/* Barra Superior Principal */
.topbar {
  background: rgba(19, 31, 51, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 18px;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-ocean), var(--accent-turquoise));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.35);
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #fff;
}

.brand-subtitle {
  font-size: 0.76rem;
  color: var(--accent-turquoise);
  font-weight: 600;
}

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

.pill-badge {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pill-badge.success {
  border-color: rgba(16, 185, 129, 0.5);
  color: #34d399;
}

.pill-badge.warning {
  border-color: rgba(245, 158, 11, 0.5);
  color: #fbbf24;
}

.pill-badge.danger {
  border-color: rgba(244, 63, 94, 0.55);
  color: #fb7185;
}

/* Barra Rápida de Pulseras NFC + Selector de Módulos */
.nfc-quickbar {
  background: linear-gradient(90deg, rgba(20, 184, 166, 0.14), rgba(14, 165, 233, 0.12));
  border-bottom: 1px solid var(--border-color);
  padding: 8px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.nfc-wristbands-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nfc-btn {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--accent-turquoise);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.79rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.18s ease;
}

.nfc-btn:hover, .nfc-btn.active {
  background: var(--accent-turquoise);
  color: #06211e;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.35);
}

/* Navegación de Departamentos / Módulos */
.nav-tabs {
  display: flex;
  gap: 8px;
  padding: 12px 18px;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border-color);
  overflow-x: auto;
}

.nav-tab {
  background: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  padding: 10px 15px;
  border-radius: var(--radius-md);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.18s ease;
}

.nav-tab:hover {
  background: var(--bg-card-hover);
  color: #fff;
}

.nav-tab.active {
  background: linear-gradient(135deg, var(--accent-ocean), var(--accent-turquoise));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
}

.nav-tab .badge-count {
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 0.74rem;
}

.nav-tab .badge-alert {
  background: var(--accent-coral);
  color: #fff;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 0.74rem;
  animation: pulseAlert 1.4s infinite;
}

@keyframes pulseAlert {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.12); opacity: 0.85; }
}

/* Contenedor Principal con Auto-Ajuste Fluido al Tamaño de Pantalla */
.main-container {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding: var(--frame-pad);
}

/* Banner de Notificación de Órdenes Listas para Mesoneros */
.ready-orders-banner {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.22), rgba(245, 158, 11, 0.2));
  border: 2px solid var(--accent-emerald);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.2);
}

.ready-orders-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.ready-orders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 10px;
}

.ready-item-card {
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(16, 185, 129, 0.55);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* Layouts en Grilla */
.grid-2 {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 18px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

@media (max-width: 1100px) {
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Tarjetas y Paneles */
.panel {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-lg);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.panel-title {
  font-size: 1.05rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.kpi-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.kpi-value {
  font-size: 1.65rem;
  font-weight: 800;
  color: #fff;
}

.kpi-sub {
  font-size: 0.8rem;
  color: var(--accent-turquoise);
  font-weight: 600;
}

/* Mapa de Toldos, Mesas y Barras */
.tables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 12px;
}

.table-card {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px;
  cursor: pointer;
  transition: all 0.18s ease;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.table-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-ocean);
}

.table-card.selected {
  outline: 3px solid var(--accent-ocean);
  background: var(--bg-card-hover);
}

.table-card.status-LIBRE {
  border-left: 5px solid var(--accent-emerald);
}

.table-card.status-OCUPADA {
  border-left: 5px solid var(--accent-sand);
}

.table-card.status-CUENTA_PEDIDA {
  border-left: 5px solid var(--accent-coral);
  background: rgba(244, 63, 94, 0.12);
}

/* Catálogo de Menú con Fotos Claras */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
  gap: 14px;
}

.menu-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.menu-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-turquoise);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.menu-img-wrap {
  height: 135px;
  width: 100%;
  position: relative;
  background: #0f172a;
  overflow: hidden;
}

.menu-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.station-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  backdrop-filter: blur(6px);
}

.station-COCINA { background: rgba(245, 158, 11, 0.9); }
.station-BAR_1 { background: rgba(20, 184, 166, 0.9); }
.station-BAR_2 { background: rgba(14, 165, 233, 0.9); }

.price-tag {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(11, 19, 32, 0.92);
  border: 1px solid var(--accent-turquoise);
  color: #fff;
  padding: 3px 9px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.88rem;
}

.menu-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.menu-title {
  font-weight: 700;
  font-size: 0.94rem;
  color: #fff;
}

.menu-desc {
  font-size: 0.77rem;
  color: var(--text-muted);
  flex: 1;
}

/* Botones y Controles */
.btn {
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.16s ease;
}

.btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-ocean), var(--accent-turquoise));
  color: #fff;
}

.btn-success {
  background: var(--accent-emerald);
  color: #052e16;
}

.btn-warning {
  background: var(--accent-sand);
  color: #1e1b18;
}

.btn-danger {
  background: var(--accent-coral);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.btn-outline:hover {
  background: var(--bg-card-hover);
}

.btn-sm {
  padding: 5px 10px;
  font-size: 0.76rem;
}

/* Tablas Administrativas y de Inventario */
.table-wrap {
  overflow-x: auto;
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

table.data-table th,
table.data-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

table.data-table th {
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.74rem;
  background: rgba(15, 23, 42, 0.5);
}

/* Interruptores (Switches) del Menú de Instalador / Gerencia */
.policy-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.switch-toggle {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
  flex-shrink: 0;
}

.switch-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #334155;
  transition: 0.25s;
  border-radius: 999px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.25s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--accent-emerald);
}

input:checked + .slider:before {
  transform: translateX(24px);
}

/* Formularios y Modales */
input[type="text"],
input[type="number"],
input[type="password"],
select,
textarea {
  background: #0f172a;
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  width: 100%;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 9, 18, 0.82);
  backdrop-filter: blur(5px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-box {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 620px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 20px;
  box-shadow: var(--shadow-lg);
}

/* Ticket Térmico 80mm Preview */
.thermal-ticket {
  background: #fffdf7;
  color: #111827;
  font-family: 'Courier New', Courier, monospace;
  padding: 14px;
  border-radius: 6px;
  width: 100%;
  max-width: 310px;
  font-size: 0.8rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  border-top: 5px dashed #94a3b8;
  border-bottom: 5px dashed #94a3b8;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #0f172a;
  border-left: 5px solid var(--accent-turquoise);
  color: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  font-size: 0.86rem;
  max-width: 380px;
}

/* ============================================================================
   DISEÑO 100% RESPONSIVE MULTI-DISPOSITIVO Y ERGONOMÍA DE 1-TOQUE (MESONEROS)
   ============================================================================ */

/* Tira horizontal deslizable de Toldos/Mesas en 1 toque */
.quick-tables-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 2px 10px 2px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.quick-table-chip {
  flex-shrink: 0;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 8px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--text-main);
  transition: all 0.15s ease;
}

.quick-table-chip.active {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.35), rgba(20, 184, 166, 0.3));
  border-color: var(--accent-ocean);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.35);
}

/* Controles de 1-Toque sobre cada tarjeta del Menú */
.one-tap-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.btn-one-tap {
  flex: 1;
  min-height: 44px;
  background: linear-gradient(135deg, var(--accent-emerald), #059669);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.28);
}

.btn-one-tap:active {
  transform: scale(0.96);
}

.qty-stepper-inline {
  display: inline-flex;
  align-items: center;
  background: #0f172a;
  border: 1px solid var(--accent-emerald);
  border-radius: 10px;
  overflow: hidden;
  min-height: 44px;
}

.qty-stepper-inline button {
  width: 38px;
  height: 44px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 900;
  cursor: pointer;
}

.qty-stepper-inline span {
  padding: 0 10px;
  font-weight: 900;
  color: #34d399;
  font-size: 0.95rem;
}

/* Teclado Numérico Táctil Gigante (Touch PinPad con Auto-Envío al 4to Dígito) */
.touch-pinpad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 310px;
  margin: 12px auto;
}

.pinpad-key {
  height: 62px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.12s ease;
}

.pinpad-key:hover, .pinpad-key:active {
  background: var(--accent-ocean);
  border-color: transparent;
  transform: scale(0.97);
}

.touch-pinpad-grid.compact {
  gap: 6px;
  max-width: 280px;
  margin: 6px auto 8px auto;
}

.touch-pinpad-grid.compact .pinpad-key {
  height: 42px;
  border-radius: 9px;
  font-size: 1.08rem;
}

/* Barra Inferior Fija para el Pulgar en Tablets y Móviles (Sticky Thumb Dock) */
.sticky-thumb-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  background: rgba(11, 19, 32, 0.96);
  backdrop-filter: blur(12px);
  border-top: 2px solid var(--accent-turquoise);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.55);
}

body {
  padding-bottom: 78px;
}

/* Adaptación Responsive para Tablets y Teléfonos Móviles */
@media (max-width: 960px) {
  .topbar {
    padding: 8px 12px;
  }
  .main-container {
    padding: 10px;
  }
  .menu-grid {
    grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
    gap: 10px;
  }
  .menu-img-wrap {
    height: 110px;
  }
  .btn {
    min-height: 44px;
  }
}

@media (max-width: 560px) {
  .brand-title {
    font-size: 0.98rem;
  }
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .tables-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .sticky-thumb-dock {
    flex-wrap: wrap;
    padding: 8px 10px;
  }
}

/* ============================================================================
 * CENTRO DE MANDO DE ALTO NIVEL (BARRA LATERAL IZQUIERDA UNIFICADA + ÁREA CENTRAL AUTO-ESCALABLE)
 * ============================================================================ */
.executive-workspace-layout {
  display: flex;
  align-items: flex-start;
  gap: var(--frame-gap);
  width: 100%;
  min-height: calc(100vh - 90px);
}

.executive-left-sidebar {
  width: var(--sidebar-width);
  min-width: var(--sidebar-width);
  max-width: 340px;
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: clamp(9px, 0.9vw, 13px);
  padding-bottom: 16px;
  position: sticky;
  top: 66px;
  max-height: calc(100vh - 84px);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(56, 189, 248, 0.45) rgba(15, 23, 42, 0.6);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 0.65vw, 9px);
}

.executive-left-sidebar::-webkit-scrollbar {
  width: 6px;
}

.executive-left-sidebar::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
  border-radius: 6px;
}

.executive-left-sidebar::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.45);
  border-radius: 6px;
}

.executive-left-sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(56, 189, 248, 0.75);
}

.exec-sidebar-header {
  flex-shrink: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.exec-sidebar-title {
  font-size: clamp(0.8rem, 0.88vw, 0.9rem);
  font-weight: 900;
  color: #38bdf8;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  line-height: 1.2;
}

.exec-sidebar-subtitle {
  font-size: clamp(0.68rem, 0.72vw, 0.74rem);
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.25;
}

.exec-nav-group {
  flex-shrink: 0;
  background: rgba(11, 19, 32, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 9px;
  overflow: visible;
}

.exec-nav-group-header {
  width: 100%;
  background: transparent;
  border: none;
  color: #e2e8f0;
  padding: clamp(7px, 0.65vw, 9px) clamp(8px, 0.8vw, 11px);
  font-size: clamp(0.75rem, 0.8vw, 0.82rem);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease;
  line-height: 1.2;
}

.exec-nav-group-header:hover {
  background: rgba(56, 189, 248, 0.08);
}

.exec-nav-submenu {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 4px 6px 6px 6px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.exec-nav-item {
  flex-shrink: 0;
  width: 100%;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: clamp(6px, 0.55vw, 8px) clamp(7px, 0.7vw, 10px);
  border-radius: 7px;
  font-size: clamp(0.73rem, 0.78vw, 0.8rem);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
  line-height: 1.22;
}

.exec-nav-item:hover {
  background: var(--bg-card-hover);
  color: #fff;
}

.exec-nav-item.active {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.28), rgba(20, 184, 166, 0.25));
  border-color: #38bdf8;
  color: #fff;
  font-weight: 800;
}

.executive-center-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--frame-gap);
}

@media (max-width: 960px) {
  .executive-workspace-layout {
    flex-direction: column;
  }
  .executive-left-sidebar {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    position: static;
    max-height: none;
  }
}
