/* Telemetry (2TR8DE) — estilos. Temas claro/oscuro con variables CSS. */
:root {
  color-scheme: light;
  --page: #f6f6f3;
  --surface: #ffffff;
  --surface-2: #f9f9f7;
  --surface-3: #f1f1ec;
  --ink: #0b0b0b;
  --ink-2: #52514e;
  --muted: #898781;
  --line: #e7e6e0;
  --grid: #e1e0d9;
  --axis: #c3c2b7;
  --ring: rgba(11, 11, 11, 0.08);
  --accent: #0b7f72;
  --accent-ink: #ffffff;
  --accent-soft: #e2f3f0;
  --pos: #0b7a0b;          /* texto de ganancia */
  --neg: #c62f2f;          /* texto de pérdida  */
  --bar-pos: #0f9d8f;      /* barras: polaridad azul/rojo */
  --bar-neg: #e34948;
  --good: #0ca30c; --warn: #eda100; --bad: #d03b3b; --idle: #898781;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 4px 16px rgba(16, 24, 40, .05);
  --radius: 14px;
  --s1: #0f9d8f; --s2: #eb6834; --s3: #1baf7a; --s4: #eda100;
  --s5: #e87ba4; --s6: #008300; --s7: #4a3aa7; --s8: #e34948;
  --heat-neg: #c62f2f; --heat-mid: #f0efec; --heat-pos: #0b7f72;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #0d0d0d;
  --surface: #1a1a19;
  --surface-2: #202020;
  --surface-3: #262625;
  --ink: #ffffff;
  --ink-2: #c3c2b7;
  --muted: #898781;
  --line: #2c2c2a;
  --grid: #2c2c2a;
  --axis: #383835;
  --ring: rgba(255, 255, 255, 0.10);
  --accent: #19c2ad;
  --accent-ink: #06201d;
  --accent-soft: #0f2a27;
  --pos: #34c034;
  --neg: #ef6b6b;
  --bar-pos: #19c2ad;
  --bar-neg: #e66767;
  --shadow: none;
  --s1: #19c2ad; --s2: #d95926; --s3: #199e70; --s4: #c98500;
  --s5: #d55181; --s6: #008300; --s7: #9085e9; --s8: #e66767;
  --heat-neg: #b8322f; --heat-mid: #383835; --heat-pos: #17a594;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--page); color: var(--ink); font-size: 14px; line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
.num, table td.n, table th.n { font-variant-numeric: tabular-nums; }
.hidden { display: none !important; }
[hidden] { display: none !important; }

/* ---------- layout ---------- */
.app { display: grid; grid-template-columns: 232px 1fr; min-height: 100vh; }
.sidebar {
  position: sticky; top: 0; height: 100vh; padding: 20px 14px; display: flex; flex-direction: column;
  background: var(--surface); border-right: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px 22px; font-weight: 700; font-size: 16px; }
.brand .logo { width: 32px; height: 32px; border-radius: 9px; background: #0b0b0b; display: grid; place-items: center; flex: none; box-shadow: 0 0 0 1px var(--ring); }
.brand small { display: block; font-weight: 500; color: var(--muted); font-size: 11px; letter-spacing: .02em; }
.nav a {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: var(--ink-2);
  font-weight: 500; margin-bottom: 2px;
}
.nav a:hover { background: var(--surface-3); color: var(--ink); }
.nav a.active { background: var(--accent-soft); color: var(--accent); }
.nav svg { width: 18px; height: 18px; flex: none; }
.side-foot { margin-top: auto; display: grid; gap: 8px; }
.user-chip { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--ink-2); }
.avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--surface-3); display: grid; place-items: center; font-weight: 600; color: var(--ink); }

