/* URSA Cloud — shared visual system. Keep telemetry and A4 geometry in style.css. */
:root {
  --bg-body: #ffffff;
  --bg-subtle: #ffffff;
  --bg-hover: #f8fafc;
  --graphite-950: #17212b;
  --border-card: #e1e5ea;
  --border-subtle: #edf0f3;
  --shadow-card: 0 4px 20px #17212b06;
  --shadow-card-hover: 0 10px 30px #17212b0e;
}
html {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  height: auto !important;
}
body {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #263341;
  -webkit-font-smoothing: antialiased;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  min-height: 100vh !important;
  height: auto !important;
}
.app-layout {
  background: #ffffff !important;
  background-color: #ffffff !important;
  overflow: visible !important;
  min-height: 100vh !important;
  height: auto !important;
}
.app-main-wrapper, #appMainWrapper {
  background: #F6F8FA !important;
  background-color: #F6F8FA !important;
  overflow-y: visible !important;
  height: auto !important;
  padding: 12px 22px 28px;
}
.workspace-toolbar { border: 1px solid #dce3e9; border-radius: 16px; background: #fff; box-shadow: 0 3px 12px #17212b05; }
.workspace-toolbar > :last-child { border-radius: 0 0 16px 16px; }
.app-sidebar { background: #171c23; height: 100dvh; }
.sidebar-nav { overflow-y: auto; min-height: 0; }
.sidebar-nav-item { min-height: 44px; border-radius: 10px; }
.sidebar-nav-item.active { background: rgba(255, 255, 255, 0.14) !important; color: #ffffff !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16) !important; }
.sidebar-nav-item.active .sidebar-item-icon { color: #ffffff !important; }
.solar-hero-banner { height: 76px; min-height: 76px; max-height: none; border: 0; border-radius: 15px 15px 0 0; background: #1d2834; box-shadow: none; margin: 0; padding: 12px 18px; }
.solar-hero-banner::before { background: linear-gradient(90deg, #17212bf2, #17212bc9 60%, #17212b70), url('../img/solar_andes_banner.jpg') center 55% / cover; opacity: 1; }
.solar-hero-banner::after { display: none; }
.hero-brand-title { letter-spacing: -.045em; }
.hero-brand-subtitle { color: #d3dce5; font-size: 12px; }
.hero-solar-icon { background: white; border-radius: 10px; box-shadow: none; width: 42px; height: 42px; padding: 4px; animation: none; filter: none; }
.hero-solar-icon img { width: 100%; height: 100%; object-fit: contain; }
.hero-kpi-val { font-variant-numeric: tabular-nums; }
.app-header { padding: 6px 6px 6px 16px; min-height: 40px; margin: 0; background: #f8fafc; box-shadow: none; border: 0; border-bottom: 1px solid #e8edf1; border-radius: 0; gap: 8px; flex-wrap: wrap; }
.header-status-group { flex-wrap: wrap; gap: 8px; }
.status-pill { background: transparent; border: 0; box-shadow: none; padding: 3px 6px; font-size: 11px; }
.device-selector-bar { background: #fff; border: 0; border-radius: 0; padding: 9px 16px; margin: 0; min-height: 54px; box-shadow: none; flex-wrap: wrap; gap: 10px; }
.selector-left { flex-wrap: wrap; gap: 14px; min-width: 0; }
.device-selector-bar .select-wrapper select { min-height: 36px; height: 36px; font-size: 12px; }
.solar-intelligence-strip { width: 100% !important; max-width: 100% !important; padding: 10px 16px !important; margin: 0 0 16px 0 !important; border: 1px solid #e2e8f0 !important; border-radius: 14px !important; background: #ffffff !important; box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03), 0 1px 2px rgba(15, 23, 42, 0.02) !important; box-sizing: border-box !important; display: flex !important; align-items: center !important; overflow-x: auto !important; scrollbar-width: none !important; }
.solar-intelligence-strip::-webkit-scrollbar { display: none !important; }
.solar-intelligence-strip .intel-group-left { display: flex !important; align-items: center !important; gap: 8px !important; flex-wrap: nowrap !important; white-space: nowrap !important; width: auto !important; }
.energy-distribution-section { margin-top: 16px; margin-bottom: 16px !important; }
.intel-pill { box-shadow: none; font-size: 11px; border-radius: 7px; }
.selector-label, .form-label { color: #586675; font-weight: 600; }
.select-wrapper select, .form-control { border-radius: 10px; border-color: #dce1e7; background-color: #fbfcfd; min-height: 42px; }
.workspace-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px auto 10px; max-width: 1380px; }
.workspace-eyebrow { color: #866020; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 7px; }
.workspace-heading h2 { font: 600 20px/1.2 var(--font-heading); letter-spacing: -.025em; color: #17212b; margin: 0; }
.workspace-heading p:last-child { color: #657383; margin: 7px 0 0; font-size: 13px; }
.workspace-report-button { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #dce1e7; border-radius: 8px; padding: 7px 12px; background: white; color: #263341; font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.hero-telemetry-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hero-card { border: 1px solid #e1e5ea !important; border-radius: 16px !important; box-shadow: var(--shadow-card) !important; background: #fff !important; }
.hero-card:hover { box-shadow: var(--shadow-card-hover) !important; }
.hero-card::before { opacity: .7; }
.hero-val-huge { letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.energy-distribution-section { margin-top: 16px; }
.distribution-header-bar { flex-wrap: wrap; gap: 12px; margin-bottom: 10px; padding: 10px 16px; border-radius: 12px; box-shadow: none; }
.chart-title-mono { letter-spacing: -.02em; font-weight: 600; }
.card-desc-mono { line-height: 1.6; }
.view-mode-pill-group, .chart-filters-mono { border-radius: 10px; background: #e9edf1; padding: 4px; }
.view-pill-btn, .chart-filter-btn { min-height: 36px; border-radius: 8px; }
.logical-card { border: 1px solid #e1e5ea; border-radius: 14px; box-shadow: var(--shadow-card); padding: 12px; margin-bottom: 16px; }
.logical-canvas-wrapper { background: radial-gradient(circle, #d7dfe6 1px, transparent 1px) 0 0 / 20px 20px, #fafbfd; }
.logical-node-box { border-color: #e1e5ea; box-shadow: 0 5px 16px #17212b09; }
.logical-node-box:not(.node-inverter) { width: 165px; height: 165px; justify-content: center; box-sizing: border-box; }
.chart-card-mono, .table-card-mono { border-radius: 18px; border-color: #e1e5ea; box-shadow: var(--shadow-card); }
.chart-header-mono { gap: 12px; flex-wrap: wrap; }
.charts-grid-mono { gap: 16px; margin-bottom: 16px; }
.table-responsive-mono table th { background: #f6f8fa; color: #657383; font-size: 11px; letter-spacing: .04em; }
.table-responsive-mono table td { border-bottom-color: #edf0f3; }
.table-responsive-mono table tbody tr:hover { background: #fafbfd; }
.btn { border-radius: 10px; min-height: 40px; }
.btn-primary { background: #243444; border-color: #243444; }
.modal-backdrop { backdrop-filter: blur(6px); }
.modal-card { border-radius: 18px; box-shadow: 0 28px 90px #0e182840; max-height: calc(100dvh - 32px) !important; }
.modal-header, .modal-footer { flex-shrink: 0; }
.modal-body { min-height: 0; overscroll-behavior: contain; }
.modal-card > form { min-height: 0; }
.modal-close, .report-header-close-btn { min-width: 40px; min-height: 40px; }
/* Reports: roomy selectors, a quiet executive summary, fixed actions. */
#modalGenerarReporte { padding: 16px; }
.report-modal-dialog { min-width: 0; max-height: calc(100dvh - 32px); border: 0; border-radius: 20px; }
.report-modal-header { height: auto; min-height: 110px; padding: 22px 26px; background: #f8fafb; border-bottom: 1px solid #e1e5ea; flex-shrink: 0; }
.report-header-bg-photo, .report-header-script-box { display: none; }
.report-header-content { padding: 0; gap: 24px; }
.report-header-main-title { color: #17212b; font-size: 23px; letter-spacing: -.03em; }
.report-header-sub-title { color: #946410; letter-spacing: .04em; }
.report-header-desc { color: #657383; }
.report-modal-body { padding: 24px 26px; background: #fff; min-height: 0; overflow-y: auto; }
.report-modal-body { display: flex; flex-direction: column; }
.report-modal-body > * { flex-shrink: 0; }
.report-benefits-panel { order: 1; }
.report-system-summary-bar { order: 2; margin-top: 16px; }
.report-admin-accordion-box { order: 3; }
.modal-form-fixed { min-height: 0; }
.report-selectors-row { display: grid; grid-template-columns: minmax(0, 350fr) minmax(0, 320fr) minmax(0, 290fr); gap: 16px; }
#reportProjectGroup, #reportClientFixedProject, #reportDeviceGroup, #reportPeriodGroup { width: 100%; min-width: 0; }
.report-select-card, .report-select-input-wrapper { min-width: 0; }
.report-select-control { min-height: 48px; font-size: 13px; text-overflow: clip; }
.report-select-input-combo { border-radius: 10px; box-shadow: none; background: #fafbfd; }
.report-system-summary-bar { background: #f7f9fb; border: 1px solid #e6eaef; border-radius: 12px; }
.report-benefits-panel { background: #fff; border: 0; padding: 20px 0 4px; box-shadow: none; }
.report-benefits-title { color: #17212b; font-size: 16px; }
.report-kpi-cards-grid { gap: 12px; }
.report-kpi-figma-card { border: 1px solid #e1e5ea; border-radius: 12px; box-shadow: none; background: #fff; padding: 18px 14px; }
.report-kpi-value { font-size: 20px; font-variant-numeric: tabular-nums; letter-spacing: -.025em; }
.report-kpi-label { font-size: 11.5px; }
.report-kpi-circle-icon { width: 34px; height: 34px; flex-shrink: 0; }
.report-admin-accordion-box { border-radius: 12px; box-shadow: none; }
.report-modal-actions-bar { border-top: 1px solid #e1e5ea; background: #f8fafb; padding: 14px 26px; flex-shrink: 0; }
.report-btn-action, .report-btn-cancel { min-height: 42px; border-radius: 9px; }
.report-btn-download-pdf { background: #243444; box-shadow: none; }
.report-modal-footer { padding: 10px 26px; background: #f8fafb; }
/* The printed document has its own palette and never inherits mobile reflow. */
.pdf-document { --azul-corporativo: #243444; --azul-marino: #17212b; --azul-secundario: #526b83; --azul-claro: #edf2f6; --gris-borde: #e0e5ea; --amarillo-solar: #efb341; }
.pdf-document .header-col-right, .pdf-document .brand-strip, .pdf-document .official-footer { background: #243444; }
.pdf-document .info-card { border-radius: 8px; box-shadow: none; }
.pdf-document .header-three-col { border-bottom: 3px solid #efb341; padding-bottom: 8px; }
.pdf-document .kpi-main-card { background: #fff; border: 1px solid #e0e5ea; border-top: 3px solid #526b83; border-radius: 8px; }
.pdf-document .kpi-main-card.green-bg { border-top-color: #08955f; }
.pdf-document .kpi-main-card.yellow-bg { border-top-color: #efb341; }
.pdf-document .kpi-main-card.purple-bg { border-top-color: #7950b8; }
.pdf-document .impact-panel { background: #f1f8f5; border-color: #d4e7de; }
.pdf-document .section-title { letter-spacing: .045em; }
.pdf-document .kpi-big-num { letter-spacing: -.03em; }
/* Sign in handled by style.css */
@media (max-width: 1180px) {
  .hero-telemetry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .hero-banner-right { gap: 14px !important; }
  .hero-banner-left > div:last-child, .hero-banner-left > div[style*='width: 1px'] { display: none !important; }
  .charts-grid-mono { grid-template-columns: 1fr; }
  .report-kpi-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report-system-summary-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .app-main-wrapper { padding: 8px 10px 24px !important; }
  .app-sidebar { height: 100dvh !important; }
  .btn-mobile-sidebar-toggle { display: inline-flex; min-width: 40px; min-height: 40px; }
  .solar-hero-banner { height: auto; min-height: 72px; padding: 10px 12px; gap: 8px; flex-direction: row; align-items: center; }
  .hero-banner-left { gap: 8px; min-width: 0; flex-shrink: 1; }
  .hero-banner-right { display: none !important; }
  .hero-banner-right > div[style*='width:1px'] { display: none; }
  .hero-kpi-chip { min-width: 0 !important; }
  .hero-brand-title { font-size: 19px; white-space: nowrap; }
  .hero-brand-subtitle { font-size: 9px; line-height: 1.35; }
  .hero-brand-text { min-width: 0; }
  .hero-solar-icon { width: 36px; height: 36px; flex-shrink: 0; }
  .app-header { align-items: center; padding: 6px 10px; gap: 4px; }
  .header-status-group { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 8px; padding: 0; overflow: visible; white-space: normal; }
  .status-pill { height: auto; min-height: 24px; padding: 2px 0; font-size: 10px; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
  .header-user-corner { margin-left: auto; width: auto !important; min-height: 32px; justify-content: flex-end !important; }
  .solar-intelligence-strip, .intel-group-left, .intel-group-right { flex-wrap: wrap !important; width: 100%; }
  .solar-intelligence-strip { padding: 6px 10px; }
  .intel-group-left { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
  .intel-pill { white-space: normal !important; max-width: 100%; min-width: 0; flex-wrap: wrap; line-height: 1.3; font-size: 10px; padding: 5px 6px; gap: 4px; }
  .intel-pill > span { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
  .intel-pill svg { width: 13px; height: 13px; flex-shrink: 0; }
  .device-selector-bar { padding: 8px 10px !important; margin: 0; }
  .selector-left { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 10px !important; width: 100%; }
  .selector-left > div { width: 100%; min-width: 0; flex-wrap: wrap; gap: 3px !important; }
  .selector-left .selector-label { width: 100%; font-size: 10px; }
  .selector-left .select-wrapper { width: 100%; flex-basis: 70%; }
  .selector-left > .device-badge { grid-column: 1 / -1; width: auto; justify-self: start; padding: 3px 6px; font-size: 10px; margin: 0; background: #f2f5f8; border: 0; }
  .device-selector-bar .select-wrapper select { font-size: 16px; height: 40px; }
  .select-wrapper { flex: 1; min-width: 0; }
  .select-wrapper select { width: 100%; min-width: 0 !important; max-width: 100%; }
  .workspace-heading { align-items: center; margin: 10px auto 8px; }
  .workspace-heading h2 { font-size: 19px; }
  .workspace-report-button { padding: 9px; min-height: 40px; }
  .workspace-report-button span { display: none; }
  .distribution-header-bar { align-items: start; }
  .distribution-header-bar .chart-title-mono { font-size: 18px !important; }
  .view-mode-pill-group { width: 100%; display: flex; }
  .view-pill-btn { flex: 1; justify-content: center; padding: 8px; font-size: 12px; }
  .chart-header-mono > div { flex-wrap: wrap; gap: 12px; }
  .chart-filters-mono { display: flex; flex-wrap: wrap; }
  .logical-card { padding: 8px; }
  .modal-backdrop { padding: 10px !important; }
  .modal-card, .report-modal-dialog { width: 100% !important; min-width: 0 !important; max-width: 100% !important; max-height: calc(100dvh - 20px) !important; }
  .modal-header, .modal-body, .modal-footer { padding: 16px !important; }
  .modal-header h3 { font-size: 17px !important; }
  .modal-body :is(input, select, textarea), .login-card input { font-size: 16px !important; }
  .modal-body .form-row { grid-template-columns: 1fr !important; flex-wrap: wrap; }
  .modal-body [style*='grid-template-columns'] { grid-template-columns: 1fr !important; }
  .modal-body .form-group { min-width: 0; }
  .modal-body [style*='min-width: 280px'] { min-width: 0 !important; width: 100%; }
  .modal-footer { flex-wrap: wrap; gap: 8px; }
  .report-modal-header { min-height: 0; padding: 16px; }
  .report-header-content { flex-direction: row; flex-wrap: wrap; gap: 12px; padding-right: 32px; }
  .report-header-brand-logo { width: 45px; height: 45px; }
  .report-header-main-title { font-size: 19px; }
  .report-header-desc, .report-header-sub-title, .report-header-divider-v { display: none; }
  .report-header-brand-name { font-size: 16px; }
  .report-modal-body { padding: 16px; }
  .report-selectors-row { grid-template-columns: 1fr; gap: 12px; }
  .report-select-control { font-size: 16px; }
  .report-system-summary-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report-summary-item { min-width: 0; overflow-wrap: anywhere; }
  .report-benefits-header { flex-wrap: wrap; gap: 10px; }
  .report-kpi-cards-grid { grid-template-columns: 1fr; }
  .report-kpi-figma-card { padding: 16px; }
  .report-modal-actions-bar { padding: 10px 14px; gap: 8px; flex-direction: row; flex-wrap: wrap; }
  .report-actions-right { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; width: 100%; }
  .report-btn-cancel { width: auto; padding: 4px 10px; min-height: 32px; }
  .report-actions-right .report-btn-action { min-width: 0; padding: 8px 4px; font-size: 10px; flex-direction: column; gap: 5px; white-space: normal; }
  .report-actions-right .report-btn-action svg { width: 16px; height: 16px; flex-shrink: 0; }
  .report-btn-download-pdf svg:last-child { display: none; }
  .report-modal-footer { display: none; }
  .report-admin-header-left { flex-wrap: wrap; }
  .report-admin-subtitle { display: none; }
  .clients-table-container table, .clients-table-container tbody { display: block; width: 100%; min-width: 0 !important; }
  .clients-table-container thead { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
  .clients-table-container tbody tr { display: block; border: 1px solid #e1e5ea; border-radius: 12px; margin: 0 0 12px; padding: 8px; }
  .clients-table-container tbody td { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; width: 100%; white-space: normal !important; padding: 8px !important; overflow-wrap: anywhere; }
  .clients-table-container tbody td[data-label]::before { content: attr(data-label); color: #657383; font-size: 11px; font-weight: 600; min-width: 82px; }
  .clients-table-container td > div { flex-wrap: wrap; max-width: 100%; }
  .clients-table-container .client-device-badge { white-space: normal; }
  .table-responsive-mono:not(.clients-table-container) { overflow-x: auto; }
  .login-card { padding: 28px 24px; margin: auto; }
}
@media (max-width: 480px) {
  .hero-telemetry-grid { grid-template-columns: 1fr !important; }
  .hero-banner-right .hero-kpi-chip:last-child { display: none; }
  .report-system-summary-bar { grid-template-columns: 1fr; }
  .notification-flyout { position: fixed !important; left: 12px !important; right: 12px !important; width: auto !important; max-width: calc(100vw - 24px) !important; }
}
@media (max-width: 360px) {
  .hero-brand-title { font-size: 16px; }
  .hero-brand-subtitle { font-size: 8px; }
  .hero-solar-icon { width: 30px; height: 30px; }
}
@media (max-width: 640px) {
  .logical-node-box:not(.node-inverter) { width: 104px; height: 148px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .skip-link { display: none !important; }
  .pdf-document { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}


/* Campana de notificaciones al extremo derecho de la barra */
.app-header { padding-right: 6px !important; }
.header-user-corner { margin-left: auto !important; margin-right: 0 !important; padding-right: 0 !important; display: flex !important; align-items: center !important; justify-content: flex-end !important; gap: 0 !important; width: auto !important; }
.header-user-pill#headerUserCornerCard { display: none !important; }
.notification-bell-container { margin: 0 !important; display: inline-flex !important; }
.btn-notification-bell { width: 34px !important; height: 34px !important; border-radius: 50% !important; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important; }



/* Estilo del botón Generar Informe dentro del Cintillo Inteligente */
.solar-intelligence-strip { justify-content: space-between !important; gap: 12px !important; }
.solar-intelligence-strip .workspace-report-button,
.intel-strip-report-btn {
  margin-left: auto !important;
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  border: 1px solid #dce1e7 !important;
  border-radius: 8px !important;
  padding: 6px 12px !important;
  background: #ffffff !important;
  color: #17212b !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.solar-intelligence-strip .workspace-report-button:hover,
.intel-strip-report-btn:hover {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.08) !important;
}

.solar-intelligence-strip .workspace-report-button:active,
.intel-strip-report-btn:active {
  transform: translateY(0) !important;
}

@media (max-width: 768px) {
  .solar-intelligence-strip .workspace-report-button {
    width: 100% !important;
    justify-content: center !important;
    margin-left: 0 !important;
    margin-top: 6px !important;
    min-height: 38px !important;
  }
  .solar-intelligence-strip .workspace-report-button span {
    display: inline !important;
  }
}



/* ==============================================================
   MENÚ LATERAL: REDISEÑO ORDENADO, ELEGANTE Y PULCRO
   ============================================================== */
.app-sidebar {
  background: #11161f !important;
  border-right: 1px solid rgba(255, 255, 255, 0.07) !important;
}

.sidebar-header {
  min-height: 48px !important;
  padding: 10px 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.sidebar-brand {
  display: none !important;
}

.btn-sidebar-toggle {
  width: 28px !important;
  height: 28px !important;
  border-radius: 6px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #94a3b8 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.btn-sidebar-toggle:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}

.app-sidebar.collapsed .sidebar-header {
  justify-content: center !important;
  padding: 10px 0 !important;
}

.sidebar-nav {
  padding: 6px 8px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

.sidebar-group-label {
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #64748b !important;
  padding: 12px 10px 4px 10px !important;
  margin-top: 4px !important;
  white-space: nowrap !important;
  user-select: none !important;
}

.sidebar-group-label:not(:first-child) {
  border-top: 1px solid rgba(255, 255, 255, 0.04) !important;
  padding-top: 12px !important;
  margin-top: 6px !important;
}

.sidebar-nav-item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 38px !important;
  padding: 7px 10px !important;
  margin: 1px 0 !important;
  border-radius: 8px !important;
  color: #94a3b8 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  background: transparent !important;
  border: none !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.sidebar-nav-item:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #f1f5f9 !important;
}

.sidebar-nav-item.active {
  background: rgba(255, 255, 255, 0.11) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14) !important;
}

.sidebar-item-icon {
  width: 20px !important;
  height: 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  color: #64748b !important;
  transition: color 0.15s ease !important;
}

.sidebar-item-icon svg {
  width: 17px !important;
  height: 17px !important;
}

.sidebar-nav-item:hover .sidebar-item-icon,
.sidebar-nav-item.active .sidebar-item-icon {
  color: #ffffff !important;
}

.sidebar-item-label {
  flex: 1 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.sidebar-item-dot.dot-live {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #10b981 !important;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6) !important;
  margin-left: auto !important;
  flex-shrink: 0 !important;
}

.sidebar-footer {
  margin-top: auto !important;
  padding: 8px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  background: rgba(0, 0, 0, 0.12) !important;
}

.sidebar-user-card {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 8px 10px !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.sidebar-user-avatar {
  width: 30px !important;
  height: 30px !important;
  border-radius: 7px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.sidebar-user-info {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  flex: 1 !important;
}

.sidebar-user-name {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  line-height: 1.2 !important;
}

.sidebar-user-role {
  font-size: 10px !important;
  color: #64748b !important;
  line-height: 1.2 !important;
}

.btn-sidebar-logout {
  width: 28px !important;
  height: 28px !important;
  border-radius: 6px !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  color: #64748b !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  flex-shrink: 0 !important;
}

.btn-sidebar-logout:hover {
  background: rgba(239, 68, 68, 0.12) !important;
  border-color: rgba(239, 68, 68, 0.25) !important;
  color: #f87171 !important;
}

/* Chip de Modelo de Inversor en la barra superior */
#pillDeviceModel {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 3px 6px !important;
  font-size: 11px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  color: #334155 !important;
}

#pillDeviceModel strong {
  font-family: var(--font-mono) !important;
  color: #0f172a !important;
  font-weight: 700 !important;
}



/* Información de flota y métricas del banner exclusiva para administradores */
body.is-client .hero-banner-right,
body.is-client #heroBannerRight,
body.is-client #heroBannerVersionBadge {
  display: none !important;
}



/* Ocultar definitivamente insignia numérica de Mis Alertas */
#sideNavClientAlertBadge,
.bell-badge#sideNavClientAlertBadge {
  display: none !important;
}



/* Texto URSA SOLAR en blanco en el encabezado del menú */
.sidebar-header {
  justify-content: space-between !important;
}

.sidebar-title-text {
  font-family: var(--font-heading, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  color: #ffffff !important;
  white-space: nowrap !important;
  user-select: none !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
}

.app-sidebar.collapsed .sidebar-title-text {
  display: none !important;
}

.app-sidebar.collapsed .sidebar-header {
  justify-content: center !important;
  padding: 10px 0 !important;
}



/* ==============================================================
   DISEÑO PREMIUM DEL MENÚ LATERAL (URSA SOLAR)
   ============================================================== */
.app-sidebar {
  background: #0d121a !important;
  border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.35) !important;
}

/* Encabezado del menú: URSA SOLAR en blanco puro, elegante y espaciado */
.sidebar-header {
  min-height: 56px !important;
  padding: 0 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%) !important;
}

.sidebar-brand-clean,
.sidebar-title-text {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 7px !important;
  user-select: none !important;
}

.brand-text-ursa {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", sans-serif !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
}

.brand-text-solar {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.16em !important;
  color: rgba(255, 255, 255, 0.88) !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
}

/* Botón colapsable moderno con micro-interacción */
.btn-sidebar-toggle {
  width: 30px !important;
  height: 30px !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #94a3b8 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
  flex-shrink: 0 !important;
  padding: 0 !important;
}

.btn-sidebar-toggle:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  transform: scale(1.05) !important;
}

/* Estado cuando la barra está colapsada */
.app-sidebar.collapsed .sidebar-brand-clean,
.app-sidebar.collapsed .sidebar-title-text {
  display: none !important;
}

.app-sidebar.collapsed .sidebar-header {
  justify-content: center !important;
  padding: 12px 0 !important;
}

/* Contenedor de navegación */
.sidebar-nav {
  padding: 8px 10px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
}

/* Categorías ordenadas con tipografía nítida y separadores limpios */
.sidebar-group-label {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", sans-serif !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #64748b !important;
  padding: 12px 10px 4px 10px !important;
  margin-top: 4px !important;
  white-space: nowrap !important;
  user-select: none !important;
}

.sidebar-group-label:not(:first-child) {
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  padding-top: 12px !important;
  margin-top: 6px !important;
}

/* Ítems del menú con interacción y alineación pulcra */
.sidebar-nav-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 40px !important;
  padding: 8px 12px !important;
  margin: 1px 0 !important;
  border-radius: 9px !important;
  color: #94a3b8 !important;
  font-family: inherit !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  background: transparent !important;
  border: none !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1) !important;
  width: 100% !important;
  box-sizing: border-box !important;
  text-align: left !important;
}

.sidebar-nav-item:hover {
  background: rgba(255, 255, 255, 0.07) !important;
  color: #ffffff !important;
  transform: translateX(2px) !important;
}

/* Ítem activo (Dashboard): elegante, luminoso y sutil */
.sidebar-nav-item.active {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 2px 8px rgba(0, 0, 0, 0.18) !important;
}

/* Iconos de tamaño consistente y alineados al pixel */
.sidebar-item-icon {
  width: 20px !important;
  height: 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  color: #64748b !important;
  transition: color 0.15s ease !important;
}

.sidebar-item-icon svg {
  width: 18px !important;
  height: 18px !important;
  stroke-width: 2 !important;
}

.sidebar-nav-item:hover .sidebar-item-icon,
.sidebar-nav-item.active .sidebar-item-icon {
  color: #ffffff !important;
}

.sidebar-item-label {
  flex: 1 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Punto indicador en vivo (Dashboard) con pulso esmeralda */
.sidebar-item-dot.dot-live {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #10b981 !important;
  box-shadow: 0 0 8px #10b981, 0 0 16px rgba(16, 185, 129, 0.4) !important;
  margin-left: auto !important;
  flex-shrink: 0 !important;
}

/* Pie de menú (Perfil de usuario) */
.sidebar-footer {
  margin-top: auto !important;
  padding: 10px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  background: rgba(0, 0, 0, 0.18) !important;
}

.sidebar-user-card {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 8px 10px !important;
  border-radius: 9px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  transition: all 0.15s ease !important;
}

.sidebar-user-card:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

.sidebar-user-avatar {
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06)) !important;
  color: #ffffff !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12) !important;
}

.sidebar-user-info {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  flex: 1 !important;
  gap: 1px !important;
}

.sidebar-user-name {
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.sidebar-user-role {
  font-size: 10px !important;
  color: #64748b !important;
  line-height: 1.2 !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.btn-sidebar-logout {
  width: 28px !important;
  height: 28px !important;
  border-radius: 7px !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  color: #64748b !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  flex-shrink: 0 !important;
}

.btn-sidebar-logout:hover {
  background: rgba(239, 68, 68, 0.15) !important;
  border-color: rgba(239, 68, 68, 0.3) !important;
  color: #f87171 !important;
}



/* Centrar URSA SOLAR y ocultar botón colapsable */
.btn-sidebar-toggle {
  display: none !important;
}

.sidebar-header {
  min-height: 56px !important;
  padding: 14px 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%) !important;
}

.sidebar-brand-clean,
.sidebar-title-text {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 0 auto !important;
  user-select: none !important;
  text-align: center !important;
}

.brand-text-ursa {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", sans-serif !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
}

.brand-text-solar {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.16em !important;
  color: rgba(255, 255, 255, 0.9) !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
}



/* Centrar URSA SOLAR y ocultar botón colapsable */
.btn-sidebar-toggle {
  display: none !important;
}

.sidebar-header {
  min-height: 56px !important;
  padding: 14px 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%) !important;
}

.sidebar-brand-clean,
.sidebar-title-text {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 0 auto !important;
  user-select: none !important;
  text-align: center !important;
}

.brand-text-ursa {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", sans-serif !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
}

.brand-text-solar {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.16em !important;
  color: rgba(255, 255, 255, 0.9) !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
}



/* ==============================================================
   MENÚ LATERAL: EXPANDIDO POR DEFECTO Y CENTRADO ELEGANTE
   ============================================================== */
.app-sidebar {
  width: 250px !important;
  min-width: 250px !important;
  transition: width 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), min-width 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

.app-sidebar.collapsed {
  width: 68px !important;
  min-width: 68px !important;
}

.sidebar-header {
  cursor: pointer !important;
  user-select: none !important;
  min-height: 56px !important;
  padding: 14px 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.sidebar-brand-clean {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.brand-text-ursa {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", sans-serif !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
}

.brand-text-solar {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.16em !important;
  color: rgba(255, 255, 255, 0.9) !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
}



/* ==============================================================
   REDISEÑO DE MENÚ LATERAL: BOTÓN 3 PUNTITOS Y PUNTITOS DE ESTADO
   ============================================================== */
.app-sidebar {
  width: 250px !important;
  min-width: 250px !important;
  transition: width 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), min-width 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

.app-sidebar.collapsed {
  width: 68px !important;
  min-width: 68px !important;
}

.sidebar-header {
  position: relative !important;
  min-height: 56px !important;
  padding: 12px 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%) !important;
  user-select: none !important;
}

.sidebar-brand-clean {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  text-align: center !important;
  margin: 0 auto !important;
  transition: opacity 0.2s ease, transform 0.2s ease !important;
}

.brand-text-ursa {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", sans-serif !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
}

.brand-text-solar {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.16em !important;
  color: rgba(255, 255, 255, 0.9) !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
}

/* Botón elegante de 3 puntitos para ocultar / mostrar el menú */
.btn-sidebar-dots-toggle {
  position: absolute !important;
  right: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  color: #94a3b8 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  padding: 0 !important;
  z-index: 10 !important;
}

.btn-sidebar-dots-toggle:hover {
  background: rgba(255, 255, 255, 0.13) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35) !important;
  transform: translateY(-50%) scale(1.05) !important;
}

.btn-sidebar-dots-toggle:active {
  transform: translateY(-50%) scale(0.95) !important;
}

/* Estado Colapsado / Oculto */
.app-sidebar.collapsed .sidebar-header {
  padding: 12px 0 !important;
  justify-content: center !important;
}

.app-sidebar.collapsed .sidebar-brand-clean {
  display: none !important;
}

.app-sidebar.collapsed .btn-sidebar-dots-toggle {
  position: static !important;
  transform: none !important;
  margin: 0 auto !important;
}

.app-sidebar.collapsed .btn-sidebar-dots-toggle:hover {
  transform: scale(1.08) !important;
}

/* Puntitos indicadores de estado (micro-dots) */
.sidebar-item-dot {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  margin-left: auto !important;
  flex-shrink: 0 !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.sidebar-item-dot.dot-live {
  background: #10b981 !important;
  box-shadow: 0 0 8px #10b981, 0 0 14px rgba(16, 185, 129, 0.45) !important;
  animation: pulseEmerald 2.2s infinite ease-in-out !important;
}

.sidebar-item-dot.dot-ai {
  background: #38bdf8 !important;
  box-shadow: 0 0 8px #38bdf8, 0 0 14px rgba(56, 189, 248, 0.45) !important;
  animation: pulseCyan 2.4s infinite ease-in-out !important;
}

.sidebar-item-dot.dot-sofia {
  background: #22c55e !important;
  box-shadow: 0 0 8px #22c55e, 0 0 14px rgba(34, 197, 94, 0.45) !important;
  animation: pulseEmerald 2.2s infinite ease-in-out !important;
}

.sidebar-item-dot.dot-alert {
  background: #f59e0b !important;
  box-shadow: 0 0 8px #f59e0b, 0 0 14px rgba(245, 158, 11, 0.45) !important;
}

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

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

/* En modo colapsado, los puntitos se posicionan como insignia superior derecha */
.app-sidebar.collapsed .sidebar-item-dot {
  position: absolute !important;
  top: 7px !important;
  right: 7px !important;
  margin-left: 0 !important;
}

