/* ==========================================================================
   tiencol · tc.css (v3.0) · DESIGN SYSTEM TIENCOL
   Nueva arquitectura visual del panel. Se carga al final y solo actúa dentro de body.page-app.
   Principios: mucho espacio en blanco, jerarquía clara, bordes sutiles, tarjetas limpias, negro para actuar,
   naranja tiencol solo como detalle. Una sola tipografía (Inter), una sola escala, los mismos componentes en todo.

   Índice
     0. Tipografía y tokens            6. Tabs y sub-tabs              12. Modales, drawers, dropdowns, tooltips
     1. Base                           7. Cards, paneles y listas      13. Toasts, alertas y estados vacíos
     2. Estructura: shell              8. Tablas                       14. Skeleton / carga
     3. Menú lateral (selector)        9. Badges y estados             15. Inicio
     4. Barra superior                10. Encabezados de módulo        16. Responsive · 17. Movimiento · 18. Impresión
     5. Botones e inputs              11. Encabezado del negocio
   ========================================================================== */

/* ---------- 0. TIPOGRAFÍA Y TOKENS ---------- */
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

body.page-app {
  /* Color */
  --tc-bg: #F7F7F6;          /* fondo del shell (detrás del área de trabajo) */
  --tc-surface: #FFFFFF;     /* área de trabajo, tarjetas */
  --tc-soft: #F5F5F4;        /* superficies suaves, campos de búsqueda, chips */
  --tc-hover: #F0F0EF;       /* hover de menús y filas */
  --tc-active: #EBEBEA;      /* activo de menús */
  --tc-line: #ECECEB;        /* bordes suaves */
  --tc-line-2: #E2E2E0;      /* bordes de campos */
  --tc-line-3: #D4D4D2;      /* bordes en hover */
  --tc-ink: #0B0B0B;         /* texto principal y botón primario */
  --tc-ink-2: #3F3F3D;       /* texto secundario fuerte */
  --tc-mute: #6E6E6B;        /* texto secundario */
  --tc-faint: #9C9C98;       /* texto terciario, placeholders */
  --tc-acc: #111111;         /* acento tiencol: solo detalles */
  --tc-acc-soft: #FFF2E9;
  --tc-ok: #13795B;   --tc-ok-soft: #E9F6F0;
  --tc-warn: #9A5B00; --tc-warn-soft: #FDF4E3;
  --tc-err: #B42318;  --tc-err-soft: #FDEDEC;
  --tc-info: #1F5FBF; --tc-info-soft: #EDF3FD;
  /* Radios y sombras */
  --tc-r-xs: 6px; --tc-r-sm: 8px; --tc-r: 10px; --tc-r-lg: 14px; --tc-r-xl: 20px; --tc-pill: 999px;
  --tc-sh-1: 0 1px 2px rgba(11, 11, 11, .04);
  --tc-sh-2: 0 1px 2px rgba(11, 11, 11, .04), 0 4px 16px rgba(11, 11, 11, .06);
  --tc-sh-pop: 0 2px 4px rgba(11, 11, 11, .04), 0 16px 40px rgba(11, 11, 11, .12);
  --tc-ring: 0 0 0 3px rgba(11, 11, 11, .08);
  /* Espaciado (escala de 4) */
  --tc-1: 4px; --tc-2: 8px; --tc-3: 12px; --tc-4: 16px; --tc-5: 20px; --tc-6: 24px; --tc-8: 32px; --tc-10: 40px; --tc-12: 48px;
  /* Tipografía: tamaño / alto de línea */
  --tc-font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --tc-fs-xs: 12px; --tc-fs-sm: 13px; --tc-fs: 14px; --tc-fs-md: 15px; --tc-fs-lg: 17px; --tc-fs-xl: 22px; --tc-fs-2xl: 28px;
  /* Movimiento */
  --tc-ease: cubic-bezier(.2, .7, .2, 1); --tc-fast: 140ms; --tc-med: 220ms;
  /* Estructura */
  --sidebar-w: 260px; --tc-top-h: 56px;

  /* Puente con las variables de las capas anteriores (para que todo el panel herede la misma paleta) */
  --paper: var(--tc-surface); --surface: var(--tc-surface); --sunken: var(--tc-soft);
  --line: var(--tc-line); --line-strong: var(--tc-line-2);
  --ink: var(--tc-ink); --ink-2: var(--tc-ink-2); --muted: var(--tc-mute); --faint: var(--tc-faint);
  --soft: var(--tc-soft); --soft-2: var(--tc-hover); --graphite: var(--tc-ink); --accent: var(--tc-ink); --accent-tint: var(--tc-soft);
  --r-sm: var(--tc-r-sm); --r-md: var(--tc-r); --r-lg: var(--tc-r-lg); --shadow-pop: var(--tc-sh-pop);
  --el-bg: var(--tc-surface); --el-card: #fff; --el-soft: var(--tc-soft); --el-hover: var(--tc-hover); --el-chip: var(--tc-soft);
  --el-line: var(--tc-line); --el-line-2: var(--tc-line-2); --el-ink: var(--tc-ink); --el-ink-2: var(--tc-ink-2);
  --el-mute: var(--tc-mute); --el-faint: var(--tc-faint); --el-r: var(--tc-r); --el-r-lg: var(--tc-r-lg); --el-shadow: var(--tc-sh-pop);
  --cl-bg: var(--tc-surface); --cl-side: transparent; --cl-line: var(--tc-line); --cl-field: var(--tc-line-2); --cl-hover: var(--tc-hover);
  --cl-ink: var(--tc-ink); --cl-2: var(--tc-mute); --cl-3: var(--tc-faint);
  --bs-body-font-family: var(--tc-font); --bs-body-color: var(--tc-ink); --bs-body-bg: var(--tc-surface);
  --bs-border-color: var(--tc-line); --bs-secondary-color: var(--tc-mute); --bs-link-color-rgb: 11, 11, 11; --bs-link-hover-color-rgb: 11, 11, 11;
  --bs-focus-ring-color: rgba(11, 11, 11, .08);
}
body.page-app.sidebar-mini { --sidebar-w: 64px; }

/* ---------- 1. BASE ---------- */
body.page-app { margin: 0; background: var(--tc-bg) !important; color: var(--tc-ink); font-family: var(--tc-font) !important; font-size: var(--tc-fs); line-height: 1.5; letter-spacing: -.006em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-feature-settings: "cv11", "ss01"; }
body.page-app :is(button, input, select, textarea, .btn, .form-control, .form-select, .dropdown-menu, .modal, .offcanvas, .tooltip, .popover) { font-family: inherit !important; }
body.page-app :is(h1, h2, h3, h4, h5, h6) { font-family: var(--tc-font) !important; color: var(--tc-ink); font-weight: 600; letter-spacing: -.02em; }
body.page-app a { color: inherit; text-underline-offset: 2px; }
body.page-app ::selection { background: rgba(17,17,17, .16); }
body.page-app :focus-visible { outline: 2px solid var(--tc-ink); outline-offset: 2px; }
body.page-app .text-muted { color: var(--tc-mute) !important; }
body.page-app .small, body.page-app small { font-size: var(--tc-fs-sm); }
body.page-app .link-muted { color: var(--tc-mute) !important; }
body.page-app .link-muted:hover { color: var(--tc-ink) !important; }
body.page-app hr { border-color: var(--tc-line); opacity: 1; }
body.page-app * { scrollbar-width: thin; scrollbar-color: #D6D6D3 transparent; }

/* ---------- 2. ESTRUCTURA: SHELL ----------
   Menú lateral sobre el fondo del shell + área de trabajo blanca con borde fino y esquina redondeada. */
body.page-app .app-shell { display: block; min-height: 100vh; }
@media (min-width: 992px) {
  body.page-app .app-shell { display: grid !important; grid-template-columns: var(--sidebar-w) minmax(0, 1fr) !important; transition: grid-template-columns var(--tc-med) var(--tc-ease) !important; }
  body.page-app .app-body { display: flex; flex-direction: column; min-height: calc(100vh - 16px); margin: 8px 8px 8px 0; background: var(--tc-surface) !important; border: 1px solid var(--tc-line); border-radius: var(--tc-r-xl); box-shadow: var(--tc-sh-1); min-width: 0; overflow: clip; }
}
body.page-app .app-body { background: var(--tc-surface) !important; }
body.page-app .app-main { flex: 1; width: 100%; max-width: 1240px; margin: 0 auto; padding: var(--tc-8) clamp(16px, 4vw, 48px) var(--tc-12) !important; background: transparent !important; }
body.page-app .app-main.is-full { max-width: none; padding: 0 !important; }
body.page-app .app-main.biz-page { max-width: 1240px; padding-top: var(--tc-6) !important; display: block !important; }
body.page-app .app-main.biz-page > * { margin-left: 0 !important; margin-right: 0 !important; max-width: none !important; }
body.page-app .skip-link:focus { z-index: 2000; }

/* ---------- 3. MENÚ LATERAL ---------- */
body.page-app .tc-side { --bs-offcanvas-width: 280px; display: flex; flex-direction: column; min-width: 0; background: var(--tc-bg); color: var(--tc-ink); font-size: var(--tc-fs-sm); }
@media (min-width: 992px) {
  body.page-app .tc-side { position: sticky; top: 0; height: 100vh; overflow: hidden; background: transparent !important; border: 0 !important; }
}
body.page-app .tc-side-head { display: flex; align-items: center; gap: var(--tc-2); height: 52px; padding: 0 var(--tc-4) 0 var(--tc-5); flex: none; }
body.page-app .tc-side-head .brand { display: inline-flex; align-items: center; }
body.page-app .tc-side-head .brand-logo { height: 20px; width: auto; }
body.page-app .tc-side-head .brand-compact { display: none; }
body.page-app .tc-side-head .brand-icon { width: 26px; height: 26px; }

/* Selector de contexto (negocio) */
body.page-app .tc-ctx { padding: 0 var(--tc-3) var(--tc-2); flex: none; }
body.page-app .tc-ctx-btn { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 6px 10px 6px 6px; border: 1px solid var(--tc-line-2); border-radius: var(--tc-r); background: var(--tc-surface); color: var(--tc-ink); text-align: left; text-decoration: none; box-shadow: var(--tc-sh-1); transition: border-color var(--tc-fast), box-shadow var(--tc-fast); cursor: pointer; }
body.page-app .tc-ctx-btn:hover, body.page-app .tc-ctx-btn[aria-expanded="true"] { border-color: var(--tc-line-3); box-shadow: var(--tc-sh-2); }
body.page-app .tc-ctx-text { display: grid; min-width: 0; flex: 1; line-height: 1.2; }
body.page-app .tc-ctx-text strong { font-size: var(--tc-fs-sm); font-weight: 600; }
body.page-app .tc-ctx-text small { font-size: 11.5px; color: var(--tc-mute); }
body.page-app .tc-ctx-caret { color: var(--tc-faint); font-size: 14px; }
body.page-app .tc-biz-logo { flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; object-fit: cover; background: var(--tc-ink); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: 0; }
body.page-app .tc-biz-logo.is-empty { background: var(--tc-soft); color: var(--tc-mute); border: 1px dashed var(--tc-line-3); }
body.page-app .tc-ctx-menu { width: 272px; padding: 6px !important; }
body.page-app .tc-ctx-title { display: flex; justify-content: space-between; margin: 4px 8px 6px; font-size: 11.5px; font-weight: 500; color: var(--tc-mute); }
body.page-app .tc-ctx-title span { color: var(--tc-faint); }
body.page-app .tc-ctx-item { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: var(--tc-r-sm); color: var(--tc-ink); text-decoration: none; font-size: var(--tc-fs-sm); line-height: 1.25; transition: background-color var(--tc-fast); }
body.page-app .tc-ctx-item small { color: var(--tc-mute); font-size: 11.5px; }
body.page-app .tc-ctx-item:hover, body.page-app .tc-ctx-item.is-active { background: var(--tc-hover); }
body.page-app .tc-ctx-item .bi-check2 { font-size: 16px; }
body.page-app .tc-ctx-item.is-add { color: var(--tc-ink-2); font-weight: 500; }
body.page-app .tc-ctx-sep { height: 1px; margin: 6px 4px; background: var(--tc-line); }

/* Navegación */
body.page-app .tc-nav { display: block !important; flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; padding: var(--tc-2) var(--tc-3) var(--tc-4); }
body.page-app .tc-label { display: flex; align-items: center; justify-content: space-between; height: 28px; margin: var(--tc-4) 0 2px; padding: 0 10px; font-size: 11.5px; font-weight: 500; color: var(--tc-faint); letter-spacing: 0; text-transform: none; }
body.page-app .tc-label-btn { display: inline-grid; place-items: center; width: 22px; height: 22px; border: 0; border-radius: var(--tc-r-xs); background: transparent; color: var(--tc-faint); opacity: 0; transition: opacity var(--tc-fast), background-color var(--tc-fast); }
body.page-app .tc-nav:hover .tc-label-btn, body.page-app .tc-label-btn:focus-visible { opacity: 1; }
body.page-app .tc-label-btn:hover { background: var(--tc-hover); color: var(--tc-ink); }
body.page-app .tc-link { position: relative; display: flex; align-items: center; gap: 10px; width: 100%; height: 34px; margin: 1px 0; padding: 0 10px; border: 0; border-radius: var(--tc-r-sm); background: transparent; color: var(--tc-ink-2); font-size: var(--tc-fs-sm); font-weight: 450; text-decoration: none; text-align: left; white-space: nowrap; transition: background-color var(--tc-fast), color var(--tc-fast); cursor: pointer; }
body.page-app .tc-link > .ic, body.page-app .tc-link > .bi:first-child { flex: none; width: 18px; height: 18px; font-size: 16px; display: inline-grid; place-items: center; color: var(--tc-mute); transition: color var(--tc-fast); }
body.page-app .tc-link:hover { background: var(--tc-hover); color: var(--tc-ink); }
body.page-app .tc-link:hover > :is(.ic, .bi:first-child) { color: var(--tc-ink); }
body.page-app .tc-link.is-active { background: var(--tc-active); color: var(--tc-ink); font-weight: 550; }
body.page-app .tc-link.is-active > :is(.ic, .bi:first-child) { color: var(--tc-ink); }
body.page-app .tc-link-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
body.page-app .tc-link-end { margin-left: auto; flex: none; }
body.page-app .tc-count { min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--tc-pill); background: var(--tc-ink); color: #fff; font-size: 10.5px; font-weight: 600; line-height: 18px; text-align: center; }
body.page-app .tc-count.is-alert, body.page-app .tc-count.is-news { background: var(--tc-acc); }
body.page-app .tc-meta { color: var(--tc-faint); font-size: 11.5px; }
body.page-app .tc-link.is-warn .tc-meta { color: var(--tc-warn); }
body.page-app .tc-link.is-danger .tc-meta { color: var(--tc-err); font-weight: 600; }
body.page-app .tc-lock { color: var(--tc-faint); font-size: 11px; }
body.page-app .tc-link.is-locked { color: var(--tc-faint); }
body.page-app .tc-soon, body.page-app .tc-next { padding: 1px 7px; border-radius: var(--tc-pill); font-size: 10.5px; font-weight: 600; }
body.page-app .tc-soon { background: var(--tc-soft); color: var(--tc-mute); }
body.page-app .tc-next { background: var(--tc-acc-soft); color: #B84A08; }
body.page-app .tc-ext { color: var(--tc-faint); font-size: 12px; opacity: 0; transition: opacity var(--tc-fast); }
body.page-app .tc-link:hover .tc-ext { opacity: 1; }

/* Pie: plan y salir */
body.page-app .tc-side-foot { flex: none; padding: var(--tc-2) var(--tc-3) var(--tc-3); border-top: 1px solid var(--tc-line); }
body.page-app .tc-plan { display: flex; align-items: center; gap: 10px; width: 100%; margin-bottom: 4px; padding: 8px 10px; border: 1px solid var(--tc-line-2); border-radius: var(--tc-r); background: var(--tc-surface); color: var(--tc-ink); text-align: left; transition: border-color var(--tc-fast), box-shadow var(--tc-fast); }
body.page-app .tc-plan:hover { border-color: var(--tc-line-3); box-shadow: var(--tc-sh-2); }
body.page-app .tc-plan > .ic { flex: none; width: 18px; height: 18px; color: var(--tc-ink); }
body.page-app .tc-plan.is-pro > .ic { color: var(--tc-acc); }
body.page-app .tc-plan-text { display: grid; min-width: 0; flex: 1; line-height: 1.2; }
body.page-app .tc-plan-text strong { font-size: var(--tc-fs-sm); font-weight: 600; }
body.page-app .tc-plan-text small { font-size: 11.5px; color: var(--tc-mute); }
body.page-app .tc-plan-cta { flex: none; padding: 3px 9px; border-radius: var(--tc-pill); background: var(--tc-ink); color: #fff; font-size: 11px; font-weight: 600; }

/* Contraído (solo íconos, computador) */
@media (min-width: 992px) {
  body.page-app.sidebar-mini .tc-side-head { justify-content: center; padding: 0; }
  body.page-app.sidebar-mini .tc-side-head .brand:not(.brand-compact) { display: none; }
  body.page-app.sidebar-mini .tc-side-head .brand-compact { display: inline-flex; }
  body.page-app.sidebar-mini .tc-ctx { padding: 0 10px 6px; }
  body.page-app.sidebar-mini .tc-ctx-btn { justify-content: center; padding: 6px; min-height: 42px; }
  body.page-app.sidebar-mini :is(.tc-ctx-text, .tc-ctx-caret, .tc-link-text, .tc-link-end, .tc-plan-text, .tc-plan-cta, .tc-label span, .tc-label-btn) { display: none !important; }
  body.page-app.sidebar-mini .tc-label { height: 1px; margin: 10px 8px; padding: 0; background: var(--tc-line); }
  body.page-app.sidebar-mini .tc-nav { padding: 4px 10px; }
  body.page-app.sidebar-mini .tc-link { justify-content: center; padding: 0; }
  body.page-app.sidebar-mini .tc-side-foot { padding: 8px 10px; }
  body.page-app.sidebar-mini .tc-plan { justify-content: center; padding: 8px 0; }
}
body.page-app .sb-tip { position: fixed; z-index: 2000; padding: 5px 9px; border-radius: var(--tc-r-sm); background: var(--tc-ink); color: #fff; font-size: 12px; font-weight: 500; pointer-events: none; box-shadow: var(--tc-sh-2); }

/* Herramientas del negocio: en computador viven en el menú lateral; en celular quedan como fila de pestañas. */
@media (min-width: 992px) { body.page-app .app-main > .biz-nav { display: none !important; } }

/* ---------- 4. BARRA SUPERIOR ---------- */
body.page-app .topbar.tc-top { position: sticky; top: 0; z-index: 1020; display: flex; align-items: center; gap: var(--tc-2); height: var(--tc-top-h) !important; min-height: 0 !important; padding: 0 var(--tc-4) 0 var(--tc-3) !important; background: rgba(255, 255, 255, .86) !important; -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--tc-line) !important; box-shadow: none !important; }
body.page-app .tc-top .btn-icon { width: 32px; height: 32px; border-radius: var(--tc-r-sm); color: var(--tc-mute); }
body.page-app .tc-top .btn-icon:hover { background: var(--tc-hover); color: var(--tc-ink); }
body.page-app .tc-top-sep { width: 1px; height: 18px; background: var(--tc-line-2); margin: 0 4px; }
body.page-app .tc-top .crumbs ol { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: var(--tc-fs-sm); }
body.page-app .tc-top .crumbs li { display: flex; align-items: center; gap: 6px; min-width: 0; color: var(--tc-mute); }
body.page-app .tc-top .crumbs li + li::before { content: "/"; color: var(--tc-line-3); }
body.page-app .tc-top .crumbs a { color: var(--tc-mute); text-decoration: none; }
body.page-app .tc-top .crumbs a:hover { color: var(--tc-ink); }
body.page-app .tc-top .crumbs .is-current { color: var(--tc-ink); font-weight: 500; }
body.page-app .tc-top .topbar-title { font-size: var(--tc-fs-sm); font-weight: 500; color: var(--tc-ink); }
body.page-app .tc-top .topbar-actions { display: flex; align-items: center; gap: 6px; }
body.page-app .tc-pill { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border: 1px solid var(--tc-line-2); border-radius: var(--tc-pill); background: var(--tc-surface); color: var(--tc-ink); font-size: 12.5px; font-weight: 500; text-decoration: none; transition: background-color var(--tc-fast), border-color var(--tc-fast); }
body.page-app .tc-pill:hover { background: var(--tc-soft); border-color: var(--tc-line-3); color: var(--tc-ink); }
body.page-app .tc-pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--tc-acc); }
body.page-app .tc-bell { position: relative; display: inline-grid !important; place-items: center; }
body.page-app .tc-bell-dot { position: absolute; top: 2px; right: 1px; min-width: 15px; height: 15px; padding: 0 4px; border-radius: var(--tc-pill); background: var(--tc-acc); color: #fff; font-size: 9.5px; font-weight: 700; line-height: 15px; text-align: center; box-shadow: 0 0 0 2px #fff; }
body.page-app .tc-top .user-menu { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 8px 0 3px; border: 1px solid transparent; border-radius: var(--tc-pill); background: transparent; color: var(--tc-ink); transition: background-color var(--tc-fast), border-color var(--tc-fast); }
body.page-app .tc-top .user-menu:hover, body.page-app .tc-top .user-menu[aria-expanded="true"] { background: var(--tc-soft); border-color: var(--tc-line); }
body.page-app .tc-top .user-menu-text { line-height: 1.1; text-align: left; }
body.page-app .tc-top .user-menu-name { font-size: var(--tc-fs-sm); font-weight: 550; }
body.page-app .tc-top .user-menu-text small { font-size: 11px; color: var(--tc-mute); }
body.page-app .tc-top .user-menu .bi-chevron-down { color: var(--tc-faint); font-size: 11px; }
body.page-app .avatar { border-radius: 50%; background: var(--tc-soft); color: var(--tc-ink); }
body.page-app .acct-pop { width: 320px; padding: 8px !important; }
body.page-app .acct-pop-kicker { margin: 4px 6px 8px; font-size: 11.5px; font-weight: 500; color: var(--tc-mute); }
body.page-app .acct-tile { border-radius: var(--tc-r) !important; border: 1px solid var(--tc-line) !important; background: var(--tc-surface) !important; }
body.page-app .acct-tile:hover { background: var(--tc-soft) !important; }
body.page-app .acct-biz-row { border-radius: var(--tc-r-sm) !important; }
body.page-app .acct-biz-row:hover { background: var(--tc-hover) !important; }
body.page-app .acct-pop-foot { border-top: 1px solid var(--tc-line) !important; }

/* ---------- 5. BOTONES E INPUTS ---------- */
/* Botones: primary (negro) · secondary (borde) · ghost · danger · icon · estados hover/active/disabled/loading */
body.page-app .btn { display: inline-flex !important; align-items: center; justify-content: center; gap: 6px; min-height: 36px !important; padding: 0 14px !important; border-radius: var(--tc-r) !important; font-size: var(--tc-fs-sm) !important; font-weight: 500 !important; line-height: 1.2; letter-spacing: -.005em; box-shadow: none !important; transition: background-color var(--tc-fast), border-color var(--tc-fast), color var(--tc-fast), transform var(--tc-fast) !important; }
body.page-app .btn:active:not(:disabled) { transform: translateY(1px); }
body.page-app .btn-sm { min-height: 32px !important; padding: 0 11px !important; font-size: 12.5px !important; border-radius: var(--tc-r-sm) !important; }
body.page-app .btn-lg { min-height: 44px !important; padding: 0 20px !important; font-size: var(--tc-fs-md) !important; }
body.page-app .btn .bi { font-size: 1.05em; }
body.page-app :is(.btn-ink, .btn-dark, .btn-primary) { background: var(--tc-ink) !important; border: 1px solid var(--tc-ink) !important; color: #fff !important; }
body.page-app :is(.btn-ink, .btn-dark, .btn-primary):hover { background: #2A2A28 !important; border-color: #2A2A28 !important; }
body.page-app :is(.btn-outline-ink, .btn-outline-dark, .btn-outline-secondary, .btn-light, .btn-secondary, .btn-outline-primary) { background: var(--tc-surface) !important; border: 1px solid var(--tc-line-2) !important; color: var(--tc-ink) !important; }
body.page-app :is(.btn-outline-ink, .btn-outline-dark, .btn-outline-secondary, .btn-light, .btn-secondary, .btn-outline-primary):hover { background: var(--tc-soft) !important; border-color: var(--tc-line-3) !important; }
body.page-app :is(.btn-link, .btn-ghost) { background: transparent !important; border: 1px solid transparent !important; color: var(--tc-ink-2) !important; text-decoration: none !important; }
body.page-app :is(.btn-link, .btn-ghost):hover { background: var(--tc-hover) !important; color: var(--tc-ink) !important; }
body.page-app :is(.btn-danger, .btn-outline-danger) { background: var(--tc-surface) !important; border: 1px solid #F2C9C5 !important; color: var(--tc-err) !important; }
body.page-app :is(.btn-danger, .btn-outline-danger):hover { background: var(--tc-err) !important; border-color: var(--tc-err) !important; color: #fff !important; }
body.page-app .btn-success { background: var(--tc-ok) !important; border: 1px solid var(--tc-ok) !important; color: #fff !important; }
body.page-app .btn:disabled, body.page-app .btn.disabled { opacity: .45 !important; cursor: not-allowed; }
body.page-app .btn.is-loading { opacity: .8 !important; cursor: progress; }
body.page-app .btn .spinner-border { width: 14px; height: 14px; border-width: 2px; }
body.page-app .btn-icon { display: inline-grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid transparent; border-radius: var(--tc-r-sm); background: transparent; color: var(--tc-mute); transition: background-color var(--tc-fast), color var(--tc-fast), border-color var(--tc-fast); }
body.page-app .btn-icon:hover { background: var(--tc-hover); color: var(--tc-ink); }
body.page-app .btn-icon-sm { width: 30px; height: 30px; }
body.page-app .btn-icon-xs { width: 24px; height: 24px; border-radius: var(--tc-r-xs); font-size: 12px; }
body.page-app .btn-help { min-height: 32px !important; padding: 0 11px !important; border: 1px solid var(--tc-line-2) !important; border-radius: var(--tc-pill) !important; background: var(--tc-surface) !important; color: var(--tc-ink-2) !important; font-size: 12.5px !important; }
body.page-app .btn-help:hover { background: var(--tc-soft) !important; }

/* Inputs, selects, búsqueda y validaciones */
body.page-app .form-label { margin-bottom: 6px; color: var(--tc-ink); font-size: var(--tc-fs-sm) !important; font-weight: 500 !important; }
body.page-app :is(.form-control, .form-select) { min-height: 38px; padding: 8px 12px; border: 1px solid var(--tc-line-2) !important; border-radius: var(--tc-r) !important; background-color: var(--tc-surface) !important; color: var(--tc-ink) !important; font-size: var(--tc-fs) !important; box-shadow: none !important; transition: border-color var(--tc-fast), box-shadow var(--tc-fast) !important; }
body.page-app .form-select { padding-right: 34px; }
body.page-app textarea.form-control { min-height: 88px; line-height: 1.5; }
body.page-app :is(.form-control-sm, .form-select-sm) { min-height: 32px; padding: 5px 10px; font-size: var(--tc-fs-sm) !important; border-radius: var(--tc-r-sm) !important; }
body.page-app :is(.form-control, .form-select):hover:not(:disabled):not(:focus) { border-color: var(--tc-line-3) !important; }
body.page-app :is(.form-control, .form-select):focus { border-color: var(--tc-ink) !important; box-shadow: var(--tc-ring) !important; outline: 0; }
body.page-app .form-control::placeholder { color: var(--tc-faint); }
body.page-app :is(.form-control, .form-select):disabled, body.page-app .form-control[readonly] { background-color: var(--tc-soft) !important; color: var(--tc-mute) !important; }
body.page-app :is(.form-control, .form-select).is-invalid { border-color: var(--tc-err) !important; background-image: none; }
body.page-app :is(.form-control, .form-select).is-invalid:focus { box-shadow: 0 0 0 3px rgba(180, 35, 24, .12) !important; }
body.page-app .invalid-feedback { color: var(--tc-err); font-size: var(--tc-fs-xs); margin-top: 5px; }
body.page-app :is(.field-hint, .form-text) { color: var(--tc-mute); font-size: var(--tc-fs-xs); margin-top: 5px; }
body.page-app .optional { color: var(--tc-faint); font-weight: 400; }
body.page-app .input-group-text { border-color: var(--tc-line-2); background: var(--tc-soft); color: var(--tc-mute); border-radius: var(--tc-r); font-size: var(--tc-fs-sm); }
body.page-app .input-wrap.has-icon .input-icon { color: var(--tc-faint); }
body.page-app :is(.mod-search, .inv-search) .form-control, body.page-app input[type="search"].form-control { background-color: var(--tc-soft) !important; border-color: transparent !important; }
body.page-app :is(.mod-search, .inv-search) .form-control:focus, body.page-app input[type="search"].form-control:focus { background-color: var(--tc-surface) !important; border-color: var(--tc-ink) !important; }
body.page-app .form-check-input { width: 16px; height: 16px; border: 1.5px solid var(--tc-line-3); box-shadow: none !important; }
body.page-app .form-check-input:checked { background-color: var(--tc-ink); border-color: var(--tc-ink); }
body.page-app .form-check-input:focus { box-shadow: var(--tc-ring) !important; border-color: var(--tc-ink); }
body.page-app .form-switch .form-check-input { width: 32px; height: 18px; border-radius: var(--tc-pill); }
body.page-app .form-check-label { font-size: var(--tc-fs); color: var(--tc-ink-2); }

/* ---------- 6. TABS Y SUB-TABS ----------
   Pestañas subrayadas (secciones de un módulo) y segmentadas (filtros). */
body.page-app :is(.prod-subnav, .seg-tabs.is-line, .lg-tabs, .tc-tabs) { display: flex !important; align-items: center; gap: 20px !important; margin: 0 0 var(--tc-6) !important; padding: 0 !important; border: 0 !important; border-bottom: 1px solid var(--tc-line) !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; overflow-x: auto; scrollbar-width: none; }
body.page-app :is(.prod-subnav, .seg-tabs.is-line, .tc-tabs)::-webkit-scrollbar { display: none; }
body.page-app :is(.prod-subnav-item, .seg-tabs.is-line .seg-tab, .tc-tab) { position: relative; display: inline-flex !important; align-items: center; gap: 6px; height: 40px !important; margin: 0 0 -1px !important; padding: 0 !important; border: 0 !important; border-bottom: 2px solid transparent !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; color: var(--tc-mute) !important; font-size: var(--tc-fs-sm) !important; font-weight: 500 !important; white-space: nowrap; text-decoration: none; transition: color var(--tc-fast), border-color var(--tc-fast) !important; }
body.page-app :is(.prod-subnav-item, .seg-tabs.is-line .seg-tab, .tc-tab):hover { color: var(--tc-ink) !important; }
body.page-app :is(.prod-subnav-item, .seg-tabs.is-line .seg-tab, .tc-tab):is(.is-active, .active) { color: var(--tc-ink) !important; border-bottom-color: var(--tc-ink) !important; }
body.page-app .prod-subnav-item .bi { display: none; }
body.page-app .prod-subnav-badge { min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--tc-pill); background: var(--tc-acc) !important; color: #fff !important; font-size: 10.5px; font-weight: 600; line-height: 18px; text-align: center; }
body.page-app .prod-subnav-badge.is-muted { background: var(--tc-soft) !important; color: var(--tc-mute) !important; }
/* Segmentadas (filtros rápidos) */
body.page-app :is(.seg-tabs:not(.is-line), .segmented, .sm-periods, .notif-chips, .hx-chips) { display: inline-flex !important; align-items: center; gap: 2px !important; padding: 3px !important; border: 0 !important; border-radius: var(--tc-r) !important; background: var(--tc-soft) !important; box-shadow: none !important; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
body.page-app :is(.seg-tabs:not(.is-line) .seg-tab, .segmented-item) { display: inline-flex; align-items: center; height: 30px !important; padding: 0 12px !important; border: 0 !important; border-radius: var(--tc-r-sm) !important; background: transparent !important; color: var(--tc-mute) !important; font-size: var(--tc-fs-sm) !important; font-weight: 500 !important; white-space: nowrap; text-decoration: none; box-shadow: none !important; transition: background-color var(--tc-fast), color var(--tc-fast); }
body.page-app :is(.seg-tabs:not(.is-line) .seg-tab, .segmented-item):hover { color: var(--tc-ink) !important; }
body.page-app :is(.seg-tabs:not(.is-line) .seg-tab, .segmented-item).is-active { background: var(--tc-surface) !important; color: var(--tc-ink) !important; box-shadow: var(--tc-sh-1), 0 0 0 1px var(--tc-line) !important; }
body.page-app .nav-tabs { border-bottom: 1px solid var(--tc-line); gap: 20px; }
body.page-app .nav-tabs .nav-link { margin-bottom: -1px; padding: 10px 0; border: 0; border-bottom: 2px solid transparent; border-radius: 0; color: var(--tc-mute); font-size: var(--tc-fs-sm); font-weight: 500; background: none; }
body.page-app .nav-tabs .nav-link.active { color: var(--tc-ink); border-bottom-color: var(--tc-ink); background: none; }

/* ---------- 7. CARDS, PANELES Y LISTAS ---------- */
body.page-app :is(.panel, .tc-card, .card, .adm-card, .ord-card) { background: var(--tc-surface) !important; border: 1px solid var(--tc-line) !important; border-radius: var(--tc-r-lg) !important; box-shadow: none !important; }
body.page-app .panel { padding: var(--tc-6); }
body.page-app :is(.panel-title, .section-title) { font-size: var(--tc-fs-md) !important; font-weight: 600 !important; letter-spacing: -.015em !important; color: var(--tc-ink) !important; }
body.page-app .card-body { padding: var(--tc-5); }
body.page-app .list-group-item { border-color: var(--tc-line); }
body.page-app :is(a.panel, a.tc-card, .ord-card[data-href], .product-card) { transition: border-color var(--tc-fast), box-shadow var(--tc-fast), transform var(--tc-fast) !important; }
body.page-app :is(a.panel, a.tc-card, .product-card):hover { border-color: var(--tc-line-3) !important; box-shadow: var(--tc-sh-2) !important; }
body.page-app .kpi { border-radius: var(--tc-r-lg) !important; }
body.page-app :is(.kpi-value, .rep-stat-value) { font-weight: 600 !important; letter-spacing: -.025em !important; color: var(--tc-ink) !important; font-variant-numeric: tabular-nums; }
body.page-app :is(.kpi-label, .rep-stat-label) { color: var(--tc-mute) !important; font-size: var(--tc-fs-xs) !important; font-weight: 500 !important; }
body.page-app .num { font-variant-numeric: tabular-nums; }

/* ---------- 8. TABLAS ---------- */
body.page-app :is(.table, .adm-table, .rep-table, .import-table) { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--tc-fs-sm); color: var(--tc-ink); --bs-table-bg: transparent; --bs-table-hover-bg: var(--tc-soft); }
body.page-app :is(.table, .adm-table, .rep-table, .import-table) thead th { padding: 10px 12px !important; border-bottom: 1px solid var(--tc-line) !important; background: transparent !important; color: var(--tc-mute) !important; font-size: var(--tc-fs-xs) !important; font-weight: 500 !important; text-transform: none !important; letter-spacing: 0 !important; white-space: nowrap; }
body.page-app :is(.table, .adm-table, .rep-table, .import-table) tbody td { padding: 12px !important; border-bottom: 1px solid var(--tc-line) !important; vertical-align: middle; }
body.page-app :is(.table, .adm-table, .rep-table, .import-table) tbody tr:last-child td { border-bottom: 0 !important; }
body.page-app :is(.adm-table, .rep-table) tbody tr:hover td { background: var(--tc-soft); }
body.page-app .table-responsive { border-radius: var(--tc-r-lg); }

/* ---------- 9. BADGES Y ESTADOS ---------- */
body.page-app :is(.status, .ord-badge, .badge-soft, .adm-pill, .tc-badge, .store-badge) { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px !important; border: 0 !important; border-radius: var(--tc-pill) !important; font-size: 11.5px !important; font-weight: 500 !important; line-height: 1 !important; white-space: nowrap; }
body.page-app :is(.badge-soft, .tc-badge, .status-draft, .ord-badge.tone-muted) { background: var(--tc-soft) !important; color: var(--tc-ink-2) !important; }
body.page-app :is(.status-active, .ord-badge.tone-success) { background: var(--tc-ok-soft) !important; color: var(--tc-ok) !important; }
body.page-app :is(.status-warn, .ord-badge.tone-warn) { background: var(--tc-warn-soft) !important; color: var(--tc-warn) !important; }
body.page-app .ord-badge.tone-info { background: var(--tc-info-soft) !important; color: var(--tc-info) !important; }
body.page-app .ord-badge.tone-accent { background: var(--tc-acc-soft) !important; color: #B84A08 !important; }
body.page-app .ord-badge .bi { font-size: 11px; }
body.page-app .status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- 10. ENCABEZADOS DE MÓDULO ----------
   Jerarquía única: título → descripción → acciones → contenido. */
body.page-app :is(.page-head, .mod-head) { display: flex !important; align-items: flex-end !important; justify-content: space-between; flex-wrap: wrap; gap: var(--tc-3) var(--tc-4) !important; margin: 0 0 var(--tc-6) !important; padding: 0 !important; border: 0 !important; background: transparent !important; }
body.page-app :is(.page-title, .mod-title, h1.mod-title, .app-main.biz-page > * > h1.mod-title) { margin: 0 !important; font-size: var(--tc-fs-2xl) !important; font-weight: 600 !important; line-height: 1.15 !important; letter-spacing: -.03em !important; color: var(--tc-ink) !important; }
body.page-app h2.mod-title { font-size: var(--tc-fs-xl) !important; }
body.page-app :is(.page-lead, .mod-sub) { margin: 6px 0 0 !important; color: var(--tc-mute) !important; font-size: var(--tc-fs) !important; line-height: 1.5; }
body.page-app .page-kicker { margin: 0 0 4px !important; color: var(--tc-mute) !important; font-size: var(--tc-fs-sm) !important; font-weight: 500 !important; letter-spacing: 0 !important; text-transform: none !important; }
body.page-app .mod-actions { display: flex; align-items: center; flex-wrap: wrap; gap: var(--tc-2); }
body.page-app .mod-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--tc-3); margin: 0 0 var(--tc-5); }
body.page-app .mod-sep { color: var(--tc-line-3); }
body.page-app .section-head { display: flex; align-items: center; justify-content: space-between; gap: var(--tc-3); margin-bottom: var(--tc-3); }

/* ---------- 11. ENCABEZADO DEL NEGOCIO (páginas internas) ---------- */
body.page-app .biz-hero { display: flex !important; align-items: center; margin: 0 0 var(--tc-5) !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
body.page-app .biz-hero-main { display: flex; align-items: center; gap: var(--tc-3); min-width: 0; }
body.page-app .biz-hero-avatar { flex: none; display: inline-grid !important; place-items: center; width: 40px !important; height: 40px !important; border-radius: var(--tc-r) !important; overflow: hidden; background: var(--tc-ink) !important; color: #fff !important; font-size: var(--tc-fs-sm) !important; font-weight: 600; border: 0 !important; box-shadow: none !important; }
body.page-app .biz-hero-avatar img { width: 100%; height: 100%; object-fit: cover; }
body.page-app .biz-hero-title { display: flex; align-items: center; gap: var(--tc-2); min-width: 0; }
body.page-app .biz-hero .page-title { font-size: var(--tc-fs-lg) !important; font-weight: 600 !important; letter-spacing: -.02em !important; }
body.page-app .biz-hero-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; margin: 2px 0 0 !important; color: var(--tc-mute); font-size: var(--tc-fs-xs) !important; }
body.page-app .biz-hero-meta a { color: var(--tc-mute); text-decoration: none; }
body.page-app .biz-hero-meta a:hover { color: var(--tc-ink); text-decoration: underline; }
body.page-app .biz-hero-link { display: inline-flex; align-items: center; gap: 2px; min-width: 0; max-width: 280px; }
body.page-app .biz-cur { color: var(--tc-faint); }
/* Celular/tablet: herramientas como fila de pestañas deslizable */
@media (max-width: 991.98px) {
  body.page-app .app-main.biz-page > .biz-nav { display: flex !important; gap: 4px !important; margin: 0 -16px var(--tc-5) !important; padding: 0 16px 8px !important; min-height: 0 !important; border: 0 !important; border-bottom: 1px solid var(--tc-line) !important; background: transparent !important; box-shadow: none !important; overflow-x: auto; scrollbar-width: none; position: static !important; }
  body.page-app .app-main.biz-page > .biz-nav .biz-nav-item { height: 34px !important; padding: 0 12px !important; border-radius: var(--tc-pill) !important; font-size: var(--tc-fs-sm) !important; color: var(--tc-mute) !important; }
  body.page-app .app-main.biz-page > .biz-nav .biz-nav-item.is-active { background: var(--tc-ink) !important; color: #fff !important; }
  body.page-app .app-main.biz-page > .biz-nav .biz-nav-item.is-active :is(.biz-nav-icon, .bl-ic) { color: #fff !important; }
}

/* ---------- 12. MODALES, DRAWERS, DROPDOWNS, TOOLTIPS ---------- */
body.page-app .modal-backdrop.show { opacity: .32; }
body.page-app .modal-content { border: 1px solid var(--tc-line) !important; border-radius: var(--tc-r-xl) !important; box-shadow: var(--tc-sh-pop) !important; background: var(--tc-surface) !important; }
body.page-app .modal-header { padding: var(--tc-5) var(--tc-6) 0 !important; border: 0 !important; }
body.page-app .modal-body { padding: var(--tc-6) !important; }
body.page-app .modal-header + .modal-body { padding-top: var(--tc-4) !important; }
body.page-app .modal-footer { gap: var(--tc-2); padding: var(--tc-4) var(--tc-6) !important; border-top: 1px solid var(--tc-line) !important; background: transparent !important; }
body.page-app .modal-footer > * { margin: 0 !important; }
body.page-app :is(.modal-title, .modal-title-lg) { font-size: var(--tc-fs-lg) !important; font-weight: 600 !important; letter-spacing: -.02em !important; color: var(--tc-ink) !important; }
body.page-app .modal.fade .modal-dialog { transform: translateY(8px) scale(.985); transition: transform var(--tc-med) var(--tc-ease), opacity var(--tc-med); }
body.page-app .modal.show .modal-dialog { transform: none; }
body.page-app .offcanvas:not(.tc-side) { border-color: var(--tc-line) !important; box-shadow: var(--tc-sh-pop); }
body.page-app .offcanvas-end:not(.tc-side) { border-radius: var(--tc-r-xl) 0 0 var(--tc-r-xl); }
body.page-app .offcanvas-header { padding: var(--tc-5) var(--tc-6); border-bottom: 1px solid var(--tc-line); }
body.page-app .offcanvas-body { padding: var(--tc-6); }
body.page-app .dropdown-menu { --bs-dropdown-link-active-bg: var(--tc-hover); --bs-dropdown-link-active-color: var(--tc-ink); min-width: 200px; padding: 6px !important; border: 1px solid var(--tc-line) !important; border-radius: var(--tc-r-lg) !important; background: var(--tc-surface) !important; box-shadow: var(--tc-sh-pop) !important; font-size: var(--tc-fs-sm); animation: tc-pop var(--tc-fast) var(--tc-ease); }
body.page-app .dropdown-item { display: flex; align-items: center; gap: 10px; padding: 7px 10px !important; border-radius: var(--tc-r-sm) !important; color: var(--tc-ink) !important; font-size: var(--tc-fs-sm); }
body.page-app .dropdown-item:hover, body.page-app .dropdown-item:focus { background: var(--tc-hover) !important; }
body.page-app .dropdown-item > .bi { color: var(--tc-mute); }
body.page-app .dropdown-item small { color: var(--tc-mute); }
body.page-app .dropdown-item.text-danger, body.page-app .dropdown-item.text-danger > .bi { color: var(--tc-err) !important; }
body.page-app .dropdown-divider { margin: 6px 0; border-color: var(--tc-line); }
body.page-app .dropdown-header { padding: 6px 10px; color: var(--tc-mute); font-size: 11.5px; font-weight: 500; }
body.page-app .tooltip { --bs-tooltip-bg: var(--tc-ink); --bs-tooltip-border-radius: var(--tc-r-sm); --bs-tooltip-font-size: 12px; }
@keyframes tc-pop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- 13. TOASTS, ALERTAS Y ESTADOS VACÍOS ---------- */
body.page-app .app-toast { border: 1px solid var(--tc-line) !important; border-radius: var(--tc-r-lg) !important; background: var(--tc-surface) !important; color: var(--tc-ink) !important; box-shadow: var(--tc-sh-pop) !important; font-size: var(--tc-fs-sm); }
body.page-app :is(.callout, .alert) { display: flex; align-items: center; gap: var(--tc-3); padding: var(--tc-4) var(--tc-5) !important; border: 1px solid var(--tc-line) !important; border-radius: var(--tc-r-lg) !important; background: var(--tc-soft) !important; color: var(--tc-ink) !important; box-shadow: none !important; }
body.page-app .callout { margin-bottom: var(--tc-6); }
body.page-app .callout-icon { color: var(--tc-acc) !important; font-size: 18px; }
body.page-app .callout-body { display: grid; flex: 1; min-width: 0; font-size: var(--tc-fs-sm); }
body.page-app .callout-body span { color: var(--tc-mute); }
body.page-app .alert-danger { background: var(--tc-err-soft) !important; border-color: #F6D3CF !important; color: var(--tc-err) !important; }
body.page-app .alert-success { background: var(--tc-ok-soft) !important; border-color: #CDEBDD !important; color: var(--tc-ok) !important; }
body.page-app .alert-warning { background: var(--tc-warn-soft) !important; border-color: #F4E2BF !important; color: var(--tc-warn) !important; }
body.page-app :is(.empty, .tc-empty, .mod-empty) { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: var(--tc-12) var(--tc-6) !important; border: 1px dashed var(--tc-line-3) !important; border-radius: var(--tc-r-lg) !important; background: var(--tc-surface) !important; box-shadow: none !important; }
body.page-app :is(.empty, .tc-empty, .mod-empty) :is(h2, h3) { margin: var(--tc-2) 0 0 !important; font-size: var(--tc-fs-lg) !important; font-weight: 600 !important; }
body.page-app :is(.empty, .tc-empty, .mod-empty) p { max-width: 440px; margin: 0 0 var(--tc-3) !important; color: var(--tc-mute) !important; font-size: var(--tc-fs) !important; }
body.page-app :is(.empty-art, .tc-empty-art) { display: inline-grid !important; place-items: center; width: 48px !important; height: 48px !important; margin: 0 !important; border-radius: var(--tc-r-lg) !important; background: var(--tc-soft) !important; color: var(--tc-ink) !important; font-size: 22px !important; box-shadow: none !important; border: 0 !important; }
body.page-app .pager, body.page-app .adm-pager { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: var(--tc-6); }

/* ---------- 14. SKELETON / CARGA ---------- */
body.page-app .tc-skel, body.page-app .skeleton { position: relative; overflow: hidden; border-radius: var(--tc-r-sm); background: var(--tc-soft); color: transparent !important; }
body.page-app .tc-skel::after, body.page-app .skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent); animation: tc-shimmer 1.3s infinite; }
@keyframes tc-shimmer { to { transform: translateX(100%); } }
body.page-app .spinner-border { color: currentColor; }
body.page-app .app-main.fade-in { animation: tc-in var(--tc-med) var(--tc-ease) both; }
@keyframes tc-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ---------- 15. INICIO ---------- */
body.page-app .tc-home { max-width: 1080px; margin: 0 auto; }
body.page-app .tc-home-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: var(--tc-4); margin: var(--tc-4) 0 var(--tc-10); }
body.page-app .tc-eyebrow { margin: 0 0 6px; color: var(--tc-mute); font-size: var(--tc-fs-sm); font-weight: 500; }
body.page-app .tc-h1 { margin: 0; font-size: clamp(26px, 3vw, 32px) !important; font-weight: 600 !important; line-height: 1.1; letter-spacing: -.035em !important; }
body.page-app .tc-h2 { margin: 0 0 var(--tc-4); font-size: var(--tc-fs-xl) !important; font-weight: 600 !important; letter-spacing: -.03em !important; }
body.page-app .tc-h3 { margin: 0; font-size: var(--tc-fs-md) !important; font-weight: 600 !important; letter-spacing: -.015em !important; }
body.page-app .tc-muted { color: var(--tc-mute); font-size: var(--tc-fs-sm); }
body.page-app .tc-home-tools { display: flex; align-items: center; flex-wrap: wrap; gap: var(--tc-2); }
body.page-app .tc-section { margin-bottom: var(--tc-10); min-width: 0; }
body.page-app .tc-section-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--tc-3); min-height: 40px; margin-bottom: var(--tc-3); }
body.page-app .tc-section-head .tc-tabs { margin: 0 !important; border-bottom: 0 !important; gap: 16px !important; }
body.page-app .tc-section-head .tc-tab { height: 32px !important; }

/* Acciones principales: tarjetas visuales con una ilustración arriba y el texto abajo */
body.page-app .tc-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--tc-3); }
body.page-app .tc-actions.is-single { grid-template-columns: minmax(0, 420px); }
body.page-app .tc-action { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--tc-line); border-radius: var(--tc-r-lg); background: var(--tc-surface); color: var(--tc-ink); text-decoration: none; transition: border-color var(--tc-med), box-shadow var(--tc-med), transform var(--tc-med) var(--tc-ease); }
body.page-app .tc-action:hover { border-color: var(--tc-line-3); box-shadow: var(--tc-sh-2); transform: translateY(-2px); color: var(--tc-ink); }
body.page-app .tc-action-body { display: grid; gap: 2px; padding: var(--tc-3) var(--tc-4) var(--tc-4); }
body.page-app .tc-action-body strong { font-size: var(--tc-fs); font-weight: 600; }
body.page-app .tc-action-body small { color: var(--tc-mute); font-size: var(--tc-fs-xs); line-height: 1.45; }
body.page-app .tc-art { position: relative; display: grid; place-items: center; height: 132px; background: var(--tc-soft); overflow: hidden; border-bottom: 1px solid var(--tc-line); }
body.page-app .tc-art > * { transition: transform var(--tc-med) var(--tc-ease); }
body.page-app .tc-action:hover .tc-art > :first-child { transform: translateY(-3px) scale(1.02); }
/* Ilustración · producto */
body.page-app .tc-art-tiles { display: flex; gap: 8px; }
body.page-app .tc-art-tile { position: relative; width: 58px; height: 74px; border-radius: 10px; overflow: hidden; background: linear-gradient(160deg, #EDEBE6, #D9D6CF); box-shadow: var(--tc-sh-2); }
body.page-app .tc-art-tile:nth-child(2) { background: linear-gradient(160deg, #E4E8F6, #B9C4EA); transform: translateY(-8px); }
body.page-app .tc-art-tile:nth-child(3) { background: linear-gradient(160deg, #E3F1E8, #B5DCC3); }
body.page-app .tc-art-tile img { width: 100%; height: 100%; object-fit: cover; }
body.page-app .tc-art-tile b { position: absolute; left: 6px; right: 14px; bottom: 6px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .85); }
body.page-app .tc-art-plus { position: absolute; right: calc(50% - 104px); bottom: 22px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--tc-ink); color: #fff; font-size: 14px; box-shadow: var(--tc-sh-2); }
/* Ilustración · pedido */
body.page-app .tc-art-ticket { display: grid; gap: 6px; width: 150px; padding: 12px; border-radius: 12px; background: #fff; box-shadow: var(--tc-sh-2); }
body.page-app .tc-art-ticket b { font-size: 11px; font-weight: 600; }
body.page-app :is(.tc-art-ticket, .tc-art-post, .tc-art-doc) i { display: block; height: 5px; border-radius: 3px; background: var(--tc-line-2); }
body.page-app :is(.tc-art-ticket, .tc-art-post, .tc-art-doc) i.is-short { width: 60%; }
body.page-app .tc-art-ticket em { justify-self: start; margin-top: 2px; padding: 2px 8px; border-radius: var(--tc-pill); background: var(--tc-ok-soft); color: var(--tc-ok); font-size: 10px; font-style: normal; font-weight: 600; }
body.page-app .tc-art-chip { position: absolute; right: calc(50% - 96px); top: 26px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #25D366; color: #fff; font-size: 15px; box-shadow: var(--tc-sh-2); }
/* Ilustración · contenido para redes */
body.page-app .tc-art-post { display: grid; gap: 6px; width: 96px; padding: 7px 7px 10px; border-radius: 12px; background: #fff; box-shadow: var(--tc-sh-2); transform: rotate(-3deg); }
body.page-app .tc-art-post-img { display: block; height: 66px; border-radius: 7px; overflow: hidden; background: linear-gradient(135deg, #111111, #BDBAB3 55%, #ECEAE5); }
body.page-app .tc-art-post-img img { width: 100%; height: 100%; object-fit: cover; }
body.page-app .tc-art-dots { position: absolute; right: calc(50% - 92px); top: 30px; display: grid; gap: 6px; }
body.page-app .tc-art-dots i { width: 14px; height: 14px; border-radius: 50%; background: #F3B9D6; box-shadow: var(--tc-sh-1); }
body.page-app .tc-art-dots i:nth-child(2) { background: #B8D3F5; transform: translateX(-10px); }
body.page-app .tc-art-dots i:nth-child(3) { background: #BFE3C9; }
/* Ilustración · cotización y caja */
body.page-app .tc-art-doc { display: grid; gap: 6px; width: 108px; padding: 12px; border-radius: 8px; background: #fff; box-shadow: var(--tc-sh-2); }
body.page-app .tc-art-doc b { width: 40%; height: 7px; border-radius: 3px; background: var(--tc-ink); }
body.page-app .tc-art-doc em { justify-self: end; width: 34px; height: 8px; border-radius: 3px; background: var(--tc-acc); }
body.page-app .tc-art-pos { display: grid; gap: 6px; justify-items: center; width: 110px; padding: 12px; border-radius: 12px; background: var(--tc-ink); color: #fff; box-shadow: var(--tc-sh-2); }
body.page-app .tc-art-pos b { font-size: 22px; font-weight: 600; }
body.page-app .tc-art-pos i { display: block; width: 100%; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .25); }
/* Ilustración · crear negocio */
body.page-app .tc-art-store { display: grid; grid-template-columns: repeat(3, 34px); gap: 6px; padding: 12px; border-radius: 12px; background: #fff; box-shadow: var(--tc-sh-2); }
body.page-app .tc-art-store i { height: 34px; border-radius: 7px; background: linear-gradient(160deg, #EDEBE6, #D9D6CF); }
body.page-app .tc-art-store i:nth-child(2) { background: linear-gradient(160deg, #E4E8F6, #B9C4EA); }
body.page-app .tc-art-store i:nth-child(3) { background: linear-gradient(160deg, #E3F1E8, #B5DCC3); }
body.page-app .tc-art-store b { grid-column: 1 / -1; font-size: 10px; font-weight: 500; color: var(--tc-mute); }

/* Accesos rápidos (píldoras) */
body.page-app .tc-quick { display: flex; flex-wrap: wrap; gap: var(--tc-2); margin-top: var(--tc-3); }
body.page-app .tc-quick > .tc-chip { flex: 1 1 0; min-width: 112px; }
body.page-app .tc-chip { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 10px; white-space: nowrap; border: 1px solid var(--tc-line); border-radius: var(--tc-r-lg); background: var(--tc-surface); color: var(--tc-ink); font-size: var(--tc-fs-sm); font-weight: 500; text-decoration: none; transition: border-color var(--tc-fast), background-color var(--tc-fast), transform var(--tc-fast); }
body.page-app .tc-chip .bi { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: var(--tc-r-sm); background: var(--tc-soft); color: var(--tc-ink); font-size: 14px; }
body.page-app .tc-chip:hover { border-color: var(--tc-line-3); background: var(--tc-soft); color: var(--tc-ink); }
body.page-app .tc-chip:hover .bi { background: var(--tc-surface); }

/* Recientes + Pendientes */
body.page-app .tc-home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--tc-8); align-items: start; }
body.page-app .tc-home-grid > .tc-section { margin-bottom: var(--tc-10); }
body.page-app .tc-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--tc-3); }
body.page-app .tc-tile { display: grid; gap: 2px; min-width: 0; color: var(--tc-ink); text-decoration: none; }
body.page-app .tc-tile-img { display: grid; place-items: center; aspect-ratio: 1; margin-bottom: 8px; border-radius: var(--tc-r-lg); overflow: hidden; background: var(--tc-soft); color: var(--tc-faint); font-size: 22px; border: 1px solid var(--tc-line); }
body.page-app .tc-tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--tc-med) var(--tc-ease); }
body.page-app .tc-tile:hover .tc-tile-img img { transform: scale(1.04); }
body.page-app .tc-tile strong { font-size: var(--tc-fs-sm); font-weight: 500; }
body.page-app .tc-tile small { color: var(--tc-mute); font-size: var(--tc-fs-xs); }
body.page-app .tc-rows { margin: 0; padding: 0; list-style: none; border: 1px solid var(--tc-line); border-radius: var(--tc-r-lg); overflow: hidden; }
body.page-app .tc-rows li + li { border-top: 1px solid var(--tc-line); }
body.page-app .tc-row { display: flex; align-items: center; gap: var(--tc-3); padding: 12px var(--tc-4); color: var(--tc-ink); text-decoration: none; transition: background-color var(--tc-fast); }
body.page-app .tc-row:hover { background: var(--tc-soft); }
body.page-app .tc-row-ic { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--tc-soft); font-size: 11px; font-weight: 600; color: var(--tc-ink-2); }
body.page-app .tc-row-main { display: grid; flex: 1; line-height: 1.3; }
body.page-app .tc-row-main strong { font-size: var(--tc-fs-sm); font-weight: 500; }
body.page-app .tc-row-main small { color: var(--tc-mute); font-size: var(--tc-fs-xs); }
body.page-app .tc-row-num { flex: none; min-width: 84px; text-align: right; font-size: var(--tc-fs-sm); font-weight: 500; font-variant-numeric: tabular-nums; }
body.page-app .tc-more { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--tc-4); color: var(--tc-mute); font-size: var(--tc-fs-sm); font-weight: 500; text-decoration: none; }
body.page-app .tc-more:hover { color: var(--tc-ink); }
body.page-app .tc-more .bi { transition: transform var(--tc-fast); }
body.page-app .tc-more:hover .bi { transform: translateX(3px); }
body.page-app .tc-empty.is-inline { padding: var(--tc-8) var(--tc-6) !important; }
body.page-app .tc-todo { padding: 6px; }
body.page-app .tc-progress { height: 4px; margin: 8px 10px 6px; border-radius: 2px; background: var(--tc-soft); overflow: hidden; }
body.page-app .tc-progress span { display: block; width: 0; height: 100%; border-radius: 2px; background: var(--tc-ink); transition: width 600ms var(--tc-ease); }
body.page-app .tc-todo-list { margin: 0; padding: 0; list-style: none; }
body.page-app .tc-todo-list a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--tc-r-sm); color: var(--tc-ink); font-size: var(--tc-fs-sm); text-decoration: none; transition: background-color var(--tc-fast); }
body.page-app .tc-todo-list a:hover { background: var(--tc-soft); }
body.page-app .tc-todo-list a > .bi:first-child { flex: none; color: var(--tc-faint); font-size: 14px; }
body.page-app .tc-todo-list a.is-alert > .bi:first-child { color: var(--tc-acc); }
body.page-app .tc-todo-list a.is-warn > .bi:first-child { color: var(--tc-warn); }
body.page-app .tc-todo-list a span { flex: 1; min-width: 0; }
body.page-app .tc-todo-go { color: var(--tc-faint); font-size: 12px; transition: transform var(--tc-fast); }
body.page-app .tc-todo-list a:hover .tc-todo-go { transform: translateX(2px); color: var(--tc-ink); }
body.page-app .tc-todo-ok { display: flex; align-items: center; gap: var(--tc-3); padding: var(--tc-4); }
body.page-app .tc-todo-ok > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--tc-ok-soft); color: var(--tc-ok); font-size: 16px; }
body.page-app .tc-todo-ok div { display: grid; line-height: 1.3; }
body.page-app .tc-todo-ok strong { font-size: var(--tc-fs-sm); font-weight: 600; }
body.page-app .tc-todo-ok small { color: var(--tc-mute); font-size: var(--tc-fs-xs); }

/* Indicadores */
body.page-app .tc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); border: 1px solid var(--tc-line); border-radius: var(--tc-r-lg); overflow: hidden; background: var(--tc-surface); }
body.page-app .tc-stat { display: grid; gap: 4px; min-width: 0; padding: var(--tc-4) var(--tc-5); color: var(--tc-ink); text-decoration: none; border-right: 1px solid var(--tc-line); transition: background-color var(--tc-fast); }
body.page-app .tc-stat:last-child { border-right: 0; }
body.page-app a.tc-stat:hover { background: var(--tc-soft); }
body.page-app .tc-stat small { color: var(--tc-mute); font-size: var(--tc-fs-xs); font-weight: 500; }
body.page-app .tc-stat strong { font-size: 24px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
body.page-app .tc-stat.is-alert strong { color: var(--tc-acc); }
body.page-app .tc-stat.is-warn strong { color: var(--tc-warn); }
body.page-app .tc-stat-url { display: flex; align-items: center; gap: 4px; min-width: 0; font-size: var(--tc-fs-sm); font-weight: 500; }
body.page-app .tc-stat-url a { color: var(--tc-ink); text-decoration: none; min-width: 0; }
body.page-app .tc-stat-url a:hover { text-decoration: underline; }

/* Tus negocios y pasos iniciales */
body.page-app .tc-biz-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--tc-2); }
body.page-app .tc-biz { display: flex; align-items: center; gap: var(--tc-3); padding: 10px 12px; border: 1px solid var(--tc-line); border-radius: var(--tc-r-lg); color: var(--tc-ink); text-decoration: none; font-size: var(--tc-fs-sm); line-height: 1.3; transition: border-color var(--tc-fast), background-color var(--tc-fast); }
body.page-app .tc-biz .tc-biz-logo { width: 36px; height: 36px; border-radius: var(--tc-r); }
body.page-app .tc-biz small { color: var(--tc-mute); font-size: var(--tc-fs-xs); }
body.page-app .tc-biz:hover { border-color: var(--tc-line-3); background: var(--tc-soft); }
body.page-app .tc-biz.is-active { border-color: var(--tc-ink); }
body.page-app .tc-biz .bi-chevron-right { color: var(--tc-faint); }
body.page-app .tc-steps { display: flex; flex-wrap: wrap; gap: var(--tc-2) var(--tc-6); margin: var(--tc-5) 0 0; padding: 0; list-style: none; color: var(--tc-mute); font-size: var(--tc-fs-sm); }
body.page-app .tc-steps li { display: flex; align-items: center; gap: 8px; }
body.page-app .tc-steps span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--tc-soft); color: var(--tc-ink); font-size: 11px; font-weight: 600; }
body.page-app .tc-callout { margin-bottom: var(--tc-8); }

/* Aparición escalonada (tc.js agrega .is-in) */
body.page-app [data-tc-reveal] > * { opacity: 0; transform: translateY(6px); }
body.page-app [data-tc-reveal].is-in > * { opacity: 1; transform: none; transition: opacity 320ms var(--tc-ease) var(--tc-d, 0ms), transform 320ms var(--tc-ease) var(--tc-d, 0ms), border-color var(--tc-med), box-shadow var(--tc-med), background-color var(--tc-fast); }
body.page-app [data-tc-reveal].is-in > .tc-action:hover { transform: translateY(-2px); }

/* ---------- 16. RESPONSIVE ---------- */
@media (max-width: 1199.98px) {
  body.page-app .tc-home-grid { grid-template-columns: minmax(0, 1fr) 280px; gap: var(--tc-6); }
  body.page-app .tc-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.page-app .tc-tiles > :nth-child(4) { display: none; }
}
@media (max-width: 991.98px) {
  body.page-app .app-main { padding: var(--tc-5) 16px var(--tc-10) !important; }
  body.page-app .topbar.tc-top { padding: 0 12px 0 8px !important; }
  body.page-app .tc-side { background: var(--tc-surface); }
  body.page-app .tc-side-head { height: 56px; }
  body.page-app .tc-home-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  body.page-app .tc-home-head { margin-bottom: var(--tc-8); }
}
@media (max-width: 767.98px) {
  body.page-app .tc-actions { grid-template-columns: minmax(0, 1fr); }
  body.page-app .tc-action { flex-direction: row; align-items: stretch; }
  body.page-app .tc-art { width: 112px; height: auto; min-height: 92px; flex: none; border-bottom: 0; border-right: 1px solid var(--tc-line); }
  body.page-app .tc-art > :first-child { transform: scale(.62); }
  body.page-app .tc-action:hover .tc-art > :first-child { transform: scale(.64); }
  body.page-app :is(.tc-art-plus, .tc-art-chip, .tc-art-dots) { display: none; }
  body.page-app .tc-action-body { align-content: center; padding: var(--tc-3) var(--tc-4); }
  body.page-app .tc-quick > .tc-chip { flex-basis: calc(50% - 4px); }
  body.page-app .tc-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.page-app .tc-tiles > :nth-child(4) { display: grid; }
  body.page-app .tc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.page-app .tc-stat { border-bottom: 1px solid var(--tc-line); }
  body.page-app .tc-stat:nth-child(2n) { border-right: 0; }
  body.page-app .tc-stat.is-link { grid-column: 1 / -1; border-bottom: 0; }
  body.page-app .tc-row .ord-badge { display: none; }
  body.page-app :is(.page-title, .mod-title) { font-size: var(--tc-fs-xl) !important; }
  body.page-app .modal-content { border-radius: var(--tc-r-lg) !important; }
}
@media (max-width: 575.98px) {
  body.page-app .tc-top .tc-pill { display: none !important; }
  body.page-app .tc-home-tools .btn-help span { display: none; }
}

/* ---------- 17. MOVIMIENTO ---------- */
@media (prefers-reduced-motion: reduce) {
  body.page-app *, body.page-app *::before, body.page-app *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; }
  body.page-app [data-tc-reveal] > * { opacity: 1; transform: none; }
}

/* ---------- 18. IMPRESIÓN ---------- */
@media print {
  body.page-app { background: #fff !important; }
  body.page-app :is(.tc-side, .tc-top, .biz-nav) { display: none !important; }
  body.page-app .app-body { margin: 0; border: 0; border-radius: 0; box-shadow: none; }
}

/* ---------- 19. PRIORIDAD SOBRE CAPAS ANTERIORES ----------
   Reglas con más peso para reemplazar el diseño viejo del encabezado del negocio y la columna de herramientas. */
@media (min-width: 992px) {
  html body.page-app.tc .app-main.biz-page > .biz-nav, html body.page-app.tc .app-main > .biz-nav { display: none !important; }
}
html body.page-app.tc .app-main.biz-page > :not(.tc-x):not(.tc-y) { margin-left: 0 !important; margin-right: 0 !important; max-width: none !important; width: auto; }
html body.page-app.tc .app-main.biz-page > .biz-hero { margin: 0 0 var(--tc-5) !important; }
html body.page-app.tc .biz-hero { overflow: visible; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
html body.page-app.tc .biz-hero::before, html body.page-app.tc .biz-hero::after { display: none !important; content: none !important; }
html body.page-app.tc .biz-hero-main { padding: 0 !important; gap: var(--tc-3); }
html body.page-app.tc .biz-hero-avatar { width: 40px !important; height: 40px !important; border-radius: var(--tc-r) !important; background: var(--tc-ink) !important; color: #fff !important; box-shadow: none !important; }
html body.page-app.tc .biz-hero .page-title { font-size: var(--tc-fs-lg) !important; font-weight: 600 !important; letter-spacing: -.02em !important; }
html body.page-app.tc .biz-hero-meta { gap: 2px 14px !important; margin-top: 2px !important; font-size: var(--tc-fs-xs) !important; }
html body.page-app.tc .biz-hero-meta > span { height: auto; padding: 0 !important; border-radius: 0; background: transparent !important; color: var(--tc-mute) !important; }
html body.page-app.tc .biz-hero-link a { color: var(--tc-mute) !important; }
html body.page-app.tc .biz-hero-link .btn-icon { width: 22px; height: 22px; margin: 0; }
html body.page-app.tc .biz-cur { color: var(--tc-faint) !important; }
html body.page-app.tc .biz-cur .bi { display: none; }
html body.page-app.tc .app-main h1.page-title:not(.biz-hero h1) { font-size: var(--tc-fs-2xl) !important; font-weight: 600 !important; }
html body.page-app.tc .verify-banner, html body.page-app.tc .app-main > .callout:first-child { margin-left: 0 !important; margin-right: 0 !important; }
@media (max-width: 991.98px) {
  html body.page-app.tc { background: var(--tc-surface) !important; }
  html body.page-app.tc .app-main.biz-page > .biz-nav { gap: 4px !important; margin: 0 -16px var(--tc-5) !important; padding: 0 16px 10px !important; border-bottom: 1px solid var(--tc-line) !important; }
  html body.page-app.tc .app-main.biz-page > .biz-nav .biz-nav-item { height: 34px !important; padding: 0 12px !important; gap: 6px !important; border-radius: var(--tc-pill) !important; font-size: var(--tc-fs-sm) !important; color: var(--tc-mute) !important; background: transparent !important; }
  html body.page-app.tc .app-main.biz-page > .biz-nav .biz-nav-item:hover { background: var(--tc-soft) !important; color: var(--tc-ink) !important; }
  html body.page-app.tc .app-main.biz-page > .biz-nav .biz-nav-item.is-active { background: var(--tc-ink) !important; color: #fff !important; }
  html body.page-app.tc .app-main.biz-page > .biz-nav .biz-nav-item.is-active :is(.biz-nav-icon, .bl-ic, .biz-nav-label, .bl-label, .ic, .bi) { color: #fff !important; }
  html body.page-app.tc .app-main.biz-page > .biz-nav :is(.biz-nav-icon, .bl-ic) { width: 18px !important; height: 18px !important; }
}

/* =====================================================================
   v3.2 · FASE 1 y 2 (línea ElevenLabs)
   ===================================================================== */
/* --- Shell: menú blanco separado por una línea, contenido blanco a pantalla completa --- */
body.page-app { background: var(--tc-surface) !important; }
@media (min-width: 992px) {
  body.page-app .tc-side { background: var(--tc-surface) !important; border-right: 1px solid var(--tc-line) !important; }
  body.page-app .app-body { margin: 0 !important; min-height: 100vh !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
}
body.page-app .tc-side { background: var(--tc-surface); }
body.page-app .tc-side-head { height: 56px; }
body.page-app .tc-ctx { padding: 0 var(--tc-3) var(--tc-3); }
body.page-app .tc-ctx-btn { width: 100%; border: 1px solid var(--tc-line) !important; border-radius: 10px !important; background: var(--tc-surface) !important; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
body.page-app .tc-ctx-btn:hover { background: var(--tc-soft) !important; }
body.page-app .tc-nav .tc-label { margin-top: 14px; padding-left: 12px; font-size: 11.5px; font-weight: 500; color: var(--tc-faint); letter-spacing: 0; text-transform: none; }
body.page-app .tc-nav .tc-link { border-radius: 8px; }
/* Grupo «Cuenta» plegable */
body.page-app .tc-acc { margin: 0; }
body.page-app .tc-acc-sum { display: flex !important; align-items: center; justify-content: space-between; list-style: none; cursor: pointer; padding-right: 10px; border-radius: 6px; user-select: none; }
body.page-app .tc-acc-sum::-webkit-details-marker { display: none; }
body.page-app .tc-acc-sum:hover { color: var(--tc-ink); }
body.page-app .tc-acc-caret { font-size: 11px; transition: transform var(--tc-fast); }
body.page-app .tc-acc:not([open]) .tc-acc-caret { transform: rotate(-90deg); }
body.page-app.sidebar-mini .tc-acc-sum { display: none !important; }
body.page-app.sidebar-mini .tc-acc > .tc-acc-body { display: block !important; }

/* --- Selector de negocio en ventana centrada --- */
.tc-biz-modal .modal-dialog { max-width: 440px; }
.tc-biz-modal .modal-content { border: 1px solid var(--tc-line, #EAEAE8); border-radius: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.14); overflow: hidden; }
.tc-bm-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 20px 12px; }
.tc-bm-title { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.tc-bm-sub { margin: 4px 0 0; font-size: 13px; color: var(--tc-mute, #6B6B6B); }
.tc-bm-list { display: flex; flex-direction: column; gap: 2px; max-height: 50vh; overflow: auto; padding: 4px 10px 10px; }
.tc-bm-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; color: inherit; text-decoration: none; font-size: 14px; }
.tc-bm-item small { color: var(--tc-mute, #6B6B6B); font-size: 12px; }
.tc-bm-item:hover { background: var(--tc-soft, #F4F4F3); }
.tc-bm-item.is-active { background: var(--tc-soft, #F4F4F3); }
.tc-bm-item .tc-biz-logo { width: 36px; height: 36px; flex: none; }
.tc-bm-foot { padding: 12px 20px 20px; border-top: 1px solid var(--tc-line, #EAEAE8); }

/* --- Configuración: título, pestañas y filas --- */
body.page-app .set-head { margin-bottom: 18px; }
body.page-app .set .set-title { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -.025em; }
body.page-app .set-sub { margin: 4px 0 0; color: var(--tc-mute); font-size: 14px; }
body.page-app .set-group { margin: 8px 0 28px; }
body.page-app .set-group-t { margin: 0 0 4px; font-size: 15px; font-weight: 600; }
body.page-app .set-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--tc-line); }
body.page-app .set-row-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
body.page-app .set-row-text strong { font-size: 14px; font-weight: 500; }
body.page-app .set-row-text span { font-size: 13px; color: var(--tc-mute); }
body.page-app .set-row-btn { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border: 1px solid var(--tc-line-2) !important; border-radius: 999px !important; background: var(--tc-surface) !important; color: var(--tc-ink) !important; font-size: 13px; font-weight: 500; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
body.page-app .set-row-btn:hover { background: var(--tc-soft) !important; }
.set-modal .modal-dialog { max-width: 520px; }
.set-modal .modal-content { border: 1px solid var(--tc-line, #EAEAE8); border-radius: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.14); }
.set-modal-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px 8px; }
.set-modal-t { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.set-modal-body { padding: 4px 22px; }
.set-toggle { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--tc-line, #EAEAE8); }
.set-toggle:last-child { border-bottom: 0; }
.set-toggle label { display: flex; flex-direction: column; gap: 2px; margin: 0; cursor: pointer; }
.set-toggle strong { font-size: 14px; font-weight: 500; }
.set-toggle small { font-size: 12.5px; color: var(--tc-mute, #6B6B6B); }
.set-toggle .form-check-input { width: 2.2em; height: 1.2em; cursor: pointer; }
.set-toggle .form-check-input:checked { background-color: #0B0B0B; border-color: #0B0B0B; }
.set-modal-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 22px 20px; }

/* --- Almacenamiento (Image Generator) --- */
body.page-app .stg-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
body.page-app .stg-title { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -.025em; }
body.page-app .stg-cap { margin-bottom: 22px; padding: 16px 18px; border: 1px solid var(--tc-line); border-radius: 14px; background: var(--tc-surface); }
body.page-app .stg-cap-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
body.page-app .stg-cap-num { margin: 0; font-size: 14px; color: var(--tc-mute); }
body.page-app .stg-cap-num strong { color: var(--tc-ink); font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
body.page-app .stg-cap-meta { font-size: 12.5px; color: var(--tc-mute); }
body.page-app .stg-cap .stg-bar { height: 6px; border-radius: 999px; background: var(--tc-soft); overflow: hidden; display: flex; }
body.page-app .stg-cap.is-danger .stg-cap-meta, body.page-app .stg-cap.is-full .stg-cap-meta { color: #C2410C; }
body.page-app .stg-cap-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 12.5px; color: var(--tc-mute); }
body.page-app .stg-cap-legend > span { display: inline-flex; align-items: center; gap: 6px; }
body.page-app .stg-cap-legend b { color: var(--tc-ink); font-weight: 500; }
body.page-app .stg-cap-free { margin-left: auto; }
body.page-app .stg-filters { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: -6px 0 16px; }
body.page-app .stg-count { font-size: 13px; color: var(--tc-mute); }
body.page-app .stg-filters-r { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
body.page-app .stg-filters .hx-chips { margin: 0; flex-wrap: wrap; }
body.page-app .stg-filters .stg-sorts { display: flex; gap: 8px; }
body.page-app .stg-filters .form-select-sm { height: 32px; border-radius: 999px; font-size: 13px; }
body.page-app .stg-grid.is-masonry { display: block; columns: 4 220px; column-gap: 12px; }
body.page-app .stg-grid.is-masonry .stg-file { display: flex; break-inside: avoid; margin-bottom: 12px; border-radius: 14px; }
body.page-app .stg-grid.is-masonry .stg-thumb { aspect-ratio: auto; }
body.page-app .stg-grid.is-masonry .stg-thumb img { height: auto; }
@media (max-width: 575.98px) { body.page-app .stg-grid.is-masonry { columns: 2; column-gap: 8px; } }

/* --- v3.2b · Configuración: todas las pestañas con la misma estructura (filas + desplegables) --- */
body.page-app .set { max-width: 920px; }
body.page-app .set .hx-head { display: none; }
body.page-app .set-group-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--tc-line); }
body.page-app .set-group-head .set-group-t { margin: 0; }
body.page-app .set-group-d { margin: 2px 0 0; font-size: 13px; color: var(--tc-mute); }
body.page-app .set-group > .set-group-t { padding-bottom: 8px; border-bottom: 1px solid var(--tc-line); }
body.page-app .set-row { min-height: 64px; }
body.page-app .set-row .tfa-state { margin-left: 6px; font-size: 11px; vertical-align: 1px; }
body.page-app .set-row-note { flex: none; font-size: 12.5px; color: var(--tc-mute); }
body.page-app .set-ic { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--tc-soft); color: var(--tc-ink-2); }
body.page-app .set-device .set-row-text, body.page-app .set-activity .set-row-text { flex: 1; }
body.page-app .set-device, body.page-app .set-activity { justify-content: flex-start; }
body.page-app .set-activity .set-row-text strong { font-weight: 400; }
/* Fila desplegable */
body.page-app details.set-item { border-bottom: 1px solid var(--tc-line); }
body.page-app details.set-item > summary.set-row { list-style: none; cursor: pointer; border-bottom: 0; }
body.page-app details.set-item > summary::-webkit-details-marker { display: none; }
body.page-app details.set-item > summary .set-row-text { flex: 1; }
body.page-app details.set-item > summary:hover .set-row-btn { background: var(--tc-soft) !important; }
body.page-app .set-row-btn .is-o, body.page-app details.set-item[open] > summary .set-row-btn .is-c { display: none; }
body.page-app details.set-item[open] > summary .set-row-btn .is-o { display: inline; }
body.page-app .set-fold { padding: 4px 0 22px; max-width: 640px; animation: fadeIn .2s ease; }
body.page-app .set-fold .field { margin-bottom: 14px; }
body.page-app .set-fold-actions { display: flex !important; justify-content: flex-end; gap: 8px; margin-top: 18px !important; padding: 0 !important; border: 0 !important; background: none !important; position: static !important; box-shadow: none !important; }
body.page-app .set .edit-section { padding: 0 !important; margin: 0 !important; border: 0; border-bottom: 1px solid var(--tc-line) !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; }
body.page-app .set .edit-section .panel-title { margin: 0; font-size: 14px !important; font-weight: 500 !important; letter-spacing: 0; }
body.page-app .set .edit-dirty { flex: none; font-size: 11.5px; padding: 2px 8px; border-radius: 999px; background: #FFF4E5; color: #B45309; }
body.page-app .set .danger-zone { padding: 16px 0 !important; border: 0 !important; background: none !important; }
body.page-app .set-biz { display: flex; align-items: center; gap: 12px; padding: 4px 0 16px; border-bottom: 1px solid var(--tc-line); }
body.page-app .set-biz strong { font-size: 15px; font-weight: 600; }
body.page-app .set-biz span { font-size: 13px; color: var(--tc-mute); }
body.page-app .set-biz-logo { width: 44px; height: 44px; flex: none; border-radius: 12px; object-fit: cover; border: 1px solid var(--tc-line); }
body.page-app .set-biz-logo.is-empty { display: grid; place-items: center; background: var(--tc-soft); font-weight: 600; font-size: 14px; }
/* Perfil */
body.page-app .set-photo { display: flex !important; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; margin: 0 !important; }
/* Equipo */
body.page-app .set .team-list { border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; }
body.page-app .set .team-item { padding: 14px 0 !important; border-bottom: 1px solid var(--tc-line) !important; border-radius: 0 !important; background: none !important; }
body.page-app .set .team-empty, body.page-app .set .team-creds { margin-top: 16px; border: 1px solid var(--tc-line); border-radius: 14px; box-shadow: none; }
@media (max-width: 575.98px) {
  body.page-app .set-row, body.page-app .set-group-head { flex-wrap: wrap; }
  body.page-app .set-photo { justify-content: flex-start; }
}

/* --- v3.2c · Filas de Configuración como ventana emergente centrada --- */
body.page-app .set .edit-section, body.page-app details.set-item { animation: none !important; transform: none !important; }
body.page-app details.set-item[open]::before { content: ""; position: fixed; inset: 0; z-index: 1040; background: rgba(15, 15, 15, .42); cursor: default; animation: setFade .18s ease; }
body.page-app details.set-item[open] > .set-fold { position: fixed; z-index: 1041; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(600px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 48px); overflow: auto; padding: 0 24px 22px; border: 1px solid var(--tc-line); border-radius: 16px; background: var(--tc-surface); box-shadow: 0 24px 60px rgba(0,0,0,.18); animation: setPop .2s ease; cursor: auto; }
body.page-app .set .edit-section[open] > .set-fold { width: min(720px, calc(100vw - 32px)); }
body.page-app .set-fold-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 -24px 14px; padding: 20px 24px 12px; background: var(--tc-surface); border-bottom: 1px solid var(--tc-line); }
body.page-app .set-fold-t { margin: 0; font-size: 17px !important; font-weight: 600; letter-spacing: -.02em; }
body.page-app details.set-item[open] .set-fold-actions { position: sticky !important; bottom: -22px; z-index: 2; margin: 18px -24px -22px !important; padding: 14px 24px !important; background: var(--tc-surface) !important; border-top: 1px solid var(--tc-line) !important; }
body.page-app details.set-item[open] > summary .set-row-btn .is-o { display: none; }
body.page-app details.set-item[open] > summary .set-row-btn .is-c { display: inline; }
body.set-pop-open { overflow: hidden; }
/* Contenido del negocio con más aire dentro de la ventana */
body.page-app .set-fold .field, body.page-app .set-fold fieldset { margin-bottom: 18px; }
body.page-app .set-fold .form-label { font-size: 13px; font-weight: 500; margin-bottom: 6px; }
body.page-app .set-fold :is(.choice-grid, .choice-grid-3, .cat-grid, .pay-grid) { gap: 10px !important; }
body.page-app .set-fold .field-hint, body.page-app .set-fold .edit-note { font-size: 12.5px; color: var(--tc-mute); }
@keyframes setFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes setPop { from { opacity: 0; transform: translate(-50%, -48%); } to { opacity: 1; transform: translate(-50%, -50%); } }
@media (max-width: 575.98px) {
  body.page-app details.set-item[open] > .set-fold { top: auto; bottom: 0; left: 0; transform: none; width: 100vw !important; max-height: 90vh; border-radius: 16px 16px 0 0; animation: setFade .2s ease; }
}

/* --- v3.2d · Ventana emergente siempre centrada en pantalla + Configuración a todo el ancho --- */
.set-no-tf { transform: none !important; filter: none !important; perspective: none !important; contain: none !important; will-change: auto !important; backdrop-filter: none !important; animation: none !important; container-type: normal !important; }
body.page-app .set { max-width: none !important; width: 100%; margin: 0 !important; }
body.page-app .set .set-body, body.page-app .set .set-stack { max-width: none !important; width: 100%; margin: 0 !important; }
body.page-app .set .set-group { width: 100%; }
body.page-app .set .set-tabs-bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; width: 100%; border-bottom: 1px solid var(--tc-line); margin-bottom: 20px; }
body.page-app .set .set-tabs-bar .prod-subnav { margin: 0 !important; border-bottom: 0 !important; }
body.page-app .set .set-tabs-bar .set-biz-switch { width: auto; min-width: 200px; margin-bottom: 6px; border-radius: 999px; font-size: 13px; }
body.page-app .set .set-row { width: 100%; }
body.page-app details.set-item > summary.set-row { width: 100%; }
/* La capa v2 ponía cada sección del negocio en 2 columnas (280px + resto): todo quedaba a la izquierda. */
body.page-app .set .edit-section { display: block !important; grid-template-columns: none !important; scroll-margin-top: 90px; }
body.page-app .set .danger-zone { display: flex !important; grid-template-columns: none !important; align-items: center; justify-content: space-between; gap: 16px; border-radius: 0 !important; }
body.page-app .set .edit-dirty { margin-top: 0 !important; }
body.page-app .set .edit-dirty[hidden] { display: none !important; }

/* --- v3.2e · Configuración alineada como los demás módulos (mismo ancho, márgenes, título y pestañas) --- */
body.page-app .set { max-width: 1240px !important; margin: 0 auto !important; padding: var(--tc-8) clamp(16px, 4vw, 48px) var(--tc-12) !important; }
body.page-app .set .set-tabs-bar { margin: 0 0 var(--tc-6) !important; }
body.page-app .set .set-body { gap: 0 !important; }
body.page-app .set .set-group { margin: 0 0 var(--tc-8) !important; }

/* =====================================================================
   v3.3b · Sin naranja en el panel: el acento pasa a negro/grises (línea ElevenLabs)
   + ventanas emergentes que ya no quedan debajo del fondo oscuro.
   ===================================================================== */
html body.page-app {
  --tc-acc: #0B0B0B; --tc-acc-soft: #F1F1F0;
  --el-acc: #0B0B0B; --el-acc-soft: #F1F1F0;
  --cl-acc: #0B0B0B; --cl-acc-soft: #F1F1F0; --cl-acc-ink: #0B0B0B;
  --bs-focus-ring-color: rgba(11, 11, 11, .08);
}
html body.page-app ::selection { background: rgba(11, 11, 11, .1); }
html body.page-app :is(.tc-next, .ord-badge.tone-accent, .biz-cur, .sd-name em, .biz-nav-next, .bl-next) { color: var(--tc-ink) !important; background: #F1F1F0 !important; }
html body.page-app :is(.form-control, .form-select):focus { border-color: var(--tc-ink) !important; box-shadow: 0 0 0 3px rgba(11, 11, 11, .06) !important; }
html body.page-app .form-check-input:focus { border-color: var(--tc-ink) !important; box-shadow: 0 0 0 3px rgba(11, 11, 11, .08) !important; }
html body.page-app .btn:focus-visible { box-shadow: 0 0 0 3px rgba(11, 11, 11, .12) !important; }
html body.page-app :is(.wt-ic, .wt-ph-ic, .idf-ph-ic, .loc-pin, .tl-art, .pi-ico) { background: #F1F1F0 !important; color: var(--tc-ink) !important; }
html body.page-app :is(.wt-card:hover .wt-card-go, .ctry-detected i, .pe-unlock > i, .callout-icon, .tc-plan.is-pro > .ic, .side-plan > .ic) { color: var(--tc-ink) !important; }
html body.page-app :is(.wt-seg span.is-on, .wm-check, .wm-kicker::before, .sd-kicker::before, .pf-progress li.is-done b, .ob .wizard-progress span) { background: var(--tc-ink) !important; }
html body.page-app :is(.idf-drop:hover, .idf-drop.is-dragover) { border-color: var(--tc-ink) !important; background: #FAFAFA !important; }
html body.page-app .biz-nav .biz-nav-item.is-next .biz-nav-icon { border-color: var(--tc-ink) !important; box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px rgba(11, 11, 11, .25) !important; animation: none !important; }
html body.page-app .tc-art-post-img { background: linear-gradient(135deg, #2A2A2A, #8A8A8A 55%, #E6E6E4) !important; }
html body.page-app .stg-cap.is-danger .stg-cap-meta, html body.page-app .stg-cap.is-full .stg-cap-meta { color: #B42318; }

/* Ventanas: la animación de entrada del contenido usaba transform y dejaba los modales debajo del fondo */
@keyframes tc-in-o { from { opacity: 0; } to { opacity: 1; } }
body.page-app .app-main.fade-in { animation: tc-in-o var(--tc-med) var(--tc-ease) !important; }
.set-no-tf { isolation: auto !important; }

/* =====================================================================
   v3.3c · Almacenamiento igual al «Image Generator» de ElevenLabs
   ===================================================================== */
body.page-app .stg { max-width: 1100px; }
body.page-app .stg-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 0 22px; }
body.page-app .stg-h1 { margin: 0; font-size: 22px !important; font-weight: 600 !important; letter-spacing: -.02em !important; }
/* Capacidad compacta */
body.page-app .stg-cap2 { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--tc-mute); }
body.page-app .stg-cap2-text strong { color: var(--tc-ink); font-weight: 600; }
body.page-app .stg-cap2-bar { display: flex !important; width: 160px; height: 6px !important; margin: 0 !important; border-radius: 999px; background: #EDEDEC !important; overflow: hidden; }
body.page-app .stg-cap2-bar .stg-seg { height: 100%; }
body.page-app .stg-cap2-pct { font-variant-numeric: tabular-nums; color: var(--tc-ink); font-weight: 500; }
body.page-app .stg-cap2.is-danger .stg-cap2-pct, body.page-app .stg-cap2.is-full .stg-cap2-pct { color: #B42318; }
body.page-app .stg-cap2-btn { height: 28px; padding: 0 12px; display: inline-flex; align-items: center; border: 1px solid var(--tc-line-2); border-radius: 999px; color: var(--tc-ink); font-weight: 500; text-decoration: none; }
body.page-app .stg-cap2-btn:hover { background: var(--tc-soft); }
/* Pestañas Explorar / Sin uso */
body.page-app .stg-tabs { display: flex; gap: 18px; margin: 0 0 14px; border-bottom: 1px solid var(--tc-line); }
body.page-app .stg-tabs a { position: relative; padding: 0 0 9px; font-size: 13px; color: var(--tc-mute); text-decoration: none; }
body.page-app .stg-tabs a.is-on { color: var(--tc-ink); font-weight: 500; }
body.page-app .stg-tabs a.is-on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1.5px; background: var(--tc-ink); }
/* Orden a la izquierda, píldoras a la derecha */
body.page-app .stg-bar2 { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 22px; }
body.page-app .stg-sorts2 { display: flex; align-items: center; gap: 16px; font-size: 12.5px; }
body.page-app .stg-sorts2 a { color: var(--tc-mute); text-decoration: none; }
body.page-app .stg-sorts2 a.is-on { color: var(--tc-ink); font-weight: 500; }
body.page-app .stg-sorts2 a .bi { font-size: 10px; }
body.page-app .stg-neg2 select { border: 0; background: none; font-size: 12.5px; color: var(--tc-mute); padding: 0 4px; cursor: pointer; }
body.page-app .stg-pills { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
body.page-app .stg-pills a { height: 28px; padding: 0 12px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--tc-line-2); border-radius: 999px; background: var(--tc-surface); color: var(--tc-ink); font-size: 12px; font-weight: 500; text-decoration: none; }
body.page-app .stg-pills a:hover { background: var(--tc-soft); }
body.page-app .stg-pills a.is-on { background: var(--tc-ink); border-color: var(--tc-ink); color: #fff; }
body.page-app .stg-pills a.is-on .stg-dot { box-shadow: 0 0 0 1.5px #fff; }
/* Selección: discreta, sobre el mosaico */
body.page-app .stg .stg-selbar { margin: -10px 0 10px; font-size: 12.5px; }
/* Mosaico */
body.page-app .stg-grid.is-masonry { display: block !important; columns: 4 200px !important; column-gap: 6px !important; }
body.page-app .stg-grid.is-masonry .stg-file { display: block !important; margin: 0 0 6px !important; break-inside: avoid; border: 0 !important; border-radius: 6px !important; background: var(--tc-soft) !important; box-shadow: none !important; overflow: hidden; position: relative; }
body.page-app .stg-grid.is-masonry .stg-thumb { display: block; width: 100%; aspect-ratio: auto !important; padding: 0; border: 0; background: none; }
body.page-app .stg-grid.is-masonry .stg-thumb img { display: block; width: 100%; height: auto !important; object-fit: cover; transition: transform .4s ease, filter .2s; }
body.page-app .stg-grid.is-masonry .stg-file:hover .stg-thumb img { transform: scale(1.02); filter: brightness(.92); }
body.page-app .stg-grid.is-masonry .stg-meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 8px; background: linear-gradient(transparent, rgba(0,0,0,.55)); color: #fff; opacity: 0; transition: opacity .2s; pointer-events: none; }
body.page-app .stg-grid.is-masonry .stg-file:hover .stg-meta { opacity: 1; }
body.page-app .stg-grid.is-masonry .stg-meta :is(strong, small) { display: block; color: #fff !important; font-size: 12px; }
body.page-app .stg-grid.is-masonry .stg-meta small { opacity: .8; font-size: 11px; }
body.page-app .stg-grid.is-masonry .stg-use { display: none !important; }
body.page-app .stg-grid.is-masonry .stg-size { display: none !important; }
body.page-app .stg-grid.is-masonry .stg-pick { position: absolute; top: 8px; left: 8px; z-index: 2; opacity: 0; transition: opacity .2s; }
body.page-app .stg-grid.is-masonry .stg-file:hover .stg-pick, body.page-app .stg-grid.is-masonry .stg-pick:has(:checked) { opacity: 1; }
body.page-app .stg-grid.is-masonry .stg-file.is-free::after { content: "Sin uso"; position: absolute; top: 8px; right: 8px; height: 20px; padding: 0 8px; display: inline-flex; align-items: center; border-radius: 999px; background: rgba(255,255,255,.9); font-size: 10.5px; font-weight: 500; }
@media (max-width: 575.98px) { body.page-app .stg-grid.is-masonry { columns: 2 !important; column-gap: 4px !important; } body.page-app .stg-cap2-bar { width: 100px; } }

/* =====================================================================
   v3.5 · Contenido (línea ElevenLabs): «Mis diseños» primero, plantillas debajo, tarjetas con movimiento
   ===================================================================== */
body.page-app .cx { --cx-line: #ECECEA; }
body.page-app .cx-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 0 22px; }
body.page-app .cx-head-actions { display: flex; align-items: center; gap: 8px; }
body.page-app .cx-head-actions .btn { height: 34px; border-radius: 8px !important; font-size: 13px !important; padding: 0 14px !important; }
body.page-app .cx-sec { margin: 0 0 40px; }
body.page-app .cx-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 14px; }
body.page-app .cx-title { margin: 0; font-size: 15px !important; font-weight: 600 !important; letter-spacing: -.01em; }
body.page-app .cx-title span { margin-left: 4px; font-size: 13px; font-weight: 400; color: var(--tc-mute); }
body.page-app .cx-formats { display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; background: #F2F2F1; }
body.page-app .cx-format { height: 28px; padding: 0 12px; display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; background: transparent; color: var(--tc-mute); font-size: 12.5px; font-weight: 500; }
body.page-app .cx-format.is-on { background: #fff; color: var(--tc-ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
body.page-app .cx-chips { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 0 0 16px; }
body.page-app .cx-chip { height: 30px; padding: 0 13px; border: 1px solid #E6E6E4; border-radius: 999px; background: #fff; color: var(--tc-ink); font-size: 12.5px; font-weight: 500; }
body.page-app .cx-chip:hover { background: #F6F6F5; }
body.page-app .cx-chip.is-on { background: var(--tc-ink); border-color: var(--tc-ink); color: #fff; }
body.page-app .cx-chips-hint { margin-left: auto; font-size: 12px; color: var(--tc-faint); }
body.page-app .cx-hint { margin: 0 0 14px; font-size: 13px; color: var(--tc-mute); }
/* Cuadrícula tipo galería (como «Plantillas» de ElevenLabs) */
body.page-app .cx-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 22px 16px; align-items: start; }
body.page-app .cx-card { position: relative; min-width: 0; opacity: 0; }
body.page-app .cx-card.is-in { animation: cxIn .55s cubic-bezier(.2,.7,.2,1) both; }
body.page-app .cx-thumb { position: relative; display: block; overflow: hidden; border: 1px solid var(--cx-line); border-radius: 12px; background: #F4F4F3; aspect-ratio: 1 / 1; transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease; }
body.page-app .cx-thumb[data-ratio="portrait"] { aspect-ratio: 4 / 5; }
body.page-app .cx-thumb[data-ratio="story"] { aspect-ratio: 9 / 16; }
body.page-app .cx-thumb[data-ratio="cover"] { aspect-ratio: 1640 / 624; }
body.page-app .cx-thumb :is(img, canvas) { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
body.page-app .cx-thumb:hover { transform: translateY(-3px); border-color: #DCDCDA; box-shadow: 0 14px 34px rgba(0,0,0,.10); }
body.page-app .cx-card:not(.is-tpl) .cx-thumb:hover img { transform: scale(1.045); }
body.page-app .cx-thumb.is-moving img { animation: cxKen 9s ease-in-out infinite alternate; }
body.page-app .cx-thumb-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--tc-faint); font-size: 26px; }
body.page-app .cx-play { position: absolute; left: 10px; bottom: 10px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(17,17,17,.72); color: #fff; font-size: 15px; backdrop-filter: blur(4px); }
body.page-app .cx-pages { position: absolute; left: 10px; top: 10px; height: 24px; padding: 0 9px; display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; background: rgba(255,255,255,.92); font-size: 11.5px; font-weight: 500; color: var(--tc-ink); }
body.page-app .cx-open { position: absolute; right: 10px; bottom: 10px; height: 30px; padding: 0 12px; display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; background: #fff; color: var(--tc-ink); font-size: 12px; font-weight: 600; box-shadow: 0 4px 14px rgba(0,0,0,.14); opacity: 0; transform: translateY(6px); transition: opacity .2s ease, transform .2s ease; }
body.page-app .cx-thumb:hover .cx-open, body.page-app .cx-thumb:focus-visible .cx-open { opacity: 1; transform: none; }
body.page-app .cx-meta { display: flex; flex-direction: column; gap: 1px; padding: 9px 2px 0; min-width: 0; }
body.page-app .cx-name { font-size: 13.5px; font-weight: 500; color: var(--tc-ink); text-decoration: none; }
body.page-app .cx-meta small { font-size: 12px; color: var(--tc-mute); }
body.page-app .cx-tag { align-self: flex-start; margin-top: 6px; height: 22px; padding: 0 9px; display: inline-flex; align-items: center; gap: 5px; border: 1px solid #E6E6E4; border-radius: 6px; background: #fff; font-size: 11.5px; font-weight: 500; color: var(--tc-ink-2, #3A3A3A); }
body.page-app .cx-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
body.page-app .cx-card > .cx-thumb { grid-column: 1 / -1; }
body.page-app .cx-card > .cx-meta { grid-column: 1; grid-row: 2; }
body.page-app .cx-more { grid-column: 2; grid-row: 2; align-self: start; margin-top: 6px; }
body.page-app .cx-more-btn { width: 28px; height: 28px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: var(--tc-mute); }
body.page-app .cx-more-btn:hover { background: var(--tc-soft); color: var(--tc-ink); }
body.page-app .cx-empty { grid-column: 1 / -1; padding: 30px; border: 1px dashed #DCDCDA; border-radius: 14px; text-align: center; font-size: 13px; color: var(--tc-mute); }
/* Sin diseños: tres formas de empezar */
body.page-app .cx-start { padding: 22px; border: 1px solid var(--cx-line); border-radius: 16px; background: #FAFAF9; }
body.page-app .cx-start-lead { margin: 0 0 16px; font-size: 13.5px; color: var(--tc-mute); }
body.page-app .cx-start-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
body.page-app .cx-start-card { display: flex; flex-direction: column; gap: 2px; padding: 14px; border: 1px solid var(--cx-line); border-radius: 12px; background: #fff; color: var(--tc-ink); text-decoration: none; opacity: 0; transition: transform .2s ease, box-shadow .2s ease; }
body.page-app .cx-start-card.is-in { animation: cxIn .5s cubic-bezier(.2,.7,.2,1) both; }
body.page-app .cx-start-card:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.08); }
body.page-app .cx-start-card strong { margin-top: 10px; font-size: 13.5px; font-weight: 600; }
body.page-app .cx-start-card small { font-size: 12px; color: var(--tc-mute); }
body.page-app .cx-start-art { height: 86px; display: grid; place-items: center; border-radius: 9px; background: #F1F1F0; font-size: 26px; color: var(--tc-ink); overflow: hidden; }
body.page-app .cx-start-art.is-story i { animation: cxFloat 3s ease-in-out infinite; }
body.page-app .cx-start-art.is-post i { animation: cxPulse 2.6s ease-in-out infinite; }
body.page-app .cx-start-art.is-video { background: #111; color: #fff; }
body.page-app .cx-start-art.is-video i { animation: cxPulse 1.6s ease-in-out infinite; }
@keyframes cxIn { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes cxKen { from { transform: scale(1); } to { transform: scale(1.08) translate(-1.5%, -1%); } }
@keyframes cxFloat { 0%, 100% { transform: translateY(3px); } 50% { transform: translateY(-4px); } }
@keyframes cxPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { body.page-app :is(.cx-card, .cx-start-card) { opacity: 1; animation: none !important; } body.page-app .cx-thumb.is-moving img { animation: none; } }
@media (max-width: 575.98px) {
  body.page-app .cx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
  body.page-app .cx-chips-hint { display: none; }
  body.page-app .cx-head-actions { width: 100%; }
  body.page-app .cx-head-actions > * { flex: 1 1 0; }
  body.page-app .cx-head-actions .btn { width: 100%; }
}
/* Almacenamiento: videos y audios del editor */
body.page-app .stg-grid .stg-thumb video { display: block; width: 100%; height: auto; min-height: 120px; object-fit: cover; background: #111; }
body.page-app .stg-audio { display: grid; place-items: center; width: 100%; aspect-ratio: 1; background: #F1F1F0; font-size: 30px; color: var(--tc-ink); }
body.page-app .stg-kind { position: absolute; left: 8px; bottom: 8px; height: 22px; padding: 0 8px; display: inline-flex; align-items: center; gap: 4px; border-radius: 999px; background: rgba(17,17,17,.72); color: #fff; font-size: 10.5px; font-weight: 500; }
/* «Mis diseños»: todas las miniaturas del mismo alto (el diseño completo, sin recortar) */
body.page-app .cx-grid.is-mine .cx-thumb { aspect-ratio: 4 / 5; }
body.page-app .cx-grid.is-mine .cx-thumb img { object-fit: contain; padding: 10px; }

/* =====================================================================
   v3.7 · ESTÁNDAR GLOBAL (línea ElevenLabs): ventanas centradas, entrada animada de cada módulo, títulos,
   pestañas subrayadas en todos los módulos, buscador único, indicadores en una sola franja y perfil alineado.
   ===================================================================== */
/* Ventanas emergentes siempre centradas (una regla de ancho de la página las encogía a la izquierda) */
html body.page-app .app-main > .modal, html body.page-app.tc .app-main.biz-page > .modal, html body.page-app.tc .app-main > .modal.modal { width: 100% !important; max-width: none !important; margin: 0 !important; left: 0 !important; right: auto !important; animation: none !important; }
body.page-app .modal-dialog { margin-left: auto !important; margin-right: auto !important; }

/* Entrada animada al abrir cualquier módulo */
@keyframes tcEnter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
body.page-app .app-main > :not(.modal):not(.offcanvas):not(script):not(template) { animation: tcEnter .5s cubic-bezier(.2,.7,.2,1) backwards; }
body.page-app .app-main > :nth-child(2) { animation-delay: .04s; }
body.page-app .app-main > :nth-child(3) { animation-delay: .08s; }
body.page-app .app-main > :nth-child(4) { animation-delay: .12s; }
body.page-app .app-main > :nth-child(n+5) { animation-delay: .16s; }
@media (prefers-reduced-motion: reduce) { body.page-app .app-main > * { animation: none !important; } }

/* Títulos y subtítulos iguales en todos los módulos (la misma tipografía de Inicio) */
body.page-app :is(.hx-title, .set .page-title, .notif-page .hx-title, .rf-hero-title, .plan-title, .pf-head .page-title) { margin: 0 !important; font-size: var(--tc-fs-2xl) !important; font-weight: 600 !important; line-height: 1.15 !important; letter-spacing: -.03em !important; color: var(--tc-ink) !important; }
body.page-app :is(.hx-lead, .page-lead, .mod-sub, .set-sub) { margin: 6px 0 0 !important; font-size: var(--tc-fs) !important; color: var(--tc-mute) !important; line-height: 1.5; }
body.page-app .hx-head { margin-bottom: 20px !important; }

/* Pestañas: subrayadas y a todo el ancho en todos los módulos (Pedidos, Clientes, Cotizaciones, Caja, Notificaciones…) */
html body.page-app .seg-tabs.seg-tabs:not(.is-line), html body.page-app .hx-chips.nx-chips {
  display: flex !important; flex-wrap: nowrap; gap: 22px !important; width: 100%; max-width: 100%; margin: 0 0 16px !important; padding: 0 !important;
  border: 0 !important; border-bottom: 1px solid var(--tc-line) !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; overflow-x: auto; scrollbar-width: none;
}
html body.page-app .seg-tabs.seg-tabs:not(.is-line)::-webkit-scrollbar, html body.page-app .hx-chips.nx-chips::-webkit-scrollbar { display: none; }
html body.page-app .seg-tabs.seg-tabs:not(.is-line) .seg-tab, html body.page-app .hx-chips.nx-chips .hx-chip {
  position: relative; flex: none; display: inline-flex !important; align-items: center; gap: 6px; height: 40px !important; margin: 0 0 -1px !important; padding: 0 !important;
  border: 0 !important; border-bottom: 2px solid transparent !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important;
  color: var(--tc-mute) !important; font-size: var(--tc-fs-sm) !important; font-weight: 500 !important; white-space: nowrap; text-decoration: none;
}
html body.page-app .seg-tabs.seg-tabs:not(.is-line) .seg-tab:hover, html body.page-app .hx-chips.nx-chips .hx-chip:hover { color: var(--tc-ink) !important; }
html body.page-app .seg-tabs.seg-tabs:not(.is-line) .seg-tab:is(.is-active, .active), html body.page-app .hx-chips.nx-chips .hx-chip.is-on { color: var(--tc-ink) !important; border-bottom-color: var(--tc-ink) !important; }
html body.page-app .hx-chips.nx-chips .hx-chip .bi { display: none; }
body.page-app :is(.seg-tabs:not(.is-line) .seg-tab-n, .nx-chips .hx-chip b) { min-width: 18px; height: 18px; padding: 0 5px; display: inline-grid; place-items: center; border-radius: 999px; background: var(--tc-soft) !important; color: var(--tc-mute) !important; font-size: 11px !important; font-weight: 500; }
html body.page-app .seg-tabs.seg-tabs:not(.is-line) .seg-tab-n.is-hot { background: var(--tc-ink) !important; color: #fff !important; }
/* La barra con pestañas + buscador: pestañas arriba a todo el ancho, filtros debajo a la derecha */
body.page-app .mod-bar { display: flex !important; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px !important; }
body.page-app .mod-bar > .seg-tabs { flex: 1 1 100%; order: -1; }

/* Buscador único (mismo en todos los módulos) */
body.page-app :is(.mod-search, .product-search, .inv-filter .input-wrap, .stg-search) { position: relative; flex: 1 1 240px; max-width: 360px; }
body.page-app :is(.mod-search, .product-search, .inv-filter .input-wrap) .form-control { height: 36px !important; padding-left: 36px !important; border: 1px solid var(--tc-line-2) !important; border-radius: 999px !important; background: var(--tc-surface) !important; font-size: var(--tc-fs-sm) !important; box-shadow: none !important; }
body.page-app :is(.mod-search, .product-search, .inv-filter .input-wrap) .form-control:focus { border-color: var(--tc-ink) !important; box-shadow: 0 0 0 3px rgba(11,11,11,.06) !important; }
body.page-app :is(.mod-search, .product-search, .inv-filter .input-wrap) .input-icon { left: 13px !important; color: var(--tc-faint) !important; font-size: 14px; }
body.page-app :is(.mod-bar, .product-toolbar, .inv-filter) .form-select { height: 36px !important; border-radius: 999px !important; border-color: var(--tc-line-2) !important; font-size: var(--tc-fs-sm) !important; width: auto; min-width: 150px; padding-right: 34px !important; }

/* Indicadores en una sola franja (como Cotizaciones) */
body.page-app .kpi-grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important; gap: 0 !important; margin: 0 0 18px !important; border: 1px solid var(--tc-line); border-radius: 14px; background: var(--tc-surface); overflow: hidden; }
body.page-app .kpi-grid > .kpi { padding: 12px 18px !important; border: 0 !important; border-left: 1px solid var(--tc-line) !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; gap: 1px !important; min-height: 0; }
body.page-app .kpi-grid > .kpi:first-child { border-left: 0 !important; }
body.page-app .kpi-grid .kpi-label { font-size: 12px !important; color: var(--tc-mute) !important; }
body.page-app .kpi-grid .kpi-value { font-size: 20px !important; font-weight: 600 !important; letter-spacing: -.02em; line-height: 1.2 !important; }
body.page-app .kpi-grid .kpi-hint { font-size: 11.5px !important; color: var(--tc-faint) !important; }
body.page-app .kpi-grid > a.kpi:hover { background: var(--tc-soft) !important; }
body.page-app .kpi-grid > .kpi.is-active, body.page-app .kpi-grid > .kpi[aria-current] { background: var(--tc-soft) !important; }
@media (max-width: 767.98px) { body.page-app .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } body.page-app .kpi-grid > .kpi:nth-child(odd) { border-left: 0 !important; } body.page-app .kpi-grid > .kpi:nth-child(n+3) { border-top: 1px solid var(--tc-line) !important; } }

/* Perfil (arriba a la derecha) bien alineado dentro de su marco */
body.page-app .tc-top .user-menu { height: 38px !important; padding: 3px 10px 3px 3px !important; gap: 8px; border: 0 !important; box-shadow: 0 0 0 1px var(--tc-line-2) !important; background: var(--tc-surface) !important; }
body.page-app .tc-top .user-menu .avatar, body.page-app .tc-top .user-menu :is(img, .avatar-initials) { width: 32px !important; height: 32px !important; flex: none; border-radius: 50% !important; }
body.page-app .tc-top .user-menu-text { display: grid; align-content: center; gap: 1px; }

html body.page-app .hx-chips.nx-chips .hx-chip[hidden] { display: none !important; }

/* =====================================================================
   v3.7b · Productos, Categorías e Inventario (línea ElevenLabs)
   ===================================================================== */
/* --- Precio: moneda + campo en una sola pieza, con bandera --- */
html body.page-app .input-group:not(.input-group-sm) > :is(.form-control, .form-select, .input-group-text) { min-height: 40px; height: 40px; }
html body.page-app .input-group { border-radius: 10px; }
html body.page-app .input-group > .input-group-text { background: #fff !important; border-color: #E4E4E2 !important; color: var(--tc-mute); font-size: 13px; padding: 0 12px; }
html body.page-app .input-group > .input-group-text:first-child { border-right: 0 !important; padding-right: 4px; }
html body.page-app .input-group > .input-group-text:last-child { border-left: 0 !important; padding-left: 4px; }
html body.page-app .input-group > .input-group-text:first-child + .form-control { border-left: 0 !important; padding-left: 8px; }
html body.page-app .input-group > .form-control:has(+ .input-group-text:last-child:not([hidden])) { border-right: 0 !important; }
html body.page-app .input-group:focus-within > .input-group-text { border-color: var(--tc-ink, #111) !important; }
html body.page-app .input-group:focus-within > .form-control { box-shadow: none !important; border-color: var(--tc-ink, #111) !important; }
html body.page-app .input-group:focus-within { box-shadow: 0 0 0 3px rgba(17,17,17,.06); }
html body.page-app .input-group-text.tc-cur { display: inline-flex; align-items: center; gap: 7px; color: var(--tc-ink, #111) !important; }
html body.page-app .tc-cur img { width: 18px; height: 13px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
html body.page-app .tc-cur b { font-size: 12px; font-weight: 600; letter-spacing: .02em; }
html body.page-app .tc-cur::after { content: ''; width: 1px; height: 18px; margin-left: 5px; background: #E4E4E2; }

/* --- Traer producto desde un enlace --- */
html body.page-app .pi { border: 1px solid #ECECEA; border-radius: 14px; box-shadow: none; }
html body.page-app .pi-trigger { padding: 14px 16px; gap: 14px; }
html body.page-app .pi-ico { width: 38px; height: 38px; border-radius: 10px; background: #111 !important; color: #fff !important; font-size: 16px; }
html body.page-app .pi-trigger-text strong { font-size: 14px; }
html body.page-app .pi-trigger-text span { font-size: 12.5px; }
html body.page-app .pi-cta { height: 32px; border-color: #E4E4E2; background: #fff; font-size: 12.5px; }
html body.page-app .pi-panel { padding: 0 16px 16px; border-top: 1px solid #F1F1EF; }
html body.page-app .pi-url-row { gap: 8px; }
html body.page-app .pi-url-row .input-group { border: 1px solid #E4E4E2; border-radius: 999px; background: #fff; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
html body.page-app .pi-url-row .input-group:focus-within { border-color: #111; box-shadow: 0 0 0 3px rgba(17,17,17,.06); }
html body.page-app .pi-url-row .input-group > * { border: 0 !important; background: transparent !important; box-shadow: none !important; height: 42px; min-height: 42px; }
html body.page-app .pi-url-row .input-group-text { padding: 0 4px 0 16px; font-size: 18px; color: var(--tc-mute) !important; }
html body.page-app .pi-url-row .input-group-text::after { display: none; }
html body.page-app .pi-url-row .btn-ink { height: 42px; border-radius: 999px !important; padding: 0 18px !important; }
html body.page-app .pi-url-row [data-pi-close] { height: 42px; }
@media (max-width: 575.98px) { html body.page-app .pi-url-row { flex-wrap: wrap; } html body.page-app .pi-url-row .input-group { flex: 1 1 100%; } }

/* --- Producto o servicio: dos tarjetas --- */
html body.page-app .pf-kind.is-v37 { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; padding: 0 !important; margin: 0 0 18px; background: none !important; box-shadow: none !important; border-radius: 0; }
html body.page-app .pf-kind.is-v37 .pf-kind-opt > .pf-kind-card { position: relative; display: flex; align-items: center; gap: 12px; height: auto; padding: 12px 14px; border: 1px solid #E6E6E4; border-radius: 12px; background: #fff; color: var(--tc-ink); box-shadow: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
html body.page-app .pf-kind.is-v37 .pf-kind-opt:hover > .pf-kind-card { border-color: #CFCFCC; }
html body.page-app .pf-kind.is-v37 .pf-kind-opt input:checked + .pf-kind-card { border-color: #111; box-shadow: 0 0 0 1px #111; background: #fff; }
html body.page-app .pf-kind-ico { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: #F2F2F1; font-size: 16px; color: #111; transition: background .15s, color .15s; }
html body.page-app .pf-kind-opt input:checked + .pf-kind-card .pf-kind-ico { background: #111; color: #fff; }
html body.page-app .pf-kind-txt { display: grid; min-width: 0; line-height: 1.25; }
html body.page-app .pf-kind-txt b { font-size: 13.5px; font-weight: 600; }
html body.page-app .pf-kind-txt small { font-size: 12px; color: var(--tc-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body.page-app .pf-kind-ok { position: absolute; top: 9px; right: 10px; font-size: 14px; color: #111; opacity: 0; transform: scale(.6); transition: opacity .15s, transform .2s; }
html body.page-app .pf-kind-opt input:checked + .pf-kind-card .pf-kind-ok { opacity: 1; transform: none; }

/* --- Selector con foto y buscador (categorías) --- */
html body.page-app .tc-combo { position: relative; flex: 1; min-width: 0; }
html body.page-app .tc-combo-native { position: absolute !important; inset: 0; opacity: 0; pointer-events: none; }
html body.page-app .tc-combo-btn { width: 100%; height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 12px 0 6px; border: 1px solid #E4E4E2; border-radius: 10px; background: #fff; color: var(--tc-ink); text-align: left; transition: border-color .15s, box-shadow .15s; }
html body.page-app .tc-combo-btn:hover { border-color: #CFCFCC; }
html body.page-app .tc-combo.is-open .tc-combo-btn, html body.page-app .tc-combo-btn:focus-visible { border-color: #111; box-shadow: 0 0 0 3px rgba(17,17,17,.06); outline: 0; }
html body.page-app .tc-combo-label { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; }
html body.page-app .tc-combo-label.is-empty { color: var(--tc-mute); }
html body.page-app .tc-combo-caret { font-size: 12px; color: var(--tc-mute); transition: transform .2s; }
html body.page-app .tc-combo.is-open .tc-combo-caret { transform: rotate(180deg); }
html body.page-app .tc-combo-img { flex: none; width: 32px; height: 32px; display: grid; place-items: center; overflow: hidden; border-radius: 8px; background: #F2F2F1; color: var(--tc-mute); font-size: 14px; }
html body.page-app .tc-combo-img img { width: 100%; height: 100%; object-fit: cover; }
html body.page-app .tc-combo-pop { position: absolute; z-index: 60; left: 0; right: 0; top: calc(100% + 6px); padding: 6px; border: 1px solid #ECECEA; border-radius: 12px; background: #fff; box-shadow: 0 16px 40px rgba(0,0,0,.12); animation: tcComboIn .16s ease both; }
html body.page-app .tc-combo.is-up .tc-combo-pop { top: auto; bottom: calc(100% + 6px); }
html body.page-app .tc-combo-search { display: flex; align-items: center; gap: 8px; height: 38px; margin: 0 0 4px; padding: 0 10px; border-radius: 8px; background: #F6F6F5; }
html body.page-app .tc-combo-search i { font-size: 13px; color: var(--tc-mute); }
html body.page-app .tc-combo-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; outline: 0; font-size: 13.5px; }
html body.page-app .tc-combo-list { max-height: 264px; overflow-y: auto; }
html body.page-app .tc-combo-opt { width: 100%; display: flex; align-items: center; gap: 10px; padding: 6px; border: 0; border-radius: 8px; background: transparent; color: var(--tc-ink); text-align: left; }
html body.page-app .tc-combo-opt:hover, html body.page-app .tc-combo-opt.is-active { background: #F4F4F3; }
html body.page-app .tc-combo-txt { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
html body.page-app .tc-combo-txt strong { font-size: 13.5px; font-weight: 500; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
html body.page-app .tc-combo-txt small { font-size: 11.5px; color: var(--tc-mute); }
html body.page-app .tc-combo-ok { font-size: 15px; color: #111; }
html body.page-app .tc-combo-none { margin: 0; padding: 12px; font-size: 13px; color: var(--tc-mute); text-align: center; }
html body.page-app .pf-cat-row { display: flex; gap: 8px; align-items: stretch; }
html body.page-app .pf-cat-row > .btn { height: 44px; border-radius: 10px !important; white-space: nowrap; }
@keyframes tcComboIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* --- Código de barras: quitar --- */
html body.page-app .pf-barcode [hidden] { display: none !important; }
html body.page-app .pf-barcode-clear:hover { color: #B42318 !important; border-color: #F1C9C5 !important; background: #FEF3F2 !important; }

/* --- Relacionados: buscador sin solapes --- */
html body.page-app .pf-rel-search > i { left: 12px; z-index: 2; pointer-events: none; }
html body.page-app .pf-rel-search .form-control { padding-left: 34px !important; height: 38px; border-radius: 999px !important; }
html body.page-app .pf-rel-results { border-radius: 12px; border-color: #ECECEA; }

/* --- Etiquetas sugeridas y vista en Google --- */
html body.page-app .pf-tag-sug { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
html body.page-app .pf-tag-sug[hidden] { display: none; }
html body.page-app .pf-tag-sug-l { font-size: 12px; color: var(--tc-mute); }
html body.page-app .pf-tag-sug-btn { height: 26px; margin: 0 4px 0 0; padding: 0 10px; border: 1px dashed #CFCFCC; border-radius: 999px; background: #fff; font-size: 12px; color: var(--tc-ink); animation: tcComboIn .2s ease both; }
html body.page-app .pf-tag-sug-btn:hover { border-style: solid; border-color: #111; }
html body.page-app .pf-tag-sug-all { height: 26px; padding: 0 10px; border: 0; border-radius: 999px; background: #111; color: #fff; font-size: 12px; font-weight: 500; }
html body.page-app .pf-gprev { display: grid; gap: 2px; margin: 0 0 16px; padding: 14px 16px; border: 1px solid #ECECEA; border-radius: 12px; background: #FAFAF9; font-family: Arial, sans-serif; }
html body.page-app .pf-gprev-l { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; font-family: inherit; font-size: 11.5px; color: var(--tc-mute); }
html body.page-app .pf-gprev-l em { margin-left: auto; font-style: normal; }
html body.page-app .pf-gprev small { font-size: 12px; color: #4D5156; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
html body.page-app .pf-gprev strong { font-size: 18px; font-weight: 400; color: #1A0DAB; line-height: 1.3; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
html body.page-app .pf-gprev p { margin: 0; font-size: 13px; line-height: 1.45; color: #4D5156; }

/* --- Categorías: tarjeta como la de productos, edición en línea --- */
html body.page-app .cat-card { transition: box-shadow .2s, border-color .2s; }
html body.page-app .cat-card.is-saved { box-shadow: 0 0 0 2px #111; }
html body.page-app .cat-card .cat-inline { display: block; max-width: 100%; padding: 2px 4px; margin: -2px -4px; border: 0; border-radius: 6px; background: transparent; color: inherit; font: inherit; text-align: left; cursor: text; }
html body.page-app .cat-card .cat-inline:hover { background: #F2F2F1; }
html body.page-app .cat-card .cat-inline.is-desc { color: var(--tc-mute); }
html body.page-app .cat-card .pl-input { margin: -2px 0 4px; font-size: 13px; }
html body.page-app .cat-card footer.cat-card-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: auto; padding: 10px 12px 12px; border-top: 0; }
html body.page-app .cat-card footer.cat-card-actions > .btn { height: 32px; border-radius: 8px !important; }
html body.page-app .cat-list .cat-card footer.cat-card-actions { padding: 0; margin: 0; }
html body.page-app .cat-products-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 10px; }
html body.page-app .cat-products-head strong { font-size: 13.5px; font-weight: 600; }
html body.page-app .cat-products-head strong span { font-weight: 400; color: var(--tc-mute); }
html body.page-app .tc-search { position: relative; display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border: 1px solid #E4E4E2; border-radius: 999px; background: #fff; margin: 0; transition: border-color .15s, box-shadow .15s; }
html body.page-app .tc-search:focus-within { border-color: #111; box-shadow: 0 0 0 3px rgba(17,17,17,.06); }
html body.page-app .tc-search i { font-size: 13px; color: var(--tc-mute); }
html body.page-app .tc-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 13.5px; }
html body.page-app .cat-products-q.tc-search { width: 100%; max-width: 280px; }
html body.page-app .cat-products-none { margin: 8px 0; font-size: 13px; color: var(--tc-mute); }
@media (max-width: 575.98px) { html body.page-app .cat-products-q.tc-search { max-width: none; } html body.page-app .pf-kind-txt small { white-space: normal; } }
html body.page-app :is(.btn, .btn-icon, button, a, label)[hidden] { display: none !important; }
html body.page-app .cat-card footer.cat-card-actions { flex-wrap: wrap; row-gap: 8px; }
html body.page-app .cat-card .cat-move { display: inline-flex; gap: 2px; margin-left: auto; }

/* v3.7b · Inventario: tabla con edición en línea, un solo botón «Gestionar» y ficha del producto en una sola vista */
html body.page-app .stock-row .inv-edit { font-variant-numeric: tabular-nums; }
html body.page-app .stock-row .inv-input { width: 96px; margin-left: auto; text-align: right; }
html body.page-app .stock-row.is-saved { box-shadow: inset 3px 0 0 #111; transition: box-shadow .3s; }
html body.page-app .stock-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
html body.page-app .inv-manage { height: 32px; border-radius: 8px !important; white-space: nowrap; }
html body.page-app .inv-manage i { font-size: 12px; transition: transform .15s; }
html body.page-app .inv-manage:hover i { transform: translateX(2px); }
html body.page-app .stock-var-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
html body.page-app .stock-var-toggle i { transition: transform .2s; }
html body.page-app .inv-product-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
html body.page-app .inv-product-head img, html body.page-app .inv-product-head .stock-thumb-lg { border-radius: 12px; object-fit: cover; }
html body.page-app .inv-product-name { margin: 0 0 2px; font-size: 20px !important; font-weight: 600 !important; letter-spacing: -.01em; }
html body.page-app .inv-product-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
html body.page-app .inv-product-actions .btn { height: 34px; border-radius: 8px !important; display: inline-flex; align-items: center; gap: 6px; }
html body.page-app .inv-kx-chips { display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; background: #F2F2F1; }
html body.page-app .inv-kx-chip { height: 28px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: var(--tc-mute); font-size: 12.5px; font-weight: 500; }
html body.page-app .inv-kx-chip.is-on { background: #fff; color: var(--tc-ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
html body.page-app .kardex li { display: flex; align-items: center; gap: 12px; }
html body.page-app .kardex li[hidden] { display: none; }
html body.page-app .kardex li > .min-w-0 { flex: 1; }
html body.page-app .kardex-ico { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: #F2F2F1; color: #111; font-size: 13px; }
html body.page-app .kardex-ico.dir-in { background: #ECFDF3; color: #067647; }
html body.page-app .kardex-ico.dir-out { background: #FEF3F2; color: #B42318; }
html body.page-app .inv-nav.mod-head { margin-top: 4px; }
@media (min-width: 768px) { html body.page-app .stock-row { grid-template-columns: minmax(220px, 1fr) 150px 84px 110px 110px 132px; } }
html body.page-app .stock-product strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* v3.7c · Cotizaciones: lista de productos por encima de todo y ventana de éxito al crear */
html body.page-app .ord-card:has(.ord-picker-results:not([hidden])), html body.page-app .ord-side:has(.ord-picker-results:not([hidden])) { position: relative; z-index: 50; }
html body.page-app .ord-picker { z-index: 40; }
html body.page-app .ord-picker-results { z-index: 60; border-radius: 12px; border-color: #ECECEA; box-shadow: 0 16px 40px rgba(0,0,0,.12); }
html body.page-app .app-main > :has(.ord-picker-results:not([hidden])) { position: relative; z-index: 50; }
html body.page-app .qt-done .modal-dialog { max-width: 480px; }
html body.page-app .qt-done .modal-content { border-radius: 20px !important; overflow: hidden; }
html body.page-app .qt-done .modal-body { padding: 28px 24px 8px; text-align: center; }
html body.page-app .qt-done .modal-footer { padding: 12px 24px 24px; border-top: 0; }
html body.page-app .qt-done-art { display: grid; place-items: center; margin: 0 0 14px; }
html body.page-app .qt-done-art span { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: #111; color: #fff; font-size: 26px; animation: qtPop .5s cubic-bezier(.2,1.4,.4,1) both; box-shadow: 0 0 0 8px #F2F2F1; }
html body.page-app .qt-done-title { margin: 0 0 6px; font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
html body.page-app .qt-done-sub { margin: 0 auto 20px; max-width: 360px; font-size: 13.5px; color: var(--tc-mute); }
html body.page-app .qt-done-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; text-align: left; }
html body.page-app .qt-done-opt { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 12px; border: 1px solid #E6E6E4; border-radius: 12px; background: #fff; color: var(--tc-ink); text-decoration: none; text-align: left; animation: cxIn .45s cubic-bezier(.2,.7,.2,1) both; transition: border-color .15s, transform .15s, box-shadow .15s; }
html body.page-app .qt-done-opt:nth-child(2) { animation-delay: .06s; } html body.page-app .qt-done-opt:nth-child(3) { animation-delay: .12s; } html body.page-app .qt-done-opt:nth-child(4) { animation-delay: .18s; }
html body.page-app .qt-done-opt:hover { border-color: #111; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.06); }
html body.page-app .qt-done-ic { grid-row: 1 / 3; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: #F2F2F1; font-size: 17px; }
html body.page-app .qt-done-opt.is-wa .qt-done-ic { background: #E8F8EE; color: #128C4B; }
html body.page-app .qt-done-opt strong { font-size: 13.5px; font-weight: 600; }
html body.page-app .qt-done-opt small { font-size: 11.5px; color: var(--tc-mute); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
html body.page-app .qt-done-opt.is-done::after { content: '✓'; font-weight: 700; position: absolute; top: 8px; right: 10px; font-size: 14px; color: #067647; }
@keyframes qtPop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }

/* v3.7d · Caja POS */
html body.page-app .mod-bar .pos-filters { flex: 1 1 100%; display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px; max-width: none; margin: 12px 0 0; }
html body.page-app .mod-bar .pos-filters .input-wrap { flex: 1 1 260px; min-width: 200px; max-width: 360px; }
html body.page-app .mod-bar .pos-filters .form-select { width: 210px; flex: none; line-height: 1.2 !important; padding: 0 36px 0 14px !important; display: block; }
html body.page-app .mod-bar .pos-filters input[type="date"] { width: 160px; flex: none; padding: 0 14px !important; }
@media (max-width: 575.98px) { html body.page-app .mod-bar .pos-filters > * { flex: 1 1 100% !important; width: auto !important; max-width: none !important; } }
/* v3.7d · Venta: transferencias con su comprobante y confirmación */
html body.page-app .pos-pay-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
html body.page-app .pos-pay-items li { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border: 1px solid #ECECEA; border-radius: 12px; }
html body.page-app .pos-pay-items li.is-ok { border-color: #CDEBD8; background: #F3FBF6; }
html body.page-app .pos-pay-items li > .min-w-0 { display: grid; gap: 4px; }
html body.page-app .pos-pay-items strong { font-size: 13.5px; font-weight: 600; }
html body.page-app .pos-pay-items small { font-size: 12px; color: var(--tc-mute); }
html body.page-app .pos-pay-thumb { flex: none; width: 56px; height: 56px; overflow: hidden; border-radius: 10px; box-shadow: 0 0 0 1px #ECECEA; display: grid; place-items: center; background: #F4F4F3; color: var(--tc-mute); font-size: 18px; }
html body.page-app .pos-pay-thumb img { width: 100%; height: 100%; object-fit: cover; }
html body.page-app .pos-pay-ok { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 500; color: #067647; }
html body.page-app .pos-pay-items form .btn { height: 30px; border-radius: 8px !important; }
/* v3.7d · Botón flotante: caja abierta */
html body.page-app .tc-pos-float { position: fixed; right: 20px; bottom: 20px; z-index: 1030; display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 14px; border-radius: 999px; background: #111; color: #fff; text-decoration: none; box-shadow: 0 14px 36px rgba(0,0,0,.22); animation: tcFloatIn .5s cubic-bezier(.2,1.2,.4,1) both .4s; transition: transform .15s; }
html body.page-app .tc-pos-float:hover { transform: translateY(-2px); color: #fff; }
html body.page-app .tc-pos-float-dot { width: 10px; height: 10px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: tcPulse 1.8s infinite; }
html body.page-app .tc-pos-float-txt { display: grid; line-height: 1.2; }
html body.page-app .tc-pos-float-txt strong { font-size: 13px; font-weight: 600; }
html body.page-app .tc-pos-float-txt small { font-size: 11.5px; color: rgba(255,255,255,.7); }
@keyframes tcFloatIn { from { opacity: 0; transform: translateY(20px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes tcPulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.6); } 70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
@media (max-width: 575.98px) { html body.page-app .tc-pos-float { left: 16px; right: 16px; bottom: 16px; justify-content: center; } }
html body.page-app .pos-open-title { margin: 0 0 6px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
html body.page-app .pos-open-icon { background: #111 !important; color: #fff !important; }

/* v3.7e · Pedidos: tablero por etapas (arrastrar y soltar) y búsqueda en vivo */
html body.page-app .ord-view { flex: none; }
html body.page-app [data-ord-page].is-searching [data-ord-results] { opacity: .55; transition: opacity .15s; }
html body.page-app .kb { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 12px; overflow-x: auto; padding: 2px 2px 12px; scroll-snap-type: x proximity; }
html body.page-app .kb-col { display: flex; flex-direction: column; min-height: 320px; max-height: calc(100vh - 260px); padding: 10px; border-radius: 14px; background: #F7F7F6; scroll-snap-align: start; transition: background .15s, box-shadow .15s; animation: cxIn .45s cubic-bezier(.2,.7,.2,1) both; }
html body.page-app .kb-col:nth-child(2) { animation-delay: .04s; } html body.page-app .kb-col:nth-child(3) { animation-delay: .08s; } html body.page-app .kb-col:nth-child(4) { animation-delay: .12s; } html body.page-app .kb-col:nth-child(5) { animation-delay: .16s; } html body.page-app .kb-col:nth-child(6) { animation-delay: .2s; } html body.page-app .kb-col:nth-child(7) { animation-delay: .24s; }
html body.page-app .kb-col.is-over { background: #EFEFED; box-shadow: inset 0 0 0 2px #111; }
html body.page-app .kb-head { display: flex; align-items: center; gap: 8px; padding: 2px 4px 10px; }
html body.page-app .kb-head strong { font-size: 13px; font-weight: 600; }
html body.page-app .kb-n { margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; display: inline-grid; place-items: center; border-radius: 999px; background: #fff; font-size: 11.5px; font-weight: 600; color: var(--tc-mute); box-shadow: 0 0 0 1px #ECECEA; }
html body.page-app .kb-dot { width: 8px; height: 8px; border-radius: 50%; background: #A3A3A3; }
html body.page-app .kb-dot.tone-warn { background: #F79009; } html body.page-app .kb-dot.tone-info { background: #2E90FA; } html body.page-app .kb-dot.tone-accent { background: #7A5AF8; } html body.page-app .kb-dot.tone-success { background: #12B76A; }
html body.page-app .kb-list { flex: 1; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; min-height: 60px; }
html body.page-app .kb-card { display: grid; gap: 4px; padding: 10px 12px; border: 1px solid #ECECEA; border-radius: 10px; background: #fff; color: var(--tc-ink); text-decoration: none; cursor: grab; transition: box-shadow .15s, transform .15s, opacity .15s; }
html body.page-app .kb-card:hover { box-shadow: 0 6px 16px rgba(0,0,0,.07); color: var(--tc-ink); }
html body.page-app .kb-card.is-locked { cursor: pointer; }
html body.page-app .kb-card.is-dragging { opacity: .4; transform: rotate(1.5deg); }
html body.page-app .kb-card.is-saving { opacity: .6; pointer-events: none; }
html body.page-app .kb-card.is-moved { box-shadow: 0 0 0 2px #111; }
html body.page-app .kb-card-top { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
html body.page-app .kb-card-top strong { flex: 1; min-width: 0; font-size: 13px; font-weight: 600; }
html body.page-app .kb-card-top span { font-size: 11.5px; color: var(--tc-mute); }
html body.page-app .kb-card-items { font-size: 11.5px; color: var(--tc-mute); line-height: 1.35; }
html body.page-app .kb-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 2px; }
html body.page-app .kb-card-foot b { font-size: 13px; font-weight: 600; }
html body.page-app .kb-card-foot em { font-style: normal; font-size: 11px; font-weight: 500; padding: 1px 7px; border-radius: 999px; background: #F2F2F1; color: var(--tc-mute); }
html body.page-app .kb-card-foot em.pay-paid { background: #ECFDF3; color: #067647; } html body.page-app .kb-card-foot em.pay-unpaid { background: #FFFAEB; color: #B54708; }
html body.page-app .kb-empty { margin: 0; padding: 18px 10px; border: 1px dashed #DCDCDA; border-radius: 10px; text-align: center; font-size: 12px; color: var(--tc-faint, #A3A3A3); }
html body.page-app .kb-empty[hidden] { display: none; }
html body.page-app .kb-hint { margin: 8px 0 0; font-size: 12px; color: var(--tc-mute); }
html body.page-app .mod-bar .mod-search .input-wrap { flex: 1 1 280px; min-width: 260px; }
html body.page-app [data-ord-page].is-searching [data-ord-results] { opacity: .55; transition: opacity .15s; }
html body.page-app .kb-col { min-height: 220px; }

/* v3.7f · Contenido: solo las opciones para crear (con movimiento) y «Mis diseños» */
html body.page-app .cx-create { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
html body.page-app .cx-new { position: relative; display: grid; grid-template-rows: auto auto; gap: 0; overflow: hidden; border: 1px solid #ECECEA; border-radius: 16px; background: #fff; color: var(--tc-ink); text-decoration: none; opacity: 0; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
html body.page-app .cx-new.is-in { animation: cxIn .55s cubic-bezier(.2,.7,.2,1) both; }
html body.page-app .cx-new:hover { transform: translateY(-3px); border-color: #DCDCDA; box-shadow: 0 16px 36px rgba(0,0,0,.09); color: var(--tc-ink); }
html body.page-app .cx-new-art { height: 168px; display: grid; place-items: center; overflow: hidden; background: #F4F4F3; }
html body.page-app .cx-new.is-story .cx-new-art { background: linear-gradient(160deg, #F4F4F3, #EDEDEB); }
html body.page-app .cx-new.is-video .cx-new-art { background: #111; }
html body.page-app .cx-new-txt { display: grid; gap: 2px; padding: 14px 16px 16px; }
html body.page-app .cx-new-txt strong { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
html body.page-app .cx-new-txt small { font-size: 12.5px; color: var(--tc-mute); }
html body.page-app .cx-new-go { position: absolute; right: 14px; bottom: 16px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #F2F2F1; font-size: 14px; transition: background .2s, color .2s, transform .2s; }
html body.page-app .cx-new:hover .cx-new-go { background: #111; color: #fff; transform: translateX(2px); }
/* Post: tres piezas que se acomodan */
html body.page-app .cx-art-post { position: relative; width: 104px; height: 104px; border-radius: 12px; background: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.08); overflow: hidden; }
html body.page-app .cx-art-post i { position: absolute; display: block; border-radius: 6px; background: #111; }
html body.page-app .cx-art-post i:nth-child(1) { left: 12px; top: 12px; width: 80px; height: 52px; background: #E4E4E2; animation: cxPostA 3.2s ease-in-out infinite; }
html body.page-app .cx-art-post i:nth-child(2) { left: 12px; top: 72px; width: 46px; height: 8px; animation: cxPostB 3.2s ease-in-out infinite; }
html body.page-app .cx-art-post i:nth-child(3) { left: 12px; top: 86px; width: 28px; height: 6px; background: #BDBDBA; animation: cxPostB 3.2s ease-in-out infinite .2s; }
@keyframes cxPostA { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes cxPostB { 0%, 100% { transform: translateX(0); opacity: 1; } 50% { transform: translateX(8px); opacity: .75; } }
/* Historia: celular con barras de progreso */
html body.page-app .cx-art-phone { position: relative; width: 74px; height: 132px; border-radius: 14px; background: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.1); overflow: hidden; animation: cxFloat 3.4s ease-in-out infinite; }
html body.page-app .cx-art-bars { position: absolute; left: 7px; right: 7px; top: 7px; display: flex; gap: 3px; }
html body.page-app .cx-art-bars i { flex: 1; height: 3px; border-radius: 3px; background: #E4E4E2; overflow: hidden; position: relative; }
html body.page-app .cx-art-bars i::after { content: ''; position: absolute; inset: 0; background: #111; transform-origin: left; transform: scaleX(0); animation: cxBar 4.5s linear infinite; }
html body.page-app .cx-art-bars i:nth-child(2)::after { animation-delay: 1.5s; } html body.page-app .cx-art-bars i:nth-child(3)::after { animation-delay: 3s; }
html body.page-app .cx-art-card { position: absolute; left: 9px; right: 9px; top: 22px; bottom: 24px; border-radius: 8px; background: linear-gradient(160deg, #E9E9E7, #D9D9D6); animation: cxPostA 3s ease-in-out infinite; }
@keyframes cxBar { 0% { transform: scaleX(0); } 33% { transform: scaleX(1); } 100% { transform: scaleX(1); } }
/* Video: reproducir + línea de tiempo */
html body.page-app .cx-art-video { position: relative; width: 150px; height: 104px; display: grid; place-items: center; }
html body.page-app .cx-art-play { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #111; font-size: 22px; animation: cxPulse 1.8s ease-in-out infinite; }
html body.page-app .cx-art-tl { position: absolute; left: 0; right: 0; bottom: 6px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.18); overflow: hidden; }
html body.page-app .cx-art-tl i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: #fff; transform-origin: left; animation: cxBar 3.2s linear infinite; }
html body.page-app .cx-more-formats { margin: 12px 2px 0; font-size: 12.5px; color: var(--tc-mute); }
html body.page-app .cx-more-formats a { color: var(--tc-ink); font-weight: 500; text-decoration: none; border-bottom: 1px solid #D6D6D3; }
html body.page-app .cx-empty-mine { padding: 34px 20px; border: 1px dashed #DCDCDA; border-radius: 14px; text-align: center; color: var(--tc-mute); font-size: 13px; }
html body.page-app .cx-empty-mine i { display: block; margin-bottom: 6px; font-size: 24px; color: var(--tc-faint, #A3A3A3); }
html body.page-app .cx-empty-mine p { margin: 0; }
@media (max-width: 767.98px) { html body.page-app .cx-create { grid-template-columns: 1fr; } html body.page-app .cx-new { grid-template-columns: 120px 1fr; grid-template-rows: none; align-items: center; } html body.page-app .cx-new-art { height: 100%; min-height: 110px; } html body.page-app .cx-art-post { transform: scale(.7); } html body.page-app .cx-art-phone { transform: scale(.7); } html body.page-app .cx-art-video { transform: scale(.7); } html body.page-app .cx-new-go { display: none; } }
@media (prefers-reduced-motion: reduce) { html body.page-app .cx-new { opacity: 1; } html body.page-app .cx-new-art * { animation: none !important; } }

/* v3.7g · Inicio: World en grande (animado) y acciones en carrusel con botones */
html body.page-app .tc-world { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 46%); align-items: stretch; min-height: 210px; margin: 0 0 28px; overflow: hidden; border-radius: 20px; background: #0B0B0B; color: #fff; text-decoration: none; isolation: isolate; transition: transform .25s ease, box-shadow .25s ease; }
html body.page-app .tc-world:hover { transform: translateY(-2px); box-shadow: 0 22px 50px rgba(0,0,0,.22); color: #fff; }
html body.page-app .tc-world-txt { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 28px 30px; z-index: 2; }
html body.page-app .tc-world-live { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; height: 24px; padding: 0 10px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: 11.5px; font-weight: 500; letter-spacing: .02em; }
html body.page-app .tc-world-live span { width: 7px; height: 7px; border-radius: 50%; background: #22C55E; animation: tcPulse 1.8s infinite; }
html body.page-app .tc-world-txt strong { font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
html body.page-app .tc-world-txt small { max-width: 440px; font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,.7); }
html body.page-app .tc-world-cta { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; height: 36px; margin-top: 6px; padding: 0 16px; border-radius: 999px; background: #fff; color: #111; font-size: 13px; font-weight: 600; transition: gap .2s; }
html body.page-app .tc-world:hover .tc-world-cta { gap: 12px; }
html body.page-app .tc-world-scene { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 60% 40%, #1E1E1E 0%, #0B0B0B 70%); }
html body.page-app .tw-floor { position: absolute; left: 50%; top: 58%; width: 340px; height: 340px; transform: translate(-50%, -50%) rotateX(60deg) rotateZ(45deg); background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 34px 34px; border-radius: 24px; }
html body.page-app .tw-shop { position: absolute; left: 50%; top: 24%; width: 104px; height: 70px; transform: translateX(-50%); border-radius: 8px; background: #fff; box-shadow: 0 18px 30px rgba(0,0,0,.4); }
html body.page-app .tw-roof { position: absolute; left: -8px; right: -8px; top: -14px; height: 18px; border-radius: 6px; background: repeating-linear-gradient(90deg, #111 0 12px, #fff 12px 24px); box-shadow: 0 0 0 2px #fff; }
html body.page-app .tw-door { position: absolute; left: 50%; bottom: 0; width: 22px; height: 30px; transform: translateX(-50%); border-radius: 4px 4px 0 0; background: #111; }
html body.page-app .tw-shelf { position: absolute; left: 10px; top: 14px; width: 22px; height: 18px; border-radius: 3px; background: linear-gradient(#E5E5E5 0 30%, #BDBDBD 30% 40%, #E5E5E5 40% 70%, #BDBDBD 70% 80%, #E5E5E5 80%); }
html body.page-app .tw-shelf.is-2 { left: auto; right: 10px; }
html body.page-app .tw-av { position: absolute; width: 16px; height: 22px; }
html body.page-app .tw-av i { position: absolute; left: 3px; top: 0; width: 10px; height: 10px; border-radius: 50%; background: #F5C9A8; box-shadow: 0 11px 0 -1px #fff, 0 13px 0 0 #fff; }
html body.page-app .tw-av::after { content: ''; position: absolute; left: 1px; top: 10px; width: 14px; height: 12px; border-radius: 6px 6px 3px 3px; background: #6B7CFF; }
html body.page-app .tw-av.is-b::after { background: #22C55E; } html body.page-app .tw-av.is-c::after { background: #F59E0B; }
html body.page-app .tw-av.is-a { left: 18%; top: 70%; animation: twWalkA 7s ease-in-out infinite; }
html body.page-app .tw-av.is-b { left: 62%; top: 72%; animation: twWalkB 8s ease-in-out infinite; }
html body.page-app .tw-av.is-c { left: 80%; top: 52%; }
html body.page-app .tw-av.is-zzz b { position: absolute; left: 14px; top: -10px; font-size: 11px; font-weight: 700; color: rgba(255,255,255,.75); animation: twZ 2.4s ease-in-out infinite; }
html body.page-app .tw-cart { position: absolute; left: 16px; top: 10px; width: 14px; height: 10px; border: 2px solid #fff; border-top: 0; border-radius: 0 0 4px 4px; }
html body.page-app .tw-bot { position: absolute; left: 30%; top: 40%; width: 18px; height: 22px; animation: twBot 6s ease-in-out infinite; }
html body.page-app .tw-bot i { position: absolute; left: 2px; top: 0; width: 14px; height: 11px; border-radius: 4px; background: #D4D4D4; box-shadow: inset 3px 3px 0 -1px #111, inset -3px 3px 0 -1px #111; }
html body.page-app .tw-bot::after { content: ''; position: absolute; left: 1px; top: 12px; width: 16px; height: 10px; border-radius: 3px; background: #A3A3A3; }
html body.page-app .tw-box { position: absolute; left: 3px; top: 8px; width: 12px; height: 9px; border-radius: 2px; background: #C8A26B; z-index: 2; }
html body.page-app .tw-ping { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #22C55E; }
html body.page-app .tw-ping::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid #22C55E; opacity: 0; animation: twPing 2.4s ease-out infinite; }
html body.page-app .tw-ping.is-1 { left: 26%; top: 30%; } html body.page-app .tw-ping.is-2 { left: 74%; top: 34%; } html body.page-app .tw-ping.is-2::after { animation-delay: 1.2s; }
@keyframes twWalkA { 0%, 100% { transform: translate(0, 0); } 45% { transform: translate(70px, -30px); } 55% { transform: translate(70px, -30px); } }
@keyframes twWalkB { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-60px, -26px); } }
@keyframes twBot { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(40px, 30px); } }
@keyframes twZ { 0% { opacity: 0; transform: translate(0, 4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(6px, -10px); } }
@keyframes twPing { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.8); } }
@media (max-width: 767.98px) { html body.page-app .tc-world { grid-template-columns: 1fr; } html body.page-app .tc-world-scene { height: 170px; order: -1; } html body.page-app .tc-world-txt { padding: 20px; } html body.page-app .tc-world-txt strong { font-size: 22px; } }
@media (prefers-reduced-motion: reduce) { html body.page-app .tc-world-scene * { animation: none !important; } }
/* Carrusel de acciones */
html body.page-app .tc-h2-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
html body.page-app .tc-slide-btns { display: inline-flex; gap: 6px; }
html body.page-app .tc-slide-btn { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #E4E4E2; border-radius: 50%; background: #fff; color: #111; transition: background .15s, opacity .15s; }
html body.page-app .tc-slide-btn:hover:not(:disabled) { background: #F2F2F1; }
html body.page-app .tc-slide-btn:disabled { opacity: .35; cursor: default; }
html body.page-app .tc-actions.is-slider { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: calc((100% - 2 * var(--tc-3, 14px)) / 3); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
html body.page-app .tc-actions.is-slider::-webkit-scrollbar { display: none; }
html body.page-app .tc-actions.is-slider > .tc-action { scroll-snap-align: start; }
@media (max-width: 767.98px) { html body.page-app .tc-actions.is-slider { grid-auto-columns: 82%; } html body.page-app .tc-actions.is-slider > .tc-action { flex-direction: column; } }

/* =====================================================================
   v3.7h · Registro de un negocio nuevo (6 pasos) en la línea ElevenLabs: neutro, tipografía del panel, pasos con nombre
   ===================================================================== */
html body.page-focus.ob { background: #fff; color: #111; }
html body.page-focus.ob .focus-header { max-width: 1120px; padding: 18px 20px 6px; }
html body.page-focus.ob .focus-header .brand-logo { height: 24px; }
html body.page-focus.ob .obw-steps { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin: 4px 0 10px; padding: 0; }
html body.page-focus.ob .obw-steps li { display: flex; align-items: center; gap: 7px; min-width: 0; font-size: 12px; color: #A3A3A0; transition: color .2s; }
html body.page-focus.ob .obw-steps span { flex: none; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: #F2F2F1; font-size: 11px; font-weight: 600; color: #8A8A87; transition: background .2s, color .2s; }
html body.page-focus.ob .obw-steps em { font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body.page-focus.ob .obw-steps li.is-current { color: #111; font-weight: 600; }
html body.page-focus.ob .obw-steps li.is-current span { background: #111; color: #fff; box-shadow: 0 0 0 4px rgba(17,17,17,.08); }
html body.page-focus.ob .obw-steps li.is-done span { background: #111; color: #fff; }
html body.page-focus.ob .obw-steps li.is-done { color: #3A3A38; }
html body.page-focus.ob .obw .wizard-progress { height: 2px; margin: 0 0 40px; background: #EDEDEB; }
html body.page-focus.ob .wizard-progress span { background: #111 !important; transition: width .5s cubic-bezier(.2,.7,.2,1); }
html body.page-focus.ob .obw .wstep { animation: obIn .45s cubic-bezier(.2,.7,.2,1) both; }
html body.page-focus.ob .obw .wstep-kicker { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: #F2F2F1; font-size: 12px; font-weight: 500; color: #5F5F5C; margin: 0 0 14px; }
html body.page-focus.ob .obw .wstep-title { font-size: clamp(26px, 3.6vw, 34px); font-weight: 600; letter-spacing: -.025em; line-height: 1.15; color: #111; }
html body.page-focus.ob .obw .wstep-lead { font-size: 15px; line-height: 1.55; color: #6B6B68; }
html body.page-focus.ob :is(.form-control, .form-select) { min-height: 44px; border: 1px solid #E4E4E2; border-radius: 10px; background: #fff; font-size: 14.5px; box-shadow: none; }
html body.page-focus.ob :is(.form-control, .form-select):focus { border-color: #111; box-shadow: 0 0 0 3px rgba(17,17,17,.07); }
html body.page-focus.ob .obw .form-control-xl { min-height: 56px; font-size: 19px; font-weight: 500; border-radius: 12px; }
html body.page-focus.ob .form-label { font-size: 13px; font-weight: 500; color: #3A3A38; }
html body.page-focus.ob .field-hint { font-size: 12.5px; color: #8A8A87; }
html body.page-focus.ob .input-group-text { background: #fff; border-color: #E4E4E2; color: #6B6B68; border-radius: 10px; }
html body.page-focus.ob .wstep-nav .btn-ink { height: 44px; padding: 0 22px; border-radius: 999px; font-weight: 600; }
html body.page-focus.ob .wstep-nav .btn-link { color: #6B6B68; font-weight: 500; }
html body.page-focus.ob .wstep-nav .btn-link:hover { color: #111; }
/* País */
html body.page-focus.ob .ctry-detected i { color: #111; }
html body.page-focus.ob .obw .ctry-search input { min-height: 44px; border-color: #E4E4E2; border-radius: 999px; background: #fff; }
html body.page-focus.ob .obw .ctry-list { border-color: #ECECEA; border-radius: 14px; }
html body.page-focus.ob .ctry-item:hover, html body.page-focus.ob .ctry-item:has(input:checked) { background: #F4F4F3; }
html body.page-focus.ob .ctry-cur { color: #8A8A87; }
/* Tarjetas de los campos compartidos (marca, sedes, pagos, redes) */
html body.page-focus.ob :is(.logo-editor.is-card, .brand-box, .location, .pay-card, .pm-card) { border-color: #ECECEA !important; border-radius: 14px !important; background: #fff !important; box-shadow: none !important; }
/* Vista previa en vivo */
html body.page-focus.ob .obp-label { color: #8A8A87; font-weight: 500; }
html body.page-focus.ob .obp-win { background: #F4F4F3; border-color: #ECECEA; border-radius: 18px; box-shadow: 0 30px 60px -30px rgba(17,17,17,.25); }
html body.page-focus.ob .obp-chrome > span { background: #DADAD7; }
html body.page-focus.ob .obp-chrome em { color: #8A8A87; }
html body.page-focus.ob .obp-store { --pv-2: #F4F4F3; }
html body.page-focus.ob :is(.obp-grid i, .obp-tags span) { background: #F4F4F3; }
html body.page-focus.ob .obp-grid i:nth-child(2) { background: #EDEDEB; }
html body.page-focus.ob :is(.obp-row-t, .obp-note) { color: #8A8A87; }
@keyframes obIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 575.98px) { html body.page-focus.ob .obw-steps em { display: none; } html body.page-focus.ob .obw-steps li { justify-content: center; } html body.page-focus.ob .wstep-nav .btn-ink { flex: 1; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { html body.page-focus.ob .obw .wstep { animation: none; } }

/* =====================================================================
   v3.7h · Invita y gana (línea ElevenLabs): banner oscuro con recompensas, cifras en una línea, pasos con íconos
   ===================================================================== */
html body.page-app .rf .rf-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 28px; align-items: center; margin: 4px 0 18px; padding: 30px; overflow: hidden; border: 0; border-radius: 22px; background: #0B0B0B; color: #fff; isolation: isolate; }
html body.page-app .rf .rf-hero::before { content: ''; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.10), transparent 65%); z-index: -1; }
html body.page-app .rf .rf-hero-text { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 230px; }
html body.page-app .rf-hero-kicker { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; height: 26px; padding: 0 11px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: 12px; font-weight: 500; color: rgba(255,255,255,.85); }
html body.page-app .rf .rf-hero-title { margin: 4px 0 0; max-width: 520px; font-size: clamp(24px, 3vw, 32px) !important; font-weight: 600 !important; letter-spacing: -.025em; line-height: 1.15; color: #fff !important; }
html body.page-app .rf .rf-hero-title span { color: #fff; background: linear-gradient(90deg, #FDE68A, #FCA5A5); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
html body.page-app .rf .rf-hero-sub { margin: 0; max-width: 460px; font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.7) !important; }
html body.page-app .rf-gifts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
html body.page-app .rf-gift { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px 9px 10px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.06); }
html body.page-app .rf-gift > i { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: #fff; color: #111; font-size: 15px; }
html body.page-app .rf-gift > span { display: grid; line-height: 1.25; }
html body.page-app .rf-gift small { font-size: 11px; color: rgba(255,255,255,.6); }
html body.page-app .rf-gift b { font-size: 13px; font-weight: 600; }
html body.page-app .rf-art { position: absolute; right: 0; bottom: 0; width: 120px; height: 110px; pointer-events: none; }
html body.page-app .rf-art-box { position: absolute; left: 30px; bottom: 0; width: 64px; height: 50px; border-radius: 8px; background: linear-gradient(160deg, #F5F5F4, #CFCFCB); box-shadow: 0 10px 30px rgba(0,0,0,.4); animation: rfBob 3.4s ease-in-out infinite; }
html body.page-app .rf-art-box b { position: absolute; left: 50%; top: 0; bottom: 0; width: 10px; transform: translateX(-50%); background: #F43F5E; }
html body.page-app .rf-art-box::before { content: ''; position: absolute; left: -5px; right: -5px; top: -12px; height: 14px; border-radius: 6px; background: #E7E7E4; box-shadow: inset 0 -2px 0 rgba(0,0,0,.08); }
html body.page-app .rf-coin { position: absolute; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #FDE68A; color: #7C4A03; font-size: 10px; font-weight: 800; font-style: normal; box-shadow: 0 6px 16px rgba(0,0,0,.35); }
html body.page-app .rf-coin.is-1 { left: 8px; top: 8px; animation: rfFloat 3s ease-in-out infinite; }
html body.page-app .rf-coin.is-2 { right: 8px; top: 0; background: #fff; color: #111; animation: rfFloat 3.6s ease-in-out infinite .4s; }
html body.page-app .rf-coin.is-3 { right: 18px; top: 46px; width: 22px; height: 22px; background: #FCA5A5; color: #7F1D1D; font-size: 10px; animation: rfFloat 2.8s ease-in-out infinite .8s; }
@keyframes rfBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes rfFloat { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-9px) rotate(8deg); } }
html body.page-app .rf .rf-share { padding: 20px; border: 0; border-radius: 18px; background: #fff; color: #111; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
html body.page-app .rf .rf-share-label { font-size: 13px; font-weight: 600; color: #111; }
html body.page-app .rf .rf-share .form-control { height: 44px; border-radius: 10px; }
html body.page-app .rf .rf-share-btns { display: grid; gap: 8px; margin-top: 12px; }
html body.page-app .rf .rf-share-btns .btn-ink { height: 44px; border-radius: 999px !important; font-weight: 600; }
html body.page-app .rf .rf-share-btns .hx-pill-btn { height: 42px; justify-content: center; }
html body.page-app .rf .rf-fine { margin: 10px 0 0; font-size: 12px; color: var(--tc-mute); }
html body.page-app .rf-kpis { margin: 0 0 28px; }
html body.page-app .rf-kpis > div > span { display: inline-flex; align-items: center; gap: 6px; }
html body.page-app .rf-kpis > div.is-acc strong { color: #111; }
html body.page-app .rf .rf-how { margin: 0 0 28px; padding: 0; border: 0; background: none; }
html body.page-app .rf .rf-how-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 12px 0 0; padding: 0; list-style: none; counter-reset: none; }
html body.page-app .rf .rf-how-steps li { position: relative; display: grid; gap: 4px; padding: 18px; border: 1px solid #ECECEA; border-radius: 16px; background: #fff; animation: cxIn .5s cubic-bezier(.2,.7,.2,1) both; }
html body.page-app .rf .rf-how-steps li:nth-child(2) { animation-delay: .08s; } html body.page-app .rf .rf-how-steps li:nth-child(3) { animation-delay: .16s; }
html body.page-app .rf .rf-how-steps li:not(:last-child)::after { content: ''; position: absolute; right: -12px; top: 38px; width: 12px; height: 1px; background: #DADAD7; }
html body.page-app .rf-how-ic { width: 40px; height: 40px; display: grid; place-items: center; margin-bottom: 8px; border-radius: 12px; background: #111; color: #fff; font-size: 18px; }
html body.page-app .rf .rf-how-n { position: absolute; right: 16px; top: 16px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: #F2F2F1; font-size: 11px; font-weight: 600; color: #6B6B68; }
html body.page-app .rf .rf-how-steps strong { font-size: 14px; font-weight: 600; }
html body.page-app .rf .rf-how-steps p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--tc-mute); }
html body.page-app .rf .rf-terms { margin-top: 12px; font-size: 12.5px; color: var(--tc-mute); }
html body.page-app .rf .rf-ticket { border-radius: 18px; border-color: #ECECEA; }
html body.page-app .rf .rf-reward { border-radius: 16px; background: #111; color: #fff; }
@media (max-width: 991.98px) { html body.page-app .rf .rf-hero { grid-template-columns: 1fr; padding: 22px; } html body.page-app .rf .rf-hero-text { min-height: 0; padding-bottom: 90px; } html body.page-app .rf .rf-how-steps { grid-template-columns: 1fr; } html body.page-app .rf .rf-how-steps li::after { display: none; } }
@media (prefers-reduced-motion: reduce) { html body.page-app .rf :is(.rf-art-box, .rf-coin) { animation: none; } }
/* v3.7i · Registro: detalles neutros (sin naranja ni beige) */
html body.page-focus.ob .obw-steps { margin-top: 18px; }
html body.page-focus.ob :is(.idf-ph-ic, .loc-pin) { background: #F2F2F1 !important; color: #111 !important; }
html body.page-focus.ob .slug-preview { background: transparent !important; }
html body.page-focus.ob .social-add .chips, html body.page-focus.ob [data-social-add-list] { display: flex; flex-wrap: wrap; gap: 6px; overflow: visible; }
html body.page-focus.ob .idf-drop { border-color: #DADAD7; background: #FAFAF9; }

/* =====================================================================
   v3.8a · Ajustes generales (MODIFICACIONES V4)
   ===================================================================== */
/* Barras de búsqueda dentro del ancho del módulo (Clientes, Pedidos, Cotizaciones…) */
html body.page-app .mod-bar .mod-search:not(.pos-filters) { flex: 1 1 auto; max-width: 100%; min-width: 0; display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: nowrap; margin-left: auto; }
html body.page-app .mod-bar .mod-search:not(.pos-filters) .input-wrap { flex: 0 1 300px; min-width: 160px; max-width: 320px; }
html body.page-app .mod-bar .mod-search:not(.pos-filters) > :not(.input-wrap):not(.visually-hidden) { flex: none; }
html body.page-app .mod-bar .mod-search:not(.pos-filters) .form-select { width: auto; max-width: 190px; }
@media (max-width: 575.98px) { html body.page-app .mod-bar .mod-search:not(.pos-filters) { flex-wrap: wrap; justify-content: stretch; } html body.page-app .mod-bar .mod-search:not(.pos-filters) .input-wrap { flex: 1 1 100%; max-width: none; } }

/* Campos con prefijo o sufijo (COP, %, días, kg…): una sola pieza */
html body.page-app .input-group:has(> .input-group-text):not(:has(> .btn)), html body.page-focus .input-group:has(> .input-group-text):not(:has(> .btn)) { flex-wrap: nowrap; border: 1px solid #E4E4E2; border-radius: 10px; background: #fff; overflow: hidden; box-shadow: none; transition: border-color .15s, box-shadow .15s; }
html body.page-app .input-group:has(> .input-group-text):not(:has(> .btn)) > *, html body.page-focus .input-group:has(> .input-group-text):not(:has(> .btn)) > * { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: transparent !important; }
html body.page-app .input-group:has(> .input-group-text):not(:has(> .btn)) > .form-control, html body.page-focus .input-group:has(> .input-group-text):not(:has(> .btn)) > .form-control { padding-left: 10px; }
html body.page-app .input-group:has(> .input-group-text):not(:has(> .btn)):focus-within, html body.page-focus .input-group:has(> .input-group-text):not(:has(> .btn)):focus-within { border-color: #111; box-shadow: 0 0 0 3px rgba(17,17,17,.06); }
html body.page-app .input-group:has(> .input-group-text):has(> .is-invalid) { border-color: #D92D20; }
html body.page-app .input-group > .input-group-text:first-child { padding-left: 12px !important; padding-right: 2px !important; }
html body.page-app .input-group > .input-group-text:last-child { padding-right: 12px !important; color: var(--tc-mute) !important; }
html body.page-app .input-group-text.tc-cur::after { height: 16px; margin-left: 8px; }
html body.page-app .input-group-sm:has(> .input-group-text) { border-radius: 8px; }

/* Producto o servicio: sencillo, sin bloques negros */
html body.page-focus .pf-kind.is-v37, html body.page-app .pf-kind.is-v37 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
html body.page-app .pf-kind.is-v37 .pf-kind-opt > .pf-kind-card { gap: 10px; padding: 10px 14px; border-radius: 10px; }
html body.page-app .pf-kind.is-v37 .pf-kind-ico, html body.page-app .pf-kind.is-v37 .pf-kind-ok { display: none; }
html body.page-app .pf-kind.is-v37 .pf-kind-card::before { content: ''; flex: none; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #CFCFCC; background: #fff; transition: border-color .15s, box-shadow .15s; }
html body.page-app .pf-kind.is-v37 .pf-kind-opt input:checked + .pf-kind-card { border-color: #111; box-shadow: none; background: #FAFAF9; }
html body.page-app .pf-kind.is-v37 .pf-kind-opt input:checked + .pf-kind-card::before { border: 5px solid #111; }
html body.page-app .pf-kind.is-v37 .pf-kind-txt { display: flex; align-items: center; gap: 8px; min-width: 0; line-height: 1.2; }
html body.page-app .pf-kind.is-v37 .pf-kind-txt b { font-size: 13.5px; font-weight: 600; }
html body.page-app .pf-kind.is-v37 .pf-kind-txt small { font-size: 12px; }

/* Categoría: la lista se abre por encima del resto del formulario */
html body.page-app :is(.pf-step, .pf-acc, .panel, section):has(.tc-combo.is-open) { position: relative; z-index: 40; overflow: visible !important; }
html body.page-app .tc-combo-pop { z-index: 1050; }

/* Relacionados: lupa centrada en su campo */
html body.page-app .pf-rel-search > i { top: 19px !important; transform: translateY(-50%) !important; line-height: 1; }

/* Productos: «…» con exportar y códigos de barras */
html body.page-app .pl-tools .dropdown .pl-tool { width: 38px; height: 38px; }

/* Filtros de productos: tarjeta limpia con controles segmentados */
html body.page-app .pl-panel { padding: 0; border: 1px solid #ECECEA; border-radius: 16px; box-shadow: 0 16px 40px rgba(0,0,0,.08); overflow: hidden; animation: cxIn .25s ease both; }
html body.page-app .pl-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid #F1F1EF; }
html body.page-app .pl-panel-head strong { font-size: 14px; font-weight: 600; }
html body.page-app .pl-panel-x { width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: var(--tc-mute); }
html body.page-app .pl-panel-x:hover { background: #F2F2F1; color: #111; }
html body.page-app .pl-panel-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px 24px; padding: 18px; }
html body.page-app .pl-group legend { margin: 0 0 8px; font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--tc-mute); }
html body.page-app .pl-pills { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: 10px; background: #F2F2F1; }
html body.page-app .pl-pill { height: 28px; padding: 0 11px; border: 0; border-radius: 7px; background: transparent; color: #5F5F5C; font-size: 12.5px; font-weight: 500; }
html body.page-app .pl-pill:hover { background: rgba(255,255,255,.6); color: #111; }
html body.page-app .pl-pill-input:checked + .pl-pill { background: #fff; color: #111; box-shadow: 0 1px 2px rgba(0,0,0,.1); }
html body.page-app .pl-group .form-select { height: 34px; line-height: 1.2; padding: 0 32px 0 12px; border-radius: 10px; }
html body.page-app .pl-panel-foot { margin: 0; padding: 12px 18px; border-top: 1px solid #F1F1EF; background: #FAFAF9; }

/* Aviso «Tienes una caja abierta»: con botón para cerrarlo */
html body.page-app .tc-pos-float-wrap { position: fixed; right: 20px; bottom: 20px; z-index: 1030; display: flex; align-items: center; gap: 6px; }
html body.page-app .tc-pos-float-wrap[hidden] { display: none; }
html body.page-app .tc-pos-float-wrap .tc-pos-float { position: static; }
html body.page-app .tc-pos-float-x { width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #fff; color: #111; box-shadow: 0 6px 18px rgba(0,0,0,.18); font-size: 12px; animation: tcFloatIn .5s cubic-bezier(.2,1.2,.4,1) both .5s; }
html body.page-app .tc-pos-float-x:hover { background: #F2F2F1; }
@media (max-width: 575.98px) { html body.page-app .tc-pos-float-wrap { left: 16px; right: 16px; bottom: 16px; } html body.page-app .tc-pos-float-wrap .tc-pos-float { flex: 1; } }

/* Ventana de la plataforma al salir sin guardar (en vez del aviso del navegador) */
.tc-leave { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 16px; background: rgba(17,17,17,.4); backdrop-filter: blur(2px); opacity: 0; transition: opacity .18s ease; }
.tc-leave.is-in { opacity: 1; }
.tc-leave-box { width: min(400px, 100%); padding: 24px; border-radius: 18px; background: #fff; color: #111; text-align: center; box-shadow: 0 30px 70px rgba(0,0,0,.25); transform: translateY(8px) scale(.98); transition: transform .22s cubic-bezier(.2,1.1,.4,1); font-family: inherit; }
.tc-leave.is-in .tc-leave-box { transform: none; }
.tc-leave-ic { width: 44px; height: 44px; display: inline-grid; place-items: center; margin-bottom: 10px; border-radius: 50%; background: #FFFAEB; color: #B54708; font-size: 22px; }
.tc-leave-box h2 { margin: 0 0 6px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.tc-leave-box p { margin: 0 0 18px; font-size: 13.5px; line-height: 1.5; color: #6B6B68; }
.tc-leave-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tc-leave-btns button { height: 42px; border-radius: 999px; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.tc-leave-stay { border: 1px solid #E4E4E2; background: #fff; color: #111; }
.tc-leave-stay:hover { background: #F6F6F5; }
.tc-leave-go { border: 0; background: #111; color: #fff; }
.tc-leave-go:hover { background: #2A2A2A; }

/* =====================================================================
   v3.8c · Resumen: estructura estándar (título, acciones, pestañas de periodo), cifras en una franja y tarjetas limpias
   ===================================================================== */
html body.page-app .sm-head2 .mod-actions .btn.is-active { border-color: #111; background: #F6F6F5; }
html body.page-app .sm-page .sx-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; margin: 0 0 20px; border: 1px solid #ECECEA; border-radius: 16px; background: #fff; overflow: hidden; }
html body.page-app .sm-page .sx-strip .sx-kpi { display: grid; gap: 4px; padding: 16px 18px; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--tc-ink); text-decoration: none; transition: background .15s; }
html body.page-app .sm-page .sx-strip .sx-kpi + .sx-kpi { border-left: 1px solid #ECECEA; }
html body.page-app .sm-page .sx-strip a.sx-kpi:hover { background: #FAFAF9; }
html body.page-app .sm-page .sx-kpi-label { font-size: 12.5px; font-weight: 500; color: var(--tc-mute); }
html body.page-app .sm-page .sx-kpi-value { font-size: 24px !important; font-weight: 600 !important; letter-spacing: -.02em; line-height: 1.15; }
html body.page-app .sm-page .sx-kpi.is-warn .sx-kpi-value { color: #B54708; }
html body.page-app .sm-page .sx-kpi-foot { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--tc-mute); }
html body.page-app .sm-page .sm-delta { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 999px; font-size: 11px; font-weight: 600; background: #F2F2F1; color: #5F5F5C; }
html body.page-app .sm-page .sm-delta.is-up { background: #ECFDF3; color: #067647; }
html body.page-app .sm-page .sm-delta.is-down { background: #FEF3F2; color: #B42318; }
html body.page-app .sm-page .sx-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 16px; margin: 0 0 16px; }
html body.page-app .sm-page .sx-grid.is-even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html body.page-app .sm-page .sx-grid.is-one { grid-template-columns: 1fr; }
html body.page-app .sm-page .sx-card { padding: 18px; border: 1px solid #ECECEA; border-radius: 16px; background: #fff; box-shadow: none; animation: cxIn .45s cubic-bezier(.2,.7,.2,1) both; }
html body.page-app .sm-page .sx-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 12px; }
html body.page-app .sm-page .sx-h { margin: 0; font-size: 14px !important; font-weight: 600 !important; }
html body.page-app .sm-page .sx-count { margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: #F2F2F1; font-size: 11px; font-weight: 600; color: #5F5F5C; }
html body.page-app .sm-page .sx-link { font-size: 12.5px; font-weight: 500; color: var(--tc-ink); text-decoration: none; }
html body.page-app .sm-page .sx-link:hover { text-decoration: underline; }
html body.page-app .sm-page .rep-fillbar { fill: #111; }
html body.page-app .sm-page .sx-todo { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
html body.page-app .sm-page .sx-todo a { display: flex; align-items: center; gap: 10px; padding: 9px 8px; border-radius: 10px; color: var(--tc-ink); text-decoration: none; font-size: 13.5px; }
html body.page-app .sm-page .sx-todo a:hover { background: #F6F6F5; }
html body.page-app .sm-page .sx-todo-text { flex: 1; min-width: 0; }
html body.page-app .sm-page .sx-pipe { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: #F6F6F5; color: var(--tc-ink); text-decoration: none; font-size: 13px; }
html body.page-app .sm-page .sx-list { list-style: none; margin: 0; padding: 0; display: grid; }
html body.page-app .sm-page .sx-list li { border-top: 1px solid #F1F1EF; }
html body.page-app .sm-page .sx-list li:first-child { border-top: 0; }
html body.page-app .sm-page .sx-list li, html body.page-app .sm-page .sx-list li > a { display: flex; align-items: center; gap: 10px; padding: 10px 2px; color: var(--tc-ink); text-decoration: none; }
html body.page-app .sm-page .sx-list li > a { flex: 1; padding: 0; }
html body.page-app .sm-page .sx-rank { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #F2F2F1; font-size: 11.5px; font-weight: 600; color: #5F5F5C; }
html body.page-app .sm-page .sx-name { flex: 1; min-width: 0; display: grid; font-size: 13.5px; font-weight: 500; }
html body.page-app .sm-page .sx-name small { font-size: 12px; font-weight: 400; color: var(--tc-mute); }
html body.page-app .sm-page .sx-val { display: grid; justify-items: end; font-size: 13.5px; font-weight: 600; }
html body.page-app .sm-page .sx-val small { font-size: 11.5px; font-weight: 400; color: var(--tc-mute); }
html body.page-app .sm-page .ov-sharebar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 18px; border: 1px solid #ECECEA; border-radius: 16px; background: #fff; }
html body.page-app .sm-page .ov-share-btn { height: 34px; display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; border: 1px solid #E4E4E2; border-radius: 999px; background: #fff; color: #111; font-size: 13px; font-weight: 500; text-decoration: none; }
html body.page-app .sm-page .ov-share-btn:hover { background: #F6F6F5; }
@media (max-width: 991.98px) { html body.page-app .sm-page .sx-grid, html body.page-app .sm-page .sx-grid.is-even { grid-template-columns: 1fr; } html body.page-app .sm-page .sx-strip .sx-kpi + .sx-kpi { border-left: 0; border-top: 1px solid #ECECEA; } }

/* v3.8d · dentro de World (embed) no se muestra el aviso flotante de caja */
html body.page-app.tc-embed .tc-pos-float-wrap{display:none!important}

/* v3.9 · Iniciales del perfil (arriba a la derecha) centradas */
html body.page-app .avatar > .avatar-initials { display: grid !important; place-items: center; width: 100% !important; height: 100% !important; line-height: 1 !important; border-radius: 50%; margin: 0; }

/* ---------- v3.9 · Inicio: animaciones con color de «Nueva cotización» y «Vender en caja» ---------- */
html body.page-app .tc-art.is-quote { background: linear-gradient(150deg, #FFF4EC 0%, #FFE6D4 55%, #FFD9C0 100%); }
html body.page-app .tc-art.is-pos { background: linear-gradient(150deg, #EEF3FF 0%, #DCE6FF 60%, #CCDAFF 100%); }
html body.page-app .tc-art-quote { position: relative; display: grid; gap: 4px; width: 168px; padding: 9px 10px 8px; border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgba(17,17,17,.06), 0 10px 24px rgba(17,17,17,.16); transform: rotate(-2deg); font-size: 9px; line-height: 1.2; color: #111; }
html body.page-app .tq-head { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 4px; border-bottom: 2px solid #111111; }
html body.page-app .tq-head b { font-size: 10.5px; font-weight: 700; letter-spacing: -.01em; }
html body.page-app .tq-head small { font-size: 8.5px; color: #8E8A83; }
html body.page-app .tq-to { color: #6B6862; font-size: 8.5px; }
html body.page-app .tq-to b { color: #111; font-weight: 600; }
html body.page-app .tq-row { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; align-items: center; gap: 6px; opacity: 0; transform: translateX(-8px); animation: tqRow 6s infinite; }
html body.page-app .tq-row.is-2 { animation-delay: .35s; }
html body.page-app .tq-row.is-3 { animation-delay: .7s; }
html body.page-app .tq-img { width: 16px; height: 16px; border-radius: 4px; overflow: hidden; background: linear-gradient(160deg, #EDEBE6, #D9D6CF); }
html body.page-app .tq-img[data-c="2"], html body.page-app .tt-item[data-c="2"] { background: linear-gradient(160deg, #E4E8F6, #9DB0EA); }
html body.page-app .tq-img[data-c="3"], html body.page-app .tt-item[data-c="3"] { background: linear-gradient(160deg, #DDF2E4, #8FD0A6); }
html body.page-app .tq-img img, html body.page-app .tt-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
html body.page-app .tq-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body.page-app .tq-price { font-weight: 600; font-variant-numeric: tabular-nums; }
html body.page-app .tq-total { display: flex; justify-content: space-between; align-items: center; margin-top: 2px; padding: 4px 6px; border-radius: 6px; background: #F4F2EC; color: #B54708; opacity: 0; animation: tqTotal 6s infinite; }
html body.page-app .tq-total b { font-size: 10.5px; color: #111111; }
html body.page-app .tq-stamp { position: absolute; right: calc(50% - 104px); top: 18px; display: inline-flex; align-items: center; gap: 3px; padding: 4px 9px; border-radius: 999px; background: #22A06B; color: #fff; font-size: 10px; font-weight: 600; box-shadow: 0 6px 14px rgba(34,160,107,.3); opacity: 0; transform: scale(.6) rotate(8deg); animation: tqStamp 6s infinite; }
@keyframes tqRow { 0%, 6% { opacity: 0; transform: translateX(-8px); } 14%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
@keyframes tqTotal { 0%, 30% { opacity: 0; } 38%, 88% { opacity: 1; } 96%, 100% { opacity: 0; } }
@keyframes tqStamp { 0%, 44% { opacity: 0; transform: scale(.6) rotate(8deg); } 52% { opacity: 1; transform: scale(1.12) rotate(-4deg); } 58%, 88% { opacity: 1; transform: scale(1) rotate(-4deg); } 96%, 100% { opacity: 0; } }

html body.page-app .tc-art-till { position: relative; display: grid; gap: 5px; width: 92px; padding: 8px; border-radius: 12px; background: #2B3A67; box-shadow: 0 10px 24px rgba(43,58,103,.28); margin-left: 64px; }
html body.page-app .tt-screen { display: grid; padding: 5px 7px; border-radius: 6px; background: #CFF5E1; color: #0B5A35; line-height: 1.1; }
html body.page-app .tt-screen small { font-size: 7.5px; text-transform: uppercase; letter-spacing: .06em; opacity: .75; }
html body.page-app .tt-screen b { font-size: 10.5px; font-weight: 700; font-variant-numeric: tabular-nums; animation: ttBlink 5s infinite; }
html body.page-app .tt-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
html body.page-app .tt-keys i { height: 8px; border-radius: 2px; background: rgba(255,255,255,.22); }
html body.page-app .tt-keys i:nth-child(3n) { background: #111111; }
html body.page-app .tt-receipt { position: absolute; left: 14px; right: 14px; top: -6px; display: grid; gap: 3px; padding: 5px 6px; border-radius: 3px 3px 0 0; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.12); transform: translateY(14px); z-index: -1; animation: ttReceipt 5s infinite; }
html body.page-app .tt-receipt i { height: 3px; border-radius: 2px; background: #D9D8D4; }
html body.page-app .tt-receipt i.is-short { width: 60%; }
html body.page-app .tt-belt { position: absolute; left: calc(50% - 116px); bottom: 26px; width: 120px; height: 34px; border-radius: 8px; background: repeating-linear-gradient(90deg, #fff 0 10px, #F1F1EF 10px 20px); box-shadow: inset 0 -3px 0 rgba(17,17,17,.06), 0 4px 12px rgba(17,17,17,.08); overflow: hidden; }
html body.page-app .tt-item { position: absolute; bottom: 5px; left: -30px; width: 24px; height: 24px; border-radius: 6px; overflow: hidden; background: linear-gradient(160deg, #EDEBE6, #D9D6CF); box-shadow: 0 2px 5px rgba(17,17,17,.15); animation: ttItem 5s linear infinite; }
html body.page-app .tt-item.is-2 { animation-delay: 1.4s; }
html body.page-app .tt-item.is-3 { animation-delay: 2.8s; }
html body.page-app .tt-scan { position: absolute; left: calc(50% - 6px); bottom: 26px; width: 3px; height: 34px; border-radius: 2px; background: #FF3B30; box-shadow: 0 0 10px 2px rgba(255,59,48,.55); animation: ttScan 1.4s ease-in-out infinite; }
@keyframes ttItem { 0% { left: -30px; } 70% { left: 104px; opacity: 1; } 76%, 100% { left: 120px; opacity: 0; } }
@keyframes ttScan { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes ttReceipt { 0%, 40% { transform: translateY(14px); } 70%, 90% { transform: translateY(-20px); } 100% { transform: translateY(14px); } }
@keyframes ttBlink { 0%, 60%, 100% { opacity: 1; } 65%, 75% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { html body.page-app :is(.tq-row, .tq-total, .tq-stamp, .tt-item, .tt-scan, .tt-receipt, .tt-screen b) { animation: none !important; opacity: 1 !important; transform: none !important; } }
@media (max-width: 760px) { html body.page-app :is(.tq-stamp, .tt-belt, .tt-scan) { display: none; } html body.page-app .tc-art-till { margin-left: 0; } }
html body.page-app .tc-actions .tc-art { height: 150px; }
html body.page-app .tc-art-quote { gap: 3px; padding-top: 8px; }
@media (max-width: 760px) { html body.page-app .tc-actions .tc-art { height: auto; } }

/* ---------- v3.9 · Mi plan: rediseño (misma línea gráfica) ---------- */
html body.page-app .plan-page { display: grid; gap: 28px; }
html body.page-app .plan-page .plan-current { position: relative; overflow: hidden; padding: 24px 26px; border-radius: 20px; border: 1px solid var(--tc-line, #ECEAE4); background: radial-gradient(120% 140% at 100% 0%, #F4F2EC 0%, rgba(255,241,230,0) 55%), #fff; }
html body.page-app .plan-page .plan-current.is-pro { background: radial-gradient(120% 140% at 100% 0%, #3A2A1F 0%, #111 60%); border-color: #111; color: #fff; }
html body.page-app .plan-page .plan-current.is-pro :is(.plan-name, .plan-sub, .plan-sub strong) { color: #fff; }
html body.page-app .plan-page .plan-current.is-pro .plan-kicker { color: rgba(255,255,255,.6); }
html body.page-app .plan-page .plan-kicker { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8E8A83; }
html body.page-app .plan-page .plan-name { margin: 4px 0 6px; font-size: 30px; font-weight: 600; letter-spacing: -.03em; }
html body.page-app .plan-page .plan-name .bi { color: #111111; font-size: 22px; }
html body.page-app .plan-page .plan-sub { margin: 0; max-width: 520px; color: #6B6862; font-size: 14.5px; line-height: 1.5; }
html body.page-app .plan-page .plan-store { border-radius: 14px; }

html body.page-app .plan-page .plan-usage-list { padding: 6px 18px; border-radius: 20px; column-gap: 36px; }
html body.page-app .plan-page .pu-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) minmax(70px, 120px) auto; align-items: center; gap: 12px; padding: 12px 0; }
html body.page-app .plan-page .pu-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #F4F2EC; color: #3D3A35; font-size: 15px; }
html body.page-app .plan-page .pu-row.is-full .pu-ic { background: #FEF3F2; color: #B42318; }
html body.page-app .plan-page .pu-row.is-warn .pu-ic { background: #FFF7E6; color: #B54708; }
html body.page-app .plan-page .pu-label { display: grid; font-size: 14px; font-weight: 500; color: #111; line-height: 1.25; }
html body.page-app .plan-page .pu-left { font-size: 12px; font-weight: 400; color: #8E8A83; }
html body.page-app .plan-page .pu-row .rep-meter { height: 6px; border-radius: 99px; background: #EFEDE8; }
html body.page-app .plan-page .pu-row .rep-fill { border-radius: 99px; background: #111; }
html body.page-app .plan-page .pu-num { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; min-width: 52px; }

html body.page-app .plan-page .plan-head { flex-direction: column; align-items: center; text-align: center; gap: 14px; margin-bottom: 22px; }
html body.page-app .plan-page .plan-head .section-title { font-size: clamp(1.4rem, 2.2vw, 1.75rem) !important; letter-spacing: -.03em; }
html body.page-app .plan-page .plan-head-sub { margin: 4px 0 0; color: #6B6862; font-size: 14.5px; }
html body.page-app .plan-page .plan-periods { padding: 4px; background: #F4F2EC; border-radius: 999px; }
html body.page-app .plan-page .plan-period { padding: 8px 16px; font-size: 13.5px; }
html body.page-app .plan-page .plan-period b { margin-left: 2px; padding: 1px 6px; border-radius: 999px; background: #E6F6EC; color: #1A7F37; font-size: 11px; }

html body.page-app .plan-page .plan-cards.is-3 { gap: 16px; align-items: stretch; }
html body.page-app .plan-page .plan-card { position: relative; gap: 14px; padding: 26px 24px 24px; border-radius: 22px; border: 1px solid #ECEAE4; background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
html body.page-app .plan-page .plan-card:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(17,17,17,.04), 0 16px 40px rgba(17,17,17,.08); }
html body.page-app .plan-page .plan-card-head { display: flex; align-items: center; gap: 10px; }
html body.page-app .plan-page .plan-card-head h3 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
html body.page-app .plan-page .plan-card-head .adm-pill { margin-left: auto; }
html body.page-app .plan-page .plan-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #F4F2EC; color: #111; font-size: 18px; flex: none; }
html body.page-app .plan-page .plan-tag { margin: -4px 0 0; color: #6B6862; font-size: 14px; min-height: 2.6em; }
html body.page-app .plan-page .plan-price { font-size: 36px; font-weight: 600; letter-spacing: -.04em; line-height: 1.1; }
html body.page-app .plan-page .plan-price small { font-size: 14px; letter-spacing: 0; }
html body.page-app .plan-page .plan-bill { margin: 4px 0 0; font-size: 13px; color: #6B6862; min-height: 1.4em; }
html body.page-app .plan-page .plan-feats { gap: 10px; padding-top: 18px; font-size: 14px; }
html body.page-app .plan-page .plan-feats li { align-items: flex-start; }
html body.page-app .plan-page .plan-feats .bi { flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; background: #F4F2EC; color: #111; font-size: 11px; }
html body.page-app .plan-page .plan-card-cta { margin-top: auto; padding-top: 6px; }
html body.page-app .plan-page .plan-card-cta .btn { height: 44px; border-radius: 999px; font-weight: 600; }
/* Recomendado: tarjeta oscura (como el plan destacado de la línea gráfica) */
html body.page-app .plan-page .plan-card.is-featured { background: #111; border-color: #111; color: #fff; box-shadow: 0 20px 50px rgba(17,17,17,.22); }
html body.page-app .plan-page .plan-card.is-featured :is(h3, .plan-price, .plan-feats, .plan-feats strong) { color: #fff; }
html body.page-app .plan-page .plan-card.is-featured :is(.plan-tag, .plan-bill, .plan-price small, .plan-was) { color: rgba(255,255,255,.62); }
html body.page-app .plan-page .plan-card.is-featured .plan-feats { border-top-color: rgba(255,255,255,.14); }
html body.page-app .plan-page .plan-card.is-featured .plan-feats .bi { background: #111111; color: #fff; }
html body.page-app .plan-page .plan-card.is-featured .plan-ic { background: #111111; color: #fff; }
html body.page-app .plan-page .plan-card.is-featured .btn-ink { background: #fff; color: #111; border-color: #fff; }
html body.page-app .plan-page .plan-card.is-featured .btn-ink:hover { background: #F4F2EC; }
html body.page-app .plan-page .plan-card.is-featured .adm-pill { background: #111111; color: #fff; }
html body.page-app .plan-page .plan-card.is-current:not(.is-featured) { box-shadow: inset 0 0 0 1.5px #111; }
html body.page-app .plan-page .plan-credit { margin: 8px 0 0; font-size: 12.5px; color: inherit; opacity: .8; }

html body.page-app .plan-page .plan-compare { margin-top: 18px; border: 1px solid #ECEAE4; border-radius: 16px; background: #fff; }
html body.page-app .plan-page .plan-compare > summary { padding: 14px 18px; font-weight: 500; cursor: pointer; }
html body.page-app .plan-page .plan-faq { display: grid; gap: 8px; margin: 24px 0 0; padding: 0; }
html body.page-app .plan-page .plan-faq-t { margin: 0 0 4px; font-size: 16px; font-weight: 600; }
html body.page-app .plan-page .plan-faq details { border: 1px solid #ECEAE4; border-radius: 14px; background: #fff; }
html body.page-app .plan-page .plan-faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font-size: 14.5px; font-weight: 500; cursor: pointer; }
html body.page-app .plan-page .plan-faq summary::-webkit-details-marker { display: none; }
html body.page-app .plan-page .plan-faq summary::after { content: "+"; font-size: 18px; color: #8E8A83; transition: transform .2s ease; }
html body.page-app .plan-page .plan-faq details[open] summary::after { transform: rotate(45deg); }
html body.page-app .plan-page .plan-faq details p { margin: 0; padding: 0 18px 16px; color: #6B6862; font-size: 14px; line-height: 1.55; }
html body.page-app .plan-page .plan-ref { border-radius: 16px; }
@media (max-width: 760px) {
  html body.page-app .plan-page .pu-row { grid-template-columns: 30px minmax(0, 1fr) auto; }
  html body.page-app .plan-page .pu-row .rep-meter, html body.page-app .plan-page .pu-row .pu-inf { grid-column: 2 / -1; }
  html body.page-app .plan-page .plan-card.is-featured { order: -1; }
}
html body.page-app .plan-page .plan-card.is-featured .plan-card-cta .btn { background: #fff !important; color: #111 !important; border-color: #fff !important; }
html body.page-app .plan-page .plan-card.is-featured .plan-card-cta .btn:hover { background: #F4F2EC !important; }
html body.page-app .plan-page .pu-row.is-full .rep-fill { background: #D92D20; }
html body.page-app .plan-page .pu-row.is-warn .rep-fill { background: #F79009; }

/* ---------- v4.0 · Inicio: Cotización y Caja con la misma línea sobria de las demás (fondo gris, sin color) ---------- */
html body.page-app .tc-art.is-quote, html body.page-app .tc-art.is-pos { background: var(--tc-soft, #F4F2EC); }
html body.page-app .tc-art-qdoc { display: grid; gap: 7px; width: 132px; padding: 12px 12px 10px; border-radius: 10px; background: #fff; box-shadow: var(--tc-sh-2); }
html body.page-app .tc-art-qdoc > b { width: 46%; height: 7px; border-radius: 3px; background: #111; margin-bottom: 2px; }
html body.page-app .tq-line { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; align-items: center; gap: 6px; }
html body.page-app .tq-thumb { display: block; width: 16px; height: 16px; border-radius: 4px; overflow: hidden; background: #E9E7E1; }
html body.page-app .tq-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.85); }
html body.page-app .tq-line i { display: block; height: 5px; border-radius: 3px; background: var(--tc-line-2, #E3E1DB); }
html body.page-app .tq-line em { font-style: normal; font-size: 7.5px; font-weight: 600; color: #6B6862; font-variant-numeric: tabular-nums; }
html body.page-app .tq-sum { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 2px; padding-top: 6px; border-top: 1px dashed #E3E1DB; }
html body.page-app .tq-sum i { width: 30%; height: 5px; border-radius: 3px; background: #D9D7D1; }
html body.page-app .tq-sum strong { font-size: 9px; font-weight: 700; color: #111; }
html body.page-app .tc-art-ticket2 { display: grid; gap: 8px; justify-items: center; width: 128px; padding: 12px; border-radius: 12px; background: #fff; box-shadow: var(--tc-sh-2); }
html body.page-app .tt2-row { display: flex; gap: 5px; }
html body.page-app .tt2-row .tq-thumb { width: 26px; height: 26px; border-radius: 7px; }
html body.page-app .tt2-total { display: grid; justify-items: center; line-height: 1.1; }
html body.page-app .tt2-total small { font-size: 8px; color: #8E8A83; text-transform: uppercase; letter-spacing: .06em; }
html body.page-app .tt2-total strong { font-size: 14px; font-weight: 700; color: #111; font-variant-numeric: tabular-nums; }
html body.page-app .tt2-pay { display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px; border-radius: 999px; background: #111; color: #fff; font-size: 9px; font-weight: 600; }
html body.page-app :is(.tc-art-quote, .tq-stamp, .tc-art-till, .tt-belt, .tt-scan) { display: none !important; }
/* Móvil: en el carrusel la imagen ocupa todo el ancho de la tarjeta (antes se veía reducida a un lado) */
@media (max-width: 767.98px) {
  html body.page-app .tc-actions.is-slider .tc-art { width: 100%; height: 118px; min-height: 0; border-right: 0; border-bottom: 1px solid var(--tc-line); }
  html body.page-app .tc-actions.is-slider .tc-art > :first-child { transform: scale(.86); }
  html body.page-app .tc-actions.is-slider .tc-action-body { padding: 12px 14px 14px; }
}

/* ---------- v4.0 · Planes: «Mi plan» plegado + tarjetas blanco y negro + lo que incluye ---------- */
html body.page-app .plan-page .plan-mine { border: 1px solid #ECEAE4; border-radius: 18px; background: #fff; }
html body.page-app .plan-page .plan-mine > summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 14px 18px; cursor: pointer; }
html body.page-app .plan-page .plan-mine > summary::-webkit-details-marker { display: none; }
html body.page-app .plan-page .plan-mine-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #111; color: #fff; font-size: 18px; flex: none; }
html body.page-app .plan-page .plan-mine-t { display: grid; line-height: 1.2; }
html body.page-app .plan-page .plan-mine-t small { font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: #8E8A83; }
html body.page-app .plan-page .plan-mine-t b { font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
html body.page-app .plan-page .plan-mine-s { flex: 1; min-width: 0; color: #6B6862; font-size: 13.5px; }
html body.page-app .plan-page .plan-mine-more { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: #F4F2EC; font-size: 13px; font-weight: 500; white-space: nowrap; }
html body.page-app .plan-page .plan-mine-more .bi { transition: transform .2s ease; }
html body.page-app .plan-page .plan-mine[open] .plan-mine-more .bi { transform: rotate(180deg); }
html body.page-app .plan-page .plan-mine-body { display: grid; gap: 22px; padding: 4px 18px 20px; }
html body.page-app .plan-page .plan-mine-body .plan-current { padding: 18px 20px; background: #FAFAF8; }
html body.page-app .plan-page .plan-mine-body .plan-current.is-pro { background: #111; }
html body.page-app .plan-page .plan-cards.is-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1200px) { html body.page-app .plan-page .plan-cards.is-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { html body.page-app .plan-page .plan-cards.is-4 { grid-template-columns: minmax(0, 1fr); } }
html body.page-app .plan-page .plan-card { border-color: #E3E1DB; }
html body.page-app .plan-page .plan-card .plan-ic { background: #111; color: #fff; }
html body.page-app .plan-page .plan-card .plan-feats .bi { background: #111; color: #fff; }
html body.page-app .plan-page .plan-card.is-featured { background: #111; color: #fff; }
html body.page-app .plan-page .plan-card.is-featured .plan-ic, html body.page-app .plan-page .plan-card.is-featured .plan-feats .bi { background: #fff !important; color: #111 !important; }
html body.page-app .plan-page .plan-card.is-featured .adm-pill { background: #fff !important; color: #111 !important; }
html body.page-app .plan-page .plan-card .plan-price { font-size: 32px; }
html body.page-app .plan-page .plan-incl { margin-top: 26px; display: grid; gap: 18px; }
html body.page-app .plan-page .plan-incl-head h3, html body.page-app .plan-page .plan-tools-head h3 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
html body.page-app .plan-page .plan-incl-head p, html body.page-app .plan-page .plan-tools-head p { margin: 4px 0 0; color: #6B6862; font-size: 14px; }
html body.page-app .plan-page .plan-incl-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
html body.page-app .plan-page .plan-incl-grid li { display: flex; gap: 12px; padding: 14px; border: 1px solid #ECEAE4; border-radius: 14px; background: #fff; }
html body.page-app .plan-page .plan-incl-grid b { display: block; font-size: 14px; font-weight: 600; }
html body.page-app .plan-page .plan-incl-grid small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.4; color: #6B6862; }
html body.page-app .plan-page .plan-incl-ic { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; background: #F4F2EC; color: #111; font-size: 16px; }
html body.page-app .plan-page .plan-tools { padding: 20px; border-radius: 20px; background: #111; color: #fff; display: grid; gap: 14px; }
html body.page-app .plan-page .plan-tools-head p { color: rgba(255,255,255,.65); }
html body.page-app .plan-page .plan-tools-head .adm-pill { background: #fff; color: #111; margin-bottom: 8px; display: inline-block; }
html body.page-app .plan-page .plan-incl-grid.is-tools li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
html body.page-app .plan-page .plan-incl-grid.is-tools small { color: rgba(255,255,255,.62); }
html body.page-app .plan-page .plan-incl-grid.is-tools .plan-incl-ic { background: #fff; color: #111; }
@media (max-width: 640px) { html body.page-app .plan-page .plan-mine-s { display: none; } }
html body.page-app .plan-page .plan-card-head { justify-content: flex-start; }
html body.page-app .plan-page .plan-card-head h3 { margin-right: auto; }

/* ---------- v4.0 · Notificaciones agrupadas (línea de tiempo) + ventanita de la campana ---------- */
html body.page-app .notif-tl { display: grid; gap: 4px; margin-top: 8px; padding: 8px 0 2px 12px; border-left: 2px solid #E7E5E0; }
html body.page-app .notif-tl-i { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #6B6862; }
html body.page-app .notif-tl-i .bi { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: #F4F2EC; font-size: 10px; color: #3D3A35; flex: none; }
html body.page-app .notif-tl-i time { margin-left: auto; font-size: 11.5px; color: #8E8A83; white-space: nowrap; }
html body.page-app .notif-tl-i.is-now { color: #111; font-weight: 600; }
html body.page-app .notif-tl-i.is-now .bi { background: #111; color: #fff; }
html body.page-app .notif-tl-i.tone-danger .bi { background: #FEE4E2; color: #B42318; }
html body.page-app .notif-tl-i.tone-ok .bi { background: #E6F6EC; color: #1A7F37; }
.np-pop { position: fixed; z-index: 1080; width: min(400px, calc(100vw - 16px)); max-height: min(560px, calc(100vh - 80px)); display: flex; flex-direction: column; background: #fff; border: 1px solid #ECEAE4; border-radius: 18px; box-shadow: 0 20px 50px rgba(17,17,17,.16); overflow: hidden; animation: npIn .16s ease; }
@keyframes npIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.np-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px 10px; }
.np-head strong { font-size: 15px; }
.np-read { border: 0; background: #F4F2EC; color: #111; border-radius: 999px; padding: 6px 10px; font-size: 12px; font-weight: 500; }
.np-read:hover { background: #ECEAE4; }
.np-list { list-style: none; margin: 0; padding: 0 8px; overflow-y: auto; }
.np-item { display: flex; gap: 10px; padding: 10px 8px; border-radius: 12px; color: #111; text-decoration: none; }
.np-item:hover { background: #F7F6F3; color: #111; }
.np-item.is-unread { background: #F7F6F3; }
.np-item.is-unread b::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #111; vertical-align: middle; }
.np-body { flex: 1; min-width: 0; display: grid; gap: 2px; }
.np-body b { font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.np-body small { font-size: 12.5px; color: #6B6862; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-tl { display: inline-flex; align-items: center; gap: 4px; margin-top: 3px; }
.np-tl .bi { width: 18px; height: 18px; display: inline-grid; place-items: center; border-radius: 50%; background: #F4F2EC; font-size: 10px; }
.np-tl .tone-danger { background: #FEE4E2; color: #B42318; }
.np-tl .tone-ok { background: #E6F6EC; color: #1A7F37; }
.np-tl em { font-style: normal; font-size: 11.5px; color: #8E8A83; margin-left: 4px; }
.np-item time { font-size: 11.5px; color: #8E8A83; white-space: nowrap; }
.np-empty { margin: 0; padding: 26px 16px; text-align: center; color: #6B6862; font-size: 13.5px; }
.np-all { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 8px; padding: 11px; border-radius: 12px; background: #111; color: #fff; font-size: 13.5px; font-weight: 600; text-decoration: none; }
.np-all:hover { background: #2A2A2A; color: #fff; }
.np-pop a.np-all, .np-pop a.np-all:hover { color: #fff !important; }

/* ---------- v4.0 · Menú: tipografía e íconos más cuidados + Más herramientas ---------- */
html body.page-app .tc-nav .tc-link { height: 36px; font-size: 14px; font-weight: 500; color: #3D3A35; letter-spacing: -.005em; }
html body.page-app .tc-nav .tc-link > :is(.ic, .bi:first-child) { color: #6B6862; font-size: 17px; }
html body.page-app .tc-nav .tc-link:hover { background: #F2F0EB; color: #111; }
html body.page-app .tc-nav .tc-link.is-active { background: #111; color: #fff; font-weight: 600; }
html body.page-app .tc-nav .tc-link.is-active > :is(.ic, .bi:first-child) { color: #fff; }
html body.page-app .tc-nav .tc-link.is-active .tc-count { background: #fff; color: #111; }
html body.page-app .tc-label { font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: #8E8A83; font-weight: 600; }
html body.page-app .tc-extra { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 999px; background: #111; color: #fff; font-size: 10.5px; font-weight: 600; }
html body.page-app .tc-link.is-active .tc-extra { background: #fff; color: #111; }
html body.page-app .tc-bm-note { margin: 10px 2px 0; font-size: 12.5px; color: #6B6862; display: flex; gap: 6px; align-items: flex-start; }
html body.page-app .tl-banner { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; padding: 16px 18px; border-radius: 16px; background: #111; color: #fff; }
html body.page-app .tl-banner small { display: block; color: rgba(255,255,255,.7); font-size: 13px; }
html body.page-app .tl-banner-ic { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 12px; background: #fff; color: #111; font-size: 17px; }
html body.page-app .tl-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
html body.page-app .tl-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; border: 1px solid #ECEAE4; border-radius: 18px; background: #fff; transition: box-shadow .2s ease, transform .2s ease; }
html body.page-app .tl-card:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(17,17,17,.08); }
html body.page-app .tl-card h2 { margin: 6px 0 0; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
html body.page-app .tl-card p { margin: 0 0 6px; flex: 1; color: #6B6862; font-size: 13.5px; line-height: 1.5; }
html body.page-app .tl-card .btn { align-self: flex-start; }
html body.page-app .tl-ic { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: #111; color: #fff; font-size: 19px; }
html body.page-app .tl-card.is-locked .tl-ic { background: #F4F2EC; color: #111; }
html body.page-app .tl-lock { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: #F4F2EC; font-size: 12px; font-weight: 600; color: #3D3A35; }

/* ---------- v4.0 · Registro de negocio: sin números, progreso en barras y la tienda construyéndose ---------- */
html body.page-focus.ob .obw-steps { gap: 8px; margin: 6px 0 18px; }
html body.page-focus.ob .obw-steps li { display: grid; gap: 7px; font-size: 12px; font-weight: 500; }
html body.page-focus.ob .obw-steps span { width: 100%; height: 3px; border-radius: 3px; background: #ECEAE5; box-shadow: none !important; position: relative; overflow: hidden; }
html body.page-focus.ob .obw-steps li.is-done span { background: #111; }
html body.page-focus.ob .obw-steps li.is-current span { background: #ECEAE5; }
html body.page-focus.ob .obw-steps li.is-current span::after { content: ""; position: absolute; inset: 0; width: 55%; border-radius: 3px; background: #111; animation: obBar 1.8s ease-in-out infinite alternate; }
@keyframes obBar { from { width: 25%; } to { width: 85%; } }
html body.page-focus.ob .wizard-progress { display: none; }
html body.page-focus.ob .wstep-kicker { letter-spacing: .06em; text-transform: uppercase; font-size: 11.5px; }
html body.page-focus.ob .wstep-title { letter-spacing: -.035em; }
html body.page-focus.ob .wstep { animation: obStep .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes obStep { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
/* vista previa: se arma por partes */
html body.page-focus.ob .obp-label [data-pv-status].is-anim { animation: obStatus .5s ease; }
@keyframes obStatus { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
html body.page-focus.ob .obp-win { position: relative; }
html body.page-focus.ob .obp-win::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 45%, transparent 60%); background-size: 250% 100%; animation: obShine 3.2s ease-in-out infinite; mix-blend-mode: soft-light; }
@keyframes obShine { from { background-position: 120% 0; } to { background-position: -120% 0; } }
html body.page-focus.ob .obp-store > * { transition: box-shadow .3s ease, transform .3s ease, opacity .3s ease; border-radius: 10px; }
html body.page-focus.ob .obp:is([data-stage="name"]) .obp-id-t strong,
html body.page-focus.ob .obp:is([data-stage="identity"]) :is(.obp-logo, .obp-cover),
html body.page-focus.ob .obp:is([data-stage="social"]) :is(.obp-wa, [data-pv-social-wrap]),
html body.page-focus.ob .obp:is([data-stage="locations"]) [data-pv-place],
html body.page-focus.ob .obp:is([data-stage="payments"]) [data-pv-pays-wrap],
html body.page-focus.ob .obp:is([data-stage="country"]) [data-pv-place] { box-shadow: 0 0 0 2px #111, 0 0 0 6px rgba(17,17,17,.08); }
html body.page-focus.ob .is-pop { animation: obPop .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes obPop { 0% { transform: scale(.94); } 60% { transform: scale(1.04); } 100% { transform: none; } }
html body.page-focus.ob .obp-grid i { animation: obTile 2.4s ease-in-out infinite; }
html body.page-focus.ob .obp-grid i:nth-child(2) { animation-delay: .3s; }
html body.page-focus.ob .obp-grid i:nth-child(3) { animation-delay: .6s; }
@keyframes obTile { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

/* ---------- v4.0 · ¡Tu tienda está en línea!: compartir primero ---------- */
html body.page-focus.ob .rd4 .ready-hero { margin-bottom: 20px; }
html body.page-focus.ob .rd4-share { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 22px; align-items: center; margin: 0 auto 22px; max-width: 760px; padding: 22px; border: 1px solid #ECEAE4; border-radius: 22px; background: #fff; box-shadow: 0 1px 2px rgba(17,17,17,.04), 0 18px 40px rgba(17,17,17,.06); }
html body.page-focus.ob .rd4-k { margin: 0 0 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: #8E8A83; }
html body.page-focus.ob .rd4-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
html body.page-focus.ob .rd4-actions .btn { border-radius: 999px; }
html body.page-focus.ob .rd4-qr { display: grid; justify-items: center; gap: 6px; text-align: center; }
html body.page-focus.ob .rd4-qr small { max-width: 200px; font-size: 12px; color: #8E8A83; }
html body.page-focus.ob .rd4-qr .qr-card { padding: 12px; border-radius: 18px; background: #FAFAF8; }
@media (max-width: 640px) { html body.page-focus.ob .rd4-share { grid-template-columns: minmax(0, 1fr); } }

/* v4.0c · Menú: la opción activa en gris suave (sin negro) */
html body.page-app .tc-nav .tc-link.is-active { background: #EFEEEA; color: #111; font-weight: 600; box-shadow: none; }
html body.page-app .tc-nav .tc-link.is-active > :is(.ic, .bi:first-child) { color: #111; }
html body.page-app .tc-nav .tc-link.is-active .tc-count { background: #111; color: #fff; }
html body.page-app .tc-link.is-active .tc-extra { background: #111; color: #fff; }
html body.page-app .tc-nav .tc-link:hover:not(.is-active) { background: #F5F4F1; }
/* v4.0c · Planes más livianos */
html body.page-app .plan-pays { margin-top: 18px; }
html body.page-app .plan-cards.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { html body.page-app .plan-cards.is-3 { grid-template-columns: minmax(0, 1fr); } }

/* v4.1 · Planes minimalistas (línea ElevenLabs: blanco, bordes finos, sin negro) */
html body.page-app .plan-page { display: grid; gap: 28px; }
html body.page-app .pl5-mine { border: 1px solid #ECEAE5; border-radius: 14px; background: #fff; }
html body.page-app .pl5-mine > summary { list-style: none; display: flex; align-items: center; gap: 16px; padding: 14px 18px; cursor: pointer; }
html body.page-app .pl5-mine > summary::-webkit-details-marker { display: none; }
html body.page-app .pl5-mine-t { display: grid; line-height: 1.25; }
html body.page-app .pl5-mine-t small { font-size: 12px; color: #8E8A83; }
html body.page-app .pl5-mine-t b { font-size: 15px; font-weight: 600; color: #111; }
html body.page-app .pl5-mine-s { font-size: 13px; color: #6B6862; }
html body.page-app .pl5-mine-more { margin-left: auto; font-size: 13px; color: #6B6862; display: inline-flex; gap: 6px; align-items: center; }
html body.page-app .pl5-mine[open] .pl5-mine-more i { transform: rotate(180deg); }
html body.page-app .pl5-mine-body { padding: 4px 18px 18px; border-top: 1px solid #F1EFEB; }
html body.page-app .pl5-use { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px 28px; }
html body.page-app .pl5-use li { display: grid; grid-template-columns: 1fr auto; gap: 6px; padding: 10px 0; border-bottom: 1px solid #F4F2EE; font-size: 13px; }
html body.page-app .pl5-use-l { color: #3D3A35; }
html body.page-app .pl5-use-n { color: #111; font-variant-numeric: tabular-nums; }
html body.page-app .pl5-use .rep-meter { grid-column: 1 / -1; height: 3px; background: #F1EFEB; }
html body.page-app .pl5-use .rep-fill { background: #8E8A83; }
html body.page-app .pl5-use li.is-full .pl5-use-n, html body.page-app .pl5-use li.is-hit .pl5-use-n { color: #B42318; }
html body.page-app .pl5-sub { margin: 20px 0 8px; font-size: 13px; font-weight: 600; color: #111; }

html body.page-app .pl5-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
html body.page-app .pl5-head h2 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.01em; color: #111; }
html body.page-app .pl5-periods { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: #F4F3F0; }
html body.page-app .pl5-period { height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: #6B6862; font-size: 13px; font-weight: 500; cursor: pointer; }
html body.page-app .pl5-period small { font-size: 11px; color: #8E8A83; }
html body.page-app .pl5-period.is-on { background: #fff; color: #111; box-shadow: 0 1px 2px rgba(17, 17, 17, .08); }

html body.page-app .pl5-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
@media (max-width: 960px) { html body.page-app .pl5-cards { grid-template-columns: minmax(0, 1fr); } }
html body.page-app .pl5-card { display: flex; flex-direction: column; padding: 22px; border: 1px solid #ECEAE5; border-radius: 16px; background: #fff; }
html body.page-app .pl5-card.is-featured { border-color: #CFCCC5; box-shadow: 0 8px 28px rgba(17, 17, 17, .05); }
html body.page-app .pl5-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
html body.page-app .pl5-card h3 { margin: 0; font-size: 16px; font-weight: 600; color: #111; }
html body.page-app .pl5-tag { padding: 3px 9px; border-radius: 999px; background: #F4F3F0; color: #3D3A35; font-size: 11.5px; font-weight: 500; }
html body.page-app .pl5-line { margin: 6px 0 18px; min-height: 2.6em; font-size: 13px; line-height: 1.35; color: #6B6862; }
html body.page-app .pl5-price { margin: 0; font-size: 30px; font-weight: 600; letter-spacing: -.02em; color: #111; font-variant-numeric: tabular-nums; }
html body.page-app .pl5-price small { font-size: 13px; font-weight: 400; color: #8E8A83; letter-spacing: 0; }
html body.page-app .pl5-bill { margin: 2px 0 0; font-size: 12.5px; color: #8E8A83; }
html body.page-app .pl5-cta { margin: 18px 0 4px; }
html body.page-app .pl5-btn { width: 100%; height: 40px; border: 1px solid #E2DFD9; border-radius: 999px; background: #fff; color: #111; font-size: 14px; font-weight: 500; cursor: pointer; transition: background .15s, border-color .15s; }
html body.page-app .pl5-btn:hover { background: #F6F5F2; border-color: #D3D0C9; }
html body.page-app .pl5-btn.is-main { background: #F2F1EE; border-color: #E2DFD9; }
html body.page-app .pl5-btn.is-main:hover { background: #E9E7E2; }
html body.page-app .pl5-note { margin: 6px 0 0; font-size: 12.5px; color: #8E8A83; }
html body.page-app .pl5-limits { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid #F1EFEB; display: grid; gap: 0; }
html body.page-app .pl5-limits > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 13px; }
html body.page-app .pl5-limits dt { font-weight: 400; color: #6B6862; }
html body.page-app .pl5-limits dd { margin: 0; color: #111; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
html body.page-app .pl5-feats { list-style: none; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid #F1EFEB; display: grid; gap: 8px; font-size: 13px; color: #3D3A35; }
html body.page-app .pl5-feats li { display: flex; gap: 8px; align-items: baseline; }
html body.page-app .pl5-feats i { color: #8E8A83; }

html body.page-app .pl5-compare { margin-top: 18px; }
html body.page-app .pl5-compare > summary { cursor: pointer; font-size: 13.5px; font-weight: 500; color: #3D3A35; padding: 6px 0; }
html body.page-app .pl5-compare .plan-table th, html body.page-app .pl5-compare .plan-table td { background: #fff !important; color: #111 !important; font-weight: 400; }
html body.page-app .pl5-compare .plan-table thead th { font-weight: 600; }
html body.page-app .pl5-compare .plan-table .is-current { background: #FAFAF8 !important; }
html body.page-app .pl5-compare .adm-pill { background: #F4F3F0; color: #3D3A35; }
html body.page-app .plan-page .plan-alert { background: #FAFAF8; border: 1px solid #ECEAE5; color: #3D3A35; }
html body.page-app .plan-page .plan-alert i { background: none !important; color: #6B6862 !important; }

/* v4.1 · Sin negro: insignias del menú y botón «Mejorar» */
html body.page-app .tc-extra, html body.page-app .tc-link.is-active .tc-extra { background: #F1F0EC; color: #3D3A35; }
html body.page-app .tc-plan-cta { background: #fff !important; color: #111 !important; border: 1px solid #E2DFD9; }

/* v4.1 · Más herramientas: próximamente + animación por herramienta */
html body.page-app .tl-soon { display: inline-block; margin-bottom: 8px; padding: 3px 10px; border-radius: 999px; background: #F1F0EC; color: #3D3A35; font-size: 12px; font-weight: 500; }
html body.page-app .tl-page .hx-lead { max-width: 620px; }
html body.page-app .tl-card { padding: 0; overflow: hidden; gap: 0; }
html body.page-app .tl-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
html body.page-app .tl-body h2 { margin: 0; font-size: 15px; font-weight: 600; }
html body.page-app .tl-body p { margin: 0 0 6px; flex: 1; color: #6B6862; font-size: 13px; line-height: 1.5; }
html body.page-app .tl-tag { align-self: flex-start; padding: 3px 9px; border-radius: 999px; background: #F4F3F0; color: #6B6862; font-size: 11.5px; font-weight: 500; }
html body.page-app .tl-art2 { position: relative; display: grid; place-items: center; height: 140px; background: #F6F5F2; border-bottom: 1px solid #ECEAE5; overflow: hidden; font-family: inherit; }
html body.page-app .tl-art2 > * { position: relative; }
html body.page-app .tla-ic { font-size: 28px; color: #3D3A35; }
/* base de tarjetas blancas */
html body.page-app :is(.tla-url, .tla-mail, .tla-post, .tla-doc, .tla-card, .tla-bub, .tla-pill, .tla-typing) { background: #fff; box-shadow: 0 1px 2px rgba(17,17,17,.06), 0 6px 18px rgba(17,17,17,.06); }
/* dominio: la dirección se escribe */
html body.page-app .tla-url { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 999px; font-size: 12.5px; color: #111; }
html body.page-app .tla-url i { font-size: 11px; color: #1A7F37; }
html body.page-app .tla-url b { font-weight: 500; display: inline-block; overflow: hidden; white-space: nowrap; width: 0; animation: tla-type 4s steps(17) infinite; }
@keyframes tla-type { 0% { width: 0; } 45%, 85% { width: 17ch; } 100% { width: 0; } }
/* correo: sobre que entra y la dirección aparece */
html body.page-app .tl-art2.is-email { gap: 10px; align-content: center; }
html body.page-app .tla-mail { width: 96px; height: 62px; border-radius: 8px; display: grid; align-content: end; gap: 5px; padding: 0 12px 10px; animation: tla-in 3.6s ease-in-out infinite; }
html body.page-app .tla-mail-flap { position: absolute; left: 0; right: 0; top: 0; height: 30px; border-bottom: 1px solid #ECEAE5; clip-path: polygon(0 0, 100% 0, 50% 100%); background: #F1F0EC; }
html body.page-app .tla-mail i, html body.page-app .tla-post i, html body.page-app .tla-ln { display: block; height: 5px; border-radius: 3px; background: #E7E5E0; }
html body.page-app :is(.tla-mail, .tla-post) i.is-short { width: 60%; }
html body.page-app .tla-pill { padding: 4px 10px; border-radius: 999px; font-size: 11px; color: #3D3A35; animation: tla-fade 3.6s ease-in-out infinite; }
@keyframes tla-in { 0% { transform: translateX(-30px); opacity: 0; } 20%, 80% { transform: none; opacity: 1; } 100% { transform: translateX(30px); opacity: 0; } }
@keyframes tla-fade { 0%, 25% { opacity: 0; transform: translateY(4px); } 40%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
/* redes: publicación y respuestas automáticas */
html body.page-app .tla-post { width: 92px; padding: 8px; border-radius: 10px; display: grid; gap: 5px; transform: translateX(-34px); }
html body.page-app .tla-post-img { display: block; height: 46px; border-radius: 6px; background: linear-gradient(135deg, #EDEBE6, #DAD7D0); }
html body.page-app .tla-bub { position: absolute; padding: 5px 9px; border-radius: 10px 10px 10px 3px; font-size: 10.5px; color: #3D3A35; white-space: nowrap; }
html body.page-app .tla-bub.is-me { border-radius: 10px 10px 3px 10px; background: #F1F0EC; }
html body.page-app .is-social .tla-bub.is-a { right: calc(50% - 98px); top: 34px; animation: tla-pop 4s ease infinite; }
html body.page-app .is-social .tla-bub.is-b { right: calc(50% - 104px); top: 72px; animation: tla-pop 4s ease infinite 1s; }
@keyframes tla-pop { 0%, 10% { opacity: 0; transform: translateY(6px) scale(.96); } 20%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
html body.page-app .tl-art2.is-social .tla-bub { opacity: 0; }
/* contenido con IA: renglones que se escriben */
html body.page-app .tla-doc { width: 128px; padding: 12px; border-radius: 10px; display: grid; gap: 7px; }
html body.page-app .tla-doc .bi { font-size: 14px; color: #6B6862; animation: tla-spark 2s ease-in-out infinite; }
html body.page-app .tla-ln { transform-origin: left; animation: tla-grow 3.6s ease infinite; transform: scaleX(0); }
html body.page-app .tla-ln:nth-of-type(3) { animation-delay: .4s; }
html body.page-app .tla-ln:nth-of-type(4) { animation-delay: .8s; }
html body.page-app .tla-ln.is-short { width: 60%; }
@keyframes tla-grow { 0% { transform: scaleX(0); } 30%, 85% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes tla-spark { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.18) rotate(12deg); } }
/* asistente: pregunta, escribiendo, respuesta */
html body.page-app .tla-chat { display: grid; gap: 6px; width: 160px; }
html body.page-app .tla-chat .tla-bub { position: static; justify-self: start; opacity: 0; }
html body.page-app .tla-chat .tla-bub.is-me { justify-self: end; }
html body.page-app .tla-chat .tla-bub.is-a { animation: tla-pop 4.5s ease infinite; }
html body.page-app .tla-chat .tla-bub.is-c { animation: tla-pop2 4.5s ease infinite; }
html body.page-app .tla-typing { justify-self: end; display: inline-flex; gap: 3px; padding: 7px 9px; border-radius: 10px; background: #F1F0EC; box-shadow: none; animation: tla-typ 4.5s ease infinite; }
html body.page-app .tla-typing i { width: 4px; height: 4px; border-radius: 50%; background: #8E8A83; animation: tla-dot 1s ease-in-out infinite; }
html body.page-app .tla-typing i:nth-child(2) { animation-delay: .15s; } html body.page-app .tla-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes tla-typ { 0%, 18% { opacity: 0; } 22%, 42% { opacity: 1; } 46%, 100% { opacity: 0; height: 0; padding: 0; } }
@keyframes tla-pop2 { 0%, 45% { opacity: 0; transform: translateY(6px); } 52%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes tla-dot { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-2px); opacity: 1; } }
/* campañas: mensajes que salen */
html body.page-app .tla-send { width: 150px; height: 90px; }
html body.page-app .tla-send .bi { position: absolute; left: 6px; top: 34px; font-size: 18px; color: #3D3A35; }
html body.page-app .tla-msg { position: absolute; left: 36px; width: 46px; height: 16px; border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(17,17,17,.06), 0 4px 12px rgba(17,17,17,.06); opacity: 0; animation: tla-fly 3s ease-out infinite; }
html body.page-app .tla-msg.is-1 { top: 14px; } html body.page-app .tla-msg.is-2 { top: 37px; animation-delay: .35s; } html body.page-app .tla-msg.is-3 { top: 60px; animation-delay: .7s; }
@keyframes tla-fly { 0% { opacity: 0; transform: translateX(-10px); } 20% { opacity: 1; } 70% { opacity: 1; transform: translateX(58px); } 100% { opacity: 0; transform: translateX(70px); } }
/* envíos: camión hacia el destino */
html body.page-app .tla-road { width: 170px; height: 40px; border-bottom: 2px dashed #D9D6CF; }
html body.page-app .tla-truck { position: absolute; left: 0; bottom: 4px; font-size: 22px; color: #3D3A35; animation: tla-drive 3.6s ease-in-out infinite; }
html body.page-app .tla-pin { position: absolute; right: 0; bottom: 6px; font-size: 18px; color: #6B6862; animation: tla-bounce 3.6s ease infinite; }
@keyframes tla-drive { 0% { transform: translateX(0); opacity: 0; } 10% { opacity: 1; } 70%, 85% { transform: translateX(118px); opacity: 1; } 100% { transform: translateX(118px); opacity: 0; } }
@keyframes tla-bounce { 0%, 65% { transform: none; } 72% { transform: translateY(-5px); } 80%, 100% { transform: none; } }
/* fidelización: sellos que se llenan */
html body.page-app .tla-card { width: 150px; padding: 12px; border-radius: 12px; display: grid; gap: 10px; }
html body.page-app .tla-card b { font-size: 11px; font-weight: 600; color: #111; }
html body.page-app .tla-stamps { display: flex; gap: 6px; }
html body.page-app .tla-stamps i { width: 20px; height: 20px; border-radius: 50%; border: 1.5px dashed #D3D0C9; animation: tla-stamp 5s ease infinite; }
html body.page-app .tla-stamps i:nth-child(2) { animation-delay: .5s; } html body.page-app .tla-stamps i:nth-child(3) { animation-delay: 1s; } html body.page-app .tla-stamps i:nth-child(4) { animation-delay: 1.5s; } html body.page-app .tla-stamps i:nth-child(5) { animation-delay: 2s; }
@keyframes tla-stamp { 0%, 10% { background: transparent; border-style: dashed; transform: scale(1); } 16% { transform: scale(1.2); } 22%, 85% { background: #8E8A83; border: 1.5px solid #8E8A83; transform: scale(1); } 100% { background: transparent; } }
@media (prefers-reduced-motion: reduce) { html body.page-app .tl-art2 *, html body.page-app .tl-art2 *::before { animation: none !important; opacity: 1 !important; transform: none !important; width: auto; } }
html body.page-app .is-social .tla-post { transform: translateX(-52px); }
html body.page-app .is-social .tla-bub.is-a { right: calc(50% - 92px); } html body.page-app .is-social .tla-bub.is-b { right: calc(50% - 98px); }

/* v4.1 · Comprobantes en pedidos (lista de pagos, «Registrar pago») y visor */
html body.page-app .ord-payments li { align-items: center; gap: 10px; }
html body.page-app .ord-pay-thumb { flex: none; width: 40px; height: 40px; border-radius: 8px; overflow: hidden; border: 1px solid #ECEAE5; background: #F6F5F2; display: block; }
html body.page-app .ord-pay-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
html body.page-app .ord-rc-field { margin-top: 14px; }
html body.page-app .ord-rc-pick { display: flex; align-items: center; justify-content: center; min-height: 64px; padding: 8px; border: 1px dashed #D9D6CF; border-radius: 12px; background: #FAFAF8; cursor: pointer; color: #6B6862; font-size: 13px; }
html body.page-app .ord-rc-pick:hover { background: #F4F3F0; }
html body.page-app .ord-rc-empty { display: inline-flex; gap: 8px; align-items: center; }
html body.page-app .ord-rc-prev img { display: block; max-height: 160px; max-width: 100%; border-radius: 8px; }
html body .tc-lightbox { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 48px 16px; background: rgba(17, 17, 17, .72); animation: tc-lb-in .18s ease; }
html body .tc-lightbox img { max-width: min(720px, 100%); max-height: calc(100vh - 120px); border-radius: 12px; background: #fff; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
html body .tc-lightbox-x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; font-size: 16px; cursor: pointer; }
html body .tc-lightbox-open { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); padding: 7px 14px; border-radius: 999px; background: #fff; color: #111; font-size: 13px; text-decoration: none; }
@keyframes tc-lb-in { from { opacity: 0; } to { opacity: 1; } }

/* v4.1 · Más herramientas: aviso «En desarrollo» */
html body.page-app .tl-dev { display: flex; align-items: center; gap: 14px; margin: 0 0 20px; padding: 16px 18px; border: 1px solid #ECEAE5; border-radius: 14px; background: #FAFAF8; }
html body.page-app .tl-dev-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #F5A524; box-shadow: 0 0 0 4px rgba(245, 165, 36, .16); animation: tcPulse 1.8s infinite; }
html body.page-app .tl-dev-txt { display: grid; gap: 2px; font-size: 13.5px; color: #6B6862; line-height: 1.45; }
html body.page-app .tl-dev-txt strong { font-size: 14px; font-weight: 600; color: #111; }
html body.page-app .tl-dev-btn { margin-left: auto; flex: none; display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border: 1px solid #E2DFD9; border-radius: 999px; background: #fff; color: #111; font-size: 13.5px; font-weight: 500; text-decoration: none; white-space: nowrap; }
html body.page-app .tl-dev-btn:hover { background: #F4F3F0; color: #111; }
@media (max-width: 640px) { html body.page-app .tl-dev { flex-wrap: wrap; } html body.page-app .tl-dev-btn { margin-left: 24px; } }
/* v4.1 · Planes: consumo agrupado */
html body.page-app .pl5-use-sum { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 14px 0 4px; padding: 10px 12px; border-radius: 10px; background: #F4FAF6; color: #1A5E33; font-size: 13px; }
html body.page-app .pl5-use-sum.is-full { background: #FEF3F2; color: #912018; }
html body.page-app .pl5-use-sum a { color: inherit; font-weight: 600; text-decoration: underline; }
html body.page-app .pl5-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
@media (max-width: 960px) { html body.page-app .pl5-groups { grid-template-columns: minmax(0, 1fr); } }
html body.page-app .pl5-group { padding: 12px 14px 6px; border: 1px solid #F1EFEB; border-radius: 12px; }
html body.page-app .pl5-group h3 { margin: 0 0 4px; font-size: 12px; font-weight: 600; color: #8E8A83; letter-spacing: .01em; }
html body.page-app .pl5-group .pl5-use { display: block; margin: 0; }
html body.page-app .pl5-group .pl5-use li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 10px; padding: 9px 0; border-bottom: 1px solid #F4F2EE; }
html body.page-app .pl5-group .pl5-use li:last-child { border-bottom: 0; }
html body.page-app .pl5-group .pl5-use-l { display: grid; font-size: 13px; color: #111; }
html body.page-app .pl5-group .pl5-use-l small { font-size: 12px; color: #8E8A83; }
html body.page-app .pl5-group .pl5-use-n { font-size: 12.5px; color: #6B6862; white-space: nowrap; font-variant-numeric: tabular-nums; }
html body.page-app .pl5-group .pl5-use-n b { font-weight: 600; color: #111; }
html body.page-app .pl5-bar { grid-column: 1 / -1; display: block; height: 4px; border-radius: 4px; background: #F1EFEB; overflow: hidden; }
html body.page-app .pl5-bar .rep-fill { display: block; height: 100%; border-radius: 4px; background: #8E8A83; }
html body.page-app .pl5-use li.is-warn .pl5-bar .rep-fill { background: #F5A524; }
html body.page-app .pl5-use li.is-full .pl5-bar .rep-fill, html body.page-app .pl5-use li.is-hit .pl5-bar .rep-fill { background: #D92D20; }
html body.page-app .pl5-use li.is-full .pl5-use-l small { color: #B42318; }

html body.page-app .pl5-use-sum { display: block; } html body.page-app .pl5-use-sum i { margin-right: 6px; }
body.page-app .stg-c-receipts { background: #4E8F8A; } /* v4.1 · Comprobantes de pago */

/* v4.2 · Página Tienda Animada (menú › Canales) */
html body.page-app .tv-page .tc-world { margin-bottom: 26px; }
html body.page-app .tv-feats-h { margin: 0 0 14px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; color: #111; }
html body.page-app .tv-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
html body.page-app .tv-grid li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid #ECEAE5; border-radius: 14px; background: #fff; }
html body.page-app .tv-ic { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #F4F3F0; color: #3D3A35; font-size: 16px; }
html body.page-app .tv-grid b { display: block; font-size: 14px; font-weight: 600; color: #111; }
html body.page-app .tv-grid small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.45; color: #6B6862; }
html body.page-app .tv-enter { display: inline-flex; align-items: center; gap: 8px; height: 40px; margin-top: 18px; padding: 0 18px; border: 1px solid #E2DFD9; border-radius: 999px; background: #fff; color: #111; font-size: 14px; font-weight: 500; text-decoration: none; }
html body.page-app .tv-enter:hover { background: #F6F5F2; color: #111; }

/* v4.2 · Inicio: «Nueva cotización» y «Vender en caja» con la misma línea de Crear producto / Registrar pedido / Crear contenido */
html body.page-app .tc-art.is-quote, html body.page-app .tc-art.is-pos { background: var(--tc-soft); }
html body.page-app .tc-art-ticket.is-quote .tq2-row { display: flex; gap: 5px; margin: 2px 0 1px; }
html body.page-app .tc-art-ticket.is-quote .tq-thumb { width: 22px; height: 22px; border-radius: 6px; }
html body.page-app .tc-art-ticket em.is-sent { background: #EEF3FB; color: #3B5B8C; }
html body.page-app .tc-art-ticket .tp2-total { font-size: 17px; font-weight: 700; letter-spacing: -.01em; color: var(--tc-ink); font-variant-numeric: tabular-nums; line-height: 1.1; }
html body.page-app .tc-art-chip.is-pdf { background: #B8D3F5; color: #1F3A5F; }
html body.page-app .tc-art-chip.is-card { background: var(--tc-ink); color: #fff; }

/* ---------------- Mapa propio (tcmap.js) */
.tcmap { position: relative; overflow: hidden; background: #EEECE7; touch-action: none; user-select: none; cursor: grab; }
.tcmap.is-drag { cursor: grabbing; }
.tcmap-tiles, .tcmap-markers { position: absolute; inset: 0; }
.tcmap-tile { position: absolute; left: 0; top: 0; width: 256px; height: 256px; opacity: 0; transition: opacity .2s; pointer-events: none; }
.tcmap-tile.is-in { opacity: 1; }
.tcmap-tile { filter: grayscale(1) contrast(.92) brightness(1.06); }
.tcmap-svg { position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; }
.tcmap-line { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.tcmap-line.is-route { stroke: #111; stroke-width: 4; opacity: .85; }
.tcmap-line.is-rest { stroke: #111; stroke-width: 2.5; stroke-dasharray: 2 8; opacity: .55; }
.tcmap-pin { position: absolute; left: 0; top: 0; width: 0; height: 0; }
.tcmap-pin > i, .tcmap-pin > b { position: absolute; left: -18px; top: -18px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; font-size: 17px; font-style: normal; box-shadow: 0 4px 14px rgba(0, 0, 0, .22); }
.tcmap-pin.is-courier > i { background: #111; color: #fff; border: 3px solid #fff; transition: transform .3s; }
.tcmap-pin.is-courier.is-stale > i { background: #8E8A83; }
.tcmap-pin.is-dest > i { background: #fff; color: #111; border: 2px solid #111; width: 32px; height: 32px; left: -16px; top: -16px; font-size: 14px; }
.tcmap-pin.is-small > i { width: 28px; height: 28px; left: -14px; top: -14px; font-size: 13px; }
.tcmap-pin .tcmap-tag { position: absolute; left: 22px; top: -11px; padding: 2px 8px; border-radius: 999px; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.tcmap-zoom { position: absolute; right: 10px; top: 10px; display: grid; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .12); }
.tcmap-zoom button { width: 32px; height: 32px; border: 0; background: #fff; color: #111; font-size: 18px; line-height: 1; cursor: pointer; }
.tcmap-zoom button + button { border-top: 1px solid #ECEAE5; }
.tcmap-attr { position: absolute; right: 6px; bottom: 4px; padding: 1px 6px; border-radius: 6px; background: rgba(255, 255, 255, .8); font-size: 10px; color: #6B6862; pointer-events: none; }


/* ---------------- v4.3 · Entregas en el panel (tarjeta del pedido y centro de entregas) */
html body.page-app .dlv-type { display: grid; margin: 0 0 12px; line-height: 1.35; }
html body.page-app .dlv-type b { font-size: 14px; font-weight: 600; }
html body.page-app .dlv-type small { font-size: 12.5px; color: #6B6862; }
html body.page-app .dlv-courier { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
html body.page-app .dlv-courier .min-w-0 { display: grid; line-height: 1.3; }
html body.page-app .dlv-courier small { font-size: 12.5px; color: #6B6862; }
html body.page-app .dlv-empty { display: inline-flex; gap: 8px; align-items: center; font-size: 13.5px; color: #6B6862; }
html body.page-app .dlv-assign, html body.page-app .dlv-confirm { display: flex; gap: 8px; }
html body.page-app .dlv-assign .form-select, html body.page-app .dlv-confirm .form-control { flex: 1; min-width: 0; }
html body.page-app .dlv-confirm { margin-top: 10px; }
html body.page-app .dlv-code { display: grid; gap: 2px; margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: #F6F5F2; }
html body.page-app .dlv-code span { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
html body.page-app .dlv-code span small { font-size: 12.5px; color: #6B6862; }
html body.page-app .dlv-code b { font-size: 20px; font-weight: 600; letter-spacing: .1em; font-variant-numeric: tabular-nums; }
html body.page-app .dlv-code > small { font-size: 12px; color: #8E8A83; }
html body.page-app .dlv-track { margin-top: 12px; padding-top: 12px; border-top: 1px solid #F1EFEB; }
html body.page-app .dlv-track > small { display: block; margin-bottom: 4px; font-size: 12.5px; color: #6B6862; }
html body.page-app .dlv-track-row { display: flex; align-items: center; gap: 6px; }
html body.page-app .dlv-track-link { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: #111; }
html body.page-app .dlv-doc { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 13px; color: #3D3A35; text-decoration: none; }
html body.page-app .dlv-doc img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; border: 1px solid #ECEAE5; }
html body.page-app .dlv-proof { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 13px; }
html body.page-app .dlv-proof span { display: grid; }
html body.page-app .dlv-proof small { color: #6B6862; }
html body .dlv-alert { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: #FFF7E6; color: #7A4B00; font-size: 13px; }
html body.page-app .dlv-types { display: grid; gap: 8px; margin-top: 10px; }
html body.page-app .dlv-type-opt { position: relative; display: block; cursor: pointer; }
html body.page-app .dlv-type-opt input { position: absolute; opacity: 0; }
html body.page-app .dlv-type-opt > span { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 0 10px; padding: 10px 12px; border: 1px solid #ECEAE5; border-radius: 12px; }
html body.page-app .dlv-type-opt i { grid-row: span 2; font-size: 18px; color: #3D3A35; }
html body.page-app .dlv-type-opt b { font-size: 14px; font-weight: 600; }
html body.page-app .dlv-type-opt small { font-size: 12.5px; color: #6B6862; }
html body.page-app .dlv-type-opt input:checked + span { border-color: #111; box-shadow: inset 0 0 0 1px #111; }
html body.page-app .dlv-carrier { margin-top: 14px; padding-top: 14px; border-top: 1px solid #F1EFEB; }
html body.page-app .dlv-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 6px; font-size: 13px; color: #6B6862; text-decoration: none; }
html body.page-app .dlv-center { display: grid; gap: 16px; }
html body.page-app .dlv-metrics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
html body.page-app .dlv-metrics li { display: grid; gap: 2px; padding: 14px; border: 1px solid #ECEAE5; border-radius: 14px; background: #fff; }
html body.page-app .dlv-metrics i { font-size: 16px; color: #8E8A83; }
html body.page-app .dlv-metrics b { font-size: 24px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
html body.page-app .dlv-metrics small { font-size: 12.5px; color: #6B6862; }
html body.page-app .dlv-metrics li.is-warn b { color: #B54708; }
html body.page-app .dlv-metrics li.is-bad b { color: #B42318; }
html body.page-app .dlv-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 960px) { html body.page-app .dlv-grid { grid-template-columns: minmax(0, 1fr); } }
html body.page-app .dlv-map { height: 340px; border-radius: 12px; overflow: hidden; }
html body.page-app .dlv-live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #6B6862; }
html body.page-app .dlv-live span { width: 7px; height: 7px; border-radius: 50%; background: #22C55E; }
html body.page-app .dlv-team, html body.page-app .dlv-rows { list-style: none; margin: 0; padding: 0; display: grid; }
html body.page-app .dlv-team li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid #F4F2EE; }
html body.page-app .dlv-team li:last-child { border-bottom: 0; }
html body.page-app .dlv-team .min-w-0 { flex: 1; display: grid; line-height: 1.3; }
html body.page-app .dlv-team small { font-size: 12px; color: #8E8A83; }
html body.page-app .dlv-state { flex: none; padding: 3px 10px; border-radius: 999px; background: #F2F1EE; font-size: 12px; color: #3D3A35; white-space: nowrap; }
html body.page-app .dlv-state.is-available { background: #E8F7EE; color: #1A7F37; }
html body.page-app .dlv-state.is-on_way { background: #111; color: #fff; }
html body.page-app .dlv-state.is-off { background: #F4F3F0; color: #8E8A83; }
html body.page-app .dlv-rows li a { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid #F4F2EE; color: #111; text-decoration: none; }
html body.page-app .dlv-rows li:last-child a { border-bottom: 0; }
html body.page-app .dlv-rows .min-w-0 { display: grid; line-height: 1.3; }
html body.page-app .dlv-rows small { font-size: 12.5px; color: #6B6862; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body.page-app .dlv-who { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
@media (max-width: 640px) { html body.page-app .dlv-rows li a { grid-template-columns: minmax(0, 1fr) auto; } html body.page-app .dlv-who { display: none; } }

/* v4.4 · Flujo controlado de la entrega (detalle del pedido) */
.ord-handled { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 999px; background: #F2F1EE; color: #3D3A35; font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.ord-handled i { color: #1A7F37; }
.dlv-mini-steps { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 0; }
.dlv-mini-steps li { position: relative; display: flex; align-items: center; gap: 10px; min-height: 28px; font-size: 13px; color: #8E8A83; }
.dlv-mini-steps li > span { position: relative; z-index: 1; flex: none; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #DAD7D0; background: #fff; }
.dlv-mini-steps li:not(:last-child)::after { content: ''; position: absolute; left: 5px; top: 20px; bottom: -6px; width: 2px; background: #ECEAE5; }
.dlv-mini-steps li.is-done { color: #111; }
.dlv-mini-steps li.is-done > span { border-color: #111; background: #111; }
.dlv-mini-steps li.is-done:not(:last-child)::after { background: #111; }
.dlv-mini-steps li.is-now { font-weight: 600; }
.dlv-mini-steps li.is-now > span { box-shadow: 0 0 0 4px rgba(17, 17, 17, .08); }
.dlv-wait { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: #F6F5F2; font-size: 13px; line-height: 1.4; color: #3D3A35; }

/* v4.5 · Calificación del cliente en la tarjeta «Entrega» */
.dlv-rating { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: #F6F5F2; }
.dlv-rating small { display: block; font-size: 12px; color: #6B6862; }
.dlv-stars { font-size: 17px; letter-spacing: 2px; color: #111; }
.dlv-stars span { color: #DAD7D0; }
.dlv-rating p { margin: 4px 0 0; font-size: 13px; color: #3D3A35; }

/* v4.5 · Cierre de caja: de dónde sale el efectivo esperado */
.pos-close-break { margin: 0 0 8px; padding: 12px 14px; border-radius: 14px; background: #F6F5F2; display: grid; gap: 6px; font-size: 13.5px; }
.pos-close-break > div { display: flex; justify-content: space-between; gap: 10px; }
.pos-close-break dt { font-weight: 400; color: #6B6862; }
.pos-close-break dd { margin: 0; font-variant-numeric: tabular-nums; }
.pos-close-break .is-total { margin-top: 4px; padding-top: 8px; border-top: 1px solid #E7E4DE; font-weight: 600; }
.pos-close-break .is-total dt { color: #111; font-weight: 600; }

/* v4.5 · Ventanas (modales) con contenido largo: el cuerpo se desplaza y los botones quedan siempre visibles */
.modal-dialog-scrollable .modal-content { max-height: calc(100dvh - 2rem); }
.modal-dialog-scrollable .set-modal-body,
.modal-dialog-scrollable .modal-content > .modal-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.set-modal-head, .set-modal-foot { flex: none; }
.modal:not(.modal-dialog-scrollable) .modal-dialog { margin-bottom: 1.5rem; }

/* v4.5 · Perfil: accesos de la cuenta en cuadrícula de 3 */
body.page-app .acct-pop-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; grid-auto-flow: row !important; }
.acct-tile span { display: grid; justify-items: center; line-height: 1.2; }
.acct-tile-meta { font-size: 10.5px; color: var(--tc-mute, #8A8A86); font-weight: 500; }
.acct-tile-meta.is-danger { color: #B42318; }

/* ======================================================================
 * v4.5 · Inicio › «Tu tienda ahora» (cuadro negro con la actividad en vivo de la tienda web)
 * ==================================================================== */
.hp { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); grid-template-areas: "main feed"; gap: 20px 28px; margin: 0 0 28px; padding: 22px 24px 64px; border-radius: 22px; background: #0B0B0B; color: #fff; isolation: isolate; }
.hp::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 220px at 85% -20%, rgba(255, 255, 255, .08), transparent 60%), radial-gradient(420px 200px at 0% 120%, rgba(255, 255, 255, .05), transparent 60%); }
.hp-main { grid-area: main; display: grid; align-content: start; gap: 14px; min-width: 0; }
.hp-top { display: flex; align-items: center; gap: 10px; }
.hp-live { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: 11.5px; font-weight: 500; color: rgba(255, 255, 255, .8); }
.hp-live i { width: 6px; height: 6px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: hpPulse 1.8s infinite; }
@keyframes hpPulse { 70% { box-shadow: 0 0 0 7px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.hp-title { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: #fff; }
.hp-now { margin: 0; display: flex; align-items: baseline; gap: 10px; }
.hp-now b { font-size: 44px; font-weight: 600; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.hp-now span { font-size: 14px; color: rgba(255, 255, 255, .62); }
.hp-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.hp-stats li { display: grid; gap: 2px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .06); transition: background .3s; }
.hp-stats li.is-bump { animation: hpBump .7s ease; }
@keyframes hpBump { 30% { background: rgba(255, 255, 255, .16); } }
.hp-stats b { font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.hp-stats small { font-size: 11px; color: rgba(255, 255, 255, .55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.hp-feed { grid-area: feed; position: relative; min-height: 150px; min-width: 0; }
.hp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.hp-item { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: rgba(255, 255, 255, .06); font-size: 13px; color: rgba(255, 255, 255, .9); opacity: 0; transform: translateY(-8px) scale(.98); transition: opacity .45s, transform .45s cubic-bezier(.2, .8, .2, 1); }
.hp-item.is-in { opacity: 1; transform: none; }
.hp-item:nth-child(3) { opacity: .7; }
.hp-item:nth-child(4) { opacity: .4; }
.hp-item > i { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); font-size: 13px; }
.hp-item > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hp-item time { font-size: 11px; color: rgba(255, 255, 255, .45); white-space: nowrap; }
.hp-item.is-win > i { background: #F4D35E; color: #0B0B0B; }
.hp-idle { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; text-align: center; padding: 0 20px; font-size: 13px; color: rgba(255, 255, 255, .5); border: 1px dashed rgba(255, 255, 255, .14); border-radius: 14px; }

.hp-more { position: static; justify-self: start; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; color: rgba(255, 255, 255, .85); text-decoration: none; z-index: 1; }
.hp-more:hover { color: #fff; }
.hp-more .bi { transition: transform .2s; }
.hp-more:hover .bi { transform: translateX(3px); }

@media (max-width: 860px) {
  .hp { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "feed"; padding: 18px 16px 70px; }
  .hp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-now b { font-size: 36px; }
  .hp-more { left: 16px; }
}
@media (prefers-reduced-motion: reduce) { .hp-live i, .hp-dot { animation: none; } }
.hp .hp-title, body.page-app .hp h2.hp-title { color: #fff !important; margin: 0 !important; font-size: 15px !important; }

/* v4.5 · Tienda Animada: funciones en chips simples */
html body.page-app .tv-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
html body.page-app .tv-grid li { align-items: center; padding: 10px 12px; }
html body.page-app .tv-grid b { font-size: 13.5px; font-weight: 500; }
html body.page-app .tv-ic { width: 30px; height: 30px; font-size: 14px; }

/* v4.5 · Más herramientas: animaciones con los mismos colores y línea gráfica de las tarjetas de Inicio */
html body.page-app .tl-art2 { background: var(--tc-soft, #F4F2EC); border-bottom-color: var(--tc-line, #EAEAE8); }
html body.page-app .tla-mail-flap { background: linear-gradient(160deg, #E4E8F6, #B9C4EA); border-bottom: 0; }
html body.page-app .tla-mail i { background: #B8D3F5; }
html body.page-app .tla-mail i.is-short { background: #F3B9D6; }
html body.page-app .tla-post-img { background: linear-gradient(135deg, #2A2A2A, #8A8A8A 55%, #E6E6E4); }
html body.page-app .tla-post i { background: #BFE3C9; }
html body.page-app .tla-post i.is-short { background: #F3B9D6; }
html body.page-app .tla-bub.is-me, html body.page-app .tla-typing { background: #E3F1E8; color: #1A7F37; }
html body.page-app .tla-typing i { background: #25D366; }
html body.page-app .tla-doc .bi { color: #111; }
html body.page-app .tla-doc .tla-ln { background: linear-gradient(90deg, #B9C4EA, #E4E8F6); }
html body.page-app .tla-doc .tla-ln:nth-of-type(3) { background: linear-gradient(90deg, #B5DCC3, #E3F1E8); }
html body.page-app .tla-doc .tla-ln.is-short { background: linear-gradient(90deg, #F3B9D6, #FBE3EF); }
html body.page-app .tla-msg.is-1 { background: #F3B9D6; } html body.page-app .tla-msg.is-2 { background: #B8D3F5; } html body.page-app .tla-msg.is-3 { background: #BFE3C9; }
html body.page-app .tla-send .bi { color: #111; }
html body.page-app .tla-road { border-bottom-color: #D9D6CF; }
html body.page-app .tla-truck { color: #111; }
html body.page-app .tla-pin { color: #E26AA8; }
html body.page-app .tla-card { background: #111 !important; }
html body.page-app .tla-card b { color: #fff; }
html body.page-app .tla-stamps i { border-color: rgba(255, 255, 255, .35); }
@keyframes tla-stamp2 { 0%, 10% { background: transparent; transform: scale(1); } 16% { transform: scale(1.2); } 22%, 85% { background: var(--st, #F3B9D6); border-color: var(--st, #F3B9D6); border-style: solid; transform: scale(1); } 100% { background: transparent; } }
html body.page-app .tla-stamps i { animation-name: tla-stamp2; }
html body.page-app .tla-stamps i:nth-child(1) { --st: #F3B9D6; } html body.page-app .tla-stamps i:nth-child(2) { --st: #B8D3F5; } html body.page-app .tla-stamps i:nth-child(3) { --st: #BFE3C9; } html body.page-app .tla-stamps i:nth-child(4) { --st: #F4D35E; } html body.page-app .tla-stamps i:nth-child(5) { --st: #25D366; }

/* v4.5 · Guardar producto: la miniatura viaja hasta «Tienda web» del menú */
.pf-fly { position: fixed; z-index: 3000; width: 52px; height: 52px; border-radius: 14px; overflow: hidden; display: grid; place-items: center; background: #fff; color: #111; font-size: 22px; box-shadow: 0 10px 30px rgba(17, 17, 17, .22), 0 0 0 1px rgba(17, 17, 17, .06); pointer-events: none; }
.pf-fly img { width: 100%; height: 100%; object-fit: cover; }
.tc-side .tc-link.is-receive { animation: tcReceive .9s ease; }
.tc-side .tc-link.is-receive i { animation: tcReceiveIc .9s ease; }
@keyframes tcReceive { 0% { background: transparent; } 30% { background: #EEF8F1; box-shadow: 0 0 0 3px rgba(34, 160, 107, .15); } 100% { background: transparent; box-shadow: none; } }
@keyframes tcReceiveIc { 30% { transform: scale(1.25); color: #18794E; } }

/* v4.5 · Guía del siguiente paso: brillo suave sobre el botón + pista pequeña con animación 2D */
.nx-glow { animation: nxGlow 1.8s ease-in-out infinite; outline: 2px solid transparent; outline-offset: 3px; }
@keyframes nxGlow { 0%, 100% { outline-color: rgba(17, 17, 17, 0); outline-offset: 2px; } 50% { outline-color: rgba(17, 17, 17, .28); outline-offset: 5px; } }
.ord-item.nx-glow { outline-offset: -2px; }
@keyframes nxGlowIn { 0%, 100% { outline-color: rgba(17, 17, 17, 0); } 50% { outline-color: rgba(17, 17, 17, .25); } }
.ord-item.nx-glow { animation-name: nxGlowIn; }
.nx-tip { position: fixed; left: 0; top: 0; z-index: 1080; display: flex; align-items: center; gap: 9px; max-width: 280px; padding: 7px 8px 7px 7px; border-radius: 14px; background: #0B0B0B; color: #fff; font-size: 12.5px; line-height: 1.35; box-shadow: 0 10px 30px rgba(0, 0, 0, .22); opacity: 0; transition: opacity .25s; pointer-events: auto; }
.nx-tip.is-in { opacity: 1; animation: nxFloat 3s ease-in-out infinite; }
@keyframes nxFloat { 50% { margin-top: -3px; } }
.nx-tip::before { content: ''; position: absolute; top: -5px; left: calc(var(--ax, 50%) - 5px); width: 10px; height: 10px; background: #0B0B0B; transform: rotate(45deg); border-radius: 2px; }
.nx-tip.is-above::before { top: auto; bottom: -5px; }
.nx-art { position: relative; flex: none; width: 28px; height: 28px; border-radius: 9px; background: rgba(255, 255, 255, .1); display: grid; place-items: center; overflow: hidden; }
.nx-ring { position: absolute; left: 50%; top: 40%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; border: 1.5px solid #9AD0FF; opacity: 0; animation: nxRipple 1.6s ease-out infinite; }
.nx-hand { position: relative; font-size: 14px; color: #fff; animation: nxTap 1.6s ease-in-out infinite; }
@keyframes nxTap { 0%, 100% { transform: translate(3px, 4px); } 35% { transform: translate(0, 0) scale(.9); } 45% { transform: translate(0, 1px) scale(.85); } }
@keyframes nxRipple { 0%, 35% { opacity: 0; transform: scale(.4); } 45% { opacity: 1; } 100% { opacity: 0; transform: scale(2.6); } }
.nx-txt { min-width: 0; }
.nx-x { flex: none; width: 22px; height: 22px; display: grid; place-items: center; border: 0; border-radius: 7px; background: transparent; color: rgba(255, 255, 255, .6); cursor: pointer; }
.nx-x:hover { background: rgba(255, 255, 255, .12); color: #fff; }
@media (prefers-reduced-motion: reduce) { .nx-glow, .nx-tip.is-in, .nx-hand, .nx-ring { animation: none; } }

/* ======================================================================
 * v4.6 · Tienda web › Diseños para tu tienda (miniaturas animadas genéricas, misma línea de Inicio)
 * ==================================================================== */
html body.page-app .tpl-pick { margin: 28px 0 8px; }
html body.page-app .tpl-pick-head { margin-bottom: 14px; }
html body.page-app .tpl-pick-title { margin: 0 0 4px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; color: #111; }
html body.page-app .tpl-pick-sub { margin: 0; font-size: 13.5px; color: #6B6862; }
html body.page-app .tpl-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 14px; }
html body.page-app .tpl-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #ECEAE5; border-radius: 18px; background: #fff; transition: box-shadow .25s, transform .25s, border-color .25s; }
html body.page-app .tpl-card:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -26px rgba(17, 17, 17, .35); }
html body.page-app .tpl-card.is-on { border-color: #111; box-shadow: 0 0 0 1px #111; }
html body.page-app .tpl-body { display: grid; gap: 8px; padding: 14px 16px 16px; flex: 1; align-content: start; }
html body.page-app .tpl-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
html body.page-app .tpl-top strong { font-size: 15px; font-weight: 600; color: #111; }
html body.page-app .tpl-on { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 9px; border-radius: 999px; background: #111; color: #fff; font-size: 11.5px; font-weight: 500; }
html body.page-app .tpl-desc { margin: 0; font-size: 13px; line-height: 1.45; color: #6B6862; }
html body.page-app .tpl-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
html body.page-app .tpl-actions form { display: inline; }

/* Lienzo de la miniatura · v4.6: vista previa real y quieta (iframe 1280px escalado al ancho de la tarjeta) */
html body.page-app .tpl-art { position: relative; display: block; aspect-ratio: 16 / 11; overflow: hidden; background: #F4F2EC; border-bottom: 1px solid #ECEAE5; }
html body.page-app .tpl-art iframe { position: absolute; left: 0; top: 0; width: 1280px; height: 880px; border: 0; transform-origin: 0 0; transform: scale(var(--preview-scale, .2)); pointer-events: none; background: #fff; }
html body.page-app .tpl-art::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -30px 30px -30px rgba(17, 17, 17, .12); pointer-events: none; }

/* ======================================================================
 * v4.6 · Mesa en vivo: panel lateral (personas y actividad) + chats acoplados abajo
 * Línea de la plataforma: blanco, tinta, bordes finos; un solo verde para «conectado».
 * ==================================================================== */
.ld[hidden] { display: none !important; }
.ld-panel { position: fixed; top: 0; right: 0; bottom: 0; z-index: 1050; width: min(380px, 100vw); display: flex; flex-direction: column; background: #fff; border-left: 1px solid #ECEAE5; box-shadow: -24px 0 60px -40px rgba(17, 17, 17, .45); transform: translateX(102%); transition: transform .38s cubic-bezier(.2, .8, .2, 1); }
.ld-panel.is-open { transform: none; }
.ld-head { display: flex; align-items: center; gap: 10px; padding: 16px 16px 10px; }
.ld-live { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 999px; background: #EEF8F1; color: #18794E; font-size: 11.5px; font-weight: 600; }
.ld-live i { width: 6px; height: 6px; border-radius: 50%; background: #22A06B; animation: ldPulse 1.8s infinite; }
@keyframes ldPulse { 0% { box-shadow: 0 0 0 0 rgba(34, 160, 107, .5); } 70% { box-shadow: 0 0 0 7px rgba(34, 160, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 160, 107, 0); } }
.ld-title { flex: 1; font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: #111; }
.ld-ico { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 9px; background: transparent; color: #55524C; font-size: 14px; cursor: pointer; transition: background .15s, color .15s; }
.ld-ico:hover { background: #F2F1EE; color: #111; }
.ld-sum { display: flex; align-items: baseline; gap: 8px; margin: 0; padding: 4px 18px 12px; }
.ld-sum b { font-size: 38px; font-weight: 600; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; color: #111; }
.ld-sum span { font-size: 13px; color: #6B6862; }
.ld-tabs { display: flex; gap: 4px; margin: 0 14px; padding: 3px; border-radius: 12px; background: #F4F3F0; }
.ld-tabs button { flex: 1; height: 32px; border: 0; border-radius: 9px; background: transparent; color: #6B6862; font-size: 13px; font-weight: 500; cursor: pointer; }
.ld-tabs button.is-on { background: #fff; color: #111; box-shadow: 0 1px 2px rgba(17, 17, 17, .08); }
.ld-tabs button span:not(:empty) { margin-left: 4px; padding: 0 6px; border-radius: 999px; background: #111; color: #fff; font-size: 11px; }
.ld-scroll { flex: 1; overflow-y: auto; padding: 10px 10px 12px; overscroll-behavior: contain; }
.ld-people, .ld-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ld-person { width: 100%; display: flex; align-items: center; gap: 11px; padding: 10px; border: 0; border-radius: 14px; background: transparent; text-align: left; cursor: pointer; transition: background .15s; }
.ld-person:hover { background: #F6F5F2; }
@keyframes ldIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ld-av { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #F2F1EE; color: #111; font-size: 13px; font-weight: 600; }
.ld-av img { width: 22px; height: 16px; border-radius: 3px; object-fit: cover; }
.ld-av > i { position: absolute; right: 0; bottom: 0; width: 11px; height: 11px; border-radius: 50%; background: #C9C6BF; box-shadow: 0 0 0 2px #fff; }
.ld-av.is-on > i { background: #22A06B; }
.ld-person-t { flex: 1; min-width: 0; display: grid; gap: 1px; }
.ld-person-t b { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: #111; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ld-person-t small { font-size: 12px; color: #8A8780; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ld-person-t small.ld-now { color: #3D3A35; }
.ld-person-go { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: #F4F3F0; color: #111; opacity: 0; transition: opacity .15s; }
.ld-person:hover .ld-person-go { opacity: 1; }
.ld-badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #E5484D; color: #fff; font-size: 10.5px; font-style: normal; font-weight: 700; }
.ld-empty { display: grid; justify-items: center; gap: 8px; padding: 34px 20px; text-align: center; font-size: 13px; line-height: 1.5; color: #8A8780; }
.ld-empty i { font-size: 26px; color: #C9C6BF; }
.ld-ev { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 12px; font-size: 13px; color: #3D3A35; animation: ldIn .35s ease both; }
.ld-ev > i { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: #F4F3F0; font-size: 12px; }
.ld-ev > i.is-on { color: #22A06B; font-size: 8px; } .ld-ev > i.is-off { color: #A8A49C; font-size: 8px; }
.ld-ev time { font-size: 11px; color: #A8A49C; white-space: nowrap; }
.ld-ev.is-link { cursor: pointer; } .ld-ev.is-link:hover { background: #F6F5F2; }
.ld-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-top: 1px solid #F1EFEB; font-size: 12px; color: #8A8780; }
.ld-foot a { color: #111; font-weight: 500; text-decoration: none; white-space: nowrap; }

/* Chats acoplados abajo */
.ld-dock { position: fixed; right: 16px; bottom: 0; z-index: 1049; display: flex; align-items: flex-end; gap: 10px; pointer-events: none; transition: right .38s cubic-bezier(.2, .8, .2, 1); }
body.ld-panel-open .ld-dock { right: min(396px, 100vw); }
.ld-dock > * { pointer-events: auto; }
.ld-tabsbar { display: flex; flex-direction: column-reverse; gap: 6px; padding-bottom: 14px; }
.ld-tabsbar[hidden] { display: none; }
.ld-tab { display: flex; align-items: center; gap: 2px; padding: 4px 4px 4px 4px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px #ECEAE5, 0 10px 28px -14px rgba(17, 17, 17, .4); animation: ldIn .3s ease both; }
.ld-tab-open { display: flex; align-items: center; gap: 8px; max-width: 220px; padding: 0 6px 0 0; border: 0; background: transparent; font-size: 13px; font-weight: 500; color: #111; cursor: pointer; }
.ld-tab-open span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ld-tab .ld-av { width: 32px; height: 32px; font-size: 11px; }
.ld-tab-x { width: 26px; height: 26px; border: 0; border-radius: 50%; background: transparent; color: #8A8780; cursor: pointer; }
.ld-tab-x:hover { background: #F2F1EE; color: #111; }
.ld-win { width: 320px; height: min(470px, calc(100vh - 80px)); display: flex; flex-direction: column; border-radius: 16px 16px 0 0; background: #fff; box-shadow: 0 0 0 1px #ECEAE5, 0 24px 60px -24px rgba(17, 17, 17, .45); overflow: hidden; transform: translateY(30px); opacity: 0; transition: transform .3s cubic-bezier(.2, .8, .2, 1), opacity .3s; }
.ld-win.is-in { transform: none; opacity: 1; }
.ld-win-head { display: flex; align-items: center; gap: 9px; padding: 10px 8px 10px 12px; border-bottom: 1px solid #F1EFEB; cursor: default; }
.ld-win-head .ld-av { width: 34px; height: 34px; font-size: 12px; }
.ld-win-t { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
.ld-win-t b { font-size: 13.5px; font-weight: 600; color: #111; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ld-win-t small { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: #8A8780; }
.ld-dot { width: 6px; height: 6px; border-radius: 50%; background: #22A06B; }
.ld-win.is-off .ld-win-head { background: #FAFAF8; }
.ld-info { display: none; max-height: 190px; overflow-y: auto; padding: 10px 12px; border-bottom: 1px solid #F1EFEB; background: #FAFAF8; font-size: 12.5px; color: #3D3A35; }
.ld-win.is-info .ld-info { display: block; animation: ldIn .25s ease; }
.ld-info p { margin: 0 0 6px; }
.ld-info-load { color: #8A8780; }
.ld-info-now b { font-weight: 600; }
.ld-info-facts { color: #6B6862; }
.ld-info-h { margin: 8px 0 6px; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #8A8780; }
.ld-seen { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; }
.ld-seen-i { flex: none; width: 64px; display: grid; gap: 3px; }
.ld-seen-i img, .ld-seen-i > i { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: #ECEAE5; display: grid; place-items: center; color: #8A8780; }
.ld-seen-i small { font-size: 10.5px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ld-cart { margin-top: 8px; padding: 7px 9px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px #ECEAE5; }
.ld-msgs { flex: 1; list-style: none; margin: 0; padding: 12px; display: flex; flex-direction: column; gap: 6px; overflow-y: auto; }
.ld-msg { max-width: 82%; display: grid; gap: 2px; animation: ldIn .25s ease both; }
.ld-msg span { padding: 8px 11px; border-radius: 14px; font-size: 13.5px; line-height: 1.4; white-space: pre-wrap; word-wrap: break-word; }
.ld-msg time { font-size: 10.5px; color: #A8A49C; }
.ld-msg.is-visitor { align-self: flex-start; }
.ld-msg.is-visitor span { background: #F2F1EE; color: #111; border-bottom-left-radius: 5px; }
.ld-msg.is-owner { align-self: flex-end; justify-items: end; }
.ld-msg.is-owner span { background: #111; color: #fff; border-bottom-right-radius: 5px; }
.ld-sys, .ld-hello { align-self: center; padding: 3px 10px; border-radius: 999px; background: #F6F5F2; font-size: 11px; color: #8A8780; text-align: center; }
.ld-hello { border-radius: 12px; padding: 8px 12px; line-height: 1.4; }
.ld-quick { display: flex; gap: 6px; overflow-x: auto; padding: 8px 10px 4px; scrollbar-width: none; }
.ld-quick::-webkit-scrollbar { display: none; }
.ld-quick button { flex: none; height: 28px; padding: 0 10px; border: 1px solid #E5E2DC; border-radius: 999px; background: #fff; color: #3D3A35; font-size: 12px; white-space: nowrap; cursor: pointer; transition: background .15s, border-color .15s; }
.ld-quick button:hover { background: #F6F5F2; border-color: #D3D0C9; }
.ld-send { display: flex; align-items: center; gap: 6px; padding: 8px 10px 10px; }
.ld-send input { flex: 1; height: 38px; padding: 0 12px; border: 1px solid #E5E2DC; border-radius: 999px; font: inherit; font-size: 13.5px; outline: 0; }
.ld-send input:focus { border-color: #111; }
.ld-send button { width: 38px; height: 38px; border: 0; border-radius: 50%; background: #111; color: #fff; display: grid; place-items: center; cursor: pointer; }
.ld-win.is-off .ld-send input { background: #FAFAF8; }
@media (max-width: 767.98px) {
  .ld-dock, body.ld-panel-open .ld-dock { right: 8px; left: 8px; justify-content: flex-end; }
  .ld-win { width: 100%; max-width: 420px; }
  body.ld-panel-open .ld-dock { display: none; }
}
@media (prefers-reduced-motion: reduce) { .ld-panel, .ld-win, .ld-person, .ld-ev, .ld-tab { transition: none; animation: none; } }

/* Botón «Abrir en vivo» del cuadro negro */
.hp-open { position: absolute; right: 24px; bottom: 20px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: #fff; color: #0B0B0B; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.hp-open:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(255, 255, 255, .35); }
.hp-open i { font-size: 13px; }

/* Escena 2D (v4.6): calle minimalista, tienda con toldo, puerta que se abre y personas que entran */
.hp { padding-bottom: 84px; }
.hp-scene { position: absolute; left: 0; right: 0; bottom: 0; height: 78px; pointer-events: none; overflow: hidden; }
.hp-scene::before { content: ''; position: absolute; left: 0; right: 0; bottom: 14px; height: 1px; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .16) 18%, rgba(255, 255, 255, .22)); }
.hp-scene::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 18px, transparent 18px 36px); opacity: .6; }
.hp-lamp { position: absolute; bottom: 14px; right: 150px; width: 2px; height: 46px; background: rgba(255, 255, 255, .28); border-radius: 2px; }
.hp-lamp::before { content: ''; position: absolute; top: -3px; left: -4px; width: 10px; height: 5px; border-radius: 4px 4px 2px 2px; background: rgba(255, 255, 255, .7); }
.hp-lamp::after { content: ''; position: absolute; top: 0; left: -22px; width: 46px; height: 46px; background: radial-gradient(closest-side, rgba(244, 211, 94, .22), transparent); animation: hpGlow 4s ease-in-out infinite; }
@keyframes hpGlow { 50% { opacity: .55; } }
.hp-store { position: absolute; right: 30px; bottom: 14px; width: 96px; height: 50px; border: 1.5px solid rgba(255, 255, 255, .78); border-bottom: 0; border-radius: 3px 3px 0 0; background: rgba(255, 255, 255, .03); }
.hp-awning { position: absolute; left: -7px; right: -7px; top: -11px; height: 11px; border-radius: 4px 4px 0 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .92) 0 9px, rgba(255, 255, 255, .18) 9px 18px); box-shadow: 0 1px 0 rgba(0, 0, 0, .4); }
.hp-awning::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px; background: radial-gradient(circle at 4.5px 0, rgba(255, 255, 255, .92) 4px, transparent 4.5px) 0 0 / 18px 4px repeat-x; }
.hp-sign { position: absolute; left: 50%; top: -26px; transform: translateX(-50%); padding: 1px 6px; border-radius: 4px; background: #fff; color: #0B0B0B; font-size: 8px; font-weight: 800; letter-spacing: .06em; white-space: nowrap; }
.hp-door { position: absolute; left: 50%; bottom: 0; width: 20px; height: 30px; margin-left: -10px; overflow: hidden; border: 1.5px solid rgba(255, 255, 255, .78); border-bottom: 0; border-radius: 3px 3px 0 0; background: rgba(244, 211, 94, .0); transition: background .4s; }
.hp-door::before, .hp-door::after { content: ''; position: absolute; top: 0; bottom: 0; width: 50%; background: rgba(255, 255, 255, .14); transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.hp-door::before { left: 0; border-right: 1px solid rgba(255, 255, 255, .35); }
.hp-door::after { right: 0; }
.hp-door.is-open { background: rgba(244, 211, 94, .45); }
.hp-door.is-open::before { transform: translateX(-100%); }
.hp-door.is-open::after { transform: translateX(100%); }
.hp-win { position: absolute; top: 10px; width: 22px; height: 14px; border: 1.5px solid rgba(255, 255, 255, .55); border-radius: 3px; background: rgba(255, 255, 255, .04); transition: background .5s, box-shadow .5s; }
.hp-win.is-l { left: 9px; } .hp-win.is-r { right: 9px; }
.is-busy .hp-win, .hp-win.is-lit { background: rgba(244, 211, 94, .38); box-shadow: 0 0 14px rgba(244, 211, 94, .35); }
.hp-walk { position: absolute; left: 0; right: 0; bottom: 14px; height: 30px; }
.hp-person { position: absolute; left: -20px; bottom: 0; width: 10px; height: 24px; animation: hpWalk2 var(--d, 3.4s) linear forwards; }
.hp-person > b { position: absolute; left: 1px; top: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--c, #fff); }
.hp-person > i { position: absolute; left: 0; top: 9px; width: 10px; height: 9px; border-radius: 5px 5px 2px 2px; background: var(--c, #fff); animation: hpBob .42s ease-in-out infinite alternate; }
.hp-person > s, .hp-person > u { position: absolute; top: 17px; width: 2px; height: 7px; border-radius: 2px; background: var(--c, #fff); transform-origin: top center; animation: hpLeg .42s ease-in-out infinite alternate; }
.hp-person > s { left: 2px; } .hp-person > u { left: 6px; animation-direction: alternate-reverse; }
.hp-person > em { position: absolute; left: 9px; top: 12px; width: 6px; height: 6px; border-radius: 1px 1px 2px 2px; background: #9AD0FF; border-top: 1.5px solid rgba(255, 255, 255, .8); }
.hp-person.is-gold > em { background: #F4D35E; }
@keyframes hpBob { to { transform: translateY(-1px); } }
@keyframes hpLeg { from { transform: rotate(18deg); } to { transform: rotate(-18deg); } }
@keyframes hpWalk2 {
  0% { left: -20px; opacity: 0; }
  6% { opacity: 1; }
  86% { left: calc(100% - 89px); opacity: 1; transform: none; }
  100% { left: calc(100% - 89px); opacity: 0; transform: scale(.7) translateY(-2px); }
}
.hp-spark { position: absolute; right: 74px; bottom: 70px; width: 6px; height: 6px; border-radius: 50%; background: #F4D35E; animation: hpSpark 1s ease-out forwards; }
@keyframes hpSpark { 0% { transform: none; opacity: 1; } 100% { transform: translate(var(--sx, 0), var(--sy, -22px)) scale(.3); opacity: 0; } }
.hp-open { position: static !important; margin-left: auto; height: 30px !important; padding: 0 12px !important; font-size: 12px !important; }
@media (prefers-reduced-motion: reduce) { .hp-person, .hp-person > *, .hp-lamp::after { animation: none !important; } }

/* v4.6 · «Tu tienda ahora» a todo el ancho pero más bajo (menos alto) */
html body.page-app .hp { gap: 12px 24px; padding: 18px 22px 20px; margin-top: 30px; overflow: visible; }
html body.page-app .hp::before { border-radius: inherit; }
html body.page-app .hp-main { gap: 10px; align-content: start; }
html body.page-app .hp-now b { font-size: 34px; }
html body.page-app .hp-stats li { padding: 7px 11px; border-radius: 12px; }
html body.page-app .hp-stats b { font-size: 16px; }
html body.page-app .hp-feed { min-height: 104px; }
html body.page-app .hp-list { gap: 6px; }
html body.page-app .hp-item { padding: 7px 11px; }

/* v4.6 · Cada chat/persona con su borde para distinguirlos en el panel en vivo */
html body.page-app .ld-people, html body.page-app .ld-feed { gap: 8px; }
html body.page-app .ld-person { border: 1px solid #E6E4DF; background: #fff; }
html body.page-app .ld-person:hover { border-color: #CFCCC5; background: #FAF9F7; }
html body.page-app .ld-win { box-shadow: 0 0 0 1px #D9D6D0, 0 24px 60px -24px rgba(17, 17, 17, .45); }
html body.page-app .ld-dock { gap: 10px; }

/* v4.6 · Avatar que llega por arriba, salta al número y se suma (y sale saltando cuando se va) */
html body.page-app .hp-lane { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
html body.page-app .hp-lane .hp-person { left: 0; top: 0; bottom: auto; animation: none; will-change: transform; }
html body.page-app .hp-lane .hp-person:not(.is-walking) > i, html body.page-app .hp-lane .hp-person:not(.is-walking) > s, html body.page-app .hp-lane .hp-person:not(.is-walking) > u { animation: none; }
html body.page-app .hp-now.is-bump b { animation: hpNowPop .5s cubic-bezier(.2, .8, .2, 1); }
@keyframes hpNowPop { 40% { transform: scale(1.14); } }
html body.page-app .hp-now b { display: inline-block; transform-origin: 50% 70%; }
html body.page-app .hp-lane .hp-person { --c: #111; }
html body.page-app .hp-lane .hp-person.is-white { --c: #fff; }
html body.page-app .hp-lane .hp-person > * { transition: background-color .12s; }

/* v4.6 · muñeco solo de líneas (sin relleno) */
html body.page-app .hp-lane .hp-person > b { background: transparent; box-shadow: inset 0 0 0 1.5px var(--c, #111); }
html body.page-app .hp-lane .hp-person > i { background: transparent; box-shadow: inset 0 0 0 1.5px var(--c, #111); }
html body.page-app .hp-lane .hp-person > s, html body.page-app .hp-lane .hp-person > u { width: 1.5px; }
html body.page-app .hp-lane .hp-person > * { transition: box-shadow .12s, background-color .12s; }

/* ======================================================================
   v4.6 · Ventana de chat más limpia: cabecera con menú (ver lo que ha visto / eliminar conversación),
   mensajes con aire, respuestas rápidas plegables y barra de envío en una sola cápsula.
   ====================================================================== */
html body.page-app .ld-win { position: relative; width: 360px; height: min(540px, calc(100vh - 80px)); border-radius: 18px 18px 0 0; box-shadow: 0 0 0 1px #E3E1DC, 0 28px 70px -28px rgba(17, 17, 17, .5); }
html body.page-app .ld-win-head { gap: 11px; padding: 12px 10px 12px 14px; border-bottom: 1px solid #F0EEEA; }
html body.page-app .ld-win-head .ld-av { width: 38px; height: 38px; }
html body.page-app .ld-win-t { gap: 2px; }
html body.page-app .ld-win-t b { font-size: 14px; }
html body.page-app .ld-win-t small { font-size: 12px; }
html body.page-app .ld-win-acts { display: flex; align-items: center; gap: 2px; }
html body.page-app .ld-win .ld-ico { width: 32px; height: 32px; border-radius: 10px; color: #6B6862; }
html body.page-app .ld-win.is-menu [data-ld-more] { background: #F2F1EE; color: #111; }
html body.page-app .ld-menu { position: absolute; top: 56px; right: 10px; z-index: 5; min-width: 220px; padding: 6px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #E6E4DF, 0 18px 40px -16px rgba(17, 17, 17, .35); display: none; }
html body.page-app .ld-win.is-menu .ld-menu { display: grid; animation: ldIn .18s ease; }
html body.page-app .ld-menu button { display: flex; align-items: center; gap: 10px; width: 100%; height: 38px; padding: 0 10px; border: 0; border-radius: 9px; background: transparent; font: inherit; font-size: 13.5px; color: #111; text-align: left; cursor: pointer; }
html body.page-app .ld-menu button:hover { background: #F6F5F2; }
html body.page-app .ld-menu button.is-danger { color: #C2410C; }
html body.page-app .ld-menu button.is-danger:hover { background: #FFF3EC; }

html body.page-app .ld-info { max-height: 210px; padding: 12px 14px; background: #FAFAF8; border-bottom: 1px solid #F0EEEA; }
html body.page-app .ld-info p { margin: 0 0 8px; line-height: 1.4; }
html body.page-app .ld-seen { gap: 8px; }

html body.page-app .ld-msgs { gap: 10px; padding: 18px 16px 12px; background: #FCFCFB; }
html body.page-app .ld-msg { max-width: 78%; gap: 4px; }
html body.page-app .ld-msg span { padding: 10px 14px; border-radius: 18px; font-size: 13.5px; line-height: 1.45; }
html body.page-app .ld-msg.is-visitor span { background: #fff; box-shadow: 0 0 0 1px #ECEAE5; border-bottom-left-radius: 6px; }
html body.page-app .ld-msg.is-owner span { background: #111; border-bottom-right-radius: 6px; }
html body.page-app .ld-msg time { padding: 0 4px; font-size: 10.5px; }
html body.page-app .ld-sys { margin: 4px 0; padding: 4px 12px; background: transparent; box-shadow: inset 0 0 0 1px #ECEAE5; }
html body.page-app .ld-hello { margin: auto 8px; padding: 14px 16px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px #ECEAE5; font-size: 12.5px; color: #6B6862; }

html body.page-app .ld-quick { flex-wrap: wrap; overflow: visible; gap: 6px; padding: 12px 14px 4px; border-top: 1px solid #F0EEEA; background: #fff; }
html body.page-app .ld-quick[hidden] { display: none; }
html body.page-app .ld-quick-h { width: 100%; margin-bottom: 2px; font-size: 11.5px; font-weight: 600; color: #8A8780; }
html body.page-app .ld-quick button { height: 30px; padding: 0 12px; font-size: 12.5px; }

html body.page-app .ld-send { gap: 4px; margin: 10px 12px 12px; padding: 4px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px #E3E1DC; transition: box-shadow .15s; }
html body.page-app .ld-send:focus-within { box-shadow: inset 0 0 0 1.5px #111; }
html body.page-app .ld-send input { height: 36px; padding: 0 6px; border: 0; border-radius: 0; background: transparent; }
html body.page-app .ld-send input:focus { border: 0; }
html body.page-app .ld-send .ld-send-q { width: 36px; height: 36px; border-radius: 50%; background: transparent; color: #6B6862; }
html body.page-app .ld-send .ld-send-q:hover, html body.page-app .ld-win.is-quick .ld-send-q { background: #F2F1EE; color: #111; }
html body.page-app .ld-send .ld-send-go { width: 36px; height: 36px; border-radius: 50%; background: #111; color: #fff; font-size: 15px; }
html body.page-app .ld-win.is-off .ld-send { background: #FAFAF8; }
@media (max-width: 560px) { html body.page-app .ld-win { width: calc(100vw - 16px); } }
html body.page-app .ld-quick { max-height: 172px; overflow-y: auto; }

/* ======================================================================
   v4.6 · Clientes › «En tu tienda web»: tiempo, visitas, lo que miró, carritos y últimas visitas
   ====================================================================== */
.cus-web-empty { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 14px 16px; border-radius: 14px; background: #FAFAF8; box-shadow: inset 0 0 0 1px #EFEDE9; font-size: 13px; color: #6B6862; line-height: 1.45; }
.cus-web-empty .bi { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px #E6E4DF; color: #111; font-size: 15px; }
.cus-web-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.cus-web-stats > div { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: #FAFAF8; box-shadow: inset 0 0 0 1px #EFEDE9; }
.cus-web-stats span { font-size: 12px; color: #8A8780; }
.cus-web-stats strong { font-size: 18px; font-weight: 600; letter-spacing: -.01em; color: #111; }
.cus-web-facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 6px; }
.cus-web-facts span { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px #E8E6E1; font-size: 12.5px; color: #3D3A35; }
.cus-web-h { display: flex; align-items: center; gap: 8px; margin: 18px 0 10px; font-size: 13px; font-weight: 600; color: #111; }
.cus-web-seen { list-style: none; margin: 0; padding: 0 0 4px; display: grid; grid-auto-flow: column; grid-auto-columns: 112px; gap: 10px; overflow-x: auto; scrollbar-width: thin; }
.cus-web-seen a { display: grid; gap: 4px; color: inherit; text-decoration: none; }
.cus-web-img { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #F2F1EE; color: #8A8780; font-size: 20px; }
.cus-web-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.cus-web-seen a:hover img { transform: scale(1.04); }
.cus-web-img em { position: absolute; right: 6px; top: 6px; padding: 1px 7px; border-radius: 999px; background: #111; color: #fff; font-size: 11px; font-style: normal; font-weight: 600; }
.cus-web-name { font-size: 12.5px; font-weight: 500; color: #111; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cus-web-seen small { font-size: 11px; color: #8A8780; }
.cus-web-carts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cus-web-carts li { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; box-shadow: inset 0 0 0 1px #EFEDE9; }
.cus-web-carts li:has(.stretched-link):hover { background: #FAFAF8; }
.cus-web-cart-t { font-size: 13px; color: #3D3A35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cus-web-cart-n { display: grid; justify-items: end; line-height: 1.25; }
.cus-web-cart-n b { font-size: 13px; font-weight: 600; }
.cus-web-cart-n small { font-size: 11px; color: #8A8780; }
.cus-web-pill { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; white-space: nowrap; background: #F2F1EE; color: #55524C; }
.cus-web-pill.is-ok { background: #E7F6EE; color: #157347; }
.cus-web-pill.is-warn { background: #FFF1E6; color: #B4500B; }
.cus-web-pill.is-live { background: #EAF1FF; color: #2350B5; }
.cus-web-time { list-style: none; margin: 0; padding: 0; display: grid; }
.cus-web-time li { position: relative; display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 10px; padding-bottom: 14px; }
.cus-web-time li::before { content: ""; position: absolute; left: 4px; top: 12px; bottom: 0; width: 1px; background: #E8E6E1; }
.cus-web-time li:last-child::before { display: none; }
.cus-web-dot { width: 9px; height: 9px; margin-top: 5px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px #111; }
.cus-web-time strong { display: block; font-size: 13px; font-weight: 600; color: #111; }
.cus-web-time small { display: block; font-size: 12px; color: #8A8780; }
.cus-web-time p { margin: 3px 0 0; font-size: 12.5px; color: #3D3A35; }
@media (max-width: 640px) { .cus-web-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cus-web-carts li { grid-template-columns: minmax(0, 1fr) auto; } .cus-web-carts .cus-web-pill { grid-column: 1 / -1; justify-self: start; } }

/* ======================================================================
   v4.6 · «Tu tienda ahora» en la línea gráfica de la plataforma (claro, como las demás tarjetas de Inicio)
   y sin el avatar caminando. Conserva la estructura que gustó: cifras en cuadros separados y actividad en cuadros.
   ====================================================================== */
html body.page-app .hp { margin: 0 0 28px; padding: 18px 20px; gap: 16px 24px; border: 1px solid var(--tc-line); border-radius: var(--tc-r-xl); background: var(--tc-surface); color: var(--tc-ink); box-shadow: none; overflow: hidden; }
html body.page-app .hp::before { display: none; }
html body.page-app .hp-lane { display: none; }
html body.page-app .hp-main { gap: 12px; }
html body.page-app .hp-top { gap: 10px; }
html body.page-app .hp-live { height: 24px; padding: 0 10px; gap: 7px; background: #EAF7F0; color: #157347; font-size: 12px; font-weight: 600; box-shadow: none; }
html body.page-app .hp-live i { background: #19B26B; }
html body.page-app .hp .hp-title, html body.page-app .hp h2.hp-title { color: var(--tc-ink) !important; font-size: 15px !important; font-weight: 600; }
html body.page-app .hp-open { position: static; margin-left: auto; height: 32px; padding: 0 14px; gap: 7px; border-radius: var(--tc-pill); background: var(--tc-ink); color: #fff; font-size: 12.5px; font-weight: 500; box-shadow: none; }
html body.page-app .hp-open:hover { transform: none; background: #262626; box-shadow: none; }
html body.page-app .hp-now { gap: 10px; }
html body.page-app .hp-now b { font-size: 36px; font-weight: 600; letter-spacing: -.04em; color: var(--tc-ink); }
html body.page-app .hp-now span { font-size: 13.5px; color: var(--tc-mute, #737371); }
html body.page-app .hp-stats { gap: 8px; }
html body.page-app .hp-stats li { padding: 9px 12px; border-radius: var(--tc-r-lg); background: var(--tc-soft); box-shadow: none; }
html body.page-app .hp-stats b { font-size: 17px; font-weight: 600; color: var(--tc-ink); }
html body.page-app .hp-stats small { font-size: 11.5px; color: var(--tc-mute, #737371); }
@keyframes hpBump { 30% { background: #EAF7F0; } }
html body.page-app .hp-more { color: var(--tc-ink-2); font-size: 12.5px; font-weight: 500; }
html body.page-app .hp-more:hover { color: var(--tc-ink); }
html body.page-app .hp-feed { min-height: 112px; }
html body.page-app .hp-list { gap: 6px; }
html body.page-app .hp-item { padding: 8px 12px; border-radius: 12px; background: var(--tc-surface); color: var(--tc-ink); box-shadow: inset 0 0 0 1px var(--tc-line); font-size: 13px; }
html body.page-app .hp-item > i { background: var(--tc-soft); color: var(--tc-ink); }
html body.page-app .hp-item.is-win > i { background: #F4D35E; color: var(--tc-ink); }
html body.page-app .hp-item time { color: var(--tc-faint, #9B9B98); }
html body.page-app .hp-idle { border: 1px dashed var(--tc-line-2, #DCDCDA); border-radius: var(--tc-r-lg); background: #FBFBFA; color: var(--tc-mute, #737371); }
html body.page-app .hp-main.is-bump .hp-num, html body.page-app .hp-now.is-bump b { animation: hpNowPop .5s cubic-bezier(.2, .8, .2, 1); }
@media (max-width: 860px) { html body.page-app .hp { padding: 16px; } }

/* v4.6 · Inicio › tarjeta «Ver mi tienda en vivo» (misma línea gráfica que las demás tarjetas) */
html body.page-app .tc-art.is-live { background: var(--tc-soft); }
html body.page-app .tc-art-ticket.is-live { gap: 7px; }
html body.page-app .tc-art-ticket.is-live > b { display: inline-flex; align-items: center; gap: 6px; color: #157347; }
html body.page-app .tl-dot { width: 7px; height: 7px; border-radius: 50%; background: #19B26B; box-shadow: 0 0 0 0 rgba(25, 178, 107, .5); animation: tlPulse 1.8s ease-out infinite; }
html body.page-app .tl-avs { display: flex; align-items: center; }
html body.page-app .tl-avs > * { width: 24px; height: 24px; margin-left: -6px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-style: normal; font-weight: 700; color: #fff; box-shadow: 0 0 0 2px #fff; opacity: 0; transform: scale(.4); animation: tlPop 4.8s cubic-bezier(.2, .9, .3, 1.3) infinite; }
html body.page-app .tl-avs > :first-child { margin-left: 0; }
html body.page-app .tl-avs > i:nth-child(1) { background: #111; animation-delay: .1s; }
html body.page-app .tl-avs > i:nth-child(2) { background: #6E8BFF; animation-delay: .5s; }
html body.page-app .tl-avs > i:nth-child(3) { background: #F08A5D; animation-delay: .9s; }
html body.page-app .tl-avs > em { background: var(--tc-soft); color: var(--tc-ink); box-shadow: 0 0 0 2px #fff; animation-delay: 1.3s; }
html body.page-app .tc-art-ticket .tl-now { font-size: 10.5px; color: var(--tc-mute); }
html body.page-app .tc-art-ticket .tl-now strong { font-size: 15px; font-weight: 700; color: var(--tc-ink); letter-spacing: -.01em; margin-right: 2px; }
html body.page-app .tc-art-chip.is-chat { background: var(--tc-ink); color: #fff; width: 38px; border-radius: 15px; }
html body.page-app .tl-typing { display: flex; gap: 3px; }
html body.page-app .tl-typing i { width: 4px; height: 4px; border-radius: 50%; background: #fff; animation: tlType 1.2s ease-in-out infinite; }
html body.page-app .tl-typing i:nth-child(2) { animation-delay: .15s; }
html body.page-app .tl-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes tlPop { 0% { opacity: 0; transform: scale(.4); } 10%, 82% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: scale(.7); } }
@keyframes tlPulse { 0% { box-shadow: 0 0 0 0 rgba(25, 178, 107, .5); } 70%, 100% { box-shadow: 0 0 0 7px rgba(25, 178, 107, 0); } }
@keyframes tlType { 0%, 60%, 100% { transform: none; opacity: .55; } 30% { transform: translateY(-3px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { html body.page-app .tl-avs > *, html body.page-app .tl-dot, html body.page-app .tl-typing i { animation: none; opacity: 1; transform: none; } }

/* Topbar: punto «en vivo» del botón Tienda en vivo */
html body.page-app .tc-pill-live { width: 7px; height: 7px; border-radius: 50%; background: #19B26B; animation: tlPulse 1.8s ease-out infinite; }

/* ======================================================================
   v4.6 · Tienda en vivo (página): cifras del día, personas · conversación · actividad
   ====================================================================== */
html body.page-app .lv { display: grid; gap: 16px; }
html body.page-app .lv-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
html body.page-app .lv-head-t { display: grid; gap: 8px; justify-items: start; }
html body.page-app .lv-live { display: inline-flex; align-items: center; gap: 7px; height: 24px; padding: 0 10px; border-radius: var(--tc-pill); background: #EAF7F0; color: #157347; font-size: 12px; font-weight: 600; }
html body.page-app .lv-live i { width: 7px; height: 7px; border-radius: 50%; background: #19B26B; animation: tlPulse 1.8s ease-out infinite; }
html body.page-app .lv-head-a { display: flex; gap: 8px; flex-wrap: wrap; }
html body.page-app .lv .hx-lead { margin-top: 0 !important; }

html body.page-app .lv-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
html body.page-app .lv-stats > div { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--tc-line); border-radius: var(--tc-r-lg); background: var(--tc-surface); transition: background-color .4s; }
html body.page-app .lv-stats > div.is-now { background: var(--tc-ink); border-color: var(--tc-ink); color: #fff; }
html body.page-app .lv-stats span { font-size: 12.5px; color: var(--tc-mute); }
html body.page-app .lv-stats .is-now span { color: rgba(255, 255, 255, .7); }
html body.page-app .lv-stats strong { font-size: 24px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
html body.page-app .lv-stats > div.is-bump strong { animation: hpNowPop .5s cubic-bezier(.2, .8, .2, 1); display: inline-block; justify-self: start; }

html body.page-app .lv-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr) 300px; gap: 12px; height: calc(100vh - 290px); min-height: 520px; }
html body.page-app .lv-col { min-height: 0; display: flex; flex-direction: column; border: 1px solid var(--tc-line); border-radius: var(--tc-r-xl); background: var(--tc-surface); overflow: hidden; }
html body.page-app .lv-col-h { margin: 0; padding: 14px 16px 10px; font-size: 13.5px; font-weight: 600; color: var(--tc-ink); border-bottom: 1px solid var(--tc-line); }

html body.page-app .lv-tabs { display: flex; gap: 4px; margin: 10px 10px 6px; padding: 3px; border-radius: 12px; background: var(--tc-soft); }
html body.page-app .lv-tabs button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; border: 0; border-radius: 9px; background: transparent; font: inherit; font-size: 12.5px; font-weight: 500; color: var(--tc-mute); cursor: pointer; }
html body.page-app .lv-tabs button.is-on { background: #fff; color: var(--tc-ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
html body.page-app .lv-tabs button span:not(:empty) { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--tc-ink); color: #fff; font-size: 10.5px; line-height: 18px; }
html body.page-app .lv-list { list-style: none; margin: 0; padding: 4px 10px 12px; display: grid; gap: 6px; align-content: start; overflow-y: auto; flex: 1; }
html body.page-app .lv-list[hidden] { display: none; }
html body.page-app .lv-person { position: relative; width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--tc-line); border-radius: 14px; background: #fff; text-align: left; font: inherit; cursor: pointer; transition: border-color .15s, background-color .15s; }
html body.page-app .lv-person:hover { border-color: var(--tc-line-2); background: #FAFAF9; }
html body.page-app .lv-person.is-sel { border-color: var(--tc-ink); box-shadow: 0 0 0 1px var(--tc-ink); }
html body.page-app .lv-person-t { flex: 1; min-width: 0; display: grid; gap: 1px; }
html body.page-app .lv-person-t b { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--tc-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body.page-app .lv-person-t small { font-size: 12px; color: var(--tc-mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body.page-app .lv-person-t small.lv-now { color: var(--tc-ink-2); }
html body.page-app .lv-on-pill { flex: none; height: 20px; padding: 0 8px; border-radius: 999px; background: #EAF7F0; color: #157347; font-size: 10.5px; font-weight: 600; line-height: 20px; }
html body.page-app .lv-none { display: flex; gap: 10px; align-items: flex-start; padding: 14px 12px; border: 1px dashed var(--tc-line-2); border-radius: 14px; background: #FBFBFA; font-size: 12.5px; line-height: 1.45; color: var(--tc-mute); }
html body.page-app .lv-none .bi { flex: none; font-size: 15px; color: var(--tc-ink); }

html body.page-app .lv-chat { position: relative; }
html body.page-app .lv-empty { margin: auto; max-width: 300px; display: grid; justify-items: center; gap: 8px; padding: 24px; text-align: center; }
html body.page-app .lv-empty strong { font-size: 15px; color: var(--tc-ink); }
html body.page-app .lv-empty p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--tc-mute); }
html body.page-app .lv-empty-art { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 18px; background: var(--tc-soft); font-size: 22px; color: var(--tc-ink); }
html body.page-app .lv-chat-head { display: flex; align-items: center; gap: 11px; padding: 12px 12px 12px 16px; border-bottom: 1px solid var(--tc-line); }
html body.page-app .lv-av.is-big { width: 42px; height: 42px; }
html body.page-app .lv-chat-t { flex: 1; min-width: 0; display: grid; gap: 2px; }
html body.page-app .lv-chat-t b { font-size: 15px; font-weight: 600; color: var(--tc-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body.page-app .lv-chat-t small { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--tc-mute); }
html body.page-app .lv-chat-a { display: flex; gap: 2px; }
html body.page-app .lv .ld-ico { width: 34px; height: 34px; border-radius: 10px; color: var(--tc-mute); }
html body.page-app .lv-back { display: none; }
html body.page-app .lv-menu { top: 60px; right: 12px; }
html body.page-app .lv-chat.is-menu .lv-menu { display: grid; animation: ldIn .18s ease; }
html body.page-app .lv-chat.is-menu [data-lv-more] { background: var(--tc-soft); color: var(--tc-ink); }
html body.page-app .lv-info { padding: 12px 16px; border-bottom: 1px solid var(--tc-line); background: #FAFAF9; font-size: 12.5px; color: var(--tc-ink-2); max-height: 230px; overflow-y: auto; }
html body.page-app .lv-info p { margin: 0 0 8px; }
html body.page-app .lv-info-load { color: var(--tc-mute); }
html body.page-app .lv-info-now { display: flex; align-items: center; gap: 6px; font-size: 13px; }
html body.page-app .lv-info-now span { margin-left: auto; font-size: 11.5px; color: var(--tc-faint); }
html body.page-app .lv-facts { display: flex; flex-wrap: wrap; gap: 6px; }
html body.page-app .lv-facts span { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--tc-line); font-size: 12px; }
html body.page-app .lv-info-h { margin: 4px 0 6px; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--tc-faint); }
html body.page-app .lv-seen { gap: 8px; }
html body.page-app .lv-msgs { flex: 1; min-height: 0; }
html body.page-app .lv-chat .ld-msgs { gap: 10px; padding: 18px 18px 12px; background: #FCFCFB; }
html body.page-app .lv-chat .ld-msg { max-width: 70%; gap: 4px; }
html body.page-app .lv-chat .ld-msg span { padding: 10px 14px; border-radius: 18px; font-size: 14px; line-height: 1.45; }
html body.page-app .lv-chat .ld-msg.is-visitor span { background: #fff; box-shadow: 0 0 0 1px var(--tc-line); border-bottom-left-radius: 6px; }
html body.page-app .lv-chat .ld-msg.is-owner span { background: var(--tc-ink); border-bottom-right-radius: 6px; }
html body.page-app .lv-chat .ld-hello { margin: auto 8px; padding: 14px 16px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--tc-line); font-size: 12.5px; color: var(--tc-mute); }
html body.page-app .lv-chat .ld-quick { flex-wrap: wrap; overflow: visible; max-height: 180px; overflow-y: auto; gap: 6px; padding: 12px 16px 4px; border-top: 1px solid var(--tc-line); }
html body.page-app .lv-chat .ld-quick[hidden] { display: none; }
html body.page-app .lv-chat .ld-send { gap: 4px; margin: 10px 14px 14px; padding: 4px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--tc-line-2); }
html body.page-app .lv-chat .ld-send:focus-within { box-shadow: inset 0 0 0 1.5px var(--tc-ink); }
html body.page-app .lv-chat .ld-send input { height: 38px; padding: 0 6px; border: 0; background: transparent; }
html body.page-app .lv-chat .ld-send .ld-send-q { width: 38px; height: 38px; border-radius: 50%; background: transparent; color: var(--tc-mute); }
html body.page-app .lv-chat.is-quick .ld-send-q, html body.page-app .lv-chat .ld-send .ld-send-q:hover { background: var(--tc-soft); color: var(--tc-ink); }
html body.page-app .lv-chat .ld-send .ld-send-go { width: 38px; height: 38px; border-radius: 50%; background: var(--tc-ink); color: #fff; }
html body.page-app .lv-chat.is-off .lv-chat-head { background: #FAFAF9; }

html body.page-app .lv-events { list-style: none; margin: 0; padding: 10px; display: grid; gap: 6px; align-content: start; overflow-y: auto; flex: 1; }
html body.page-app .lv-ev { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 2px 10px; align-items: center; padding: 9px 10px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--tc-line); font-size: 12.5px; color: var(--tc-ink); opacity: 0; transform: translateY(-6px); transition: opacity .35s, transform .35s cubic-bezier(.2, .8, .2, 1); }
html body.page-app .lv-ev.is-in { opacity: 1; transform: none; }
html body.page-app .lv-ev > i { grid-row: span 2; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--tc-soft); font-size: 13px; }
html body.page-app .lv-ev > span { line-height: 1.35; }
html body.page-app .lv-ev time { font-size: 11px; color: var(--tc-faint); }
html body.page-app .lv-ev.is-win > i { background: #F4D35E; }
html body.page-app .lv-ev.is-join > i { background: #EAF7F0; color: #157347; }
html body.page-app .lv-ev.is-leave > i { color: var(--tc-faint); }
html body.page-app .lv-ev.is-link { cursor: pointer; }
html body.page-app .lv-ev.is-link:hover { background: #FAFAF9; }

@media (max-width: 1280px) {
  html body.page-app .lv-grid { grid-template-columns: 280px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; height: auto; min-height: 0; }
  html body.page-app .lv-people, html body.page-app .lv-chat { height: calc(100vh - 290px); min-height: 520px; }
  html body.page-app .lv-feed { grid-column: 1 / -1; max-height: 320px; }
}
@media (max-width: 960px) {
  html body.page-app .lv-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body.page-app .lv-stats > .is-now { grid-column: 1 / -1; }
  html body.page-app .lv-grid { grid-template-columns: minmax(0, 1fr); }
  html body.page-app .lv-people { height: auto; min-height: 0; max-height: 420px; }
  html body.page-app .lv-chat { display: none; }
  /* en celular la conversación se abre a pantalla completa */
  html body.page-app .lv.is-chatting .lv-chat { display: flex; position: fixed; inset: 0; z-index: 1060; height: 100dvh; min-height: 0; border: 0; border-radius: 0; }
  html body.page-app .lv-back { display: grid; }
  html body.page-app .lv-x { display: none; }
  html body.page-app .lv-chat .ld-send input { font-size: 16px; }
}
/* v4.6 · La tarjeta «Ver mi tienda en vivo» es quieta (sin animación, tampoco al pasar el mouse) */
html body.page-app .tc-action .tl-avs > *, html body.page-app .tc-action .tl-dot, html body.page-app .tc-action .tl-typing i { animation: none; opacity: 1; transform: none; }

/* v4.6 · Tienda en vivo: cifras como en los demás módulos (franja) y 2 columnas; el chat va en la esquina derecha */
html body.page-app .lv-stats.stat-strip { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin-bottom: 0; }
html body.page-app .lv-stats.stat-strip > div { padding: .85rem 1.1rem; border: 0; border-left: 1px solid var(--tc-line); border-radius: 0; background: transparent; }
html body.page-app .lv-stats.stat-strip > div:first-child { border-left: 0; }
html body.page-app .lv-stats.stat-strip > div.is-now { background: transparent; color: inherit; }
html body.page-app .lv-stats.stat-strip span { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; color: var(--tc-mute); }
html body.page-app .lv-stats.stat-strip .is-now span { color: var(--tc-mute); }
html body.page-app .lv-stats.stat-strip strong { font-size: 1.1rem; letter-spacing: 0; }
html body.page-app .lv-dot { width: 7px; height: 7px; border-radius: 50%; background: #19B26B; animation: tlPulse 1.8s ease-out infinite; }
html body.page-app .lv-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); height: calc(100vh - 270px); min-height: 460px; }
html body.page-app .lv-people .lv-list { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
html body.page-app .lv-go { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: var(--tc-soft); color: var(--tc-ink); font-size: 14px; transition: background-color .15s, color .15s; }
html body.page-app .lv-person:hover .lv-go, html body.page-app .lv-person.is-sel .lv-go { background: var(--tc-ink); color: #fff; }
@media (max-width: 1280px) {
  html body.page-app .lv-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: none; height: calc(100vh - 270px); min-height: 460px; }
  html body.page-app .lv-people { height: auto; min-height: 0; }
  html body.page-app .lv-feed { grid-column: auto; max-height: none; }
}
@media (max-width: 960px) {
  html body.page-app .lv-stats.stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body.page-app .lv-stats.stat-strip > div { border-top: 1px solid var(--tc-line); }
  html body.page-app .lv-stats.stat-strip > div:nth-child(-n+1) { border-top: 0; }
  html body.page-app .lv-stats.stat-strip > div:nth-child(2n) { border-left: 0; }
  html body.page-app .lv-grid { grid-template-columns: minmax(0, 1fr); height: auto; }
  html body.page-app .lv-people, html body.page-app .lv-feed { max-height: 460px; }
}
html body.page-app .lv-head-t { flex: 1 1 420px; min-width: 0; }

/* ======================================================================
   v4.6 · Chat del panel: «Enviar desde tu tienda» (respuestas, productos, pagos, WhatsApp, tienda, sedes)
   ====================================================================== */
html body.page-app .ld-kit { display: grid; gap: 8px; padding: 10px 12px 4px; border-top: 1px solid var(--tc-line); background: #fff; max-height: 260px; overflow: hidden; grid-template-rows: auto minmax(0, 1fr) auto; }
html body.page-app .ld-kit[hidden] { display: none; }
html body.page-app .ld-kit-tabs { display: flex; gap: 4px; padding: 3px; border-radius: 10px; background: var(--tc-soft); }
html body.page-app .ld-kit-tabs button { flex: 1; height: 28px; border: 0; border-radius: 8px; background: transparent; font: inherit; font-size: 12px; font-weight: 500; color: var(--tc-mute); cursor: pointer; }
html body.page-app .ld-kit-tabs button.is-on { background: #fff; color: var(--tc-ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
html body.page-app .ld-kit-pane { min-height: 0; overflow-y: auto; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 6px; }
html body.page-app .ld-kit-pane[hidden] { display: none; }
html body.page-app .ld-kit-pane[data-kp="products"], html body.page-app .ld-kit-pane[data-kp="store"] { display: grid; gap: 6px; }
html body.page-app .ld-kit-pane[data-kp="products"][hidden], html body.page-app .ld-kit-pane[data-kp="store"][hidden] { display: none; }
html body.page-app .ld-kit-chip { height: 30px; padding: 0 12px; border: 1px solid var(--tc-line-2); border-radius: 999px; background: #fff; font: inherit; font-size: 12.5px; color: var(--tc-ink-2); cursor: pointer; }
html body.page-app .ld-kit-chip:hover { background: var(--tc-soft); }
html body.page-app .ld-kit-search { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 10px; background: var(--tc-soft); color: var(--tc-mute); font-size: 13px; }
html body.page-app .ld-kit-search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: 0; font: inherit; color: var(--tc-ink); }
html body.page-app .ld-kit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
html body.page-app .ld-kit-list button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 6px 8px; border: 0; border-radius: 10px; background: transparent; font: inherit; text-align: left; cursor: pointer; }
html body.page-app .ld-kit-list button:hover { background: var(--tc-soft); }
html body.page-app .ld-kit-list img, html body.page-app .ld-kit-noimg, html body.page-app .ld-kit-ic { flex: none; width: 36px; height: 36px; border-radius: 9px; object-fit: cover; display: grid; place-items: center; background: var(--tc-soft); color: var(--tc-ink); font-size: 15px; }
html body.page-app .ld-kit-ic .bi-whatsapp { color: #128C4A; }
html body.page-app .ld-kit-t { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
html body.page-app .ld-kit-t b { font-size: 13px; font-weight: 600; color: var(--tc-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body.page-app .ld-kit-t small { font-size: 11.5px; color: var(--tc-mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body.page-app .ld-kit-list button > .bi-plus-lg { flex: none; color: var(--tc-faint); }
html body.page-app .ld-kit-load { padding: 10px 4px; font-size: 12.5px; color: var(--tc-mute); }
html body.page-app .ld-kit-hint { margin: 0; padding: 2px 0 4px; font-size: 11px; color: var(--tc-faint); }
html body.page-app .ld-send { align-items: flex-end; }
html body.page-app .ld-send textarea { flex: 1; min-width: 0; height: 36px; max-height: 120px; padding: 8px 6px; border: 0; background: transparent; resize: none; outline: 0; font: inherit; font-size: 13.5px; line-height: 1.45; color: var(--tc-ink); border-radius: 0; }
html body.page-app .ld-send:has(textarea) { border-radius: 20px; }
html body.page-app .ld-msg span a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; word-break: break-all; }

/* v4.6 · Tienda en vivo › Conversaciones: número, «Nueva», buscador y eliminar */
html body.page-app .lv-chats { display: flex; flex-direction: column; min-height: 0; flex: 1; }
html body.page-app .lv-chats[hidden] { display: none; }
html body.page-app .lv-search { display: flex; align-items: center; gap: 8px; height: 36px; margin: 2px 10px 6px; padding: 0 12px; border-radius: 10px; background: var(--tc-soft); color: var(--tc-mute); font-size: 13px; }
html body.page-app .lv-search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: 0; font: inherit; color: var(--tc-ink); }
html body.page-app .lv-thread { position: relative; }
html body.page-app .lv-thread .lv-person { padding-right: 48px; }
html body.page-app .lv-num { font-variant-numeric: tabular-nums; color: var(--tc-mute); font-weight: 600; }
html body.page-app .lv-new { display: inline-flex; align-items: center; height: 18px; padding: 0 7px; border-radius: 999px; background: #EAF1FF; color: #2350B5; font-size: 10.5px; font-weight: 600; }
html body.page-app .lv-in { color: #157347; font-weight: 600; }
html body.page-app .lv-del { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: var(--tc-faint); cursor: pointer; transition: background-color .15s, color .15s; }
html body.page-app .lv-del:hover { background: #FFF1EC; color: #C2410C; }
html body.page-app .ld-num { font-style: normal; font-weight: 500; color: var(--tc-mute); font-variant-numeric: tabular-nums; }

/* v4.6 · Conversaciones en lista (como una bandeja de mensajes); eliminar va dentro del chat (⋯) */
html body.page-app [data-lv-chats].lv-list { display: block; padding: 0 0 8px; }
html body.page-app .lv-row { border-bottom: 1px solid var(--tc-line); }
html body.page-app .lv-row:last-child { border-bottom: 0; }
html body.page-app .lv-row > button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 0; background: transparent; font: inherit; text-align: left; cursor: pointer; transition: background-color .15s; }
html body.page-app .lv-row > button:hover { background: #FAFAF9; }
html body.page-app .lv-row.is-sel > button { background: var(--tc-soft); }
html body.page-app .lv-row-t { flex: 1; min-width: 0; display: grid; gap: 2px; }
html body.page-app .lv-row-t b { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--tc-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body.page-app .lv-row-t small { font-size: 12.5px; color: var(--tc-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body.page-app .lv-row.is-unread .lv-row-t b { font-weight: 700; }
html body.page-app .lv-row.is-unread .lv-row-t small { color: var(--tc-ink); font-weight: 500; }
html body.page-app .lv-row-m { flex: none; display: grid; justify-items: end; gap: 5px; }
html body.page-app .lv-row-m time { font-size: 11.5px; color: var(--tc-faint); white-space: nowrap; }
html body.page-app .lv-row.is-unread .lv-row-m time { color: #19B26B; font-weight: 600; }
html body.page-app .lv-row-on { width: 8px; height: 8px; border-radius: 50%; background: #19B26B; }
html body.page-app .lv-chats .lv-none { margin: 4px 10px; }
/* v4.6 · «En la tienda» también en lista */
html body.page-app [data-lv-people].lv-list { display: block; padding: 0 0 8px; }
html body.page-app [data-lv-people] .lv-none { margin: 4px 10px; }
html body.page-app .lv-row-on.is-idle { background: #C9C6BF; }
html body.page-app .lv-row-t small .bi { font-size: 11px; }

/* ======================================================================
   v4.6 · Botón «Chats» (barra superior) + panel de chats a la derecha + «Disponible para chatear»
   ====================================================================== */
html body.page-app .tc-chats-pill { position: relative; gap: 6px; cursor: pointer; }
html body.page-app .tc-chats-pill .bi { font-size: 14px; }
html body.page-app .tc-pill-count { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #E5484D; color: #fff; font-size: 10.5px; font-weight: 700; line-height: 18px; text-align: center; }
html body.page-app .tc-pill-count[hidden] { display: none; }
html body.page-app .tc-chats-pill.has-new { border-color: #F3C4C6; }

html body.page-app .ld-head { gap: 10px; padding: 16px 14px 10px 18px; }
html body.page-app .ld-title { flex: 1; font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: var(--tc-ink); }
html body.page-app .ld-head .ld-live { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; background: #EAF7F0; color: #157347; font-size: 12px; font-weight: 500; }
html body.page-app .ld-head .ld-live b { font-weight: 700; }
html body.page-app .ld-availrow { padding: 0 14px 10px; }
html body.page-app .ld-chatsbox[hidden] { display: none; }
html body.page-app .ld-chatsbox .lv-search { margin: 0 0 6px; }
html body.page-app .ld-rows, html body.page-app .ld-people { display: block; margin: 0 -10px; padding: 0; list-style: none; }
html body.page-app .ld-rows .lv-row > button, html body.page-app .ld-people .lv-row > button { padding: 11px 16px; }
html body.page-app .ld-people[hidden] { display: none; }
html body.page-app .ld .ld-empty { margin: 6px 10px; }

/* Interruptor */
html body.page-app .ld-avail { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--tc-line); border-radius: 14px; background: #fff; font: inherit; text-align: left; cursor: pointer; transition: border-color .2s, background-color .2s; }
html body.page-app .ld-avail:hover { border-color: var(--tc-line-2); }
html body.page-app .ld-avail-sw { position: relative; flex: none; width: 38px; height: 22px; border-radius: 999px; background: #D7D5CF; transition: background-color .2s; }
html body.page-app .ld-avail-sw i { position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .2s cubic-bezier(.2, .8, .2, 1); }
html body.page-app .ld-avail.is-on .ld-avail-sw { background: #19B26B; }
html body.page-app .ld-avail.is-on .ld-avail-sw i { transform: translateX(16px); }
html body.page-app .ld-avail-t { display: grid; line-height: 1.25; min-width: 0; }
html body.page-app .ld-avail-t b { font-size: 13px; font-weight: 600; color: var(--tc-ink); }
html body.page-app .ld-avail-t small { font-size: 11.5px; color: var(--tc-mute); }
html body.page-app .ld-avail:not(.is-on) .ld-avail-t small::before { content: "\F618"; font-family: bootstrap-icons; margin-right: 4px; color: #128C4A; }
html body.page-app .ld-avail.is-wait { opacity: .6; }
html body.page-app .lv-head-a .ld-avail { width: auto; padding: 6px 12px 6px 8px; border-radius: 999px; }
html body.page-app .tc-top .tc-pill.tc-chats-pill { display: inline-flex !important; } /* v4.6 · el botón Chats también en celular */

/* ======================================================================
   v4.6 · Pedidos y Clientes: buscador y botones en una sola línea, como Productos
   (buscador a la izquierda, filtros junto a él; acciones a la derecha). Las pestañas de estado/segmento van debajo.
   ====================================================================== */
html body.page-app .mod-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin: 0 0 14px; }
html body.page-app .mod-toolbar .mod-search { flex: 1 1 auto; max-width: none; min-width: 0; display: flex; align-items: center; gap: 8px; margin: 0; }
html body.page-app .mod-toolbar .mod-search .input-wrap { flex: 0 1 340px; min-width: 200px; max-width: 340px; }
html body.page-app .mod-toolbar-a { margin-left: auto; flex: none; flex-wrap: nowrap; gap: 8px; }
html body.page-app .mod-toolbar-a > .dropdown { order: 1; }
html body.page-app .mod-toolbar-a > .btn-ink { order: 2; }
html body.page-app .mod-toolbar :is(.form-control, .mod-sort) { height: 38px; }
html body.page-app .mod-toolbar-a :is(.btn, .btn-icon) { height: 38px; }
html body.page-app .mod-toolbar-a .btn { display: inline-flex; align-items: center; gap: 6px; padding: 0 16px; }
html body.page-app .mod-toolbar-a .btn-icon { width: 38px; }
html body.page-app .mod-toolbar + .mod-bar { margin-top: 0; }
@media (max-width: 767.98px) {
  html body.page-app .mod-toolbar .mod-search { flex: 1 1 100%; }
  html body.page-app .mod-toolbar .mod-search .input-wrap { flex: 1 1 auto; max-width: none; }
  html body.page-app .mod-toolbar-a { margin-left: 0; width: 100%; justify-content: flex-end; }
}

/* v4.6 · Listas de chats/conectados más ordenadas: número como etiqueta y hora + contador en la misma línea */
html body.page-app .lv-row > button { align-items: center; }
html body.page-app .lv-row-t b { gap: 6px; }
html body.page-app .lv-num { flex: none; display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: 6px; background: var(--tc-soft); color: var(--tc-mute); font-size: 11px; font-weight: 600; letter-spacing: 0; }
html body.page-app .lv-row-m { display: flex; flex-direction: row; align-items: center; gap: 6px; align-self: center; }
html body.page-app .lv-row-m time { display: inline-flex; align-items: center; gap: 4px; }
html body.page-app .lv-row-m .ld-badge { min-width: 18px; height: 18px; }
html body.page-app .lv-row-on { flex: none; }
html body.page-app .ld-tabs button, html body.page-app .lv-tabs button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; }
html body.page-app .ld-tabs button span:not(:empty), html body.page-app .lv-tabs button span:not(:empty) { margin: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--tc-ink); color: #fff; font-size: 10.5px; font-weight: 600; line-height: 18px; text-align: center; }
html body.page-app .ld-tabs button span:empty, html body.page-app .lv-tabs button span:empty { display: none; }
html body.page-app .ld-head .ld-live { white-space: nowrap; }

/* v4.6 · Separación sutil entre la información del negocio (logo, nombre, enlace) y el contenido del módulo */
html body.page-app.tc .app-main .biz-hero.biz-hero, html body.page-app .app-main .biz-hero.biz-hero { padding: 0 0 18px !important; margin-bottom: 24px !important; border-bottom: 1px solid var(--tc-line) !important; }
@media (max-width: 767.98px) { html body.page-app.tc .app-main .biz-hero.biz-hero, html body.page-app .app-main .biz-hero.biz-hero { padding-bottom: 14px !important; margin-bottom: 18px !important; } }

/* ======================================================================
   v4.6 · Microinteracciones en toda la plataforma (hover, foco, clic y aparición).
   Todo va con :where() (especificidad 0): si un elemento ya tenía su propia animación, la suya manda.
   ====================================================================== */
:root { --tc-ease-out: cubic-bezier(.2, .8, .2, 1); }
/* Bootstrap define la transición de .btn sin «transform»: se suma aquí para que el movimiento sea suave */
html body.page-app .btn { transition: color .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .2s ease, transform .18s var(--tc-ease-out); }

/* Botones, pastillas y chips: se elevan un poco al pasar y se hunden al hacer clic */
:where(body.page-app) :where(.btn, .btn-icon, .tc-pill, .tc-chip, .view-toggle-btn, .seg-tab, .mod-chip) {
  transition: transform .18s var(--tc-ease-out), box-shadow .2s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}
:where(body.page-app) :where(.btn, .tc-pill, .tc-chip, .mod-chip):where(:hover):where(:not(:disabled, .disabled)) { transform: translateY(-1px); }
:where(body.page-app) :where(.btn-ink, .btn-dark, .btn-primary):where(:hover):where(:not(:disabled, .disabled)) { box-shadow: 0 6px 16px -8px rgba(17, 17, 17, .45); }
:where(body.page-app) :where(.btn-outline-ink, .btn-light, .btn-outline-secondary, .tc-pill, .tc-chip):where(:hover) { box-shadow: 0 4px 12px -8px rgba(17, 17, 17, .3); }
:where(body.page-app) :where(.btn, .btn-icon, .tc-pill, .tc-chip, .view-toggle-btn):where(:active):where(:not(:disabled, .disabled)) { transform: scale(.97); }
:where(body.page-app) :where(.btn-icon):where(:hover) { transform: scale(1.06); }

/* Íconos dentro de botones y enlaces: flechas avanzan, «+» gira, el resto rebota apenas */
:where(body.page-app) :where(a, button) :where(.bi-arrow-right, .bi-chevron-right, .bi-arrow-up-right, .bi-box-arrow-up-right) { display: inline-block; transition: transform .2s var(--tc-ease-out); }
:where(body.page-app) :where(a, button):where(:hover) :where(.bi-arrow-right, .bi-chevron-right) { transform: translateX(3px); }
:where(body.page-app) :where(a, button):where(:hover) :where(.bi-arrow-up-right, .bi-box-arrow-up-right) { transform: translate(2px, -2px); }
:where(body.page-app) :where(.btn, .btn-icon) :where(.bi-plus-lg, .bi-plus) { display: inline-block; transition: transform .25s var(--tc-ease-out); }
:where(body.page-app) :where(.btn, .btn-icon):where(:hover) :where(.bi-plus-lg, .bi-plus) { transform: rotate(90deg); }
:where(body.page-app) :where(.btn, .tc-pill, .tc-chip) :where(.bi):where(:not(.bi-plus-lg, .bi-plus, .bi-arrow-right, .bi-chevron-right, .bi-arrow-up-right, .bi-box-arrow-up-right)) { display: inline-block; transition: transform .2s var(--tc-ease-out); }
:where(body.page-app) :where(.btn, .tc-pill, .tc-chip):where(:hover) :where(.bi):where(:not(.bi-plus-lg, .bi-plus, .bi-arrow-right, .bi-chevron-right, .bi-arrow-up-right, .bi-box-arrow-up-right)) { transform: scale(1.12); }

/* Tarjetas y paneles: sombra suave y borde un poco más marcado */
:where(body.page-app) :where(.panel, .ord-card, .product-card, .stat-strip, .lv-col, .cus-web-stats > div, .tc-section .tc-card) { transition: box-shadow .25s ease, border-color .25s ease, transform .25s var(--tc-ease-out); }
:where(body.page-app) :where(.panel, .ord-card, .lv-col, .stat-strip):where(:hover) { box-shadow: 0 10px 30px -22px rgba(17, 17, 17, .35); }
:where(body.page-app) :where(.product-card, .cus-web-stats > div):where(:hover) { transform: translateY(-2px); box-shadow: 0 14px 32px -22px rgba(17, 17, 17, .4); }
:where(body.page-app) :where(.product-card) :where(img) { transition: transform .4s var(--tc-ease-out); }
:where(body.page-app) :where(.product-card):where(:hover) :where(img) { transform: scale(1.04); }
:where(body.page-app) :where(.stat-strip > div) { transition: background-color .2s ease; }
:where(body.page-app) :where(.stat-strip > div):where(:hover) { background-color: #FAFAF9; }

/* Filas de listas y tablas: fondo suave al pasar */
:where(body.page-app) :where(.ov-orders li > a, .ord-item, .dropdown-item, .table tbody tr, .tc-bm-item, .acct-pop a) { transition: background-color .15s ease, color .15s ease, padding-left .2s var(--tc-ease-out); }
:where(body.page-app) :where(.ov-orders li > a, .ord-item, .table tbody tr):where(:hover) { background-color: #FAFAF9; }
:where(body.page-app) :where(.dropdown-item):where(:hover) { padding-left: 1.15rem; }
:where(body.page-app) :where(.ord-avatar, .ld-av, .lv-av) { transition: transform .2s var(--tc-ease-out); }
:where(body.page-app) :where(a, button, li):where(:hover) > :where(.ord-avatar, .ld-av, .lv-av) { transform: scale(1.06); }

/* Menú lateral: el ícono se mueve apenas */
:where(body.page-app) :where(.tc-link) :where(.ic, .bi, svg) { transition: transform .2s var(--tc-ease-out); }
:where(body.page-app) :where(.tc-link):where(:hover) :where(.ic, .bi, svg) { transform: translateX(2px) scale(1.06); }

/* Pestañas: subrayado que crece al pasar (solo las que no están activas) */
:where(body.page-app) :where(.prod-subnav-item, .seg-tab) { position: relative; }
:where(body.page-app) :where(.prod-subnav-item, .seg-tab):where(:not(.is-active))::before { content: ""; position: absolute; left: 50%; right: 50%; bottom: -1px; height: 2px; border-radius: 2px; background: var(--tc-line-2, #DCDCDA); transition: left .22s var(--tc-ease-out), right .22s var(--tc-ease-out); pointer-events: none; }
:where(body.page-app) :where(.prod-subnav-item, .seg-tab):where(:not(.is-active)):where(:hover)::before { left: 8px; right: 8px; }

/* Campos: transición suave del borde y del anillo de foco */
:where(body.page-app) :where(.form-control, .form-select, textarea, input[type="search"]) { transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease; }

/* Enlaces de texto: subrayado animado */
:where(body.page-app) :where(.mod-link, .btn-link, .ord-dl a) { background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .25s var(--tc-ease-out), color .18s ease; }
:where(body.page-app) :where(.mod-link, .ord-dl a):where(:hover) { background-size: 100% 1px; text-decoration: none; }

/* Menús desplegables: aparecen con un pequeño deslizamiento */
@keyframes tcPop { from { opacity: 0; translate: 0 -4px; } to { opacity: 1; translate: 0 0; } } /* translate (no transform): Bootstrap posiciona el menú con transform */
:where(body.page-app) :where(.dropdown-menu.show) { animation: tcPop .16s var(--tc-ease-out); }

/* Insignias y contadores: pequeño rebote al aparecer */
@keyframes tcBadge { 0% { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.12); } 100% { transform: none; opacity: 1; } }
:where(body.page-app) :where(.tc-pill-count, .seg-tab-n.is-hot, .prod-subnav-badge) { animation: tcBadge .35s var(--tc-ease-out) both; }

@media (prefers-reduced-motion: reduce) {
  :where(body.page-app) :where(*) { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
/* v4.6 · Botones: la regla base de .btn quita sombra y transform; aquí se aplica el hover con más peso */
html body.page-app .btn:hover:not(:disabled):not(.disabled):not(.btn-link) { transform: translateY(-1px); }
html body.page-app :is(.btn-ink, .btn-dark, .btn-primary):hover:not(:disabled):not(.disabled) { box-shadow: 0 6px 16px -8px rgba(17, 17, 17, .45) !important; }
html body.page-app :is(.btn-outline-ink, .btn-outline-dark, .btn-light, .btn-outline-secondary):hover:not(:disabled):not(.disabled) { box-shadow: 0 4px 12px -8px rgba(17, 17, 17, .28) !important; }
html body.page-app .btn:active:not(:disabled):not(.disabled) { transform: translateY(0) scale(.97); }
html body.page-app .btn { transition: background-color var(--tc-fast), border-color var(--tc-fast), color var(--tc-fast), transform .18s var(--tc-ease-out), box-shadow .2s ease !important; }
@media (prefers-reduced-motion: reduce) { html body.page-app .btn:hover, html body.page-app .btn:active { transform: none !important; } }

/* ======================================================================
   v4.6 · ¿Cómo funciona? — diagramas tipo BPMN 2.0 bonitos, animados y paso a paso (learn.js)
   Carriles: you (tú, negro) · client (tu cliente, azul) · auto (tiencol, verde)
   ====================================================================== */
html body.page-app { --lr-you: #111111; --lr-you-s: #F2F1EE; --lr-client: #2E6BE6; --lr-client-s: #EAF1FF; --lr-auto: #17A673; --lr-auto-s: #E7F6EE; }
html body.page-app .lrn { display: grid; gap: 18px; }
html body.page-app .lrn-head { display: grid; gap: 8px; justify-items: start; }
html body.page-app .lrn-head .hx-lead { max-width: 640px; margin: 0 !important; }
html body.page-app .lrn-kicker { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 11px; border-radius: 999px; background: var(--tc-soft); color: var(--tc-ink-2); font-size: 12px; font-weight: 600; }
html body.page-app .lrn-picks { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: none; }
html body.page-app .lrn-picks::-webkit-scrollbar { display: none; }
html body.page-app .lrn-pick { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border: 1px solid var(--tc-line); border-radius: 999px; background: #fff; font: inherit; font-size: 13px; font-weight: 500; color: var(--tc-ink-2); cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
html body.page-app .lrn-pick:hover { border-color: var(--tc-line-2); color: var(--tc-ink); }
html body.page-app .lrn-pick.is-on { background: var(--tc-ink); border-color: var(--tc-ink); color: #fff; }

/* Tarjeta del flujo */
html body.page-app .lrn-flow { display: grid; gap: 14px; padding: 20px; border: 1px solid var(--tc-line); border-radius: var(--tc-r-xl); background: #fff; }
html body.page-app .lrn-flow-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
html body.page-app .lrn-flow-ic { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--tc-soft); font-size: 20px; color: var(--tc-ink); }
html body.page-app .lrn-flow-t { flex: 1 1 260px; min-width: 0; }
html body.page-app .lrn-flow-t h2 { margin: 0 0 2px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; color: var(--tc-ink); }
html body.page-app .lrn-flow-t p { margin: 0; font-size: 13.5px; color: var(--tc-mute); }
html body.page-app .lrn-ctrl { display: flex; align-items: center; gap: 6px; }
html body.page-app .lrn-count { min-width: 52px; text-align: center; font-size: 12.5px; font-weight: 600; color: var(--tc-mute); font-variant-numeric: tabular-nums; }
html body.page-app .lrn-legend { display: flex; flex-wrap: wrap; gap: 6px; }
html body.page-app .lrn-legend span { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 500; }
html body.page-app .lrn-legend .is-you { background: var(--lr-you-s); color: var(--lr-you); }
html body.page-app .lrn-legend .is-client { background: var(--lr-client-s); color: var(--lr-client); }
html body.page-app .lrn-legend .is-auto { background: var(--lr-auto-s); color: var(--lr-auto); }

/* Diagrama con carriles (computador) */
html body.page-app .lrn-canvas { overflow-x: auto; overflow-y: hidden; border-radius: 16px; scrollbar-width: thin; }
html body.page-app .lrn-dia { position: relative; display: grid; grid-template-columns: 112px 56px repeat(calc(var(--cols) - 2), 164px) 56px; grid-template-rows: repeat(var(--rows), minmax(118px, auto)); column-gap: 26px; width: max-content; min-width: 100%; padding: 0 22px 0 0; }
html body.page-app .lrn-lane { grid-column: 1 / -1; display: flex; align-items: center; border-radius: 14px; margin: 4px 0; z-index: 0; }
html body.page-app .lrn-lane.is-you { background: linear-gradient(90deg, var(--lr-you-s), rgba(242, 241, 238, .35)); }
html body.page-app .lrn-lane.is-client { background: linear-gradient(90deg, var(--lr-client-s), rgba(234, 241, 255, .35)); }
html body.page-app .lrn-lane.is-auto { background: linear-gradient(90deg, var(--lr-auto-s), rgba(231, 246, 238, .35)); }
html body.page-app .lrn-lane > span { position: sticky; left: 0; width: 112px; display: grid; gap: 4px; justify-items: center; padding: 0 8px; text-align: center; font-size: 11.5px; font-weight: 600; line-height: 1.25; }
html body.page-app .lrn-lane > span .bi { font-size: 18px; }
html body.page-app .lrn-lane.is-you > span { color: var(--lr-you); }
html body.page-app .lrn-lane.is-client > span { color: var(--lr-client); }
html body.page-app .lrn-lane.is-auto > span { color: var(--lr-auto); }

html body.page-app .lrn-node { position: relative; z-index: 2; align-self: center; display: grid; justify-items: center; gap: 7px; width: 164px; padding: 16px 12px 14px; border: 1px solid var(--tc-line); border-radius: 16px; background: #fff; font: inherit; text-align: center; cursor: pointer; opacity: .18; transform: translateY(8px) scale(.96); filter: grayscale(1); transition: opacity .45s ease, transform .45s cubic-bezier(.2, .8, .2, 1), filter .45s ease, box-shadow .3s ease, border-color .3s ease; }
html body.page-app .lrn-node.is-on { opacity: 1; transform: none; filter: none; box-shadow: 0 8px 22px -16px rgba(17, 17, 17, .35); }
html body.page-app .lrn-node.is-cur { border-color: currentColor; box-shadow: 0 0 0 4px rgba(17, 17, 17, .06), 0 14px 30px -18px rgba(17, 17, 17, .45); transform: translateY(-3px); }
html body.page-app .lrn-node.is-you { color: var(--lr-you); }
html body.page-app .lrn-node.is-client { color: var(--lr-client); }
html body.page-app .lrn-node.is-auto { color: var(--lr-auto); }
html body.page-app .lrn-node b { font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--tc-ink); }
html body.page-app .lrn-node-n { position: absolute; top: 8px; left: 10px; font-size: 11px; font-weight: 700; color: var(--tc-faint); font-variant-numeric: tabular-nums; }
html body.page-app .lrn-node-ic { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; font-size: 19px; }
html body.page-app .is-you > .lrn-node-ic { background: var(--lr-you); color: #fff; }
html body.page-app .is-client > .lrn-node-ic { background: var(--lr-client-s); color: var(--lr-client); }
html body.page-app .is-auto > .lrn-node-ic { background: var(--lr-auto-s); color: var(--lr-auto); }
html body.page-app .lrn-node.is-cur .lrn-node-ic { animation: lrnPulse 1.6s ease-out infinite; }
@keyframes lrnPulse { 0% { box-shadow: 0 0 0 0 rgba(17, 17, 17, .18); } 70%, 100% { box-shadow: 0 0 0 10px rgba(17, 17, 17, 0); } }

/* Eventos de inicio y fin (círculos BPMN) */
html body.page-app .lrn-ev { position: relative; z-index: 2; align-self: center; justify-self: center; display: grid; justify-items: center; gap: 6px; }
html body.page-app .lrn-ev i { width: 34px; height: 34px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px #19B26B; }
html body.page-app .lrn-ev.is-end i { box-shadow: inset 0 0 0 5px var(--tc-ink); opacity: .2; transition: opacity .4s, transform .4s cubic-bezier(.2, .8, .2, 1); transform: scale(.8); }
html body.page-app .lrn-ev.is-end.is-on i { opacity: 1; transform: none; }
html body.page-app .lrn-ev small { font-size: 11px; font-weight: 600; color: var(--tc-mute); }

/* Flechas que se dibujan */
html body.page-app .lrn-wires { position: absolute; left: 0; top: 0; z-index: 1; pointer-events: none; overflow: visible; }
html body.page-app .lrn-wires marker path { fill: #C9C7C1; transition: fill .3s; }
html body.page-app .lrn-wire { fill: none; stroke: #DCDAD4; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke-dashoffset .9s cubic-bezier(.4, .1, .2, 1), stroke .3s; }
html body.page-app .lrn-wire.is-on { stroke-dashoffset: 0 !important; stroke: #8E8B84; }

/* Detalle del paso actual */
html body.page-app .lrn-detail { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px 16px; border-radius: 16px; background: #FAFAF9; box-shadow: inset 0 0 0 1px var(--tc-line); }
html body.page-app .lrn-detail.is-pop { animation: lrnPop .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes lrnPop { from { opacity: .3; translate: 0 6px; } to { opacity: 1; translate: 0 0; } }
html body.page-app .lrn-detail-hint { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--tc-mute); }
html body.page-app .lrn-detail-ic { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; font-size: 20px; }
html body.page-app .lrn-detail-ic.is-you { background: var(--lr-you); color: #fff; }
html body.page-app .lrn-detail-ic.is-client { background: var(--lr-client-s); color: var(--lr-client); }
html body.page-app .lrn-detail-ic.is-auto, html body.page-app .lrn-detail-ic.is-done { background: var(--lr-auto-s); color: var(--lr-auto); }
html body.page-app .lrn-detail-t { flex: 1; min-width: 0; display: grid; gap: 2px; }
html body.page-app .lrn-detail-t small { font-size: 11.5px; font-weight: 600; color: var(--tc-faint); text-transform: uppercase; letter-spacing: .04em; }
html body.page-app .lrn-detail-t b { font-size: 15px; font-weight: 600; color: var(--tc-ink); }
html body.page-app .lrn-detail-t p { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--tc-ink-2); }

/* Lista vertical (celular) */
html body.page-app .lrn-list { list-style: none; margin: 0; padding: 0 0 0 4px; display: grid; gap: 0; }
html body.page-app .lrn-list > li { position: relative; padding: 0 0 12px 30px; }
html body.page-app .lrn-list > li::before { content: ""; position: absolute; left: 11px; top: 0; bottom: 0; width: 2px; background: #E6E4DF; }
html body.page-app .lrn-list > li:last-child::before { display: none; }
html body.page-app .lrn-ev-row { display: flex; align-items: center; gap: 10px; margin-left: -30px; padding-left: 0 !important; font-size: 12px; font-weight: 600; color: var(--tc-mute); }
html body.page-app .lrn-ev-row i { position: relative; z-index: 1; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px #19B26B; }
html body.page-app .lrn-ev-row.is-end i { box-shadow: inset 0 0 0 5px var(--tc-ink); }
html body.page-app .lrn-item { width: 100%; display: flex; gap: 12px; padding: 12px; border: 1px solid var(--tc-line); border-radius: 14px; background: #fff; font: inherit; text-align: left; cursor: pointer; opacity: .25; transform: translateX(-6px); transition: opacity .4s ease, transform .4s cubic-bezier(.2, .8, .2, 1), border-color .3s; }
html body.page-app .lrn-item.is-on { opacity: 1; transform: none; }
html body.page-app .lrn-item.is-cur { border-color: var(--tc-ink); }
html body.page-app .lrn-item .lrn-node-ic { flex: none; width: 38px; height: 38px; font-size: 17px; }
html body.page-app .lrn-item-t { display: grid; gap: 2px; min-width: 0; }
html body.page-app .lrn-item-t small { font-size: 11px; font-weight: 600; color: var(--tc-faint); text-transform: uppercase; letter-spacing: .04em; }
html body.page-app .lrn-item-t b { font-size: 14px; font-weight: 600; color: var(--tc-ink); }
html body.page-app .lrn-item-t span { font-size: 13px; line-height: 1.4; color: var(--tc-mute); }

/* Botón «¿Cómo funciona?» de cada módulo */
html body.page-app .biz-hero { gap: 12px; }
html body.page-app .lrn-btn { flex: none; margin-left: auto; display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border: 1px solid var(--tc-line-2); border-radius: 999px; background: #fff; color: var(--tc-ink-2); font-size: 12.5px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s; }
html body.page-app .lrn-btn:hover { background: var(--tc-soft); color: var(--tc-ink); }
html body.page-app .lrn-btn .bi { font-size: 14px; }
@media (max-width: 575.98px) { html body.page-app .lrn-btn span { display: none; } html body.page-app .lrn-btn { width: 32px; padding: 0; justify-content: center; } }

/* Ventana del diagrama (desde un módulo) */
html.lrn-open, html.lrn-open body { overflow: hidden; }
html body.page-app .lrn-modal { position: fixed; inset: 0; z-index: 1080; display: grid; place-items: center; padding: 24px; background: rgba(17, 17, 17, .38); opacity: 0; transition: opacity .2s ease; }
html body.page-app .lrn-modal.is-in { opacity: 1; }
html body.page-app .lrn-modal-box { width: min(1180px, 100%); max-height: calc(100vh - 48px); overflow-y: auto; display: grid; gap: 12px; padding: 16px; border-radius: 22px; background: #F7F7F6; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .45); transform: translateY(14px) scale(.98); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
html body.page-app .lrn-modal.is-in .lrn-modal-box { transform: none; }
html body.page-app .lrn-modal-top { display: flex; align-items: center; gap: 10px; padding: 0 4px; }
html body.page-app .lrn-modal-all { margin-left: auto; font-size: 13px; font-weight: 500; color: var(--tc-ink); text-decoration: none; }
html body.page-app .lrn-modal .lrn-kicker { background: #fff; }
@media (max-width: 760px) { html body.page-app .lrn-modal { padding: 0; } html body.page-app .lrn-modal-box { max-height: 100dvh; height: 100dvh; border-radius: 0; } html body.page-app .lrn-flow { padding: 14px; } }

@media (prefers-reduced-motion: reduce) {
  html body.page-app :is(.lrn-node, .lrn-item, .lrn-wire, .lrn-ev i) { transition: none !important; }
  html body.page-app .lrn-node.is-cur .lrn-node-ic { animation: none; }
}

/* v4.6 · «¿Qué quieres hacer hoy?»: el carrusel recortaba arriba la tarjeta al elevarse (overflow-x también recorta en vertical).
   Se le da aire por dentro (padding) y se compensa por fuera (margin negativo) para que nada se mueva. */
html body.page-app .tc-actions.is-slider { padding-top: 8px; margin-top: -8px; padding-left: 6px; padding-right: 6px; margin-left: -6px; margin-right: -6px; scroll-padding-left: 6px; }
html body.page-app .tc-actions.is-slider { grid-auto-columns: calc((100% - 12px - 2 * var(--tc-3, 14px)) / 3); }
@media (max-width: 767.98px) { html body.page-app .tc-actions.is-slider { grid-auto-columns: 82%; } }

/* ======================================================================
   v4.6 · ¿Cómo funciona? — versión minimalista (misma animación): carriles con línea fina, nodos de círculo
   delineado que se rellenan al llegar, flechas delgadas y subactividades en el detalle.
   ====================================================================== */
html body.page-app .lrn-flow { gap: 16px; padding: 22px 22px 18px; box-shadow: none; }
html body.page-app .lrn-flow-ic { width: 40px; height: 40px; border-radius: 12px; font-size: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--tc-line); }
html body.page-app .lrn-flow-t h2 { font-size: 17px; }
html body.page-app .lrn-legend span { height: auto; padding: 0; background: none !important; color: var(--tc-mute) !important; font-size: 12px; gap: 6px; }
html body.page-app .lrn-legend span .bi { display: none; }
html body.page-app .lrn-legend span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
html body.page-app .lrn-legend .is-you::before { background: var(--lr-you); }
html body.page-app .lrn-legend .is-client::before { background: var(--lr-client); }
html body.page-app .lrn-legend .is-auto::before { background: var(--lr-auto); }
html body.page-app .lrn-legend { gap: 16px; }

html body.page-app .lrn-canvas { border-radius: 0; }
html body.page-app .lrn-lane { background: none !important; margin: 0; border-radius: 0; border-top: 1px dashed #E6E4DF; }
html body.page-app .lrn-dia > .lrn-lane:first-child { border-top: 0; }
html body.page-app .lrn-lane > span { justify-items: start; text-align: left; padding: 0 0 0 4px; font-size: 11px; font-weight: 500; letter-spacing: .02em; color: var(--tc-mute) !important; display: flex; align-items: center; gap: 7px; }
html body.page-app .lrn-lane > span .bi { display: none; }
html body.page-app .lrn-lane > span::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; }
html body.page-app .lrn-lane.is-you > span::before { background: var(--lr-you); }
html body.page-app .lrn-lane.is-client > span::before { background: var(--lr-client); }
html body.page-app .lrn-lane.is-auto > span::before { background: var(--lr-auto); }

html body.page-app .lrn-node { padding: 8px 6px; gap: 8px; border: 0; background: transparent; box-shadow: none !important; filter: none; opacity: .28; }
html body.page-app .lrn-node.is-on { opacity: 1; }
html body.page-app .lrn-node.is-cur { transform: none; border: 0; }
html body.page-app .lrn-node-n { display: none; }
html body.page-app .lrn-node b { font-size: 12.5px; font-weight: 500; line-height: 1.3; color: var(--tc-ink); }
html body.page-app .lrn-node .lrn-node-ic { width: 46px; height: 46px; border-radius: 50%; font-size: 18px; background: #fff !important; color: currentColor !important; box-shadow: inset 0 0 0 1.5px currentColor; transition: background-color .35s ease, color .35s ease, box-shadow .35s ease, transform .35s cubic-bezier(.2, .8, .2, 1); }
html body.page-app .lrn-node.is-cur .lrn-node-ic { background: currentColor !important; transform: scale(1.06); }
html body.page-app .lrn-node.is-cur .lrn-node-ic .bi { color: #fff; }
html body.page-app .lrn-node.is-cur .lrn-node-ic { animation: lrnRing 1.8s ease-out infinite; }
@keyframes lrnRing { 0% { box-shadow: inset 0 0 0 1.5px currentColor, 0 0 0 0 rgba(17, 17, 17, .14); } 70%, 100% { box-shadow: inset 0 0 0 1.5px currentColor, 0 0 0 10px rgba(17, 17, 17, 0); } }
html body.page-app .lrn-node:hover .lrn-node-ic { transform: scale(1.06); }
html body.page-app .lrn-node-more { font-size: 10.5px; font-style: normal; font-weight: 500; color: var(--tc-faint); margin-top: -4px; }

html body.page-app .lrn-ev i { width: 18px; height: 18px; box-shadow: inset 0 0 0 1.5px #9C9A93; }
html body.page-app .lrn-ev.is-end i { box-shadow: inset 0 0 0 3.5px var(--tc-ink); }
html body.page-app .lrn-ev small { font-size: 10.5px; font-weight: 500; color: var(--tc-faint); }
html body.page-app .lrn-wire { stroke: #E4E2DC; stroke-width: 1.5; }
html body.page-app .lrn-wire.is-on { stroke: #3A3936; }
html body.page-app .lrn-wires marker path { fill: #3A3936; }

/* Detalle con subactividades */
html body.page-app .lrn-detail { align-items: flex-start; background: #fff; box-shadow: none; border: 1px solid var(--tc-line); padding: 16px 18px; }
html body.page-app .lrn-detail-ic { width: 40px; height: 40px; border-radius: 50%; font-size: 17px; background: #fff !important; box-shadow: inset 0 0 0 1.5px currentColor; }
html body.page-app .lrn-detail-ic.is-you { color: var(--lr-you); }
html body.page-app .lrn-detail-ic.is-client { color: var(--lr-client); }
html body.page-app .lrn-detail-ic.is-auto, html body.page-app .lrn-detail-ic.is-done { color: var(--lr-auto); }
html body.page-app .lrn-detail-t small { letter-spacing: .03em; font-weight: 500; }
html body.page-app .lrn-subs-h { margin: 10px 0 6px !important; font-size: 11.5px !important; font-weight: 600; color: var(--tc-faint) !important; text-transform: uppercase; letter-spacing: .04em; }
html body.page-app .lrn-subs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px 18px; }
html body.page-app .lrn-subs li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; line-height: 1.4; color: var(--tc-ink-2); animation: lrnSub .4s cubic-bezier(.2, .8, .2, 1) both; }
html body.page-app .lrn-subs li .bi { flex: none; margin-top: 1px; font-size: 13px; color: var(--lr-auto); }
@keyframes lrnSub { from { opacity: 0; translate: 0 6px; } to { opacity: 1; translate: 0 0; } }

/* Celular: lista minimalista */
html body.page-app .lrn-item { border: 0; padding: 8px 0; background: transparent; }
html body.page-app .lrn-item.is-cur { border: 0; }
html body.page-app .lrn-item .lrn-node-ic { border-radius: 50%; background: #fff !important; box-shadow: inset 0 0 0 1.5px currentColor; }
html body.page-app .lrn-item.is-you { color: var(--lr-you); }
html body.page-app .lrn-item.is-client { color: var(--lr-client); }
html body.page-app .lrn-item.is-auto { color: var(--lr-auto); }
html body.page-app .lrn-item.is-cur .lrn-node-ic { background: currentColor !important; }
html body.page-app .lrn-item.is-cur .lrn-node-ic .bi { color: #fff; }
html body.page-app .lrn-subs.is-mini { margin-top: 6px; grid-template-columns: 1fr; gap: 3px; }
html body.page-app .lrn-subs.is-mini li { font-size: 12px; color: var(--tc-mute); animation: none; }
html body.page-app .lrn-subs.is-mini li::before { content: "·"; font-weight: 700; color: var(--tc-faint); }
html body.page-app .lrn-list > li::before { width: 1px; background: #E6E4DF; }
@media (prefers-reduced-motion: reduce) { html body.page-app .lrn-subs li { animation: none; } html body.page-app .lrn-node.is-cur .lrn-node-ic { animation: none; } }
/* v4.6 · Flechas rectas: todos los círculos de un carril quedan a la misma altura (antes se centraba el bloque
   completo y los títulos de 1 o 2 líneas desalineaban los círculos). Centro del círculo a 49 px del borde del carril. */
html body.page-app .lrn-dia { grid-template-rows: none; grid-auto-rows: minmax(132px, auto); }
html body.page-app .lrn-node { align-self: start; margin-top: 18px; }
html body.page-app .lrn-ev { align-self: start; margin-top: 40px; }
html body.page-app .lrn-ev small { position: absolute; top: 24px; left: 50%; translate: -50% 0; white-space: nowrap; }
html body.page-app .lrn-lane { align-items: flex-start; } html body.page-app .lrn-lane > span { margin-top: 42px; } /* v4.6 · nombre del carril a la altura de sus círculos */


/* ======================================================================
   v4.7 · Tienda en vivo: botones del encabezado ordenados (una sola barra, misma altura y forma)
   [Disponible para chatear] | [¿Cómo funciona?] [Ver animada] [Ver mi tienda]
   ====================================================================== */
html body.page-app .lv-head { align-items: flex-end; gap: 16px 24px; }
html body.page-app .lv-head-t { gap: 6px; }
html body.page-app .lv-title-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
html body.page-app .lv-title-row .lv-live { height: 22px; font-size: 11.5px; }
html body.page-app .lv-head-a { flex: none; display: flex; align-items: center; gap: 12px; flex-wrap: nowrap; }
html body.page-app .lv-head-sep { flex: none; width: 1px; height: 22px; background: var(--tc-line-2); }
html body.page-app .lv-head-links { display: flex; align-items: center; gap: 8px; }
/* Ver animada y Ver mi tienda: 36 px, píldora, 13 px */
html body.page-app .lv-head-links .btn { flex: none; margin: 0 !important; display: inline-flex !important; align-items: center; justify-content: center; gap: 7px; height: 36px !important; padding: 0 14px !important; border-radius: 999px !important; font-size: 13px !important; font-weight: 500 !important; line-height: 1 !important; white-space: nowrap; box-shadow: none !important; }
html body.page-app .lv-head-links .btn .bi { font-size: 14px; line-height: 1; }
/* v4.7 · «¿Cómo funciona?» igual que en todos los módulos (estilo global .lrn-btn); solo sin el empuje a la derecha */
html body.page-app .lv-head-links .lrn-btn { margin-left: 0; }
/* disponibilidad: interruptor compacto de una línea, misma altura que los botones */
html body.page-app .lv-head-a .ld-avail { width: auto; height: 36px; gap: 9px; padding: 0 14px 0 6px; border-radius: 999px; border-color: var(--tc-line-2); }
html body.page-app .lv-head-a .ld-avail-sw { width: 34px; height: 24px; }
html body.page-app .lv-head-a .ld-avail-sw i { top: 4px; left: 4px; width: 16px; height: 16px; }
html body.page-app .lv-head-a .ld-avail.is-on .ld-avail-sw i { transform: translateX(10px); }
html body.page-app .lv-head-a .ld-avail-t { display: block; white-space: nowrap; }
html body.page-app .lv-head-a .ld-avail-t b { font-size: 13px; font-weight: 500; }
html body.page-app .lv-head-a .ld-avail-t small { display: none; }
@media (max-width: 1100px) {
  html body.page-app .lv-head { align-items: flex-start; }
  html body.page-app .lv-head-a { flex: 1 1 100%; flex-wrap: wrap; }
}
@media (max-width: 575.98px) {
  html body.page-app .lv-head-a { gap: 8px; }
  html body.page-app .lv-head-sep { display: none; }
  html body.page-app .lv-head-a .ld-avail { flex: 1 1 100%; justify-content: flex-start; }
  html body.page-app .lv-head-links { flex: 1 1 100%; }
  html body.page-app .lv-head-links .btn { flex: 1 1 0; }
}

/* v4.7 · Encabezado de los módulos sin foto, nombre ni enlace de la tienda: solo «¿Cómo funciona?» a la derecha, sin ocupar espacio extra */
html body.page-app .biz-hero { justify-content: flex-end; min-height: 0; margin: 0 0 var(--tc-3) !important; }
html body.page-app .biz-hero .lrn-btn { margin-left: auto; }

/* v4.7 · Sin la línea de separación de arriba: la franja del negocio no ocupa espacio y «¿Cómo funciona?» se acomoda en la
   primera línea de cada módulo (tc.js). Si no hay dónde (pantallas vacías), queda solo a la derecha, sin línea. */
html body.page-app.tc .app-main .biz-hero.biz-hero, html body.page-app .app-main .biz-hero.biz-hero { position: absolute; width: 0; height: 0; overflow: hidden; margin: 0 !important; padding: 0 !important; border: 0 !important; }
html body.page-app.tc .app-main .biz-hero.biz-hero.is-alone, html body.page-app .app-main .biz-hero.biz-hero.is-alone { position: static; width: auto; height: auto; overflow: visible; justify-content: flex-end; margin: 0 0 var(--tc-3) !important; }
html body.page-app .lrn-btn.is-placed { margin-left: 0; align-self: center; }
html body.page-app .has-lrn:is(.mod-head, .page-head, .inv-head, .ord-head, .bd-head, .cx-head) > .lrn-btn.is-placed { margin-left: auto; }
html body.page-app .prod-subnav.has-lrn { align-items: center; }
html body.page-app .prod-subnav.has-lrn > .lrn-btn.is-placed { margin: 0 0 6px auto; }
html body.page-app .has-lrn:not(.prod-subnav):not(.mod-head):not(.page-head):not(.inv-head):not(.ord-head):not(.bd-head):not(.cx-head) { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }

/* ======================================================================
   v4.7 · Aire y botones parejos en todos los módulos
   1) Más espacio entre la barra superior y el módulo, y entre las pestañas y el título.
   2) Todos los botones de encabezados y barras de herramientas con la misma pieza del Design System:
      36 px de alto, 13 px, peso 500, radio 10 px (ni píldora ni cuadrado). Íconos solos: 36×36 con borde.
   ====================================================================== */
html body.page-app .app-main.biz-page { padding-top: var(--tc-10) !important; }
html body.page-app.tc .app-main.biz-page .prod-subnav, html body.page-app .app-main.biz-page .prod-subnav { margin-bottom: var(--tc-8) !important; }
html body.page-app .app-main.biz-page .prod-subnav + :is(.mod-head, .sm-head, .bd-head, div, section) { margin-top: 0 !important; }
@media (max-width: 767.98px) {
  html body.page-app .app-main.biz-page { padding-top: var(--tc-6) !important; }
  html body.page-app.tc .app-main.biz-page .prod-subnav, html body.page-app .app-main.biz-page .prod-subnav { margin-bottom: var(--tc-6) !important; }
}

/* zonas de encabezado y herramientas de los módulos */
html body.page-app :is(.mod-head, .page-head, .inv-head, .ord-head, .bd-head, .cx-head, .lv-head, .mod-toolbar, .product-toolbar, .rep-head, .prod-subnav) :is(.btn, .btn-sm, .btn-lg):not(.dropdown-item),
html body.page-app .lrn-btn,
html body.page-app .lv-head-links .btn {
  min-height: 36px !important; height: 36px !important; padding: 0 14px !important; gap: 7px !important;
  border-radius: var(--tc-r) !important; font-size: 13px !important; font-weight: 500 !important; line-height: 1 !important; white-space: nowrap;
}
html body.page-app :is(.mod-head, .page-head, .inv-head, .ord-head, .bd-head, .cx-head, .lv-head, .mod-toolbar, .product-toolbar, .rep-head) :is(.btn, .btn-sm) .bi,
html body.page-app .lrn-btn .bi { font-size: 14px !important; line-height: 1; }
html body.page-app .lrn-btn { display: inline-flex; align-items: center; border: 1px solid var(--tc-line-2); background: var(--tc-surface); color: var(--tc-ink); }
html body.page-app .lrn-btn:hover { background: var(--tc-soft); border-color: var(--tc-line-3, #D2D2CF); color: var(--tc-ink); }
/* botones de solo ícono en esas zonas (filtros, más opciones, vista lista/tablero) */
html body.page-app :is(.mod-head, .page-head, .inv-head, .ord-head, .bd-head, .cx-head, .lv-head, .mod-toolbar, .product-toolbar, .rep-head) :is(.btn-icon, summary.btn-icon):not(.btn-icon-xs) {
  width: 36px !important; height: 36px !important; padding: 0 !important; border: 1px solid var(--tc-line-2) !important; border-radius: var(--tc-r) !important;
  background: var(--tc-surface) !important; color: var(--tc-ink) !important; font-size: 14px !important;
}
html body.page-app :is(.mod-head, .page-head, .inv-head, .ord-head, .bd-head, .cx-head, .lv-head, .mod-toolbar, .product-toolbar, .rep-head) :is(.btn-icon, summary.btn-icon):not(.btn-icon-xs):hover { background: var(--tc-soft) !important; }
html body.page-app :is(.mod-toolbar, .product-toolbar) .view-toggle { height: 36px; border-radius: var(--tc-r) !important; }
/* Tienda en vivo: el interruptor también con radio 10 px y 36 px, como los botones */
html body.page-app .lv-head-a .ld-avail { height: 36px; border-radius: var(--tc-r); }
@media (max-width: 575.98px) {
  html body.page-app .lrn-btn { width: 36px; padding: 0 !important; justify-content: center; }
}

/* v4.7 · Menú lateral al pasar el mouse: el ícono ya no se desplaza; solo sombra suave en la opción y un zoom sutil del ícono */
html body.page-app .tc-link { transition: background-color .15s ease, color .15s ease, box-shadow .2s ease; }
html body.page-app .tc-link:hover:not(.is-active) { box-shadow: 0 1px 2px rgba(11, 11, 11, .05), 0 2px 8px rgba(11, 11, 11, .06); }
html body.page-app .tc-link :is(.ic, .bi, svg) { transition: transform .2s var(--tc-ease-out), color .15s ease; }
html body.page-app .tc-link:hover :is(.ic, .bi, svg) { transform: scale(1.08); }
@media (prefers-reduced-motion: reduce) { html body.page-app .tc-link:hover :is(.ic, .bi, svg) { transform: none; } }

/* v4.7 · Migas de la barra superior: separador «/» limpio (se quita la flecha dibujada con bordes de v2.css) */
html body.page-app .crumbs li + li::before { content: "/" !important; width: auto !important; height: auto !important; margin: 0 2px !important; border: 0 !important; transform: none !important; background: none !important; color: var(--tc-line-3) !important; font-weight: 400; line-height: 1; }
html body.page-app .crumbs ol, html body.page-app .crumbs li { gap: 8px; }

/* ======================================================================
   v4.7 · Menú del perfil (arriba a la derecha): las 6 opciones ya no caben en cuadritos de 3 columnas
   («Almacenamiento 45%» se salía). Ahora son filas de una línea: ícono · nombre · dato a la derecha.
   Mismo tamaño de letra (13 px) en todas las opciones, el negocio y el pie.
   ====================================================================== */
html body.page-app .acct-pop { width: 300px; max-width: calc(100vw - 24px); }
html body.page-app .acct-pop-me, html body.page-app .acct-pop-biz { padding: 10px 6px !important; }
html body.page-app .acct-pop-kicker { margin: 0 8px 8px !important; font-size: 11.5px !important; }
html body.page-app .acct-pop-id { margin: 0 4px 10px !important; gap: 10px; }
html body.page-app .acct-pop-id strong { font-size: 14px; font-weight: 600; }
html body.page-app .acct-pop-id small { font-size: 12px; color: var(--tc-mute); }
html body.page-app .acct-pop-tiles { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; grid-auto-flow: row !important; gap: 2px !important; }
html body.page-app .acct-tile { display: flex !important; align-items: center; justify-items: start; gap: 10px !important; height: 36px; min-width: 0; padding: 0 10px !important; border: 0 !important; border-radius: var(--tc-r-sm) !important; background: transparent !important; color: var(--tc-ink) !important; font-size: 13px !important; font-weight: 500; text-align: left; white-space: nowrap; }
html body.page-app .acct-tile:hover { background: var(--tc-hover) !important; }
html body.page-app .acct-tile > i { flex: none; width: 18px; font-size: 15px !important; color: var(--tc-mute) !important; text-align: center; }
html body.page-app .acct-tile:hover > i { color: var(--tc-ink) !important; }
html body.page-app .acct-tile > span { flex: 1; min-width: 0; display: flex !important; align-items: center; justify-content: space-between; gap: 8px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; }
html body.page-app .acct-tile-meta { flex: none; height: 20px; padding: 0 7px; border-radius: 999px; background: var(--tc-soft); font-size: 11px !important; font-weight: 600; line-height: 20px; color: var(--tc-mute); }
html body.page-app .acct-tile-meta.is-danger { background: var(--tc-err-soft); color: var(--tc-err); }
html body.page-app .acct-biz-row { gap: 10px !important; min-width: 0; font-size: 13px; }
html body.page-app .acct-biz-row strong { font-size: 13px; font-weight: 600; }
html body.page-app .acct-biz-row small { font-size: 12px; }
html body.page-app .acct-biz-row.is-main { padding: 8px 10px !important; border: 1px solid var(--tc-line) !important; }
html body.page-app .acct-pop-foot { display: flex; gap: 4px; padding: 6px 0 0 !important; }
html body.page-app .acct-pop-foot :is(a, button) { flex: 1 1 0; min-width: 0; justify-content: center; height: 36px; padding: 0 10px !important; border-radius: var(--tc-r-sm) !important; font-size: 13px !important; white-space: nowrap; }

/* v4.7 · Inicio, accesos bajo «¿Qué quieres hacer hoy?»: los mismos íconos lineales del menú lateral (ic-n-*), sin cuadrito
   gris detrás, en gris y negros al pasar el mouse, como en el menú */
html body.page-app .tc-chip > :is(.ic, .bi) { flex: none; display: inline-grid; place-items: center; width: 18px !important; height: 18px !important; border-radius: 0 !important; background: transparent !important; font-size: 17px; color: var(--tc-mute) !important; transition: color .15s ease, transform .2s var(--tc-ease-out); }
html body.page-app .tc-chip > .ic { width: 17px !important; height: 17px !important; background-color: currentColor !important; }
html body.page-app .tc-chip:hover > :is(.ic, .bi) { color: var(--tc-ink) !important; transform: scale(1.08); }
html body.page-app .tc-chip { gap: 10px; padding: 0 14px; }

/* v4.7 · Botones «cuadros / lista / tablero» (Productos, Categorías, Pedidos): misma estructura, sin el círculo gris.
   Caja de 36 px con borde y radio 10 px; dentro, dos botones cuadrados de radio 7 px; el activo con fondo gris suave. */
html body.page-app .view-toggle { display: inline-flex !important; align-items: center; gap: 2px !important; height: 36px !important; padding: 3px !important; border: 1px solid var(--tc-line-2) !important; border-radius: var(--tc-r) !important; background: var(--tc-surface) !important; box-shadow: none !important; }
html body.page-app .view-toggle .view-toggle-btn { display: inline-grid !important; place-items: center; width: 32px !important; height: 28px !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 7px !important; background: transparent !important; box-shadow: none !important; color: var(--tc-mute) !important; font-size: 15px !important; transform: none !important; }
html body.page-app .view-toggle .view-toggle-btn:hover { background: var(--tc-hover) !important; color: var(--tc-ink) !important; }
html body.page-app .view-toggle .view-toggle-btn.is-active { background: var(--tc-soft) !important; color: var(--tc-ink) !important; }
html body.page-app .view-toggle .view-toggle-btn::before, html body.page-app .view-toggle .view-toggle-btn::after { display: none !important; }
html body.page-app .view-toggle .view-toggle-btn .ic { width: 16px; height: 16px; }

/* v4.7 · Inicio, tarjeta «Ver mi tienda en vivo»: círculos de clientes sin colores. Solo verde (en vivo) y negro; lo demás neutro */
html body.page-app .tl-avs > i:nth-child(1) { background: var(--tc-ink); color: #fff; }
html body.page-app .tl-avs > i:nth-child(2) { background: #D4D4D2; color: var(--tc-ink); }
html body.page-app .tl-avs > i:nth-child(3) { background: #ECECEB; color: var(--tc-ink-2); }
html body.page-app .tl-avs > em { background: #F5F5F4; color: var(--tc-mute); }

/* ======================================================================
   v4.7 · Contenido ordenado como Productos: pestañas arriba (Crear · Mis diseños), título, y por sección una barra
   con su título a la izquierda y lo secundario a la derecha. Mis diseños con buscador, tipo y «Nuevo diseño».
   ====================================================================== */
html body.page-app .cx .mod-head { margin-bottom: 24px; }
html body.page-app .cx-sec { margin: 0 0 36px; }
html body.page-app .cx-sec > .cx-bar { min-height: 36px; margin: 0 0 14px; }
html body.page-app .cx-bar .cx-more-formats { margin: 0; font-size: 13px; }
html body.page-app .cx-note { margin: 10px 2px 0; font-size: 12.5px; color: var(--tc-faint); }
html body.page-app .cx-create { gap: 16px; }
html body.page-app .cx-new-art { height: 150px; }
html body.page-app .cx-grid.is-recent { grid-template-columns: repeat(5, minmax(0, 1fr)); }
html body.page-app .cx-card[hidden] { display: none !important; }
html body.page-app .cx .mod-toolbar { margin-bottom: 20px; }
html body.page-app .cx-empty-mine[hidden] { display: none; }
html body.page-app .cx-empty-mine a { color: var(--tc-ink); font-weight: 500; }
@media (max-width: 1100px) { html body.page-app .cx-grid.is-recent { grid-template-columns: repeat(3, minmax(0, 1fr)); } html body.page-app .cx-grid.is-recent > :nth-child(n+4) { display: none; } }
@media (max-width: 767.98px) {
  html body.page-app .cx-grid.is-recent { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body.page-app .cx-grid.is-recent > :nth-child(n+3) { display: none; }
  html body.page-app .cx-bar .cx-more-formats { flex: 1 1 100%; }
}

/* v4.7 · Contenido: 4 opciones para crear (Post, Historia o Reel, Video y Portada) */
html body.page-app .cx-create { grid-template-columns: repeat(4, minmax(0, 1fr)); }
html body.page-app .cx-new.is-cover .cx-new-art { background: linear-gradient(160deg, #F4F4F3, #EDEDEB); }
/* Portada: un perfil de página que se arma — la portada se revela, aparece el logo y luego el nombre */
html body.page-app .cx-art-cover { position: relative; width: 164px; height: 104px; border-radius: 12px; background: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.08); overflow: hidden; }
html body.page-app .cx-art-banner { position: absolute; left: 6px; right: 6px; top: 6px; height: 46px; border-radius: 8px; background: linear-gradient(110deg, #E4E4E2 30%, #F1F1F0 50%, #E4E4E2 70%); background-size: 220% 100%; transform-origin: left; animation: cxCoverIn 3.6s cubic-bezier(.2,.7,.2,1) infinite, cxShine 3.6s linear infinite; }
html body.page-app .cx-art-avatar { position: absolute; left: 14px; top: 36px; width: 28px; height: 28px; border-radius: 50%; background: #111; box-shadow: 0 0 0 3px #fff; animation: cxCoverPop 3.6s cubic-bezier(.2,.8,.2,1) infinite; }
html body.page-app .cx-art-lines { position: absolute; left: 14px; right: 14px; top: 72px; display: grid; gap: 6px; }
html body.page-app .cx-art-lines i { display: block; height: 7px; border-radius: 4px; background: #111; transform-origin: left; animation: cxCoverLine 3.6s cubic-bezier(.2,.7,.2,1) infinite; }
html body.page-app .cx-art-lines i:nth-child(1) { width: 62%; }
html body.page-app .cx-art-lines i:nth-child(2) { width: 38%; height: 5px; background: #BDBDBA; animation-delay: .15s; }
@keyframes cxCoverIn { 0% { transform: scaleX(0); } 22%, 88% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes cxShine { 0% { background-position: 120% 0; } 100% { background-position: -120% 0; } }
@keyframes cxCoverPop { 0%, 20% { transform: scale(0); } 32%, 88% { transform: scale(1); } 100% { transform: scale(1); opacity: 0; } }
@keyframes cxCoverLine { 0%, 30% { transform: scaleX(0); } 45%, 88% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
@media (max-width: 1100px) { html body.page-app .cx-create { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { html body.page-app .cx-create { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { html body.page-app .cx-art-cover * { animation: none !important; } }
@media (max-width: 767.98px) { html body.page-app .cx-art-cover { transform: scale(.68); } }

/* v4.7 · Contenido, «Crear»: fotos de tus productos y tu logo dentro de las animaciones (como en el Inicio) */
html body.page-app .cx-art-pic { overflow: hidden; }
html body.page-app .cx-art-pic > img { display: block; width: 100%; height: 100%; object-fit: cover; }
html body.page-app .cx-art-post i.cx-art-pic { background: #E4E4E2; }
html body.page-app .cx-art-card.cx-art-pic > img { animation: cxKen 6s ease-in-out infinite alternate; }
html body.page-app .cx-art-vbg { position: absolute; inset: 0; overflow: hidden; border-radius: 10px; opacity: .55; }
html body.page-app .cx-art-vbg img { width: 100%; height: 100%; object-fit: cover; animation: cxKen 7s ease-in-out infinite alternate; }
html body.page-app .cx-art-video .cx-art-play { position: relative; z-index: 1; }
html body.page-app .cx-art-video .cx-art-tl { z-index: 1; }
html body.page-app .cx-art-banner.cx-art-pic { display: flex; }
html body.page-app .cx-art-banner.cx-art-pic > img { flex: 1 1 0; min-width: 0; }
html body.page-app .cx-art-avatar { z-index: 1; display: grid; place-items: center; overflow: hidden; color: #fff; font-size: 10px; font-weight: 700; }
html body.page-app .cx-art-avatar img { width: 100%; height: 100%; object-fit: cover; background: #fff; }
/* la portada se revela sin deformar las fotos */
@keyframes cxCoverIn { 0% { clip-path: inset(0 100% 0 0 round 8px); } 22%, 88% { clip-path: inset(0 0 0 0 round 8px); } 100% { clip-path: inset(0 0 0 0 round 8px); opacity: 0; } }

/* ======================================================================
   v4.7 · Contenido › Automáticos: portadas para historias destacadas (en círculo, como en Instagram) y
   diseños listos para publicar dibujados en miniatura con el motor del editor
   ====================================================================== */
html body.page-app .cx-bar .cx-hint { margin: 2px 0 0; font-size: 12.5px; }
html body.page-app .cx-bar-a { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
html body.page-app .cx-format { font: inherit; font-size: 12.5px; cursor: pointer; }
html body.page-app .cx-hl { list-style: none; margin: 0; padding: 4px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 22px 12px; }
html body.page-app .cx-hl-item { position: relative; display: grid; justify-items: center; gap: 8px; }
html body.page-app .cx-hl-ring { display: block; padding: 3px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--tc-line-2); transition: transform .2s var(--tc-ease-out), box-shadow .2s ease; }
html body.page-app .cx-hl-ring:hover { transform: scale(1.05); box-shadow: inset 0 0 0 1px var(--tc-line-3), 0 8px 20px rgba(11, 11, 11, .08); }
html body.page-app .cx-hl-pic { display: block; width: 80px; height: 80px; border-radius: 50%; overflow: hidden; background: var(--tc-soft); box-shadow: 0 0 0 3px #fff; }
html body.page-app .cx-hl-pic canvas { display: block; width: 100%; height: 100%; object-fit: cover; }
html body.page-app .cx-hl-name { font-size: 12.5px; font-weight: 500; color: var(--tc-ink); }
html body.page-app .cx-hl-dl { position: absolute; top: 0; right: calc(50% - 50px); width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--tc-line-2); border-radius: 50%; background: #fff; color: var(--tc-ink); font-size: 12px; opacity: 0; transform: scale(.8); transition: opacity .15s ease, transform .15s ease; cursor: pointer; }
html body.page-app .cx-hl-item:hover .cx-hl-dl, html body.page-app .cx-hl-dl:focus-visible { opacity: 1; transform: none; }
html body.page-app .cx-hl-dl:hover { background: var(--tc-ink); border-color: var(--tc-ink); color: #fff; }
@media (hover: none) { html body.page-app .cx-hl-dl { opacity: 1; transform: none; } }
html body.page-app .cx-auto-pic { position: absolute; inset: 0; display: block; }
html body.page-app .cx-auto-pic canvas { display: block; width: 100%; height: 100%; object-fit: cover; }
html body.page-app .cx-grid.is-autolist .cx-thumb { aspect-ratio: 1 / 1; }
html body.page-app .cx-grid.is-autolist .cx-thumb[data-ratio="story"] { aspect-ratio: 9 / 16; }
html body.page-app .cx-auto-wait, html body.page-app .cx-hl-pic:empty { display: block; width: 100%; height: 100%; background: linear-gradient(100deg, #F1F1F0 30%, #F8F8F7 50%, #F1F1F0 70%); background-size: 220% 100%; animation: cxShine 1.4s linear infinite; }
html body.page-app .cx-card.is-auto .cx-meta small { display: block; max-width: 100%; }
html body.page-app .cx-auto.is-loading .cx-hl::after { content: ""; }

/* ===== v4.9 · Contenido › Automáticos (tipo ElevenLabs): barra única, estilo, carriles horizontales ===== */
html body.page-app .cx-tools { position: sticky; top: var(--tc-top-h, 56px); z-index: 6; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 28px; padding: 10px 0; background: var(--tc-surface); border-bottom: 1px solid var(--tc-line); }
html body.page-app .cx-tools .cx-formats { max-width: 100%; overflow-x: auto; scrollbar-width: none; flex: 0 1 auto; }
html body.page-app .cx-tools .cx-formats::-webkit-scrollbar { display: none; }
html body.page-app .cx-format small { margin-left: 2px; font-size: 11px; color: var(--tc-faint); }
html body.page-app .cx-format.is-on small { color: var(--tc-mute); }
html body.page-app .cx-tools-a { display: flex; align-items: center; gap: 8px; flex: none; }
html body.page-app .cx-icon-btn { width: 34px; height: 34px; display: inline-grid; place-items: center; padding: 0; border: 1px solid var(--tc-line-2); border-radius: 50%; background: #fff; color: var(--tc-ink); font-size: 14px; cursor: pointer; transition: background var(--tc-fast), opacity var(--tc-fast), border-color var(--tc-fast); }
html body.page-app .cx-icon-btn:hover:not(:disabled) { background: var(--tc-hover); border-color: var(--tc-line-3); }
html body.page-app .cx-icon-btn:disabled { opacity: .35; cursor: default; }
html body.page-app .cx-icon-btn.is-spin i { animation: cxSpin .5s var(--tc-ease); }
@keyframes cxSpin { to { transform: rotate(360deg); } }
/* Estilo */
html body.page-app .cx-style { position: relative; }
html body.page-app .cx-style-btn { height: 34px; display: inline-flex; align-items: center; gap: 8px; padding: 0 12px 0 8px; border: 1px solid var(--tc-line-2); border-radius: 999px; background: #fff; color: var(--tc-ink); font-size: 13px; font-weight: 500; cursor: pointer; }
html body.page-app .cx-style-btn:hover { background: var(--tc-hover); }
html body.page-app .cx-style-btn > .bi { font-size: 11px; color: var(--tc-faint); }
html body.page-app .cx-style-dots { display: inline-flex; }
html body.page-app .cx-style-dots i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--tc-line-2); background: #111; }
html body.page-app .cx-style-dots i + i { margin-left: -6px; }
html body.page-app .cx-style-aa { font-size: 15px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
html body.page-app .cx-pop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; width: 360px; max-width: calc(100vw - 32px); max-height: min(72vh, 600px); overflow-y: auto; overscroll-behavior: contain; padding: 6px; border: 1px solid var(--tc-line); border-radius: 16px; background: #fff; box-shadow: var(--tc-sh-pop); }
html body.page-app .cx-pop-sec { padding: 12px 12px 14px; border-bottom: 1px solid var(--tc-line); }
html body.page-app .cx-pop-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 0 0 10px; }
html body.page-app .cx-pop-h strong { font-size: 13px; font-weight: 600; }
html body.page-app .cx-pop-h small { font-size: 12px; color: var(--tc-faint); }
html body.page-app .cx-pop-targets { display: inline-flex; gap: 2px; padding: 3px; margin: 0 0 12px; border-radius: 999px; background: var(--tc-soft); }
html body.page-app .cx-target { height: 28px; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px 0 6px; border: 0; border-radius: 999px; background: transparent; color: var(--tc-mute); font-size: 12.5px; font-weight: 500; cursor: pointer; }
html body.page-app .cx-target i { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(11, 11, 11, .1); }
html body.page-app .cx-target.is-on { background: #fff; color: var(--tc-ink); box-shadow: var(--tc-sh-1); }
html body.page-app .cx-pop-swatches { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
html body.page-app .cx-sw { position: relative; width: 100%; aspect-ratio: 1; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
html body.page-app .cx-sw > i { width: 100%; height: 100%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(11, 11, 11, .1); transition: transform var(--tc-fast); }
html body.page-app .cx-sw:hover > i { transform: scale(1.08); }
html body.page-app .cx-sw.is-on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--tc-ink); }
html body.page-app .cx-sw.is-logo::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2.5px var(--tc-ink); }
html body.page-app .cx-sw.is-custom { border: 1px dashed var(--tc-line-3); color: var(--tc-mute); font-size: 13px; overflow: hidden; }
html body.page-app .cx-sw.is-custom input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
html body.page-app .cx-pop-fonts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
html body.page-app .cx-font { display: grid; justify-items: center; gap: 2px; padding: 10px 4px 8px; border: 1px solid var(--tc-line); border-radius: 12px; background: #fff; color: var(--tc-ink); cursor: pointer; }
html body.page-app .cx-font:hover { background: var(--tc-soft); }
html body.page-app .cx-font.is-on { border-color: var(--tc-ink); box-shadow: inset 0 0 0 1px var(--tc-ink); }
html body.page-app .cx-font-aa { font-size: 22px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
html body.page-app .cx-font-acc { font-size: 13px; color: var(--tc-mute); line-height: 1; }
html body.page-app .cx-font small { font-size: 11px; color: var(--tc-mute); }
html body.page-app .cx-pop-dirs { display: flex; flex-wrap: wrap; gap: 6px; }
html body.page-app .cx-pop-dirs .cx-chip { height: 28px; padding: 0 11px; font-size: 12px; cursor: pointer; }
html body.page-app .cx-pop-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 8px 6px 4px; }
html body.page-app .cx-pop-reset { color: var(--tc-mute); text-decoration: none; }
html body.page-app .cx-pop-note { font-size: 12px; color: var(--tc-faint); }
/* Carriles */
html body.page-app .cx-rails { display: grid; gap: 36px; }
html body.page-app .cx-rail { min-width: 0; margin: 0; }
html body.page-app .cx-rail-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
html body.page-app .cx-rail-h h3 { margin: 0; font-size: 16px !important; font-weight: 500 !important; letter-spacing: -.02em; line-height: 1.3; }
html body.page-app .cx-rail-h h3 span { margin-left: 4px; font-size: 13px; font-weight: 400; color: var(--tc-faint); }
html body.page-app .cx-rail-h p { margin: 2px 0 0; font-size: 12.5px; color: var(--tc-mute); }
html body.page-app .cx-rail-a { display: flex; align-items: center; gap: 8px; flex: none; }
html body.page-app .cx-rail:not(.is-scrollable) .cx-rail-nav { visibility: hidden; }
html body.page-app .cx-track { list-style: none; margin: 0; padding: 2px 2px 6px; display: grid; grid-auto-flow: column; grid-auto-columns: 210px; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
html body.page-app .cx-track::-webkit-scrollbar { display: none; }
html body.page-app .cx-track:has(> [data-ratio="post"]), html body.page-app .cx-track:has(> [data-ratio="linkedin"]) { grid-auto-columns: 220px; }
html body.page-app .cx-track:has(> [data-ratio="story"]), html body.page-app .cx-track:has(> [data-ratio="reel"]) { grid-auto-columns: 168px; }
html body.page-app .cx-track.is-wide { grid-auto-columns: 340px; }
html body.page-app .cx-slide { min-width: 0; scroll-snap-align: start; display: grid; gap: 2px; animation: cxIn .45s var(--tc-ease) both; }
html body.page-app .cx-slide .cx-thumb { aspect-ratio: 4 / 5; margin: 0 0 8px; border-radius: 14px; border-color: var(--tc-line); background: var(--tc-soft); }
html body.page-app .cx-slide[data-ratio="post"] .cx-thumb, html body.page-app .cx-slide[data-ratio="linkedin"] .cx-thumb { aspect-ratio: 1 / 1; }
html body.page-app .cx-slide:is([data-ratio="story"], [data-ratio="reel"]) .cx-thumb { aspect-ratio: 9 / 16; }
html body.page-app .cx-slide[data-ratio="facebook"] .cx-thumb { aspect-ratio: 1200 / 630; }
html body.page-app .cx-slide[data-ratio="cover"] .cx-thumb { aspect-ratio: 1640 / 624; }
html body.page-app .cx-slide .cx-thumb canvas { display: block; width: 100%; height: 100%; object-fit: cover; }
html body.page-app .cx-slide.is-ghost { animation: none; }
html body.page-app .cx-slide-name { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13px; font-weight: 500; color: var(--tc-ink); text-decoration: none; }
html body.page-app .cx-slide-meta { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; color: var(--tc-faint); }
html body.page-app .cx-pages { position: absolute; left: 8px; top: 8px; display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--tc-ink); font-size: 11px; font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
@media (max-width: 760px) {
  html body.page-app .cx-tools { top: 0; margin: 0 0 22px; }
  html body.page-app .cx-style-btn > span:last-of-type { display: none; }
  html body.page-app .cx-track { grid-auto-columns: 62%; gap: 12px; }
  html body.page-app .cx-track:has(> [data-ratio="story"]), html body.page-app .cx-track:has(> [data-ratio="reel"]) { grid-auto-columns: 46%; }
  html body.page-app .cx-track.is-wide { grid-auto-columns: 86%; }
  html body.page-app .cx-rail-h { align-items: flex-start; flex-wrap: wrap; }
  html body.page-app .cx-pop { position: fixed; left: 16px; right: 16px; top: auto; bottom: 16px; width: auto; }
}
@media (max-width: 1240px) { html body.page-app .cx-tools .cx-format small { display: none; } }
/* ===== v4.10 · Contenido: sin «Crear»; botones para crear en el encabezado ===== */
html body.page-app .cx-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
html body.page-app .cx-create-a { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
html body.page-app .cx-new-btn { height: 34px; display: inline-flex; align-items: center; gap: 7px; padding: 0 14px 0 12px; border: 1px solid var(--tc-line-2); border-radius: 999px; background: #fff; color: var(--tc-ink); font-size: 13px; font-weight: 500; text-decoration: none; transition: background var(--tc-fast), border-color var(--tc-fast); }
html body.page-app .cx-new-btn:hover { background: var(--tc-hover); border-color: var(--tc-line-3); color: var(--tc-ink); }
html body.page-app .cx-new-btn i { font-size: 14px; color: var(--tc-mute); }
html body.page-app .cx-blank-btn { height: 34px; border-radius: 999px; padding: 0 14px; display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 760px) {
  html body.page-app .cx-create-a { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  html body.page-app .cx-new-btn, html body.page-app .cx-blank-btn { justify-content: center; padding: 0 8px; width: 100%; }
  html body.page-app .cx-create-a .dropdown { min-width: 0; }
}
@media (max-width: 760px) {
  html body.page-app .cx-new-btn, html body.page-app .cx-blank-btn { gap: 5px; font-size: 12.5px; }
  html body.page-app .cx-new-btn i { display: none; }
  html body.page-app .cx-rail-nav { display: none !important; }
}
@media (max-width: 760px) { html body.page-app .cx-blank-btn i { display: none; } html body.page-app .cx-blank-btn { padding: 0 6px; } }
/* ===== v4.11 · Mis diseños como entrada: cuadro punteado «Nuevo diseño» y acceso a los automáticos ===== */
html body.page-app .cx-new-card, html body.page-app .cx-auto-cta { position: relative; min-width: 0; list-style: none; animation: cxIn .45s var(--tc-ease) both; }
html body.page-app .cx-new-box { width: 100%; aspect-ratio: 4 / 5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 16px; border: 1.5px dashed var(--tc-line-3); border-radius: 12px; background: transparent; color: var(--tc-ink); text-align: center; cursor: pointer; transition: border-color var(--tc-fast), background var(--tc-fast), transform .25s var(--tc-ease); }
html body.page-app .cx-new-box:hover, html body.page-app .cx-new-box[aria-expanded="true"] { border-color: var(--tc-ink); background: var(--tc-soft); }
html body.page-app .cx-new-box:hover .cx-new-plus { transform: scale(1.06); }
html body.page-app .cx-new-plus { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 6px; border-radius: 50%; background: var(--tc-ink); color: #fff; font-size: 18px; transition: transform .25s var(--tc-ease); }
html body.page-app .cx-new-box strong { font-size: 14px; font-weight: 500; }
html body.page-app .cx-new-box small { font-size: 12px; color: var(--tc-faint); }
html body.page-app .cx-new-menu { min-width: 260px; }
html body.page-app .cx-grid.is-empty { grid-template-columns: repeat(auto-fill, minmax(220px, 260px)); }
html body.page-app .cx-auto-box { width: 100%; aspect-ratio: 4 / 5; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 6px; padding: 20px; border: 1px solid var(--tc-line); border-radius: 12px; background: var(--tc-soft); color: var(--tc-ink); text-decoration: none; overflow: hidden; position: relative; transition: border-color var(--tc-fast), box-shadow .25s ease, transform .25s var(--tc-ease); }
html body.page-app .cx-auto-box:hover { border-color: var(--tc-line-3); box-shadow: 0 14px 34px rgba(0, 0, 0, .08); transform: translateY(-2px); color: var(--tc-ink); }
html body.page-app .cx-auto-box strong { font-size: 14px; font-weight: 500; }
html body.page-app .cx-auto-box small { font-size: 12px; color: var(--tc-mute); line-height: 1.45; }
html body.page-app .cx-auto-go { margin-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; }
html body.page-app .cx-auto-box:hover .cx-auto-go i { transform: translateX(3px); }
html body.page-app .cx-auto-go i { transition: transform .2s var(--tc-ease); }
html body.page-app .cx-auto-stack { position: absolute; left: 50%; top: 18%; width: 46%; aspect-ratio: 4 / 5; transform: translateX(-50%); }
html body.page-app .cx-auto-stack i { position: absolute; inset: 0; border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 8px 20px rgba(0, 0, 0, .06); transition: transform .35s var(--tc-ease); }
html body.page-app .cx-auto-stack i:nth-child(1) { transform: rotate(-9deg) translateX(-18%); background: #EDECE8; }
html body.page-app .cx-auto-stack i:nth-child(2) { transform: rotate(7deg) translateX(18%); background: #111; }
html body.page-app .cx-auto-stack i:nth-child(3) { background: #fff; }
html body.page-app .cx-auto-stack i:nth-child(3)::before { content: ""; position: absolute; left: 14%; right: 30%; top: 56%; height: 9%; border-radius: 3px; background: #111; box-shadow: 0 160% 0 -1px #D9D7D2; }
html body.page-app .cx-auto-box:hover .cx-auto-stack i:nth-child(1) { transform: rotate(-13deg) translateX(-26%); }
html body.page-app .cx-auto-box:hover .cx-auto-stack i:nth-child(2) { transform: rotate(11deg) translateX(26%); }
@media (max-width: 760px) { html body.page-app .cx-grid.is-empty { grid-template-columns: repeat(2, minmax(0, 1fr)); } html body.page-app .cx-auto-box { padding: 14px; } }
@media (prefers-reduced-motion: reduce) { html body.page-app :is(.cx-new-card, .cx-auto-cta) { animation: none; } }
/* v4.11 · ventana «Nuevo diseño» */
html.cx-modal-open { overflow: hidden; }
html body.page-app .cx-modal { position: fixed; inset: 0; z-index: 1080; display: grid; place-items: center; padding: 16px; background: rgba(11, 11, 11, .32); opacity: 0; transition: opacity .18s ease; }
html body.page-app .cx-modal.is-in { opacity: 1; }
html body.page-app .cx-modal[hidden] { display: none; }
html body.page-app .cx-modal-box { width: min(720px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 22px; border-radius: 20px; background: #fff; box-shadow: var(--tc-sh-pop); transform: translateY(8px) scale(.98); transition: transform .22s var(--tc-ease); outline: 0; }
html body.page-app .cx-modal.is-in .cx-modal-box { transform: none; }
html body.page-app .cx-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin: 0 0 18px; }
html body.page-app .cx-modal-head h3 { margin: 0; font-size: 20px !important; font-weight: 500 !important; letter-spacing: -.02em; }
html body.page-app .cx-modal-head p { margin: 4px 0 0; font-size: 13px; color: var(--tc-mute); }
html body.page-app .cx-modal-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
html body.page-app .cx-fmt { display: grid; gap: 2px; padding: 10px 10px 12px; border: 1px solid var(--tc-line); border-radius: 14px; color: var(--tc-ink); text-decoration: none; transition: border-color var(--tc-fast), background var(--tc-fast); outline: 0; }
html body.page-app .cx-fmt:hover, html body.page-app .cx-fmt:focus-visible { border-color: var(--tc-ink); background: var(--tc-soft); color: var(--tc-ink); }
html body.page-app .cx-fmt-art { height: 96px; margin: 0 0 8px; display: grid; place-items: center; border-radius: 10px; background: var(--tc-soft); }
html body.page-app .cx-fmt:hover .cx-fmt-art { background: #fff; }
html body.page-app .cx-fmt-shape { display: grid; place-items: center; border: 1.5px solid var(--tc-ink); border-radius: 5px; background: #fff; color: var(--tc-ink); transition: transform .25s var(--tc-ease); }
html body.page-app .cx-fmt:hover .cx-fmt-shape { transform: scale(1.06); }
html body.page-app .cx-fmt-shape.is-sq { width: 54px; height: 54px; }
html body.page-app .cx-fmt-shape.is-pt { width: 48px; height: 60px; }
html body.page-app .cx-fmt-shape.is-st { width: 40px; height: 70px; }
html body.page-app .cx-fmt-shape.is-wd { width: 76px; height: 40px; }
html body.page-app .cx-fmt-shape.is-cv { width: 84px; height: 32px; }
html body.page-app .cx-fmt-shape.is-video { background: var(--tc-ink); color: #fff; font-size: 18px; }
html body.page-app .cx-fmt strong { font-size: 13px; font-weight: 500; }
html body.page-app .cx-fmt small { font-size: 11.5px; color: var(--tc-faint); line-height: 1.35; }
html body.page-app .cx-modal-foot { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 0; padding: 12px; border-radius: 12px; background: var(--tc-soft); color: var(--tc-ink); font-size: 13px; font-weight: 500; text-decoration: none; }
html body.page-app .cx-modal-foot:hover { background: var(--tc-hover); color: var(--tc-ink); }
html body.page-app .cx-auto-stack { top: 14%; width: 38%; }
@media (max-width: 640px) { html body.page-app .cx-modal { align-items: end; padding: 0; } html body.page-app .cx-modal-box { border-radius: 20px 20px 0 0; max-height: 88vh; } html body.page-app .cx-modal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { html body.page-app :is(.cx-modal, .cx-modal-box) { transition: none; } }

/* ===================== v5.3 · Más herramientas: animaciones sobrias, en la misma línea de las tarjetas de Inicio =====================
   Tarjetas blancas con sombra suave, líneas grises y un solo acento (verde de «listo»). Sin naranja ni colores pastel. */
html body.page-app .tl-art2 { height: 150px; background: var(--tc-soft, #F4F2EC); }
html body.page-app .tla-mail-flap { background: #F1F0EC; border-bottom: 1px solid #ECEAE5; }
html body.page-app .tla-mail i, html body.page-app .tla-mail i.is-short,
html body.page-app .tla-post i, html body.page-app .tla-post i.is-short { background: #E7E5E0; }
html body.page-app .tla-post-img { background: linear-gradient(135deg, #EDEBE6, #DAD7D0); }
html body.page-app .tla-bub { color: #3D3A35; }
html body.page-app .tla-bub.is-me, html body.page-app .tla-typing { background: #F1F0EC; color: #3D3A35; }
html body.page-app .tla-typing i { background: #8E8A83; }
html body.page-app .tla-doc .bi { color: #111; }
html body.page-app .tla-doc .tla-ln, html body.page-app .tla-doc .tla-ln:nth-of-type(3), html body.page-app .tla-doc .tla-ln.is-short { background: #E7E5E0; }
html body.page-app .tla-msg.is-1, html body.page-app .tla-msg.is-2, html body.page-app .tla-msg.is-3 { background: #fff; }
html body.page-app .tla-send .bi, html body.page-app .tla-truck { color: #111; }
html body.page-app .tla-pin { color: #3D3A35; }
html body.page-app .tla-url i { color: var(--tc-ok, #1A7F37); }
html body.page-app .tla-card { background: #fff !important; }
html body.page-app .tla-card b { color: #111; }
html body.page-app .tla-stamps i { border-color: #D3D0C9; }
@keyframes tla-stamp3 { 0%, 10% { background: transparent; transform: scale(1); } 16% { transform: scale(1.15); } 22%, 85% { background: #111; border-color: #111; border-style: solid; transform: scale(1); } 100% { background: transparent; } }
html body.page-app .tla-stamps i { animation-name: tla-stamp3; }
html body.page-app .tla-stamps i:nth-child(5) { animation-name: tla-stamp3; }
html body.page-app .tl-dev-dot { background: var(--tc-ok, #1A7F37); box-shadow: 0 0 0 4px rgba(26, 127, 55, .14); }
html body.page-app .tl-card:hover .tl-art2 > * { transform-origin: center; }

/* ======================================================================
   v5.9 · Tienda en vivo › Visitas en vivo: mapa real del mundo + actividad en vivo
   ====================================================================== */
html body.page-app .lg { display: grid; gap: 14px; padding: 18px; border: 1px solid var(--tc-line); border-radius: var(--tc-r-xl); background: var(--tc-surface); min-width: 0; }
html body.page-app .lg-head-t { display: grid; gap: 4px; }
html body.page-app .lg-title { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.01em; color: var(--tc-ink); }
html body.page-app .lg-lead { margin: 0; font-size: 13.5px; color: var(--tc-mute); }
html body.page-app .lg-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 14px; min-width: 0; }
html body.page-app .lg-stage { position: relative; min-width: 0; border-radius: 16px; background: #fff; overflow: hidden; }
html body.page-app .lg-canvas { display: block; width: 100%; touch-action: none; cursor: grab; -webkit-user-select: none; user-select: none; }
html body.page-app .lg-canvas:active { cursor: grabbing; }
html body.page-app .lg-canvas.is-hit { cursor: pointer; }
html body.page-app .lg-ctrl { position: absolute; right: 10px; bottom: 10px; display: grid; gap: 4px; padding: 4px; border: 1px solid var(--tc-line); border-radius: 12px; background: rgba(255, 255, 255, .92); box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
html body.page-app .lg-ctrl button { width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 9px; background: transparent; color: var(--tc-ink); font-size: 14px; cursor: pointer; }
html body.page-app .lg-ctrl button:hover { background: var(--tc-soft); }
html body.page-app .lg-empty { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: grid; gap: 2px; justify-items: center; max-width: calc(100% - 90px); padding: 10px 16px; border: 1px solid var(--tc-line); border-radius: 14px; background: rgba(255, 255, 255, .94); text-align: center; pointer-events: none; }
html body.page-app .lg-empty[hidden], html body.page-app .lg-msg[hidden], html body.page-app .lg-pop[hidden] { display: none; }
html body.page-app .lg-empty strong { font-size: 13.5px; font-weight: 600; color: var(--tc-ink); }
html body.page-app .lg-empty span { font-size: 12.5px; color: var(--tc-mute); }
html body.page-app .lg-msg { position: absolute; left: 10px; top: 10px; margin: 0; padding: 5px 10px; border: 1px solid var(--tc-line); border-radius: var(--tc-pill); background: rgba(255, 255, 255, .94); font-size: 12px; color: var(--tc-mute); pointer-events: none; }

html body.page-app .lg-pop { position: absolute; left: 0; top: 0; z-index: 3; width: 236px; display: grid; gap: 4px; padding: 12px 14px; border: 1px solid var(--tc-line); border-radius: 14px; background: #fff; box-shadow: 0 10px 30px rgba(11, 11, 11, .08), 0 1px 3px rgba(11, 11, 11, .06); font-size: 12.5px; color: var(--tc-ink-2); opacity: 0; transition: opacity .2s ease; will-change: transform; }
html body.page-app .lg-pop.is-in { opacity: 1; }
html body.page-app .lg-pop.is-off { opacity: 0; pointer-events: none; }
html body.page-app .lg-pop-x { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: var(--tc-mute); font-size: 11px; cursor: pointer; }
html body.page-app .lg-pop-x:hover { background: var(--tc-soft); color: var(--tc-ink); }
html body.page-app .lg-pop-c { display: flex; align-items: center; gap: 8px; padding-right: 24px; }
html body.page-app .lg-pop-c b { font-size: 14px; font-weight: 600; color: var(--tc-ink); }
html body.page-app .lg-pop-l { display: flex; align-items: center; gap: 6px; margin-top: 2px; color: var(--tc-ink); }
html body.page-app .lg-pop-a { font-size: 11.5px; color: var(--tc-mute); }
html body.page-app .lg-pop-d { display: flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--tc-ink); font-weight: 500; }
html body.page-app .lg-pop-w { color: var(--tc-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body.page-app .lg-pop-t { margin-top: 2px; font-size: 11.5px; color: var(--tc-mute); }
html body.page-app .lg-pop-n { margin-top: 2px; font-size: 13px; font-weight: 600; color: var(--tc-ink); }
html body.page-app .lg-pop-s { display: flex; align-items: center; gap: 6px; }
html body.page-app .lg-pop-b { list-style: none; margin: 6px 0 0; padding: 6px 0 0; border-top: 1px solid var(--tc-line); display: grid; gap: 3px; }
html body.page-app .lg-pop-b li { display: flex; justify-content: space-between; gap: 10px; }
html body.page-app .lg-pop-b b { font-weight: 600; color: var(--tc-ink); font-variant-numeric: tabular-nums; }
html body.page-app .lg-flag { flex: none; width: 20px; height: 15px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(11, 11, 11, .08); }
html body.page-app .lg-flag.is-code { display: inline-grid; place-items: center; background: var(--tc-soft); font-size: 9px; font-weight: 700; color: var(--tc-ink-2); letter-spacing: .02em; }

html body.page-app .lg-feed { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--tc-line); border-radius: 16px; background: #fff; overflow: hidden; max-height: 560px; }
html body.page-app .lg-feed-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 14px 16px 10px; border-bottom: 1px solid var(--tc-line); }
html body.page-app .lg-feed-h h3 { margin: 0; font-size: 13.5px; font-weight: 600; color: var(--tc-ink); }
html body.page-app .lg-feed-h span { font-size: 12px; color: var(--tc-mute); }
html body.page-app .lg-list { list-style: none; margin: 0; padding: 8px; display: grid; gap: 6px; align-content: start; overflow-y: auto; flex: 1; min-height: 120px; }
html body.page-app .lg-ev button { width: 100%; display: grid; gap: 3px; padding: 10px 12px; border: 1px solid var(--tc-line); border-radius: 12px; background: #fff; text-align: left; font: inherit; cursor: pointer; transition: border-color .15s, background-color .15s; }
html body.page-app .lg-ev button:hover { border-color: var(--tc-line-2); background: #FAFAF9; }
html body.page-app .lg-ev.is-new button { animation: lgIn .5s cubic-bezier(.2, .8, .2, 1); }
html body.page-app .lg-ev.is-gone { opacity: .55; }
html body.page-app .lg-ev-c { display: flex; align-items: center; gap: 8px; }
html body.page-app .lg-ev-c b { font-size: 13px; font-weight: 600; color: var(--tc-ink); }
html body.page-app .lg-ev-l, html body.page-app .lg-ev-d { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--tc-mute); min-width: 0; }
html body.page-app .lg-ev-d { color: var(--tc-ink-2); flex-wrap: wrap; column-gap: 4px; }
html body.page-app .lg-ev-d em { font-style: normal; color: var(--tc-ink); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body.page-app .lg-ev-d time { color: var(--tc-mute); }
html body.page-app .lg-none { display: flex; gap: 10px; align-items: flex-start; padding: 14px 12px; border: 1px dashed var(--tc-line-2); border-radius: 12px; background: #FBFBFA; font-size: 12.5px; line-height: 1.45; color: var(--tc-mute); }
html body.page-app .lg-none .bi { flex: none; font-size: 15px; color: var(--tc-ink); }
@keyframes lgIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  html body.page-app .lg-grid { grid-template-columns: minmax(0, 1fr); }
  html body.page-app .lg-feed { max-height: 420px; }
}
@media (max-width: 600px) {
  html body.page-app .lg { padding: 12px; border-radius: 16px; }
  html body.page-app .lg-pop { width: 210px; }
}
@media (prefers-reduced-motion: reduce) { html body.page-app .lg-ev.is-new button { animation: none; } }

/* ======================================================================
   v6.0 · Configuración › Pagos · Pedidos › Pagos por validar
   ====================================================================== */
html body.page-app .ord-badge.tone-danger { background: #FEF3F2; color: #B42318; }
html body.page-app .pay { display: grid; gap: 14px; }
html body.page-app .pay-head { display: grid; gap: 4px; }
html body.page-app .pay-head-2 { margin-top: 18px; }
html body.page-app .pay-title { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: var(--tc-ink); }
html body.page-app .pay-lead { margin: 0; font-size: 13.5px; color: var(--tc-mute); }
html body.page-app .pay-note { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border: 1px dashed var(--tc-line-2); border-radius: var(--tc-r-lg); background: #FBFBFA; font-size: 13.5px; color: var(--tc-ink-2); }
html body.page-app .pay-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 860px) { html body.page-app .pay-grid { grid-template-columns: minmax(0, 1fr); } }
html body.page-app .pay-card { display: flex; flex-direction: column; gap: 8px; padding: 16px; border: 1px solid var(--tc-line); border-radius: var(--tc-r-xl); background: var(--tc-surface); min-width: 0; transition: border-color .15s; }
html body.page-app .pay-card.is-active { border-color: var(--tc-line-3); }
html body.page-app .pay-card-h { display: flex; align-items: center; gap: 12px; }
html body.page-app .pay-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--tc-soft); font-size: 18px; color: var(--tc-ink); }
html body.page-app .pay-card-t { flex: 1; min-width: 0; display: grid; gap: 3px; justify-items: start; }
html body.page-app .pay-card-t strong { font-size: 15px; font-weight: 600; color: var(--tc-ink); }
html body.page-app .pay-pill { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: var(--tc-pill); background: var(--tc-soft); font-size: 11.5px; font-weight: 600; color: var(--tc-mute); }
html body.page-app .pay-pill i { width: 6px; height: 6px; border-radius: 50%; background: #BDBDB8; }
html body.page-app .pay-pill.is-on { background: #EAF7F0; color: #157347; }
html body.page-app .pay-pill.is-on i { background: #19B26B; }
html body.page-app .pay-pill.is-off i { background: var(--tc-ink-2); }
html body.page-app .pay-switch { flex: none; }
html body.page-app .pay-switch .form-check-input { width: 2.4em; height: 1.3em; cursor: pointer; }
html body.page-app .pay-desc { margin: 0; font-size: 13px; line-height: 1.5; color: var(--tc-mute); }
html body.page-app .pay-meta { margin: 0; font-size: 12.5px; color: var(--tc-ink-2); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
html body.page-app .pay-tag { display: inline-flex; height: 20px; align-items: center; padding: 0 8px; border-radius: var(--tc-pill); background: #FDF4E7; color: #94590B; font-size: 11px; font-weight: 600; }
html body.page-app .pay-card-f { margin-top: auto; padding-top: 6px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
html body.page-app .pay-accounts { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
html body.page-app .pay-accounts:empty { display: none; }
html body.page-app .pay-accounts li { display: flex; align-items: center; gap: 4px; padding: 8px 10px; border: 1px solid var(--tc-line); border-radius: 12px; }
html body.page-app .pay-acc-t { flex: 1; min-width: 0; display: grid; }
html body.page-app .pay-acc-t b { font-size: 13.5px; font-weight: 600; color: var(--tc-ink); }
html body.page-app .pay-acc-t small { font-size: 12px; color: var(--tc-mute); }
html body.page-app .pay-mini { width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: var(--tc-mute); }
html body.page-app .pay-mini:hover { background: var(--tc-soft); color: var(--tc-ink); }
html body.page-app .pay-delivery { display: grid; gap: 12px; }
html body.page-app .pay-dcard { padding: 16px; border: 1px solid var(--tc-line); border-radius: var(--tc-r-xl); background: var(--tc-surface); }
html body.page-app .pay-help { margin-top: 6px; font-size: 12.5px; color: var(--tc-mute); }
html body.page-app .pay-help summary { cursor: pointer; color: var(--tc-ink-2); font-weight: 500; list-style: none; }
html body.page-app .pay-help summary::-webkit-details-marker { display: none; }
html body.page-app .pay-help summary::before { content: '?'; display: inline-grid; place-items: center; width: 16px; height: 16px; margin-right: 6px; border-radius: 50%; background: var(--tc-soft); font-size: 10.5px; font-weight: 700; }
html body.page-app .pay-help p { margin: 6px 0 0; line-height: 1.5; }
html body.page-app .pay-hook { padding: 12px; border-radius: 12px; background: var(--tc-soft); }
html body.page-app .pay-hook-row { display: flex; align-items: center; gap: 8px; }
html body.page-app .pay-hook-row code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--tc-ink); }
html body.page-app .pay-seg { display: flex; gap: 6px; flex-wrap: wrap; }
html body.page-app .pay-seg label { position: relative; cursor: pointer; }
html body.page-app .pay-seg input { position: absolute; opacity: 0; }
html body.page-app .pay-seg span { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid var(--tc-line-2); border-radius: var(--tc-pill); font-size: 13px; }
html body.page-app .pay-seg input:checked + span { border-color: var(--tc-ink); background: var(--tc-ink); color: #fff; }
html body.page-app .pay-seg input:focus-visible + span { outline: 2px solid var(--tc-ink); outline-offset: 2px; }

html body.page-app .pv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
html body.page-app .pv-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 14px; border: 1px solid var(--tc-line); border-radius: var(--tc-r-xl); background: var(--tc-surface); }
html body.page-app .pv-thumb { width: 72px; height: 72px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: var(--tc-soft); font-size: 22px; color: var(--tc-ink); }
html body.page-app .pv-thumb img { width: 100%; height: 100%; object-fit: cover; }
html body.page-app .pv-body { min-width: 0; display: grid; gap: 8px; }
html body.page-app .pv-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
html body.page-app .pv-num { font-size: 15px; font-weight: 600; color: var(--tc-ink); text-decoration: none; }
html body.page-app .pv-facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px 14px; }
html body.page-app .pv-facts div { min-width: 0; }
html body.page-app .pv-facts .pv-wide { grid-column: 1 / -1; }
html body.page-app .pv-facts dt { font-size: 11.5px; font-weight: 400; color: var(--tc-mute); }
html body.page-app .pv-facts dd { margin: 0; font-size: 13px; color: var(--tc-ink); overflow-wrap: anywhere; }
html body.page-app .pv-actions { display: grid; gap: 6px; justify-items: stretch; }
@media (max-width: 760px) {
  html body.page-app .pv-item { grid-template-columns: 56px minmax(0, 1fr); }
  html body.page-app .pv-thumb { width: 56px; height: 56px; }
  html body.page-app .pv-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; }
}
html body.page-app .ord-tx { display: grid; gap: 4px; margin-top: 10px; padding: 10px 12px; border: 1px solid var(--tc-line); border-radius: 12px; }
html body.page-app .ord-tx-t { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13.5px; }
html body.page-app .ord-tx small { overflow-wrap: anywhere; }
html body.page-app .ord-tx-a { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
html body.page-app .ord-pay-pdf { display: grid; place-items: center; background: var(--tc-soft); color: var(--tc-ink); font-size: 18px; text-decoration: none; }

/* ======================================================================
   v6.1 · Pagos (menú principal): filas limpias
   ====================================================================== */
html body.page-app .pm { display: grid; gap: 22px; max-width: 880px; }
html body.page-app .pm-note { display: flex; gap: 10px; padding: 14px 16px; border: 1px dashed var(--tc-line-2); border-radius: var(--tc-r-lg); font-size: 13.5px; color: var(--tc-ink-2); }
html body.page-app .pm-sec { display: grid; gap: 8px; }
html body.page-app .pm-sec-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
html body.page-app .pm-sec-h h2 { margin: 0; font-size: 14px; font-weight: 600; color: var(--tc-ink); }
html body.page-app .pm-sec-h > span { font-size: 12.5px; color: var(--tc-mute); }
html body.page-app .pm-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--tc-line); border-radius: var(--tc-r-xl); background: var(--tc-surface); overflow: hidden; }
html body.page-app .pm-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
html body.page-app .pm-row + .pm-row { border-top: 1px solid var(--tc-line); }
html body.page-app .pm-ic { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--tc-soft); font-size: 17px; color: var(--tc-ink); }
html body.page-app .pm-t { flex: 1; min-width: 0; display: grid; gap: 2px; }
html body.page-app .pm-t b { font-size: 14px; font-weight: 600; color: var(--tc-ink); }
html body.page-app .pm-t small { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--tc-mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body.page-app .pm-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--tc-ink-2); }
html body.page-app .pm-dot.is-on { background: #19B26B; }
html body.page-app .pm-dot.is-none { background: #D4D4D2; }
html body.page-app .pm-a { flex: none; display: flex; align-items: center; gap: 8px; }
html body.page-app .pm-a form { margin: 0; }
html body.page-app .pm-a .form-check-input { width: 2.4em; height: 1.3em; cursor: pointer; }
html body.page-app .pm-icon { width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 9px; background: transparent; color: var(--tc-mute); }
html body.page-app .pm-icon:hover { background: var(--tc-soft); color: var(--tc-ink); }
html body.page-app .pm-accs { display: grid; gap: 6px; justify-items: start; }
html body.page-app .pm-acc { width: 100%; display: flex; align-items: center; gap: 4px; padding: 8px 10px; border: 1px solid var(--tc-line); border-radius: 12px; }
html body.page-app .pm-dsec { padding: 0 0 14px; margin-bottom: 14px; border-bottom: 1px solid var(--tc-line); }
@media (max-width: 560px) {
  html body.page-app .pm-row { flex-wrap: wrap; }
  html body.page-app .pm-a { width: 100%; justify-content: flex-end; }
}
.modal .pay-help { margin-top: 6px; font-size: 12.5px; color: #6E6E6B; }
.modal .pay-help summary { cursor: pointer; color: #3F3F3D; font-weight: 500; }
.modal .pay-help p { margin: 6px 0 0; line-height: 1.5; }
.modal .pay-hook { padding: 12px; border-radius: 12px; background: #F5F5F4; }
.modal .pay-hook-row { display: flex; align-items: center; gap: 8px; }
.modal .pay-hook-row code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.modal .pay-seg { display: flex; gap: 6px; flex-wrap: wrap; }
.modal .pay-seg label { position: relative; cursor: pointer; }
.modal .pay-seg input { position: absolute; opacity: 0; }
.modal .pay-seg span { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid #E2E2E0; border-radius: 999px; font-size: 13px; }
.modal .pay-seg input:checked + span { border-color: #0B0B0B; background: #0B0B0B; color: #fff; }
.modal .pm-acc { width: 100%; display: flex; align-items: center; gap: 4px; padding: 8px 10px; border: 1px solid #ECECEB; border-radius: 12px; }
.modal .pm-acc .pm-t { flex: 1; min-width: 0; display: grid; }
.modal .pm-acc small { font-size: 12px; color: #6E6E6B; }
.modal .pm-icon { width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: #6E6E6B; }
.modal .pm-accs { display: grid; gap: 6px; justify-items: start; }
.modal .pm-dsec { padding: 0 0 14px; margin-bottom: 14px; border-bottom: 1px solid #ECECEB; }

/* ======================================================================
   v6.1 · Pedido guiado por etapas
   ====================================================================== */
html body.page-app .ord-flow { margin: 0 0 14px; padding: 20px; border: 1px solid var(--tc-line); border-radius: var(--tc-r-xl); background: var(--tc-surface); }
html body.page-app .ord-flow-p { display: grid; gap: 14px; }
html body.page-app .ord-flow-p.is-in { animation: ordFlowIn .32s cubic-bezier(.2, .8, .2, 1); }
@keyframes ordFlowIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
html body.page-app .ord-flow-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
html body.page-app .ord-flow-h h2 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.01em; color: var(--tc-ink); }
html body.page-app .ord-flow-n { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: var(--tc-pill); background: var(--tc-soft); font-size: 11.5px; font-weight: 600; color: var(--tc-ink-2); }
html body.page-app .ord-flow-tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--tc-pill); background: #FDF4E7; color: #94590B; font-size: 12px; font-weight: 600; }
html body.page-app .ord-flow-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 640px) { html body.page-app .ord-flow-grid { grid-template-columns: minmax(0, 1fr); } }
html body.page-app .ord-flow-box { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--tc-soft); min-width: 0; }
html body.page-app .ord-flow-box small { font-size: 11.5px; color: var(--tc-mute); }
html body.page-app .ord-flow-box b { font-size: 14px; font-weight: 600; color: var(--tc-ink); overflow-wrap: anywhere; }
html body.page-app .ord-flow-box span { font-size: 13px; color: var(--tc-ink-2); overflow-wrap: anywhere; }
html body.page-app .ord-flow-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
html body.page-app .ord-flow-items li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--tc-ink); }
html body.page-app .ord-flow-items li small { color: var(--tc-mute); }
html body.page-app .ord-flow-items li b { font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
html body.page-app .ord-flow-items .is-sub { color: var(--tc-ink-2); }
html body.page-app .ord-flow-items .is-total { padding-top: 8px; border-top: 1px solid var(--tc-line); font-weight: 600; font-size: 15px; }
html body.page-app .ord-flow-items .is-total b { font-weight: 600; }
html body.page-app .ord-flow-f { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 4px; }
html body.page-app .ord-flow-fa { display: flex; gap: 8px; flex-wrap: wrap; }
html body.page-app .ord-flow-hint { margin: -6px 0 0; font-size: 12.5px; color: var(--tc-mute); text-align: right; }
html body.page-app .ord-flow-pay { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border: 1px solid var(--tc-line); border-radius: 14px; }
html body.page-app .ord-flow-rc { flex: none; width: 96px; height: 96px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: var(--tc-soft); font-size: 26px; color: var(--tc-ink); }
html body.page-app .ord-flow-rc img { width: 100%; height: 100%; object-fit: cover; }
html body.page-app .ord-flow-pay-t { display: grid; gap: 3px; font-size: 13px; min-width: 0; }
html body.page-app .ord-flow-pay-t b { font-size: 15px; font-weight: 600; color: var(--tc-ink); }
html body.page-app .ord-flow-pay-a { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
html body.page-app :is(.ord-flow-ok, .ord-flow-info, .ord-flow-bad) { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 12px 14px; border-radius: 12px; font-size: 13.5px; line-height: 1.45; }
html body.page-app .ord-flow-ok { background: #EEF8F1; color: #18794E; }
html body.page-app .ord-flow-info { background: var(--tc-soft); color: var(--tc-ink-2); }
html body.page-app .ord-flow-bad { background: #FEF3F2; color: #B42318; }
html body.page-app .ord-flow-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
html body.page-app .ord-flow-check label { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid var(--tc-line); border-radius: 12px; cursor: pointer; font-size: 14px; color: var(--tc-ink); transition: background-color .15s, border-color .15s; }
html body.page-app .ord-flow-check input { width: 18px; height: 18px; accent-color: var(--tc-ink); }
html body.page-app .ord-flow-check small { color: var(--tc-mute); }
html body.page-app .ord-flow-check li.is-done label { background: #FAFAF9; border-color: var(--tc-line-2); color: var(--tc-mute); text-decoration: line-through; }
html body.page-app .ord-flow-done { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 12px 16px; border-radius: var(--tc-r-lg); background: #EEF8F1; color: #18794E; font-size: 14px; font-weight: 500; }
html body.page-app .ord-flow-toggle { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin: 0 0 14px; padding: 10px; border: 1px dashed var(--tc-line-2); border-radius: var(--tc-r-lg); background: transparent; font-size: 13.5px; font-weight: 500; color: var(--tc-ink-2); }
html body.page-app .ord-flow-toggle:hover { background: var(--tc-soft); color: var(--tc-ink); }
html body.page-app .ord-flow-toggle.is-open .bi { transform: rotate(180deg); }
html body.page-app .ord-all[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { html body.page-app .ord-flow-p.is-in { animation: none; } }

/* v6.1b · Etapas del pedido con más contexto: dos columnas, productos con foto y resumen fijo */
html body.page-app .ord-flow.ofx { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 0; padding: 0; overflow: hidden; }
html body.page-app .ofx-main { padding: 22px; min-width: 0; display: grid; align-content: start; }
html body.page-app .ofx-side { padding: 20px; border-left: 1px solid var(--tc-line); background: #FAFAF9; display: grid; gap: 16px; align-content: start; min-width: 0; }
@media (max-width: 980px) {
  html body.page-app .ord-flow.ofx { grid-template-columns: minmax(0, 1fr); }
  html body.page-app .ofx-side { border-left: 0; border-top: 1px solid var(--tc-line); }
}
html body.page-app .ofx-head { display: flex; align-items: flex-start; gap: 14px; }
html body.page-app .ofx-head-ic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--tc-ink); color: #fff; font-size: 20px; }
html body.page-app .ofx-head-t { display: grid; gap: 3px; justify-items: start; min-width: 0; }
html body.page-app .ofx-head-t h2 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -.02em; color: var(--tc-ink); }
html body.page-app .ofx-head-t p { margin: 0; font-size: 13.5px; color: var(--tc-mute); }
html body.page-app .ofx-chip { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: var(--tc-pill); background: var(--tc-soft); font-size: 11.5px; font-weight: 600; color: var(--tc-ink-2); }
html body.page-app .ofx-chip.is-warn { background: #FDF4E7; color: #94590B; }
html body.page-app .ofx-block { border: 1px solid var(--tc-line); border-radius: 16px; padding: 4px 14px 6px; background: var(--tc-surface); }
html body.page-app .ofx-block-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0 6px; font-size: 13.5px; }
html body.page-app .ofx-block-h b { font-weight: 600; color: var(--tc-ink); }
html body.page-app .ofx-block-h span { font-size: 12.5px; color: var(--tc-mute); }
html body.page-app .ofx-items { list-style: none; margin: 0; padding: 0; display: grid; }
html body.page-app .ofx-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--tc-line); }
html body.page-app .ofx-item:first-child { border-top: 0; }
html body.page-app .ofx-img { flex: none; width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: var(--tc-soft); display: grid; place-items: center; color: var(--tc-mute); font-size: 18px; box-shadow: inset 0 0 0 1px rgba(11, 11, 11, .04); }
html body.page-app .ofx-items.is-compact .ofx-img { width: 44px; height: 44px; border-radius: 10px; }
html body.page-app .ofx-item-t { flex: 1; min-width: 0; display: grid; gap: 2px; }
html body.page-app .ofx-item-t b { font-size: 14px; font-weight: 600; color: var(--tc-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body.page-app .ofx-item-t small { font-size: 12.5px; color: var(--tc-mute); }
html body.page-app .ofx-item-p { flex: none; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--tc-ink); }
html body.page-app .ofx-check label { flex: 1; display: flex; align-items: center; gap: 12px; cursor: pointer; margin: 0; }
html body.page-app .ofx-check input { flex: none; width: 20px; height: 20px; accent-color: var(--tc-ink); }
html body.page-app .ofx-qty { flex: none; min-width: 32px; height: 32px; padding: 0 8px; border-radius: 10px; display: grid; place-items: center; background: var(--tc-soft); font-weight: 600; font-variant-numeric: tabular-nums; }
html body.page-app .ofx-check li.is-done .ofx-item-t b { text-decoration: line-through; color: var(--tc-mute); }
html body.page-app .ofx-check li.is-done .ofx-img { opacity: .55; }
html body.page-app .ofx-check li.is-done .ofx-qty { background: #EEF8F1; color: #18794E; }
html body.page-app .ofx-bar { height: 6px; border-radius: 999px; background: var(--tc-soft); overflow: hidden; margin-bottom: 4px; }
html body.page-app .ofx-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--tc-ink); transition: width .3s ease; }
html body.page-app .ofx-note { display: flex; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #FFFBEB; color: #6B4E00; font-size: 13.5px; }
html body.page-app .ofx-note p { margin: 0; line-height: 1.5; }
html body.page-app .ofx-muted { font-size: 12.5px; color: var(--tc-mute); display: inline-flex; align-items: center; gap: 6px; }
html body.page-app .ofx-amount { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 10px; }
@media (max-width: 640px) { html body.page-app .ofx-amount { grid-template-columns: 1fr 1fr; } }
html body.page-app .ofx-amount > div { display: grid; gap: 4px; align-content: start; justify-items: start; padding: 12px 14px; border-radius: 14px; background: var(--tc-soft); min-width: 0; }
html body.page-app .ofx-amount small { font-size: 11.5px; color: var(--tc-mute); }
html body.page-app .ofx-amount b { font-size: 22px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--tc-ink); }
html body.page-app .ofx-amount span { font-size: 13.5px; font-weight: 500; color: var(--tc-ink); overflow-wrap: anywhere; }
html body.page-app .ofx-receipt { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; padding: 14px; border: 1px solid var(--tc-line); border-radius: 16px; }
@media (max-width: 640px) { html body.page-app .ofx-receipt { grid-template-columns: minmax(0, 1fr); } }
html body.page-app .ofx-receipt-img { height: 220px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; align-content: center; gap: 6px; background: var(--tc-soft); color: var(--tc-ink); text-decoration: none; font-size: 30px; }
html body.page-app .ofx-receipt-img span { font-size: 12.5px; font-weight: 500; }
html body.page-app .ofx-receipt-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .25s ease; }
html body.page-app .ofx-receipt-img:hover img { transform: scale(1.03); }
html body.page-app .ofx-receipt-t { display: grid; gap: 8px; align-content: start; justify-items: start; min-width: 0; }
html body.page-app .ofx-receipt-t > b { font-size: 17px; font-weight: 600; color: var(--tc-ink); }
html body.page-app .ofx-receipt-t dl { margin: 0; display: grid; gap: 4px; width: 100%; }
html body.page-app .ofx-receipt-t dl div { display: flex; gap: 10px; font-size: 13px; }
html body.page-app .ofx-receipt-t dt { width: 80px; flex: none; font-weight: 400; color: var(--tc-mute); }
html body.page-app .ofx-receipt-t dd { margin: 0; color: var(--tc-ink); overflow-wrap: anywhere; }
html body.page-app .ofx-state { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--tc-soft); }
html body.page-app .ofx-state > .bi { font-size: 20px; color: var(--tc-ink); }
html body.page-app .ofx-state div { display: grid; gap: 2px; font-size: 13.5px; color: var(--tc-ink-2); }
html body.page-app .ofx-state b { font-size: 14.5px; color: var(--tc-ink); }
html body.page-app .ofx-state.is-ok { background: #EEF8F1; }
html body.page-app .ofx-state.is-ok > .bi, html body.page-app .ofx-state.is-ok b { color: #18794E; }
html body.page-app .ofx-state.is-bad { background: #FEF3F2; }
html body.page-app .ofx-state.is-bad > .bi, html body.page-app .ofx-state.is-bad b { color: #B42318; }
html body.page-app .ofx-route { display: grid; grid-template-columns: minmax(0, 1fr) 60px minmax(0, 1fr); align-items: center; gap: 10px; padding: 16px; border-radius: 16px; background: var(--tc-soft); }
@media (max-width: 640px) { html body.page-app .ofx-route { grid-template-columns: minmax(0, 1fr); } html body.page-app .ofx-route-line { display: none; } }
html body.page-app .ofx-route-p { display: grid; gap: 2px; min-width: 0; }
html body.page-app .ofx-route-p small { font-size: 11.5px; color: var(--tc-mute); }
html body.page-app .ofx-route-p b { font-size: 14px; color: var(--tc-ink); overflow-wrap: anywhere; }
html body.page-app .ofx-route-dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--tc-ink); background: #fff; }
html body.page-app .ofx-route-dot.is-end { background: var(--tc-ink); }
html body.page-app .ofx-route-line { height: 2px; background: repeating-linear-gradient(90deg, var(--tc-ink-2) 0 6px, transparent 6px 12px); opacity: .5; }
html body.page-app .ofx-cust { display: flex; align-items: center; gap: 10px; }
html body.page-app .ofx-cust-t { flex: 1; min-width: 0; display: grid; }
html body.page-app .ofx-cust-t b { font-size: 14.5px; font-weight: 600; color: var(--tc-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body.page-app .ofx-cust-t small { font-size: 12.5px; color: var(--tc-mute); }
html body.page-app .ofx-facts { margin: 0; display: grid; gap: 12px; padding-top: 14px; border-top: 1px solid var(--tc-line); }
html body.page-app .ofx-facts dt { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 400; color: var(--tc-mute); margin-bottom: 2px; }
html body.page-app .ofx-facts dd { margin: 0; font-size: 13.5px; color: var(--tc-ink); overflow-wrap: anywhere; }
html body.page-app .ofx-facts dd small { color: var(--tc-mute); }
html body.page-app .ofx-totals { margin: 0; display: grid; gap: 6px; padding-top: 14px; border-top: 1px solid var(--tc-line); }
html body.page-app .ofx-totals div { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--tc-ink-2); }
html body.page-app .ofx-totals dt, html body.page-app .ofx-totals dd { margin: 0; font-weight: 400; }
html body.page-app .ofx-totals dd { font-variant-numeric: tabular-nums; }
html body.page-app .ofx-totals .is-total { padding-top: 8px; border-top: 1px solid var(--tc-line); font-size: 17px; color: var(--tc-ink); }
html body.page-app .ofx-totals .is-total dt, html body.page-app .ofx-totals .is-total dd { font-weight: 600; }
html body.page-app .ofx-totals .is-due { color: #94590B; font-weight: 600; }
html body.page-app .ofx .ord-flow-p { gap: 16px; }
html body.page-app .ofx .ord-flow-f { padding-top: 8px; border-top: 1px solid var(--tc-line); margin-top: 2px; }

/* v6.2 · Barra de la etapa del pedido: un solo botón «Continuar» (mismo diseño de las tarjetas del detalle) */
html body.page-app .ord-stage { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; grid-template-areas: "ic t rc" "a a a"; align-items: center; column-gap: 16px; row-gap: 14px; margin: 0 0 14px; padding: 18px 20px 14px; border: 1px solid var(--tc-line); border-radius: var(--tc-r-xl); background: var(--tc-surface); max-width: 100%; min-width: 0; }
html body.page-app .ord-stage-ic { grid-area: ic; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--tc-ink); color: #fff; font-size: 21px; }
html body.page-app .ord-stage.is-done .ord-stage-ic { background: #EEF8F1; color: #18794E; }
html body.page-app .ord-stage-t { grid-area: t; min-width: 0; display: grid; gap: 2px; }
html body.page-app .ord-stage-t small { font-size: 12px; font-weight: 500; color: var(--tc-mute); }
html body.page-app .ord-stage-t h2 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.02em; color: var(--tc-ink); overflow-wrap: anywhere; }
html body.page-app .ord-stage-t p { margin: 0; font-size: 13.5px; color: var(--tc-ink-2); overflow-wrap: anywhere; }
html body.page-app .ord-stage-rc { grid-area: rc; display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border: 1px solid var(--tc-line); border-radius: 14px; text-decoration: none; color: var(--tc-ink); font-size: 13px; font-weight: 500; white-space: nowrap; }
html body.page-app .ord-stage-rc:hover { border-color: var(--tc-ink); }
html body.page-app .ord-stage-rc img, html body.page-app .ord-stage-rc > .bi { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; object-position: top; display: grid; place-items: center; background: var(--tc-soft); font-size: 20px; flex: none; }
html body.page-app .ord-stage-a { grid-area: a; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; min-width: 0; padding-top: 12px; border-top: 1px solid var(--tc-line); }
html body.page-app .ord-stage-a form { margin: 0 0 0 auto; }
html body.page-app .ord-stage-link { border: 0; background: transparent; padding: 8px 10px; border-radius: 10px; font-size: 13px; font-weight: 500; color: var(--tc-mute); white-space: nowrap; }
html body.page-app .ord-stage-link:first-child { margin-left: -10px; }
html body.page-app .ord-stage-link:hover { background: var(--tc-soft); color: var(--tc-ink); }
html body.page-app .ord-stage-go { height: 44px; padding: 0 22px; font-size: 15px; font-weight: 600; border-radius: var(--tc-pill); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
html body.page-app [data-ord-extra][hidden] { display: none !important; }
@media (max-width: 575.98px) {
  html body.page-app .ord-stage { grid-template-columns: 40px minmax(0, 1fr); grid-template-areas: "ic t" "rc rc" "a a"; column-gap: 12px; padding: 16px 16px 12px; }
  html body.page-app .ord-stage-ic { width: 40px; height: 40px; font-size: 18px; border-radius: 12px; }
  html body.page-app .ord-stage-t h2 { font-size: 17px; }
  html body.page-app .ord-stage-rc { justify-self: start; }
  html body.page-app .ord-stage-a form { width: 100%; margin: 4px 0 0; }
  html body.page-app .ord-stage-go { width: 100%; justify-content: center; }
}

/* ==========================================================================
   v6.3 · PEDIDOS — detalle limpio (.op), comprobante en ventana y sin desbordes
   Línea gráfica: blanco, negro, líneas finas, mucho aire. Sin fondos grises de relleno.
   ========================================================================== */
html body.page-app .app-main:has(> .op) { padding-top: 20px !important; }
html body.page-app .op { --op-line: #EDEDEC; --op-text: #0B0B0B; --op-sub: #6B6B68; --op-faint: #A3A3A0;
  display: grid; gap: 24px; min-width: 0; max-width: 1080px; margin: 0 auto; color: var(--op-text); }
html body.page-app .op *, html body .op-viewer * { box-sizing: border-box; }

/* Botones y enlaces propios */
html body.page-app .op-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 14px; border: 1px solid var(--op-line); border-radius: var(--tc-pill); background: #fff; color: var(--op-text); font: 500 13.5px/1 var(--tc-font); text-decoration: none; white-space: nowrap; cursor: pointer; transition: border-color .15s, background-color .15s; }
html body.page-app .op-btn:hover { border-color: var(--op-text); color: var(--op-text); }
html body.page-app .op-btn.is-icon { width: 36px; padding: 0; }
html body.page-app .op-btn.is-primary { height: 40px; padding: 0 20px; border-color: var(--op-text); background: var(--op-text); color: #fff; }
html body.page-app .op-btn.is-primary:hover { background: #2B2B29; }
html body.page-app .op-link { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; color: var(--op-text); font: 500 13px/1.3 var(--tc-font); text-decoration: none; cursor: pointer; }
html body.page-app .op-link:hover { text-decoration: underline; text-underline-offset: 3px; }
html body.page-app .op-link.is-mute { color: var(--op-sub); }
html body.page-app .op-menu .dropdown-item { display: flex; align-items: center; gap: 10px; font-size: 13.5px; padding: 8px 14px; }
html body.page-app .op-mute { color: var(--op-sub); font-weight: 400; }
/* Etiqueta de estado: punto de color + texto (sin cajas grises) */
html body.page-app .op-tag, html body.page-app .op-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; color: var(--op-text); white-space: nowrap; }
html body.page-app :is(.op-tag, .op-pill)::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--op-faint); }
html body.page-app :is(.op-tag, .op-pill).is-ok::before { background: #12A150; }
html body.page-app :is(.op-tag, .op-pill).is-warn::before { background: #E8A100; }
html body.page-app :is(.op-tag, .op-pill).is-err::before { background: #E5484D; }
html body.page-app :is(.op-tag, .op-pill).is-info::before { background: #3B82F6; }

/* 1 · Encabezado */
html body.page-app .op-head { display: flex; align-items: center; gap: 14px; min-width: 0; }
html body.page-app .op-btn.op-back { flex: none; width: 40px; height: 40px; font-size: 16px; }
html body.page-app .op-btn.op-back i { transition: transform .15s; }
html body.page-app .op-btn.op-back:hover i { transform: translateX(-2px); }
html body.page-app .op-head-t { flex: 1 1 auto; min-width: 0; }
html body.page-app .op-head h1 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
html body.page-app .op-head-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; margin: 4px 0 0; font-size: 13px; color: var(--op-sub); }
html body.page-app .op-head-a { display: flex; align-items: center; gap: 8px; flex: none; margin-left: auto; }

/* 2 · Pasos (diseño original: puntos centrados unidos por una línea) */
html body.page-app .op-steps { display: flex; list-style: none; margin: 0; padding: 4px 0 0; min-width: 0; overflow-x: auto; scrollbar-width: none; }
html body.page-app .op-steps::-webkit-scrollbar { display: none; }
html body.page-app .op-steps li { position: relative; flex: 1 0 84px; display: grid; justify-items: center; gap: 6px; text-align: center; }
html body.page-app .op-steps li::before { content: ""; position: absolute; top: 9px; right: 50%; width: 100%; height: 2px; background: var(--op-line); }
html body.page-app .op-steps li:first-child::before { display: none; }
html body.page-app .op-steps li.is-done::before, html body.page-app .op-steps li.is-now::before { background: var(--op-text); }
html body.page-app .op-dot { position: relative; z-index: 1; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid #DADAD8; color: #fff; font-size: 12px; }
html body.page-app .op-steps li.is-done .op-dot { background: var(--op-text); border-color: var(--op-text); }
html body.page-app .op-steps li.is-now .op-dot { border-color: var(--op-text); box-shadow: 0 0 0 4px rgba(11, 11, 11, .07); }
html body.page-app .op-steps li.is-now .op-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--op-text); }
html body.page-app .op-steps li.is-now .op-dot:has(i) { background: var(--op-text); }
html body.page-app .op-steps li.is-now .op-dot:has(i)::after { display: none; }
html body.page-app .op-step-l { font-size: 12px; color: var(--op-faint); white-space: nowrap; }
html body.page-app .op-steps li.is-done .op-step-l { color: var(--op-sub); }
html body.page-app .op-steps li.is-now .op-step-l { color: var(--op-text); font-weight: 600; }

/* 3 · Siguiente paso */
html body.page-app .op-next { display: flex; align-items: center; gap: 16px 18px; flex-wrap: wrap; min-width: 0; padding: 16px 20px; border: 1px solid var(--op-line); border-radius: 14px; background: #fff; }
html body.page-app .op-next.is-cancelled { border-color: #F5CFCC; }
html body.page-app .op-next-ic { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--op-line); font-size: 17px; }
html body.page-app .op-next.is-done .op-next-ic { background: var(--op-text); border-color: var(--op-text); color: #fff; }
html body.page-app .op-next-t { flex: 1 1 260px; min-width: 0; }
html body.page-app .op-next-t h2 { margin: 0; font-size: 15px; font-weight: 600; }
html body.page-app .op-next-t p { margin: 2px 0 0; font-size: 13.5px; color: var(--op-sub); }
html body.page-app .op-next-a { display: flex; align-items: center; gap: 18px; margin-left: auto; }
html body.page-app .op-next-a form { margin: 0; }
html body.page-app .op-rc { position: relative; flex: none; width: 48px; height: 48px; padding: 0; border: 1px solid var(--op-line); border-radius: 10px; background: #fff; overflow: hidden; display: grid; place-items: center; font-size: 20px; color: var(--op-text); cursor: zoom-in; }
html body.page-app .op-rc img { width: 100%; height: 100%; object-fit: cover; }
html body.page-app .op-rc span { position: absolute; inset: auto 0 0; padding: 1px 0; background: rgba(11, 11, 11, .72); color: #fff; font-size: 10px; font-weight: 600; text-align: center; }
html body.page-app .op-rc:hover { border-color: var(--op-text); }

/* Chips de estado del encabezado y de las listas */
html body.page-app .op-title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; }
html body.page-app .op-chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border: 1px solid var(--op-line); border-radius: var(--tc-pill); background: #fff; font-size: 12px; font-weight: 500; color: var(--op-text); white-space: nowrap; }
html body.page-app .op-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--op-faint); }
html body.page-app .op-chip.is-ok::before { background: #12A150; }
html body.page-app .op-chip.is-warn::before { background: #E8A100; }
html body.page-app .op-chip.is-err::before { background: #E5484D; }
html body.page-app .op-chip.is-info::before { background: #3B82F6; }

/* 4 · Contenido: dos columnas de tarjetas */
html body.page-app .op-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: 20px; align-items: start; min-width: 0; }
html body.page-app .op-col { display: grid; gap: 20px; min-width: 0; }
html body.page-app .op-card { min-width: 0; padding: 20px; border: 1px solid var(--op-line); border-radius: 14px; background: #fff; }
html body.page-app .op-card-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 24px; margin: 0 0 16px; }
html body.page-app .op-card-h h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; font-weight: 600; color: var(--op-text); }
html body.page-app .op-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--tc-pill); background: #F3F3F2; font-size: 11.5px; font-weight: 600; color: var(--op-sub); }
html body.page-app .op-btn.is-sm { width: 32px; height: 32px; font-size: 14px; }
html body.page-app .op-empty { margin: 0; font-size: 13px; color: var(--op-sub); }
html body.page-app .op-amt { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
html body.page-app .op-amt.is-neg { color: #C4322B; }
html body.page-app .op-sub { color: var(--op-sub); font-variant-numeric: tabular-nums; }

/* Productos: tabla tipo factura */
html body.page-app .op-tbl { display: grid; margin: 0 -20px; }
html body.page-app .op-tr { display: grid; grid-template-columns: minmax(0, 1fr) 56px 110px 110px; gap: 12px; align-items: center; padding: 12px 20px; border-top: 1px solid var(--op-line); font-size: 13.5px; }
html body.page-app .op-th { padding-top: 8px; padding-bottom: 8px; border-top: 0; font-size: 12px; color: var(--op-sub); }
html body.page-app .op-th + .op-tr { border-top: 1px solid var(--op-line); }
html body.page-app .op-tr .is-c { text-align: center; } html body.page-app .op-tr .is-r { text-align: right; }
html body.page-app .op-prod { display: flex; align-items: center; gap: 12px; min-width: 0; }
html body.page-app .op-thumb { flex: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--op-line); object-fit: cover; background: #fff; display: grid; place-items: center; color: var(--op-faint); font-size: 16px; }
html body.page-app .op-prod-t { display: grid; gap: 1px; min-width: 0; }
html body.page-app .op-prod-t b { font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body.page-app .op-prod-t small { font-size: 12.5px; color: var(--op-sub); }
html body.page-app .op-sum { width: min(300px, 100%); margin: 4px 0 0 auto; padding-top: 16px; border-top: 1px solid var(--op-line); display: grid; gap: 8px; }
html body.page-app .op-tbl + .op-sum { margin-top: 0; }
html body.page-app .op-sum div { display: flex; justify-content: space-between; gap: 16px; font-size: 13.5px; color: var(--op-sub); }
html body.page-app .op-sum dt { font-weight: 400; } html body.page-app .op-sum dd { margin: 0; color: var(--op-text); font-variant-numeric: tabular-nums; }
html body.page-app .op-sum .is-total { padding-top: 8px; border-top: 1px solid var(--op-line); font-size: 15px; font-weight: 600; color: var(--op-text); }
html body.page-app .op-sum .is-fine { font-size: 12.5px; }
html body.page-app .op-sum .is-fine dd { color: var(--op-sub); }
html body.page-app .op-sum .is-due, html body.page-app .op-sum .is-due dd { color: #9A5B00; font-weight: 500; }
html body.page-app .op-card > .op-tbl { border-bottom: 1px solid var(--op-line); margin-bottom: 0; }
html body.page-app .op-card > .op-tbl + .op-sum { border-top: 0; }

/* Pagos */
html body.page-app .op-list { list-style: none; margin: 0; padding: 0; display: grid; }
html body.page-app .op-list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--op-line); min-width: 0; }
html body.page-app .op-list li:first-child { padding-top: 0; border-top: 0; }
html body.page-app .op-ico { flex: none; width: 40px; height: 40px; padding: 0; border: 1px solid var(--op-line); border-radius: 10px; background: #fff; display: grid; place-items: center; overflow: hidden; font-size: 16px; color: var(--op-text); }
html body.page-app .op-ico.is-rc { cursor: zoom-in; }
html body.page-app .op-ico.is-rc:hover { border-color: var(--op-text); }
html body.page-app .op-ico img { width: 100%; height: 100%; object-fit: cover; }
html body.page-app .op-list-t { flex: 1 1 auto; min-width: 0; display: grid; gap: 1px; }
html body.page-app .op-list-t b { font-size: 13.5px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body.page-app .op-list-t small { font-size: 12.5px; color: var(--op-sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Actividad: una línea por evento */
html body.page-app .op-note { display: flex; gap: 8px; margin-bottom: 14px; }
html body.page-app .op-note .form-control { flex: 1; min-width: 0; }
html body.page-app .op-tl { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
html body.page-app .op-tl li { position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 0 0 14px 20px; font-size: 13.5px; }
html body.page-app .op-tl li::before { content: ""; position: absolute; left: 3px; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: #CFCFCC; }
html body.page-app .op-tl li::after { content: ""; position: absolute; left: 6px; top: 18px; bottom: 2px; width: 1px; background: var(--op-line); }
html body.page-app .op-tl li:last-child { padding-bottom: 0; }
html body.page-app .op-tl li:last-child::after { display: none; }
html body.page-app .op-tl > li:first-child::before { background: var(--op-text); }
html body.page-app .op-tl-m { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body.page-app .op-tl-d { flex: none; font-size: 12px; color: var(--op-faint); font-variant-numeric: tabular-nums; }
html body.page-app .op-more { margin-top: 14px; }
html body.page-app .op-more summary { cursor: pointer; font-size: 13px; font-weight: 500; list-style: none; }
html body.page-app .op-more summary::-webkit-details-marker { display: none; }
html body.page-app .op-more[open] summary { margin-bottom: 14px; }

/* Cliente: foto con iniciales */
html body.page-app .op-person { display: flex; align-items: center; gap: 12px; min-width: 0; }
html body.page-app .op-avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--op-text); color: #fff; font-size: 16px; font-weight: 600; letter-spacing: .02em; }
html body.page-app .op-person-t { display: grid; gap: 1px; min-width: 0; }
html body.page-app .op-person-t b { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body.page-app .op-person-t small { font-size: 12.5px; color: var(--op-sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body.page-app .op-contact { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--op-line); font-size: 13.5px; }
html body.page-app .op-contact > span:first-child { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
html body.page-app .op-contact > span:first-child i { color: var(--op-sub); }
html body.page-app .op-contact-a { display: inline-flex; gap: 6px; }
html body.page-app .op-quote { display: flex; gap: 8px; margin: 14px 0 0; padding: 10px 12px; border: 1px solid var(--op-line); border-radius: 10px; font-size: 13px; color: var(--op-text); overflow-wrap: anywhere; }
html body.page-app .op-quote i { color: var(--op-sub); }
html body.page-app .op-internal { margin: 10px 0 0; font-size: 12.5px; color: var(--op-sub); overflow-wrap: anywhere; }

/* Envío */
html body.page-app .op-ship { display: flex; gap: 12px; align-items: flex-start; }
html body.page-app .op-ship > i { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--op-line); display: grid; place-items: center; font-size: 15px; }
html body.page-app .op-ship > span { display: grid; gap: 2px; min-width: 0; }
html body.page-app .op-ship b { font-size: 13.5px; font-weight: 600; }
html body.page-app .op-ship small { font-size: 13px; color: var(--op-sub); overflow-wrap: anywhere; }
html body.page-app .op-dlv { display: grid; gap: 0; margin-top: 16px; }
html body.page-app .op-dlv-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-top: 1px solid var(--op-line); }
html body.page-app .op-dlv-row:last-child { padding-bottom: 0; }
html body.page-app .op-dlv-row > span { display: grid; gap: 1px; min-width: 0; }
html body.page-app .op-dlv-row small { font-size: 12px; color: var(--op-sub); }
html body.page-app .op-dlv-row b { font-size: 13.5px; font-weight: 500; }
html body.page-app .op-dlv-link { font-size: 13px; color: var(--op-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body.page-app .op-dlv .op-dl { margin: 0; padding: 12px 0; border-top: 1px solid var(--op-line); display: grid; gap: 8px; }
html body.page-app .op-dlv .op-dl div { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
html body.page-app .op-dlv .op-dl dt { font-weight: 400; color: var(--op-sub); } html body.page-app .op-dlv .op-dl dd { margin: 0; text-align: right; }
html body.page-app .op-due { display: flex; gap: 8px; }
html body.page-app .op-due .form-control { flex: 1; min-width: 0; height: 36px; border-color: var(--op-line); }

/* Ventana del comprobante */
html.op-lock, html.op-lock body { overflow: hidden; }
html body .op-viewer { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 16px; background: rgba(11, 11, 11, .5); }
html body .op-viewer[hidden] { display: none; }
html body .op-viewer-box { width: min(720px, 100%); max-height: calc(100vh - 32px); display: grid; grid-template-rows: auto minmax(0, 1fr); border-radius: 16px; background: #fff; overflow: hidden; box-shadow: 0 24px 64px rgba(11, 11, 11, .25); }
html body .op-viewer-box > header { display: flex; align-items: center; gap: 16px; padding: 10px 10px 10px 20px; border-bottom: 1px solid #EDEDEC; }
html body .op-viewer-box > header b { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body .op-viewer-body { overflow: auto; background: #FAFAFA; display: grid; place-items: center; min-height: 240px; }
html body .op-viewer-body img { display: block; max-width: 100%; max-height: calc(100vh - 110px); object-fit: contain; cursor: zoom-in; }
html body .op-viewer-body img.is-zoom { max-width: none; max-height: none; cursor: zoom-out; }
html body .op-viewer-body.is-pdf { place-items: stretch; }
html body .op-viewer-body iframe { width: 100%; height: calc(100vh - 110px); border: 0; background: #fff; }

/* (v6.3 · las reglas antiguas de .pv-item ya no se usan) */
html body.page-app .pv-item { grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; padding: 14px 16px; border-color: #EDEDEC; border-radius: 16px; }
html body.page-app .pv-thumb { width: 56px; height: 56px; padding: 0; border: 1px solid #EDEDEC; background: #fff; cursor: zoom-in; }
html body.page-app .pv-thumb:hover { border-color: #0B0B0B; }
html body.page-app .pv-body { gap: 2px; }
html body.page-app .pv-line { margin: 2px 0 0; font-size: 13.5px; overflow-wrap: anywhere; }
html body.page-app .pv-meta { margin: 0; font-size: 12.5px; color: #6B6B68; overflow-wrap: anywhere; }
html body.page-app .pv-meta.is-err { color: #C4322B; }
html body.page-app .pv-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: flex-end; }
html body.page-app .pv-actions form { margin: 0; }

/* Listado de pedidos: nada se sale a la derecha */
html body.page-app .ord-page { min-width: 0; max-width: 100%; overflow-x: clip; }
html body.page-app .ord-page .mod-toolbar { min-width: 0; }
html body.page-app .ord-page .mod-toolbar .mod-search { flex: 1 1 320px; flex-wrap: wrap; }
html body.page-app .ord-page .mod-toolbar .mod-search .input-wrap { flex: 1 1 220px; min-width: 0; }
html body.page-app .ord-page .mod-toolbar-a { flex: 0 1 auto; flex-wrap: wrap; justify-content: flex-end; min-width: 0; }
html body.page-app .ord-page .mod-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; }
html body.page-app .ord-page .prod-subnav { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
html body.page-app .ord-page :is(.ord-item, .ord-item-main) { min-width: 0; }
html body.page-app .ord-page .kb { max-width: 100%; overflow-x: auto; }

@media (max-width: 991.98px) {
  html body.page-app .op-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 575.98px) {
  html body.page-app .app-main:has(> .op) { padding-top: 12px !important; }
  html body.page-app .op { gap: 18px; }
  html body.page-app .op-head { flex-wrap: wrap; }
  html body.page-app .op-head h1 { font-size: 20px; }
  html body.page-app .op-head-a .op-btn:not(.is-icon) span { display: none; }
  html body.page-app .op-head-a .op-btn:not(.is-icon) { width: 36px; padding: 0; }
  html body.page-app .op-next, html body.page-app .op-sec { padding: 18px; }
  html body.page-app .op-next-a { width: 100%; margin-left: 0; justify-content: space-between; }
  html body.page-app .op-next-a form { flex: 1; display: flex; justify-content: flex-end; }
  html body.page-app .op-next-a .op-btn.is-primary { width: 100%; }
  html body.page-app .op-steps li { flex-basis: 64px; }
  html body.page-app .op-step-l { font-size: 11px; }
  html body.page-app .pv-item { grid-template-columns: 48px minmax(0, 1fr); }
  html body.page-app .pv-thumb { width: 48px; height: 48px; }
  html body.page-app .pv-actions { grid-column: 1 / -1; justify-content: space-between; }
  html body.page-app .ord-page .mod-toolbar-a { width: 100%; justify-content: flex-start; }
  html body.page-app .ord-page .mod-toolbar-a .carts-btn { flex: 1 1 auto; justify-content: center; }
}

/* Pagos por transferencia (.pv): pestañas + buscador + tabla limpia */
html body.page-app .pv-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; min-width: 0; }
html body.page-app .pv-tabs { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--op-line); border-radius: var(--tc-pill); background: #fff; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
html body.page-app .pv-tab { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: var(--tc-pill); font-size: 13px; font-weight: 500; color: var(--op-sub); text-decoration: none; white-space: nowrap; }
html body.page-app .pv-tab:hover { color: var(--op-text); }
html body.page-app .pv-tab.is-on { background: var(--op-text); color: #fff; }
html body.page-app .pv-tab span { font-size: 12px; font-weight: 500; opacity: .7; }
html body.page-app .pv-filters { display: flex; align-items: center; gap: 10px; flex: 1 1 360px; justify-content: flex-end; min-width: 0; flex-wrap: wrap; }
html body.page-app .pv-search { position: relative; flex: 1 1 240px; max-width: 340px; margin: 0; }
html body.page-app .pv-search i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--op-faint); font-size: 14px; pointer-events: none; }
html body.page-app .pv-search input { width: 100%; height: 38px; padding: 0 14px 0 36px; border: 1px solid var(--op-line); border-radius: var(--tc-pill); background: #fff; font-size: 13.5px; color: var(--op-text); outline: none; }
html body.page-app .pv-search input:focus { border-color: var(--op-text); }
html body.page-app .pv-select { height: 38px; padding: 0 32px 0 14px; border: 1px solid var(--op-line); border-radius: var(--tc-pill); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%230B0B0B' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 14px center; font-size: 13.5px; color: var(--op-text); appearance: none; cursor: pointer; }
html body.page-app .pv-select:focus { border-color: var(--op-text); outline: none; }
html body.page-app .pv-table { overflow: hidden; }
html body.page-app .pv-row { display: grid; grid-template-columns: 48px minmax(0, 1.4fr) minmax(0, 1.2fr) minmax(0, .9fr) minmax(0, .9fr) minmax(170px, auto); gap: 16px; align-items: center; padding: 14px 20px; }
html body.page-app .pv-row + .pv-row { border-top: 1px solid var(--op-line); }
html body.page-app .pv-row-h { padding-top: 12px; padding-bottom: 12px; font-size: 12px; color: var(--op-sub); }
html body.page-app .pv-row .is-r { text-align: right; justify-items: end; }
html body.page-app .pv-rc { width: 48px; height: 48px; padding: 0; border: 1px solid var(--op-line); border-radius: 10px; background: #fff; overflow: hidden; display: grid; place-items: center; font-size: 19px; color: var(--op-text); cursor: zoom-in; }
html body.page-app .pv-rc:hover { border-color: var(--op-text); }
html body.page-app .pv-rc img { width: 100%; height: 100%; object-fit: cover; }
html body.page-app .pv-rc.is-none { cursor: default; color: var(--op-faint); }
html body.page-app .pv-who, html body.page-app .pv-date, html body.page-app .pv-val { display: grid; gap: 2px; min-width: 0; }
html body.page-app .pv-who a { font-size: 14px; font-weight: 600; color: var(--op-text); text-decoration: none; }
html body.page-app .pv-who a:hover { text-decoration: underline; text-underline-offset: 3px; }
html body.page-app .pv-who small, html body.page-app .pv-date small { font-size: 12.5px; color: var(--op-sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body.page-app .pv-acc { font-size: 13px; color: var(--op-text); overflow-wrap: anywhere; }
html body.page-app .pv-date { font-size: 13px; }
html body.page-app .pv-val b { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
html body.page-app .pv-act { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
html body.page-app .pv-act form { margin: 0; }
html body.page-app .pv-act .op-btn.is-primary { height: 36px; padding: 0 16px; }
html body.page-app .pv-rev { font-size: 12.5px; color: var(--op-sub); text-align: right; overflow-wrap: anywhere; }
html body.page-app .pv-empty { display: grid; justify-items: center; gap: 6px; padding: 48px 24px; text-align: center; }
html body.page-app .pv-empty > i { font-size: 26px; color: var(--op-faint); }
html body.page-app .pv-empty h2 { margin: 6px 0 0; font-size: 15px; font-weight: 600; }
html body.page-app .pv-empty p { margin: 0; max-width: 380px; font-size: 13px; color: var(--op-sub); }
@media (max-width: 991.98px) {
  html body.page-app .pv-row-h { display: none; }
  html body.page-app .pv-row { grid-template-columns: 48px minmax(0, 1fr) auto; grid-template-areas: "rc who val" "rc acc val" "act act act"; gap: 4px 14px; padding: 16px; }
  html body.page-app .pv-row > :nth-child(1) { grid-area: rc; align-self: start; }
  html body.page-app .pv-row > .pv-who { grid-area: who; }
  html body.page-app .pv-row > .pv-acc { grid-area: acc; font-size: 12.5px; color: var(--op-sub); }
  html body.page-app .pv-row > .pv-date { display: none; }
  html body.page-app .pv-row > .pv-val { grid-area: val; align-self: start; }
  html body.page-app .pv-row > .pv-act { grid-area: act; margin-top: 10px; justify-content: flex-end; }
  html body.page-app .pv-row > .pv-act:empty { display: none; }
  html body.page-app .pv-filters { justify-content: flex-start; flex-basis: 100%; }
  html body.page-app .pv-search { max-width: none; }
}

/* Detalle del pedido · tableta y celular */
html body.page-app .op { align-content: start; }
@media (max-width: 991.98px) {
  html body.page-app .op-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 575.98px) {
  html body.page-app .op { gap: 16px; }
  html body.page-app .op-head { flex-wrap: nowrap; align-items: flex-start; gap: 12px; }
  html body.page-app .op-btn.op-back { width: 36px; height: 36px; }
  html body.page-app .op-head h1 { font-size: 20px; }
  html body.page-app .op-head-a { gap: 6px; }
  html body.page-app .op-head-a .op-btn:not(.is-icon) span { display: none; }
  html body.page-app .op-head-a .op-btn:not(.is-icon) { width: 36px; padding: 0; }
  html body.page-app .op-steps li { flex: 1 0 44px; }
  html body.page-app .op-steps li:not(.is-now) .op-step-l { visibility: hidden; }
  html body.page-app .op-steps li:first-child.is-now { justify-items: start; }
  html body.page-app .op-steps li:last-child.is-now { justify-items: end; }
  html body.page-app .op-next { padding: 16px; }
  html body.page-app .op-next-a { width: 100%; margin-left: 0; justify-content: space-between; }
  html body.page-app .op-next-a form { flex: 1; display: flex; justify-content: flex-end; }
  html body.page-app .op-next-a .op-btn.is-primary { width: 100%; }
  html body.page-app .op-card { padding: 16px; }
  html body.page-app .op-tbl { margin: 0 -16px; }
  html body.page-app .op-tr { grid-template-columns: minmax(0, 1fr) auto; padding: 12px 16px; }
  html body.page-app .op-th { display: none; }
  html body.page-app .op-tr > .is-c, html body.page-app .op-tr > .op-sub { display: none; }
  html body.page-app .op-list .op-chip { display: none; }
}

html body.page-app .op-only-m { display: none !important; }
@media (max-width: 575.98px) { html body.page-app .op-only-m { display: block !important; } }
/* Celular/tableta: Productos → Cliente → Envío → Pagos → Actividad → Fecha */
@media (max-width: 991.98px) {
  html body.page-app .op-grid { display: flex; flex-direction: column; align-items: stretch; }
  html body.page-app .op-col { display: contents; }
  html body.page-app .op-card[aria-labelledby="op-items-t"] { order: 1; }
  html body.page-app .op-card[aria-labelledby="op-cust-t"] { order: 2; }
  html body.page-app .op-card[aria-labelledby="op-ship-t"] { order: 3; }
  html body.page-app .op-card[aria-labelledby="op-pay-t"] { order: 4; }
  html body.page-app .op-card[aria-labelledby="op-tl-t"] { order: 5; }
  html body.page-app .op-card[aria-labelledby="op-due-t"] { order: 6; }
}

/* ==========================================================================
   v6.3e · Detalle del pedido ordenado: franja resumen + pestañas + una tarjeta lateral
   ========================================================================== */
/* Siguiente paso más liviano */
html body.page-app .op-next { padding: 14px 16px 14px 14px; background: #FAFAF9; border-color: transparent; }
html body.page-app .op-next.is-cancelled { background: #FEF3F2; }
/* Franja resumen */
html body.page-app .op-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--op-line); border-radius: 14px; background: #fff; }
html body.page-app .op-kpis > div { display: grid; gap: 2px; min-width: 0; padding: 16px 20px; }
html body.page-app .op-kpis > div + div { border-left: 1px solid var(--op-line); }
html body.page-app .op-kpis small { font-size: 12px; color: var(--op-sub); }
html body.page-app .op-kpis b { font-size: 16px; font-weight: 600; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body.page-app .op-kpis span { font-size: 12.5px; color: var(--op-sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Columna principal con pestañas */
html body.page-app .op-main { padding: 0; overflow: hidden; }
html body.page-app .op-tabs { display: flex; align-items: center; gap: 4px; padding: 0 20px; border-bottom: 1px solid var(--op-line); overflow-x: auto; scrollbar-width: none; }
html body.page-app .op-tab { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 50px; padding: 0 10px; border: 0; background: none; font: 500 13.5px/1 var(--tc-font); color: var(--op-sub); white-space: nowrap; cursor: pointer; }
html body.page-app .op-tab:hover { color: var(--op-text); }
html body.page-app .op-tab.is-on { color: var(--op-text); font-weight: 600; }
html body.page-app .op-tab.is-on::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--op-text); }
html body.page-app .op-tab span { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #F3F3F2; font-size: 11px; font-weight: 600; color: var(--op-sub); display: inline-grid; place-items: center; }
html body.page-app .op-tabs-a { margin-left: auto; display: inline-flex; padding-left: 12px; }
html body.page-app .op-tabs-a [hidden] { display: none !important; }
html body.page-app .op-pane { padding: 4px 20px 20px; }
html body.page-app .op-pane[data-op-pane="items"] { padding-top: 0; }
html body.page-app .op-pane[data-op-pane="pay"], html body.page-app .op-pane[data-op-pane="log"] { padding-top: 18px; }
html body.page-app .op-pane .op-th { padding-top: 14px; }
html body.page-app .op-main .op-tbl { margin: 0 -20px; }
/* Tarjeta lateral única */
html body.page-app .op-side { padding: 0; }
html body.page-app .op-side-sec { padding: 20px; }
html body.page-app .op-side-sec + .op-side-sec { border-top: 1px solid var(--op-line); }
html body.page-app .op-side-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
html body.page-app .op-side-h h2 { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--op-sub); }
html body.page-app .op-avatar { width: 44px; height: 44px; background: #EFEFEE; color: var(--op-text); font-size: 15px; }
html body.page-app .op-contact { margin-top: 14px; padding-top: 0; border-top: 0; }
html body.page-app .op-side .op-quote { background: #FAFAF9; border-color: transparent; }
html body.page-app .op-side .op-dlv { margin-top: 14px; }
html body.page-app .op-side .op-dlv-row { padding: 10px 0; }
@media (max-width: 991.98px) {
  html body.page-app .op-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
  html body.page-app .op-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body.page-app .op-kpis > div:nth-child(3) { border-left: 0; }
  html body.page-app .op-kpis > div:nth-child(n+3) { border-top: 1px solid var(--op-line); }
}
@media (max-width: 575.98px) {
  html body.page-app .op-kpis > div { padding: 12px 14px; }
  html body.page-app .op-kpis b { font-size: 14.5px; }
  html body.page-app .op-tabs { padding: 0 8px; }
  html body.page-app .op-pane { padding: 4px 16px 16px; }
  html body.page-app .op-main .op-tbl { margin: 0 -16px; }
  html body.page-app .op-side-sec { padding: 16px; }
}

/* ==========================================================================
   v6.3g · Detalle del pedido con la misma visual del seguimiento del cliente
   ========================================================================== */
html body.page-app .app-main:has(> .op) { padding-top: 36px !important; }
html body.page-app .op-trk { max-width: 1040px; gap: 16px; }
html body.page-app .op-trk .op-head { margin-bottom: 8px; }
/* Tarjeta de estado (= trk-hero) */
html body.page-app .op-hero { padding: 22px 24px; border: 1px solid #EDEDEB; border-radius: 16px; background: #fff; }
html body.page-app .op-hero-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
html body.page-app .op-live { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; background: #F3F3F1; font-size: 12px; font-weight: 500; color: #3A3A37; }
html body.page-app .op-live > i { width: 6px; height: 6px; border-radius: 50%; background: #0B0B0B; }
html body.page-app .is-ok .op-live { background: #EEF8F1; color: #18794E; } html body.page-app .is-ok .op-live > i { background: #22A06B; }
html body.page-app .is-warn .op-live { background: #FDF4E7; color: #94590B; } html body.page-app .is-warn .op-live > i { background: #E5A00D; }
html body.page-app .op-hero-tags { display: inline-flex; align-items: center; gap: 10px; }
html body.page-app .op-hero-tags time { font-size: 12px; color: #8A8A86; font-variant-numeric: tabular-nums; }
html body.page-app .op-hero-title { margin: 14px 0 4px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
html body.page-app .op-hero-sub { margin: 0; font-size: 14px; line-height: 1.45; color: #55554F; }
html body.page-app .op-bar { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; }
html body.page-app .op-bar span { display: block; height: 4px; border-radius: 999px; background: #EDEDEB; }
html body.page-app .op-bar li.is-done span { background: #0B0B0B; }
html body.page-app .is-ok ~ .op-bar li.is-done span { background: #22A06B; }
html body.page-app .op-stepnote { margin: 8px 0 0; font-size: 12.5px; color: #8A8A86; }
html body.page-app .op-stepnote b { color: #0B0B0B; font-weight: 600; }
html body.page-app .op-hero-a { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; margin-top: 18px; padding-top: 18px; border-top: 1px solid #F1F1EF; }
html body.page-app .op-hero-go { display: inline-flex; align-items: center; gap: 18px; margin-left: auto; }
html body.page-app .op-hero-go form, html body.page-app .op-hero-a form { margin: 0; }
html body.page-app .op-rcbtn { display: inline-flex; align-items: center; gap: 12px; padding: 6px 14px 6px 6px; border: 1px solid #EDEDEB; border-radius: 14px; background: #fff; text-align: left; cursor: zoom-in; }
html body.page-app .op-rcbtn:hover { border-color: #0B0B0B; }
html body.page-app .op-rcbtn-img { width: 44px; height: 44px; border-radius: 10px; overflow: hidden; display: grid; place-items: center; background: #F5F5F3; font-size: 18px; }
html body.page-app .op-rcbtn-img img { width: 100%; height: 100%; object-fit: cover; }
html body.page-app .op-rcbtn > span:last-child { display: grid; gap: 1px; }
html body.page-app .op-rcbtn b { font-size: 13.5px; font-weight: 600; }
html body.page-app .op-rcbtn small { font-size: 12px; color: #8A8A86; }
/* Tarjetas (= trk-card) */
html body.page-app .op-trk .op-card { padding: 20px; border-color: #EDEDEB; border-radius: 16px; }
html body.page-app .op-trk .op-card-h { margin-bottom: 14px; align-items: baseline; }
html body.page-app .op-trk .op-card-h h2 { font-size: 13px; }
html body.page-app .op-trk .op-card-h .op-mute { font-size: 12.5px; color: #8A8A86; }
html body.page-app .op-buy { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
html body.page-app .op-buy li { display: flex; align-items: center; gap: 12px; min-width: 0; }
html body.page-app .op-buy .op-thumb { border: 0; background: #F5F5F3; color: #A3A39F; }
html body.page-app .op-buy-t { flex: 1; min-width: 0; display: grid; gap: 1px; line-height: 1.3; }
html body.page-app .op-buy-t b { font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body.page-app .op-buy-t small { font-size: 12.5px; color: #8A8A86; }
html body.page-app .op-buy .op-amt { font-weight: 500; }
html body.page-app .op-buysum { margin: 16px 0 0; padding-top: 12px; border-top: 1px solid #F1F1EF; display: grid; gap: 6px; }
html body.page-app .op-buysum > div { display: flex; justify-content: space-between; font-size: 13px; color: #6E6E6B; }
html body.page-app .op-buysum dt { font-weight: 400; } html body.page-app .op-buysum dd { margin: 0; font-variant-numeric: tabular-nums; }
html body.page-app .op-buysum .is-total { font-size: 15px; font-weight: 600; color: #0B0B0B; }
html body.page-app .op-buysum .is-due { color: #94590B; font-weight: 500; }
html body.page-app .op-arrow { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding: 0; border: 0; background: none; font-size: 13.5px; font-weight: 500; color: #0B0B0B; cursor: pointer; }
html body.page-app .op-arrow .bi-arrow-right { transition: transform .2s; }
html body.page-app .op-arrow:hover .bi-arrow-right { transform: translateX(3px); }
/* Entrega: filas como trk-rows */
html body.page-app .op-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
html body.page-app .op-rows li { display: grid; grid-template-columns: 18px 72px minmax(0, 1fr); align-items: baseline; gap: 8px; font-size: 13.5px; }
html body.page-app .op-rows li > i { color: #8A8A86; font-size: 13px; }
html body.page-app .op-rows small { font-size: 12.5px; color: #8A8A86; }
html body.page-app .op-rows span { overflow-wrap: anywhere; }
html body.page-app .op-due-box { display: grid; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #F1F1EF; }
html body.page-app .op-due-box > small { font-size: 12.5px; color: #3F3F3D; }
html body.page-app .op-due-box > small .op-mute { color: #8A8A86; }
html body.page-app .op-trk .op-dlv { margin-top: 4px; }
html body.page-app .op-trk .op-dlv-row { border-top-color: #F1F1EF; }
@media (max-width: 575.98px) {
  html body.page-app .app-main:has(> .op) { padding-top: 20px !important; }
  html body.page-app .op-hero { padding: 18px 16px; }
  html body.page-app .op-hero-title { font-size: 19px; }
  html body.page-app .op-hero-go { width: 100%; margin-left: 0; justify-content: space-between; }
  html body.page-app .op-hero-go form { flex: 1; display: flex; justify-content: flex-end; }
  html body.page-app .op-rcbtn { width: 100%; }
}

html body.page-app .op-due-box .op-hint { margin: 0; font-size: 12px; color: #8A8A86; }

/* v6.3f · Listado de pedidos sin animaciones ni bordes de color en los pedidos nuevos */
html body.page-app .ord-item.is-new { box-shadow: none !important; background: transparent; }
html body.page-app .ord-item.nx-glow { animation: none !important; outline: 0 !important; }
html body.page-app .ord-page .ord-dot { animation: none !important; box-shadow: none !important; }

/* v6.3 · Más herramientas › Herramientas gratis (añadir al menú) y botón «+» del menú */
html body.page-app .tc-add { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid #E2E2E0; font-size: 11px; color: #3F3F3D; }
html body.page-app .tl-free { margin: 0 0 28px; }
html body.page-app .tl-free-h h2, html body.page-app .tl-soon-h { margin: 0; font-size: 15px; font-weight: 600; }
html body.page-app .tl-soon-h { margin: 0 0 12px; }
html body.page-app .tl-free-h p { margin: 2px 0 14px; font-size: 13.5px; color: #6E6E6B; }
html body.page-app .tl-free-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
html body.page-app .tl-free-i { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid #EDEDEB; border-radius: 16px; background: #fff; min-width: 0; }
html body.page-app .tl-free-ic { flex: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid #EDEDEB; display: grid; place-items: center; font-size: 19px; color: #0B0B0B; }
html body.page-app .tl-free-t { flex: 1; min-width: 0; display: grid; gap: 2px; }
html body.page-app .tl-free-t b { font-size: 14.5px; font-weight: 600; }
html body.page-app .tl-free-t small { font-size: 12.5px; line-height: 1.4; color: #6E6E6B; }
html body.page-app .tl-free-a { flex: none; display: grid; justify-items: end; gap: 6px; }
html body.page-app .tl-free-a form { margin: 0; }
html body.page-app .tl-free-btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border: 1px solid #0B0B0B; border-radius: 999px; background: #fff; color: #0B0B0B; font-size: 13px; font-weight: 500; white-space: nowrap; cursor: pointer; }
html body.page-app .tl-free-btn:hover { background: #F5F5F3; }
html body.page-app .tl-free-btn.is-on { border-color: #D5EEDD; background: #EEF8F1; color: #18794E; }
html body.page-app .tl-free-btn.is-on:hover { border-color: #F3C9C5; background: #FEF3F2; color: #B42318; }
html body.page-app .tl-free-open { font-size: 12.5px; font-weight: 500; color: #0B0B0B; }

/* v6.3h · Barra de avance compacta y animada (el tramo del paso actual se llena al cambiar de estado) */
html body.page-app .op-bar { max-width: 420px; gap: 5px; }
html body.page-app .op-bar span { position: relative; height: 6px; overflow: hidden; background: #EDEDEB; }
html body.page-app .op-bar li.is-done span { background: #EDEDEB; }
html body.page-app .op-bar span::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #0B0B0B; transform: scaleX(0); transform-origin: left; }
html body.page-app .op-bar li.is-done span::after { transform: scaleX(1); }
html body.page-app .is-ok ~ .op-bar li.is-done span::after { background: #22A06B; }
html body.page-app .op-bar li.is-last span::after { animation: opFill .9s cubic-bezier(.2, .8, .2, 1) .15s both; }
html body.page-app .op-bar li.is-now span::after { animation: opFill .9s cubic-bezier(.2, .8, .2, 1) .15s both, opGlow 2s ease-in-out 1.2s infinite; }
@keyframes opFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes opGlow { 50% { opacity: .55; } }
html body.page-app .op-stepnote { animation: opNote .5s ease .3s both; }
@keyframes opNote { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { html body.page-app .op-bar li span::after, html body.page-app .op-stepnote { animation: none !important; } }

/* v6.3i · Más herramientas: mismo formato para gratis y premium */
html body.page-app .tl-sec { margin: 0 0 28px; }
html body.page-app .tl-sec-h h2 { margin: 0; font-size: 15px; font-weight: 600; }
html body.page-app .tl-sec-h p { margin: 2px 0 14px; font-size: 13.5px; color: #6E6E6B; }
html body.page-app .tl-free-i { align-items: center; }
html body.page-app .tl-free-a { justify-items: center; }
html body.page-app .tl-free-btn { text-decoration: none; }
html body.page-app .tl-pro-tag { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; background: #F3F3F1; font-size: 13px; font-weight: 500; color: #3F3F3D; white-space: nowrap; }
html body.page-app .tl-pro-tag.is-on { background: #EEF8F1; color: #18794E; }
@media (max-width: 575.98px) { html body.page-app .tl-free-list { grid-template-columns: minmax(0, 1fr); } html body.page-app .tl-free-i { flex-wrap: wrap; } html body.page-app .tl-free-a { width: 100%; justify-items: stretch; } html body.page-app .tl-free-a .tl-free-btn, html body.page-app .tl-free-a .tl-pro-tag { width: 100%; justify-content: center; } }

/* v6.3j · Menú de la cuenta (arriba a la derecha): lista limpia con líneas de separación */
html body.page-app .acct-pop.acct2 { width: 280px; padding: 6px 0; border: 1px solid #EDEDEB; border-radius: 14px; background: #fff; box-shadow: 0 12px 36px rgba(11, 11, 11, .12); font-family: var(--tc-font); overflow: hidden; }
html body.page-app .acct2-me { display: flex; align-items: center; gap: 12px; padding: 12px 16px 14px; min-width: 0; }
html body.page-app .acct2-me > div { display: grid; gap: 1px; min-width: 0; }
html body.page-app .acct2-me strong { font-size: 14px; font-weight: 600; color: #0B0B0B; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body.page-app .acct2-me small { font-size: 12.5px; color: #6E6E6B; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body.page-app .acct2-list { display: grid; padding: 6px; border-top: 1px solid #EDEDEB; }
html body.page-app .acct2-list > a, html body.page-app .acct2-list > button, html body.page-app .acct2-sub > a { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 36px; padding: 0 10px; border: 0; border-radius: 8px; background: none; color: #0B0B0B; font: 400 14px/1.2 var(--tc-font); text-align: left; text-decoration: none; cursor: pointer; }
html body.page-app .acct2-list > a:hover, html body.page-app .acct2-list > button:hover, html body.page-app .acct2-sub > a:hover { background: #F5F5F4; color: #0B0B0B; }
html body.page-app .acct2-list i.bi { width: 18px; flex: none; text-align: center; font-size: 15px; color: #55554F; }
html body.page-app .acct2-list span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body.page-app .acct2-list img, html body.page-app .acct2-logo { flex: none; width: 20px; height: 20px; border-radius: 6px; object-fit: cover; }
html body.page-app .acct2-logo { display: grid; place-items: center; background: #EFEFEE; font-size: 9px; font-weight: 600; }
html body.page-app .acct2-list em { font-style: normal; font-size: 12px; color: #6E6E6B; font-variant-numeric: tabular-nums; }
html body.page-app .acct2-list em.is-danger { color: #B42318; }
html body.page-app .acct2-list em.is-new { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #F3F3F1; color: #3F3F3D; font-weight: 600; display: inline-grid; place-items: center; }
html body.page-app .acct2-list .acct-caret { margin-left: auto; font-size: 12px !important; width: auto !important; transition: transform .2s; }
html body.page-app .acct2-list [aria-expanded="true"] .acct-caret { transform: rotate(180deg); }
html body.page-app .acct2-sub { display: grid; padding: 2px 0 2px 18px; }

/* v6.3k · Pagos: usa todo el ancho del módulo (medios de pago a la izquierda, entregas a la derecha) */
html body.page-app .pm { max-width: none; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; column-gap: 24px; }
html body.page-app .pm > .pm-head, html body.page-app .pm > .pm-note { grid-column: 1 / -1; }
@media (max-width: 1099.98px) { html body.page-app .pm { grid-template-columns: minmax(0, 1fr); } }

/* v6.3l · Avance del pedido con círculos (animado): los pasos hechos aparecen uno a uno, la línea se llena y el actual late */
html body.page-app .op-flowc { list-style: none; margin: 22px 0 0; padding: 0; display: flex; max-width: 640px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
html body.page-app .op-flowc::-webkit-scrollbar { display: none; }
html body.page-app .op-flowc li { position: relative; flex: 1 0 64px; display: grid; justify-items: center; gap: 8px; text-align: center; }
html body.page-app .op-flowc li::before, html body.page-app .op-flowc li::after { content: ""; position: absolute; top: 13px; right: calc(50% + 17px); width: calc(100% - 34px); height: 2px; border-radius: 2px; background: #EDEDEB; }
html body.page-app .op-flowc li::after { background: #0B0B0B; transform: scaleX(0); transform-origin: left; }
html body.page-app .op-flowc li:first-child::before, html body.page-app .op-flowc li:first-child::after { display: none; }
html body.page-app .op-flowc li:is(.is-done, .is-now)::after { animation: opLine .45s ease-out both; }
html body.page-app .op-c { position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid #E2E2E0; background: #fff; color: #A3A39F; font-size: 12px; }
html body.page-app .op-c b { font-weight: 600; }
html body.page-app .op-flowc li.is-done .op-c { border-color: #0B0B0B; background: #0B0B0B; color: #fff; animation: opPop .4s cubic-bezier(.3, 1.5, .5, 1) both; }
html body.page-app .op-flowc li.is-now .op-c { border: 2px solid #0B0B0B; color: #0B0B0B; animation: opPop .4s cubic-bezier(.3, 1.5, .5, 1) both, opRing 2s ease-out 1.2s infinite; }
html body.page-app .op-flowc small { font-size: 12px; color: #A3A39F; white-space: nowrap; }
html body.page-app .op-flowc li.is-done small { color: #6E6E6B; }
html body.page-app .op-flowc li.is-now small { color: #0B0B0B; font-weight: 600; }
html body.page-app .is-ok ~ .op-flowc li.is-done .op-c { background: #22A06B; border-color: #22A06B; }
html body.page-app .is-ok ~ .op-flowc li::after { background: #22A06B; }
html body.page-app .op-flowc li:nth-child(1) .op-c { animation-delay: 0.08s; } html body.page-app .op-flowc li:nth-child(1)::after { animation-delay: 0.00s; }
html body.page-app .op-flowc li:nth-child(2) .op-c { animation-delay: 0.20s; } html body.page-app .op-flowc li:nth-child(2)::after { animation-delay: 0.12s; }
html body.page-app .op-flowc li:nth-child(3) .op-c { animation-delay: 0.32s; } html body.page-app .op-flowc li:nth-child(3)::after { animation-delay: 0.24s; }
html body.page-app .op-flowc li:nth-child(4) .op-c { animation-delay: 0.44s; } html body.page-app .op-flowc li:nth-child(4)::after { animation-delay: 0.36s; }
html body.page-app .op-flowc li:nth-child(5) .op-c { animation-delay: 0.56s; } html body.page-app .op-flowc li:nth-child(5)::after { animation-delay: 0.48s; }
html body.page-app .op-flowc li:nth-child(6) .op-c { animation-delay: 0.68s; } html body.page-app .op-flowc li:nth-child(6)::after { animation-delay: 0.60s; }
html body.page-app .op-flowc li:nth-child(7) .op-c { animation-delay: 0.80s; } html body.page-app .op-flowc li:nth-child(7)::after { animation-delay: 0.72s; }
html body.page-app .op-flowc li:nth-child(8) .op-c { animation-delay: 0.92s; } html body.page-app .op-flowc li:nth-child(8)::after { animation-delay: 0.84s; }
@keyframes opLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes opPop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes opRing { 0% { box-shadow: 0 0 0 0 rgba(11, 11, 11, .25); } 80%, 100% { box-shadow: 0 0 0 8px rgba(11, 11, 11, 0); } }
@media (max-width: 575.98px) { html body.page-app .op-flowc li { flex-basis: 52px; } html body.page-app .op-flowc li:not(.is-now) small { visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { html body.page-app .op-flowc li::after, html body.page-app .op-c { animation: none !important; } html body.page-app .op-flowc li:is(.is-done, .is-now)::after { transform: scaleX(1); } }

/* v6.3m · Tarjeta de estado del pedido: avance a la izquierda y el siguiente paso a la derecha (sin huecos) */
html body.page-app .op-hero-body { display: grid; gap: 20px; margin-top: 14px; }
html body.page-app .op-hero-body.has-side { grid-template-columns: minmax(0, 1fr) 280px; gap: 0; align-items: stretch; }
html body.page-app .op-hero-main { min-width: 0; }
html body.page-app .op-hero-body.has-side .op-hero-main { padding-right: 24px; }
html body.page-app .op-hero-main .op-hero-title { margin-top: 0; }
html body.page-app .op-hero-main .op-flowc { max-width: none; margin-top: 20px; }
html body.page-app .op-hero-main .op-stepnote { margin-top: 10px; }
html body.page-app .op-hero-side { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding-left: 24px; border-left: 1px solid #F1F1EF; }
html body.page-app .op-side-k { font-size: 12px; color: #8A8A86; }
html body.page-app .op-hero-side form { margin: 0; }
html body.page-app .op-hero-side .op-btn.is-primary { width: 100%; height: 44px; justify-content: center; }
html body.page-app .op-hero-side .op-link { align-self: center; }
html body.page-app .op-hero-side .op-rcbtn { width: 100%; padding-right: 12px; }
html body.page-app .op-hero-side .op-rcbtn > span:nth-child(2) { flex: 1; min-width: 0; }
html body.page-app .op-hero-side .op-rcbtn small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body.page-app .op-hero-side .op-rcbtn > .bi { color: #8A8A86; font-size: 13px; }
@media (max-width: 899.98px) {
  html body.page-app .op-hero-body.has-side { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  html body.page-app .op-hero-body.has-side .op-hero-main { padding-right: 0; }
  html body.page-app .op-hero-side { padding: 18px 0 0; border-left: 0; border-top: 1px solid #F1F1EF; }
}
html body.page-app .op-hero-side .op-rcbtn > span:nth-child(2) { display: grid; gap: 1px; text-align: left; }
html body.page-app .op-hero-side .op-rcbtn b { white-space: nowrap; }
@media (max-width: 575.98px) { html body.page-app .op-flowc li { flex: 1 1 0; min-width: 0; } html body.page-app .op-flowc li.is-now small { overflow: visible; } html body.page-app .op-flowc li:first-child.is-now { justify-items: start; } }

/* v6.3n · Menú: «Más herramientas» como botón punteado semitransparente con + */
html body.page-app .tc-more-tools { display: flex; align-items: center; gap: 10px; margin: 6px 0 2px; padding: 0 12px; height: 38px; border: 1.5px dashed #D4D4D2; border-radius: 10px; background: rgba(255, 255, 255, .55); color: #6E6E6B; font-size: 14px; font-weight: 500; text-decoration: none; transition: border-color .15s, color .15s, background-color .15s; }
html body.page-app .tc-more-tools > .bi { width: 20px; text-align: center; font-size: 15px; }
html body.page-app .tc-more-tools:hover, html body.page-app .tc-more-tools.is-active { border-color: #9C9C98; background: rgba(255, 255, 255, .9); color: #0B0B0B; }
html body.page-app.sidebar-mini .tc-more-tools { justify-content: center; padding: 0; }
html body.page-app.sidebar-mini .tc-more-tools .tc-link-text { display: none; }

/* v6.3o · «Más herramientas» más discreto */
html body.page-app .tc-more-tools { display: inline-flex; width: auto; height: 30px; margin: 8px 0 2px 6px; padding: 0 12px 0 9px; gap: 6px; border-width: 1px; border-color: #DCDCD9; border-radius: 999px; background: transparent; font-size: 12.5px; color: #8A8A86; }
html body.page-app .tc-more-tools > .bi { width: auto; font-size: 12px; }
html body.page-app .tc-more-tools:hover, html body.page-app .tc-more-tools.is-active { background: rgba(255, 255, 255, .7); color: #3F3F3D; border-color: #B9B9B5; }
html body.page-app.sidebar-mini .tc-more-tools { width: 30px; margin-left: auto; margin-right: auto; padding: 0; }


/* v6.3p · Más herramientas: tarjetas iguales en cuadrícula, acción siempre abajo */
html body.page-app .tl2 { max-width: 1080px; }
html body.page-app .tl2-head { margin: 0 0 28px; }
html body.page-app .tl2-sec { margin: 0 0 36px; }
html body.page-app .tl2-sec-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid #EDEDEB; }
html body.page-app .tl2-sec-h h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 16px; font-weight: 600; }
html body.page-app .tl2-sec-h p { margin: 2px 0 0; font-size: 13px; color: #6E6E6B; }
html body.page-app .tl2-plan { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 999px; background: #F3F3F1; font-size: 11.5px; font-weight: 500; color: #3F3F3D; }
html body.page-app .tl2-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
html body.page-app .tl2-card { display: flex; flex-direction: column; min-width: 0; padding: 18px; border: 1px solid #EDEDEB; border-radius: 16px; background: #fff; transition: border-color .15s, box-shadow .15s; }
html body.page-app .tl2-card:hover { border-color: #DCDCD9; box-shadow: 0 6px 18px rgba(11, 11, 11, .05); }
html body.page-app .tl2-card.is-on { border-color: #D5EEDD; }
html body.page-app .tl2-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
html body.page-app .tl2-ic { width: 42px; height: 42px; border-radius: 12px; border: 1px solid #EDEDEB; display: grid; place-items: center; font-size: 19px; color: #0B0B0B; background: #fff; }
html body.page-app .tl2-tag { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 9px; border-radius: 999px; background: #F3F3F1; font-size: 11.5px; font-weight: 500; color: #55554F; white-space: nowrap; }
html body.page-app .tl2-tag.is-on { background: #EEF8F1; color: #18794E; }
html body.page-app .tl2-card h3 { margin: 0 0 4px; font-size: 14.5px; font-weight: 600; }
html body.page-app .tl2-card p { margin: 0; font-size: 13px; line-height: 1.45; color: #6E6E6B; }
html body.page-app .tl2-card.is-pro p { margin-bottom: 0; }
html body.page-app .tl2-foot { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; }
html body.page-app .tl2-foot form { margin: 0; }
html body.page-app .tl2-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; padding: 0 14px; border: 1px solid #E2E2E0; border-radius: 999px; background: #fff; color: #0B0B0B; font-size: 13px; font-weight: 500; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .15s, border-color .15s; }
html body.page-app .tl2-btn:hover { background: #F5F5F3; border-color: #D4D4D2; color: #0B0B0B; }
html body.page-app .tl2-btn.is-main { border-color: #0B0B0B; }
@media (max-width: 575.98px) { html body.page-app .tl2-grid { grid-template-columns: minmax(0, 1fr); } html body.page-app .tl2-foot > * { flex: 1; } html body.page-app .tl2-foot .tl2-btn { width: 100%; } }

/* v6.3q · Menú: la herramienta aparece o sale con una transición suave */
html body.page-app .tc-nav .tc-link { transition: opacity .22s ease, transform .22s ease, background-color .15s; }
html body.page-app .tc-nav .tc-link.is-arriving, html body.page-app .tc-nav .tc-link.is-leaving { opacity: 0; transform: translateX(-6px); }
html body.page-app .tl2-card { transition: border-color .2s, box-shadow .2s; }
html body.page-app .tl2-foot [hidden], html body.page-app .tl2-top [hidden] { display: none !important; }

/* v6.3r · Pagos: «Cobrar en la tienda en línea» (pedir o no el pago al hacer el pedido) */
html body.page-app .pm-ask { grid-column: 1 / -1; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 18px 20px; border: 1px solid #EDEDEB; border-radius: 16px; background: #fff; }
html body.page-app .pm-ask.is-on { border-color: #D5EEDD; }
html body.page-app .pm-ask-t h2 { margin: 0; font-size: 15px; font-weight: 600; }
html body.page-app .pm-ask-t > p { margin: 4px 0 12px; font-size: 13.5px; color: #55554F; max-width: 640px; }
html body.page-app .pm-ask-cases { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
html body.page-app .pm-ask-cases li { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 1px solid #EDEDEB; border-radius: 12px; min-width: 240px; flex: 1 1 240px; max-width: 340px; color: #8A8A86; }
html body.page-app .pm-ask-cases li.is-cur { border-color: #0B0B0B; color: #0B0B0B; }
html body.page-app .pm-ask-cases i { font-size: 16px; margin-top: 1px; }
html body.page-app .pm-ask-cases span { display: grid; gap: 1px; font-size: 12.5px; line-height: 1.4; }
html body.page-app .pm-ask-cases b { font-size: 13px; font-weight: 600; }
html body.page-app .pm-ask form { flex: none; margin: 2px 0 0; }
html body.page-app .pm-ask-sw { width: 2.6em !important; height: 1.4em !important; cursor: pointer; }
html body.page-app .pm-sec.is-off .pm-list { opacity: .55; }
html body.page-app .pm-off-note { display: flex; gap: 8px; margin: 0 0 4px; padding: 10px 12px; border-radius: 12px; background: #FDF4E7; font-size: 13px; color: #7A4B00; }
@media (max-width: 575.98px) { html body.page-app .pm-ask { flex-direction: column-reverse; } }

/* v6.3s · Pagos por secciones: a la izquierda qué es, a la derecha la configuración */
html body.page-app .pm.pm2 { display: block; max-width: 1040px; }
html body.page-app .pm2 .pm-head { margin-bottom: 8px; }
html body.page-app .pm2-row { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 32px; padding: 28px 0; border-top: 1px solid #EDEDEB; }
html body.page-app .pm2 .pm-head + .pm2-row { border-top: 0; }
html body.page-app .pm2-aside h2 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0; font-size: 15px; font-weight: 600; }
html body.page-app .pm2-aside p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.5; color: #6E6E6B; }
html body.page-app .pm2-aside .pm2-btn { margin-top: 14px; }
html body.page-app .pm2-count { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; background: #F3F3F1; font-size: 11.5px; font-weight: 500; color: #55554F; }
html body.page-app .pm2-card { min-width: 0; border: 1px solid #EDEDEB; border-radius: 16px; background: #fff; overflow: hidden; }
html body.page-app .pm2-card .pm-list { border: 0; border-radius: 0; }
html body.page-app .pm2-card .pm-row { padding: 16px 18px; }
html body.page-app .pm2 .pm-a { display: flex; align-items: center; gap: 12px; margin-left: auto; }
html body.page-app .pm2 .pm-a form { margin: 0; }
html body.page-app .pm2-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; min-width: 92px; padding: 0 14px; border: 1px solid #E2E2E0; border-radius: 999px; background: #fff; color: #0B0B0B; font-size: 13px; font-weight: 500; white-space: nowrap; cursor: pointer; transition: background-color .15s, border-color .15s; }
html body.page-app .pm2-btn:hover { background: #F5F5F3; border-color: #D4D4D2; }
html body.page-app .pm2-btn.is-main { border-color: #0B0B0B; }
html body.page-app .pm2-sw-ph { display: inline-block; width: 2em; }
html body.page-app .pm2-row.is-off .pm-list { opacity: .5; }
html body.page-app .pm2-off { display: flex; gap: 8px; margin: 0; padding: 12px 18px; border-bottom: 1px solid #F1EBDD; background: #FDF8EE; font-size: 13px; color: #7A4B00; }
@media (max-width: 899.98px) {
  html body.page-app .pm2-row { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 22px 0; }
}
@media (max-width: 575.98px) {
  html body.page-app .pm2-card .pm-row { flex-wrap: wrap; padding: 14px; }
  html body.page-app .pm2 .pm-a { width: 100%; justify-content: flex-end; }
}

/* v6.3t · Logos oficiales de medios de pago y horario por día (recoger en tienda) */
html body.page-app .pm-ic.has-logo { background: #fff; border: 1px solid #EDEDEB; padding: 6px; overflow: hidden; }
html body.page-app .pm-ic.has-logo img { width: 100%; height: 100%; object-fit: contain; }
html body.page-app .pk-hours { display: grid; gap: 0; border: 1px solid #EDEDEB; border-radius: 14px; overflow: hidden; background: #fff; }
html body.page-app .pk-day { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 12px; }
html body.page-app .pk-day + .pk-day { border-top: 1px solid #F1F1EF; }
html body.page-app .pk-day-n { display: flex; align-items: center; gap: 10px; width: 130px; flex: none; margin: 0; font-size: 14px; cursor: pointer; }
html body.page-app .pk-day-n .form-check-input { margin: 0; width: 18px; height: 18px; cursor: pointer; }
html body.page-app .pk-day:not(.is-on) .pk-day-n span { color: #9C9C98; }
html body.page-app .pk-day-t { display: flex; align-items: center; gap: 8px; margin-left: auto; }
html body.page-app .pk-day-t i { font-style: normal; font-size: 12.5px; color: #8A8A86; }
html body.page-app .pk-time { width: 116px; height: 36px; padding: 0 10px; border: 1px solid #E2E2E0; border-radius: 10px; background: #FAFAF9; font: 500 14px/1 var(--tc-font); color: #0B0B0B; font-variant-numeric: tabular-nums; }
html body.page-app .pk-time:focus { outline: none; border-color: #0B0B0B; background: #fff; }
html body.page-app .pk-day-off { display: none; margin-left: auto; font-size: 13px; color: #9C9C98; }
html body.page-app .pk-day:not(.is-on) .pk-day-t { display: none; }
html body.page-app .pk-day:not(.is-on) .pk-day-off { display: inline; }
html body.page-app .pk-copy { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 40px; border: 0; border-top: 1px solid #F1F1EF; background: #FAFAF9; font-size: 13px; font-weight: 500; color: #3F3F3D; cursor: pointer; }
html body.page-app .pk-copy:hover { background: #F3F3F1; color: #0B0B0B; }
@media (max-width: 420px) { html body.page-app .pk-day-n { width: auto; flex: 1; } html body.page-app .pk-time { width: 96px; } }
html body.page-app .pk-time { width: 132px; padding: 0 8px; font-size: 13.5px; }
html body.page-app .pk-day-n { width: 118px; }
@media (max-width: 420px) { html body.page-app .pk-time { width: 112px; font-size: 13px; } }

/* v6.3u · Horario por día: selectores compactos en forma de píldora (sin cortes) */
html body.page-app .pk-hours { border-radius: 14px; }
html body.page-app .pk-day { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; min-height: 52px; padding: 8px 14px; }
html body.page-app .pk-day-n { display: flex; align-items: center; gap: 10px; width: auto; min-width: 128px; flex: 1 0 128px; margin: 0; padding: 0; font-size: 14px; font-weight: 500; cursor: pointer; }
html body.page-app .pk-day-n .form-check-input { float: none; flex: none; width: 2.1em; height: 1.15em; margin: 0; cursor: pointer; }
html body.page-app .pk-day-t { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; }
html body.page-app .pk-day-t i { font-style: normal; color: #9C9C98; }
html body.page-app select.pk-time { width: auto; min-width: 0; height: 34px; padding: 0 28px 0 12px; border: 1px solid #E2E2E0; border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%236E6E6B' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 11px center; appearance: none; -webkit-appearance: none; font: 500 13.5px/1 var(--tc-font); color: #0B0B0B; font-variant-numeric: tabular-nums; cursor: pointer; }
html body.page-app select.pk-time:hover { border-color: #C9C9C5; }
html body.page-app select.pk-time:focus { outline: none; border-color: #0B0B0B; box-shadow: 0 0 0 3px rgba(11, 11, 11, .06); }
html body.page-app .pk-day-off { margin-left: auto; font-size: 13px; color: #9C9C98; }

/* v6.3v · Ventanas de Entregas (envío a domicilio / recoger en tienda) */
.pm-dlg .modal-dialog { max-width: 540px; }
.pm-dlg .modal-content { border: 0; border-radius: 20px; overflow: hidden; box-shadow: 0 24px 64px rgba(11, 11, 11, .18); }
.pm-dlg-h { display: flex; align-items: flex-start; gap: 14px; padding: 22px 24px 18px; border-bottom: 1px solid #F1F1EF; }
.pm-dlg-ic { flex: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid #EDEDEB; display: grid; place-items: center; font-size: 19px; color: #0B0B0B; }
.pm-dlg-h > div { flex: 1; min-width: 0; }
.pm-dlg-h h2 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.pm-dlg-h p { margin: 2px 0 0; font-size: 13px; color: #6E6E6B; }
.pm-dlg-h .btn-close { margin: 2px 0 0; font-size: 12px; }
.pm-dlg-b { display: grid; gap: 18px; padding: 20px 24px 22px !important; }
.pm-dlg-f { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 24px; border-top: 1px solid #F1F1EF; background: #FAFAF9; }
.pm-dlg .pm2-btn { display: inline-flex; align-items: center; justify-content: center; height: 38px; padding: 0 18px; border: 1px solid #E2E2E0; border-radius: 999px; background: #fff; color: #0B0B0B; font-size: 13.5px; font-weight: 500; cursor: pointer; }
.pm-dlg .pm2-btn.is-dark { border-color: #0B0B0B; background: #0B0B0B; color: #fff; }
.pm-dlg .pm2-btn.is-dark:hover { background: #2B2B29; }
.pm-sw { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0; padding: 14px 16px; border: 1px solid #EDEDEB; border-radius: 14px; cursor: pointer; }
.pm-sw > span { display: grid; gap: 2px; }
.pm-sw b { font-size: 14px; font-weight: 600; }
.pm-sw small { font-size: 12.5px; color: #6E6E6B; }
.pm-sw .form-check-input { flex: none; float: none; width: 2.4em; height: 1.3em; margin: 0; cursor: pointer; }
.pm-fs { display: grid; gap: 8px; }
.pm-lbl, .pm-f > span:first-child { font-size: 13px; font-weight: 500; color: #3F3F3D; }
.pm-lbl em, .pm-f em { font-style: normal; font-weight: 400; color: #9C9C98; margin-left: 4px; }
.pm-f { display: grid; gap: 6px; margin: 0; }
.pm-f .form-control { height: 42px; border-color: #E2E2E0; border-radius: 12px; font-size: 14px; }
.pm-f textarea.form-control { height: auto; min-height: 84px; padding-top: 10px; }
.pm-f .form-control:focus { border-color: #0B0B0B; box-shadow: 0 0 0 3px rgba(11, 11, 11, .06); }
.pm-hint { font-size: 12px; color: #8A8A86; }
.pm-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pm-grid2[hidden], .pm-note2[hidden] { display: none !important; }
.pm-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pm-opt { position: relative; margin: 0; cursor: pointer; }
.pm-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pm-opt > span { display: grid; gap: 2px; height: 100%; padding: 11px 12px; border: 1px solid #E2E2E0; border-radius: 12px; transition: border-color .15s, background-color .15s; }
.pm-opt b { font-size: 13.5px; font-weight: 600; }
.pm-opt small { font-size: 12px; color: #8A8A86; line-height: 1.3; }
.pm-opt:hover > span { border-color: #C9C9C5; }
.pm-opt input:checked + span { border-color: #0B0B0B; background: #FAFAF9; box-shadow: inset 0 0 0 1px #0B0B0B; }
.pm-opt input:focus-visible + span { box-shadow: 0 0 0 3px rgba(11, 11, 11, .1); }
.pm-note2 { display: flex; gap: 8px; margin: -6px 0 0; padding: 10px 12px; border-radius: 12px; background: #FAFAF9; font-size: 12.5px; color: #55554F; }
@media (max-width: 480px) { .pm-opts, .pm-grid2 { grid-template-columns: minmax(0, 1fr); } .pm-dlg-h, .pm-dlg-b, .pm-dlg-f { padding-left: 18px; padding-right: 18px; } }
.pm-sw.form-switch { padding-left: 16px; }
.pm-sw.form-switch .form-check-input { margin-left: 0; }
/* v6.3w · Menú contraído (solo íconos): sin «Más herramientas» */
html body.page-app.sidebar-mini .tc-more-tools { display: none !important; }

/* ---------- v6.4 · Íconos de la cuenta con la línea del menú (ic-n-*) ---------- */
html body.page-app .acct2-list i.ic { width: 18px; height: 18px; flex: none; color: #55554F; }
html body.page-app .acct2-list > a:hover i.ic, html body.page-app .acct2-list > button:hover i.ic { color: #0B0B0B; }
/* v6.4 · Costo y ganancia en el producto, el listado y el pedido */
html body.page-app .pf-cost { margin-top: 18px; align-items: end; }
html body.page-app .pf-profit { margin: 0 0 10px; font-size: 13px; color: var(--tc-mute); }
html body.page-app .pf-profit.is-up { color: #0E7A55; font-weight: 500; }
html body.page-app .pf-profit.is-down { color: #B42318; font-weight: 500; }
html body.page-app .pl-gain { display: block; margin-top: 2px; font-size: 12px; color: #0E7A55; white-space: nowrap; }
html body.page-app .pl-gain.is-neg { color: #B42318; }
html body.page-app .op-buysum .op-gain dt, html body.page-app .op-buysum .op-gain dd { color: #0E7A55; }
html body.page-app .op-buysum .op-gain.is-neg dt, html body.page-app .op-buysum .op-gain.is-neg dd { color: #B42318; }
html body.page-app .op-buysum .op-gain small { font-size: 11.5px; color: var(--tc-mute); font-weight: 400; }
body.page-app a.tc-plan, body.page-app a.tc-plan:hover { text-decoration: none; color: var(--tc-ink); } /* v6.9 · Plan Gratis como enlace directo a planes */

/* v6.9 · Pagos por transferencia: la clase .pv chocaba con la vista previa del sitio (app.css: .pv { height: 100vh; grid-template-rows: auto auto 1fr })
 * y estiraba la página dejando mucho espacio en blanco. Aquí se anula y se compacta la estructura. */
html body.page-app .op.pv { height: auto; min-height: 0; grid-template-rows: none; align-content: start; gap: 16px; }
html body.page-app .op.pv > .tc-back { margin: 0; }
html body.page-app .op.pv > .op-head { padding-bottom: 4px; }
html body.page-app .op.pv .op-head h1 { margin: 0; }
html body.page-app .op.pv .pv-bar { padding: 10px; border: 1px solid var(--op-line); border-radius: 16px; background: #fff; }
html body.page-app .op.pv .pv-bar + .op-panel { margin-top: -4px; }
html body.page-app .op.pv .pv-row { padding: 12px 18px; }
html body.page-app .op.pv .pv-row-h { padding-top: 10px; padding-bottom: 10px; background: #FAFAF9; font-weight: 500; }
html body.page-app .op.pv .pv-empty { padding: 36px 24px; }
@media (max-width: 575.98px) { html body.page-app .op.pv .pv-bar { padding: 8px; } html body.page-app .op.pv .op-head { flex-wrap: wrap; } html body.page-app .op.pv .op-head-a { margin-left: 0; } }

/* v6.9 · Detalle del pedido: encabezado con estado y cliente, tarjeta «Cobro», Actividad al final de la columna lateral
 * y tarjetas un poco más aireadas (misma línea gráfica). Respaldo: _respaldos/v6.9-listas/orders-show.php */
html body.page-app .op-trk { max-width: 1120px; gap: 14px; }
html body.page-app .op-trk > .tc-back { margin: 0; }
html body.page-app .op-trk .op-head { margin-bottom: 2px; align-items: flex-start; }
html body.page-app .op-head-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
html body.page-app .op-head-title h1 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
html body.page-app .op-trk .op-head-meta { gap: 4px 0; margin-top: 6px; font-size: 13px; color: #8A8A86; }
html body.page-app .op-trk .op-head-meta > span { display: inline-flex; align-items: center; gap: 5px; }
html body.page-app .op-trk .op-head-meta > span + span::before { content: '·'; margin: 0 8px; color: #C9C9C6; }
html body.page-app .op-trk .op-head-meta .bi { font-size: 12.5px; color: #9A9A96; }
html body.page-app .op-trk .op-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 14px; }
html body.page-app .op-trk .op-col { gap: 14px; }
html body.page-app .op-trk .op-card { padding: 20px 22px; border-color: #ECECEB; }
html body.page-app .op-trk .op-card-h h2 { font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; }
html body.page-app .op-trk .op-hero { border-color: #ECECEB; }
/* Cobro */
html body.page-app .op-cash-total { margin: -4px 0 10px; font-size: 26px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
html body.page-app .op-cash-bar { display: block; height: 6px; border-radius: 6px; background: #F1F1EF; overflow: hidden; }
html body.page-app .op-cash-bar > span { display: block; height: 100%; border-radius: 6px; background: #12B76A; }
html body.page-app .op-cash-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 0; }
html body.page-app .op-cash-dl > div { padding: 10px 12px; border: 1px solid #F0F0EE; border-radius: 10px; }
html body.page-app .op-cash-dl dt { font-size: 12px; font-weight: 400; color: #8A8A86; }
html body.page-app .op-cash-dl dd { margin: 2px 0 0; font-size: 14.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
html body.page-app .op-cash-dl .is-due dd { color: #B54708; }
html body.page-app .op-cash-dl .is-ok dd { color: #067647; }
html body.page-app .op-cash-btn { width: 100%; margin-top: 12px; }
@media (max-width: 991.98px) {
  html body.page-app .op-trk .op-grid { display: flex; flex-direction: column; align-items: stretch; }
  html body.page-app .op-trk .op-col { display: contents; }
  html body.page-app .op-trk .op-card[aria-labelledby="op-items-t"] { order: 1; }
  html body.page-app .op-trk .op-card[aria-labelledby="op-cash-t"] { order: 2; }
  html body.page-app .op-trk .op-card[aria-labelledby="op-cust-t"] { order: 3; }
  html body.page-app .op-trk .op-card[aria-labelledby="op-ship-t"] { order: 4; }
  html body.page-app .op-trk .op-card[aria-labelledby="op-pay-t"] { order: 5; }
  html body.page-app .op-trk .op-card[aria-labelledby="op-tl-t"] { order: 6; }
}
@media (max-width: 575.98px) {
  html body.page-app .op-head-title h1 { font-size: 20px; }
  html body.page-app .op-trk .op-head { flex-wrap: wrap; }
  html body.page-app .op-trk .op-head-a { margin-left: 0; }
  html body.page-app .op-trk .op-card { padding: 16px; }
}
/* v6.9.1 · Entrega: seguimiento como botón y «Configuración avanzada» plegable; Actividad a lo ancho abajo */
html body.page-app .op-track { display: grid; gap: 8px; margin-top: 14px; }
html body.page-app .op-track-btn { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid #111; border-radius: 12px; background: #111; color: #fff; text-decoration: none; transition: background-color .15s; }
html body.page-app .op-track-btn:hover { background: #2A2A2A; color: #fff; }
html body.page-app .op-track-btn > .bi-whatsapp { flex: none; font-size: 20px; color: #4ADE80; }
html body.page-app .op-track-btn > span { flex: 1; display: grid; gap: 2px; min-width: 0; line-height: 1.3; }
html body.page-app .op-track-btn b { font-size: 13.5px; font-weight: 600; }
html body.page-app .op-track-btn small { font-size: 12px; color: rgba(255, 255, 255, .7); }
html body.page-app .op-track-btn > .bi-arrow-right { flex: none; font-size: 14px; }
html body.page-app .op-track-copy { justify-self: center; font-size: 12.5px; }
html body.page-app .op-adv { margin-top: 14px; border-top: 1px solid #F0F0EE; }
html body.page-app .op-adv > summary { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; padding: 12px 0 0; font-size: 13px; font-weight: 500; color: #111; cursor: pointer; list-style: none; }
html body.page-app .op-adv > summary::-webkit-details-marker { display: none; }
html body.page-app .op-adv > summary small { flex-basis: 100%; padding-left: 22px; font-size: 12px; font-weight: 400; color: #8A8A86; }
html body.page-app .op-adv > summary::after { content: '\F282'; font-family: bootstrap-icons; margin-left: auto; font-size: 11px; color: #8A8A86; transition: transform .15s; order: 2; }
html body.page-app .op-adv > summary small { order: 3; }
html body.page-app .op-adv[open] > summary::after { transform: rotate(180deg); }
html body.page-app .op-adv-body { padding-top: 12px; }
html body.page-app .op-adv-body > .op-due-box:first-child { margin-top: 0; }
html body.page-app .op-trk .op-activity { width: 100%; min-width: 0; overflow: hidden; }
html body.page-app .op-trk .op-activity .op-tl { max-width: 720px; }
/* v6.9.2 · Botón de seguimiento sencillo: blanco con borde fino, ícono verde de WhatsApp */
html body.page-app .op-track-btn { justify-content: center; gap: 8px; height: 40px; padding: 0 14px; border: 1px solid #E3E3E0; border-radius: 10px; background: #fff; color: #111; font-size: 13.5px; font-weight: 500; }
html body.page-app .op-track-btn:hover { border-color: #C9C9C6; background: #FAFAF9; color: #111; }
html body.page-app .op-track-btn > .bi-whatsapp { font-size: 16px; color: #1DA851; }
/* v6.9.3 · Detalle del pedido más limpio: sin la fila superior repetida (el estado ya está en el título),
 * Compra + Pagos y Cliente + Entrega en una tarjeta cada uno, subtítulos sobrios. */
html body.page-app .op-trk .op-hero-top { display: none; }
html body.page-app .op-trk .op-hero { padding: 20px 22px; }
html body.page-app .op-trk .op-hero-title { margin-top: 0; }
html body.page-app .op-sub { margin-top: 18px; padding-top: 16px; border-top: 1px solid #F0F0EE; }
html body.page-app .op-sub > .op-card-h { margin-bottom: 10px; }
html body.page-app .op-sub > .op-card-h h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13.5px; font-weight: 600; color: #111; }
html body.page-app .op-trk .op-grid { grid-template-columns: minmax(0, 1fr) 340px; }
@media (max-width: 991.98px) { html body.page-app .op-trk .op-grid { display: grid; grid-template-columns: 1fr; } html body.page-app .op-trk .op-col { display: grid; } }

/* =====================================================================================
   v9.9 · Inicio de un negocio nuevo (panel progresivo): una sola tarjeta con la siguiente tarea,
   con el avance de los 3 primeros pasos arriba. Estilo neutro, igual al asistente.
   ===================================================================================== */
html body.page-app .nt { max-width: 560px; margin: 24px auto 48px; padding: 0 4px; }
html body.page-app .nt-hi { margin: 0 0 18px; font-size: 15px; color: #6E6E6B; text-align: center; }
html body.page-app .nt-steps { display: flex; justify-content: center; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
html body.page-app .nt-steps li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #9C9C99; }
html body.page-app .nt-steps li + li::before { content: ""; width: 26px; height: 1.5px; margin-right: 0; background: #E4E4E1; border-radius: 2px; }
html body.page-app .nt-steps li.is-done + li::before { background: #0B0B0B; }
html body.page-app .nt-steps span { position: relative; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #F1F1EF; font-size: 12px; font-weight: 500; color: #8A8A87; }
html body.page-app .nt-steps li.is-done span { background: #0B0B0B; }
html body.page-app .nt-steps li.is-done span::after { content: ""; position: absolute; inset: 6px; background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
html body.page-app .nt-steps li.is-current { color: #0B0B0B; }
html body.page-app .nt-steps li.is-current span { background: #fff; color: #0B0B0B; box-shadow: inset 0 0 0 1.5px #0B0B0B; }
html body.page-app .nt-card { padding: 36px 32px 28px; border: 1px solid #EBEBE8; border-radius: 24px; background: #fff; text-align: center; box-shadow: 0 1px 2px rgba(11, 11, 11, .03), 0 30px 60px -44px rgba(11, 11, 11, .3);
  animation: ntIn .5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes ntIn { from { opacity: 0; transform: translateY(10px); } }
html body.page-app .nt-ic { display: block; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 20px; background: #F3F3F1; position: relative; }
html body.page-app .nt-ic::before { content: ""; position: absolute; inset: 17px; background: #0B0B0B; -webkit-mask: var(--ni) center / contain no-repeat; mask: var(--ni) center / contain no-repeat; }
html body.page-app .nt-ic-product { --ni: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.2 20 7.4v9.2L12 20.8 4 16.6V7.4z'/%3E%3Cpath d='m4 7.4 8 4.3 8-4.3M12 11.7v9.1'/%3E%3C/svg%3E"); }
html body.page-app .nt-ic-share { --ni: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 15V3.5M7.5 8 12 3.5 16.5 8'/%3E%3Cpath d='M5 12.5v5A2.5 2.5 0 0 0 7.5 20h9a2.5 2.5 0 0 0 2.5-2.5v-5'/%3E%3C/svg%3E"); }
html body.page-app .nt-k { margin: 0 0 6px; font-size: 13px; color: #8A8A87; }
html body.page-app .nt-t { margin: 0; font-size: 26px; line-height: 1.2; font-weight: 500; letter-spacing: -.03em; color: #0B0B0B; }
html body.page-app .nt-d { max-width: 420px; margin: 10px auto 22px; font-size: 15px; line-height: 1.55; color: #62625F; }
html body.page-app .nt-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
html body.page-app .nt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: 14px; font-size: 15px; font-weight: 500;
  background: #0B0B0B; border-color: #0B0B0B; color: #fff; box-shadow: 0 12px 26px -16px rgba(0, 0, 0, .6); }
html body.page-app .nt-btn:hover { background: #000; color: #fff; }
html body.page-app .nt-btn-2 { display: inline-flex; align-items: center; height: 48px; padding: 0 20px; border-radius: 14px; border: 1px solid #E4E4E2; background: #fff; color: #0B0B0B; font-size: 15px; font-weight: 500; }
html body.page-app .nt-btn-2:hover { background: #FAFAF9; }
html body.page-app .nt-link { display: flex; align-items: center; gap: 8px; max-width: 420px; height: 48px; margin: 0 auto 14px; padding: 0 6px 0 14px; border-radius: 14px; background: #F5F5F3; text-align: left; }
html body.page-app .nt-link .bi { color: #8A8A87; font-size: 17px; }
html body.page-app .nt-url { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; color: #0B0B0B; }
html body.page-app .nt-copy { flex: none; height: 36px; padding: 0 14px; border: 0; border-radius: 10px; background: #fff; color: #0B0B0B; font-size: 13.5px; font-weight: 500; box-shadow: 0 1px 2px rgba(11, 11, 11, .06); cursor: pointer; }
html body.page-app .nt-foot { margin: 18px 0 0; font-size: 13px; color: #9C9C99; }
html body.page-app .nt-foot a { color: #3F3F3D; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 575.98px) {
  html body.page-app .nt { margin-top: 8px; }
  html body.page-app .nt-card { padding: 28px 20px 22px; border-radius: 20px; }
  html body.page-app .nt-t { font-size: 22px; }
  html body.page-app .nt-steps em { display: none; }
  html body.page-app .nt-actions .btn { width: 100%; }
}
html body.page-app .nt-steps em { font-style: normal; }
html body.page-app .tc-top .is-off { opacity: .38; cursor: not-allowed; pointer-events: auto; }
html body.page-app .tc-top .is-off:hover { background: transparent; }

/* v9.10 · Inicio progresivo: tarjeta de la siguiente tarea + bloque «Para habilitar todo tu panel» */
html body.page-app .nt-steps { display: none; }
html body.page-app .nt-ic-store { --ni: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10v9a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-9'/%3E%3Cpath d='M3 6.5 4.5 4h15L21 6.5V8a2.5 2.5 0 0 1-4.5 1.5A2.5 2.5 0 0 1 12 9.5a2.5 2.5 0 0 1-4.5 0A2.5 2.5 0 0 1 3 8z'/%3E%3Cpath d='M10 20v-5h4v5'/%3E%3C/svg%3E"); }
html body.page-app .nt-unlock { margin-top: 16px; padding: 18px 20px; border-radius: 20px; background: #F5F5F3; }
html body.page-app .nt-unlock-t { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 14px; font-weight: 500; color: #262624; }
html body.page-app .nt-unlock-t .bi { font-size: 15px; color: #6E6E6B; }
html body.page-app .nt-list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
html body.page-app .nt-list li { display: flex; align-items: center; gap: 12px; }
html body.page-app .nt-dot { position: relative; flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-size: 12.5px; font-weight: 500; color: #8A8A87;
  box-shadow: inset 0 0 0 1.5px #DCDBD7; }
html body.page-app .nt-list li.is-current .nt-dot { color: #0B0B0B; box-shadow: inset 0 0 0 1.5px #0B0B0B; }
html body.page-app .nt-list li.is-done .nt-dot { background: #0B0B0B; box-shadow: none; }
html body.page-app .nt-list li.is-done .nt-dot::after { content: ""; position: absolute; inset: 7px; background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
html body.page-app .nt-li { display: flex; flex-direction: column; }
html body.page-app .nt-li b { font-size: 14px; font-weight: 500; color: #0B0B0B; }
html body.page-app .nt-list li.is-done .nt-li b { color: #8A8A87; text-decoration: line-through; text-decoration-color: #C4C3BF; }
html body.page-app .nt-li small { font-size: 12.5px; color: #8A8A87; }
html body.page-app .nt-unlock-f { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid #E7E6E2; font-size: 12.5px; color: #8A8A87; }
/* v9.10 · herramientas aún no habilitadas (panel progresivo): visibles pero inactivas */
html body.page-app .tc-side .tc-link.is-stage, html body.page-app .tc-side .tc-more-tools.is-stage { opacity: .42; cursor: not-allowed; pointer-events: auto; }
html body.page-app .tc-side .tc-link.is-stage:hover, html body.page-app .tc-side .tc-more-tools.is-stage:hover { background: transparent; color: inherit; }
html body.page-app .tc-side .tc-link.is-stage .tc-lock { font-size: 12px; opacity: .8; }

/* v9.11 · Paso 1 del Inicio («Crea tu primer producto»): texto a la izquierda y vista previa animada del producto a la derecha */
html body.page-app .nt:has(.nt-hero) { max-width: 760px; }
html body.page-app .nt-hero { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; align-items: center; padding: 36px 36px 36px 40px; text-align: left; }
html body.page-app .nt-pill { display: inline-block; margin: 0 0 12px; padding: 4px 10px; border-radius: 999px; background: #F3F3F1; font-size: 12.5px; color: #555552; }
html body.page-app .nt-hero .nt-t { font-size: 30px; }
html body.page-app .nt-hero .nt-d { margin: 10px 0 18px; max-width: 380px; }
html body.page-app .nt-mini { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
html body.page-app .nt-mini li { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px solid #ECECE9; border-radius: 999px; font-size: 13px; color: #3F3F3D; }
html body.page-app .nt-mini .bi { font-size: 14px; color: #8A8A87; }
html body.page-app .nt-hero .nt-actions { justify-content: flex-start; align-items: center; gap: 16px; }
html body.page-app .nt-time { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #8A8A87; }
/* vista previa */
html body.page-app .nt-hero-art { position: relative; display: grid; place-items: center; height: 260px; border-radius: 20px;
  background: radial-gradient(circle at 1px 1px, rgba(11, 11, 11, .06) 1px, transparent 1.3px) 0 0 / 14px 14px, #F6F6F4; }
html body.page-app .nt-mock { width: 168px; border-radius: 18px; background: #fff; overflow: hidden; box-shadow: 0 1px 2px rgba(11, 11, 11, .05), 0 24px 40px -22px rgba(11, 11, 11, .35);
  animation: ntFloat 4s ease-in-out infinite; }
@keyframes ntFloat { 50% { transform: translateY(-8px) rotate(-1deg); } }
html body.page-app .nt-mock-img { position: relative; height: 118px; display: grid; place-items: center; background: #EFEFEC; color: #B4B3AE; font-size: 26px; }
html body.page-app .nt-mock-plus { position: absolute; right: 10px; bottom: 10px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #0B0B0B; color: #fff; font-size: 16px;
  animation: ntPulse 2s ease-in-out infinite; }
@keyframes ntPulse { 50% { box-shadow: 0 0 0 6px rgba(11, 11, 11, .08); } }
html body.page-app .nt-mock-body { display: flex; flex-direction: column; gap: 7px; padding: 12px 12px 14px; }
html body.page-app .nt-mock-l { display: block; height: 8px; border-radius: 6px; background: linear-gradient(90deg, #EDEDEA 0%, #F7F7F5 50%, #EDEDEA 100%) 0 0 / 200% 100%; animation: ntShine 1.8s linear infinite; }
html body.page-app .nt-mock-l.w70 { width: 70%; } html body.page-app .nt-mock-l.w45 { width: 45%; }
@keyframes ntShine { to { background-position: -200% 0; } }
html body.page-app .nt-mock-row { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
html body.page-app .nt-mock-row b { font-size: 13px; font-weight: 500; color: #0B0B0B; }
html body.page-app .nt-mock-row em { padding: 4px 10px; border-radius: 999px; background: #0B0B0B; color: #fff; font-size: 11px; font-style: normal; }
html body.page-app .nt-mock-tag { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 11.5px; color: #8A8A87; }
@media (max-width: 767.98px) {
  html body.page-app .nt-hero { grid-template-columns: 1fr; gap: 20px; padding: 22px 20px 24px; }
  html body.page-app .nt-hero-art { order: -1; height: 200px; }
  html body.page-app .nt-mock { width: 140px; } html body.page-app .nt-mock-img { height: 92px; }
  html body.page-app .nt-hero .nt-t { font-size: 24px; }
  html body.page-app .nt-hero .nt-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  html body.page-app .nt-time { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { html body.page-app .nt-mock, html body.page-app .nt-mock-plus, html body.page-app .nt-mock-l { animation: none; } }
html body.page-app .nt-hero-art { height: 280px; padding-bottom: 26px; box-sizing: border-box; } html body.page-app .nt-mock-tag { bottom: 12px; } @media (max-width: 767.98px) { html body.page-app .nt-hero-art { height: 220px; } }

/* v9.12 · Inicio progresivo minimalista (estilo ElevenLabs): blanco, bordes finos, sin sombras ni adornos */
html body.page-app .nt { margin-top: 40px; }
html body.page-app .nt-hi { text-align: left; margin: 0 0 14px; font-size: 13px; color: #8A8A87; }
html body.page-app .nt-card, html body.page-app .nt-hero { border: 1px solid #EBEBEB; border-radius: 16px; box-shadow: none; animation: ntIn .4s ease both; }
html body.page-app .nt-hero { grid-template-columns: minmax(0, 1fr) 200px; gap: 28px; padding: 32px; }
html body.page-app .nt-pill { margin: 0 0 10px; padding: 0; background: none; font-size: 12.5px; color: #8A8A87; }
html body.page-app .nt-hero .nt-t, html body.page-app .nt-t { font-size: 24px !important; font-weight: 500; letter-spacing: -.02em; }
html body.page-app .nt-hero .nt-d, html body.page-app .nt-d { font-size: 14px; line-height: 1.6; color: #737373; margin: 8px 0 22px; }
html body.page-app .nt-btn { height: 38px; padding: 0 16px; border-radius: 999px; font-size: 14px; box-shadow: none; }
html body.page-app .nt-btn-2 { height: 38px; border-radius: 999px; font-size: 14px; }
html body.page-app .nt-time { font-size: 12.5px; color: #A3A3A3; }
html body.page-app .nt-hero-art { height: 200px; padding: 0; border-radius: 12px; background: #FAFAFA; border: 1px solid #F0F0F0; }
html body.page-app .nt-mock { width: 128px; border-radius: 12px; box-shadow: none; border: 1px solid #EBEBEB; animation: none; }
html body.page-app .nt-mock-img { height: 84px; background: #F4F4F4; font-size: 20px; color: #C8C8C8; }
html body.page-app .nt-mock-plus { width: 20px; height: 20px; right: 8px; bottom: 8px; font-size: 13px; animation: none; }
html body.page-app .nt-mock-body { padding: 10px; gap: 6px; }
html body.page-app .nt-mock-l { height: 6px; background: #EFEFEF; animation: none; }
html body.page-app .nt-mock-row b { font-size: 11.5px; }
html body.page-app .nt-mock-row em { padding: 3px 8px; font-size: 10px; }
html body.page-app .nt-ic { width: 44px; height: 44px; border-radius: 12px; background: #F5F5F5; margin-bottom: 14px; }
html body.page-app .nt-ic::before { inset: 12px; }
/* bloque de desbloqueo: lista simple */
html body.page-app .nt-unlock { margin-top: 12px; padding: 18px 20px; border: 1px solid #EBEBEB; border-radius: 16px; background: #fff; }
html body.page-app .nt-unlock-t { font-size: 13px; font-weight: 500; color: #404040; }
html body.page-app .nt-unlock-t .bi { font-size: 13px; color: #A3A3A3; }
html body.page-app .nt-dot { width: 22px; height: 22px; font-size: 11.5px; }
html body.page-app .nt-li b { font-size: 13.5px; }
html body.page-app .nt-li small { font-size: 12px; color: #A3A3A3; }
html body.page-app .nt-unlock-f { font-size: 12px; color: #A3A3A3; border-top-color: #F0F0F0; }
@media (max-width: 767.98px) {
  html body.page-app .nt { margin-top: 12px; }
  html body.page-app .nt-hero { grid-template-columns: 1fr; padding: 22px; }
  html body.page-app .nt-hero-art { height: 160px; }
  html body.page-app .nt-hero .nt-actions { align-items: stretch; }
}
html body.page-app .tc-ctx-btn.is-static { cursor: default; } html body.page-app .tc-ctx-btn.is-static:hover { background: transparent; }
/* v9.38 · nombre del negocio fijo: sin efecto de botón */
html body.page-app .tc-ctx-btn.is-static, html body.page-app .tc-ctx-btn.is-static:hover, html body.page-app .tc-ctx-btn.is-static:active { cursor: default !important; background: transparent !important; box-shadow: none !important; border-color: transparent !important; transform: none !important; }

/* =====================================================================================
   v9.40 · Menú: negocio arriba más limpio, almacenamiento con barra y logo compacto sin estirarse
   ===================================================================================== */
html body.page-app .tc-side-head .brand-icon { width: auto !important; height: 26px !important; max-width: 26px; object-fit: contain !important; }
html body.page-app.sidebar-mini .tc-side-head { justify-content: center; }
html body.page-app.sidebar-mini .tc-side-head .brand-compact { margin: 0 auto; }

html body.page-app .tc-ctx-btn.is-static { gap: 12px; min-height: 0; padding: 10px 12px !important; border: 0 !important; border-radius: 14px; background: #F5F5F3 !important; }
html body.page-app .tc-ctx-btn.is-static .tc-biz-logo { width: 38px; height: 38px; border-radius: 11px; font-size: 14px; font-weight: 600; box-shadow: 0 0 0 1px rgba(0, 0, 0, .05); }
html body.page-app .tc-ctx-btn.is-static img.tc-biz-logo { background: #fff; object-fit: contain; }
html body.page-app .tc-ctx-btn.is-static .tc-ctx-text strong { font-size: 14px; font-weight: 600; letter-spacing: -.01em; color: #0B0B0B; }
html body.page-app .tc-ctx-btn.is-static .tc-ctx-text small { font-size: 12px; color: #8A8A87; }
html body.page-app.sidebar-mini .tc-ctx-btn.is-static { padding: 6px !important; background: transparent !important; justify-content: center; }
html body.page-app.sidebar-mini .tc-ctx-btn.is-static .tc-biz-logo { width: 34px; height: 34px; }

html body.page-app .tc-store { display: block; margin: 0 0 10px; padding: 12px 12px 10px; border-radius: 14px; background: #F5F5F3; color: #0B0B0B; text-decoration: none; transition: background .2s; }
html body.page-app .tc-store:hover, html body.page-app .tc-store.is-active { background: #EFEFEC; color: #0B0B0B; }
html body.page-app .tc-store-top { display: flex; align-items: center; gap: 8px; font-size: 13px; }
html body.page-app .tc-store-top .ic { font-size: 15px; color: #6E6E6B; }
html body.page-app .tc-store-t { flex: 1; font-weight: 500; }
html body.page-app .tc-store-top b { font-size: 12.5px; font-weight: 600; }
html body.page-app .tc-store-bar { display: block; height: 5px; margin: 9px 0 7px; border-radius: 5px; background: #E2E2DE; overflow: hidden; }
html body.page-app .tc-store-bar i { display: block; height: 100%; border-radius: 5px; background: #0B0B0B; }
html body.page-app .tc-store.is-warn .tc-store-bar i { background: #E5A000; }
html body.page-app .tc-store.is-danger .tc-store-bar i { background: #E5484D; }
html body.page-app .tc-store-s { display: block; font-size: 11.5px; color: #8A8A87; }
html body.page-app.sidebar-mini .tc-store { padding: 10px 6px; background: transparent; text-align: center; }
html body.page-app.sidebar-mini .tc-store-t, html body.page-app.sidebar-mini .tc-store-s, html body.page-app.sidebar-mini .tc-store-top b { display: none; }
html body.page-app.sidebar-mini .tc-store-top { justify-content: center; }
html body.page-app.sidebar-mini .tc-store-bar { margin: 6px 4px 0; }
html body.page-app svg.tc-store-bar { display: block; width: 100%; height: 5px; margin: 9px 0 7px; background: none; border-radius: 5px; overflow: hidden; }
html body.page-app .tc-store-bg { fill: #E2E2DE; } html body.page-app .tc-store-fill { fill: #0B0B0B; }
html body.page-app .tc-store.is-warn .tc-store-fill { fill: #E5A000; } html body.page-app .tc-store.is-danger .tc-store-fill { fill: #E5484D; }

/* v9.41 · Almacenamiento con el mismo estilo de los enlaces del menú; negocio arriba como fila limpia */
html body.page-app .tc-store2 { height: auto !important; flex-wrap: wrap; row-gap: 0; padding: 7px 10px 8px !important; margin-bottom: 6px; }
html body.page-app .tc-store2-pct { font-size: 12px; font-weight: 500; color: var(--tc-mute, #8A8A87); font-style: normal; }
html body.page-app .tc-store2-info { flex: 0 0 100%; display: block; padding-left: 28px; }
html body.page-app svg.tc-store2-bar { display: block; width: 100%; height: 4px; margin: 6px 0 4px; }
html body.page-app .tc-store2-info small { display: block; font-size: 11px; color: var(--tc-mute, #8A8A87); }
html body.page-app .tc-store2.is-warn .tc-store2-pct { color: #B37A00; } html body.page-app .tc-store2.is-danger .tc-store2-pct { color: #E5484D; }
html body.page-app.sidebar-mini .tc-store2 { justify-content: center; padding: 8px 6px !important; }
html body.page-app.sidebar-mini .tc-store2 .tc-link-text, html body.page-app.sidebar-mini .tc-store2-pct, html body.page-app.sidebar-mini .tc-store2-info small { display: none; }
html body.page-app.sidebar-mini .tc-store2-info { padding: 0 4px; }

html body.page-app .tc-ctx-btn.is-static { padding: 6px 8px !important; background: transparent !important; border-radius: 12px; gap: 11px; }
html body.page-app .tc-ctx-btn.is-static .tc-biz-logo { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 4px 10px -6px rgba(0, 0, 0, .25); }
html body.page-app .tc-ctx-btn.is-static .tc-ctx-text { line-height: 1.25; }
html body.page-app .tc-ctx-btn.is-static .tc-ctx-text strong { font-size: 14px; }
html body.page-app .tc-ctx-btn.is-static .tc-ctx-text small { display: inline-flex; align-items: center; gap: 5px; margin-top: 2px; }
html body.page-app .tc-ctx-btn.is-static .tc-ctx-text small::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #2DB37A; flex: none; }
html body.page-app .tc-ctx { padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--tc-line, #EFEFED); }

/* v9.42 · En vivo dentro de «Mi página web»: título y pestañas iguales a la página */
html body.page-app .lv-webtabs { margin: 0 0 18px; }
html body.page-app .lv-web-h { margin: 0 0 14px; font-size: 26px; font-weight: 600; letter-spacing: -.03em; }

/* v9.42 · Perfil arriba a la derecha: botón limpio (avatar, nombre y flecha) */
html body.page-app .user-menu { display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 4px 10px 4px 4px; border: 1px solid transparent; border-radius: 999px; background: transparent; transition: background .15s, border-color .15s; }
html body.page-app .user-menu:hover, html body.page-app .user-menu[aria-expanded="true"] { background: #F5F5F3; border-color: #ECECE9; }
html body.page-app .user-menu .avatar, html body.page-app .user-menu [class*="avatar"] { width: 32px !important; height: 32px !important; border-radius: 50% !important; font-size: 12px; font-weight: 600; }
html body.page-app .user-menu-text { line-height: 1.15; text-align: left; }
html body.page-app .user-menu-name { font-size: 13.5px; font-weight: 600; color: #0B0B0B; }
html body.page-app .user-menu-text small { font-size: 11.5px; color: #8A8A87; }
html body.page-app .user-menu > .bi-chevron-down { font-size: 11px; color: #8A8A87; transition: transform .2s; }
html body.page-app .user-menu[aria-expanded="true"] > .bi-chevron-down { transform: rotate(180deg); }
html body.page-app .acct2 { min-width: 260px; padding: 6px; border: 1px solid #ECECE9; border-radius: 16px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .25); }
html body.page-app .acct2-me { padding: 12px 10px 12px; }
html body.page-app .tc-top .user-menu, html body.page-app .topbar .user-menu { height: 40px !important; padding: 4px 12px 4px 4px !important; gap: 9px !important; border: 1px solid transparent !important; border-radius: 999px !important; background: transparent !important; box-shadow: none !important; }
html body.page-app .tc-top .user-menu:hover, html body.page-app .tc-top .user-menu[aria-expanded="true"] { background: #F5F5F3 !important; border-color: #ECECE9 !important; }
html body.page-app .tc-top .user-menu .avatar { background: #0B0B0B !important; color: #fff !important; box-shadow: none !important; }

/* v9.43 · Negocio en el menú: tarjeta sencilla, sin punto verde */
html body.page-app .tc-ctx-btn.is-static .tc-ctx-text small::before { content: none !important; display: none !important; }
html body.page-app .tc-ctx { padding-bottom: 6px !important; border-bottom: 0 !important; }
html body.page-app .tc-ctx-btn.is-static { padding: 10px !important; gap: 11px !important; border: 1px solid #ECECE9 !important; border-radius: 14px !important; background: #fff !important; }
html body.page-app .tc-ctx-btn.is-static .tc-biz-logo { width: 34px !important; height: 34px !important; border-radius: 10px !important; box-shadow: none !important; }
html body.page-app .tc-ctx-btn.is-static .tc-ctx-text strong { font-size: 13.5px !important; font-weight: 600; }
html body.page-app .tc-ctx-btn.is-static .tc-ctx-text small { display: block !important; margin-top: 1px; font-size: 11.5px !important; color: #8A8A87 !important; }
html body.page-app.sidebar-mini .tc-ctx-btn.is-static { border-color: transparent !important; padding: 4px !important; }

/* v9.45 · Dominio y correos */
html body.page-app .dm { max-width: 1080px; }
html body.page-app .dm-head { margin: 0 0 22px; }
html body.page-app .dm-head h1 { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -.03em; }
html body.page-app .dm-head p { margin: 6px 0 0; color: #6E6E6B; font-size: 14.5px; }
html body.page-app .dm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
html body.page-app .dm-card { display: flex; flex-direction: column; align-items: flex-start; padding: 22px; border: 1px solid #ECECE9; border-radius: 18px; background: #fff; }
html body.page-app .dm-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #F2F2F0; font-size: 19px; color: #0B0B0B; margin-bottom: 14px; }
html body.page-app .dm-card h2 { margin: 0 0 6px; font-size: 16px; font-weight: 600; }
html body.page-app .dm-card p { margin: 0 0 16px; font-size: 13.5px; line-height: 1.5; color: #6E6E6B; }
html body.page-app .dm-form { width: 100%; display: flex; gap: 8px; margin-top: auto; }
html body.page-app .dm-input { flex: 1; min-width: 0; display: flex; align-items: center; height: 42px; border: 1px solid #E2E2E0; border-radius: 12px; overflow: hidden; }
html body.page-app .dm-input:focus-within { border-color: #0B0B0B; }
html body.page-app .dm-input span { padding: 0 2px 0 12px; font-size: 13.5px; color: #9C9C99; }
html body.page-app .dm-input input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; padding: 0 12px 0 0; font-size: 14px; background: none; }
html body.page-app .dm-form .btn { height: 42px; border-radius: 12px; }
html body.page-app .dm-btn { margin-top: auto; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; gap: 8px; }
html body.page-app .dm-ok { margin: 10px 0 0 !important; font-size: 12.5px !important; color: #2DB37A !important; }
@media (max-width: 991.98px) { html body.page-app .dm-grid { grid-template-columns: 1fr; } }
html body.page-app .dm-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
html body.page-app .dm-mails { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 6px; width: 100%; }
html body.page-app .dm-mails li { padding: 9px 12px; border-radius: 10px; background: #F5F5F3; font-size: 13px; color: #3F3F3D; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
@media (max-width: 991.98px) { html body.page-app .dm-grid-2 { grid-template-columns: 1fr; } }

/* v9.47 · Buscador de dominios */
html body.page-app .dm-search { max-width: 760px; margin: 0 0 16px; padding: 22px; border: 1px solid #ECECE9; border-radius: 18px; background: #fff; }
html body.page-app .dm-search h2 { margin: 0 0 4px; font-size: 16px; font-weight: 600; }
html body.page-app .dm-search > p { margin: 0 0 14px; font-size: 13.5px; color: #6E6E6B; }
html body.page-app .dm-sbar { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 5px 0 14px; border: 1px solid #E2E2E0; border-radius: 14px; }
html body.page-app .dm-sbar:focus-within { border-color: #0B0B0B; box-shadow: 0 0 0 3px rgba(11, 11, 11, .06); }
html body.page-app .dm-sbar > i { color: #9C9C99; }
html body.page-app .dm-sbar input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font-size: 15px; }
html body.page-app .dm-sbar .btn { height: 38px; border-radius: 10px; padding: 0 18px; }
html body.page-app .dm-res:not(:empty) { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
html body.page-app .dm-row { display: grid; grid-template-columns: 1fr auto 96px; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid #F0F0EE; border-radius: 12px; }
html body.page-app .dm-row.is-first { border-color: #DADAD6; }
html body.page-app .dm-dom { font-size: 14px; font-weight: 500; color: #0B0B0B; overflow: hidden; text-overflow: ellipsis; }
html body.page-app .dm-row.is-taken .dm-dom { color: #9C9C99; text-decoration: line-through; }
html body.page-app .dm-st { font-size: 12px; padding: 3px 9px; border-radius: 999px; background: #F2F2F0; color: #6E6E6B; }
html body.page-app .dm-row.is-free .dm-st { background: #E8F7EF; color: #1E8A5A; }
html body.page-app .dm-row .btn-sm { height: 32px; border-radius: 9px; font-size: 12.5px; }
html body.page-app .dm-note, html body.page-app .dm-empty { margin: 6px 0 0; font-size: 13px; color: #6E6E6B; }
html body.page-app .dm-loading { display: flex; align-items: center; gap: 4px; font-size: 13px; color: #6E6E6B; }
html body.page-app .dm-loading span { width: 6px; height: 6px; border-radius: 50%; background: #BDBDB8; animation: dmDot 1s infinite ease-in-out; }
html body.page-app .dm-loading span:nth-child(2) { animation-delay: .15s; } html body.page-app .dm-loading span:nth-child(3) { animation-delay: .3s; margin-right: 8px; }
@keyframes dmDot { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }

/* =====================================================================================
   v9.48 · Dominio rediseñado: buscador grande, resultados con precio y conectar el propio
   ===================================================================================== */
html body.page-app .dm2 { max-width: 820px; }
html body.page-app .dm2-head { margin: 0 0 22px; }
html body.page-app .dm2-head h1 { margin: 0; font-size: 28px; font-weight: 600; letter-spacing: -.03em; }
html body.page-app .dm2-head p { margin: 6px 0 0; font-size: 15px; color: #6E6E6B; }
html body.page-app .dm2-head b { color: #0B0B0B; font-weight: 500; }
html body.page-app .dm2-mine { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid #ECECE9; }
html body.page-app .dm2-mine-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: #F2F2F0; font-size: 18px; }
html body.page-app .dm2-mine small { display: block; font-size: 12px; color: #8A8A87; }
html body.page-app .dm2-mine strong { font-size: 15px; font-weight: 600; }
html body.page-app .dm2-pill { margin-left: auto; padding: 4px 10px; border-radius: 999px; background: #FFF6E5; color: #9A6700; font-size: 12px; }
html body.page-app .dm2-search { padding: 22px; border-radius: 20px; background: #fff; border: 1px solid #ECECE9; box-shadow: 0 18px 40px -34px rgba(0, 0, 0, .3); }
html body.page-app .dm2-bar { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 6px 0 18px; border: 1.5px solid #E2E2E0; border-radius: 16px; transition: border-color .2s, box-shadow .2s; }
html body.page-app .dm2-bar:focus-within { border-color: #0B0B0B; box-shadow: 0 0 0 4px rgba(11, 11, 11, .05); }
html body.page-app .dm2-bar > i { font-size: 17px; color: #9C9C99; }
html body.page-app .dm2-bar input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font-size: 16px; }
html body.page-app .dm2-bar .btn { height: 44px; padding: 0 22px; border-radius: 12px; font-weight: 500; }
html body.page-app .dm2-help { margin: 10px 2px 0; font-size: 12.5px; color: #8A8A87; }
html body.page-app .dm2-res:not(:empty) { margin-top: 18px; border-top: 1px solid #F0F0EE; }
html body.page-app .dm2-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 104px; align-items: center; gap: 16px; padding: 14px 4px; border-bottom: 1px solid #F3F3F1; }
html body.page-app .dm2-row:last-of-type { border-bottom: 0; }
html body.page-app .dm2-row.is-best { margin: 10px -10px 4px; padding: 16px 14px; border: 1px solid #0B0B0B; border-radius: 14px; }
html body.page-app .dm2-d { display: flex; align-items: center; gap: 8px; min-width: 0; }
html body.page-app .dm2-d strong { font-size: 15px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body.page-app .dm2-tag { flex: none; padding: 3px 8px; border-radius: 999px; background: #E8F7EF; color: #1E8A5A; font-size: 11px; font-weight: 500; }
html body.page-app .dm2-p { text-align: right; white-space: nowrap; }
html body.page-app .dm2-p b { font-size: 15px; font-weight: 600; }
html body.page-app .dm2-p small { margin-left: 2px; font-size: 12px; color: #8A8A87; }
html body.page-app .dm2-row.is-taken .dm2-d strong, html body.page-app .dm2-row.is-unknown .dm2-d strong { color: #A3A3A0; }
html body.page-app .dm2-buy { height: 38px; border-radius: 10px; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
html body.page-app .dm2-msg { display: flex; align-items: center; gap: 6px; margin: 14px 0 2px; font-size: 13.5px; color: #3F3F3D; }
html body.page-app .dm2-msg i { color: #E5484D; }
html body.page-app .dm2-empty { margin: 14px 0 0; font-size: 13.5px; color: #6E6E6B; }
html body.page-app .dm2-loading { display: flex; align-items: center; gap: 4px; padding: 18px 2px 4px; font-size: 13px; color: #6E6E6B; }
html body.page-app .dm2-loading span { width: 6px; height: 6px; border-radius: 50%; background: #BDBDB8; animation: dmDot 1s infinite ease-in-out; }
html body.page-app .dm2-loading span:nth-child(2) { animation-delay: .15s; } html body.page-app .dm2-loading span:nth-child(3) { animation-delay: .3s; margin-right: 8px; }
html body.page-app .dm2-own { margin-top: 14px; border-radius: 16px; background: #fff; border: 1px solid #ECECE9; }
html body.page-app .dm2-own summary { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 500; }
html body.page-app .dm2-own summary::-webkit-details-marker { display: none; }
html body.page-app .dm2-own summary span { display: inline-flex; align-items: center; gap: 8px; }
html body.page-app .dm2-own summary > i { color: #8A8A87; transition: transform .2s; }
html body.page-app .dm2-own[open] summary > i { transform: rotate(180deg); }
html body.page-app .dm2-own-form { display: flex; gap: 8px; padding: 0 18px; }
html body.page-app .dm2-input { flex: 1; min-width: 0; display: flex; align-items: center; height: 44px; border: 1px solid #E2E2E0; border-radius: 12px; overflow: hidden; }
html body.page-app .dm2-input:focus-within { border-color: #0B0B0B; }
html body.page-app .dm2-input span { padding: 0 2px 0 14px; font-size: 14px; color: #9C9C99; }
html body.page-app .dm2-input input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; padding: 0 12px 0 0; font-size: 15px; background: none; }
html body.page-app .dm2-own-form .btn { height: 44px; border-radius: 12px; padding: 0 18px; }
html body.page-app .dm2-own-note { margin: 8px 18px 16px; font-size: 12.5px; color: #8A8A87; }
@media (max-width: 575.98px) {
  html body.page-app .dm2-row { grid-template-columns: minmax(0, 1fr) auto; }
  html body.page-app .dm2-buy { grid-column: 1 / -1; width: 100%; }
  html body.page-app .dm2-buy.is-off { display: none; }
}

/* =====================================================================================
   v9.49 · Dominio a todo el ancho: buscador protagonista, resultados en tarjetas y 2 tarjetas abajo
   ===================================================================================== */
html body.page-app .dm3 { width: 100%; max-width: none; }
html body.page-app .dm3-hero { padding: 40px 40px 30px; border-radius: 24px; background: #fff; border: 1px solid #ECECE9; text-align: center;
  background-image: radial-gradient(120% 80% at 50% 0%, #F7F7F5 0%, #fff 70%); }
html body.page-app .dm3-hero-t h1 { margin: 0; font-size: 34px; font-weight: 600; letter-spacing: -.035em; }
html body.page-app .dm3-hero-t p { margin: 8px auto 24px; max-width: 560px; font-size: 15.5px; color: #6E6E6B; }
html body.page-app .dm3-hero-t b { color: #0B0B0B; font-weight: 500; }
html body.page-app .dm3-bar { display: flex; align-items: center; gap: 10px; max-width: 760px; height: 62px; margin: 0 auto; padding: 0 7px 0 20px; border: 1.5px solid #E2E2E0; border-radius: 18px; background: #fff;
  box-shadow: 0 16px 34px -28px rgba(0, 0, 0, .35); transition: border-color .2s, box-shadow .2s; text-align: left; }
html body.page-app .dm3-bar:focus-within { border-color: #0B0B0B; box-shadow: 0 0 0 4px rgba(11, 11, 11, .05); }
html body.page-app .dm3-bar > i { font-size: 18px; color: #9C9C99; }
html body.page-app .dm3-bar input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font-size: 17px; }
html body.page-app .dm3-bar .btn { height: 48px; padding: 0 24px; border-radius: 13px; font-weight: 500; }
html body.page-app .dm3-tlds { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 16px; }
html body.page-app .dm3-tlds span { padding: 4px 10px; border-radius: 999px; background: #F2F2F0; font-size: 12.5px; color: #6E6E6B; }
html body.page-app .dm3-res:not(:empty) { margin-top: 22px; }
html body.page-app .dm3-msg { margin: 0 0 12px; font-size: 14px; color: #3F3F3D; }
html body.page-app .dm3-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
html body.page-app .dm3-dom { position: relative; display: flex; flex-direction: column; padding: 18px 18px 16px; border: 1px solid #ECECE9; border-radius: 18px; background: #fff; min-height: 196px; }
html body.page-app .dm3-dom.is-best { border-color: #0B0B0B; box-shadow: 0 0 0 1px #0B0B0B; }
html body.page-app .dm3-dom h3 { margin: 0 0 14px; font-size: 15px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 70px; }
html body.page-app .dm3-dom h3 b { font-weight: 700; }
html body.page-app .dm3-tag { position: absolute; top: 16px; right: 16px; padding: 3px 9px; border-radius: 999px; background: #0B0B0B; color: #fff; font-size: 11px; font-weight: 500; }
html body.page-app .dm3-tag.is-promo { background: #E8F7EF; color: #1E8A5A; }
html body.page-app .dm3-price strong { display: block; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
html body.page-app .dm3-price small { font-size: 12px; color: #8A8A87; }
html body.page-app .dm3-renew { margin: 4px 0 14px; font-size: 12px; color: #8A8A87; }
html body.page-app .dm3-buy { margin-top: auto; height: 40px; border-radius: 11px; font-size: 13.5px; display: inline-flex; align-items: center; justify-content: center; }
html body.page-app .dm3-dom.is-taken, html body.page-app .dm3-dom.is-unknown { background: #FAFAF9; min-height: 0; }
html body.page-app .dm3-dom.is-taken h3, html body.page-app .dm3-dom.is-unknown h3 { color: #A3A3A0; margin-bottom: 6px; }
html body.page-app .dm3-off { margin: 0; font-size: 12.5px; color: #A3A3A0; }
html body.page-app .dm3-src { margin: 12px 2px 0; font-size: 12px; color: #A3A3A0; }
html body.page-app .dm3-loading { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 26px; font-size: 13.5px; color: #6E6E6B; }
html body.page-app .dm3-loading span { width: 6px; height: 6px; border-radius: 50%; background: #BDBDB8; animation: dmDot 1s infinite ease-in-out; }
html body.page-app .dm3-loading span:nth-child(2) { animation-delay: .15s; } html body.page-app .dm3-loading span:nth-child(3) { animation-delay: .3s; margin-right: 8px; }
html body.page-app .dm3-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
html body.page-app .dm3-card { display: flex; gap: 16px; padding: 22px; border: 1px solid #ECECE9; border-radius: 20px; background: #fff; }
html body.page-app .dm3-ic { flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: #F2F2F0; font-size: 20px; }
html body.page-app .dm3-card-b { flex: 1; min-width: 0; }
html body.page-app .dm3-card h2 { margin: 2px 0 4px; font-size: 16px; font-weight: 600; }
html body.page-app .dm3-card p { margin: 0 0 14px; font-size: 13.5px; color: #6E6E6B; }
html body.page-app .dm3-own { display: flex; gap: 8px; }
html body.page-app .dm3-input { flex: 1; min-width: 0; display: flex; align-items: center; height: 44px; border: 1px solid #E2E2E0; border-radius: 12px; overflow: hidden; }
html body.page-app .dm3-input:focus-within { border-color: #0B0B0B; }
html body.page-app .dm3-input span { padding: 0 2px 0 14px; font-size: 14px; color: #9C9C99; }
html body.page-app .dm3-input input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; padding: 0 12px 0 0; font-size: 15px; background: none; }
html body.page-app .dm3-own .btn { height: 44px; border-radius: 12px; padding: 0 18px; }
html body.page-app .dm3-state { margin: 10px 0 0 !important; font-size: 12.5px !important; color: #9A6700 !important; }
html body.page-app .dm3-inc { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
html body.page-app .dm3-inc li { display: flex; gap: 8px; font-size: 13.5px; color: #3F3F3D; }
html body.page-app .dm3-inc i { color: #2DB37A; }
@media (max-width: 1399.98px) { html body.page-app .dm3-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 991.98px) {
  html body.page-app .dm3-hero { padding: 26px 18px 22px; }
  html body.page-app .dm3-hero-t h1 { font-size: 26px; }
  html body.page-app .dm3-grid, html body.page-app .dm3-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575.98px) {
  html body.page-app .dm3-bar { height: auto; flex-wrap: wrap; padding: 8px; }
  html body.page-app .dm3-bar input { height: 44px; }
  html body.page-app .dm3-bar .btn { width: 100%; }
  html body.page-app .dm3-grid, html body.page-app .dm3-row { grid-template-columns: 1fr; }
}
/* v9.49b · nombre completo visible: etiqueta arriba y nombre sin cortar */
html body.page-app .dm3-tag { position: static; align-self: flex-start; margin: 0 0 10px; }
html body.page-app .dm3-dom h3 { padding-right: 0; white-space: normal; overflow-wrap: anywhere; line-height: 1.3; }
html body.page-app .dm3-dom:not(:has(.dm3-tag)) h3 { margin-top: 0; }
html body.page-app .dm3-dom.is-free:not(:has(.dm3-tag))::before { content: ""; display: block; height: 21px; margin-bottom: 10px; }
html body.page-app .lv-webtabs + .lv-head .lv-head-t h1 { display: none; }

/* v9.50 · Dominio simple */
html body.page-app .dm4 { max-width: 720px; }
html body.page-app .dm4-head h1 { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -.03em; }
html body.page-app .dm4-head p { margin: 6px 0 20px; font-size: 14.5px; color: #6E6E6B; }
html body.page-app .dm4-mine { display: flex; align-items: center; gap: 6px; margin: 0 0 14px; font-size: 13.5px; }
html body.page-app .dm4-mine span { color: #9A6700; }
html body.page-app .dm4-bar { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 6px 0 16px; border: 1px solid #E2E2E0; border-radius: 14px; background: #fff; }
html body.page-app .dm4-bar:focus-within { border-color: #0B0B0B; }
html body.page-app .dm4-bar > i { color: #9C9C99; }
html body.page-app .dm4-bar input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font-size: 16px; }
html body.page-app .dm4-bar .btn { height: 40px; padding: 0 20px; border-radius: 10px; }
html body.page-app .dm4-list { list-style: none; margin: 14px 0 0; padding: 0; border: 1px solid #ECECE9; border-radius: 14px; background: #fff; overflow: hidden; }
html body.page-app .dm4-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto 96px; align-items: center; gap: 14px; padding: 12px 14px; border-top: 1px solid #F2F2F0; }
html body.page-app .dm4-list li:first-child { border-top: 0; }
html body.page-app .dm4-d { font-size: 14.5px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body.page-app .dm4-p { text-align: right; font-size: 14.5px; font-weight: 600; white-space: nowrap; }
html body.page-app .dm4-p small { display: block; font-size: 11.5px; font-weight: 400; color: #8A8A87; }
html body.page-app .dm4-list li .btn-sm { height: 32px; border-radius: 9px; font-size: 12.5px; }
html body.page-app .dm4-list li.is-off .dm4-d { color: #A3A3A0; }
html body.page-app .dm4-note { margin: 10px 2px 0; font-size: 12.5px; color: #8A8A87; }
html body.page-app .dm4-own { margin-top: 22px; }
html body.page-app .dm4-own summary { cursor: pointer; font-size: 13.5px; color: #3F3F3D; text-decoration: underline; text-underline-offset: 3px; list-style: none; }
html body.page-app .dm4-own summary::-webkit-details-marker { display: none; }
html body.page-app .dm4-own-f { display: flex; gap: 8px; margin-top: 10px; max-width: 460px; }
html body.page-app .dm4-own-f .form-control { height: 42px; border-radius: 10px; }
html body.page-app .dm4-own-f .btn { height: 42px; border-radius: 10px; }
@media (max-width: 575.98px) { html body.page-app .dm4-list li { grid-template-columns: minmax(0, 1fr) auto; } html body.page-app .dm4-list li > :last-child { grid-column: 1 / -1; } }
html body.page-app:has(.lv-webtabs) .lv-head-t h1 { display: none; }
html body.page-app .lv-webtabs { margin: 0 0 18px; }
html body.page-app .dm4-prem { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: #FFF3E0; color: #9A5B00; font-size: 11px; font-style: normal; font-weight: 500; vertical-align: 1px; }

/* =====================================================================================
   v9.55 · Dominio: animación de búsqueda, mejores opciones y botones suaves (sin negro)
   ===================================================================================== */
html body.page-app .dm5 { max-width: 860px; }
html body.page-app .dm5 .dm4-head h1 { font-size: 30px; }
html body.page-app .dm5 .dm4-bar { height: 58px; padding: 0 7px 0 18px; border-radius: 16px; border-color: #E2E2E0; box-shadow: 0 14px 30px -26px rgba(0, 0, 0, .35); }
html body.page-app .dm5 .dm4-bar input { font-size: 16.5px; }
html body.page-app .dm5-go { height: 44px; padding: 0 22px; border: 0; border-radius: 12px; background: #2DB37A; color: #fff; font-size: 14.5px; font-weight: 600; transition: background .2s, transform .15s; }
html body.page-app .dm5-go:hover { background: #26A06D; } html body.page-app .dm5-go:active { transform: scale(.97); } html body.page-app .dm5-go:disabled { opacity: .6; }

/* animación */
html body.page-app .dm5-load { margin-top: 18px; padding: 30px 20px 26px; border: 1px solid #ECECE9; border-radius: 18px; background: #fff; text-align: center; }
html body.page-app .dm5-radar { position: relative; width: 64px; height: 64px; margin: 0 auto 14px; display: grid; place-items: center; }
html body.page-app .dm5-radar i { position: relative; z-index: 1; font-size: 26px; color: #2DB37A; animation: dm5Spin 3s linear infinite; }
html body.page-app .dm5-radar span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid #2DB37A; opacity: 0; animation: dm5Ping 1.8s ease-out infinite; }
html body.page-app .dm5-radar span + span { animation-delay: .9s; }
@keyframes dm5Ping { 0% { transform: scale(.4); opacity: .6; } 100% { transform: scale(1.3); opacity: 0; } }
@keyframes dm5Spin { to { transform: rotate(360deg); } }
html body.page-app .dm5-load-t { margin: 0 0 16px; font-size: 15px; font-weight: 500; color: #0B0B0B; }
html body.page-app .dm5-load-t.is-in { animation: dm5Up .35s ease-out; }
@keyframes dm5Up { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
html body.page-app .dm5-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
html body.page-app .dm5-chips span { padding: 6px 11px; border-radius: 999px; background: #F5F5F3; font-size: 12.5px; color: #A3A3A0; transition: all .25s; }
html body.page-app .dm5-chips span b { font-weight: 600; }
html body.page-app .dm5-chips span.is-seen { color: #3F3F3D; }
html body.page-app .dm5-chips span.is-on { background: #E8F7EF; color: #1E8A5A; transform: translateY(-2px); box-shadow: 0 6px 14px -10px rgba(45, 179, 122, .8); }

/* resultados */
html body.page-app .dm5 .dm4-res.is-in > * { animation: dm5Up .4s ease-out both; }
html body.page-app .dm5-picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
html body.page-app .dm5-pick { display: flex; flex-direction: column; padding: 20px; border: 1px solid #ECECE9; border-radius: 18px; background: #fff; }
html body.page-app .dm5-pick.is-best { border-color: #BFE8D3; background: linear-gradient(180deg, #F3FBF7 0%, #fff 60%); }
html body.page-app .dm5-k { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: #F2F2F0; font-size: 12px; font-weight: 500; color: #3F3F3D; }
html body.page-app .dm5-pick.is-best .dm5-k { background: #E1F5EB; color: #1E8A5A; }
html body.page-app .dm5-pick.is-cheap .dm5-k { background: #FFF3E0; color: #9A5B00; }
html body.page-app .dm5-pick h3 { margin: 14px 0 6px; font-size: 19px; font-weight: 600; letter-spacing: -.02em; overflow-wrap: anywhere; }
html body.page-app .dm5-pp { margin: 0; font-size: 13px; color: #6E6E6B; }
html body.page-app .dm5-pp strong { font-size: 22px; font-weight: 700; color: #0B0B0B; letter-spacing: -.02em; margin-right: 4px; }
html body.page-app .dm5-pr { margin: 2px 0 16px; font-size: 12px; color: #8A8A87; }
html body.page-app .dm5-buy { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 10px; background: #E8F7EF; color: #1E8A5A; font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s, transform .15s; }
html body.page-app .dm5-buy:hover { background: #2DB37A; color: #fff; }
html body.page-app .dm5-buy:active { transform: scale(.97); }
html body.page-app .dm5-buy i { font-size: 12px; transition: transform .2s; } html body.page-app .dm5-buy:hover i { transform: translateX(2px); }
html body.page-app .dm5-buy.is-main { margin-top: auto; height: 42px; font-size: 14px; }
html body.page-app .dm5-buy.is-soft { background: #FFF3E0; color: #9A5B00; } html body.page-app .dm5-buy.is-soft:hover { background: #F2A33A; color: #fff; }
html body.page-app .dm5-sub { margin: 22px 2px 8px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #8A8A87; }
html body.page-app .dm5-list { list-style: none; margin: 0; padding: 0; border: 1px solid #ECECE9; border-radius: 16px; background: #fff; overflow: hidden; }
html body.page-app .dm5-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 118px; align-items: center; gap: 14px; padding: 12px 14px; border-top: 1px solid #F2F2F0; transition: background .15s; }
html body.page-app .dm5-row:first-child { border-top: 0; }
html body.page-app .dm5-row:not(.is-off):hover { background: #FAFAF9; }
html body.page-app .dm5-d { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14.5px; }
html body.page-app .dm5-d b { font-weight: 700; }
html body.page-app .dm5-tag { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-style: normal; font-weight: 500; vertical-align: 1px; }
html body.page-app .dm5-tag.is-prem { background: #FFF3E0; color: #9A5B00; }
html body.page-app .dm5-p { text-align: right; white-space: nowrap; }
html body.page-app .dm5-p strong { font-size: 14.5px; font-weight: 600; }
html body.page-app .dm5-p small { display: block; font-size: 11.5px; color: #8A8A87; }
html body.page-app .dm5-row .dm5-buy { justify-self: end; }
html body.page-app .dm5-row.is-off .dm5-d { color: #B5B5B1; }
html body.page-app .dm5-note { margin: 12px 2px 0; font-size: 12px; color: #A3A3A0; }
html body.page-app .dm5-note.is-top { margin-top: 18px; font-size: 13.5px; color: #6E6E6B; }
@media (max-width: 575.98px) {
  html body.page-app .dm5-picks { grid-template-columns: 1fr; }
  html body.page-app .dm5-row { grid-template-columns: minmax(0, 1fr) auto; }
  html body.page-app .dm5-row > :last-child:not(:empty) { grid-column: 1 / -1; justify-self: stretch; }
}
html body.page-app .dm5-row .dm5-d, html body.page-app .dm5-row .dm5-p strong { color: #0B0B0B; }
html body.page-app .dm5-row.is-off .dm5-d { color: #B5B5B1; }

/* =====================================================================================
   v9.56 · Dominio con la línea de Almacenamiento: título + resumen, pestañas, todo el ancho, colores neutros
   ===================================================================================== */
html body.page-app .dm6 { max-width: none; }
html body.page-app .dm6-sum { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border: 1px solid #ECECE9; border-radius: 999px; background: #fff; font-size: 13px; color: #6E6E6B; }
html body.page-app .dm6-sum strong { color: #0B0B0B; }
html body.page-app .dm6-n { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin-left: 4px; padding: 0 5px; border-radius: 999px; background: #F2F2F0; font-size: 11px; font-weight: 600; color: #3F3F3D; }
html body.page-app .dm6-search { margin-top: 18px; }
html body.page-app .dm6-bar { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 6px 0 18px; border: 1px solid #E2E2E0; border-radius: 14px; background: #fff; transition: border-color .2s, box-shadow .2s; }
html body.page-app .dm6-bar:focus-within { border-color: #0B0B0B; box-shadow: 0 0 0 4px rgba(11, 11, 11, .05); }
html body.page-app .dm6-bar > i { font-size: 17px; color: #9C9C99; }
html body.page-app .dm6-bar input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font-size: 16px; }
html body.page-app .dm6-go { height: 44px; padding: 0 24px; border: 0; border-radius: 10px; background: #0B0B0B; color: #fff; font-size: 14px; font-weight: 500; }
html body.page-app .dm6-go:disabled { opacity: .5; }
html body.page-app .dm6-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 48px 20px; text-align: center; color: #8A8A87; font-size: 14px; }
html body.page-app .dm6-empty p { margin: 0; max-width: 460px; }
html body.page-app .dm6-empty-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #F2F2F0; font-size: 22px; color: #6E6E6B; }
html body.page-app .dm6-btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 16px; border: 1px solid #DADAD6; border-radius: 10px; background: #fff; color: #0B0B0B; font-size: 13.5px; font-weight: 500; text-decoration: none; }
html body.page-app .dm6-btn:hover { background: #F5F5F3; color: #0B0B0B; }

/* animación (gris) */
html body.page-app .dm6-load { margin-top: 18px; padding: 40px 20px; border: 1px solid #ECECE9; border-radius: 16px; background: #fff; text-align: center; }
html body.page-app .dm6-radar { position: relative; width: 60px; height: 60px; margin: 0 auto 14px; display: grid; place-items: center; }
html body.page-app .dm6-radar i { position: relative; z-index: 1; font-size: 24px; color: #0B0B0B; animation: dm5Spin 3s linear infinite; }
html body.page-app .dm6-radar span { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid #BDBDB8; opacity: 0; animation: dm5Ping 1.8s ease-out infinite; }
html body.page-app .dm6-radar span + span { animation-delay: .9s; }
html body.page-app .dm6-load-t { margin: 0 0 16px; font-size: 15px; font-weight: 500; color: #0B0B0B; }
html body.page-app .dm6-load-t.is-in { animation: dm5Up .35s ease-out; }
html body.page-app .dm6-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
html body.page-app .dm6-chips span { padding: 6px 11px; border-radius: 999px; background: #F5F5F3; font-size: 12.5px; color: #B5B5B1; transition: all .25s; }
html body.page-app .dm6-chips span b { font-weight: 600; }
html body.page-app .dm6-chips span.is-seen { color: #6E6E6B; }
html body.page-app .dm6-chips span.is-on { background: #0B0B0B; color: #fff; transform: translateY(-2px); }

/* resultados */
html body.page-app .dm6-res.is-in > * { animation: dm5Up .4s ease-out both; }
html body.page-app .dm6-picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
html body.page-app .dm6-pick { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "k k" "h buy" "p buy" "r buy"; align-items: center; column-gap: 16px; padding: 20px 22px; border: 1px solid #ECECE9; border-radius: 16px; background: #fff; }
html body.page-app .dm6-pick.is-best { border-color: #0B0B0B; }
html body.page-app .dm6-pick .dm6-k { grid-area: k; justify-self: start; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; padding: 3px 9px; border-radius: 999px; background: #F2F2F0; font-size: 11.5px; font-weight: 500; color: #3F3F3D; }
html body.page-app .dm6-pick.is-best .dm6-k { background: #0B0B0B; color: #fff; }
html body.page-app .dm6-pick h3 { grid-area: h; margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.02em; overflow-wrap: anywhere; }
html body.page-app .dm6-pp { grid-area: p; margin: 4px 0 0; font-size: 13px; color: #6E6E6B; }
html body.page-app .dm6-pp strong { font-size: 20px; font-weight: 700; color: #0B0B0B; margin-right: 4px; }
html body.page-app .dm6-pr { grid-area: r; margin: 2px 0 0; font-size: 12px; color: #8A8A87; }
html body.page-app .dm6-pick .dm6-buy { grid-area: buy; }
html body.page-app .dm6-buy { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 38px; padding: 0 16px; border: 1px solid #DADAD6; border-radius: 10px; background: #fff; color: #0B0B0B; font-size: 13.5px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s; }
html body.page-app .dm6-buy:hover { background: #F5F5F3; border-color: #BDBDB8; color: #0B0B0B; }
html body.page-app .dm6-buy i { font-size: 12px; transition: transform .2s; } html body.page-app .dm6-buy:hover i { transform: translateX(2px); }
html body.page-app .dm6-buy.is-soft { color: #6E6E6B; }
html body.page-app .is-asked .dm6-buy { border-color: #DADAD6; background: #F5F5F3; color: #6E6E6B; pointer-events: none; }
html body.page-app .dm6-sub { margin: 24px 2px 8px; font-size: 12px; font-weight: 500; color: #8A8A87; }
html body.page-app .dm6-list { list-style: none; margin: 0; padding: 0; border: 1px solid #ECECE9; border-radius: 16px; background: #fff; overflow: hidden; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
html body.page-app .dm6-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 112px; align-items: center; gap: 14px; padding: 13px 16px; border-top: 1px solid #F2F2F0; color: #0B0B0B; }
html body.page-app .dm6-row:nth-child(-n+2) { border-top: 0; }
html body.page-app .dm6-row:nth-child(odd) { border-right: 1px solid #F2F2F0; }
html body.page-app .dm6-d { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; color: #0B0B0B; }
html body.page-app .dm6-d b { font-weight: 700; }
html body.page-app .dm6-tag { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: #F2F2F0; color: #6E6E6B; font-size: 11px; font-style: normal; font-weight: 500; vertical-align: 1px; }
html body.page-app .dm6-p { text-align: right; white-space: nowrap; }
html body.page-app .dm6-p strong { font-size: 14px; font-weight: 600; color: #0B0B0B; }
html body.page-app .dm6-p small { display: block; font-size: 11.5px; color: #8A8A87; }
html body.page-app .dm6-row .dm6-buy { justify-self: end; height: 34px; padding: 0 12px; font-size: 13px; }
html body.page-app .dm6-row.is-off .dm6-d { color: #B5B5B1; }
html body.page-app .dm6-note { margin: 12px 2px 0; font-size: 12px; color: #8A8A87; }
html body.page-app .dm6-note a { color: #0B0B0B; }
html body.page-app .dm6-note.is-top { margin-top: 18px; font-size: 13.5px; color: #6E6E6B; }

/* Mis dominios */
html body.page-app .dm6-mine { margin-top: 18px; }
html body.page-app .dm6-table { border: 1px solid #ECECE9; border-radius: 16px; background: #fff; overflow: hidden; }
html body.page-app .dm6-tr { display: grid; grid-template-columns: minmax(0, 2fr) 1fr 1fr 1fr; align-items: center; gap: 14px; padding: 14px 18px; border-top: 1px solid #F2F2F0; font-size: 13.5px; color: #3F3F3D; }
html body.page-app .dm6-tr.is-h { border-top: 0; padding: 10px 18px; background: #FAFAF9; font-size: 12px; color: #8A8A87; }
html body.page-app .dm6-dn { display: flex; align-items: center; gap: 10px; min-width: 0; }
html body.page-app .dm6-dn i { color: #8A8A87; }
html body.page-app .dm6-dn strong { font-size: 14.5px; font-weight: 600; color: #0B0B0B; overflow: hidden; text-overflow: ellipsis; }
html body.page-app .dm6-dn small { font-size: 12px; color: #8A8A87; white-space: nowrap; }
html body.page-app .dm6-st { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: #F2F2F0; font-size: 12px; font-weight: 500; color: #3F3F3D; }
html body.page-app .dm6-st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #BDBDB8; }
html body.page-app .dm6-st.is-processing::before { background: #E5A000; }
html body.page-app .dm6-st.is-active::before { background: #2DB37A; }
html body.page-app .dm6-dt { color: #8A8A87; }
html body.page-app .dm6-hint { margin: 10px 2px 0; font-size: 12.5px; color: #8A8A87; }
html body.page-app .dm6-own { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding: 18px 20px; border: 1px solid #ECECE9; border-radius: 16px; background: #fff; }
html body.page-app .dm6-own > div { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: #8A8A87; }
html body.page-app .dm6-own strong { font-size: 14px; color: #0B0B0B; }
html body.page-app .dm6-own form { display: flex; gap: 8px; flex: 0 1 420px; }
html body.page-app .dm6-own .form-control { height: 40px; border-radius: 10px; }
@media (max-width: 1199.98px) { html body.page-app .dm6-list { grid-template-columns: 1fr; } html body.page-app .dm6-row:nth-child(odd) { border-right: 0; } html body.page-app .dm6-row:nth-child(2) { border-top: 1px solid #F2F2F0; } }
@media (max-width: 767.98px) {
  html body.page-app .dm6-picks { grid-template-columns: 1fr; }
  html body.page-app .dm6-tr { grid-template-columns: minmax(0, 1fr) auto; }
  html body.page-app .dm6-tr > :nth-child(2), html body.page-app .dm6-tr > :nth-child(4) { display: none; }
  html body.page-app .dm6-own { flex-direction: column; align-items: stretch; }
  html body.page-app .dm6-row { grid-template-columns: minmax(0, 1fr) auto; }
  html body.page-app .dm6-row > :last-child:not(:empty) { grid-column: 1 / -1; justify-self: stretch; }
}

/* v9.57 · Dominio: contenido principal + columna lateral (cómo funciona, conectar, mis dominios) */
html body.page-app .dm7 { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; margin-top: 20px; }
html body.page-app .dm7-main.dm6-search { margin-top: 0; }
html body.page-app .dm7-hero { padding: 30px 30px 24px; border: 1px solid #ECECE9; border-radius: 20px; background: linear-gradient(180deg, #FAFAF8 0%, #fff 100%); }
html body.page-app .dm7-hero h2 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.025em; }
html body.page-app .dm7-hero > p { margin: 6px 0 18px; font-size: 14px; color: #6E6E6B; }
html body.page-app .dm7-sugs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; font-size: 12.5px; color: #8A8A87; }
html body.page-app .dm7-sugs button { height: 28px; padding: 0 11px; border: 1px solid #E6E6E3; border-radius: 999px; background: #fff; font-size: 12.5px; color: #3F3F3D; transition: background .15s, border-color .15s; }
html body.page-app .dm7-sugs button:hover { background: #F5F5F3; border-color: #CFCFCB; }
html body.page-app .dm7 .dm6-load { margin-top: 14px; }
html body.page-app .dm7 .dm6-list { grid-template-columns: 1fr; }
html body.page-app .dm7 .dm6-row:nth-child(odd) { border-right: 0; }
html body.page-app .dm7 .dm6-row:nth-child(2) { border-top: 1px solid #F2F2F0; }
html body.page-app .dm7-side { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 84px; }
html body.page-app .dm7-box { padding: 18px 20px; border: 1px solid #ECECE9; border-radius: 16px; background: #fff; }
html body.page-app .dm7-box h3 { margin: 0 0 12px; font-size: 14px; font-weight: 600; }
html body.page-app .dm7-box > p { margin: -6px 0 12px; font-size: 13px; color: #8A8A87; }
html body.page-app .dm7-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
html body.page-app .dm7-steps li { display: flex; gap: 12px; }
html body.page-app .dm7-steps b { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #F2F2F0; font-size: 12px; font-weight: 600; }
html body.page-app .dm7-steps span { display: flex; flex-direction: column; gap: 1px; font-size: 12.5px; line-height: 1.45; color: #8A8A87; }
html body.page-app .dm7-steps strong { font-size: 13.5px; color: #0B0B0B; font-weight: 500; }
html body.page-app .dm7-own { display: flex; flex-direction: column; gap: 8px; }
html body.page-app .dm7-own .form-control { height: 40px; border-radius: 10px; }
html body.page-app .dm7-own .dm6-btn { width: 100%; }
html body.page-app .dm7-link { display: flex; align-items: center; justify-content: space-between; text-decoration: none; color: #8A8A87; font-size: 12.5px; }
html body.page-app .dm7-link span { display: flex; flex-direction: column; gap: 2px; } html body.page-app .dm7-link strong { font-size: 14px; color: #0B0B0B; }
html body.page-app .dm7-link:hover { background: #FAFAF9; }
@media (max-width: 1199.98px) { html body.page-app .dm7 { grid-template-columns: 1fr; } html body.page-app .dm7-side { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { html body.page-app .dm7-side { grid-template-columns: 1fr; } html body.page-app .dm7-hero { padding: 22px 18px; } html body.page-app .dm7 .dm6-picks { grid-template-columns: 1fr; } }
html body.page-app .dm7 .dm6-pick { grid-template-columns: 1fr; grid-template-areas: "k" "h" "p" "r" "buy"; }
html body.page-app .dm7 .dm6-pick h3 { font-size: 17px; overflow-wrap: normal; word-break: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body.page-app .dm7 .dm6-pick .dm6-buy { margin-top: 14px; width: 100%; }

/* =====================================================================================
   v9.58 · Dominio minimalista: una columna, buscador con brillo animado, lista limpia
   ===================================================================================== */
html body.page-app .dm8 { max-width: 760px; margin: 28px auto 0; }
html body.page-app .dm8-bar { position: relative; display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 8px 0 20px; border: 1px solid #E4E4E1; border-radius: 999px; background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03), 0 20px 40px -32px rgba(0, 0, 0, .3); transition: border-color .25s, box-shadow .25s; isolation: isolate; }
html body.page-app .dm8-bar:focus-within { border-color: #CFCFCB; box-shadow: 0 0 0 5px rgba(11, 11, 11, .04), 0 20px 40px -32px rgba(0, 0, 0, .3); }
html body.page-app .dm8-bar > i { font-size: 17px; color: #A3A3A0; }
html body.page-app .dm8-bar input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font-size: 16.5px; }
html body.page-app .dm8-go { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #0B0B0B; color: #fff; font-size: 17px; display: grid; place-items: center; transition: transform .2s; }
html body.page-app .dm8-go:hover { transform: translateX(2px); }
/* brillo que recorre el borde mientras busca */
html body.page-app .dm8-glow { position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1px; opacity: 0; pointer-events: none;
  background: conic-gradient(from var(--a, 0deg), transparent 0 70%, #9C9C98 80%, #0B0B0B 88%, transparent 96%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; transition: opacity .3s; }
html body.page-app .dm8-bar.is-busy .dm8-glow { opacity: 1; animation: dm8Spin 1.4s linear infinite; }
html body.page-app .dm8-bar.is-busy { border-color: #EFEFED; }
html body.page-app .dm8-bar.is-busy .dm8-go { animation: dm8Pulse 1.2s ease-in-out infinite; }
@property --a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes dm8Spin { to { --a: 360deg; } }
@keyframes dm8Pulse { 50% { transform: scale(.9); opacity: .7; } }
html body.page-app .dm8-sugs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 14px; }
html body.page-app .dm8-sugs button { height: 30px; padding: 0 12px; border: 0; border-radius: 999px; background: #F2F2F0; font-size: 12.5px; color: #6E6E6B; transition: background .15s, color .15s; }
html body.page-app .dm8-sugs button:hover { background: #E8E8E5; color: #0B0B0B; }
html body.page-app .dm8-res:not(:empty) { margin-top: 26px; }
html body.page-app .dm8-status { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 14px; font-size: 13.5px; color: #6E6E6B; }
html body.page-app .dm8-status [data-l-msg].is-in { animation: dm8In .35s ease-out; }
html body.page-app .dm8-dots { display: inline-flex; gap: 3px; }
html body.page-app .dm8-dots i { width: 5px; height: 5px; border-radius: 50%; background: #0B0B0B; animation: dm8Dot 1s ease-in-out infinite; }
html body.page-app .dm8-dots i:nth-child(2) { animation-delay: .15s; } html body.page-app .dm8-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dm8Dot { 0%, 100% { opacity: .2; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
@keyframes dm8In { from { opacity: 0; transform: translateY(6px); filter: blur(2px); } to { opacity: 1; transform: none; filter: none; } }
html body.page-app .dm8-list { list-style: none; margin: 0; padding: 0; }
html body.page-app .dm8-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto 108px; align-items: center; gap: 16px; padding: 16px 4px; border-bottom: 1px solid #F0F0EE; animation: dm8In .45s var(--d, 0ms) both cubic-bezier(.2, .8, .2, 1); }
html body.page-app .dm8-list li:last-child { border-bottom: 0; }
html body.page-app .dm8-d { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15.5px; color: #0B0B0B; }
html body.page-app .dm8-d b { font-weight: 700; }
html body.page-app .dm8-tag { display: inline-block; margin-left: 10px; padding: 2px 9px; border-radius: 999px; background: #F2F2F0; color: #6E6E6B; font-size: 11px; font-style: normal; font-weight: 500; vertical-align: 2px; }
html body.page-app .dm8-tag.is-best { background: #0B0B0B; color: #fff; }
html body.page-app .dm8-p { text-align: right; white-space: nowrap; font-size: 15px; font-weight: 600; color: #0B0B0B; }
html body.page-app .dm8-p small { display: block; font-size: 11.5px; font-weight: 400; color: #A3A3A0; }
html body.page-app .dm8-buy { justify-self: end; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 16px; border: 1px solid #E2E2DF; border-radius: 999px; background: #fff; color: #0B0B0B; font-size: 13px; font-weight: 500; text-decoration: none; transition: background .15s, border-color .15s; }
html body.page-app .dm8-buy:hover { background: #F5F5F3; border-color: #CFCFCB; color: #0B0B0B; }
html body.page-app .dm8-buy.is-done { background: #F5F5F3; color: #6E6E6B; pointer-events: none; }
html body.page-app .dm8-list li.is-off .dm8-d { color: #C2C2BE; }
html body.page-app .dm8-list li.is-off .dm8-p small { color: #C2C2BE; }
/* esqueleto mientras busca */
html body.page-app .dm8-list.is-skel .dm8-d { color: #C2C2BE; }
html body.page-app .dm8-sk { display: block; width: 74px; height: 14px; border-radius: 6px; background: linear-gradient(90deg, #F2F2F0 0%, #E8E8E5 40%, #F2F2F0 80%); background-size: 200% 100%; animation: dm8Shim 1.2s linear infinite; }
html body.page-app .dm8-sk.is-btn { justify-self: end; width: 96px; height: 36px; border-radius: 999px; }
@keyframes dm8Shim { from { background-position: 200% 0; } to { background-position: -200% 0; } }
html body.page-app .dm8-note { margin: 16px 4px 0; text-align: center; font-size: 12.5px; color: #A3A3A0; }
html body.page-app .dm8-note a { color: #0B0B0B; }
html body.page-app .dm8-note.is-top { margin: 0 0 10px; font-size: 13.5px; color: #6E6E6B; }
@media (max-width: 575.98px) {
  html body.page-app .dm8 { margin-top: 18px; }
  html body.page-app .dm8-list li { grid-template-columns: minmax(0, 1fr) auto; row-gap: 10px; }
  html body.page-app .dm8-list li > :nth-child(3) { grid-column: 1 / -1; justify-self: stretch; }
  html body.page-app .dm8-tag { display: none; }
  html body.page-app .dm8-tag.is-best { display: inline-block; }
}
@media (prefers-reduced-motion: reduce) { html body.page-app .dm8-list li, html body.page-app .dm8-glow, html body.page-app .dm8-sk { animation: none !important; } }

/* v9.59 · Dominio a todo el ancho: buscador grande y resultados en dos columnas */
html body.page-app .dm8 { max-width: none; margin: 22px 0 0; }
html body.page-app .dm8-bar { height: 64px; padding: 0 8px 0 22px; border-radius: 16px; }
html body.page-app .dm8-bar input { font-size: 17px; }
html body.page-app .dm8-go { width: auto; height: 48px; padding: 0 22px; border-radius: 12px; gap: 8px; font-size: 14.5px; font-weight: 500; display: inline-flex; align-items: center; }
html body.page-app .dm8-go::before { content: "Buscar"; }
html body.page-app .dm8-go:hover { transform: none; background: #262626; }
html body.page-app .dm8-sugs { justify-content: flex-start; margin-top: 12px; }
html body.page-app .dm8-sugs::before { content: "Ideas"; align-self: center; margin-right: 4px; font-size: 12.5px; color: #A3A3A0; }
html body.page-app .dm8-status { justify-content: flex-start; padding-left: 4px; }
html body.page-app .dm8-note { text-align: left; }
html body.page-app .dm8-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
html body.page-app .dm8-list li { padding: 18px 4px; border-bottom: 1px solid #F0F0EE; }
html body.page-app .dm8-list li:last-child { border-bottom: 1px solid #F0F0EE; }
html body.page-app .dm8-list:not(.is-skel) li:first-child { grid-column: 1 / -1; padding: 22px 24px; margin-bottom: 8px; border: 1px solid #E4E4E1; border-radius: 16px; }
html body.page-app .dm8-list:not(.is-skel) li:first-child .dm8-d { font-size: 19px; font-weight: 500; }
html body.page-app .dm8-list:not(.is-skel) li:first-child .dm8-p { font-size: 19px; }
html body.page-app .dm8-list:not(.is-skel) li:first-child .dm8-buy { height: 42px; padding: 0 22px; background: #0B0B0B; border-color: #0B0B0B; color: #fff; }
html body.page-app .dm8-list:not(.is-skel) li:first-child .dm8-buy:hover { background: #262626; }
@media (max-width: 991.98px) { html body.page-app .dm8-list { grid-template-columns: 1fr; } }
html body.page-app .dm8-list li:not(:first-child) .dm8-d { white-space: normal; overflow-wrap: anywhere; }
html body.page-app .dm8-list li:not(:first-child) .dm8-tag { display: table; margin: 5px 0 0; }

/* =====================================================================================
   v9.60 · Encabezado con contexto (Dominio y Correos) y correos conectados al dominio
   ===================================================================================== */
html body.page-app .dm9-top { align-items: flex-start; }
html body.page-app .dm9-intro { display: flex; flex-direction: column; gap: 6px; animation: dm8In .5s ease-out both; }
html body.page-app .dm9-intro .stg-h1 { font-size: 30px; letter-spacing: -.035em; }
html body.page-app .dm9-lead { margin: 0; font-size: 15px; color: #6E6E6B; }
html body.page-app .dm9-url { display: inline-flex; align-items: center; align-self: flex-start; gap: 2px; margin-top: 10px; height: 36px; padding: 0 14px; border-radius: 999px; background: #F5F5F3; font-size: 14px; color: #8A8A87; }
html body.page-app .dm9-url i { margin-right: 6px; font-size: 12px; color: #2DB37A; }
html body.page-app .dm9-url-n { color: #0B0B0B; font-weight: 500; }
html body.page-app .dm9-url-t { color: #0B0B0B; font-weight: 700; display: inline-block; }
html body.page-app .dm9-url-t.is-in { animation: dm8In .45s cubic-bezier(.2, .8, .2, 1); }
html body.page-app .dm9-caret { width: 1.5px; height: 16px; margin-left: 2px; background: #0B0B0B; animation: dm9Blink 1s steps(1) infinite; }
@keyframes dm9Blink { 50% { opacity: 0; } }
html body.page-app .dm9-mail { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 16px 18px; border: 1px solid #ECECE9; border-radius: 16px; background: #fff; text-decoration: none; color: #8A8A87; font-size: 12.5px; transition: background .15s; }
html body.page-app .dm9-mail:hover { background: #FAFAF9; }
html body.page-app .dm9-mail > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 2px; }
html body.page-app .dm9-mail strong { font-size: 14px; color: #0B0B0B; }
html body.page-app .dm9-mail-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #F2F2F0; font-size: 18px; color: #0B0B0B; }
html body.page-app .dm9-mail > .bi-arrow-right { color: #0B0B0B; }

/* Correos */
html body.page-app .em9-lock { margin-top: 24px; padding: 48px 24px; border: 1px solid #ECECE9; border-radius: 20px; background: #fff; text-align: center; }
html body.page-app .em9-flow { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 26px; }
html body.page-app .em9-step { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 170px; padding: 18px 12px; border: 1px solid #ECECE9; border-radius: 16px; background: #FAFAF9; color: #A3A3A0; }
html body.page-app .em9-step i { font-size: 22px; } html body.page-app .em9-step b { font-size: 14px; color: #3F3F3D; } html body.page-app .em9-step small { font-size: 12px; }
html body.page-app .em9-step.is-need { border-color: #0B0B0B; background: #fff; color: #0B0B0B; animation: em9Glow 2.2s ease-in-out infinite; }
@keyframes em9Glow { 50% { box-shadow: 0 0 0 6px rgba(11, 11, 11, .05); } }
html body.page-app .em9-arrow { position: relative; width: 60px; height: 2px; background: #E6E6E3; overflow: hidden; border-radius: 2px; }
html body.page-app .em9-arrow i { position: absolute; top: 0; left: -40%; width: 40%; height: 100%; background: #0B0B0B; animation: em9Flow 1.6s ease-in-out infinite; }
@keyframes em9Flow { to { left: 100%; } }
html body.page-app .em9-lock h2, html body.page-app .em9-body h2 { margin: 0 0 6px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
html body.page-app .em9-lock p, html body.page-app .em9-body > p { margin: 0 auto 20px; max-width: 460px; font-size: 14px; color: #6E6E6B; }
html body.page-app .em9-cta { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 12px; background: #0B0B0B; color: #fff; font-size: 14px; font-weight: 500; text-decoration: none; }
html body.page-app .em9-cta:hover { background: #262626; color: #fff; }
html body.page-app .em9-ok { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; margin-top: 24px; padding: 32px; border: 1px solid #ECECE9; border-radius: 20px; background: #fff; }
html body.page-app .em9-body > p { margin: 0 0 16px; }
html body.page-app .em9-preview { padding: 22px; border-radius: 16px; background: #F5F5F3; }
html body.page-app .em9-mail { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 12px; background: #fff; box-shadow: 0 10px 24px -18px rgba(0, 0, 0, .35); animation: dm8In .6s ease-out both; }
html body.page-app .em9-mail > span:last-child { display: flex; flex-direction: column; } html body.page-app .em9-mail b { font-size: 14px; } html body.page-app .em9-mail small { font-size: 12.5px; color: #6E6E6B; }
html body.page-app .em9-av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #0B0B0B; color: #fff; font-weight: 600; }
html body.page-app .em9-lines { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
html body.page-app .em9-lines i { height: 8px; border-radius: 4px; background: #E6E6E3; } html body.page-app .em9-lines i:nth-child(2) { width: 80%; } html body.page-app .em9-lines i:nth-child(3) { width: 55%; }
html body.page-app .em9-list { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
html body.page-app .em9-list li { padding: 10px 14px; border-radius: 10px; background: #F5F5F3; font-size: 13.5px; color: #3F3F3D; }
@media (max-width: 767.98px) { html body.page-app .em9-ok { grid-template-columns: 1fr; padding: 22px; } html body.page-app .em9-flow { flex-direction: column; } html body.page-app .em9-arrow { width: 2px; height: 30px; } }
/* v9.61 · título sobre el buscador de dominios */
html body.page-app .dm8-h { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
html body.page-app .dm8-hp { margin: 4px 0 14px; font-size: 13.5px; color: #8A8A87; }

/* v9.62 · pago de dominio, resultado y facturación */
html body.page-app .dm8-buy.is-loading { pointer-events: none; color: #6E6E6B; }
html body.page-app .dm8-spin { width: 13px; height: 13px; border-radius: 50%; border: 2px solid #D4D4D1; border-top-color: #0B0B0B; animation: dm5Spin .7s linear infinite; }
html body.page-app .dm6-dt small { display: block; font-size: 11.5px; color: #A3A3A0; }
html body.page-app .dm6-st.is-paid::before { background: #E5A000; animation: em9Glow 1.6s ease-in-out infinite; }
html body.page-app .dm6-st.is-pending_payment::before { background: #BDBDB8; }

html body.page-app .dr { max-width: 760px; margin: 10px auto 40px; }
html body.page-app .dr-hero { padding: 44px 28px 34px; border: 1px solid #ECECE9; border-radius: 22px; background: #fff; text-align: center; }
html body.page-app .dr-check { width: 72px; height: 72px; margin: 0 auto 18px; }
html body.page-app .dr-check svg { width: 100%; height: 100%; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
html body.page-app .dr-check circle { stroke: #2DB37A; stroke-dasharray: 151; stroke-dashoffset: 151; animation: drDraw .7s ease-out forwards; }
html body.page-app .dr-check path { stroke: #2DB37A; stroke-dasharray: 36; stroke-dashoffset: 36; animation: drDraw .4s .6s ease-out forwards; }
@keyframes drDraw { to { stroke-dashoffset: 0; } }
html body.page-app .dr-k { margin: 0 0 6px; font-size: 12.5px; font-weight: 500; color: #2DB37A; }
html body.page-app .dr-hero h1 { margin: 0; font-size: 30px; font-weight: 600; letter-spacing: -.035em; animation: dm8In .5s .2s both; }
html body.page-app .dr-url { display: inline-flex; align-items: center; gap: 6px; margin: 16px 0 14px; padding: 10px 18px; border-radius: 999px; background: #F5F5F3; font-size: 17px; color: #6E6E6B; animation: dm8In .5s .35s both; }
html body.page-app .dr-url b { color: #0B0B0B; } html body.page-app .dr-url i { font-size: 13px; color: #2DB37A; }
html body.page-app .dr-lead { margin: 0 auto; max-width: 520px; font-size: 15px; line-height: 1.55; color: #6E6E6B; animation: dm8In .5s .45s both; }
html body.page-app .dr-ic { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; background: #F2F2F0; }
html body.page-app .dr-ic.is-bad { color: #E5484D; } html body.page-app .dr-ic.is-wait { color: #9A6700; }
html body.page-app .dr-how { margin-top: 14px; padding: 26px 28px; border: 1px solid #ECECE9; border-radius: 22px; background: #fff; }
html body.page-app .dr-how h2 { margin: 0 0 18px; font-size: 17px; font-weight: 600; }
html body.page-app .dr-how ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
html body.page-app .dr-how li { display: flex; gap: 14px; animation: dm8In .45s both; }
html body.page-app .dr-how li:nth-child(2) { animation-delay: .1s; } html body.page-app .dr-how li:nth-child(3) { animation-delay: .2s; } html body.page-app .dr-how li:nth-child(4) { animation-delay: .3s; }
html body.page-app .dr-how b { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #F2F2F0; font-size: 13px; }
html body.page-app .dr-how strong { display: block; font-size: 14.5px; font-weight: 600; }
html body.page-app .dr-how span { font-size: 13.5px; line-height: 1.5; color: #6E6E6B; }
html body.page-app .dr-acts { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
html body.page-app .dr-btn { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border: 1px solid #DADAD6; border-radius: 12px; background: #fff; color: #0B0B0B; font-size: 14px; font-weight: 500; text-decoration: none; }
html body.page-app .dr-btn.is-main { background: #0B0B0B; border-color: #0B0B0B; color: #fff; }

html body.page-app .bl-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
html body.page-app .bl-card { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; border: 1px solid #ECECE9; border-radius: 18px; background: #fff; }
html body.page-app .bl-k { font-size: 12.5px; color: #8A8A87; }
html body.page-app .bl-v { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
html body.page-app .bl-s { font-size: 13px; color: #6E6E6B; }
html body.page-app .bl-link { margin-top: 10px; align-self: flex-start; font-size: 13px; color: #0B0B0B; text-decoration: underline; text-underline-offset: 3px; }
html body.page-app .bl-h { margin: 28px 2px 10px; font-size: 15px; font-weight: 600; }
html body.page-app .bl-table { border: 1px solid #ECECE9; border-radius: 16px; background: #fff; overflow: hidden; }
html body.page-app .bl-tr { display: grid; grid-template-columns: minmax(0, 2fr) 1fr 1fr; align-items: center; gap: 14px; padding: 14px 18px; border-top: 1px solid #F2F2F0; font-size: 13.5px; color: #3F3F3D; }
html body.page-app .bl-tr.is-4, html body.page-app .bl-tr.is-h { grid-template-columns: minmax(0, 2fr) 1fr 1fr 1fr; }
html body.page-app .bl-tr:first-child { border-top: 0; }
html body.page-app .bl-tr.is-h { padding: 10px 18px; background: #FAFAF9; font-size: 12px; color: #8A8A87; }
html body.page-app .bl-what { display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 500; color: #0B0B0B; }
html body.page-app .bl-tr.is-4 .bl-what { flex-direction: column; align-items: flex-start; gap: 1px; }
html body.page-app .bl-what small { font-size: 11.5px; font-weight: 400; color: #A3A3A0; }
html body.page-app .bl-what i { color: #8A8A87; }
html body.page-app .bl-amt { text-align: right; font-weight: 600; color: #0B0B0B; }
html body.page-app .bl-st { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: #F2F2F0; font-size: 12px; font-weight: 500; }
html body.page-app .bl-st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #BDBDB8; }
html body.page-app .bl-st.is-ok::before { background: #2DB37A; } html body.page-app .bl-st.is-wait::before { background: #E5A000; } html body.page-app .bl-st.is-bad::before { background: #E5484D; }
html body.page-app .bl-empty { padding: 30px; border: 1px dashed #E2E2DF; border-radius: 16px; text-align: center; font-size: 13.5px; color: #8A8A87; }
@media (max-width: 767.98px) { html body.page-app .bl-cards { grid-template-columns: 1fr; } html body.page-app .bl-tr.is-4, html body.page-app .bl-tr.is-h { grid-template-columns: minmax(0, 1fr) auto; } html body.page-app .bl-tr > :nth-child(2), html body.page-app .bl-tr.is-4 > :nth-child(3) { display: none; } }
/* v9.63 · menos espacio entre el título y las pestañas / contenido (Dominio y Facturación) */
html body.page-app .dm9-top { margin-bottom: 14px !important; }
html body.page-app .dm9-top + .stg-tabs { margin-top: 0 !important; }
html body.page-app .dm9-url { margin-top: 6px; }
html body.page-app .bl .bl-cards { margin-top: 6px; }
html body.page-app .hx.dm6, html body.page-app .hx.bl { row-gap: 0 !important; gap: 0 !important; }
html body.page-app .hx.dm6 > .dm9-top, html body.page-app .hx.bl > .dm9-top { margin-bottom: 18px !important; }
html body.page-app .hx.bl > .bl-cards { margin-top: 0; }
/* v9.64 · carga del botón «Lo quiero»: tres barritas suaves, el botón conserva su tamaño */
html body.page-app .dm8-buy.is-loading { pointer-events: none; background: #F5F5F3; border-color: #E6E6E3; }
html body.page-app .dm8-list li:first-child .dm8-buy.is-loading { background: #262626; border-color: #262626; }
html body.page-app .dm8-bars { display: inline-flex; align-items: center; gap: 3px; height: 14px; }
html body.page-app .dm8-bars i { width: 3px; height: 100%; border-radius: 2px; background: currentColor; opacity: .35; animation: dm8Bar .9s ease-in-out infinite; }
html body.page-app .dm8-bars i:nth-child(2) { animation-delay: .12s; } html body.page-app .dm8-bars i:nth-child(3) { animation-delay: .24s; }
@keyframes dm8Bar { 0%, 100% { transform: scaleY(.45); opacity: .35; } 50% { transform: scaleY(1); opacity: 1; } }

/* v9.66 · Facturación: solo la tabla; cada pago se despliega con su detalle */
html body.page-app .bl .bl-tr, html body.page-app .bl .bl-tr.is-h { grid-template-columns: minmax(0, 2.2fr) 1fr 1fr 1fr 24px; }
html body.page-app .bl-row { border-top: 1px solid #F2F2F0; }
html body.page-app .bl-row > summary { list-style: none; cursor: pointer; border-top: 0; transition: background .15s; }
html body.page-app .bl-row > summary::-webkit-details-marker { display: none; }
html body.page-app .bl-row > summary:hover { background: #FAFAF9; }
html body.page-app .bl-row[open] > summary { background: #FAFAF9; }
html body.page-app .bl-ic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #F2F2F0; font-size: 15px; color: #3F3F3D; }
html body.page-app .bl-what > span:last-child { display: flex; flex-direction: column; min-width: 0; }
html body.page-app .bl-what b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body.page-app .bl-what small { font-size: 12px; color: #A3A3A0; }
html body.page-app .bl-chev { justify-self: end; color: #A3A3A0; font-size: 12px; transition: transform .2s; }
html body.page-app .bl-row[open] .bl-chev { transform: rotate(180deg); }
html body.page-app .bl-det { padding: 4px 18px 18px 62px; background: #FAFAF9; animation: dm8In .3s ease-out; }
html body.page-app .bl-det dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 24px; margin: 0; padding: 16px 18px; border: 1px solid #ECECE9; border-radius: 14px; background: #fff; }
html body.page-app .bl-det dt { font-size: 11.5px; font-weight: 400; color: #8A8A87; }
html body.page-app .bl-det dd { margin: 2px 0 0; font-size: 13.5px; color: #0B0B0B; }
html body.page-app .bl-det .is-wide { grid-column: 1 / -1; padding-top: 12px; border-top: 1px solid #F2F2F0; }
html body.page-app .bl-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; }
html body.page-app .bl-empty p { margin: 0; }
@media (max-width: 767.98px) {
  html body.page-app .bl .bl-tr, html body.page-app .bl .bl-tr.is-h { grid-template-columns: minmax(0, 1fr) auto 18px; }
  html body.page-app .bl .bl-tr > :nth-child(2), html body.page-app .bl .bl-tr > :nth-child(3) { display: none; }
  html body.page-app .bl-det { padding: 4px 12px 14px; }
  html body.page-app .bl-det dl { grid-template-columns: 1fr 1fr; }
}

/* v9.67 · Facturación: detalle en ventana (modal) */
html body.page-app .bl-btn { width: 100%; border: 0; border-top: 1px solid #F2F2F0; background: #fff; text-align: left; font: inherit; cursor: pointer; transition: background .15s; }
html body.page-app .bl-btn:hover { background: #FAFAF9; }
html body.page-app .bl-modal .modal-content { padding: 22px; border: 0; border-radius: 20px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .35); }
html body.page-app .bl-m-head { display: flex; align-items: flex-start; gap: 12px; }
html body.page-app .bl-m-head > div { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
html body.page-app .bl-m-head h2 { margin: 2px 0 0; font-size: 17px; font-weight: 600; letter-spacing: -.01em; overflow-wrap: anywhere; }
html body.page-app .bl-ic.is-lg { width: 42px; height: 42px; border-radius: 12px; font-size: 18px; }
html body.page-app .bl-m-x { width: 34px; height: 34px; border: 0; border-radius: 50%; background: #F2F2F0; color: #3F3F3D; display: grid; place-items: center; }
html body.page-app .bl-m-x:hover { background: #E8E8E5; }
html body.page-app .bl-m-total { margin: 18px 0 6px; padding: 16px 18px; border-radius: 14px; background: #F5F5F3; }
html body.page-app .bl-m-total small { display: block; font-size: 12px; color: #8A8A87; }
html body.page-app .bl-m-total strong { font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
html body.page-app .bl-m-dl { margin: 0; }
html body.page-app .bl-m-dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 2px; border-bottom: 1px solid #F2F2F0; }
html body.page-app .bl-m-dl dt { font-size: 13px; font-weight: 400; color: #8A8A87; }
html body.page-app .bl-m-dl dd { margin: 0; font-size: 13.5px; color: #0B0B0B; text-align: right; overflow-wrap: anywhere; }
html body.page-app .bl-m-next { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: #FFF8E8; font-size: 13.5px; color: #6B4E00; }

/* v9.68 · ventana «¡Ya tienes tu dominio!» */
html body.page-app .dr-modal .modal-dialog { max-width: 520px; }
html body.page-app .dr-modal .modal-content { position: relative; padding: 30px 28px 24px; border: 0; border-radius: 24px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .4); }
html body.page-app .dr-m-x { position: absolute; top: 16px; right: 16px; }
html body.page-app .dr-m-top { text-align: center; }
html body.page-app .dr-m-top .dr-check { width: 64px; height: 64px; margin-bottom: 14px; }
html body.page-app .dr-m-top h2 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -.03em; animation: dm8In .5s .2s both; }
html body.page-app .dr-m-top .dr-url { font-size: 15px; margin: 14px 0 10px; }
html body.page-app .dr-m-top .dr-lead { font-size: 14px; }
html body.page-app .dr-m-steps { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid #F0F0EE; display: flex; flex-direction: column; gap: 14px; }
html body.page-app .dr-m-steps li { display: flex; gap: 12px; animation: dm8In .45s both; }
html body.page-app .dr-m-steps li:nth-child(1) { animation-delay: .35s; } html body.page-app .dr-m-steps li:nth-child(2) { animation-delay: .45s; } html body.page-app .dr-m-steps li:nth-child(3) { animation-delay: .55s; } html body.page-app .dr-m-steps li:nth-child(4) { animation-delay: .65s; }
html body.page-app .dr-m-steps b { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #F2F2F0; font-size: 12.5px; }
html body.page-app .dr-m-steps strong { display: block; font-size: 14px; font-weight: 600; }
html body.page-app .dr-m-steps span { font-size: 13px; line-height: 1.5; color: #6E6E6B; }
html body.page-app .dr-m-go { width: 100%; justify-content: center; margin-top: 22px; }
/* v9.70 · Administración › Dominios */
html body.page-app .adm-dm-form { display: flex; align-items: center; gap: 6px; min-width: 360px; }
html body.page-app .adm-dm-form .form-select { width: 150px; flex: none; }
html body.page-app .adm-dm-alert { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 12px 14px; border-radius: 12px; background: #FFF8E8; color: #6B4E00; font-size: 13.5px; }
html body.page-app .adm-pill.is-warn { background: #FFF3E0; color: #9A5B00; }

/* v9.71 · Correos corporativos del cliente */
html body.page-app .em10-new { margin-top: 4px; }
html body.page-app .em10-bar { display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 8px 0 20px; border: 1px solid #E4E4E1; border-radius: 16px; background: #fff; box-shadow: 0 20px 40px -32px rgba(0, 0, 0, .3); }
html body.page-app .em10-bar:focus-within { border-color: #CFCFCB; box-shadow: 0 0 0 5px rgba(11, 11, 11, .04); }
html body.page-app .em10-bar > i { color: #A3A3A0; font-size: 17px; }
html body.page-app .em10-bar input { flex: 1; min-width: 60px; height: 100%; border: 0; outline: 0; background: none; font-size: 16.5px; text-align: right; }
html body.page-app .em10-at { flex: none; font-size: 16.5px; color: #6E6E6B; margin-right: 6px; }
html body.page-app .em10-bar .dm8-go::before { content: none; }
html body.page-app .em10-h { margin: 30px 2px 12px; font-size: 15px; font-weight: 600; }
html body.page-app .em9 .dm6-tr { grid-template-columns: minmax(0, 2fr) 1fr 1fr 220px; }
html body.page-app .em10-acts { display: flex; justify-content: flex-end; gap: 6px; }
html body.page-app .em10-acts .dm8-buy { height: 34px; padding: 0 14px; }
html body.page-app .em10-wait { font-size: 12px; color: #A3A3A0; }
html body.page-app .em10-tip { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: #F5F5F3; font-size: 13px; color: #3F3F3D; }
html body.page-app .dm6-st.is-active::before { background: #2DB37A; }
@media (max-width: 767.98px) { html body.page-app .em9 .dm6-tr { grid-template-columns: minmax(0, 1fr) auto; } html body.page-app .em10-acts { grid-column: 1 / -1; justify-content: flex-start; } html body.page-app .em10-at { font-size: 13px; } }

/* v9.72 · Ventana de compra del dominio con correo incluido + planes por capacidad */
html body.page-app .dk-modal .modal-dialog { max-width: 520px; }
html body.page-app .dk-modal .modal-content { position: relative; padding: 28px 26px 22px; border: 0; border-radius: 24px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .4); }
html body.page-app .dk-x { position: absolute; top: 16px; right: 16px; }
html body.page-app .dk-k { margin: 0 0 6px; font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: #8A8A85; }
html body.page-app .dk-dom { display: flex; align-items: center; gap: 8px; margin: 0; padding-right: 36px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: #0B0B0B; overflow-wrap: anywhere; }
html body.page-app .dk-dom i { font-size: 15px; color: #8A8A85; }
html body.page-app .dk-sub { margin: 4px 0 0; font-size: 13.5px; color: #6B6B66; }
html body.page-app .dk-dot { margin: 0 4px; color: #C4C4BF; }
html body.page-app .dk-sec { margin-top: 20px; padding: 18px; border: 1px solid #ECECE8; border-radius: 18px; background: #FAFAF8; }
html body.page-app .dk-sec-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14.5px; color: #0B0B0B; }
html body.page-app .dk-gift { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: #fff; border: 1px solid #ECECE8; font-size: 12px; font-weight: 500; color: #3F3F3D; }
html body.page-app .dk-hint { margin: 6px 0 12px; font-size: 13px; color: #6B6B66; }
html body.page-app .dk-mail { display: flex; align-items: center; height: 46px; padding: 0 14px; border: 1px solid #DADAD6; border-radius: 12px; background: #fff; font-size: 14.5px; transition: border-color .15s, box-shadow .15s; }
html body.page-app .dk-mail:focus-within { border-color: #0B0B0B; box-shadow: 0 0 0 3px rgba(11, 11, 11, .06); }
html body.page-app .dk-mail.is-bad { border-color: #D9534F; }
html body.page-app .dk-mail input { flex: 1 1 auto; min-width: 60px; border: 0; outline: 0; background: transparent; font-weight: 600; color: #0B0B0B; text-align: right; }
html body.page-app .dk-mail > span { flex: none; max-width: 60%; color: #6B6B66; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body.page-app .dk-sugs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
html body.page-app .dk-sugs button { padding: 3px 10px; border: 1px solid #ECECE8; border-radius: 999px; background: #fff; font-size: 12px; color: #3F3F3D; }
html body.page-app .dk-sugs button:hover { border-color: #BDBDB8; }
html body.page-app .dk-cap { margin: 16px 0 8px; font-size: 13px; font-weight: 600; color: #0B0B0B; }
html body.page-app .dk-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
html body.page-app .dk-plan { position: relative; cursor: pointer; margin: 0; }
html body.page-app .dk-plan input { position: absolute; opacity: 0; pointer-events: none; }
html body.page-app .dk-pl { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 12px 10px; border: 1px solid #E4E4E0; border-radius: 14px; background: #fff; transition: border-color .15s, box-shadow .15s, transform .15s; }
html body.page-app .dk-pl b { font-size: 15px; font-weight: 600; color: #0B0B0B; }
html body.page-app .dk-pl-p { font-size: 13px; font-weight: 500; color: #3F3F3D; }
html body.page-app .dk-pl-p small { font-size: 11px; color: #8A8A85; }
html body.page-app .dk-pl > small { font-size: 11px; line-height: 1.3; color: #8A8A85; }
html body.page-app .dk-plan:hover .dk-pl { border-color: #BDBDB8; }
html body.page-app .dk-plan input:checked + .dk-pl { border-color: #0B0B0B; box-shadow: 0 0 0 1px #0B0B0B inset; }
html body.page-app .dk-plan input:focus-visible + .dk-pl { box-shadow: 0 0 0 3px rgba(11, 11, 11, .12); }
html body.page-app .dk-plan.is-off { cursor: not-allowed; opacity: .5; }
html body.page-app .dk-sum { margin: 18px 0 0; padding: 0; }
html body.page-app .dk-sum > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 14px; color: #3F3F3D; }
html body.page-app .dk-sum dt { font-weight: 400; }
html body.page-app .dk-sum dt small { margin-left: 4px; font-size: 12px; color: #8A8A85; }
html body.page-app .dk-sum dd { margin: 0; font-weight: 500; color: #0B0B0B; }
html body.page-app .dk-sum .is-total { margin-top: 4px; padding-top: 12px; border-top: 1px solid #ECECE8; font-size: 15.5px; }
html body.page-app .dk-sum .is-total dt, html body.page-app .dk-sum .is-total dd { font-weight: 600; color: #0B0B0B; }
html body.page-app .dk-note { margin: 6px 0 0; font-size: 12.5px; color: #6B6B66; }
html body.page-app .dk-time { display: flex; align-items: flex-start; gap: 8px; margin: 14px 0 0; padding: 10px 12px; border-radius: 12px; background: #F5F5F3; font-size: 13px; color: #3F3F3D; }
html body.page-app .dk-time i { margin-top: 1px; }
html body.page-app .dk-pay { display: flex; align-items: center; justify-content: center; width: 100%; height: 50px; margin-top: 16px; border: 0; border-radius: 14px; background: #1F1F1E; color: #fff; font-size: 15px; font-weight: 600; transition: background .15s; }
html body.page-app .dk-pay:hover { background: #3A3A38; }
html body.page-app .dk-pay:disabled { opacity: .85; }
html body.page-app .dk-safe { margin: 10px 0 0; text-align: center; font-size: 12px; color: #8A8A85; }
html body.page-app .dk-okmail { display: flex; align-items: flex-start; gap: 10px; margin: 14px auto 0; max-width: 400px; padding: 12px 14px; border-radius: 14px; background: #F5F5F3; text-align: left; font-size: 13px; color: #3F3F3D; }
html body.page-app .dk-okmail i { font-size: 17px; color: #0B0B0B; }
html body.page-app .dk-okmail b { display: block; color: #0B0B0B; overflow-wrap: anywhere; }
html body.page-app .dk-okmail small { font-size: 12.5px; color: #6B6B66; }
/* Correos: planes en la página, estado al ritmo del dominio */
html body.page-app .em11-plans { max-width: 760px; }
html body.page-app .em10-new .dk-cap { margin-top: 18px; }
html body.page-app .em10-new .dk-time { max-width: 760px; }
html body.page-app .em10-bar .dm8-go[data-em-btn] { width: auto; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 500; white-space: nowrap; }
html body.page-app .em11-wait { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 18px; padding: 12px 16px; border: 1px solid #ECECE8; border-radius: 14px; background: #FAFAF8; font-size: 13.5px; color: #3F3F3D; }
html body.page-app .em11-pulse { flex: none; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: #E5A000; animation: em11p 1.6s ease-in-out infinite; }
@keyframes em11p { 50% { opacity: .35; transform: scale(.8); } }
html body.page-app .em9 .dm6-tr.em11-tr { grid-template-columns: minmax(0, 2fr) 1fr 1fr 1fr 220px; }
html body.page-app .dm6-dn small { display: block; font-size: 12px; color: #8A8A85; }
@media (max-width: 575.98px) {
  html body.page-app .dk-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body.page-app .dk-modal .modal-content { padding: 24px 18px 18px; }
}
@media (max-width: 767.98px) { html body.page-app .em9 .dm6-tr.em11-tr { grid-template-columns: minmax(0, 1fr) auto; } }
@media (prefers-reduced-motion: reduce) { html body.page-app .em11-pulse { animation: none; } }

/* v9.73 · Ventana de compra simplificada */
html body.page-app .dk-modal .modal-dialog { max-width: 440px; }
html body.page-app .dk-modal .modal-content { padding: 30px 26px 22px; }
html body.page-app .dk-dom { display: block; padding-right: 40px; font-size: 24px; }
html body.page-app .dk-sub { margin: 6px 0 0; font-size: 13.5px; color: #8A8A85; }
html body.page-app .dk-inc { margin-top: 22px; padding: 16px; border-radius: 16px; background: #F7F7F5; }
html body.page-app .dk-inc-h { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 13px; color: #6B6B66; }
html body.page-app .dk-inc-h i { font-size: 15px; color: #0B0B0B; }
html body.page-app .dk-addr { position: relative; display: flex; align-items: center; height: 46px; padding: 0 14px; border: 1px solid #E4E4E0; border-radius: 12px; background: #fff; font-size: 15px; cursor: text; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
html body.page-app .dk-addr:focus-within { border-color: #0B0B0B; box-shadow: 0 0 0 3px rgba(11, 11, 11, .06); }
html body.page-app .dk-addr.is-bad { border-color: #D9534F; }
html body.page-app .dk-addr input { flex: none; width: 70px; min-width: 24px; max-width: 60%; padding: 0; border: 0; outline: 0; background: transparent; font: inherit; font-weight: 600; color: #0B0B0B; text-align: left; }
html body.page-app .dk-addr-d { flex: 1 1 auto; min-width: 0; color: #6B6B66; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body.page-app .dk-addr > i { flex: none; margin-left: 8px; font-size: 13px; color: #A8A8A3; }
html body.page-app .dk-meas { position: absolute; left: -9999px; top: 0; visibility: hidden; white-space: pre; font: inherit; font-weight: 600; }
html body.page-app .dk-more { display: inline-flex; align-items: center; gap: 4px; margin: 12px 0 0; padding: 0; border: 0; background: none; font-size: 13px; color: #6B6B66; }
html body.page-app .dk-more span { color: #0B0B0B; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
html body.page-app .dk-more i { font-size: 11px; color: #0B0B0B; transition: transform .2s; }
html body.page-app .dk-more[aria-expanded="true"] i { transform: rotate(180deg); }
html body.page-app .dk-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
html body.page-app .dk-opts[hidden] { display: none; }
html body.page-app .dk-opt { position: relative; margin: 0; cursor: pointer; }
html body.page-app .dk-opt input { position: absolute; opacity: 0; pointer-events: none; }
html body.page-app .dk-opt-c { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 11px 13px; border: 1px solid #E4E4E0; border-radius: 12px; background: #fff; font-size: 13px; color: #6B6B66; transition: border-color .15s, box-shadow .15s; }
html body.page-app .dk-opt-c b { font-size: 14px; font-weight: 600; color: #0B0B0B; }
html body.page-app .dk-opt:hover .dk-opt-c { border-color: #BDBDB8; }
html body.page-app .dk-opt input:checked + .dk-opt-c { border-color: #0B0B0B; box-shadow: 0 0 0 1px #0B0B0B inset; }
html body.page-app .dk-opt input:focus-visible + .dk-opt-c { box-shadow: 0 0 0 3px rgba(11, 11, 11, .12); }
html body.page-app .dk-tot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 16px; border-top: 1px solid #F0F0EC; }
html body.page-app .dk-tot > span { display: flex; flex-direction: column; font-size: 14px; color: #3F3F3D; }
html body.page-app .dk-tot small { font-size: 12px; color: #8A8A85; }
html body.page-app .dk-tot b { font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: #0B0B0B; }
html body.page-app .dk-pay { margin-top: 14px; }
html body.page-app .dk-safe { margin-top: 10px; }
@media (max-width: 575.98px) { html body.page-app .dk-modal .modal-content { padding: 26px 18px 18px; } html body.page-app .dk-dom { font-size: 20px; } }
html body.page-app .dk-addr input, html body.page-app .dk-meas { font-size: 15px; font-family: inherit; letter-spacing: normal; }

/* v9.74 · Ventana de compra más amplia y cuidada */
html body.page-app .dk-modal .modal-dialog { max-width: 580px; }
html body.page-app .dk-modal .modal-content { padding: 0; overflow: hidden; border-radius: 28px; box-shadow: 0 50px 120px -40px rgba(0, 0, 0, .45); }
html body.page-app .dk-x { top: 18px; right: 18px; z-index: 2; background: rgba(255, 255, 255, .8); }
html body.page-app .dk-hero { position: relative; padding: 38px 36px 30px; text-align: center; background: radial-gradient(120% 140% at 50% 0%, #FFFFFF 0%, #F4F4F1 55%, #ECECE8 100%); border-bottom: 1px solid #EDEDE9; }
html body.page-app .dk-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(11, 11, 11, .06) 1px, transparent 1px); background-size: 16px 16px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 85%); -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 85%); }
html body.page-app .dk-hero > * { position: relative; z-index: 1; }
html body.page-app .dk-hero .dk-k { margin: 0 0 14px; font-size: 12px; letter-spacing: .08em; }
html body.page-app .dk-url { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; margin: 0; padding: 12px 20px; border: 1px solid #E4E4E0; border-radius: 999px; background: #fff; box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .18); font-size: 20px; font-weight: 600; letter-spacing: -.01em; color: #0B0B0B; }
html body.page-app .dk-url i { font-size: 14px; color: #8A8A85; }
html body.page-app .dk-url-h { font-weight: 400; color: #A8A8A3; }
html body.page-app .dk-url .dk-dom { display: inline; padding: 0; font-size: inherit; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body.page-app .dk-hero .dk-sub { margin: 14px 0 0; font-size: 14px; color: #6B6B66; }
html body.page-app .dk-hero .dk-sub b { font-weight: 600; color: #0B0B0B; }
html body.page-app .dk-body { padding: 26px 36px 28px; }
html body.page-app .dk-inc { margin: 0; padding: 18px; border: 1px solid #ECECE8; border-radius: 18px; background: #fff; }
html body.page-app .dk-inc-h { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; }
html body.page-app .dk-inc-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #F4F4F1; font-size: 18px; color: #0B0B0B; }
html body.page-app .dk-inc-h > span:last-child { display: flex; flex-direction: column; gap: 1px; }
html body.page-app .dk-inc-h b { font-size: 15px; font-weight: 600; color: #0B0B0B; }
html body.page-app .dk-inc-h small { font-size: 13px; color: #6B6B66; }
html body.page-app .dk-addr { height: 50px; padding: 0 16px; border-radius: 14px; background: #FAFAF8; }
html body.page-app .dk-addr:focus-within { background: #fff; }
html body.page-app .dk-more { margin-top: 14px; }
html body.page-app .dk-opts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
html body.page-app .dk-opt-c { flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; border-radius: 14px; }
html body.page-app .dk-opt-c span { font-size: 12.5px; }
html body.page-app .dk-tot { margin-top: 24px; padding-top: 20px; }
html body.page-app .dk-tot b { font-size: 26px; }
html body.page-app .dk-pay { height: 54px; border-radius: 16px; font-size: 15.5px; }
html body.page-app .dk-safe { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; }
html body.page-app .dk-safe span { display: inline-flex; align-items: center; gap: 5px; }
@media (max-width: 575.98px) {
  html body.page-app .dk-hero { padding: 34px 18px 24px; }
  html body.page-app .dk-url { font-size: 16px; padding: 10px 14px; }
  html body.page-app .dk-url-h { display: none; }
  html body.page-app .dk-body { padding: 20px 18px 20px; }
  html body.page-app .dk-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* v9.75 · Animaciones de la ventana de compra */
html body.page-app .dk-modal.fade .modal-dialog { transform: translateY(18px) scale(.97); transition: transform .45s cubic-bezier(.2, .9, .25, 1); }
html body.page-app .dk-modal.show .modal-dialog { transform: none; }
html body.page-app .dk-modal .dk-hero > *, html body.page-app .dk-modal .dk-body > * { opacity: 0; transform: translateY(10px); }
html body.page-app .dk-modal.show .dk-hero > *, html body.page-app .dk-modal.show .dk-body > * { animation: dkUp .55s cubic-bezier(.2, .9, .25, 1) forwards; }
html body.page-app .dk-modal.show .dk-hero > :nth-child(2) { animation-delay: .06s; }
html body.page-app .dk-modal.show .dk-hero > :nth-child(3) { animation-delay: .12s; }
html body.page-app .dk-modal.show .dk-body > :nth-child(1) { animation-delay: .16s; }
html body.page-app .dk-modal.show .dk-body > :nth-child(2) { animation-delay: .22s; }
html body.page-app .dk-modal.show .dk-body > :nth-child(3) { animation-delay: .24s; }
html body.page-app .dk-modal.show .dk-body > :nth-child(4) { animation-delay: .28s; }
html body.page-app .dk-modal.show .dk-body > :nth-child(n+5) { animation-delay: .32s; }
@keyframes dkUp { to { opacity: 1; transform: none; } }
/* barra del dominio: brillo que pasa y candado que aparece */
html body.page-app .dk-url { position: relative; overflow: hidden; }
html body.page-app .dk-url::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .85), transparent); transform: skewX(-18deg); }
html body.page-app .dk-modal.show .dk-url::after { animation: dkShine 1.2s .7s ease-out; }
@keyframes dkShine { to { left: 130%; } }
html body.page-app .dk-modal.show .dk-url i { animation: dkPop .5s .35s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes dkPop { from { transform: scale(0); } to { transform: none; } }
html body.page-app .dk-dom::after { content: ""; display: inline-block; width: 2px; height: .95em; margin-left: 2px; vertical-align: -2px; background: #0B0B0B; animation: dkCaret 1s steps(1) infinite; }
@keyframes dkCaret { 50% { opacity: 0; } }
/* halo suave detrás de la barra */
html body.page-app .dk-hero::before { content: ""; position: absolute; left: 50%; top: 46%; width: 340px; height: 120px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .95), transparent); pointer-events: none; }
/* correo: icono con leve flote */
html body.page-app .dk-modal.show .dk-inc-ic i { display: inline-block; animation: dkFloat 3.2s 1s ease-in-out infinite; }
@keyframes dkFloat { 50% { transform: translateY(-2px) rotate(-4deg); } }
html body.page-app .dk-inc { transition: border-color .2s, box-shadow .2s; }
html body.page-app .dk-inc:focus-within { border-color: #DADAD6; box-shadow: 0 14px 34px -22px rgba(0, 0, 0, .25); }
/* opciones: se despliegan con altura animada */
html body.page-app .dk-opts-w { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .35s cubic-bezier(.2, .9, .25, 1), opacity .25s, margin .35s; margin-top: 0; }
html body.page-app .dk-opts-w.is-open { grid-template-rows: 1fr; opacity: 1; margin-top: 12px; }
html body.page-app .dk-opts-w > .dk-opts { min-height: 0; overflow: hidden; margin: 0; padding: 2px; }
html body.page-app .dk-opt-c { position: relative; transition: border-color .15s, box-shadow .15s, transform .15s; }
html body.page-app .dk-opt:hover .dk-opt-c { transform: translateY(-1px); }
html body.page-app .dk-opt-ck { position: absolute; top: 10px; right: 10px; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #D6D6D2; transition: all .2s; }
html body.page-app .dk-opt input:checked + .dk-opt-c .dk-opt-ck { border-color: #0B0B0B; background: #0B0B0B url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; transform: scale(1.05); }
/* total: pequeño rebote al cambiar */
html body.page-app .dk-tot b { display: inline-block; font-variant-numeric: tabular-nums; }
html body.page-app .dk-tot b.is-bump { animation: dkBump .35s ease-out; }
@keyframes dkBump { 40% { transform: scale(1.06); } }
html body.page-app .dk-tot small { transition: opacity .2s; }
/* botón de pago: brillo al pasar */
html body.page-app .dk-pay { position: relative; overflow: hidden; transition: background .2s, transform .15s, box-shadow .2s; box-shadow: 0 12px 26px -14px rgba(0, 0, 0, .55); }
html body.page-app .dk-pay::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 50%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .22), transparent); transform: skewX(-18deg); transition: left .7s; }
html body.page-app .dk-pay:hover { transform: translateY(-1px); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .6); }
html body.page-app .dk-pay:hover::after { left: 130%; }
html body.page-app .dk-pay:active { transform: translateY(0) scale(.99); }
@media (prefers-reduced-motion: reduce) {
  html body.page-app .dk-modal .dk-hero > *, html body.page-app .dk-modal .dk-body > * { opacity: 1; transform: none; animation: none !important; }
  html body.page-app .dk-url::after, html body.page-app .dk-dom::after, html body.page-app .dk-pay::after { display: none; }
  html body.page-app .dk-modal.show .dk-inc-ic i, html body.page-app .dk-modal.show .dk-url i { animation: none; }
}

/* v9.76 · opciones totalmente ocultas al cerrar + moneda con bandera */
html body.page-app .dk-opts-w { visibility: hidden; transition: grid-template-rows .35s cubic-bezier(.2, .9, .25, 1), opacity .25s, margin .35s, visibility 0s .35s; }
html body.page-app .dk-opts-w.is-open { visibility: visible; transition: grid-template-rows .35s cubic-bezier(.2, .9, .25, 1), opacity .25s, margin .35s, visibility 0s; }
html body.page-app .dk-opts-w > .dk-opts { padding: 0; }
html body.page-app .dk-opts-w.is-open > .dk-opts { padding: 2px; }
html body.page-app .dk-tot-l { display: inline-flex; align-items: center; gap: 8px; }
html body.page-app .dk-cur { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px 0 5px; border: 1px solid #ECECE8; border-radius: 999px; background: #FAFAF8; font-size: 11px; font-weight: 600; letter-spacing: .04em; color: #3F3F3D; }
html body.page-app .dk-cur svg { width: 16px; height: 11px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); }

/* v9.77 · ventana más limpia */
html body.page-app .dk-hero::after, html body.page-app .dk-hero::before { display: none; }
html body.page-app .dk-hero { background: linear-gradient(180deg, #FAFAF8 0%, #F3F3F0 100%); }
html body.page-app .dk-inc-h { margin-bottom: 12px; }
html body.page-app .dk-addr { cursor: text; }
html body.page-app .dk-tot small { margin-top: 2px; }

/* v9.78 · Ventana de resultado del pago */
html body.page-app .pr-modal .modal-dialog { max-width: 440px; }
html body.page-app .pr-modal .modal-content { padding: 34px 28px 26px; border: 0; border-radius: 26px; }
html body.page-app .pr-ic { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; }
html body.page-app .pr-spin { width: 46px; height: 46px; border-radius: 50%; border: 3px solid #EDEDE9; border-top-color: #0B0B0B; animation: prSpin .8s linear infinite; }
@keyframes prSpin { to { transform: rotate(360deg); } }
html body.page-app .pr-svg { width: 64px; height: 64px; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
html body.page-app .pr-svg circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: drDraw .6s ease-out forwards; }
html body.page-app .pr-svg path { stroke-dasharray: 48; stroke-dashoffset: 48; animation: drDraw .4s .5s ease-out forwards; }
html body.page-app .pr-svg.is-ok { stroke: #2DB37A; }
html body.page-app .pr-svg.is-bad { stroke: #D9534F; }
html body.page-app .pr-svg.is-slow { stroke: #E5A000; }
html body.page-app .pr-k { margin: 0 0 6px; font-size: 12.5px; font-weight: 500; color: #8A8A85; }
html body.page-app .pr-k.is-ok { color: #2DB37A; }
html body.page-app .pr-k.is-bad { color: #D9534F; }
html body.page-app .pr-k.is-slow { color: #B98100; }
html body.page-app .pr-modal h2 { font-size: 22px; }
html body.page-app .pr-modal .dr-lead { margin-top: 8px; font-size: 14.5px; }
html body.page-app .pr-acts { display: flex; gap: 10px; justify-content: center; margin-top: 22px; }
html body.page-app .pr-acts:empty { display: none; }
html body.page-app .pr-acts .dr-btn { flex: 1; justify-content: center; }
@media (prefers-reduced-motion: reduce) { html body.page-app .pr-spin { animation-duration: 2s; } }

/* v9.79 · Correos: solo tu correo, abrir buzón y aumentar capacidad */
html body.page-app .em12-list { display: flex; flex-direction: column; gap: 12px; }
html body.page-app .em12-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; border: 1px solid #ECECE8; border-radius: 18px; background: #fff; }
html body.page-app .em12-main { display: flex; align-items: center; gap: 14px; min-width: 0; }
html body.page-app .em12-ic { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #F4F4F1; font-size: 18px; font-weight: 600; color: #0B0B0B; }
html body.page-app .em12-txt { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
html body.page-app .em12-txt strong { font-size: 16px; font-weight: 600; color: #0B0B0B; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body.page-app .em12-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13px; color: #8A8A85; }
html body.page-app .em12-acts { display: flex; align-items: center; gap: 14px; flex: none; }
html body.page-app .em12-more { padding: 0; border: 0; background: none; font-size: 13.5px; font-weight: 500; color: #0B0B0B; text-decoration: underline; text-underline-offset: 3px; }
html body.page-app .em12-open { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 12px; background: #1F1F1E; color: #fff; font-size: 14px; font-weight: 500; text-decoration: none; transition: background .15s, transform .15s; }
html body.page-app .em12-open:hover { background: #3A3A38; color: #fff; transform: translateY(-1px); }
html body.page-app .em12-open i { font-size: 12px; }
html body.page-app .em12-open.is-off { background: #F2F2F0; color: #A8A8A3; cursor: default; transform: none; }
html body.page-app .em12-note { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-size: 13px; color: #6B6B66; }
html body.page-app .em12-opts { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }
html body.page-app .em12-opts .dk-opt[hidden] { display: none; }
html body.page-app .em12-hint { font-size: 11.5px; color: #A8A8A3; }
html body.page-app #em-up .dk-cap { margin: 0 0 10px; }
@media (max-width: 767.98px) {
  html body.page-app .em12-card { flex-direction: column; align-items: stretch; }
  html body.page-app .em12-acts { justify-content: space-between; }
  html body.page-app .em12-opts { grid-template-columns: 1fr; }
}

/* v9.80 · tablas de Dominio y Correos con menos negrilla */
html body.page-app .dm6-dn strong, html body.page-app .em12-txt strong { font-weight: 500; }
html body.page-app .dm6-tr.is-h { font-weight: 400; }
html body.page-app .dm6-tr.is-h span { font-weight: 400; }
html body.page-app .dm6-st { font-weight: 400; }
html body.page-app .em12-ic { font-weight: 500; }
html body.page-app .em12-more, html body.page-app .em12-open { font-weight: 400; }

/* v9.82 · Sello «Pagos seguros con Wompi» */
html body.page-app .tc-secure { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 14px; margin: 40px auto 8px; padding: 0 16px; font-size: 12px; color: #A8A8A3; }
html body.page-app .tc-secure-l { display: inline-flex; align-items: center; gap: 6px; }
html body.page-app .tc-secure-l i { font-size: 13px; color: #8A8A85; }
html body.page-app .tc-secure-l b { font-weight: 600; color: #6B6B66; letter-spacing: .01em; }
html body.page-app .tc-secure-sep { width: 1px; height: 12px; background: #E4E4E0; }
html body.page-app .tc-secure-m { display: inline-flex; flex-wrap: wrap; gap: 6px; }
html body.page-app .tc-secure-m span { padding: 2px 8px; border: 1px solid #ECECE8; border-radius: 999px; background: #fff; font-size: 11px; color: #8A8A85; }
@media (max-width: 575.98px) { html body.page-app .tc-secure-sep { display: none; } html body.page-app .tc-secure { margin-top: 28px; } }
/* v9.83 · el sello de Wompi queda al final de la página aunque el contenido sea corto */
html body.page-app .app-shell:has(.tc-secure) { display: flex; flex-direction: column; }
html body.page-app .app-shell:has(.tc-secure) > .app-body { flex: 1 0 auto; display: flex; flex-direction: column; }
html body.page-app .app-main:has(> .tc-secure) { flex: 1 0 auto; display: flex; flex-direction: column; }
html body.page-app .app-main > .tc-secure { margin-top: auto; padding-top: 40px; padding-bottom: 8px; }

/* v10.134b · pestaña de chat minimizado: el círculo del visitante no se recorta (el punto verde se ve completo) */
.ld-tab-open .ld-av { overflow: visible; }
.ld-tab .ld-av > i { right: -1px; bottom: -1px; }