.main { min-width: 0; }
.topbar {
  position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 12px;
  padding: 14px 28px; background: color-mix(in srgb, var(--page) 85%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid transparent;
}
.topbar h1 { font-size: 20px; margin: 0; font-weight: 650; letter-spacing: -.01em; }
.topbar .sub { color: var(--muted); font-size: 12.5px; }
.topbar .spacer { flex: 1; }
.topbar-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.content { padding: 8px 28px 48px; max-width: 1440px; }
.btn.menu-btn { display: none; }

/* ---------- controles ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 14px;
  border-radius: 10px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-weight: 550;
  transition: background .15s, border-color .15s;
}
.btn:hover { background: var(--surface-3); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { filter: brightness(1.07); }
.btn.danger { color: var(--neg); }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.icon { width: 36px; padding: 0; }
.btn svg { width: 16px; height: 16px; }
.btn[disabled] { opacity: .55; cursor: default; }
.seg { display: inline-flex; padding: 3px; gap: 2px; background: var(--surface-3); border-radius: 10px; }
.seg button { border: 0; background: transparent; padding: 6px 12px; border-radius: 8px; cursor: pointer; color: var(--ink-2); font-weight: 550; font-size: 13px; }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px var(--ring); }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 550; font-size: 13px; }
.field .hint { color: var(--muted); font-size: 12px; }
.input {
  height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2);
  outline: none; width: 100%;
}
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
.copy { display: flex; gap: 6px; }
.copy code { flex: 1; display: flex; align-items: center; padding: 0 12px; height: 38px; border-radius: 10px; background: var(--surface-3); overflow: auto; white-space: nowrap; font-size: 13px; }

/* ---------- tarjetas ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card.pad { padding: 18px 20px; }
.card-h { display: flex; align-items: center; gap: 10px; padding: 16px 20px 0; flex-wrap: wrap; }
.card-h h3 { margin: 0; font-size: 14.5px; font-weight: 650; }
.card-h .spacer { flex: 1; }
.card-b { padding: 12px 20px 18px; }
.grid { display: grid; gap: 16px; }
.grid > * { min-width: 0; }
.g-kpi { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.g-2 { grid-template-columns: 1.6fr 1fr; }
.g-2e { grid-template-columns: 1fr 1fr; }
.section { margin-top: 18px; }
.section-title { font-size: 13px; font-weight: 650; color: var(--ink-2); margin: 26px 0 10px; text-transform: uppercase; letter-spacing: .05em; }

.kpi { padding: 16px 18px; }
.kpi .lbl { color: var(--ink-2); font-size: 12.5px; font-weight: 550; display: flex; align-items: center; gap: 6px; }
.kpi .val { font-size: 25px; font-weight: 680; letter-spacing: -.02em; margin-top: 6px; }
.kpi .val.sm { font-size: 20px; }
.kpi .val .cur, .acct .cur { font-size: 13px; color: var(--muted); font-weight: 550; margin-left: 4px; letter-spacing: 0; }
.kpi .foot { color: var(--muted); font-size: 12px; margin-top: 4px; }
.pos { color: var(--pos); } .neg { color: var(--neg); }

.mini { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.mini > div { padding: 14px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mini .lbl { color: var(--muted); font-size: 12px; }
.mini .v { font-weight: 650; font-size: 16px; margin-top: 2px; }

/* tarjetas de cuenta */
.accounts { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.acct { cursor: pointer; transition: transform .12s, box-shadow .12s, border-color .12s; overflow: hidden; }
.acct:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.acct .top { display: flex; align-items: flex-start; gap: 10px; padding: 16px 18px 0; }
.acct .name { font-weight: 650; font-size: 15px; }
.acct .meta { color: var(--muted); font-size: 12px; margin-top: 2px; }
.acct .eq { padding: 10px 18px 0; font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.acct .eq small { font-size: 13px; color: var(--muted); font-weight: 500; margin-left: 4px; }
.acct .spark { height: 64px; margin: 4px 6px 0; }
.acct .stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.acct .stats > div { padding: 10px 12px; text-align: center; }
.acct .stats > div + div { border-left: 1px solid var(--line); }
.acct .stats .lbl { font-size: 11px; color: var(--muted); }
.acct .stats .v { font-weight: 650; font-size: 13.5px; margin-top: 2px; }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--surface-3); color: var(--ink-2); white-space: nowrap; }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--idle); }
.pill.online .dot { background: var(--good); box-shadow: 0 0 0 3px color-mix(in srgb, var(--good) 25%, transparent); }
.pill.delayed .dot { background: var(--warn); }
.pill.offline .dot { background: var(--bad); }
.badge { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 11.5px; font-weight: 600; background: var(--surface-3); color: var(--ink-2); }
.badge.real { background: color-mix(in srgb, var(--s2) 16%, transparent); color: var(--s2); }
.badge.demo { background: var(--accent-soft); color: var(--accent); }
.badge.manager { background: color-mix(in srgb, var(--s7) 18%, transparent); color: var(--s7); }   /* Gerente: morado, distinto de Administrador y Estudiante */

/* ---------- tablas ---------- */
.tbl-wrap { overflow: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th { text-align: left; font-weight: 600; color: var(--muted); font-size: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--surface); position: sticky; top: 0; }
.tbl td { padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover td { background: var(--surface-2); }
.tbl .n { text-align: right; }
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.toolbar .input { height: 36px; max-width: 240px; }
.pager { display: flex; align-items: center; gap: 8px; justify-content: flex-end; padding: 12px 20px; color: var(--muted); font-size: 12.5px; }

.heat { width: 100%; border-collapse: separate; border-spacing: 3px; font-size: 12px; }
.heat th { color: var(--muted); font-weight: 600; padding: 4px; }
.heat td { text-align: center; padding: 7px 1px; border-radius: 6px; font-weight: 600; min-width: 32px; font-size: 11px; }
.heat td.y { text-align: left; color: var(--ink-2); padding-left: 2px; }
.heat td.empty { background: transparent; color: var(--muted); font-weight: 400; }

.chart { width: 100%; height: 300px; }
.chart.sm { height: 220px; }

/* ---------- estados ---------- */
.empty { text-align: center; padding: 56px 20px; }
.empty .ico { width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.empty h2 { margin: 0 0 6px; font-size: 18px; }
.empty p { color: var(--ink-2); max-width: 460px; margin: 0 auto 18px; }
.banner { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-radius: 12px; background: color-mix(in srgb, var(--warn) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--warn) 35%, transparent); margin-bottom: 16px; }
.banner.info { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.skeleton { background: linear-gradient(90deg, var(--surface-3), var(--surface-2), var(--surface-3)); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 10px; }
@keyframes sk { from { background-position: 200% 0 } to { background-position: -200% 0 } }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--surface-3); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg) } }

