/* Liquid Copper — Medianoche con el sistema de diseño Liquid Copper Night de Iván (28/11/2026: «Me gustaría ver como queda el
   diseño Medianoche con el Liquid Copper (y agregarlo como un nuevo diseño)»). Azul noche con luces difusas que derivan
   despacio, paneles de vidrio líquido (radio 28, borde blanco, brillo interior) y un solo acento: el cobre #ffb259 (lo elegido,
   las cifras, el botón principal y el Mic). Letra Inter Tight, títulos ajustados, etiquetas en mayúsculas en cobre, cifras
   tabulares. Siempre oscuro. */
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 400; font-display: swap; src: url("../../fonts/inter-tight-400.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 500; font-display: swap; src: url("../../fonts/inter-tight-500.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 600; font-display: swap; src: url("../../fonts/inter-tight-600.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 700; font-display: swap; src: url("../../fonts/inter-tight-700.woff2") format("woff2"); }

html[data-tema="copper"]:not([data-z]) {
  color-scheme: dark;
  --cobre: #ffb259; --cobre-hondo: #c97a2e; --cobre-suave: rgba(255,178,89,.14);
  --brand: #ffb259; --brand-ink: #1c0f03; --brand-soft: rgba(255,178,89,.15); --navy: #0a1022; --on-brand: #1c0f03;
  --seg-on: rgba(255,255,255,.16);
  --bg: #0a1022; --surface: rgba(255,255,255,.05); --surface-2: rgba(255,255,255,.08);
  --line: rgba(255,255,255,.09); --line-strong: rgba(255,255,255,.2);
  --ink: #f4f6fc; --ink-2: #b9c2dc; --ink-3: #8089a6;
  --ok: #5ed6a0; --ok-soft: rgba(94,214,160,.13); --warn: #ffc46b; --warn-soft: rgba(255,196,107,.13); --bad: #ff8577; --bad-soft: rgba(255,133,119,.14); --info: #7f9cff; --info-soft: rgba(127,156,255,.14);
  --radius: 28px; --shadow: 0 24px 60px rgba(0,0,0,.5);
  --font: "Inter Tight", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --top: 64px;
  --surface-solida: #121a36;
  /* el Mic, de cobre metálico */
  --mic-met: linear-gradient(175deg, #FFE7C8 0%, #FFB259 28%, #A35E1E 52%, #F0A458 72%, #6A3810 100%); --mic-halo: rgba(255,178,89,.85); --mic-aro: #3a1d05;
  --mic-sombra: rgba(60,28,4,.5); --mic-sombra-f: rgba(40,18,2,.6); --mic-card: rgba(0,0,0,.45); --mic-ico: rgba(40,18,2,.6); --mic-pulso: #ffcf94;
  --plata-met: var(--mic-met); --grafito: #5a2f0c; --halo-plata: rgba(255,178,89,.8);
}
/* el color del Mic de la instalación (esmeralda, zafiro) no manda en este diseño: es de cobre */
html[data-tema="copper"][data-mic] { --mic-met: linear-gradient(175deg, #FFE7C8 0%, #FFB259 28%, #A35E1E 52%, #F0A458 72%, #6A3810 100%); --mic-halo: rgba(255,178,89,.85); --mic-aro: #3a1d05; --mic-pulso: #ffcf94;
  --plata-met: linear-gradient(175deg, #FFE7C8 0%, #FFB259 28%, #A35E1E 52%, #F0A458 72%, #6A3810 100%); --grafito: #5a2f0c; --halo-plata: rgba(255,178,89,.8); }

/* la noche: degradado desde night-raised y tres luces difusas (azul de marca, cobre y azul claro) que derivan despacio */
html[data-tema="copper"] body { background: radial-gradient(140% 90% at 50% -10%, #131c3d 0%, #0a1022 62%) fixed, #0a1022; font-feature-settings: "tnum" 1; }
html[data-tema="copper"] body::before { content: ""; position: fixed; inset: -10%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38vw 30vw at 12% 8%, rgba(45,79,196,.42), transparent 70%),
    radial-gradient(30vw 24vw at 92% 16%, rgba(255,178,89,.16), transparent 70%),
    radial-gradient(34vw 28vw at 70% 96%, rgba(127,156,255,.16), transparent 70%);
  filter: blur(70px); animation: cobre-deriva 38s ease-in-out infinite alternate; }
@keyframes cobre-deriva { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-3%, 2%, 0) scale(1.06); } }
@media (prefers-reduced-motion: reduce) { html[data-tema="copper"] body::before { animation: none; } }

html[data-tema="copper"] .side { background: rgba(10,16,34,.55); -webkit-backdrop-filter: blur(40px) saturate(150%); backdrop-filter: blur(40px) saturate(150%); border-right: 1px solid rgba(255,255,255,.07); }
html[data-tema="copper"] .side .grp { color: var(--cobre); opacity: .8; letter-spacing: .14em; font-weight: 600; }
html[data-tema="copper"] .side nav a { color: #b9c2dc; }
html[data-tema="copper"] .side nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
html[data-tema="copper"] .side nav a.on { background: linear-gradient(180deg, rgba(255,178,89,.2), rgba(255,178,89,.09)); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,178,89,.32); }
html[data-tema="copper"] .side nav a.on svg { color: var(--cobre); }
html[data-tema="copper"] .side .brand img.con-logo { background: #fff; padding: 5px 7px; border-radius: 12px; box-shadow: none; }
html[data-tema="copper"] .topbar { background: rgba(10,16,34,.5); -webkit-backdrop-filter: blur(26px); backdrop-filter: blur(26px); border-bottom: 1px solid rgba(255,255,255,.06); padding: 0 32px; }
html[data-tema="copper"] .topbar h1 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
html[data-tema="copper"] .content { padding: 16px 32px var(--flot); }

/* el vidrio líquido: radio 28, borde blanco, desenfoque 26 px y brillo interior */
html[data-tema="copper"] .card, html[data-tema="copper"] .kpi {
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(26px) saturate(140%); backdrop-filter: blur(26px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 -1px 0 rgba(255,255,255,.03), 0 14px 40px rgba(0,0,0,.3); }
html[data-tema="copper"] .card { padding: 20px; }
html[data-tema="copper"] .card.flush { padding: 0; }
html[data-tema="copper"] .card-h h2, html[data-tema="copper"] .card > h2 { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
/* las etiquetas: mayúsculas, 600, 0,14 em, en cobre; la cifra grande, tabular */
html[data-tema="copper"] .kpi { padding: 18px 20px; }
html[data-tema="copper"] .kpi .l { text-transform: uppercase; letter-spacing: .14em; font-size: 11px; font-weight: 600; color: var(--cobre); }
html[data-tema="copper"] .kpi .v { font-size: 30px; font-weight: 700; letter-spacing: -.02em; margin-top: 8px; color: #fff; font-variant-numeric: tabular-nums; }
html[data-tema="copper"] .kpi .v.neg { color: var(--bad); }
html[data-tema="copper"] .kpi .s { color: var(--ink-2); }

html[data-tema="copper"] .btn { border-radius: 14px; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.12); font-weight: 600; }
html[data-tema="copper"] .btn:hover { background: rgba(255,255,255,.12); }
html[data-tema="copper"] .btn.pri { background: linear-gradient(180deg, #ffc27a, #ffa940); color: var(--brand-ink); border-color: transparent; box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 8px 22px rgba(255,170,70,.28); }
html[data-tema="copper"] .btn.pri:hover { background: linear-gradient(180deg, #ffcb8c, #ffb259); }
html[data-tema="copper"] .btn.ghost { background: transparent; border-color: transparent; }
html[data-tema="copper"] .tbl th { background: transparent; padding: 10px 20px; text-transform: uppercase; letter-spacing: .1em; font-size: 11px; font-weight: 600; color: var(--ink-3); }
html[data-tema="copper"] .tbl td { padding: 11px 20px; font-variant-numeric: tabular-nums; }
html[data-tema="copper"] .tbl tbody tr.click:hover td { background: rgba(255,255,255,.045); }
html[data-tema="copper"] .badge { background: rgba(255,255,255,.08); }
html[data-tema="copper"] .seg button.on { color: #fff; box-shadow: inset 0 0 0 1px rgba(255,178,89,.35), 0 2px 8px rgba(0,0,0,.3); }
html[data-tema="copper"] .tabs a.on { color: #fff; border-color: var(--cobre); }
html[data-tema="copper"] .pill-sel button.on, html[data-tema="copper"] .filtro.on { color: var(--brand-ink); }
html[data-tema="copper"] .anillo::before { background: #121a36; }
html[data-tema="copper"] .anillo { background: conic-gradient(var(--cobre) calc(var(--p) * 1%), rgba(255,255,255,.1) 0); }
html[data-tema="copper"] .ex-bar { background: rgba(127,156,255,.75); }
html[data-tema="copper"] .badge.ch-papel { background: rgba(255,196,107,.16); color: #ffd08a; }
html[data-tema="copper"] input, html[data-tema="copper"] select, html[data-tema="copper"] textarea { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); border-radius: 14px; }
html[data-tema="copper"] input:focus, html[data-tema="copper"] select:focus, html[data-tema="copper"] textarea:focus { border-color: rgba(255,178,89,.6); box-shadow: 0 0 0 3px rgba(255,178,89,.16); }
html[data-tema="copper"] select option, html[data-tema="copper"] select optgroup { background: #121a36; }
html[data-tema="copper"] .modal { background: rgba(16,23,48,.95); -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px); border: 1px solid rgba(255,255,255,.12); border-radius: 28px; }
html[data-tema="copper"] .modal-f { background: rgba(16,23,48,.97); }
html[data-tema="copper"] .asis-dock { background: rgba(12,18,40,.97); -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px); border-color: rgba(255,255,255,.1); }
html[data-tema="copper"] .ayuda-panel, html[data-tema="copper"] .ayuda-fab, html[data-tema="copper"] .emp-pop, html[data-tema="copper"] .tour-globo { background: rgba(16,23,48,.96); -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px); border-color: rgba(255,255,255,.12); }
html[data-tema="copper"] .ayuda-p-f { background: rgba(255,255,255,.04); }
html[data-tema="copper"] .toast { background: #f4f6fc; color: #0a1022; }
html[data-tema="copper"] .card .stack > * + * { margin-top: 6px; }
html[data-tema="copper"] .card a.alert { border-radius: 14px; padding: 11px 14px; font-size: 14px; border: 1px solid rgba(255,255,255,.06); }
html[data-tema="copper"] ::selection { background: rgba(255,178,89,.35); }

@media (max-width: 900px) {
  html[data-tema="copper"] .tabbar { background: rgba(10,16,34,.8); -webkit-backdrop-filter: blur(30px) saturate(150%); backdrop-filter: blur(30px) saturate(150%); border-top: 1px solid rgba(255,255,255,.08); }
  html[data-tema="copper"] .tabbar a.on { color: var(--cobre); }
  html[data-tema="copper"] .side { background: rgba(10,16,34,.96); }
  html[data-tema="copper"] .topbar { padding: 0 12px; }
  html[data-tema="copper"] .content { padding: 12px 16px var(--flot); }
}
@media (max-width: 640px) {
  html[data-tema="copper"] .topbar { padding: 0 6px; }
  html[data-tema="copper"] .grid.g4 { grid-template-columns: 1fr 1fr; }
  html[data-tema="copper"] .grid.g4 > .kpi:first-child { grid-column: 1 / -1; }
  html[data-tema="copper"] .kpi .v { font-size: 22px; }
  html[data-tema="copper"] .grid.g4 > .kpi:first-child .v { font-size: 32px; }
  html[data-tema="copper"] .topbar h1 { font-size: 22px; }
}
