
:root { --sa-top: env(safe-area-inset-top, 0px); --sa-bottom: env(safe-area-inset-bottom, 0px); --sa-left: env(safe-area-inset-left, 0px); --sa-right: env(safe-area-inset-right, 0px); }
/* En la app de Android (1.37 en adelante, Ui.tsx marca insets-nativos) los márgenes de las barras salen de lo que pasa
   Capacitor: env() lo calcula mal en algunos WebView (viejos: de más; con la app sin borde a borde: de más también). */
:root.insets-nativos { --sa-top: var(--safe-area-inset-top, 0px); --sa-bottom: var(--safe-area-inset-bottom, 0px); --sa-left: var(--safe-area-inset-left, 0px); --sa-right: var(--safe-area-inset-right, 0px); }
:root {
  color-scheme: dark;
  /* Grises neutros: el único color de la base es el dorado. --chrome: lo que rodea al panel en la compu. */
  --chrome: #0a0a0b; --bg: #0f0f11; --surface: #17171a; --surface-2: #1f1f23; --surface-3: #29292e; --elevado: #34343a; --input: #0b0b0d;
  --line: #26262a; --line-2: #323237; --line-3: #45454c; --card-borde: transparent;
  --ink: #f4f4f5; --ink-2: #c4c4ca; --muted: #8f8f98; --faint: #63636b; --placeholder: #7b7b84;
  --chart: #64646c; --chart-2: #38383e;

  /* Acento de cada rubro */
  --cerr: #f2b705; --cerr-ink: #1c1503; --cerr-strong: #ffd75e; --cerr-hover: #ffc61a;
  --elec: #3f70dc; --elec-ink: #fff; --elec-strong: #94b4f6; --elec-hover: #3564cc;
  --accent: var(--cerr); --accent-ink: var(--cerr-ink); --accent-strong: var(--cerr-strong); --accent-hover: var(--cerr-hover);
  --accent-soft: color-mix(in srgb, var(--accent) 13%, transparent);
  --accent-line: color-mix(in srgb, var(--accent) 40%, transparent);

  /* Significado */
  --ok: #5fbf94; --ok-soft: rgb(95 191 148 / .12);
  --danger: #e8716f; --danger-soft: rgb(232 113 111 / .12); --danger-ink: #f3aaa8;
  --warn: #e0ae55; --warn-soft: rgb(224 174 85 / .12);
  --wa: #25d366; --wa-ink: #04220f;

  /* Estados de una consulta: pendiente, contactado, presupuestado, en camino, finalizado, rechazado y vencido */
  --c-nueva: #e0ae55; --c-contactado: #7fa6e8; --c-presupuestado: #ab97e6; --c-camino: #5cb8c4; --c-ganado: #5fbf94; --c-perdido: #a1a1aa; --c-vencido: #e8716f;
  --c-nueva-soft: color-mix(in srgb, var(--c-nueva) 13%, transparent); --c-contactado-soft: color-mix(in srgb, var(--c-contactado) 13%, transparent); --c-presupuestado-soft: color-mix(in srgb, var(--c-presupuestado) 13%, transparent); --c-camino-soft: color-mix(in srgb, var(--c-camino) 13%, transparent); --c-ganado-soft: color-mix(in srgb, var(--c-ganado) 13%, transparent); --c-perdido-soft: color-mix(in srgb, var(--c-perdido) 13%, transparent); --c-vencido-soft: color-mix(in srgb, var(--c-vencido) 13%, transparent);
  --st-nueva: var(--c-nueva); --st-nueva-bg: var(--c-nueva-soft); --st-contactado: var(--c-contactado); --st-contactado-bg: var(--c-contactado-soft); --st-presupuestado: var(--c-presupuestado); --st-presupuestado-bg: var(--c-presupuestado-soft); --st-camino: var(--c-camino); --st-camino-bg: var(--c-camino-soft); --st-ganado: var(--c-ganado); --st-ganado-bg: var(--c-ganado-soft); --st-perdido: var(--c-perdido); --st-perdido-bg: var(--c-perdido-soft); --st-vencido: var(--c-vencido); --st-vencido-bg: var(--c-vencido-soft);

  /* Tipografía, espacio, radios y elevación */
  --fs-1: 12px; --fs-2: 13px; --fs-3: 15px; --fs-4: 17px; --fs-5: 22px; --fs-6: 28px;
  --r-sm: 7px; --r: 10px; --r-lg: 14px; --radius: var(--r-lg);
  --pad: 16px;
  --h: 46px; --h-sm: 38px;
  --nav-h: 62px;
  --top-h: calc(64px + var(--sa-top));
  --shadow-pop: 0 16px 40px rgb(0 0 0 / .45);

  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: var(--fs-3); line-height: 1.45; color: var(--ink); background: var(--bg);
  -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; font-feature-settings: 'cv11', 'ss01';
}
[data-rubro='electricidad'] { --accent: var(--elec); --accent-ink: var(--elec-ink); --accent-strong: var(--elec-strong); --accent-hover: var(--elec-hover); }
/* En la compu, más denso (como Linear): texto base de 13 px y controles de 32 px. */
@media (min-width: 960px) { :root { --pad: 16px; --h: 36px; --h-sm: 32px; --fs-3: 14px; --fs-4: 16px; --fs-5: 20px; --fs-6: 26px; font-size: var(--fs-3); } }

/* Tema claro (se elige en el menú: Oscuro, Claro o Automático; client.ts pone data-tema="claro" en <html>). Con la
   estética de Erqui Estudio (erqui.com.ar): fondo papel, tarjetas blancas, líneas finas, texto tinta y grafito,
   botones negros que pasan a índigo, el índigo para lo resaltado y su letra, Schibsted Grotesk. Todo claro: el
   encabezado, el cajón y la barra lateral también. El color de cada cuenta no se usa acá (lleva !important para
   ganarle al que pone ui.tsx en la página): la marca la llevan el logo y el nombre. */
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 400 900; font-display: swap; src: url(data:font/woff2;base64,d09GMgABAAAAALagABUAAAABkJAAALYnAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGoVeG4PcCByJGj9IVkFSi1E/TVZBUj4GYD9TVEFUgQ4nJgCFJC9UEQgKgYU47g0LhEAAMPlwATYCJAOIfAQgBYZEB4pYDAdbOIFxh5Z3pYHH2DnatvQRXpyKpkBunia3o7fpeHvBCnbsKdwOECr9Djb+////s5OKjNlGSNt1MIEhnKv6K4qZeJhLSYmaVWqZonCWzNIyyz2TS0tfN4ugbLKlBx1E3x8Zng+hnnQdICGHm0tFRnS4AT8N7lwISUUpRhpNbd5jraMJ7ImnHLZg50h+rln63uVXPfanLKEPF3sBEzO56lqmjOs0MfOH67xHUYV6WjWvBiYhohBRKKWpFh4BguZqYnEx/HpTOjggx3esslht8lkgccUkpBiy2/daUlE5xcWE2ijfy5QJvx6IQtTSpKarwni+S8gb1T7LCuzu4tp9Bbv/OTAxAyZmeW5zq2JgveW8qSPex3K+9KaoG3ehfhJ+CI7FdCffBpYB/yHZswEfz76vs1oc8+YTn2M4oiEboCyqD/EH1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TAPYkEilexfpmx/cuv/fQXVFnvOjH1TgS0GXdCaW0/bYL8gjAuB8nAMQaAGegRGvAuBGzAP1aQpywpo5wOBTbYTJ2JzQIYbTenFXTVKsR3K5BhAGUk09KSRw1cdusXjR11XcvH6i0hdBxm9qotyORQZ2Eh2vOjj+tdE+Z6FkgHE3tenb0zGjq3tKvR06gT+e54QREglI3LxI76yZPtnm15MawrIhF8r8sSHXkAAAA) format('woff2'); }
:root[data-tema='claro'] {
  color-scheme: light;
  --chrome: #eceef2; --bg: #eceef2; --surface: #fff; --surface-2: #eef0f3; --surface-3: #e3e5ea; --elevado: #fff; --input: #fff;
  --line: #d5d8de; --line-2: #c9ccd3; --line-3: #b3b7c0; --card-borde: var(--line-2);
  --ink: #121317; --ink-2: #33363d; --muted: #5b606b; --faint: #8b909a; --placeholder: #8b909a;
  --chart: #b8bcc5; --chart-2: #dde0e6;
  --indigo: #3a10e0; --punto: linear-gradient(100deg, #0e1efd, #0468fb 50%, #03c8fc);
  --cerr: #eeb000; --cerr-ink: #1c1503; --cerr-strong: #8a6500; --cerr-hover: #dba200;
  --elec: #2f63d0; --elec-ink: #fff; --elec-strong: #2353b8; --elec-hover: #2753b4;
  --ok: #12804f; --ok-soft: rgb(18 128 79 / .09);
  --danger: #c8333a; --danger-soft: rgb(200 51 58 / .07); --danger-ink: #a3262c;
  --warn: #9a6a00; --warn-soft: rgb(154 106 0 / .09);
  --c-nueva: #9a6a00; --c-contactado: #0468fb; --c-presupuestado: #3a10e0; --c-camino: #0b7f8f; --c-ganado: #12804f; --c-perdido: #5b606b; --c-vencido: #c8333a;
  --sombra: 0 1px 2px rgb(18 19 23 / .05), 0 2px 10px rgb(18 19 23 / .04);
  --shadow-pop: 0 18px 44px rgb(18 19 23 / .14);
  --r: 8px; --r-sm: 6px;
  font-family: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-feature-settings: normal;
  background: var(--bg);
}
/* El color de cada cuenta (el style de ui.tsx) sigue mandando en el claro; su versión "fuerte" (letra y links), más
   oscura en vez de más clara, para que se lea sobre blanco. */
:root[data-tema='claro'] [style*='--accent'] { --accent-strong: color-mix(in srgb, var(--accent) 62%, black) !important; }
@media (max-width: 959px) {
  :root[data-tema='claro'] { --top-h: calc(72px + var(--sa-top)); }
  :root[data-tema='claro'] body { background: var(--bg); }
  :root[data-tema='claro'] .main { min-height: 100vh; background: var(--bg); }
}
/* Encabezado, cajón y barra de abajo: claros, separados del contenido por una línea fina (como la web). */
:root[data-tema='claro'] .topbar { background: rgb(236 238 242 / .92); color: var(--ink); border-bottom: 1px solid var(--line-2); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); }
:root[data-tema='claro'] .lateral { background: var(--surface); color: var(--ink); border-right-color: var(--line-2); }
:root[data-tema='claro'] .side { background: var(--surface); border-top-color: var(--line-2); }
@media (min-width: 960px) { :root[data-tema='claro'] .side { background: var(--surface); border-right: 1px solid var(--line-2); } }
:root[data-tema='claro'] .lateral-fondo { background: rgb(18 19 23 / .18); }
:root[data-tema='claro'] .toast { background: var(--ink); color: #fff; }
:root[data-tema='claro'] .toast .ico { color: #7fe0b0; }
:root[data-tema='claro'] .toast--error { background: #fdecec; color: var(--danger-ink); }
:root[data-tema='claro'] .toast--error .ico { color: var(--danger); }
:root[data-tema='claro'] dialog::backdrop { background: rgb(18 19 23 / .38); }
/* Títulos con el peso y el interletrado apretado de la web. */
:root[data-tema='claro'] :is(h1, h2, .saludo__hola, .balance__valor, .kpi__valor) { letter-spacing: -.035em; }
:root[data-tema='claro'] .saludo__hola { font-weight: 700; }
/* Las cifras de ancho fijo de esta letra son muy anchas ("$ 1.430.000" se ve espaciado): en el claro, las normales. */
:root[data-tema='claro'] * { font-variant-numeric: proportional-nums !important; }
/* Tarjetas blancas con borde fino; el balance, blanco sobre el papel. */
:root[data-tema='claro'] .card, :root[data-tema='claro'] .balance { border: 1px solid var(--line-2); box-shadow: var(--sombra); }
:root[data-tema='claro'] .balance { background: var(--surface); }
/* Tarjetas chicas del Inicio (y las de color): blancas sobre el gris, para que se separen del fondo. */
:root[data-tema='claro'] :is(.mes-tile, .card--grupo) { background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--sombra); }
:root[data-tema='claro'] .main > .contenido > :is(.cabecera, .acciones) .btn:is(.btn--ghost, .btn--ingreso, .btn--egreso), :root[data-tema='claro'] .caja__acciones .btn { background: var(--surface); border: 1px solid var(--line-2); }
@media (min-width: 960px) { :root[data-tema='claro'] .rapida:not(:first-child, [data-c='ganado'], [data-c='egreso']) { background: var(--surface); border: 1px solid var(--line-2); } :root[data-tema='claro'] .periodo { background: var(--surface); border-color: var(--line-2); box-shadow: var(--sombra); } }
:root[data-tema='claro'] .tarjeta { border-color: var(--line-2); box-shadow: var(--sombra); }
:root[data-tema='claro'] .tarjeta:hover { border-color: var(--line-3); }
:root[data-tema='claro'] .mes-tile:hover { background: var(--surface); border-color: var(--line-3); }
/* Pestañas y elegidos: con el color del panel. */
:root[data-tema='claro'] .nav a[aria-current='page'] { color: var(--accent-strong); }
:root[data-tema='claro'] .btn:focus-visible, :root[data-tema='claro'] :focus-visible { outline-color: var(--accent-strong); }
:root[data-tema='claro'] .campo:focus, :root[data-tema='claro'] .buscador input:focus { border-color: var(--accent-strong); box-shadow: 0 0 0 3px var(--accent-soft); }
/* En la compu, el panel de contenido flota sobre la barra lateral gris. */


/* Cambiar de panel (ui.tsx): los paneles por negocio. */
.cambiar-panel { width: min(420px, calc(100vw - 24px)); }
.cambiar-panel__grupo { display: grid; gap: 6px; }
.cambiar-panel__grupo + .cambiar-panel__grupo { margin-top: 10px; }
.cambiar-panel__grupo h3 { margin: 0; font-weight: 500; }
.cambiar-panel__lista { display: grid; gap: 6px; }
.cambiar-panel__op { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface-2); color: var(--ink); text-decoration: none; }
.cambiar-panel__op:hover { border-color: var(--line-3); }
.cambiar-panel__op > span:nth-child(2) { display: grid; flex: 1; min-width: 0; }
.cambiar-panel__op[aria-current='page'] { border-color: var(--accent-line); background: var(--accent-soft); }
.cambiar-panel__color { flex: none; width: 10px; height: 32px; border-radius: 3px; }
.lateral__links button { width: 100%; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; }

/* Elegir el tema (en el cajón del celular y abajo del menú de la compu). */
/* En el celular el menú de la compu es la barra de abajo: ahí no va (está en el cajón). */
@media (max-width: 959px) { .side > .tema { display: none; } }
.tema { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 2px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface-2); }
.tema button { min-height: 30px; padding: 0 6px; border: 0; border-radius: var(--r-sm); background: none; color: var(--muted); font: inherit; font-size: var(--fs-1); font-weight: 500; cursor: pointer; }
.tema button[aria-pressed='true'] { background: var(--surface); color: var(--ink); box-shadow: var(--sombra, 0 0 0 1px var(--line-2)); }

* { box-sizing: border-box; }
body, body * { -webkit-user-select: none; user-select: none; }
input, textarea, [contenteditable='true'] { -webkit-user-select: text; user-select: text; }
/* Lo oculto con el atributo hidden queda oculto aunque su clase le dé un display (botones, barras, resúmenes). */
[hidden] { display: none !important; }
html { scrollbar-color: var(--line-2) transparent; scrollbar-width: thin; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 999px; }
body { margin: 0; background: var(--bg); min-height: 100vh; }
/* En el celular la página nunca se corre de costado: si algo queda más ancho que la pantalla (con la letra grande del
   celular, por ejemplo), la pantalla se podía correr y el cajón abría cortado a la izquierda. */
@media (max-width: 959px) { html, body { overflow-x: clip; } }
/* "Instalar la app": solo en el navegador (con la app instalada no tiene sentido). */
@media (display-mode: standalone) { [data-solo-navegador] { display: none !important; } }
.app-nativa [data-solo-navegador] { display: none !important; }
@media (max-width: 959px) {
  /* html aparte: la regla de arriba (html, barra fina) le ganaba a * y en la página se seguía viendo la barra. */
  html, * { scrollbar-width: none; }
  *::-webkit-scrollbar { display: none; width: 0; height: 0; }
}
::selection { background: var(--accent-soft); }
/* Volviendo al mismo lugar después de una acción (client.ts): oculto hasta acomodarlo, sin el salto desde arriba. */
:root.volviendo .main { visibility: hidden; }
h1, h2, h3 { margin: 0; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: var(--fs-5); } h2 { font-size: var(--fs-4); } h3 { font-size: var(--fs-3); }
@media (min-width: 960px) { h2 { font-size: var(--fs-3); } h3 { font-size: var(--fs-2); } }
p { margin: 0; }
a { color: var(--accent-strong); text-underline-offset: 2px; }
strong, b { font-weight: 600; }
.ico { flex: none; display: block; }
.muted { color: var(--muted); } .small { font-size: var(--fs-2); } .num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r-sm); }
/* Sin el rectángulo que pinta Android al tocar: en su lugar, lo tocado se aclara un instante (solo en pantallas táctiles). */
html { -webkit-tap-highlight-color: transparent; }
@media (hover: none) {
  :is(a, button, summary, label.btn, [data-foto], .tab):active { opacity: .7; transition: opacity 0s; }
}
::placeholder { color: var(--placeholder); opacity: 1; }

/* ---------- Estructura: barra lateral en la compu, barra inferior en el celular ---------- */
/* Lo que se desliza de costado (la pestaña vecina, la ficha al abrir el chat) queda fuera de la pantalla sin hacer la
   página más ancha: si no, el navegador del celular reacomoda el zoom y la página salta. */
.app { min-height: 100vh; overflow-x: clip; }
/* Sólidas (no semitransparentes): así son siempre del mismo color que las barras del celular (app.ts, MainActivity). */
.side { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; background: var(--surface); border-top: 1px solid var(--line); padding-bottom: var(--sa-bottom); }
/* En la app de Android la página llega hasta abajo de todo, detrás de la barra del sistema: la barra de secciones se
   prolonga hacia abajo con su color (y el encabezado hacia arriba), así esa barra queda del mismo color. */
.side::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 120px; background: var(--surface); }
.topbar::before { content: ''; position: absolute; bottom: 100%; left: 0; right: 0; height: 120px; background: var(--bg); }
.side > .side__marca, .side > .side__nuevo, .side > .side__buscar, .side > .wa-estado, .side > .side__extra, .side > .side__cuenta { display: none; }
.nav { display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); height: var(--nav-h); }
.nav a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 0; color: var(--muted); text-decoration: none; font-size: var(--fs-1); font-weight: 500; letter-spacing: -.01em; white-space: nowrap; }
.nav a .ico { box-sizing: content-box; width: 20px; height: 20px; padding: 3px 14px; border-radius: 999px; }
.nav a[aria-current='page'] { color: var(--ink); background: var(--surface-3); border-radius: 12px; margin: 4px 2px; }
.nav a[aria-current='page'] .ico { background: transparent; }
.nav__n { position: absolute; top: 4px; left: calc(50% + 8px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--surface-3); border: 1px solid var(--line-3); color: var(--ink); font-size: 11px; line-height: 16px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.nav a[data-sec='inicio'] .nav__n { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.nav a[data-sec='agenda'] .nav__n { color: var(--accent-strong); }
.main { padding: calc(var(--top-h) + 16px) 16px calc(var(--nav-h) + 24px + var(--sa-bottom)); }
.contenido { max-width: 1160px; margin: 0 auto; }
/* Celular: el encabezado queda fijo arriba; lo que se desliza (el chat de la ficha) pasa por debajo. */
.topbar { position: fixed; z-index: 35; top: 0; left: 0; right: 0; height: var(--top-h); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: var(--sa-top) 16px 0; background: var(--bg); border-bottom: 1px solid var(--line); }
html { scroll-padding-top: calc(var(--top-h) + 12px); }
.topbar__marca { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); text-decoration: none; font-size: var(--fs-4); letter-spacing: -.01em; }
.topbar .acciones { gap: 6px; }
.topbar .acciones { margin-left: auto; }
.topbar .topbar__quick { width: 38px; min-width: 38px; min-height: 38px; }
.topbar__yo { flex: none; display: grid; place-items: center; width: 34px; height: 34px; margin-right: -2px; padding: 0; border: 1px solid var(--line-2); border-radius: 50%; background: var(--surface-2); color: var(--ink); font: inherit; font-size: var(--fs-1); font-weight: 600; cursor: pointer; }

/* Cajón de la izquierda (celular): se abre con el botón de las iniciales o deslizando desde el borde. Mientras se
   arrastra, sigue al dedo (client.ts pone el transform) sin transición. */
.lateral-fondo { position: fixed; inset: 0; z-index: 89; background: transparent; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.lateral { position: fixed; inset: 0 auto 0 0; z-index: 90; width: min(300px, 82vw); display: flex; flex-direction: column; gap: 12px; padding: calc(var(--sa-top) + 16px) 16px calc(var(--sa-bottom) + 20px); background: var(--surface); border-right: 1px solid var(--line-2); overflow-y: auto; overscroll-behavior: contain; transform: translateX(-100%); visibility: hidden; transition: transform .25s ease, visibility 0s .25s; }
.lateral-abierto .lateral { transform: none; visibility: visible; transition: transform .25s ease; }
.lateral:focus { outline: none; }
.lateral-abierto .lateral-fondo { opacity: 1; pointer-events: auto; }
.lateral-abierto body { overflow: hidden; }
.lateral-arrastrando .lateral, .lateral-arrastrando .lateral-fondo { visibility: visible; transition: none; }
/* Al mismo nivel: la pantalla se corre a la derecha junto con el cajón (translate, aparte del transform del chat). */
@media (max-width: 959px) {
  /* La ficha de cliente tiene mucho contenido: mantenela en una capa propia para que siga al cajón en el compositor,
     sin esperar a que el navegador vuelva a pintar todas las tarjetas. */
  .main { will-change: translate; }
  /* Lo mismo para el cajón y lo que se corre con él: si no, en la ficha (pesada) el cajón y la pantalla se movían a
     destiempo y por un instante se veían encimados hasta acomodarse. */
  .lateral { will-change: transform; }
  .topbar, .side, .lateral-fondo { will-change: translate; }
  .topbar, .side, .main { transition: translate .25s ease; }
  .lateral-fondo { transition: opacity .25s ease, translate .25s ease; }
  .lateral-abierto :is(.topbar, .side, .main, .lateral-fondo) { translate: min(300px, 82vw) 0; }
  .lateral-arrastrando :is(.topbar, .side, .main, .lateral-fondo) { transition: none; }
}
.lateral__yo { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.lateral__yo > span:last-child { display: grid; gap: 2px; min-width: 0; }
.lateral__yo strong { font-size: var(--fs-4); overflow-wrap: anywhere; }
.lateral__iniciales { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: var(--fs-4); }
.lateral__rubro { display: flex; align-items: center; gap: 8px; margin: 0; }
.en-camino { display: grid; gap: 16px; }
.en-camino__cliente { display: flex; gap: 14px; align-items: center; }
.en-camino__cliente h1 { margin: 0; font-size: var(--fs-5, 22px); }
.en-camino__cliente p { margin: 2px 0 0; }
.en-camino .etapas { margin: 0; }
.en-camino__acciones form { margin: 0; }
.en-camino__acciones { display: grid; gap: 10px; }
.en-camino__acciones .btn, .en-camino__acciones form .btn { width: 100%; justify-content: center; min-height: 52px; font-size: var(--fs-3, 16px); }
.aviso--direccion { display: flex; gap: 10px; align-items: flex-start; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--ink); margin: 0 0 14px; }
.aviso--direccion > .ico { color: var(--accent); flex: none; margin-top: 2px; }
.aviso--direccion p { margin: 2px 0 0; }
.direccion-fila { position: relative; display: inline-flex !important; flex-wrap: nowrap; align-items: center; gap: 22px; min-width: 0; max-width: 100%; }
.direccion-fila > a { display: inline-flex; align-items: center; gap: 4px; min-width: 0; }
.direccion-fila > .direccion-opciones { flex: none; }
.direccion-opciones { display: inline-block; }
.direccion-opciones > summary { display: inline-flex; align-items: center; cursor: pointer; font-size: .8rem; color: var(--accent); list-style: none; padding: 2px 9px; border: 1px solid var(--accent-line); border-radius: 999px; background: var(--accent-soft); white-space: nowrap; }
.direccion-opciones > summary::-webkit-details-marker { display: none; }
.direccion-opciones .direcciones-sugeridas { position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; width: max-content; max-width: min(340px, calc(100vw - 80px)); gap: 8px; flex-direction: column; align-items: stretch; margin: 0; padding: 8px; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: 0 8px 24px rgb(0 0 0 / .35); }
.direccion-opciones .direcciones-sugeridas .btn { justify-content: flex-start; text-align: left; white-space: normal; }
.direcciones-sugeridas { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
/* Cómo llegar (ComoLlegar en vistas/ui.tsx): un grupo de tres partes iguales, Maps resaltado con el color del rubro. */
.como-llegar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; max-width: 360px; margin-top: 8px; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; background: var(--surface-2); }
.como-llegar__op { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 0 10px; border: 0; background: none; color: var(--ink); font: inherit; font-size: var(--fs-2); font-weight: 500; text-decoration: none; cursor: pointer; }
.como-llegar__op + .como-llegar__op { border-left: 1px solid var(--line-2); }
.como-llegar__op .ico { color: var(--muted); }
.como-llegar__op:active, .como-llegar__op:hover { background: var(--surface-3); }
.como-llegar__op--maps { color: var(--accent-strong); }
.como-llegar__op--maps .ico { color: var(--accent); }
.como-llegar--grande { max-width: none; margin: 0; border-radius: var(--r-lg); }
.como-llegar--grande .como-llegar__op { min-height: 56px; font-size: var(--fs-3, 16px); flex-direction: column; gap: 4px; }
/* Más específico que los links de los datos del cliente (que van en gris y subrayados). */
.como-llegar .como-llegar__op { color: var(--ink); text-decoration: none; }
.como-llegar .como-llegar__op--maps { color: var(--accent-strong); }
/* En la compu, el grupo va en su propia línea debajo de la dirección (no al costado). */
.datos > div:has(> .como-llegar) { flex-wrap: wrap; }
.datos .como-llegar { flex-basis: 100%; max-width: none; }
.cliente-movil__datos .como-llegar { margin: 2px 0 4px; }
.direccion-actual { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 6px 0 4px; }
.direccion-actual > span:last-child { display: inline-flex; align-items: center; gap: 4px; }
.direccion-acciones { display: flex; flex-wrap: wrap; gap: 6px; align-items: flex-start; margin-top: 6px; }
.direccion-acciones form { margin: 0; }
/* Descartar se destaca: fondo rojo suave fijo (no solo al pasar el mouse). */
.direccion-acciones .btn--danger { background: var(--danger-soft); border-color: color-mix(in srgb, var(--danger) 35%, transparent); color: var(--danger); }
.direccion-otra__form[hidden] { display: none; }
.direccion-otra__form { display: grid; gap: 8px; margin-top: 8px; }
.no-cliente { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0; }
.no-cliente__acciones { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.agenda-invitacion { margin-bottom: 14px; }
.agenda__botones { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.agenda li { padding: 0; }
.agenda li[hidden] { display: none; }
.agenda__fila { display: flex; align-items: center; gap: 12px; padding: 10px 0; cursor: pointer; }
.agenda__fila input { width: 20px; height: 20px; flex: none; }
.lateral__recientes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; margin: 0 -8px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.lateral__recientes > p { margin: 0 8px 4px; }
.lateral__recientes a { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 42px; padding: 0 8px; border-radius: var(--r); color: var(--ink); text-decoration: none; font-weight: 500; }
.lateral__recientes a:active { background: var(--surface-3); }
.lateral__reciente-nombre { flex: 1 1 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Con la letra del celular agrandada: el estado entra entero y, si ni así alcanza, se acorta él también. */
.lateral__recientes .badge { flex: 0 1 auto; min-width: 0; max-width: 55%; overflow: hidden; text-overflow: ellipsis; }
.lateral__links, .lateral__secciones { display: grid; gap: 2px; margin: 0 -8px; }
/* Separadores entre los grupos del menú (secciones, extras, No clientes). */
.lateral__secciones + .lateral__links, .lateral__links + .lateral__links { border-top: 1px solid var(--line); padding-top: 10px; }
.lateral__links a, .lateral__links button, .lateral__secciones a { display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 0 8px; border-radius: var(--r); color: var(--ink); text-decoration: none; font-weight: 500; }
.lateral__links a .ico, .lateral__links button .ico, .lateral__secciones a .ico { color: var(--muted); }
.lateral__links a > .small { margin-left: auto; font-weight: 400; }
.lateral__links a[aria-current='page'], .lateral__secciones a[aria-current='page'] { background: var(--surface-3); }
.lateral__links .nav__n, .lateral__secciones .nav__n { position: static; margin-left: auto; }
/* Configuración (vistas/configuracion.tsx): filas con ícono, texto y flecha; la baja, abajo y sin resaltar. */
.config__titulo { margin: 0; font-size: var(--fs-1); font-weight: 550; }
.config { display: grid; gap: 22px; }
.config__grupo > .config__titulo { margin: 0 4px 8px; color: var(--muted); font-size: var(--fs-1); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.config__lista > * + * { border-top: 1px solid var(--line); }
.side__marca--cambiar { border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; width: 100%; }
.side__marca--cambiar .rubro-pill { display: inline-flex; align-items: center; gap: 4px; }
.card.config__lista { display: grid; padding: 4px 0; gap: 0; }
.config__lista a { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 16px; color: var(--ink); text-decoration: none; }
.config__lista a + a { border-top: 1px solid var(--line); }
.config__lista a > .ico { color: var(--muted); flex: none; }
.config__lista a > span { display: grid; flex: 1; font-weight: 500; }
.config__lista a > span .small { font-weight: 400; }
.config__lista a:hover { background: var(--surface-2); }
.config__legales { margin: 24px 0 0; text-align: center; }
.config__legales a { color: inherit; }
.config__legales + .config__baja { margin-top: 8px; }
.config__baja { margin: 32px 0 8px; text-align: center; }
.config__baja a { color: inherit; }
.lateral__salir { display: grid; gap: 8px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.lateral__salir .btn { width: 100%; justify-content: center; }
/* Al pie, siempre a la vista aunque el resto se deslice, y en una fila: Avisos, Clave, Salir (ícono arriba, texto abajo). */
.lateral .lateral__salir {
  position: sticky; bottom: calc(-1 * (var(--sa-bottom) + 20px)); z-index: 1;
  grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px;
  margin-bottom: calc(-1 * (var(--sa-bottom) + 20px)); padding: 10px 0 calc(var(--sa-bottom) + 12px);
  background: var(--surface);
}
.lateral .lateral__salir .btn { flex-direction: column; gap: 3px; min-height: 52px; padding: 6px 4px; font-size: var(--fs-1); }
@media (min-width: 960px) { .lateral, .lateral-fondo { display: none; } }
.rubro-pill { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--surface-2); color: var(--ink-2); font-size: var(--fs-1); font-weight: 500; letter-spacing: 0; }
.rubro-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.cabecera { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; margin-bottom: 20px; }
.cabecera p { margin-top: 2px; font-size: var(--fs-2); }
.cabecera__titulo { display: flex; align-items: center; gap: 10px; min-width: 0; }
/* Ícono de la sección: solo el trazo, sin caja. En el celular el título ya alcanza. */
.sec-icono { display: none; flex: none; color: var(--muted); }
.sec-icono .ico { width: 16px; height: 16px; }

/* ---------- Compu: barra lateral y el contenido como un panel aparte (estilo Linear) ---------- */
@media (min-width: 960px) {
  body { background: var(--chrome); }
  .side { top: 0; right: auto; width: 232px; padding: 12px 10px; display: flex; flex-direction: column; gap: 8px; background: var(--chrome); border-top: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
  /* La prolongación es de la barra de abajo del celular: en la compu el menú se desplaza y quedaría encima de sus opciones. */
  .side::after { display: none; }
  .side > .side__marca { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 32px; padding: 0 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: var(--fs-3); letter-spacing: -.01em; }
  .side > .side__nuevo { display: flex; }
  .side > .side__nuevo { justify-content: flex-start; padding: 0 10px; font-size: var(--fs-2); }
  .side > .side__buscar { display: block; }
  .side > .side__extra { display: grid; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
  .side > .side__buscar .ico { left: 10px; width: 14px; height: 14px; }
  .side > .side__buscar input { font-size: var(--fs-2); padding-left: 32px; background: transparent; border-color: transparent; color: var(--ink-2); }
  .side > .side__buscar input:hover { background: var(--surface-2); border-color: transparent; }
  .side > .side__buscar input:focus { background: var(--input); color: var(--ink); }
  .nav { grid-template-columns: 1fr; gap: 1px; height: auto; margin-top: 4px; }
  .nav button { display: flex; align-items: center; width: 100%; border: 0; background: none; font: inherit; cursor: pointer; text-align: left; }
  .nav a, .nav button { flex-direction: row; justify-content: flex-start; gap: 10px; height: 30px; padding: 0 10px; border-radius: var(--r-sm); color: var(--ink-2); font-size: var(--fs-2); letter-spacing: 0; }
  .nav a .ico, .nav button .ico { width: 16px; height: 16px; padding: 0; border-radius: 0; color: var(--muted); }
  .nav a:hover, .nav button:hover { background: var(--surface-2); color: var(--ink); }
  .nav a[aria-current='page'] { background: var(--surface-3); color: var(--ink); }
  .nav a[aria-current='page'] .ico { background: none; color: var(--ink); }
  .nav__n { position: static; margin-left: auto; height: 18px; line-height: 16px; background: transparent; border-color: transparent; color: var(--muted); font-weight: 500; }
  .side > .wa-estado { display: flex; align-items: center; gap: 8px; margin-top: auto; padding: 6px 10px; font-size: var(--fs-1); font-weight: 500; color: var(--muted); }
  /* Pie del menú, como en el celular: una fila con el usuario y el engranaje; siempre a la vista aunque el menú se desplace. */
  .side > .side__cuenta { display: block; position: sticky; bottom: 0; margin: auto -12px -16px; padding: 4px 12px 8px; background: var(--chrome); border-top: 1px solid var(--line); }
  .side > .wa-estado + .side__cuenta { margin-top: 4px; }
  .side__cuenta summary { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 8px; border-radius: var(--r); color: var(--muted); cursor: pointer; list-style: none; }
  .side__cuenta summary::-webkit-details-marker { display: none; }
  .side__cuenta summary:hover, .side__cuenta[open] summary { background: var(--surface-2); color: var(--ink); }
  .side__cuenta .lateral__iniciales { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--surface-3); color: var(--ink); font-size: 11px; font-weight: 600; }
  .side__cuenta .side__yo { flex: 1; min-width: 0; padding: 0; }
  .side__ajustes { display: grid; gap: 6px; padding-top: 6px; }
  .side__salir { margin: 0; }
  .side__salir .btn { width: 100%; justify-content: flex-start; padding: 0 10px; border-color: transparent; background: transparent; color: var(--muted); font-size: var(--fs-1); }
  .side__salir .btn:hover { background: var(--surface-2); color: var(--ink); }
  .side__yo { display: flex; align-items: center; gap: 6px; padding: 6px 10px 2px; font-size: var(--fs-1); color: var(--ink-2); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .side__yo .ico { flex: none; color: var(--muted); }
  /* El panel: borde fino y esquinas redondeadas sobre el fondo más oscuro. overflow-x: clip deja que las barras
     de arriba ocupen todo el ancho sin generar scroll (y sin romper lo que es sticky). */
  /* flow-root: el margen de arriba del panel queda adentro (si no, se escapa y la página tiene 8 px de scroll de más). */
  .app { display: flow-root; }
  .main { min-height: calc(100vh - 16px); margin: 8px 8px 8px 232px; padding: 0 32px 48px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; overflow-x: clip; }
  .contenido { max-width: 1240px; }
  .topbar { display: none; }
  :root { --top-h: 0px; }
  /* Título de la página: barra fija arriba, de borde a borde del panel, con el subtítulo al lado. */
  .cabecera { position: sticky; top: 0; z-index: 15; align-items: center; min-height: 52px; margin-bottom: 20px; padding: 10px 0; background: var(--bg); box-shadow: 0 0 0 100vmax var(--bg); clip-path: inset(0 -100vmax); }
  .cabecera::after { content: ''; position: absolute; left: -100vmax; right: -100vmax; bottom: 0; border-bottom: 1px solid var(--line); }
  .cabecera__titulo > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 12px; min-width: 0; }
  .cabecera h1 { font-size: var(--fs-3); font-weight: 600; letter-spacing: 0; }
  .cabecera p { margin: 0; color: var(--muted); }
  .sec-icono { display: block; }
}

/* ---------- Tarjetas ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--pad); }
.card + .card, .stack > * + * { margin-top: 12px; }
/* Encabezado de tarjeta como franja (como los grupos de Linear): título, cantidad y el link a la derecha. */
.card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; min-height: 54px; margin: calc(var(--pad) * -1) calc(var(--pad) * -1) var(--pad); padding: 6px var(--pad); background: var(--surface-2); border-bottom: 1px solid var(--line); border-radius: var(--r-lg) var(--r-lg) 0 0; }
.card__head .small { font-size: var(--fs-1); }
/* Una línea que explica para qué es la tarjeta, debajo de la franja del título. */
.card__ayuda { margin: -4px 0 14px; font-size: var(--fs-2); color: var(--muted); }
.card__ayuda strong { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
@media (min-width: 960px) { .card__head { min-height: 40px; } }
.card__head h2, .card__titulo { display: flex; align-items: center; gap: 8px; font-size: var(--fs-3); }
@media (min-width: 960px) { .card__head h2, .card__titulo { font-size: var(--fs-2); } }
.card__head h2 .ico, .card__titulo .ico, .bloque__titulo h3 .ico { color: var(--muted); }
.card__head .small:not(.muted) { font-weight: 500; text-decoration: none; }
.card__head a.small:hover { text-decoration: underline; }
.cnt { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border-radius: var(--r-sm); background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); font-size: var(--fs-1); font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: 0; }

/* ---------- Botones ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--h); padding: 0 14px; border-radius: var(--r); border: 1px solid transparent; background: var(--accent); color: var(--accent-ink); font: inherit; font-size: var(--fs-3); font-weight: 500; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .12s, border-color .12s, color .12s; }
.btn:hover { background: var(--accent-hover); }
.btn .ico { width: 16px; height: 16px; }
/* Los botones chicos de una fila van oscuros, con el ícono de color: el lleno (acento) queda para la acción principal. */
.btn--ghost, .btn--wa, .btn--ingreso, .btn--egreso, .btn--ok { background: var(--surface-2); border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover, .btn--wa:hover, .btn--ingreso:hover, .btn--egreso:hover, .btn--ok:hover { background: var(--surface-3); border-color: var(--line-3); }
.btn--wa .ico { color: var(--wa); }
.btn--ingreso .ico, .btn--ok .ico { color: var(--ok); }
.btn--egreso .ico { color: var(--danger); }
.btn--sm { min-height: var(--h-sm); padding: 0 10px; font-size: var(--fs-2); gap: 6px; }
.btn--icon { padding: 0; width: var(--h); min-width: var(--h); }
.btn--sm.btn--icon { width: var(--h-sm); min-width: var(--h-sm); }
.btn--danger { background: transparent; border-color: transparent; color: var(--danger); }
.btn--danger:hover { background: var(--danger-soft); border-color: transparent; }
/* "No es cliente" en la ficha: aparte, al pie de los datos del cliente. */
.no-es-cliente { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line); }
.no-es-cliente .btn { margin-left: -10px; }
.btn:disabled, .btn[aria-disabled='true'] { opacity: .5; cursor: not-allowed; pointer-events: none; }
/* Enviando: el formulario queda bloqueado (client.ts) y el botón principal muestra que está trabajando. */
form[data-enviando] .btn:disabled { cursor: progress; }
form[data-enviando] .btn:not(.btn--ghost):not(.btn--danger):not(.btn--icon):not(.btn--wa):disabled::after { content: ''; width: 12px; height: 12px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: girar .7s linear infinite; }
/* El botón que se tocó, mientras se manda (los primarios ya la tienen por estar deshabilitados). */
form[data-enviando] .btn.btn--cargando::after { content: ''; width: 12px; height: 12px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: girar .7s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }
.acciones { display: flex; flex-wrap: wrap; gap: 8px; }
.acciones form, .acciones-cierre form, .presupuesto__acciones form:where(:not(.audio-ia--editar form, .editar-audio form)), .cierre__estado form { display: flex; margin: 0; }
.link-borrar { display: inline-flex; align-items: center; background: none; border: 0; padding: 2px 6px; font: inherit; font-size: var(--fs-1); font-weight: 500; color: var(--muted); cursor: pointer; border-radius: var(--r-sm); }
.link-borrar:hover { color: var(--danger); background: var(--danger-soft); }
@media (max-width: 959px) { .link-borrar { min-height: 32px; padding: 0 8px; } }

/* ---------- Badges, chips y etiquetas ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 22px; padding: 0 9px 0 8px; border-radius: 999px; border: 1px solid var(--line-2); font-size: var(--fs-1); font-weight: 500; white-space: nowrap; background: transparent; color: var(--ink-2); }
.badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--punto, currentColor); }
.badge--nueva { --punto: var(--c-nueva); } .badge--contactado { --punto: var(--c-contactado); } .badge--presupuestado { --punto: var(--c-presupuestado); } .badge--camino { --punto: var(--c-camino); } .badge--ganado { --punto: var(--c-ganado); } .badge--perdido { --punto: var(--c-perdido); } .badge--vencido { --punto: var(--c-vencido); }
.chip { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-1); font-weight: 400; color: var(--muted); white-space: nowrap; }
.chip .ico { width: 12px; height: 12px; }
.chip--vencido, .chip--demora { color: var(--danger); }
.chip--hoy, .chip--escribio { color: var(--warn); }
.origen { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 7px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); font-size: var(--fs-1); font-weight: 500; white-space: nowrap; }
.origen .ico { width: 12px; height: 12px; }
.origen--web { background: transparent; border-color: var(--accent-line); color: var(--accent-strong); }

.avatar { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font-weight: 600; font-size: var(--fs-1); color: var(--ink-2); letter-spacing: 0; }
.avatar--lg { width: 52px; height: 52px; font-size: var(--fs-4); }
.avatar--0 { background: var(--av-0); } .avatar--1 { background: var(--av-1); } .avatar--2 { background: var(--av-2); } .avatar--3 { background: var(--av-3); } .avatar--4 { background: var(--av-4); } .avatar--5 { background: var(--av-5); }

/* ---------- Avisos ---------- */
.aviso { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r); border: 1px solid transparent; font-size: var(--fs-2); font-weight: 500; margin-bottom: 16px; }
.aviso .ico { width: 16px; height: 16px; flex: none; }
.aviso--ok { background: var(--ok-soft); color: var(--ok); }
.aviso--info { background: var(--surface-2); border-color: var(--line-2); color: var(--ink-2); align-items: flex-start; font-weight: 400; }
.aviso--info .ico { margin-top: 1px; color: var(--muted); }
.aviso--info code { font-size: .92em; overflow-wrap: anywhere; }
.aviso--nuevas { position: sticky; top: calc(var(--top-h) + 8px); z-index: 20; justify-content: space-between; background: var(--surface-3); border-color: var(--accent-line); color: var(--ink); box-shadow: var(--shadow-pop); }
.aviso--nuevas .ico { color: var(--accent-strong); }
.aviso--nuevas[hidden] { display: none; }
/* En la compu, los avisos quedan abajo de la barra del título (que es fija). */
@media (min-width: 960px) { .aviso--nuevas { top: 64px; } .contenido > .aviso:first-child, .contenido > [data-vivo="aviso-wa"] > .aviso--wa { margin-top: 16px; } }
.aviso--nuevas a { color: var(--accent-strong); font-weight: 600; text-decoration: none; padding: 4px 8px; border-radius: var(--r-sm); }
.aviso--nuevas a:hover { background: var(--accent-soft); }
.aviso--wa { background: var(--danger-soft); border-color: color-mix(in srgb, var(--danger) 25%, transparent); color: var(--danger-ink); align-items: flex-start; font-weight: 400; }
.aviso--wa .ico { margin-top: 1px; color: var(--danger); }
.aviso--wa strong { font-weight: 600; color: var(--danger); }
.aviso--cobro { background: var(--warn-soft); color: var(--ink-2); margin: 12px 0 0; font-weight: 400; align-items: flex-start; }
.aviso--cobro .ico { color: var(--warn); margin-top: 1px; }
.aviso--cobro strong { color: var(--ink); }
.aviso--ir { width: 100%; text-align: left; font-family: inherit; font-size: var(--fs-2); font-weight: 400; cursor: pointer; }
.aviso--ir:hover { border-color: color-mix(in srgb, var(--warn) 45%, transparent); }
.aviso__ir { display: inline-block; color: var(--warn); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.remarcado { animation: remarcado 2.5s ease-out; }
@keyframes remarcado { 0%, 35% { box-shadow: 0 0 0 3px var(--accent); } 100% { box-shadow: 0 0 0 3px transparent; } }
.aviso--esperando { flex-wrap: wrap; background: var(--warn-soft); color: var(--ink); margin: 16px 0 0; }
.aviso--esperando .ico { color: var(--warn); }
.aviso--esperando span { flex: 1 1 180px; }
.aviso--esperando form { margin: 0; }
.entrar .ok { background: var(--surface-2); border: 1px solid var(--line); padding: 10px 12px; border-radius: var(--r); font-size: var(--fs-2); font-weight: 500; margin: 0 0 16px; }
.oculto { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.entrar__olvide { justify-self: end; margin-top: -4px; color: var(--muted); }
.error { display: flex; gap: 8px; align-items: flex-start; background: var(--danger-soft); border: 1px solid color-mix(in srgb, var(--danger) 25%, transparent); color: var(--danger-ink); padding: 10px 12px; border-radius: var(--r); font-size: var(--fs-2); font-weight: 500; margin-bottom: 16px; }
.error::before { content: '!'; flex: none; display: grid; place-items: center; width: 16px; height: 16px; margin-top: 1px; border-radius: 50%; background: var(--danger); color: var(--surface); font-size: 11px; font-weight: 700; }

.toast { position: fixed; left: 50%; bottom: calc(var(--nav-h) + 16px + var(--sa-bottom)); transform: translateX(-50%); z-index: 50; display: flex; align-items: center; gap: 8px; max-width: calc(100vw - 32px); width: max-content; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: var(--r); font-weight: 500; font-size: var(--fs-2); box-shadow: var(--shadow-pop); animation: toast 2.6s ease forwards; }
.toast .ico { width: 16px; height: 16px; color: var(--ok); }
.toast--error { background: #2a1516; color: var(--danger-ink); border: 1px solid color-mix(in srgb, var(--danger) 35%, transparent); animation-duration: 5s; }
.toast--error .ico { color: var(--danger); }
/* Aviso que queda hasta que la página cambia ("Está tardando… Recargar"). */
.toast--fijo { animation: none; }
.toast--fijo button { padding: 0; background: none; border: 0; color: inherit; font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
@keyframes toast { 0% { opacity: 0; translate: 0 8px; } 8%, 85% { opacity: 1; translate: 0 0; } 100% { opacity: 0; visibility: hidden; } }
@media (min-width: 960px) { .toast { left: calc(50% + 116px); bottom: 24px; } }
@media (prefers-reduced-motion: reduce) { .toast { animation-duration: 4s; } form[data-enviando] .btn::after { animation-duration: 2s; } }

/* Estado vacío */
.vacio { display: grid; justify-items: center; gap: 4px; text-align: center; color: var(--muted); padding: 32px 16px; font-size: var(--fs-2); }
.vacio .ico { box-sizing: content-box; width: 20px; height: 20px; padding: 10px; margin-bottom: 8px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); }
.vacio strong { color: var(--ink); font-size: var(--fs-3); font-weight: 600; }
.vacio .small { max-width: 340px; }

/* ---------- Números de arriba (KPIs) ---------- */
/* Una sola tira dividida por líneas finas (el fondo de la grilla hace de línea entre celdas). */
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-bottom: 16px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 760px) { .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 960px) { .kpis { margin-bottom: 20px; } }
.kpi { display: flex; flex-direction: column; min-width: 0; background: var(--surface); padding: 12px 14px; text-decoration: none; color: var(--ink); transition: background-color .12s; }
@media (min-width: 960px) { .kpi { padding: 14px 16px; } }
a.kpi:hover { background: var(--surface-2); }
.kpi:focus-visible { outline-offset: -2px; border-radius: 0; }
.kpi__label { display: flex; align-items: center; gap: 6px; font-size: var(--fs-1); font-weight: 500; color: var(--muted); }
.kpi__label .ico { width: 14px; height: 14px; color: var(--faint); }
.kpi__icono { display: contents; }
.kpi__valor { display: block; margin-top: 8px; font-size: var(--fs-5); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
@media (min-width: 960px) { .kpi__valor { font-size: var(--fs-6); } }
.kpi__sub { display: block; margin-top: 4px; font-size: var(--fs-1); color: var(--muted); }
.kpi--alerta .kpi__valor { color: var(--danger); }

.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 960px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; } .grid-2 > .card + .card { margin-top: 0; } }
/* Dos columnas independientes: cada una apila sus tarjetas sin dejar huecos entre filas. */
.columna { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
@media (min-width: 960px) { .columna { gap: 16px; } }
.columna > .card + .card { margin-top: 0; }

/* Acciones rápidas del Inicio: fila de botones secundarios (en el celular se desliza de costado). */
.rapidas { display: flex; gap: 8px; margin: 0 -16px 16px; padding: 0 16px 2px; overflow-x: auto; scrollbar-width: none; }
.rapidas::-webkit-scrollbar { display: none; }
@media (min-width: 960px) { .rapidas { flex-wrap: wrap; margin: 0 0 20px; padding: 0; overflow: visible; } }
.rapida { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: var(--h); padding: 0 12px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line-2); color: var(--ink); font-size: var(--fs-2); font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color .12s, border-color .12s; }
.rapida .ico { width: 16px; height: 16px; color: var(--muted); }
.rapida:hover { background: var(--surface-2); border-color: var(--line-3); }
.rapida:first-child { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.rapida:first-child .ico { color: inherit; }
.rapida:first-child:hover { background: var(--accent-hover); }

/* ---------- Filas (consultas, deudores, movimientos) ---------- */
.filas { list-style: none; margin: 0; padding: 0; }
.filas > li + li { border-top: 1px solid var(--line); }
.card > .filas { margin: 0 calc(var(--pad) * -1); }
/* La lista llega hasta el borde de la tarjeta (para que el renglón entero se pinte al tocarlo) y cada .fila trae su
   margen. Cualquier otro renglón (uno simple, con texto y un botón) lleva el mismo margen, así nunca queda pegado al
   borde. */
.card > .filas > li:not(:has(> .fila)) { padding-left: var(--pad); padding-right: var(--pad); }
.card > .filas:last-child { margin-bottom: calc(var(--pad) * -1); }
.card > .filas:first-child { margin-top: calc(var(--pad) * -1); }
.card > .filas:last-child > li:last-child > .fila { border-radius: 0 0 var(--r-lg) var(--r-lg); }
.card > .filas:first-child > li:first-child > .fila { border-radius: var(--r-lg) var(--r-lg) 0 0; }
.card > .card__head + .filas { margin-top: calc(var(--pad) * -1); }
/* Listas del inicio: se ven unas 4 o 5 filas (la última cortada, para que se note que hay más) y el resto se ve
   deslizando adentro de la tarjeta. En el celular, recién después de tocar la tarjeta (queda con el borde del color
   del rubro, ver client.ts); antes, deslizar sobre ella mueve la página. */
.filas--scroll { max-height: 440px; overflow-x: hidden; overflow-y: auto; scrollbar-width: thin; border-radius: 0 0 var(--r-lg) var(--r-lg); }
@media (pointer: coarse) {
  .filas--scroll { overflow-y: hidden; }
  .card--activa { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
  .card--activa > .filas--scroll { overflow-y: auto; overscroll-behavior: contain; }
}
.fila { display: flex; align-items: center; gap: 12px; padding: 12px var(--pad); color: var(--ink); text-decoration: none; transition: background-color .12s; }
.fila:hover { background: var(--surface-2); }
.fila__main { flex: 1; min-width: 0; display: grid; gap: 1px; }
.fila__nombre { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fila__servicio { font-size: var(--fs-2); color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Sin responder: lo último que escribió el cliente, en una línea (lo largo se corta con …). */
.fila .fila__mensaje { color: var(--ink); }
.fila .fila__mensaje.muted { color: var(--muted); font-style: italic; }
.fila__al-lado { color: var(--muted); font-weight: 400; }
.fila__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 4px; }
.fila__lado { display: grid; justify-items: end; gap: 6px; flex: none; }
.fila__monto { font-weight: 600; font-size: var(--fs-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fila .flecha { width: 16px; height: 16px; color: var(--faint); }
@media (max-width: 520px) { .fila .flecha { display: none; } }
/* En listas anchas (la tarjeta es el contenedor), más densas: nombre y servicio en una línea, metadatos en otra
   (sin cortar de renglón), y a la derecha el estado y el monto en columnas fijas, alineados entre filas.
   En tarjetas angostas (media columna) quedan apiladas como en el celular. */
.card { container-type: inline-size; }
@media (min-width: 960px) {
  .fila { padding: 10px var(--pad); }
  .fila .avatar { width: 28px; height: 28px; font-size: 11px; }
}
@container (min-width: 720px) {
  .fila__main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
  .fila__nombre { flex: 0 1 auto; max-width: 60%; }
  .fila__servicio { flex: 1 1 0; min-width: 0; font-size: inherit; color: var(--muted); }
  .fila__meta { flex-basis: 100%; flex-wrap: nowrap; overflow: hidden; margin-top: 2px; }
  .fila__lado { display: flex; align-items: center; gap: 12px; }
  .fila__monto { min-width: 96px; text-align: right; font-size: inherit; }
  .fila__lado > .badge:only-child { margin-right: 108px; }
}
/* En pantallas angostas, estado y monto bajan debajo del texto para no taparlo. */
@media (max-width: 420px) {
  .fila { flex-wrap: wrap; align-items: flex-start; }
  .fila__lado { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-basis: 100%; padding-left: 44px; }
  .fila__lado:empty { display: none; }
}
/* Conversaciones: como la lista de chats de WhatsApp. El último mensaje en un renglón y, a la derecha, cuándo y un
   punto si espera respuesta (no baja de renglón ni en el celular). */
.fila--chat .fila__main { display: grid; }
.fila--chat .fila__nombre { max-width: none; }
.fila--chat .fila__servicio { font-size: var(--fs-2); color: var(--ink-2); }
.fila--chat .fila__servicio.muted { color: var(--muted); font-style: italic; }
.fila--chat[data-esperando] .fila__nombre { font-weight: 600; }
.fila--chat[data-esperando] .fila__servicio { color: var(--ink); }
.chat__vos { color: var(--muted); font-style: normal; }
.chat__servicio { font-size: var(--fs-1); color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fila--chat .fila__lado { display: grid; justify-items: end; align-self: flex-start; gap: 6px; flex: none; flex-basis: auto; padding: 2px 0 0; }
.chat__hora { font-size: var(--fs-1); color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.fila--chat[data-esperando] .chat__hora { color: var(--warn); font-weight: 600; }
.chat__punto { width: 10px; height: 10px; border-radius: 50%; background: var(--warn); }
@media (max-width: 420px) { .fila--chat { flex-wrap: nowrap; } }

/* ---------- Herramientas de las listas: buscador, filtros, pestañas ---------- */
.herramientas { display: grid; gap: 8px; margin-bottom: 12px; }
@media (min-width: 760px) { .herramientas { display: flex; align-items: center; } .herramientas .buscador { flex: 1; } }
.buscador { position: relative; display: block; }
.buscador .ico { position: absolute; left: 12px; top: 50%; translate: 0 -50%; width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.campo, .buscador input { width: 100%; min-height: var(--h); font: inherit; font-size: 16px; color: var(--ink); background: var(--input); border: 1px solid var(--line-2); border-radius: var(--r); padding: 0 12px; transition: border-color .12s, box-shadow .12s; }
@media (min-width: 960px) { .campo, .buscador input { font-size: var(--fs-3); } }
textarea.campo { resize: vertical; min-height: 88px; padding: 10px 12px; line-height: 1.45; }
select.campo { appearance: none; -webkit-appearance: none; padding-right: 34px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238b8f98' 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 10px center; }
select.campo option { background: var(--surface); color: var(--ink); }
.buscador input { padding-left: 36px; }
.clave-ver { position: relative; display: block; }
.clave-ver .campo { padding-right: 44px; }
.clave-ver__boton { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: none; color: var(--muted); cursor: pointer; border-radius: var(--r); }
.clave-ver__boton:hover { color: var(--ink); }
.error-campo { color: var(--danger); font-weight: 400; }
.campo:hover, .buscador input:hover { border-color: var(--line-3); }
.campo:focus, .buscador input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.campo:disabled { opacity: .5; cursor: not-allowed; }
.campo:user-invalid { border-color: var(--danger); }
input[type='date'].campo, input[type='month'].campo { color-scheme: dark; }
.direccion-autocomplete { position: relative; min-width: 0; }
.direccion-autocomplete__lista { position: absolute; z-index: 80; inset: calc(100% + 4px) 0 auto; display: grid; max-height: min(280px, 45vh); overflow-y: auto; overscroll-behavior: contain; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: 0 12px 28px rgb(0 0 0 / .32); }
.direccion-autocomplete__lista[hidden] { display: none; }
.direccion-autocomplete__lista [role='option'] { width: 100%; min-height: 42px; padding: 9px 12px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); text-align: left; font: inherit; font-size: var(--fs-2); cursor: pointer; }
.direccion-autocomplete__lista [role='option']:hover, .direccion-autocomplete__lista [role='option'][aria-selected='true'] { background: var(--surface-2); }
.direccion-autocomplete__mensaje { padding: 10px 12px; color: var(--muted); font-size: var(--fs-1); }
.direccion-autocomplete__atribucion { padding: 6px 10px; color: var(--muted); font-size: 11px; text-align: right; }
.direccion-autocomplete__atribucion a { color: var(--muted); }

.segmentado { display: inline-flex; padding: 2px; gap: 2px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r); }
.segmentado a { display: inline-flex; align-items: center; gap: 6px; min-height: calc(var(--h) - 6px); padding: 0 12px; border-radius: var(--r-sm); color: var(--muted); text-decoration: none; font-weight: 500; font-size: var(--fs-2); }
.segmentado a .ico { width: 16px; height: 16px; }
.segmentado a:hover { color: var(--ink); }
.segmentado--periodos a { white-space: nowrap; }
@media (max-width: 640px) {
  .segmentado--periodos { display: flex; width: 100%; }
  .segmentado--periodos a { flex: 1; justify-content: center; padding: 0 2px; font-size: var(--fs-1); }
}
.segmentado a[aria-current='page'] { background: var(--surface-3); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }

/* Pestañas subrayadas (en el celular se deslizan de costado). */
.tabs { display: flex; gap: 20px; overflow-x: auto; margin: 0 -16px 16px; padding: 0 16px; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
@media (min-width: 960px) { .tabs { margin: 0 0 16px; padding: 0; } }
.tab { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: var(--h); margin-bottom: -1px; color: var(--muted); text-decoration: none; font-weight: 500; font-size: var(--fs-2); border-bottom: 2px solid transparent; }
.tab:hover { color: var(--ink); }
/* Pestañas en el celular (Consultas, Caja, Inventario): la de al lado entra deslizando (client.ts). Mientras se
   arrastra, la vecina va al costado, a la misma altura; se recorta abajo para no estirar la página. */
.pestanas { position: relative; overflow: visible clip; }
.pestanas > .pestanas__vecina { position: absolute; top: 0; width: 100%; margin: 0; }
/* El costado queda para el gesto: el navegador solo desplaza para arriba y abajo (y deja hacer zoom). */
body:has(.pestanas) .main { touch-action: pan-y pinch-zoom; }
.tab[aria-current='page'] { color: var(--ink); border-bottom-color: var(--ink); }
/* Con JavaScript, la raya de la activa es una sola que se mueve de pestaña en pestaña (client.ts). */
.tab { transition: color .25s ease; }
.tabs--deslizable { position: relative; }
.tabs--deslizable .tab[aria-current='page'] { border-bottom-color: transparent; }
@media (max-width: 959px) {
  /* Celular: al bajar por la lista, la barra de pestañas queda pegada debajo del encabezado. */
  .tabs:not(.tabs--inline) { position: sticky; top: var(--top-h); z-index: 20; background: var(--bg); }
}
.tabs__raya { position: absolute; left: 0; bottom: 0; width: 0; height: 2px; border-radius: 2px; background: var(--ink); pointer-events: none; }
.tab__n { display: inline-flex; align-items: center; height: 18px; padding: 0 5px; border-radius: 5px; background: var(--surface-2); color: var(--muted); font-size: var(--fs-1); font-variant-numeric: tabular-nums; }
.tab[aria-current='page'] .tab__n { background: var(--surface-3); color: var(--ink-2); }

/* ---------- Tablero por etapas ---------- */
.tablero { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 12px; overflow-x: auto; margin: 0 -16px; padding: 0 16px 12px; scroll-snap-type: x mandatory; scroll-padding-inline: 6px; }
@media (min-width: 960px) { .tablero { margin: 0; padding: 0 0 12px; grid-auto-columns: minmax(208px, 1fr); } }
.col { scroll-snap-align: start; display: flex; flex-direction: column; gap: 8px; min-height: 160px; }
/* En el celular la página baja entera hasta el final de la columna más larga (pedido del usuario: nada de scroll por columna). */
@media (max-width: 959px) { .tablero { align-items: start; } }
.col__head { display: flex; align-items: center; justify-content: space-between; min-height: 32px; padding: 0 2px; }
.col__total { font-size: var(--fs-1); color: var(--muted); font-weight: 500; padding: 0 4px 4px; font-variant-numeric: tabular-nums; }
.tarjeta { display: grid; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px; color: var(--ink); text-decoration: none; transition: border-color .12s, background-color .12s; }
.tarjeta:hover { border-color: var(--line-3); background: var(--surface-2); }
.tarjeta__top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.tarjeta__top .avatar { width: 24px; height: 24px; font-size: 10px; }
.tarjeta__top strong { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tarjeta > .small { color: var(--ink-2); }
.col__debe { color: var(--danger); }
.tarjeta__debe { justify-self: end; color: var(--danger); font-size: var(--fs-1); font-weight: 600; font-variant-numeric: tabular-nums; }
.tarjeta__pie { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.col__vacia { color: var(--muted); font-size: var(--fs-2); text-align: center; padding: 20px 4px; border: 1px dashed var(--line-2); border-radius: var(--r); }

/* ---------- Ficha del cliente ---------- */
.volver { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; margin-bottom: 12px; font-weight: 500; text-decoration: none; color: var(--muted); font-size: var(--fs-2); }
.volver .ico { width: 16px; height: 16px; }
.volver:hover { color: var(--ink); }
/* En la compu, "← Consultas" arriba de la ficha va como barra, igual que los títulos (migas de pan). */
@media (min-width: 960px) {
  .volver { display: flex; position: relative; min-height: 52px; margin: 0 0 20px; }
  .volver::after { content: ''; position: absolute; left: -100vmax; right: -100vmax; bottom: 0; border-bottom: 1px solid var(--line); }
  .volver + .cabecera { margin-top: -20px; }
}
.ficha { display: grid; gap: 12px; }
/* En el celular, el cliente queda resumido arriba y la cuenta/fotos al final. */
@media (max-width: 1039px) {
  .ficha__lado { display: contents; }
  .ficha__lado > .card { margin: 0; }
  .ficha__col:first-child { order: 1; }
  .ficha__lado > .cliente-resumen { display: none; }
  .ficha__lado > .card:not(.cliente-resumen) { order: 3; }
}
@media (min-width: 1040px) { .ficha { grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; } .ficha__lado { position: sticky; top: 24px; } }
.ficha__col > * + * { margin-top: 12px; }
@media (min-width: 1040px) { .ficha__col > * + * { margin-top: 16px; } }
.cliente-movil { display: none; }
@media (max-width: 1039px) {
  .cliente-movil { display: block; margin: 0 0 12px; padding: 0 0 10px; border-bottom: 1px solid var(--line); }
  .cliente-movil__linea { display: flex; align-items: center; gap: 8px; min-width: 0; }
  .cliente-movil__linea .avatar { width: 34px; height: 34px; flex: none; font-size: var(--fs-2); }
  .cliente-movil__nombre { display: grid; flex: 1; min-width: 0; line-height: 1.25; }
  .cliente-movil__nombre > * { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .cliente-movil__nombre strong { font-size: var(--fs-2); }
  .cliente-movil__nombre span { color: var(--muted); font-size: var(--fs-1); }
  .cliente-movil__icono { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--ink-2); }
  .cliente-movil__icono:first-of-type { color: var(--wa); }
  .cliente-movil__datos { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 8px 0 0; color: var(--muted); font-size: var(--fs-1); }
  .cliente-movil__datos > * { display: inline-flex; align-items: center; gap: 4px; }
  .cliente-movil__datos a { color: var(--ink-2); }
  .cliente-movil__datos .ico { flex: none; color: var(--muted); }
  /* Cliente desde y Último contacto, en la misma línea. */
  /* Del mismo ancho que Maps/Uber/DiDi: Cliente desde a la izquierda y Último contacto pegado a la derecha, alineado con DiDi. */
  .cliente-movil__datos > .cliente-movil__par { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; flex-basis: 100%; }
  /* En pantallas angostas, el texto corto ("Desde 19 sept", "Último: Web") para que entren en la misma línea; si igual
     no entra, la segunda parte baja (wrap) en vez de cortarse. */
  .cliente-movil__par .solo-angosto { display: none; }
  @media (max-width: 400px) {
    .cliente-movil__par .solo-ancho { display: none; }
    .cliente-movil__par .solo-angosto { display: inline; }
  }
  /* Texto común (no flex): el texto va partido en pedazos (corto/largo) y como flex se perdían o sobraban espacios. */
  .cliente-movil__par > span { display: inline; white-space: nowrap; }
  .cliente-movil__par > span > .ico { display: inline-block; vertical-align: -2px; margin-right: 4px; }
  /* El grupo de cómo llegar no es un dato más: va en su línea, como grilla de tres partes iguales. */
  .cliente-movil__datos > .como-llegar { display: grid; flex-basis: 100%; gap: 0; max-width: none; }
  .cliente-movil__datos .como-llegar .como-llegar__op { gap: 7px; }
  .cliente-movil__datos .como-llegar .ico { color: var(--muted); }
  .cliente-movil__datos .como-llegar .como-llegar__op--maps .ico { color: var(--accent); }
  .cliente-movil__acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 7px 0 0; font-size: var(--fs-1); }
  .cliente-movil__acciones summary, .cliente-movil__borrar button { display: inline-flex; align-items: center; gap: 5px; min-height: 26px; padding: 0; border: 0; background: none; color: var(--ink-2); font: inherit; cursor: pointer; list-style: none; }
  .cliente-movil__acciones summary::-webkit-details-marker { display: none; }
  .cliente-movil__editar summary::after { content: none; }
  .cliente-movil__editar[open] { flex-basis: 100%; }
  .cliente-movil__editar .form { margin: 8px 0; }
  .cliente-movil__borrar { margin: 0; padding: 0; border: 0; }
  .cliente-movil__borrar button { color: var(--danger); }
}
/* Chat de la ficha en el celular (client.ts): el historial de la consulta más reciente a pantalla completa, a la
   derecha de la ficha. Las dos van una al lado de la otra, como tarjetas: al deslizar hacia la izquierda la ficha se
   corre a la par y entra el chat (no se le monta encima como un menú); hacia la derecha, vuelve. Adentro el chat
   tiene su propio scroll y abajo, fijo, para responder o anotar. */
.chat { position: fixed; inset: var(--top-h) 0 0 0; z-index: 45; display: flex; flex-direction: column; background: var(--bg); border-left: 1px solid var(--line); transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility 0s .3s; }
.chat[hidden] { display: none; }
.chat-listo .main, .chat { touch-action: pan-y pinch-zoom; }
.chat-listo .main, .chat-listo .side { transition: transform .3s ease, translate .25s ease; }
.chat-abierto .chat { transform: none; visibility: visible; transition: transform .3s ease; }
.chat-abierto .main, .chat-abierto .side { transform: translateX(-100%); }
.chat-arrastrando .chat, .chat-arrastrando .main, .chat-arrastrando .side { transition: none; }
/* Mientras se arrastra el cajón, la ficha sigue al dedo sin la transición de arriba (que si no le ganaba a la del
   cajón y la pantalla iba atrasada, como encimada). */
:root.lateral-arrastrando .main, :root.lateral-arrastrando .side { transition: none; }
.chat-arrastrando .chat { visibility: visible; }
.chat-abierto, .chat-abierto body { overflow: hidden; }
.chat-muesca { display: none; }
@media (max-width: 1039px) {
  .chat-muesca { display: block; position: relative; flex: none; align-self: center; width: 22px; height: 40px; margin: 0 -16px 0 4px; padding: 0; border: 1px solid var(--line-3); border-right: 0; border-radius: 12px 0 0 12px; background: var(--surface-3); cursor: pointer; }
  .chat-muesca::before { content: ''; position: absolute; left: 9px; top: 10px; width: 4px; height: 18px; border-radius: 2px; background: var(--muted); }
  /* La muesca quieta (client.ts): en el borde derecho, a la misma altura de pantalla que tiene arriba de todo, mientras
     se baja por la ficha. La original solo guarda el lugar. Se esconde con el chat o el menú abiertos. */
  .chat-muesca--lugar { visibility: hidden; }
  .chat-muesca--fija { position: fixed; right: 0; margin: 0; z-index: 30; }
  .chat-muesca--fija[hidden], .chat-abierto .chat-muesca--fija, .lateral-abierto .chat-muesca--fija { display: none; }
}
.chat > .etapa-arriba { flex: none; margin: 12px 16px; }
.chat__barra { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border-top: 1px solid var(--line); background: var(--surface); border-bottom: 1px solid var(--line); }
.chat__quien { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
.chat__quien > * { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat__cuerpo { flex: 1; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding: 0 16px; }
.chat .bloque--chat { display: flex; flex-direction: column; min-height: 100%; margin: 0; padding: 12px 0 0; border: 0; }
.chat .bloque--chat > .bloque__titulo { display: none; }
.chat .chat__escribir { position: sticky; z-index: 2; bottom: 0; margin: auto -16px 0; padding: 10px 16px calc(10px + var(--sa-bottom)); background: var(--surface); border-top: 1px solid var(--line); }
.chat .historial { margin-bottom: 12px; }
.chat .responder { margin: 0; padding: 0; border: 0; }
.chat .responder__form { flex-direction: row; align-items: center; }
.chat .responder p.muted { display: none; }
.responder__form textarea:placeholder-shown { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat .nota-form { margin-top: 8px; }
.chat-abierto .toast { top: calc(var(--top-h) + 8px); bottom: auto; }
.perfil { display: flex; gap: 14px; align-items: center; }
.perfil h1 { font-size: var(--fs-5); overflow-wrap: anywhere; }
.perfil__datos { display: grid; gap: 2px; min-width: 0; }
.perfil__datos > .small { font-size: var(--fs-1); }
.perfil__tel { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-2); font-weight: 500; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.perfil__tel button { display: grid; place-items: center; width: 32px; height: 32px; background: none; border: 0; padding: 0; color: var(--muted); cursor: pointer; border-radius: var(--r-sm); }
.perfil__tel button:hover { color: var(--ink); background: var(--surface-2); }
.perfil + .acciones { margin-top: 16px; }
.perfil + .acciones .btn, .aviso + .acciones .btn { flex: 1 1 120px; }
.aviso + .acciones { margin-top: 12px; }
.datos { display: grid; gap: 10px; margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.datos div { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: var(--fs-2); }
.datos .ico { width: 16px; height: 16px; margin-top: 1px; color: var(--muted); }
.datos p { white-space: pre-line; overflow-wrap: anywhere; }
.datos a { color: var(--ink-2); text-decoration-color: var(--line-3); }
.datos a:hover { color: var(--ink); }

.consulta__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin: calc(var(--pad) * -1) calc(var(--pad) * -1) 0; padding: 12px var(--pad); background: var(--surface-2); border-bottom: 1px solid var(--line); border-radius: var(--r-lg) var(--r-lg) 0 0; }
.consulta__head h2 { font-size: var(--fs-4); }
.consulta__head .consulta__modelo { margin: 2px 0 0; font-weight: 700; font-size: var(--fs-2); }
.consulta__head p.small { font-size: var(--fs-1); }
.etapas { display: grid; grid-template-columns: repeat(var(--pasos, 3), minmax(0, 1fr)); gap: 8px; margin: 16px 0 4px; padding: 0; list-style: none; }
/* Indicador de etapa (no se toca: avanza con las acciones). */
.etapa { display: grid; gap: 8px; padding: 4px 0; color: var(--muted); font-size: var(--fs-1); font-weight: 500; }
.etapa::before { content: ''; height: 4px; border-radius: 999px; background: var(--line-2); }
.etapas .hecha .etapa { color: var(--ink-2); }
.etapas .hecha .etapa::before { background: var(--c, var(--ink-2)); }
.etapas .actual .etapa { color: var(--ink); font-weight: 600; }
.etapa__nombre { white-space: nowrap; }
.etapa__hora { font-weight: 400; color: var(--muted); }
.etapas--perdida .actual .etapa::before { background: var(--danger); }
.etapas--perdida .actual .etapa { color: var(--danger); }
.etapas--debe .actual .etapa::before { background: var(--warn); }
.etapas--debe .actual .etapa { color: var(--warn); }
/* La etapa de la consulta más reciente, arriba de todo en la ficha. */
.etapa-arriba { margin: 10px 0 18px; }
.etapa-arriba .etapas { margin: 0; }
.etapa-arriba > p { margin-bottom: 4px; }
@media (min-width: 960px) { .etapa-arriba { margin: 12px 0 22px; } }
/* En pantallas angostas no entran todos los nombres: se ven las rayitas y el nombre de la etapa actual (si es de las
   últimas, alineado a la derecha para que no se salga). */
@media (max-width: 640px) {
  .etapas { gap: 7px; }
  /* Columnas siempre iguales (un nombre largo, como Presupuestado, no ensancha la suya ni pega las barras). */
  .etapas li { min-width: 0; }
  .etapa { grid-template-columns: minmax(0, 1fr); }
  .etapas li .etapa__nombre { justify-self: center; }
  .etapa { gap: 7px; font-size: clamp(8px, 2.2vw, 11px); text-align: center; }
  .etapas li .etapa__nombre { display: block; white-space: nowrap; line-height: 1.2; }
  .etapas li.actual .etapa__nombre { justify-self: center; text-align: center; }
  .etapa__hora { display: none; }
  /* "Finalizado, falta cobrar" no entra en una línea: "falta cobrar" va abajo. */
  .etapa__debe { display: block; }
  .etapa__coma { display: none; }
}
/* Botones Ganada / Perdida de la ficha. */
.acciones-cierre { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.cierre__estado { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r); border: 1px solid var(--line); margin-top: 16px; font-size: var(--fs-2); font-weight: 500; }
.cierre__estado .ico { width: 18px; height: 18px; }
.cierre__estado .small { color: var(--muted); font-size: var(--fs-1); }
.cierre__estado--ganado { background: var(--ok-soft); border-color: color-mix(in srgb, var(--ok) 25%, transparent); color: var(--ink); }
.cierre__estado--ganado > .ico { color: var(--ok); }
.cierre__estado--perdido { background: var(--surface-2); color: var(--ink-2); }
.cierre__estado form { margin-left: auto; }
.cierre__titulo { display: flex; align-items: center; gap: 8px; }
.cierre__reabrir .btn { min-height: 34px; padding: 4px 10px; font-size: var(--fs-1); }

/* Diálogos: encabezado, cuerpo y pie de botones (armados sobre el formulario de adentro). */
dialog { padding: 0; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--surface); color: var(--ink); width: min(440px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow-y: auto; box-shadow: var(--shadow-pop); overscroll-behavior: contain; }
dialog::backdrop { background: rgb(0 0 0 / .62); }
dialog > :is(form, .dialogo) { display: grid; gap: 16px; padding: 0 20px 20px; }
dialog > :is(form, .dialogo) > h2:first-child { margin: 0 -20px; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: var(--fs-4); }
dialog > :is(form, .dialogo) > .acciones:last-child { position: sticky; bottom: 0; z-index: 1; margin: 4px -20px -20px; padding: 12px 20px; border-top: 1px solid var(--line); background: var(--surface); flex-direction: row-reverse; justify-content: flex-start; }
@media (max-width: 520px) { dialog > :is(form, .dialogo) > .acciones:last-child .btn { flex: 1; } }
.opciones { display: grid; gap: 6px; margin: 0; }
.opciones label { display: flex; align-items: center; gap: 10px; min-height: var(--h); padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--r); cursor: pointer; font-size: var(--fs-3); }
.opciones label:hover { background: var(--surface-2); }
.opciones label:has(input:checked) { border-color: var(--line-3); background: var(--surface-3); }
.opciones input { accent-color: var(--accent); margin: 0; }

/* Bloques de una consulta (seguimiento, presupuesto, cobros, historial) */
.bloque { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
/* Trabajo aceptado que falta cobrar: lo de cobrar va arriba de todo, destacado. */
.bloque--cobrar { margin-top: 16px; padding: 14px; border: 1px solid color-mix(in srgb, var(--warn) 35%, transparent); border-radius: var(--r); background: var(--warn-soft); }
.bloque--cobrar .bloque__titulo h3 { --c: var(--warn); color: var(--warn); }
.bloque__titulo { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.bloque__titulo h3 { display: flex; align-items: center; gap: 8px; }
.bloque__titulo h3 .ico { width: 16px; height: 16px; }
.seguimiento { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.seguimiento__puesto { display: flex; align-items: center; gap: 8px; flex-basis: 100%; }
.seguimiento__icono { min-width: var(--h-sm); justify-content: center; padding: 0 9px; gap: 6px; }
@media (max-width: 480px) { .seguimiento .btn--sm { padding: 0 10px; } .seguimiento .seguimiento__icono { padding: 0 8px; } }
.seguimiento__actual { display: inline-flex; align-items: center; gap: 6px; min-height: var(--h-sm); padding: 0 10px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line-2); font-size: var(--fs-2); font-weight: 500; color: var(--ink); }
.seguimiento__actual .ico { width: 14px; height: 14px; }
.seguimiento__actual.chip--vencido { background: var(--danger-soft); border-color: transparent; color: var(--danger); }
.seguimiento__actual.chip--hoy { background: var(--warn-soft); border-color: transparent; color: var(--warn); }

.sena-cliente { display: grid; gap: 8px; margin: 0 0 10px; padding: 8px 10px; border-radius: var(--r); background: var(--surface-2); }
.sena-cliente p { margin: 0; }
.enlace-cliente__fila { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.sena-cliente__form { display: flex; align-items: flex-end; gap: 8px; }
.sena-cliente__form label { flex: 1; min-width: 0; display: grid; gap: 4px; }
.enlace-cliente { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin: 0 0 10px; padding: 8px 10px; border: 1px dashed var(--line-2); border-radius: var(--r); }
.presupuestos { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.presupuesto { border: 1px solid var(--line); border-radius: var(--r); padding: 14px; background: var(--surface-2); }
.presupuesto--aceptado { border-color: color-mix(in srgb, var(--ok) 45%, transparent); }
.presupuesto__desc { white-space: pre-line; overflow-wrap: anywhere; margin-bottom: 12px; }
.presupuesto__sello { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: var(--r-sm); background: var(--ok-soft); color: var(--ok); font-weight: 500; font-size: var(--fs-1); margin-bottom: 8px; }
.presupuesto__sello .ico { width: 12px; height: 12px; }
.montos { display: grid; grid-template-columns: 1fr auto; gap: 4px 0; margin: 0 0 12px; font-size: var(--fs-2); }
.montos dt { color: var(--muted); } .montos dd { margin: 0; padding-left: 16px; text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.montos .total { color: var(--ink); font-weight: 600; font-size: var(--fs-4); border-top: 1px solid var(--line); padding-top: 8px; margin-top: 4px; }
.presupuesto__acciones { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.presupuesto__acciones form:last-child:where(:not(.audio-ia--editar form, .editar-audio form)) { margin-left: auto; }
.presupuesto__materiales { list-style: none; margin: 0 0 12px; padding: 0 0 10px; display: grid; gap: 4px; font-size: var(--fs-2); border-bottom: 1px dashed var(--line-2); }
.presupuesto__materiales li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; overflow-wrap: anywhere; }
.presupuesto__materiales li > span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ink-2); }

/* Materiales del presupuesto: un renglón por material (del inventario o escrito a mano). En angosto, cada uno es una
   tarjetita (el nombre arriba, cantidad y precio abajo); con lugar, una fila. */
/* z-index: el container arma su propia capa; así las sugerencias quedan arriba de lo que sigue (mano de obra). */
.materiales { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; container-type: inline-size; position: relative; z-index: 2; }
.materiales legend { padding: 0; margin-bottom: 6px; font-weight: 500; font-size: var(--fs-2); color: var(--ink-2); }
.materiales__lista { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.material > *, .material .campo, .material input, .material select { min-width: 0; }
.material { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; grid-template-areas: 'nombre nombre quitar' 'cant cant cant' 'precio costo costo'; gap: 8px; align-items: end; padding: 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface-2); }
.form .material label { gap: 4px; font-size: var(--fs-1); font-weight: 400; color: var(--muted); }
.material--costo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; grid-template-areas: 'nombre nombre quitar' 'cant costo costo'; }
.material__nombre { grid-area: nombre; } .material__cant { grid-area: cant; } .material__precio { grid-area: precio; } .material__costo { grid-area: costo; } .material__quitar { grid-area: quitar; }
@container (min-width: 520px) {
  .material { grid-template-columns: minmax(0, 1fr) 132px 132px 132px auto; grid-template-areas: 'nombre cant precio costo quitar'; padding: 0; border: 0; background: none; }
  .material--costo { grid-template-columns: minmax(0, 1fr) 132px 132px auto; grid-template-areas: 'nombre cant costo quitar'; }
}
.materiales .ayuda { margin: 0; }
.material__nombre { position: relative; }
/* Sugerencias del inventario al escribir un material (client.ts) */
.sugerencias { position: absolute; z-index: 30; left: 0; right: 0; top: 100%; margin: 4px 0 0; padding: 4px; list-style: none; background: var(--surface-3); border: 1px solid var(--line-3); border-radius: var(--r); box-shadow: var(--shadow-pop); max-height: 264px; overflow-y: auto; overscroll-behavior: contain; }
.sugerencias li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 10px; border-radius: var(--r-sm); cursor: pointer; color: var(--ink); font-size: var(--fs-2); font-weight: 400; }
.sugerencias li[aria-selected='true'] { background: var(--surface-2); }
@media (hover: hover) { .sugerencias li:hover { background: var(--surface-2); } }
.sugerencias li > span:last-child { flex: none; color: var(--muted); font-size: var(--fs-1); font-variant-numeric: tabular-nums; }

/* Categorías del inventario */
/* Categoría del producto: el desplegable de la lista fija y "+ Agregar", que en su lugar muestra el campo para escribir
   una nueva con enviar y cancelar (client.ts). */
.form-producto .form__fila { align-items: start; }
.form-producto__cat { display: grid; gap: 6px; font-weight: 500; font-size: var(--fs-2); color: var(--ink-2); }
.form-producto__cat-titulo { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.form-producto__cat-titulo label { display: inline; }
.form-producto__cat-titulo a { color: var(--accent); font-weight: 500; }
.categoria-agregar { display: flex; gap: 8px; }
.categoria-agregar[hidden] { display: none; }
.categoria-agregar .campo { flex: 1; min-width: 0; }
/* En el celular la columna es angosta: mientras se escribe la nueva, ocupa todo el ancho. */
@media (max-width: 600px) { .form-producto__cat:has(.categoria-agregar:not([hidden])) { grid-column: 1 / -1; } }
.categoria-nueva { display: flex; gap: 8px; }
.categoria-nueva .campo { flex: 1; min-width: 0; }
.categorias-lista { list-style: none; margin: 12px 0 0; padding: 0; }
.categoria-fila { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'nombre nombre' 'n borrar'; gap: 6px 8px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.categoria-fila__nombre { grid-area: nombre; display: flex; gap: 8px; margin: 0; }
.categoria-fila__nombre .campo { flex: 1; min-width: 0; }
.categoria-fila__n { grid-area: n; }
.categoria-fila > form:last-child { grid-area: borrar; margin: 0; }
@media (min-width: 640px) {
  .categoria-fila { grid-template-columns: minmax(0, 1fr) 110px auto; grid-template-areas: 'nombre n borrar'; }
  .categoria-fila__n { text-align: right; }
}

/* Ingreso de la caja con productos del inventario */
.mov-productos { display: grid; gap: 8px; min-width: 0; }
.mov-productos__elegidos { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.mov-productos__elegidos:empty { display: none; }
.mov-producto { display: grid; grid-template-columns: minmax(0, 1fr) auto 56px auto; align-items: center; gap: 6px; padding: 8px 10px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface-2); }
.mov-producto__nombre { min-width: 0; overflow-wrap: anywhere; font-size: var(--fs-2); font-weight: 500; }
.mov-producto__sub { display: block; margin-top: 2px; font-weight: 400; }
/* Precio y costo del producto nuevo: el texto arriba, la caja abajo con aire, y separados entre sí. */
.mov-producto__sub + .mov-producto__sub { margin-top: 12px; }
.mov-producto__precio { display: block; margin-top: 6px; }
.mov-producto__cant { text-align: center; padding: 0 4px; }
.mov-opcion { display: grid !important; gap: 2px; }

/* Usuarios y accesos del rubro */
.usuarios { display: grid; gap: 12px; max-width: 720px; }
.usuarios h2 { font-size: var(--fs-4); margin: 0; }
.usuarios .casilla { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; cursor: pointer; }
.usuarios__secciones { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.usuarios__secciones legend { margin-bottom: 6px; font-size: var(--fs-2); color: var(--ink-2); }
.usuarios__lista { display: grid; margin: 0; padding: 0; list-style: none; }
.usuarios__fila { display: grid; gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); }
.usuarios__fila:first-child { border-top: 0; padding-top: 0; }
.usuarios__quien { display: grid; gap: 4px; min-width: 0; overflow-wrap: anywhere; }
.usuarios__marcas { display: flex; flex-wrap: wrap; gap: 6px; }
.usuarios__marcas:empty { display: none; }
.usuarios__editar > summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; color: var(--accent); font-size: var(--fs-2); list-style: none; }
.usuarios__editar > summary::-webkit-details-marker { display: none; }
.usuarios__editar[open] { display: grid; gap: 14px; padding: 12px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface-2); }
.usuarios__clave { display: grid; gap: 8px; justify-items: start; padding-top: 12px; border-top: 1px solid var(--line); }

/* Importar y descargar el inventario */
.archivos { display: grid; gap: 12px; max-width: 720px; }
.archivos h2 { font-size: var(--fs-4); margin: 0; }
.archivos .acciones { display: flex; flex-wrap: wrap; gap: 8px; }
.archivos p { margin: 0; }
.proveedores__iva { margin: 0 0 12px; }
.proveedores__lista, .proveedores__resultados { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.proveedores__lista > li, .proveedores__resultado { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.proveedores__lista > li:first-child, .proveedores__resultado:first-child { border-top: 0; }
.proveedores__lista > li > div:first-child, .proveedores__resultado > div { display: grid; gap: 3px; min-width: 0; }
.proveedores__lista .acciones { display: flex; gap: 6px; flex: none; }
.proveedores__resultado { cursor: default; scroll-margin-top: calc(var(--top-h, 64px) + 16px); }
.proveedores__nombre { color: var(--ink); text-decoration: none; }
.proveedores__nombre strong::after { content: ' ›'; color: var(--muted); font-weight: 400; }
@media (hover: hover) { .proveedores__nombre:hover strong { text-decoration: underline; text-underline-offset: 3px; } }
.proveedores__seccion { margin: 20px 0 4px; font-size: var(--fs-2); font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .02em; }
.proveedores__seccion:first-of-type { margin-top: 4px; }
.proveedores__mas { width: 100%; margin-top: 12px; justify-content: center; }
.buscar-proveedor .proveedores__resultado { cursor: pointer; padding-inline: 4px; border-radius: 8px; }
.buscar-proveedor .proveedores__resultado:hover, .buscar-proveedor .proveedores__resultado:focus-visible { background: var(--surface-2, rgba(127,127,127,.08)); }
.proveedores__precio { flex: none; font-variant-numeric: tabular-nums; }
.proveedores__vieja { color: var(--warn, #b7791f); }
.proveedores__iva { display: block; color: var(--accent-strong); }
.material__nombre:has(.material__buscar-prov) { position: relative; }
.material__nombre:has(.material__buscar-prov) .campo { padding-right: 40px; }
/* Un nombre largo termina en "…" (no cortado a mitad de letra); al escribir se ve entero, corriéndose. */
.material__nombre input:not(:focus) { text-overflow: ellipsis; }
.material__buscar-prov { position: absolute; right: 6px; bottom: 6px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--muted); cursor: pointer; }
.material__buscar-prov:hover { color: var(--accent-strong); background: var(--surface-2); }
.proveedores__aprendiendo { display: flex; align-items: center; gap: 8px; margin-top: 4px; color: var(--accent-strong); }
.proveedores__aprendiendo .analizando__girar { width: 12px; height: 12px; }
.proveedores__precio:has(> strong + .small) { display: grid; justify-items: end; text-align: right; }
.proveedores__cot .form { justify-items: start; }
.proveedores__unidad { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; }
.proveedores__unidad legend { margin-bottom: 8px; font-weight: 600; }
.proveedores__unidad > .proveedores__unidad-cot { display: none; margin-top: 4px; }
.proveedores__unidad:has(input[value='usd']:checked, input[value='lista']:checked) > .proveedores__unidad-cot { display: grid; }
.proveedores__unidad:has(input[value='usd']:checked) > .proveedores__unidad-miles { display: none; }
.proveedores__iva-cambiar summary { cursor: pointer; color: var(--muted); margin: 4px 0 8px; }
.proveedores__iva-cambiar[open] summary { margin-bottom: 8px; }
.aviso-chico--info { background: var(--surface-2); }
.proveedores__iva-lista .aviso-chico { margin: 0; }
.proveedores__carga { display: grid; gap: 16px; justify-items: start; }
.proveedores__carga .casilla { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; cursor: pointer; }
.proveedores__carga .casilla input { width: 18px; height: 18px; margin: 1px 0 0; }
.proveedores__carga [data-importar-estado]:empty { display: none; }
.proveedores__ia { display: grid; gap: 14px; justify-items: start; }
.proveedores__iva-lista { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; }
.negocio__iva { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; }
.buscar-proveedor { width: min(560px, calc(100% - 24px)); max-height: min(80vh, 720px); padding: 0; }
.buscar-proveedor .dialogo { display: grid; gap: 10px; padding: 0 20px 16px; }
.buscar-proveedor .proveedores__resultados { max-height: 50vh; overflow: auto; }
.importar-resumen { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; font-size: var(--fs-2); }
.importar-confirmar { display: grid; gap: 12px; justify-items: start; }
.importar-confirmar .casilla { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; cursor: pointer; }
.tabla-scroll { overflow-x: auto; }
.tabla--importar td:first-child { display: grid; gap: 3px; justify-items: start; min-width: 0; }
.importar-fila__nombre { font-weight: 500; }
.importar-badge--nuevo { color: var(--ok); border-color: currentColor; }
.importar-badge--actualizar { color: var(--warn); border-color: currentColor; white-space: normal; height: auto; min-height: 22px; }
.importar-fila--igual { opacity: .6; }

/* Casilla con su explicación abajo */
.form .casilla { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; cursor: pointer; }
.casilla input { accent-color: var(--accent); width: 16px; height: 16px; margin: 2px 0 0; flex: none; }
.casilla .ayuda { display: block; margin-top: 2px; }
.materiales__pie { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; min-height: var(--h-sm); }
.materiales__total { margin-left: auto; font-size: var(--fs-2); color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* Desplegables "Editar datos", "Agregar…" */
.nuevo { border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); }
.nuevo > summary { display: flex; align-items: center; gap: 8px; min-height: var(--h); padding: 0 12px; cursor: pointer; font-size: var(--fs-2); font-weight: 500; color: var(--ink-2); list-style: none; border-radius: var(--r); }
.nuevo > summary .ico { width: 16px; height: 16px; color: var(--muted); }
.nuevo > summary::after { content: ''; margin-left: auto; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238b8f98' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat center; transition: rotate .15s; }
.nuevo[open] > summary::after { rotate: 180deg; }
.nuevo > summary:hover { background: var(--surface-2); color: var(--ink); }
.nuevo > summary::-webkit-details-marker { display: none; }
.nuevo[open] > summary { border-bottom: 1px solid var(--line); border-radius: var(--r) var(--r) 0 0; }
.nuevo .form { padding: 14px 12px; margin: 0; }

/* Entrar (usuario y clave): centrado, también debajo de la hora del iPhone con la app instalada */
.entrar { display: grid; align-content: center; justify-items: center; gap: 16px; min-height: 100dvh; box-sizing: border-box; max-width: 360px; margin: 0 auto; padding: calc(24px + var(--sa-top)) 16px calc(24px + var(--sa-bottom)); text-align: center; }
.entrar > .card { width: 100%; box-sizing: border-box; text-align: left; }
.entrar .campo { background: var(--input); border-color: var(--cerr); color: var(--ink); }
.entrar .campo:focus { outline-color: var(--cerr-strong); }
.entrar .btn { width: 100%; background: var(--cerr); color: var(--cerr-ink); }
.entrar .btn:hover { background: var(--cerr-hover); }
.plantilla { padding: 12px 0; border-top: 1px solid color-mix(in srgb, currentColor 15%, transparent); }
.rubrify-entrar { --rv: #6a04f9; --rv-oscuro: #4a00e0; background: #fff; color: #111317; color-scheme: light; }
.rubrify-entrar .entrar { gap: 0; max-width: 400px; padding-left: 24px; padding-right: 24px; }
.rubrify-entrar .entrar__icono { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 8px 24px rgb(74 0 224 / .16); }
.rubrify-entrar span.entrar__icono { display: block; overflow: hidden; }
.rubrify-entrar span.entrar__icono svg { display: block; width: 100%; height: 100%; }
.rubrify-entrar .entrar__marca { display: block; margin: 20px 0 0; font-size: 2rem; font-weight: 700; letter-spacing: -.03em; color: #111317; }
.rubrify-entrar .entrar__bajada { margin: 4px 0 28px; color: #5b6070; }
.rubrify-entrar .entrar > .card { padding: 0; background: none; border: 0; box-shadow: none; }
.rubrify-entrar { --ink: #111317; --muted: #3b3f4c; --ink-2: #2b2e38; }
.rubrify-entrar .entrar .form label { color: #2b2e38; opacity: 1; font-weight: 500; }
.rubrify-entrar .entrar .campo { background: #f5f6f8; border: 1px solid #d9dbe3; color: #111317; }
.rubrify-entrar .entrar .campo:focus { outline: 2px solid var(--rv); outline-offset: 0; border-color: var(--rv); background: #fff; }
.rubrify-entrar .entrar .btn { margin-top: 8px; min-height: 48px; background: linear-gradient(90deg, var(--rv-oscuro), var(--rv) 55%, #ab14fc); color: #fff; font-weight: 600; }
.rubrify-entrar .entrar .btn:hover { background: linear-gradient(90deg, #3d00bd, #5a03d6 55%, #9a10e6); }
.rubrify-entrar .entrar .muted { margin: 20px 0 0; color: #5b6070; }
.rubrify-entrar .entrar__autor { display: block; width: fit-content; margin: 32px auto 0; line-height: 0; border-radius: 6px; -webkit-tap-highlight-color: transparent; }
.rubrify-entrar .entrar__autor svg { display: block; width: 116px; height: auto; }
.rubrify-entrar .error { background: #fdeef0; color: #a01327; border-color: #f3c4cb; }
.entrar__icono { border-radius: 14px; }
.entrar__marca { display: flex; align-items: center; gap: 8px; margin: 0; font-size: var(--fs-4); }
.clave__titulo { margin: 0 0 6px; font-size: var(--fs-3); }
.clave__intro { margin: 0 0 16px; }
.clave__reglas { margin: 0; padding-left: 18px; line-height: 1.5; }

/* Formularios */
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: var(--fs-2); color: var(--ink-2); }
.form__fila { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.form__total { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 12px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line); font-size: var(--fs-2); font-weight: 500; color: var(--ink-2); }
.form__total strong { font-size: var(--fs-4); font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.form .btn { justify-self: start; }
.ayuda { font-weight: 400; color: var(--muted); font-size: var(--fs-1); }
.prefijo { position: relative; display: block; }
.prefijo > span { position: absolute; left: 12px; top: 50%; translate: 0 -50%; color: var(--muted); font-weight: 400; pointer-events: none; }
.prefijo input { padding-left: 26px; font-variant-numeric: tabular-nums; }

/* Historial y conversación */
.historial { list-style: none; margin: 0; padding: 0; position: relative; }
.historial::before { content: ''; position: absolute; left: 11.5px; top: 12px; bottom: 12px; width: 1px; background: var(--line-2); }
.hito { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; padding: 6px 0; }
.hito__punto { position: relative; z-index: 1; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line-2); color: var(--muted); }
.hito__punto .ico { width: 12px; height: 12px; }
.hito[data-c='inicio'] .hito__punto { color: var(--accent-strong); border-color: var(--accent-line); background: var(--accent-soft); }
.hito[data-c='egreso'] .hito__punto { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 40%, transparent); }
.hito__cuerpo { min-width: 0; padding-top: 3px; }
.hito__texto { white-space: pre-line; overflow-wrap: anywhere; font-size: var(--fs-3); color: var(--ink); }
/* Notas: solo para el negocio (el cliente no las ve): amarillas, con borde punteado. */
.hito--nota .hito__texto { background: color-mix(in srgb, var(--warn) 10%, var(--surface)); border: 1px dashed color-mix(in srgb, var(--warn) 45%, transparent); border-radius: var(--r); padding: 8px 12px; margin-top: 4px; }
.hito--nota .hito__quien { color: var(--warn); }
.hito__pie { display: flex; align-items: center; gap: 8px; min-height: 18px; }
.hito__pie .small { font-size: var(--fs-1); }
.hito__pie form { margin-left: auto; }
.hito__quien { font-weight: 500; color: var(--ink-2); }
/* Mensajes de WhatsApp: el cliente a la izquierda, lo que respondió el negocio a la derecha. */
.hito--mensaje .hito__texto { width: fit-content; max-width: min(88%, 520px); margin-top: 4px; padding: 8px 12px; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 2px var(--r-lg) var(--r-lg) var(--r-lg); }
/* El cliente en verde (a la izquierda); lo que respondió el negocio, en gris a la derecha. */
.hito--cliente .hito__texto { background: color-mix(in srgb, var(--wa) 18%, var(--surface)); border-color: color-mix(in srgb, var(--wa) 35%, transparent); }
.hito--cliente .hito__quien { color: var(--wa); }
.hito--negocio .hito__texto { margin-left: auto; background: var(--surface-3); border-color: var(--line-3); border-radius: var(--r-lg) 2px var(--r-lg) var(--r-lg); }
.hito--negocio .hito__pie { justify-content: flex-end; }
/* Audios, videos, ubicaciones, documentos… dentro del globo */
.adjunto { display: grid; gap: 6px; white-space: normal; }
.hito__texto.adjunto--audio, .hito__texto.adjunto--video { width: min(100%, 320px); }
.adjunto__titulo { display: flex; align-items: center; gap: 6px; font-size: var(--fs-2); color: var(--ink-2); }
.adjunto__titulo .ico { flex: none; color: var(--muted); }
.adjunto__audio { display: block; width: 100%; height: 40px; }
.adjunto__video { display: block; width: 100%; max-height: 360px; border-radius: var(--r); background: #000; }
.adjunto__foto { display: block; max-width: 100%; max-height: 280px; border-radius: var(--r); }
.adjunto__sticker { display: block; width: 120px; height: 120px; object-fit: contain; }
.adjunto__mapa { display: block; width: 100%; max-width: 280px; border-radius: var(--r); }
.adjunto__link { font-size: var(--fs-2); font-weight: 500; color: var(--accent-strong); }
.adjunto__contactos { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: var(--fs-2); }
.adjunto__texto { white-space: pre-line; }
.nota-form { display: flex; gap: 8px; align-items: flex-end; margin-top: 12px; }
.nota-form textarea { min-height: var(--h); height: var(--h); padding-top: 10px; flex: 1; resize: none; }
@media (min-width: 960px) { .nota-form textarea { padding-top: 7px; } }
/* Con texto queda grande aunque pierda el foco: si no, al tocar el botón se achica, el botón se mueve y el toque no
   le llega. */
.nota-form textarea:focus, .nota-form textarea:not(:placeholder-shown) { height: 88px; }
.nota-form textarea:placeholder-shown:not(:focus) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nota-form .btn { background: var(--surface-2); border-color: var(--line-2); color: var(--ink); }
.nota-form .btn:hover { background: var(--surface-3); }
.responder { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
.responder__form { display: flex; gap: 8px; align-items: center; }
.responder__form textarea { flex: 1; min-height: var(--h); height: var(--h); padding-top: 10px; resize: none; }
@media (min-width: 960px) { .responder__form textarea { padding-top: 7px; } }
/* Crece solo con el texto (client.ts), hasta unas seis líneas; después, se desplaza adentro. */
.responder__form textarea { max-height: 150px; overflow-y: auto; }
/* Cuando el texto ya no entra, una barrita propia muestra que hay más (las del celular solo aparecen un instante). */
.responder__campo { position: relative; flex: 1; min-width: 0; display: flex; }
.responder__campo textarea { flex: 1; }
.responder__barra { position: absolute; right: 3px; top: 0; width: 3px; border-radius: 999px; background: var(--muted); opacity: .8; pointer-events: none; }
.responder__barra[hidden] { display: none; }
.responder__form .btn--wa { background: var(--wa); border-color: var(--wa); color: var(--wa-ink); }
/* Mensaje o nota en el mismo campo (client.ts pone .responder--nota): el botón de la izquierda, el de mandar y la
   explicación de abajo cambian para que se vea qué se está escribiendo. */
.responder__mandar-nota, .responder__ayuda-nota { display: none; }
.responder--nota .responder__mandar-wa, .responder--nota .responder__ayuda-wa { display: none; }
.responder--nota .responder__mandar-nota { display: inline-flex; align-items: center; gap: 6px; }
.responder__mandar-wa { display: inline-flex; align-items: center; gap: 6px; }
.responder--nota .responder__ayuda-nota { display: block; color: var(--warn); }
.responder--nota .responder__form .responder__mandar { background: var(--warn); border-color: var(--warn); color: #241a05; }
.responder--nota .responder__modo { background: color-mix(in srgb, var(--warn) 18%, var(--surface)); border-color: color-mix(in srgb, var(--warn) 50%, transparent); color: var(--warn); }
.responder--nota textarea { border-style: dashed; border-color: color-mix(in srgb, var(--warn) 50%, transparent); }
.chat .responder--nota p.responder__ayuda-nota { display: block; margin: 6px 0 0; }
.responder__form .btn--wa .ico { color: inherit; }
.responder__form .btn--wa:hover { background: color-mix(in srgb, var(--wa) 88%, #fff); }
.responder p { margin-top: 8px; font-size: var(--fs-1); }
.responder__aviso { display: flex; gap: 6px; color: var(--warn); font-weight: 500; }
@media (max-width: 520px) { .responder__form { flex-direction: column; align-items: stretch; } }
.saliente { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-top: 4px; font-size: var(--fs-1); font-weight: 500; color: var(--muted); }
.saliente form { margin: 0; }
.saliente--enviando > span::before, [data-saliente-pronto] > span::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border: 1.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: girar .8s linear infinite; vertical-align: -1px; }
.saliente--fallo, .saliente--vencido { color: var(--danger); }
/* Etapas de un trabajo ganado */
.etapa-trabajo { margin-top: 18px; display: grid; gap: 12px; }
.etapa-trabajo__pasos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 0; padding: 0; list-style: none; font-size: var(--fs-1); font-weight: 500; color: var(--muted); }
.etapa-trabajo__pasos li { display: grid; gap: 8px; align-content: start; }
.etapa-trabajo__pasos li::before { content: ''; height: 4px; border-radius: 999px; background: var(--line-2); }
.etapa-trabajo__pasos li.hecha { color: var(--ink); }
.etapa-trabajo__pasos li.hecha::before { background: var(--ok); }
.etapa-trabajo__pasos span { font-weight: 400; color: var(--muted); }
.etapa-trabajo__acciones { display: flex; flex-wrap: wrap; gap: 12px 16px; }
.etapa-trabajo__accion { display: grid; gap: 6px; justify-items: start; margin: 0; }
.etapa-trabajo__accion { display: flex; align-items: center; gap: 10px; }
.etapa-trabajo__accion label { display: flex; align-items: center; gap: 8px; min-height: 32px; color: var(--ink-2); font-size: var(--fs-1); }
.etapa-trabajo__accion input { accent-color: var(--accent); width: 16px; height: 16px; margin: 0; }
@media (max-width: 640px) {
  .cierre__estado { position: relative; gap: 8px; padding: 10px; margin-top: 24px; }
  .cierre__reabrir { position: absolute; right: 8px; top: -25px; margin: 0 !important; }
  .cierre__reabrir .btn { min-height: 24px; padding: 2px 8px; border: 0; background: transparent; color: var(--muted); font-size: 12px; }
  .cierre__reabrir .btn:hover { background: var(--surface-2); color: var(--ink); }
  .etapa-trabajo__acciones { display: grid; gap: 8px; }
  .etapa-trabajo__accion { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); flex-wrap: nowrap; gap: 8px; align-items: center; }
  .etapa-trabajo__boton { min-height: 42px; padding: 0 12px; font-size: var(--fs-1); white-space: nowrap; }
  .etapa-trabajo__accion label { min-height: 36px; gap: 6px; font-size: 12px; line-height: 1.25; }
  .etapa-trabajo__accion label input { flex: none; }
}

/* Fotos */
.fotos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
@media (min-width: 600px) { .fotos { grid-template-columns: repeat(4, 1fr); } }
.ficha__lado .fotos { grid-template-columns: repeat(3, 1fr); }
.solapas__botones { display: flex; width: 100%; margin: 10px 0 12px; }
.solapas__botones .solapa__boton { flex: 1; justify-content: center; }
.solapa__boton { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: var(--r-sm); color: var(--muted); font-weight: 500; font-size: var(--fs-1); cursor: pointer; }
.solapa__boton:hover { color: var(--ink); }
@media (pointer: coarse) { .solapa__boton { min-height: 32px; } }
.solapa { display: none; }
.solapa__radio--detalle:checked ~ .solapa--detalle, .solapa__radio--total:checked ~ .solapa--total { display: block; }
.solapa__radio--detalle:checked ~ .solapas__botones .solapa__boton--detalle,
.solapa__radio--total:checked ~ .solapas__botones .solapa__boton--total { background: var(--surface-3); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.solapa__radio:focus-visible ~ .solapas__botones { outline: 2px solid var(--accent, currentColor); outline-offset: 2px; }
.fotos li { position: relative; }
.fotos .foto__borrar { position: absolute; top: 4px; right: 4px; z-index: 1; }
.fotos .foto__borrar .btn { width: 28px; height: 28px; min-height: 28px; padding: 0; border-radius: 50%; background: color-mix(in srgb, var(--bg) 75%, transparent); backdrop-filter: blur(4px); }
.fotos button:not(.btn) { display: block; width: 100%; padding: 0; border: 1px solid var(--line); background: none; cursor: zoom-in; border-radius: var(--r); overflow: hidden; }
.fotos img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: var(--surface-2); transition: transform .2s; }
.fotos button:hover img { transform: scale(1.03); }
.foto-pendiente { display: grid; place-items: center; align-content: center; gap: 4px; aspect-ratio: 1; border-radius: var(--r); background: var(--surface-2); border: 1px dashed var(--line-2); color: var(--muted); font-size: var(--fs-1); text-align: center; padding: 6px; }
.visor { width: min(960px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; background: #000; border: 0; color: #fff; }
.visor img { display: block; width: 100%; max-height: calc(100dvh - 110px); object-fit: contain; }
.visor__pie { display: flex; align-items: center; gap: 8px; padding: 10px 12px; font-size: var(--fs-2); }
.visor__pie p { flex: 1; overflow-wrap: anywhere; color: rgb(255 255 255 / .8); }
.visor__pie button, .visor__pie a { background: rgb(255 255 255 / .1); color: #fff; border: 0; border-radius: var(--r); min-width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer; text-decoration: none; font-size: var(--fs-4); }
.visor__pie button:hover, .visor__pie a:hover { background: rgb(255 255 255 / .18); }

/* ---------- Números ---------- */
.barra { display: block; height: 8px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.barra i { display: block; height: 100%; background: var(--accent); border-radius: 999px; min-width: 2px; }
.barra--suave i { background: var(--chart); }
.barra--egreso i { background: var(--danger); opacity: .7; }

/* ---------- Números: gráficos ---------- */
/* Cada marca con detalle (data-tip, client.ts) responde al mouse, al toque y al teclado: se resalta y, en las
   columnas y la barra de orígenes, las demás se apagan. Grises para todo; el color solo para lo que importa: el mes
   en curso y lo que llega de la web (acento del rubro), lo ganado (verde de "Ganada"). */
[data-tip] { -webkit-tap-highlight-color: transparent; }
[data-tip]:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.tip { position: fixed; z-index: 60; max-width: min(280px, calc(100vw - 16px)); padding: 8px 10px; border-radius: var(--r); background: var(--surface-3); border: 1px solid var(--line-3); box-shadow: var(--shadow-pop); pointer-events: none; font-size: var(--fs-1); line-height: 1.4; color: var(--muted); animation: tip .12s ease-out; }
.tip__t { margin-bottom: 4px; font-size: var(--fs-2); font-weight: 600; color: var(--ink-2); }
.tip__fila { display: flex; align-items: baseline; gap: 6px; }
.tip__fila + .tip__fila { margin-top: 1px; }
.tip__fila b { color: var(--ink); font-size: var(--fs-2); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
@keyframes tip { from { opacity: 0; translate: 0 3px; } }
@media (prefers-reduced-motion: reduce) { .tip { animation: none; } }

.segmentado button { display: inline-flex; align-items: center; min-height: calc(var(--h) - 6px); padding: 0 12px; border: 0; border-radius: var(--r-sm); background: none; color: var(--muted); font: inherit; font-weight: 500; font-size: var(--fs-2); cursor: pointer; }
.segmentado button:hover { color: var(--ink); }
.segmentado button[aria-pressed='true'] { background: var(--surface-3); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.segmentado--chico button { min-height: 26px; padding: 0 10px; font-size: var(--fs-1); }
@media (pointer: coarse) { .segmentado--chico button { min-height: 32px; } }

/* En el celular, una sola columna en orden de importancia: el mes a mes primero. */
@media (max-width: 959px) {
  .numeros .columna { display: contents; }
  .numeros .card + .card { margin-top: 0; }
  .numeros__mes { order: 1; } .numeros__embudo { order: 2; } .numeros__servicio { order: 3; } .numeros__origen { order: 4; } .numeros__motivos { order: 5; }
}

/* Embudo: cada paso con su barra; detrás, en gris oscuro, lo que traía el paso anterior (lo que se perdió en el medio). */
.embudo { display: grid; gap: 2px; margin: -6px 0; padding: 0; list-style: none; }
.embudo__fila { display: grid; grid-template-columns: minmax(0, 132px) minmax(0, 1fr) 76px; gap: 12px; align-items: center; min-height: 44px; padding: 4px 8px; margin: 0 -8px; border-radius: var(--r); font-size: var(--fs-2); cursor: default; transition: background-color .12s; }
.embudo__fila.marca--activa { background: var(--surface-2); }
.embudo__nombre { display: grid; color: var(--ink-2); line-height: 1.3; }
.embudo__nombre small { font-size: var(--fs-1); color: var(--faint); }
.embudo__barra { position: relative; height: 10px; border-radius: 3px; background: var(--surface-2); }
.marca--activa .embudo__barra { background: var(--surface-3); }
.embudo__barra > * { position: absolute; inset: 0 auto 0 0; border-radius: 3px; text-decoration: none; }
.embudo__barra s { background: var(--chart-2); }
.embudo__barra i { min-width: 2px; background: var(--chart); transition: background-color .12s; }
.embudo__fila--fin .embudo__barra i { background: var(--c-ganado); }
.embudo__fila.marca--activa .embudo__barra i { background: var(--muted); }
.embudo__fila--fin.marca--activa .embudo__barra i { background: color-mix(in srgb, var(--c-ganado) 80%, #fff); }
.embudo__fila b { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.embudo__fila b small { color: var(--muted); font-weight: 400; margin-left: 6px; font-size: var(--fs-1); }
@media (max-width: 420px) { .embudo__fila { grid-template-columns: 108px minmax(0, 1fr) auto; gap: 10px; } }

/* Mes a mes: columnas con eje y grilla de líneas finas; se etiquetan el mes en curso y el más alto, el resto en el detalle. */
.cols { --eje: 52px; }
.cols__plano { position: relative; height: 180px; margin: 26px 0 0 var(--eje); border-bottom: 1px solid var(--line-3); }
@media (min-width: 960px) { .cols__plano { height: 200px; } }
.cols__grilla span { position: absolute; left: calc(var(--eje) * -1); right: 0; height: 0; }
.cols__grilla span::after { content: ''; position: absolute; left: var(--eje); right: 0; top: 0; border-top: 1px solid var(--line); }
.cols__grilla em { position: absolute; left: 0; top: -7px; width: calc(var(--eje) - 10px); text-align: right; font-style: normal; font-size: 11px; line-height: 14px; color: var(--faint); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cols__vacio { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: var(--muted); font-size: var(--fs-2); }
.cols__barras { position: absolute; inset: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.cols__item { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; cursor: default; }
.cols__item::before { content: ''; position: absolute; inset: -26px 2px 0; border-radius: var(--r-sm) var(--r-sm) 0 0; background: var(--surface-2); opacity: 0; transition: opacity .12s; }
.cols__item.marca--activa::before { opacity: 1; }
.cols__item i { position: relative; display: block; width: min(28px, 62%); min-height: 2px; background: var(--chart); border-radius: 4px 4px 0 0; transition: background-color .12s, opacity .12s; }
.cols__item--actual i { background: var(--accent); }
.cols__item.marca--activa i { background: var(--muted); }
.cols__item--actual.marca--activa i { background: var(--accent-strong); }
.resaltando .cols__item:not(.marca--activa) i { opacity: .45; }
.cols__item b { position: absolute; z-index: 1; left: 50%; translate: -50% 0; font-size: var(--fs-1); font-weight: 500; color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; pointer-events: none; }
.cols__x { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin: 8px 0 0 var(--eje); font-size: var(--fs-1); color: var(--muted); text-align: center; text-transform: capitalize; }
.cols__x span:last-child { color: var(--ink-2); font-weight: 500; }
/* Con 12 columnas, el número del mes actual (el último) se apoya en el borde derecho para no salirse. */
.cols--muchas .cols__item--actual b { left: auto; right: 0; translate: none; }
/* 12 meses en el celular: un mes sí y uno no en el eje (el actual siempre). */
@media (max-width: 559px) { .cols--muchas .cols__x span:nth-child(odd):not(:last-child) { visibility: hidden; } }

/* De dónde llegan: una barra partida (100 % = todas las consultas, o todo lo ganado), la web en el color del rubro. */
.prop { display: flex; gap: 2px; height: 24px; margin: -4px 0 8px; }
.prop__seg { flex: 1 1 0; min-width: 4px; padding: 6px 0; border-radius: 3px; background: var(--chart); background-clip: content-box; cursor: default; transition: opacity .12s, background-color .12s; }
.prop__seg--web { background-color: var(--accent); }
.prop__seg.marca--activa { background-color: var(--muted); }
.prop__seg--web.marca--activa { background-color: var(--accent-strong); }
.resaltando .prop__seg:not(.marca--activa) { opacity: .45; }

/* Listas con números (orígenes, servicios, motivos): columnas alineadas entre filas (subgrid) y la barra abajo. */
.rank { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, auto); column-gap: 16px; font-size: var(--fs-2); }
.rank--motivos { grid-template-columns: minmax(0, 1fr) auto; }
.rank__cab, .rank__fila { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; align-items: center; }
.rank__cab { padding: 0 8px 8px; margin: 0 -8px; border-bottom: 1px solid var(--line); font-size: var(--fs-1); font-weight: 500; color: var(--muted); }
.rank__cab > :not(:first-child) { justify-self: end; }
.rank__cab button { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px; margin: -4px -6px; border: 0; border-radius: var(--r-sm); background: none; color: inherit; font: inherit; white-space: nowrap; cursor: pointer; }
.rank__cab button:hover { color: var(--ink); background: var(--surface-2); }
.rank__cab button[aria-pressed='true'] { color: var(--ink); }
.rank__cab button::after { content: '↓'; width: 8px; opacity: 0; }
.rank__cab button[aria-pressed='true']::after { opacity: 1; }
@media (pointer: coarse) { .rank__cab button { padding: 8px 6px; margin: -8px -6px; } }
.rank__fila { row-gap: 8px; padding: 10px 8px; margin: 0 -8px; border-radius: var(--r); cursor: default; transition: background-color .12s; }
.rank__fila + .rank__fila { box-shadow: inset 0 1px var(--line); }
.rank__fila.marca--activa { background: var(--surface-2); box-shadow: none; }
.rank__fila.marca--activa + .rank__fila { box-shadow: none; }
.rank__nombre { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--ink); overflow-wrap: anywhere; }
.rank__num { justify-self: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rank__num small { margin-left: 6px; color: var(--muted); font-size: var(--fs-1); }
.rank__num--suave { color: var(--muted); }
.rank__barra { grid-column: 1 / -1; display: block; height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.marca--activa .rank__barra { background: var(--surface-3); }
.rank__barra i { display: block; height: 100%; min-width: 2px; border-radius: 3px; background: var(--chart); }
.rank__barra--doble > i { background: var(--chart-2); }
.rank__barra--doble > i > i { min-width: 0; background: var(--c-ganado); }
.muestra { display: inline-block; flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--chart); }
.muestra--web { background: var(--accent); }
.muestra--consultas { background: var(--chart-2); }
.muestra--ganadas { background: var(--c-ganado); }
/* Servicios en el celular: el nombre arriba, entero; abajo la barra y los números. */
@media (max-width: 640px) {
  .rank { column-gap: 12px; }
  .rank--servicio .rank__nombre { grid-column: 1 / -1; }
  .rank--servicio .rank__barra { grid-column: 1; grid-row: 2; }
  .rank--servicio .rank__num { grid-row: 2; }
}
@media (max-width: 420px) { .rank .col-opcional { display: none; } .rank--origen { grid-template-columns: minmax(0, 1fr) repeat(2, auto); } }
.tabla { width: 100%; border-collapse: collapse; font-size: var(--fs-2); }
.tabla th { text-align: left; font-size: var(--fs-1); color: var(--muted); font-weight: 500; padding: 0 0 8px; }
.tabla td { padding: 10px 0; border-top: 1px solid var(--line); vertical-align: top; }
.tabla td + td, .tabla th + th { text-align: right; padding-left: 12px; font-variant-numeric: tabular-nums; }
.tabla td:first-child { overflow-wrap: break-word; hyphens: auto; }
.tabla td + td { white-space: nowrap; }
.tabla .barra { height: 4px; margin-top: 6px; }
/* Primeros pasos (vistas/guia.tsx): todo oscurecido y difuminado menos el botón del paso, con un globo. */
.guia-capa { position: fixed; inset: 0; z-index: 95; pointer-events: none; opacity: 0; visibility: hidden; }
.guia-capa--visible { opacity: 1; visibility: visible; transition: opacity .12s; }
/* Un formulario para completar: se ilumina sin tapar nada. */
/* Scrolleando: sin difuminado (se apaga al instante), un poco más oscuro; al soltar vuelve con un fundido. */
.guia-capa--scroll .guia-tapa { -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); background: rgba(10, 10, 12, .58); transition: none; }
.guia-capa--suave .guia-tapa { pointer-events: none; background: rgba(10, 10, 12, .45); }
/* Lo oscurecido no bloquea: siempre se puede tocar otra cosa (Salir, por ejemplo); el recorrido sigue igual. */
.guia-tapa { position: fixed; pointer-events: none; will-change: transform; transform: translateZ(0); contain: strict; transition: background-color .3s ease-out, -webkit-backdrop-filter .3s ease-out, backdrop-filter .3s ease-out; background: rgba(10, 10, 12, .45); -webkit-backdrop-filter: blur(1.5px); backdrop-filter: blur(1.5px); }
.guia-marco { position: fixed; border-radius: 12px; box-shadow: 0 0 0 2px var(--accent), 0 0 0 6px var(--accent-soft); pointer-events: none; }
.guia-globo { position: fixed; pointer-events: auto; width: min(320px, calc(100vw - 24px)); background: var(--surface); color: var(--ink); border-radius: 14px; padding: 14px 16px; box-shadow: 0 12px 32px rgba(0, 0, 0, .28); display: grid; gap: 6px; }
.guia-globo p { margin: 0; }
.guia-globo__paso { font-size: var(--fs-1); color: var(--muted); }
.guia-globo__titulo { font-weight: 600; }
.guia-globo__texto { font-size: var(--fs-2); color: var(--ink-2); }
.guia-controles { position: fixed; top: calc(var(--sa-top) + 10px); left: 50%; transform: translateX(-50%); pointer-events: auto; display: flex; align-items: center; gap: 8px; max-width: calc(100vw - 16px); }
.guia-controles--abajo { top: auto; bottom: calc(var(--sa-bottom) + 12px); }
.guia-anterior { display: inline-flex; align-items: center; gap: 2px; border: 0; background: none; font: inherit; font-size: var(--fs-2); font-weight: 500; color: #fff; padding: 8px 4px; cursor: pointer; white-space: nowrap; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.guia-anterior[hidden] { display: none; }
.guia-anterior svg { margin-left: -4px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .6)); }
.guia-barra { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(20, 20, 24, .78); box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.guia-barra button { border: 0; background: none; color: #fff; font: inherit; font-size: var(--fs-2); font-weight: 500; padding: 8px 14px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.guia-barra button:hover { background: rgba(255, 255, 255, .12); }
.guia-barra__omitir { color: rgba(255, 255, 255, .7) !important; }
@media (prefers-reduced-motion: reduce) { .guia-capa { transition: none; } }
/* La lista de Primeros pasos en Inicio (vistas/guia.tsx): avance, lo hecho tildado y el que sigue resaltado. */
.primeros { margin-bottom: 14px; display: grid; gap: 12px; }
.primeros__cabeza { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.primeros__cabeza h2 { margin: 0 0 2px; }
.primeros__cabeza p { margin: 0; }
.primeros__cuenta { font-weight: 600; color: var(--accent-strong); flex: none; }
.primeros__barra { height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.primeros__barra > span { display: block; height: 100%; min-width: 6px; border-radius: inherit; background: var(--accent); transition: width .5s ease-out; }
.primeros__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.primeros__fila { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 10px; color: var(--ink); text-decoration: none; }
a.primeros__fila:hover { background: var(--surface-2); }
a.primeros__fila:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.primeros__marca { flex: none; width: 32px; height: 32px; border-radius: 999px; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); }
.primeros__texto { display: grid; flex: 1; min-width: 0; }
.primeros__titulo { font-weight: 500; }
.primeros__ir { flex: none; display: inline-flex; align-items: center; gap: 2px; font-size: var(--fs-2); font-weight: 500; color: var(--accent-strong); }
.primeros__paso--siguiente .primeros__fila { background: var(--accent-soft); }
.primeros__paso--siguiente .primeros__marca { background: var(--accent); color: var(--accent-ink); }
.primeros__paso--hecho .primeros__marca { background: var(--accent-soft); color: var(--accent-strong); animation: primeros-tilde .35s ease-out; }
.primeros__paso--hecho .primeros__titulo { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line); }
.primeros__consejos h3 { margin: 0 0 4px; font-weight: 500; text-transform: none; }
.primeros__consejos ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.primeros__consejos a { display: grid; gap: 2px; padding: 8px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.primeros__consejos a strong { font-weight: 500; }
.primeros__consejos a:hover { background: var(--surface-2); }
.primeros__consejos a:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.primeros__pie { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
@keyframes primeros-tilde { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
/* Los 3 pasos del alta (Plan, Tu negocio, WhatsApp). */
.alta-pasos { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.alta-pasos__paso { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-2); color: var(--muted); }
.alta-pasos__paso + .alta-pasos__paso::before { content: ''; width: 16px; height: 1px; background: var(--line); margin-right: 2px; }
.alta-pasos__num { width: 22px; height: 22px; border-radius: 999px; display: grid; place-items: center; font-size: var(--fs-1); font-weight: 600; background: var(--surface-2); }
.alta-pasos__paso--actual { color: var(--ink); font-weight: 500; }
.alta-pasos__paso--actual .alta-pasos__num { background: var(--accent); color: var(--accent-ink); }
.alta-pasos__paso--hecho .alta-pasos__num { background: var(--accent-soft); color: var(--accent-strong); }
/* Un renglón de Configuración que es un botón (manda un formulario), igual a los links. */
.config__form { margin: 0; border-top: 1px solid var(--line); }
.config__form button { all: unset; box-sizing: border-box; width: 100%; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 16px; color: var(--ink); cursor: pointer; }
.config__form button:hover { background: var(--surface-2); }
.config__form button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.config__form button > .ico { color: var(--muted); flex: none; }
.config__form button > span { display: grid; flex: 1; font-weight: 500; }
.config__form button > span .small { font-weight: 400; }
@media (prefers-reduced-motion: reduce) { .primeros__barra > span { transition: none; } .primeros__paso--hecho .primeros__marca { animation: none; } }
/* "Mi negocio": los colores para elegir de una, y el selector libre al final. */
.negocio__colores { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.negocio__muestra { opacity: 1 !important; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--surface); background: var(--muestra); box-shadow: 0 0 0 1px var(--line-2); cursor: pointer; padding: 0; }
.negocio__muestra[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); }
.negocio__colores .negocio__color { width: 52px; flex: none; }
/* Plan del negocio (vistas/plan.tsx, negocios.tsx): estado como punto y palabra. */
.estado-plan { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-2); }
.estado-plan::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.estado-plan--activa::before, .estado-plan--prueba::before, .estado-plan--cortesia::before { background: var(--ok); }
.negocios__fila { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.negocios__fila > .campo { flex: 1 1 140px; min-width: 0; }
.negocios__grupo { border: 1px solid var(--line); border-radius: var(--r); padding: 12px var(--pad) var(--pad); margin: 0; min-width: 0; }
.negocios__grupo legend { padding: 0 6px; font-weight: 600; font-size: var(--fs-2); }
details.card > summary { cursor: pointer; list-style: none; flex-wrap: wrap; gap: 6px 12px; }
details.card > summary::-webkit-details-marker { display: none; }
details.card[open] > summary { margin-bottom: 12px; }
.estado-plan--sin_tarjeta::before, .estado-plan--suspendida::before { background: var(--danger); }
@media (max-width: 420px) {
  .card .tabla td + td, .card .tabla th + th { padding-left: 8px; }
  .card .tabla .col-opcional { display: none; }
}

/* ---------- Nuevo cliente ---------- */
/* ---------- Precios de la web ---------- */
.precios-web { max-width: 720px; }
/* Que nada (un botón largo, un texto sin cortes) estire el formulario más que la pantalla. */
.precios-web > * { min-width: 0; }
.precios-web textarea { width: 100%; resize: vertical; }
.precio-web__botones { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fotos-extra { display: grid; gap: 10px; }
/* Fotos elegidas y todavía no guardadas (client.ts, mostrarElegidas): cada una con su ✕ para descartarla. */
.elegidas { display: flex; flex-wrap: wrap; gap: 12px; margin: 10px 0 4px; padding: 0; list-style: none; }
.precios-web .foto-nueva__acciones:has(.elegidas:not([hidden])) .foto-nueva__fondo { justify-self: end; margin-top: 6px; }
.elegidas[hidden] { display: none; }
.elegidas li { position: relative; }
/* Fotos que se ordenan manteniéndolas apretadas (client.ts): sin el menú de "guardar imagen" ni selección. */
[data-ordenar] > li { -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; }
[data-ordenar] img { -webkit-user-drag: none; pointer-events: none; }
[data-ordenar] > li.ordenando { z-index: 5; pointer-events: none; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .55)); will-change: transform; }
.elegidas img { display: block; width: 52px; height: 52px; object-fit: cover; border-radius: var(--r); border: 1px solid var(--line-2); }
.elegidas__quitar { position: absolute; top: -6px; right: -6px; display: grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: var(--danger); color: #fff; font-size: 12px; line-height: 1; cursor: pointer; }
.precios-web .producto__botones { flex-wrap: nowrap; gap: 6px; }
/* La foto de la izquierda arriba, a la altura de los botones (con fotos elegidas, el bloque se alarga hacia abajo). */
.precios-web .foto-nueva { align-items: flex-start; }
.precios-web .producto__botones .btn { min-height: 34px; padding: 0 10px; font-size: var(--fs-2); gap: 6px; }
.fotos-extra__lista { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.fotos-extra__lista li { display: grid; gap: 4px; justify-items: center; font-size: var(--fs-1); color: var(--ink-2); }
.fotos-extra__lista img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--r); border: 1px solid var(--line-2); background: #fff; }
.fotos-extra__lista li { position: relative; }
.fotos-extra__lista li:has(.tachito input:checked) img { opacity: .3; }
/* Tachito sobre una foto (precios.tsx): marcado, la foto se apaga y se quita al guardar. */
.tachito { position: absolute; top: 3px; right: 3px; z-index: 1; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(0, 0, 0, .7); color: #fff; cursor: pointer; }
.tachito:has(input:checked) { background: var(--danger); }
.tachito:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.foto-nueva__vista:has(.tachito input:checked) > img, .foto-nueva__vista:has(.tachito input:checked) > .ico { opacity: .3; }
.foto-nueva:has(.tachito input:checked) .foto-nueva__acciones::after, .fotos-extra__lista li:has(.tachito input:checked)::after { content: 'Se quita al guardar'; font-size: var(--fs-1); color: var(--danger); }
.precios-web__categoria { font-size: var(--fs-4); margin: 8px 0 0; }
.precio-web__montos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.precio-web__monto { display: grid; gap: 2px; font-weight: 400; }
.precio-web { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 340px) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.precio-web:first-child { padding-top: 0; }
.precio-web__nombre { display: grid; gap: 2px; font-weight: 400; color: var(--ink); }
.precio-web--quitado .precio-web__nombre, .precio-web--quitado .prefijo { opacity: .55; }
@media (max-width: 560px) { .precio-web { grid-template-columns: minmax(0, 1fr); } .precio-web > .btn, .precio-web > .precio-web__botones { grid-column: 1 / -1; justify-self: start; } }
.card > .precios-web__inactivos { margin: 12px 0 0; }
.precio-web--inactivo { grid-template-columns: minmax(0, 1fr) auto; }
.precio-web--inactivo .precio-web__nombre { opacity: .7; }
@media (max-width: 560px) { .precio-web--inactivo { grid-template-columns: minmax(0, 1fr) auto; } .precio-web--inactivo > .btn { grid-column: auto; } }
.precio-web__marca { font-size: var(--fs-1); color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }

.form-nuevo { max-width: 640px; }
.form-nuevo .form { gap: 16px; }
.pastillas { display: flex; flex-wrap: wrap; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.pastillas legend { font-weight: 500; font-size: var(--fs-2); color: var(--ink-2); margin-bottom: 6px; padding: 0; }
.form .pastillas label, .pastillas label { display: inline-flex; align-items: center; gap: 6px; min-height: var(--h-sm); padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--r); cursor: pointer; font-weight: 500; font-size: var(--fs-2); color: var(--ink-2); background: var(--surface); transition: background-color .12s, border-color .12s; }
.pastillas label:hover { background: var(--surface-2); color: var(--ink); }
.pastillas label:has(input:checked) { background: var(--surface-3); color: var(--ink); border-color: var(--ink-2); }
.pastillas label:has(input:checked)::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.pastillas input { position: absolute; opacity: 0; pointer-events: none; }
.pastillas label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Caja ---------- */
.monto--ingreso { color: var(--ok); }
.monto--egreso { color: var(--danger); }
.periodo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 16px; }
.periodo__nav { display: flex; align-items: center; gap: 6px; }
.periodo__calendario { margin: 0; }
.periodo__nombre span { overflow: hidden; text-overflow: ellipsis; }
.periodo__corto { display: none; }
@media (max-width: 600px) { .periodo__largo { display: none; } .periodo__corto { display: inline; } }
/* Ancho fijo (entra "Miércoles 14 de octubre"): así las flechas no se mueven al cambiar de período. En el celular ocupa el espacio libre. */
@media (max-width: 959px) { .periodo__nav { width: 100%; } .periodo__nav .periodo__calendario { flex: 1; min-width: 0; } .periodo__nav .periodo__nombre { width: 100%; min-width: 0; padding: 0 10px; } .periodo__nav .btn--icon { flex: none; } }
.periodo__nombre { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; width: 240px; white-space: nowrap; overflow: hidden; min-height: var(--h); padding: 0 12px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--surface); font-size: var(--fs-3); font-weight: 600; cursor: pointer; }
.periodo__nombre:hover { border-color: var(--line-3); background: var(--surface-2); }
.periodo__nombre .ico { width: 16px; height: 16px; color: var(--muted); }
/* El selector nativo queda encima, invisible: tocar el botón lo abre (también en el celular). */
.periodo__nombre input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; }
.periodo__nombre input::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.periodo__nombre:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (min-width: 960px) { .grid-2--caja { grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); } }
/* Cada día es un grupo con su franja (como los grupos de Linear), de borde a borde de la tarjeta. */
.movs__dia { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad); background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: var(--fs-1); font-weight: 500; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.movs > section:last-child .filas > li:last-child .mov { padding-bottom: 0; }
.mov { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.card > .filas:has(> .mov) { margin: 0; }
.card > .card__head + .filas:has(> .mov) { margin-top: calc(var(--pad) * -1 + 4px); }
.mov__icono { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); }
.mov__icono .ico { width: 16px; height: 16px; }
.mov--egreso .mov__icono { background: var(--danger-soft); color: var(--danger); }
.mov--pendiente .mov__icono { background: var(--warn-soft); color: var(--warn); }
.mov__main { flex: 1; min-width: 0; display: grid; gap: 4px; }
.mov__concepto { font-weight: 500; overflow-wrap: anywhere; }
.mov__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.mov__cliente { text-decoration: none; color: var(--ink-2); }
.mov__cliente:hover { color: var(--ink); text-decoration: underline; }
.mov__lado { flex: none; display: grid; justify-items: end; gap: 4px; }
.mov__monto { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mov__acciones { display: flex; gap: 4px; align-items: center; }
.mov__acciones form { display: flex; margin: 0; }
.mov__extra { display: flex; justify-content: flex-end; margin: -4px 0 0 44px; }
.mov__extra button { display: inline-flex; align-items: center; gap: 5px; min-height: 28px; padding: 0 4px; border: 0; background: none; color: var(--ink-2); font: inherit; font-size: var(--fs-1); cursor: pointer; }
.mov__extra button .ico { color: var(--ok); }
.mov__extra button:hover { color: var(--ink); }
.mov--con-extra { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; grid-template-areas: 'icono main acciones' 'icono lado .' 'icono extra .'; column-gap: 12px; row-gap: 4px; align-items: start; }
.mov--con-extra .mov__icono { grid-area: icono; align-self: start; margin-top: 3px; }
.mov--con-extra .mov__main { grid-area: main; }
.mov--con-extra > .mov__acciones { grid-area: acciones; justify-self: end; align-self: start; white-space: nowrap; }
.mov--con-extra .mov__lado { grid-area: lado; display: block; justify-self: start; width: auto; padding: 0; }
.mov--con-extra .mov__extra { grid-area: extra; justify-content: flex-start; justify-self: start; margin: 0; }
@media (min-width: 960px) { .mov__acciones .btn--icon { width: 30px; min-width: 30px; min-height: 30px; } }
@media (max-width: 520px) { .mov { flex-wrap: wrap; } .mov__lado { width: 100%; grid-auto-flow: column; justify-content: space-between; align-items: center; padding-left: 44px; } }
/* En la compu, monto y acciones en la misma línea (filas más bajas); el monto en una columna alineada. */
@media (min-width: 960px) { .mov { padding: 10px 0; } .mov__lado { grid-auto-flow: column; align-items: center; gap: 12px; } .mov__monto { min-width: 96px; text-align: right; } }
.filas--movs { margin-top: 12px; }
.card > .filas.filas--movs { margin: 12px 0 0; }

.cuenta__ayuda { margin: 8px 0 0; }
.mensajes-auto__fila { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mensajes-auto__ejemplo { display: block; margin-top: 4px; font-weight: 400; white-space: pre-line; overflow-wrap: anywhere; }
.cuenta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
.cuenta--trabajo { grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); }
.cuenta > div { padding: 10px 12px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line); min-width: 0; }
.cuenta dt { font-size: var(--fs-1); font-weight: 500; color: var(--muted); }
.cuenta dd { margin: 2px 0 0; font-weight: 600; font-size: var(--fs-4); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.cuenta .cuenta--debe { background: var(--danger-soft); border-color: color-mix(in srgb, var(--danger) 20%, transparent); }
.cuenta .cuenta--debe dd { color: var(--danger); }
.cuenta .cuenta__ganancia { background: var(--surface-3); border-color: var(--line-2); }

/* Cajón del local (cierre de caja) */
.cajon { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 14px var(--pad); margin-bottom: 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.cajon--atrasado { background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 30%, transparent); }
.cajon__icono { position: relative; flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); }
.cajon__icono .ico { width: 18px; height: 18px; }
.cajon__icono::after { content: ''; position: absolute; right: -3px; top: -3px; width: 10px; height: 10px; border-radius: 50%; background: var(--ok); border: 2px solid var(--surface); }
.cajon--cerrado .cajon__icono::after { background: var(--faint); }
.cajon--atrasado .cajon__icono::after { background: var(--warn); }
.cajon__texto { flex: 1 1 260px; min-width: 0; display: grid; gap: 2px; }
.cajon__texto .small { font-size: var(--fs-2); }
.cajon__cuentas { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: var(--fs-2); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.cajon__esperado { display: grid; justify-items: end; line-height: 1.25; }
.cajon__esperado .small { font-size: var(--fs-1); }
.cajon__esperado strong { font-size: var(--fs-5); font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .cajon__esperado { justify-items: start; } .cajon > .btn { width: 100%; } }
.dif { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: var(--r-sm); font-weight: 500; font-size: var(--fs-1); white-space: nowrap; font-variant-numeric: tabular-nums; }
.dif .ico { width: 12px; height: 12px; }
.dif--ok { background: var(--ok-soft); color: var(--ok); }
.dif--falta { background: var(--danger-soft); color: var(--danger); }
.dif--sobra { background: var(--warn-soft); color: var(--warn); }
/* Diferencia en vivo del cierre (client.ts le cambia la clase a cierre__dif dif--…): texto solo, sin pastilla. */
.cierre__dif { display: block; height: auto; margin: -8px 0 0; min-height: 20px; padding: 0; font-weight: 600; font-size: var(--fs-2); background: none; }
.cierre__dif.dif--ok, .cierre__dif.dif--falta, .cierre__dif.dif--sobra { background: none; }
.cierre { display: grid; gap: 10px; padding: 14px 0; }
.cierre__cabeza { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.cierre__numeros { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 6px; margin: 0; }
.cierre__numeros > div { padding: 8px 10px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line); }
.cierre__numeros dt { font-size: var(--fs-1); font-weight: 500; color: var(--muted); }
.cierre__numeros dd { margin: 2px 0 0; font-weight: 500; font-variant-numeric: tabular-nums; }
.cierre > .small { font-size: var(--fs-1); }
.card > .filas:has(> .cierre) { margin: 0; }

/* Formulario de movimiento: el medio de pago solo si ya se pagó, el vencimiento solo si queda pendiente. */
.dialogo-mov { width: min(480px, calc(100vw - 24px)); }
.form-mov .solo-pendiente { display: none; }
.form-mov:has(input[name='estado'][value='pendiente']:checked) .solo-pendiente { display: grid; }
.form-mov:has(input[name='estado'][value='pendiente']:checked) .solo-pagado { display: none; }

/* =====================================================================================================
   Colores con significado: data-estado (estado de una consulta) o data-c (un color puntual) definen --c.
   Las secciones ya no tienen color propio: los íconos van en gris.
   ===================================================================================================== */
[data-estado='nueva'], [data-c='nueva'] { --c: var(--c-nueva); --c-soft: var(--c-nueva-soft); }
[data-estado='contactado'], [data-c='contactado'] { --c: var(--c-contactado); --c-soft: var(--c-contactado-soft); }
[data-estado='presupuestado'], [data-c='presupuestado'] { --c: var(--c-presupuestado); --c-soft: var(--c-presupuestado-soft); }
[data-estado='camino'], [data-c='camino'] { --c: var(--c-camino); --c-soft: var(--c-camino-soft); }
[data-estado='ganado'], [data-c='ganado'] { --c: var(--c-ganado); --c-soft: var(--c-ganado-soft); }
[data-estado='perdido'], [data-c='perdido'] { --c: var(--c-perdido); --c-soft: var(--c-perdido-soft); }
[data-estado='vencido'], [data-c='vencido'] { --c: var(--c-vencido); --c-soft: var(--c-vencido-soft); }
[data-c='egreso'] { --c: var(--danger); --c-soft: var(--danger-soft); }
[data-c='inicio'] { --c: var(--accent-strong); --c-soft: var(--accent-soft); }
[data-c='agenda'], [data-c='inventario'], [data-c='caja'], [data-c='consultas'], [data-c='numeros'] { --c: var(--ink-2); --c-soft: var(--surface-2); }

/* Agenda: un punto con el color del grupo (vencidos en rojo, hoy en ámbar, el resto en gris). */
.punto { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.card--grupo[data-c='egreso'] .punto { background: var(--danger); }
.card--grupo[data-c='nueva'] .punto { background: var(--warn); }
.card--grupo[data-c='contactado'] .punto { background: var(--ink-2); }
.card--grupo[data-c='perdido'] .punto { background: var(--faint); }

/* Conexión con WhatsApp (puente): punto verde al pie del menú; si se cae, aviso arriba de todo */
.wa-estado__punto { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }
.wa-estado--caido { color: var(--danger); }
a.wa-estado { text-decoration: none; }
.vincular__codigo { display: block; font: inherit; font-size: 2rem; font-weight: 700; letter-spacing: .12em; margin: 4px 0 2px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; user-select: all; }
.vincular__codigo + .small { margin: 0 0 12px; }
.vincular__pasos { margin: 0 0 12px; padding-left: 1.2em; } .vincular__pasos li + li { margin-top: 6px; }
.wa-estado--caido .wa-estado__punto { background: var(--danger); box-shadow: 0 0 0 3px var(--danger-soft); }

/* ---------- Inventario ---------- */
.tabs--inline { margin: 0; padding: 0; gap: 16px; }
@media (max-width: 959px) { .tabs--inline { width: 100%; } }
select.herramientas__cat { flex: none; width: 260px; }
@media (max-width: 759px) { select.herramientas__cat { width: 100%; } }
.prods { padding: 0; }
.prods__titulo { display: flex; align-items: center; gap: 8px; min-height: 40px; margin: 0; padding: 0 var(--pad); background: var(--surface-2); border-bottom: 1px solid var(--line); border-radius: var(--r-lg) var(--r-lg) 0 0; font-size: var(--fs-2); color: var(--ink); }
.card.prods > .filas { margin: 0; }
.prod { display: flex; align-items: center; gap: 12px; padding: 10px var(--pad); transition: background-color .12s; }
/* Los productos fuera de la pantalla no se dibujan hasta que se llega a ellos (la lista es larga: así deslizar y
   desplazarse no se traban). */
.prod { content-visibility: auto; contain-intrinsic-size: auto 72px; }
.card.prods > .filas > .prod:last-child { border-radius: 0 0 var(--r-lg) var(--r-lg); }
.prod:has(.stepper__n:not(:placeholder-shown)) { background: var(--accent-soft); box-shadow: inset 2px 0 0 var(--accent); }
.prod__info { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; border-radius: var(--r); }
.prod__info:hover .prod__nombre { text-decoration: underline; text-decoration-color: var(--line-3); }
.prod__main { flex: 1; min-width: 0; display: grid; gap: 2px; }
.prod__nombre { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prod__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; }
.prod__codigo { font-size: var(--fs-1); color: var(--muted); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.prod__precio { flex: none; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.prod__cant { flex: none; display: flex; align-items: center; gap: 8px; }
.prod__costo .campo { width: 104px; min-height: var(--h-sm); }
.prod-img { flex: none; width: 40px; height: 40px; border-radius: var(--r); object-fit: cover; background: var(--surface-2); border: 1px solid var(--line); }
.prod-img--dibujo { display: grid; place-items: center; color: var(--muted); }
.prod-img--dibujo svg { width: 72%; height: 72%; }
.prod-img--grande { width: 100%; max-width: 280px; height: auto; aspect-ratio: 1; border-radius: var(--r-lg); }
/* Foto con fondo blanco: se ve entera, sobre un recuadro blanco que se funde con la foto. */
img.prod-img--fondo { object-fit: contain; background: #fff; }
.stock { font-size: var(--fs-1); font-weight: 500; color: var(--muted); white-space: nowrap; }
.stock--bajo { color: var(--warn); }
.stock--sin { color: var(--danger); }
.stock--servicio { color: var(--ink-2); }
.stepper { display: inline-flex; align-items: center; gap: 4px; }
.stepper__n { width: 64px; min-height: var(--h-sm); padding: 0 4px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.stepper__n::-webkit-outer-spin-button, .stepper__n::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
/* Sin las flechitas nativas en los números (se escribe, o se usan las flechas del teclado). */
input[type='number'].campo { -moz-appearance: textfield; }
input[type='number'].campo::-webkit-outer-spin-button, input[type='number'].campo::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper--js .stepper__n { width: 44px; }
.stepper__btn { display: grid; place-items: center; width: var(--h-sm); height: var(--h-sm); border-radius: var(--r); border: 1px solid var(--line-2); background: var(--surface-2); color: var(--ink); cursor: pointer; }
.stepper__btn .ico { width: 16px; height: 16px; }
.stepper__btn:hover { background: var(--surface-3); border-color: var(--line-3); }
.stepper__n--exceso { border-color: var(--warn); color: var(--warn); }
.prod[hidden], .prods[hidden] { display: none; }
/* En el celular, cada producto en una sola línea para vender: el nombre arriba, el stock y el precio en el renglón
   de abajo, y el − / + a la derecha (la lista queda mucho más corta). El dibujo genérico se oculta para dar lugar al
   nombre; las fotos reales se siguen viendo. Al cargar mercadería, que además lleva el costo, la cantidad baja abajo. */
@media (max-width: 560px) {
  .prod { gap: 10px; padding-top: 8px; padding-bottom: 8px; }
  .prod:not(:has(.prod__costo)) .prod__info { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'nombre nombre' 'meta precio'; column-gap: 10px; row-gap: 2px; align-items: center; }
  .prod:not(:has(.prod__costo)):has(img.prod-img) .prod__info { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: 'img nombre nombre' 'img meta precio'; }
  .prod:not(:has(.prod__costo)) .prod__main { display: contents; }
  .prod:not(:has(.prod__costo)) .prod-img { grid-area: img; width: 36px; height: 36px; border-radius: var(--r-sm); }
  .prod:not(:has(.prod__costo)) .prod-img--dibujo { display: none; }
  .prod:not(:has(.prod__costo)) .prod__nombre { grid-area: nombre; }
  .prod:not(:has(.prod__costo)) .prod__meta { grid-area: meta; min-width: 0; flex-wrap: nowrap; overflow: hidden; }
  .prod:not(:has(.prod__costo)) .prod__codigo { flex: 0 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .prod:not(:has(.prod__costo)) .prod__meta > :not(.prod__codigo) { flex: none; }
  .prod:not(:has(.prod__costo)) .prod__precio { grid-area: precio; font-size: var(--fs-2); }
  .stepper--js .stepper__n { width: 40px; }
  .prod:has(.prod__costo) { flex-wrap: wrap; gap: 8px 12px; }
  .prod:has(.prod__costo) .prod__info { flex-basis: 100%; }
  .prod:has(.prod__costo) .prod__cant { margin-left: auto; }
}
.cobro { margin-top: 12px; scroll-margin-top: 16px; }
.cobro .form { max-width: 560px; }
.cobro__items { list-style: none; margin: 0 0 14px; padding: 10px 12px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line); display: grid; gap: 4px; font-size: var(--fs-2); }
.cobro__items[hidden] { display: none; }
.cobro__items li { display: flex; justify-content: space-between; gap: 12px; }
.cobro__items li span:last-child { font-variant-numeric: tabular-nums; color: var(--ink-2); }
.cobro__items .total { border-top: 1px solid var(--line); padding-top: 6px; margin-top: 2px; font-weight: 600; }
.cobro__items .total span:last-child { color: var(--ink); }
.cobro p.small { font-size: var(--fs-1); }
.cobro--venta:has(input[name='estado'][value='pendiente']:checked) .solo-pagado { display: none; }
.venta-cliente-nuevo { display: none; }
.cobro--venta:has(select[name='cliente_id'] option[value='nuevo']:checked) .venta-cliente-nuevo { display: grid; }
.form-entrada:has(input[name='gasto'][value='no']:checked) .con-gasto { display: none; }
.form-entrada .solo-pagado { display: grid; }
.form-entrada:has(input[name='gasto'][value='pendiente']:checked) .solo-pagado { display: none; }
.form-producto:has(input[name='controla_stock'][value='0']:checked) .solo-stock { display: none; }
/* Barra con lo elegido, fija abajo (arriba del menú en el celular). */
.carrito { position: sticky; bottom: calc(var(--nav-h) + 12px + var(--sa-bottom)); z-index: 25; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding: 8px 8px 8px 16px; border-radius: var(--r-lg); background: var(--surface-3); border: 1px solid var(--line-3); color: var(--ink); box-shadow: var(--shadow-pop); }
.carrito[hidden] { display: none; }
.carrito__texto { display: grid; line-height: 1.3; }
.carrito__texto strong { font-size: var(--fs-1); font-weight: 500; color: var(--muted); }
.carrito__texto span { font-size: var(--fs-4); font-weight: 600; font-variant-numeric: tabular-nums; }
@media (min-width: 960px) { .carrito { bottom: 16px; } }
.carrito--oculto { visibility: hidden; }

/* Inventario eficiente: buscar y elegir sin perder el cobro de vista.
   - Buscador y categoría fijos arriba al bajar por la lista.
   - Compu ancha: la lista a la izquierda y el cobro fijo a la derecha, como un punto de venta (la barra flotante
     no hace falta).
   - Celular: la barra "Cobrar" abre el cobro como hoja desde abajo (client.ts) y al cerrarla seguís donde estabas. */
.herramientas:has([data-filtrar]) { position: sticky; top: 0; z-index: 14; display: flex; gap: 8px; margin-bottom: 4px; padding: 8px 0; background: var(--bg); box-shadow: 0 0 0 100vmax var(--bg); clip-path: inset(0 -100vmax); }
.herramientas:has([data-filtrar]) .buscador { flex: 1; min-width: 0; }
@media (max-width: 759px) { .herramientas:has([data-filtrar]) select.herramientas__cat { width: 40%; } }
@media (min-width: 960px) {
  .herramientas:has([data-filtrar]) { top: 52px; padding: 12px 0; }
  .prod { padding: 6px var(--pad); }
  .prod .prod-img { width: 32px; height: 32px; border-radius: var(--r-sm); }
  .prods__titulo { min-height: 36px; }
}
.vuelto { display: grid; gap: 6px; margin-top: 12px; }
.vuelto__res { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.vuelto__res[hidden], .vuelto__dado[hidden] { display: none; }
.vuelto__res--falta { color: var(--muted); }
form:has(input[name='medio']:not([value='efectivo']):checked) .vuelto { display: none; }
.cobro__cerrar { display: none; }
@media (min-width: 1100px) {
  .form-carrito { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; align-items: start; }
  .form-carrito > .cobro { grid-column: 2; grid-row: 1; position: sticky; top: 120px; margin-top: 0; max-height: calc(100vh - 136px); overflow-y: auto; overscroll-behavior: contain; }
  .form-carrito > .cobro .form { max-width: none; }
  .form-carrito > .cobro .form__fila { grid-template-columns: 1fr; }
  .form-carrito > .carrito { display: none; }
}
@media (max-width: 1099px) {
  /* En el celular el cobro solo existe como hoja (botón "Cobrar" / "Registrar ingreso" de la barra al elegir algo):
     suelto al final de la lista era un formulario repetido. */
  .form-carrito > .cobro:not(.cobro--hoja) { display: none; }
  .cobro.cobro--hoja { display: flex; flex-direction: column; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; margin: 0; max-height: 88dvh; overflow-y: auto; overscroll-behavior: contain; border-radius: 14px 14px 0 0; border-bottom: 0; padding-bottom: calc(var(--pad) + var(--sa-bottom)); box-shadow: var(--shadow-pop); animation: subir .2s ease-out; }
  /* El título y la X quedan fijos arriba mientras se scrollea la hoja (la X se sube sobre la franja del título). */
  .cobro--hoja > h2:first-child { flex: none; position: sticky; top: 0; z-index: 2; border-radius: 14px 14px 0 0; padding-right: 56px; }
  .cobro--hoja .cobro__cerrar { flex: none; display: grid; place-items: center; position: sticky; top: 2px; z-index: 3; align-self: flex-end; width: 40px; height: 40px; margin: calc(-42px - var(--pad)) -8px calc(var(--pad) + 2px) 0; border: 0; border-radius: var(--r); background: transparent; color: var(--muted); cursor: pointer; }
  .cobro--hoja .cobro__cerrar:hover { background: var(--surface-3); color: var(--ink); }
  body.con-hoja { overflow: hidden; }
  /* La hoja está dentro de .main, que hace su propia capa (will-change): mientras está abierta, .main pasa arriba de
     la barra de abajo y de la de arriba, y el oscurecido lo hace la sombra de la hoja (así queda debajo de ella). */
  body.con-hoja .main { position: relative; z-index: 36; }
  body.con-hoja .cobro--hoja { box-shadow: var(--shadow-pop), 0 0 0 100vmax rgb(0 0 0 / .6); }
}
@keyframes subir { from { transform: translateY(24px); opacity: .6; } }
@keyframes aparecer { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cobro--hoja { animation: none; } }
/* Ficha del producto */
/* Títulos sueltos al principio de una tarjeta: la misma franja que .card__head. */
.card > .card__titulo:first-child, .cobro > h2:first-child { display: flex; align-items: center; gap: 8px; min-height: 44px; margin: calc(var(--pad) * -1) calc(var(--pad) * -1) var(--pad); padding: 0 var(--pad); background: var(--surface-2); border-bottom: 1px solid var(--line); border-radius: var(--r-lg) var(--r-lg) 0 0; font-size: var(--fs-3); }
@media (min-width: 960px) { .card > .card__titulo:first-child, .cobro > h2:first-child { min-height: 40px; font-size: var(--fs-2); } }
/* En el celular, una sola columna en este orden: producto, entrada, conteo, movimientos y edición. */
@media (max-width: 1039px) {
  .ficha--producto .ficha__col { display: contents; }
  .ficha--producto .card[data-orden] { margin: 0; order: var(--orden); }
  .ficha--producto .ficha__lado > .card:first-child, .ficha--producto .ficha__lado > .card:last-child { order: var(--orden); }
}
.ficha--producto [data-orden='1'] { --orden: 1; } .ficha--producto [data-orden='2'] { --orden: 2; } .ficha--producto [data-orden='3'] { --orden: 3; } .ficha--producto [data-orden='4'] { --orden: 4; } .ficha--producto [data-orden='5'] { --orden: 5; }
.producto__cabeza { display: grid; gap: 20px; }
@media (min-width: 640px) { .producto__cabeza { grid-template-columns: 200px minmax(0, 1fr); align-items: start; } }
.producto__foto { display: grid; gap: 8px; justify-items: start; }
.producto__foto .prod-img--grande { max-width: 200px; }
.producto__foto .prod-img--dibujo svg { width: 56%; height: 56%; }
.producto__subir { display: flex; gap: 8px; margin: 0; }
.producto__subir label { cursor: pointer; }
.producto__subir label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.producto__datos { display: grid; gap: 6px; min-width: 0; }
.producto__datos h1 { font-size: var(--fs-5); overflow-wrap: anywhere; }
.producto__datos > p.muted { font-size: var(--fs-2); }
.producto__datos .badge { justify-self: start; }
.producto__numeros { margin: 10px 0 4px; }
.producto__notas { white-space: pre-line; padding: 10px 12px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line); font-size: var(--fs-2); color: var(--ink-2); }
.producto__archivar { margin-top: 12px; }
.producto__botones { display: flex; flex-wrap: wrap; gap: 8px; }
/* Recortar: la foto con un recuadro que se arrastra; lo de afuera queda oscurecido. Las esquinas tienen un área de
   toque de 40 px (el marco tiene ese margen para que no se corten en los bordes de la foto). */
.recorte { width: min(560px, calc(100vw - 24px)); }
.recorte .dialogo > .btn { justify-self: start; }
.recorte__marco { display: grid; place-items: center; padding: 20px; overflow: hidden; border-radius: var(--r); background: var(--input); }
.recorte__area { position: relative; line-height: 0; user-select: none; -webkit-user-select: none; touch-action: none; }
.recorte__area img { display: block; max-width: 100%; max-height: 52dvh; }
.recorte__caja { position: absolute; box-shadow: 0 0 0 100vmax rgb(0 0 0 / .6); outline: 2px solid #fff; cursor: move; touch-action: none; }
.recorte__esquina { position: absolute; width: 40px; height: 40px; touch-action: none; }
.recorte__esquina::after { content: ''; position: absolute; inset: 13px; background: #fff; border-radius: 3px; box-shadow: 0 1px 4px rgb(0 0 0 / .5); }
.recorte__esquina--no { left: -20px; top: -20px; cursor: nwse-resize; }
.recorte__esquina--ne { right: -20px; top: -20px; cursor: nesw-resize; }
.recorte__esquina--so { left: -20px; bottom: -20px; cursor: nesw-resize; }
.recorte__esquina--se { right: -20px; bottom: -20px; cursor: nwse-resize; }
/* Corregir fondo blanco: la foto en un lienzo que se pinta con el dedo (client.ts). */
.corregir__lienzo { display: block; max-width: 100%; max-height: 52dvh; touch-action: none; cursor: crosshair; }
.corregir__herramientas { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.segmentado__opcion { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: calc(var(--h) - 6px); padding: 0 12px; border: 0; border-radius: var(--r-sm); background: none; color: var(--muted); font: inherit; font-weight: 500; font-size: var(--fs-2); cursor: pointer; }
.segmentado__opcion[aria-pressed="true"] { background: var(--surface-3); color: var(--ink); }
.corregir__punto { display: block; border-radius: 50%; background: currentColor; }
.producto__fondo { display: flex; margin: 0; }
/* La fila de botones de la foto: compactos, todos a la misma altura (con "Sacar foto" en el celular, client.ts). */
.producto__botones--foto { gap: 6px; align-items: center; }
.producto__botones--foto .producto__subir { gap: 6px; }
.producto__botones--foto .btn { min-height: 34px; padding: 0 10px; gap: 6px; font-size: var(--fs-2); }
.producto__foto > .ayuda { max-width: 320px; }
/* En el celular no entran en una fila (con "Sacar foto" son cuatro): barra de herramientas, del mismo ancho y a la
   misma altura, con el ícono arriba y el nombre abajo. */
@media (max-width: 639px) {
  .producto__foto { justify-items: stretch; }
  .producto__foto .prod-img--grande { justify-self: start; }
  .producto__botones--foto { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .producto__botones--foto .producto__subir, .producto__botones--foto .producto__fondo { display: contents; }
  .producto__botones--foto .btn { flex-direction: column; justify-content: center; min-height: 54px; padding: 4px; gap: 3px; font-size: var(--fs-1); white-space: nowrap; }
}
.producto__links { display: flex; flex-wrap: wrap; gap: 4px; margin-left: -6px; }
.producto__links form { margin: 0; }
/* "Mi negocio" (vistas/negocio.tsx) */
.negocio__color { width: 72px; height: var(--h); padding: 2px; cursor: pointer; }
.negocio__logo { display: grid; gap: 8px; justify-items: start; }
.negocio__logo label.btn { display: inline-flex; flex-direction: row; }
.negocio__previas { display: flex; gap: 12px; align-items: center; }
.negocio__actual { max-width: 200px; max-height: 80px; padding: 8px; border-radius: var(--r); background: #fff; }
.negocio__icono { width: 64px; height: 64px; border-radius: 16px; }
form[data-enviando].producto__fondo .btn::after { content: ''; width: 12px; height: 12px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: girar .7s linear infinite; }
.foto-nueva { display: flex; align-items: flex-start; gap: 12px; }
.foto-nueva:has(img[data-previa]:not([hidden])) .foto-nueva__vista { width: 96px; height: 96px; }
.foto-nueva__vista { position: relative; flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: var(--r); background: var(--surface-2); border: 1px dashed var(--line-2); color: var(--muted); overflow: hidden; }
.foto-nueva__vista img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.foto-nueva__quitar { top: 3px; right: 3px; width: 20px; height: 20px; font-size: 11px; }
.foto-nueva__quitar[hidden] { display: none; }
.foto-nueva__vista:has(img:not([hidden])) { border-style: solid; }
.foto-nueva label.btn { display: inline-flex; gap: 6px; color: var(--ink); cursor: pointer; }
.foto-nueva__acciones { display: grid; gap: 8px; justify-items: start; min-width: 0; }
.form .foto-nueva__fondo { display: none; flex-wrap: wrap; align-items: center; gap: 0 8px; min-height: 32px; color: var(--ink-2); white-space: nowrap; cursor: pointer; }
.foto-nueva__fondo .ayuda { flex-basis: 100%; padding-left: 24px; white-space: normal; }
.foto-nueva:has(img[data-previa]:not([hidden])) .foto-nueva__fondo { display: flex; }
.foto-nueva__fondo input { accent-color: var(--accent); width: 16px; height: 16px; margin: 0; }
.foto-nueva label.btn:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.mov[data-c] .mov__icono--c { background: var(--c-soft); color: var(--c); }

/* Garantías (ficha y /garantias) */
.garantias { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.garantia { display: flex; align-items: flex-start; gap: 10px; border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; background: var(--surface-2); }
.garantia__main { flex: 1; min-width: 0; display: grid; gap: 6px; }
.garantia__nombre { font-weight: 500; overflow-wrap: anywhere; }
.garantia-estado { display: inline-flex; align-items: center; gap: 4px; justify-self: start; min-height: 22px; padding: 0 8px; border-radius: var(--r-sm); font-weight: 500; font-size: var(--fs-1); white-space: nowrap; }
.garantia-estado .ico { width: 12px; height: 12px; }
.garantia-estado--vigente { background: var(--ok-soft); color: var(--ok); }
.garantia-estado--pronto { background: var(--warn-soft); color: var(--warn); }
.garantia-estado--vencida { background: var(--surface-3); color: var(--muted); }
.garantia form { display: flex; margin: 0; }
.garantias__ayuda { margin: 0 0 12px; }
/* En el celular, un campo abajo del otro: el de fecha no se achica y empujaba la página de costado. */
.form-garantia .form__fila { grid-template-columns: minmax(0, 1fr); }
.form-garantia input[type='date'] { min-width: 0; }
@media (min-width: 560px) { .form-garantia .form__fila { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.cabecera__acciones { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.datos .garantia-estado { margin-top: 1px; }

/* Notificaciones (vistas/notificaciones.tsx) */
.notif__check { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0; cursor: pointer; }
.notif__check input { margin-top: 3px; flex: none; }
.notif__fila { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; margin: 10px 0; }
.notif__fila .campo { width: auto; }
.notif__fila--resumen { justify-content: space-between; }
.notif__sub { margin-top: -4px; justify-content: flex-start; color: var(--muted); }
.notif__ayuda { margin: -2px 0 8px 26px; }
/* Números: la plata de los trabajos ganados (vendido, cobrado, por cobrar, ganancia). */
.plata { margin-bottom: 16px; }
.card__head select.plata__origen { flex: none; width: auto; max-width: 9.5em; min-height: 30px; margin-left: auto; padding: 0 26px 0 10px; font-size: var(--fs-1); background-position: right 6px center; background-size: 14px; }
.plata .card__head { flex-wrap: nowrap; }
.plata__barra { height: 8px; border-radius: 4px; background: color-mix(in srgb, var(--warn) 35%, var(--surface-3)); overflow: hidden; margin: 4px 0 12px; }
.plata__cobrado { display: block; height: 100%; background: var(--ok); }
.plata__filas { display: grid; gap: 0; margin: 0; }
.plata__filas > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.plata__filas > div:first-child { border-top: 0; }
.plata__filas dt { color: var(--muted); }
.plata__filas dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 600; }
.plata__fila--cobrado dt::before, .plata__fila--pendiente dt::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; background: var(--ok); }
.plata__fila--pendiente dt::before { background: color-mix(in srgb, var(--warn) 60%, var(--surface-3)); }
.plata__fila--ganancia dt { color: var(--ink); font-weight: 600; }
.plata__fila--ganancia dd { font-size: var(--fs-4, 1.15rem); }
/* Editar un presupuesto: el botón va con los otros y el formulario se abre abajo, a todo el ancho. */
.presupuesto__editar { display: contents; }
.presupuesto__editar > summary { list-style: none; cursor: pointer; }
.presupuesto__editar > summary::-webkit-details-marker { display: none; }
.presupuesto__editar[open] > summary { background: var(--surface-3); }
/* Abierto, ocupa una fila entera debajo de los botones (los navegadores nuevos meten el contenido de <details> en una
   caja propia y display: contents ya no alcanza para que el formulario se acomode solo a todo el ancho). */
.presupuesto__editar[open] { display: block; flex-basis: 100%; order: 10; }
.presupuesto__acciones .presupuesto__editar > form { display: grid; width: 100%; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.notif__dispositivo { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; }

/* Cambiar de sección sin que parezca cargar una página: el navegador deja la pantalla anterior hasta que está la nueva
   y pasa con un fundido corto del contenido. Los menús (el de la izquierda, la barra de abajo y el encabezado) quedan
   quietos y cambian al instante. Chrome/Android 126+ y Safari 18.2+; los demás cambian como siempre. */
@view-transition { navigation: auto; }
.side { view-transition-name: menu; }
.topbar { view-transition-name: encabezado; }
::view-transition-group(menu), ::view-transition-group(encabezado),
::view-transition-new(menu), ::view-transition-new(encabezado) { animation: none; }
::view-transition-old(menu), ::view-transition-old(encabezado) { display: none; }
/* Sin fundido: la página vieja queda hasta que la nueva está lista y se cambia de una (el fundido se veía como un parpadeo). */
::view-transition-old(root) { display: none; }
::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
@keyframes vt-sale { to { opacity: 0; } }
@keyframes vt-entra { from { opacity: 0; transform: translateY(6px); } }
/* Cambio de sección desde el menú (client.ts marca el tipo): la vieja ya se esfumó al tocar; la nueva entra subiendo apenas. */
/* Corto y sin moverse: igual de rápido si la sección estaba guardada o armada de antemano que si viene del servidor. */
html:active-view-transition-type(seccion)::view-transition-new(root) { animation: none; }
@keyframes vt-aparece { from { opacity: .6; } }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; } }
/* Cargando una sección elegida desde el cajón (client.ts): barrita que corre arriba. */
/* Con demora: si la página llega enseguida (lo normal, guardada en el celular), la barrita ni aparece. */
.navegando body::before { content: ''; position: fixed; z-index: 100; top: var(--sa-top); left: 0; height: 3px; width: 40%; background: var(--accent); border-radius: 0 2px 2px 0; translate: -100% 0; animation: navegando 1s ease-in-out .35s infinite; }
a.sec--cargando { animation: sec-cargando .9s ease-in-out infinite alternate; }
/* Al tocar otra sección (client.ts): el contenido de la que se deja se esfuma mientras llega la nueva. */
/* Sin esfumar la sección actual al tocar otra (parpadeaba): el botón ya se marca al instante. */
@keyframes sec-cargando { to { opacity: .45; } }
@keyframes navegando { from { translate: -100% 0; } to { translate: 250vw 0; } }
/* Desde el cajón (client.ts): la página nueva aparece de una y el cajón con su fondo se van encima, a la izquierda. */
.cerrando-cajon .lateral { view-transition-name: cajon; }
.cerrando-cajon .lateral-fondo { view-transition-name: cajon-fondo; }
/* Igual que al abrirlo, pero al revés: lo de atrás (la página nueva, con sus menús) vuelve desde la derecha junto
   con el cajón. */
html:active-view-transition-type(cajon)::view-transition-old(root) { animation: none; display: none; }
html:active-view-transition-type(cajon)::view-transition-new(root),
html:active-view-transition-type(cajon)::view-transition-new(menu),
html:active-view-transition-type(cajon)::view-transition-new(encabezado) { animation: .25s ease both cajon-empuja; }
@keyframes cajon-empuja { from { transform: translateX(min(300px, 82vw)); } }
::view-transition-group(cajon), ::view-transition-group(cajon-fondo) { animation: none; }
::view-transition-old(cajon) { animation: .25s ease both cajon-sale; }
::view-transition-old(cajon-fondo) { animation: .25s ease both vt-sale; }
@keyframes cajon-sale { to { transform: translateX(-100%); } }

/* ---------- Tipografía ---------- */
h1 { font-size: var(--fs-6); font-weight: 600; letter-spacing: -.022em; line-height: 1.15; }
h2 { font-size: var(--fs-4); letter-spacing: -.012em; }
h3 { font-size: var(--fs-3); letter-spacing: -.006em; }
.small { line-height: 1.4; }
.cabecera { margin-bottom: 24px; }
.cabecera p { margin-top: 4px; color: var(--muted); }
.sec-icono { display: none !important; }
.volver { color: var(--muted); }

/* ---------- Superficies ---------- */
.card { border-color: var(--card-borde); border-radius: var(--r-lg); }
.card__head, .card > .card__titulo:first-child, .cobro > h2:first-child, .prods__titulo {
  min-height: 0; margin: 0 calc(var(--pad) * -1) 8px; padding: 2px var(--pad) 8px;
  background: none; border: 0; border-radius: 0; font-size: var(--fs-3);
}
.card > .card__head + .filas { margin-top: 0; }
/* Esta tarjeta no tiene relleno: el margen negativo de arriba lo sacaba del borde. */
.prods__titulo { margin-inline: 0; padding-top: 14px; font-weight: 600; }
.card__head h2, .card__titulo, .cobro > h2:first-child { font-size: var(--fs-3); font-weight: 600; }
.card__head .small:not(.muted) { color: var(--accent-strong); }
.card__head h2 .ico, .card__titulo .ico, .bloque__titulo h3 .ico { display: none; }
.cnt { height: auto; padding: 0; border: 0; background: none; color: var(--muted); font-size: var(--fs-2); font-weight: 400; }
.tab__n { background: none; padding: 0 2px; }
.bloque { margin-top: 24px; padding-top: 20px; }

/* ---------- Filas: la línea arranca después del avatar, como en una lista nativa ---------- */
.filas > li + li:has(> .fila) { border-top: 0; }
.filas > li + li > .fila { position: relative; }
.filas > li + li > .fila::before { content: ''; position: absolute; left: calc(var(--pad) + 44px); right: 0; top: 0; border-top: 1px solid var(--line); }
.fila { padding-top: 13px; padding-bottom: 13px; }
/* Services que tocan (Agenda): datos a la izquierda y los botones al lado, o abajo en el celular. */
.service-fila { flex-wrap: wrap; }
.service-fila__datos { display: flex; flex-direction: column; gap: 2px; flex: 1 1 220px; min-width: 0; color: inherit; text-decoration: none; }
.service-fila__acciones { display: flex; flex-wrap: wrap; gap: 6px; }
.service-fila__acciones form { margin: 0; }
/* Fotos de antes y después (ficha): dos columnas de miniaturas cuadradas, con el botón de sumar primero. */
.fotos-trabajo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fotos-trabajo__col h4 { margin: 0 0 6px; color: var(--muted); font-weight: 600; }
.fotos-trabajo__lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 6px; }
.fotos-trabajo__lista form { margin: 0; height: 100%; }
.foto-trabajo { position: relative; }
.foto-trabajo > button, .foto-trabajo__usar { display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; border-radius: var(--r); overflow: hidden; background: var(--surface-2); cursor: pointer; }
.foto-trabajo img, .foto-trabajo__usar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.foto-trabajo__acciones { position: absolute; right: 2px; bottom: 2px; display: flex; gap: 2px; }
.foto-trabajo__acciones .btn--icon { width: 26px; height: 26px; min-height: 0; padding: 0; background: rgb(0 0 0 / .55); color: #fff; border: 0; }
.foto-trabajo__acciones .foto-trabajo__mostrar--si { background: var(--accent); color: var(--accent-ink); }
.fotos-trabajo__sumar, .fotos-trabajo__lista .btn[data-propio] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 100%; aspect-ratio: 1; border: 1.5px dashed var(--line-2); border-radius: var(--r); color: var(--muted); cursor: pointer; text-align: center; }
.fotos-trabajo__lista form:has(.fotos-trabajo__sumar) { display: grid; gap: 6px; }
.fotos-trabajo__whatsapp { margin-top: 14px; }
.foto-trabajo__usar { position: relative; }
.foto-trabajo__usar span { position: absolute; left: 0; right: 0; bottom: 0; padding: 2px; background: rgb(0 0 0 / .6); color: #fff; }
@media (max-width: 420px) { .fotos-trabajo { grid-template-columns: 1fr; } }
/* Títulos de las secciones de la ficha ("Presupuesto", "Cobros y gastos"…): mandan sobre lo que tienen adentro.
   El desplegable de cargar ("Cargar presupuesto") va en blanco con el + en el acento: es la entrada a la sección. */
.bloque__titulo h3 { font-size: var(--fs-4); font-weight: 700; letter-spacing: -.01em; }
@media (min-width: 960px) { .bloque__titulo h3 { font-size: var(--fs-3); } }
.nuevo > summary { color: var(--ink); font-weight: 600; font-size: var(--fs-3); }
.nuevo > summary .ico { color: var(--accent); }

/* ---------- Presupuesto por audio (ficha) ----------
   Todo con el acento de la cuenta (--accent y sus mezclas): cambia solo si cambia el color. Un único botón con color
   (dictar); corregir es la misma pieza en versión secundaria. Mobile first: áreas táctiles de 48px o más. */
.nuevo > p.ayuda { margin: 0; padding: 12px 12px 0; }
.grabar-presupuesto { display: grid; gap: 14px; margin: 0; padding: 14px 12px 6px; }
.grabar-presupuesto form { margin: 0; }
.grabar-presupuesto *, .grabar-presupuesto *::before, .grabar-presupuesto *::after { box-sizing: border-box; }
.grabar-presupuesto > *, .audio-ia > *, .audio-ia__propuesta > * { min-width: 0; }

/* Botón de dictar: micrófono en un círculo, título y aclaración; al grabar cambia a "detener", tiempo y onda. */
.dictado { --d-bg: var(--accent-soft); --d-ink: var(--ink); position: relative; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 72px; padding: 12px 16px 12px 12px; border: 1px solid transparent; border-radius: var(--r-lg); background: var(--d-bg); color: var(--d-ink); font: inherit; text-align: left; cursor: pointer; overflow: hidden; -webkit-tap-highlight-color: transparent; transition: background-color .2s, border-color .2s, color .2s, transform .12s, box-shadow .2s; }
.dictado { border-color: var(--accent-line); }
.dictado:hover { --d-bg: color-mix(in srgb, var(--accent) 20%, transparent); }
.dictado:active { transform: scale(.985); }
.dictado:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.dictado__mic { position: relative; flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); transition: background-color .2s; }
.dictado__mic .ico { transition: opacity .15s, transform .2s; }
.dictado__stop { position: absolute; width: 14px; height: 14px; border-radius: 4px; background: currentColor; opacity: 0; transform: scale(.4); transition: opacity .15s, transform .2s; }
.dictado__textos { flex: 1; min-width: 0; display: grid; gap: 2px; }
.dictado__titulo { font-size: var(--fs-3); font-weight: 600; line-height: 1.25; font-variant-numeric: tabular-nums; }
.dictado--grabando .dictado__titulo, .dictado--pausado .dictado__titulo { white-space: nowrap; }
.dictado__sub { font-size: var(--fs-2); line-height: 1.35; color: var(--muted); }
.dictado__onda { display: none; flex: none; align-items: center; gap: 2px; height: 28px; }
@media (max-width: 420px) { .dictado__onda i:nth-child(n+10) { display: none; } }
.dictado__onda i { display: block; width: 3px; height: 100%; border-radius: 2px; background: currentColor; transform: scaleY(.15); transform-origin: center; transition: transform .08s linear; }
/* Grabando: superficie del panel con borde y detalles del acento; el círculo pasa a ser "detener". */
.dictado--grabando, .dictado--pausado { --d-bg: var(--accent); --d-ink: var(--accent-ink); border-color: transparent; }
.dictado--grabando:hover, .dictado--pausado:hover { --d-bg: var(--accent-hover); }
.dictado--grabando .dictado__mic, .dictado--pausado .dictado__mic { background: color-mix(in srgb, var(--accent-ink) 18%, transparent); color: var(--accent-ink); }
.dictado--grabando .dictado__sub, .dictado--pausado .dictado__sub { color: color-mix(in srgb, var(--accent-ink) 85%, transparent); }
.dictado--grabando .dictado__mic::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--accent-ink); opacity: 0; animation: dictado-pulso 1.6s ease-out infinite; }
.dictado--grabando .dictado__mic .ico { opacity: 0; transform: scale(.6); }
.dictado--grabando .dictado__stop { opacity: 1; transform: none; }
.dictado--grabando .dictado__titulo { color: var(--accent-ink); }
.dictado--grabando .dictado__onda { display: flex; color: var(--accent-ink); }
.dictado--nativo .dictado__onda i { animation: dictado-onda 1.1s ease-in-out infinite; }
.dictado--nativo .dictado__onda i:nth-child(3n+1) { animation-delay: -.3s; }
.dictado--nativo .dictado__onda i:nth-child(3n+2) { animation-delay: -.7s; }
.dictado--nativo .dictado__onda i:nth-child(4n) { animation-delay: -.5s; }
.dictado--subiendo { --d-bg: var(--surface-2); --d-ink: var(--ink); cursor: progress; }
.dictado--subiendo .dictado__mic { background: var(--accent-soft); color: var(--accent); }
.dictado--subiendo .dictado__mic .ico { opacity: 0; }
.dictado--subiendo .dictado__mic::after { content: ''; position: absolute; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--accent-line); border-top-color: var(--accent); animation: girar .8s linear infinite; }
@keyframes dictado-pulso { 0% { opacity: .55; transform: scale(.92); } 100% { opacity: 0; transform: scale(1.35); } }
@keyframes dictado-onda { 0%, 100% { transform: scaleY(.2); } 50% { transform: scaleY(.85); } }
@keyframes girar { to { rotate: 360deg; } }
/* Secundario (corregir con un audio): misma pieza, más baja, superficie del panel y el micrófono en el acento. */
.dictado--sec { --d-bg: var(--surface-2); --d-ink: var(--ink); min-height: 60px; padding: 8px 14px 8px 8px; gap: 12px; border-color: var(--line); border-radius: var(--r); }
.dictado--sec:hover { --d-bg: var(--surface-3); border-color: var(--accent-line); }
.dictado--sec .dictado__mic { width: 42px; height: 42px; background: var(--accent-soft); color: var(--accent); }
.dictado--sec .dictado__titulo { font-size: var(--fs-3); font-weight: 600; letter-spacing: 0; }
.dictado--sec .dictado__sub { color: var(--muted); font-weight: 400; }
.dictado--sec.dictado--grabando, .dictado--sec.dictado--pausado { --d-bg: var(--accent); --d-ink: var(--accent-ink); border-color: transparent; }
.dictado--sec.dictado--grabando .dictado__mic, .dictado--sec.dictado--pausado .dictado__mic { background: color-mix(in srgb, var(--accent-ink) 18%, transparent); color: var(--accent-ink); }
.dictado--sec.dictado--grabando .dictado__sub, .dictado--sec.dictado--pausado .dictado__sub { color: color-mix(in srgb, var(--accent-ink) 85%, transparent); }
.grabar-presupuesto__terminar { margin-top: 8px; width: 100%; }

/* Cada audio: una tarjeta con el reproductor arriba y lo que armó la IA abajo. */
.grabar-presupuesto__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.audio-ia { display: grid; gap: 14px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
/* En el celular ya va dentro de dos recuadros: sin el suyo, así el presupuesto no queda apretado (a 360 px el concepto
   iba en una columna angosta). Si hay más de un audio, una línea los separa. */
@media (max-width: 480px) {
  .audio-ia { padding: 0; border: 0; border-radius: 0; background: none; }
  .audio-ia + .audio-ia { padding-top: 14px; border-top: 1px solid var(--line); }
}
.audio-ia__cabeza { display: flex; align-items: center; gap: 8px; }
.audio-ia__cabeza > form { margin: 0; }
.audio-ia__borrar { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--r); background: transparent; color: var(--muted); cursor: pointer; transition: background-color .15s, color .15s; }
.audio-ia__borrar:hover, .audio-ia__borrar:focus-visible { background: var(--danger-soft); color: var(--danger); }
/* Borrando: el tachito gira y la tarjeta se apaga hasta que desaparece. */
.audio-ia:has(form[data-enviando] .audio-ia__borrar) { opacity: .45; pointer-events: none; transition: opacity .2s; }
form[data-enviando] .audio-ia__borrar { background: var(--danger-soft); color: transparent; position: relative; }
form[data-enviando] .audio-ia__borrar::after { content: ''; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--danger); border-right-color: transparent; animation: girar .8s linear infinite; }

/* Reproductor propio: play en el acento, barra con el avance pintado y el tiempo. */
.reproductor { --avance: 0%; flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 12px 0 4px; border-radius: 999px; background: var(--surface-2); }
.reproductor audio { display: none; }
.reproductor__play { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--accent); color: var(--accent-ink); cursor: pointer; transition: background-color .15s, transform .12s; }
.reproductor__play:hover { background: var(--accent-hover); }
.reproductor__play:active { transform: scale(.94); }
.reproductor__play .ico { fill: currentColor; }
.reproductor__play .ico + .ico, .reproductor--sonando .reproductor__play .ico:first-child { display: none; }
.reproductor--sonando .reproductor__play .ico + .ico { display: block; fill: none; stroke-width: 3; }
.reproductor__play .ico:first-child { margin-left: 2px; }
/* Cargando el audio: el botón muestra un aro girando en lugar de play/pausa. */
.reproductor__play { position: relative; }
.reproductor--cargando .reproductor__play .ico { opacity: 0; }
.reproductor--cargando .reproductor__play::after { content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--accent-ink) 35%, transparent); border-top-color: var(--accent-ink); animation: girar .8s linear infinite; }
.reproductor__barra { flex: 1; min-width: 0; height: 24px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.reproductor__barra::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--accent) var(--avance), var(--line-2) var(--avance)); }
.reproductor__barra::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--accent) var(--avance), var(--line-2) var(--avance)); }
.reproductor__barra::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border: 0; border-radius: 50%; background: var(--accent); transition: transform .12s; }
.reproductor__barra::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: var(--accent); }
.reproductor__barra:active::-webkit-slider-thumb { transform: scale(1.25); }
.reproductor__tiempo { flex: none; color: var(--muted); font-size: var(--fs-2); font-variant-numeric: tabular-nums; }

/* Procesando, sin armar y error. */
.audio-ia__procesando { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: var(--r); background: var(--accent-soft); }
.audio-ia__procesando div { display: grid; gap: 2px; }
.audio-ia__procesando span:not(.audio-ia__girando) { color: var(--muted); font-size: var(--fs-2); }
.audio-ia__girando { flex: none; width: 18px; height: 18px; margin-top: 1px; border: 2px solid var(--accent-line); border-top-color: var(--accent); border-radius: 50%; animation: girar .8s linear infinite; }
.audio-ia__aviso { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin: 0; padding: 10px 12px; border-radius: var(--r); background: var(--surface-2); color: var(--ink-2); }
.audio-ia__aviso > .ico { color: var(--accent); flex: none; }
.audio-ia__aviso > span { flex: 1 1 160px; }
.audio-ia__aviso--error { background: var(--danger-soft); }
.audio-ia__aviso--error > .ico { color: var(--danger); }

/* Lo que entendió la IA: acordeón compacto con su ícono; abierto, cada audio con su etiqueta. */
.audio-ia__propuesta { display: grid; gap: 14px; }
.entendido { border-radius: var(--r); background: var(--surface-2); }
.entendido > summary { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 12px; list-style: none; cursor: pointer; border-radius: var(--r); -webkit-tap-highlight-color: transparent; }
.entendido > summary::-webkit-details-marker { display: none; }
.entendido > summary:hover { background: var(--surface-3); }
.entendido__icono { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.entendido__textos { flex: 1; min-width: 0; display: grid; }
.entendido__titulo { font-weight: 600; color: var(--ink); }
.entendido__sub { color: var(--muted); font-size: var(--fs-2); }
.entendido__chevron { flex: none; display: grid; color: var(--muted); transition: rotate .2s; }
.entendido[open] .entendido__chevron { rotate: 180deg; }
.entendido__lista { list-style: none; margin: 0; padding: 4px 14px 14px 56px; display: grid; gap: 12px; animation: entendido-abrir .2s ease-out; }
.entendido__lista li { display: grid; gap: 2px; padding-left: 12px; border-left: 2px solid var(--line-2); }
.entendido__reprocesar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 0 14px 14px 56px; }
.entendido__lista li:first-child { border-left-color: var(--accent); }
.entendido__lista span { color: var(--muted); font-size: var(--fs-1); font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.entendido__lista p { margin: 0; color: var(--ink-2); line-height: 1.5; overflow-wrap: anywhere; }
@keyframes entendido-abrir { from { opacity: 0; transform: translateY(-4px); } }
@media (max-width: 420px) { .entendido__lista { padding-left: 14px; } }

/* Para revisar: aviso con el color de advertencia, sin competir con el acento. */
.audio-ia__dudas { display: flex; gap: 10px; padding: 12px; border-radius: var(--r); background: var(--warn-soft); border: 1px solid color-mix(in srgb, var(--warn) 35%, transparent); }
.audio-ia__dudas > .ico { flex: none; color: var(--warn); margin-top: 2px; }
.audio-ia__dudas strong { display: block; color: var(--ink); }
.audio-ia__dudas ul { margin: 4px 0 0; padding-left: 18px; display: grid; gap: 4px; color: var(--ink-2); }
.audio-ia__dudas li:only-child { list-style: none; margin-left: -18px; }

/* Corregir con un audio, con los ejemplos como sugerencias discretas. */
/* Cancelar mientras se graba: tachito al lado del botón y del micrófono flotante. */
/* Mientras graba, el formulario pone "Cancelar" a la derecha del botón, del mismo alto, en rojo. */
.dictado__form:has(.dictado-cancelar) { display: flex; align-items: stretch; gap: 8px; }
.dictado__form:has(.dictado-cancelar) { flex-wrap: wrap; }
.dictado__form:has(.dictado-cancelar) .dictado { flex: 1; min-width: 0; width: auto; }
@media (max-width: 520px) { .dictado__form:has(.dictado-cancelar) .dictado--grabando .dictado__onda { display: none; } .dictado__form:has(.dictado-cancelar) .dictado { gap: 10px; padding-right: 12px; } }
.dictado__form .grabar-presupuesto__terminar { flex-basis: 100%; order: 3; margin-top: 0; }
.dictado-cancelar { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; width: 56px; padding: 0; border: 0; border-radius: var(--r-lg); background: var(--danger); color: #fff; font: inherit; font-size: var(--fs-1); font-weight: 600; cursor: pointer; animation: flotante-entrar .18s ease-out; transition: filter .15s, transform .12s; }
.dictado-cancelar .ico { width: 22px; height: 22px; }
.dictado-cancelar span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.dictado-cancelar:hover { filter: brightness(1.08); }
.dictado-cancelar:active { transform: scale(.96); }
.dictado--sec + .dictado-cancelar { border-radius: var(--r); }
.dictado-flotante-cancelar { position: fixed; z-index: 30; right: 88px; bottom: calc(var(--nav-h, 64px) + var(--sa-bottom) + 24px); display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: var(--danger); color: #fff; box-shadow: 0 4px 14px rgb(0 0 0 / .3); cursor: pointer; animation: flotante-entrar .18s ease-out; }
.dictado-flotante-cancelar[hidden] { display: none; }
@media (min-width: 960px) { .dictado-flotante-cancelar { bottom: 36px; right: 100px; } }

/* + micrófono al lado del título "Presupuesto": dictar uno nuevo. */
.titulo-dictar { display: inline-flex; align-items: center; gap: 0; height: 40px; padding: 0 12px 0 10px; border: 1px solid var(--accent-line); border-radius: 999px; background: var(--accent-soft); color: var(--accent); cursor: pointer; transition: background-color .15s, transform .12s; -webkit-tap-highlight-color: transparent; }
.titulo-dictar:hover { background: color-mix(in srgb, var(--accent) 20%, transparent); }
.titulo-dictar:active { transform: scale(.95); }
.titulo-dictar .ico:first-child { margin-right: -2px; stroke-width: 2.5; }
.titulo-dictar__grupo { display: inline-flex; align-items: center; gap: 8px; }
.ayuda-boton { position: fixed; z-index: 100; max-width: min(260px, calc(100vw - 24px)); padding: 7px 11px; border-radius: 8px; background: var(--ink); color: var(--bg); font-size: var(--fs-2); font-weight: 500; line-height: 1.3; box-shadow: 0 6px 18px rgb(0 0 0 / .35); pointer-events: none; animation: flotante-entrar .15s ease-out; }
a, img, button, summary, [role="button"] { -webkit-touch-callout: none; -webkit-user-drag: none; }

/* "Corregir con un audio" con un presupuesto en revisión (en reposo): fondo suave del acento, borde marcado, el
   micrófono lleno con un aro. Grabando, se llena como cualquier dictado. */
.corregir .dictado:not(.dictado--sec):not(.dictado--grabando):not(.dictado--pausado):not(.dictado--subiendo) { border-width: 1.5px; border-color: var(--accent-line); }
.corregir .dictado:not(.dictado--sec):not(.dictado--grabando):not(.dictado--pausado):not(.dictado--subiendo) .dictado__mic { box-shadow: 0 0 0 5px var(--accent-soft); }
/* Micrófono flotante (corregir con un audio cuando el botón quedó fuera de la pantalla), arriba de la barra de abajo. */
.dictado-flotante { position: fixed; z-index: 30; right: 16px; bottom: calc(var(--nav-h, 64px) + var(--sa-bottom) + 16px); display: grid; place-items: center; width: 60px; height: 60px; padding: 0; border: 0; border-radius: 50%; background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 20px rgb(0 0 0 / .35); cursor: pointer; animation: flotante-entrar .18s ease-out; -webkit-tap-highlight-color: transparent; }
.dictado-flotante[hidden] { display: none; }
.dictado-flotante--izq { right: auto; left: 16px; }
.dictado-flotante-cancelar--izq { right: auto; left: 88px; }
@media (min-width: 960px) { .dictado-flotante--izq { left: calc(232px + 28px); } .dictado-flotante-cancelar--izq { left: calc(232px + 100px); } }
/* Modo "dictar uno nuevo" (no hay nada para corregir): + micrófono, como el del título. */
.dictado-flotante__mas { display: none; }
.dictado-flotante--nuevo:not(.dictado-flotante--grabando):not([hidden]) { display: flex; align-items: center; justify-content: center; gap: 1px; }
.dictado-flotante--nuevo:not(.dictado-flotante--grabando) .dictado-flotante__mas { display: block; margin-left: -4px; }
.dictado-flotante:active { transform: scale(.94); }
.dictado-flotante__stop { display: none; width: 18px; height: 18px; border-radius: 4px; background: currentColor; }
.dictado-flotante__tiempo { position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%); padding: 1px 8px; border-radius: 999px; background: var(--surface-3); color: var(--ink); font-size: var(--fs-1); font-variant-numeric: tabular-nums; white-space: nowrap; }
.dictado-flotante__tiempo:empty { display: none; }
.dictado-flotante--grabando .ico { display: none; }
.dictado-flotante--grabando .dictado-flotante__stop { display: block; }
.dictado-flotante--grabando::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--accent); animation: dictado-pulso 1.6s ease-out infinite; }
@keyframes flotante-entrar { from { opacity: 0; transform: scale(.7); } }
@media (min-width: 960px) { .dictado-flotante { bottom: 28px; right: 28px; } }
.dictado-flotante--moviendo { scale: 1.12; box-shadow: 0 12px 32px rgb(0 0 0 / .5); cursor: grabbing; }
.dictado-flotante, .dictado-flotante-cancelar { transition: scale .15s, box-shadow .15s; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.corregir { display: grid; gap: 8px; }
.corregir__ejemplos { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -2px; padding: 0 2px; }
.corregir__ejemplos span { flex: none; }
.corregir__ejemplos span { padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: var(--fs-1); }
.audio-ia__listo { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 12px; border-radius: var(--r); background: var(--ok-soft); color: var(--ink-2); }
.audio-ia__listo .ico { color: var(--ok); flex: none; }

/* El formulario que llenó la IA: sin la sangría del de "Cargar presupuesto" (ya está dentro de la tarjeta). */
.audio-ia__propuesta .form { padding: 0; margin: 0; }
.audio-ia__propuesta .form textarea { min-height: 72px; line-height: 1.5; }
/* "Qué incluye" crece con lo que tiene (en el celular la manija de agrandar es chica): se ve entero, sin scroll adentro. */
form[data-presupuesto] textarea[name="descripcion"] { field-sizing: content; resize: none; overflow: hidden; }
.audio-ia__otro { margin: 4px 12px 12px; }
.audio-ia__otro > summary { cursor: pointer; color: var(--muted); padding: 8px 0; }

/* Resumen: como un documento, cantidad | concepto | importe a la derecha, y el total destacado. */
/* Una sola grilla para todos los renglones (subgrid): la cantidad mide lo que la más ancha, así a 360 px el concepto no queda apretado. */
.resumen-presupuesto { display: grid; grid-template-columns: max-content minmax(0, 1fr) auto; column-gap: 10px; row-gap: 0; padding: 4px 14px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface-2); }
@media (max-width: 480px) { .resumen-presupuesto { padding-inline: 10px; } }
.resumen-presupuesto__titulo { grid-column: 1 / -1; margin-top: 10px; padding-bottom: 4px; color: var(--muted); font-size: var(--fs-1); font-weight: 500; text-transform: uppercase; letter-spacing: .05em; }
.resumen-presupuesto__fila { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; align-items: baseline; padding: 7px 0; border-top: 1px solid var(--line); }
.resumen-presupuesto__titulo + .resumen-presupuesto__fila { border-top: 0; }
.resumen-presupuesto__cant { color: var(--muted); font-variant-numeric: tabular-nums; }
.resumen-presupuesto__concepto { color: var(--ink); overflow-wrap: anywhere; }
.resumen-presupuesto__importe { white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }
.resumen-presupuesto__fila--falta .resumen-presupuesto__importe { color: var(--warn); font-size: var(--fs-2); }
.resumen-presupuesto__fila--vacia .resumen-presupuesto__concepto { color: var(--muted); }
/* "3,5 m ×" en un renglón. */
.resumen-presupuesto__cant { white-space: nowrap; }
.resumen-presupuesto__fila--total { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.resumen-presupuesto__fila--total .resumen-presupuesto__concepto { font-weight: 600; }
/* El total, grande, no ensancha la columna de importes de todos los renglones: va en su propia grilla. */
.resumen-presupuesto__fila--total { grid-template-columns: minmax(0, 1fr) auto; }
.resumen-presupuesto__fila--total .resumen-presupuesto__cant { display: none; }
.resumen-presupuesto__fila--total .resumen-presupuesto__importe { font-size: var(--fs-5); font-weight: 700; letter-spacing: -.01em; }
.material__info { grid-column: 1 / -1; margin: 2px 0 0; font-size: var(--fs-2); color: var(--muted); }
.material__aviso { grid-column: 1 / -1; margin: 2px 0 0; font-size: var(--fs-2); color: var(--warn); }
/* Renglón que hay que revisar (lo cargó la IA con algo a confirmar): un punto amarillo en el recuadro y el borde
   tenue del mismo color; en el resumen, el mismo punto antes del concepto. */
.material--revisar { position: relative; border-color: color-mix(in srgb, var(--warn) 45%, transparent); }
/* El punto se toca para aprobar: amarillo (falta revisar) → verde con tilde (aprobado). Área táctil de 40px. */
.revisar-punto { position: relative; flex: none; width: 40px; height: 40px; margin: -10px; padding: 0; border: 0; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.revisar-punto::before { content: ''; position: absolute; inset: 0; margin: auto; width: 14px; height: 14px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 0 4px var(--warn-soft); transition: background-color .15s, box-shadow .15s, width .15s, height .15s; }
.revisar-punto::after { content: ''; position: absolute; left: 50%; top: 50%; width: 5px; height: 9px; border: solid var(--bg); border-width: 0 2px 2px 0; transform: translate(-50%, -62%) rotate(45deg) scale(0); transition: transform .15s; }
.aprobado > .revisar-punto::before, .aprobado .revisar-punto::before { width: 18px; height: 18px; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); }
.aprobado > .revisar-punto::after, .aprobado .revisar-punto::after { transform: translate(-50%, -62%) rotate(45deg) scale(1); }
.material--revisar > .revisar-punto { position: absolute; top: 18px; right: 12px; width: 44px; height: 44px; margin: 0; }
/* En el celular, más grande (se toca seguido). */
.material--revisar > .revisar-punto::before { width: 20px; height: 20px; box-shadow: 0 0 0 5px var(--warn-soft); }
.material--revisar.aprobado > .revisar-punto::before { width: 24px; height: 24px; box-shadow: 0 0 0 5px var(--ok-soft); }
.material--revisar > .revisar-punto::after { width: 6px; height: 11px; }
/* En el celular el punto va en la esquina, arriba de la cruz: la fila baja un poco para que no queden pegados. */
.material--revisar { padding-top: 44px; }
/* "Aprobar" alrededor del punto, por fuera, en las primeras aprobaciones de la cuenta (client.ts, aprobar-anillo). */
.aprobar-anillo { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; translate: -50% -50%; overflow: visible; pointer-events: none; }
.aprobar-anillo text { font-size: 8px; font-weight: 700; letter-spacing: 1.6px; fill: var(--warn); }
.aprobado .aprobar-anillo { display: none; }
.material--revisar.aprobado { border-color: color-mix(in srgb, var(--ok) 40%, transparent); }
.material--revisar.aprobado .material__aviso { color: var(--muted); text-decoration: line-through; }
/* El punto va arriba, en la línea de "Material": el nombre usa todo el ancho (con margen, la lupa quedaba afuera del campo). */
/* Cantidad y unidad juntas ("2,5" "m"): la unidad es un desplegable chico pegado al número. */
.material__cant { display: grid; gap: 4px; }
@media (max-width: 959px) { .material:not(.material--costo) .material__cant { width: 170px; } }
.material__cant-titulo { font-size: var(--fs-1, 13px); color: var(--muted); }
.material__cant-campos { display: grid; grid-template-columns: minmax(0, 1fr) 62px; gap: 4px; }
.material__cant-campos .campo { min-width: 0; }
.material__unidad { padding-left: 6px; padding-right: 18px; background-position: right 4px center; }
/* El precio "por metro" en la lista del inventario. */
.prod__por { color: var(--muted); font-size: .85em; font-weight: 450; }
/* En la compu el material va en una fila: el punto tiene su columna, a la derecha de quitar (en la esquina tapaba la cruz). */
@container (min-width: 520px) {
  .material--revisar { grid-template-columns: minmax(0, 1fr) 132px 132px 132px auto 52px; grid-template-areas: 'nombre cant precio costo quitar punto'; }
  .material--revisar.material--costo { grid-template-columns: minmax(0, 1fr) 132px 132px auto 52px; grid-template-areas: 'nombre cant costo quitar punto'; }
  .material--revisar > .revisar-punto { position: relative; top: auto; right: auto; grid-area: punto; align-self: end; justify-self: center; margin: 0; }
  .material--revisar { padding-top: 0; }
  .material--revisar > .revisar-punto { width: 40px; height: 40px; }
  .material--revisar > .revisar-punto::before { width: 14px; height: 14px; box-shadow: 0 0 0 4px var(--warn-soft); }
  .material--revisar .material__nombre { padding-right: 0; }
  .material--revisar > .revisar-pista { top: auto; bottom: 46px; right: 0; }
}
.audio-ia__dudas ul { list-style: none; padding: 0; margin: 6px 0 0; }
.audio-ia__dudas li:only-child { margin-left: 0; }
.duda { display: flex; align-items: flex-start; gap: 4px; }
.duda > span { padding-top: 9px; }
.duda > .revisar-punto { margin: 0 -4px 0 -6px; }
.duda.aprobado > span { color: var(--muted); text-decoration: line-through; }
.revisar--llamar { animation: revisar-llamar .9s ease-out; }
/* Tocar "Para revisar" lleva a corregir con un audio: el botón se ilumina un momento (no graba). */
.audio-ia__dudas, .resumen-presupuesto__fila--revisar, .material__aviso { cursor: pointer; }
.audio-ia__dudas:hover { border-color: color-mix(in srgb, var(--warn) 60%, transparent); }
.audio-ia__dudas-pista { display: block; margin-top: 8px; color: var(--muted); font-size: var(--fs-2); }
.dictado--senalar { animation: dictado-senalar 1.1s ease-out 2; }
@keyframes dictado-senalar { 0% { box-shadow: 0 0 0 0 var(--accent-line); } 60% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
/* Primer toque: el punto crece y aparece la pista al lado; el segundo toque aprueba. */
.revisar--armado > .revisar-punto::before, .revisar--armado .revisar-punto::before { width: 22px; height: 22px; box-shadow: 0 0 0 6px var(--warn-soft); animation: revisar-latido 1s ease-in-out infinite; }
.revisar-pista { align-self: center; padding: 4px 10px; border-radius: 999px; background: var(--warn); color: #1a1408; font-size: var(--fs-2); font-weight: 600; white-space: nowrap; animation: revisar-pista .15s ease-out; }
.material--revisar > .revisar-pista { position: absolute; top: 10px; right: 46px; z-index: 1; }
.duda { flex-wrap: wrap; }
.duda > span { flex: 1 1 0; min-width: 0; }
/* Opciones de una duda: botones para elegir con un toque. */
.duda__opciones { order: 4; flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 4px; }
.duda__opcion { min-height: 36px; padding: 0 12px; border: 1px solid var(--accent-line); border-radius: 999px; background: var(--accent-soft); color: var(--ink); font: inherit; font-size: var(--fs-2); cursor: pointer; transition: background-color .15s, transform .12s; }
.duda__opcion:hover { background: color-mix(in srgb, var(--accent) 22%, transparent); }
.duda__opcion:active { transform: scale(.96); }
form[data-enviando] .duda__opcion { opacity: .5; pointer-events: none; }
.duda { position: relative; padding-right: 44px; }
.duda > .revisar-punto { position: absolute; top: 0; right: -8px; margin: 0; width: 44px; height: 44px; }
.duda > .revisar-punto::before { width: 20px; height: 20px; box-shadow: 0 0 0 5px var(--warn-soft); }
.duda.aprobado > .revisar-punto::before { width: 24px; height: 24px; box-shadow: 0 0 0 5px var(--ok-soft); }
.duda > .revisar-punto::after { width: 6px; height: 11px; }
.duda.revisar--armado > .revisar-punto::before { width: 26px; height: 26px; box-shadow: 0 0 0 6px var(--warn-soft); }
/* La primera, a la altura del título "Para revisar". */
.duda:first-child > .revisar-punto { top: -40px; }
.duda:first-child > .revisar-pista { top: -34px; }
.duda > .revisar-pista { position: absolute; top: 6px; right: 38px; z-index: 1; }
@keyframes revisar-latido { 50% { box-shadow: 0 0 0 9px var(--warn-soft); } }
@keyframes revisar-pista { from { opacity: 0; transform: scale(.9); } }
@keyframes revisar-llamar { 0%, 100% { transform: none; } 20% { transform: translateX(-4px); } 40% { transform: translateX(4px); } 60% { transform: translateX(-2px); } }
.btn--bloqueado { opacity: .55; }
.resumen-presupuesto__fila--ok .resumen-presupuesto__concepto::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--ok); vertical-align: middle; }
.resumen-presupuesto__fila--revisar .resumen-presupuesto__concepto::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--warn); vertical-align: middle; }

@media (min-width: 760px) {
  .dictado { min-height: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  .dictado, .dictado *, .entendido__lista, .audio-ia__girando { animation: none !important; transition: none !important; }
}
/* Etapas del trabajo (ficha): un círculo para tildarla, los datos, cobrar y borrar. */
.etapas-trabajo { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.etapa-trabajo { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 8px 0; }
.etapa-trabajo + .etapa-trabajo { border-top: 1px solid var(--line); }
.etapa-trabajo form { margin: 0; }
.etapa-trabajo__check { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border-radius: 50%; border: 1.5px solid var(--line-2); background: transparent; color: var(--accent-ink); cursor: pointer; }
.etapa-trabajo--hecha .etapa-trabajo__check { background: var(--accent); border-color: var(--accent); transition: background-color .2s, border-color .2s; }
/* Guardando: el mismo círculo gira (borde con un tramo del color) hasta que responde el servidor. */
.etapa-trabajo__check--cargando, .etapa-trabajo--hecha .etapa-trabajo__check--cargando { background: transparent; border-color: var(--line-2); border-top-color: var(--accent); animation: girar .7s linear infinite; }
.etapa-trabajo__check--cargando svg { display: none; }
.etapa-trabajo__datos { display: flex; flex-direction: column; gap: 2px; flex: 1 1 160px; min-width: 0; }
.etapa-trabajo--hecha .etapa-trabajo__nombre { color: var(--muted); }
.etapa-trabajo__cobrar { display: flex; gap: 6px; align-items: center; }
.etapa-trabajo__cobrar .campo { width: auto; min-height: 32px; padding: 4px 8px; }
.etapa-nueva { margin-top: 10px; }
.etapas-nuevas { display: grid; gap: 10px; }
/* Cada fila: etapa, monto y la X para quitarla, alineada con las cajas. */
.etapa-fila { display: flex; align-items: flex-end; gap: 10px; }
.etapa-fila > label { flex: 1 1 0; min-width: 0; }
.etapa-fila > label:first-child { flex-grow: 2; }
.etapa-fila__quitar { flex: none; margin-bottom: 4px; }
/* Entre la lista de etapas y "Agregar otra etapa", aire (no pegado al botón). */
.etapas-trabajo + details.nuevo, .etapas-trabajo + p + details.nuevo { margin-top: 14px; }
.service-agendado { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.service-agendado form { margin: 0; }
.fila__nombre { font-size: var(--fs-3); }
.fila__servicio { color: var(--muted); }
.fila__meta { margin-top: 5px; }
.fila__monto { font-size: var(--fs-3); letter-spacing: -.01em; }
.fila__debe { color: var(--danger); font-size: var(--fs-1); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fila__opciones { color: var(--muted); font-size: var(--fs-1); white-space: nowrap; }
.fila .flecha { width: 15px; height: 15px; }
.chip { color: var(--muted); }
.avatar, .avatar--0, .avatar--1, .avatar--2, .avatar--3, .avatar--4, .avatar--5 { background: var(--surface-3); color: var(--ink-2); font-weight: 500; }
.avatar--lg { width: 56px; height: 56px; font-size: var(--fs-4); }

/* ---------- Botones ---------- */
.btn { border-radius: var(--r); font-weight: 550; letter-spacing: -.005em; transition: background-color .12s, border-color .12s, color .12s, transform .08s; }
.btn:active { transform: scale(.985); }
.btn--ghost, .btn--wa, .btn--ingreso, .btn--egreso, .btn--ok { background: var(--surface-2); border-color: transparent; font-weight: 500; }
.btn--ghost:hover, .btn--wa:hover, .btn--ingreso:hover, .btn--egreso:hover, .btn--ok:hover { background: var(--surface-3); border-color: transparent; }
.btn--danger { font-weight: 500; }
.btn .ico { width: 17px; height: 17px; }
.btn--sm .ico { width: 15px; height: 15px; }

/* ---------- Estados: un punto y una palabra ---------- */
.badge { gap: 6px; height: auto; padding: 0; border: 0; color: var(--ink-2); font-weight: 500; }
.badge::before { width: 6px; height: 6px; }
.origen { height: auto; padding: 0; border: 0; background: none; font-weight: 400; }
.origen--web { font-weight: 500; }
.rubro-pill { height: auto; padding: 0; border: 0; background: none; color: var(--muted); font-weight: 400; }
.rubro-pill::before { display: none; }
.garantia-estado, .dif, .presupuesto__sello { min-height: 0; height: auto; padding: 0; background: none !important; }
.etapa__nombre { letter-spacing: -.005em; }

/* ---------- Campos ---------- */
.campo, .buscador input { border-radius: var(--r); border-color: var(--line-2); }
.form { gap: 16px; }
.form label { color: var(--ink-2); }
.pastillas label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.pastillas label:has(input:checked)::before { display: none; }
.opciones label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
:root[data-tema='claro'] input[type='date'].campo, :root[data-tema='claro'] input[type='month'].campo { color-scheme: light; }
.nuevo { border-color: var(--line); }

/* ---------- Pestañas y selectores ---------- */
.tab[aria-current='page'] { border-bottom-color: var(--accent); }
.tabs__raya { background: var(--accent); }
.tab__n, .tab[aria-current='page'] .tab__n { background: none; }
.segmentado, .tema { background: var(--surface-2); border-color: transparent; }
.segmentado a[aria-current='page'], .segmentado button[aria-pressed='true'], .segmentado__opcion[aria-pressed="true"], .tema button[aria-pressed='true'] { background: var(--elevado); color: var(--ink); box-shadow: 0 1px 2px rgb(0 0 0 / .16); }

/* ---------- Avisos, vacíos y diálogos ---------- */
.aviso { border-radius: var(--r); font-weight: 400; }
.aviso--ok { font-weight: 500; }
.toast { border-radius: var(--r); }
.vacio { padding: 36px 20px; }
.vacio .ico { box-sizing: border-box; width: 24px; height: 24px; padding: 0; margin-bottom: 10px; border: 0; background: none; color: var(--faint); }
.vacio strong { font-weight: 500; }
dialog { border-color: transparent; border-radius: 16px; }
dialog > :is(form, .dialogo) > h2:first-child { padding: 20px 20px 4px; border: 0; font-size: var(--fs-4); }
dialog > :is(form, .dialogo) > .acciones:last-child { border-top: 0; }
/* En el celular, los diálogos salen de abajo: quedan al alcance del dedo. */
@media (max-width: 520px) {
  dialog:not(.visor):not(.recorte) { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 18px 18px 0 0; animation: subir .2s ease-out; }
  dialog:not(.visor):not(.recorte) > :is(form, .dialogo) > .acciones:last-child { padding-bottom: calc(12px + var(--sa-bottom)); }
}

/* ---------- Barra de abajo (celular) ---------- */
@media (max-width: 959px) {
  .nav a { gap: 3px; font-size: 11px; font-weight: 450; }
  .nav a .ico { width: 22px; height: 22px; padding: 0; }
  .nav a[aria-current='page'] { margin: 0; background: none; border-radius: 0; color: var(--accent-strong); font-weight: 550; }
  .nav a[aria-current='page']::before { content: ''; position: absolute; top: -1px; left: 50%; width: 24px; height: 2px; translate: -50% 0; border-radius: 0 0 2px 2px; background: var(--accent); }
  .nav__n { top: 5px; left: calc(50% + 7px); min-width: 16px; height: 16px; padding: 0 4px; border: 0; background: var(--surface-3); font-size: 10px; line-height: 16px; }

  /* Encabezado: la marca en dos líneas y acciones sin caja, salvo la principal. */
  .topbar { border-bottom-color: transparent; }
  .topbar__marca { flex-direction: column; align-items: flex-start; gap: 0; margin-right: auto; font-size: var(--fs-3); line-height: 1.2; }
  .topbar__marca .rubro-pill { font-size: 11px; }
  .topbar__yo { border: 0; background: var(--surface-3); font-weight: 500; }
  .topbar .btn--ingreso, .topbar .btn--egreso { background: none; }
  .topbar .btn--icon { width: 36px; min-width: 36px; min-height: 36px; border-radius: 50%; }
}

/* ---------- Cajón del celular ---------- */
.lateral { gap: 16px; border-right: 0; }
/* Cambiar de panel, abajo de todo en el cajón. */
.lateral__abajo { margin-top: auto; }
.lateral__yo { padding-bottom: 0; border: 0; }
.lateral__yo strong { font-size: var(--fs-4); font-weight: 600; letter-spacing: -.012em; }
.lateral__iniciales { width: 44px; height: 44px; background: var(--surface-3); color: var(--accent-strong); font-size: var(--fs-3); font-weight: 600; }
.lateral__rubro { display: none; }
.lateral__recientes { padding-top: 10px; padding-bottom: 12px; }
.lateral__recientes > p, .lateral__pendientes > p, .lateral__paneles > p, .side__rotulo { font-size: 11px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--faint); }
.lateral__recientes a { min-height: 44px; font-weight: 450; }
.lateral__recientes .avatar { width: 28px; height: 28px; font-size: 11px; }
.lateral__recientes .badge { color: var(--muted); font-size: 11px; font-weight: 400; }
.lateral__links a, .lateral__links button, .lateral__secciones a { min-height: 44px; font-weight: 450; }
.lateral__links a[aria-current='page'], .lateral__secciones a[aria-current='page'] { color: var(--accent-strong); font-weight: 550; }
.lateral__links a[aria-current='page'] .ico, .lateral__secciones a[aria-current='page'] .ico { color: var(--accent-strong); }
.lateral .lateral__salir .btn { background: none; font-weight: 450; }
.lateral .lateral__salir { border-top-color: var(--line); }

/* ---------- Compu ---------- */
@media (min-width: 960px) {
  .side { width: 240px; padding: 16px 12px; overflow-y: auto; scrollbar-width: none; }
  .main { margin-left: 240px; border-color: transparent; }
  .toast { left: calc(50% + 120px); }
  .side > .side__marca { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; height: 40px; margin-bottom: 6px; line-height: 1.25; }
  .side > .side__marca .rubro-pill { font-size: var(--fs-1); }
  .nav a, .nav button { height: 32px; font-weight: 450; }
  .nav a[aria-current='page'] { font-weight: 550; }
  .nav a[aria-current='page'] .ico { color: var(--accent-strong); }
  .side > .side__extra { border-top: 0; margin-top: 10px; padding-top: 0; }
  .side__salir .btn { height: 28px; min-height: 28px; background: none; font-weight: 400; }
  .side__yo { font-weight: 500; }
  .cabecera h1 { font-size: var(--fs-4); }
  .card__head { padding-top: 4px; }
}

/* ---------- Inicio: lo urgente primero, el resto como un listado ---------- */
.kpis { gap: 0; margin-bottom: 20px; background: none; border: 0; border-radius: 0; overflow: visible; box-shadow: none; }
.kpi { padding: 12px 0; background: none !important; }
a.kpi:hover .kpi__valor { color: var(--accent-strong); }
.kpi--elegido .kpi__label { color: var(--accent-strong); font-weight: 600; }
#movimientos, #por-cobrar { scroll-margin-top: 76px; outline: none; }
.kpi__label { color: var(--muted); font-size: var(--fs-2); font-weight: 400; }
.kpi__valor { margin-top: 4px; font-size: var(--fs-6); letter-spacing: -.025em; }
.kpi--alerta .kpi__sub { color: var(--danger); }
@media (max-width: 759px) {
  .kpis { grid-template-columns: minmax(0, 1fr); }
  .kpi:first-child { padding: 0 0 18px; }
  .kpi:first-child .kpi__valor { font-size: 52px; font-weight: 600; letter-spacing: -.04em; line-height: 1; margin-top: 6px; }
  .kpi:first-child .kpi__sub { margin-top: 8px; font-size: var(--fs-2); }
  .kpi:not(:first-child) { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); }
  .kpi:nth-child(2) { border-top: 0; }
  .kpi:not(:first-child) .kpi__label { color: var(--ink); font-size: var(--fs-3); }
  .kpi:not(:first-child) .kpi__sub { grid-column: 1; margin-top: 1px; }
  .kpi:not(:first-child) .kpi__valor { grid-column: 2; grid-row: 1 / span 2; margin: 0; font-size: var(--fs-4); letter-spacing: -.015em; }
}
@media (min-width: 760px) {
  .kpi { padding: 4px 24px; border-left: 1px solid var(--line); }
  .kpi:first-child { padding-left: 0; border-left: 0; }
}

/* Acciones: en el celular, herramientas redondas que se deslizan; en la compu, botones. */
.rapida { border-color: transparent; background: var(--surface-2); font-weight: 500; }
.rapida:hover { border-color: transparent; background: var(--surface-3); }
.rapida:first-child { border-color: transparent; }
@media (max-width: 959px) {
  .rapidas { gap: 4px; margin-bottom: 28px; }
  .rapida, .rapida:first-child, .rapida:hover, .rapida:first-child:hover { flex-direction: column; justify-content: flex-start; gap: 7px; width: 72px; min-height: 0; padding: 0; background: none; color: var(--ink-2); font-size: var(--fs-1); font-weight: 450; line-height: 1.2; text-align: center; white-space: normal; }
  .rapida .ico { box-sizing: content-box; width: 20px; height: 20px; padding: 13px; border-radius: 50%; background: var(--surface-2); color: var(--ink); }
  .rapida:first-child .ico { background: var(--accent); color: var(--accent-ink); }
  /* Las listas del Inicio van directo sobre el fondo, sin caja, de borde a borde. */
  .inicio { gap: 28px; }
  .inicio .columna { gap: 28px; }
  .inicio .card { margin-inline: -16px; background: none; border: 0; border-radius: 0; padding-block: 0; }
  .inicio .card__head { padding-bottom: 4px; }
  .inicio .card__head h2 { font-size: var(--fs-4); }
  .inicio .card > .filas:last-child { margin-bottom: 0; }
}
/* La lista activa (se desliza adentro): recuadrada. Con outline porque estas tarjetas no tienen borde. */
@media (pointer: coarse) { .inicio .card--activa { box-shadow: none; outline: 2px solid var(--accent); outline-offset: -2px; border-radius: var(--r-lg); } }
/* El encabezado es lo que se toca para activarla: alto cómodo, sin espacio muerto abajo, y el título no queda pegado al recuadro. */
@media (pointer: coarse) { .inicio .card:has(> .filas--scroll) > .card__head { min-height: 52px; margin-bottom: 0; padding-block: 12px; align-items: center; } .inicio .card--activa { padding-bottom: 8px; overflow: hidden; } .inicio, .inicio .columna { gap: 16px; } }
/* Más rango de toque: la zona del encabezado se estira sobre el espacio de arriba y un poco sobre la primera fila, sin moverse nada. */
@media (pointer: coarse) { .inicio .card:has(> .filas--scroll) > .card__head { position: relative; min-height: 60px; } .inicio .card:has(> .filas--scroll) > .card__head::before { content: ''; position: absolute; inset: -16px 0 -14px; z-index: 1; } .inicio .card:has(> .filas--scroll) > .card__head a { position: relative; z-index: 2; } }

/* ---------- Menú del celular ---------- */
.lateral__engranaje { flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin-left: auto; border-radius: 50%; color: var(--muted); cursor: pointer; }
.lateral__yo > span:nth-child(2) { flex: 1; display: grid; min-width: 0; }
.lateral__ajustes { display: none; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.lateral:has(.lateral__ajustes-llave:checked) .lateral__ajustes { display: grid; }
.lateral:has(.lateral__ajustes-llave:checked) .lateral__engranaje { background: var(--surface-3); color: var(--accent-strong); }
.lateral__ajustes form { margin: 0; }
.lateral__ajustes button[type='submit'] { width: 100%; }
.lateral__abajo { display: grid; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.lateral__abajo > .lateral__links + .lateral__links { border-top: 0; padding-top: 0; }
.lateral__paneles, .lateral__pendientes { display: grid; gap: 2px; margin: 0 -8px; }
.lateral__paneles > p, .lateral__pendientes > p { margin: 0 8px 4px; }
.lateral__paneles a, .lateral__pendientes a { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 0 8px; border-radius: var(--r); color: var(--ink); text-decoration: none; font-weight: 450; }
.lateral__paneles a:active, .lateral__pendientes a:active { background: var(--surface-3); }
.lateral__paneles a[aria-current='page'] { background: var(--surface-2); font-weight: 600; }
.lateral__paneles a .ico, .lateral__links button[data-abrir] > .ico:last-child { margin-left: auto; color: var(--accent-strong); }
.lateral__panel-color { flex: none; width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 8%, transparent); }
.lateral__panel-actual { display: grid; line-height: 1.3; }
.lateral__pendientes a { min-height: 44px; gap: 10px; font-size: var(--fs-3); font-weight: 450; color: var(--ink); }
/* Como los recientes: un círculo con el ícono, lo que es y, a la derecha, cuánto. */
.lateral__pend-ico { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-3); color: var(--muted); }
.lateral__pend-ico--rojo { background: color-mix(in srgb, var(--danger) 18%, transparent); color: var(--danger); }
.lateral__pend-v { margin-left: auto; color: var(--ink-2); font-size: var(--fs-2); font-weight: 600; font-variant-numeric: tabular-nums; }
.lateral__pend-v--rojo { color: var(--danger); }
.lateral__al-dia { display: flex; align-items: center; gap: 8px; padding: 6px 8px; color: var(--muted); }
.lateral__al-dia .ico { color: var(--ok, #3ecf8e); }
.estado-chip { --tono: var(--muted); flex: none; display: inline-flex; align-items: center; gap: 4px; margin-left: auto; padding: 3px 8px; border-radius: 999px; background: color-mix(in srgb, var(--tono) 16%, transparent); color: var(--tono); font-size: 11px; font-weight: 500; white-space: nowrap; }
.estado-chip .ico { flex: none; color: inherit !important; }
.estado-chip--rojo { --tono: #e5646a; } .estado-chip--naranja { --tono: #e8924a; } .estado-chip--amarillo { --tono: #d9a520; }
.estado-chip--azul { --tono: #5f93e8; } .estado-chip--violeta { --tono: #a07ff0; } .estado-chip--turquesa { --tono: #2fb3a8; } .estado-chip--verde { --tono: #45b36b; }

/* ---------- No clientes ---------- */
.agenda-traer { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 72px; padding: 12px var(--pad); background: var(--surface); border: 1px solid var(--card-borde); border-radius: var(--r-lg); color: var(--faint); font: inherit; text-align: left; cursor: pointer; }
.agenda-traer:active { background: var(--surface-2); }
.agenda-traer__icono { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); }
.agenda-traer__texto { flex: 1; min-width: 0; display: grid; gap: 2px; }
.agenda-traer__texto strong { color: var(--ink); font-size: var(--fs-3); font-weight: 600; }
.no-clientes { margin-top: 20px; }
.no-clientes__titulo { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: var(--fs-4); }
.no-clientes__lista { list-style: none; margin: 0; padding: 0; }
.no-clientes__lista .no-cliente { flex-wrap: wrap; padding: 14px 0; border-bottom: 1px solid var(--line); }
.no-cliente__quien { flex: 1 1 200px; min-width: 0; display: grid; gap: 2px; }
.no-clientes__ayuda { margin: 14px 0 0; }

/* ---------- Ficha ---------- */
.cliente-movil__contacto { display: none; }
/* En claro, WhatsApp y Llamar con contorno (sobre el gris del fondo casi no se veían). */
:root[data-tema='claro'] .cliente-movil__contacto .btn { border: 1px solid var(--line-2); background: var(--surface); }
@media (max-width: 959px) {
  .segmentado--vista .segmentado__txt { display: none; }
  .segmentado--vista a { padding-inline: 12px; }
}
@media (max-width: 1039px) {
  .cliente-movil { margin-bottom: 20px; padding-bottom: 0; border: 0; }
  .cliente-movil__linea { gap: 12px; }
  .cliente-movil__linea .avatar { width: 44px; height: 44px; font-size: var(--fs-3); }
  .cliente-movil__nombre strong { font-size: var(--fs-5); font-weight: 600; letter-spacing: -.02em; }
  .cliente-movil__nombre span { font-size: var(--fs-2); font-variant-numeric: tabular-nums; }
  .cliente-movil__contacto { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
  .cliente-movil__datos { gap: 8px 12px; margin-top: 14px; font-size: var(--fs-2); }
  .cliente-movil__datos .como-llegar { margin: 0; }
  .cliente-movil__par { color: var(--muted); font-size: var(--fs-1); }
  .cliente-movil__acciones { margin-top: 10px; }
  .cliente-movil__acciones summary, .cliente-movil__borrar button { min-height: 32px; color: var(--muted); }
}
.como-llegar { border: 0; background: var(--surface-2); }
.como-llegar__op + .como-llegar__op { border-left-color: var(--line-2); }
.como-llegar__op { font-weight: 500; }
.consulta__head { margin-bottom: 4px; padding: var(--pad) var(--pad) 4px; background: none; border: 0; border-radius: 0; }
.consulta__head h2 { font-size: var(--fs-4); font-weight: 600; }
.consulta__head .consulta__modelo { font-weight: 500; color: var(--ink-2); }
.presupuesto { border-color: transparent; border-radius: var(--r); background: var(--surface-2); }
.presupuesto .btn--ghost, .presupuesto .btn--wa, .presupuesto .btn--ok { background: var(--surface-3); }
.presupuesto .btn--ghost:hover, .presupuesto .btn--wa:hover, .presupuesto .btn--ok:hover { background: var(--elevado); }
.presupuesto--aceptado { box-shadow: inset 2px 0 0 var(--ok); }
.presupuesto__no-elegida { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; margin-bottom: 8px; }
.presupuesto__sello { color: var(--ok); margin-bottom: 10px; }
.montos .total { font-size: var(--fs-5); letter-spacing: -.02em; }
.cuenta { gap: 16px; }
.cuenta > div, .cuenta .cuenta--debe, .cuenta .cuenta__ganancia, .cierre__numeros > div { padding: 0; background: none; border: 0; border-radius: 0; }
.cuenta dd { font-size: var(--fs-5); letter-spacing: -.02em; }
.garantia { border-color: transparent; }
.cierre__estado { border: 0; background: var(--surface-2); }
.cierre__estado--ganado { background: var(--ok-soft); }
.enlace-cliente { border: 0; background: var(--surface-2); }
.material { border-color: transparent; }

/* Etapas: una línea continua en dorado. En el celular solo se nombra la actual, a la altura de su tramo. */
.etapas { gap: 3px; }
.etapa::before { height: 3px; }
.etapas .hecha .etapa::before { background: var(--accent); }
.etapas .hecha .etapa { color: var(--muted); }
.etapas .actual .etapa { color: var(--ink); }
.etapas--perdida .actual .etapa::before { background: var(--c-perdido); }
.etapas--perdida .actual .etapa { color: var(--c-perdido); }
.etapas--debe .actual .etapa::before { background: var(--warn); }
.etapa-arriba { margin: 0 0 20px; }
@media (max-width: 640px) {
  .etapas { gap: 3px; }
  .etapas li { position: relative; }
  .etapa { min-height: 30px; align-content: start; font-size: var(--fs-1); text-align: left; }
  .etapas li:not(.actual) .etapa__nombre { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .etapas li.actual .etapa__nombre { position: absolute; top: 15px; left: 50%; translate: -50% 0; justify-self: auto; }
  .etapas li.actual:first-child .etapa__nombre { left: 0; translate: none; text-align: left; }
  .etapas li.actual:last-child .etapa__nombre { left: auto; right: 0; translate: none; text-align: right; }
  .etapas--debe .etapa__debe { display: inline; }
  .etapas--debe .etapa__coma { display: inline; }
}
/* "Falta cobrar": todo el recuadro abre el cobro (client.ts). */
.bloque--cobrar { cursor: pointer; }
.bloque--cobrar :is(button, a, input, select, textarea, label, dialog, form) { cursor: auto; }
.bloque--cobrar :is(button, a, label) { cursor: pointer; }
/* Corregir con un audio dentro de "Editar": a todo el ancho, arriba del formulario (no al costado del botón). */
.presupuesto__acciones .presupuesto__editar > .editar-audio { display: block; width: 100%; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.presupuesto__acciones .presupuesto__editar > .editar-audio + form { border-top: 0; margin-top: 0; }
.presupuesto__acciones .presupuesto__editar > .editar-audio__origen { display: grid; gap: 12px; width: 100%; margin-top: 12px; }
.presupuesto__acciones .presupuesto__editar > .editar-audio__origen + form { border-top: 0; margin-top: 0; }
.presupuesto__acciones .presupuesto__editar > .audio-ia--editar { width: 100%; margin-top: 12px; }
/* Garantía pedida por audio ("la Bronzen va con garantía"): aviso con botón para registrarla. */
.garantia-pedida { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin: 0 0 10px; padding: 10px 12px; border-radius: var(--r); background: var(--accent-soft); border: 1px solid var(--accent-line); }
.garantia-pedida > .ico { color: var(--accent); flex: none; }
.garantia-pedida > span { flex: 1 1 180px; }
/* Mi negocio: configuración del presupuesto por audio. */
.negocio__ia { display: grid; gap: 10px; margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); }
.negocio__ia legend { padding: 0 6px; font-weight: 600; }
.negocio__ia .check { display: flex; align-items: center; gap: 10px; min-height: 40px; }
.negocio__ia .check input { width: 20px; height: 20px; accent-color: var(--accent); }
.negocio__ia-sub { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.negocio__ia .negocio__ia-num { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; }
.negocio__ia .negocio__ia-num .campo { width: 76px; flex: none; text-align: center; }

/* Presupuesto por audio: "Suelen ir juntos" (sugerencias, nunca entran solas) y guardar el precio dictado. */
.audio-ia__sugeridos { display: flex; gap: 10px; padding: 12px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line); }
.audio-ia__sugeridos > .ico { flex: none; color: var(--accent); margin-top: 2px; }
.audio-ia__sugeridos > div { flex: 1; min-width: 0; }
.audio-ia__sugeridos strong { display: block; color: var(--ink); }
.audio-ia__sugeridos ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; }
.sugerido { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 8px; }
.sugerido > span { flex: 1 1 160px; min-width: 0; color: var(--ink-2); }
.sugerido__acciones { display: flex; gap: 4px; margin: 0; }
.sugerido__no { color: var(--muted); }
.material__quitar--confirmar { color: #fff; background: var(--danger, #d64545); width: auto; padding: 0 10px; }
.material__quitar--confirmar::after { content: "¿Sacar?"; margin-left: 4px; font-size: var(--fs-1); font-weight: 600; }
.material > label.material__guardar { grid-column: 1 / -1; display: flex; flex-direction: row; grid-template-columns: none; align-items: center; gap: 8px; min-height: 36px; margin: 2px 0 0; font-size: var(--fs-2); color: var(--ink-2); }
.material > label.material__guardar input { flex: none; margin: 0; width: 18px; height: 18px; accent-color: var(--accent); }

/* Inventario por audio: dictar, revisar la lista (antes → después), aplicar los tildados, deshacer. */
.inv-audio { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-bottom: 16px; }
.inv-audio__consejo { margin: 0; font-size: var(--fs-2); color: var(--ink-2); cursor: pointer; }
.inv-audio__consejo > summary { display: flex; align-items: flex-start; gap: 8px; list-style: none; -webkit-tap-highlight-color: transparent; }
.inv-audio__consejo > summary::-webkit-details-marker { display: none; }
.inv-audio__consejo > summary > .ico:first-child { flex: none; margin-top: 2px; color: var(--accent); }
.inv-audio__consejo strong { flex: 1; color: var(--ink); font-weight: 600; }
.inv-audio__chevron { flex: none; margin-top: 1px; color: var(--faint); transition: rotate var(--t-corto) var(--ease); }
.inv-audio__consejo[open] .inv-audio__chevron { rotate: 180deg; }
.inv-audio__consejo > p { margin: 6px 0 0 22px; }
.inv-audio__consejo > .corregir__ejemplos { margin-top: 10px; }
.inv-audio__consejo[open] > :not(summary) { animation: despliega var(--t-medio) var(--ease-salida); }
.inv-audio__audio { display: grid; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.inv-audio__form { display: grid; gap: 12px; }
.inv-audio__grupo { display: grid; gap: 6px; }
.inv-audio__grupo-titulo { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 0; color: var(--ink-2); font-size: var(--fs-2); }
.inv-audio__grupo-titulo .ico { color: var(--accent); }
.inv-audio__lista { list-style: none; margin: 0; padding: 0; display: grid; }
.inv-audio__item { padding: 8px 0; border-top: 1px solid var(--line); }
.inv-audio__item:first-child { border-top: 0; }
.inv-audio__item label { display: grid; grid-template-columns: 22px auto minmax(0, 1fr); grid-template-areas: 'check que prod' 'check cambio cambio'; gap: 2px 10px; align-items: center; cursor: pointer; }
.inv-audio__item input { grid-area: check; width: 20px; height: 20px; margin: 0; accent-color: var(--accent); }
.inv-audio__que { grid-area: que; font-size: var(--fs-1); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.inv-audio__prod { grid-area: prod; min-width: 0; overflow-wrap: anywhere; color: var(--ink); }
.inv-audio__cambio { grid-area: cambio; font-variant-numeric: tabular-nums; color: var(--ink-2); overflow-wrap: anywhere; }
.inv-audio__aviso { margin: 4px 0 0 32px; font-size: var(--fs-2); color: var(--warn); }
.inv-audio__gasto { display: grid; gap: 8px; padding: 10px 12px; border-radius: var(--r); background: var(--surface-2); }
.inv-audio__gasto .check { display: flex; align-items: center; gap: 10px; }
.asignar-ayudantes { border: 0; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 0 18px; }
.asignar-ayudantes legend { padding: 0; margin-bottom: 2px; }
.asignar-ayudantes .check { display: flex; align-items: center; gap: 8px; min-height: 40px; }
.mis-trabajos { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.mi-trabajo { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: inherit; text-decoration: none; }
.mi-trabajo:hover { border-color: var(--accent); }
.mi-trabajo--hecho { opacity: .65; }
.mi-trabajo .ico { vertical-align: -2px; }
.mi-trabajo__estado { font-weight: 600; }
.mi-trabajo__paso { margin: 18px 0; }
.btn--grande { width: 100%; max-width: 520px; min-height: 54px; font-size: 1.05rem; justify-content: center; }
.mi-trabajo__paso + .bloque, .ficha__direccion + .acciones { margin-top: 10px; }
.mi-trabajo__materiales { margin: 4px 0 0; padding-left: 18px; }
.mi-trabajo__notas { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.mi-trabajo__notas li { display: grid; gap: 2px; }
.materiales-usados { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 8px; }
.material-usado { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.material-usado__que { display: grid; gap: 2px; min-width: 0; }
.material-usado__acciones { display: flex; gap: 6px; flex-shrink: 0; }
.material-usado--anulado .material-usado__que { opacity: .55; text-decoration: line-through; }
.material-nuevo__fila { display: grid; grid-template-columns: 1fr 96px; gap: 10px; }
.mi-trabajo__cuando, .mi-trabajo__dia { display: inline-flex; align-items: center; gap: 6px; }
.asignar-equipo { margin-top: 10px; }
.equipo-hoy__camino { color: var(--accent-strong); text-decoration: none; font-weight: 500; }
.equipo-hoy .fila__servicio a { color: inherit; }
.numeros__equipo .tabla th.num, .numeros__equipo .tabla td.num { text-align: right; }
.inv-audio__gasto .check input { width: 20px; height: 20px; flex: none; accent-color: var(--accent); }
.inv-audio__medio { display: flex; align-items: center; gap: 10px; }
.inv-audio__medio .campo { width: auto; }
.inv-audio__pista { margin: 0; }
.inv-audio__acciones { display: flex; gap: 8px; flex-wrap: wrap; }
.inv-audio__descartar { margin: 0; }
.inv-audio__hecho { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; }
.inv-audio__hecho p { margin: 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.inv-audio__hecho .ico { color: var(--ok, var(--accent)); }
.inv-audio__hecho form { margin: 0; }
@media (min-width: 720px) {
  .inv-audio__item label { grid-template-columns: 22px 90px minmax(0, 1fr) auto; grid-template-areas: 'check que prod cambio'; }
  .inv-audio__cambio { text-align: right; }
}

/* Factura electrónica: el bloque del trabajo y la pantalla de datos fiscales. */
.factura { display: grid; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.factura__titulo { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; color: var(--ink); }
.factura__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.factura__item { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 10px 12px; border-radius: var(--r); background: var(--surface-2); }
.factura__item > div:first-child { display: grid; gap: 2px; min-width: 0; }
.factura__item--anulada strong { text-decoration: line-through; color: var(--muted); }
.factura__acciones { display: flex; gap: 6px; flex-wrap: wrap; }
.factura__acciones form { margin: 0; }
.factura__nueva > summary { list-style: none; width: fit-content; }
.factura__nueva > summary::-webkit-details-marker { display: none; }
.factura__nueva[open] > summary { margin-bottom: 12px; }
.factura__form label { display: grid; gap: 6px; }
.factura__fila { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .factura__fila { grid-template-columns: 1fr 1fr; } }
/* "Esperar la transferencia" (Mercado Pago): solo con el medio Transferencia elegido. */
.solo-transferencia { display: none; }
form:has(input[name="medio"][value="transferencia"]:checked) .solo-transferencia { display: inline-flex; }
/* Los botones del diálogo van al revés (row-reverse): con order -1 queda a la derecha de Guardar. */
.acciones > .solo-transferencia { order: -1; }
/* Con Transferencia, Guardar dice "Guardar sin esperar" (el texto extra va en un span). */
.solo-transferencia-texto { display: none; }
form:has(input[name="medio"][value="transferencia"]:checked) .solo-transferencia-texto { display: inline; }
/* Con Transferencia: "Esperar la transferencia" es el principal (verde, a la derecha), "Guardar sin esperar" queda
   gris al lado y no hay Cancelar (se cierra tocando afuera o con atrás). */
form:has(input[name="medio"][value="transferencia"]:checked):has(.solo-transferencia) .guardar-sin-esperar { background: var(--surface-2); border-color: transparent; color: var(--ink); }
form:has(input[name="medio"][value="transferencia"]:checked):has(.solo-transferencia) .acciones [data-cerrar] { display: none; }
/* Cobro con QR o link de Mercado Pago (vistas/cobro-mp.tsx). El QR va sobre blanco también en modo oscuro. */
.cobro-mp { text-align: center; align-items: center; justify-items: center; }
.cobro-mp__monto { margin: 0; font-size: 2.25rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.cobro-mp__qr { width: min(300px, 100%); margin-inline: auto; padding: 12px; border-radius: var(--r); background: #fff; box-sizing: border-box; }
.cobro-mp__qr svg { display: block; width: 100%; height: auto; }
.cobro-mp .acciones { justify-content: center; }
/* "Dejar pendiente de cobro": una fila con un interruptor a la derecha. */
.form .form-mov__pendiente { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 10px 14px; border-radius: var(--r); background: var(--surface-2); color: var(--ink); font-size: var(--fs-3); cursor: pointer; }
.form .form-mov__pendiente input { appearance: none; position: relative; flex: none; width: 46px; height: 28px; margin: 0; padding: 0; border: 0; border-radius: 999px; background: var(--line-3); cursor: pointer; transition: background .15s; -webkit-tap-highlight-color: transparent; }
.form-mov__pendiente input::before { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .15s; }
.form .form-mov__pendiente input:checked { background: var(--accent); }
.form-mov__pendiente input:checked::before { transform: translateX(18px); }
/* Al abrirse el cuadro el foco cae acá: sin el borde verde de foco (con teclado, un contorno suave). */
.form .form-mov__pendiente input:focus { outline: none; box-shadow: none; border-color: transparent; }
.form .form-mov__pendiente input:focus-visible { box-shadow: 0 0 0 2px var(--line-3); }
/* Mi negocio → Mercado Pago: el bloque de QR y link separado de lo de arriba, y el aviso de comisión con aire. */
.mp-cobros { display: grid; gap: 14px; margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.mp-cobros > * { margin: 0; }
.mp-cobros h3 { font-size: var(--fs-3); }
.mp-cobros .aviso-chico { margin: 2px 0; padding: 14px 16px; line-height: 1.5; }
.aviso-chico { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 14px; padding: 10px 12px; border-radius: var(--r); background: var(--warn-soft); color: var(--ink); font-size: var(--fs-2); }
.aviso-chico .ico { flex: none; margin-top: 1px; color: var(--warn); }
.aviso-chico--error { background: color-mix(in srgb, var(--danger, #e5484d) 14%, transparent); }
.aviso-chico--error .ico { color: var(--danger, #e5484d); }
.facturacion__pasos ol { margin: 0; padding-left: 20px; display: grid; gap: 10px; color: var(--ink-2); }
.facturacion__pasos li strong { color: var(--ink); }

/* Lo que aprendió la IA (/<cuenta>/ia-aprendido). */
.aprendido { display: grid; gap: 6px; }
.aprendido + .aprendido { margin-top: 16px; }
.aprendido__titulo { margin: 0; font-size: var(--fs-4, 1.05rem); }
.aprendido__vacio { margin: 6px 0 0; }
.aprendido .categorias-lista { margin-top: 6px; }
.aprendido__ejemplos { list-style: none; margin: 6px 0 0; padding: 0; }
.aprendido__ejemplo { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.aprendido__ejemplo > div { min-width: 0; }
.aprendido__ejemplo p { margin: 0; }
.aprendido__dicho { color: var(--ink); overflow-wrap: anywhere; }
.aprendido__ejemplo .small { margin-top: 4px; }
.aprendido__todo { margin: 20px 0 0; }

/* ── Navegación del celular: Inicio · Consultas · [+] · Caja · Más ─────────────────────────────── */
@media (min-width: 960px) { .nav .nav__mas-accion, .nav .nav__movil { display: none; } }
@media (max-width: 959px) {
  .nav { grid-template-columns: repeat(var(--n-movil, var(--n)), minmax(0, 1fr)); }
  .nav > * { order: var(--o, 4); }
  .nav > [data-en-mas] { display: none; }
  .nav__movil { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 0; border: 0; background: none; font: inherit; font-size: 11px; font-weight: 450; color: var(--muted); cursor: pointer; }
  .nav__movil .ico { width: 22px; height: 22px; }
  .nav__movil[aria-current='page'] { color: var(--accent-strong); font-weight: 550; }
  .nav__mas-accion { display: grid; place-items: center; border: 0; background: none; padding: 0; cursor: pointer; }
  .nav__mas-circulo { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: var(--accent); color: var(--accent-ink); box-shadow: 0 4px 14px -4px var(--accent); transition: transform .12s ease; }
  .nav__mas-accion:active .nav__mas-circulo { transform: scale(.92); }
}

/* ── Hojas (se abren desde abajo en el celular: dialog ya lo hace) ─────────────────────────────── */
.hoja__lista { display: grid; gap: 2px; }
.hoja__fila { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 8px 10px; margin: 0 -10px; border-radius: 12px; color: var(--ink); text-decoration: none; }
.hoja__fila > span:nth-child(2) { display: grid; gap: 1px; flex: 1; min-width: 0; }
.hoja__fila .flecha { color: var(--faint); }
.hoja__fila:hover, .hoja__fila:active { background: var(--surface-2); }
.hoja__icono { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--surface-2); color: var(--ink); }
.hoja__fila[data-c='inicio'] .hoja__icono { background: var(--accent); color: var(--accent-ink); }
.hoja__fila[data-c='ganado'] .hoja__icono { color: var(--ok, #16a34a); }
.hoja__fila[data-c='egreso'] .hoja__icono { color: var(--danger); }
.hoja__grilla { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hoja__op { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 4px; border-radius: 14px; color: var(--ink); text-decoration: none; font-size: var(--fs-2); font-weight: 500; text-align: center; }
.hoja__op:hover, .hoja__op:active { background: var(--surface-2); }
.hoja__op[aria-current='page'] .hoja__icono { background: var(--accent-soft); color: var(--accent-strong); }
.hoja__op .nav__n { top: 6px; left: calc(50% + 12px); }

/* ── Inicio ─────────────────────────────────────────────────────────────────────────────────────── */
@media (max-width: 959px) { .rapidas--compu { display: none; } }


/* -- Inicio: franja de plata y listas en pestañas (celular) -- */
.pi-tabs { display: none; }
@media (max-width: 959px) {
  .pi-tabs { display: flex; gap: 4px; margin: 0 -16px 18px; padding: 0 16px; overflow-x: auto; scrollbar-width: none; }
  .pi-tabs::-webkit-scrollbar { display: none; }
  .pi-tab { position: relative; flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 10px; color: var(--muted); font-size: var(--fs-2); font-weight: 500; cursor: pointer; white-space: nowrap; }
  .pi-tab__n { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--surface-3); color: var(--ink); font-size: 11px; font-weight: 600; line-height: 18px; text-align: center; font-variant-numeric: tabular-nums; }
  .pi-tab--rojo .pi-tab__n { background: var(--danger); color: #fff; }
  body:has(#pi-1:checked) .pi-tab[for='pi-1'], body:has(#pi-2:checked) .pi-tab[for='pi-2'], body:has(#pi-3:checked) .pi-tab[for='pi-3'], body:has(#pi-4:checked) .pi-tab[for='pi-4'], body:has(#pi-5:checked) .pi-tab[for='pi-5'], body:has(#pi-6:checked) .pi-tab[for='pi-6'] { color: var(--ink); font-weight: 600; }
  body:has(#pi-1:checked) .pi-tab[for='pi-1']::after, body:has(#pi-2:checked) .pi-tab[for='pi-2']::after, body:has(#pi-3:checked) .pi-tab[for='pi-3']::after, body:has(#pi-4:checked) .pi-tab[for='pi-4']::after, body:has(#pi-5:checked) .pi-tab[for='pi-5']::after, body:has(#pi-6:checked) .pi-tab[for='pi-6']::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--accent); }
  /* Las listas, una al lado de la otra: se pasa de una a otra deslizando o tocando la pestaña (client.ts las sincroniza). */
  .inicio--pestanas { display: flex; gap: 32px; margin: 0 -16px; padding: 0 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 16px; scrollbar-width: none; }
  .inicio--pestanas::-webkit-scrollbar { display: none; }
  .inicio--pestanas > .columna { display: contents; }
  .inicio--pestanas .card { display: flex; flex-direction: column; flex: 0 0 100%; min-width: 0; height: var(--alto, 60dvh); min-height: 240px; margin: 0 !important; padding-bottom: 0; scroll-snap-align: start; scroll-snap-stop: always; }
  .inicio--pestanas .card[data-p='1'] { order: 1; } .inicio--pestanas .card[data-p='2'] { order: 2; } .inicio--pestanas .card[data-p='3'] { order: 3; } .inicio--pestanas .card[data-p='4'] { order: 4; } .inicio--pestanas .card[data-p='5'] { order: 5; } .inicio--pestanas .card[data-p='6'] { order: 6; }
  .pi-tab { transition: color var(--t-corto) var(--ease); }
  /* "Ver agenda", "Ver por cobrar", "Ver todas": un botón claro al pie de la lista, no un renglón suelto. */
  .inicio.inicio--pestanas .card > .card__head { order: 2; display: block; min-height: 0; margin: 0; padding: 10px 0 12px; border: 0; background: none; }
  .inicio.inicio--pestanas .card > .card__head > :not(a) { display: none; }
  .inicio.inicio--pestanas .card > .card__head:not(:has(a)) { display: none; }
  .inicio.inicio--pestanas .card > .card__head::before { content: none; }
  /* El botón flota sobre la lista, abajo al centro: la lista se ve hasta el fondo y pasa por detrás. */
  .inicio--pestanas .card { position: relative; }
  .inicio.inicio--pestanas .card > .card__head:has(a) { position: absolute; left: 50%; bottom: 12px; z-index: 2; display: flex; justify-content: center; padding: 0; translate: -50% 0; pointer-events: none; }
  .inicio.inicio--pestanas .card > .card__head:has(a) > a { pointer-events: auto; background: var(--surface-3); box-shadow: 0 6px 18px -6px rgb(0 0 0 / .55); }
  :root[data-tema='claro'] .inicio.inicio--pestanas .card > .card__head:has(a) > a { background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 6px 18px -8px rgb(18 19 23 / .3); }
  .inicio--pestanas .card:has(> .card__head a) > :is(.filas, .vacio, .al-dia) { padding-bottom: 60px; }
  .inicio.inicio--pestanas .card > .card__head > a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; padding: 0 14px; border-radius: 999px; background: var(--surface-2); color: var(--accent-strong); font-size: var(--fs-2); font-weight: 600; text-decoration: none; transition: background-color var(--t-corto) var(--ease), transform var(--t-corto) var(--ease-salida); }
  .inicio.inicio--pestanas .card > .card__head > a::after { content: ''; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; rotate: -45deg; }
  .inicio.inicio--pestanas .card > .card__head > a:active { opacity: 1; background: var(--surface-3); transform: scale(.98); transition-duration: var(--t-toque); }
  .inicio--pestanas .card > .filas, .inicio--pestanas .card > .vacio, .inicio--pestanas .card > .al-dia { flex: 1; min-height: 0; max-height: none; overflow-y: auto; overscroll-behavior: auto contain; }
}

/* -- Inicio: balance (lo ganado grande, y la proporción con lo que te deben y lo presupuestado) -- */
.balance { display: grid; gap: 16px; margin: 0 0 20px; padding: 18px 18px 16px; border-radius: 20px; background: var(--surface-2); }
.balance__principal { display: grid; gap: 4px; color: var(--ink); text-decoration: none; }
.balance__label { font-size: var(--fs-2); font-weight: 500; color: var(--ink-2); letter-spacing: -.005em; }
.balance__label::first-letter { text-transform: uppercase; }
.balance__valor { font-size: 32px; font-weight: 650; letter-spacing: -.035em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.balance__barra { display: flex; gap: 3px; height: 6px; transform-origin: left center; will-change: transform; animation: barra-llena 1s cubic-bezier(.33, 1, .68, 1) .15s both; }
/* Se llena de izquierda a derecha al entrar al inicio y al volver a la app (client.ts la repite en esos casos). */
/* Con transform (lo mueve la placa de video): no se traba aunque la página se esté armando. */
@keyframes barra-llena { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* Ya se vio llenarse desde cero en esta apertura de la app (ui.tsx marca barra-vista antes de dibujar): las siguientes
   arrancan de más adelante y son más cortas. */
.barra-vista .balance__barra { animation-name: barra-sigue; animation-duration: .7s; }
@keyframes barra-sigue { from { transform: scaleX(.6); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .balance__barra { animation: none; } }
.balance__seg { min-width: 6px; border-radius: 999px; background: var(--surface-3); }
/* Lo ganado, siempre verde (en los dos temas y en cualquier rubro). */
.balance__seg--ganado { background: var(--c-ganado); }
.balance__seg--debe { background: var(--danger); }
.balance__seg--presu { background: var(--c-presupuestado); }
.balance__seg--resto, .balance__punto--resto { background: var(--muted); opacity: .55; }
.balance__resto { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 12px; }
.balance__item { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 7px; row-gap: 3px; min-width: 0; color: var(--ink); text-decoration: none; }
.balance__punto { width: 8px; height: 8px; border-radius: 50%; }
.balance__punto--debe { background: var(--danger); }
.balance__punto--presu { background: var(--c-presupuestado); }
.balance__item-label { font-size: var(--fs-2); font-weight: 500; color: var(--ink-2); }
.balance__item-valor { grid-column: 2; font-size: var(--fs-3); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.balance a:active .balance__valor, .balance a:active .balance__item-valor { opacity: .7; }
@media (hover: hover) { .balance a:hover .balance__valor, .balance a:hover .balance__item-valor { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; } }
@media (min-width: 960px) { .balance { grid-template-columns: auto 1fr; align-items: end; column-gap: 40px; margin-bottom: 24px; padding: 22px 24px; } .balance__barra { grid-column: 1 / -1; order: 3; } .balance__resto { justify-content: end; grid-template-columns: repeat(2, max-content); gap: 40px; } .balance__valor { font-size: 36px; } }

/* Caja en el celular: la pestaña elegida marca su total con una línea arriba, que se dibuja de izquierda a derecha:
   Ingresos en verde, Egresos y Por cobrar en rojo, Por pagar en amarillo. En Todos y Cierres no hay línea. Sigue a la
   pestaña al momento (también al deslizar, que no recarga la página): por eso va con :has y no con la clase del servidor. */
@media (max-width: 959px) {
  .kpis > a.kpi { position: relative; }
  .kpis > a.kpi::before { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; transform-origin: left center; transform: scaleX(0); opacity: 0; pointer-events: none; }
  body:has(.tab[data-tab='ingresos'][aria-current='page']) .kpis > .kpi:nth-child(2)::before,
  body:has(.tab[data-tab='egresos'][aria-current='page']) .kpis > .kpi:nth-child(3)::before,
  body:has(.tab[data-tab='cobrar'][aria-current='page']) .kpis > .kpi:nth-child(4)::before,
  body:has(.tab[data-tab='pagar'][aria-current='page']) .kpis > .kpi:nth-child(5)::before { opacity: 1; transform: none; animation: linea-total .7s cubic-bezier(.33, 1, .68, 1) .3s both; }
  /* Por pagar en amarillo: lo que pagás vos, distinto de lo que te deben (rojo). */
  body:has(.tab[data-tab='pagar'][aria-current='page']) .kpis > .kpi:nth-child(5)::before { background: var(--warn); }
  body:has(.tab[data-tab='ingresos'][aria-current='page']) .kpis > .kpi:nth-child(2)::before { background: var(--ok); }
  body:has(.tab[data-tab='egresos'][aria-current='page']) .kpis > .kpi:nth-child(3)::before,
  body:has(.tab[data-tab='cobrar'][aria-current='page']) .kpis > .kpi:nth-child(4)::before { background: var(--danger); }
}
@keyframes linea-total { from { transform: scaleX(0); } }
.resaltado { animation: resaltar 1s .35s; } /* sin fondo: solo marca la clase hasta que terminan los números */
.resaltado :is(.kpi__valor, b, .tab__n) { display: inline-block; transform-origin: left center; animation: resaltar-num .7s cubic-bezier(.34, 1.56, .64, 1) .35s both; }
.prop__seg.resaltado { position: relative; overflow: hidden; animation: resaltar-seg .9s cubic-bezier(.33, 1, .68, 1) .35s both; }
.prop__seg.resaltado::after { content: ''; position: absolute; inset: 6px 0; border-radius: 3px; background: linear-gradient(100deg, transparent 20%, rgb(255 255 255 / .55) 50%, transparent 80%); transform: translateX(-100%); animation: resaltar-brillo .9s ease-in-out 1s both; }
@keyframes resaltar { to { opacity: 1; } }
.resaltado .muestra { animation: resaltar-muestra .7s cubic-bezier(.34, 1.56, .64, 1) .35s both; }
@keyframes resaltar-muestra { 45% { transform: scale(1.7); } }
@keyframes resaltar-num { 0% { transform: scale(1); } 45% { transform: scale(1.2); } 100% { transform: scale(1); } }
@keyframes resaltar-seg { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes resaltar-brillo { to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .resaltado, .resaltado * { animation-duration: .01s !important; } }
@media (prefers-reduced-motion: reduce) { .kpis > a.kpi::before { animation: none !important; } }

/* -- Renglones: el resaltado de "pasar el mouse" solo con mouse; al tocar, un toque breve que se va solo -- */
@media (hover: none) { .fila:hover { background: none; } }
.fila { position: relative; isolation: isolate; -webkit-tap-highlight-color: transparent; }
.fila::after { content: ''; position: absolute; inset: 3px 6px; z-index: -1; border-radius: 12px; background: var(--surface-2); opacity: 0; transform: scale(.98); transition: opacity .25s ease, transform .25s ease; pointer-events: none; }
.fila:active::after { opacity: 1; transform: none; transition-duration: .06s; }
@media (hover: hover) { .fila:hover { background: none; } .fila:hover::after { opacity: 1; transform: none; } }
.inicio--pestanas .card--activa { border-color: transparent; box-shadow: none; }

/* Saludo del inicio (celular); en la compu queda la cabecera de siempre. */
.saludo { display: none; }
@media (max-width: 959px) {
  .contenido:has(> .saludo) > .cabecera { display: none; }
  .saludo { display: grid; gap: 2px; margin: 4px 0 18px; }
  .saludo__fecha { font-size: var(--fs-2); color: var(--muted); }
  .saludo__hola { margin: 0; font-size: 24px; font-weight: 650; letter-spacing: -.02em; }
}

/* ===== Movimiento =====
   Pocos tiempos y dos curvas para todo el panel. Respuesta al toque: --t-toque; cambios de color y estado: --t-corto;
   menús, hojas y diálogos: --t-medio; confirmaciones y resaltados que se van solos: --t-largo. Lo que entra frena
   al llegar (--ease-salida); lo que cambia en el lugar usa --ease. Solo transform y opacity (salvo colores). */
:root { --t-toque: 90ms; --t-corto: 160ms; --t-medio: 220ms; --t-largo: 320ms; --ease: cubic-bezier(.4, 0, .2, 1); --ease-salida: cubic-bezier(.16, 1, .3, 1); }

/* Botones: se hunden apenas al tocarlos y vuelven suave. Los principales, un poco más. */
.btn { transition: background-color var(--t-corto) var(--ease), border-color var(--t-corto) var(--ease), color var(--t-corto) var(--ease), opacity var(--t-corto) var(--ease), transform var(--t-corto) var(--ease-salida); }
.btn:active:not(:disabled) { opacity: 1; transform: scale(.97); transition-duration: var(--t-toque); }
.btn:is(.btn--ghost, .btn--icon):active:not(:disabled) { transform: scale(.95); }
.btn:disabled { transition-duration: var(--t-medio); }
.rapida, .duda__opcion, .titulo-dictar { transition: background-color var(--t-corto) var(--ease), border-color var(--t-corto) var(--ease), transform var(--t-corto) var(--ease-salida); }
.rapida:active, .duda__opcion:active, .titulo-dictar:active { opacity: 1; transform: scale(.97); transition-duration: var(--t-toque); }
.pastillas label { transition: background-color var(--t-corto) var(--ease), border-color var(--t-corto) var(--ease), color var(--t-corto) var(--ease); }

/* Campos: el borde y el anillo de foco entran suave; un error se marca en color, sin sacudir. */
.campo, .buscador input { transition: border-color var(--t-corto) var(--ease), box-shadow var(--t-corto) var(--ease); }

/* Barra de abajo: al llegar a una sección, su ícono se acomoda en su lugar (una vez, al cargar la página). */
/* (La animación del ícono "al llegar" se sacó: se disparaba al tocar y otra vez al cargar. Ver "Barra de abajo".) */

/* Diálogos en la compu: aparecen desde un poco más chicos (en el celular ya suben como hoja). */
@media (min-width: 960px) {
  dialog[open]:not(.visor):not(.recorte) { animation: dialogo-entra var(--t-medio) var(--ease-salida); }
  dialog[open]::backdrop { animation: aparece var(--t-medio) var(--ease); }
}
@keyframes dialogo-entra { from { opacity: 0; transform: translateY(6px) scale(.98); } }
@keyframes aparece { from { opacity: 0; } }

/* Desplegables: lo de adentro aparece sin salto. */
details[open] > summary ~ * { animation: despliega var(--t-medio) var(--ease-salida); }
@keyframes despliega { from { opacity: 0; transform: translateY(-4px); } }

/* Estados vacíos: aparecen suave, sin moverse. */
.vacio { animation: aparece var(--t-largo) var(--ease) both; }

/* Confirmación: entra desde abajo y el tilde se dibuja una vez. No hace esperar: se puede seguir tocando todo. */
.toast { pointer-events: auto; }
@keyframes toast { 0% { opacity: 0; translate: 0 10px; scale: .97; } 7%, 88% { opacity: 1; translate: 0 0; scale: 1; } 100% { opacity: 0; translate: 0 4px; visibility: hidden; } }
.toast:not(.toast--error) .ico :is(path, polyline) { stroke-dasharray: 24; stroke-dashoffset: 24; animation: tilde var(--t-largo) var(--ease-salida) 120ms forwards; }
@keyframes tilde { to { stroke-dashoffset: 0; } }

/* Al ponerse al día solo (data-vivo): un registro nuevo entra y queda marcado un momento; una cifra que cambió se
   ilumina una vez; un cambio grande (otro filtro, otra búsqueda) se funde en lugar de saltar. */
.recien { animation: recien-entra var(--t-largo) var(--ease-salida), recien-marca 1.8s var(--ease); }
@keyframes recien-entra { from { opacity: 0; transform: translateY(-6px); } }
@keyframes recien-marca { 0%, 30% { background-color: var(--accent-soft); } 100% { background-color: transparent; } }
.cifra-cambio { animation: cifra-cambio 1.2s var(--ease); }
@keyframes cifra-cambio { 0%, 25% { color: var(--accent-strong); } }
.vivo-funde { animation: vivo-funde var(--t-medio) var(--ease); }
@keyframes vivo-funde { from { opacity: .55; } }

@media (prefers-reduced-motion: reduce) {
  .btn:active:not(:disabled), .rapida:active, .duda__opcion:active, .titulo-dictar:active { transform: none; }
  .nav a[aria-current='page'] .ico, dialog[open], dialog[open]::backdrop, details[open] > summary ~ *, .vacio, .vivo-funde { animation: none; }
  .recien { animation: recien-marca 1.8s var(--ease); }
  .toast:not(.toast--error) .ico :is(path, polyline) { animation: none; stroke-dashoffset: 0; }
}

/* Del "+" al formulario de cobro o gasto: la hoja del "+" se transforma en la del formulario (mismo nombre en las dos
   páginas), sin cerrarse y abrir otra. El formulario llega ya abierto: sin su animación de subir. */
#acciones-rapidas.hoja-sale, dialog.hoja-directa { view-transition-name: hoja; }
dialog.hoja-directa { animation: none !important; }
dialog.hoja-directa::backdrop { animation: none; }
::view-transition-group(hoja) { animation-duration: .28s; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
::view-transition-old(hoja), ::view-transition-new(hoja) { height: 100%; object-fit: cover; object-position: top; animation-duration: .2s; }
@media (prefers-reduced-motion: reduce) { ::view-transition-group(hoja), ::view-transition-old(hoja), ::view-transition-new(hoja) { animation: none; } }

/* Sin responder vacío: "Estás al día" y, debajo, los trabajos en curso para seguir donde quedó. */
.al-dia { display: flex; flex-direction: column; gap: 14px; padding: 18px 0 8px; }
.al-dia__cabeza { display: flex; align-items: center; gap: 12px; padding: 0 4px; }
.al-dia__check { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-strong); }
.al-dia__check .ico :is(path, polyline) { stroke-dasharray: 24; stroke-dashoffset: 24; animation: tilde .5s var(--ease-salida) .15s forwards; }
.al-dia__cabeza strong { display: block; font-size: var(--fs-4); font-weight: 600; }
.al-dia__cabeza span { font-size: var(--fs-2); color: var(--muted); }
.al-dia__titulo { margin: 6px 4px -6px; font-size: var(--fs-1); font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.al-dia .filas { margin: 0; }
.al-dia__accion { align-self: flex-start; margin: 2px 4px 0; }
@media (prefers-reduced-motion: reduce) { .al-dia__check .ico :is(path, polyline) { animation: none; stroke-dashoffset: 0; } }

/* Inicio: el balance y las otras tarjetas del mes (caja, consultas). En el celular se deslizan de a una, con
   puntitos debajo; en la compu van una al lado de la otra. */
.balances { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 32px; margin: 0 -16px; padding: 0 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 16px; scrollbar-width: none; }
.balances::-webkit-scrollbar { display: none; }
.balances > .balance { margin: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.balances__puntos { display: flex; justify-content: center; gap: 6px; margin: 8px 0 12px; }
.balances__puntos i { width: 6px; height: 6px; border-radius: 999px; background: var(--line-3); transition: width var(--t-medio) var(--ease), background-color var(--t-medio) var(--ease); }
.balances__puntos i.activo { width: 16px; background: var(--ink-2); }
@media (min-width: 960px) {
  .balances { grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 16px; margin: 0 0 20px; padding: 0; overflow: visible; }
  .balances__puntos { display: none; }
  /* De a tres en la fila: cada una apilada (título, cifra, línea, detalle), como en el celular. */
  .balances > .balance { grid-template-columns: none; align-items: stretch; margin: 0; padding: 20px 22px; }
  .balances > .balance .balance__barra { order: 0; }
  .balances > .balance .balance__resto { justify-content: stretch; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .balances > .balance .balance__valor { font-size: 32px; }
}
.balance__seg--entro, .balance__punto--entro { background: var(--ok); }
.balance__punto--ganado { background: var(--c-ganado); }
.balance__valor--rojo { color: var(--danger); }
.balance__valor-sub { font-size: var(--fs-3); font-weight: 500; letter-spacing: 0; color: var(--muted); }
.saludo__fecha--ok { color: var(--ok); }
.saludo__fecha a { color: inherit; text-decoration: none; }
.saludo__fecha a:active { color: var(--ink); }


/* -- Caja: período a todo el ancho, balance con su línea -- */
.caja__barra { width: 100%; margin: 14px 0 2px; }
.periodo .segmentado a { justify-content: center; }
@media (max-width: 959px) {
  .periodo { gap: 10px; }
  .periodo .segmentado { display: flex; width: 100%; }
  .periodo .segmentado a { flex: 1; }
  /* Ya en hoy: el botón "Hoy" no ocupa lugar y la barra de fechas llega de borde a borde. */
  .periodo__nav > a[aria-hidden='true'] { display: none; }
  /* El balance, centrado: la cifra grande, su línea y el detalle. */
  .kpis > .kpi:first-child { display: grid; justify-items: center; text-align: center; padding: 6px 0 20px; }
  .kpis > .kpi:first-child .kpi__label { justify-content: center; }
}
@media (min-width: 960px) {
  /* "Hoy" a la izquierda de las flechas: así las flechas quedan alineadas con el borde derecho. */
  .periodo__nav > a.btn--sm { order: -1; }
  .caja__barra { max-width: 220px; margin-top: 10px; }
}
.grid-2--solo { grid-template-columns: minmax(0, 1fr) !important; }
.vacio__acciones { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.vacio .vacio__acciones .ico { width: 16px; height: 16px; margin: 0; padding: 0; }
.vacio__acciones [data-abrir='nuevo-ingreso'] .ico { color: var(--ok); }
.vacio__acciones [data-abrir='nuevo-egreso'] .ico { color: var(--danger); }

/* -- Menú del + (celular): el + crece y gira (×) en su lugar y las opciones salen a su alrededor, en arco --
   client.ts pone --cx/--cy (el centro del +) y a cada opción --x/--y (su lugar en el arco) e --i (el orden). */
.radial__cerrar { display: none; }
@media (max-width: 959px) {
  #acciones-rapidas { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; animation: none !important; }
  #acciones-rapidas::backdrop { background: rgb(8 8 10 / .72); animation: aparece .15s var(--ease); }
  :root[data-tema='claro'] #acciones-rapidas::backdrop { background: rgb(236 238 242 / .84); }
  #acciones-rapidas > .dialogo { display: block; padding: 0; pointer-events: none; }
  #acciones-rapidas > .dialogo > h2, #acciones-rapidas .acciones { display: none; }
  #acciones-rapidas .hoja__lista { position: fixed; left: var(--cx); top: var(--cy); width: 0; height: 0; display: block; }
  #acciones-rapidas .hoja__fila { position: absolute; left: -46px; top: -30px; width: 92px; min-height: 0; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 7px; background: none !important; pointer-events: auto; text-align: center;
    transform: translate(var(--x), var(--y)); will-change: transform, opacity; animation: radial-sale .3s cubic-bezier(.3, 1.45, .6, 1) both; animation-delay: calc(var(--i, 0) * 22ms); }
  #acciones-rapidas .hoja__fila .hoja__icono { width: 60px; height: 60px; border-radius: 50%; background: var(--surface-2); box-shadow: 0 8px 22px -8px rgb(0 0 0 / .6), inset 0 0 0 1px var(--line-2); transition: transform var(--t-corto) var(--ease-salida); }
  :root[data-tema='claro'] #acciones-rapidas .hoja__fila .hoja__icono { background: #fff; box-shadow: 0 8px 22px -10px rgb(18 19 23 / .35), inset 0 0 0 1px var(--line-2); }
  #acciones-rapidas .hoja__fila[data-c='inicio'] .hoja__icono, :root[data-tema='claro'] #acciones-rapidas .hoja__fila[data-c='inicio'] .hoja__icono { background: var(--accent); color: var(--accent-ink); }
  #acciones-rapidas .hoja__fila:active .hoja__icono { transform: scale(.92); }
  #acciones-rapidas .hoja__fila > span:nth-child(2) { display: block; flex: none; }
  #acciones-rapidas .hoja__fila strong { font-size: 12px; font-weight: 600; line-height: 1.2; color: var(--ink); text-shadow: 0 1px 8px var(--bg); }
  #acciones-rapidas .hoja__fila .small, #acciones-rapidas .hoja__fila .flecha { display: none; }
  /* El + agrandado y girado, encima del de la barra. */
  .radial__cerrar { position: fixed; left: var(--cx); top: var(--cy); display: grid; place-items: center; width: 62px; height: 62px; margin: -31px 0 0 -31px; padding: 0; border: 0; border-radius: 50%; background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 26px -10px rgb(0 0 0 / .6); pointer-events: auto; cursor: pointer;
    transform: rotate(45deg); will-change: transform; animation: radial-crece .22s cubic-bezier(.3, 1.4, .6, 1) both; }
  .radial__cerrar:active { transform: rotate(45deg) scale(.92); }
}
@keyframes radial-sale { from { transform: translate(0, 0) scale(.3); opacity: 0; } }
@keyframes radial-crece { from { transform: rotate(0) scale(.78); } }
@media (prefers-reduced-motion: reduce) { #acciones-rapidas .hoja__fila, .radial__cerrar { animation: none !important; } }

/* -- Caja: Ingreso y Egreso centrados; Descargar como ícono (arriba en el celular, en la cabecera en la compu) -- */
@media (max-width: 959px) {
  .caja__acciones { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .caja__acciones > .btn { justify-content: center; }
  .caja__descargar { display: none; }
}
.descargar__grupo { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; }
.descargar__grupo legend { margin-bottom: 6px; padding: 0; font-size: var(--fs-2); font-weight: 600; color: var(--muted); }
.descargar__opcion { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--r); cursor: pointer; transition: border-color var(--t-corto) var(--ease), background-color var(--t-corto) var(--ease); }
.descargar__opcion:has(input:checked) { border-color: var(--accent-line); background: var(--accent-soft); }
.descargar__opcion input { accent-color: var(--accent); margin: 0; }

/* -- Cómo funciona: el "i" al lado del título y su explicación -- */
.info-boton { display: inline-grid; place-items: center; width: 22px; height: 22px; margin: 0 0 0 3px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--faint); vertical-align: top; position: relative; top: -.2em; cursor: pointer; transition: color var(--t-corto) var(--ease), background-color var(--t-corto) var(--ease); -webkit-tap-highlight-color: transparent; }
.info-boton:hover, .info-boton:focus-visible { color: var(--ink-2); background: var(--surface-2); }
.info-pop { position: fixed; inset: auto; top: calc(var(--top-h, 0px) + 12px); left: 50%; translate: -50% 0; width: min(440px, calc(100vw - 24px)); margin: 0; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); color: var(--ink-2); box-shadow: var(--shadow-pop); font-size: var(--fs-3); font-weight: 400; line-height: 1.55; letter-spacing: 0; text-align: left; }
.info-pop:popover-open { animation: info-entra var(--t-medio) var(--ease-salida); }
@media (min-width: 960px) { .info-pop { top: 76px; left: calc(50% + 120px); } }
.info-pop__titulo { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; color: var(--ink); font-size: var(--fs-3); font-weight: 600; }
.info-pop__titulo .ico { color: var(--accent-strong); }
.info-pop p { margin: 0; }
.info-boton .ico { width: 14px; height: 14px; }
/* Tocar el recuadro lo cierra: se desvanece subiendo apenas (client.ts). */
.info-pop { cursor: pointer; }
.info-pop.info-pop--saliendo { animation: info-sale .16s var(--ease) forwards; }
@keyframes info-sale { to { opacity: 0; translate: -50% -6px; } }
.info-pop p + p { margin-top: 8px; }
@keyframes info-entra { from { opacity: 0; translate: -50% -6px; } }
@media (prefers-reduced-motion: reduce) { .info-pop:popover-open { animation: none; } }

/* -- Menú Más (celular): las secciones suben en columna desde el botón, alineadas a la derecha; el botón pasa a ser la × --
   client.ts pone --mx/--my (el centro del botón), --mabajo/--mder (dónde arranca la columna) e --i (orden desde abajo). */
.columna__cerrar { display: none; }
@media (max-width: 959px) {
  #mas-secciones { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; animation: none !important; }
  #mas-secciones::backdrop { background: rgb(8 8 10 / .72); animation: aparece .15s var(--ease); }
  :root[data-tema='claro'] #mas-secciones::backdrop { background: rgb(236 238 242 / .84); }
  #mas-secciones > .dialogo { display: block; padding: 0; pointer-events: none; }
  #mas-secciones > .dialogo > h2, #mas-secciones .acciones { display: none; }
  #mas-secciones .hoja__grilla { position: fixed; right: var(--mder); bottom: var(--mabajo); display: flex; flex-direction: column; align-items: flex-end; gap: 10px; max-height: calc(100dvh - var(--mabajo) - 24px); overflow: visible; }
  #mas-secciones .hoja__op { flex-direction: row-reverse; gap: 10px; padding: 0; background: none !important; pointer-events: auto; font-size: var(--fs-3); font-weight: 600; text-align: right; color: var(--ink); text-shadow: 0 1px 8px var(--bg);
    transform-origin: right center; will-change: transform, opacity; animation: columna-sube .26s cubic-bezier(.3, 1.35, .6, 1) both; animation-delay: calc(var(--i, 0) * 24ms); }
  #mas-secciones .hoja__op .hoja__icono { width: 48px; height: 48px; border-radius: 50%; background: var(--surface-2); box-shadow: 0 8px 20px -8px rgb(0 0 0 / .6), inset 0 0 0 1px var(--line-2); transition: transform var(--t-corto) var(--ease-salida); }
  :root[data-tema='claro'] #mas-secciones .hoja__op .hoja__icono { background: #fff; box-shadow: 0 8px 20px -10px rgb(18 19 23 / .35), inset 0 0 0 1px var(--line-2); }
  #mas-secciones .hoja__op[aria-current='page'] .hoja__icono { background: var(--accent); color: var(--accent-ink); }
  #mas-secciones .hoja__op:active .hoja__icono { transform: scale(.92); }
  #mas-secciones .hoja__op .nav__n { top: -4px; left: auto; right: -4px; }
  /* El botón "Más" se transforma en "Cerrar": el de la barra se esconde y este ocupa exactamente su lugar, con el
     mismo tamaño de ícono y de letra; la × entra girando. */
  html:has(#mas-secciones[open]) .nav [data-abrir='mas-secciones'] { visibility: hidden; }
  .columna__cerrar { position: fixed; left: var(--mx); top: var(--my); width: var(--mw); height: var(--mh); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; margin: 0; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; font-size: var(--fs-1); font-weight: 500; letter-spacing: -.01em; pointer-events: auto; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .columna__cerrar .ico { box-sizing: content-box; width: 20px; height: 20px; padding: 3px 14px; transform: rotate(45deg); will-change: transform; animation: columna-x .24s cubic-bezier(.3, 1.4, .6, 1) both; }
}
@keyframes columna-sube { from { opacity: 0; transform: translateY(14px) scale(.85); } }
@keyframes columna-x { from { transform: rotate(-45deg) scale(.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { #mas-secciones .hoja__op, .columna__cerrar .ico { animation: none !important; } }

/* Sugerencias pedidas de varios tipos ("cerrojos y llaves"): el título de cada grupo. */
.sugerido__grupo { margin: 10px 0 2px; font-size: var(--fs-1); font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; list-style: none; }
.sugerido__grupo:first-child { margin-top: 4px; }

/* -- Ficha: la dirección arriba de WhatsApp y Llamar, grande y sin subrayado -- */
.ficha__direccion { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 14px 0 2px; }
.ficha__direccion > a { display: inline-flex; align-items: flex-start; gap: 8px; margin: -4px -6px; padding: 4px 6px; border-radius: var(--r); color: var(--ink); font-size: var(--fs-4); font-weight: 500; line-height: 1.3; text-decoration: none; transition: background-color var(--t-corto) var(--ease); -webkit-tap-highlight-color: transparent; }
.ficha__direccion > a .ico { flex: none; margin-top: 1px; color: var(--accent-strong); }
.ficha__direccion > a:active { background: var(--surface-2); opacity: 1; }
/* El de pasar el mouse, solo con mouse: en el celular quedaba marcado al volver de Maps. */
@media (hover: hover) { .ficha__direccion > a:hover { background: var(--surface-2); } }
.datos > .datos__como-llegar { display: block; }
.datos > .datos__como-llegar .como-llegar { margin-top: 0; }

/* -- Visor de documentos (comprobantes): pantalla completa, barra arriba con descargar y cerrar -- */
dialog.documento { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: #0b0b0c; color: #fff; display: none; flex-direction: column; animation: aparece var(--t-medio) var(--ease) !important; }
dialog.documento[open] { display: flex; }
dialog.documento::backdrop { background: #0b0b0c; }
dialog.documento:focus { outline: none; }
.documento__barra { flex: none; display: flex; align-items: center; gap: 8px; padding: calc(var(--sa-top) + 10px) 10px 10px 16px; }
.documento__barra strong { flex: 1; min-width: 0; font-size: var(--fs-3); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.documento__boton { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .1); color: #fff; cursor: pointer; text-decoration: none; transition: background-color var(--t-corto) var(--ease); -webkit-tap-highlight-color: transparent; }
.documento__boton:active { background: rgb(255 255 255 / .2); }
@media (hover: hover) { .documento__boton:hover { background: rgb(255 255 255 / .18); } }
.documento__cuerpo { flex: 1; min-height: 0; display: grid; place-items: center; overflow: hidden; padding: 0 12px calc(var(--sa-bottom) + 12px); overscroll-behavior: contain; }
.documento__cuerpo img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; border-radius: 6px; }
/* Agrandada: al doble del ancho de la pantalla, se recorre con el dedo. */
.documento__cuerpo--zoom { place-items: start; overflow: auto; padding: 0; }
.documento__cuerpo--zoom img { max-width: none; max-height: none; width: 200%; cursor: zoom-out; border-radius: 0; }
.documento__archivo { max-width: 300px; margin: 0; text-align: center; color: rgb(255 255 255 / .75); font-size: var(--fs-3); line-height: 1.5; }

/* -- Ficha: los otros trabajos plegados, una fila cada uno -- */
details.trabajo { margin: 0 0 12px; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--surface); interpolate-size: allow-keywords; transition: border-color var(--t-medio) var(--ease); }
/* Separados de la tarjeta abierta de arriba. */
.ficha__col > section.consulta + details.trabajo { margin-top: 14px; }
details.trabajo > summary { list-style: none; }
details.trabajo > summary::-webkit-details-marker { display: none; }
.trabajo__fila { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 14px 10px 16px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.trabajo__que { flex: 1; min-width: 0; display: grid; gap: 2px; }
.trabajo__que strong { font-size: var(--fs-3); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trabajo__debe { flex: none; font-size: var(--fs-2); font-weight: 600; color: var(--danger); }
.trabajo__chevron { flex: none; color: var(--faint); transition: rotate var(--t-corto) var(--ease); }
details.trabajo[open] > summary .trabajo__chevron { rotate: 180deg; }
/* Abierto: el mismo recuadro, más alto; adentro, el trabajo sin su propio marco ni su título (ya está en la fila). */
details.trabajo[open] { border-color: var(--line-3); }
details.trabajo > .card { margin: 0; border: 0; border-radius: 0; background: none; box-shadow: none; padding-top: 0; }
details.trabajo > .card > .consulta__head h2, details.trabajo > .card > .consulta__head > .badge { display: none; }
details.trabajo > .card > .consulta__head { margin-top: 0; padding-top: 0; }
/* El alto crece (y se achica al cerrar) de forma pareja; el contenido aparece adentro mientras tanto. */
details.trabajo::details-content { height: 0; overflow: clip; opacity: 0; transition: height .34s cubic-bezier(.33, 1, .68, 1), opacity .22s var(--ease), content-visibility .34s allow-discrete; }
details.trabajo[open]::details-content { height: auto; opacity: 1; }
@media (prefers-reduced-motion: reduce) { details.trabajo::details-content { transition: none; } }

/* -- Ficha: lo vacío del trabajo en una fila de botones; al tocar uno, se despliega a todo el ancho -- */
.extras { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.extra { display: block; }
.extra[open] { flex-basis: 100%; }
.extra > summary { list-style: none; }
.extra > summary::-webkit-details-marker { display: none; }
.extra__boton { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font-size: var(--fs-2); font-weight: 500; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color var(--t-corto) var(--ease), color var(--t-corto) var(--ease); -webkit-tap-highlight-color: transparent; }
.extra__boton .ico { color: var(--muted); }
.extra__boton:active { background: var(--surface-3); opacity: 1; }
@media (hover: hover) { .extra__boton:hover { background: var(--surface-3); color: var(--ink); } }
.extra[open] > summary { background: var(--accent-soft); color: var(--accent-strong); }
.extra[open] > summary .ico { color: var(--accent-strong); }
/* Abierto ocupa toda la fila: el botón arriba y lo desplegado debajo (sin repetir su título). */
.extra[open] > :not(summary) { margin-top: 6px; animation: despliega var(--t-medio) var(--ease-salida); }
.extra > .bloque > .bloque__titulo h3 { display: none; }
.extra > .bloque > .bloque__titulo:not(:has(> :not(h3))) { display: none; }

/* -- Ficha: materiales y mano de obra plegados en una línea -- */
.cuenta__detalle { margin-top: 8px; border-top: 1px solid var(--line); }
.cuenta__detalle > summary { display: flex; align-items: center; gap: 8px; min-height: 40px; list-style: none; cursor: pointer; font-size: var(--fs-2); color: var(--muted); }
.cuenta__detalle > summary::-webkit-details-marker { display: none; }
.cuenta__detalle > summary strong { margin-left: auto; color: var(--ink); font-weight: 600; }
.cuenta__detalle > summary::after { content: ''; width: 7px; height: 7px; margin: 0 4px 3px 4px; border: solid var(--faint); border-width: 0 1.75px 1.75px 0; rotate: 45deg; transition: rotate var(--t-corto) var(--ease); }
.cuenta__detalle[open] > summary::after { rotate: -135deg; margin-bottom: -3px; }

/* -- Ficha: lo que sigue, destacado (el resto de la fila sigue gris) -- */
.btn--sigue { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.btn--sigue .ico { color: currentColor; }
@media (hover: hover) { .btn--sigue:hover { background: var(--accent-hover); } }

/* -- Ficha en la compu: el historial con su propio desplazamiento (como un chat), así no empuja todo hacia abajo -- */
@media (min-width: 960px) {
  .ficha .bloque--chat .historial { max-height: min(560px, 60vh); overflow-y: auto; overscroll-behavior: contain; padding-right: 8px; scrollbar-width: thin; }
}

/* Vale, Cobrado y Debe en una sola fila (el resto va plegado en Mano de obra). */
.bloque > .cuenta--trabajo { grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 12px; container-type: inline-size; }
.bloque > .cuenta--trabajo dd { white-space: nowrap; overflow-wrap: normal; font-size: min(var(--fs-5), 6.2cqi); }

/* Inicio en el celular: cada lista en su tarjeta, como en Consultas (antes iban sueltas sobre el fondo). */
@media (max-width: 959px) {
  .inicio.inicio--pestanas .card { background: var(--surface); border: 1px solid var(--card-borde, transparent); border-radius: var(--r-lg); padding: 4px 0 0; overflow: hidden; }
  .inicio.inicio--pestanas .card > :is(.filas, .vacio, .al-dia) { padding-inline: 0; margin-inline: 0; }
  .inicio.inicio--pestanas .card > .al-dia { padding-inline: 16px; }
  .inicio.inicio--pestanas .card .fila { padding-inline: 16px; }
  .inicio.inicio--pestanas .card .fila.fila--sub { padding-left: 68px; }
}

/* Inicio: las iniciales de cada cliente con el color de lo que pasa con él (sin franjas): el estado de la consulta
   (nueva, contactado, presupuestado, ganado), rojo en Te deben y el verde de WhatsApp en Chats. Solo en el inicio. */
.inicio--pestanas .fila .avatar { background: color-mix(in srgb, var(--tono-fila, var(--muted)) 16%, transparent); color: var(--tono-fila, var(--ink-2)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tono-fila, var(--muted)) 28%, transparent); }
.inicio--pestanas .fila[data-estado='nueva'] { --tono-fila: var(--c-nueva); }
.inicio--pestanas .fila[data-estado='contactado'] { --tono-fila: var(--c-contactado); }
.inicio--pestanas .fila[data-estado='presupuestado'] { --tono-fila: var(--c-presupuestado); }
.inicio--pestanas .fila[data-estado='ganado'] { --tono-fila: var(--c-ganado); }
.inicio--pestanas .card[data-p='3'] .fila { --tono-fila: var(--danger); }
.inicio--pestanas .card[data-p='4'] .fila { --tono-fila: var(--wa); }

/* -- Lo que necesita atención, con color (el .chip gris de arriba los apagaba a todos) --
   El ícono: rojo si está vencido, naranja si espera respuesta hace mucho (el texto, gris). Y un punto rojo al lado del nombre (no en el
   inicio, donde las iniciales ya llevan el color del estado). */
.chip.chip--vencido, .chip.chip--demora, .chip.chip--escribio, .chip.chip--hoy { color: var(--muted); }
/* Solo el ícono lleva el color: rojo si está vencido, naranja si espera respuesta hace mucho. */
.chip.chip--vencido .ico { color: var(--danger); }
.chip.chip--demora .ico { color: var(--warn); }
.fila__alerta { display: inline-block; width: 7px; height: 7px; margin: 0 0 2px 7px; border-radius: 50%; background: var(--danger); vertical-align: middle; box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 18%, transparent); }
.inicio--pestanas .fila__alerta { display: none; }


/* Caja en el celular: el cajón cerrado en una sola fila (ícono, "Cajón cerrado" y Abrir caja), así entra más abajo. */
@media (max-width: 959px) {
  .cajon.cajon--cerrado { flex-wrap: nowrap; gap: 12px; padding: 10px 10px 10px 12px; }
  .cajon--cerrado .cajon__texto { flex: 1 1 auto; }
  .cajon--cerrado .cajon__texto .small { display: none; }
  .cajon--cerrado > .btn { flex: none; width: auto; min-height: 40px; padding: 0 16px; }
}

/* Caja: Por pagar (lo que tenés que pagar vos) en amarillo; en la compu, los cinco totales en una fila. */
.monto--pagar { color: var(--warn); }
/* En la tablet no entran cinco: el balance arriba solo y los otros cuatro en una fila. Los montos nunca se parten. */
.kpis .kpi__valor { white-space: nowrap; }
@media (min-width: 760px) and (max-width: 1279px) {
  .kpis:has(> .kpi:nth-child(5)) { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 16px; }
  .kpis:has(> .kpi:nth-child(5)) > .kpi:first-child { grid-column: 1 / -1; }
  .kpis:has(> .kpi:nth-child(5)) > .kpi:nth-child(2) { padding-left: 0; border-left: 0; }
  .kpis:has(> .kpi:nth-child(5)) > .kpi:not(:first-child) .kpi__valor { font-size: var(--fs-5); }
}
@media (min-width: 1280px) { .kpis:has(> .kpi:nth-child(5)) { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* Tarjetas del mes en el celular: al deslizar, la que se va se achica y se apaga un poco, y la que entra crece hasta
   quedar entera en el centro (sigue al dedo: va con el desplazamiento, no es una animación aparte). */
@media (max-width: 959px) {
  @supports (animation-timeline: view()) {
    .balances > .balance { transform-origin: center; animation: carta-carrusel linear both; animation-timeline: view(inline); }
  }
}
@keyframes carta-carrusel {
  0% { transform: scale(.8); opacity: .4; }
  40%, 60% { transform: none; opacity: 1; }
  100% { transform: scale(.8); opacity: .4; }
}
@media (prefers-reduced-motion: reduce) { .balances > .balance { animation: none !important; } }

/* Inicio: la raya de la pestaña elegida sigue al dedo al deslizar las listas (client.ts la mueve). */
.pi-tabs { position: relative; }
.pi-raya { position: absolute; left: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--accent); pointer-events: none; will-change: transform, width; }
.pi-tabs:has(.pi-raya) .pi-tab::after { display: none; }

/* -- Barra de abajo --
   Al tocar: el ícono se hunde mientras está el dedo (sin apagar el botón) y la rayita del activo se desliza hasta el
   botón tocado en el momento (client.ts la mueve). Nada se anima "al llegar": la pantalla nueva aparece con la raya ya
   en su lugar. Si el cambio de página agarra la raya a mitad de camino, la transición entre páginas la termina de
   llevar (view-transition-name). */
.nav a .ico, .nav button .ico { transition: transform var(--t-toque) var(--ease); }
/* Apretado: lo pone client.ts apenas se apoya el dedo (:active en Android llega tarde o no llega con un toque rápido). */
.nav a.apretado .ico, .nav button.apretado .ico { transform: scale(.86); transition-duration: 40ms; }
.nav a:active .ico, .nav__movil:active .ico { transform: scale(.86); }
.nav a:active, .nav__movil:active { opacity: 1; }
.nav a { transition: none; }
a.sec--cargando { animation: none !important; }
.nav__raya { display: none; }
@media (max-width: 959px) {
  .nav--con-raya { position: relative; }
  /* La raya fija del activo (::before) salta al botón tocado en el momento; la que viajaba (.nav__raya) ya no se usa. */
  .nav__raya { display: none !important; position: absolute; top: -1px; left: 0; width: 24px; height: 2px; border-radius: 0 0 2px 2px; background: var(--accent); pointer-events: none; will-change: transform; transition: transform .15s cubic-bezier(.2, .9, .3, 1); view-transition-name: nav-raya; }
  .nav__raya[hidden] { display: none; }
}
::view-transition-group(nav-raya) { animation-duration: .12s; animation-timing-function: cubic-bezier(.3, 1, .45, 1); }
::view-transition-old(nav-raya) { display: none; }
::view-transition-new(nav-raya) { animation: none; mix-blend-mode: normal; }
@media (prefers-reduced-motion: reduce) { .nav__raya { transition: none; } ::view-transition-group(nav-raya) { animation: none; } }

/* Inventario en el celular: un poco menos de aire arriba del resumen, así con el consejo plegado entra hasta Archivados. */
@media (max-width: 959px) {
  .inv-audio { gap: 8px; margin-bottom: 8px; padding-block: 12px; }
  .inv-audio ~ .kpis > .kpi:first-child { padding: 0 0 12px; }
}

/* "✎ Otra respuesta" en las preguntas de la IA: un botón como las opciones que abre un campo para escribir. */
/* En su propio renglón, debajo de la pregunta (al lado la dejaba en una palabra por renglón). */
.duda__otra { order: 5; flex-basis: 100%; margin: 4px 0 4px 34px; }
.duda__otra > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.duda__otra > summary::-webkit-details-marker { display: none; }
.duda__otra[open] > summary { background: var(--surface-3); }
/* Escribirle a la IA (presupuesto o corrección escritos): un link discreto que despliega el cuadro. */
.escribir-ia { margin-top: 10px; }
.escribir-ia__boton { display: inline-flex; align-items: center; gap: 6px; padding: 6px 2px; color: var(--accent-strong); font-weight: 550; font-size: var(--fs-2, 14px); cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; }
.escribir-ia__boton::-webkit-details-marker { display: none; }
.escribir-ia[open] .escribir-ia__boton { color: var(--muted); }
.escribir-ia__form { display: grid; gap: 8px; margin-top: 6px; animation: despliega var(--t-medio) var(--ease-salida); }
.escribir-ia__texto { width: 100%; min-height: 84px; resize: vertical; field-sizing: content; max-height: 40vh; font: inherit; line-height: 1.4; }
.escribir-ia__ayuda { margin: 0; color: var(--muted); font-size: var(--fs-1, 13px); }
.escribir-ia__form .btn { justify-self: start; }
.audio-ia__escrito { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: var(--fs-1, 13px); font-weight: 550; }
.duda__otra-form { display: flex; gap: 8px; margin-top: 8px; animation: despliega var(--t-medio) var(--ease-salida); }
.duda__otra-form .campo { flex: 1; min-width: 0; }

/* Inventario en el celular: los botones de arriba, dos por fila y del mismo ancho (antes quedaban desparejos). */
@media (max-width: 959px) {
  .inventario__acciones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; }
  .inventario__acciones > .btn { justify-content: center; min-width: 0; padding-inline: 10px; font-size: var(--fs-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .inventario__acciones > .btn .ico { flex: none; }
}

/* Inventario por audio: la cantidad que entra, grande; "Aplicado" con aire y como link al registro. */
.inv-audio__cantidad { font-size: var(--fs-4); font-weight: 650; color: var(--ok); }
.inv-audio__hecho { margin-top: 6px; }
.inv-audio__registro { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r-lg); color: var(--ink); text-decoration: none; transition: background-color var(--t-corto) var(--ease); }
.inv-audio__registro > .ico:first-child { flex: none; color: var(--ok); }
.inv-audio__registro > span:nth-child(2) { flex: 1; min-width: 0; display: grid; gap: 2px; }
.inv-audio__registro .muted.small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inv-audio__ver { flex: none; font-size: var(--fs-2); font-weight: 600; color: var(--accent-strong); }
.inv-audio__registro:active { background: var(--surface-2); opacity: 1; }
@media (hover: hover) { .inv-audio__registro:hover { background: var(--surface-2); } }
.inv-audio__hecho > form { margin-top: 8px; }
/* El registro de cambios por audio. */
.registro-audios { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.registro-audios__item { display: grid; gap: 10px; }
.registro-audios__cabeza { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.registro-audios__dicho { margin: 0; color: var(--ink-2); }
.registro-audios__cambios { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.registro-audios__cambios > li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.registro-audios__cambios .inv-audio__cambio { flex-basis: 100%; }

/* Inicio: los números de las pestañas, solo con color (sin el círculo): rojo si hay algo demorado o vencido. */
.pi-tab .pi-tab__n { min-width: 0; height: auto; padding: 0; border-radius: 0; background: none; color: var(--muted); font-size: var(--fs-2); font-weight: 600; line-height: inherit; }
.pi-tab--rojo .pi-tab__n { background: none; color: var(--danger); }
body:has(#pi-1:checked) .pi-tab[for="pi-1"] .pi-tab__n, body:has(#pi-2:checked) .pi-tab[for="pi-2"] .pi-tab__n, body:has(#pi-3:checked) .pi-tab[for="pi-3"] .pi-tab__n, body:has(#pi-4:checked) .pi-tab[for="pi-4"] .pi-tab__n, body:has(#pi-5:checked) .pi-tab[for="pi-5"] .pi-tab__n, body:has(#pi-6:checked) .pi-tab[for="pi-6"] .pi-tab__n { font-weight: 700; }
body:has(#pi-1:checked) .pi-tab[for="pi-1"]:not(.pi-tab--rojo) .pi-tab__n, body:has(#pi-2:checked) .pi-tab[for="pi-2"]:not(.pi-tab--rojo) .pi-tab__n, body:has(#pi-3:checked) .pi-tab[for="pi-3"]:not(.pi-tab--rojo) .pi-tab__n, body:has(#pi-4:checked) .pi-tab[for="pi-4"]:not(.pi-tab--rojo) .pi-tab__n, body:has(#pi-5:checked) .pi-tab[for="pi-5"]:not(.pi-tab--rojo) .pi-tab__n, body:has(#pi-6:checked) .pi-tab[for="pi-6"]:not(.pi-tab--rojo) .pi-tab__n { color: var(--ink); }

/* Movimientos del inventario: por día, como la caja. */
.movs-inv__dia + .movs-inv__dia { margin-top: 14px; }
.movs-inv__fecha { margin: 0 0 4px; padding: 8px 0; font-size: var(--fs-2); font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line); }
.movs-inv { list-style: none; margin: 0; padding: 0; }
.movs-inv__fila { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.movs-inv__fila:last-child { border-bottom: 0; }
.movs-inv__hora { flex: none; width: 44px; padding-top: 1px; font-size: var(--fs-2); color: var(--muted); font-variant-numeric: tabular-nums; }
.movs-inv__que { flex: 1; min-width: 0; display: grid; gap: 2px; }
.movs-inv__prod { color: var(--ink); font-weight: 600; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.movs-inv__detalle { font-size: var(--fs-2); color: var(--ink-2); }
.movs-inv__meta { font-size: var(--fs-1); color: var(--faint); }
/* Inventario en el celular: con Movimientos son cinco botones; Producto ocupa toda la fila de arriba. */
@media (max-width: 959px) {
  .inventario__acciones > .btn:first-child { grid-column: 1 / -1; }
  /* Atajos: una fila de íconos con su nombre abajo, sin caja (el botón grande es Producto). */
  .inventario__atajos { grid-column: 1 / -1; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; }
  .inventario__atajos > .btn { flex-direction: column; gap: 4px; min-height: 0; padding: 8px 2px; border: 0; background: none; font-size: var(--fs-1); font-weight: 500; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .inventario__atajos > .btn .ico { color: var(--ink); }
  .inventario__atajos .solo-compu { display: none; }
}
@media (min-width: 960px) { .inventario__atajos { display: contents; } .inventario__atajos .solo-celu { display: none; } }
/* Lo que dijo y la IA no cargó, con el motivo (inventario y presupuesto por audio). */
.sin-cargar { display: grid; gap: 6px; padding: 10px 12px; border-radius: var(--r-md, 12px); background: var(--surface-2); font-size: var(--fs-2); }
.sin-cargar__titulo { font-weight: 600; color: var(--ink); }
.sin-cargar ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.sin-cargar li { display: flex; flex-wrap: wrap; gap: 0 6px; }
.sin-cargar__que { color: var(--ink-2); }
.sin-cargar__que::after { content: ':'; }
/* Lo que hizo la IA en cada vuelta (inventario y presupuesto por audio): lo dicho y, debajo, lo que hizo. */
.charla-ia { display: grid; gap: 10px; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 10%, var(--surface-2)); font-size: var(--fs-2); }
.charla-ia__vuelta { display: grid; gap: 4px; }
.charla-ia__vuelta + .charla-ia__vuelta { padding-top: 8px; border-top: 1px solid var(--line); }
.charla-ia__dicho { margin: 0; color: var(--muted); font-style: italic; overflow-wrap: anywhere; }
.charla-ia__hizo { margin: 0; display: flex; gap: 6px; align-items: flex-start; color: var(--ink); }
.charla-ia__hizo .ico { flex: none; margin-top: 3px; color: var(--accent); }
.charla-ia__antes { display: grid; gap: 8px; }
.charla-ia__antes > summary { cursor: pointer; color: var(--accent-strong); font-size: var(--fs-1); list-style: none; }
.charla-ia__antes > summary::-webkit-details-marker { display: none; }
.charla-ia__antes[open] { padding-bottom: 8px; border-bottom: 1px solid var(--line); }


/* Elegir varios chats (mantener apretado): la fila elegida se marca y el avatar pasa a un tilde. */
[data-elegir-chats] .fila--chat { -webkit-user-select: none; user-select: none; }
.filas--eligiendo .fila--chat .flecha { visibility: hidden; }
.fila--elegida { background: color-mix(in srgb, var(--accent) 14%, transparent); }
.fila--elegida .avatar { position: relative; background: var(--accent); color: transparent; }
.fila--elegida .avatar::after { content: ''; position: absolute; width: 12px; height: 7px; border: solid var(--accent-ink); border-width: 0 0 2.5px 2.5px; transform: translateY(-2px) rotate(-45deg); }
.elegir-barra { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(var(--nav-h, 64px) + var(--sa-bottom) + 12px); display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 8px 28px rgb(0 0 0 / .25); animation: flotante-entrar .18s ease-out; }
.elegir-barra__n { flex: 1; font-weight: 600; white-space: nowrap; }
@media (min-width: 960px) { .elegir-barra { left: auto; right: 28px; bottom: 28px; width: 480px; } }
.eligiendo-chats .dictado-flotante { display: none; }
/* Inicio en la compu: los botones en el encabezado, cuatro tarjetas chicas con los números del mes y tres columnas
   altas (Responder, Hoy, Seguimientos), cada una con su propio scroll: todo de un vistazo, sin bajar. Cobrar va en la
   tarjeta "Te deben" (en el celular sigue siendo una pestaña). */
.mes-tiles { display: none; }
@media (min-width: 960px) {
  .cabecera > .rapidas--compu { flex-wrap: wrap; justify-content: flex-end; gap: 6px; margin: 0; padding: 0; overflow: visible; }
  .cabecera > .rapidas--compu .rapida { min-height: 34px; padding: 0 12px; font-size: var(--fs-2); }
  .contenido:has(> .inicio--pestanas) [data-vivo='kpis'] { display: none; }
  .main:has(.inicio--pestanas) { padding-bottom: 8px; }
  .mes-tiles { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; margin: 0 0 16px; }
  .mes-tile { display: grid; gap: 2px; align-content: start; padding: 14px 18px; border-radius: var(--r-lg); background: var(--surface-2); color: var(--ink-2); text-decoration: none; transition: background-color var(--t-corto) var(--ease); }
  .mes-tile:hover { background: var(--surface-3); }
  .mes-tile__label { font-size: var(--fs-1); color: var(--muted); }
  .mes-tile__valor { color: var(--ink); font-size: 22px; font-weight: 650; letter-spacing: -.02em; line-height: 1.25; font-variant-numeric: tabular-nums; }
  .mes-tile__valor.monto--egreso { color: var(--danger, #e5484d); }
  .mes-tile__barra { order: 0; margin: 8px 0 6px; }
  .mes-tile__sub { order: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; }
  .mes-tile__dato { display: grid; grid-template-columns: 8px minmax(0, 1fr); align-items: center; column-gap: 6px; min-width: 0; white-space: nowrap; }
  .mes-tile__dato > :not(.balance__punto) { overflow: hidden; text-overflow: ellipsis; }
  .mes-tile__dato strong { grid-column: 2; color: var(--ink); font-size: var(--fs-2); font-weight: 600; }
  .mes-tile__sub { font-size: var(--fs-1); color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .inicio.inicio--pestanas { grid-template-columns: repeat(3, minmax(0, 1fr)); height: max(480px, calc(100dvh - var(--inicio-arriba, 256px))); align-items: stretch; }
  .inicio--pestanas > .columna { min-height: 0; }
  .inicio--pestanas > .columna > .card { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; margin: 0; }
  .inicio--pestanas > .columna > .card[data-p='4'] { display: none; }
  .inicio--pestanas > .columna > .card > :is(.filas, .vacio, .al-dia) { flex: 1; min-height: 0; max-height: none; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
  /* En columnas angostas, el estado sobra (la lista ya dice en qué está cada uno) y se montaba sobre la fecha. */
  .inicio--pestanas .fila__lado .badge { display: none; }
}
.filas__titulo { padding: 14px 4px 6px; color: var(--muted); font-size: var(--fs-1); font-weight: 600; letter-spacing: .02em; text-transform: uppercase; list-style: none; }
.filas .fila.fila--sub { padding-left: calc(var(--pad) + 52px); padding-top: 9px; padding-bottom: 9px; }

/* Caja: Ingreso y Egreso en el encabezado del celular cuando se baja (aparecen con un salto chico). */
.caja__arriba { display: inline-flex; gap: 8px; margin-right: 4px; }
.caja__arriba[hidden] { display: none; }
.caja__arriba-btn { border: 1px solid transparent; animation: caja-arriba .32s cubic-bezier(.34, 1.56, .64, 1) both; }
.caja__arriba-btn--ingreso { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); border-color: color-mix(in srgb, var(--ok) 35%, transparent); }
.caja__arriba-btn--egreso { background: color-mix(in srgb, var(--danger) 16%, transparent); color: var(--danger); border-color: color-mix(in srgb, var(--danger) 35%, transparent); animation-delay: .05s; }
@keyframes caja-arriba { from { opacity: 0; transform: translateY(-8px) scale(.6); } }
@media (prefers-reduced-motion: reduce) { .caja__arriba-btn { animation: none; } }

/* Proveedores: el avance al cargar varias listas a la vez. */
[data-importar-estado]:has(.analizando) { justify-self: stretch; width: 100%; flex-basis: 100%; }
.analizando { display: grid; gap: 12px; justify-self: stretch; width: 100%; box-sizing: border-box; margin-top: 4px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface-2); color: var(--ink); }
.analizando__cabeza { display: flex; align-items: center; gap: 10px; font-size: var(--fs-3); }
.analizando__girar { flex: none; width: 18px; height: 18px; border: 2px solid var(--accent); border-right-color: transparent; border-radius: 50%; animation: girar .8s linear infinite; }
.analizando--error .analizando__girar { display: none; }
.analizando__barra { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.analizando__barra span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--accent); transition: width .35s ease; }
.analizando__lista { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.analizando__item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: var(--fs-2); }
.analizando__item:first-child { border-top: 0; }
.analizando__nombre { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.analizando__estado { flex: none; color: var(--muted); font-size: var(--fs-1); }
.analizando__item--activo .analizando__estado { color: var(--accent-strong); }
.analizando__item--listo .analizando__estado { color: var(--ok); }
.analizando > p { margin: 0; }

/* Celular: Agenda dentro de Clientes e Inventario dentro de Caja (pestañas arriba; en la barra se marca la de afuera). */
.par-secciones { display: none; }
.nav .solo-celu { display: none; }
@media (max-width: 959px) {
  /* Como título: la sección actual en grande y la otra al lado, más apagada, separadas por una raya. */
  /* Fijo arriba (como las solapas, que se pegan debajo). */
  .par-secciones { position: sticky; top: var(--top-h); z-index: 21; height: var(--par-h, 56px); margin-top: -8px; background: var(--bg); box-shadow: 0 0 0 100vmax var(--bg); clip-path: inset(0 -100vmax); display: flex; align-items: center; margin-bottom: 4px; font-size: var(--fs-6); font-weight: 600; letter-spacing: -.022em; line-height: 1.15; }
  .par-secciones a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); opacity: .55; text-decoration: none; }
  .par-secciones a[aria-current='page'] { color: var(--ink); opacity: 1; }
  .par-secciones a + a { margin-left: 14px; padding-left: 14px; border-left: 1.5px solid var(--line); }
  .par-secciones .nav__n { position: static; font-size: var(--fs-1); letter-spacing: 0; }
  .contenido:has(> .par-secciones) > .cabecera h1 { display: none; }
  .contenido:has(> .par-secciones) .tabs:not(.tabs--inline) { top: calc(var(--top-h) + var(--par-h, 56px)); }
  .nav .solo-celu { display: inline-flex; }
  .nav a[data-actual-celu] { color: var(--accent-strong); font-weight: 550; }
  .nav a[data-actual-celu] .ico { color: var(--accent-strong); }
  .nav a[data-actual-celu]::before { content: ''; position: absolute; top: -1px; left: 50%; width: 24px; height: 2px; translate: -50% 0; border-radius: 0 0 2px 2px; background: var(--accent); }
}

/* -- Compu: encabezados más legibles, acciones con color, agenda con aire, período de caja y botonera del inventario -- */
@media (min-width: 960px) {
  .cabecera { margin-bottom: 24px; padding: 14px 0; }
  .cabecera h1 { font-size: var(--fs-5); font-weight: 650; letter-spacing: -.015em; }
  .cabecera__titulo > div { gap: 2px 14px; }
  .cabecera p { color: var(--ink-2); font-size: var(--fs-3); }
  .cabecera__titulo .sec-icono { width: 36px; height: 36px; }

  /* Cobro en verde y gasto en rojo, como en la caja (en el Inicio y en el encabezado de la caja). */
  .rapida[data-c='ganado'], .rapida[data-c='egreso'], .caja__acciones .btn--ingreso, .caja__acciones .btn--egreso { background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 32%, transparent); }
  .rapida[data-c='ganado']:hover, .rapida[data-c='egreso']:hover, .caja__acciones .btn--ingreso:hover, .caja__acciones .btn--egreso:hover { background: color-mix(in srgb, var(--c) 22%, transparent); border-color: color-mix(in srgb, var(--c) 45%, transparent); }
  .rapida[data-c='ganado'] .ico, .rapida[data-c='egreso'] .ico { color: inherit; }
  .caja__acciones .btn--ingreso { --c: var(--ok); }
  .caja__acciones .btn--egreso { --c: var(--danger); }
  .rapida[data-c='ganado'] { --c: var(--ok); }
  .caja__acciones .btn .ico { color: inherit; }

  /* Agenda: filas con más aire, nombre más grande. */
  .contenido:has(> .cabecera [data-sec='agenda']) .tabs { margin-bottom: 16px; }
  .contenido:has(> .cabecera [data-sec='agenda']) .tab { font-size: var(--fs-3); padding-bottom: 10px; }
  .contenido:has(> .cabecera [data-sec='agenda']) .fila { gap: 16px; padding: 18px 22px; }
  .contenido:has(> .cabecera [data-sec='agenda']) .fila .avatar { width: 40px; height: 40px; font-size: var(--fs-2); }
  .contenido:has(> .cabecera [data-sec='agenda']) .fila__nombre { font-size: var(--fs-4); font-weight: 550; }
  .contenido:has(> .cabecera [data-sec='agenda']) .fila__servicio { font-size: var(--fs-3); }
  .contenido:has(> .cabecera [data-sec='agenda']) .fila__meta { margin-top: 8px; }
  .contenido:has(> .cabecera [data-sec='agenda']) .filas > li + li > .fila::before { left: 22px; right: 22px; }
  .contenido:has(> .cabecera [data-sec='agenda']) .fila__lado { gap: 24px; }

  /* Caja: Día/Semana/Mes y la fecha a la misma altura, como una sola barra. */
  .periodo { padding: 8px; border: 1px solid var(--card-borde, var(--line)); border-radius: var(--r-lg); background: var(--surface); }
  .periodo .segmentado { padding: 3px; border: 0; background: var(--surface-2); }
  .periodo .segmentado a { min-width: 84px; min-height: 32px; font-size: var(--fs-3); }
  .periodo .segmentado a[aria-current='page'] { background: var(--elevado, var(--surface-3)); color: var(--ink); box-shadow: 0 1px 3px rgb(0 0 0 / .25); font-weight: 600; }
  .periodo__nombre { width: auto; min-width: 0; padding: 0 10px; border: 0; background: none; font-size: var(--fs-4); }
  .periodo__nav { gap: 2px; }
  /* "Hoy": misma altura que las flechas, con el color del panel, separado de ellas. */
  .periodo__nav > a.btn--sm { height: var(--h); min-height: var(--h); margin-right: 8px; padding: 0 14px; border: 1px solid var(--accent-line, var(--line-2)); background: var(--accent-soft); color: var(--accent-strong); font-size: var(--fs-2); font-weight: 600; }
  .periodo__nav > a.btn--sm:hover { background: color-mix(in srgb, var(--accent) 22%, transparent); }
  .periodo__nombre:hover { background: var(--surface-2); }
  .periodo__nav .btn--icon { background: var(--surface-2); }

  /* Inventario: las secundarias juntas en una botonera, el principal aparte. */
  .inventario__acciones { gap: 10px; align-items: center; }
  .inventario__atajos { display: inline-flex; align-items: stretch; padding: 3px; gap: 2px; border-radius: var(--r); background: var(--surface-2); }
  .inventario__atajos > .btn { min-height: 32px; padding: 0 12px; border: 0; background: none; color: var(--ink-2); font-weight: 500; }
  .inventario__atajos > .btn:hover { background: var(--surface-3); color: var(--ink); }
  .inventario__atajos > .btn .ico { color: var(--muted); }
  .inventario__atajos > .btn:hover .ico { color: var(--ink); }
}

/* Inventario: sin productos elegidos, el cobro (o el ingreso) muestra solo cómo empezar. */
.carrito--vacio .cobro > :not(h2) { display: none; }
.carrito--vacio .cobro::after { content: 'Elegí productos con el + y acá se arma la venta.'; display: block; margin-top: 8px; color: var(--muted); font-size: var(--fs-2); }
.carrito--vacio .cobro.form-entrada::after { content: 'Elegí productos con el + y acá se arma el ingreso.'; }

/* Compu, menú lateral: los paneles, lo pendiente y los recientes como en el cajón del celular. */
.side > .side__lat { display: none; }
@media (min-width: 960px) {
  .side { padding-bottom: 0; }
  .side > .side__cuenta { margin-bottom: 0; padding-bottom: 10px; }
  .side > .side__marca:has(.side__logo) { flex-direction: row; align-items: center; justify-content: flex-start; gap: 9px; }
  .side__logo { flex: none; display: inline-flex; }
  .side__nombre { display: inline-flex; align-items: baseline; gap: 7px; min-width: 0; white-space: nowrap; }
  .side__app { line-height: 1.3; font-size: var(--fs-3); font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
  .side__org { padding: 2px 0 2px 7px; line-height: 1.3; border-left: 1px solid var(--line-2); overflow: hidden; text-overflow: ellipsis; font-size: var(--fs-2); font-weight: 500; letter-spacing: 0; color: var(--muted); }
  .side__logo svg { display: block; }
  .side > .side__lat { display: grid; gap: 14px; margin: 2px 0 6px; }
  .side > .side__lat--abajo { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
  .side__lat .lateral__paneles, .side__lat .lateral__pendientes, .side__lat .lateral__recientes { margin: 0; }
  .side__lat .lateral__recientes { border-bottom: 0; padding-bottom: 0; }
  .side__lat :is(.lateral__paneles, .lateral__pendientes, .lateral__recientes) a { min-height: 34px; font-size: var(--fs-2); }
  .side__lat :is(.lateral__paneles, .lateral__pendientes, .lateral__recientes) a:hover { background: var(--surface-2); }
  .side__lat .lateral__panel-actual > * { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .side__lat .lateral__panel-actual { min-width: 0; white-space: nowrap; font-size: var(--fs-2); line-height: 1.25; }
  .side__lat .lateral__panel-actual .small { font-size: 11px; }
  .side__lat .lateral__links button { min-height: 38px; gap: 10px; padding: 0 8px; }
  .side__lat .lateral__panel-color { width: 9px; height: 9px; }
  .side__lat .lateral__links button > .ico:last-child { width: 14px; height: 14px; }
  /* Todo alineado con el menú: el ícono (o avatar, o punto) centrado en la misma línea y el texto donde arranca el de
     las secciones. */
  .side__lat .lateral__pend-ico { width: 24px; height: 24px; }
  /* La letra queda un poco baja dentro de su renglón: los íconos bajan 1 px para quedar centrados con el texto. */
  .side .nav a > .ico, .side__lat :is(.lateral__pend-ico, .lateral__panel-color, .lateral__recientes .avatar), .side > .side__nuevo .ico { translate: 0 1px; }
  .side__lat .lateral__pendientes a, .side__lat .lateral__recientes a { gap: 6px; }
  .side__lat .lateral__links button { padding-left: 24px; gap: 13px; }
  .side > .side__buscar .ico { left: 13px; }
  .side > .side__buscar input { padding-left: 38px; }
  .side__cuenta .lateral__iniciales { width: 24px; height: 24px; }
  .side__lat .lateral__pend-ico .ico { width: 13px; height: 13px; }
  .side__lat .lateral__recientes .avatar { width: 24px; height: 24px; font-size: 10px; }
}

/* Inicio en la compu: tocar el título de una columna la expande a todo el ancho, con las filas en varias columnas. */
@media (min-width: 960px) {
  .inicio.inicio--pestanas { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); transition: grid-template-columns .4s cubic-bezier(.2, .8, .2, 1), column-gap .4s cubic-bezier(.2, .8, .2, 1); }
  .inicio--pestanas > .columna { transition: opacity .25s ease; }
  .inicio--pestanas .card__head { cursor: pointer; user-select: none; }
  .inicio--pestanas .card__head h2::after { content: ''; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 10px; border: solid var(--muted); border-width: 0 1.5px 1.5px 0; transform: rotate(-45deg); transition: transform .3s ease; vertical-align: middle; }
  .inicio--pestanas .card__head:hover h2::after { border-color: var(--ink); }
  :root[data-inicio-abierta] .inicio.inicio--pestanas { column-gap: 0; }
  :root[data-inicio-abierta='1'] .inicio.inicio--pestanas { grid-template-columns: minmax(0, 1fr) minmax(0, 0fr) minmax(0, 0fr); }
  :root[data-inicio-abierta='2'] .inicio.inicio--pestanas { grid-template-columns: minmax(0, 0fr) minmax(0, 1fr) minmax(0, 0fr); }
  :root[data-inicio-abierta='3'] .inicio.inicio--pestanas { grid-template-columns: minmax(0, 0fr) minmax(0, 0fr) minmax(0, 1fr); }
  :root[data-inicio-abierta='1'] .inicio--pestanas > .columna:not(:nth-child(1)),
  :root[data-inicio-abierta='2'] .inicio--pestanas > .columna:not(:nth-child(2)),
  :root[data-inicio-abierta='3'] .inicio--pestanas > .columna:not(:nth-child(3)) { opacity: 0; overflow: hidden; pointer-events: none; transition-duration: .1s; }
  :root[data-inicio-abierta='1'] .inicio--pestanas > .columna:nth-child(1) .card__head h2::after,
  :root[data-inicio-abierta='2'] .inicio--pestanas > .columna:nth-child(2) .card__head h2::after,
  :root[data-inicio-abierta='3'] .inicio--pestanas > .columna:nth-child(3) .card__head h2::after { transform: rotate(135deg); }
  :root[data-inicio-abierta='1'] .inicio--pestanas > .columna:nth-child(1) .filas,
  :root[data-inicio-abierta='2'] .inicio--pestanas > .columna:nth-child(2) .filas,
  :root[data-inicio-abierta='3'] .inicio--pestanas > .columna:nth-child(3) .filas { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); align-content: start; column-gap: 8px; }
  :root[data-inicio-abierta] .inicio--pestanas .filas > li { border-top: 0; }
  :root[data-inicio-abierta] .inicio--pestanas .filas > .filas__titulo { grid-column: 1 / -1; }
  :root[data-inicio-abierta] .inicio--pestanas .filas > li > .fila::before { display: none; }
  :root[data-inicio-abierta] .inicio--pestanas .filas > li > .fila { border-radius: var(--r); }
  :root[data-inicio-abierta] .inicio--pestanas .fila__lado .badge { display: inline-flex; }
}
@media (min-width: 960px) and (prefers-reduced-motion: reduce) { .inicio.inicio--pestanas, .inicio--pestanas > .columna { transition: none; } }

/* Compu: el fondo del elegido del menú se desliza de la sección anterior a la nueva al cambiar de página (transición
   entre páginas). Es una pieza aparte (.nav__fondo) con su propio nombre; mientras viaja se mezcla con "lighten"
   (oscuro) o "darken" (claro) para pasar por detrás de las letras sin taparlas. */
.nav__fondo { display: none; }
@media (min-width: 960px) {
  .nav a { isolation: isolate; transition: background-color .15s ease, color .15s ease; }
  .nav a[aria-current='page'] { background: none !important; }
  .nav__fondo { display: block; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--surface-3); view-transition-name: nav-fondo; pointer-events: none; }
  :root[data-tema='claro'] .nav__fondo { background: var(--accent-soft); }
  .nav a .ico { transition: color .15s ease; }
}
::view-transition-group(nav-fondo) { animation-duration: .32s; animation-timing-function: cubic-bezier(.22, 1, .36, 1); mix-blend-mode: lighten; }
:root[data-tema='claro']::view-transition-group(nav-fondo) { mix-blend-mode: darken; }
::view-transition-old(nav-fondo), ::view-transition-new(nav-fondo) { animation: none; height: 100%; }
::view-transition-old(nav-fondo) { display: none; }
@media (prefers-reduced-motion: reduce) { ::view-transition-group(nav-fondo) { animation: none; } }

/* Inventario en el celular: las solapas (Venta / Ingreso y Todos / Para reponer / Archivados) quedan fijas al bajar
   (el top lo pone PEGADO_JS, debajo de Caja | Inventario). */
@media (max-width: 959px) {
  .periodo--pegado { position: sticky; z-index: 16; margin-bottom: 0; padding: 6px 0 4px; background: var(--bg); box-shadow: 0 0 0 100vmax var(--bg); clip-path: inset(0 -100vmax); }
}

/* Lista de proveedor abierta desde "Ponela en la lista" del presupuesto: la cotización late un par de veces. */
.proveedores__cot--senalar { animation: cot-senalar 1.2s ease-in-out 3; border-color: var(--warn); }
@keyframes cot-senalar { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 50% { box-shadow: 0 0 0 6px var(--warn-soft); } }

/* ── Celular acostado: la barra de secciones va al costado (columna) y el encabezado se achica, así el contenido usa
   todo el alto (parado, arriba y abajo se comían casi la mitad de la pantalla). ── */
@media (max-width: 959px) and (orientation: landscape) and (max-height: 520px) {
  :root, :root[data-tema='claro'] { --nav-h: 0px; --riel: calc(76px + var(--sa-left)); --top-h: calc(52px + var(--sa-top)); }
  .side { top: 0; right: auto; bottom: 0; width: var(--riel); display: flex; align-items: center; padding: var(--sa-top) 0 var(--sa-bottom) var(--sa-left); border-top: 0; border-right: 1px solid var(--line); }
  :root[data-tema='claro'] .side { border-right-color: var(--line-2); }
  .nav { grid-template-columns: 1fr; grid-auto-rows: minmax(0, 1fr); width: 100%; height: min(100%, 340px); }
  .nav a[aria-current='page']::before { top: 50%; left: -1px; width: 2px; height: 24px; translate: 0 -50%; border-radius: 0 2px 2px 0; }
  .nav__mas-circulo { width: 44px; height: 44px; border-radius: 14px; }
  .topbar { left: var(--riel); padding-left: 16px; padding-right: calc(16px + var(--sa-right)); }
  .main { padding-left: calc(var(--riel) + 16px); padding-right: calc(16px + var(--sa-right)); padding-bottom: calc(24px + var(--sa-bottom)); }
  /* El título con la otra sección, más bajo (las solapas se pegan justo debajo: --par-h). */
  :root { --par-h: 44px; }
}
/* El botón que ofrece pantalla completa al acostar el celular (client.ts, solo en la app instalada desde el navegador). */
.pantalla-completa { position: fixed; z-index: 60; left: 50%; bottom: calc(16px + var(--sa-bottom)); translate: -50% 0; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 0; border-radius: 999px; background: var(--ink); color: var(--bg); font: inherit; font-weight: 600; box-shadow: var(--shadow-pop); cursor: pointer; animation: flotante-entrar .18s ease-out; }

/* Mi negocio → PDF del presupuesto (vistas/pdf-config.tsx). */
.pdfc { display: grid; gap: 16px; }
.pdfc .card { display: grid; gap: 14px; }
.pdfc .card h2 { margin: 0; font-size: var(--fs-4); }
.pdfc__tilde { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.pdfc__tilde input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.pdfc__tilde span { display: grid; gap: 2px; font-weight: 400; color: var(--ink); }
.pdfc__vista { display: grid; gap: 12px; }
.aviso--wa-corto { display: flex; align-items: center; gap: 10px; padding: 10px 12px; text-decoration: none; }
.aviso--wa-corto strong { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aviso--wa-corto__ir { flex: none; font-weight: 600; text-decoration: underline; }
.pdfc__vista-tipo { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 10px; }
.pdfc__vista-tipo label { display: inline-flex; align-items: center; gap: 6px; }
.pdfc__hoja { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 6px; background: #fff; box-shadow: 0 2px 10px rgb(0 0 0 / .12); }
.pdfc__firma { display: grid; gap: 10px; }
.pdfc__lienzo, .pdfc__firma-actual { width: 100%; max-width: 480px; aspect-ratio: 600 / 220; border: 1px dashed var(--line-3); border-radius: var(--r); background: #fff; }
.pdfc__lienzo { touch-action: none; cursor: crosshair; }
.pdfc__firma-actual { object-fit: contain; }
.pdfc__firma-acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pdfc__quitar { display: inline-flex; align-items: center; gap: 6px; }
.pdfc__guardar { position: sticky; bottom: calc(var(--nav-h) + var(--sa-bottom) + 12px); display: flex; justify-content: flex-end; }
.pdfc__entrar { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.pdfc__entrar > span { display: grid; gap: 2px; flex: 1; }