/* ---------- auth ---------- */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.auth .card { width: 100%; max-width: 400px; padding: 30px 28px; }
.auth h1 { font-size: 22px; margin: 14px 0 4px; }
.auth p.sub { color: var(--ink-2); margin: 0 0 22px; }
.err { color: var(--neg); font-size: 13px; min-height: 18px; margin-bottom: 8px; }

/* ---------- modal y toast ---------- */
.modal-bg { position: fixed; inset: 0; background: rgba(0, 0, 0, .45); display: grid; place-items: center; z-index: 50; padding: 16px; }
.modal { width: 100%; max-width: 620px; max-height: calc(100vh - 32px); overflow: auto; }
.modal .mh { display: flex; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.modal .mh h2 { margin: 0; font-size: 17px; flex: 1; }
.modal .mb { padding: 20px 22px; }
.modal .mf { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 22px; border-top: 1px solid var(--line); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 12px; }
.steps li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.steps b { font-weight: 650; }
.kbd { font-family: inherit; font-size: 12px; padding: 1px 6px; border-radius: 5px; border: 1px solid var(--line); background: var(--surface-2); }
.toast-wrap { position: fixed; right: 18px; bottom: 18px; display: grid; gap: 8px; z-index: 60; }
.toast { padding: 11px 14px; border-radius: 12px; background: var(--ink); color: var(--page); box-shadow: 0 8px 24px rgba(0,0,0,.18); font-weight: 550; max-width: 360px; }
.dropdown { position: relative; }
.dropdown .menu { position: absolute; right: 0; top: 40px; min-width: 210px; padding: 6px; z-index: 20; }
.dropdown .menu button { display: flex; width: 100%; text-align: left; border: 0; background: transparent; padding: 9px 10px; border-radius: 8px; cursor: pointer; gap: 8px; }
.dropdown .menu button:hover { background: var(--surface-3); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) { .g-2, .g-2e { grid-template-columns: 1fr; } }
@media (max-width: 820px) {
  .app { grid-template-columns: 1fr; }
  .sidebar { position: fixed; z-index: 40; left: 0; width: 250px; transform: translateX(-100%); transition: transform .2s; }
  .sidebar.open { transform: none; box-shadow: 0 0 40px rgba(0,0,0,.25); }
  .g-kpi { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpi { padding: 12px 14px; }
  .kpi .foot { display: none; }
  .topbar .sub { display: none; }
  .btn.menu-btn { display: inline-flex; }
  .topbar, .content { padding-left: 16px; padding-right: 16px; }
  /* en el móvil las acciones (filtros, periodo) bajan a su propia fila y no tapan el título */
  .topbar { flex-wrap: wrap; position: static; row-gap: 10px; }
  .topbar h1 { font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .topbar-actions { order: 5; width: 100%; }
  .topbar-actions:empty { display: none; }
  .accounts { grid-template-columns: 1fr; }
  .kpi .val { font-size: 21px; }
}

/* ---------- extras MVC ---------- */
.flash { margin-bottom: 16px; }
.flash.ok { background: color-mix(in srgb, var(--good) 12%, var(--surface)); border-color: color-mix(in srgb, var(--good) 35%, transparent); }
.flash.err { background: color-mix(in srgb, var(--bad) 12%, var(--surface)); border-color: color-mix(in srgb, var(--bad) 35%, transparent); }
form.inline { display: inline; margin: 0; }
.row-actions { display: flex; gap: 6px; justify-content: flex-end; }
.acct-link { color: inherit; display: block; }
.install { max-width: 760px; }
.status-box { display: flex; gap: 12px; align-items: center; }
.done-ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--good) 18%, transparent); color: var(--good); }
.seg a { padding: 6px 12px; border-radius: 8px; color: var(--ink-2); font-weight: 550; font-size: 13px; }
.seg a.on { background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px var(--ring); }
.seg button.on, .seg a.on { cursor: default; }
/* pantallas de acceso: nada puede desbordar la tarjeta */
.auth .card { overflow-wrap: anywhere; }
.auth .banner { margin: 0 0 18px; }
code.path { display: block; margin-top: 8px; padding: 8px 10px; border-radius: 8px; background: var(--surface-3); font-size: 12px; word-break: break-all; white-space: normal; }

