:root {
  --sisgedo-font-sans: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --sisgedo-color-ink: #0f172a;
  --sisgedo-color-text: #1e293b;
  --sisgedo-color-text-strong: #111827;
  --sisgedo-color-muted: #64748b;
  --sisgedo-color-muted-soft: #94a3b8;
  --sisgedo-color-on-dark: #e8eef7;
  --sisgedo-color-on-dark-muted: #93a6c2;
  --sisgedo-color-on-dark-soft: #7c90ad;

  --sisgedo-color-primary: #2563eb;
  --sisgedo-color-primary-rgb: 37, 99, 235;
  --sisgedo-color-primary-strong: #1d4ed8;
  --sisgedo-color-primary-soft: #3b82f6;
  --sisgedo-color-primary-ghost: #eff6ff;

  --sisgedo-color-success: #16a34a;
  --sisgedo-color-success-ghost: #ecfdf3;
  --sisgedo-color-warning: #f97316;
  --sisgedo-color-warning-ghost: #fffbeb;
  --sisgedo-color-info: #0f766e;
  --sisgedo-color-danger: #dc2626;
  --sisgedo-color-danger-strong: #c80000;
  --sisgedo-color-info-bg: #eef5ff;
  --sisgedo-color-info-border: #dbe8ff;
  --sisgedo-color-info-title: #1e40af;
  --sisgedo-color-info-text: #3b6bd6;
  --sisgedo-color-danger-bg: #fef2f2;
  --sisgedo-color-danger-border: #fecaca;
  --sisgedo-color-danger-text: #b91c1c;

  --sisgedo-color-page: #f1f5f9;
  --sisgedo-color-page-soft: #f8fafc;
  --sisgedo-color-surface: #ffffff;
  --sisgedo-color-surface-alt: #eef2ff;
  --sisgedo-color-dark-surface: #0f1c30;
  --sisgedo-color-dark-surface-2: #13233b;
  --sisgedo-color-dark-border: #22334d;
  --sisgedo-color-dark-border-strong: #25395a;
  --sisgedo-color-dark-panel-border: #21334e;
  --sisgedo-color-border: #e5e7eb;
  --sisgedo-color-border-soft: #dbe3ef;
  --sisgedo-color-border-strong: #cbd5e1;

  --sisgedo-shadow-card: 0 1px 2px rgba(15, 23, 42, 0.05);
  --sisgedo-shadow-soft: 0 5px 12px rgba(15, 23, 42, 0.04);
  --sisgedo-shadow-focus: 0 0 0 3px rgba(37, 99, 235, 0.10);
  --sisgedo-shadow-panel: 0 34px 70px -18px rgba(0, 0, 0, 0.55);

  --sisgedo-radius-xs: 6px;
  --sisgedo-radius-sm: 8px;
  --sisgedo-radius-md: 12px;
  --sisgedo-radius-lg: 16px;
  --sisgedo-radius-xl: 20px;
}
/* ============================================================
   Notificaciones en vivo (js/notificaciones.js)
   ============================================================ */
.sgd-toasts { position: fixed; right: 18px; bottom: 18px; z-index: 3000; display: flex; flex-direction: column; gap: 10px; width: 370px; max-width: calc(100vw - 36px); }
.sgd-toast {
  display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid #e2e8f0;
  border-left: 4px solid #2563eb; border-radius: 12px; padding: 12px 12px 12px 14px; cursor: pointer;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .18); font-size: 12.5px; color: #334155; line-height: 1.45;
  animation: sgdToastIn .25s ease-out;
}
.sgd-toast:hover { box-shadow: 0 14px 34px rgba(15, 23, 42, .24); }
.sgd-toast.fuera { opacity: 0; transform: translateX(20px); transition: all .25s; }
.sgd-toast .ti { width: 32px; height: 32px; border-radius: 50%; background: #f1f5f9; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 14px; }
.sgd-toast .tx { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.sgd-toast .tx strong { color: #1e293b; }
.sgd-toast .sgd-muted { color: #64748b; }
.sgd-toast .tc { border: 0; background: none; color: #94a3b8; font-size: 18px; line-height: 1; cursor: pointer; padding: 0 2px; }
.sgd-toast .tc:hover { color: #475569; }
@keyframes sgdToastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Fila recién llegada en Recepción / Mesa de Partes Virtual */
.row.row-nueva { animation: sgdFilaNueva 4s ease-out 1; box-shadow: inset 3px 0 0 #22c55e; }
@keyframes sgdFilaNueva { 0%, 25% { background: #dcfce7; } 100% { background: transparent; } }

/* Botón del menú lateral para activar las notificaciones de Windows */
.sgd-activar-avisos {
  display: flex; gap: 10px; align-items: center; width: calc(100% - 24px); margin: 8px 12px; padding: 10px 12px;
  border: 1px dashed #93c5fd; border-radius: 12px; background: #eff6ff; color: #1e40af; text-align: left;
  font: inherit; font-size: 11.5px; line-height: 1.35; cursor: pointer;
}
.sgd-activar-avisos:hover { background: #dbeafe; }
.sgd-activar-avisos .fa { font-size: 16px; color: #2563eb; }
.sgd-activar-avisos b { font-size: 12.5px; }
