:root {
  --bg: #0b0b14;
  --panel: #151526;
  --panel-2: #1f1f36;
  --text: #f1f1f7;
  --muted: #9a9ab5;
  --accent: #ff2e63;
  --accent-2: #08d9d6;
  --p1: #ff4d4d;
  --p2: #4d8dff;
  --p3: #3ddc84;
  --p4: #ffc23d;
  --radius: 14px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; border-radius: 10px; background: var(--panel-2); padding: .6em 1em; }
button:hover { filter: brightness(1.2); }
button.primary { background: var(--accent); color: #fff; font-weight: 700; }
input, select { background: var(--panel-2); border: 2px solid transparent; border-radius: 10px; padding: .6em .8em; outline: none; }
input:focus, select:focus { border-color: var(--accent-2); }
.muted { color: var(--muted); }
.logo { font-weight: 900; letter-spacing: .04em; }
.logo b { color: var(--accent); }
.p1 { --pc: var(--p1); } .p2 { --pc: var(--p2); } .p3 { --pc: var(--p3); } .p4 { --pc: var(--p4); }
.hidden { display: none !important; }
/* Iconos de Lucide (icons.js): heredan el color del texto y se alinean con él. */
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; pointer-events: none; }
button .icon, h2 .icon, .toast .icon { margin-right: .35em; }
.icon-only .icon { margin-right: 0; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--panel-2); padding: .7em 1.2em; border-radius: 999px; box-shadow: 0 6px 24px #0008; z-index: 100; transition: opacity .3s; }