/* Administración: Cells */
.cells { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.cell-card { padding: 14px 16px; color: var(--ink); text-decoration: none; transition: border-color .12s, transform .12s; }
.cell-card:hover { border-color: var(--accent); transform: translateY(-1px); }
.cell-card.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.cell-card.none .nm { color: var(--muted); }
.cell-card .nm { font-weight: 650; font-size: 14px; margin-bottom: 4px; }
.cell-card .ct { color: var(--muted); font-size: 12px; margin-top: 4px; }
.tbl tr.grp td { background: var(--surface-2); font-weight: 650; font-size: 12.5px; color: var(--ink); padding-top: 8px; padding-bottom: 8px; }
.tbl tr.grp td span { color: var(--muted); font-weight: 500; }
.tbl tbody tr.grp:hover td { background: var(--surface-2); }

/* Marca 2TR8DE */
.brand-logo { display: flex; justify-content: center; margin: 2px 0 22px; }
.brand-logo img { display: block; width: 200px; height: auto; }
.brand-logo .for-dark { display: none; }
[data-theme="dark"] .brand-logo .for-light { display: none; }
[data-theme="dark"] .brand-logo .for-dark { display: block; }
.brand .by { color: var(--muted); font-weight: 600; font-size: 10.5px; letter-spacing: .08em; }

/* Ver / ocultar contraseña */
.pw-wrap { position: relative; }
.pw-wrap .input { width: 100%; padding-right: 42px; }
.pw-eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; display: grid; place-items: center;
  border: 0; background: transparent; color: var(--muted); border-radius: 8px; cursor: pointer; }
.pw-eye:hover { color: var(--ink); background: var(--surface-3); }

