/* BackupGo Licencias · panel privado. Paleta del logotipo: marino #1B2F6B, azul #2F80ED, cian #1FD1F9. */
:root {
  --bg: #F4F7FC; --surface: #FFFFFF; --surface-2: #F7F9FD; --ink: #0F1B3D; --muted: #5B6B86; --line: #E3E9F3;
  --brand: #2F80ED; --brand-strong: #1F6BD6; --cyan: #1FD1F9; --navy: #1B2F6B; --navy-deep: #0E1A3A;
  --ok: #15803D; --ok-bg: #DCFCE7; --warn: #B45309; --warn-bg: #FEF3C7; --danger: #B91C1C; --danger-bg: #FEE2E2; --info: #0E7490; --info-bg: #CFFAFE; --neutral-bg: #EEF2F8;
  --shadow: 0 1px 2px rgba(15,27,61,.05), 0 8px 24px rgba(15,27,61,.06); --shadow-lift: 0 2px 6px rgba(15,27,61,.08), 0 16px 40px rgba(15,27,61,.12);
  --radius: 16px; --radius-sm: 10px; --ease: cubic-bezier(.2,.8,.2,1);
  color-scheme: light; font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 1.5; color: var(--ink); background: var(--bg);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0A1122; --surface: #111A31; --surface-2: #16213D; --ink: #E6ECF8; --muted: #97A6C3; --line: #22304F;
    --ok: #4ADE80; --ok-bg: rgba(34,197,94,.14); --warn: #FBBF24; --warn-bg: rgba(245,158,11,.14); --danger: #F87171; --danger-bg: rgba(239,68,68,.14); --info: #22D3EE; --info-bg: rgba(6,182,212,.14); --neutral-bg: #1A2544;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25); --shadow-lift: 0 2px 6px rgba(0,0,0,.35), 0 16px 40px rgba(0,0,0,.35); color-scheme: dark; }
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.25; margin: 0; letter-spacing: -.01em; }
code { font-family: "Cascadia Mono", Consolas, monospace; font-size: .92em; background: var(--neutral-bg); padding: 2px 6px; border-radius: 6px; overflow-wrap: anywhere; }
small { display: block; color: var(--muted); font-size: 12.5px; }
.muted { color: var(--muted); }
.ic { width: 18px; height: 18px; flex: none; }
.ic-lg { width: 26px; height: 26px; } .ic-xl { width: 44px; height: 44px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 2px; border-radius: 8px; }

