/* MetConcentra: paleta inspirada en el PDF Ckapnati. Solo presentación. */
html:root, html.dark, html body {
  color-scheme: dark;
  --background: 214 60% 5%; --foreground: 210 25% 96%;
  --card: 215 30% 10%; --card-foreground: 210 25% 96%; --card-border: 211 27% 28%;
  --popover: 215 30% 12%; --popover-foreground: 210 25% 96%; --popover-border: 211 27% 35%;
  --border: 211 27% 28%; --input: 211 25% 43%;
  --primary: 23 57% 66%; --primary-foreground: 214 60% 5%; --primary-border: #dba078;
  --secondary: 213 34% 18%; --secondary-foreground: 210 25% 96%;
  --muted: 213 30% 15%; --muted-foreground: 211 19% 74%;
  --accent: 199 41% 76%; --accent-foreground: 214 60% 5%;
  --ring: 23 57% 66%;
  --destructive: 0 70% 63%; --destructive-foreground: 214 60% 5%;
  --sidebar: 214 48% 7%; --sidebar-foreground: 210 25% 96%; --sidebar-border: 211 27% 28%;
  --sidebar-primary: 23 57% 66%; --sidebar-primary-foreground: 214 60% 5%;
  --sidebar-accent: 213 34% 18%; --sidebar-accent-foreground: 210 25% 96%; --sidebar-ring: 23 57% 66%;
  --chart-1: 23 57% 66%; --chart-2: 199 41% 76%; --chart-3: 214 66% 70%; --chart-4: 153 43% 66%; --chart-5: 277 47% 75%;
  --button-outline: rgba(192,215,231,.3); --badge-outline: rgba(192,215,231,.25);
  --elevate-1: rgba(197,221,237,.06); --elevate-2: rgba(197,221,237,.11);
}
html body {
  background: radial-gradient(ellipse at 70% 0%, #12304a55, transparent 55%), #050c15;
  color: #f2f5f8;
}
#root .bg-card, #root [data-slot="card"] {
  border-color: #33495e;
  box-shadow: 0 8px 24px #0003, inset 0 1px 0 #aacbdf0a;
}
#root .bg-primary { background-color: #dba078; color: #050c15; }
#root .text-primary { color: #dba078; }
#root .border-primary { border-color: #dba078; }
#root table thead { background-color: #182b3c; }
#root table th { color: #e6b491; border-bottom-color: #916e54; }
#root table tbody tr:nth-child(even) { background-color: #aacbe408; }
#root table tbody tr:hover { background-color: #a9c5da12; }
#root input, #root select, #root textarea {
  background-color: #09131f; border-color: #526c82; color: #f2f5f8;
}
#root input::placeholder, #root textarea::placeholder { color: #a8b9ca; opacity: 1; }
#root input:focus-visible, #root select:focus-visible, #root textarea:focus-visible, #root button:focus-visible, #root a:focus-visible {
  outline: 2px solid #dba078; outline-offset: 3px;
}
#root input[type="range"] { accent-color: #dba078; }
#root [role="tab"][data-state="active"] { background-color: #dba078; color: #050c15; }
#root [role="option"][data-highlighted] { background-color: #23394c; color: #f2f5f8; }
/* Preserve distinct status colors and labels. */
#root .text-green-500, #root .text-green-600, #root .text-emerald-500, #root .text-emerald-600 { color: #87d7ae; }
#root .text-amber-500, #root .text-amber-600, #root .text-yellow-500, #root .text-yellow-600 { color: #edc476; }
#root .text-red-500, #root .text-red-600, #root .text-destructive { color: #ff9999; }
#root .text-blue-500, #root .text-blue-600, #root .text-cyan-500, #root .text-cyan-600 { color: #a9d5ed; }
#root .text-gray-500, #root .text-gray-600, #root .text-slate-500, #root .text-slate-600 { color: #afc0d0; }
#root .bg-gray-100, #root .bg-gray-200, #root .bg-slate-100, #root .bg-slate-200 { background-color: #1c2d3f; }
@media(max-width:640px) {
  #root input, #root select, #root textarea { font-size:16px; }
  #root button, #root [role="tab"] { min-height:44px; }
  #root table { font-variant-numeric: tabular-nums; }
}
@media print {
  html:root, html.dark, html body {
    color-scheme:light; --background:0 0% 100%; --foreground:215 30% 10%;
    --card:0 0% 100%; --card-foreground:215 30% 10%; --muted:210 20% 95%;
    --muted-foreground:215 20% 30%; --primary:23 40% 33%; --primary-foreground:0 0% 100%;
    --border:210 15% 70%; --card-border:210 15% 70%;
  }
  html body, #root .bg-card { background:#fff!important; color:#142130!important; box-shadow:none; }
  #root table thead { background:#eef2f5!important; }
  #root table th, #root .text-primary { color:#714b32!important; }
  #root input, #root select, #root textarea { background:#fff!important; color:#142130!important; }
}