/* ---- Estrategias (magic number) */
.st-help { color: var(--muted); font-size: 12.5px; margin: 0; padding: 0 20px 10px; }
.st-tbl td { padding-top: 6px; padding-bottom: 6px; }
.st-tbl tbody tr { cursor: pointer; }
.st-tbl tbody tr.off td { opacity: .45; }
.st-tbl input[type=checkbox], #stAll { width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; vertical-align: middle; }
.st-spark { width: 120px; height: 30px; display: block; }
.st-sel { border-top: 1px solid var(--line); padding: 4px 20px 20px; }
.st-summary { margin: 0 0 12px; font-size: 13.5px; }
.st-summary:empty { display: none; }
.st-tbl thead th { z-index: 3; }   /* la fila de títulos queda encima de las mini gráficas al hacer scroll */
/* Notas del mentor */
.note-form { padding: 4px 20px 12px; display: grid; gap: 8px; }
.note-form textarea { resize: vertical; min-height: 64px; font: inherit; padding: 10px 12px; }
.note-actions { display: flex; align-items: center; gap: 12px; justify-content: space-between; color: var(--muted); font-size: 12.5px; flex-wrap: wrap; }
.note-about { font-size: 13px; padding: 6px 6px 6px 12px; border-radius: 8px; background: var(--accent-soft); color: var(--ink); display: flex; align-items: center; gap: 10px; justify-content: space-between; }
.note-about[hidden] { display: none; }
.note-about .btn { height: 28px; padding: 0 10px; font-size: 12.5px; flex: none; }
.note-empty { color: var(--muted); padding: 0 20px 16px; margin: 0; }
.notes { padding: 0 20px 14px; }
.note { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); margin-bottom: 8px; transition: box-shadow .2s, border-color .2s; }
.note.hl { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.note-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; }
.note-when { color: var(--muted); font-size: 12px; }
.note-del .btn { height: 26px; padding: 0 8px; font-size: 12px; color: var(--muted); }
.note-b { margin-top: 6px; white-space: pre-wrap; font-size: 13.5px; line-height: 1.45; overflow-wrap: anywhere; }
.tbl td.nt { white-space: nowrap; }
.note-pill { border: 0; cursor: pointer; font: inherit; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); margin-right: 6px; }
.btn.xs { height: 26px; padding: 0 8px; font-size: 12px; }
/* Enlaces para compartir */
.share-url { display: flex; gap: 8px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.share-url code { background: var(--surface); border: 1px solid var(--line); padding: 6px 10px; border-radius: 8px; font-size: 12.5px; overflow-wrap: anywhere; max-width: 100%; }
.main.public { min-height: 100vh; }
.main.public .content { margin: 0 auto; }
/* Aviso de notas nuevas */
.banner.notify { align-items: center; background: color-mix(in srgb, var(--accent) 12%, var(--surface)); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.notify-ico { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); }
.notify-ico svg { width: 18px; height: 18px; }
.nav-badge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-size: 11.5px; font-weight: 700; display: grid; place-items: center; }
.badge.new-badge { background: var(--accent); color: var(--accent-ink); }
.note.pending { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); background: color-mix(in srgb, var(--accent) 6%, transparent); }
.note-right { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; }
.note-h .note-right .note-del { margin-left: 0; }
.note-acct { font-weight: 650; }
.note-sep { color: var(--muted); }
.badge.ack-wait { background: color-mix(in srgb, var(--warn) 18%, transparent); color: color-mix(in srgb, var(--warn) 75%, var(--ink)); }
.badge.ack-ok { background: color-mix(in srgb, var(--good) 15%, transparent); color: color-mix(in srgb, var(--good) 80%, var(--ink)); }
.notes-past { margin-top: 4px; }
.notes-past > summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--accent); padding: 6px 0 10px; list-style: none; }
.notes-past > summary::-webkit-details-marker { display: none; }
.notes-past > summary::before { content: "▸ "; }
.notes-past[open] > summary::before { content: "▾ "; }
.notes-past .note { opacity: .85; }
.filter-empty { color: var(--muted); padding: 14px 20px; margin: 0; }
/* Notas a la comunidad */
.badge.community { background: color-mix(in srgb, var(--s2) 16%, transparent); color: color-mix(in srgb, var(--s2) 85%, var(--ink)); }
.ann-who { margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.ann-who > summary { cursor: pointer; }
.ann-who > div { margin-top: 4px; color: var(--ink-2); }
.nav-badge[hidden] { display: none; }

/* ------------------------------------------------------------ Competencias */
.cp-row { display: flex; align-items: center; gap: 10px; }
.cp-sp { flex: 1; }
.cp-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.cp-muted { color: var(--muted); font-size: 12.5px; }
.cp-pad { padding: 16px 20px; }
.cp-prog { height: 8px; border-radius: 6px; background: var(--surface-3); overflow: hidden; }
.cp-prog > i { display: block; height: 100%; background: var(--accent); border-radius: 6px; }
.cp-tug { display: flex; height: 12px; border-radius: 8px; overflow: hidden; margin: 14px 0 8px; }
.cp-tug.big { height: 14px; margin: 16px 0 8px; }
.cp-pos { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 750; font-size: 12.5px; background: var(--surface-3); flex: none; }
.cp-pos.p1 { background: #d4a017; color: #1b1400; } .cp-pos.p2 { background: #a9b0b6; color: #111; } .cp-pos.p3 { background: #b8733a; color: #160b02; }
.cp-amt { font-size: 24px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.cp-amt.big { font-size: 40px; }
.cp-vs { font-weight: 800; color: var(--muted); font-size: 18px; }
.cp-card { display: block; color: inherit; text-decoration: none; }
.cp-card:hover { border-color: var(--ring); }
.cp-card.mine { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.cp-tag { background: var(--accent-soft); color: var(--accent); }
.cp-accts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; padding: 12px 20px 20px; }
.cp-box { border: 1px solid var(--line); border-radius: 12px; padding: 14px; position: relative; background: var(--surface-2); overflow: hidden; }
.cp-box .bar { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }
.cp-past { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; padding: 12px 20px 20px; }
.cp-trophy { color: #d4a017; display: inline-flex; } .cp-trophy svg { width: 18px; height: 18px; }
.cp-banner { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: 16px; margin-bottom: 16px;
  background: linear-gradient(120deg, color-mix(in srgb, #d4a017 26%, var(--surface)), var(--surface) 70%); border: 1px solid color-mix(in srgb, #d4a017 45%, transparent); }
.cp-banner .ico { width: 58px; height: 58px; border-radius: 16px; background: #d4a017; color: #1b1400; display: grid; place-items: center; flex: none; }
.cp-banner .ico svg { width: 32px; height: 32px; }
.cp-win { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.cp-pair { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.cp-pair select { flex: 1; min-width: 0; }
.cp-check { color: var(--accent); font-weight: 700; }
.cp-cells { display: flex; flex-wrap: wrap; gap: 8px; }
.cp-cells label { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: 13px; background: var(--surface-2); cursor: pointer; }
.cp-cells input:checked + span { color: var(--accent); }
@media (max-width: 760px) {
  .cp-amt { font-size: 20px; } .cp-amt.big { font-size: 24px; } .cp-win { font-size: 22px; }
  .cp-banner { padding: 16px; gap: 12px; } .cp-banner .ico { width: 44px; height: 44px; }
  .cp-hide-sm { display: none; }
}
.cp-vs-big { font-size: 24px; padding-bottom: 30px; }
@media (max-width: 760px) { .cp-vs-big { font-size: 15px; padding-bottom: 22px; } }

/* ------------------------------------------------------------ SweetAlert2 con el estilo de la app */
.swal2-container { z-index: 2000; }
.sw-popup { border: 1px solid var(--line) !important; border-radius: 16px !important; box-shadow: 0 18px 50px rgba(0,0,0,.35) !important; }
.sw-title { font-size: 19px !important; color: var(--ink) !important; }
.sw-text { color: var(--ink-2) !important; font-size: 14px !important; }
.sw-actions { gap: 8px; }
.sw-actions .btn { min-width: 110px; justify-content: center; }
.btn.danger-solid { background: var(--bad); border-color: var(--bad); color: #fff; }
.btn.danger-solid:hover { filter: brightness(1.08); }
.swal2-popup.swal2-toast.sw-toast { display: flex !important; align-items: center !important; gap: 12px; padding: 14px 20px !important; min-height: 62px; min-width: 300px; position: relative; overflow: hidden; }
.sw-toast .swal2-icon { margin: 0 !important; flex: 0 0 auto; align-self: center !important; }
.sw-toast .swal2-html-container, .sw-toast .swal2-actions, .sw-toast .swal2-close, .sw-toast .swal2-loader { display: none !important; }
.sw-toast-title { flex: 1 1 auto; font-size: 15.5px !important; font-weight: 650 !important; color: var(--ink) !important; margin: 0 !important; padding: 0 !important; line-height: 1.35 !important; text-align: left !important; }
.sw-toast .swal2-timer-progress-bar-container { position: absolute; left: 0; right: 0; bottom: 0; }

/* ---------- Cuentas: buscador, filtros y menú ⋯ ---------- */
.list-tools { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.search { position: relative; flex: 1 1 260px; max-width: 420px; display: block; margin: 0; }
.search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.search .input { padding-left: 36px; width: 100%; }
.seg button .n { color: var(--muted); margin-left: 3px; }
.list-tools .seg { max-width: 100%; overflow-x: auto; }
.list-tools .seg button { white-space: nowrap; }
.list-count { margin-left: auto; color: var(--muted); font-size: 13px; white-space: nowrap; }
.list-empty { padding: 22px 16px; text-align: center; color: var(--muted); }
.list-empty .btn { margin-left: 8px; }
.sub2 { color: var(--muted); font-size: 12px; margin-top: 2px; font-weight: 400; }
.tags { display: flex; gap: 4px; margin-top: 4px; flex-wrap: wrap; }
.row-actions { align-items: center; }
.row-actions .btn.icon { width: 34px; height: 34px; justify-content: center; }
.row-actions .btn.icon svg { width: 18px; height: 18px; }
.row-actions .btn.on { box-shadow: 0 0 0 2px var(--accent); }
.rmenu { position: fixed; display: none; min-width: 280px; max-width: calc(100vw - 16px); padding: 6px; z-index: 70; box-shadow: 0 12px 32px rgba(0,0,0,.35); white-space: normal; }
.rmenu.open { display: block; }
.rmenu form { margin: 0; display: block; }
.rmenu .mi { display: flex; gap: 10px; width: 100%; text-align: left; border: 0; background: transparent; padding: 9px 10px; border-radius: 8px; cursor: pointer; color: var(--ink); font: inherit; }
.rmenu .mi:hover, .rmenu .mi:focus-visible { background: var(--surface-3); outline: none; }
.rmenu .mi svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--ink-2); }
.rmenu .mi b { display: block; font-weight: 600; font-size: 13.5px; }
.rmenu .mi small { display: block; color: var(--muted); font-size: 12px; margin-top: 1px; }
.rmenu .mi.danger, .rmenu .mi.danger svg { color: var(--bad); }
.rmenu hr { border: 0; height: 1px; background: var(--line); margin: 4px 6px; }
@media (max-width: 720px) { .search { max-width: none; flex-basis: 100%; } .list-count { margin-left: 0; } }

/* ---------- Competencias: resultado guardado e historial ---------- */
.cp-saved { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; }
.cp-saved-ico { display: flex; color: var(--accent); flex: none; }
.cp-saved-ico svg { width: 18px; height: 18px; }
.cp-lock { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.cp-lock svg { width: 13px; height: 13px; }
.cp-sub { padding: 12px 20px 0; font-weight: 650; font-size: 13px; }
.cp-tro { display: flex; align-items: center; gap: 12px; }
.cp-tro .t { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--surface-3); color: var(--muted); }
.cp-tro .t svg { width: 17px; height: 17px; }
.cp-tro .t.on { background: color-mix(in srgb, #e2a514 22%, transparent); color: #e2a514; }
.cp-tro .w { margin-left: auto; font-size: 22px; font-weight: 800; }

/* ---------- Formulario de Copy Trading ---------- */
.fx { max-width: 760px; }
.fx-card { padding: 20px 24px; margin-bottom: 12px; }
.fx-head { display: flex; gap: 14px; align-items: center; padding: 20px 24px; margin-bottom: 12px; }
.fx-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.fx-ic svg { width: 22px; height: 22px; }
.fx-q { display: block; font-weight: 650; font-size: 14.5px; margin-bottom: 10px; }
.fx-req { color: var(--bad); }
.fx-hint { color: var(--muted); font-size: 12.5px; margin-top: 6px; }
.fx-hint b { color: var(--ink); }
.fx-note { display: flex; gap: 10px; margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--warn) 12%, transparent); font-size: 12.5px; color: var(--ink-2); }
.fx-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--muted); cursor: pointer; display: flex; padding: 6px; }
.fx-eye svg { width: 18px; height: 18px; }
.fx-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.fx-opt { display: flex; align-items: flex-start; gap: 10px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; background: var(--surface-2); margin: 0; }
.fx-check { margin-top: 8px; font-weight: 400; }
.fx-opt.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.fx-opt input { margin-top: 3px; accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.fx-opt small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; margin-top: 2px; }
.fx-actions { display: flex; align-items: center; gap: 10px; margin: 16px 0 30px; flex-wrap: wrap; }
.fx-ok { width: 44px; height: 44px; border-radius: 50%; background: color-mix(in srgb, var(--good) 18%, transparent); color: var(--good); display: grid; place-items: center; font-size: 22px; font-weight: 800; flex: none; }
.fx-sum { margin-top: 18px; display: grid; grid-template-columns: 180px 1fr; row-gap: 10px; font-size: 14px; }
.fx-sum span { color: var(--muted); }
.cf-changed { color: var(--warn); font-size: 12px; font-weight: 650; margin-top: 6px; }
.cf-sub { color: var(--muted); font-size: 11.5px; }
.cf-pw { display: inline-flex; gap: 4px; align-items: center; }
.cf-pw code { background: var(--surface-3); padding: 3px 8px; border-radius: 6px; }
/* Formulario en Administración: estudiantes con varias cuentas se abren y se cierran */
.cf-tog { display: inline-flex; width: 22px; color: var(--muted); vertical-align: -3px; }
.cf-indent { margin-left: 22px; }
.cf-chev { transition: transform .15s; }
tr.cf-group { cursor: pointer; }
tr.cf-group:hover td { background: var(--surface-2); }
tr.cf-group.open .cf-chev { transform: rotate(90deg); }
tr.cf-group:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.cf-count { margin-left: 6px; background: var(--accent-soft); color: var(--accent); }
tr.cf-child td { background: color-mix(in srgb, var(--accent) 4%, transparent); }
td.cf-rail { border-left: 3px solid var(--accent); }
tbody.cf-block[hidden], tr.cf-child[hidden] { display: none; }
@media (max-width: 720px) { .fx-grid { grid-template-columns: 1fr 1fr; } .fx-sum { grid-template-columns: 1fr; row-gap: 2px; } .fx-sum b { margin-bottom: 8px; } }

/* Cuadro de texto dentro de las ventanas de confirmación (p. ej. motivo de cancelación) */
.swal2-popup .sw-input { width: auto; margin: 6px 1.6em 0; min-height: 76px; font: inherit; font-size: 14px; resize: vertical; }
.swal2-popup .sw-input-label { margin: 14px 1.6em 0; justify-content: flex-start; font-weight: 600; font-size: 13.5px; color: var(--ink); }
/* Copy Trading: cuenta conectada, solicitud de cancelación */
.badge.copy-on { background: color-mix(in srgb, var(--good) 18%, transparent); color: var(--good); }
.badge.copy-cancel { background: color-mix(in srgb, var(--bad) 16%, transparent); color: var(--bad); }
.fx-note.fx-cancel { background: color-mix(in srgb, var(--bad) 10%, transparent); }
.linkbtn { background: none; border: 0; padding: 0; margin-left: 6px; color: var(--accent); font: inherit; font-weight: 600; cursor: pointer; }
.linkbtn:hover { text-decoration: underline; }
tr.cf-cancel td { background: color-mix(in srgb, var(--bad) 6%, transparent); }
.btn.copy-mark { border-color: var(--good); color: var(--good); white-space: nowrap; }
.cf-why { max-width: 190px; white-space: normal; }
.row-actions .row-gap { visibility: hidden; }
/* Formulario: tipo de cuenta (real / fondeo) */
.fx-grid.fx-grid2 { grid-template-columns: repeat(2, 1fr); }
.fx-opt.fx-off { opacity: .55; cursor: not-allowed; }
.badge.kind-real { background: color-mix(in srgb, var(--s2) 16%, transparent); color: var(--s2); }
.badge.kind-fondeo { background: color-mix(in srgb, var(--s7) 18%, transparent); color: var(--s7); }
.tbl td.cf-srv { max-width: 160px; white-space: normal; }   /* servidores largos: bajan de línea en el guion */
.fx-grid.fx-grid3 { grid-template-columns: repeat(3, 1fr); }
#cfTable td, #cfTable th { padding-left: 10px; padding-right: 10px; }   /* tabla del formulario: más columnas, celdas más justas */

/* ---------- Administración en pestañas (v4.25) ---------- */
.atabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin: 0 0 18px; overflow-x: auto; scrollbar-width: none; }
.atabs::-webkit-scrollbar { display: none; }
.atabs a { padding: 10px 14px; font-weight: 600; font-size: 14px; color: var(--ink-2); border-bottom: 2px solid transparent; white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.atabs a:hover { color: var(--ink); text-decoration: none; }
.atabs a.on { color: var(--ink); border-bottom-color: var(--accent); }
.atabs .n { font-size: 11px; font-weight: 700; border-radius: 999px; padding: 1px 7px; background: var(--surface-3); color: var(--ink-2); }
.atabs .n.bad { background: var(--bad); color: #fff; }
.pend-h { font-size: 15px; margin: 0 0 10px; }
.pend { display: grid; gap: 10px; }
.pend-it { display: flex; align-items: center; gap: 14px; padding: 13px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.pend-it .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.pend-it .num { font-size: 22px; font-weight: 750; min-width: 30px; text-align: right; font-variant-numeric: tabular-nums; }
.pend-it .txt { flex: 1; min-width: 0; }
.pend-it .t { font-weight: 650; }
.pend-it .d { color: var(--muted); font-size: 13px; margin-top: 2px; }
.pend-it .btn { white-space: nowrap; }
.pend-it.ok { opacity: .55; box-shadow: none; }
/* Copy Trading */
.cx-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.cx-tools .spacer { flex: 1; }
.cx-tools .input { height: 36px; width: 260px; max-width: 100%; }
.cx-tools .btn.icon { height: 36px; width: 36px; justify-content: center; }
.cx-seg { max-width: 100%; overflow-x: auto; }
.cx-seg button { white-space: nowrap; }
.cx-seg button.alert { color: var(--bad); }
#cxTable td { vertical-align: middle; }
#cxTable tr.cx-cancel td:first-child { box-shadow: inset 4px 0 0 var(--bad); }
#cxTable tr.cx-risk td:first-child { box-shadow: inset 4px 0 0 var(--warn); }
#cxTable tr.cx-ret td:first-child { box-shadow: inset 4px 0 0 #2f6fe0; }
.cx-sub { color: var(--muted); font-size: 12px; }
.cx-why { max-width: 230px; white-space: normal; margin-top: 3px; line-height: 1.35; }
.badge.cx-noplat { background: transparent; border: 1px dashed var(--warn); color: var(--warn); }
.cx-prev { color: var(--warn); font-size: 12px; font-weight: 650; margin-top: 2px; }
.cx-chk-f { margin: 4px 0 0; }
.cx-chk { display: inline-flex; gap: 7px; align-items: center; font-size: 12.5px; font-weight: 650; color: var(--warn); cursor: pointer; }
.cx-chk input { width: 16px; height: 16px; accent-color: var(--warn); margin: 0; cursor: pointer; }
.cx-sw { width: 44px; height: 24px; border-radius: 999px; border: 0; background: #d6d5cf; position: relative; cursor: pointer; padding: 0; flex: none; transition: background .15s; vertical-align: middle; }
.cx-sw::after { content: "–"; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25);
  display: grid; place-items: center; font-size: 12px; font-weight: 900; line-height: 1; color: #9a998f; transition: left .15s; }
.cx-sw.on { background: var(--good); }
.cx-sw.on::after { content: "✓"; left: 23px; color: var(--good); }
.cx-sw:disabled { cursor: not-allowed; opacity: .55; }
.cx-sw.on:disabled { opacity: .8; }
[data-theme="dark"] .cx-sw:not(.on) { background: #4a4a46; }
.cx-pill { display: table; margin-top: 6px; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.cx-pill.bad { background: color-mix(in srgb, var(--bad) 14%, transparent); color: var(--bad); }
.cx-pill.ret { background: color-mix(in srgb, #2f6fe0 14%, transparent); color: #2f6fe0; }
.cx-pill.fixed { background: color-mix(in srgb, var(--good) 14%, transparent); color: var(--good); }
[data-copy-pw].on { box-shadow: 0 0 0 2px var(--accent); }
.cx-pop { position: fixed; z-index: 70; width: 290px; max-width: calc(100vw - 16px); padding: 14px 16px; box-shadow: 0 12px 32px rgba(0,0,0,.25); }
.cx-pop-l { font-size: 12px; color: var(--muted); font-weight: 650; margin-bottom: 6px; }
.cx-pop-r { display: flex; gap: 8px; align-items: center; }
.cx-pop-r code { flex: 1; min-width: 0; font-size: 15px; font-weight: 700; background: var(--surface-3); padding: 7px 10px; border-radius: 8px; overflow-wrap: anywhere; }
.cx-pop-f { font-size: 12px; color: var(--muted); margin-top: 8px; }
.cx-fix { display: flex; flex-wrap: wrap; gap: 6px; }
.cx-fix label { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); font-weight: 600; font-size: 13px; cursor: pointer; }
.cx-fix label input { margin: 0; accent-color: var(--accent); }
.cx-fix label.on { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); }
.cx-fix label[hidden] { display: none; }
.cx-toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 80; background: #1a1a19; color: #fff; padding: 12px 18px; border-radius: 12px;
  font-size: 14px; display: flex; gap: 16px; align-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.25); max-width: calc(100vw - 24px); transition: opacity .4s; }
.cx-toast .linkbtn { color: #19c2ad; margin: 0; }
.cx-toast.gone { opacity: 0; pointer-events: none; }
@media (max-width: 720px) { .cx-tools .input { width: 100%; flex: 1; } .cx-tools .spacer { display: none; } .pend-it { flex-wrap: wrap; } .pend-it .btn { margin-left: 44px; } }
/* Avisos del Copy en Notas y Formulario */
.badge.copy-note { background: var(--accent-soft); color: var(--accent); }
.banner.notify.ret { background: color-mix(in srgb, #2f6fe0 9%, var(--surface)); border-color: color-mix(in srgb, #2f6fe0 35%, transparent); }
.banner.notify.ret .notify-ico { background: #2f6fe0; color: #fff; }
.btn.blue, .btn.primary.blue { background: #2f6fe0; border-color: #2f6fe0; color: #fff; }
.note-b .cn-t, .note-b .cn-l, .note-b .cn-q { display: block; }
.note-b .cn-t { font-weight: 700; }
.note-b .cn-q { font-style: italic; color: var(--ink-2); }
.fx-ret { border: 1.5px solid #2f6fe0 !important; }
.fx-ret-box { background: color-mix(in srgb, #2f6fe0 8%, var(--surface)); border: 1px solid color-mix(in srgb, #2f6fe0 30%, transparent); border-radius: 10px; padding: 12px 14px; margin: 0 0 14px; font-size: 14px; }
.fx-ret-box b { color: #2456b8; }
[data-theme="dark"] .fx-ret-box b { color: #8db2ff; }
.fx-fixme { color: #2f6fe0; font-weight: 700; font-size: 12px; margin-left: 6px; }
.fx-ret .input.fixme { border: 1.5px solid #2f6fe0; }
