/* ============================================================
   ASPECTO NUEVO (Fase 3) — se carga después de app.css y solo actúa con <html data-look="nuevo">.
   «Aspecto clásico» (Tú → Aspecto y sensaciones) quita este archivo del medio y vuelve exactamente a como estaba.
   Sistema: una escala de letra (7), de radios (5), de sombras (3), de espaciado (múltiplos de 4) y de capas.
   Color: paleta elegible (5) + semánticos fijos. Cifras: tipografía elegible (5).
   ============================================================ */

/* ---------- 1 · Fundamentos ---------- */
html[data-look="nuevo"] {
  --r-s: 10px; --r-m: 14px; --r-l: 20px; --r-xl: 28px; --r-pill: 999px;
  --fs-xs: 11.5px; --fs-s: 13px; --fs-m: 15px; --fs-l: 17px; --fs-xl: 22px; --fs-2xl: 30px; --fs-hero: 44px;
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 20px; --sp-6: 24px; --sp-8: 32px;
  --z-bar: 30; --z-fab: 35; --z-sheet: 50; --z-toast: 120; --z-fx: 130;
  --ease-spring: cubic-bezier(.3,1.35,.5,1); --ease-out: cubic-bezier(.22,1,.36,1);
  --radius-m: var(--r-l);

  --paper: #F5F5F2; --paper-raised: #FFFFFF; --paper-sunken: #EDEDE8; --line: #E8E7E1; --ink: #14162B;
  --text: var(--ink); --text-muted: #4A4E66; --text-faint: #666A80;
  --income: #17784F; --expense: #B3312A; --bill: #2B64C7; --savings: #7C4DD0; --debt: #6E5F4B;
  --warn: #B8430A; --warn-soft: rgba(184,67,10,.10); --income-soft: rgba(23,120,79,.10); --expense-soft: rgba(200,56,47,.10); --savings-soft: rgba(124,77,208,.11); --bill-soft: rgba(43,100,199,.11);
  --on-solid: #FFFFFF; --toast-bg: #14162B;
  --accent: var(--pl); --accent-ink: #FFFFFF; --accent-soft: var(--pl-soft);
  --hero-1: var(--h1l); --hero-2: var(--h2l); --hero-bg: var(--h1l); --hero-tile: rgba(255,255,255,.13); --hero-muted: rgba(255,255,255,.80);
  --shadow: 0 1px 2px rgba(20,22,43,.04), 0 12px 28px -16px rgba(20,22,43,.20);
  --shadow-2: 0 18px 40px -18px rgba(20,22,43,.38);
  --card-border: transparent;
  --glow: 0 12px 26px -8px var(--pl-glow);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  html[data-look="nuevo"]:not([data-theme="light"]) {
    --seg-on: #34343D; --paper: #0A0A0C; --paper-raised: #17171B; --paper-sunken: #232329; --line: #2B2B33; --ink: #F3F3F7;
    --text-muted: #C4C4CC; --text-faint: #9C9CA6;
    --income: #52D69A; --expense: #FF7F70; --bill: #7DB1FF; --savings: #B79CFF; --debt: #D2BFA5;
    --warn: #FF9F43; --warn-soft: rgba(255,159,67,.14); --income-soft: rgba(82,214,154,.14); --expense-soft: rgba(255,127,112,.14); --savings-soft: rgba(183,156,255,.15); --bill-soft: rgba(125,177,255,.15);
    --on-solid: #0A0A12; --toast-bg: #2B2B33;
    --accent: var(--pd); --accent-ink: #0A0A12; --accent-soft: var(--pd-soft);
    --hero-1: var(--h1d); --hero-2: var(--h2d); --hero-bg: var(--h1d); --hero-tile: rgba(255,255,255,.10);
    --shadow: none; --shadow-2: 0 18px 40px -18px rgba(0,0,0,.8); --card-border: var(--line); --glow: 0 12px 28px -10px var(--pd-glow);
    color-scheme: dark;
  }
}
html[data-look="nuevo"][data-theme="dark"] {
  --seg-on: #34343D; --paper: #0A0A0C; --paper-raised: #17171B; --paper-sunken: #232329; --line: #2B2B33; --ink: #F3F3F7;
  --text-muted: #C4C4CC; --text-faint: #9C9CA6;
  --income: #52D69A; --expense: #FF7F70; --bill: #7DB1FF; --savings: #B79CFF; --debt: #D2BFA5;
  --warn: #FF9F43; --warn-soft: rgba(255,159,67,.14); --income-soft: rgba(82,214,154,.14); --expense-soft: rgba(255,127,112,.14); --savings-soft: rgba(183,156,255,.15); --bill-soft: rgba(125,177,255,.15);
  --on-solid: #0A0A12; --toast-bg: #2B2B33;
  --accent: var(--pd); --accent-ink: #0A0A12; --accent-soft: var(--pd-soft);
  --hero-1: var(--h1d); --hero-2: var(--h2d); --hero-bg: var(--h1d); --hero-tile: rgba(255,255,255,.10);
  --shadow: none; --shadow-2: 0 18px 40px -18px rgba(0,0,0,.8); --card-border: var(--line); --glow: 0 12px 28px -10px var(--pd-glow);
  color-scheme: dark;
}

/* Paletas (la clara y la oscura de cada una: contraste de texto sobre papel ≥ 4,5) */
html[data-look="nuevo"], html[data-look="nuevo"][data-paleta="violeta"] { --pl: #6D3FE0; --pd: #A98BFF; --pl-soft: rgba(109,63,224,.10); --pd-soft: rgba(169,139,255,.17); --pl-glow: rgba(109,63,224,.55); --pd-glow: rgba(169,139,255,.45); --h1l: #24165F; --h2l: #4B26B8; --h1d: #1A1140; --h2d: #3B2194; }
html[data-look="nuevo"][data-paleta="cobalto"] { --pl: #1B57C7; --pd: #6FA2FF; --pl-soft: rgba(31,99,224,.10); --pd-soft: rgba(111,162,255,.17); --pl-glow: rgba(31,99,224,.55); --pd-glow: rgba(111,162,255,.45); --h1l: #0E2455; --h2l: #1851BE; --h1d: #0B1A42; --h2d: #153F96; }
html[data-look="nuevo"][data-paleta="turquesa"] { --pl: #066A6D; --pd: #34D1C8; --pl-soft: rgba(7,121,124,.10); --pd-soft: rgba(52,209,200,.15); --pl-glow: rgba(7,121,124,.55); --pd-glow: rgba(52,209,200,.40); --h1l: #052E33; --h2l: #07666A; --h1d: #04262A; --h2d: #075559; }
html[data-look="nuevo"][data-paleta="frambuesa"] { --pl: #B51B59; --pd: #FF6B9F; --pl-soft: rgba(204,32,101,.10); --pd-soft: rgba(255,107,159,.17); --pl-glow: rgba(204,32,101,.50); --pd-glow: rgba(255,107,159,.45); --h1l: #430B27; --h2l: #A8184F; --h1d: #330820; --h2d: #861340; }
html[data-look="nuevo"][data-paleta="esmeralda"] { --pl: #086B39; --pd: #3EE08C; --pl-soft: rgba(10,122,66,.10); --pd-soft: rgba(62,224,140,.15); --pl-glow: rgba(10,122,66,.50); --pd-glow: rgba(62,224,140,.38); --h1l: #06301C; --h2l: #0A6A3A; --h1d: #05261A; --h2d: #0A5632; }

/* Cifras y titulares: tipografía elegible */
html[data-look="nuevo"] { --font-display: 'Bricolage Grotesque', 'Fraunces', Georgia, serif; --num-peso: 650; }
html[data-look="nuevo"][data-tipo="fraunces"] { --font-display: 'Fraunces', Georgia, 'Times New Roman', serif; --num-peso: 600; }
html[data-look="nuevo"][data-tipo="bricolage"] { --font-display: 'Bricolage Grotesque', system-ui, sans-serif; --num-peso: 650; }
html[data-look="nuevo"][data-tipo="space"] { --font-display: 'Space Grotesk', system-ui, sans-serif; --num-peso: 600; }
html[data-look="nuevo"][data-tipo="outfit"] { --font-display: 'Outfit', system-ui, sans-serif; --num-peso: 600; }
html[data-look="nuevo"][data-tipo="nunito"] { --font-display: 'Nunito', system-ui, sans-serif; --num-peso: 800; }

html[data-look="nuevo"] body { font-size: var(--fs-m); }
html[data-look="nuevo"] h1, html[data-look="nuevo"] h2, html[data-look="nuevo"] h3, html[data-look="nuevo"] .num { font-family: var(--font-display); }
html[data-look="nuevo"] :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- 2 · Estructura ---------- */
html[data-look="nuevo"] .topbar {
  padding: 12px 18px 10px; border-bottom: 1px solid transparent;
  background: var(--paper); background: color-mix(in srgb, var(--paper) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px);
  transition: border-color .25s ease, box-shadow .25s ease;
}
html[data-look="nuevo"] .topbar.scrolled { border-bottom-color: var(--line); }
html[data-look="nuevo"] .topbar h1 { font-size: var(--fs-xl); font-weight: var(--num-peso); letter-spacing: -.012em; line-height: 1.12; }
html[data-look="nuevo"] .topbar .sub { font-size: 12px; margin-top: 1px; }
html[data-look="nuevo"] .tb-btn, html[data-look="nuevo"] .tb-avatar { width: 40px; height: 40px; }
html[data-look="nuevo"] .icon-btn { background: var(--paper-sunken); }
html[data-look="nuevo"] .tb-avatar { font-family: var(--font-display); background: linear-gradient(145deg, var(--accent), var(--accent)); box-shadow: var(--glow); }
html[data-look="nuevo"] body.en-tu .tb-avatar { box-shadow: 0 0 0 3px var(--accent-soft); }
html[data-look="nuevo"] main#content { padding: 14px 16px 140px; }

html[data-look="nuevo"] .tabbar {
  z-index: var(--z-bar); padding: 8px 6px calc(8px + env(safe-area-inset-bottom, 0px)); align-items: flex-end;
  background: var(--paper-raised); background: color-mix(in srgb, var(--paper-raised) 90%, transparent);
  -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px);
  border-top: 1px solid var(--line); border-radius: 24px 24px 0 0; box-shadow: 0 -10px 30px -14px rgba(20,22,43,.22);
}
html[data-look="nuevo"] .tab { font-size: var(--fs-xs); font-weight: 600; gap: 2px; padding: 4px 2px 2px; letter-spacing: .005em; color: var(--text-faint); }
html[data-look="nuevo"] .tab .ic { position: relative; width: 56px; height: 30px; border-radius: 15px; display: grid; place-items: center; font-size: 22px; }
html[data-look="nuevo"] .tab .ic::before {
  content: ''; position: absolute; inset: 0; border-radius: 15px; background: var(--accent-soft);
  transform: scale(.35, .55); opacity: 0; transition: transform .5s var(--ease-spring), opacity .25s ease;
}
html[data-look="nuevo"] .tab.active .ic::before { transform: none; opacity: 1; }
html[data-look="nuevo"] .tab .ic svg { position: relative; }
html[data-look="nuevo"] .tab.active .ic { animation: none; }
html[data-look="nuevo"] .tab.active .ic svg { animation: tab-pop .5s var(--ease-spring); }
html[data-look="nuevo"] .tab.active { color: var(--accent); }
html[data-look="nuevo"] .tab.con-novedad .ic::after { right: 8px; top: 2px; border-color: var(--paper-raised); background: var(--accent); }

/* El «+» del centro: círculo perfecto (antes quedaba ovalado: 64 × 56) y sin tapar las etiquetas */
html[data-look="nuevo"] .tab-crear {
  flex: 0 0 58px; width: 58px; height: 58px; aspect-ratio: 1 / 1; margin: -26px 8px 0; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 6px var(--paper-raised), var(--glow); z-index: var(--z-fab);
}
html[data-look="nuevo"] .tab-crear .i { width: 26px; height: 26px; }
html[data-look="nuevo"] body.crear-abierto .tab-crear { background: var(--ink); color: var(--paper); box-shadow: 0 0 0 6px var(--paper-raised); }
html[data-look="nuevo"] .fab { z-index: var(--z-fab); background: var(--accent); box-shadow: var(--glow); }

@media (min-width: 760px) {
  html[data-look="nuevo"] .rail { background: var(--paper-raised); border-right: 1px solid var(--line); }
  html[data-look="nuevo"] .rail .tab .ic { width: auto; height: auto; border-radius: 0; }
  html[data-look="nuevo"] .rail .tab .ic::before { display: none; }
  html[data-look="nuevo"] .rail .tab.active { background: var(--accent-soft); }
  html[data-look="nuevo"] .rail-fab { background: var(--accent); box-shadow: var(--glow); border-radius: var(--r-m); }
  html[data-look="nuevo"] .topbar { padding: 22px 40px 14px; }
  html[data-look="nuevo"] main#content { padding: 24px 40px 60px; }
}

/* ---------- 3 · Componentes ---------- */
/* Tarjetas y listas: sin borde en claro (sombra suave), con borde fino en oscuro */
html[data-look="nuevo"] .card, html[data-look="nuevo"] .kpi, html[data-look="nuevo"] .prox-card, html[data-look="nuevo"] .mov-nav, html[data-look="nuevo"] .pat-mini, html[data-look="nuevo"] .resumen-link, html[data-look="nuevo"] .nov-list, html[data-look="nuevo"] .tk-list, html[data-look="nuevo"] .asig-grupo, html[data-look="nuevo"] .empieza,
html[data-look="nuevo"] .profile-tile, html[data-look="nuevo"] .imp-list, html[data-look="nuevo"] .tk-det, html[data-look="nuevo"] .crear-op, html[data-look="nuevo"] .tool-btn {
  border-color: var(--card-border); box-shadow: var(--shadow); background: var(--paper-raised);
}
html[data-look="nuevo"] .card { border-radius: var(--r-l); padding: var(--sp-4); }
html[data-look="nuevo"] .list { border: 1px solid var(--card-border); border-radius: var(--r-l); box-shadow: var(--shadow); background: var(--line); }
/* 12/11 (rendimiento, docs/salud/2026-11-12-diag-rendimiento.md): los días de la Lista que quedan lejos de la pantalla no se pintan.
   El alto se reserva con las filas del día (--filas) y el alto de una fila medido en el móvil (--mov-fila-h, lo pone app.js) */
html[data-look="nuevo"] #movList > .list.mov-dia { content-visibility: auto; contain-intrinsic-size: auto calc(var(--filas, 4) * var(--mov-fila-h, 69px) + 1px); }
html[data-look="nuevo"] .row { padding: 13px var(--sp-4); }
html[data-look="nuevo"] .row .ttl { font-size: var(--fs-m); font-weight: 600; }
html[data-look="nuevo"] .row .meta { font-size: 12.5px; }
html[data-look="nuevo"] .row .amt { font-size: var(--fs-m); font-weight: 650; }
html[data-look="nuevo"] .section-title { font-size: var(--fs-l); font-weight: 650; margin: var(--sp-6) 2px var(--sp-3); letter-spacing: -.005em; font-family: var(--font-display); }
html[data-look="nuevo"] .section-title .link, html[data-look="nuevo"] button.link { font-family: var(--font-ui); font-size: var(--fs-s); font-weight: 600; }
html[data-look="nuevo"] .date-sep { font-size: var(--fs-s); }
html[data-look="nuevo"] .summary-line { font-size: 12.5px; }

html[data-look="nuevo"] .btn { min-height: 46px; padding: 0 var(--sp-5); border-radius: var(--r-m); font-size: var(--fs-m); font-weight: 600; letter-spacing: .003em; }
html[data-look="nuevo"] .btn.sm { min-height: 36px; padding: 0 12px; font-size: var(--fs-s); border-radius: 12px; }
html[data-look="nuevo"] .btn.accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 18px -10px var(--pl-glow); }
html[data-look="nuevo"] .btn.ghost { background: var(--paper-sunken); }
html[data-look="nuevo"] .btn.danger { background: var(--expense-soft); color: var(--expense); }

html[data-look="nuevo"] .pill { border-radius: var(--r-pill); font-size: var(--fs-s); font-weight: 600; padding: 8px 14px; border-color: var(--line); background: var(--paper-raised); }
html[data-look="nuevo"] .pill.active, html[data-look="nuevo"] .chip-nav.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
html[data-look="nuevo"] .chip { border-radius: var(--r-pill); font-size: var(--fs-s); padding: 7px 13px; background: var(--paper-raised); }
html[data-look="nuevo"] .chip.active { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); }
html[data-look="nuevo"] .segmented { background: var(--paper-sunken); border-radius: var(--r-m); padding: 3px; }
html[data-look="nuevo"] .segmented button { border-radius: 11px; font-size: var(--fs-s); }
html[data-look="nuevo"] .segmented button.active { background: var(--seg-on, var(--paper-raised)); }
html[data-look="nuevo"] .seg-ind { border-radius: 11px; background: var(--seg-on, var(--paper-raised)); }

html[data-look="nuevo"] .field label { font-size: var(--fs-s); font-weight: 600; margin-bottom: var(--sp-2); }
html[data-look="nuevo"] .field input, html[data-look="nuevo"] .field select, html[data-look="nuevo"] .field textarea, html[data-look="nuevo"] .imp-map select, html[data-look="nuevo"] .imp-sels select {
  border-radius: var(--r-m); border-color: var(--line); background-color: var(--paper-raised); min-height: 48px;
  transition: border-color .2s ease, box-shadow .25s ease;
}
html[data-look="nuevo"] .field textarea { min-height: 88px; }
html[data-look="nuevo"] .field input:focus, html[data-look="nuevo"] .field select:focus, html[data-look="nuevo"] .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
html[data-look="nuevo"] .type-toggle button { border-radius: var(--r-m); min-height: 44px; font-size: var(--fs-s); transition: transform .4s var(--ease-spring), background-color .2s ease, color .2s ease; }

html[data-look="nuevo"] .sheet-backdrop { z-index: var(--z-sheet); background: rgba(10,12,28,.48); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); transition: opacity .25s ease; }
html[data-look="nuevo"] .sheet { border-radius: var(--r-xl) var(--r-xl) 0 0; padding: 12px var(--sp-5) calc(var(--sp-6) + env(safe-area-inset-bottom, 0px)); transform: translateY(46px); transition: transform .28s var(--ease-out); /* 11/11: de .5 s a .28 s */ box-shadow: var(--shadow-2); }
html[data-look="nuevo"] .sheet-backdrop.open .sheet { transform: none; }
html[data-look="nuevo"] .sheet .handle { width: 40px; height: 5px; border-radius: 3px; margin-bottom: var(--sp-4); }
html[data-look="nuevo"] .sheet h2 { font-size: var(--fs-xl); font-weight: var(--num-peso); letter-spacing: -.01em; }
html[data-look="nuevo"] .sheet-x { background: var(--paper-sunken); }
@media (min-width: 760px) { html[data-look="nuevo"] .sheet { border-radius: var(--r-xl); } }

html[data-look="nuevo"] .toast { z-index: var(--z-toast); }
html[data-look="nuevo"] .toast-ic.ok { background: var(--income); color: var(--on-solid); }
html[data-look="nuevo"] .toast-btn { color: var(--pd); }

/* Etiquetas NUEVO / MEJORADO: una sola, discreta, con un destello al aparecer */
html[data-look="nuevo"] .badge-new, html[data-look="nuevo"] .badge-new.mejor {
  background: var(--accent); color: var(--accent-ink); font-size: 9.5px; font-weight: 800; letter-spacing: .08em; padding: 3px 7px; border-radius: var(--r-pill);
  background-image: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%); background-size: 260% 100%; background-repeat: no-repeat; background-position: 130% 0;
  animation: badge-brilla 1.3s ease .8s 1 both;
}
html[data-look="nuevo"] .badge-new.mejor { background-color: var(--accent); }
@keyframes badge-brilla { from { background-position: 130% 0; } to { background-position: -40% 0; } }
html[data-look="nuevo"] .crear-ticket .badge-new { background-color: var(--paper-raised); color: var(--accent); background-image: none; animation: none; }
html[data-look="nuevo"] .badge-dot { background: var(--accent); }

html[data-look="nuevo"] .alert { border-radius: var(--r-l); }
html[data-look="nuevo"] .empty .big { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 20px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 30px; }
html[data-look="nuevo"] .empty .big svg { width: 30px; height: 30px; }
html[data-look="nuevo"] .progress, html[data-look="nuevo"] .pbar { height: 8px; border-radius: 4px; }
html[data-look="nuevo"] .progress > div, html[data-look="nuevo"] .pb-f { background: linear-gradient(90deg, var(--accent), var(--accent)); }
html[data-look="nuevo"] .check-btn { border-color: var(--line); transition: transform .45s var(--ease-spring), background-color .2s ease, border-color .2s ease; }

