:root {
  --bg: #05070d;
  --ink: #eaf1ff;
  --mute: #8b98b5;
  --line: rgba(255,255,255,.10);
  --glass: rgba(255,255,255,.055);
  --blue: #5aa9ff;
  --cyan: #4de1ff;
  --red: #ff6b81;
  --yellow: #ffd166;
  --radius: 22px;
  --tab-h: 74px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  min-height: 100dvh;
  padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom) + 16px);
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* Fondo */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.g1 { width: 420px; height: 420px; background: #1f5fd6; top: -140px; left: -120px; }
.g2 { width: 380px; height: 380px; background: #0a8ea8; bottom: -120px; right: -140px; opacity: .35; }
.grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 0%, transparent 70%);
  opacity: .35;
}

/* Cabecera */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(env(safe-area-inset-top) + 12px) 18px 12px;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: linear-gradient(to bottom, rgba(5,7,13,.85), rgba(5,7,13,.35));
}
.brand { display: flex; flex-direction: column; line-height: 1; }
.word { font-weight: 900; font-size: 24px; letter-spacing: .22em; }
.sub { font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); margin-top: 3px; }
.who { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--mute); }
.who b {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; color: #04101f; font-size: 14px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

main { max-width: 640px; margin: 0 auto; padding: 6px 16px 0; outline: none; }
.view { animation: rise .35s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Tarjetas de cristal */
.glass, .card {
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  box-shadow: 0 10px 40px -18px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.07);
}
.card { border-radius: var(--radius); padding: 18px; margin-top: 14px; }
.card h2 { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.card .hint { margin: 0 0 14px; font-size: 12.5px; color: var(--mute); }

.greet { margin: 10px 2px 2px; font-size: 13px; color: var(--mute); }
.title { margin: 0 2px; font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.title span { color: var(--blue); }

/* Chips */
.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.chip { padding: 11px 6px; border-radius: 16px; text-align: center; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.chip b { display: block; font-size: 18px; font-variant-numeric: tabular-nums; }
.chip small { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.chip.hot b { color: var(--cyan); }

/* Escalera de zonas */
.zone { display: grid; grid-template-columns: 82px 1fr; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); }
.zone:first-of-type { border-top: 0; }
.zone .zn { font-weight: 800; font-size: 14px; white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.zone .zn i { width: 9px; height: 9px; border-radius: 50%; box-shadow: 0 0 12px currentColor; }
.zbar { position: relative; height: 30px; border-radius: 10px; background: rgba(255,255,255,.05); overflow: hidden; }
.zfill { position: absolute; top: 0; bottom: 0; border-radius: 10px; transform-origin: left; animation: grow .8s cubic-bezier(.2,.8,.2,1) both; }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.zbar span { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; text-shadow: 0 1px 6px rgba(0,0,0,.7); }
.zsub { grid-column: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 2px; }
.zsub em { font-style: normal; font-size: 13px; font-weight: 600; padding: 5px 4px; text-align: center; white-space: nowrap; border-radius: 99px; border: 1px solid var(--line); color: #c9d3ea; font-variant-numeric: tabular-nums; }

/* Nivel vs élite */
.level { padding: 10px 0; border-top: 1px solid var(--line); }
.level:first-of-type { border-top: 0; }
.lhead { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.lhead b { font-size: 15px; }
.lhead span { font-size: 12px; color: var(--mute); }
.lhead strong { font-size: 22px; font-variant-numeric: tabular-nums; }
.track { position: relative; height: 10px; border-radius: 99px; background: linear-gradient(90deg, #3a4560, #2e86ff 50%, #4de1ff 80%, #fff); }
.track .dim { position: absolute; right: 0; top: 0; bottom: 0; background: rgba(5,7,13,.72); border-radius: 0 99px 99px 0; }
.track .pin { position: absolute; top: 50%; width: 20px; height: 20px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); box-shadow: 0 0 0 4px rgba(90,169,255,.35), 0 0 18px var(--cyan); transition: left .9s cubic-bezier(.2,.8,.2,1); }
.scale { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-top: 8px; }

/* Entrenos */
.sess-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.sess-head b { font-size: 20px; letter-spacing: .02em; }
.pill { font-size: 10.5px; font-weight: 800; letter-spacing: .14em; padding: 5px 10px; border-radius: 99px; color: #052a1d; background: #4ef0b1; box-shadow: 0 0 16px rgba(78,240,177,.5); }
.pill.dim { color: var(--mute); background: rgba(255,255,255,.08); box-shadow: none; }
.timeline { display: flex; gap: 3px; height: 10px; margin-bottom: 14px; }
.timeline i { border-radius: 4px; min-width: 6px; }
.block { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.block:first-of-type { border-top: 0; }
.tag { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-align: center; padding: 6px 0; border-radius: 10px; border: 1px solid currentColor; }
.block .dur { font-size: 20px; font-weight: 700; }
.block .dur small { font-size: 11px; color: var(--mute); font-weight: 500; margin-left: 4px; }
.block .pw { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; }
.block .pw small { font-size: 12px; color: var(--mute); margin-left: 2px; font-weight: 600; }
.foot { margin-top: 12px; font-size: 12px; color: var(--mute); display: flex; justify-content: space-between; }

/* Timing */
.donut-row { display: flex; align-items: center; gap: 18px; }
.legend { flex: 1; display: grid; gap: 10px; }
.legend div { display: flex; align-items: center; justify-content: space-between; font-size: 14px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; margin-right: 8px; }
.legend b { font-variant-numeric: tabular-nums; }
.day { width: 100%; display: grid; grid-template-columns: 38px 1fr 42px; gap: 10px; align-items: center; padding: 9px 0; text-align: left; }
.day .dn { font-size: 12.5px; font-weight: 700; color: var(--mute); text-transform: uppercase; letter-spacing: .08em; }
.day .bars { display: flex; gap: 3px; height: 24px; border-radius: 9px; background: rgba(255,255,255,.04); }
.day .bars i {
  height: 100%; border-radius: 8px; transition: width .5s ease; position: relative; overflow: hidden;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 62%, transparent), color-mix(in srgb, var(--c) 22%, transparent));
  border: 1px solid color-mix(in srgb, var(--c) 70%, transparent);
  box-shadow: 0 0 14px -2px color-mix(in srgb, var(--c) 55%, transparent), inset 0 1px 0 rgba(255,255,255,.35);
  backdrop-filter: blur(3px);
}
.day .bars i::after { content: ""; position: absolute; inset: 0 0 55% 0; background: linear-gradient(180deg, rgba(255,255,255,.28), transparent); }
.day .tot { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; font-size: 13px; }
.edit-hint { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--cyan); margin-top: 6px; }
.note { font-size: 12.5px; line-height: 1.45; color: var(--mute); }

/* Trend */
.seg { display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid var(--line); margin-top: 14px; }
.seg button small { display: block; font-size: 11px; font-weight: 600; opacity: .7; }
.seg button { padding: 8px 4px; border-radius: 12px; font-weight: 700; font-size: 14px; line-height: 1.25; color: var(--mute); transition: all .25s; }
.seg button.on { color: #04101f; background: linear-gradient(135deg, var(--blue), var(--cyan)); box-shadow: 0 6px 20px -6px rgba(77,225,255,.6); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kpi { padding: 12px 10px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.kpi small { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.kpi b { display: block; font-size: 24px; margin: 2px 0; font-variant-numeric: tabular-nums; }
.kpi em { font-style: normal; font-size: 12px; font-weight: 700; }
.good { color: #4ef0b1; } .bad { color: var(--red); } .flat { color: var(--mute); }
.rows { margin-top: 6px; }
.row { display: grid; grid-template-columns: 52px repeat(4, 1fr); gap: 4px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; font-variant-numeric: tabular-nums; text-align: right; }
.row > :first-child { text-align: left; color: var(--mute); }
.row.h { border-top: 0; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); padding-top: 0; }
.fab {
  position: fixed; right: 18px; bottom: calc(var(--tab-h) + env(safe-area-inset-bottom) + 24px); z-index: 30;
  display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-radius: 99px; font-weight: 800; font-size: 14px;
  color: #04101f; background: linear-gradient(135deg, var(--blue), var(--cyan)); box-shadow: 0 10px 30px -6px rgba(77,225,255,.65);
}

/* Barra inferior */
.tabs {
  position: fixed; left: 12px; right: 12px; bottom: calc(env(safe-area-inset-bottom) + 12px); z-index: 40;
  max-width: 616px; margin: 0 auto; height: var(--tab-h);
  display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px; border-radius: 26px;
  background: rgba(14,20,36,.6); border: 1px solid var(--line);
  backdrop-filter: blur(26px) saturate(160%); -webkit-backdrop-filter: blur(26px) saturate(160%);
  box-shadow: 0 18px 50px -12px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.08);
}
.tabs button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-radius: 18px; color: var(--mute); font-size: 11px; font-weight: 600; letter-spacing: .04em; transition: all .25s; }
.tabs svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.tabs button.on { color: var(--cyan); background: rgba(77,225,255,.12); box-shadow: inset 0 0 0 1px rgba(77,225,255,.25); }

/* Hoja inferior */
.sheet-wrap { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; }
.sheet-wrap[hidden] { display: none; }
.scrim { position: absolute; inset: 0; background: rgba(2,4,9,.6); backdrop-filter: blur(4px); animation: fade .25s both; }
@keyframes fade { from { opacity: 0; } }
.sheet { position: relative; width: 100%; max-width: 640px; border-radius: 28px 28px 0 0; padding: 10px 20px calc(env(safe-area-inset-bottom) + 22px); background: rgba(16,22,40,.82); animation: up .3s cubic-bezier(.2,.8,.2,1) both; }
@keyframes up { from { transform: translateY(100%); } }
.grab { width: 44px; height: 5px; border-radius: 9px; background: rgba(255,255,255,.2); margin: 0 auto 14px; }
.sheet h3 { margin: 0 0 2px; font-size: 20px; }
.sheet .sm { margin: 0 0 14px; font-size: 12.5px; color: var(--mute); }
.srow { display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.srow:first-of-type { border-top: 0; }
.srow span { font-size: 14px; }
.srow .step { width: 36px; height: 36px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.06); font-size: 20px; line-height: 1; }
.srow .step:active { background: rgba(77,225,255,.2); }
.srow output { min-width: 40px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.shead { display: grid; grid-template-columns: 1fr auto; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-top: 6px; }
.primary { width: 100%; margin-top: 16px; padding: 15px; border-radius: 16px; font-weight: 800; color: #04101f; background: linear-gradient(135deg, var(--blue), var(--cyan)); }
.ghost { width: 100%; margin-top: 8px; padding: 12px; border-radius: 16px; color: var(--mute); }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.field input { width: 100%; padding: 13px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.06); color: var(--ink); font: inherit; font-size: 16px; }
.field input:focus { outline: 2px solid rgba(77,225,255,.5); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.toast { position: fixed; left: 50%; bottom: calc(var(--tab-h) + 40px); transform: translateX(-50%); z-index: 200; padding: 11px 16px; border-radius: 14px; font-size: 13px; font-weight: 600; background: rgba(78,240,177,.16); border: 1px solid rgba(78,240,177,.5); color: #b9ffe3; backdrop-filter: blur(14px); animation: rise .3s both; }
.proto { text-align: center; font-size: 11px; color: var(--mute); margin: 22px 0 6px; letter-spacing: .04em; }

svg text { font-family: inherit; }

/* Entrenos: potencias y perfil de sesión */
.pots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pot { padding: 12px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.pot.wide { grid-column: 1 / -1; }
.pname {
  justify-self: start; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; padding: 5px 12px; border-radius: 99px;
  color: color-mix(in srgb, var(--c) 30%, #000);
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 100%, #fff 15%), var(--c));
  box-shadow: 0 0 18px -4px var(--c);
}
.pname.big { font-size: 15px; padding: 6px 14px; }
.pv b { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pv i, .step-row small { font-style: normal; font-size: 13px; font-weight: 600; color: var(--mute); margin-left: 3px; }
.pv.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pv.two small { display: block; font-size: 10px; letter-spacing: .14em; color: var(--mute); font-weight: 700; margin-bottom: 2px; }
.profile { display: flex; align-items: flex-end; gap: 5px; height: 150px; margin: 6px 0 16px; padding: 0 2px; border-bottom: 1px solid var(--line); }
.sbar { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; min-width: 34px; gap: 4px; }
.sbar em { font-style: normal; font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; }
.sbar i {
  width: 100%; border-radius: 9px 9px 3px 3px; position: relative; overflow: hidden;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 70%, transparent), color-mix(in srgb, var(--c) 18%, transparent));
  border: 1px solid color-mix(in srgb, var(--c) 75%, transparent); border-bottom: 0;
  box-shadow: 0 0 16px -3px color-mix(in srgb, var(--c) 60%, transparent), inset 0 1px 0 rgba(255,255,255,.35);
  transform-origin: bottom; animation: rise .6s both;
}
.sbar u { text-decoration: none; font-size: 11px; color: var(--mute); padding-bottom: 4px; }
.step-row { display: grid; grid-template-columns: 24px 1fr auto auto; gap: 10px; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--line); }
.step-row:first-of-type { border-top: 0; }
.step-row .n { font-size: 12px; color: var(--mute); }
.step-row .d { font-size: 20px; font-weight: 700; }
.step-row .at { color: var(--mute); }
.step-row b { font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; }
.empty { text-align: center; padding: 34px 22px; }
.empty b { font-size: 17px; }
.empty .hint { margin: 8px 0 0; line-height: 1.5; }

/* Nombres con texto claro sobre fondos oscuros; valores múltiples en columna */
.pname { color: var(--fg, color-mix(in srgb, var(--c) 30%, #000)); }
.pname.tap { cursor: pointer; }
.pname.tap::after { content: " ⓘ"; opacity: .55; font-weight: 600; }
.pv.multi { display: grid; gap: 6px; }
.pv.multi > div { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.pv.multi small { font-size: 10px; letter-spacing: .12em; color: var(--mute); font-weight: 700; text-transform: uppercase; }
.pv.multi b { font-size: 24px; }

/* Acceso */
body.locked .tabs, body.locked .who, body.locked .fab { display: none; }
.hero { text-align: center; padding: 28px 22px; margin-top: 8vh; }
.hero .lw { font-weight: 900; font-size: 34px; letter-spacing: .26em; margin-right: -.26em; }
.hero .ls { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--blue); margin: 4px 0 22px; }
.hero h1 { margin: 0 0 8px; font-size: 22px; }
.hero .hint { margin: 0 0 20px; line-height: 1.5; }
.hero .field { text-align: left; }
.err { min-height: 18px; margin: 14px 0 0; font-size: 13px; color: #ff9aa8; line-height: 1.4; }
.primary:disabled { opacity: .6; }

/* Editor de día: Mañana / Tarde bien marcados, sin viñetas */
.shead {
  display: flex; align-items: center; gap: 10px; margin: 16px 0 6px; padding: 9px 12px; border-radius: 14px;
  font-size: 14px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
  background: rgba(255,255,255,.07); border: 1px solid var(--line);
}
.shead:first-of-type { margin-top: 4px; }
.shead svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.shead.am svg { color: #ffd166; }
.shead.pm svg { color: #9db8ff; }
.srow { grid-template-columns: 1fr auto auto auto; padding: 8px 0; border-top: 0; }
.srow .dname { font-size: 15px; font-weight: 600; padding: 3px 0 3px 12px; border-left: 3px solid var(--c); border-radius: 2px; }
.srow .step { width: 40px; height: 40px; }
.srow output { min-width: 46px; font-size: 17px; }

/* Nota editable */
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.card-head h2 { margin: 0; }
.edit { padding: 7px 12px; border-radius: 99px; font-size: 12.5px; font-weight: 700; color: var(--cyan); background: rgba(77,225,255,.1); border: 1px solid rgba(77,225,255,.28); }
.note { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; }
.note .ph { font-style: italic; opacity: .8; }
.field textarea { width: 100%; padding: 13px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.06); color: var(--ink); font: inherit; font-size: 16px; line-height: 1.45; resize: vertical; }
.field textarea:focus { outline: 2px solid rgba(77,225,255,.5); }

/* Tus datos */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 8px; }
.tile { padding: 11px 6px; border-radius: 16px; text-align: center; background: rgba(255,255,255,.05); border: 1px solid var(--line); min-width: 0; }
.tile small { display: block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.tile b { display: block; font-size: 18px; margin: 3px 0 1px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tile b i, .vo2 b i { font-style: normal; font-size: 11px; font-weight: 600; color: var(--mute); margin-left: 2px; }
.tile em { display: block; font-style: normal; font-size: 10.5px; color: var(--cyan); font-variant-numeric: tabular-nums; }
.tile.empty b { color: var(--mute); }
.tile.empty em { color: var(--mute); opacity: .7; }
.vo2 { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; padding: 14px 16px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(90,169,255,.22), rgba(77,225,255,.1)); border: 1px solid rgba(77,225,255,.3); box-shadow: 0 0 24px -8px rgba(77,225,255,.5); }
.vo2 small { display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.vo2 b { display: block; font-size: 28px; font-weight: 800; margin-top: 2px; font-variant-numeric: tabular-nums; }
.vo2 > span { font-size: 11.5px; color: var(--mute); text-align: right; max-width: 120px; line-height: 1.35; }

/* Botón añadir dentro de la tarjeta (ya no flota sobre la tabla) */
.add { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 99px; font-weight: 800; font-size: 13.5px; color: #04101f;
  background: linear-gradient(135deg, var(--blue), var(--cyan)); box-shadow: 0 8px 22px -8px rgba(77,225,255,.7); }
.empty .add { margin-top: 18px; }
.sec { margin: 14px 0 8px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); font-weight: 700; }

/* Las unidades (w, kg, m) nunca se ponen en mayúsculas */
.u { text-transform: none; letter-spacing: 0; }

/* Vatios pegados al número: 213w */
.w { margin-left: 0 !important; }

.legal { margin: 8px 0 0; font-size: 12px; }
.legal a { color: var(--mute); text-decoration: underline; text-underline-offset: 3px; }