/* ── Layout ── */
.app { display: flex; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 256px; display: flex; flex-direction: column; padding: 20px 14px; color: #D6E2FF;
  background: radial-gradient(120% 60% at 0% 0%, rgba(31,209,249,.18), transparent 60%), linear-gradient(180deg, #16295F 0%, #0E1A3A 100%); z-index: 30; transition: transform .28s var(--ease); }
.brand { display: flex; align-items: center; gap: 12px; padding: 6px 10px 22px; color: #fff; text-decoration: none !important; }
.brand img { filter: drop-shadow(0 4px 12px rgba(31,209,249,.35)); transition: transform .4s var(--ease); }
.brand:hover img { transform: rotate(-12deg) scale(1.06); }
.brand strong { display: block; font-size: 17px; letter-spacing: .01em; }
.brand small { color: #8FB4F7; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; }
.sidebar nav { display: flex; flex-direction: column; gap: 4px; }
.nav-item { position: relative; display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: #C3D3F5; font-weight: 500; text-decoration: none !important; border: 0; background: none; font: inherit; width: 100%; cursor: pointer; transition: background .18s, color .18s, transform .18s var(--ease); }
.nav-item:hover { background: rgba(255,255,255,.07); color: #fff; transform: translateX(2px); }
.nav-item.active { background: linear-gradient(90deg, rgba(47,128,237,.35), rgba(31,209,249,.12)); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.nav-item.active::before { content: ""; position: absolute; left: -14px; top: 10px; bottom: 10px; width: 4px; border-radius: 0 4px 4px 0; background: linear-gradient(var(--cyan), var(--brand)); }
.sidebar-foot { margin-top: auto; border-top: 1px solid rgba(255,255,255,.08); padding-top: 14px; }
.who { display: flex; align-items: center; gap: 10px; padding: 8px 12px; color: #9EB6E8; font-size: 13px; }
.main { flex: 1; margin-left: 256px; min-width: 0; display: flex; flex-direction: column; min-height: 100vh; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; padding: 18px 32px; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.topbar h1 { font-size: 22px; font-weight: 650; }
.menu-toggle { display: none; border: 0; background: var(--surface); color: var(--ink); border-radius: 10px; padding: 8px; box-shadow: var(--shadow); cursor: pointer; }
.content { padding: 28px 32px 40px; max-width: 1280px; width: 100%; display: flex; flex-direction: column; gap: 22px; }
.foot { margin-top: auto; padding: 18px 32px; color: var(--muted); font-size: 12.5px; }
@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); box-shadow: var(--shadow-lift); }
  .sidebar.open { transform: none; }
  .main { margin-left: 0; }
  .menu-toggle { display: inline-flex; }
  .content, .topbar { padding-left: 16px; padding-right: 16px; }
}

/* ── Cards and grids ── */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); transition: box-shadow .25s var(--ease), transform .25s var(--ease); min-width: 0; }
.card:hover { box-shadow: var(--shadow-lift); }
.card h3 { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 650; margin-bottom: 14px; }
.card h3 .ic { color: var(--brand); }
.card > .muted { margin: -6px 0 16px; font-size: 14px; }
.narrow { max-width: 760px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.grid-2.tight { gap: 14px; }
@media (max-width: 1100px) { .grid-2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2.tight { grid-template-columns: minmax(0, 1fr); } }
.hero { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.hero h2 { font-size: 28px; font-weight: 700; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 500; }

/* ── KPI tiles ── */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.kpis-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .kpis, .kpis-3 { grid-template-columns: minmax(0, 1fr); } }
.kpi { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.kpi:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.kpi::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent, var(--brand)) 22%, transparent), transparent 70%); }
.kpi > .ic { width: 38px; height: 38px; padding: 9px; border-radius: 12px; color: var(--accent, var(--brand)); background: color-mix(in srgb, var(--accent, var(--brand)) 13%, transparent); }
.kpi > span { display: block; margin-top: 14px; color: var(--muted); font-size: 13px; font-weight: 500; }
.kpi strong { display: block; font-size: 30px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tone-ok { --accent: #16A34A; } .tone-blue { --accent: #2F80ED; } .tone-cyan { --accent: #0891B2; } .tone-warn { --accent: #D97706; }

/* ── Buttons and forms ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none !important; white-space: nowrap;
  transition: transform .16s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s, color .2s; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--brand) 0%, #2B6FE0 55%, #1FA8E0 100%); box-shadow: 0 6px 18px rgba(47,128,237,.32); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(47,128,237,.42); }
.btn-ghost { color: var(--ink); background: var(--surface); border-color: var(--line); }
.btn-ghost:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); color: var(--brand); transform: translateY(-1px); }
.btn-danger { color: #fff; background: #DC2626; box-shadow: 0 6px 18px rgba(220,38,38,.28); }
.btn-danger:hover { background: #B91C1C; }
.btn-sm { min-height: 34px; padding: 0 12px; font-size: 13.5px; border-radius: 10px; }
.btn-lg { min-height: 50px; padding: 0 24px; font-size: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.stack { display: flex; flex-direction: column; gap: 14px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
label small { font-weight: 400; }
input, select, textarea { width: 100%; font: inherit; font-weight: 400; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); border-radius: 11px; padding: 11px 13px; transition: border-color .18s, box-shadow .18s, background .18s; }
input:hover, select:hover, textarea:hover { border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); background: var(--surface); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
input[type=file] { padding: 9px; }
input:disabled { opacity: .6; }
.check { flex-direction: row; align-items: center; font-weight: 500; }
.check input { width: auto; }
.inline-form { display: flex; align-items: end; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.inline-form label { flex: 1; min-width: 180px; }
.drop { align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 24px; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted); font-weight: 500; cursor: pointer; transition: border-color .2s, background .2s; }
.drop:hover, .drop.over { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 6%, transparent); color: var(--brand); }
.drop input { max-width: 320px; }
.code-input { font-family: "Cascadia Mono", Consolas, monospace; font-size: 22px; letter-spacing: .25em; text-align: center; text-transform: uppercase; }

/* ── Tables and lists ── */
.toolbar { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.search { position: relative; flex: 1; min-width: 240px; max-width: 520px; }
.search .ic { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search input[type=search] { padding-left: 40px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 6px; }
.chip { padding: 7px 14px; border-radius: 999px; background: var(--neutral-bg); color: var(--muted); font-weight: 600; font-size: 13px; text-decoration: none !important; transition: background .18s, color .18s, transform .18s; }
.chip:hover { color: var(--ink); transform: translateY(-1px); }
.chip.active { background: var(--ink); color: var(--surface); }
.table-wrap { overflow-x: auto; margin: 0 -8px; }
.table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.table td { padding: 13px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tbody tr { transition: background .15s; }
.table tbody tr:hover { background: color-mix(in srgb, var(--brand) 5%, transparent); }
.row-link { cursor: pointer; }
.row-link a { color: var(--ink); }
.nw { white-space: nowrap; }
.seats { display: flex; align-items: center; gap: 10px; min-width: 120px; }
meter { width: 72px; height: 8px; border-radius: 99px; background: var(--neutral-bg); border: 0; }
meter::-webkit-meter-bar { background: var(--neutral-bg); border: 0; border-radius: 99px; height: 8px; }
meter::-webkit-meter-optimum-value, meter::-webkit-meter-suboptimum-value, meter::-webkit-meter-even-less-good-value { background: linear-gradient(90deg, var(--brand), var(--cyan)); border-radius: 99px; }
meter::-moz-meter-bar { background: linear-gradient(90deg, var(--brand), var(--cyan)); border-radius: 99px; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill-ok { color: var(--ok); background: var(--ok-bg); } .pill-ok .dot { animation: pulse 2.4s infinite; }
.pill-warn { color: var(--warn); background: var(--warn-bg); } .pill-danger { color: var(--danger); background: var(--danger-bg); }
.pill-info { color: var(--info); background: var(--info-bg); } .pill-muted { color: var(--muted); background: var(--neutral-bg); }
.tag { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 7px; background: var(--neutral-bg); color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.list, .devices, .timeline, .checks, .plain { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.list li:last-child { border-bottom: 0; }
.list a { color: var(--ink); text-decoration: none; }
.devices li { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 12px; transition: background .15s; }
.devices li:hover { background: var(--surface-2); }
.devices li > .ic { color: var(--brand); }
.devices li > div { flex: 1; min-width: 0; }
.timeline li { display: grid; grid-template-columns: 130px 120px minmax(0, 1fr) auto; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; align-items: baseline; }
.timeline .when, .timeline .actor { color: var(--muted); font-size: 12.5px; }
.timeline .what { font-weight: 600; }
@media (max-width: 700px) { .timeline li { grid-template-columns: 1fr; gap: 2px; } }
.checks li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; }
.checks li.ok > .ic { color: var(--ok); } .checks li.bad > .ic { color: var(--danger); }
.plain li { padding: 7px 0; color: var(--muted); }
.plain code { margin-right: 6px; }
.link { display: inline-block; margin-top: 14px; font-weight: 600; }
.empty { text-align: center; padding: 48px 16px; color: var(--muted); }
.empty .ic { color: var(--brand); opacity: .75; }
.empty h3 { justify-content: center; margin: 12px 0 6px; color: var(--ink); }
.empty.small { padding: 24px 8px; }
.note { padding: 12px 14px; border-radius: 12px; background: var(--info-bg); color: var(--ink); font-size: 14px; margin: 0; }
.note.warn { background: var(--warn-bg); }
.note.ok-note { background: var(--ok-bg); }
.danger-zone h3 .ic { color: var(--danger); }
details.delete { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; }
details.delete summary { display: flex; align-items: center; gap: 8px; cursor: pointer; color: var(--danger); font-weight: 600; list-style: none; }
details.delete[open] summary { margin-bottom: 12px; }
.chart { width: 100%; height: auto; }
.chart text { fill: var(--muted); font-size: 11px; }
.chart .bar { transform-box: fill-box; transform-origin: bottom; animation: grow .7s var(--ease) both; }
.chart .bar:nth-of-type(3n) { animation-delay: .05s; } .chart .bar:nth-of-type(3n+1) { animation-delay: .1s; }
.chart .bar:hover { filter: brightness(1.15); }

/* ── Toasts ── */
.toasts { position: fixed; top: 18px; right: 18px; z-index: 50; display: flex; flex-direction: column; gap: 10px; max-width: min(460px, calc(100vw - 36px)); }
.toast { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lift); animation: toast-in .45s var(--ease) both; }
.toast p { margin: 0; font-weight: 500; }
.toast > .ic { margin-top: 2px; }
.toast-ok > .ic { color: var(--ok); } .toast-error > .ic { color: var(--danger); } .toast-info > .ic { color: var(--brand); }
.toast-error { border-color: color-mix(in srgb, var(--danger) 35%, var(--line)); }
.toast.leaving { animation: toast-out .3s var(--ease) both; }
.toast-close { margin-left: auto; border: 0; background: none; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; }
.secret { display: flex; gap: 8px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.secret code { font-size: 13px; padding: 6px 9px; }

/* ── Login and installer ── */
.auth { display: grid; place-items: center; padding: 24px; background: #0A1330; overflow: hidden; position: relative; }
.aurora { position: fixed; inset: 0; overflow: hidden; z-index: 0; }
.aurora span { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 22s ease-in-out infinite alternate; }
.aurora span:nth-child(1) { background: #2F80ED; left: -18vmax; top: -22vmax; }
.aurora span:nth-child(2) { background: #1FD1F9; right: -22vmax; bottom: -26vmax; animation-delay: -7s; opacity: .4; }
.aurora span:nth-child(3) { background: #1B2F6B; left: 30%; top: 40%; animation-delay: -14s; }
.auth-card { position: relative; z-index: 1; width: min(440px, 100%); padding: 38px 34px; border-radius: 24px; text-align: center; color: var(--ink);
  background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,.25); box-shadow: 0 30px 80px rgba(2,8,30,.45); animation: pop .6s var(--ease) both; }
.auth-card.wide { width: min(620px, 100%); text-align: left; }
.auth-card h1 { font-size: 26px; font-weight: 700; margin: 10px 0 6px; }
.auth-card h1 span { background: linear-gradient(90deg, var(--brand), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth-card .stack { text-align: left; margin-top: 22px; }
.auth-card > .muted { margin: 0 0 8px; }
.auth-card .btn-lg { width: 100%; }
.auth-card .btn-row .btn-lg { width: auto; }
.auth-logo { display: block; margin: 0 auto; animation: float 5s ease-in-out infinite; filter: drop-shadow(0 12px 24px rgba(47,128,237,.45)); }
.auth-card.wide .auth-logo { margin: 0 0 8px; }
.auth-logo.small { width: 56px; height: 56px; }
.auth .toasts { z-index: 5; }
.steps { display: flex; gap: 6px; list-style: none; padding: 0; margin: 10px 0 22px; flex-wrap: wrap; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.steps li { flex: 1; min-width: 70px; display: flex; flex-direction: column; gap: 6px; }
.steps li span { height: 5px; border-radius: 99px; background: var(--neutral-bg); overflow: hidden; position: relative; }
.steps li.done span, .steps li.current span { background: linear-gradient(90deg, var(--brand), var(--cyan)); }
.steps li.current { color: var(--brand); }
.steps li.current span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent); animation: shimmer 1.6s infinite; }
.success-mark { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #16A34A, #22C55E); box-shadow: 0 16px 40px rgba(22,163,74,.4); animation: pop .6s var(--ease) both; margin-bottom: 8px; }

/* ── Motion ── */
.reveal { animation: rise .55s var(--ease) both; }
.content > .reveal:nth-child(2), .grid-2 > .reveal:nth-child(2) { animation-delay: .06s; }
.content > .reveal:nth-child(3), .grid-2 > .reveal:nth-child(3) { animation-delay: .12s; }
.content > .reveal:nth-child(4), .grid-2 > .reveal:nth-child(4) { animation-delay: .18s; }
.grid-2 > .reveal:nth-child(5) { animation-delay: .24s; } .grid-2 > .reveal:nth-child(6) { animation-delay: .3s; }
.kpis .kpi { animation: rise .55s var(--ease) both; }
.kpis .kpi:nth-child(2) { animation-delay: .07s; } .kpis .kpi:nth-child(3) { animation-delay: .14s; } .kpis .kpi:nth-child(4) { animation-delay: .21s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 45%, transparent); } 60% { box-shadow: 0 0 0 6px transparent; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(8vmax, 6vmax) scale(1.15); } }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes toast-in { from { opacity: 0; transform: translateX(24px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateX(24px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Clave de licencia: grande, legible y fácil de copiar */
.key-card { margin-bottom: 20px; }
.license-key { display: flex; justify-content: center; padding: 18px 12px; margin: 6px 0 12px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(47,128,237,.08), rgba(31,209,249,.10)); border: 1px dashed rgba(47,128,237,.45); }
.license-key code { font-size: clamp(15px, 2.4vw, 22px); letter-spacing: .06em; font-weight: 700; background: none; padding: 0; word-break: break-all; text-align: center; }

/* Pasos numerados de la pantalla «Algo ha fallado» */
.plain-steps { text-align: left; margin: 12px 0 16px; padding-left: 22px; line-height: 1.6; }
.plain-steps li { margin: 6px 0; }
/* Actualizaciones del programa */
.releases { list-style: none; margin: 0; padding: 0; }
.releases li { display: flex; align-items: flex-start; gap: 14px; padding: 14px 12px; border-radius: 12px; border: 1px solid transparent; }
.releases li + li { margin-top: 6px; }
.releases li > .ic { color: var(--brand); margin-top: 2px; }
.releases li.live { background: var(--ok-bg); border-color: color-mix(in srgb, var(--ok) 30%, transparent); }
.releases li.live > .ic { color: var(--ok); }
.releases li.bad > .ic { color: var(--danger); }
.releases li > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.releases small { color: var(--muted); }
.releases .ok-text { color: var(--ok); } .releases .danger-text { color: var(--danger); }
.releases details summary { cursor: pointer; color: var(--brand); font-size: 13px; margin-top: 4px; }
.releases pre.notes { white-space: pre-wrap; font: 13px/1.5 inherit; font-family: inherit; color: var(--ink); background: var(--surface-2); border-radius: 10px; padding: 10px 12px; margin: 6px 0 0; max-height: 220px; overflow: auto; }
@media (max-width: 700px) { .releases li { flex-wrap: wrap; } }
/* Programa de cada licencia (2-nov-2026: BackupGo y GoGes en el mismo panel) */
.tag-backupgo{background:#e8f0ff;color:#1d4fd8}
.tag-goges{background:#e6f7ee;color:#137a3f}
.chip-sep{display:inline-block;width:1px;height:20px;background:currentColor;opacity:.2;margin:0 6px;vertical-align:middle}