/* ---------- 4 · Inicio ---------- */
html[data-look="nuevo"] .hero {
  background: var(--hero-bg); background: linear-gradient(155deg, var(--hero-1) 0%, var(--hero-2) 100%);
  border-radius: var(--r-xl); padding: 18px 18px 16px; gap: 14px; position: relative; overflow: hidden;
  box-shadow: 0 22px 40px -22px var(--pl-glow);
}
html[data-look="nuevo"] .hero::after { content: ''; position: absolute; width: 260px; height: 260px; right: -90px; top: -110px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.14), transparent); pointer-events: none; }
html[data-look="nuevo"] .hero > * { position: relative; z-index: 1; }
html[data-look="nuevo"] .hero-per { font-family: var(--font-display); font-size: var(--fs-l); font-weight: var(--num-peso); }
html[data-look="nuevo"] .hero-k { font-size: var(--fs-s); }
html[data-look="nuevo"] .hero-v { font-size: var(--fs-hero); font-weight: var(--num-peso); letter-spacing: -.02em; line-height: 1.04; font-variant-numeric: tabular-nums; }
html[data-look="nuevo"] .hero-v.neg { color: #FFC2B3; }
html[data-look="nuevo"] .hero-seg { border-radius: 13px; }
html[data-look="nuevo"] .hero-seg button.active { background: #FFFFFF; color: var(--h1l); }
html[data-look="nuevo"] .hero-seg .seg-ind { background: #FFFFFF; }
html[data-look="nuevo"] .hero-bar { height: 10px; border-radius: 5px; gap: 2px; }
html[data-look="nuevo"] .hero-bar i { border-radius: 5px; }
html[data-look="nuevo"] .hero-bar .g { background: #FFB59E; } html[data-look="nuevo"] .hero-bar .a { background: #CDBBFF; } html[data-look="nuevo"] .hero-bar .d { background: #E9D8B8; }
html[data-look="nuevo"] .hero-tile { border-radius: 16px; padding: 10px 11px; background: var(--hero-tile); }
html[data-look="nuevo"] .hero-tile .l { font-size: var(--fs-xs); display: flex; align-items: center; gap: 5px; }
html[data-look="nuevo"] .hero-tile .l::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #8FE0B5; flex: none; }
html[data-look="nuevo"] .hero-tile:nth-child(2) .l::before { background: #FFB59E; }
html[data-look="nuevo"] .hero-tile:nth-child(3) .l::before { background: #CDBBFF; }
html[data-look="nuevo"] .hero-tile b { font-size: var(--fs-m); font-family: var(--font-display); font-weight: var(--num-peso); }
html[data-look="nuevo"] .hero-tile b.pos { color: #9BE8C0; } html[data-look="nuevo"] .hero-tile b.neg { color: #FFC2B3; } html[data-look="nuevo"] .hero-tile b.sav { color: #DCCFFF; }

html[data-look="nuevo"] .card.aten { padding: var(--sp-1); }
html[data-look="nuevo"] .aten-main > svg.i { width: 36px; height: 36px; padding: 9px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-size: 18px; }
html[data-look="nuevo"] .aten-fila.mal .aten-main > svg.i { background: var(--expense-soft); color: var(--expense); }
html[data-look="nuevo"] .aten-fila.juntos .aten-main > svg.i { background: var(--savings-soft); color: var(--savings); }
html[data-look="nuevo"] .aten-fila.ok .aten-main > svg.i { background: var(--income-soft); color: var(--income); }
html[data-look="nuevo"] .aten-t b { font-size: var(--fs-m); font-weight: 600; }
html[data-look="nuevo"] .prox-card { border-radius: var(--r-l); padding: 14px; gap: 4px; }
html[data-look="nuevo"] .prox-cuando { font-size: var(--fs-xs); color: var(--accent); letter-spacing: .02em; text-transform: uppercase; }
html[data-look="nuevo"] .prox-cuando.pronto { color: var(--expense); }
html[data-look="nuevo"] .inicio-seg { margin-bottom: var(--sp-3); }

/* ---------- 5 · Movimientos ---------- */
html[data-look="nuevo"] .mov-tools { display: none; } /* «Foto de ticket» e «Importar» viven en el botón + */
html[data-look="nuevo"] .mov-nav { border-radius: var(--r-l); }
html[data-look="nuevo"] .mov-per-lbl b { font-family: var(--font-display); font-weight: var(--num-peso); }
html[data-look="nuevo"] .mov-ic { width: 42px; height: 42px; border-radius: 14px; }
html[data-look="nuevo"] .date-sep { margin: var(--sp-5) 4px var(--sp-2); }
html[data-look="nuevo"] #content > .field input[type="search"], html[data-look="nuevo"] .field input#movSearch { min-height: 44px; border-radius: var(--r-pill); padding-left: 16px; background: var(--paper-raised); }
html[data-look="nuevo"] .pill-row { padding-bottom: 10px; }

/* ---------- 6 · Juntos: balance de «quién debe a quién» ---------- */
html[data-look="nuevo"] .jb { padding: var(--sp-5) var(--sp-4) var(--sp-4); }
html[data-look="nuevo"] .jb-top { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-3); }
html[data-look="nuevo"] .jb-k { font-size: var(--fs-s); color: var(--text-muted); font-weight: 600; }
html[data-look="nuevo"] .jb-v { font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: var(--num-peso); letter-spacing: -.02em; line-height: 1.08; font-variant-numeric: tabular-nums; margin-top: 2px; }
html[data-look="nuevo"] .jb-bar { display: flex; height: 12px; border-radius: 6px; background: var(--paper-sunken); overflow: hidden; margin: var(--sp-4) 0 var(--sp-2); gap: 2px; }
html[data-look="nuevo"] .jb-bar i { display: block; height: 100%; border-radius: 6px; min-width: 6px; }
html[data-look="nuevo"] .jb-bar .de { background: var(--expense); transform-origin: left center; }
html[data-look="nuevo"] .jb-bar .te { background: var(--income); transform-origin: right center; }
html[data-look="nuevo"] .jb-leg { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--text-muted); gap: var(--sp-3); }
html[data-look="nuevo"] .jb-leg b { color: var(--text); }
html[data-look="nuevo"] .jb-leg .dot { margin-right: 6px; }
html[data-look="nuevo"] .jb-leg > span:last-child { text-align: right; }
html[data-look="nuevo"] .jb-paz { display: flex; align-items: center; gap: var(--sp-3); }
html[data-look="nuevo"] .jb-paz .jb-ic { width: 48px; height: 48px; border-radius: 16px; background: var(--income-soft); color: var(--income); display: grid; place-items: center; flex: none; }
html[data-look="nuevo"] .jb-paz .jb-ic svg { width: 26px; height: 26px; }
html[data-look="nuevo"] .jb-gente { margin-top: var(--sp-4); border-top: 1px solid var(--line); }
html[data-look="nuevo"] .jb-p { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 4px 12px; width: 100%; padding: 12px 0; border: none; border-bottom: 1px solid var(--line); background: none; font: inherit; color: var(--text); text-align: left; cursor: pointer; }
html[data-look="nuevo"] .jb-p:last-child { border-bottom: none; padding-bottom: 2px; }
html[data-look="nuevo"] .jb-p .avatar { width: 38px; height: 38px; font-size: 13px; }
html[data-look="nuevo"] .jb-n { font-weight: 600; font-size: var(--fs-m); line-height: 1.2; }
html[data-look="nuevo"] .jb-n span { display: block; font-weight: 500; font-size: 12.5px; color: var(--text-muted); margin-top: 1px; }
html[data-look="nuevo"] .jb-m { font-family: var(--font-display); font-weight: var(--num-peso); font-size: var(--fs-l); font-variant-numeric: tabular-nums; text-align: right; }
html[data-look="nuevo"] .jb-trk { grid-column: 2 / 4; position: relative; height: 8px; border-radius: 4px; background: var(--paper-sunken); margin-top: 2px; }
html[data-look="nuevo"] .jb-trk::before { content: ''; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; background: var(--line); border-radius: 1px; z-index: 1; }
html[data-look="nuevo"] .jb-trk i { position: absolute; top: 0; bottom: 0; display: block; }
html[data-look="nuevo"] .jb-trk i.de { right: 50%; background: var(--expense); border-radius: 4px 0 0 4px; transform-origin: right center; }
html[data-look="nuevo"] .jb-trk i.te { left: 50%; background: var(--income); border-radius: 0 4px 4px 0; transform-origin: left center; }
html[data-look="nuevo"] .jb-act { grid-column: 2 / 4; display: flex; gap: var(--sp-2); margin-top: var(--sp-2); }
html[data-look="nuevo"] .jb-act .btn { flex: 1; }
html[data-look="nuevo"] .jb-paz .jb-ic svg { animation: paz-entra .7s var(--ease-spring) both; }
@keyframes paz-entra { from { transform: scale(.4) rotate(-30deg); opacity: 0; } to { transform: none; opacity: 1; } }

/* Reparto de un ticket: barra viva, un tramo por persona */
html[data-look="nuevo"] .rep-barra { display: flex; gap: 3px; height: 14px; border-radius: 7px; overflow: hidden; margin: 12px 0 4px; background: var(--paper-sunken); }
html[data-look="nuevo"] .rep-barra i { display: block; flex: 0 1 0%; min-width: 0; border-radius: 7px; transition: flex-grow .6s var(--ease-spring); }
html[data-look="nuevo"] .comp-row .dot { width: 10px; height: 10px; }

/* ---------- 7 · Metas y presupuestos ---------- */
html[data-look="nuevo"] .meta-card { padding: var(--sp-5) var(--sp-4); }
html[data-look="nuevo"] .meta-nom { font-family: var(--font-display); font-size: var(--fs-l); font-weight: var(--num-peso); }
html[data-look="nuevo"] .meta-txt { font-size: var(--fs-s); line-height: 1.45; padding: 7px 2px; border-top: 1px solid var(--line); color: var(--text-muted); }
html[data-look="nuevo"] .hitos + .meta-txt { margin-top: 10px; font-size: var(--fs-m); color: var(--text); border-top: 0; padding-top: 4px; }
html[data-look="nuevo"] .meta-txt b { font-weight: 700; }
html[data-look="nuevo"] .hito { font-size: var(--fs-xs); }
html[data-look="nuevo"] .budget-row .top { font-size: var(--fs-m); }
html[data-look="nuevo"] .budget-row .top .cat { font-weight: 600; }
html[data-look="nuevo"] .pb-f { background: var(--accent); }
html[data-look="nuevo"] .tr-big, html[data-look="nuevo"] .pat-total, html[data-look="nuevo"] .comp-total, html[data-look="nuevo"] .kpi .v, html[data-look="nuevo"] .pat-mini b { font-weight: var(--num-peso); font-variant-numeric: tabular-nums; }
html[data-look="nuevo"] .meta-resumen { border-radius: var(--r-m); }

/* ---------- 8 · Tareas ---------- */
/* la fila nueva aterriza y se ilumina un instante */
html[data-look="nuevo"] .row.aterriza { animation: aterriza .9s var(--ease-spring) both; }
@keyframes aterriza { 0% { opacity: 0; transform: translateY(-16px) scale(.96); box-shadow: inset 0 0 0 2px var(--accent); } 45% { opacity: 1; transform: none; box-shadow: inset 0 0 0 2px var(--accent); } 100% { box-shadow: inset 0 0 0 2px transparent; } }
html[data-look="nuevo"] .row.sale { animation: fila-sale .5s var(--ease-out) forwards; }
@keyframes fila-sale { 0% { opacity: 1; } 40% { opacity: .5; } 100% { opacity: 0; transform: translateX(46px); } }

/* ---------- Ajustes finos ---------- */
html[data-look="nuevo"] .nov-hero { background: linear-gradient(135deg, var(--hero-1), var(--hero-2)); }
html[data-look="nuevo"] .unirse-card { background: linear-gradient(135deg, var(--hero-1), var(--hero-2)); }
html[data-look="nuevo"] .inicio-seg button, html[data-look="nuevo"] .mov-vista button { white-space: nowrap; padding-left: 4px; padding-right: 4px; font-size: 12.5px; }
html[data-look="nuevo"] .swipe { background: var(--paper-raised); }
html[data-look="nuevo"] .juntos-acc .btn { font-size: 14px; padding: 0 8px; gap: 6px; }
html[data-look="nuevo"] .juntos-acc .btn:first-child:not(:only-child) { flex: 1.55 1 0; }

@media (prefers-reduced-motion: reduce) {
  html[data-look="nuevo"] .badge-new { animation: none; }
}

/* ---- Novedades 17/10/2026: cuentas, traspasos, ventana emergente y personas sin cuenta ---- */
html[data-look="nuevo"] .hero-cuentas { font-size: var(--fs-s); padding: 2px 0 var(--sp-3); gap: 6px; }
html[data-look="nuevo"] .hero-cuentas b { font-family: var(--font-display); font-weight: var(--num-peso); font-size: var(--fs-m); font-variant-numeric: tabular-nums; }
html[data-look="nuevo"] .cuentas-total { font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: var(--num-peso); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
html[data-look="nuevo"] .cuentas-card, html[data-look="nuevo"] .cuentas-lista, html[data-look="nuevo"] .cuenta-ajustes { border-radius: var(--r-l); }
html[data-look="nuevo"] .cuentas-lista { padding: 0; overflow: hidden; }
html[data-look="nuevo"] .cuentas-lista .cuenta-fila { padding: 14px var(--sp-4); }
html[data-look="nuevo"] .cuenta-fila .dot { width: 12px; height: 12px; box-shadow: 0 0 0 3px var(--paper-sunken); }
html[data-look="nuevo"] .cuenta-fila .amt { font-family: var(--font-display); font-weight: var(--num-peso); }
html[data-look="nuevo"] .cuenta-ed .field select { border-radius: var(--r-m); background: var(--paper-raised); }
html[data-look="nuevo"] .cuenta-ed .cuenta-color { width: 32px; height: 32px; transition: transform .25s var(--ease-spring); }
html[data-look="nuevo"] .cuenta-ed .cuenta-color.on { transform: scale(1.12); border-color: var(--text); }
html[data-look="nuevo"] .cuenta-ajuste { padding: 14px var(--sp-4); }
html[data-look="nuevo"] .cuenta-ajuste b { font-weight: 600; font-size: var(--fs-m); }
html[data-look="nuevo"] .asignar-aviso { border-radius: var(--r-l); background: var(--accent-soft); border-color: transparent; }
html[data-look="nuevo"] .row.traspaso .mov-ic.t-tras { background: var(--paper-sunken); }
html[data-look="nuevo"] .amt-sub { font-size: var(--fs-xs); font-family: var(--font-ui); font-weight: 500; }

html[data-look="nuevo"] .popup-backdrop { z-index: calc(var(--z-sheet) + 10); background: rgba(10,12,28,.5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: opacity .2s ease; }
html[data-look="nuevo"] .popup { border-radius: var(--r-xl); padding: var(--sp-6) var(--sp-5) var(--sp-5); box-shadow: var(--shadow-2); transform: scale(.94); transition: transform .35s var(--ease-spring); }
html[data-look="nuevo"] .popup h3 { font-family: var(--font-display); font-size: var(--fs-l); font-weight: var(--num-peso); letter-spacing: -.01em; }
html[data-look="nuevo"] .popup p { font-size: var(--fs-s); }

/* personas sin cuenta y administradores en un grupo */
html[data-look="nuevo"] .row.sin-cuenta .avatar { outline: 2px dashed var(--text-faint); outline-offset: 2px; box-shadow: none; }
html[data-look="nuevo"] .hero2 { padding: var(--sp-4) var(--sp-5) var(--sp-3); gap: 8px; }
html[data-look="nuevo"] .hero2 .hero-v { font-family: var(--font-display); }
html[data-look="nuevo"] .mes-pill { font-family: var(--font-ui); }
html[data-look="nuevo"] .dias-lista, html[data-look="nuevo"] .prev-lista { border-radius: var(--r-l); }
html[data-look="nuevo"] .dia-ic, html[data-look="nuevo"] .dia-fecha { border-radius: var(--r-m); }
html[data-look="nuevo"] .dia-fecha b { font-family: var(--font-display); }
html[data-look="nuevo"] .tumes-op { border-radius: var(--r-l); }
html[data-look="nuevo"] .info-card { border-radius: var(--r-l); }

/* ---------- Fase 4 · Movimientos (17/10/2026): Resumen | Lista | Calendario con la misma cabecera ---------- */
html[data-look="nuevo"] .mov-vista { margin-bottom: var(--sp-3); }
html[data-look="nuevo"] .mov-vista button { font-size: 13px; padding: 8px 4px; }
/* cabecera: «Octubre ⌄» grande, fechas debajo, flechas discretas */
html[data-look="nuevo"] .mov-cab { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); margin: var(--sp-2) 2px var(--sp-3); touch-action: pan-y; }
html[data-look="nuevo"] .mov-cab-txt { min-width: 0; }
html[data-look="nuevo"] .mov-cab .mov-per-lbl { display: inline-flex; flex-direction: row; flex: none; align-items: center; gap: 6px; border: none; background: none; padding: 0; color: var(--text); cursor: pointer; font: inherit; }
html[data-look="nuevo"] .mov-cab .mov-per-lbl b { font-family: var(--font-display); font-weight: var(--num-peso); font-size: var(--fs-2xl); letter-spacing: -.02em; line-height: 1.05; }
html[data-look="nuevo"] .mov-chev { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); margin-top: 3px; transition: transform .3s var(--ease-spring); }
html[data-look="nuevo"] .mov-chev .i { width: 15px; height: 15px; }
html[data-look="nuevo"] .mov-cab .mov-per-lbl:active .mov-chev { transform: translateY(2px); }
html[data-look="nuevo"] .mov-cab-sub { font-size: var(--fs-s); color: var(--text-faint); margin-top: 3px; }
html[data-look="nuevo"] .mov-flechas { display: flex; gap: 6px; flex: none; }
html[data-look="nuevo"] .mov-cab .mov-flecha { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper-raised); color: var(--text); display: grid; place-items: center; cursor: pointer; padding: 0; }
html[data-look="nuevo"] .mov-cab .mov-flecha .i { width: 18px; height: 18px; }
html[data-look="nuevo"] .mov-cab .mov-flecha:disabled { opacity: .3; cursor: default; }
html[data-look="nuevo"] .mov-per-lbl.desde-der, html[data-look="nuevo"] .mov-cab-sub.desde-der { animation: mov-entra-der .35s var(--ease-out); }
html[data-look="nuevo"] .mov-per-lbl.desde-izq, html[data-look="nuevo"] .mov-cab-sub.desde-izq { animation: mov-entra-izq .35s var(--ease-out); }
@keyframes mov-entra-der { from { transform: translateX(22px); } to { transform: none; } }
@keyframes mov-entra-izq { from { transform: translateX(-22px); } to { transform: none; } }
/* el cuerpo se desliza entero al cambiar de vista o de mes (nunca transparente) */
html[data-look="nuevo"] .mov-marco { position: relative; margin: 0 -16px; padding: 0 16px; }
html[data-look="nuevo"] .mov-marco.deslizando { overflow: hidden; }
html[data-look="nuevo"] .mov-fantasma { position: absolute; top: 0; left: 16px; right: 16px; pointer-events: none; }
@media (min-width: 760px) { html[data-look="nuevo"] .mov-marco { margin: 0 -40px; padding: 0 40px; } html[data-look="nuevo"] .mov-fantasma { left: 40px; right: 40px; } }
html[data-look="nuevo"] .mov-marco .link.volver { margin-bottom: var(--sp-2); }

/* 4 cifras más bajas; «Te queda» en blanco con el borde del color de la app; chip frente al mes anterior */
html[data-look="nuevo"] .kpi-row.kpi-mes { gap: var(--sp-2); }
html[data-look="nuevo"] .kpi-mes .kpi { padding: 10px 12px 11px; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 2px; position: relative; min-height: 0; }
html[data-look="nuevo"] .kpi-mes .kpi .l { margin: 0; font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
html[data-look="nuevo"] .kpi-mes .kpi .l::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
html[data-look="nuevo"] .kpi-mes .kpi.income .l::before { background: var(--income); } html[data-look="nuevo"] .kpi-mes .kpi.expense .l::before { background: var(--expense); }
html[data-look="nuevo"] .kpi-mes .kpi.sav .l::before { background: var(--savings); } html[data-look="nuevo"] .kpi-mes .kpi.debt .l::before { background: var(--debt); }
html[data-look="nuevo"] .kpi-mes .kpi.avail .l::before { background: var(--accent); }
html[data-look="nuevo"] .kpi-mes .kpi .v { font-size: clamp(19px, 5.6vw, 24px); }
html[data-look="nuevo"] .kpi-mes .kpi.avail { border: 1.5px solid var(--accent); box-shadow: var(--glow); }
html[data-look="nuevo"] .kpi-mes .kpi.avail .v { color: var(--text); }
html[data-look="nuevo"] .kpi-mes .kpi.tappable::after { display: none; }
html[data-look="nuevo"] .kpi-chip { position: absolute; top: 8px; right: 9px; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: var(--r-pill); background: var(--paper-sunken); color: var(--text-muted); font-variant-numeric: tabular-nums; }
html[data-look="nuevo"] .kpi-chip.sube { background: var(--expense-soft); color: var(--expense); }
html[data-look="nuevo"] .kpi-chip.baja { background: var(--income-soft); color: var(--income); }

/* «En qué gastas»: anillo y leyenda en la misma tarjeta */
html[data-look="nuevo"] .dn-card { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: var(--sp-3); align-items: center; padding: var(--sp-4) var(--sp-3) var(--sp-4) var(--sp-4); }
html[data-look="nuevo"] .dn-graf { width: 128px; height: 128px; }
html[data-look="nuevo"] .dn-graf svg { overflow: visible; display: block; }
html[data-look="nuevo"] .dn-s { cursor: pointer; transition: stroke-width .3s var(--ease-spring), opacity .3s ease; }
html[data-look="nuevo"] .dn-s.sel { stroke-width: 21px; animation: dn-sel .45s var(--ease-spring); }
html[data-look="nuevo"] .dn-s.off { opacity: .22; animation: dn-off .3s ease; }
@keyframes dn-sel { from { stroke-width: 15px; } }
@keyframes dn-off { from { opacity: 1; } }
html[data-look="nuevo"] .dn-c1 { font-size: 10px; fill: var(--text-faint); font-weight: 600; }
html[data-look="nuevo"] .dn-c2 { font-size: 19px; fill: var(--text); font-family: var(--font-display); font-weight: var(--num-peso); }
html[data-look="nuevo"] .dn-c3 { font-size: 10px; fill: var(--text-faint); }
html[data-look="nuevo"] .dn-ley { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
html[data-look="nuevo"] .dn-f { display: flex; align-items: center; gap: 8px; width: 100%; border: none; background: none; padding: 5px 6px; margin: 0 -6px; border-radius: 9px; font: inherit; font-size: var(--fs-s); color: var(--text); cursor: pointer; text-align: left; transition: opacity .25s ease, background-color .2s ease; }
html[data-look="nuevo"] .dn-f i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
html[data-look="nuevo"] .dn-f .dn-n { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text-muted); }
html[data-look="nuevo"] .dn-f b { font-weight: 600; font-size: 12.5px; white-space: nowrap; }
html[data-look="nuevo"] .dn-f.sel { background: var(--paper-sunken); } html[data-look="nuevo"] .dn-f.sel .dn-n { color: var(--text); font-weight: 600; }
html[data-look="nuevo"] .dn-f.off { opacity: .45; }
html[data-look="nuevo"] .dn-volver, html[data-look="nuevo"] .dn-ver { display: inline-flex; align-items: center; gap: 2px; border: none; background: none; padding: 4px 0; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--accent); cursor: pointer; align-self: flex-start; }
html[data-look="nuevo"] .dn-volver .i, html[data-look="nuevo"] .dn-ver .i { width: 15px; height: 15px; }
html[data-look="nuevo"] .dn-ver { margin-top: 4px; }
html[data-look="nuevo"] .dn-vacio { grid-column: 1 / -1; text-align: center; color: var(--text-faint); font-size: 13.5px; }
html[data-look="nuevo"] .section-title .hint { font-size: 12px; font-weight: 500; color: var(--text-faint); }
@media (max-width: 340px) { html[data-look="nuevo"] .dn-card { grid-template-columns: 1fr; justify-items: center; } html[data-look="nuevo"] .dn-ley { width: 100%; } }

/* Presupuestos en filas de unos 50 px */
html[data-look="nuevo"] .pres-card { padding: var(--sp-3) var(--sp-4); }
html[data-look="nuevo"] .pres-sum { margin: 2px 0 8px; }
html[data-look="nuevo"] .pbar.pres-total { height: 6px; margin-bottom: 8px; }
html[data-look="nuevo"] .pbar.pres-total.over .pb-f { background: var(--expense); }
html[data-look="nuevo"] .pres-card .budget-row { display: flex; align-items: center; gap: 11px; padding: 8px 0; border-bottom: 1px solid var(--line); }
html[data-look="nuevo"] .pres-card .budget-row:last-of-type { border-bottom: none; }
html[data-look="nuevo"] .pb-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; color: var(--cc); background: var(--paper-sunken); background: color-mix(in srgb, var(--cc) 16%, transparent); }
html[data-look="nuevo"] .pb-ic .i { width: 17px; height: 17px; }
html[data-look="nuevo"] .pb-main { flex: 1 1 auto; min-width: 0; }
html[data-look="nuevo"] .pres-card .budget-row .top { margin-bottom: 5px; font-size: 14px; align-items: baseline; }
html[data-look="nuevo"] .pres-card .budget-row .top .cat { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
html[data-look="nuevo"] .pres-card .budget-row .top .nums { font-size: 12.5px; }
html[data-look="nuevo"] .pres-card .budget-row.tappable .top .cat::after { content: none; }
html[data-look="nuevo"] .pres-card .budget-row .pbar { height: 5px; }
html[data-look="nuevo"] .pres-card .budget-row .pb-f { background: var(--cc); }
html[data-look="nuevo"] .pres-card .budget-row .pb-tick { top: -3px; bottom: -3px; width: 2px; margin-left: -1px; }
html[data-look="nuevo"] .pres-card .budget-row.cero { opacity: .55; }
html[data-look="nuevo"] .pres-card .pb-resto.neg { color: var(--expense); font-weight: 700; }
html[data-look="nuevo"] .pres-card .neg { color: var(--expense); }

/* Dónde más gastas */
html[data-look="nuevo"] .donde { padding: 4px var(--sp-4); }
html[data-look="nuevo"] .donde-fila { display: flex; align-items: center; gap: 12px; width: 100%; border: none; background: none; font: inherit; color: var(--text); padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; cursor: pointer; }
html[data-look="nuevo"] .donde-fila:last-child { border-bottom: none; }
html[data-look="nuevo"] .donde-n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 700; flex: none; }
html[data-look="nuevo"] .donde-t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
html[data-look="nuevo"] .donde-t b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[data-look="nuevo"] .donde-t span { font-size: 12px; color: var(--text-faint); }

/* Lista: tres filtros, la lupa y «Filtros»; las cuentas en una píldora */
html[data-look="nuevo"] .cuenta-filtro { margin: -4px 0 var(--sp-3); }
html[data-look="nuevo"] .cuenta-pill { display: inline-flex; align-items: center; border: 1px solid var(--line); background: var(--paper-raised); border-radius: var(--r-pill); }
html[data-look="nuevo"] .cuenta-pill > button { display: inline-flex; align-items: center; gap: 7px; border: none; background: none; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--text); padding: 6px 12px; cursor: pointer; }
html[data-look="nuevo"] .cuenta-pill .i { width: 14px; height: 14px; color: var(--text-faint); }
html[data-look="nuevo"] .cuenta-pill.on { border-color: var(--accent); background: var(--accent-soft); }
html[data-look="nuevo"] .cuenta-pill .cp-x { padding: 6px 10px 6px 2px; }
html[data-look="nuevo"] .cp-dots { display: inline-flex; } html[data-look="nuevo"] .cp-dots .dot { margin-left: -3px; box-shadow: 0 0 0 2px var(--paper-raised); }
html[data-look="nuevo"] .cp-dots .dot:first-child { margin-left: 0; }
html[data-look="nuevo"] .cuenta-pill .dot, html[data-look="nuevo"] .ce-op .dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
html[data-look="nuevo"] .mov-filtros { display: flex; align-items: center; gap: 8px; margin-bottom: var(--sp-3); }
html[data-look="nuevo"] .mov-tipos { display: flex; gap: 6px; flex: 1 1 auto; min-width: 0; }
html[data-look="nuevo"] .mov-tipos .pill { padding: 8px 13px; font-size: 13px; }
html[data-look="nuevo"] .mov-ib { position: relative; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper-raised); color: var(--text); display: grid; place-items: center; flex: none; cursor: pointer; padding: 0; }
html[data-look="nuevo"] .mov-ib .i { width: 18px; height: 18px; }
html[data-look="nuevo"] .mov-ib.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
html[data-look="nuevo"] .mov-ib-n { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--ink); color: var(--paper); font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 4px; box-shadow: 0 0 0 2px var(--paper); }
html[data-look="nuevo"] .mov-buscar { flex: 1 1 auto; display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--accent); background: var(--paper-raised); border-radius: var(--r-pill); padding: 0 14px; height: 40px; animation: mov-abre .3s var(--ease-out); }
@keyframes mov-abre { from { transform: scaleX(.85); transform-origin: right; } }
html[data-look="nuevo"] .mov-buscar .i { width: 17px; height: 17px; color: var(--text-faint); flex: none; }
html[data-look="nuevo"] .mov-buscar input { flex: 1; min-width: 0; border: none; background: none; outline: none; font: inherit; font-size: 15px; color: var(--text); padding: 0; height: 100%; }
html[data-look="nuevo"] .mov-buscar input::-webkit-search-cancel-button { display: none; }
html[data-look="nuevo"] .mov-pres { font-size: var(--fs-s); color: var(--text-muted); margin: -2px 2px var(--sp-3); }
html[data-look="nuevo"] .mov-pres .link { margin-left: 6px; }
/* filas: lo que distingue arriba; sin texto, la categoría sola y en grande */
html[data-look="nuevo"] .row .ttl { font-size: 15px; } /* 31/10: sin display:flex, que impedía los «…» y cortaba el título a mitad de letra (C4) */
html[data-look="nuevo"] .row.solo .ttl { font-size: 15.5px; }
html[data-look="nuevo"] .mov-ic { position: relative; }
html[data-look="nuevo"] .mov-ic.t-cat { color: var(--cc); background: var(--paper-sunken); background: color-mix(in srgb, var(--cc) 17%, transparent); }
html[data-look="nuevo"] .mov-ic .cuenta-dot { position: absolute; right: -2px; bottom: -2px; width: 11px; height: 11px; margin: 0; border-radius: 50%; box-shadow: 0 0 0 2px var(--paper-raised); }
html[data-look="nuevo"] .date-sep { text-transform: none; }
/* hojas «Filtros», «Elegir mes» y «¿Qué cuenta?» */
html[data-look="nuevo"] .filt-cab { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
html[data-look="nuevo"] .filt-tit { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-faint); margin: 16px 0 8px; }
html[data-look="nuevo"] .filt-sw { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; }
html[data-look="nuevo"] .filt-sw b { display: block; font-weight: 600; } html[data-look="nuevo"] .filt-sw span { font-size: 12.5px; color: var(--text-faint); }
html[data-look="nuevo"] .chips .chip .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 2px; }
html[data-look="nuevo"] .mm-modo { margin-bottom: 14px; }
html[data-look="nuevo"] .mm-anio { display: flex; align-items: center; justify-content: space-between; margin: 4px 2px 10px; }
html[data-look="nuevo"] .mm-anio b { font-family: var(--font-display); font-size: var(--fs-l); }
html[data-look="nuevo"] .mm-anio .mov-flecha { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper-raised); color: var(--text); display: grid; place-items: center; padding: 0; cursor: pointer; }
html[data-look="nuevo"] .mm-anio .mov-flecha:disabled { opacity: .3; }
html[data-look="nuevo"] .mm-meses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
html[data-look="nuevo"] .mm-mes { position: relative; border: 1px solid var(--line); background: var(--paper-raised); color: var(--text); border-radius: var(--r-m); padding: 13px 4px; font: inherit; font-weight: 600; cursor: pointer; }
html[data-look="nuevo"] .mm-mes.con::after { content: ''; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent); }
html[data-look="nuevo"] .mm-mes.active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
html[data-look="nuevo"] .mm-mes.active::after { background: var(--accent-ink); }
html[data-look="nuevo"] .mm-mes:disabled { opacity: .35; cursor: default; }
html[data-look="nuevo"] .mm-tumes { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding: 10px 12px; border-radius: var(--r-m); background: var(--paper-sunken); font-size: 12.5px; color: var(--text-muted); }
html[data-look="nuevo"] .mm-tumes .i { width: 16px; height: 16px; flex: none; }
html[data-look="nuevo"] .mm-tumes span { flex: 1; }
html[data-look="nuevo"] .cuenta-elegir { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
html[data-look="nuevo"] .ce-op { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: var(--paper-raised); color: var(--text); border-radius: var(--r-m); padding: 13px 14px; font: inherit; font-weight: 600; cursor: pointer; text-align: left; }
html[data-look="nuevo"] .ce-op span:not(.dot):not(.cp-dots) { flex: 1; }
html[data-look="nuevo"] .ce-op.active { border-color: var(--accent); background: var(--accent-soft); }
html[data-look="nuevo"] .ce-op .i { width: 18px; height: 18px; color: var(--accent); }

/* Calendario: el gasto de cada día; lo fijo es un punto azul y el cobro uno verde */
html[data-look="nuevo"] .cal-card { padding: var(--sp-3); touch-action: pan-y; }
html[data-look="nuevo"] .cal-sem, html[data-look="nuevo"] .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
html[data-look="nuevo"] .cal-sem span { text-align: center; font-size: 11px; font-weight: 700; color: var(--text-faint); padding-bottom: 6px; }
html[data-look="nuevo"] .cal-d { position: relative; aspect-ratio: 1 / 1.08; min-height: 40px; border-radius: 11px; border: none; padding: 4px 2px 3px; font: inherit; color: var(--text); background: var(--paper-sunken); display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 1px; cursor: pointer; overflow: hidden; transition: transform .2s var(--ease-spring); }
html[data-look="nuevo"] .cal-d:active { transform: scale(.94); }
html[data-look="nuevo"] .cal-d.fuera { background: none; color: var(--text-faint); opacity: .35; cursor: default; }
html[data-look="nuevo"] .cal-n { font-size: 11px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
html[data-look="nuevo"] .cal-v { font-size: 11.5px; font-weight: 700; line-height: 1.1; }
html[data-look="nuevo"] .cal-d.lv1 { background: color-mix(in srgb, var(--accent) 18%, var(--paper-sunken)); }
html[data-look="nuevo"] .cal-d.lv2 { background: color-mix(in srgb, var(--accent) 38%, var(--paper-sunken)); }
html[data-look="nuevo"] .cal-d.lv3 { background: color-mix(in srgb, var(--accent) 62%, var(--paper-sunken)); }
html[data-look="nuevo"] .cal-d.lv4 { background: var(--accent); color: var(--accent-ink); }
html[data-look="nuevo"] .cal-d.fut { background: none; box-shadow: inset 0 0 0 1px var(--line); color: var(--text-faint); }
html[data-look="nuevo"] .cal-d.hoy { box-shadow: inset 0 0 0 2px var(--accent); }
html[data-look="nuevo"] .cal-d.sel { box-shadow: inset 0 0 0 2px var(--ink); transform: scale(1.04); z-index: 1; }
html[data-look="nuevo"] .cal-pts { position: absolute; bottom: 3px; display: flex; gap: 3px; }
html[data-look="nuevo"] .pt-fijo, html[data-look="nuevo"] .pt-ing { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--bill); box-shadow: 0 0 0 1.5px var(--paper-raised); }
html[data-look="nuevo"] .pt-ing { background: var(--income); }
html[data-look="nuevo"] .cal-pie { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin-top: 10px; font-size: 11.5px; color: var(--text-faint); }
html[data-look="nuevo"] .cal-ley { display: inline-flex; align-items: center; gap: 4px; }
html[data-look="nuevo"] .cal-ley i[class^="lv"] { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }
html[data-look="nuevo"] .cal-ley i.lv1 { background: color-mix(in srgb, var(--accent) 18%, var(--paper-sunken)); } html[data-look="nuevo"] .cal-ley i.lv2 { background: color-mix(in srgb, var(--accent) 38%, var(--paper-sunken)); }
html[data-look="nuevo"] .cal-ley i.lv3 { background: color-mix(in srgb, var(--accent) 62%, var(--paper-sunken)); } html[data-look="nuevo"] .cal-ley i.lv4 { background: var(--accent); }
html[data-look="nuevo"] .cal-premio { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: var(--r-pill); background: var(--income-soft); color: var(--income); font-weight: 700; }
html[data-look="nuevo"] .cal-premio .i { width: 13px; height: 13px; }
html[data-look="nuevo"] .cal-nada { text-align: center; color: var(--text-faint); font-size: var(--fs-s); padding: 18px 0; }
html[data-look="nuevo"] .cal-sep { margin-top: var(--sp-4); }

/* ---------- Feedback 17/10 noche: Inicio con mes, barra y «Así vas»; saldo real y virtual ---------- */
html[data-look="nuevo"] .hero2-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
html[data-look="nuevo"] .hero2-flechas { display: flex; gap: 6px; }
html[data-look="nuevo"] .hero2 .hero-arrow { width: 32px; height: 32px; }
html[data-look="nuevo"] .hero2 .hero-arrow:disabled { opacity: .3; cursor: default; }
html[data-look="nuevo"] .hero2 .desde-der { animation: mov-entra-der .35s var(--ease-out); }
html[data-look="nuevo"] .hero2 .desde-izq { animation: mov-entra-izq .35s var(--ease-out); }
html[data-look="nuevo"] .hero-barra { display: flex; flex-direction: column; gap: 7px; margin: 2px 0 4px; }
html[data-look="nuevo"] .hero-bar .q { background: #7FE3B4; }
html[data-look="nuevo"] .hero-ley { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 11.5px; color: var(--hero-muted); }
html[data-look="nuevo"] .hero-ley span { display: inline-flex; align-items: center; gap: 5px; }
html[data-look="nuevo"] .hero-ley b { color: #fff; font-weight: 700; }
html[data-look="nuevo"] .hero-ley i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
html[data-look="nuevo"] .hero-ley i.g { background: #FFB59E; } html[data-look="nuevo"] .hero-ley i.a { background: #CDBBFF; }
html[data-look="nuevo"] .hero-ley i.d { background: #E9D8B8; } html[data-look="nuevo"] .hero-ley i.q { background: #7FE3B4; }
html[data-look="nuevo"] .ins-scroll { display: flex; gap: 10px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
html[data-look="nuevo"] .ins-scroll::-webkit-scrollbar { display: none; }
html[data-look="nuevo"] .ins-card { flex: none; width: 168px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; padding: 13px 14px 14px; border-radius: var(--r-l); border: 1px solid var(--card-border); background: var(--paper-raised); box-shadow: var(--shadow); color: var(--text); font: inherit; cursor: pointer; }
html[data-look="nuevo"] .ins-ic { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 4px; }
html[data-look="nuevo"] .ins-ic .i { width: 16px; height: 16px; }
html[data-look="nuevo"] .ins-card.malo .ins-ic { background: var(--expense-soft); color: var(--expense); }
html[data-look="nuevo"] .ins-card.bueno .ins-ic { background: var(--income-soft); color: var(--income); }
html[data-look="nuevo"] .ins-card.aviso .ins-ic { background: var(--bill-soft); color: var(--bill); }
html[data-look="nuevo"] .ins-t { font-family: var(--font-display); font-weight: var(--num-peso); font-size: var(--fs-l); line-height: 1.15; }
html[data-look="nuevo"] .ins-d { font-size: 12.5px; color: var(--text-faint); line-height: 1.35; }
html[data-look="nuevo"] .sv-real-l { font-size: 12.5px; font-weight: 600; color: var(--text-faint); margin: -2px 0 0; }
html[data-look="nuevo"] .saldo-virtual { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: var(--r-m); background: var(--accent-soft); }
html[data-look="nuevo"] .saldo-virtual > div { display: flex; flex-direction: column; }
html[data-look="nuevo"] .sv-l { font-weight: 700; font-size: 14px; } html[data-look="nuevo"] .sv-d { font-size: 12px; color: var(--text-muted); }
html[data-look="nuevo"] .saldo-virtual b { font-family: var(--font-display); font-weight: var(--num-peso); font-size: var(--fs-l); white-space: nowrap; }
/* «En qué gastas»: el anillo fuera de la tarjeta, más grande y vivo al tocarlo */
html[data-look="nuevo"] .dn-zona { display: flex; flex-direction: column; align-items: center; gap: var(--sp-4); padding: 0 0 var(--sp-2); }
html[data-look="nuevo"] .dn-zona .dn-graf { width: min(236px, 66vw); height: min(236px, 66vw); }
html[data-look="nuevo"] .dn-fondo { stroke: var(--paper-sunken); opacity: .55; }
html[data-look="nuevo"] .dn-centro { fill: transparent; cursor: pointer; }
html[data-look="nuevo"] .dn-zona .dn-s { transition: transform .5s var(--ease-spring), stroke-width .4s var(--ease-spring), opacity .3s ease; -webkit-tap-highlight-color: transparent; }
html[data-look="nuevo"] .dn-zona .dn-s.sel { stroke-width: 22px; animation: none; filter: drop-shadow(0 6px 12px rgba(0,0,0,.28)); }
html[data-look="nuevo"] .dn-zona .dn-s.off { opacity: .2; animation: none; }
@media (hover: hover) { html[data-look="nuevo"] .dn-zona .dn-s:not(.off):hover { stroke-width: 19px; } }
html[data-look="nuevo"] .dn-zona .dn-s:active { stroke-width: 20px; }
html[data-look="nuevo"] .dn-zona .dn-s.ola { animation: dn-ola .55s var(--ease-spring) both; }
@keyframes dn-ola { 0% { stroke-width: 15px; } 45% { stroke-width: 21px; } 100% { stroke-width: 15px; } }
html[data-look="nuevo"] .dn-zona .dn-c2 { font-size: 21px; }
html[data-look="nuevo"] .dn-zona .dn-c1, html[data-look="nuevo"] .dn-zona .dn-c3 { font-size: 9.5px; }
html[data-look="nuevo"] .dn-txt.entra text { animation: dn-txt .35s var(--ease-out) both; }
html[data-look="nuevo"] .dn-txt.entra .dn-c2 { animation-delay: .04s; } html[data-look="nuevo"] .dn-txt.entra .dn-c3 { animation-delay: .08s; }
@keyframes dn-txt { from { opacity: 0; transform: translateY(5px); } }
html[data-look="nuevo"] .dn-zona .dn-ley { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; }
html[data-look="nuevo"] .dn-zona .dn-f { margin: 0; padding: 10px 12px; border-radius: var(--r-m); background: var(--paper-raised); border: 1px solid var(--card-border); box-shadow: var(--shadow); transition: opacity .25s ease, transform .2s var(--ease-spring), box-shadow .25s ease, border-color .25s ease; }
html[data-look="nuevo"] .dn-zona .dn-f:active { transform: scale(.96); }
html[data-look="nuevo"] .dn-zona .dn-f.sel { border-color: var(--dc); box-shadow: inset 0 0 0 1px var(--dc), 0 8px 20px -12px var(--dc); background: var(--paper-raised); }
html[data-look="nuevo"] .dn-zona .dn-f.off { opacity: .5; }
html[data-look="nuevo"] .dn-zona .dn-volver { grid-column: 1 / -1; justify-self: start; }
html[data-look="nuevo"] .dn-zona .dn-ver { grid-column: 1 / -1; justify-self: center; margin-top: 2px; }
html[data-look="nuevo"] .dn-vacio { text-align: center; color: var(--text-faint); font-size: 13.5px; }

/* ---------- 18/10: botón para comparar con la versión anterior (solo en pruebas) ---------- */
html[data-look="nuevo"] #compararHost:empty { display: none; }
html[data-look="nuevo"] .comparar-fab { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 11px 0 9px; border-radius: var(--r-pill); border: 1.5px dashed var(--accent); background: transparent; color: var(--accent); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap; animation: comparar-entra .4s var(--ease-spring); }
html[data-look="nuevo"] .comparar-fab .i { width: 14px; height: 14px; }
html[data-look="nuevo"] .comparar-fab.ant { background: var(--accent); color: var(--accent-ink); border-style: solid; }
@keyframes comparar-entra { from { transform: scale(.85); opacity: 0; } }
/* ---------- Inicio v2: compacto (sin scroll en un móvil normal) y «Así vas» en círculos ---------- */
html[data-look="nuevo"] .hero2v2 { padding: 12px var(--sp-4) 12px; gap: 6px; }
html[data-look="nuevo"] .hero2v2 .hero-main { margin-top: 0; }
html[data-look="nuevo"] .hero2v2 .hero-v { font-size: 38px; }
html[data-look="nuevo"] .hero2v2 .hero-barra { margin: 2px 0 0; gap: 6px; }
html[data-look="nuevo"] .hero2v2 .hero-bar { height: 8px; }
html[data-look="nuevo"] .h2-datos { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
html[data-look="nuevo"] .h2-dato { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 7px 11px; border: none; border-radius: 12px; background: var(--hero-tile); color: inherit; font: inherit; text-align: left; cursor: pointer; min-width: 0; }
html[data-look="nuevo"] .h2-dato span { font-size: 11.5px; color: var(--hero-muted); display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
html[data-look="nuevo"] .h2-dato b { font-family: var(--font-display); font-weight: var(--num-peso); font-size: 16px; }
html[data-look="nuevo"] .h2-dato .prev-tag { font-style: normal; font-size: 9.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 1px 5px; border-radius: 5px; background: rgba(255,255,255,.18); color: #fff; }
html[data-look="nuevo"] .ins-circ { display: flex; gap: 6px; justify-content: space-between; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 4px; scroll-padding-inline: 16px; scrollbar-width: none; }
html[data-look="nuevo"] .ins-circ::-webkit-scrollbar { display: none; }
html[data-look="nuevo"] .ins-c { --ic: var(--accent); flex: 0 0 auto; width: 66px; display: flex; flex-direction: column; align-items: center; gap: 1px; border: none; background: none; padding: 0; color: var(--text); font: inherit; cursor: pointer; transition: transform .2s var(--ease-spring); }
html[data-look="nuevo"] .ins-c:active { transform: scale(.93); }
html[data-look="nuevo"] .ins-c.malo { --ic: var(--expense); } html[data-look="nuevo"] .ins-c.bueno { --ic: var(--income); } html[data-look="nuevo"] .ins-c.aviso { --ic: var(--bill); }
html[data-look="nuevo"] .ins-c[style*="--ic"] { --ic-forzado: 1; }
html[data-look="nuevo"] .ins-aro { position: relative; width: 60px; height: 60px; display: grid; place-items: center; margin-bottom: 4px; border-radius: 50%; background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--ic) 22%, var(--paper-raised)), var(--paper-raised) 70%); box-shadow: var(--shadow); }
html[data-look="nuevo"] .ins-aro svg { position: absolute; inset: 0; width: 100%; height: 100%; }
html[data-look="nuevo"] .ins-aro-f { fill: none; stroke: var(--paper-sunken); stroke-width: 4.5; }
html[data-look="nuevo"] .ins-aro-v { fill: none; stroke: var(--ic); stroke-width: 4.5; stroke-linecap: round; animation: ins-aro 1s var(--ease-out) both; }
@keyframes ins-aro { from { stroke-dasharray: 0 170; } }
html[data-look="nuevo"] .ins-aro b { position: relative; font-family: var(--font-display); font-weight: var(--num-peso); font-size: 14px; color: var(--ic); letter-spacing: -.02em; white-space: nowrap; }
html[data-look="nuevo"] .ins-aro b.largo { font-size: 11.5px; }
html[data-look="nuevo"] .ins-l1 { font-size: 11.5px; font-weight: 600; max-width: 66px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.25; }
html[data-look="nuevo"] .ins-l2 { font-size: 10.5px; color: var(--text-faint); max-width: 66px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.2; }
html[data-look="nuevo"] .ins-pop { --ic: var(--accent); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 4px 4px 2px; }
html[data-look="nuevo"] .ins-pop.malo { --ic: var(--expense); } html[data-look="nuevo"] .ins-pop.bueno { --ic: var(--income); } html[data-look="nuevo"] .ins-pop.aviso { --ic: var(--bill); }
html[data-look="nuevo"] .ins-pop-v { font-family: var(--font-display); font-weight: var(--num-peso); font-size: 34px; color: var(--ic); }
html[data-look="nuevo"] .ins-pop-l { font-size: 12.5px; font-weight: 700; color: var(--text-faint); text-transform: uppercase; letter-spacing: .05em; }
html[data-look="nuevo"] .ins-pop p { margin: 10px 0 2px; font-size: 15px; line-height: 1.45; color: var(--text); }

/* ---------- 18/10: «En qué gastas» v3 — una lista con gasto, parte del total y presupuesto; Barras, Mosaico o Anillo arriba ---------- */
html[data-look="nuevo"] .gc-card { padding: var(--sp-4) var(--sp-4) var(--sp-2); }
html[data-look="nuevo"] .gc-total { display: flex; align-items: baseline; gap: 8px; }
html[data-look="nuevo"] .gc-total b { font-family: var(--font-display); font-weight: var(--num-peso); font-size: 28px; letter-spacing: -.02em; }
html[data-look="nuevo"] .gc-total > span { color: var(--text-faint); font-size: var(--fs-s); }
html[data-look="nuevo"] .gc-total .gc-chip { position: static; margin-left: auto; align-self: center; }
html[data-look="nuevo"] .gc-card .pres-sum { margin: 4px 0 12px; }
html[data-look="nuevo"] .gc-tira { display: flex; gap: 3px; height: 12px; margin: 0 0 6px; }
html[data-look="nuevo"] .gc-tira i { display: block; min-width: 6px; border-radius: 6px; transform-origin: left; animation: gc-tira .7s var(--ease-out) both; }
html[data-look="nuevo"] .gc-tira i:nth-child(2) { animation-delay: .06s; } html[data-look="nuevo"] .gc-tira i:nth-child(3) { animation-delay: .12s; } html[data-look="nuevo"] .gc-tira i:nth-child(4) { animation-delay: .18s; } html[data-look="nuevo"] .gc-tira i:nth-child(5) { animation-delay: .24s; } html[data-look="nuevo"] .gc-tira i:nth-child(6) { animation-delay: .3s; }
@keyframes gc-tira { from { transform: scaleX(0); opacity: .4; } }
html[data-look="nuevo"] .gc-lista { display: flex; flex-direction: column; }
html[data-look="nuevo"] .gc-fila { border-bottom: 1px solid var(--line); padding: 0; border-radius: 0; scroll-margin: 90px 0 96px; }
html[data-look="nuevo"] .gc-fila:last-child { border-bottom: none; }
html[data-look="nuevo"] .gc-fila.cero { opacity: .55; }
html[data-look="nuevo"] .gc-cab { display: flex; align-items: center; gap: 11px; width: 100%; border: none; background: none; padding: 10px 0; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
html[data-look="nuevo"] .gc-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
html[data-look="nuevo"] .gc-linea { display: flex; align-items: center; gap: 8px; }
html[data-look="nuevo"] .gc-linea .gc-bar { flex: 1 1 auto; }
html[data-look="nuevo"] .gc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
html[data-look="nuevo"] .gc-top .cat { font-weight: 600; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
html[data-look="nuevo"] .gc-top b { font-weight: 700; font-size: 14px; white-space: nowrap; }
html[data-look="nuevo"] .gc-bar { height: 6px; }
html[data-look="nuevo"] .gc-bar .pb-f { background: var(--cc); }
html[data-look="nuevo"] .gc-bar .pb-tick { top: -3px; bottom: -3px; width: 2px; margin-left: -1px; }
html[data-look="nuevo"] .gc-sub { flex: none; min-width: calc(var(--gc-sw, 0) * 0.53em); font-size: 12px; color: var(--text-faint); text-align: right; white-space: nowrap; }
html[data-look="nuevo"] .gc-sub .neg { color: var(--expense); font-weight: 700; }
html[data-look="nuevo"] .gc-chev { color: var(--text-faint); transition: transform .35s var(--ease-spring); display: grid; } html[data-look="nuevo"] .gc-chev .i { width: 18px; height: 18px; }
html[data-look="nuevo"] .gc-fila.abierta .gc-chev { transform: rotate(180deg); color: var(--cc); }
html[data-look="nuevo"] .gc-fila.abierta .pb-ic { box-shadow: 0 0 0 2px var(--cc); }
html[data-look="nuevo"] .gc-cajon { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease-out); }
html[data-look="nuevo"] .gc-fila.abierta .gc-cajon { grid-template-rows: 1fr; }
html[data-look="nuevo"] .gc-cajon-in { overflow: hidden; min-height: 0; }
html[data-look="nuevo"] .gc-fila.abierta .gc-cajon-in { padding: 0 0 10px 43px; }
html[data-look="nuevo"] .gc-mini { display: flex; align-items: center; gap: 9px; width: 100%; border: none; background: none; color: var(--text); font: inherit; font-size: 13.5px; padding: 6px 0; text-align: left; cursor: pointer; }
html[data-look="nuevo"] .gc-mini > i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
html[data-look="nuevo"] .gc-mini > span:first-of-type { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[data-look="nuevo"] .gc-mini em { font-style: normal; color: var(--text-faint); }
html[data-look="nuevo"] .gc-mini b { font-weight: 600; white-space: nowrap; }
html[data-look="nuevo"] .gc-mini.resto { color: var(--text-faint); cursor: default; }
html[data-look="nuevo"] .gc-mbar { flex: 0 0 64px; height: 5px; border-radius: 3px; background: var(--paper-sunken); overflow: hidden; }
html[data-look="nuevo"] .gc-mbar i { display: block; height: 100%; border-radius: 3px; background: var(--cc); }
html[data-look="nuevo"] .gc-pie { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
html[data-look="nuevo"] .gc-ver { display: inline-flex; align-items: center; gap: 2px; border: none; border-radius: var(--r-pill); padding: 7px 12px; background: var(--paper-sunken); color: var(--text); font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
html[data-look="nuevo"] .gc-ver .i { width: 14px; height: 14px; }
html[data-look="nuevo"] .gc-pres { font-size: 12px; }
/* Anillo v3 */
html[data-look="nuevo"] .gc-anillo { width: min(210px, 60vw); height: min(210px, 60vw); margin: 2px auto 8px; }
html[data-look="nuevo"] .gc-anillo .dn-s { transition: transform .5s var(--ease-spring), stroke-width .4s var(--ease-spring), opacity .3s ease; }
html[data-look="nuevo"] .gc-anillo .dn-s.sel { stroke-width: 18px; }
html[data-look="nuevo"] .gc-anillo .dn-s.off { opacity: .25; }
html[data-look="nuevo"] .gc-anillo .dn-c2 { font-size: 20px; } html[data-look="nuevo"] .gc-anillo .dn-c1, html[data-look="nuevo"] .gc-anillo .dn-c3 { font-size: 9.5px; }
html[data-look="nuevo"] .gc-sub-arco { animation: gc-arco .5s var(--ease-out) both; }
@keyframes gc-arco { from { opacity: 0; } }
/* Mosaico */
html[data-look="nuevo"] .gc-mosaico { position: relative; width: 100%; aspect-ratio: 100 / 62; margin: 2px 0 10px; }
html[data-look="nuevo"] .gc-ficha { position: absolute; padding: 2px; border: none; background: none; cursor: pointer; transition: opacity .3s ease, transform .35s var(--ease-spring); animation: gc-ficha .45s var(--ease-spring) both; }
@keyframes gc-ficha { from { transform: scale(.85); opacity: 0; } }
html[data-look="nuevo"] .gc-ficha-in { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 1px; width: 100%; height: 100%; border-radius: 12px; padding: 8px 9px; overflow: hidden; text-align: left; color: #fff; background: linear-gradient(160deg, color-mix(in srgb, var(--cc) 92%, #fff), var(--cc)); box-shadow: inset 0 -20px 30px -24px rgba(0,0,0,.45); }
html[data-look="nuevo"] .gc-ficha.p .gc-ficha-in { justify-content: center; align-items: center; padding: 4px; }
html[data-look="nuevo"] .gf-n { font-size: 12px; font-weight: 700; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
html[data-look="nuevo"] .gc-ficha b { font-family: var(--font-display); font-weight: var(--num-peso); font-size: 14px; white-space: nowrap; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
html[data-look="nuevo"] .gc-ficha.p b { font-size: 11.5px; }
html[data-look="nuevo"] .gc-ficha.g b { font-size: 20px; }
html[data-look="nuevo"] .gf-p { font-size: 11px; opacity: .85; }
html[data-look="nuevo"] .gc-ficha.off .gc-ficha-in { background: color-mix(in srgb, var(--cc) 22%, var(--paper-raised)); color: color-mix(in srgb, var(--cc) 40%, var(--text)); box-shadow: none; }
html[data-look="nuevo"] .gc-ficha.off .gf-n, html[data-look="nuevo"] .gc-ficha.off b { text-shadow: none; }
html[data-look="nuevo"] .gc-ficha.p .gc-ficha-in { flex-flow: row wrap; align-content: center; gap: 2px 5px; }
html[data-look="nuevo"] .gf-ic { display: grid; filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)); } html[data-look="nuevo"] .gf-ic .i { width: 15px; height: 15px; }
html[data-look="nuevo"] .gc-ficha.off .gf-ic { filter: none; }
html[data-look="nuevo"] .gc-ficha.sel { transform: scale(1.03); z-index: 1; }
html[data-look="nuevo"] .gc-ficha.sel .gc-ficha-in { box-shadow: 0 0 0 2px var(--paper-raised), 0 0 0 4px var(--cc), 0 10px 24px -10px var(--cc); }
html[data-look="nuevo"] .gc-det { border-top: 1px solid var(--line); padding: 10px 0 6px; scroll-margin: 90px 0 96px; }
html[data-look="nuevo"] .gc-det.entra { animation: dn-txt .35s var(--ease-out); }
html[data-look="nuevo"] .gc-det-cab { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
html[data-look="nuevo"] .gc-det-cab i { width: 10px; height: 10px; border-radius: 3px; background: var(--cc); }
html[data-look="nuevo"] .gc-det-cab b { flex: 1; } html[data-look="nuevo"] .gc-det-cab span { font-size: 13px; color: var(--text-faint); }
html[data-look="nuevo"] .gc-det .gc-mini > i { background: var(--cc); }
html[data-look="nuevo"] .gc-det-vacio { text-align: center; color: var(--text-faint); font-size: 13px; padding: 4px 0 6px; }
html[data-look="nuevo"] .comparar-fab.multi i { font-style: normal; opacity: .7; font-weight: 600; }
html[data-look="nuevo"] .comparar-fab.multi > .i { display: none; } html[data-look="nuevo"] .comparar-fab.multi { padding: 0 11px; }

/* ===== Juntos v2 (18/10/2026): personas primero ===== */
html[data-look="nuevo"] .cara { background-image: none; box-shadow: none; }
html[data-look="nuevo"] .cara.mini { width: 22px; height: 22px; font-size: 8.5px; border-width: 1.5px; }
html[data-look="nuevo"] .cara.grande { width: 52px; height: 52px; font-size: 17px; }
html[data-look="nuevo"] .jv-cab { padding: var(--sp-4); }
html[data-look="nuevo"] .jv-frase { font-size: var(--fs-s); color: var(--text-muted); margin-bottom: 10px; }
html[data-look="nuevo"] .jv-fichas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
html[data-look="nuevo"] .jv-ficha { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; border-radius: var(--r-m); border: 1.5px solid transparent; background: var(--paper-sunken); text-align: left; cursor: pointer; transition: border-color .2s var(--ease-out), transform .2s var(--ease-spring); }
html[data-look="nuevo"] .jv-ficha:active { transform: scale(.97); }
html[data-look="nuevo"] .jv-ficha span { font-size: 12.5px; font-weight: 600; color: var(--text-muted); }
html[data-look="nuevo"] .jv-ficha b { font-family: var(--font-display); font-size: 22px; font-weight: var(--num-peso); letter-spacing: -.01em; }
html[data-look="nuevo"] .jv-ficha i { font-style: normal; font-size: 11.5px; color: var(--text-faint); }
html[data-look="nuevo"] .jv-ficha.de { background: color-mix(in srgb, var(--expense) 9%, var(--paper-sunken)); }
html[data-look="nuevo"] .jv-ficha.de b { color: var(--expense); }
html[data-look="nuevo"] .jv-ficha.te { background: color-mix(in srgb, var(--income) 9%, var(--paper-sunken)); }
html[data-look="nuevo"] .jv-ficha.te b { color: var(--income); }
html[data-look="nuevo"] .jv-ficha.on.de { border-color: var(--expense); }
html[data-look="nuevo"] .jv-ficha.on.te { border-color: var(--income); }
html[data-look="nuevo"] .jv-compartir { display: flex; align-items: center; justify-content: center; gap: 6px; }
html[data-look="nuevo"] .jv-personas, html[data-look="nuevo"] .jv-grupos, html[data-look="nuevo"] .jv-act { padding: 4px 0; }
html[data-look="nuevo"] .jv-p { display: flex; align-items: center; gap: 8px; padding: 0 12px 0 0; }
html[data-look="nuevo"] .jv-p + .jv-p, html[data-look="nuevo"] .jv-g + .jv-g, html[data-look="nuevo"] .jv-a + .jv-a { border-top: 1px solid var(--line); }
html[data-look="nuevo"] .jv-p-main, html[data-look="nuevo"] .jv-g, html[data-look="nuevo"] .jv-a { flex: 1; min-width: 0; display: flex; align-items: center; gap: 11px; padding: 11px 6px 11px 14px; background: none; border: 0; text-align: left; color: inherit; cursor: pointer; width: 100%; }
html[data-look="nuevo"] .jv-p-main .avatar, html[data-look="nuevo"] .jv-g > .avatar, html[data-look="nuevo"] .jv-a > .avatar { width: 38px; height: 38px; font-size: 13px; }
html[data-look="nuevo"] .jv-p-n { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
html[data-look="nuevo"] .jv-p-n b { font-size: 14.5px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[data-look="nuevo"] .jv-p-n > span { font-size: 12px; color: var(--text-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[data-look="nuevo"] .jv-p-v { display: flex; flex-direction: column; align-items: flex-end; flex: none; }
html[data-look="nuevo"] .jv-p-v b { font-size: 15px; font-weight: 700; }
html[data-look="nuevo"] .jv-p-v b.neg { color: var(--expense); }
html[data-look="nuevo"] .jv-p-v b.pos { color: var(--income); }
html[data-look="nuevo"] .jv-p-v span { font-size: 11px; color: var(--text-faint); }
html[data-look="nuevo"] .jv-btn { flex: none; display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 12px; border-radius: var(--r-pill); font-size: 12.5px; font-weight: 700; cursor: pointer; border: 1.5px solid currentColor; background: none; transition: transform .2s var(--ease-spring); }
html[data-look="nuevo"] .jv-btn:active { transform: scale(.94); }
html[data-look="nuevo"] .jv-btn .i { width: 14px; height: 14px; }
html[data-look="nuevo"] .jv-btn.saldar { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
html[data-look="nuevo"] .jv-btn.pedir { color: var(--income); }
html[data-look="nuevo"] .jv-enpaz { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-faint); margin: 8px 4px 0; }
html[data-look="nuevo"] .jv-enpaz .i { width: 15px; height: 15px; color: var(--income); }
html[data-look="nuevo"] .jv-paz { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--income); }
html[data-look="nuevo"] .jv-paz .i { width: 22px; height: 22px; }
html[data-look="nuevo"] .jv-g-ic { flex: none; width: 38px; height: 38px; border-radius: 12px; display: inline-grid; place-items: center; font-weight: 700; font-size: 13px; background: var(--accent-soft); color: var(--accent); }
html[data-look="nuevo"] .jv-g-ic.grande { width: 52px; height: 52px; border-radius: 16px; font-size: 17px; }
html[data-look="nuevo"] .jv-g-n { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
html[data-look="nuevo"] .jv-g-n b { font-size: 14.5px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[data-look="nuevo"] .jv-caras { display: flex; align-items: center; }
html[data-look="nuevo"] .jv-caras .cara + .cara { margin-left: -6px; }
html[data-look="nuevo"] .jv-g-meta { font-size: 11.5px; color: var(--text-faint); margin-left: 6px; }
html[data-look="nuevo"] .jv-caras > .jv-g-meta:first-child { margin-left: 0; }
html[data-look="nuevo"] .jv-g > .i:last-child { width: 16px; height: 16px; color: var(--text-faint); flex: none; }
/* hoja de una persona */
html[data-look="nuevo"] .jv-pcab, html[data-look="nuevo"] .jv-gcab { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
html[data-look="nuevo"] .jv-pcab h2, html[data-look="nuevo"] .jv-gcab h2 { margin: 0 0 3px; }
html[data-look="nuevo"] .jv-gcab-t { flex: 1; min-width: 0; }
html[data-look="nuevo"] .jv-total { display: flex; flex-direction: column; align-items: center; padding: 16px; border-radius: var(--r-l); margin-bottom: 12px; }
html[data-look="nuevo"] .jv-total span { font-size: 13px; font-weight: 600; color: var(--text-muted); }
html[data-look="nuevo"] .jv-total b { font-family: var(--font-display); font-size: 34px; font-weight: var(--num-peso); letter-spacing: -.02em; }
html[data-look="nuevo"] .jv-total.de { background: color-mix(in srgb, var(--expense) 9%, var(--paper-sunken)); }
html[data-look="nuevo"] .jv-total.de b { color: var(--expense); }
html[data-look="nuevo"] .jv-total.te { background: color-mix(in srgb, var(--income) 9%, var(--paper-sunken)); }
html[data-look="nuevo"] .jv-total.te b { color: var(--income); }
html[data-look="nuevo"] .jv-desg-card { padding: 4px 14px; margin-bottom: 12px; }
html[data-look="nuevo"] .jv-desg { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; font-size: 14px; }
html[data-look="nuevo"] .jv-desg + .jv-desg { border-top: 1px solid var(--line); }
html[data-look="nuevo"] .jv-desg b.neg { color: var(--expense); }
html[data-look="nuevo"] .jv-desg b.pos { color: var(--income); }
html[data-look="nuevo"] .jv-msg { font-size: 13.5px; line-height: 1.45; padding: 12px 14px; border-radius: 16px 16px 16px 4px; background: color-mix(in srgb, #25D366 12%, var(--paper-sunken)); margin-bottom: 10px; }
/* dentro del grupo */
html[data-look="nuevo"] .jv-ajustes { flex: none; }
html[data-look="nuevo"] .jv-gcab { padding-right: 44px; }
html[data-look="nuevo"] .jv-fecha .chip .i { width: 15px; height: 15px; }
html[data-look="nuevo"] .jv-fecha input[hidden], html[data-look="nuevo"] .jv-fecha .chip[hidden] { display: none; }
html[data-look="nuevo"] .jv-tuyo { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: var(--r-m); margin-bottom: 8px; font-size: 14px; }
html[data-look="nuevo"] .jv-tuyo.de { background: color-mix(in srgb, var(--expense) 9%, var(--paper-sunken)); }
html[data-look="nuevo"] .jv-tuyo.de b { color: var(--expense); }
html[data-look="nuevo"] .jv-tuyo.te { background: color-mix(in srgb, var(--income) 9%, var(--paper-sunken)); }
html[data-look="nuevo"] .jv-tuyo.te b { color: var(--income); }
html[data-look="nuevo"] .jv-tuyo.paz { justify-content: flex-start; background: var(--paper-sunken); color: var(--text-muted); font-weight: 600; }
html[data-look="nuevo"] .jv-tuyo.paz .i { width: 20px; height: 20px; color: var(--income); }
html[data-look="nuevo"] .jv-tabs { margin: 10px 0 12px; }
html[data-look="nuevo"] .jv-gtot { font-size: 12.5px; color: var(--text-muted); margin: 0 4px 8px; }
html[data-look="nuevo"] .jv-saldos { padding: 6px 14px; }
html[data-look="nuevo"] .jv-s { display: grid; grid-template-columns: 22px minmax(0, 1fr) 1.2fr auto; align-items: center; gap: 8px; padding: 8px 0; font-size: 13.5px; }
html[data-look="nuevo"] .jv-s-n { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[data-look="nuevo"] .jv-s-bar { position: relative; height: 8px; border-radius: 4px; background: var(--paper-sunken); }
html[data-look="nuevo"] .jv-s-bar::after { content: ''; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 1px; background: var(--line); }
html[data-look="nuevo"] .jv-s-bar i { position: absolute; top: 0; bottom: 0; border-radius: 4px; }
html[data-look="nuevo"] .jv-s-bar i.te { left: 50%; background: var(--income); }
html[data-look="nuevo"] .jv-s-bar i.de { right: 50%; background: var(--expense); }
html[data-look="nuevo"] .jv-s b { font-size: 13.5px; min-width: 68px; text-align: right; }
html[data-look="nuevo"] .jv-pagos { padding: 4px 14px; }
html[data-look="nuevo"] .jv-pago { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 0; font-size: 13.5px; color: var(--text-muted); }
html[data-look="nuevo"] .jv-pago.mio { color: var(--text); font-weight: 600; }
html[data-look="nuevo"] .jv-pago + .jv-pago { border-top: 1px solid var(--line); }
/* compartir un gasto rápido */
html[data-look="nuevo"] .cr-lbl { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; margin: 12px 0 6px; }
html[data-look="nuevo"] .cr-lbl .hint { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--text-faint); }
html[data-look="nuevo"] .cr-con { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
html[data-look="nuevo"] .cr-con .chip { flex: none; }
html[data-look="nuevo"] .cr-imp { display: flex; align-items: baseline; justify-content: center; gap: 4px; margin: 14px 0 8px; font-family: var(--font-display); font-size: 40px; font-weight: var(--num-peso); color: var(--text-faint); }
html[data-look="nuevo"] .cr-importe { display: block; width: auto; field-sizing: content; min-width: 1ch; max-width: 7em; margin: 0; text-align: center; font-family: var(--font-display); font-size: 40px; font-weight: var(--num-peso); border: 0; background: none; color: var(--text); padding: 6px 0; outline: none; }
html[data-look="nuevo"] .cr-importe::placeholder { color: var(--text-faint); }
html[data-look="nuevo"] .cr-que { display: flex; gap: 8px; margin-bottom: 0; }
html[data-look="nuevo"] .cr-que input { flex: 1; min-width: 0; }
html[data-look="nuevo"] .cr-que select { flex: none; width: 38%; }
html[data-look="nuevo"] .cr-caras { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 4px; }
html[data-look="nuevo"] .cr-cara { flex: none; display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 52px; background: none; border: 0; color: inherit; cursor: pointer; padding: 2px; transition: transform .2s var(--ease-spring), opacity .2s; }
html[data-look="nuevo"] .cr-cara:active { transform: scale(.92); }
html[data-look="nuevo"] .cr-cara .avatar { width: 42px; height: 42px; font-size: 14px; box-shadow: 0 0 0 2px var(--paper-raised), 0 0 0 4px transparent; transition: box-shadow .2s; }
html[data-look="nuevo"] .cr-cara.on .avatar { box-shadow: 0 0 0 2px var(--paper-raised), 0 0 0 4px var(--accent); }
html[data-look="nuevo"] .cr-cara span { font-size: 12px; font-weight: 600; }
html[data-look="nuevo"] .cr-cara b { font-size: 11.5px; font-weight: 600; color: var(--text-muted); }
html[data-look="nuevo"] .cr-cara.fuera { opacity: .45; }
html[data-look="nuevo"] .cr-res { margin: 12px 0 4px; padding: 10px 12px; border-radius: var(--r-m); background: var(--accent-soft); color: var(--accent); font-weight: 650; font-size: 14px; text-align: center; }
html[data-look="nuevo"] .cr-res.error { background: color-mix(in srgb, var(--expense) 10%, var(--paper-sunken)); color: var(--expense); }
html[data-look="nuevo"] .cr-pie { display: flex; flex-direction: column; gap: 8px; margin: 10px 0 0; }

/* Inversiones: al cambiar Valor | Rentabilidad la cifra entra suave y el «0 %» aparece sin salto */
html[data-look="nuevo"] .tr-big.tr-cambia { animation: trCambia .55s var(--ease-out) both; }
html[data-look="nuevo"] .tr-cero { animation: trFade .5s .25s var(--ease-out) both; }
@keyframes trCambia { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes trFade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { html[data-look="nuevo"] .tr-big.tr-cambia, html[data-look="nuevo"] .tr-cero { animation: none; } }

/* ===== Dinero v2 (18/10/2026): de un vistazo ===== */
html[data-look="nuevo"] .dm-lqt { padding: var(--sp-4); }
html[data-look="nuevo"] .dm-lqt-l { font-size: var(--fs-s); font-weight: 600; color: var(--text-muted); }
html[data-look="nuevo"] .dm-lqt-v { font-family: var(--font-display); font-size: 36px; font-weight: var(--num-peso); letter-spacing: -.02em; margin: 2px 0 12px; }
html[data-look="nuevo"] .dm-lqt-v.sin { font-size: var(--fs-m); font-weight: 600; color: var(--text-faint); font-family: inherit; letter-spacing: 0; }
html[data-look="nuevo"] .dm-fichas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
html[data-look="nuevo"] .dm-ficha { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 11px; border-radius: var(--r-m); background: var(--paper-sunken); border: 0; color: inherit; text-align: left; cursor: pointer; min-width: 0; transition: transform .2s var(--ease-spring); }
html[data-look="nuevo"] .dm-ficha:active { transform: scale(.96); }
html[data-look="nuevo"] .dm-ficha span { font-size: 11.5px; font-weight: 600; color: var(--text-muted); }
html[data-look="nuevo"] .dm-ficha b { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
html[data-look="nuevo"] .dm-ficha.d b { color: var(--expense); }
html[data-look="nuevo"] .dm-ficha.i b { color: var(--savings); }
html[data-look="nuevo"] .dm-lqt-nota { font-size: 12.5px; color: var(--text-muted); margin-top: 10px; }
html[data-look="nuevo"] .dm-como { margin-top: 8px; min-height: 32px; }
html[data-look="nuevo"] .dm-como-card { padding: 6px 14px; }
html[data-look="nuevo"] .dm-como-f { display: flex; justify-content: space-between; padding: 9px 0; font-size: 14px; }
html[data-look="nuevo"] .dm-como-f + .dm-como-f { border-top: 1px solid var(--line); }
html[data-look="nuevo"] .dm-como-f.tot { border-top: 2px solid var(--text-faint); font-weight: 700; font-size: 15px; }
html[data-look="nuevo"] .dm-empezar { padding: var(--sp-3) var(--sp-2); }
html[data-look="nuevo"] .dm-emp-t { font-weight: 700; font-size: var(--fs-m); padding: 4px 10px 6px; }
html[data-look="nuevo"] .dm-emp { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 10px; background: none; border: 0; color: inherit; text-align: left; cursor: pointer; }
html[data-look="nuevo"] .card.dm-emp { padding: 14px; }
html[data-look="nuevo"] .dm-emp > .i:last-child { width: 16px; height: 16px; color: var(--text-faint); flex: none; }
html[data-look="nuevo"] .dm-ic { flex: none; width: 36px; height: 36px; border-radius: 11px; display: inline-grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 18px; }
html[data-look="nuevo"] .dm-ic .i { width: 18px; height: 18px; }
html[data-look="nuevo"] .dm-ic.inv { background: var(--savings-soft); color: var(--savings); }
html[data-look="nuevo"] .dm-ic.deu { background: var(--paper-sunken); }
html[data-look="nuevo"] .dm-emp-x { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
html[data-look="nuevo"] .dm-emp-x b { font-size: 14.5px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[data-look="nuevo"] .dm-emp-x > span { font-size: 12px; color: var(--text-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[data-look="nuevo"] .section-title .link { min-height: 32px; }
html[data-look="nuevo"] .section-title .link + .link { margin-left: 12px; }
html[data-look="nuevo"] .dm-cuenta-n { font-size: 12.5px; font-weight: 600; color: var(--text-faint); margin-left: 8px; margin-right: auto; }
html[data-look="nuevo"] .dm-cuentas { padding: 4px 0; }
/* metas: común */
html[data-look="nuevo"] .dm-metas { padding: 4px 14px; }
html[data-look="nuevo"] .dm-meta + .dm-meta { border-top: 1px solid var(--line); }
html[data-look="nuevo"] .dm-pct { font-size: 12.5px; font-weight: 600; color: var(--text-muted); margin-left: 6px; }
html[data-look="nuevo"] .dm-g .i { width: 13px; height: 13px; color: var(--text-faint); margin-left: 6px; vertical-align: -2px; }
html[data-look="nuevo"] .dm-est { font-size: 12.5px; font-weight: 650; }
html[data-look="nuevo"] .dm-aportar { flex: none; display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 13px; border-radius: var(--r-pill); border: 0; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 13px; cursor: pointer; transition: transform .2s var(--ease-spring); }
html[data-look="nuevo"] .dm-aportar:active { transform: scale(.94); }
html[data-look="nuevo"] .dm-aportar .i { width: 14px; height: 14px; }
html[data-look="nuevo"] .dm-mas { display: block; margin: 8px auto 0; min-height: 36px; }
html[data-look="nuevo"] .dm-invita { display: block; width: 100%; margin-top: 10px; padding: 12px; border: 1.5px dashed var(--line); border-radius: var(--r-m); background: none; color: var(--text-muted); font-size: 13px; font-weight: 600; cursor: pointer; }
html[data-look="nuevo"] .dm-pliega { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 10px; padding: 12px 14px; min-height: 44px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--paper-raised); color: var(--text); font-weight: 650; font-size: 14px; cursor: pointer; }
html[data-look="nuevo"] .dm-pliega .i { width: 16px; height: 16px; color: var(--text-faint); }
/* metas: Camino */
html[data-look="nuevo"] .dm-cam { padding: 12px 0 10px; }
html[data-look="nuevo"] .dm-m-cab { display: flex; align-items: center; gap: 8px; }
html[data-look="nuevo"] .dm-m-n { flex: 1; min-width: 0; display: flex; align-items: baseline; background: none; border: 0; padding: 0; color: inherit; text-align: left; cursor: pointer; }
html[data-look="nuevo"] .dm-m-n b { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[data-look="nuevo"] .dm-pista { display: flex; align-items: center; gap: 8px; width: 100%; padding: 14px 2px 10px 14px; background: none; border: 0; cursor: pointer; }
html[data-look="nuevo"] .dm-pista-t { position: relative; flex: 1; height: 8px; border-radius: 4px; background: var(--paper-sunken); }
html[data-look="nuevo"] .dm-cam-f { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: var(--c); }
html[data-look="nuevo"] .dm-cam-proy { position: absolute; top: 50%; height: 0; border-top: 2px dashed var(--c); opacity: .75; }
html[data-look="nuevo"] .dm-cam-fin { position: absolute; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; border: 2px solid var(--c); background: var(--paper-raised); }
html[data-look="nuevo"] .dm-hito { position: absolute; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; transform: rotate(45deg); border: 1.5px solid var(--text-faint); background: var(--paper-raised); }
html[data-look="nuevo"] .dm-hito.ok { border-color: var(--income); background: var(--income); }
html[data-look="nuevo"] .dm-cam-emo { position: absolute; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; background: var(--paper-raised); box-shadow: 0 0 0 2.5px var(--c), 0 4px 10px -4px rgba(0,0,0,.4); z-index: 1; }
html[data-look="nuevo"] .dm-meta-flag { flex: none; font-size: 17px; line-height: 1; }
html[data-look="nuevo"] .dm-m-pie { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--text-muted); }
html[data-look="nuevo"] .dm-m-pie .dm-est { text-align: right; }
/* metas: Anillos */
html[data-look="nuevo"] .dm-ani { display: flex; align-items: center; gap: 8px; padding: 10px 0; }
html[data-look="nuevo"] .dm-ani-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; background: none; border: 0; padding: 0; color: inherit; text-align: left; cursor: pointer; }
html[data-look="nuevo"] .dm-ani-x { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
html[data-look="nuevo"] .dm-ani-n b { font-size: 14.5px; font-weight: 700; }
html[data-look="nuevo"] .dm-ani-c { font-size: 12.5px; color: var(--text-muted); }
html[data-look="nuevo"] .dm-ani-x .dm-est { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[data-look="nuevo"] .dm-anillo { position: relative; flex: none; display: inline-grid; place-items: center; }
html[data-look="nuevo"] .dm-anillo > svg { position: absolute; inset: 0; }
html[data-look="nuevo"] .dm-anillo-e { position: relative; font-size: 18px; line-height: 1; }
/* metas: Tarros */
html[data-look="nuevo"] .dm-tarros { display: flex; gap: 10px; padding: 14px 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
html[data-look="nuevo"] .dm-tarro { flex: 0 0 calc((100% - 20px) / 3); scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; min-width: 92px; }
html[data-look="nuevo"] .dm-tarro-v { position: relative; width: 76px; height: 104px; padding: 12px 0 0; background: none; border: 0; cursor: pointer; }
html[data-look="nuevo"] .dm-tarro-v > svg { width: 76px; height: 92px; display: block; }
html[data-look="nuevo"] .dm-tapa { position: absolute; top: 2px; left: 18px; right: 18px; height: 9px; border-radius: 4px; background: var(--paper-sunken); border: 1px solid var(--line); }
html[data-look="nuevo"] .dm-tarro-e { position: absolute; top: 34px; left: 50%; width: 26px; height: 26px; margin-left: -13px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; background: var(--paper-raised); }
html[data-look="nuevo"] .dm-tarro-p { position: absolute; bottom: 8px; left: 0; right: 0; font-size: 12px; font-weight: 800; color: var(--text); text-shadow: 0 1px 2px var(--paper-raised); }
html[data-look="nuevo"] .dm-tarro-n { font-size: 13.5px; font-weight: 700; margin-top: 4px; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[data-look="nuevo"] .dm-tarro-c { font-size: 11.5px; color: var(--text-muted); white-space: nowrap; }
html[data-look="nuevo"] .dm-tarro .dm-est { font-size: 11.5px; line-height: 1.3; min-height: 30px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
html[data-look="nuevo"] .dm-tarro .dm-aportar { margin-top: 6px; min-height: 34px; padding: 0 11px; font-size: 12.5px; }
html[data-look="nuevo"] .dm-tarros.uno .dm-tarro { flex-basis: 100%; }
html[data-look="nuevo"] .dm-ola { animation: dmOla 3.2s ease-in-out 2 both; }
@keyframes dmOla { 0% { transform: translateX(0); } 50% { transform: translateX(-30px); } 100% { transform: translateX(0); } }
/* animaciones al verse y al aportar */
html[data-look="nuevo"] .va-walk:not(.visto):not(.ya) { opacity: 0; transform: translateX(-40px); }
html[data-look="nuevo"] .va-walk.visto:not(.ya) { animation: dmCamina .85s cubic-bezier(.3,1.25,.5,1) both; }
@keyframes dmCamina { from { opacity: 0; transform: translateX(-40px); } 70% { opacity: 1; transform: translateX(3px) translateY(-4px); } to { opacity: 1; transform: none; } }
html[data-look="nuevo"] .dm-liq { transform-box: fill-box; }
html[data-look="nuevo"] .va-rise:not(.visto):not(.ya) .dm-liq { transform: translateY(100%); }
html[data-look="nuevo"] .va-rise.visto:not(.ya) .dm-liq { animation: dmSube .95s cubic-bezier(.22,1,.36,1) both; }
@keyframes dmSube { from { transform: translateY(100%); } to { transform: none; } }
html[data-look="nuevo"] .dm-liq.sube { animation: dmSube 1s cubic-bezier(.22,1,.36,1) both; }
html[data-look="nuevo"] .salta { animation: dmSalta .9s cubic-bezier(.3,1.35,.5,1) both; }
@keyframes dmSalta { 0%, 100% { transform: none; } 25% { transform: translateY(-9px); } 50% { transform: none; } 70% { transform: translateY(-5px); } }
html[data-look="nuevo"] .anillo-v.crece { animation: anillo 1.1s cubic-bezier(.2,.9,.25,1) both; }
@media (prefers-reduced-motion: reduce) { html[data-look="nuevo"] .dm-ola, html[data-look="nuevo"] .salta, html[data-look="nuevo"] .dm-liq.sube { animation: none; } }
/* hoja de la meta y de la deuda */
html[data-look="nuevo"] .dm-hcab { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; padding-right: 44px; }
html[data-look="nuevo"] .dm-hcab h2 { margin: 0; }
html[data-look="nuevo"] .dm-hcab-t { flex: 1; min-width: 0; }
html[data-look="nuevo"] .dm-hemo { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: var(--paper-sunken); }
html[data-look="nuevo"] .dm-hring { display: flex; align-items: center; gap: 16px; margin: 8px 0 12px; }
html[data-look="nuevo"] .dm-hring .dm-anillo-e b { font-size: 22px; font-family: var(--font-display); }
html[data-look="nuevo"] .dm-hring-x { display: flex; flex-direction: column; gap: 3px; min-width: 0; font-size: 13px; color: var(--text-muted); }
html[data-look="nuevo"] .dm-hring-x > b { font-family: var(--font-display); font-size: 26px; font-weight: var(--num-peso); color: var(--text); }
html[data-look="nuevo"] .dm-consejo { padding: 12px 14px; border-radius: var(--r-m); font-size: 13.5px; line-height: 1.45; margin-bottom: 12px; background: var(--paper-sunken); }
html[data-look="nuevo"] .dm-consejo.k-bien { background: var(--income-soft); }
html[data-look="nuevo"] .dm-consejo.k-justo { background: var(--warn-soft, var(--accent-soft)); }
html[data-look="nuevo"] .dm-consejo.k-mal { background: var(--expense-soft); }
html[data-look="nuevo"] .dm-hbtns { display: flex; gap: 8px; margin-top: 8px; }
html[data-look="nuevo"] .dm-hmas { padding: 4px 0; margin-top: 10px; }
html[data-look="nuevo"] .dm-hmas-b { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; background: none; border: 0; color: inherit; text-align: left; cursor: pointer; }
html[data-look="nuevo"] .dm-hmas-b + .dm-hmas-b { border-top: 1px solid var(--line); }
html[data-look="nuevo"] .dm-hmas-b > .i { width: 18px; height: 18px; color: var(--accent); flex: none; }
html[data-look="nuevo"] .dm-hmas-b > span { display: flex; flex-direction: column; gap: 1px; }
html[data-look="nuevo"] .dm-hmas-b > span > span { font-size: 12px; color: var(--text-faint); }
html[data-look="nuevo"] .dm-hmas-b.peligro, html[data-look="nuevo"] .dm-hmas-b.peligro > .i { color: var(--expense); }
html[data-look="nuevo"] .dm-ult { padding: 4px 14px; }
html[data-look="nuevo"] .dm-ult-f { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; font-size: 13.5px; }
html[data-look="nuevo"] .dm-ult-f + .dm-ult-f { border-top: 1px solid var(--line); }
html[data-look="nuevo"] .dm-ult-f > span:first-child { color: var(--text-muted); }
html[data-look="nuevo"] .dm-ap-seg { margin: 4px 0 6px; }
html[data-look="nuevo"] .dm-ap-chips { justify-content: center; }
/* inversiones */
html[data-look="nuevo"] .dm-inv { padding: 4px 14px; }
html[data-look="nuevo"] .dm-inv-hoy { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; padding: 12px 0 10px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--text-muted); }
html[data-look="nuevo"] .dm-inv-hoy b { margin-left: auto; font-size: 16px; color: var(--text); }
html[data-look="nuevo"] .dm-inv-hoy em { font-style: normal; font-weight: 700; font-size: 13px; }
html[data-look="nuevo"] .dm-inv-f { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 0; background: none; border: 0; color: inherit; text-align: left; cursor: pointer; }
html[data-look="nuevo"] .dm-inv-f + .dm-inv-f { border-top: 1px solid var(--line); }
html[data-look="nuevo"] .dm-inv-v { flex: none; display: flex; flex-direction: column; align-items: flex-end; font-size: 12px; }
html[data-look="nuevo"] .dm-inv-v b { font-size: 14.5px; }
html[data-look="nuevo"] .dm-inv-mas { display: flex; align-items: center; justify-content: center; gap: 4px; width: 100%; min-height: 44px; border: 0; border-top: 1px solid var(--line); background: none; color: var(--accent); font-weight: 700; cursor: pointer; }
html[data-look="nuevo"] .dm-inv-mas .i, html[data-look="nuevo"] .section-title .link .i { width: 14px; height: 14px; vertical-align: -2px; }
html[data-look="nuevo"] .dm-volver { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 4px; border: 0; background: none; color: var(--accent); font-weight: 700; font-size: 15px; cursor: pointer; }
html[data-look="nuevo"] .dm-volver .i { width: 18px; height: 18px; }
html[data-look="nuevo"] .dm-h1 { font-family: var(--font-display); font-size: 28px; margin: 2px 0 12px; }
html[data-look="nuevo"] .dm-inv-pie { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
html[data-look="nuevo"] .dm-inv-pie > div { padding: 10px 12px; border-radius: var(--r-m); background: var(--paper-sunken); display: flex; flex-direction: column; gap: 2px; }
html[data-look="nuevo"] .dm-inv-pie span { font-size: 12px; font-weight: 600; color: var(--text-muted); }
html[data-look="nuevo"] .dm-inv-pie b { font-size: 17px; }
html[data-look="nuevo"] .dm-reparto { padding: 12px 0 10px; border-bottom: 1px solid var(--line); }
html[data-look="nuevo"] .dm-reparto-l { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: var(--text-muted); margin-top: 8px; }
html[data-look="nuevo"] .dm-reparto-l .dot { margin-right: 5px; }
html[data-look="nuevo"] .dm-aviso { display: flex; align-items: center; gap: 10px; padding: 12px 14px; margin-top: 10px; border-radius: var(--r-m); background: var(--warn-soft, var(--accent-soft)); font-size: 13px; }
html[data-look="nuevo"] .dm-aviso > .i { width: 18px; height: 18px; flex: none; color: var(--warn, var(--accent)); }
html[data-look="nuevo"] .dm-aviso span { flex: 1; }
html[data-look="nuevo"] .dm-inf { padding: var(--sp-4); }
html[data-look="nuevo"] .dm-inf-f { display: grid; grid-template-columns: 82px 1fr 58px; align-items: center; gap: 10px; padding: 5px 0; font-size: 13.5px; }
html[data-look="nuevo"] .dm-inf-f b { text-align: right; }
html[data-look="nuevo"] .dm-inf-t { height: 8px; border-radius: 4px; background: var(--paper-sunken); overflow: hidden; }
html[data-look="nuevo"] .dm-inf-t i { display: block; height: 100%; border-radius: 4px; }
html[data-look="nuevo"] .dm-inf-v { font-size: 13.5px; line-height: 1.45; margin: 10px 0 12px; }
html[data-look="nuevo"] .dm-precios { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 14px; padding: 12px 4px; min-height: 44px; border: 0; background: none; color: var(--accent); font-weight: 650; font-size: 14px; cursor: pointer; text-align: left; }
html[data-look="nuevo"] .dm-precios span { flex: 1; }
html[data-look="nuevo"] .dm-precios .i { width: 18px; height: 18px; }
/* deudas */
html[data-look="nuevo"] .dm-deudas { padding: 4px 14px; }
html[data-look="nuevo"] .dm-deuda { display: flex; align-items: flex-start; gap: 12px; width: 100%; padding: 13px 0 12px; background: none; border: 0; color: inherit; text-align: left; cursor: pointer; }
html[data-look="nuevo"] .dm-deuda + .dm-deuda { border-top: 1px solid var(--line); }
html[data-look="nuevo"] .dm-deuda-x { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
html[data-look="nuevo"] .dm-deuda-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
html[data-look="nuevo"] .dm-deuda-top > b { font-size: 14.5px; font-weight: 700; padding-top: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[data-look="nuevo"] .dm-deuda-q { display: flex; flex-direction: column; align-items: flex-end; flex: none; }
html[data-look="nuevo"] .dm-deuda-q b { font-size: 16px; font-weight: 750; }
html[data-look="nuevo"] .dm-deuda-q span { font-size: 11.5px; color: var(--text-faint); }
html[data-look="nuevo"] .dm-deuda-bar { position: relative; display: block; height: 6px; border-radius: 3px; background: var(--paper-sunken); overflow: hidden; }
html[data-look="nuevo"] .dm-deuda-bar.grande { height: 10px; border-radius: 5px; margin: 10px 0 14px; }
html[data-look="nuevo"] .dm-deuda-bar i { display: block; height: 100%; border-radius: inherit; background: var(--debt); }
html[data-look="nuevo"] .dm-dq { display: flex; flex-direction: column; gap: 2px; margin-top: 4px; font-size: 13px; color: var(--text-muted); }
html[data-look="nuevo"] .dm-dq b { font-family: var(--font-display); font-size: 40px; font-weight: var(--num-peso); color: var(--text); letter-spacing: -.02em; line-height: 1.1; }
html[data-look="nuevo"] .dm-mas-chips { margin-bottom: 8px; }
html[data-look="nuevo"] .dm-simula { font-size: 13.5px; line-height: 1.45; }
html[data-look="nuevo"] .dm-simula span { display: block; font-size: 12px; color: var(--text-faint); margin-top: 2px; }
html[data-look="nuevo"] .dm-emojis { display: flex; flex-wrap: wrap; gap: 8px; }
html[data-look="nuevo"] .dm-emo-b { width: 48px; height: 48px; border-radius: 14px; border: 2px solid transparent; background: var(--paper-sunken); font-size: 22px; cursor: pointer; transition: transform .2s var(--ease-spring); }
html[data-look="nuevo"] .dm-emo-b.on { border-color: var(--accent); background: var(--accent-soft); }
html[data-look="nuevo"] .dm-emo-b:active { transform: scale(.9); }
html[data-look="nuevo"] .dm-2c { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
html[data-look="nuevo"] .dm-nota { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--r-m); background: var(--paper-sunken); font-size: 12.5px; line-height: 1.45; color: var(--text-muted); margin: 4px 0 12px; }
html[data-look="nuevo"] .dm-nota .i { width: 16px; height: 16px; flex: none; color: var(--accent); margin-top: 1px; }
html[data-look="nuevo"] .dm-m-pie > span:first-child { white-space: nowrap; }
html[data-look="nuevo"] .dm-cuentas .list { background: none; border: 0; box-shadow: none; }
html[data-look="nuevo"] .dm-m-pie .dm-est { white-space: normal; }
html[data-look="nuevo"] .dm-masb { flex: none; width: 52px; padding: 0; }
html[data-look="nuevo"] .dm-lqt-nota .link { font-size: inherit; }

/* Juntos: «¿De dónde sale?» */
html[data-look="nuevo"] .jv-origen { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; margin: 0 0 6px; }
html[data-look="nuevo"] .jv-origen .i { width: 15px; height: 15px; }
html[data-look="nuevo"] .og-card { padding: 4px 14px; }
html[data-look="nuevo"] .og-f { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; font-size: 14px; }
html[data-look="nuevo"] .og-f + .og-f { border-top: 1px solid var(--line); }
html[data-look="nuevo"] .og-f.tot { border-top: 2px solid var(--text-faint); font-weight: 700; }
html[data-look="nuevo"] .og-x { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
html[data-look="nuevo"] .og-x b { font-size: 14px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[data-look="nuevo"] .og-x span { font-size: 12px; color: var(--text-faint); }
html[data-look="nuevo"] .jv-desg.tappable { cursor: pointer; }
html[data-look="nuevo"] .jv-total.paz { background: var(--paper-sunken); }
html[data-look="nuevo"] .jv-total.paz b { color: var(--text-muted); }

/* ===== Bienvenida (19/10/2026) ===== */
html[data-look="nuevo"] .ob2 { min-height: 100vh; min-height: 100dvh; display: flex; justify-content: center; background: var(--paper); }
html[data-look="nuevo"] .ob2-in { width: 100%; max-width: 480px; display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; padding: 12px 16px 0; }
html[data-look="nuevo"] .ob2-top { display: flex; align-items: center; gap: 10px; min-height: 48px; }
html[data-look="nuevo"] .ob2-ic { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; color: var(--text-muted); border-radius: 50%; cursor: pointer; }
html[data-look="nuevo"] .ob2-ic .i { width: 20px; height: 20px; }
html[data-look="nuevo"] .ob2-prog { flex: 1; display: flex; gap: 6px; }
html[data-look="nuevo"] .ob2-prog i { flex: 1; height: 5px; border-radius: 3px; background: var(--line); transition: background .3s var(--ease-out); }
html[data-look="nuevo"] .ob2-prog i.on { background: var(--accent); }
html[data-look="nuevo"] .ob2-saltar { flex: none; min-height: 44px; padding: 0 6px; border: 0; background: none; color: var(--accent); font-weight: 700; font-size: 14.5px; cursor: pointer; }
html[data-look="nuevo"] .ob2-paso { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); margin: 10px 0 6px; }
html[data-look="nuevo"] .ob2-body { flex: 1; padding-bottom: 20px; animation: ob2Entra .45s var(--ease-out) both; }
@keyframes ob2Entra { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
html[data-look="nuevo"] .ob2-h { font-family: var(--font-display); font-size: 30px; line-height: 1.12; letter-spacing: -.02em; margin: 2px 0 10px; color: var(--text); }
html[data-look="nuevo"] .ob2-p { font-size: 15px; line-height: 1.5; color: var(--text-muted); margin: 0 0 16px; }
html[data-look="nuevo"] .ob2-filas { display: flex; flex-direction: column; gap: 14px; margin: 6px 0 20px; }
html[data-look="nuevo"] .ob2-fila { display: flex; align-items: center; gap: 14px; }
html[data-look="nuevo"] .ob2-fila b { display: block; font-size: 15px; }
html[data-look="nuevo"] .ob2-fila span span, html[data-look="nuevo"] .ob2-grupo span span { display: block; font-size: 13px; color: var(--text-faint); }
html[data-look="nuevo"] .ob2-fic { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; }
html[data-look="nuevo"] .ob2-fic .i { width: 21px; height: 21px; }
html[data-look="nuevo"] .ob2-fic.a { background: var(--accent-soft); color: var(--accent); }
html[data-look="nuevo"] .ob2-fic.v { background: var(--income-soft); color: var(--income); }
html[data-look="nuevo"] .ob2-fic.b { background: var(--bill-soft); color: var(--bill); }
html[data-look="nuevo"] .ob2-fic.r { background: var(--savings-soft); color: var(--savings); }
html[data-look="nuevo"] .ob2-ayuda { font-size: 12.5px; line-height: 1.45; color: var(--text-faint); margin-top: 6px; }
html[data-look="nuevo"] .ob2-ayuda .i { width: 14px; height: 14px; vertical-align: -2px; color: var(--income); }
html[data-look="nuevo"] .ob2-big-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--bill-soft); color: var(--bill); margin: 6px 0 10px; }
html[data-look="nuevo"] .ob2-big-ic .i { width: 26px; height: 26px; }
html[data-look="nuevo"] .ob2-big-ic.ok { background: var(--income-soft); color: var(--income); }
html[data-look="nuevo"] .ob2-saldo { justify-content: flex-start; margin: 0; }
html[data-look="nuevo"] .ob2-saldo .cr-importe { text-align: left; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
html[data-look="nuevo"] .ob2-mas { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; }
html[data-look="nuevo"] .ob2-mas .i { width: 15px; height: 15px; }
html[data-look="nuevo"] .ob2-nota { display: flex; gap: 10px; align-items: center; padding: 12px 14px; margin-top: 10px; border-radius: var(--r-m); background: var(--paper-sunken); font-size: 13px; color: var(--text-muted); }
html[data-look="nuevo"] .ob2-nota .i { width: 17px; height: 17px; flex: none; color: var(--text-faint); }
html[data-look="nuevo"] .ob2-extra { display: grid; grid-template-columns: 1fr 110px 44px; gap: 8px; align-items: center; margin: 8px 0; }
html[data-look="nuevo"] .ob2-extra input, html[data-look="nuevo"] .ob2-nom input, html[data-look="nuevo"] .ob2-fijo input, html[data-look="nuevo"] .ob2-otro input { min-height: 44px; border-radius: var(--r-m); border: 1px solid var(--line); background: var(--paper-raised); color: var(--text); padding: 0 12px; font-size: 15px; width: 100%; min-width: 0; }
html[data-look="nuevo"] .ob2-cuentas { display: flex; flex-direction: column; gap: 2px; margin-bottom: 8px; }
html[data-look="nuevo"] .ob2-cta { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
html[data-look="nuevo"] .ob2-cta span:nth-child(2) { flex: 1; }
html[data-look="nuevo"] .ob2-sec { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); margin: 18px 0 8px; }
html[data-look="nuevo"] .ob2-nom { display: grid; grid-template-columns: auto 1fr 74px; gap: 8px; align-items: center; }
html[data-look="nuevo"] .ob2-nom .chip, html[data-look="nuevo"] .ob2-body .chips .chip { min-height: 44px; }
html[data-look="nuevo"] .chip .i { width: 14px; height: 14px; vertical-align: -2px; }
html[data-look="nuevo"] .chip[disabled] { opacity: .65; }
html[data-look="nuevo"] .ob2-mes { margin-top: 10px; padding: 12px 14px; border-radius: var(--r-m); background: var(--accent-soft); font-size: 14px; }
html[data-look="nuevo"] .ob2-mes .chips { margin-top: 8px; }
html[data-look="nuevo"] .ob2-otro { display: flex; gap: 8px; margin-top: 8px; }
html[data-look="nuevo"] .ob2-fijos { margin-top: 12px; border-radius: var(--r-m); border: 1px solid var(--line); padding: 4px 12px; }
html[data-look="nuevo"] .ob2-fijo { display: grid; grid-template-columns: 1fr 96px 64px; gap: 8px; align-items: center; padding: 6px 0; font-size: 14.5px; font-weight: 600; }
html[data-look="nuevo"] .ob2-fijo + .ob2-fijo { border-top: 1px solid var(--line); }
html[data-look="nuevo"] .ob2-res { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 6px; }
html[data-look="nuevo"] .ob2-res span { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border-radius: var(--r-pill); background: var(--paper-sunken); font-size: 13.5px; font-weight: 600; }
html[data-look="nuevo"] .ob2-res .i { width: 15px; height: 15px; color: var(--accent); }
html[data-look="nuevo"] .ob2-barra { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 12px 6px; border-radius: var(--r-l); background: var(--paper-raised); border: 1px solid var(--line); }
html[data-look="nuevo"] .ob2-tab { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; }
html[data-look="nuevo"] .ob2-tab-i { width: 34px; height: 34px; display: grid; place-items: center; color: var(--text-muted); }
html[data-look="nuevo"] .ob2-tab-i .i { width: 20px; height: 20px; }
html[data-look="nuevo"] .ob2-tab.c .ob2-tab-i { border-radius: 50%; background: var(--accent); color: var(--accent-ink); }
html[data-look="nuevo"] .ob2-tab b { font-size: 11.5px; }
html[data-look="nuevo"] .ob2-tab span:last-child { font-size: 10.5px; color: var(--text-faint); line-height: 1.25; }
html[data-look="nuevo"] .ob2-grupo { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-l); background: var(--paper-raised); border: 1px solid var(--line); margin: 6px 0 16px; }
html[data-look="nuevo"] .ob2-grupo b { font-size: 16px; }
html[data-look="nuevo"] .ob2-ok { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--r-m); background: var(--income-soft); color: var(--income); font-size: 14px; margin-bottom: 10px; }
html[data-look="nuevo"] .ob2-ok .i { width: 18px; height: 18px; }
html[data-look="nuevo"] .ob2-pie { position: sticky; bottom: 0; padding: 12px 0 calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--paper) 75%, transparent); display: flex; flex-direction: column; align-items: stretch; }
html[data-look="nuevo"] .ob2-pie .btn { min-height: 52px; font-size: 16px; }
html[data-look="nuevo"] .ob2-dos { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
html[data-look="nuevo"] .ob2-ir { align-self: center; min-height: 44px; margin-top: 4px; }
@media (prefers-reduced-motion: reduce) { html[data-look="nuevo"] .ob2-body { animation: none; } }
/* Inicio: invitación pendiente o recién aceptada; Juntos: «Así funciona» */
html[data-look="nuevo"] .inv-ini { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1.5px solid var(--bill); }
html[data-look="nuevo"] .inv-ini.ok { border-color: var(--line); }
html[data-look="nuevo"] .inv-ini-x { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
html[data-look="nuevo"] .inv-ini-x b { font-size: 15px; }
html[data-look="nuevo"] .inv-ini-x > span { font-size: 13px; color: var(--text-muted); line-height: 1.4; }
html[data-look="nuevo"] .inv-ini-b { display: flex; gap: 8px; margin-top: 8px; }
html[data-look="nuevo"] .inv-ini-b .btn { min-height: 44px; }
html[data-look="nuevo"] .jv-intro { padding: 14px 16px; margin-bottom: 12px; background: var(--bill-soft); }
html[data-look="nuevo"] .jv-intro ol { margin: 6px 0 10px; padding-left: 20px; font-size: 14px; line-height: 1.7; }

/* ===== Tú v2 (22/10) ===== */
html[data-look="nuevo"] .tu2-cab { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--radius-l, 18px); background: var(--paper-raised); border: 1px solid var(--line); margin-bottom: 12px; }
html[data-look="nuevo"] .tu2-av { width: 56px; height: 56px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; font-size: 24px; font-weight: 700; font-family: var(--font-display); box-shadow: 0 0 0 3px var(--paper-raised), 0 0 0 4px var(--line); }
html[data-look="nuevo"] .tu2-quien { flex: 1; min-width: 0; }
html[data-look="nuevo"] .tu2-quien .t { font-weight: 700; font-size: 19px; font-family: var(--font-display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-look="nuevo"] .tu2-quien .d { font-size: 12.5px; color: var(--text-faint); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-look="nuevo"] .tu2-editar { flex: none; min-height: 40px; }
html[data-look="nuevo"] .tu-grupo .menu-item { min-height: 48px; }
html[data-look="nuevo"] .menu-extra.tk-uso.pocos { color: var(--warn); font-weight: 600; }
html[data-look="nuevo"] .menu-extra.tk-uso.agotado { color: var(--expense); font-weight: 600; }
html[data-look="nuevo"] .tu2-escr { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 14px 16px; border-radius: var(--radius-m); background: var(--accent-soft); border: 1.5px solid var(--accent); color: var(--text); font: inherit; cursor: pointer; }
html[data-look="nuevo"] .tu2-escr .ic { color: var(--accent); flex: none; display: grid; place-items: center; width: 24px; }
html[data-look="nuevo"] .tu2-escr > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 2px; }
html[data-look="nuevo"] .tu2-escr > span:nth-child(2) span { font-size: 13px; color: var(--text-faint); }
html[data-look="nuevo"] .tu2-escr .chev { color: var(--text-faint); }
html[data-look="nuevo"] .tu2-salir { color: var(--expense); }
html[data-look="nuevo"] .tu2-salir .ic { color: var(--expense); }
html[data-look="nuevo"] .tu2-pie { text-align: center; font-size: 12px; color: var(--text-faint); margin: 18px 0 8px; }
html[data-look="nuevo"] .tk-uso-card { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
html[data-look="nuevo"] .tk-barra { height: 6px; border-radius: 3px; background: var(--paper-sunken); overflow: hidden; }
html[data-look="nuevo"] .tk-barra i { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
html[data-look="nuevo"] .tk-barra.pocos i { background: var(--warn); }
html[data-look="nuevo"] .tk-barra.agotado i { background: var(--expense); }
html[data-look="nuevo"] .escr-tipos { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
html[data-look="nuevo"] .escr-tipos .chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; }
html[data-look="nuevo"] .escr-tipos .chip svg { width: 16px; height: 16px; }
html[data-look="nuevo"] .escr-acc { flex-direction: column; }

/* ===== Agenda v2 (22/10) ===== */
html[data-look="nuevo"] .ag-cab { display: flex; align-items: center; gap: 8px; margin: 2px 0 8px; }
html[data-look="nuevo"] .ag-cab > b { font-size: 15px; font-weight: 650; }
html[data-look="nuevo"] .ag-hoy { min-height: 32px; padding: 0 12px; }
html[data-look="nuevo"] .ag-flechas { margin-left: auto; display: flex; gap: 2px; }
html[data-look="nuevo"] .ag-flechas .icon-btn { width: 44px; height: 44px; }
html[data-look="nuevo"] .ag-tira { margin-bottom: 12px; }
html[data-look="nuevo"] .ag-rapida { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; }
html[data-look="nuevo"] .ag-rapida input { flex: 1; min-width: 0; min-height: 48px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper-raised); color: var(--text); font: inherit; font-size: 16px; padding: 0 14px; }
html[data-look="nuevo"] .ag-rapida input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
html[data-look="nuevo"] .ag-rapida-btn { width: 48px; height: 48px; flex: none; border-radius: 50%; border: none; background: var(--accent); color: var(--accent-ink, #fff); display: grid; place-items: center; cursor: pointer; }
html[data-look="nuevo"] .ag-rapida-btn .i { width: 22px; height: 22px; }
html[data-look="nuevo"] .ag-venc { color: var(--expense); }
html[data-look="nuevo"] .ag-despejado { display: flex; align-items: center; gap: 10px; color: var(--text-faint); font-size: 14px; padding: 14px 16px; }
html[data-look="nuevo"] .ag-despejado .i { color: var(--accent); width: 20px; height: 20px; flex: none; }
html[data-look="nuevo"] .ag-vermas { display: block; margin: 6px 4px 0; min-height: 36px; }
html[data-look="nuevo"] .ag-plegs { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
html[data-look="nuevo"] .ag-pleg { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper-raised); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; }
html[data-look="nuevo"] .ag-pleg .i { color: var(--text-faint); width: 18px; height: 18px; }
/* Calendario v2 */
html[data-look="nuevo"] .cal2-nav { gap: 6px; }
html[data-look="nuevo"] .cal2-nav .lbl { flex: 1; }
html[data-look="nuevo"] .cal2-hoy { min-height: 32px; padding: 0 12px; }
html[data-look="nuevo"] .cal2-card { padding: 10px 8px 12px; }
html[data-look="nuevo"] .cal2-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
html[data-look="nuevo"] .cal2-dow { text-align: center; font-size: 11.5px; color: var(--text-faint); padding: 4px 0; }
html[data-look="nuevo"] .cal2-dia { display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 48px; padding: 5px 0 4px; border-radius: 12px; font: inherit; color: var(--text); background: transparent; border: 1.5px solid transparent; cursor: pointer; }
html[data-look="nuevo"] .cal2-dia .n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 500; }
html[data-look="nuevo"] .cal2-dia.hoy .n { background: var(--accent); color: var(--accent-ink, #fff); font-weight: 700; }
html[data-look="nuevo"] .cal2-dia.sel { border-color: var(--accent); }
html[data-look="nuevo"] .cal2-dia .pts { display: flex; gap: 3px; min-height: 6px; }
html[data-look="nuevo"] .cal2-dia .pts i { width: 6px; height: 6px; border-radius: 50%; display: block; }
html[data-look="nuevo"] .cal2-ley { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
html[data-look="nuevo"] .cal2-ley-i { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 10px; border-radius: 999px; border: 1px solid transparent; background: none; color: var(--text-faint); font: inherit; font-size: 12.5px; cursor: pointer; }
html[data-look="nuevo"] .cal2-ley-i.on { color: var(--text); background: var(--paper-sunken); }
html[data-look="nuevo"] .cal2-ley-i i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid transparent; display: block; box-sizing: border-box; }
/* Formulario de tarea v2 */
html[data-look="nuevo"] .tf-que input { font-size: 18px; min-height: 52px; }
html[data-look="nuevo"] .tf-fechas { display: flex; flex-wrap: wrap; gap: 8px; }
html[data-look="nuevo"] .tf-fechas .chip { min-height: 40px; }
html[data-look="nuevo"] .tf-otro { position: relative; display: inline-flex; align-items: center; gap: 6px; overflow: hidden; }
html[data-look="nuevo"] .tf-otro .i { width: 16px; height: 16px; }
html[data-look="nuevo"] .tf-otro input[type="date"] { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
html[data-look="nuevo"] .tf-mas { margin: 6px 0 4px; border-top: 1px solid var(--line); padding-top: 4px; }
html[data-look="nuevo"] .tf-mas > summary { list-style: none; display: flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; color: var(--accent); cursor: pointer; }
html[data-look="nuevo"] .tf-mas > summary::-webkit-details-marker { display: none; }
html[data-look="nuevo"] .tf-mas > summary .i { width: 16px; height: 16px; transition: transform .2s ease; }
html[data-look="nuevo"] .tf-mas[open] > summary .i { transform: rotate(180deg); }
/* Botón + v2 */
html[data-look="nuevo"] .crear-grid.crear-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 12px; }
html[data-look="nuevo"] .crear-grid.crear-4.tres { grid-template-columns: repeat(3, minmax(0, 1fr)); }
html[data-look="nuevo"] .crear-rep { margin-top: 14px; }
html[data-look="nuevo"] .crear-rep-l { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-faint); margin: 0 2px 6px; }
html[data-look="nuevo"] .crear-rep-f { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
html[data-look="nuevo"] .crear-rep-f .chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; white-space: nowrap; flex: none; }
html[data-look="nuevo"] .crear-rep-f .chip .i { width: 15px; height: 15px; color: var(--accent); }
html[data-look="nuevo"] .crear-grid.crear-peq { margin-top: 14px; gap: 8px; }
html[data-look="nuevo"] .crear-peq .crear-op { flex-direction: row; justify-content: flex-start; gap: 8px; padding: 8px 10px; font-size: 12.5px; border-radius: 14px; min-height: 48px; text-align: left; }
html[data-look="nuevo"] .crear-peq .crear-op .crear-ic { width: 32px; height: 32px; border-radius: 10px; flex: none; }
html[data-look="nuevo"] .crear-peq .crear-op .crear-ic .i { width: 17px; height: 17px; }
html[data-look="nuevo"] .crear-ticket.pocos > span:nth-child(2) > span { font-weight: 600; }
html[data-look="nuevo"] .crear-ticket.agotado { background: var(--paper-sunken); color: var(--text-faint); }
html[data-look="nuevo"] .crear-antes { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 14px; min-height: 40px; border: 1.5px dashed var(--line); border-radius: 12px; background: none; color: var(--text-faint); font: inherit; font-size: 13px; cursor: pointer; }
html[data-look="nuevo"] .crear-antes .i { width: 15px; height: 15px; }
html[data-look="nuevo"] .tk-pocos { color: var(--warn); font-weight: 600; }
html[data-look="nuevo"] .ag-tira .dia.sel { background: var(--accent); border-color: var(--accent); color: var(--accent-ink, #fff); }
html[data-look="nuevo"] .ag-tira .dia.sel .l, html[data-look="nuevo"] .ag-tira .dia.sel b { color: inherit; }
html[data-look="nuevo"] .ag-tira .dia.sel i.con { background: currentColor; }

/* ===== Pulido de interfaz (22/10, docs/11-auditoria-interfaz.md) ===== */
html[data-look="nuevo"] .buscar-campo { margin-right: 52px; }
html[data-look="nuevo"] .crear-peq .crear-op { flex-direction: column; justify-content: center; text-align: center; gap: 6px; padding: 12px 4px; font-size: 13px; line-height: 1.2; }
html[data-look="nuevo"] .crear-rep-f { margin: 0 -20px; padding: 0 20px 2px; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
html[data-look="nuevo"] .crear-op.k-deuda .crear-ic { background: color-mix(in srgb, var(--debt) 16%, transparent); color: var(--debt); }
html[data-look="nuevo"] .hero-ley { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
html[data-look="nuevo"] :is(.crear-rep-l, .ob2-paso, .ob2-sec, .filt-tit, .cr-lbl, .ins-pop-l) { text-transform: none; letter-spacing: 0; font-size: 13px; }
html[data-look="nuevo"] input[type=number]::-webkit-inner-spin-button, html[data-look="nuevo"] input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
html[data-look="nuevo"] input[type=number] { -moz-appearance: textfield; appearance: textfield; }
html[data-look="nuevo"] .ic-ok { color: var(--income); }
html[data-look="nuevo"] .ic-warn { color: var(--warn); }
html[data-look="nuevo"] .tarea-alta { color: var(--expense); display: grid; place-items: center; flex: none; }
html[data-look="nuevo"] .tarea-alta .i { width: 18px; height: 18px; }
html[data-look="nuevo"] body.en-tu2 .topbar .sub, html[data-look="nuevo"] body.en-tu2 .tb-avatar { display: none; }
html[data-look="nuevo"] body.en-tu2 .menu-item .badge-new { font-size: 0; width: 8px; height: 8px; min-width: 0; padding: 0; border-radius: 50%; margin-left: 6px; flex: none; }
html[data-look="nuevo"] .dm-meta-flag .i { width: 1em; height: 1em; }
html[data-look="nuevo"] .ob2-top > span.ob2-ic:first-child:empty { display: none; }
html[data-look="nuevo"] .row .meta:empty { display: none; }

/* ===== Contraste y zonas táctiles (22/10, docs/salud/2026-10-22-interfaz.md) ===== */
html[data-look="nuevo"] .ins-aro b { color: color-mix(in srgb, var(--ic) 42%, var(--ink)); }
@media (prefers-color-scheme: dark) { html[data-look="nuevo"]:not([data-theme="light"]) .ins-aro b { color: color-mix(in srgb, var(--ic) 60%, var(--ink)); } html[data-look="nuevo"]:not([data-theme="light"]) .cal-d.lv3 { background: color-mix(in srgb, var(--accent) 45%, var(--paper-sunken)); } }
html[data-look="nuevo"][data-theme="dark"] .ins-aro b { color: color-mix(in srgb, var(--ic) 60%, var(--ink)); }
html[data-look="nuevo"][data-theme="dark"] .cal-d.lv3 { background: color-mix(in srgb, var(--accent) 45%, var(--paper-sunken)); }
html[data-look="nuevo"] .dm-ficha b { text-overflow: clip; font-size: clamp(12px, 3.8vw, 14px); }
html[data-look="nuevo"] .dm-m-n { min-height: 44px; align-items: center; }
html[data-look="nuevo"] .comparar-fab.multi span i { opacity: 1; }
@media (max-width: 340px) { html[data-look="nuevo"] .comparar-fab.multi span i { display: none; } html[data-look="nuevo"] .topbar h1 { min-width: 0; overflow-wrap: anywhere; } }
html[data-look="nuevo"] :is(button.link, .hero-arrow) { position: relative; }
html[data-look="nuevo"] :is(button.link, .hero-arrow)::after { content: ''; position: absolute; inset: -8px -4px; }

/* ===== Cambios medianos (22/10, auditoría B3–B12) ===== */
/* B3 · «elegido» siempre igual: fondo suave del acento, borde y texto de acento (lo macizo, solo en botones de acción) */
html[data-look="nuevo"] :is(.pill.active, .chip-nav.active) { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); }
html[data-look="nuevo"] .type-toggle button.active[data-p], html[data-look="nuevo"] .type-toggle button.active[data-e] { background: var(--accent-soft); color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
html[data-look="nuevo"] .type-toggle button.active[data-t="Gasto"] { background: var(--expense-soft); color: var(--expense); box-shadow: inset 0 0 0 1.5px var(--expense); }
html[data-look="nuevo"] .type-toggle button.active[data-t="Ingreso"] { background: var(--income-soft); color: var(--income); box-shadow: inset 0 0 0 1.5px var(--income); }
html[data-look="nuevo"] .type-toggle button.active[data-t="Factura"] { background: var(--bill-soft); color: var(--bill); box-shadow: inset 0 0 0 1.5px var(--bill); }
html[data-look="nuevo"] .type-toggle button.active:is([data-t="Ahorro"], [data-t="Inversión"]) { background: var(--savings-soft); color: var(--savings); box-shadow: inset 0 0 0 1.5px var(--savings); }
html[data-look="nuevo"] .type-toggle button.active[data-t="Deuda"] { background: color-mix(in srgb, var(--debt) 14%, transparent); color: var(--debt); box-shadow: inset 0 0 0 1.5px var(--debt); }
html[data-look="nuevo"] :is(.comp-box, .tk-quien) .chip.active { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); }
/* B3 · cabecera de periodo: nombre a la izquierda, flechas redondas a la derecha (como en Movimientos) */
html[data-look="nuevo"] .mov-cab .mov-per-lbl b { font-size: 24px; }
html[data-look="nuevo"] .cal2-nav { justify-content: flex-start; gap: 8px; padding: 2px 2px 12px; }
html[data-look="nuevo"] .cal2-nav .lbl { order: -1; flex: 1; text-align: left; min-width: 0; font-size: 20px; }
html[data-look="nuevo"] :is(.cal2-nav, .ag-flechas) .icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper-raised); color: var(--text); }
html[data-look="nuevo"] .ag-cab > b { font-size: 17px; }
/* B4 · cada color, un significado: tareas en acento, fijos en azul, deuda en su color */
html[data-look="nuevo"] .k-tarea .crear-ic { background: var(--accent-soft); color: var(--accent); }
/* B8 · el botón de la casilla rápida, más discreto que el + de abajo */
html[data-look="nuevo"] .ag-rapida-btn { width: 44px; height: 44px; background: var(--accent-soft); color: var(--accent); }
html[data-look="nuevo"] .ag-rapida-btn .i { width: 19px; height: 19px; }
/* B9 · categorías con su icono y su color */
html[data-look="nuevo"] .chip-cat-ic { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; margin: 0 6px 0 -4px; background: color-mix(in srgb, var(--cc) 18%, transparent); color: color-mix(in srgb, var(--cc) 70%, var(--ink)); flex: none; }
html[data-look="nuevo"] .chip-cat-ic .i { width: 14px; height: 14px; }
html[data-look="nuevo"] #catChips .chip { display: inline-flex; align-items: center; }
/* B10 · Juntos sin nada todavía */
html[data-look="nuevo"] .jv-vacio { text-align: center; padding: 28px 20px 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
html[data-look="nuevo"] .jv-vacio-ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
html[data-look="nuevo"] .jv-vacio-ic .i { width: 30px; height: 30px; }
html[data-look="nuevo"] .jv-vacio h2 { font-size: 20px; margin: 6px 0 0; }
html[data-look="nuevo"] .jv-vacio p { color: var(--text-muted); margin: 0 0 8px; max-width: 32ch; }
html[data-look="nuevo"] .jv-vacio .btn { width: 100%; }
/* B11 · día vacío del calendario de Movimientos */
html[data-look="nuevo"] .cal-nada { display: flex; flex-direction: column; align-items: center; gap: 10px; }
html[data-look="nuevo"] .cal-nada-btn { min-height: 40px; }
/* B12 · atajos de Buscar con icono */
html[data-look="nuevo"] .chip.chip-ic { display: inline-flex; align-items: center; gap: 6px; }
html[data-look="nuevo"] .chip.chip-ic .i { width: 15px; height: 15px; color: var(--accent); }
html[data-look="nuevo"] .cal-n { font-size: 12px; font-weight: 500; }
html[data-look="nuevo"] body.en-movlista .topbar .tb-btn[aria-label="Buscar"] { display: none; }

/* ===== Tarjetas bien dimensionadas (22/10, revisión de maquetación) ===== */
/* las listas de ajustes: el relleno lo pone cada fila, no la tarjeta (antes sumaban ~30 px arriba y abajo) */
html[data-look="nuevo"] .card.menu { padding: 2px 16px; }
/* grupos sin título seguidos (Escríbenos, Más ajustes, lo desplegado): separados */
html[data-look="nuevo"] .tu-grupo:not(:has(> .section-title)) { margin-top: 12px; }
html[data-look="nuevo"] .tu-grupo.tu-mas { margin-top: 8px; }
html[data-look="nuevo"] .tu-mas-btn .card.menu { background: transparent; box-shadow: none; border: 1.5px dashed var(--line); }
/* títulos de sección con varios enlaces: todos juntos a la derecha */
html[data-look="nuevo"] .section-title { justify-content: flex-start; gap: 8px; }
html[data-look="nuevo"] .section-title > .link:first-of-type { margin-left: auto; }
html[data-look="nuevo"] .section-title > .link + .link { margin-left: 10px; }
/* fichas a cero, en gris */
html[data-look="nuevo"] .dm-ficha.cero b { color: var(--text-faint); }
html[data-look="nuevo"] .kpi-mes .kpi.avail:nth-child(odd):last-child { grid-column: 1 / -1; } /* «Te queda» solo en su fila: ancho completo, sin hueco al lado */

/* ===== Teclado propio para el importe (22/10, docs/12-teclado-importe.md) ===== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
html[data-look="nuevo"] .tec-cab { display: flex; align-items: center; gap: 10px; padding-right: 48px; }
html[data-look="nuevo"] .tec-cab h2 { flex: 1; min-width: 0; margin-bottom: 0; }
html[data-look="nuevo"] .tec-antes { flex: none; display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 0 10px; border-radius: 999px; border: 1.5px dashed var(--line); background: none; color: var(--text-faint); font: inherit; font-size: 12.5px; cursor: pointer; }
html[data-look="nuevo"] .tec-antes .i { width: 14px; height: 14px; }
html[data-look="nuevo"] .tec-campo { text-align: center; margin: 4px 0 6px; }
html[data-look="nuevo"] .tec-cifra { display: inline-flex; align-items: baseline; justify-content: center; gap: 4px; max-width: 100%; min-height: 72px; padding: 4px 12px; border: 0; background: none; color: var(--text); font: inherit; cursor: pointer; border-radius: 16px; touch-action: manipulation; }
html[data-look="nuevo"] .tec-num { font-family: var(--font-display); font-weight: var(--num-peso, 700); font-size: 52px; line-height: 1.1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; border-radius: 10px; padding: 0 4px; transition: background-color .2s ease; }
html[data-look="nuevo"] .tec-num.l { font-size: 44px; }
html[data-look="nuevo"] .tec-num.xl { font-size: 36px; }
html[data-look="nuevo"] .tec-num.vacio { color: var(--text-faint); }
html[data-look="nuevo"] .tec-num.neg { color: var(--income); }
html[data-look="nuevo"] .tec-num.sel { background: var(--accent-soft); }
html[data-look="nuevo"] .tec-cur { align-self: center; width: 2px; height: 40px; background: var(--accent); border-radius: 1px; animation: tec-parpadeo 1s steps(2, start) infinite; }
@keyframes tec-parpadeo { to { visibility: hidden; } }
html[data-look="nuevo"] .tec-eur { font-size: 26px; font-weight: 600; color: var(--text-faint); }
html[data-look="nuevo"] .tec-pie { min-height: 18px; font-size: 13px; color: var(--text-faint); margin-top: -2px; }
html[data-look="nuevo"] .tec-pie.neg { color: var(--income); font-weight: 600; }
html[data-look="nuevo"] .tec-campo.falta .tec-num, html[data-look="nuevo"] .tiembla { animation: tec-tiembla .4s ease; }
@keyframes tec-tiembla { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
html[data-look="nuevo"] .tec-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 6px 0 10px; }
html[data-look="nuevo"] .tec-cat { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 58px; padding: 6px 4px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper-raised); color: var(--text); font: inherit; cursor: pointer; touch-action: manipulation; }
html[data-look="nuevo"] .tec-cat .chip-cat-ic { margin: 0; width: 26px; height: 26px; }
html[data-look="nuevo"] .tec-cat.mas .chip-cat-ic { background: var(--paper-sunken); color: var(--text-muted); }
html[data-look="nuevo"] .tec-cat-n { font-size: 11.5px; line-height: 1.2; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-look="nuevo"] .tec-cat.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); font-weight: 600; }
html[data-look="nuevo"] .tec-linea { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
html[data-look="nuevo"] .tec-linea .chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; }
html[data-look="nuevo"] .tec-linea .chip .i { width: 15px; height: 15px; }
html[data-look="nuevo"] .tec-fecha { position: relative; overflow: hidden; }
html[data-look="nuevo"] .tec-fecha input[type=date] { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
html[data-look="nuevo"] .tec-masdet { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; min-height: 36px; }
html[data-look="nuevo"] .tec-masdet .i { width: 16px; height: 16px; }
/* el teclado: pegado abajo de la hoja, de borde a borde */
html[data-look="nuevo"] .tec { position: sticky; bottom: calc(-1 * (var(--sp-6) + env(safe-area-inset-bottom, 0px))); z-index: 4; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.1fr); gap: 7px; margin: 8px calc(-1 * var(--sp-5)) calc(-1 * (var(--sp-6) + env(safe-area-inset-bottom, 0px))); padding: 10px 12px calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--paper-sunken); border-radius: 20px 20px 0 0; }
html[data-look="nuevo"] .tec[hidden] { display: none; }
html[data-look="nuevo"] .tec-k { min-height: 52px; border-radius: 12px; border: 0; background: var(--paper-raised); color: var(--text); font: inherit; font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; transition: transform .12s ease, background-color .12s ease; }
@media (min-height: 720px) { html[data-look="nuevo"] .tec-k { min-height: 56px; } }
html[data-look="nuevo"] .tec-k:active { transform: scale(.93); background: var(--accent-soft); }
html[data-look="nuevo"] .tec-k small { font-size: 11px; font-weight: 500; color: var(--text-muted); }
html[data-look="nuevo"] .tec-del, html[data-look="nuevo"] .tec-neg { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
html[data-look="nuevo"] .tec-del .i { width: 24px; height: 24px; }
html[data-look="nuevo"] .tec-neg b { font-size: 24px; line-height: 1; }
html[data-look="nuevo"] .tec-neg.on { background: var(--income-soft); box-shadow: inset 0 0 0 1.5px var(--income); color: var(--income); }
html[data-look="nuevo"] .tec-neg.on small { color: var(--income); }
html[data-look="nuevo"] .tec-coma { font-size: 30px; }
html[data-look="nuevo"] .tec-ok { grid-column: 4; grid-row: 2 / span 3; background: var(--accent); color: var(--accent-ink, #fff); font-size: 17px; gap: 6px; }
html[data-look="nuevo"] .tec-ok .i { width: 28px; height: 28px; }
html[data-look="nuevo"] .tec-ok.apagada { opacity: .45; }
html[data-look="nuevo"] .tec-ok:active { background: var(--accent); }
/* con el teclado abierto, los botones de abajo de siempre no hacen falta */
html[data-look="nuevo"] .sheet.tec-abierto .actions.fija { display: none; }
@media (prefers-reduced-motion: reduce) { html[data-look="nuevo"] .tec-k, html[data-look="nuevo"] .tec-cur { animation: none; transition: none; } }
@media (max-height: 600px) { html[data-look="nuevo"] .tec-cats .tec-cat:nth-child(n+4):not(.mas):not(.on) { display: none; } }
html[data-look="nuevo"] .tec-cab { flex-wrap: wrap; row-gap: 6px; }
html[data-look="nuevo"] .tec-cab h2 { flex: 0 1 auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[data-look="nuevo"] .tec-antes { margin-left: auto; }
html[data-look="nuevo"] .tec-vacia { background: transparent; box-shadow: none; pointer-events: none; }
html[data-look="nuevo"] .sheet.tec-abierto #apGuardar { display: none; }
/* pop-ups: los dos botones uno al lado del otro, con aire (antes se apilaban pegados y parecían montados) */
html[data-look="nuevo"] .popup .actions { display: flex; flex-direction: row; gap: 10px; margin-top: 16px; position: static; }
html[data-look="nuevo"] .popup .actions .btn { flex: 1; margin: 0; }
/* metas y deudas: iconos de la app en vez de emojis */
html[data-look="nuevo"] :is(.dm-hemo, .dm-tarro-e, .dm-anillo-e, .dm-cam-emo) { color: var(--accent); }
html[data-look="nuevo"] .dm-ic.deu, html[data-look="nuevo"] .dm-hemo.deu { color: var(--debt); }
html[data-look="nuevo"] .dm-emo-b { color: var(--text-muted); display: grid; place-items: center; }
html[data-look="nuevo"] .dm-emo-b.on { color: var(--accent); }

/* ===== Inicio v3 (22/10, docs/14-inicio-juntos.md) ===== */
/* A1 · importes del mes en la tarjeta */
html[data-look="nuevo"] .hero-bar .g { background: #FF8A80; }
html[data-look="nuevo"] .hero-bar .v { background: #A98BFF; }
html[data-look="nuevo"] .hk-cels { display: flex; gap: 4px; margin-top: 10px; }
html[data-look="nuevo"] .hk-cel { flex: 1 1 0; min-width: 0; min-height: 44px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; padding: 4px 2px; border: 0; border-radius: 10px; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
html[data-look="nuevo"] .hk-cel:active { background: rgba(255,255,255,.08); }
html[data-look="nuevo"] .hk-cel span { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--hero-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
html[data-look="nuevo"] .hk-cel i { width: 7px; height: 7px; border-radius: 50%; flex: none; }
html[data-look="nuevo"] .hk-cel i.g { background: #FF8A80; } html[data-look="nuevo"] .hk-cel i.a { background: #CDBBFF; } html[data-look="nuevo"] .hk-cel i.v { background: #A98BFF; } html[data-look="nuevo"] .hk-cel i.d { background: #E9D8B8; }
html[data-look="nuevo"] .hk-cel b { font-size: 15px; font-weight: 700; color: #fff; font-family: var(--font-display); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
html[data-look="nuevo"] .hk-cel b.ing { color: #7FE3B4; }
@media (max-width: 380px) { html[data-look="nuevo"] .hk-cel span { font-size: 10.5px; } html[data-look="nuevo"] .hk-cel b { font-size: 14px; } }
/* A2 · iconos dentro de los círculos, aviso en naranja, círculo sin datos */
html[data-look="nuevo"] .ins-c.aviso { --ic: var(--warn); }
html[data-look="nuevo"] .ins-aro { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; }
html[data-look="nuevo"] .ins-cic { position: relative; display: block; line-height: 0; margin-bottom: 1px; color: color-mix(in srgb, var(--ic) 70%, var(--ink)); }
html[data-look="nuevo"] .ins-aro .ins-cic svg.i { position: static; inset: auto; width: 14px; height: 14px; }
html[data-look="nuevo"] .hk-cels.cinco { gap: 2px; }
html[data-look="nuevo"] .hk-cels.cinco .hk-cel span { font-size: 10px; gap: 3px; }
html[data-look="nuevo"] .hk-cels.cinco .hk-cel b { font-size: 13.5px; }
html[data-look="nuevo"] .ins-aro b { font-size: 12.5px; line-height: 1.15; }
html[data-look="nuevo"] .ins-aro b.largo { font-size: 11px; }
html[data-look="nuevo"] .ins-c.vacio { --ic: var(--text-faint); opacity: .75; }
html[data-look="nuevo"] .ins-pop-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: color-mix(in srgb, var(--ic) 14%, transparent); color: var(--ic); margin-bottom: 4px; }
html[data-look="nuevo"] .ins-pop-ic .i { width: 20px; height: 20px; }
html[data-look="nuevo"] .ins-pop.aviso { --ic: var(--warn); }
html[data-look="nuevo"] .ins-cambiar { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 13px; min-height: 36px; }
html[data-look="nuevo"] .ins-cambiar .i { width: 15px; height: 15px; }
/* la hoja «Tu "Así vas"» */
html[data-look="nuevo"] .av-huecos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 10px 0 4px; }
html[data-look="nuevo"] .av-hueco { display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 64px; padding: 8px 2px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper-raised); color: var(--text); font: inherit; cursor: pointer; }
html[data-look="nuevo"] .av-hueco.auto { border-style: dashed; }
html[data-look="nuevo"] .av-hueco.on { border: 2px solid var(--accent); background: var(--accent-soft); color: var(--accent); }
html[data-look="nuevo"] .av-hueco-ic .i { width: 18px; height: 18px; }
html[data-look="nuevo"] .av-hueco-n { font-size: 10.5px; line-height: 1.2; max-width: 100%; overflow: hidden; text-align: center; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
html[data-look="nuevo"] .av-op { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 6px 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
html[data-look="nuevo"] .av-op:last-child { border-bottom: 0; }
html[data-look="nuevo"] .av-op-ic { width: 34px; height: 34px; border-radius: 10px; flex: none; display: grid; place-items: center; background: var(--paper-sunken); color: var(--accent); }
html[data-look="nuevo"] .av-op-ic[style*="--cc"] { background: color-mix(in srgb, var(--cc) 16%, transparent); color: color-mix(in srgb, var(--cc) 70%, var(--ink)); }
html[data-look="nuevo"] .av-op-ic .i { width: 18px; height: 18px; }
html[data-look="nuevo"] .av-op-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
html[data-look="nuevo"] .av-op-t b { font-weight: 600; font-size: 14.5px; }
html[data-look="nuevo"] .av-op-t span { font-size: 12.5px; color: var(--text-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-look="nuevo"] .av-op.usado .av-op-t span { color: var(--warn); }
html[data-look="nuevo"] .av-radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
html[data-look="nuevo"] .av-op.on .av-radio { border: 6px solid var(--accent); }
html[data-look="nuevo"] .av-op .chev { color: var(--text-faint); }
html[data-look="nuevo"] .av-volver { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; }
/* A4 · novedades de Juntos en «Estos días» */
html[data-look="nuevo"] .dia-ic.caras { position: relative; background: none; }
html[data-look="nuevo"] .dia-ic.caras .avatar { position: absolute; width: 26px; height: 26px; font-size: 11px; box-shadow: 0 0 0 2px var(--paper-raised); }
html[data-look="nuevo"] .dia-ic.caras .avatar:first-child { top: 2px; left: 2px; }
html[data-look="nuevo"] .dia-ic.caras .avatar.b { bottom: 2px; right: 2px; }
html[data-look="nuevo"] .dia-fila.juntos-nov .dia-t b::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin: 0 6px 1px 0; vertical-align: middle; }
/* ---- Juntos v3 (23/10): círculos por persona o grupo, actividad con lo nuevo ---- */
html[data-look="nuevo"] .jv3-cifras { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 2px 0 12px; font-family: var(--font-display); font-size: 17px; }
html[data-look="nuevo"] .jv3-cifras span { color: var(--text-muted); font-size: 14px; }
html[data-look="nuevo"] .jv3-cifras b { font-size: 22px; font-weight: var(--num-peso, 700); letter-spacing: -.02em; }
html[data-look="nuevo"] .jv3-cifras .de b { color: var(--expense); } html[data-look="nuevo"] .jv3-cifras .te b { color: var(--income); }
html[data-look="nuevo"] .jv3-cifras i { color: var(--text-faint); font-style: normal; }
html[data-look="nuevo"] .jv3-paz { display: flex; align-items: center; gap: 6px; margin: 2px 0 12px; font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--income); }
html[data-look="nuevo"] .jv3-paz .i { width: 20px; height: 20px; }
html[data-look="nuevo"] .jv3-seg { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
html[data-look="nuevo"] .jv3-seg .segmented { flex: 0 1 220px; margin: 0; }
html[data-look="nuevo"] .jv3-seg .link { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; font-size: 14px; }
html[data-look="nuevo"] .jv3-seg .link .i { width: 15px; height: 15px; }
html[data-look="nuevo"] .jv3-circ { justify-content: flex-start; gap: 10px; margin: 0 -16px 12px; }
html[data-look="nuevo"] .jv3-circ:not(.muchos) { justify-content: space-around; }
html[data-look="nuevo"] .jv-c { width: 70px; }
html[data-look="nuevo"] .jv-c .ins-l1 { max-width: 70px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-look="nuevo"] .jv-c.paz { --ic: var(--text-faint); }
html[data-look="nuevo"] .jv-c.paz .ins-l1, html[data-look="nuevo"] .jv-c.paz .ins-l2 { color: var(--text-muted); }
html[data-look="nuevo"] .jv-c-ok { position: relative; color: var(--text-faint); line-height: 0; }
html[data-look="nuevo"] .ins-aro .jv-c-ok svg.i { position: static; width: 18px; height: 18px; }
html[data-look="nuevo"] .jv-c-cara { position: absolute; right: -4px; bottom: -4px; line-height: 0; }
html[data-look="nuevo"] .jv-c-cara .cara.mini { width: 24px; height: 24px; font-size: 9px; border: 2px solid var(--paper-raised); }
html[data-look="nuevo"] .jv-c-gr { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--accent); color: #fff; font-size: 9px; font-weight: 800; border: 2px solid var(--paper-raised); }
html[data-look="nuevo"] .jv3-vacio { font-size: 13.5px; color: var(--text-muted); margin: 0 0 12px; }
html[data-look="nuevo"] .jv-nuevas { margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 11.5px; font-weight: 700; letter-spacing: 0; }
html[data-look="nuevo"] .jv-a.nueva { background: color-mix(in srgb, var(--accent) 6%, transparent); }
html[data-look="nuevo"] .jv-punto { display: inline-block; width: 7px; height: 7px; margin: 0 6px 1px 0; border-radius: 50%; background: var(--accent); vertical-align: middle; }
/* Calidad Inicio v3: toques de 44 px y cifras de 5 dígitos */
html[data-look="nuevo"] .asivas-cambiar, html[data-look="nuevo"] .ins-cambiar, html[data-look="nuevo"] .av-volver { min-height: 44px; display: inline-flex; align-items: center; gap: 5px; }
html[data-look="nuevo"] .hk-cel b.largo { font-size: 12px; }
html[data-look="nuevo"] .hk-cels.cinco .hk-cel b.largo { font-size: 11px; }
/* «Pago fijo» con su línea pequeña en el botón + (23/10) */
html[data-look="nuevo"] .crear-op small { display: block; margin-top: 2px; font-size: 10px; line-height: 1.2; font-weight: 500; color: var(--text-muted); }
html[data-look="nuevo"] .section-title .asivas-cambiar { min-height: 44px; }
html[data-look="nuevo"] .ins-aro-v.nada { display: none; }
/* ---- Formas de las metas (23/10, docs/15 2.3 v2) ---- */
html[data-look="nuevo"] .fm { position: relative; display: inline-block; flex: none; }
html[data-look="nuevo"] .fm-svg { display: block; overflow: visible; }
html[data-look="nuevo"] .fm-agua { fill: var(--accent); opacity: .16; }
html[data-look="nuevo"] .fm-sup { fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; }
html[data-look="nuevo"] .fm-det { fill: none; stroke: var(--text-faint); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; opacity: .55; }
html[data-look="nuevo"] .fm-con { fill: none; stroke: var(--text-muted); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: var(--text-muted); }
html[data-look="nuevo"] .fm-con.hecha { stroke: var(--accent); color: var(--accent); }
html[data-look="nuevo"] .fm-t { position: absolute; left: 18%; right: 18%; transform: translateY(-50%); text-align: center; font: 650 11.5px/1.15 var(--font-body, Inter), sans-serif; color: var(--ink); letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; text-shadow: 0 0 6px var(--paper-raised), 0 0 2px var(--paper-raised); pointer-events: none; }
html[data-look="nuevo"] .fm-t.g { font: 750 22px/1 var(--font-display); }
html[data-look="nuevo"] .fm-t.g b { font: inherit; }
html[data-look="nuevo"] .fm-ok { position: absolute; right: 2px; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; }
html[data-look="nuevo"] .fm-ok .i { width: 13px; height: 13px; }
html[data-look="nuevo"] .fm-us { position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--paper-raised); color: var(--text-muted); display: grid; place-items: center; box-shadow: var(--shadow); }
html[data-look="nuevo"] .fm-us .i { width: 12px; height: 12px; }
@media (prefers-color-scheme: dark) { html[data-look="nuevo"]:not([data-theme="light"]) .fm-agua { opacity: .24; } }
html[data-look="nuevo"][data-theme="dark"] .fm-agua { opacity: .24; }
/* mosaico de metas */
html[data-look="nuevo"] .dm-formas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
html[data-look="nuevo"] .dm-fm { position: relative; }
html[data-look="nuevo"] .dm-fm-main { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 8px 12px; border: 0; border-radius: var(--r-l, 20px); background: var(--paper-raised); box-shadow: var(--shadow); color: inherit; font: inherit; cursor: pointer; text-align: center; }
html[data-look="nuevo"] .dm-fm-main .fm { margin-bottom: 6px; }
html[data-look="nuevo"] .dm-fm-p { font-family: var(--font-display); font-weight: 750; font-size: 16px; color: var(--ink); }
html[data-look="nuevo"] .dm-fm-c { font-size: 12.5px; color: var(--text-muted); }
html[data-look="nuevo"] .dm-fm .dm-est { font-size: 12px; line-height: 1.25; margin-top: 2px; }
html[data-look="nuevo"] .dm-fm-mas { position: absolute; right: 2px; top: 2px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; padding: 0; cursor: pointer; }
html[data-look="nuevo"] .dm-fm-mas::before { content: ''; position: absolute; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); }
html[data-look="nuevo"] .dm-fm-mas .i { position: relative; width: 17px; height: 17px; color: var(--accent); }
/* «Su forma» */
html[data-look="nuevo"] .fm-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
html[data-look="nuevo"] .fm-op { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 60px; padding: 6px 0 4px; border: 1.5px solid transparent; border-radius: 12px; background: var(--paper-sunken); color: var(--text-muted); font: inherit; cursor: pointer; }
html[data-look="nuevo"] .fm-op i { font-style: normal; font-size: 9.5px; line-height: 1.1; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-look="nuevo"] .fm-op.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
html[data-look="nuevo"] .fm-op.sug::after { content: ''; position: absolute; top: 4px; right: 4px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
html[data-look="nuevo"] .fm-hint { margin-top: 6px; }
html[data-look="nuevo"] .dm-hring .fm { flex: none; }
/* ---- Dinero v3 (23/10): «Lo que tienes» en una fila, fichas-pestaña y cuentas en mosaico ---- */
html[data-look="nuevo"] .dm3-lqt { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 10px; padding: 14px 16px; }
html[data-look="nuevo"] .dm3-lqt-l { display: flex; align-items: center; gap: 2px; font-size: 13px; color: var(--text-muted); }
html[data-look="nuevo"] .dm3-info { display: grid; place-items: center; width: 36px; height: 36px; margin: -8px 0; border: 0; background: none; color: var(--text-faint); cursor: pointer; }
html[data-look="nuevo"] .dm3-info .i { width: 16px; height: 16px; }
html[data-look="nuevo"] .dm3-lqt-v { grid-row: 2; font-family: var(--font-display); font-size: 28px; font-weight: var(--num-peso, 750); letter-spacing: -.02em; line-height: 1.1; }
html[data-look="nuevo"] .dm3-lqt-sin { grid-row: 2; justify-self: start; font-size: 15px; min-height: 40px; }
html[data-look="nuevo"] .dm3-lqt-f { grid-row: 1 / span 2; grid-column: 2; max-width: 110px; font-size: 11.5px; line-height: 1.3; color: var(--text-faint); text-align: right; }
html[data-look="nuevo"] .dm3-tabs { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--cab-alto, 0px)); z-index: 5; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 12px 0 14px; padding: 4px 0; background: var(--paper); }
html[data-look="nuevo"] .dm3-tab { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 70px; padding: 9px 8px; border: 1.5px solid transparent; border-radius: 14px; background: var(--paper-raised); box-shadow: var(--shadow); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
html[data-look="nuevo"] .dm3-tab .i { width: 16px; height: 16px; color: var(--text-muted); }
html[data-look="nuevo"] .dm3-tab span { font-size: 11px; color: var(--text-muted); }
html[data-look="nuevo"] .dm3-tab b { font-family: var(--font-display); font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
html[data-look="nuevo"] .dm3-tab.inv b { color: var(--savings); } html[data-look="nuevo"] .dm3-tab.deu b { color: var(--debt); }
html[data-look="nuevo"] .dm3-tab.vacia b { color: var(--accent); font-weight: 600; font-size: 13px; }
html[data-look="nuevo"] .dm3-tab.on { border-color: var(--accent); background: var(--accent-soft); }
html[data-look="nuevo"] .dm3-tab.on .i { color: var(--accent); }
html[data-look="nuevo"] .dm3-tab.on::after { content: ''; position: absolute; left: 50%; bottom: -7px; width: 10px; height: 10px; margin-left: -5px; transform: rotate(45deg); background: var(--accent-soft); border-right: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); }
html[data-look="nuevo"] .dm3-marco { position: relative; overflow: hidden; margin: 0 -16px; padding: 0 16px; }
html[data-look="nuevo"] .dm3-marco.deslizando { overflow: hidden; }
html[data-look="nuevo"] .dm3-marco .mov-fantasma { position: absolute; top: 0; left: 16px; right: 16px; pointer-events: none; }
html[data-look="nuevo"] .dm3-cuerpo > .section-title:first-child { margin-top: 0; }
html[data-look="nuevo"] .dm3-reparto { display: flex; height: 8px; border-radius: 99px; overflow: hidden; gap: 2px; margin-bottom: 6px; }
html[data-look="nuevo"] .dm3-reparto i { display: block; height: 100%; }
html[data-look="nuevo"] .dm3-rep-ley { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 11.5px; color: var(--text-muted); margin-bottom: 12px; }
html[data-look="nuevo"] .dm3-rep-ley i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 4px; }
html[data-look="nuevo"] .dm3-mosaico { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
html[data-look="nuevo"] .dm3-cta { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 88px; padding: 12px 12px 10px 14px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); color: inherit; font: inherit; text-align: left; cursor: pointer; }
html[data-look="nuevo"] .dm3-cta::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--cc); }
html[data-look="nuevo"] .dm3-cta-ic { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: color-mix(in srgb, var(--cc) 16%, transparent); color: var(--cc); margin-bottom: 2px; }
html[data-look="nuevo"] .dm3-cta-ic .i { width: 15px; height: 15px; }
html[data-look="nuevo"] .dm3-cta-n { font-size: 12.5px; font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-look="nuevo"] .dm3-cta b { font-family: var(--font-display); font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
html[data-look="nuevo"] .dm3-cta-l { font-size: 11px; color: var(--text-muted); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-look="nuevo"] .dm3-cta-l .pon { color: var(--accent); font-weight: 600; }
html[data-look="nuevo"] .dm3-cta.nueva { align-items: center; justify-content: center; border-style: dashed; color: var(--accent); background: none; font-weight: 600; font-size: 13px; }
html[data-look="nuevo"] .dm3-cta.nueva::before { display: none; }
html[data-look="nuevo"] .dm3-cta.nueva .i { width: 18px; height: 18px; }
html[data-look="nuevo"] .dm3-acc { display: flex; gap: 8px; margin-top: 12px; }
html[data-look="nuevo"] .dm3-acc .btn { min-height: 44px; }
/* Calidad Juntos v3: «Invitar» de 44 px y que asome el 5.º círculo a 360 px */
html[data-look="nuevo"] .jv3-seg .link { min-height: 44px; }
html[data-look="nuevo"] .jv3-cifras .te i { margin-right: 4px; }
@media (max-width: 370px) { html[data-look="nuevo"] .jv3-circ.muchos { gap: 6px; } html[data-look="nuevo"] .jv3-circ.muchos .jv-c { width: 62px; } html[data-look="nuevo"] .jv3-circ.muchos .jv-c .ins-l1 { max-width: 62px; } }
/* Juntos B2 (23/10): metas y deudas juntos, con forma */
html[data-look="nuevo"] .jv-objs { display: flex; gap: 10px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 8px; scroll-padding-inline: 16px; scrollbar-width: none; }
html[data-look="nuevo"] .jv-objs::-webkit-scrollbar { display: none; }
html[data-look="nuevo"] .jv-obj { flex: 0 0 158px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 10px 12px; border: 0; border-radius: var(--r-l, 20px); background: var(--paper-raised); box-shadow: var(--shadow); color: inherit; font: inherit; text-align: center; cursor: pointer; }
html[data-look="nuevo"] .jv-obj .fm { margin-bottom: 6px; }
html[data-look="nuevo"] .jv-obj b { font-family: var(--font-display); font-size: 18px; font-weight: 750; letter-spacing: -.01em; }
html[data-look="nuevo"] .jv-obj-p { font-size: 12px; color: var(--text-muted); }
html[data-look="nuevo"] .jv-obj-e { font-size: 11.5px; line-height: 1.25; color: var(--text-muted); }
html[data-look="nuevo"] .jv-obj-ic { display: grid; place-items: center; width: 56px; height: 56px; margin: 8px 0 6px; border-radius: 50%; background: color-mix(in srgb, var(--debt) 18%, transparent); color: color-mix(in srgb, var(--debt) 70%, var(--ink)); }
html[data-look="nuevo"] .jv-obj-ic .i { width: 26px; height: 26px; }
html[data-look="nuevo"] .jv-obj-n { font-weight: 650; font-size: 13px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-look="nuevo"] .jv-obj-bar { width: 100%; height: 6px; margin: 8px 0 4px; border-radius: 99px; background: var(--paper-sunken); overflow: hidden; }
html[data-look="nuevo"] .jv-obj-bar i { display: block; height: 100%; border-radius: 99px; background: var(--debt); }
/* Inversiones v3 (23/10): líneas por activo y rentabilidad en su hoja */
html[data-look="nuevo"] .tr-lineas { display: flex; gap: 6px; overflow-x: auto; margin: 10px -4px 0; padding: 2px 4px; scrollbar-width: none; }
html[data-look="nuevo"] .tr-lineas::-webkit-scrollbar { display: none; }
html[data-look="nuevo"] .tr-lineas .chip { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; }
html[data-look="nuevo"] .tr-lineas .chip i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
html[data-look="nuevo"] .tr-vals { display: flex; flex-wrap: wrap; gap: 4px 12px; min-height: 18px; margin-top: 8px; font-size: 12px; color: var(--text-muted); }
html[data-look="nuevo"] .tr-vals i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; }
html[data-look="nuevo"] .tr-vals b { color: var(--ink); }
html[data-look="nuevo"] .dm3-renta { width: 100%; display: flex; align-items: center; gap: 11px; margin: 12px 0 0; padding: 12px 14px; border: 0; border-radius: var(--r-l, 20px); background: var(--paper-raised); box-shadow: var(--shadow); color: inherit; font: inherit; text-align: left; cursor: pointer; }
html[data-look="nuevo"] .dm3-renta .gana { color: var(--income); } html[data-look="nuevo"] .dm3-renta .pierde { color: var(--warn); }
html[data-look="nuevo"] .dm3-renta > .i:last-child { width: 16px; height: 16px; color: var(--text-faint); margin-left: auto; flex: none; }
/* ---- Temas en los grupos (23/10, docs/16 apartado 3) ---- */
html[data-look="nuevo"] .tema-caja { margin: 2px 0 12px; padding: 10px 12px 12px; border-radius: 14px; background: var(--accent-soft); animation: temaAbre .2s var(--ease-out) both; }
@keyframes temaAbre { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { html[data-look="nuevo"] .tema-caja { animation: none; } }
html[data-look="nuevo"] .tema-lbl { font-size: 13px; font-weight: 650; margin-bottom: 8px; }
html[data-look="nuevo"] .tema-lbl .hint { font-weight: 400; color: var(--text-muted); }
html[data-look="nuevo"] .tema-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -12px; padding: 0 12px 2px; }
html[data-look="nuevo"] .tema-chips::-webkit-scrollbar { display: none; }
html[data-look="nuevo"] .tema-chips .chip { flex: none; display: inline-flex; align-items: center; gap: 5px; min-height: 36px; background: var(--paper-raised); }
html[data-look="nuevo"] .tema-chips .chip .i { width: 15px; height: 15px; }
html[data-look="nuevo"] .tema-chips .chip.active { background: var(--accent); color: #fff; }
html[data-look="nuevo"] .tema-por { margin-top: 8px; font-size: 12px; color: var(--text-muted); }
html[data-look="nuevo"] .tema-nuevo-f { display: grid; gap: 8px; margin-top: 10px; }
html[data-look="nuevo"] .tema-nuevo-f input { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper-raised); color: var(--ink); font: inherit; }
html[data-look="nuevo"] .tema-icos { display: flex; flex-wrap: wrap; gap: 6px; }
html[data-look="nuevo"] .tema-ico { display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper-raised); color: var(--text-muted); cursor: pointer; }
html[data-look="nuevo"] .tema-ico .i { width: 19px; height: 19px; }
html[data-look="nuevo"] .tema-ico.on { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
html[data-look="nuevo"] .tema-grupo { margin: 4px -16px 10px; padding: 0 16px 2px; }
html[data-look="nuevo"] .tema-grupo .chip { background: var(--paper-sunken); }
html[data-look="nuevo"] .tema-mas-suelto { display: inline-flex; align-items: center; gap: 4px; margin: 2px 0 8px; min-height: 36px; }
html[data-look="nuevo"] .tema-mas-suelto .i { width: 14px; height: 14px; }
html[data-look="nuevo"] .tema-por-card { padding: 6px 4px 8px; margin-bottom: 12px; }
html[data-look="nuevo"] .tema-por-t { font-size: 13px; font-weight: 700; padding: 8px 12px 4px; }
html[data-look="nuevo"] .tema-fila { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
html[data-look="nuevo"] .tema-fila.sin { cursor: default; color: var(--text-muted); }
html[data-look="nuevo"] .tema-fila > .i { width: 15px; height: 15px; color: var(--text-faint); flex: none; }
html[data-look="nuevo"] .tema-fila-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); flex: none; }
html[data-look="nuevo"] .tema-fila-ic .i { width: 17px; height: 17px; }
html[data-look="nuevo"] .tema-fila.sin .tema-fila-ic { background: var(--paper-sunken); color: var(--text-faint); }
html[data-look="nuevo"] .tema-fila-x { flex: 1; min-width: 0; display: flex; flex-direction: column; }
html[data-look="nuevo"] .tema-fila-x b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-look="nuevo"] .tema-fila-x span { font-size: 12px; color: var(--text-muted); }
html[data-look="nuevo"] .tema-cerrados { margin: 4px 12px; min-height: 36px; }
html[data-look="nuevo"] .tema-cab { display: flex; align-items: center; gap: 10px; margin: 2px 0 12px; }
html[data-look="nuevo"] .tema-cab h2 { margin: 0; }
html[data-look="nuevo"] .tema-cab-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
html[data-look="nuevo"] .tema-cab-t b { font-family: var(--font-display); font-size: 19px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-look="nuevo"] .tema-cab-t span { font-size: 12.5px; color: var(--text-muted); }
html[data-look="nuevo"] .tema-cifras { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
html[data-look="nuevo"] .tema-cifras > div { display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 14px; background: var(--paper-sunken); }
html[data-look="nuevo"] .tema-cifras span { font-size: 12px; color: var(--text-muted); }
html[data-look="nuevo"] .tema-cifras b { font-family: var(--font-display); font-size: 20px; font-weight: 750; }
html[data-look="nuevo"] .tema-sec { font-size: 13px; font-weight: 700; margin: 4px 0 8px; }
html[data-look="nuevo"] .tema-quien { display: grid; gap: 8px; margin-bottom: 14px; }
html[data-look="nuevo"] .tema-q { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 8px; font-size: 13px; }
html[data-look="nuevo"] .tema-q span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-look="nuevo"] .tema-q-bar { height: 8px; border-radius: 99px; background: var(--paper-sunken); overflow: hidden; }
html[data-look="nuevo"] .tema-q-bar i { display: block; height: 100%; border-radius: 99px; }
html[data-look="nuevo"] .tema-cats { display: flex; gap: 2px; height: 10px; border-radius: 99px; overflow: hidden; }
html[data-look="nuevo"] .tema-cats-l { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 6px 0 12px; font-size: 12px; color: var(--text-muted); }
html[data-look="nuevo"] .tema-cats-l i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; }
html[data-look="nuevo"] .tema-saldos { margin: 0 0 12px; }
html[data-look="nuevo"] .tema-anadir { margin-top: 10px; }
html[data-look="nuevo"] .tema-menu { padding: 4px; margin-bottom: 12px; }
html[data-look="nuevo"] .tema-menu-b { width: 100%; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; border-radius: 10px; }
html[data-look="nuevo"] .tema-menu-b .i { width: 17px; height: 17px; color: var(--text-muted); }
html[data-look="nuevo"] .tema-menu-b.peligro, html[data-look="nuevo"] .tema-menu-b.peligro .i { color: var(--expense); }
html[data-look="nuevo"] .tema-ideas { margin-bottom: 12px; }
html[data-look="nuevo"] .tema-ideas .chip { display: inline-flex; align-items: center; gap: 5px; }
html[data-look="nuevo"] .tema-ideas .chip .i { width: 15px; height: 15px; }
html[data-look="nuevo"] .tema-fechas { display: flex; align-items: center; gap: 8px; }
html[data-look="nuevo"] .tema-fechas input { flex: 1; min-width: 0; }
html[data-look="nuevo"] .tema-fechas span { font-size: 13px; color: var(--text-muted); }
html[data-look="nuevo"] .tema-meter { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; }
/* ---- Planes (23/10, docs/16 apartado 2) ---- */
html[data-look="nuevo"] .plan-tipo { margin: -4px 0 14px; }
html[data-look="nuevo"] .plan-fila { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; border: 0; color: inherit; font: inherit; cursor: pointer; }
html[data-look="nuevo"] .plan-fila .main { display: flex; flex-direction: column; min-width: 0; flex: 1; }
html[data-look="nuevo"] .plan-baldosa { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
html[data-look="nuevo"] .plan-baldosa i { font-style: normal; font-size: 9.5px; font-weight: 750; letter-spacing: .04em; line-height: 1; }
html[data-look="nuevo"] .plan-baldosa b { font-size: 14px; font-weight: 750; line-height: 1.15; }
html[data-look="nuevo"] .tareac-fila { display: flex; align-items: center; gap: 12px; }
html[data-look="nuevo"] .tareac-fila .main { flex: 1; min-width: 0; display: flex; flex-direction: column; text-align: left; border: 0; background: none; color: inherit; font: inherit; padding: 0; cursor: pointer; }
html[data-look="nuevo"] .tareac-check { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; border: 2px solid var(--accent); background: none; color: #fff; cursor: pointer; position: relative; }
html[data-look="nuevo"] .tareac-check::before { content: ''; position: absolute; inset: -9px; }
html[data-look="nuevo"] .tareac-check .i { width: 15px; height: 15px; }
html[data-look="nuevo"] .tareac-fila.hecha .tareac-check { background: var(--accent); }
html[data-look="nuevo"] .tareac-fila.hecha .ttl { text-decoration: line-through; color: var(--text-muted); }
html[data-look="nuevo"] .plan-hora { margin-top: 8px; min-height: 44px; }
html[data-look="nuevo"] .plan-hasta { margin-top: 8px; }
html[data-look="nuevo"] .plan-con { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
html[data-look="nuevo"] .plan-con .chip { flex: none; display: inline-flex; align-items: center; gap: 5px; }
html[data-look="nuevo"] .plan-con .chip .i, html[data-look="nuevo"] .field .chips .chip .i { width: 14px; height: 14px; }
html[data-look="nuevo"] .plan-quien { flex-wrap: wrap; }
html[data-look="nuevo"] .plan-cualquiera { display: grid; place-items: center; background: var(--paper-sunken); color: var(--text-muted); }
html[data-look="nuevo"] .plan-cualquiera .i { width: 18px; height: 18px; }
html[data-look="nuevo"] .plan-lugar { display: flex; align-items: center; gap: 8px; }
html[data-look="nuevo"] .plan-lugar .i { width: 18px; height: 18px; color: var(--text-faint); flex: none; }
html[data-look="nuevo"] .plan-lugar input { flex: 1; min-width: 0; }
html[data-look="nuevo"] .plan-de { display: flex; align-items: center; gap: 6px; margin: -4px 0 12px; }
html[data-look="nuevo"] .plan-de .i { width: 15px; height: 15px; }
html[data-look="nuevo"] .plan-cab { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
html[data-look="nuevo"] .plan-cab h2 { margin: 0; }
html[data-look="nuevo"] .plan-cab > div { display: flex; flex-direction: column; min-width: 0; }
html[data-look="nuevo"] .plan-cab > div > span { font-size: 13px; color: var(--text-muted); }
html[data-look="nuevo"] .plan-cab-ic { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 14px; background: var(--accent-soft); color: var(--accent); }
html[data-look="nuevo"] .plan-cab-ic .i { width: 22px; height: 22px; }
html[data-look="nuevo"] .plan-datos { display: grid; gap: 10px; margin-bottom: 14px; }
html[data-look="nuevo"] .plan-dato { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.35; }
html[data-look="nuevo"] .plan-dato .i { width: 18px; height: 18px; color: var(--text-muted); flex: none; margin-top: 1px; }
html[data-look="nuevo"] .plan-nota { font-size: 14px; line-height: 1.45; white-space: pre-wrap; padding: 10px 12px; border-radius: 12px; background: var(--paper-sunken); }
html[data-look="nuevo"] .plan-autor { font-size: 12.5px; color: var(--text-faint); }
html[data-look="nuevo"] .plan-acc { display: grid; margin: 10px 0 4px; }
html[data-look="nuevo"] .cal2-dia { position: relative; }
html[data-look="nuevo"] .cal2-plan { position: absolute; left: 22%; right: 22%; bottom: 3px; height: 3px; border-radius: 99px; background: var(--accent); }
html[data-look="nuevo"] .list button.plan-fila, html[data-look="nuevo"] .list .tareac-fila, html[data-look="nuevo"] button.plan-fila { background: var(--paper-raised); }
html[data-look="nuevo"] .plan-dato a { color: var(--accent); font-weight: 600; text-decoration: none; }
/* Calidad Dinero v3: que quepa «−4.140 €» en la ficha a 360 px y que el ✓ de la meta conseguida no choque con el «+» */
@media (max-width: 380px) { html[data-look="nuevo"] .dm3-tabs { gap: 5px; } html[data-look="nuevo"] .dm3-tab { padding: 9px 6px; } html[data-look="nuevo"] .dm3-tab b { font-size: 13px; letter-spacing: -.02em; } }
html[data-look="nuevo"] .dm-fm .fm-ok { top: auto; bottom: 2px; }
/* ---- Tu perfil y Fondo (23/10, docs/15 3.1) ---- */
html[data-look="nuevo"] .perfil-av { display: grid; place-items: center; width: 86px; height: 86px; margin: 4px auto 14px; border-radius: 50%; color: #fff; font-family: var(--font-display); font-size: 32px; font-weight: 750; }
html[data-look="nuevo"] .perfil-av .i { width: 40px; height: 40px; }
html[data-look="nuevo"] .perfil-modo { margin-bottom: 12px; }
html[data-look="nuevo"] .perfil-dib { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin-bottom: 12px; }
html[data-look="nuevo"] .perfil-d { display: grid; place-items: center; height: 44px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper-raised); color: var(--text-muted); cursor: pointer; }
html[data-look="nuevo"] .perfil-d .i { width: 20px; height: 20px; }
html[data-look="nuevo"] .perfil-d.on { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
html[data-look="nuevo"] .perfil-cols { display: flex; gap: 10px; flex-wrap: wrap; }
html[data-look="nuevo"] .perfil-c { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; color: #fff; cursor: pointer; box-shadow: 0 0 0 2px var(--paper), 0 0 0 0 transparent; }
html[data-look="nuevo"] .perfil-c.on { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }
html[data-look="nuevo"] .perfil-c .i { width: 18px; height: 18px; }
html[data-look="nuevo"] .tb-avatar.dib .i, html[data-look="nuevo"] .tu2-av.dib .i { width: 55%; height: 55%; }
html[data-look="nuevo"] .tu2-av.dib { display: grid; place-items: center; }
html[data-look="nuevo"] .asp-tema { margin-bottom: 4px; }
html[data-look="nuevo"] .asp-fondos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
html[data-look="nuevo"] .asp-fondo { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--paper-raised); color: var(--text); font: inherit; font-size: 12.5px; cursor: pointer; }
html[data-look="nuevo"] .asp-fondo.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); font-weight: 650; }
html[data-look="nuevo"] .asp-fondo-v { position: relative; width: 100%; height: 54px; border-radius: 10px; overflow: hidden; background: #F5F5F2; border: 1px solid var(--line); }
html[data-look="nuevo"] .asp-fondo-v i { position: absolute; left: 10%; right: 10%; height: 14px; border-radius: 5px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
html[data-look="nuevo"] .asp-fondo-v i:first-child { top: 10px; } html[data-look="nuevo"] .asp-fondo-v i:last-child { top: 30px; }
html[data-look="nuevo"] .asp-fondo.f-tinte .asp-fondo-v { background: color-mix(in srgb, var(--pl) 8%, #F5F5F2); }
html[data-look="nuevo"] .asp-fondo.f-puro .asp-fondo-v { background: #fff; }
html[data-look="nuevo"] .asp-fondo .cla { display: none; }
@media (prefers-color-scheme: dark) { html[data-look="nuevo"]:not([data-theme="light"]) .asp-fondo-v { background: #0A0A0C; } html[data-look="nuevo"]:not([data-theme="light"]) .asp-fondo-v i { background: #17171B; } html[data-look="nuevo"]:not([data-theme="light"]) .asp-fondo.f-tinte .asp-fondo-v { background: color-mix(in srgb, var(--pd) 10%, #0A0A0C); } html[data-look="nuevo"]:not([data-theme="light"]) .asp-fondo.f-puro .asp-fondo-v { background: #000; } html[data-look="nuevo"]:not([data-theme="light"]) .asp-fondo.f-puro .asp-fondo-v i { background: #141416; } }
html[data-look="nuevo"][data-theme="dark"] .asp-fondo-v { background: #0A0A0C; } html[data-look="nuevo"][data-theme="dark"] .asp-fondo-v i { background: #17171B; } html[data-look="nuevo"][data-theme="dark"] .asp-fondo.f-tinte .asp-fondo-v { background: color-mix(in srgb, var(--pd) 10%, #0A0A0C); } html[data-look="nuevo"][data-theme="dark"] .asp-fondo.f-puro .asp-fondo-v { background: #000; }
/* «Negro puro» se llama «Blanco» en claro */
html[data-look="nuevo"][data-theme="light"] .asp-fondo .osc { display: none; } html[data-look="nuevo"][data-theme="light"] .asp-fondo .cla { display: inline; }
@media (prefers-color-scheme: light) { html[data-look="nuevo"]:not([data-theme="dark"]) .asp-fondo .osc { display: none; } html[data-look="nuevo"]:not([data-theme="dark"]) .asp-fondo .cla { display: inline; } }
/* los fondos de verdad */
html[data-look="nuevo"][data-fondo="tinte"] { --paper: color-mix(in srgb, var(--pl) 5%, #F5F5F2); --paper-sunken: color-mix(in srgb, var(--pl) 6%, #EDEDE8); }
html[data-look="nuevo"][data-fondo="puro"] { --paper: #FFFFFF; --paper-raised: #FFFFFF; --paper-sunken: #F1F1EE; }
@media (prefers-color-scheme: dark) {
  html[data-look="nuevo"][data-fondo="tinte"]:not([data-theme="light"]) { --paper: color-mix(in srgb, var(--pd) 6%, #0A0A0C); --paper-sunken: color-mix(in srgb, var(--pd) 8%, #232329); }
  html[data-look="nuevo"][data-fondo="puro"]:not([data-theme="light"]) { --paper: #000000; --paper-raised: #141416; --paper-sunken: #1E1E22; }
}
html[data-look="nuevo"][data-fondo="tinte"][data-theme="dark"] { --paper: color-mix(in srgb, var(--pd) 6%, #0A0A0C); --paper-sunken: color-mix(in srgb, var(--pd) 8%, #232329); }
html[data-look="nuevo"][data-fondo="puro"][data-theme="dark"] { --paper: #000000; --paper-raised: #141416; --paper-sunken: #1E1E22; }
/* ---- Selector «¿Cuándo?» y Festivos (23/10, docs/15 3.3) ---- */
html[data-look="nuevo"] .rec-campo { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper-raised); color: inherit; font: inherit; text-align: left; cursor: pointer; }
html[data-look="nuevo"] .rec-campo-ic { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }
html[data-look="nuevo"] .rec-campo-ic .i { width: 18px; height: 18px; }
html[data-look="nuevo"] .rec-campo-x { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
html[data-look="nuevo"] .rec-campo-x b { font-size: 14.5px; }
html[data-look="nuevo"] .rec-campo-x span { font-size: 12px; color: var(--text-muted); }
html[data-look="nuevo"] .rec-campo > .i:last-child { width: 16px; height: 16px; color: var(--text-faint); flex: none; }
html[data-look="nuevo"] .rec-grupo-t { margin: 14px 2px 6px; font-size: 11.5px; font-weight: 750; letter-spacing: .06em; color: var(--text-muted); }
html[data-look="nuevo"] .rec-ops { display: grid; gap: 8px; }
html[data-look="nuevo"] .rec-par { margin: -2px 0 6px; padding: 12px; border-radius: 14px; background: var(--paper-sunken); }
html[data-look="nuevo"] .rec-par-l { font-size: 12.5px; font-weight: 650; color: var(--text-muted); margin: 8px 0 6px; }
html[data-look="nuevo"] .rec-par-l:first-child { margin-top: 0; }
html[data-look="nuevo"] .rec-dias { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
html[data-look="nuevo"] .rec-dia { height: 40px; border: 0; border-radius: 10px; background: var(--paper-raised); color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; }
html[data-look="nuevo"] .rec-dia.on { background: var(--accent); color: #fff; font-weight: 700; }
html[data-look="nuevo"] .rec-dia.ult { grid-column: span 4; font-size: 13px; }
html[data-look="nuevo"] .rec-sem { display: flex; justify-content: space-between; gap: 4px; margin-top: 10px; }
html[data-look="nuevo"] .rec-sem-d { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--paper-raised); color: var(--ink); font: inherit; font-weight: 650; cursor: pointer; }
html[data-look="nuevo"] .rec-sem-d.on { background: var(--accent); color: #fff; }
html[data-look="nuevo"] .rec-mm { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
html[data-look="nuevo"] .rec-mm-b { width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--paper-raised); color: var(--accent); font: inherit; font-size: 22px; font-weight: 700; cursor: pointer; }
html[data-look="nuevo"] .rec-mm b { font-size: 16px; }
html[data-look="nuevo"] .rec-ancla { width: 100%; min-height: 44px; }
html[data-look="nuevo"] .rec-prox { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 14px 0 4px; }
html[data-look="nuevo"] .rec-prox-f { display: flex; flex-direction: column; align-items: center; padding: 8px 4px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
html[data-look="nuevo"] .rec-prox-f b { font-family: var(--font-display); font-size: 20px; }
html[data-look="nuevo"] .rec-prox-f i { font-style: normal; font-size: 11.5px; }
html[data-look="nuevo"] .rec-fest { width: 100%; display: flex; align-items: center; gap: 10px; min-height: 48px; margin: 8px 0; padding: 0 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper-raised); color: inherit; font: inherit; text-align: left; cursor: pointer; }
html[data-look="nuevo"] .rec-fest .i { width: 17px; height: 17px; color: var(--text-muted); }
html[data-look="nuevo"] .rec-fest .menu-extra { margin-left: auto; font-size: 12.5px; color: var(--text-muted); }
html[data-look="nuevo"] .fest-loc { display: grid; grid-template-columns: 44px 1fr 1fr; align-items: center; gap: 8px; margin-bottom: 8px; font-weight: 650; }
html[data-look="nuevo"] .fest-loc input { min-width: 0; min-height: 44px; }
html[data-look="nuevo"] .fest-cambios { padding: 6px 12px; }
html[data-look="nuevo"] .fest-c { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; font-size: 13.5px; }
html[data-look="nuevo"] .fest-c + .fest-c { border-top: 1px solid var(--line); }
/* A5 · «Desde que llega mi nómina» */
html[data-look="nuevo"] .tumes-nom { margin: -2px 0 10px; padding: 12px; border-radius: 14px; background: var(--paper-sunken); display: grid; gap: 8px; }
html[data-look="nuevo"] .tumes-nom-c { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
html[data-look="nuevo"] .tumes-nom-c .i { width: 16px; height: 16px; color: var(--accent); flex: none; }
html[data-look="nuevo"] .tumes-nom-c .link { margin-left: auto; }
html[data-look="nuevo"] .tumes-nom-f { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-size: 13.5px; }
html[data-look="nuevo"] .tumes-nom-f span { color: var(--text-muted); font-size: 12.5px; }
html[data-look="nuevo"] .tumes-prev { padding: 1px 8px; border-radius: 99px; background: var(--accent-soft); color: var(--accent) !important; font-weight: 700; font-size: 11.5px !important; }

/* ---- Hoja de cada activo (24/10, docs/15 2.4) ---- */
html[data-look="nuevo"] .dm-ic.inv[style*="--ac"] { background: color-mix(in srgb, var(--ac) 16%, transparent); color: var(--ac); }
html[data-look="nuevo"] .act-cab { display: flex; align-items: center; gap: 12px; margin: 0 40px 12px 0; }
html[data-look="nuevo"] .act-cab h2 { margin: 0; font-size: 20px; line-height: 1.2; overflow-wrap: anywhere; }
html[data-look="nuevo"] .act-cab span:not(.dm-ic) { font-size: 13px; color: var(--text-dim); }
html[data-look="nuevo"] .act-cab .dm-ic { width: 44px; height: 44px; border-radius: 13px; }
html[data-look="nuevo"] .act-valor { display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; }
html[data-look="nuevo"] .act-valor > span { font-size: 12.5px; color: var(--text-dim); }
html[data-look="nuevo"] .act-valor b { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
html[data-look="nuevo"] .act-valor em { font-style: normal; font-size: 13.5px; font-weight: 600; }
html[data-look="nuevo"] .act-graf { background: var(--paper-raised); border: 1px solid var(--line); border-radius: 16px; padding: 12px 12px 10px; margin-bottom: 12px; }
html[data-look="nuevo"] .act-graf-c { display: flex; justify-content: space-between; align-items: baseline; font-size: 12.5px; color: var(--text-dim); }
html[data-look="nuevo"] .act-graf-c b { font-size: 13.5px; }
html[data-look="nuevo"] .act-svg { display: block; width: 100%; height: 80px; margin: 6px 0 8px; }
html[data-look="nuevo"] .act-graf .segmented { margin: 0; }
html[data-look="nuevo"] .act-cifras { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 4px; }
html[data-look="nuevo"] .act-cifra { background: var(--paper-raised); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
html[data-look="nuevo"] .act-cifra span { font-size: 12px; color: var(--text-dim); }
html[data-look="nuevo"] .act-cifra b { font-size: 15.5px; font-weight: 700; overflow-wrap: anywhere; }
html[data-look="nuevo"] .act-cifra b i { display: block; font-style: normal; font-weight: 500; font-size: 11.5px; color: var(--text-faint); }
html[data-look="nuevo"] .act-movs { padding: 4px 0; }
html[data-look="nuevo"] .act-mov { display: grid; grid-template-columns: 1fr auto 18px; grid-template-rows: auto auto; column-gap: 8px; align-items: center; width: 100%; min-height: 48px; padding: 8px 14px; background: none; border: 0; border-bottom: 1px solid var(--line); text-align: left; color: var(--text); font: inherit; }
html[data-look="nuevo"] .act-mov:last-child { border-bottom: 0; }
html[data-look="nuevo"] .act-mov > span { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-look="nuevo"] .act-mov > b { font-size: 14px; grid-column: 2; grid-row: 1; }
html[data-look="nuevo"] .act-mov > i { grid-column: 2; grid-row: 2; font-style: normal; font-size: 11.5px; color: var(--text-faint); text-align: right; }
html[data-look="nuevo"] .act-mov > .i { grid-column: 3; grid-row: 1 / 3; width: 16px; height: 16px; color: var(--text-faint); }
html[data-look="nuevo"] .act-botones { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
html[data-look="nuevo"] .act-bot2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
html[data-look="nuevo"] .act-cab + .act-valor + .dm-aviso, html[data-look="nuevo"] .act-graf + .dm-aviso { margin-bottom: 12px; }

/* ---- Deudas con icono y selector de mes y año (24/10, docs/15 2.5) ---- */
html[data-look="nuevo"] .deu-ics { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
html[data-look="nuevo"] .deu-ics .dm-emo-b { width: auto; min-width: 0; height: 44px; color: var(--debt); background: color-mix(in srgb, var(--debt) 14%, transparent); }
html[data-look="nuevo"] .deu-ics .dm-emo-b.on { background: color-mix(in srgb, var(--debt) 30%, transparent); box-shadow: inset 0 0 0 2px var(--debt); }
html[data-look="nuevo"] .ma-anio { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
html[data-look="nuevo"] .ma-anio b { font-size: 16px; min-width: 48px; text-align: center; }
html[data-look="nuevo"] .ma-quitar { margin-left: auto; }
html[data-look="nuevo"] .ma-meses { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
html[data-look="nuevo"] .ma-mes { min-height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper-raised); color: var(--text); font: inherit; font-size: 14px; }
html[data-look="nuevo"] .ma-mes.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); font-weight: 700; }

/* ---- Hojas de ajustes, repaso (24/10, docs/15 3.4) ---- */
html[data-look="nuevo"] .aj-ic { flex: none; width: 36px; height: 36px; border-radius: 11px; display: inline-grid; place-items: center; color: var(--cc, var(--accent)); background: color-mix(in srgb, var(--cc, var(--accent)) 16%, transparent); margin-right: 10px; }
html[data-look="nuevo"] .aj-ic .i { width: 18px; height: 18px; }
html[data-look="nuevo"] .aj-ic.sm { width: 30px; height: 30px; border-radius: 9px; margin: 0 4px 0 0; color: var(--text-dim); background: var(--paper-sunken); }
html[data-look="nuevo"] .aj-ic.sm .i { width: 16px; height: 16px; }
html[data-look="nuevo"] .row2 { align-items: center; }
html[data-look="nuevo"] .row2 .rm .i, html[data-look="nuevo"] .cat-std-row .rm .i { width: 17px; height: 17px; color: var(--text-faint); }
html[data-look="nuevo"] .aj-vacio { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 22px 16px; background: var(--paper-raised); border: 1px solid var(--line); border-radius: 18px; }
html[data-look="nuevo"] .aj-vacio-ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
html[data-look="nuevo"] .aj-vacio-ic .i { width: 24px; height: 24px; }
html[data-look="nuevo"] .aj-vacio b { font-size: 15.5px; }
html[data-look="nuevo"] .aj-vacio span:not(.aj-vacio-ic) { font-size: 13.5px; color: var(--text-dim); line-height: 1.45; }

/* ---- Restos de Calidad (24/10) ---- */
html[data-look="nuevo"] .tu2-quien .t { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; min-width: 0; } /* 31/10: si no cabe, «NUEVO» baja de línea en vez de cortar el nombre */
html[data-look="nuevo"] .tu2-quien .t-n { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-look="nuevo"] .tu2-quien .t .badge-new { flex: none; }
html[data-look="nuevo"] .tema-fila-x b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
html[data-look="nuevo"] .tema-cab h2 { overflow-wrap: anywhere; min-width: 0; }
html[data-look="nuevo"] .tema-chips .chip { max-width: 100%; }
html[data-look="nuevo"] .rec-fila .meta { white-space: normal; overflow: visible; text-overflow: clip; }

/* ---- Movimientos: «Mes | Año» a un toque (24/10) ---- */
html[data-look="nuevo"] .mov-modo { display: inline-flex; gap: 2px; margin-top: 8px; padding: 3px; border-radius: 999px; background: var(--paper-sunken); }
html[data-look="nuevo"] .mov-modo button { min-height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: none; color: var(--text-dim); font: inherit; font-size: 13.5px; font-weight: 600; }
html[data-look="nuevo"] .mov-modo button.on { background: var(--paper-raised); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.12); }

/* ---- Inversiones: franjas, etiquetas al final y selector corto (24/10, docs/19) ---- */
html[data-look="nuevo"] .tr-chart { position: relative; }
html[data-look="nuevo"] .tr-etq { position: absolute; right: 0; transform: translateY(-50%); padding: 1px 6px; border-radius: 6px; font-size: 11px; font-weight: 700; line-height: 1.5; white-space: nowrap; pointer-events: none; color: var(--lc); background: color-mix(in srgb, var(--paper-raised) 88%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--lc) 35%, transparent); }
html[data-look="nuevo"] .tr-etq.total { color: #fff; background: var(--lc); box-shadow: none; }
html[data-look="nuevo"] .tr-linea.total { filter: drop-shadow(0 1px 2px rgba(0,0,0,.35)); }
html[data-look="nuevo"] .tr-linea-a.nueva { stroke-dasharray: 1; stroke-dashoffset: 1; animation: trDibuja .45s cubic-bezier(.22,1,.36,1) forwards; }
@keyframes trDibuja { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { html[data-look="nuevo"] .tr-linea-a.nueva { animation: none; stroke-dashoffset: 0; } }
html[data-look="nuevo"] .tr-lineas { flex-wrap: wrap; overflow: visible; }
html[data-look="nuevo"] .tr-lineas .chip { font-weight: 700; letter-spacing: .02em; }
html[data-look="nuevo"] .tr-lineas .chip.active { box-shadow: inset 0 0 0 1.5px currentColor; }
html[data-look="nuevo"] .tr-lineas-ayuda { font-size: 12px; color: var(--text-faint); margin-top: 6px; }
html[data-look="nuevo"] .inv-elegir { display: flex; align-items: center; gap: 12px; }
html[data-look="nuevo"] .inv-elegir-c { flex: none; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; border: 2px solid var(--ac); color: #fff; }
html[data-look="nuevo"] .inv-elegir.on .inv-elegir-c { background: var(--ac); }
html[data-look="nuevo"] .inv-elegir-c .i { width: 15px; height: 15px; }
html[data-look="nuevo"] .inv-elegir-x { display: flex; flex-direction: column; min-width: 0; text-align: left; }
html[data-look="nuevo"] .inv-elegir-x b { font-size: 14.5px; overflow-wrap: anywhere; }
html[data-look="nuevo"] .inv-elegir-x span { font-size: 12px; color: var(--text-dim); }
html[data-look="nuevo"] .inv-cu { padding: 12px 14px; }
html[data-look="nuevo"] .inv-cu-seg { margin-bottom: 8px; }
html[data-look="nuevo"] .inv-cu-f { display: grid; grid-template-columns: 74px 1fr auto; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 6px 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--text); font: inherit; text-align: left; }
html[data-look="nuevo"] .inv-cu-f:last-of-type { border-bottom: 0; }
html[data-look="nuevo"] .inv-cu-n { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13.5px; overflow: hidden; }
html[data-look="nuevo"] .inv-cu-n i { flex: none; width: 9px; height: 9px; border-radius: 50%; }
html[data-look="nuevo"] .inv-cu-b { position: relative; height: 10px; }
html[data-look="nuevo"] .inv-cu-b::before { content: ''; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: var(--line); }
html[data-look="nuevo"] .inv-cu-b i { position: absolute; top: 0; height: 10px; border-radius: 5px; }
html[data-look="nuevo"] .inv-cu-b i.pos { left: 50%; background: var(--income); }
html[data-look="nuevo"] .inv-cu-b i.neg { right: 50%; background: var(--expense); }
html[data-look="nuevo"] .inv-cu-v { display: flex; flex-direction: column; align-items: flex-end; min-width: 78px; }
html[data-look="nuevo"] .inv-cu-v b { font-size: 14px; }
html[data-look="nuevo"] .inv-cu-v span { font-size: 11.5px; color: var(--text-faint); }
html[data-look="nuevo"] .act-modo { margin: 0 0 10px; }
html[data-look="nuevo"] .act-valor em.act-anio { color: var(--text); font-weight: 700; }
html[data-look="nuevo"] .act-valor em.act-anio span { font-weight: 500; color: var(--text-faint); font-size: 12px; }
html[data-look="nuevo"] .tr-etq.total { color: var(--paper-raised); }

/* ---- Agenda a mano (24/10, docs/19 opción A) ---- */
html[data-look="nuevo"] .tb-agenda { position: relative; }
html[data-look="nuevo"] .topbar .tb-agenda.on { background: var(--accent-soft); color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
html[data-look="nuevo"] .tb-n { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px var(--paper); }
html[data-look="nuevo"] .tb-n[hidden] { display: none; }
html[data-look="nuevo"] .cal-capas { margin: 0 0 12px; }

/* ---- Metas «de cristal» con su color (24/10, docs/19 3.3) ---- */
html[data-look="nuevo"] .fm.cristal { --fc: var(--fcl); }
@media (prefers-color-scheme: dark) { html[data-look="nuevo"]:not([data-theme="light"]) .fm.cristal { --fc: var(--fcd); } }
html[data-look="nuevo"][data-theme="dark"] .fm.cristal { --fc: var(--fcd); }
html[data-look="nuevo"] .fm.cristal .fm-fondo { fill: var(--fc); fill-opacity: .14; stroke: none; }
html[data-look="nuevo"] .fm.cristal .fm-agua { fill: var(--fc); opacity: .82; }
html[data-look="nuevo"] .fm.cristal .fm-sup { stroke: color-mix(in srgb, var(--fc) 70%, #fff); stroke-width: 2; }
html[data-look="nuevo"] .fm.cristal .fm-con, html[data-look="nuevo"] .fm.cristal .fm-con.hecha { stroke: var(--fc); color: var(--fc); stroke-width: 2.2; }
html[data-look="nuevo"] .fm.cristal .fm-det { stroke: var(--fc); opacity: .35; }
html[data-look="nuevo"] .fm.cristal .fm-brillo { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; opacity: .45; }
html[data-look="nuevo"] .fm.cristal .fm-t { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.45); }
html[data-look="nuevo"] .fm.cristal .fm-t.g { font-size: 19px; }
html[data-look="nuevo"] .fm.cristal .fm-ok { background: var(--fc); }
html[data-look="nuevo"] .dm-fm-n { font-weight: 700; font-size: 14px; line-height: 1.25; text-align: center; overflow-wrap: anywhere; color: var(--text); }
html[data-look="nuevo"] .fm-colores { display: flex; gap: 10px; }
html[data-look="nuevo"] .fm-col { width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; color: #fff; background: var(--fcl); }
@media (prefers-color-scheme: dark) { html[data-look="nuevo"]:not([data-theme="light"]) .fm-col { background: var(--fcd); } }
html[data-look="nuevo"][data-theme="dark"] .fm-col { background: var(--fcd); }
html[data-look="nuevo"] .fm-col.on { box-shadow: 0 0 0 3px var(--paper-raised), 0 0 0 5px var(--text); }
html[data-look="nuevo"] .fm-col .i { width: 18px; height: 18px; }
html[data-look="nuevo"] .fm.cristal .fm-t { color: color-mix(in srgb, var(--fc) 70%, #000); text-shadow: 0 0 3px #fff, 0 0 6px #fff, 0 0 2px #fff; }
@media (prefers-color-scheme: dark) { html[data-look="nuevo"]:not([data-theme="light"]) .fm.cristal .fm-t { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.55); } }
html[data-look="nuevo"][data-theme="dark"] .fm.cristal .fm-t { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.55); }
/* el % de la meta, siempre legible: una pastilla suave detrás (Calidad 24/10) */
html[data-look="nuevo"] .fm.cristal .fm-t.g b { display: inline-block; padding: 1px 7px; border-radius: 999px; background: color-mix(in srgb, var(--paper-raised) 78%, transparent); color: color-mix(in srgb, var(--fc) 62%, var(--ink)); text-shadow: none; }
html[data-look="nuevo"] .fm.cristal .fm-t.g { text-shadow: none; }
html[data-look="nuevo"] .jv-obj .jv-obj-p { font-size: 13.5px; font-weight: 700; color: var(--text); }

/* ---- Bancos: ficha con logo o con color + letras (25/10, docs/20) ---- */
html[data-look="nuevo"] .bco-ficha { flex: none; width: 36px; height: 36px; border-radius: 11px; display: inline-grid; place-items: center; background: var(--bc); overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
html[data-look="nuevo"] .bco-ficha img { width: 62%; height: 62%; object-fit: contain; display: block; }
/* iconos de app (29/10): el dibujo ya trae su fondo, ocupa toda la ficha */
html[data-look="nuevo"] .bco-ficha.icono { background: #fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
html[data-look="nuevo"] .bco-ficha.icono img { width: 100%; height: 100%; object-fit: cover; }
html[data-look="nuevo"] .bco-ficha b { font: 800 14px/1 var(--font-body, Inter), sans-serif; letter-spacing: -.02em; }
html[data-look="nuevo"] .bco-ficha.largo b { font-size: 11px; }
@media (prefers-color-scheme: dark) { html[data-look="nuevo"]:not([data-theme="light"]) .bco-ficha { box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); } }
html[data-look="nuevo"][data-theme="dark"] .bco-ficha { box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
html[data-look="nuevo"] .bco-ficha.aj { margin-right: 10px; }
html[data-look="nuevo"] .bco-ficha.dm3 { width: 30px; height: 30px; border-radius: 9px; }
html[data-look="nuevo"] .bco-ficha.dm3 b { font-size: 12px; }
html[data-look="nuevo"] .bco-ficha.dm3.largo b { font-size: 9.5px; }
html[data-look="nuevo"] .bco-ficha.h { width: 34px; height: 34px; }
html[data-look="nuevo"] .bco-h2 { display: flex; align-items: center; gap: 10px; }
html[data-look="nuevo"] .bco-campo { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 8px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper-raised); color: var(--text); font: inherit; font-weight: 600; text-align: left; }
html[data-look="nuevo"] .bco-campo > span:not(.bco-ficha):not(.aj-ic) { flex: 1; }
html[data-look="nuevo"] .bco-campo .aj-ic { margin: 0; }
html[data-look="nuevo"] .bco-lista { padding: 4px 0; }
html[data-look="nuevo"] .bco-fila { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 8px 14px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--text); font: inherit; font-size: 15px; text-align: left; }
html[data-look="nuevo"] .bco-fila:last-child { border-bottom: 0; }
html[data-look="nuevo"] .bco-fila > span:not(.bco-ficha) { flex: 1; }
html[data-look="nuevo"] .bco-fila.on { font-weight: 700; }
html[data-look="nuevo"] .bco-fila > .i { color: var(--accent); width: 18px; height: 18px; }

/* ---- Formas de metas depuradas (29/10, docs/22 §5): un solo trazo, líquido limpio, % sin pastilla ---- */
html[data-look="nuevo"] .fm.cristal .fm-fondo { fill-opacity: .10; }
@media (prefers-color-scheme: dark) { html[data-look="nuevo"]:not([data-theme="light"]) .fm.cristal .fm-fondo { fill-opacity: .16; } html[data-look="nuevo"]:not([data-theme="light"]) .fm.cristal .fm-agua { fill: color-mix(in srgb, var(--fc) 86%, #000); } }
html[data-look="nuevo"][data-theme="dark"] .fm.cristal .fm-fondo { fill-opacity: .16; }
html[data-look="nuevo"][data-theme="dark"] .fm.cristal .fm-agua { fill: color-mix(in srgb, var(--fc) 86%, #000); }
html[data-look="nuevo"] .fm.cristal .fm-agua { opacity: 1; }
html[data-look="nuevo"] .fm.cristal .fm-sup { stroke: color-mix(in srgb, var(--fc) 45%, #fff); stroke-width: 2; }
html[data-look="nuevo"] .fm.cristal .fm-con, html[data-look="nuevo"] .fm.cristal .fm-con.hecha { stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
html[data-look="nuevo"] .fm.cristal .fm-t, html[data-look="nuevo"] .fm.cristal .fm-t.g { text-shadow: none; color: var(--fc); }
html[data-look="nuevo"] .fm.cristal .fm-t.g b { background: none; padding: 0; color: inherit; font-size: 21px; }
html[data-look="nuevo"] .fm.cristal .fm-t.sobre { color: #fff; }
html[data-look="nuevo"] .fm.cristal.amb .fm-t.sobre { color: #1A1300; }
/* turquesa y cielo en oscuro: el líquido es claro, el % va en oscuro (contraste, Calidad 29/10) */
@media (prefers-color-scheme: dark) { html[data-look="nuevo"]:not([data-theme="light"]) .fm.cristal.clara .fm-t.sobre { color: #04201D; text-shadow: none; } }
html[data-look="nuevo"][data-theme="dark"] .fm.cristal.clara .fm-t.sobre { color: #04201D; text-shadow: none; }

/* ---- Inversiones, segunda vuelta (29/10, docs/22) ---- */
html[data-look="nuevo"] .tr-chart { --fr-op: .22; }
@media (prefers-color-scheme: dark) { html[data-look="nuevo"]:not([data-theme="light"]) .tr-chart { --fr-op: .32; } }
html[data-look="nuevo"][data-theme="dark"] .tr-chart { --fr-op: .32; }
html[data-look="nuevo"] .tr-etq.banda { background: none; box-shadow: none; right: 6px; font-size: 11.5px; color: var(--lc); text-shadow: 0 0 3px var(--paper-raised), 0 0 6px var(--paper-raised); }
html[data-look="nuevo"] .tr-linea-a.nueva { stroke-dasharray: none; stroke-dashoffset: 0; animation: trFunde .35s ease both; }
@keyframes trFunde { from { opacity: 0; } to { opacity: 1; } }
@media (min-width: 760px) { html[data-look="nuevo"] #invChart.tr-chart { height: 240px; } }
html[data-look="nuevo"] .inv-cu-f { grid-template-columns: minmax(0, 130px) 1fr auto; }
html[data-look="nuevo"] .inv-cu-n { white-space: nowrap; text-overflow: ellipsis; }
html[data-look="nuevo"] .act-apodo { margin-top: 12px; }

/* ===== Inicio a tu gusto (29/10, docs/21): piezas, «Editar Inicio» y «Añadir a Inicio» ===== */
html[data-look="nuevo"] .iw { padding: 12px 14px 14px; margin: var(--sp-4) 0 0; border-radius: var(--r-l); }
html[data-look="nuevo"] .iw-cab { display: flex; align-items: center; gap: 8px; width: 100%; border: none; background: none; padding: 0 0 10px; color: var(--text); font: inherit; cursor: pointer; text-align: left; }
html[data-look="nuevo"] .iw-cab > b, html[data-look="nuevo"] .iw-cab-s > b { font-family: var(--font-display); font-size: var(--fs-m); font-weight: 650; }
html[data-look="nuevo"] .iw-sub { color: var(--text-faint); font-size: var(--fs-s); margin-left: auto; white-space: nowrap; }
html[data-look="nuevo"] .iw-cab .chev-s { margin-left: 2px; color: var(--text-faint); }
html[data-look="nuevo"] .iw-cab > b + .chev-s { margin-left: auto; }
html[data-look="nuevo"] .iw-ic { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); flex: 0 0 auto; }
html[data-look="nuevo"] .iw-ic svg { width: 15px; height: 15px; }
html[data-look="nuevo"] .iw-cab-s { display: flex; align-items: center; gap: 8px; }
html[data-look="nuevo"] .iw-vacio { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--text-muted); font-size: var(--fs-s); flex-wrap: wrap; }
html[data-look="nuevo"] .iw-par { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: var(--sp-4); }
html[data-look="nuevo"] .iw-par > .iw { margin: 0; min-width: 0; }
/* En qué gastas */
html[data-look="nuevo"] .iw-gastos-c { display: flex; align-items: center; gap: 14px; }
html[data-look="nuevo"] .iw-anillo { position: relative; width: 104px; height: 104px; flex: 0 0 auto; border: none; background: none; padding: 0; color: var(--text); cursor: pointer; }
html[data-look="nuevo"] .iw-anillo svg { width: 100%; height: 100%; display: block; }
html[data-look="nuevo"] .iw-anillo > span { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
html[data-look="nuevo"] .iw-anillo b { font-family: var(--font-display); font-size: 15px; font-weight: var(--num-peso); }
html[data-look="nuevo"] .iw-anillo i { font-style: normal; font-size: 11px; color: var(--text-faint); }
html[data-look="nuevo"] .iw-gfs { flex: 1; min-width: 0; display: flex; flex-direction: column; }
html[data-look="nuevo"] .iw-gf { display: flex; align-items: center; gap: 8px; border: none; background: none; padding: 5px 0; color: var(--text); font: inherit; font-size: var(--fs-s); cursor: pointer; text-align: left; min-height: 30px; }
html[data-look="nuevo"] .iw-gf i { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
html[data-look="nuevo"] .iw-gf span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-look="nuevo"] .iw-gf b { font-weight: 600; }
/* Presupuestos */
html[data-look="nuevo"] .iw-pfs { display: flex; flex-direction: column; gap: 10px; }
html[data-look="nuevo"] .iw-pf { --pc: var(--income); display: flex; flex-direction: column; gap: 5px; border: none; background: none; padding: 0; color: var(--text); font: inherit; cursor: pointer; text-align: left; }
html[data-look="nuevo"] .iw-pf.justo { --pc: var(--warn); }
html[data-look="nuevo"] .iw-pf.mal { --pc: var(--expense); }
html[data-look="nuevo"] .iw-pf-t { display: flex; justify-content: space-between; gap: 8px; font-size: var(--fs-s); }
html[data-look="nuevo"] .iw-pf-t b { font-weight: 600; }
html[data-look="nuevo"] .iw-pf-t i { font-style: normal; color: var(--text-faint); font-weight: 500; }
html[data-look="nuevo"] .iw-pbar { height: 7px; border-radius: 99px; background: var(--paper-sunken); overflow: hidden; }
html[data-look="nuevo"] .iw-pbar i { display: block; height: 100%; border-radius: 99px; background: var(--pc); }
/* Próximos fijos */
html[data-look="nuevo"] .iw-ffs { display: flex; flex-direction: column; gap: 8px; }
html[data-look="nuevo"] .iw-ff { display: flex; align-items: center; gap: 10px; border: none; background: none; padding: 0; color: var(--text); font: inherit; cursor: pointer; text-align: left; }
html[data-look="nuevo"] .iw-ff .dia-fecha { flex: 0 0 auto; }
html[data-look="nuevo"] .iw-ff-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
html[data-look="nuevo"] .iw-ff-t b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-look="nuevo"] .iw-ff-t span { font-size: var(--fs-s); color: var(--text-muted); }
html[data-look="nuevo"] .iw-ff > b { font-weight: 600; }
html[data-look="nuevo"] .iw-ff > b.ing { color: var(--income); }
/* Una meta / Tus metas */
html[data-look="nuevo"] .iw-meta.medio, html[data-look="nuevo"] .iw-tienes.medio { position: relative; }
html[data-look="nuevo"] .iw-mt-main { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 100%; border: none; background: none; padding: 0; color: var(--text); font: inherit; cursor: pointer; }
html[data-look="nuevo"] .iw-mt-n { font-weight: 650; margin-top: 4px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-look="nuevo"] .iw-mt-c { font-size: var(--fs-s); color: var(--text-muted); }
html[data-look="nuevo"] .iw-mt-mas { position: absolute; top: 8px; right: 8px; width: 38px; height: 38px; border-radius: 50%; border: none; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; cursor: pointer; transition: transform .2s var(--ease-spring); }
html[data-look="nuevo"] .iw-mt-mas:active { transform: scale(.9); }
html[data-look="nuevo"] .iw-mt-mas svg { width: 16px; height: 16px; }
html[data-look="nuevo"] .iw-metas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
html[data-look="nuevo"] .iw-mt { display: flex; flex-direction: column; align-items: center; gap: 4px; border: none; background: none; padding: 0; color: var(--text); font: inherit; font-size: var(--fs-xs); cursor: pointer; min-width: 0; }
html[data-look="nuevo"] .iw-mt > span:last-child { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Lo que tienes */
html[data-look="nuevo"] .iw-ti-main { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; width: 100%; height: 100%; border: none; background: none; padding: 0; color: var(--text); font: inherit; cursor: pointer; text-align: left; }
html[data-look="nuevo"] .iw-ti-v { font-family: var(--font-display); font-size: 22px; font-weight: var(--num-peso); margin-top: 4px; }
html[data-look="nuevo"] .iw-ti-v.neg { color: var(--expense); }
html[data-look="nuevo"] .iw-ti-main .pat-barra { width: 100%; margin: 0; }
html[data-look="nuevo"] .iw-ti-l { font-size: var(--fs-s); color: var(--text-muted); }
/* botón «Editar Inicio» */
html[data-look="nuevo"] .iw-editar { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin: var(--sp-5) 0 var(--sp-3); padding: 12px; border: 1.5px dashed var(--line); border-radius: var(--r-l); background: none; color: var(--text-muted); font: inherit; font-weight: 600; cursor: pointer; }
html[data-look="nuevo"] .iw-editar svg { width: 16px; height: 16px; }
/* hoja «Editar Inicio» */
html[data-look="nuevo"] .iw-ed { padding: 4px 10px; }
html[data-look="nuevo"] .iw-ed-f { display: flex; align-items: center; gap: 4px; padding: 8px 0; border-top: 1px solid var(--line); }
html[data-look="nuevo"] .iw-ed-f:first-child { border-top: none; }
html[data-look="nuevo"] .iw-ed-f.fija { opacity: .75; }
html[data-look="nuevo"] .iw-ed-n { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; border: none; background: none; padding: 0; color: var(--text); font: inherit; text-align: left; }
html[data-look="nuevo"] button.iw-ed-n.tappable { cursor: pointer; }
html[data-look="nuevo"] .iw-ed-t { display: flex; flex-direction: column; min-width: 0; }
html[data-look="nuevo"] .iw-ed-t b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-look="nuevo"] .iw-ed-t span { font-size: var(--fs-s); color: var(--text-muted); }
html[data-look="nuevo"] .iw-ed-f .icon-btn.sm { width: 34px; height: 34px; flex: 0 0 auto; }
html[data-look="nuevo"] .iw-ed-f .icon-btn.sm:disabled { opacity: .3; }
html[data-look="nuevo"] .iw-ed-f .iw-quitar { color: var(--expense); }
html[data-look="nuevo"] .iw-ed-pie { display: flex; justify-content: space-between; align-items: center; margin: 10px 2px 0; color: var(--text-faint); font-size: var(--fs-s); }
/* hoja «Añadir a Inicio» */
html[data-look="nuevo"] .iw-cat-chips { margin: 4px 0 12px; }
html[data-look="nuevo"] .iw-cat { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
html[data-look="nuevo"] .iw-cat-t { display: flex; flex-direction: column; gap: 8px; padding: 8px; border-radius: var(--r-l); background: var(--paper-raised); border: 1px solid var(--line); color: var(--text); cursor: pointer; text-align: left; min-width: 0; }
html[data-look="nuevo"] .iw-cat-t.ya { cursor: default; opacity: .7; }
html[data-look="nuevo"] .iw-prev { height: 96px; overflow: hidden; border-radius: var(--r-m); background: var(--paper-sunken); position: relative; pointer-events: none; }
html[data-look="nuevo"] .iw-prev-in { position: absolute; left: 0; top: 0; width: 200%; transform: scale(.5); transform-origin: 0 0; }
html[data-look="nuevo"] .iw-prev-in > .iw, html[data-look="nuevo"] .iw-prev-in > div > .iw { margin: 0; box-shadow: none; }
html[data-look="nuevo"] .iw-prev-ic { position: absolute; inset: 0; display: grid; place-items: center; color: var(--accent); }
html[data-look="nuevo"] .iw-prev-ic svg { width: 30px; height: 30px; }
html[data-look="nuevo"] .iw-cat-n { display: flex; flex-direction: column; gap: 2px; }
html[data-look="nuevo"] .iw-cat-n b { font-weight: 650; font-size: var(--fs-s); }
html[data-look="nuevo"] .iw-cat-n span { font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.3; }
html[data-look="nuevo"] .iw-ya { display: inline-flex; align-items: center; gap: 3px; color: var(--income) !important; font-weight: 600; }
html[data-look="nuevo"] .iw-ya svg { width: 12px; height: 12px; }
/* tanda 2: Juntos, Cuentas, Una deuda, Últimos movimientos, Calendario de gastos y Tu semana */
html[data-look="nuevo"] .iw-j-l { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; font-size: var(--fs-s); color: var(--text-muted); margin-bottom: 10px; }
html[data-look="nuevo"] .iw-j-l > i { font-style: normal; color: var(--text-faint); }
html[data-look="nuevo"] .iw-j-l .malo b { color: var(--expense); }
html[data-look="nuevo"] .iw-j-l .bueno b { color: var(--income); }
html[data-look="nuevo"] .iw-j-c { justify-content: flex-start; gap: 10px; margin: 0; padding: 0; }
html[data-look="nuevo"] .iw-paz { justify-content: flex-start; color: var(--income); }
html[data-look="nuevo"] .iw-paz svg { width: 18px; height: 18px; }
html[data-look="nuevo"] .iw-reparto { margin: 0 0 10px; }
html[data-look="nuevo"] .iw-cfs { display: flex; flex-direction: column; gap: 4px; }
html[data-look="nuevo"] .iw-cf { display: flex; align-items: center; gap: 10px; border: none; background: none; padding: 4px 0; color: var(--text); font: inherit; cursor: pointer; text-align: left; min-height: 36px; }
html[data-look="nuevo"] .iw-cf > span:not(.bco-ficha):not(.iw-cf-pt) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-look="nuevo"] .iw-cf > b { font-weight: 600; }
html[data-look="nuevo"] .iw-cf > b.neg, html[data-look="nuevo"] .iw-ti-v.neg { color: var(--expense); }
html[data-look="nuevo"] .iw-cf-pt { width: 26px; height: 26px; border-radius: 8px; flex: 0 0 auto; opacity: .85; }
html[data-look="nuevo"] .bco-ficha.iw-bco { width: 28px; height: 28px; border-radius: 8px; flex: 0 0 auto; }
html[data-look="nuevo"] .iw-mas { margin-top: 6px; }
html[data-look="nuevo"] .iw-emo { font-size: 15px; line-height: 1; }
html[data-look="nuevo"] .iw-ti-v.bueno { color: var(--income); }
html[data-look="nuevo"] .iw-pbar.deuda { width: 100%; }
html[data-look="nuevo"] .iw-pbar.deuda i { background: var(--debt); }
html[data-look="nuevo"] .iw-deuda .iw-ti-main { gap: 4px; }
html[data-look="nuevo"] .iw-deuda .iw-pbar { margin-top: 6px; }
html[data-look="nuevo"] .iw-uf { display: flex; align-items: center; gap: 10px; border: none; background: none; padding: 0; color: var(--text); font: inherit; cursor: pointer; text-align: left; }
html[data-look="nuevo"] .iw-uf-ic { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; flex: 0 0 auto; background: color-mix(in srgb, var(--cc) 16%, transparent); color: var(--cc); }
html[data-look="nuevo"] .iw-uf-ic svg { width: 18px; height: 18px; }
html[data-look="nuevo"] .iw-uf > b { font-weight: 600; white-space: nowrap; }
html[data-look="nuevo"] .iw-uf > b.ing { color: var(--income); }
html[data-look="nuevo"] .iw-cg { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
html[data-look="nuevo"] .iw-cg-dow { text-align: center; font-size: 10.5px; font-weight: 600; color: var(--text-faint); }
html[data-look="nuevo"] .iw-cg-d { aspect-ratio: 2.1; border-radius: 6px; border: none; padding: 0; background: var(--paper-sunken); cursor: pointer; }
html[data-look="nuevo"] .iw-cg-d.fuera { background: none; cursor: default; }
html[data-look="nuevo"] .iw-cg-d.fut { opacity: .45; }
html[data-look="nuevo"] .iw-cg-d.hoy { outline: 2px solid var(--text); outline-offset: 1px; }
html[data-look="nuevo"] :is(.iw-cg-d, .iw-cg-ley i).n1 { background: color-mix(in srgb, var(--expense) 22%, var(--paper-sunken)); }
html[data-look="nuevo"] :is(.iw-cg-d, .iw-cg-ley i).n2 { background: color-mix(in srgb, var(--expense) 45%, var(--paper-sunken)); }
html[data-look="nuevo"] :is(.iw-cg-d, .iw-cg-ley i).n3 { background: color-mix(in srgb, var(--expense) 70%, var(--paper-sunken)); }
html[data-look="nuevo"] :is(.iw-cg-d, .iw-cg-ley i).n4 { background: var(--expense); }
html[data-look="nuevo"] .iw-cg-pie { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; font-size: var(--fs-s); color: var(--text-muted); }
html[data-look="nuevo"] .iw-cg-ley { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; color: var(--text-faint); }
html[data-look="nuevo"] .iw-cg-ley i { width: 10px; height: 10px; border-radius: 3px; }
html[data-look="nuevo"] .iw-s { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
html[data-look="nuevo"] .iw-sd { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0 5px; border: none; border-radius: 12px; background: none; color: var(--text); font: inherit; cursor: pointer; }
html[data-look="nuevo"] .iw-sd-l { font-size: 10.5px; font-weight: 600; color: var(--text-faint); }
html[data-look="nuevo"] .iw-sd b { font-family: var(--font-display); font-size: 16px; font-weight: 650; }
html[data-look="nuevo"] .iw-sd.pasado b { color: var(--text-faint); }
html[data-look="nuevo"] .iw-sd.hoy { background: var(--accent-soft); }
html[data-look="nuevo"] .iw-sd.hoy b, html[data-look="nuevo"] .iw-sd.hoy .iw-sd-l { color: var(--accent); }
html[data-look="nuevo"] .iw-sd .pts { display: flex; gap: 3px; height: 6px; }
html[data-look="nuevo"] .iw-sd .pts i { width: 6px; height: 6px; border-radius: 50%; }
html[data-look="nuevo"] .iw-s-prox { display: flex; align-items: center; gap: 8px; width: 100%; margin-top: 10px; padding: 10px 12px; border: none; border-radius: var(--r-m); background: var(--paper-sunken); color: var(--text); font: inherit; font-size: var(--fs-s); cursor: pointer; text-align: left; }
html[data-look="nuevo"] .iw-s-prox i { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
html[data-look="nuevo"] .iw-s-prox span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-look="nuevo"] .iw-semana + .iw-s-prox { margin-top: 0; }
/* tanda 3: Ingresos y gastos, Inversiones y arrastrar */
html[data-look="nuevo"] .iw-mbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; align-items: end; }
html[data-look="nuevo"] .iw-mbs.doce { grid-template-columns: repeat(12, 1fr); gap: 3px; }
html[data-look="nuevo"] .iw-mb { display: flex; flex-direction: column; align-items: center; gap: 4px; border: none; background: none; padding: 0; color: var(--text-faint); font: inherit; cursor: pointer; min-width: 0; }
html[data-look="nuevo"] .iw-mb-b { display: flex; align-items: flex-end; justify-content: center; gap: 2px; height: 72px; width: 100%; }
html[data-look="nuevo"] .iw-mb-b i { width: 38%; max-width: 12px; min-height: 2px; border-radius: 4px 4px 1px 1px; opacity: .55; }
html[data-look="nuevo"] .iw-mb.act .iw-mb-b i { opacity: 1; }
html[data-look="nuevo"] :is(.iw-mb-b, .iw-mb-ley) i.ing { background: var(--income); }
html[data-look="nuevo"] :is(.iw-mb-b, .iw-mb-ley) i.gas { background: var(--expense); }
html[data-look="nuevo"] .iw-mb-l { font-size: 11px; font-weight: 600; }
html[data-look="nuevo"] .iw-mb.act .iw-mb-l { color: var(--text); font-weight: 750; }
html[data-look="nuevo"] .iw-mb-pie { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; font-size: var(--fs-s); color: var(--text-muted); }
html[data-look="nuevo"] .iw-mb-ley { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; }
html[data-look="nuevo"] .iw-mb-ley i { width: 9px; height: 9px; border-radius: 3px; margin-left: 4px; }
html[data-look="nuevo"] :is(.iw-mb-pie, .iw-invb, .iw-j-l) b.bueno, html[data-look="nuevo"] .iw-inv-c .bueno { color: var(--income); }
html[data-look="nuevo"] :is(.iw-mb-pie, .iw-invb) b.malo, html[data-look="nuevo"] .iw-inv-c .malo { color: var(--expense); }
html[data-look="nuevo"] .iw-invb { --lc: var(--income); }
html[data-look="nuevo"] .iw-invb.baja { --lc: var(--expense); }
html[data-look="nuevo"] .iw-inv-c { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
html[data-look="nuevo"] .iw-inv-c span { font-size: var(--fs-s); font-weight: 600; }
html[data-look="nuevo"] .iw-inv-g { display: block; width: 100%; height: 64px; margin: 8px 0 6px; }
html[data-look="nuevo"] .iw-inv-g .ln { fill: none; stroke: var(--lc); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
html[data-look="nuevo"] .iw-inv-g .ar { fill: var(--lc); opacity: .1; stroke: none; }
html[data-look="nuevo"] .iw-grip { display: grid; place-items: center; width: 30px; height: 44px; margin-left: -8px; color: var(--text-faint); cursor: grab; touch-action: none; flex: 0 0 auto; }
html[data-look="nuevo"] .iw-grip svg { width: 16px; height: 16px; }
html[data-look="nuevo"] .iw-ed-f { transition: transform .18s var(--ease-out); background: var(--paper-raised); position: relative; }
html[data-look="nuevo"] .iw-ed-f.arrastra { transition: none; z-index: 2; box-shadow: var(--shadow); border-radius: var(--r-m); }
html[data-look="nuevo"] .iw-cab-s > b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
html[data-look="nuevo"] .iw-ed-f .icon-btn.sm { width: 38px; height: 38px; }
html[data-look="nuevo"] .iw-cat-vacio { grid-column: 1 / -1; }

/* ===== Mes cerrado como informe (29/10, docs/23 §4) ===== */
html[data-look="nuevo"] .bal-card { padding: 14px 16px 16px; border-radius: var(--r-l); }
html[data-look="nuevo"] .bal-cab { display: flex; align-items: center; gap: 8px; font-weight: 650; font-family: var(--font-display); font-size: var(--fs-m); }
html[data-look="nuevo"] .bal-ic { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); flex: 0 0 auto; }
html[data-look="nuevo"] .bal-ic svg { width: 15px; height: 15px; }
html[data-look="nuevo"] .bal-tag { margin-left: auto; font-family: var(--font-ui); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: var(--r-pill); background: var(--paper-sunken); color: var(--text-muted); }
html[data-look="nuevo"] .bal-v { font-family: var(--font-display); font-size: 40px; font-weight: var(--num-peso); letter-spacing: -.02em; margin: 10px 0 2px; }
html[data-look="nuevo"] .bal-v.pos { color: var(--income); }
html[data-look="nuevo"] .bal-v.neg { color: var(--expense); }
html[data-look="nuevo"] .bal-frase { margin: 2px 0 12px; color: var(--text-muted); font-size: var(--fs-s); line-height: 1.4; }
html[data-look="nuevo"] .bal-barra { margin-bottom: 12px; }
html[data-look="nuevo"] .bal-barra .hero-bar { display: flex; }
html[data-look="nuevo"] .bal-barra .hero-bar .g, html[data-look="nuevo"] .bal-barra .hero-ley i.g { background: var(--expense); }
html[data-look="nuevo"] .bal-barra .hero-bar .a, html[data-look="nuevo"] .bal-barra .hero-ley i.a { background: var(--savings); }
html[data-look="nuevo"] .bal-barra .hero-bar .d, html[data-look="nuevo"] .bal-barra .hero-ley i.d { background: var(--debt); }
html[data-look="nuevo"] .bal-barra .hero-bar .q, html[data-look="nuevo"] .bal-barra .hero-ley i.q { background: var(--income); }
html[data-look="nuevo"] .bal-barra .hero-ley { color: var(--text-muted); margin-top: 8px; }
html[data-look="nuevo"] .bal-barra .hero-ley b { color: var(--text); }
html[data-look="nuevo"] .bal-cels { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
html[data-look="nuevo"] .bal-cel { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 10px 12px; border: none; border-radius: var(--r-m); background: var(--paper-sunken); color: var(--text); font: inherit; cursor: pointer; text-align: left; min-width: 0; }
html[data-look="nuevo"] .bal-cel-l { font-size: 12px; color: var(--text-muted); }
html[data-look="nuevo"] .bal-cel b { font-family: var(--font-display); font-size: 18px; font-weight: var(--num-peso); }
html[data-look="nuevo"] .bal-cel.ing b { color: var(--income); }
html[data-look="nuevo"] .bal-cel .kpi-chip { position: static; }
html[data-look="nuevo"] .kpi-chip.bal-bien { background: var(--income-soft); color: var(--income); }
html[data-look="nuevo"] .kpi-chip.bal-mal { background: var(--expense-soft); color: var(--expense); }
html[data-look="nuevo"] .bal-frente { padding: 12px 16px 14px; margin-top: var(--sp-3); border-radius: var(--r-l); }
html[data-look="nuevo"] .bal-frente .bal-cab { margin-bottom: 6px; }
html[data-look="nuevo"] .bal-lin { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; border-top: 1px solid var(--line); font-size: var(--fs-s); line-height: 1.4; }
html[data-look="nuevo"] .bal-lin:first-of-type { border-top: none; }
html[data-look="nuevo"] .bal-lin-ic { color: var(--text-faint); flex: 0 0 auto; margin-top: 1px; }
html[data-look="nuevo"] .bal-lin-ic svg { width: 16px; height: 16px; }

/* ===== Informes (29/10, docs/23 §2) ===== */
html[data-look="nuevo"] .inf-cab { display: flex; align-items: center; justify-content: space-between; }
html[data-look="nuevo"] .inf-cab h2 { margin: 0; }
html[data-look="nuevo"] .inf-tabs { margin: 10px 0 8px; }
html[data-look="nuevo"] .inf-nav { display: flex; align-items: center; gap: 8px; margin: 6px 0 10px; }
html[data-look="nuevo"] .inf-nav-t { flex: 1; text-align: center; display: flex; flex-direction: column; }
html[data-look="nuevo"] .inf-nav-t b { font-family: var(--font-display); font-size: var(--fs-l); }
html[data-look="nuevo"] .inf-nav-t span { font-size: var(--fs-s); color: var(--text-muted); }
html[data-look="nuevo"] .inf-nav .icon-btn:disabled { opacity: .3; }
html[data-look="nuevo"] .inf-tit { background: var(--accent-soft); border: none; }
html[data-look="nuevo"] .inf-k { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
html[data-look="nuevo"] .inf-tit p { margin: 6px 0 0; font-family: var(--font-display); font-size: 19px; font-weight: 650; line-height: 1.3; color: var(--text); }
html[data-look="nuevo"] .inf-aviso { display: block; margin-top: 8px; font-size: var(--fs-s); color: var(--text-muted); }
html[data-look="nuevo"] .inf-sec { margin-top: var(--sp-4); }
html[data-look="nuevo"] .inf-sec-t { display: flex; align-items: center; gap: 8px; font-weight: 650; font-family: var(--font-display); margin: 0 2px 8px; }
html[data-look="nuevo"] .inf-sec-t svg { width: 16px; height: 16px; color: var(--accent); }
html[data-look="nuevo"] .inf-sec .bal-lin:first-of-type { border-top: none; }
html[data-look="nuevo"] .inf-cifs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
html[data-look="nuevo"] .inf-cif { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: var(--r-m); background: var(--paper-sunken); min-width: 0; }
html[data-look="nuevo"] .inf-cif > span { font-size: 12px; color: var(--text-muted); }
html[data-look="nuevo"] .inf-cif b { font-family: var(--font-display); font-size: 18px; font-weight: var(--num-peso); }
html[data-look="nuevo"] .inf-cif small { font-size: 11.5px; color: var(--text-faint); }
html[data-look="nuevo"] .inf-cif.ing b { color: var(--income); }
html[data-look="nuevo"] .inf-cif.bal { grid-column: 1 / -1; background: var(--paper-raised); border: 1px solid var(--line); }
html[data-look="nuevo"] .inf-prev { margin-top: var(--sp-4); padding: 12px 14px; border: 1.5px dashed var(--line); border-radius: var(--r-m); font-size: var(--fs-s); color: var(--text-muted); line-height: 1.4; }
html[data-look="nuevo"] .inf-pie { margin: var(--sp-4) 2px 10px; font-size: 12px; color: var(--text-faint); line-height: 1.4; }
html[data-look="nuevo"] .inf-togs { padding: 4px 14px; }
html[data-look="nuevo"] .inf-tog { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
html[data-look="nuevo"] .inf-tog:first-child { border-top: none; }
html[data-look="nuevo"] .inf-tog span { display: flex; flex-direction: column; }
html[data-look="nuevo"] .inf-tog small { color: var(--text-muted); font-size: var(--fs-s); }
html[data-look="nuevo"] .inf-tog .switch { flex: 0 0 auto; }
html[data-look="nuevo"] .inf-lista { padding: 4px 12px; }
html[data-look="nuevo"] .inf-li { display: flex; align-items: center; gap: 8px; width: 100%; padding: 10px 0; border: none; border-top: 1px solid var(--line); background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
html[data-look="nuevo"] .inf-li:first-child { border-top: none; }
html[data-look="nuevo"] .inf-li > span:first-child { flex: 1; display: flex; flex-direction: column; }
html[data-look="nuevo"] .inf-li small { color: var(--text-muted); font-size: var(--fs-s); }
html[data-look="nuevo"] .inf-li svg { width: 16px; height: 16px; color: var(--text-faint); }
html[data-look="nuevo"] .inf-ini { display: flex; align-items: center; gap: 12px; padding: 12px 10px 12px 14px; margin-top: var(--sp-4); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); background: var(--accent-soft); }
html[data-look="nuevo"] .inf-ini-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); flex: 0 0 auto; }
html[data-look="nuevo"] .inf-ini-ic svg { width: 18px; height: 18px; }
html[data-look="nuevo"] .inf-ini-x { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; border: none; background: none; padding: 0; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
html[data-look="nuevo"] .inf-ini-x span { font-size: var(--fs-s); color: var(--text-muted); line-height: 1.35; }
html[data-look="nuevo"] .bal-inf { margin-top: var(--sp-3); }
html[data-look="nuevo"] .iw-inf { margin: 0; font-size: var(--fs-m); line-height: 1.4; }
html[data-look="nuevo"] .inf-cab { padding-right: 46px; }
html[data-look="nuevo"] .bal-tag { white-space: nowrap; }
html[data-look="nuevo"] .plan-recordar { margin-top: 8px; text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 6px; }

/* ===== Compartir mi agenda (30/10, docs/24 §4) ===== */
html[data-look="nuevo"] .agc-caras { display: flex; gap: 6px; overflow-x: auto; padding: 4px 2px 8px; margin: 0 0 4px; scrollbar-width: none; }
html[data-look="nuevo"] .agc-cara { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--paper-raised); color: var(--text-muted); font: inherit; font-size: var(--fs-s); cursor: pointer; flex: 0 0 auto; opacity: .55; }
html[data-look="nuevo"] .agc-cara.on { opacity: 1; color: var(--text); border-color: color-mix(in srgb, var(--pc, var(--accent)) 60%, transparent); background: color-mix(in srgb, var(--pc, var(--accent)) 12%, var(--paper-raised)); }
html[data-look="nuevo"] .agc-cara.yo { cursor: default; }
html[data-look="nuevo"] .agc-laven { display: flex; align-items: center; gap: 8px; width: 100%; margin: 0 0 8px; padding: 8px 12px; border: none; border-radius: var(--r-m); background: var(--paper-sunken); color: var(--text-muted); font: inherit; font-size: var(--fs-s); cursor: pointer; text-align: left; }
html[data-look="nuevo"] .agc-laven span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-look="nuevo"] .agc-laven svg { width: 15px; height: 15px; flex: 0 0 auto; }
html[data-look="nuevo"] .agc-list { margin-top: 8px; }
html[data-look="nuevo"] .agc-fila { display: flex; align-items: center; gap: 10px; width: 100%; border: none; border-left: 3px solid var(--pc); background: var(--paper-raised); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
html[data-look="nuevo"] .agc-fila .main { display: flex; flex-direction: column; min-width: 0; }
html[data-look="nuevo"] .agc-fila.ocupada { background: repeating-linear-gradient(135deg, var(--paper-raised) 0 8px, var(--paper-sunken) 8px 16px); }
html[data-look="nuevo"] .agc-fila.ocupada .ttl { font-style: italic; color: var(--text-muted); }
html[data-look="nuevo"] .agc-perm { padding: 12px 14px; margin-bottom: 10px; }
html[data-look="nuevo"] .agc-perm-cab { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
html[data-look="nuevo"] .agc-quitar { margin-top: 8px; color: var(--expense); display: inline-flex; align-items: center; gap: 4px; }
html[data-look="nuevo"] .agc-quitar svg { width: 14px; height: 14px; }
html[data-look="nuevo"] .agc-lista { padding: 4px 12px; }
html[data-look="nuevo"] .agc-li { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 0; border: none; border-top: 1px solid var(--line); background: none; color: var(--text); font: inherit; text-align: left; }
html[data-look="nuevo"] button.agc-li { cursor: pointer; }
html[data-look="nuevo"] .agc-li:first-child { border-top: none; }
html[data-look="nuevo"] .agc-li > span:not(.avatar):not(.agc-gr) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
html[data-look="nuevo"] .agc-li small { font-size: var(--fs-s); color: var(--text-muted); }
html[data-look="nuevo"] .agc-li > svg { width: 16px; height: 16px; color: var(--text-faint); }
html[data-look="nuevo"] .agc-gr { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); flex: 0 0 auto; }
html[data-look="nuevo"] .agc-gr svg { width: 15px; height: 15px; }
html[data-look="nuevo"] .agc-niveles { display: flex; flex-direction: column; gap: 6px; }
html[data-look="nuevo"] .agc-revisar { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-s); line-height: 1.4; color: var(--text-muted); margin: 12px 0; }
html[data-look="nuevo"] .agc-revisar svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--accent); }
html[data-look="nuevo"] .cal2-card ~ .agc-laven, html[data-look="nuevo"] .empty-mini + .agc-laven, html[data-look="nuevo"] .list + .agc-laven { margin-top: 12px; }

/* docs/27 tanda 0: quién lo apuntó y quién lo cambió */
html[data-look="nuevo"] .comp-autor { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 12.5px; color: var(--text-faint); line-height: 1.4; }
html[data-look="nuevo"] .comp-autor svg { width: 14px; height: 14px; flex: none; }

/* docs/27 tanda 1: historial del grupo */
html[data-look="nuevo"] .jv-enlaces { display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: center; }
html[data-look="nuevo"] .hist-enlace .jv-nuevas { margin-left: 6px; }
html[data-look="nuevo"] .hist-chips { margin: 0 0 10px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
html[data-look="nuevo"] .hist-chips .chip { min-height: 40px; flex: none; display: inline-flex; align-items: center; gap: 6px; }
html[data-look="nuevo"] .hist-chips .chip svg { width: 15px; height: 15px; }
html[data-look="nuevo"] .hist-chips .avatar.mini { width: 20px; height: 20px; font-size: 10px; }
html[data-look="nuevo"] .hist-dia { font-size: 12.5px; font-weight: 700; color: var(--text-faint); margin: 14px 2px 6px; }
html[data-look="nuevo"] .hist-dia:first-letter { text-transform: uppercase; }
html[data-look="nuevo"] .hist-card { padding: 4px 0; }
html[data-look="nuevo"] .hist-f { display: flex; align-items: center; gap: 4px; padding-right: 10px; }
html[data-look="nuevo"] .hist-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: none; border: 0; color: inherit; text-align: left; font: inherit; }
html[data-look="nuevo"] .hist-f.con-rec .hist-main { padding-right: 4px; }
html[data-look="nuevo"] .hist-rec { flex: none; display: inline-flex; align-items: center; gap: 5px; min-height: 36px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--accent); background: none; color: var(--accent); font: inherit; font-size: 13px; font-weight: 600; }
html[data-look="nuevo"] .hist-rec svg { width: 14px; height: 14px; }
html[data-look="nuevo"] .hist-f + .hist-f { border-top: 1px solid var(--border); }
html[data-look="nuevo"] .hist-cara { position: relative; flex: none; }
html[data-look="nuevo"] .hist-cara .avatar { width: 36px; height: 36px; }
html[data-look="nuevo"] .hist-ins { position: absolute; right: -4px; bottom: -4px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 0 0 2px var(--surface, var(--card)); }
html[data-look="nuevo"] .hist-ins svg { width: 11px; height: 11px; }
html[data-look="nuevo"] .hist-ins.cr { background: var(--income); }
html[data-look="nuevo"] .hist-ins.ed { background: var(--accent); }
html[data-look="nuevo"] .hist-ins.bo { background: var(--expense); }
html[data-look="nuevo"] .hist-ins.re { background: #8E6CF0; }
html[data-look="nuevo"] .hist-x { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
html[data-look="nuevo"] .hist-x b { font-size: 14px; line-height: 1.3; }
html[data-look="nuevo"] .hist-x > span { font-size: 12.5px; color: var(--text-faint); }
html[data-look="nuevo"] .hist-x s { opacity: .75; }
html[data-look="nuevo"] .hist-x > span b { font-size: 12.5px; color: var(--text); }
html[data-look="nuevo"] .hist-v { flex: none; text-align: right; display: flex; flex-direction: column; font-size: 11.5px; color: var(--text-faint); }
html[data-look="nuevo"] .hist-v b { font-size: 14px; }
html[data-look="nuevo"] .hist-mas { margin-top: 10px; }
html[data-look="nuevo"] .hist-pie { margin-top: 12px; text-align: center; }
html[data-look="nuevo"] .hist-tabla { padding: 6px 14px; }
html[data-look="nuevo"] .hist-tf { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 8px; padding: 9px 0; font-size: 13.5px; align-items: center; }
html[data-look="nuevo"] .hist-tf:has(> :nth-child(2):last-child) { grid-template-columns: 1fr auto; }
html[data-look="nuevo"] .hist-tf + .hist-tf { border-top: 1px solid var(--border); }
html[data-look="nuevo"] .hist-tf.cab { font-size: 11.5px; color: var(--text-faint); font-weight: 600; }
html[data-look="nuevo"] .hist-tf s { color: var(--text-faint); }
html[data-look="nuevo"] .hist-tf > :not(:first-child) { text-align: right; }
html[data-look="nuevo"] .hist-saldo { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 14px; margin: 10px 0; background: var(--surface-2, rgba(127,127,127,.1)); font-size: 14px; }
html[data-look="nuevo"] .hist-saldo.de b { color: var(--expense); }
html[data-look="nuevo"] .hist-saldo.te b { color: var(--income); }
/* 31/10: en Movimientos, los iconos «Compartido» y «Con ticket» quedan siempre a la vista; el texto se corta con «…» */
html[data-look="nuevo"] .row .ttl.con-ic { display: flex; align-items: center; }
html[data-look="nuevo"] .row .ttl.con-ic .ttl-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-look="nuevo"] .row .ttl.con-ic .comp-tag { flex: none; }

/* docs/29 tanda 0: viaje (gasto por día y «Cerrar el viaje») */
html[data-look="nuevo"] .tema-dia { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: -2px 0 10px; }
html[data-look="nuevo"] .tema-dia svg { width: 15px; height: 15px; flex: none; }
html[data-look="nuevo"] .tema-cierre { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; }
html[data-look="nuevo"] .tema-cierre b { font-size: 15.5px; }
html[data-look="nuevo"] .tema-cierre > span { color: var(--text-dim); line-height: 1.45; }
html[data-look="nuevo"] .tema-cierre svg { width: 15px; height: 15px; vertical-align: -3px; }
html[data-look="nuevo"] .tema-cierre .tema-cierre-av { color: var(--warn); }
html[data-look="nuevo"] .tema-cierre .tema-cierre-ok { color: var(--income); }
html[data-look="nuevo"] .tema-cierre .actions { margin-top: 6px; }

/* docs/29 tanda 0: «¿Pagaste en otra moneda?» */
html[data-look="nuevo"] .mon-box { margin: 2px 0 12px; }
html[data-look="nuevo"] .mon-abrir { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; }
html[data-look="nuevo"] .mon-abrir svg, html[data-look="nuevo"] .mon-cab svg { width: 17px; height: 17px; }
html[data-look="nuevo"] .mon-caja { border: 1px solid var(--line); background: var(--paper-raised); border-radius: 16px; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
html[data-look="nuevo"] .mon-cab { display: flex; justify-content: space-between; align-items: center; }
html[data-look="nuevo"] .mon-cab b { display: inline-flex; align-items: center; gap: 6px; }
html[data-look="nuevo"] .mon-fila { display: flex; gap: 8px; align-items: center; }
html[data-look="nuevo"] .mon-fila select { flex: 1 1 55%; min-width: 0; min-height: 44px; }
html[data-look="nuevo"] .mon-fila input { flex: 1 1 45%; min-width: 0; min-height: 44px; font-size: 18px; font-weight: 700; text-align: right; }
html[data-look="nuevo"] .mon-mano span { flex: none; color: var(--text-dim); font-size: 14px; }
html[data-look="nuevo"] .mon-res { font-size: 14px; color: var(--text-dim); min-height: 20px; }
html[data-look="nuevo"] .mon-res b { color: var(--text); font-size: 16px; }
html[data-look="nuevo"] .mon-aviso { display: block; color: var(--warn); font-size: 12.5px; margin-top: 2px; }
html[data-look="nuevo"] .mon-modo button { font-size: 12.5px; }

/* docs/30 tanda 1: importar en una cuenta */
html[data-look="nuevo"] .imp-cuenta { margin: 0 0 12px; display: flex; flex-direction: column; gap: 6px; }
html[data-look="nuevo"] .imp-cuenta > label { font-weight: 600; font-size: 14px; }
html[data-look="nuevo"] .imp-cuentas .chip { min-height: 40px; display: inline-flex; align-items: center; gap: 6px; }
html[data-look="nuevo"] .imp-cuenta .dot, html[data-look="nuevo"] .imp-file .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin: 0 4px 0 2px; }
html[data-look="nuevo"] .imp-mismo { display: flex; gap: 8px; margin-top: 6px; }
html[data-look="nuevo"] .imp-mismo .chip { min-height: 36px; }
html[data-look="nuevo"] .cuenta-imp { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; margin: 6px 0 4px; }
html[data-look="nuevo"] .cuenta-imp svg { width: 16px; height: 16px; }
html[data-look="nuevo"] .imp-saldo { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; line-height: 1.45; }
html[data-look="nuevo"] .imp-saldo > span { color: var(--text-dim); }
html[data-look="nuevo"] .imp-saldo .actions { margin-top: 4px; }
html[data-look="nuevo"] .imp-note.ok { color: var(--income); }

/* 06/11: viaje — pregunta al compartir y «Añadir gastos ya apuntados» */
html[data-look="nuevo"] .tema-pregunta { margin-top: 8px; padding: 10px 12px; border-radius: 14px; background: var(--paper-raised); border: 1px solid var(--accent); display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
html[data-look="nuevo"] .tema-pregunta b { display: flex; gap: 6px; align-items: flex-start; line-height: 1.35; }
html[data-look="nuevo"] .tema-pregunta svg { width: 16px; height: 16px; flex: none; margin-top: 1px; }
html[data-look="nuevo"] .tema-preg-b { display: flex; gap: 8px; }
html[data-look="nuevo"] .tema-preg-b .chip { min-height: 40px; }
html[data-look="nuevo"] .tema-meter-b { margin: 4px 0 10px; }
html[data-look="nuevo"] .tema-meter { display: flex; flex-direction: column; gap: 8px; }
html[data-look="nuevo"] .tema-sel-lista { display: flex; flex-direction: column; }
html[data-look="nuevo"] .tema-sel-f { display: flex; align-items: center; gap: 10px; padding: 10px 2px; min-height: 48px; }
html[data-look="nuevo"] .tema-sel-f + .tema-sel-f { border-top: 1px solid var(--line); }
html[data-look="nuevo"] .tema-sel-f input { width: 20px; height: 20px; flex: none; }
html[data-look="nuevo"] .tema-sel-x { flex: 1; min-width: 0; display: flex; flex-direction: column; }
html[data-look="nuevo"] .tema-sel-x b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-look="nuevo"] .tema-sel-x span { font-size: 12.5px; color: var(--text-faint); }
/* 08/11 · docs/32: pulido para el móvil */
html[data-look="nuevo"] body.en-agenda .tb-volver { display: inline-grid; }
html[data-look="nuevo"] .inf-ini-1 { padding: 10px 12px; min-height: 56px; align-items: center; }
html[data-look="nuevo"] .inf-ini-1 .inf-ini-x { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 8px; }
html[data-look="nuevo"] .inf-ini-1 .inf-ini-x b { font-size: 14.5px; }
html[data-look="nuevo"] .inf-ini-1 .inf-ini-x svg { width: 18px; height: 18px; color: var(--text-faint); flex: none; }
html[data-look="nuevo"] .agc-fin { display: inline-flex; gap: 6px; align-items: center; margin: 14px 0 4px; }
html[data-look="nuevo"] .agc-fin svg { width: 16px; height: 16px; }
/* A4: zona de toque de 44 px en enlaces y chips sin cambiar el dibujo */
html[data-look="nuevo"] .link, html[data-look="nuevo"] .chip { position: relative; }
html[data-look="nuevo"] .link::after { content: ''; position: absolute; inset: -10px -6px; }
html[data-look="nuevo"] .chip::after { content: ''; position: absolute; inset: -6px -2px; }
/* A12: desplegables con el estilo de la app */
html[data-look="nuevo"] select { -webkit-appearance: none; appearance: none; border-radius: 14px; border: 1px solid var(--line); background-color: var(--field, var(--paper-sunken)); color: var(--text);
  padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; min-height: 44px; }
/* A5: nombre del grupo en 2 líneas como máximo */
html[data-look="nuevo"] .jv-gcab-t h2 { font-size: 22px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
html[data-look="nuevo"] .tema-chips { padding-right: 20px; }
/* B2: ocultar cifras (en las pantallas; los formularios se ven siempre) */
html.cifras-ocultas #content .tnum, html.cifras-ocultas #content .num, html.cifras-ocultas #content .cifra-txt { filter: blur(8px); user-select: none; }
html.cifras-ocultas #content .ojo-btn { color: var(--accent); }
html[data-look="nuevo"] .ojo-btn svg { width: 18px; height: 18px; }
/* A10: Movimientos vacío */
html[data-look="nuevo"] .mov-vacio { text-align: center; padding: 28px 20px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
html[data-look="nuevo"] .mov-vacio-ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
html[data-look="nuevo"] .mov-vacio-ic svg { width: 26px; height: 26px; }
html[data-look="nuevo"] .mov-vacio p { margin: 0 0 8px; color: var(--text-muted); font-size: 14px; }
html[data-look="nuevo"] .mov-vacio .btn { width: 100%; }
html[data-look="nuevo"] .tu2-borrar { color: var(--expense); }
html[data-look="nuevo"] .tu2-borrar .ic { color: var(--expense); }
/* 08/11 · App de Android (Capacitor, borde a borde): la barra de arriba empieza en 0 y rellena el hueco de la hora;
   así el contenido no se ve pasar por detrás de la hora al bajar (docs/32 §3.2) */
html.nativo:root { padding-top: 0; }
html.nativo .topbar { top: 0; padding-top: calc(14px + env(safe-area-inset-top, 0px)); }
html.nativo[data-look="nuevo"] .topbar { padding-top: calc(12px + env(safe-area-inset-top, 0px)); }
html.nativo body { overscroll-behavior-y: none; }
/* Bloqueo con huella: tapa todo hasta desbloquear */
.bloqueo { display: none; }
html.bloqueada .bloqueo { display: flex; position: fixed; inset: 0; z-index: 9999; background: var(--paper); flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; text-align: center; }
html.bloqueada .bloqueo svg { width: 40px; height: 40px; color: var(--accent); }
.descartar { position: fixed; inset: 0; z-index: 400; background: rgba(0,0,0,.45); display: flex; align-items: flex-end; justify-content: center; }
.descartar-c { background: var(--paper-raised, #fff); color: var(--text); width: 100%; max-width: 520px; border-radius: 20px 20px 0 0; padding: 20px 20px calc(20px + env(safe-area-inset-bottom, 0px)); }
.descartar-c b { font-size: 18px; } .descartar-c p { color: var(--text-muted); margin: 6px 0 14px; }

/* ===== «Lo básico» y «Descubre PalomApp» (10/11, docs/38) ===== */
/* Primeros pasos */
html[data-look="nuevo"] .empieza.pp { padding: 10px 12px 12px; margin-top: 12px; }
html[data-look="nuevo"] .empieza.pp .empieza-cab { align-items: center; margin-bottom: 2px; }
html[data-look="nuevo"] .empieza.pp h3 { margin: 0; font-size: 17px; }
html[data-look="nuevo"] .pp-cab-d { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--text-faint); }
html[data-look="nuevo"] .pp-cab-d .link { min-height: 36px; }
html[data-look="nuevo"] .pp-fila { min-height: 52px; padding: 7px 10px; margin-top: 6px; gap: 10px; }
html[data-look="nuevo"] .pp-fila b { font-size: 14.5px; }
html[data-look="nuevo"] .pp-fila .d { display: block; line-height: 1.3; font-size: 12.5px; }
html[data-look="nuevo"] .pp-fila.hecha { cursor: default; }
html[data-look="nuevo"] .pp-fila.hecha b { text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--text) 35%, transparent); color: var(--text-muted); }
html[data-look="nuevo"] .pp-c { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; }
html[data-look="nuevo"] .pp-c.on { border: 0; background: var(--accent); color: var(--accent-ink, #fff); }
html[data-look="nuevo"] .pp-c .i { width: 15px; height: 15px; }
html[data-look="nuevo"] .pp-linea { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; margin-top: var(--sp-4); padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--paper-raised); color: var(--text); font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; }
html[data-look="nuevo"] .pp-linea .i { width: 16px; height: 16px; color: var(--text-faint); }
/* Sugerencia del día y aviso de los 30 días */
html[data-look="nuevo"] .sug-card { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px 44px 12px 14px; margin-top: var(--sp-4); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); background: var(--accent-soft); }
html[data-look="nuevo"] .sug-ic { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink, #fff); }
html[data-look="nuevo"] .sug-ic .i { width: 19px; height: 19px; }
html[data-look="nuevo"] .sug-x { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
html[data-look="nuevo"] .sug-x b { font-size: 15px; }
html[data-look="nuevo"] .sug-x > span { font-size: 13px; color: var(--text-muted); line-height: 1.4; }
html[data-look="nuevo"] .sug-b { display: flex; align-items: center; gap: 14px; margin-top: 8px; flex-wrap: wrap; }
html[data-look="nuevo"] .sug-b .btn, html[data-look="nuevo"] .sug-b .link { min-height: 44px; }
html[data-look="nuevo"] .sug-cerrar { position: absolute; top: 6px; right: 6px; }
/* La cifra para quien aún no apunta ingresos */
html[data-look="nuevo"] .hero-juntos { margin-top: 2px; }
html[data-look="nuevo"] .hero-cobras { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; margin-top: 2px; padding: 0; font-size: 13.5px; text-align: left; }
html[data-look="nuevo"] .hero-cobras .i { width: 14px; height: 14px; flex: none; }
/* Línea «Descubre PalomApp» (Inicio) y tarjeta (Tú) */
html[data-look="nuevo"] .desc-linea { justify-content: flex-start; gap: 12px; margin: 12px 0 4px; padding: 9px 14px; border-style: solid; color: var(--text); text-align: left; }
/* «Lo básico»: Inicio del primer día sin scroll a 375 × 667 (lo justo para no quedar debajo del botón +) */
html[data-look="nuevo"] body.ini-basico main#content { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
html[data-look="nuevo"] .desc-linea > .i, html[data-look="nuevo"] .tu2-desc .ic .i { color: var(--accent); width: 20px; height: 20px; flex: none; }
html[data-look="nuevo"] .desc-l-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
html[data-look="nuevo"] .desc-l-t b { font-size: 14.5px; font-weight: 650; }
html[data-look="nuevo"] .desc-l-t small { font-size: 12.5px; font-weight: 500; color: var(--text-faint); }
html[data-look="nuevo"] .dl-corto { display: none; }
@media (max-width: 399px) { html[data-look="nuevo"] .dl-largo { display: none; } html[data-look="nuevo"] .dl-corto { display: inline; } } /* el título largo no cabe en una línea por debajo de 400 px */
html[data-look="nuevo"] .desc-barra { display: block; height: 4px; margin-top: 4px; border-radius: 2px; background: var(--paper-sunken); overflow: hidden; }
html[data-look="nuevo"] .desc-barra > i { display: block; height: 100%; border-radius: 2px; background: var(--accent); }
html[data-look="nuevo"] .tu2-desc { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 14px 16px; border-radius: var(--radius-m); background: var(--accent-soft); border: 1.5px solid var(--accent); color: var(--text); font: inherit; cursor: pointer; }
html[data-look="nuevo"] .tu2-desc .ic { flex: none; display: grid; place-items: center; width: 24px; }
html[data-look="nuevo"] .tu2-desc .chev { color: var(--text-faint); }
html[data-look="nuevo"] .tu-mas-t { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
html[data-look="nuevo"] .tu-mas-t small { font-size: 12.5px; color: var(--text-faint); font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Catálogo */
html[data-look="nuevo"] .desc-cuenta { margin: -4px 0 8px; font-size: 13.5px; color: var(--text-muted); }
html[data-look="nuevo"] .desc-tramos { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; margin-bottom: 10px; }
html[data-look="nuevo"] .desc-tramos i { height: 5px; border-radius: 3px; background: var(--paper-sunken); }
html[data-look="nuevo"] .desc-tramos i.on { background: var(--accent); }
html[data-look="nuevo"] .desc-fila { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 8px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
html[data-look="nuevo"] .desc-fila:last-child { border-bottom: 0; }
html[data-look="nuevo"] .desc-ic { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
html[data-look="nuevo"] .desc-ic > .i { width: 19px; height: 19px; }
html[data-look="nuevo"] .desc-ok { position: absolute; right: -2px; bottom: -2px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--income); color: #fff; border: 2px solid var(--paper-raised, var(--paper)); }
html[data-look="nuevo"] .desc-ok .i { width: 10px; height: 10px; }
html[data-look="nuevo"] .desc-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
html[data-look="nuevo"] .desc-t b { font-size: 14.5px; }
html[data-look="nuevo"] .desc-t span { font-size: 12.5px; color: var(--text-faint); line-height: 1.35; }
html[data-look="nuevo"] .desc-fila .btn { flex: none; min-height: 44px; min-width: 76px; }
html[data-look="nuevo"] .desc-pie { margin-top: 12px; }
/* Botón +: «Más opciones» plegado */
html[data-look="nuevo"] .crear-grid.crear-4.dos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html[data-look="nuevo"] .crear-mas { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 56px; margin-top: 14px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper-sunken); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
html[data-look="nuevo"] .crear-mas .crear-ic { width: 32px; height: 32px; border-radius: 10px; flex: none; }
html[data-look="nuevo"] .crear-mas > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
html[data-look="nuevo"] .crear-mas > span:nth-child(2) b { font-size: 14.5px; }
html[data-look="nuevo"] .crear-mas > span:nth-child(2) span { font-size: 12.5px; color: var(--text-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[data-look="nuevo"] .crear-mas > .i { width: 18px; height: 18px; color: var(--text-faint); flex: none; }
html[data-look="nuevo"] .crear-desc { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 44px; margin-top: 8px; font-size: 13.5px; }
html[data-look="nuevo"] .crear-desc .i { width: 15px; height: 15px; }
/* Bienvenida: «¿Por dónde empiezas?» */
html[data-look="nuevo"] .ob2-puertas { display: flex; flex-direction: column; gap: 10px; margin: 14px 0 16px; }
html[data-look="nuevo"] .ob2-puerta { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 72px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper-raised); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
html[data-look="nuevo"] .ob2-puerta > span:nth-child(2) { flex: 1; min-width: 0; }
html[data-look="nuevo"] .ob2-puerta b { display: block; font-size: 15.5px; }
html[data-look="nuevo"] .ob2-puerta > span:nth-child(2) span { display: block; font-size: 13px; color: var(--text-faint); }
/* Juntos vacío */
html[data-look="nuevo"] .jv-sin-app { font-size: 13px; color: var(--text-faint); }
/* Pistas de primera vez */
html[data-look="nuevo"] .pista { position: fixed; z-index: 60; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--accent); color: var(--accent-ink, #fff); font-size: 13.5px; font-weight: 600; line-height: 1.35; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
html[data-look="nuevo"] .pista::before { content: ''; position: absolute; top: -6px; left: calc(var(--pf, 50%) - 6px); width: 12px; height: 12px; background: inherit; transform: rotate(45deg); border-radius: 2px; }
html[data-look="nuevo"] .pista span { flex: 1; }
html[data-look="nuevo"] .pista .link { flex: none; min-height: 36px; color: inherit; text-decoration: underline; font-weight: 700; }
html[data-look="nuevo"] .jv-tray { display: flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 8px; font-size: 13.5px; }
html[data-look="nuevo"] .jv-tray .i { width: 16px; height: 16px; flex: none; }
/* la línea de Inicio: la barra de progreso va pegada al borde de abajo, para que la línea quede baja */
html[data-look="nuevo"] .desc-linea { position: relative; overflow: hidden; padding: 7px 14px 9px; min-height: 52px; }
html[data-look="nuevo"] .desc-linea .desc-barra { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; margin: 0; border-radius: 0; background: transparent; }
html[data-look="nuevo"] .desc-linea .desc-barra > i { border-radius: 0 2px 2px 0; }
html[data-look="nuevo"] .empieza.pp .empieza-cab { min-height: 34px; }
html[data-look="nuevo"] .empieza.pp { padding-bottom: 10px; }
html[data-look="nuevo"] .pp-fila { min-height: 50px; padding-top: 6px; padding-bottom: 6px; }
html[data-look="nuevo"] .desc-linea .desc-l-t { gap: 1px; }
html[data-look="nuevo"] .pp-t { flex: 1; min-width: 0; }
html[data-look="nuevo"] .pp-t b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[data-look="nuevo"] .hero-cobras { min-height: 32px; color: inherit; opacity: .92; text-decoration: underline; text-underline-offset: 3px; }
html[data-look="nuevo"] .hero-juntos { margin-top: 0; }
html[data-look="nuevo"] .hero-cobras { margin-top: 0; min-height: 30px; }
html[data-look="nuevo"] .crear-mas > span:nth-child(2) span { white-space: normal; line-height: 1.3; }
html[data-look="nuevo"] .desc-todo { margin: 14px 0 6px; }

/* 11/11 (auditoría A3): la barra de botones fija de las hojas llega hasta el borde de abajo (antes asomaba
   contenido por debajo). El hueco del gesto del sistema queda dentro de la barra, con su fondo. */
html[data-look="nuevo"] .sheet .actions.fija { bottom: calc(-1 * (var(--sp-6) + env(safe-area-inset-bottom, 0px))); margin: 18px calc(-1 * var(--sp-5)) calc(-1 * (var(--sp-6) + env(safe-area-inset-bottom, 0px))); padding: 12px var(--sp-5) calc(14px + var(--sp-2) + env(safe-area-inset-bottom, 0px)); border-radius: 0; }
/* 11/11 (A5): el nombre del grupo cabe en dos líneas sin cortarse a la primera palabra */
html[data-look="nuevo"] .jv-gcab-t h2 { font-size: 19px; line-height: 1.22; }
/* 11/11 (A6): el nombre de la categoría en dos líneas, sin «…» («Supermercado», «Restaurantes» se leen enteros) */
html[data-look="nuevo"] .tec-cat-n { white-space: normal; text-overflow: clip; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; hyphens: auto; text-align: center; font-size: 11px; line-height: 1.15; }
@media (max-width: 375px) { html[data-look="nuevo"] .tec-cat-n { font-size: 10.5px; } }
/* 11/11 (A7): zona de toque más alta en enlaces de texto, chips y selectores pequeños, sin cambiar cómo se ven.
   Solo hacia arriba y hacia abajo, para no pisar al de al lado. */
html[data-look="nuevo"] button.link, html[data-look="nuevo"] .chip, html[data-look="nuevo"] .mes-sel, html[data-look="nuevo"] .mov-cuentas-btn { position: relative; }
html[data-look="nuevo"] .chip::after { content: ''; position: absolute; left: 0; right: 0; top: -8px; bottom: -8px; } /* los enlaces ya tienen la suya, más grande (app.css) */

/* ===== 12/11 · arreglos P1 de interfaz y móvil (docs/salud/2026-11-12-diag-interfaz.md, tabla 2.1) ===== */
/* Con el teclado del móvil abierto, el campo enfocado no queda debajo de la barra «Cancelar · Guardar» (app.js: verCampoEnHoja) */
html[data-look="nuevo"] .sheet { scroll-padding-bottom: 110px; scroll-padding-top: 12px; }
/* Botones de las hojas: si no caben, el texto pasa a dos líneas en vez de cortarse; el botón rojo («Borrar mi cuenta»,
   «Cerrar sesión») tiene más sitio que «Cancelar» y ya no se sale por la derecha (app.css le ponía flex: none) */
html[data-look="nuevo"] .sheet .actions .btn { white-space: normal; line-height: 1.15; min-width: 0; text-align: center; }
html[data-look="nuevo"] .sheet .actions .btn.danger.block { flex: 1.6 1 0; }
/* El título de la pestaña nunca se parte («Movimiento / s»): en una línea y, si no cabe (letra grande), «…».
   A 320 px, un poco más pequeño para que «Movimientos» quepa entero */
html[data-look="nuevo"] .tb-l > div { min-width: 0; }
html[data-look="nuevo"] .topbar h1 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 340px) {
  html[data-look="nuevo"] .topbar h1 { font-size: 20px; overflow-wrap: normal; }
  html[data-look="nuevo"] .mes-pill > span:not(.mes-pill-ic) { display: none; } /* solo «Noviembre ▾» */
}
/* Con letra grande, la píldora del mes deja solo «Noviembre ▾» si no cabe con las flechas (medido en «em»: crece con la letra) */
html[data-look="nuevo"] .hero2-top { container-type: inline-size; gap: 4px; } /* con menos de ~306 px (20,4 em) el periodo no cabe entero junto a las flechas: solo «Noviembre ▾» */
@container (max-width: 20.4em) { html[data-look="nuevo"] .mes-pill > span:not(.mes-pill-ic) { display: none; } }
/* Importes: el «€» no se separa de la cifra (salvo textos largos con varias cosas dentro) */
html[data-look="nuevo"] .tnum { white-space: nowrap; }
html[data-look="nuevo"] .tr-res-d, html[data-look="nuevo"] .tr-chg, html[data-look="nuevo"] .meta-cant, html[data-look="nuevo"] .tr-coche-t .tnum { white-space: normal; }
/* Letra grande (130 %): la barra de abajo no junta «InicioMovimientos» */
html[data-look="nuevo"] .tab > span:not(.ic) { display: block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -.01em; padding: 0 1px; }
/* Píldora del mes en una línea: si no cabe, «Noviembre · del 1…» */
html[data-look="nuevo"] .mes-pill { white-space: nowrap; min-width: 0; max-width: 100%; overflow: hidden; }
html[data-look="nuevo"] .mes-pill > span:not(.mes-pill-ic) { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
html[data-look="nuevo"] .mes-pill b, html[data-look="nuevo"] .mes-pill-ic { flex: none; }
html[data-look="nuevo"] .hero2-top > .mes-pill { flex: 0 1 auto; }
/* Tarjeta de Inicio: si las cifras no caben en una fila (letra grande o pantalla muy estrecha), en 2 × 2.
   Medido en «em» de la tarjeta: con la letra del sistema más grande, el corte llega antes. */
html[data-look="nuevo"] .hero-barra { container-type: inline-size; font-size: 11px; }
@container (max-width: 23em) {
  html[data-look="nuevo"] .hk-cels { flex-wrap: wrap; row-gap: 2px; }
  html[data-look="nuevo"] .hk-cel { flex: 1 1 calc(50% - 4px); }
  html[data-look="nuevo"] .hk-cels.cinco .hk-cel { flex-basis: calc(33% - 4px); }
}
/* «Pedir por WhatsApp»: texto oscuro sobre el verde (contraste 7,6; antes blanco, 1,98) */
html[data-look="nuevo"] .wa-btn { color: #0B2E18 !important; }

/* 13/11 · Tú → Avisos → «Comprobar» */
html[data-look="nuevo"] .av-ok { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; font-size: 12px; font-weight: 700; margin-right: 4px; vertical-align: -3px; }
html[data-look="nuevo"] .av-ok.si { background: var(--income, #2E9E5B); color: #fff; }
html[data-look="nuevo"] .av-ok.no { background: var(--expense, #D64545); color: #fff; }
html[data-look="nuevo"] .av-opt .btn.sm { flex: none; }
/* 13/11 · Juntos (fase 14): Grupos (tarjetas cuadradas) y Personas (círculos) separados, los más usados primero */
html[data-look="nuevo"] .jv4-sec .section-title { display: flex; align-items: center; gap: 8px; }
html[data-look="nuevo"] .jv4-sec .section-title .link { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-size: 14px; }
html[data-look="nuevo"] .jv4-sec .section-title .link .i { width: 15px; height: 15px; }
html[data-look="nuevo"] .jv4-n { font-family: var(--font-body, inherit); font-size: 12px; font-weight: 700; color: var(--text-muted); background: var(--paper-sunken); border-radius: 999px; padding: 2px 8px; }
html[data-look="nuevo"] .jv4-grupos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
html[data-look="nuevo"] .jv4-g { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; padding: 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--paper-raised); color: var(--ink); text-align: left; font: inherit; cursor: pointer; }
html[data-look="nuevo"] .jv4-g-cab { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-bottom: 6px; }
html[data-look="nuevo"] .jv4-g-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); flex: none; }
html[data-look="nuevo"] .jv4-g-ic .i { width: 20px; height: 20px; }
html[data-look="nuevo"] .jv4-g-cab .cara.mini { border: 2px solid var(--paper-raised); }
html[data-look="nuevo"] .jv4-g-n { max-width: 100%; font-size: 15px; font-weight: 700; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
html[data-look="nuevo"] .jv4-g-m { font-size: 12px; color: var(--text-faint); }
html[data-look="nuevo"] .jv4-g-v { display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; margin-top: 6px; font-size: 12.5px; color: var(--text-muted); }
html[data-look="nuevo"] .jv4-g-v b { font-size: 16px; font-weight: var(--num-peso, 700); }
html[data-look="nuevo"] .jv4-g.malo .jv4-g-v b { color: var(--expense); } html[data-look="nuevo"] .jv4-g.bueno .jv4-g-v b { color: var(--income); }
html[data-look="nuevo"] .jv4-personas { margin: 0 -16px; }
html[data-look="nuevo"] .jv4-personas.todas { flex-wrap: wrap; overflow: visible; justify-content: flex-start; row-gap: 14px; }
html[data-look="nuevo"] .jv4-todos { display: block; min-height: 44px; margin: 4px auto 0; font-size: 14px; }
/* 13/11 · Meta: todas las aportaciones */
html[data-look="nuevo"] .dm-ap-f { display: flex; align-items: center; gap: 10px; padding: 10px 0; font-size: 13.5px; }
html[data-look="nuevo"] .dm-ap-f + .dm-ap-f, html[data-look="nuevo"] .dm-ap-tot { border-top: 1px solid var(--line); }
html[data-look="nuevo"] .dm-ap-t { display: flex; flex-direction: column; min-width: 0; flex: 1; }
html[data-look="nuevo"] .dm-ap-t b { font-weight: 600; }
html[data-look="nuevo"] .dm-ap-t span { font-size: 12px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-look="nuevo"] .dm-ap-v { flex: none; }
html[data-look="nuevo"] .dm-ap-tot { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0 10px; font-size: 14px; font-weight: 700; }
html[data-look="nuevo"] .dm-ap-todas { display: block; min-height: 44px; margin: 4px auto 0; font-size: 14px; }
html[data-look="nuevo"] .dm-ap-cuadre { margin-top: 6px; }
/* 13/11 · Tú por temas: categorías con icono que abren su pantalla, y «Mis herramientas» */
html[data-look="nuevo"] .tu3-cat { gap: 12px; min-height: 60px; padding-top: 10px; padding-bottom: 10px; }
html[data-look="nuevo"] .tu3-ic { --tc: var(--accent); width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; color: var(--tc); background: var(--accent-soft); background: color-mix(in srgb, var(--tc) 15%, transparent); }
html[data-look="nuevo"] .tu3-ic .i { width: 19px; height: 19px; }
html[data-look="nuevo"] .tu3-ic.c-d { --tc: var(--income); }
html[data-look="nuevo"] .tu3-ic.c-j { --tc: var(--savings); }
html[data-look="nuevo"] .tu3-ic.c-a { --tc: var(--bill); }
html[data-look="nuevo"] .tu3-ic.c-v { --tc: var(--warn, #B8430A); }
html[data-look="nuevo"] .tu3-ic.c-s { --tc: var(--ink, var(--text)); }
html[data-look="nuevo"] .tu3-ic.c-p { --tc: var(--accent); }
html[data-look="nuevo"] .tu3-ic.c-x { --tc: var(--debt); }
html[data-look="nuevo"] .tu3-ic.c-y { --tc: var(--bill); }
html[data-look="nuevo"] .tu3-cat-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; text-align: left; }
html[data-look="nuevo"] .tu3-cat-t b { font-weight: 600; display: flex; align-items: center; gap: 6px; }
html[data-look="nuevo"] .tu3-cat-t small { font-size: 12.5px; color: var(--text-faint); font-weight: 400; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
html[data-look="nuevo"] .tu3-raiz .tu-grupo { margin-top: 12px; }
html[data-look="nuevo"] .tu3-donde { margin-left: auto; font-size: 11.5px; color: var(--text-faint); padding-left: 8px; white-space: nowrap; }
html[data-look="nuevo"] .tu3-donde + .chev { margin-left: 4px; }
html[data-look="nuevo"] .tu3-volver { display: inline-flex; align-items: center; gap: 2px; min-height: 44px; padding: 0 10px 0 2px; margin: -6px 0 0 -4px; border: none; background: none; color: var(--accent); font: inherit; font-weight: 600; cursor: pointer; }
html[data-look="nuevo"] .tu3-volver .i { width: 20px; height: 20px; }
html[data-look="nuevo"] .tu3-sub .tu-grupo:first-of-type { margin-top: 8px; }
html[data-look="nuevo"] .herr-intro { margin: 4px 0 12px; }
html[data-look="nuevo"] .herr-lista { padding: 4px 0; }
html[data-look="nuevo"] .herr-fila { display: flex; align-items: center; gap: 12px; padding: 12px 16px; min-height: 60px; }
html[data-look="nuevo"] .herr-fila + .herr-fila { border-top: 1px solid var(--line); }
html[data-look="nuevo"] .herr-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; color: var(--accent); background: var(--accent-soft); }
html[data-look="nuevo"] .herr-ic .i { width: 19px; height: 19px; }
html[data-look="nuevo"] .herr-fila.off .herr-ic { color: var(--text-faint); background: var(--paper-sunken); }
html[data-look="nuevo"] .herr-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
html[data-look="nuevo"] .herr-t > span { font-size: 12.5px; color: var(--text-faint); line-height: 1.35; }
html[data-look="nuevo"] .herr-t .herr-nota { color: var(--income); display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
html[data-look="nuevo"] .herr-nota .i { width: 14px; height: 14px; }
html[data-look="nuevo"] .herr-siempre { font-size: 12.5px; color: var(--text-faint); flex: none; }
/* fase14 · barra de abajo siempre 2 + 2 con el + en medio: con Juntos apagado, su sitio lo ocupa la Agenda (o «Tú»).
   Si la Agenda o «Tú» tienen pestaña, no hace falta la flecha de volver arriba. La pestaña de la Agenda lleva un punto si hay algo hoy. */
html[data-look="nuevo"] body.ag-en-barra.en-agenda .tb-volver, html[data-look="nuevo"] body.tu-en-barra.tu-raiz .tb-volver { display: none; }
html[data-look="nuevo"] .tabbar .tab.con-cuenta .ic::after { content: ''; position: absolute; right: 10px; top: 1px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); border: 2px solid var(--paper-raised); }
html[data-look="nuevo"] .dm3-tabs.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
html[data-look="nuevo"] .dm3-tabs.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* 13/11 · Bienvenida por pasos: «¿Qué quieres usar?» en tarjetas que se marcan */
html[data-look="nuevo"] .ob2-herrs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 12px 0 8px; }
html[data-look="nuevo"] .ob2-herr { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-height: 104px; padding: 12px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--paper-raised); color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
html[data-look="nuevo"] .ob2-herr.on { border-color: var(--accent); background: var(--accent-soft); }
html[data-look="nuevo"] .ob2-herr.base { cursor: default; }
html[data-look="nuevo"] .ob2-herr-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: var(--accent); background: var(--paper-raised); }
html[data-look="nuevo"] .ob2-herr:not(.on) .ob2-herr-ic { color: var(--text-faint); background: var(--paper-sunken); }
html[data-look="nuevo"] .ob2-herr-ic .i { width: 18px; height: 18px; }
html[data-look="nuevo"] .ob2-herr-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding-right: 18px; }
html[data-look="nuevo"] .ob2-herr-t b { font-size: 14px; line-height: 1.25; }
html[data-look="nuevo"] .ob2-herr-t span { font-size: 12px; color: var(--text-faint); line-height: 1.3; }
html[data-look="nuevo"] .ob2-herr-ck { position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); color: var(--accent-ink); }
html[data-look="nuevo"] .ob2-herr.on .ob2-herr-ck { background: var(--accent); border-color: var(--accent); }
html[data-look="nuevo"] .ob2-herr-ck .i { width: 14px; height: 14px; }
html[data-look="nuevo"] .ob2-p-avbanco .ob2-filas, html[data-look="nuevo"] .ob2-p-notif .ob2-filas { gap: 12px; }
html[data-look="nuevo"] .ob2-nota .link { display: inline; padding: 0; }
/* fase14 · «Puedes activar más herramientas…»: una línea discreta al final de una pantalla que se ha quedado vacía */
html[data-look="nuevo"] .herr-pista { display: flex; align-items: center; gap: 4px; margin: 18px 0 4px; padding: 4px 4px 4px 0; border: 1px dashed var(--line); border-radius: 16px; }
html[data-look="nuevo"] .herr-pista-t { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 4px 6px 12px; background: none; border: 0; font: inherit; font-size: 13px; line-height: 1.35; color: var(--text-faint); text-align: left; cursor: pointer; }
html[data-look="nuevo"] .herr-pista-t b { color: var(--accent); font-weight: 600; }
html[data-look="nuevo"] .herr-pista-ic { width: 30px; height: 30px; flex: none; border-radius: 10px; display: grid; place-items: center; color: var(--accent); background: var(--accent-soft); }
html[data-look="nuevo"] .herr-pista-ic .i { width: 17px; height: 17px; }
html[data-look="nuevo"] .herr-pista-x { flex: none; width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; border-radius: 12px; color: var(--text-faint); cursor: pointer; }
html[data-look="nuevo"] .herr-pista-x .i { width: 16px; height: 16px; }

/* ===== 13/11 · Bienvenida por objetivos (docs/45). Sin scroll a 375 × 667; con «reducir movimiento», sin animaciones ===== */
html[data-look="nuevo"] .bv .ob2-in { padding-top: 6px; }
html[data-look="nuevo"] .bv-top { display: flex; align-items: center; gap: 6px; min-height: 44px; }
html[data-look="nuevo"] .bv-top > .ob2-ic:first-child:empty { display: block; }
html[data-look="nuevo"] .bv-pct { flex: 1; text-align: center; font-size: 13px; color: var(--text-muted); }
html[data-look="nuevo"] .bv-pct b { color: var(--text); }
html[data-look="nuevo"] .bv-barra { position: relative; height: 40px; margin: 0 6px 4px; }
html[data-look="nuevo"] .bv-linea { position: absolute; left: 0; right: 0; top: 16px; height: 4px; border-radius: 2px; background: var(--line); }
html[data-look="nuevo"] .bv-linea > i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; background: var(--accent); transition: width .3s var(--ease-out); }
html[data-look="nuevo"] .bv-punto { position: absolute; top: -3px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line); }
html[data-look="nuevo"] .bv-punto.on { border-color: var(--accent); background: var(--accent); }
html[data-look="nuevo"] .bv-pal { position: absolute; top: 0; transform: translateX(-50%); color: var(--accent); line-height: 0; transition: left .3s var(--ease-out); pointer-events: none; }
html[data-look="nuevo"] .bv-pal.vuela .marca-ico { animation: bvAleteo .3s ease-in-out 1; }
@keyframes bvAleteo { 0%, 100% { transform: translateY(0) scaleY(1); } 40% { transform: translateY(-5px) scaleY(.75); } 70% { transform: translateY(-2px) scaleY(1.1); } }
html[data-look="nuevo"] .bv-tramos { position: absolute; left: 0; right: 0; top: 24px; height: 16px; }
html[data-look="nuevo"] .bv-tramos span { position: absolute; font-size: 11px; line-height: 16px; color: var(--text-faint); white-space: nowrap; }
html[data-look="nuevo"] .bv-tramos span.on { color: var(--accent); font-weight: 700; }
html[data-look="nuevo"] .bv-tramos span { transform: translateX(-50%); }
html[data-look="nuevo"] .bv-tramos span:first-child { transform: none; }
html[data-look="nuevo"] .bv-tramos span.fin { transform: none; text-align: right; }
html[data-look="nuevo"] .bv-pal .marca-ico { color: var(--accent); }
html[data-look="nuevo"] .bv-body { padding-bottom: 8px; }
html[data-look="nuevo"] .bv-body.quieto { animation: none; }
html[data-look="nuevo"] .bv .ob2-h { font-size: 26px; margin: 4px 0 6px; }
html[data-look="nuevo"] .bv .ob2-p { font-size: 14.5px; margin: 0 0 12px; }
html[data-look="nuevo"] .bv .ob2-pie { padding-top: 8px; }
html[data-look="nuevo"] .bv .ob2-big-ic { width: 44px; height: 44px; border-radius: 14px; margin: 2px 0 8px; }
html[data-look="nuevo"] .bv .ob2-big-ic .i { width: 22px; height: 22px; }
html[data-look="nuevo"] .bv-centro { display: flex; flex-direction: column; align-items: center; text-align: center; }
html[data-look="nuevo"] .bv-paloma { color: var(--accent); margin: 10px 0 6px; }
html[data-look="nuevo"] .bv-paloma.entra { animation: bvEntraVolando .9s var(--ease-out) both; }
html[data-look="nuevo"] .bv-paloma.aterriza { animation: bvAterriza .8s var(--ease-out) both; margin: 0 0 2px; }
@keyframes bvEntraVolando { 0% { opacity: 0; transform: translate(-120px, -40px) rotate(-12deg); } 60% { opacity: 1; transform: translate(8px, -6px) rotate(4deg); } 100% { transform: none; } }
@keyframes bvAterriza { 0% { opacity: 0; transform: translateY(-40px); } 70% { opacity: 1; transform: translateY(4px); } 100% { transform: none; } }
html[data-look="nuevo"] .bv-nombre { margin-top: 16px; }
html[data-look="nuevo"] .bv-nombre input { min-height: 54px; font-size: 18px; }
/* pantalla 2: vista previa y tarjetas */
html[data-look="nuevo"] .bv-movil { position: relative; width: 196px; height: 132px; margin: 0 auto 10px; padding: 14px 8px 8px; border-radius: 20px; border: 2px solid var(--line); background: var(--paper-sunken); overflow: hidden; }
html[data-look="nuevo"] .bv-movil-cab { position: absolute; top: 5px; left: 50%; width: 36px; height: 4px; margin-left: -18px; border-radius: 2px; background: var(--line); }
html[data-look="nuevo"] .bv-movil-in { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
html[data-look="nuevo"] .bv-pz { display: grid; grid-template-columns: auto 1fr; column-gap: 4px; align-items: center; min-width: 0; padding: 4px 5px; border-radius: 8px; background: var(--paper-raised); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
html[data-look="nuevo"] .bv-pz.ancha { grid-column: 1 / -1; padding: 6px; }
html[data-look="nuevo"] .bv-pz i { grid-row: span 2; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 5px; background: var(--accent-soft); color: var(--accent); }
html[data-look="nuevo"] .bv-pz i .i { width: 11px; height: 11px; }
html[data-look="nuevo"] .bv-pz b, html[data-look="nuevo"] .bv-pz small { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
html[data-look="nuevo"] .bv-pz b { font-size: 9.5px; line-height: 1.25; }
html[data-look="nuevo"] .bv-pz small { font-size: 8.5px; line-height: 1.2; color: var(--text-faint); }
html[data-look="nuevo"] .bv-pz.ancha b { font-size: 11px; }
html[data-look="nuevo"] .bv-pz.entra { animation: bvEncaja .35s var(--ease-out) both; }
@keyframes bvEncaja { from { opacity: 0; transform: translateY(8px) scale(.92); } to { opacity: 1; transform: none; } }
html[data-look="nuevo"] .bv-movil.grande { width: 100%; max-width: 320px; height: auto; max-height: 176px; padding: 16px 10px 10px; border-radius: 24px; }
html[data-look="nuevo"] .bv-movil.grande .bv-movil-in { gap: 6px; }
html[data-look="nuevo"] .bv-movil.grande .bv-pz { padding: 6px 8px; }
html[data-look="nuevo"] .bv-movil.grande .bv-pz i { width: 22px; height: 22px; }
html[data-look="nuevo"] .bv-movil.grande .bv-pz i .i { width: 14px; height: 14px; }
html[data-look="nuevo"] .bv-movil.grande .bv-pz b { font-size: 12px; }
html[data-look="nuevo"] .bv-movil.grande .bv-pz small { font-size: 11px; }
html[data-look="nuevo"] .bv-falta { color: var(--text-faint); font-style: italic; }
html[data-look="nuevo"] .bv-p-obj .ob2-h { font-size: 23px; }
html[data-look="nuevo"] .bv-p-obj .ob2-p { margin-bottom: 8px; }
html[data-look="nuevo"] .bv-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
html[data-look="nuevo"] .bv-card { position: relative; display: flex; align-items: center; gap: 8px; min-height: 64px; padding: 8px 8px 8px 8px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--paper-raised); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
html[data-look="nuevo"] .bv-card.on { border-color: var(--accent); background: var(--accent-soft); }
html[data-look="nuevo"] .bv-card.bloq { cursor: default; }
html[data-look="nuevo"] .bv-card .ob2-fic { width: 34px; height: 34px; border-radius: 11px; }
html[data-look="nuevo"] .bv-card .ob2-fic .i { width: 18px; height: 18px; }
html[data-look="nuevo"] .bv-card .ob2-herr-ck { top: 4px; left: 30px; right: auto; width: 18px; height: 18px; background: var(--paper-raised); }
html[data-look="nuevo"] .bv-card .ob2-herr-ck .i { width: 12px; height: 12px; }
html[data-look="nuevo"] .bv-card:not(.on) .ob2-herr-ck { opacity: .9; }
html[data-look="nuevo"] .bv-card.on .ob2-herr-ck { background: var(--accent); border-color: var(--accent); }
html[data-look="nuevo"] .bv-card-t { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
html[data-look="nuevo"] .bv-card-t b { font-size: 13.5px; line-height: 1.2; }
html[data-look="nuevo"] .bv-card-t span { font-size: 11.5px; line-height: 1.25; color: var(--text-faint); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
html[data-look="nuevo"] .bv-card.rebota { animation: bvRebote .32s var(--ease-out); }
@keyframes bvRebote { 0% { transform: scale(1); } 40% { transform: scale(.94); } 75% { transform: scale(1.03); } 100% { transform: scale(1); } }
html[data-look="nuevo"] .bv-obj-pie { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 8px; font-size: 12.5px; color: var(--text-faint); text-align: center; }
html[data-look="nuevo"] .bv-obj-pie .link { display: inline-flex; align-items: center; gap: 5px; min-height: 40px; font-size: 13.5px; }
html[data-look="nuevo"] .bv-obj-pie .link .i { width: 15px; height: 15px; }
@media (max-height: 700px) {
  html[data-look="nuevo"] .bv-p-obj .bv-movil { height: 96px; width: 180px; padding-top: 12px; margin-bottom: 6px; } html[data-look="nuevo"] .bv-p-obj .bv-movil .bv-pz:nth-child(n+4) { display: none; }
  html[data-look="nuevo"] .bv .ob2-h { font-size: 24px; } html[data-look="nuevo"] .bv .ob2-p { margin-bottom: 8px; }
  html[data-look="nuevo"] .bv-tec .tec-k { min-height: 42px; } html[data-look="nuevo"] .bv-campo { min-height: 48px; } html[data-look="nuevo"] .bv-plants-s .bv-plant { min-height: 50px; }
  html[data-look="nuevo"] .bv-obj-pie .link { min-height: 36px; }
}
/* G1: rejilla de bancos */
html[data-look="nuevo"] .bv-bcos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
html[data-look="nuevo"] .bv-bco { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 76px; padding: 8px 4px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--paper-raised); color: var(--text); font: inherit; cursor: pointer; }
html[data-look="nuevo"] .bv-bco > span:last-of-type { font-size: 12px; line-height: 1.2; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-look="nuevo"] .bv-bco.on { border-color: var(--accent); background: var(--accent-soft); }
html[data-look="nuevo"] .bv-bco-ok { position: absolute; top: 6px; right: 6px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); }
html[data-look="nuevo"] .bv-bco-ok .i { width: 12px; height: 12px; }
html[data-look="nuevo"] .bv-ficha { width: 36px; height: 36px; }
html[data-look="nuevo"] .bv-ficha-ic { display: grid; place-items: center; background: var(--paper-sunken); color: var(--text-muted); border-radius: 10px; }
html[data-look="nuevo"] .bv-ficha-ic .i { width: 20px; height: 20px; }
html[data-look="nuevo"] .bv-mas { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; margin-top: 4px; }
html[data-look="nuevo"] .bv-mas .i { width: 15px; height: 15px; }
html[data-look="nuevo"] .bv-bco-res { max-height: 300px; overflow-y: auto; }
/* cifras con el teclado de la app */
html[data-look="nuevo"] .bv-campos { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
html[data-look="nuevo"] .bv-campo { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 54px; padding: 6px 12px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--paper-raised); color: var(--text); font: inherit; cursor: pointer; text-align: left; }
html[data-look="nuevo"] .bv-campo.on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
html[data-look="nuevo"] .bv-campo-n { flex: 1; min-width: 0; font-size: 14.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-look="nuevo"] .bv-ficha-s { width: 30px; height: 30px; flex: none; }
html[data-look="nuevo"] .bv-cifra { display: inline-flex; align-items: baseline; gap: 3px; white-space: nowrap; }
html[data-look="nuevo"] .bv-cifra-n { font-family: var(--font-display); font-size: 26px; font-weight: var(--num-peso, 700); letter-spacing: -.02em; }
html[data-look="nuevo"] .bv-cifra-n.vacio { color: var(--text-faint); }
html[data-look="nuevo"] .bv-cifra-e { font-size: 16px; color: var(--text-faint); font-weight: 600; }
html[data-look="nuevo"] .bv-tec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
html[data-look="nuevo"] .bv-tec .tec-k { min-height: 46px; background: var(--paper-sunken); font-size: 22px; }
html[data-look="nuevo"] .bv-tec .tec-k .i { width: 22px; height: 22px; }
@media (min-height: 760px) { html[data-look="nuevo"] .bv-tec .tec-k { min-height: 52px; } }
html[data-look="nuevo"] .bv-nota { margin-top: 4px; padding: 8px 12px; }
html[data-look="nuevo"] .bv-vivo { display: flex; align-items: center; gap: 10px; min-height: 40px; margin: 6px 0 0; font-size: 15px; }
html[data-look="nuevo"] .bv-vivo .ob2-fic { width: 36px; height: 36px; }
html[data-look="nuevo"] .bv-tarro { position: relative; flex: none; width: 26px; height: 34px; border: 2px solid var(--savings); border-top-width: 5px; border-radius: 6px 6px 8px 8px; overflow: hidden; }
html[data-look="nuevo"] .bv-tarro i { position: absolute; left: 0; right: 0; bottom: 0; height: var(--ll, 10%); background: var(--savings); opacity: .55; transition: height .4s var(--ease-out); animation: bvLlena .6s var(--ease-out) both; }
@keyframes bvLlena { from { height: 0; } }
html[data-look="nuevo"] .bv-chips { margin: 4px 0 2px; }
html[data-look="nuevo"] .bv-chips4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
html[data-look="nuevo"] .bv-chips4 .chip { justify-content: center; padding: 0 4px; margin: 0; }
html[data-look="nuevo"] .bv-chips .chip { min-height: 40px; }
/* G3 */
html[data-look="nuevo"] .bv-mes-ops { display: flex; flex-direction: column; gap: 8px; }
html[data-look="nuevo"] .bv-mes-op { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--paper-raised); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
html[data-look="nuevo"] .bv-mes-op .bv-card-t { flex: 1; }
html[data-look="nuevo"] .bv-mes-op .bv-card-t b { font-size: 15px; }
html[data-look="nuevo"] .bv-mes-op .bv-card-t span { font-size: 12.5px; }
html[data-look="nuevo"] .bv-mes-op.on { border-color: var(--accent); background: var(--accent-soft); }
html[data-look="nuevo"] .bv-mes-op.on .av-radio { border-color: var(--accent); box-shadow: inset 0 0 0 4px var(--paper-raised); background: var(--accent); }
html[data-look="nuevo"] .bv-dia { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 8px 0 2px; font-size: 18px; }
html[data-look="nuevo"] .bv-dia-b { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper-raised); color: var(--text); font: inherit; font-size: 22px; cursor: pointer; }
html[data-look="nuevo"] .bv-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin-top: 10px; text-align: center; font-size: 11.5px; }
html[data-look="nuevo"] .bv-cal i { font-style: normal; height: 20px; line-height: 20px; border-radius: 6px; color: var(--text-faint); }
html[data-look="nuevo"] .bv-cal i.cab { font-weight: 700; color: var(--text-muted); }
html[data-look="nuevo"] .bv-cal i.on { background: var(--accent-soft); color: var(--text); }
html[data-look="nuevo"] .bv-cal i.ini { background: var(--accent); color: var(--accent-ink); font-weight: 700; }
html[data-look="nuevo"] .bv-cal i.hoy { box-shadow: inset 0 0 0 1.5px var(--accent); }
html[data-look="nuevo"] .bv-cal-txt { margin-top: 6px; font-size: 13px; color: var(--text-muted); text-align: center; }
/* G5, N1 */
html[data-look="nuevo"] .bv-logos { display: flex; gap: 8px; margin: 2px 0 8px; }
html[data-look="nuevo"] .bv .bv-filas { gap: 10px; margin: 4px 0 6px; }
html[data-look="nuevo"] .bv .bv-filas .ob2-fic { width: 38px; height: 38px; border-radius: 12px; }
html[data-look="nuevo"] .bv .bv-filas b { font-size: 14px; }
html[data-look="nuevo"] .bv .ob2-sec { margin: 10px 0 4px; }
/* J1, J2, J3, plantillas */
html[data-look="nuevo"] .bv .ob2-puertas { margin: 8px 0 0; }
html[data-look="nuevo"] .bv-plants { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-bottom: 10px; }
html[data-look="nuevo"] .bv-plant { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 60px; padding: 6px 2px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--paper-raised); color: var(--text); font: inherit; cursor: pointer; }
html[data-look="nuevo"] .bv-plant .i { width: 20px; height: 20px; color: var(--accent); }
html[data-look="nuevo"] .bv-plant span { font-size: 12px; line-height: 1.2; text-align: center; }
html[data-look="nuevo"] .bv-plant small { font-size: 11px; color: var(--text-faint); }
html[data-look="nuevo"] .bv-plant.on { border-color: var(--accent); background: var(--accent-soft); }
html[data-look="nuevo"] .bv-plants-s .bv-plant { min-height: 56px; }
html[data-look="nuevo"] .bv-metas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 10px; }
html[data-look="nuevo"] .bv-meta { min-height: 76px; }
html[data-look="nuevo"] .bv .field { margin-bottom: 10px; }
html[data-look="nuevo"] .bv-pers { display: flex; flex-direction: column; gap: 6px; }
html[data-look="nuevo"] .bv-enlace-f { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
html[data-look="nuevo"] .bv-enlace-f .btn { min-height: 48px; display: inline-flex; align-items: center; gap: 6px; }
html[data-look="nuevo"] .bv-avs { display: flex; margin: 14px 0 10px; }
html[data-look="nuevo"] .bv-avs .avatar { width: 48px; height: 48px; font-size: 17px; margin-left: -8px; border: 3px solid var(--paper); }
html[data-look="nuevo"] .bv-avs.montado .avatar { animation: bvEncaja .4s var(--ease-out) both; }
html[data-look="nuevo"] .bv-avs.montado .avatar:nth-child(2) { animation-delay: .08s; } html[data-look="nuevo"] .bv-avs.montado .avatar:nth-child(3) { animation-delay: .16s; } html[data-look="nuevo"] .bv-avs.montado .avatar:nth-child(4) { animation-delay: .24s; }
html[data-look="nuevo"] .bv-tarea { min-height: 54px; font-size: 17px; }
html[data-look="nuevo"] .bv .ob2-dos .btn { min-height: 52px; }
html[data-look="nuevo"] .bv .wa-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
/* final: sellos y lo que espera */
html[data-look="nuevo"] .bv-sellos { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0 0 10px; }
html[data-look="nuevo"] .bv-sello { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 52px; }
html[data-look="nuevo"] .bv-sello i, html[data-look="nuevo"] .bv-sello-cae i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 3px var(--accent-soft); }
html[data-look="nuevo"] .bv-sello i .i, html[data-look="nuevo"] .bv-sello-cae i .i { width: 18px; height: 18px; }
html[data-look="nuevo"] .bv-sello small { font-size: 9.5px; line-height: 1.15; text-align: center; color: var(--text-muted); }
html[data-look="nuevo"] .bv-sello:nth-child(n) { animation: bvEncaja .4s var(--ease-out) both; }
html[data-look="nuevo"] .bv-sello:nth-child(2) { animation-delay: .1s; } html[data-look="nuevo"] .bv-sello:nth-child(3) { animation-delay: .2s; } html[data-look="nuevo"] .bv-sello:nth-child(4) { animation-delay: .3s; } html[data-look="nuevo"] .bv-sello:nth-child(5) { animation-delay: .4s; } html[data-look="nuevo"] .bv-sello:nth-child(6) { animation-delay: .5s; }
html[data-look="nuevo"] .bv-sello-cae { position: fixed; top: calc(10px + env(safe-area-inset-top)); right: 12px; z-index: 30; display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--paper-raised); box-shadow: 0 6px 20px rgba(0,0,0,.16); font-size: 13px; animation: bvCae 2.6s var(--ease-out) both; pointer-events: none; }
@keyframes bvCae { 0% { opacity: 0; transform: translateY(-50px); } 15% { opacity: 1; transform: translateY(6px); } 22% { transform: translateY(-3px); } 28% { transform: none; } 85% { opacity: 1; } 100% { opacity: 0; } }
html[data-look="nuevo"] .bv-falta-l, html[data-look="nuevo"] .bv-esperan { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 8px 12px; border-radius: var(--r-m); background: var(--paper-sunken); font-size: 13px; color: var(--text-muted); }
html[data-look="nuevo"] .bv-falta-l .i, html[data-look="nuevo"] .bv-esperan > .i { width: 16px; height: 16px; flex: none; }
html[data-look="nuevo"] .bv-esperan > span { flex: 1; }
html[data-look="nuevo"] .bv-esperan .link { min-height: 40px; flex: none; }
html[data-look="nuevo"] .bv-p-F .ob2-p { margin-bottom: 8px; }
html[data-look="nuevo"] .desc-esperan .desc-fila.apagada .desc-ic { color: var(--text-faint); background: var(--paper-sunken); }
@media (prefers-reduced-motion: reduce) {
  html[data-look="nuevo"] .bv-pal, html[data-look="nuevo"] .bv-linea > i, html[data-look="nuevo"] .bv-tarro i { transition: none; }
  html[data-look="nuevo"] :is(.bv-pal .marca-ico, .bv-paloma, .bv-pz.entra, .bv-card.rebota, .bv-avs .avatar, .bv-sello, .bv-tarro i) { animation: none !important; }
  html[data-look="nuevo"] .bv-sello-cae { animation: bvCaeQuieto 2.6s linear both; }
}
@keyframes bvCaeQuieto { 0%, 85% { opacity: 1; } 100% { opacity: 0; } }
html[data-look="nuevo"] .bv-campos.dos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
html[data-look="nuevo"] .bv-campos.dos .bv-campo { flex-direction: column; align-items: flex-start; gap: 0; padding: 6px 12px; }
html[data-look="nuevo"] .bv-campos.dos .bv-campo-n { font-size: 12.5px; color: var(--text-muted); }
@media (max-height: 700px) { html[data-look="nuevo"] .bv-tec .tec-k { min-height: 42px; } html[data-look="nuevo"] .bv-campo { min-height: 48px; } }
@media (max-height: 700px) { html[data-look="nuevo"] .bv-p-obj .ob2-h { font-size: 21px; } html[data-look="nuevo"] .bv-p-obj .ob2-p { font-size: 13.5px; } html[data-look="nuevo"] .bv-card { min-height: 60px; padding-top: 6px; padding-bottom: 6px; } }
