/* ==========================================================================
   tiencol v2 · Novedades, panel de cuenta, ajustes unificados, SEO, 2FA,
   tablero de ventas, categorías, edición rápida y variantes.
   Mismos tokens que app.css / ui.css (minimalista, bordes suaves, negro como acento).
   ========================================================================== */

/* ---------- Barra superior: acciones y panel de cuenta ---------- */
.topbar-actions { display: flex; align-items: center; gap: .5rem; }
.topbar-news { position: relative; width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; color: var(--ink); }
.topbar-news:hover { background: var(--soft, #F1F1F1); color: var(--ink); }
.topbar-news .ic { width: 1.25rem; height: 1.25rem; }
.topbar-dot { position: absolute; top: 8px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: #E0245E; border: 2px solid #fff; box-sizing: content-box; }
.user-menu-text { line-height: 1.1; text-align: left; }
.user-menu-text small { font-size: .68rem; color: var(--muted); font-weight: 500; letter-spacing: .01em; }

.acct-pop { width: min(360px, calc(100vw - 24px)); padding: 0; border: 1px solid #E6E6E6; border-radius: 20px; box-shadow: 0 16px 40px rgba(17, 17, 17, .14); overflow: hidden; }
.acct-pop-kicker { display: flex; align-items: center; gap: .4rem; margin: 0 0 .7rem; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.acct-pop-me { padding: 1.1rem 1.1rem 1rem; }
.acct-pop-id { display: flex; align-items: center; gap: .75rem; margin-bottom: .9rem; min-width: 0; }
.acct-pop-id strong { font-size: .98rem; }
.acct-pop-id small { color: var(--muted); font-size: .8rem; }
.acct-pop-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .45rem; }
.acct-tile { display: grid; justify-items: center; gap: .3rem; padding: .65rem .2rem .55rem; border-radius: 14px; background: #F5F5F5; color: var(--ink); text-decoration: none; font-size: .74rem; }
.acct-tile i { font-size: 1.1rem; }
.acct-tile:hover { background: #ECECEC; color: var(--ink); }
.acct-pop-biz { padding: 1rem 1.1rem; border-top: 1px solid #EFEFEF; background: #FCFCFC; }
.acct-biz-row { display: flex; align-items: center; gap: .7rem; width: 100%; padding: .55rem .6rem; border: 0; border-radius: 12px; background: transparent; color: var(--ink); text-decoration: none; text-align: left; min-width: 0; }
.acct-biz-row:hover { background: #F1F1F1; color: var(--ink); }
.acct-biz-row img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; }
.acct-biz-row small { color: var(--muted); font-size: .78rem; }
.acct-biz-row.is-main { border: 1px solid #E6E6E6; background: #fff; padding: .6rem .7rem; }
.acct-biz-row.is-main:hover { border-color: #CFCFCF; }
.acct-biz-logo { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #EFEFEF; font-size: .72rem; font-weight: 700; color: var(--ink-2); }
.acct-biz-logo.is-icon { background: var(--ink); color: #fff; font-size: .95rem; }
.acct-caret { transition: transform var(--t-fast); }
[aria-expanded="true"] > .acct-caret { transform: rotate(180deg); }
.acct-biz-list { display: grid; gap: .1rem; margin-top: .4rem; padding-left: .35rem; border-left: 2px solid #EFEFEF; margin-left: 1.3rem; max-height: 240px; overflow-y: auto; }
.acct-biz-list .acct-biz-row img, .acct-biz-list .acct-biz-logo { width: 28px; height: 28px; }
.acct-pop-foot { display: flex; justify-content: space-between; gap: .5rem; padding: .6rem .8rem; border-top: 1px solid #EFEFEF; }
.acct-pop-foot a, .acct-pop-foot button { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .6rem; border: 0; border-radius: 10px; background: transparent; color: var(--ink-2); font-size: .84rem; text-decoration: none; }
.acct-pop-foot a:hover, .acct-pop-foot button:hover { background: #F2F2F2; color: var(--ink); }
.acct-new { min-width: 18px; height: 18px; padding: 0 .3rem; border-radius: 999px; background: #E0245E; color: #fff; font-size: .66rem; font-weight: 700; display: inline-grid; place-items: center; }
.side-notif-badge.is-news { background: var(--ink); }

/* ---------- Ajustes unificados ---------- */
.settings-nav .edit-ig-group-title > i { margin-right: .15rem; }
.settings-nav .edit-ig-group.is-sub .edit-ig-group-title { margin-top: 1rem; font-weight: 500; font-size: .78rem; }
.settings-biz { margin: 1.75rem 0 0; padding-top: 1.25rem; border-top: 1px solid #EFEFEF; }
.settings-biz .edit-ig-group-title { margin-top: 0; color: var(--ink); }
.settings-biz-switch { margin: 0 .9rem; width: calc(100% - 1.8rem); border-radius: 12px; min-height: 42px; font-weight: 600; }
.settings-biz-one { display: flex; align-items: center; gap: .6rem; margin: 0 .9rem; padding: .55rem .75rem; border-radius: 12px; background: #F5F5F5; min-width: 0; }
.settings-biz-one img, .settings-biz-one > span { width: 24px; height: 24px; border-radius: 50%; flex: none; object-fit: cover; display: grid; place-items: center; background: #fff; font-size: .62rem; font-weight: 700; }
@media (max-width: 991.98px) {
  .acct-layout > .settings-nav { display: block !important; margin-bottom: 1.25rem; }
  .acct-layout > .settings-nav .edit-ig-title, .acct-layout > .settings-nav .edit-ig-search, .acct-layout > .settings-nav .edit-ig-group-title, .acct-layout > .settings-nav .settings-biz, .acct-layout > .settings-nav .edit-ig-empty { display: none; }
  .acct-layout > .settings-nav { display: flex !important; gap: .4rem; overflow-x: auto; scrollbar-width: none; padding-bottom: .25rem; }
  .acct-layout > .settings-nav .edit-ig-group { display: flex; gap: .4rem; flex: none; }
  .acct-layout > .settings-nav .edit-nav-link { flex: none; padding: .45rem .8rem; border: 1px solid #E3E3E3; border-radius: 999px; font-size: .85rem; gap: .45rem; }
  .acct-layout > .settings-nav .edit-nav-link > i { font-size: 1rem; width: auto; }
  .acct-layout > .settings-nav .edit-nav-link.is-active { background: #EFEFEF; border-color: #EFEFEF; font-weight: 600; }
}

/* Notificaciones: preferencias por módulo */
.notif-prefs { padding: .5rem 0 0 !important; overflow: hidden; }
.notif-prefs-head, .notif-pref { display: grid; grid-template-columns: minmax(0, 1fr) 88px 88px; align-items: center; gap: .5rem; padding: .85rem 1.25rem; }
.notif-prefs-head { padding-top: .5rem; padding-bottom: .5rem; font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.notif-prefs-head span:not(:first-child), .notif-pref-switch { text-align: center; justify-self: center; }
.notif-pref { grid-template-columns: 40px minmax(0, 1fr) 88px 88px; border-top: 1px solid #EFEFEF; }
.notif-prefs-head { grid-template-columns: 40px minmax(0, 1fr) 88px 88px; }
.notif-prefs-head span:first-child { grid-column: 1 / span 2; }
.notif-pref-icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #F2F2F2; font-size: 1.05rem; }
.notif-pref-text { display: grid; min-width: 0; }
.notif-pref-text strong { font-size: .92rem; font-weight: 600; }
.notif-pref-text small { font-size: .8rem; color: var(--muted); }
.notif-pref-switch .form-switch { padding-left: 2.5em; display: inline-block; }
.notif-pref-switch .form-check-input { width: 2.4em; height: 1.35em; cursor: pointer; }
.notif-pref-switch .form-check-input:checked { background-color: var(--ink); border-color: var(--ink); }
.notif-prefs-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-top: 1px solid #EFEFEF; background: #FCFCFC; }
.notif-prefs-foot .field-hint { max-width: 460px; }
@media (max-width: 575.98px) {
  .notif-prefs-head, .notif-pref { grid-template-columns: 32px minmax(0, 1fr) 56px 56px; padding: .75rem .85rem; gap: .4rem; }
  .notif-pref-icon { width: 32px; height: 32px; font-size: .9rem; }
  .notif-pref-text small { display: none; }
}
.notif-count.is-soft { background: #EFEFEF; color: var(--ink-2); }

/* Seguridad: verificación en dos pasos */
.tfa-state { display: inline-flex; align-items: center; margin-left: .35rem; padding: .1rem .55rem; border-radius: 999px; background: #F1F1F1; color: var(--muted); font-size: .7rem; font-weight: 600; vertical-align: middle; }
.tfa-state.is-on { background: var(--success-tint); color: var(--success); }
.tfa-points { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .45rem; font-size: .88rem; color: var(--ink-2); }
.tfa-points i { margin-right: .4rem; color: var(--ink); }
.auth-badge { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: .75rem; padding: .3rem .75rem; border-radius: 999px; background: #F1F1F1; font-size: .78rem; font-weight: 600; }
.auth-foot { margin-top: 1.25rem; text-align: center; }

/* SEO del negocio */
.seo-preview { display: grid; gap: .15rem; margin-bottom: 1.75rem; padding: 1rem 1.15rem; border: 1px solid #E8E8E8; border-radius: 16px; background: #fff; font-family: Arial, Helvetica, sans-serif; }
.seo-preview-url { font-size: .78rem; color: #4D5156; }
.seo-preview-title { font-size: 1.15rem; font-weight: 400; color: #1A0DAB; line-height: 1.3; }
.seo-preview-desc { font-size: .86rem; color: #4D5156; line-height: 1.45; }
.seo-tips { list-style: none; margin: 1.75rem 0 0; padding: 1rem 1.15rem; border-radius: 16px; background: #F7F7F7; display: grid; gap: .5rem; font-size: .84rem; color: var(--ink-2); }
.seo-tips i { color: var(--success); margin-right: .35rem; }
.seo-tips code { font-size: .8rem; color: var(--ink); background: #fff; padding: .05rem .35rem; border-radius: 6px; }
.notice-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.notice-steps li { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .7rem; border-radius: 999px; background: #F3F3F3; font-size: .8rem; }

/* ---------- Herramientas del negocio: «Más» siempre visible ---------- */
@media (min-width: 992px) {
  .app-main.biz-page > .biz-nav { scrollbar-width: thin; scrollbar-color: #DADADA transparent; }
  .app-main.biz-page > .biz-nav::-webkit-scrollbar { display: block; width: 4px; }
  .app-main.biz-page > .biz-nav::-webkit-scrollbar-thumb { background: #DADADA; border-radius: 4px; }
  .app-main.biz-page > .biz-nav > .biz-nav-more {
    position: sticky; bottom: 0; z-index: 2; margin-top: auto; padding: .6rem 0 .2rem; width: 100%;
    display: flex !important; justify-content: center; background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 28%);
  }
}
@media (min-width: 992px) and (max-height: 760px) {
  .app-main.biz-page > .biz-nav { gap: .05rem !important; padding-top: .8rem !important; }
  .app-main.biz-page > .biz-nav .biz-nav-icon { width: 38px !important; height: 38px !important; font-size: 1rem; }
  .app-main.biz-page > .biz-nav .biz-nav-label { font-size: .7rem; }
  .app-main.biz-page > .biz-nav .biz-nav-title { margin-bottom: .25rem !important; }
}
@media (min-width: 992px) and (max-height: 620px) {
  .app-main.biz-page > .biz-nav .biz-nav-label { display: none; }
  .app-main.biz-page > .biz-nav .biz-nav-item { padding: .2rem !important; }
}

/* ---------- Subsecciones de Productos ---------- */
.prod-subnav { display: flex; gap: .35rem; margin: -.5rem 0 1.5rem; padding: .3rem; width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; border-radius: 999px; background: #F3F3F3; }
.prod-subnav-item { flex: none; display: inline-flex; align-items: center; gap: .45rem; height: 36px; padding: 0 1rem; border-radius: 999px; color: var(--ink-2); font-size: .88rem; font-weight: 500; text-decoration: none; }
.prod-subnav-item:hover { color: var(--ink); background: #EAEAEA; }
.prod-subnav-item.is-active { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.prod-subnav-badge { min-width: 19px; height: 19px; padding: 0 .3rem; border-radius: 999px; background: #D97706; color: #fff; font-size: .65rem; font-weight: 700; display: inline-grid; place-items: center; }

/* ---------- Novedades ---------- */
.rel-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.rel-card { position: relative; border: 1px solid #E8E8E8; border-radius: 20px; background: #fff; padding: 1.35rem 1.4rem 0; overflow: hidden; }
.rel-card.is-new { border-color: #D6D6D6; box-shadow: 0 6px 22px rgba(17, 17, 17, .06); }
.rel-head { display: flex; align-items: flex-start; gap: .9rem; margin-bottom: .6rem; }
.rel-version { flex: none; display: inline-grid; place-items: center; min-width: 58px; height: 34px; padding: 0 .7rem; border-radius: 999px; background: var(--ink); color: #fff; font-size: .82rem; font-weight: 700; letter-spacing: .01em; }
.rel-title { margin: 0; font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.rel-new { display: inline-flex; vertical-align: middle; margin-left: .3rem; padding: .08rem .5rem; border-radius: 999px; background: #E0245E; color: #fff; font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.rel-date { margin: .2rem 0 0; font-size: .8rem; color: var(--muted); }
.rel-summary { margin: 0 0 .9rem; color: var(--ink-2); font-size: .92rem; line-height: 1.55; }
.rel-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-top: 1px solid #F0F0F0; }
.rel-react { display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; }
.rel-react-q { font-size: .84rem; color: var(--muted); margin-right: .3rem; }
.rel-face { display: inline-flex; align-items: center; gap: .35rem; height: 38px; padding: 0 .8rem 0 .6rem; border: 1px solid #E6E6E6; border-radius: 999px; background: #fff; color: var(--ink-2); font-size: .85rem; transition: transform var(--t-fast), background-color var(--t-fast), border-color var(--t-fast); }
.rel-face i { font-size: 1.25rem; line-height: 1; }
.rel-face b { font-weight: 600; font-variant-numeric: tabular-nums; }
.rel-face:hover { border-color: #CFCFCF; transform: translateY(-1px); }
.rel-face.is-on.is-happy { background: #E9F6EE; border-color: #BFE3CC; color: #1E7A45; }
.rel-face.is-on.is-neutral { background: #FDF6E3; border-color: #F1DDA6; color: #8A6100; }
.rel-face.is-on.is-sad { background: #FDECEC; border-color: #F4C7C3; color: #B42318; }
.rel-face.is-pop i { animation: rel-pop .4s var(--ease); }
@keyframes rel-pop { 0% { transform: scale(1); } 45% { transform: scale(1.35); } 100% { transform: scale(1); } }
.rel-comments-n { font-size: .84rem; color: var(--muted); display: inline-flex; gap: .35rem; align-items: center; }
.rel-comments { margin: 0 -1.4rem; padding: 1rem 1.4rem 1.1rem; background: #FAFAFA; border-top: 1px solid #F0F0F0; }
.rel-comment-form { display: flex; gap: .7rem; align-items: flex-start; }
.rel-comment-input { flex: 1; min-width: 0; }
.rel-comment-input textarea { resize: none; min-height: 40px !important; border-radius: 14px !important; font-size: .9rem; overflow: hidden; }
.rel-comment-meta { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .4rem; }
.rel-comment-list { list-style: none; margin: .9rem 0 0; padding: 0; display: grid; gap: .8rem; max-height: 420px; overflow-y: auto; }
.rel-comment { display: flex; gap: .7rem; align-items: flex-start; }
.rel-comment.is-fresh { animation: rel-in .35s var(--ease); }
@keyframes rel-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.rel-comment-body { flex: 1; min-width: 0; padding: .55rem .85rem; border-radius: 14px; background: #fff; border: 1px solid #EDEDED; }
.rel-comment-body p { margin: 0; font-size: .86rem; line-height: 1.45; }
.rel-comment-body small { color: var(--faint); font-size: .74rem; margin-left: .25rem; }
.rel-comment-text { white-space: pre-line; word-break: break-word; margin-top: .15rem !important; color: var(--ink-2); }
@media (max-width: 575.98px) {
  .rel-card { padding: 1.1rem 1rem 0; }
  .rel-comments { margin: 0 -1rem; padding: .9rem 1rem 1rem; }
  .rel-foot { flex-direction: column; align-items: flex-start; }
}
.rel-mini { display: inline-flex; gap: .3rem; align-items: center; font-size: .82rem; }
/* Administración de versiones */
.relf .adm-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.relf-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .75rem; }
.relf-row { padding: .85rem; border: 1px solid #EAEAEA; border-radius: 14px; background: #FCFCFC; }
.relf-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem; margin: 1rem 0 2rem; }

/* ---------- Tablero de ventas ---------- */
.board-page .mod-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.board-search .form-control { height: 38px; border-radius: 999px; min-width: 240px; }
.board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 1fr); gap: .9rem; overflow-x: auto; padding-bottom: 1rem; scroll-snap-type: x proximity; align-items: start; }
.board-col { scroll-snap-align: start; display: flex; flex-direction: column; min-height: 200px; max-height: calc(100vh - 230px); border-radius: 18px; background: #F6F6F6; border: 1px solid #EDEDED; }
.board-col-head { display: flex; gap: .65rem; align-items: flex-start; padding: .9rem .9rem .7rem; }
.board-col-head h3 { margin: 0; font-size: .92rem; font-weight: 600; display: flex; align-items: center; gap: .4rem; }
.board-col-head small { display: block; color: var(--muted); font-size: .74rem; line-height: 1.35; margin-top: .1rem; }
.board-col-icon { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-size: .95rem; }
.board-col.is-confirm .board-col-icon { background: #FDF3E1; color: #9A5B00; }
.board-col.is-production .board-col-icon { background: #EEF1EA; color: var(--accent); }
.board-col.is-due .board-col-icon { background: #FDECEC; color: #B42318; }
.board-n { min-width: 22px; height: 20px; padding: 0 .4rem; border-radius: 999px; background: #fff; font-size: .72rem; font-weight: 700; display: inline-grid; place-items: center; }
.board-cards { display: grid; gap: .55rem; padding: 0 .6rem .7rem; overflow-y: auto; }
.board-empty { margin: .25rem .3rem .5rem; font-size: .8rem; color: var(--faint); }
.board-card { background: #fff; border: 1px solid #E8E8E8; border-radius: 14px; overflow: hidden; transition: box-shadow var(--t-fast), transform var(--t-fast); }
.board-card:hover { box-shadow: 0 6px 18px rgba(17, 17, 17, .08); transform: translateY(-1px); }
.board-card.is-late { border-color: #F4C7C3; }
.board-card-link { display: grid; gap: .35rem; padding: .75rem .8rem .6rem; color: var(--ink); text-decoration: none; }
.board-card-link:hover { color: var(--ink); }
.board-card-top { display: flex; justify-content: space-between; gap: .5rem; min-width: 0; font-size: .9rem; }
.board-num { color: var(--faint); font-size: .78rem; flex: none; }
.board-items { font-size: .78rem; color: var(--ink-2); line-height: 1.4; }
.board-meta { display: flex; flex-wrap: wrap; gap: .3rem .6rem; font-size: .72rem; color: var(--muted); align-items: center; }
.board-tag { display: inline-flex; align-items: center; gap: .25rem; padding: .08rem .45rem; border-radius: 999px; background: #F2F2F2; color: var(--ink-2); font-size: .7rem; font-weight: 500; }
.board-tag.is-late { background: #FDECEC; color: #B42318; }
.board-money { font-size: .88rem; }
.board-money small { font-size: .72rem; margin-left: .25rem; }
.board-card-act { margin: 0; border-top: 1px solid #F1F1F1; }
.board-next { display: flex; width: 100%; align-items: center; justify-content: center; gap: .4rem; padding: .5rem .6rem; border: 0; background: #FAFAFA; color: var(--ink); font-size: .78rem; font-weight: 600; text-decoration: none; border-top: 1px solid #F1F1F1; }
.board-card-act .board-next { border-top: 0; }
.board-next:hover { background: var(--ink); color: #fff; }
@media (max-width: 767.98px) { .board { grid-auto-columns: 84%; } .board-search .form-control { min-width: 0; } }
.ord-due-form { display: flex; gap: .5rem; align-items: center; }
.ord-due .ov-h i { margin-right: .3rem; }

/* ---------- Productos: formulario v2 ---------- */
.pf-cat-row { display: flex; gap: .5rem; align-items: center; }
.pf-cat-row .form-select { flex: 1; }
.pf-inv-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; font-size: .84rem; color: var(--ink-2); text-decoration: none; }
.pf-inv-link:hover { color: var(--ink); text-decoration: underline; }
.pf-toggle-card { display: flex; gap: .8rem; align-items: flex-start; padding: .9rem 1rem; margin-bottom: .6rem; border: 1px solid #E8E8E8; border-radius: 14px; cursor: pointer; transition: border-color var(--t-fast), background-color var(--t-fast); }
.pf-toggle-card:hover { border-color: #CFCFCF; }
.pf-toggle-card:has(input:checked) { border-color: var(--ink); background: #FAFAFA; }
.pf-toggle-card .form-check-input { margin-top: .2rem; flex: none; }
.pf-toggle-card .form-check-input:checked { background-color: var(--ink); border-color: var(--ink); }
.pf-toggle-card span { display: grid; gap: .15rem; }
.pf-toggle-card strong { font-size: .92rem; font-weight: 600; }
.pf-toggle-card strong i { margin-right: .3rem; }
.pf-toggle-card small { font-size: .8rem; color: var(--muted); line-height: 1.45; }
.pf-made-days { margin: .2rem 0 .6rem 2.4rem; }
.pf-days { max-width: 180px; }
.pf-tags { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; min-height: 46px; padding: .4rem .5rem; border: 1px solid var(--bs-border-color, #DADADA); border-radius: 12px; background: #fff; cursor: text; }
.pf-tags:focus-within { border-color: var(--ink); }
.pf-tag { display: inline-flex; align-items: center; gap: .2rem; padding: .2rem .25rem .2rem .6rem; border-radius: 999px; background: #F1F1F1; font-size: .82rem; }
.pf-tag button { width: 20px; height: 20px; border: 0; border-radius: 50%; background: transparent; display: grid; place-items: center; color: var(--muted); padding: 0; }
.pf-tag button:hover { background: #E2E2E2; color: var(--ink); }
.pf-tags-input { flex: 1; min-width: 160px; border: 0; outline: 0; font-size: .88rem; padding: .25rem .2rem; background: transparent; }
.pf-slug .input-group-text { max-width: 55%; font-size: .8rem; color: var(--muted); }
.pf-visibility { margin: 1rem 0 .5rem; display: grid; gap: .45rem; }
.pf-visibility legend { font-size: .85rem; font-weight: 600; margin-bottom: .35rem; }
.pf-vis-opt { display: flex; gap: .6rem; align-items: flex-start; padding: .6rem .7rem; border: 1px solid #E8E8E8; border-radius: 12px; cursor: pointer; }
.pf-vis-opt:has(input:checked) { border-color: var(--ink); background: #FAFAFA; }
.pf-vis-opt input { margin-top: .25rem; accent-color: var(--ink); }
.pf-vis-opt span { display: grid; }
.pf-vis-opt strong { font-size: .86rem; font-weight: 600; }
.pf-vis-opt strong i { margin-right: .25rem; }
.pf-vis-opt small { font-size: .74rem; color: var(--muted); line-height: 1.4; }
.pf-share { display: flex; align-items: center; gap: .3rem; margin: .25rem 0 1rem; padding: .45rem .6rem; border-radius: 10px; background: #F4F4F4; font-size: .78rem; color: var(--ink-2); min-width: 0; }
.pf-share span { flex: 1; min-width: 0; }
.product-badge.is-link { background: #EAF1F8; color: #2C5A85; }


/* ---------- Productos: listado con edición rápida ---------- */
.pl-hint { font-size: .8rem; color: var(--muted); margin: -.4rem 0 1rem; }
.pl-hint i { color: #C77700; }
.pl-note { display: flex; gap: .6rem; align-items: flex-start; padding: .8rem 1rem; margin-bottom: 1rem; border-radius: 14px; background: #EAF1F8; color: #2C5A85; font-size: .86rem; }
.pl-edit { border: 0; background: transparent; padding: .05rem .25rem; margin: 0 -.25rem; border-radius: 6px; color: inherit; font: inherit; text-align: left; cursor: text; max-width: 100%; }
.pl-edit:hover { background: #F1F1F1; box-shadow: inset 0 0 0 1px #E3E3E3; }
.pl-edit:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.product-card .product-name .pl-edit { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-edit.is-name { display: inline-flex; min-width: 0; }
.pl-add { font-size: .74rem; color: var(--faint); }
.pl-input { display: inline-block; width: auto; min-width: 90px; max-width: 150px; height: 30px; padding: .15rem .45rem; font-size: .85rem; border-radius: 8px; }
.pl-input.is-wide { max-width: none; width: 100%; }
.pl-status { height: 32px; padding: 0 1.6rem 0 .6rem; border: 1px solid #E3E3E3; border-radius: 999px; font-size: .78rem; font-weight: 500; background-color: #fff; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23666' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .5rem center; background-size: 10px; cursor: pointer; }
.pl-status.is-active { color: var(--success); }
.pl-status.is-unlisted { color: #2C5A85; background-color: #F3F7FB; }
.pl-status.is-hidden { color: var(--muted); background-color: #F5F5F5; }
.product-media { position: relative; }
.product-media-link { position: absolute; inset: 0; z-index: 1; }
.pl-photo-btn { position: absolute; z-index: 2; right: .5rem; bottom: .5rem; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .15); cursor: pointer; opacity: 0; transition: opacity var(--t-fast); margin: 0; }
.product-card:hover .pl-photo-btn, .pl-photo-btn:focus-within { opacity: 1; }
@media (hover: none) { .pl-photo-btn { opacity: 1; } }
.product-row-thumb { position: relative; }
.pl-photo-btn.is-sm { width: 24px; height: 24px; right: -4px; bottom: -4px; font-size: .7rem; opacity: 1; }
.product-row .product-row-actions { display: flex; align-items: center; gap: .3rem; }
[data-product-item].is-saved { box-shadow: 0 0 0 2px rgba(47, 107, 63, .35); transition: box-shadow .3s; }
[data-product-item].is-busy { opacity: .6; pointer-events: none; }
.product-cat-filter { width: auto; max-width: 220px; height: 40px; border-radius: 999px; font-size: .86rem; }
.product-actions { align-items: center; flex-wrap: wrap; gap: .35rem; }
.product-actions .pl-status { max-width: 118px; }
.product-actions .pl-status { margin-left: auto; }

/* ---------- Categorías ---------- */
.cat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; }
.cat-card { display: flex; flex-direction: column; border: 1px solid #E8E8E8; border-radius: 18px; background: #fff; overflow: hidden; }
.cat-card.is-hidden { opacity: .7; }
.cat-card-media { position: relative; aspect-ratio: 16 / 10; background: #F4F4F4; display: grid; place-items: center; color: var(--faint); font-size: 1.6rem; }
.cat-card-media img { width: 100%; height: 100%; object-fit: cover; }
.cat-flag { position: absolute; top: .6rem; left: .6rem; padding: .15rem .5rem; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: .72rem; color: var(--muted); }
.cat-card-body { padding: .85rem 1rem .4rem; flex: 1; }
.cat-card-body h3 { margin: 0 0 .25rem; font-size: 1rem; font-weight: 600; }
.cat-card-body p { margin: 0 0 .4rem; font-size: .83rem; color: var(--ink-2); line-height: 1.45; }
.cat-card-body small { color: var(--muted); font-size: .76rem; }
.cat-card-actions { display: flex; align-items: center; gap: .3rem; padding: .5rem .75rem .75rem; }
.cat-card-actions .btn-outline-ink { margin-left: auto; }
.cat-form { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 1.25rem; }
@media (max-width: 575.98px) { .cat-form { grid-template-columns: 1fr; } }
.cat-photo { display: grid; place-items: center; aspect-ratio: 1; border: 1px dashed #CFCFCF; border-radius: 16px; background: #FAFAFA; cursor: pointer; overflow: hidden; color: var(--muted); text-align: center; }
.cat-photo:hover { border-color: var(--ink); }
.cat-photo img { width: 100%; height: 100%; object-fit: cover; }
.cat-photo span { display: grid; gap: .3rem; font-size: 1.4rem; }
.cat-photo small { font-size: .78rem; }
.cat-products { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid #EFEFEF; }
.cat-products-q { max-width: 220px; border-radius: 999px; }
.cat-products-list { list-style: none; margin: 0 0 .5rem; padding: .25rem; max-height: 260px; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .25rem; border: 1px solid #EFEFEF; border-radius: 12px; }
.cat-products-list label { display: flex; align-items: center; gap: .55rem; padding: .4rem .5rem; border-radius: 10px; cursor: pointer; font-size: .85rem; min-width: 0; }
.cat-products-list label:hover { background: #F6F6F6; }
.cat-products-list label:has(input:checked) { background: #F1F1F1; }
.cat-products-list input { accent-color: var(--ink); flex: none; }
.cat-products-list img, .cat-thumb { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; flex: none; display: grid; place-items: center; background: #EFEFEF; font-size: .8rem; color: var(--faint); }

/* ---------- Tienda pública: categorías, envío gratis, variantes ---------- */
.store-cats { display: flex; gap: .9rem; overflow-x: auto; scrollbar-width: none; padding: .25rem .1rem 1rem; margin-bottom: .25rem; }
.store-cats::-webkit-scrollbar { display: none; }
.store-cat { flex: none; display: grid; justify-items: center; gap: .4rem; width: 76px; text-decoration: none; color: var(--ink-2); font-size: .78rem; text-align: center; line-height: 1.25; }
.store-cat-img { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--brand-2, #F1F0EC); color: var(--on-brand-2, #1C1C1A); font-weight: 700; font-size: .9rem; border: 2px solid transparent; transition: border-color var(--t-fast); }
.store-cat-img img { width: 100%; height: 100%; object-fit: cover; }
.store-cat-img.is-all { font-size: 1.2rem; }
.store-cat.is-active { color: var(--ink); font-weight: 600; }
.store-cat.is-active .store-cat-img, .store-cat:hover .store-cat-img { border-color: var(--brand, #1C1C1A); }
.store-cat-desc { margin: .35rem 0 0; font-size: .9rem; color: var(--muted); max-width: 640px; }
.store-badge.is-ship { background: #E9F6EE; color: #1E7A45; }
.store-badge.is-made { background: var(--sunken); color: var(--ink-2); }
.store-freeship { display: flex; gap: .75rem; align-items: flex-start; padding: .85rem 1rem; margin: .25rem 0 1rem; border-radius: 14px; background: #E9F6EE; color: #14532D; font-size: .86rem; line-height: 1.45; }
.store-freeship i { font-size: 1.25rem; }
.store-freeship div { display: grid; gap: .1rem; }
.store-opt-group { margin-bottom: .9rem; border: 0; padding: 0; }
.store-opt-group legend { font-size: .88rem; font-weight: 600; margin-bottom: .45rem; }
.store-opt-group legend span { font-weight: 400; color: var(--muted); }
.store-chip.is-out span { opacity: .45; text-decoration: line-through; }
.store-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin: 1.25rem 0 .5rem; }
.store-tags a { padding: .2rem .6rem; border-radius: 999px; background: var(--sunken); color: var(--ink-2); font-size: .78rem; text-decoration: none; }
.store-tags a:hover { background: var(--line); }
.store-hero-kicker a { color: inherit; }
/* Avance del pedido: tantas columnas como etapas tenga (con fabricación o recogida cambia el número). */
.ord-steps { grid-template-columns: none !important; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
@media (max-width: 575.98px) { .ord-steps { overflow-x: auto; grid-auto-columns: minmax(64px, 1fr); } }

/* Novedades · publicación consolidada */
.rel-page { max-width: 760px; margin: 0 auto; padding: 2rem 0 3rem; }
.rel-body { margin-bottom: 1.1rem; font-size: .92rem; line-height: 1.6; color: var(--ink-2); }
.rel-body h3 { margin: 1.1rem 0 .45rem; font-size: .95rem; font-weight: 600; color: var(--ink); }
.rel-body h3:first-child { margin-top: .2rem; }
.rel-body p { margin: 0 0 .7rem; }
.rel-body ul { margin: 0 0 .7rem; padding-left: 1.15rem; display: grid; gap: .35rem; }
.rel-body li::marker { color: var(--faint); }
.rel-body strong { font-weight: 600; color: var(--ink); }
.relf-editor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; align-items: start; }
.relf-body { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .84rem; line-height: 1.55; min-height: 340px; }
.relf-preview { border: 1px dashed #DADADA; border-radius: 14px; padding: .9rem 1rem; background: #FCFCFC; max-height: 560px; overflow-y: auto; }
.relf-preview-label { margin: 0 0 .5rem; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--faint); }
.rel-adm-sum { display: block; max-width: 42ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 991.98px) { .relf-editor { grid-template-columns: minmax(0, 1fr); } }

/* ================= Referidos ================= */
.ref-pill { display: inline-flex; align-items: center; padding: .12rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 600; background: #F1F1F1; color: var(--ink-2); white-space: nowrap; }
.ref-pill.is-ok { background: var(--success-tint); color: var(--success); }
.ref-pill.is-info { background: #EAF1F8; color: #2C5A85; }
.ref-pill.is-warn { background: var(--warn-tint); color: var(--warn); }
.ref-pill.is-bad { background: #FDECEC; color: #B42318; }
.ref-pill.is-muted { background: #F4F4F4; color: var(--faint); }
.ref-flag { display: inline-flex; gap: .3rem; align-items: center; color: var(--warn); font-weight: 500; }
/* Página Referidos · compacta */
.rf { max-width: 760px; margin: 0 auto; padding: .5rem 0 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.rf-head .page-title { margin: 0 0 .3rem; }
.rf-head p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.rf-head strong { color: var(--ink); font-weight: 600; }
.rf-reward { display: flex; align-items: center; gap: .75rem; padding: .7rem .8rem .7rem 1rem; border-radius: 14px; background: #111; color: #fff; }
.rf-reward > i { font-size: 1.15rem; }
.rf-reward span { flex: 1; display: grid; line-height: 1.25; font-size: .9rem; }
.rf-reward small { color: rgba(255,255,255,.65); font-size: .76rem; }
.rf-reward form { margin: 0; }
.rf-reward .btn { border-radius: 999px; font-weight: 600; padding-inline: 1rem; }
.rf-note { display: flex; align-items: center; gap: .6rem; padding: .6rem .9rem; border-radius: 12px; background: #F4F1FB; color: var(--ink); font-size: .86rem; text-decoration: none; }
.rf-note:hover { color: var(--ink); background: #EEE9F8; }
.rf-note-go { margin-left: auto; font-weight: 600; white-space: nowrap; }
.rf-new { display: flex; flex-wrap: wrap; gap: .5rem; margin: .25rem 0 0; }
.rf-new .form-control { flex: 1; min-width: 0; }
.rf-new .invalid-feedback { flex-basis: 100%; margin-top: 0; }
.rf-fine { margin: -.5rem 0 .25rem; font-size: .76rem; color: var(--faint); }
.rf-bar { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; flex-wrap: wrap; padding-bottom: .5rem; border-bottom: 1px solid #EEE; }
.rf-title { margin: 0; font-size: .95rem; font-weight: 600; }
.rf-stats { margin: 0; display: flex; gap: .9rem; font-size: .8rem; color: var(--muted); }
.rf-stats b { color: var(--ink); font-weight: 600; margin-right: .15rem; }
.rf-list { list-style: none; margin: 0; padding: 0; }
.rf-row { display: grid; grid-template-columns: 8.6rem minmax(0, 1fr) 9.5rem 4.6rem 8.5rem; align-items: center; gap: .75rem; padding: .6rem .25rem; border-bottom: 1px solid #F2F2F2; font-size: .86rem; }
.rf-row.is-fresh { background: #F7F7F7; border-radius: 10px; animation: rel-in .4s var(--ease); }
.rf-code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 700; letter-spacing: .04em; font-size: .86rem; }
.rf-row.is-done .rf-code { color: var(--faint); font-weight: 600; }
.rf-who { color: var(--ink-2); }
.rf-when { color: var(--faint); font-size: .78rem; white-space: nowrap; text-align: right; }
.rf-actions { display: flex; justify-content: flex-end; align-items: center; gap: .15rem; }
.rf-actions form { margin: 0; }
.rf-ic { display: inline-grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 8px; background: transparent; color: var(--ink-2); font-size: .95rem; text-decoration: none; }
.rf-ic:hover { background: #F2F2F2; color: var(--ink); }
.rf-ic.is-wa { color: #1E8E4E; }
.rf-ic.is-muted { color: var(--faint); font-size: .8rem; }
.rf-empty { margin: 0; padding: 1.25rem 0; color: var(--muted); font-size: .88rem; }
.rf-how { font-size: .84rem; color: var(--ink-2); }
.rf-how summary { cursor: pointer; color: var(--muted); font-weight: 500; }
.rf-how ol { margin: .6rem 0 .4rem; padding-left: 1.1rem; display: grid; gap: .25rem; }
.rf-how p { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.5; }
@media (max-width: 767.98px) {
  .rf-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "code pill" "who who" "when actions"; row-gap: .15rem; padding: .7rem .1rem; }
  .rf-code { grid-area: code; }
  .rf-row .ref-pill { grid-area: pill; justify-self: end; }
  .rf-who { grid-area: who; font-size: .82rem; }
  .rf-when { grid-area: when; text-align: left; }
  .rf-actions { grid-area: actions; }
  .rf-new .btn span { display: none; }
}
/* Registro */
.ref-invite { display: flex; align-items: flex-start; gap: .7rem; padding: .85rem 1rem; margin-bottom: 1.1rem; border-radius: 14px; background: #F4F1FB; font-size: .88rem; line-height: 1.45; }
.ref-invite-icon { flex: none; width: 32px; height: 32px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.ref-input { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .06em; text-transform: uppercase; }
/* Menú de cuenta, barra lateral y Mi plan */
.acct-ref { display: flex; align-items: center; gap: .7rem; margin-top: .6rem; padding: .7rem .85rem; border-radius: 14px; background: #111; color: #fff; text-decoration: none; }
.acct-ref:hover { background: #262626; color: #fff; }
.acct-ref > i:first-child { font-size: 1.15rem; }
.acct-ref span { display: grid; line-height: 1.25; font-size: .84rem; }
.acct-ref small { color: rgba(255,255,255,.7); font-size: .74rem; }
.plan-alert.is-gift { background: #F4F1FB; }
.plan-alert.is-gift > i { color: var(--ink); }
.plan-was { opacity: .6; font-weight: 400; margin-left: .25rem; }
.plan-ref { display: flex; align-items: center; gap: .75rem; margin-top: 1rem; padding: .85rem 1rem; border: 1px dashed #D6D6D6; border-radius: 16px; color: var(--ink); text-decoration: none; font-size: .88rem; }
.plan-ref:hover { background: #FAFAFA; color: var(--ink); }
.plan-ref > i:first-child { font-size: 1.2rem; }
.ref-adm-tools { margin-top: 1rem; }
.ref-adm-chips { display: flex; margin: 0; }
@media (min-width: 768px) { .rf-row > .ref-pill { justify-self: start; } }

/* ================= Contenido para redes (página principal) ================= */
.sh { display: flex; flex-direction: column; gap: 1.6rem; }
.sh-bar { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; margin-bottom: .6rem; }
.sh-title { margin: 0; font-size: 1rem; font-weight: 600; display: flex; align-items: center; gap: .45rem; }
.sh-formats { display: inline-flex; padding: 3px; border-radius: 12px; background: #F2F2F2; gap: 2px; }
.sh-format { display: inline-flex; align-items: center; gap: .35rem; border: 0; background: transparent; padding: .35rem .7rem; border-radius: 9px; font-size: .8rem; color: var(--muted); }
.sh-format.is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); font-weight: 600; }
.sh-chips { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; margin-bottom: 1rem; }
.sh-chip { flex: none; border: 1px solid #E6E6E6; background: #fff; border-radius: 999px; padding: .32rem .85rem; font-size: .82rem; color: var(--ink-2); }
.sh-chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.sh-hint { font-size: .86rem; color: var(--muted); background: #FAFAFA; border-radius: 12px; padding: .7rem .9rem; }
.sh-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1.1rem; }
.sh-card { position: relative; display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.sh-thumb { position: relative; display: block; border-radius: 14px; overflow: hidden; background: #F3F3F3; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 6px 18px rgba(0,0,0,.05); transition: transform .18s ease, box-shadow .18s ease; }
.sh-thumb:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 14px 30px rgba(0,0,0,.1); }
.sh-thumb canvas, .sh-thumb img { display: block; width: 100%; height: auto; }
.sh-thumb[data-ratio="post"] { aspect-ratio: 1 / 1; }
.sh-thumb[data-ratio="portrait"] { aspect-ratio: 4 / 5; }
.sh-thumb[data-ratio="story"] { aspect-ratio: 9 / 16; }
.sh-thumb[data-ratio="cover"] { aspect-ratio: 1640 / 624; }
.sh-thumb img { height: 100%; object-fit: cover; }
.sh-thumb-empty { position: absolute; inset: 0; display: grid; place-items: center; color: #BBB; font-size: 2rem; }
.sh-open { position: absolute; right: .55rem; bottom: .55rem; padding: .3rem .65rem; border-radius: 999px; background: rgba(17,17,17,.82); color: #fff; font-size: .74rem; font-weight: 600; opacity: 0; transform: translateY(4px); transition: opacity .15s ease, transform .15s ease; }
.sh-thumb:hover .sh-open, .sh-thumb:focus-visible .sh-open { opacity: 1; transform: none; }
.sh-meta { display: grid; min-width: 0; padding-right: 1.8rem; }
.sh-name { font-size: .86rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.sh-meta small { color: var(--faint); font-size: .76rem; line-height: 1.3; }
.sh-more { position: absolute; right: -.3rem; bottom: .1rem; }
.sh-more form { margin: 0; }
.sh-empty { color: var(--muted); font-size: .88rem; margin: 0; }
.sh-new { min-width: 290px; }
.sh-new .dropdown-item { display: flex; gap: .7rem; align-items: center; padding: .55rem .9rem; }
.sh-new .dropdown-item > i { font-size: 1.1rem; }
.sh-new .dropdown-item span { display: grid; line-height: 1.25; }
.sh-new small { color: var(--muted); font-size: .74rem; }
@media (max-width: 575.98px) { .sh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; } .sh-format span { display: none; } }
.sh-pages { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .55rem; border-radius: 999px; background: rgba(255,255,255,.94); color: #111; font-size: .72rem; font-weight: 600; box-shadow: 0 1px 4px rgba(0,0,0,.14); pointer-events: none; }
.sh-grid.is-mine .sh-thumb { aspect-ratio: 1 / 1; background: #F1F1F1; }
.sh-grid.is-mine .sh-thumb img { object-fit: contain; }

/* ===================== v2.6 · Seguridad y documentos legales ===================== */
/* Trampa anti-bots del registro: fuera de pantalla para personas (no usar display:none, algunos bots lo detectan). */
.hp-field { position: absolute !important; left: -10000px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* Aviso de cookies (solo aparece si hay Google Analytics configurado) */
.tc-consent { position: fixed; z-index: 1090; left: 16px; right: 16px; bottom: 16px; max-width: 640px; margin: 0 auto; background: var(--surface, #fff); color: var(--ink, #111); border: 1px solid var(--line, #e4e3df); border-radius: 14px; box-shadow: 0 8px 32px rgba(17, 17, 17, .14); padding: 16px 18px; display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.tc-consent-text { flex: 1 1 320px; margin: 0; font-size: .875rem; line-height: 1.5; color: var(--ink-2, #3a3a36); }
.tc-consent-text a { color: inherit; text-decoration: underline; }
.tc-consent-state { font-weight: 600; }
.tc-consent-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.tc-consent-actions .btn { min-height: 40px; }
@media (max-width: 480px) { .tc-consent-actions { width: 100%; } .tc-consent-actions .btn { flex: 1 1 auto; } }

/* Documentos legales: /privacidad, /terminos, /cookies */
.page-legal { background: var(--paper, #fff); color: var(--ink, #111); }
.legal-wrap { width: 100%; max-width: 860px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.legal-top { border-bottom: 1px solid var(--line, #ebebeb); background: var(--surface, #fff); }
.legal-top-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding-top: 14px; padding-bottom: 14px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .875rem; }
.legal-nav a { color: var(--ink-2, #3f3f3f); text-decoration: none; padding: 6px 0; }
.legal-nav a:hover, .legal-nav a[aria-current="page"] { color: var(--ink, #111); text-decoration: underline; text-underline-offset: 3px; }
.legal-main { padding-top: 32px; padding-bottom: 48px; }
.legal-doc { font-size: 1rem; line-height: 1.65; color: var(--ink-2, #3f3f3f); }
.legal-doc h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); color: var(--ink, #111); margin: .2rem 0 .3rem; font-weight: 600; }
.legal-doc h2 { font-size: 1.15rem; color: var(--ink, #111); margin: 2rem 0 .5rem; font-weight: 600; scroll-margin-top: 16px; }
.legal-doc h3 { font-size: 1rem; color: var(--ink, #111); margin: 1.2rem 0 .3rem; font-weight: 600; }
.legal-doc ul, .legal-doc ol { padding-left: 1.3rem; }
.legal-doc li { margin-bottom: .35rem; }
.legal-doc a { color: var(--ink, #111); text-decoration: underline; text-underline-offset: 2px; }
.legal-kicker { font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted, #6b6b6b); margin: 0; }
.legal-meta { color: var(--muted, #6b6b6b); font-size: .9rem; }
.legal-toc { background: var(--sunken, #f7f7f7); border-radius: 12px; padding: 14px 18px; margin: 1.2rem 0 1.6rem; font-size: .92rem; }
.legal-toc ol { margin: 0; columns: 2 240px; column-gap: 24px; }
.legal-company { display: grid; gap: 6px; background: var(--sunken, #f7f7f7); border-radius: 12px; padding: 14px 18px; margin: .8rem 0; }
.legal-company div { display: flex; flex-wrap: wrap; gap: 0 10px; }
.legal-company dt { font-weight: 600; color: var(--ink, #111); min-width: 150px; }
.legal-company dd { margin: 0; overflow-wrap: anywhere; }
.legal-table-wrap { overflow-x: auto; margin: .6rem 0 1rem; }
.legal-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 520px; }
.legal-table th, .legal-table td { border-bottom: 1px solid var(--line, #ebebeb); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal-table th { color: var(--ink, #111); font-weight: 600; background: var(--sunken, #f7f7f7); }
.legal-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; border-top: 1px solid var(--line, #ebebeb); padding-top: 18px; padding-bottom: 28px; font-size: .85rem; color: var(--muted, #6b6b6b); }
.legal-foot-links { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.legal-foot a, .legal-linkbtn { color: var(--ink-2, #3f3f3f); font-size: .85rem; }

/* ===================== v2.6.1 · Ajustes › Seguridad ===================== */
.sec-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .75rem; }
.sec-tile { display: flex; align-items: center; gap: .75rem; padding: .9rem 1rem; min-height: 64px; border: 1px solid var(--line); border-radius: var(--r-lg, 16px); background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color var(--t-fast, 140ms), box-shadow var(--t-fast, 140ms); }
.sec-tile:hover { border-color: var(--line-strong); box-shadow: 0 1px 2px rgba(17, 17, 17, .04), 0 6px 16px rgba(17, 17, 17, .06); color: var(--ink); }
.sec-tile:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.sec-tile-ic { flex: 0 0 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--sunken); font-size: 1.05rem; }
.sec-tile.is-ok .sec-tile-ic { background: var(--success-tint); color: var(--success); }
.sec-tile.is-warn .sec-tile-ic { background: var(--warn-tint, #FBF3E3); color: var(--warn, #7A5512); }
.sec-tile-body { display: grid; min-width: 0; line-height: 1.3; }
.sec-tile-body strong { font-size: .9rem; font-weight: 600; }
.sec-tile-body small { color: var(--muted); font-size: .8rem; }
.sec-tile.is-ok .sec-tile-body small { color: var(--success); }
.sec-tile.is-warn .sec-tile-body small { color: var(--warn, #7A5512); }

.sec-card-head { display: flex; gap: .9rem; align-items: flex-start; }
.sec-card-ic { flex: 0 0 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--sunken); font-size: 1.1rem; }
.sec-card.is-on .sec-card-ic { background: var(--success-tint); color: var(--success); }
.sec-card-text { min-width: 0; flex: 1; }
.sec-card .tfa-points { margin: 1rem 0 0; }
.sec-fold { margin-top: 1rem; }
.sec-fold > summary { list-style: none; display: inline-flex; align-items: center; min-height: 40px; cursor: pointer; }
.sec-fold > summary::-webkit-details-marker { display: none; }
.sec-fold[open] > summary { display: none; }
.sec-form { max-width: 440px; padding-top: .25rem; }
.sec-form .form-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; justify-content: flex-start; }
@media (min-width: 576px) { .sec-card > .tfa-points, .sec-card > .sec-fold, .sec-card > .sec-note { margin-left: calc(40px + .9rem); } }
.sec-note { margin: 1rem 0 0; font-size: .85rem; color: var(--muted); display: flex; gap: .4rem; align-items: flex-start; }
@media (max-width: 575.98px) {
  .sec-summary { grid-template-columns: 1fr; }
  .sec-form .form-actions .btn-ink, .sec-form .form-actions .btn-outline-danger { width: 100%; }
}

/* ===================== v2.8 · Tienda: subsecciones ===================== */
.prod-subnav-badge.is-muted { background: #E2E2E2; color: var(--ink-2); }
.prod-subnav-badge.is-hot { background: #D97706; color: #fff; padding: 0 .45rem; }
.site-section { margin-top: .25rem; }

/* ===================== v2.11 · Tienda › Indicadores y Pausar tienda (todo el ancho, sin recargar) ===================== */
/* ---------- Indicadores ---------- */
.ins { display: grid; gap: 1rem; }
.ins-toolbar { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.ins-range { margin: 0; font-size: .88rem; font-weight: 600; }
.ins-range span { font-weight: 400; color: var(--faint); }
.ins-seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 10px; background: var(--sunken); }
.ins-seg-item { display: inline-flex; align-items: center; height: 30px; padding: 0 .85rem; border-radius: 8px; font-size: .8rem; font-weight: 500; color: var(--muted); text-decoration: none; }
.ins-seg-item:hover { color: var(--ink); }
.ins-seg-item.is-active { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(17, 17, 17, .08); }

.ins-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.ins-kpis > div { display: grid; gap: .2rem; padding: 1.1rem 1.35rem; min-width: 0; }
.ins-kpis > div + div { border-left: 1px solid var(--line); }
.ins-kpis span { font-size: .8rem; color: var(--muted); }
.ins-kpis strong { font-size: 1.7rem; font-weight: 600; letter-spacing: -.025em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.ins-kpis small { font-size: .75rem; color: var(--faint); }

.ins-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 1rem; }
.ins-panel { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 1.15rem 1.35rem 1.3rem; min-width: 0; }
.ins-panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; margin-bottom: 1rem; }
.ins-panel-head h3 { font-size: .92rem; font-weight: 600; margin: 0; }
.ins-panel-head span { font-size: .76rem; color: var(--faint); }
.ins-panel-head b { color: var(--ink-2); font-weight: 600; }

.ins-chart { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .6rem; }
.ins-axis { display: flex; flex-direction: column; justify-content: space-between; height: 170px; font-size: .66rem; color: var(--faint); text-align: right; font-variant-numeric: tabular-nums; line-height: 1; transform: translateY(-.33em); }
.ins-cols { position: relative; list-style: none; margin: 0; padding: 0; display: flex; gap: 5px; }
.ins-cols::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 170px; border-top: 1px dashed var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(var(--line), var(--line)) 0 50% / 100% 1px no-repeat; pointer-events: none; }
.ins-cols.is-dense { gap: 2px; }
.ins-cols li { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ins-col { position: relative; height: 170px; width: 100%; max-width: 32px; display: flex; align-items: flex-end; }
.ins-col span { display: block; width: 100%; height: 0; background: #D6D5CF; border-radius: 5px 5px 1px 1px; transition: height 450ms var(--ease); }
.ins-cols.is-dense .ins-col span { border-radius: 2px 2px 0 0; }
.ins-cols li:hover .ins-col span { background: var(--faint); }
.ins-cols li.is-today .ins-col span { background: var(--ink); }
.ins-cols small { font-size: .66rem; color: var(--faint); white-space: nowrap; line-height: 14px; }
.ins-cols li.is-today small { color: var(--ink); font-weight: 600; }

.ins-track { display: block; height: 5px; border-radius: 5px; background: var(--sunken); overflow: hidden; }
.ins-track > span { display: block; height: 100%; width: 0; background: var(--ink); border-radius: 5px; transition: width 450ms var(--ease); }
.ins-bars-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.ins-bars-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .4rem .75rem; align-items: center; font-size: .85rem; }
.ins-bars-list .ins-track { grid-column: 1 / -1; }
.ins-bars-list b { font-weight: 600; font-size: .82rem; font-variant-numeric: tabular-nums; }
.ins-bl-label { display: flex; align-items: center; gap: .5rem; min-width: 0; color: var(--ink-2); }
.ins-bl-label i { color: var(--muted); flex: none; }

.ins-top { list-style: none; margin: 0; padding: 0; }
.ins-top li { display: grid; grid-template-columns: 24px minmax(0, 1.4fr) 80px minmax(80px, 1fr) 56px; align-items: center; gap: .9rem; padding: .7rem 0; font-size: .86rem; }
.ins-top li + li { border-top: 1px solid var(--line); }
.ins-top-n { width: 24px; height: 24px; border-radius: 7px; background: var(--sunken); display: grid; place-items: center; font-size: .72rem; font-weight: 600; color: var(--ink-2); }
.ins-top-name { color: var(--ink); font-weight: 500; }
.ins-top-kind { font-size: .75rem; color: var(--faint); }
.ins-top b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.ins-empty { margin: 0; font-size: .84rem; color: var(--muted); }

.ins-more { padding: 0; }
.ins-more > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .95rem 1.35rem; border-radius: 16px; font-size: .9rem; font-weight: 600; }
.ins-more > summary::-webkit-details-marker { display: none; }
.ins-more > summary:hover { background: var(--paper); }
.ins-more > summary small { margin-left: .5rem; font-weight: 400; font-size: .78rem; color: var(--muted); }
.ins-more > summary i { color: var(--muted); transition: transform var(--t-med) var(--ease); }
.ins-more[open] > summary { border-bottom: 1px solid var(--line); border-radius: 16px 16px 0 0; }
.ins-more[open] > summary i { transform: rotate(180deg); }
.ins-more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ins-more-grid > div { padding: 1.15rem 1.35rem 1.3rem; min-width: 0; }
.ins-more-grid > div + div { border-left: 1px solid var(--line); }
.ins-more-grid h4 { font-size: .85rem; font-weight: 600; margin: 0 0 .9rem; }

.ins-none { display: grid; justify-items: center; text-align: center; gap: .4rem; padding: 2.75rem 1.5rem; border-style: dashed; }
.ins-none i { font-size: 1.4rem; color: var(--muted); }
.ins-none strong { font-size: .95rem; }
.ins-none p { margin: 0; max-width: 480px; font-size: .86rem; color: var(--muted); }

@media (max-width: 991.98px) {
  .ins-row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767.98px) {
  .ins-range span { display: none; }
  .ins-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ins-kpis > div { padding: .9rem 1rem; }
  .ins-kpis > div:nth-child(3) { border-left: 0; }
  .ins-kpis > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ins-kpis strong { font-size: 1.3rem; }
  .ins-row, .ins-more-grid { grid-template-columns: minmax(0, 1fr); }
  .ins-more-grid > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .ins-panel { padding: 1rem; }
  .ins-panel.ins-more { padding: 0; }
  .ins-more > summary { padding: .9rem 1rem; }
  .ins-more > summary small { display: none; }
  .ins-axis { height: 120px; }
  .ins-cols::before { height: 120px; }
  .ins-col { height: 120px; }
  .ins-cols { gap: 2px; }
  .ins-top li { grid-template-columns: 24px minmax(0, 1fr) 48px; gap: .6rem; }
  .ins-top-kind, .ins-top .ins-track { display: none; }
}

/* ---------- Pausar tienda ---------- */
.pz3 { display: grid; gap: 1rem; }
.pz3-state { display: flex; align-items: center; gap: .9rem 1rem; flex-wrap: wrap; padding: 1rem 1.35rem; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.pz3-state-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; font-size: 1.15rem; background: var(--success-tint); color: var(--success); }
.pz3-state.is-paused { border-color: #EAD9B0; background: #FFFCF4; }
.pz3-state.is-paused .pz3-state-ic { background: var(--warn-tint); color: #B26A00; }
.pz3-state-text { flex: 1 1 260px; min-width: 0; display: grid; gap: .1rem; }
.pz3-state-text strong { font-size: .95rem; font-weight: 600; }
.pz3-state-text span { font-size: .84rem; color: var(--muted); overflow-wrap: anywhere; }
.pz3-state-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.pz3-state-actions form { margin: 0; }

.pz3-form { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.pz3-sec { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 1rem 3rem; padding: 1.5rem 1.35rem; }
.pz3-sec + .pz3-sec { border-top: 1px solid var(--line); }
.pz3-sec-info h3 { font-size: .92rem; font-weight: 600; margin: 0 0 .3rem; }
.pz3-sec-info p { margin: 0; font-size: .82rem; color: var(--muted); line-height: 1.5; }
.pz3-sec-body { min-width: 0; max-width: 640px; }
.pz3-sec-body .field { margin-bottom: 1rem; }
.pz3-seg { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .5rem; }
.pz3-seg-item { position: relative; margin: 0; cursor: pointer; }
.pz3-seg-item input { position: absolute; opacity: 0; pointer-events: none; }
.pz3-seg-item span { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: 0 1rem; border: 1px solid var(--line); border-radius: 10px; font-size: .85rem; color: var(--ink-2); transition: border-color var(--t-fast), background var(--t-fast); }
.pz3-seg-item:hover span { border-color: var(--line-strong); }
.pz3-seg-item input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.pz3-seg-item input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.pz3-sec .form-switch .form-check-input:checked { background-color: var(--ink); border-color: var(--ink); }
.pz3-date { display: grid; gap: .5rem; max-width: 320px; margin-top: .75rem; }
.pz3-date[hidden] { display: none; }
.pz3-chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.pz3-chips button { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 0 .8rem; min-height: 30px; font-size: .78rem; color: var(--ink-2); }
.pz3-chips button:hover { border-color: var(--line-strong); }
.pz3-chips button.is-on { border-color: var(--ink); background: var(--ink); color: #fff; }
.pz3-foot { display: flex; align-items: center; justify-content: flex-end; gap: .5rem 1rem; flex-wrap: wrap; padding: 1rem 1.35rem; border-top: 1px solid var(--line); background: var(--paper); border-radius: 0 0 16px 16px; }
.pz3-foot small { font-size: .8rem; color: var(--muted); }

@media (max-width: 991.98px) {
  .pz3-sec { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
}
@media (max-width: 767.98px) {
  .pz3-state { padding: 1rem; }
  .pz3-state-ic { display: none; }
  .pz3-state-actions { width: 100%; }
  .pz3-state-actions > *, .pz3-state-actions form .btn { flex: 1; width: 100%; }
  .pz3-sec { padding: 1.15rem 1rem; }
  .pz3-seg-item { flex: 1 1 100%; }
  .pz3-seg-item span { width: 100%; }
  .pz3-foot { padding: 1rem; }
  .pz3-foot .btn { width: 100%; order: -1; }
}

/* ===================== v2.12 · Cotizaciones ===================== */
/* Listado */
.ord-badge.tone-danger { background: var(--danger-tint); color: var(--danger); }
.qt-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 16px; background: var(--surface); margin-bottom: 1rem; }
.qt-kpis > div { display: grid; gap: .15rem; padding: 1rem 1.25rem; min-width: 0; }
.qt-kpis > div + div { border-left: 1px solid var(--line); }
.qt-kpis span { font-size: .78rem; color: var(--muted); }
.qt-kpis strong { font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qt-kpis small { font-size: .74rem; color: var(--faint); }
.qt-status-select { width: auto; height: 38px; border-radius: var(--r-pill); font-size: .85rem; flex: none; max-width: 170px; }
.qt-item.is-muted { opacity: .72; }
.qt-flag { display: inline-flex; align-items: center; gap: .25rem; font-size: .72rem; font-weight: 600; }
.qt-flag.is-ask { color: var(--warn); }
.qt-soon { color: var(--warn); font-weight: 600; }
.qt-empty .qt-how { list-style: none; margin: 1.25rem auto 1.5rem; padding: 0; display: grid; gap: .65rem; max-width: 460px; text-align: left; }
.qt-how li { display: flex; gap: .75rem; align-items: flex-start; font-size: .9rem; color: var(--ink-2); }
.qt-how-n { width: 26px; height: 26px; border-radius: 50%; background: var(--sunken); display: grid; place-items: center; font-size: .78rem; font-weight: 600; flex: none; }
@media (max-width: 991.98px) {
  .qt-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qt-kpis > div:nth-child(3) { border-left: 0; }
  .qt-kpis > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 575.98px) {
  .qt-kpis > div { padding: .85rem 1rem; }
  .qt-kpis strong { font-size: 1.1rem; }
  .qt-kpis small { display: none; }
  .qt-status-select { max-width: 130px; }
}

/* Formulario */
.qt-banner { display: flex; gap: .55rem; align-items: flex-start; padding: .75rem 1rem; margin: 0 0 1rem; border-radius: 12px; background: var(--warn-tint); color: var(--warn); font-size: .86rem; }
.qt-more { margin-top: .5rem; }
.qt-more > summary { cursor: pointer; font-size: .84rem; font-weight: 600; color: var(--ink-2); }
.qt-chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .5rem; }
.qt-chip { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 0 .75rem; min-height: 30px; font-size: .78rem; color: var(--ink-2); }
.qt-chip:hover { border-color: var(--line-strong); }
.qt-chip.is-on { border-color: var(--ink); background: var(--ink); color: #fff; }

/* Detalle */
.qt-subject { font-weight: 400; color: var(--muted); }
.qt-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.qt-grid { align-items: start; }
.qdoc { display: grid; gap: 1rem; padding: 1rem; background: var(--sunken); border-radius: 12px; min-height: 240px; }
.qdoc-page { background: #fff; border-radius: 4px; box-shadow: 0 1px 2px rgba(17, 17, 17, .06), 0 8px 24px rgba(17, 17, 17, .07); overflow: hidden; line-height: 0; }
.qdoc-page canvas { display: block; max-width: 100%; }
.qdoc-loading { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 200px; margin: 0; font-size: .86rem; color: var(--muted); line-height: 1.4; }
.qt-track { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 1rem; margin: .5rem 0 0; }
.qt-track dt { font-size: .74rem; font-weight: 400; color: var(--muted); }
.qt-track dd { margin: 0; font-size: .95rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.qt-device { margin: .85rem 0 0; font-size: .8rem; color: var(--muted); display: flex; gap: .4rem; align-items: center; }
.qt-cust { display: grid; gap: .2rem; margin: .5rem 0 .25rem; font-size: .88rem; }
.qt-cust span, .qt-cust a { color: var(--ink-2); }
.qt-cust a { text-decoration: none; }
.qt-accepted { display: grid; gap: .35rem; margin-top: .75rem; padding: .75rem; border-radius: 12px; background: var(--success-tint); }
.qt-accepted img { max-width: 220px; max-height: 80px; object-fit: contain; }
.qt-accepted small { color: var(--success); font-size: .76rem; line-height: 1.45; }
.qt-thread { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .6rem; }
.qt-thread li { display: grid; gap: .2rem; justify-items: start; }
.qt-thread li.is-mine { justify-items: end; }
.qt-msg { display: inline-block; max-width: 92%; padding: .55rem .75rem; border-radius: 14px 14px 14px 4px; background: var(--sunken); font-size: .86rem; line-height: 1.45; overflow-wrap: anywhere; }
.qt-thread li.is-mine .qt-msg { border-radius: 14px 14px 4px 14px; background: var(--ink); color: #fff; }
.qt-thread small { font-size: .72rem; color: var(--faint); }
.qt-answer { display: grid; gap: .5rem; margin-top: .85rem; }
.qt-answer .btn { justify-self: end; }
.qt-timeline li.is-customer .ord-tl-icon { background: var(--accent-tint); color: var(--ink); }
.qt-timeline li.type-accepted .ord-tl-icon { background: var(--success-tint); color: var(--success); }
.qt-timeline li.type-rejected .ord-tl-icon { background: var(--danger-tint); color: var(--danger); }

/* Enlace público */
.page-quote { background: var(--paper); }
.qp-preview { margin: 0; padding: .5rem 1rem; background: var(--ink); color: #fff; font-size: .8rem; text-align: center; }
.qp-top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem max(16px, calc((100vw - 1180px) / 2)); background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.qp-brand { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.qp-brand small { color: var(--muted); font-size: .76rem; }
.qp-logo { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 600; font-size: .85rem; overflow: hidden; flex: none; }
.qp-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.qp-main { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 1.5rem; align-items: start; max-width: 1180px; margin: 0 auto; padding: 1.5rem 16px 3rem; }
.qp-doc .qdoc { background: transparent; padding: 0; }
.qp-side { display: grid; gap: 1rem; position: sticky; top: 84px; }
.qp-card { padding: 1.15rem 1.25rem; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.qp-h { font-size: .92rem; font-weight: 600; margin: 0 0 .65rem; }
.qp-total { display: grid; margin: 0 0 .35rem; }
.qp-total small { font-size: .78rem; color: var(--muted); }
.qp-total strong { font-size: 1.9rem; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.15; }
.qp-valid { margin: 0 0 1rem; font-size: .84rem; color: var(--muted); display: flex; gap: .4rem; align-items: center; }
.qp-actions { display: grid; gap: .5rem; }
.qp-actions .btn { min-height: 44px; }
.qp-actions-row { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.qp-state { display: flex; gap: .55rem; align-items: flex-start; margin: .5rem 0; padding: .75rem .85rem; border-radius: 12px; font-size: .88rem; }
.qp-state.is-ok { background: var(--success-tint); color: var(--success); }
.qp-state.is-bad { background: var(--danger-tint); color: var(--danger); }
.qp-state.is-warn { background: var(--warn-tint); color: var(--warn); }
.qp-note { margin: .25rem 0 0; font-size: .82rem; color: var(--muted); }
.qp-wa { display: inline-flex; align-items: center; gap: .4rem; margin-top: .85rem; font-size: .84rem; font-weight: 600; color: #1F8F4E; text-decoration: none; }
.qp-items { list-style: none; margin: 0; padding: 0; }
.qp-items li { display: flex; justify-content: space-between; gap: .75rem; padding: .55rem 0; font-size: .85rem; border-bottom: 1px solid var(--line); }
.qp-items small { color: var(--muted); font-size: .76rem; }
.qp-items strong { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.qp-totals { margin: .6rem 0 0; display: grid; gap: .3rem; }
.qp-totals div { display: flex; justify-content: space-between; font-size: .84rem; color: var(--muted); }
.qp-totals dd { margin: 0; color: var(--ink); font-variant-numeric: tabular-nums; }
.qp-totals .is-total { padding-top: .45rem; margin-top: .2rem; border-top: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .95rem; }
.qp-ask { margin-top: 1rem; }
.qp-foot { margin: 0; font-size: .74rem; color: var(--faint); text-align: center; }
.qp-foot a { color: var(--muted); }
.qp-sign-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .5rem; }
.qp-sign-mode .segmented-item span { padding: .25rem .8rem; font-size: .8rem; }
.qp-sign-pad { position: relative; border: 1px dashed var(--line-strong); border-radius: 12px; background: #FCFCFB; }
.qp-sign-pad canvas { display: block; width: 100%; height: auto; aspect-ratio: 3 / 1; touch-action: none; cursor: crosshair; border-radius: 12px; }
.qp-sign-pad canvas.is-typed { cursor: default; }
.qp-sign-clear { position: absolute; top: .25rem; right: .25rem; }
.qp-sign-hint { position: absolute; left: 0; right: 0; bottom: 22%; text-align: center; font-size: .8rem; color: var(--faint); pointer-events: none; border-top: 1px solid var(--line); margin: 0 12%; padding-top: .35rem; }
.qp-reasons { display: flex; flex-wrap: wrap; gap: .4rem; }
.qp-reason { position: relative; margin: 0; cursor: pointer; }
.qp-reason input { position: absolute; opacity: 0; pointer-events: none; }
.qp-reason span { display: inline-flex; align-items: center; min-height: 34px; padding: 0 .85rem; border: 1px solid var(--line); border-radius: 999px; font-size: .82rem; color: var(--ink-2); }
.qp-reason input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.qp-reason input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 991.98px) {
  .qp-main { grid-template-columns: minmax(0, 1fr); padding-top: 1rem; }
  .qp-side { display: contents; }
  .qp-status { order: -1; }
  .qp-doc { order: 0; }
  .qp-side > .qp-card:not(.qp-status), .qp-foot { order: 1; }
}

/* Cotización: pasos (datos → documento y vista del cliente) */
.qt-form .inv-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.qt-stepper { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.25rem; font-size: .84rem; color: var(--faint); }
.qt-stepper li { display: inline-flex; align-items: center; gap: .45rem; }
.qt-stepper li span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 600; background: var(--sunken); color: var(--muted); }
.qt-stepper li.is-current { color: var(--ink); font-weight: 600; }
.qt-stepper li.is-current span { background: var(--ink); color: #fff; }
.qt-stepper li.is-done span { background: var(--success-tint); color: var(--success); }
.qt-review { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 1.5rem; align-items: start; }
.qt-review-doc { min-width: 0; }
.qt-review-head { display: flex; align-items: flex-end; justify-content: space-between; gap: .75rem 1rem; flex-wrap: wrap; margin-bottom: .85rem; }
.qt-review .qdoc { max-width: 860px; }
.qt-review-side { position: sticky; top: 84px; display: grid; gap: .85rem; }
.qt-review-label { margin: 0; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.qt-mock { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; }
.qt-mock-top { display: flex; align-items: center; gap: .6rem; padding: .75rem .9rem; border-bottom: 1px solid var(--line); font-size: .84rem; }
.qt-mock-top .qp-logo { width: 32px; height: 32px; border-radius: 10px; font-size: .72rem; }
.qt-mock-top small { display: block; color: var(--muted); font-size: .72rem; }
.qt-mock-body { display: grid; gap: .45rem; padding: 1rem .9rem 1.1rem; }
.qt-mock-body > small { font-size: .74rem; color: var(--muted); }
.qt-mock-body > strong { font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.qt-mock-valid { font-size: .78rem; color: var(--muted); margin-bottom: .35rem; }
.qt-mock-btn { display: flex; align-items: center; justify-content: center; gap: .35rem; min-height: 38px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); font-size: .82rem; color: var(--ink-2); }
.qt-mock-btn.is-primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.qt-mock-row { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; }
.qt-mock-hint { font-size: .74rem; color: var(--faint); text-align: center; margin-top: .25rem; }
.qt-review-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-size: .8rem; color: var(--muted); }
.qt-review-notes li { display: flex; gap: .5rem; }
@media (max-width: 991.98px) {
  .qt-review { grid-template-columns: minmax(0, 1fr); }
  .qt-review-side { position: static; }
}
@media (max-width: 575.98px) { .qt-stepper { gap: .75rem; font-size: .78rem; } }

/* ==========================================================================
   v2.13 · Caja POS (panel): inicio, ventas, turnos, ajustes. La pantalla de venta y el documento están en pos.css.
   ========================================================================== */
.pos-page { display: grid; gap: 0; }
.pos-split { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 1rem; align-items: start; }
.pos-split.is-doc { grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); }
.pos-side { display: grid; gap: 1rem; min-width: 0; }
.pos-section-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .6rem; }
.pos-start { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 1rem; align-items: start; }
.pos-open { padding: 2.25rem 2.25rem 2rem; }
.pos-open .mod-title { margin-bottom: .4rem; }
.pos-open > p { max-width: 560px; }
.pos-open-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1rem; background: var(--ink); color: #fff; font-size: 1.5rem; }
.pos-open-form { margin-top: 1.5rem; max-width: 520px; }
.pos-open-row { display: flex; gap: .5rem; }
.pos-open-row input { flex: 1; min-width: 0; font-variant-numeric: tabular-nums; }
.pos-open-row .btn { white-space: nowrap; }
.pos-doc-now { display: flex; align-items: center; gap: .5rem; padding: .6rem .8rem; border-radius: 12px; background: var(--sunken); font-weight: 500; font-size: .9rem; }
.pos-check { list-style: none; margin: .25rem 0 1rem; padding: 0; display: grid; gap: .45rem; font-size: .86rem; color: var(--ink-2); }
.pos-check i { color: var(--faint); margin-right: .35rem; }
.pos-check .is-ok i { color: var(--success); }
.pos-tips ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .86rem; color: var(--ink-2); }
.pos-tips kbd, .pos-page kbd { padding: .05rem .4rem; border-radius: 6px; background: var(--sunken); color: var(--ink); font: 600 .72rem/1.4 var(--font-sans); box-shadow: inset 0 -1px 0 var(--line); }
.pos-live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px var(--success-tint); margin-right: .15rem; }
.pos-dl { margin: 0; display: grid; gap: .35rem; }
.pos-dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; font-size: .86rem; min-width: 0; }
.pos-dl dt { font-weight: 400; color: var(--ink-2); min-width: 0; }
.pos-dl dt small { color: var(--faint); margin-left: .2rem; }
.pos-dl dt i { color: var(--muted); margin-right: .2rem; }
.pos-dl dd { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pos-dl .is-total { border-top: 1px solid var(--line); padding-top: .45rem; margin-top: .15rem; }
.pos-dl .is-total dt, .pos-dl .is-total dd { font-weight: 600; color: var(--ink); }
.pos-back { display: inline-flex; align-items: center; gap: .3rem; font-size: .82rem; color: var(--muted); text-decoration: none; margin-bottom: .25rem; }
.pos-back:hover { color: var(--ink); }
.pos-link-box { display: flex; gap: .4rem; }
.pos-filters { flex: 0 1 auto; max-width: none; flex-wrap: nowrap; gap: .5rem; }
.pos-filters .input-wrap { flex: 1 1 240px; min-width: 180px; }
.pos-filters .form-select, .pos-filters input[type="date"] { flex: none; height: 38px; border-radius: var(--r-pill); font-size: .86rem; }
.pos-filters .form-select { width: 190px; padding-top: 0; padding-bottom: 0; line-height: 36px; }
.pos-filters input[type="date"] { width: 150px; }
/* Mismo alto para buscador, selector y fechas (en el panel los selectores heredan 44px) */
.page-app .mod-bar .pos-filters .form-control, .page-app .mod-bar .pos-filters .form-select { height: 40px; min-height: 40px; border-radius: var(--r-pill); }
@media (max-width: 1199.98px) { .pos-filters { flex-basis: 100%; } }
@media (max-width: 767.98px) {
  .pos-filters { flex-wrap: wrap; }
  .pos-filters .input-wrap { flex-basis: 100%; }
  .pos-filters .form-select { flex: 1 1 100%; width: auto; }
  .pos-filters input[type="date"] { flex: 1 1 0; width: auto; min-width: 0; }
}
.pos-radio-row { display: flex; gap: 1.25rem; }
.pos-radio-row label { display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; }
.pos-radio-row input, .pos-radio-card input { accent-color: var(--ink); }
.pos-expected { display: flex; justify-content: space-between; align-items: baseline; padding: .7rem .9rem; border-radius: 12px; background: var(--sunken); margin-bottom: 1rem; }
.pos-expected strong { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.pos-diff { margin: .5rem 0 .9rem; font-size: .88rem; font-weight: 600; min-height: 1.2em; }
.pos-diff.is-ok { color: var(--success); }
.pos-diff.is-over { color: #2C5A85; }
.pos-diff.is-short { color: var(--danger); }
.pos-set-main { display: grid; gap: 1rem; min-width: 0; }
.pos-set-section { padding: 1.4rem 1.5rem 1.5rem; }
.pos-set-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.pos-set-actions { display: flex; justify-content: flex-end; }
.pos-radio-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.pos-radio-card { display: flex; gap: .65rem; align-items: flex-start; padding: .8rem .9rem; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color var(--t-fast); }
.pos-radio-card:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pos-radio-card input { margin-top: .25rem; }
.pos-radio-card span { display: grid; gap: .1rem; }
.pos-radio-card strong { font-size: .9rem; font-weight: 600; }
.pos-radio-card small { color: var(--muted); font-size: .78rem; line-height: 1.35; }
.pos-steps { margin: 0; padding-left: 1.1rem; display: grid; gap: .5rem; font-size: .85rem; color: var(--ink-2); }
.pos-doc-wrap { overflow-x: auto; }
@media (max-width: 991.98px) {
  .pos-split, .pos-split.is-doc, .pos-start { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .pos-open { padding: 1.5rem 1.25rem; }
  .pos-open-row { flex-direction: column; }
  .pos-radio-cards { grid-template-columns: 1fr; }
  .pos-filters input[type="date"] { flex: 1; }
}
@media print {
  .pos-report .no-print, .page-app .sidebar, .page-app .topbar, .page-app .biz-nav, .page-app .biz-hero, .page-app .prod-subnav { display: none !important; }
}

/* v2.14 · Producto › Código de barras (lectura con la cámara) */
.pf-barcode { display: flex; gap: .4rem; }
.pf-barcode .form-control { flex: 1; min-width: 0; font-variant-numeric: tabular-nums; }
.pf-barcode .btn { flex: none; width: 46px; padding: 0; display: grid; place-items: center; font-size: 1.1rem; }
.bc-cam { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 1rem; background: rgba(0, 0, 0, .7); }
.bc-cam-box { position: relative; width: min(520px, 100%); aspect-ratio: 3 / 4; max-height: 86vh; border-radius: 20px; overflow: hidden; background: #111; }
.bc-cam-box video { width: 100%; height: 100%; object-fit: cover; display: block; }
.bc-cam-frame { position: absolute; left: 10%; right: 10%; top: 36%; bottom: 36%; border: 2px solid #fff; border-radius: 14px; box-shadow: 0 0 0 999px rgba(0, 0, 0, .3); }
.bc-cam-text { position: absolute; left: 0; right: 0; top: 1rem; margin: 0; text-align: center; color: #fff; font-size: .9rem; padding: 0 1rem; }
.bc-cam-close { position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%); }

/* v2.15 · Producto › leer el código con el celular */
.pf-phone-btn { position: relative; }
.pf-phone-dot { position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 2px #fff; }
.pf-phone-status { display: flex; align-items: center; gap: .4rem; margin: .4rem 0 0; font-size: .78rem; color: var(--success); }
.pf-phone-status[hidden] { display: none; }
.pf-phone-status > span { width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.pf-barcode .form-control.is-flash { animation: pf-flash .9s var(--ease); }
@keyframes pf-flash { from { background: var(--success-tint); border-color: var(--success); } }
.bc-qr { position: relative; width: min(380px, 100%); display: grid; justify-items: center; gap: .7rem; padding: 1.5rem 1.5rem 1.25rem; border-radius: 20px; background: #fff; text-align: center; box-shadow: 0 24px 60px rgba(0, 0, 0, .25); }
.bc-qr h2 { margin: 0; font: 400 1.3rem/1.2 var(--font-serif); }
.bc-qr canvas { width: 220px; height: 220px; border: 1px solid var(--line); border-radius: 14px; padding: 6px; }
.bc-qr-text { margin: 0; font-size: .86rem; color: var(--ink-2); }
.bc-qr-status { display: flex; align-items: center; gap: .45rem; margin: 0; padding: .5rem .8rem; border-radius: 12px; background: var(--sunken); font-size: .82rem; color: var(--muted); }
.bc-qr-status > span { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); }
.bc-qr-status.is-on { background: var(--success-tint); color: var(--success); font-weight: 500; }
.bc-qr-status.is-on > span { background: var(--success); }
.bc-qr-x { position: absolute; top: .9rem; right: .9rem; }

/* ===== v2.16 · Listado de productos: orden, panel de filtros, etiquetas PDF y lista editable ===== */
.pl-bar { margin: 0; }
.product-toolbar .pl-sort { width: auto; flex: 0 1 200px; min-width: 150px; height: 40px; border-radius: 999px; font-size: .86rem; }
.pl-filter-btn { height: 40px; border-radius: 999px; display: inline-flex; align-items: center; gap: .4rem; font-size: .86rem; font-weight: 500; padding: 0 1rem; }
.pl-filter-btn.has-active { border-color: var(--ink); }
.pl-filter-btn[aria-expanded="true"], .pl-filter-btn[aria-expanded="true"]:hover { background: var(--ink) !important; color: #fff !important; border-color: var(--ink) !important; opacity: 1; }
.pl-filter-n { min-width: 20px; height: 20px; padding: 0 .35rem; border-radius: 999px; background: var(--ink); color: #fff; font-size: .72rem; display: inline-grid; place-items: center; }
.pl-filter-btn[aria-expanded="true"] .pl-filter-n { background: #fff; color: var(--ink); }
.pl-tools { display: flex; align-items: center; gap: .4rem; margin-left: auto; flex-wrap: wrap; }
.pl-tools .product-new { height: 40px; border-radius: 999px; display: inline-flex; align-items: center; gap: .35rem; font-size: .86rem; padding: 0 1.05rem; }
.pl-tool { width: 40px; height: 40px; border: 1px solid #E3E3E3; background: #fff; color: var(--ink); }
.pl-tool[aria-expanded="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.product-toolbar .view-toggle { margin-left: 0; }

.pl-panel, .pl-labels { border: 1px solid #E6E6E6; border-radius: 18px; background: #fff; padding: 1.1rem 1.2rem; margin: -.4rem 0 1.1rem; box-shadow: 0 8px 24px rgba(0, 0, 0, .05); }
.pl-panel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem 1.4rem; }
.pl-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.pl-group legend { float: none; width: auto; font-size: .74rem; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); margin: 0 0 .45rem; padding: 0; }
.pl-group legend label { margin: 0; }
.pl-pills { display: flex; flex-wrap: wrap; gap: .35rem; }
.pl-pill-input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.pl-pill { display: inline-flex; align-items: center; gap: .3rem; height: 32px; padding: 0 .8rem; border: 1px solid #E3E3E3; border-radius: 999px; font-size: .82rem; cursor: pointer; background: #fff; color: var(--ink); user-select: none; transition: background .12s, border-color .12s; }
.pl-pill:hover { background: #F6F6F6; }
.pl-pill-input:checked + .pl-pill { background: var(--ink); border-color: var(--ink); color: #fff; }
.pl-pill-input:focus-visible + .pl-pill { outline: 2px solid var(--ink); outline-offset: 2px; }
.pl-pill-n { font-size: .7rem; opacity: .7; }
.pl-group .form-select { height: 36px; padding-top: 0; padding-bottom: 0; line-height: 34px; border-radius: 999px; font-size: .84rem; }
.pl-panel-foot { display: flex; justify-content: flex-end; align-items: center; gap: .5rem; margin-top: 1.1rem; padding-top: .9rem; border-top: 1px solid #F0F0F0; }
.pl-panel-foot .btn-link { margin-right: auto; color: var(--muted); text-decoration: none; padding-left: 0; }
.pl-panel-foot .btn-link:hover { color: var(--ink); }
.pl-panel-foot .btn { border-radius: 999px; }

.pl-labels-form { display: flex; align-items: center; gap: 1rem 1.4rem; flex-wrap: wrap; margin: 0; }
.pl-labels-form > .min-w-0 { flex: 1 1 280px; }
.pl-labels-form strong { font-size: .92rem; font-weight: 600; }
.pl-labels-form p { margin: .15rem 0 0; font-size: .82rem; color: var(--muted); }
.pl-labels-opts { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.pl-labels-copies { display: inline-flex; align-items: center; gap: .45rem; font-size: .82rem; color: var(--muted); margin: 0; }
.pl-labels-copies .form-select { width: auto; min-width: 74px; height: 36px; padding-top: 0; padding-bottom: 0; line-height: 34px; border-radius: 999px; font-size: .84rem; }
.pl-labels-gen { margin: 0; font-size: .82rem; display: inline-flex; align-items: center; gap: .4rem; padding-left: 0; }
.pl-labels-gen .form-check-input { margin: 0; float: none; }
.pl-labels-opts .btn { border-radius: 999px; }

.pl-chips { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: -.3rem 0 1rem; }
.pl-count { font-size: .82rem; color: var(--muted); margin-right: .3rem; }
.pl-chip { display: inline-flex; align-items: center; gap: .2rem; height: 28px; padding: 0 .45rem 0 .7rem; border-radius: 999px; background: #F1F1F1; color: var(--ink); font-size: .78rem; text-decoration: none; }
.pl-chip:hover { background: #E6E6E6; color: var(--ink); }
.pl-chip-clear { font-size: .78rem; color: var(--muted); margin-left: .2rem; }

/* Precios: normal arriba, promoción abajo */
.pl-prices { display: inline-grid; justify-items: start; gap: .05rem; line-height: 1.25; min-width: 0; }
.pl-prices .pl-edit { white-space: nowrap; }
.pl-prices strong { font-variant-numeric: tabular-nums; }
.pl-prices.has-promo .is-regular strong, .pl-prices.has-promo > strong { text-decoration: line-through; color: var(--faint); font-weight: 500; font-size: .82rem; }
.pl-promo { font-weight: 600; color: var(--danger); font-variant-numeric: tabular-nums; }
.pl-off { font-size: .68rem; font-weight: 600; color: var(--danger); background: var(--danger-tint); border-radius: 999px; padding: .02rem .35rem; }
.product-card .product-price { display: block; }
.product-card [data-href], [data-href] .product-body { cursor: pointer; }

/* Lista: tabla editable */
.pl-table { display: grid; background: #fff; border: 1px solid #E6E6E6; border-radius: 18px; overflow: hidden; container: pltable / inline-size; }
.pl-tr { display: grid; grid-template-columns: 56px minmax(0, 1fr) 150px 110px 80px 132px 176px; align-items: center; gap: .9rem; padding: .7rem 1.1rem; border-top: 1px solid #F0F0F0; }
.pl-tr.pl-thead { border-top: 0; padding-top: .55rem; padding-bottom: .55rem; background: #FAFAFA; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
.product-row[data-href] { cursor: pointer; transition: background .12s; }
.product-row[data-href]:hover { background: #FAFAFA; }
.product-row.is-hidden .pl-c-name strong { color: var(--muted); }
.product-row.is-saved { background: #F2F8F3; }
.product-row.is-busy { opacity: .6; }
.pl-c-photo { position: relative; width: 52px; }
.pl-thumb-link { position: absolute; inset: 0; z-index: 1; }
.product-row-thumb { position: relative; }
.pl-c-name { display: grid; gap: .1rem; min-width: 0; }
.pl-name-line { display: flex; align-items: center; gap: .4rem; min-width: 0; }
.pl-name-line .pl-edit { min-width: 0; }
.pl-name-line strong { font-weight: 500; font-size: .92rem; }
.pl-name-line .ord-badge { flex: none; font-size: .66rem; padding: .08rem .4rem; }
.pl-sub { font-size: .76rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-c-price .pl-prices strong { font-size: .92rem; }
.pl-c-stock, .pl-c-sold { display: grid; justify-items: start; font-variant-numeric: tabular-nums; }
.pl-c-stock small, .pl-c-sold small { font-size: .82rem; color: var(--ink); }
.pl-c-stock.is-out small:first-of-type, .pl-c-stock.is-out .pl-edit small { color: var(--danger); font-weight: 500; }
.pl-low { font-size: .7rem !important; color: #A85F00 !important; }
.pl-cell-label { display: none; }
.pl-c-act { display: flex; justify-content: flex-end; gap: .05rem; }
.pl-c-act form { margin: 0; }
.pl-tr .pl-input { max-width: 130px; }
.pl-tr .pl-input.is-wide { max-width: 100%; }

@container pltable (max-width: 980px) {
  .pl-tr { grid-template-columns: 52px minmax(0, 1fr) 140px 100px 124px; }
  .pl-tr > .pl-c-act { width: auto; }
  .pl-c-sold, .pl-thead .pl-c-sold { display: none; }
  .pl-c-act { grid-column: 2 / -1; justify-content: flex-start; margin-top: -.3rem; }
  .pl-thead .pl-c-act { display: none; }
}
@container pltable (max-width: 640px) {
  .pl-table .pl-thead { display: none; }
  .pl-table .pl-tr { grid-template-columns: 52px minmax(0, 1fr) auto; gap: .45rem .75rem; padding: .85rem .9rem; align-items: center; }
  .pl-table .pl-c-photo { grid-column: 1; grid-row: 1 / span 2; align-self: start; }
  .pl-table .pl-c-name { grid-column: 2 / -1; grid-row: 1; }
  .pl-table .pl-c-price { grid-column: 2; grid-row: 2; }
  .pl-table .pl-c-stock { grid-column: 3; grid-row: 2; justify-items: end; text-align: right; }
  .pl-table .pl-c-vis { grid-column: 1 / span 2; grid-row: 3; }
  .pl-table .pl-c-act { grid-column: 3; grid-row: 3; margin: 0; justify-content: flex-end; }
  .pl-table .pl-c-act .btn-icon-sm { width: 28px; }
  .pl-cell-label { display: block; font-size: .64rem; color: var(--faint); text-transform: uppercase; letter-spacing: .03em; }
}
@media (max-width: 767.98px) {
  .product-toolbar .product-search { flex: 1 1 100%; max-width: none; }
  .product-toolbar .pl-sort { flex: 1 1 0; }
  .pl-tools { margin-left: 0; width: 100%; }
  .pl-filter-btn { flex: none; }
  .pl-tools .product-new { flex: 1; justify-content: center; }
  .pl-panel, .pl-labels { padding: 1rem; border-radius: 16px; }
  .pl-panel-grid { grid-template-columns: 1fr; gap: .9rem; }
}

/* ===== v2.16 · Inventario: variantes por producto e historial ===== */
.stock-var-toggle i { transition: transform .15s; }
.stock-var-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
.stock-row.is-open { background: #FAFAFA; }
.stock-variants { background: #FAFAFA; border-top: 1px dashed #E6E6E6; padding: .25rem 1rem .5rem; }
@media (min-width: 768px) {
  .stock-row { grid-template-columns: minmax(0, 2.4fr) minmax(120px, 1fr) 70px 110px 120px 150px; }
  .stock-row > .stock-actions { justify-content: flex-end; }
}
.stock-var { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(120px, 1fr) 70px 110px 120px 150px; align-items: center; gap: .75rem; padding: .45rem 0; border-top: 1px solid #EFEFEF; font-size: .86rem; }
.stock-var > :first-child { padding-left: 3.4rem; }
.stock-var > .stock-actions { grid-column: 6; }
.stock-var:first-child { border-top: 0; }
.stock-var strong { font-weight: 500; }
.stock-var small { font-size: .74rem; }
.stock-var .num { text-align: right; font-variant-numeric: tabular-nums; }
.stock-var .stock-qty { display: flex; align-items: center; justify-content: flex-end; gap: .45rem; }
.stock-var.state-out .stock-qty strong { color: var(--danger); }
.stock-var .stock-actions { display: flex; justify-content: flex-end; gap: .1rem; }
@media (max-width: 767.98px) {
  .stock-var { grid-template-columns: minmax(0, 1fr) auto auto; }
  .stock-var > :first-child { padding-left: 0; }
  .stock-var > .stock-actions { grid-column: auto; grid-area: auto; }
  .stock-var .stock-qty { grid-area: auto; flex-direction: column; align-items: flex-end; gap: .1rem; }
  .stock-var > .num:not(.stock-qty) { display: none; }
}

.iv-table { display: grid; border: 1px solid #EDEDED; border-radius: 14px; overflow: hidden; }
.iv-tr { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) 110px 130px auto; align-items: center; gap: .65rem; padding: .6rem .9rem; border-top: 1px solid #F0F0F0; margin: 0; }
.iv-tr:first-child { border-top: 0; }
.iv-thead { background: #FAFAFA; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); padding-top: .5rem; padding-bottom: .5rem; }
.iv-name { display: grid; min-width: 0; }
.iv-name strong { font-weight: 500; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iv-name small { font-size: .74rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iv-tr .form-control-sm { height: 32px; border-radius: 10px; }
.iv-tr .form-control[readonly] { background: transparent; border-color: transparent; }
.iv-num { text-align: right; }
.iv-stock { display: flex; align-items: center; justify-content: flex-end; gap: .45rem; font-variant-numeric: tabular-nums; }
.iv-tr.state-out .iv-stock strong { color: var(--danger); }
.iv-tr.state-low .iv-stock strong { color: var(--warn); }
.iv-actions { display: flex; justify-content: flex-end; gap: .1rem; min-width: 96px; }
.iv-label { display: none; }
@media (max-width: 767.98px) {
  .iv-thead { display: none; }
  .iv-tr { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .45rem .6rem; }
  .iv-name { grid-column: 1; }
  .iv-stock { grid-column: 2; grid-row: 1; }
  .iv-label { display: block; font-size: .66rem; color: var(--faint); text-transform: uppercase; letter-spacing: .03em; margin-bottom: .1rem; }
  .iv-actions { grid-column: 1 / -1; justify-content: flex-start; }
}
.filter-chip.is-link { background: transparent; border: 1px solid #E3E3E3; }

/* ===== v2.16 · Tienda: opciones similares (alternativos) ===== */
.store-alt-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: .75rem; font-size: .9rem; font-weight: 500; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.store-catalog.is-alternatives { scroll-margin-top: 80px; }

/* ==========================================================================
   v2.16.1 · Crear / editar producto: página guiada (5 pasos + «Más opciones»)
   ========================================================================== */
.pf-head-sub { margin: .25rem 0 0; font-size: .86rem; color: var(--muted); }
.pf .product-form-main { gap: 1rem; }

/* Pasos */
.pf-step { background: #fff; border: 1px solid #E9E9E9; border-radius: 20px; padding: 1.35rem 1.5rem 1.5rem; min-width: 0; }
.pf-step-head { display: flex; gap: .85rem; align-items: flex-start; margin-bottom: 1.15rem; }
.pf-step-head > div { min-width: 0; }
.pf-step-n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .82rem; font-weight: 700; }
.pf-step-head h2 { margin: 0; font-size: 1.05rem; font-weight: 600; line-height: 28px; }
.pf-step-head p { margin: 0; font-size: .84rem; color: var(--muted); line-height: 1.45; }
.pf-step-head .photo-counter { margin-left: auto; flex: none; }
.pf-step-body { min-width: 0; }
.pf .field:last-child { margin-bottom: 0; }
.pf .form-control-lg { font-size: 1rem; }

/* 1 · Tipo */
.pf-kind { display: inline-flex; gap: 2px; padding: 3px; margin-bottom: 1.1rem; border-radius: 999px; background: #F2F2F2; }
.pf-kind-opt { position: relative; margin: 0; cursor: pointer; }
.pf-kind-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pf-kind-opt span { display: inline-flex; align-items: center; gap: .4rem; height: 34px; padding: 0 1rem; border-radius: 999px; font-size: .86rem; font-weight: 500; color: var(--muted); }
.pf-kind-opt input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.pf-kind-opt input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 1px; }
.pf-cat-row { display: flex; gap: .5rem; align-items: center; }
.pf-cat-row .form-select { flex: 1; min-width: 0; }
.pf-cat-new { display: flex; gap: .5rem; align-items: center; margin-top: .5rem; }
.pf-cat-new[hidden] { display: none; }
.pf-cat-new .form-control { flex: 1; min-width: 0; }

/* 2 · Fotos / 3 · Precio */
.pf-tip { display: flex; gap: .45rem; align-items: flex-start; margin: .85rem 0 0; font-size: .8rem; color: var(--muted); }
.pf-tip i { color: #C77700; }
.pf-price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.pf-off { font-weight: 700; color: var(--success); background: var(--success-tint); }

/* 4 · Variantes */
.pf-choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.pf-choice-opt { position: relative; margin: 0; cursor: pointer; }
.pf-choice-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pf-choice-opt span { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .7rem; align-items: center; height: 100%; padding: .85rem 1rem; border: 1.5px solid #E3E3E3; border-radius: 16px; transition: border-color .12s, background-color .12s; }
.pf-choice-opt i { grid-row: 1 / 3; font-size: 1.25rem; color: var(--muted); }
.pf-choice-opt strong { font-size: .9rem; font-weight: 600; }
.pf-choice-opt small { font-size: .78rem; color: var(--muted); }
.pf-choice-opt:hover span { border-color: #C9C9C9; }
.pf-choice-opt input:checked + span { border-color: var(--ink); background: #FAFAFA; }
.pf-choice-opt input:checked + span i { color: var(--ink); }
.pf-choice-opt input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.pf-var-body { display: grid; gap: 1.25rem; margin-top: 1.25rem; min-width: 0; }
.pf-var-body[hidden] { display: none; }
.pf-sub { min-width: 0; padding-top: 1.1rem; border-top: 1px solid #F0F0F0; }
.pf-sub[hidden] { display: none; }
.pf-sub:first-child { padding-top: 0; border-top: 0; }
.pf-sub-row { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem 1rem; flex-wrap: wrap; }
.pf-sub-title { display: flex; align-items: center; gap: .5rem; margin: 0; font-size: .95rem; font-weight: 600; }
.pf-sub-title > span:first-child { width: 22px; height: 22px; border-radius: 6px; background: #F1F1F1; display: grid; place-items: center; font-size: .72rem; font-weight: 700; color: var(--ink-2); }
.pf-sub-hint { margin: .2rem 0 .85rem; font-size: .82rem; color: var(--muted); }
.pf-sub > [data-option-add] { margin-top: .1rem; }

/* A · Opciones */
.pf-opt-list { display: grid; gap: .7rem; margin-bottom: .75rem; }
.pf-opt { display: grid; gap: .6rem; padding: .85rem; border: 1px solid #E6E6E6; border-radius: 16px; background: #fff; min-width: 0; }
.pf-opt.has-photos { border-color: #D2D2D2; }
.pf-opt-top { display: flex; align-items: center; gap: .6rem; }
.pf-opt-label { flex: none; width: 62px; font-size: .7rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); }
.pf-opt-name { flex: 1; max-width: 300px; min-width: 0; font-weight: 600; }
.pf-opt-top .btn-icon { margin-left: auto; }
.pf-opt-values { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; min-height: 46px; padding: .4rem; border: 1px solid #DADADA; border-radius: 12px; cursor: text; }
.pf-opt-values:focus-within { border-color: var(--ink); }
.pf-val { display: inline-flex; align-items: center; gap: .15rem; height: 32px; padding: 0 .15rem 0 .7rem; border-radius: 999px; background: #F1F1F1; font-size: .84rem; max-width: 100%; }
.pf-val.has-photo { height: 46px; padding-left: .3rem; border-radius: 12px; background: #F6F6F6; border: 1px solid #ECECEC; }
.pf-val-text { padding: 0 .25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-val-photo { flex: none; width: 36px; height: 36px; padding: 0; border-radius: 9px; border: 1.5px dashed #B9B9B9; background: #fff; display: grid; place-items: center; color: var(--muted); overflow: hidden; cursor: pointer; }
.pf-val-photo.is-set { border: 0; }
.pf-val-photo img { width: 100%; height: 100%; object-fit: cover; }
.pf-val-photo:hover { border-color: var(--ink); color: var(--ink); }
.pf-val-x { flex: none; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: transparent; display: grid; place-items: center; color: var(--muted); }
.pf-val-x:hover { background: #E2E2E2; color: var(--ink); }
.pf-val-input { flex: 1; min-width: 150px; padding: .3rem .35rem; border: 0; outline: 0; background: transparent; font-size: .9rem; }
.pf-opt-photos { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .5rem; margin: 0; font-size: .82rem; cursor: pointer; }
.pf-opt-photos .form-check-input { margin: 0; float: none; }
.pf-opt-photos .form-check-input:checked { background-color: var(--ink); border-color: var(--ink); }
.pf-opt-photos-hint { flex-basis: 100%; padding-left: 1.55rem; font-size: .76rem; color: var(--muted); }

/* Selector de foto (flotante) */
.pf-photo-pop { position: fixed; z-index: 1060; top: 0; left: 0; width: 264px; padding: .75rem; background: #fff; border: 1px solid #E3E3E3; border-radius: 14px; box-shadow: 0 12px 32px rgba(0, 0, 0, .14); }
.pf-photo-pop-title { margin: 0 0 .5rem; font-size: .8rem; font-weight: 600; }
.pf-photo-pop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; }
.pf-photo-opt { aspect-ratio: 1; width: 100%; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: #F3F3F3; display: grid; place-items: center; color: var(--ink-2); cursor: pointer; }
.pf-photo-opt img { width: 100%; height: 100%; object-fit: cover; }
.pf-photo-opt.is-on { border-color: var(--ink); }
.pf-photo-opt.is-upload { border: 1.5px dashed #B9B9B9; background: #fff; align-content: center; gap: .1rem; font-size: .66rem; }
.pf-photo-opt.is-upload i { font-size: 1rem; }
.pf-photo-opt.is-upload:hover { border-color: var(--ink); }
.pf-photo-pop-foot { display: flex; justify-content: space-between; gap: .5rem; margin-top: .6rem; padding-top: .5rem; border-top: 1px solid #F0F0F0; font-size: .8rem; }

/* B · Lista de variantes */
.pf-bulk { margin-bottom: .85rem; padding: .9rem 1rem; border: 1px solid #E6E6E6; border-radius: 14px; background: #FAFAFA; }
.pf-bulk[hidden] { display: none; }
.pf-bulk-title { margin: 0 0 .6rem; font-size: .82rem; font-weight: 500; }
.pf-bulk-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .55rem .7rem; }
.pf-bulk-grid label { display: grid; gap: .2rem; margin: 0; font-size: .74rem; color: var(--muted); min-width: 0; }
.pf-bulk-grid label[hidden] { display: none; }
.pf-bulk-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; margin-top: .8rem; }
.pf-bulk-target { display: flex; align-items: center; gap: .45rem; margin: 0; font-size: .82rem; }
.pf-bulk-target .form-select { width: auto; max-width: 220px; }
.pf-bulk-btns { display: flex; gap: .4rem; }
.pf-vlist { border: 1px solid #E6E6E6; border-radius: 16px; overflow: hidden; container: pfv / inline-size; min-width: 0; }
.pf-vhead, .pf-vrow { display: grid; grid-template-columns: 44px minmax(0, 1fr) 120px 84px 56px 32px; gap: .65rem; align-items: center; padding: .6rem .9rem; }
.pf-no-stock .pf-vhead, .pf-no-stock .pf-vrow { grid-template-columns: 44px minmax(0, 1fr) 120px 56px 32px; }
.pf-vhead { background: #FAFAFA; padding-top: .5rem; padding-bottom: .5rem; font-size: .68rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); }
.pf-vhead [hidden] { display: none; }
.pf-vhead .pf-tc-sell { text-align: center; }
.pf-vrow { border-top: 1px solid #F0F0F0; }
.pf-vgroup { display: flex; align-items: center; gap: .5rem; padding: .55rem .9rem; border-top: 1px solid #EAEAEA; background: #FCFCFC; font-size: .86rem; }
.pf-vgroup-img { width: 26px; height: 26px; border-radius: 7px; overflow: hidden; background: #EEE; display: grid; place-items: center; color: var(--faint); font-size: .75rem; }
.pf-vgroup-img img { width: 100%; height: 100%; object-fit: cover; }
.pf-vgroup-k { color: var(--muted); }
.pf-vgroup-k::after { content: ':'; }
.pf-vgroup strong { font-weight: 600; }
.pf-vthumb { width: 44px; height: 44px; padding: 0; border-radius: 11px; border: 1.5px dashed #C6C6C6; background: #fff; display: grid; place-items: center; overflow: hidden; color: var(--muted); cursor: pointer; }
.pf-vthumb:has(img) { border: 0; }
.pf-vthumb img { width: 100%; height: 100%; object-fit: cover; }
.pf-vthumb:hover { border-color: var(--ink); color: var(--ink); }
.pf-tc-name { min-width: 0; display: grid; gap: .15rem; }
.pf-tc-name strong { font-size: .9rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-vtags { display: flex; flex-wrap: wrap; gap: .25rem; }
.pf-vtags:not(:has(span:not([hidden]))) { display: none; }
.pf-vtag { display: inline-flex; align-items: center; gap: .2rem; padding: 0 .4rem; height: 18px; border-radius: 999px; background: #F1F1F1; font-size: .66rem; font-weight: 600; color: var(--ink-2); }
.pf-vtag[hidden] { display: none; }
.pf-vtag-promo { background: var(--danger-tint); color: var(--danger); }
.pf-vtag.is-off { background: transparent; color: var(--faint); padding: 0; }
.pf-vf { display: block; margin: 0; min-width: 0; }
.pf-vf[hidden] { display: none; }
.pf-vf .form-control { width: 100%; }
.pf-vrow > .pf-vf .pf-vf-label { display: none; }
.pf-tc-sell { margin: 0; padding: 0; justify-self: center; display: flex; }
.pf-tc-sell .form-check-input { width: 2.3em; height: 1.25em; margin: 0; float: none; cursor: pointer; }
.pf-tc-sell .form-check-input:checked, .pf-switch .form-check-input:checked { background-color: var(--ink); border-color: var(--ink); }
.pf-tc-more i { transition: transform .15s; }
.pf-vrow.is-open .pf-tc-more i { transform: rotate(180deg); }
.pf-vrow.is-off .pf-vthumb, .pf-vrow.is-off .pf-tc-name strong, .pf-vrow.is-off > .pf-vf { opacity: .4; }
.pf-vmore { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem .8rem; padding: .85rem; border-radius: 12px; background: #F8F8F8; }
.pf-vmore .pf-vf-label { display: block; margin-bottom: .2rem; font-size: .72rem; color: var(--muted); }
.pf-vmore .is-wide { grid-column: span 2; }
.pf-code { display: flex; align-items: center; gap: .3rem; }
.pf-code .form-control { flex: 1; min-width: 0; font-variant-numeric: tabular-nums; }
.pf-code .btn { flex: none; white-space: nowrap; }
@container pfv (max-width: 470px) {
  .pf-vhead { display: none; }
  .pf-vrow, .pf-no-stock .pf-vrow { grid-template-columns: 44px minmax(0, 1fr) auto auto; gap: .55rem .7rem; padding: .75rem .8rem; }
  .pf-vrow > .pf-vthumb { grid-column: 1; grid-row: 1; }
  .pf-vrow > .pf-tc-name { grid-column: 2; grid-row: 1; }
  .pf-vrow > .pf-tc-sell { grid-column: 3; grid-row: 1; }
  .pf-vrow > .pf-tc-more { grid-column: 4; grid-row: 1; }
  .pf-vrow > .pf-tc-price { grid-column: 1 / 3; grid-row: 2; }
  .pf-vrow > .pf-tc-stock { grid-column: 3 / 5; grid-row: 2; max-width: 110px; justify-self: end; }
  .pf-no-stock .pf-vrow > .pf-tc-price { grid-column: 1 / 5; }
  .pf-vrow > .pf-vf .pf-vf-label { display: block; margin-bottom: .15rem; font-size: .7rem; color: var(--muted); }
  .pf-vmore { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 5 · Inventario */
.pf-switch { display: flex; align-items: flex-start; gap: .75rem; margin: 0 0 1rem; cursor: pointer; }
.pf-switch .form-check-input { flex: none; width: 2.4em; height: 1.3em; margin: .1rem 0 0; float: none; cursor: pointer; }
.pf-switch span { display: grid; gap: .1rem; }
.pf-switch strong { font-size: .9rem; font-weight: 600; }
.pf-switch small { font-size: .8rem; color: var(--muted); line-height: 1.45; }
.pf-var-note { display: flex; gap: .6rem; align-items: flex-start; padding: .85rem 1rem; border-radius: 14px; background: #F6F6F6; font-size: .86rem; color: var(--ink-2); }
.pf-var-note[hidden] { display: none; }
.pf-var-note > i { margin-top: .1rem; }
.pf-barcode .btn { flex: none; min-width: 46px; width: auto; padding: 0 .75rem; display: inline-flex; align-items: center; justify-content: center; gap: .3rem; font-size: 1rem; }
.pf-barcode-preview { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-top: .6rem; }
.pf-barcode-preview[hidden] { display: none; }
.pf-barcode-preview canvas { height: 64px; width: auto; max-width: 100%; border: 1px solid #EEE; border-radius: 8px; background: #fff; }
.pf-inv-links { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; align-items: center; padding-top: .25rem; }
.pf-inv-links .pf-inv-link.btn { margin-top: 1rem; font-size: .84rem; border: 0; color: var(--ink-2); }

/* Más opciones */
.pf-more { display: grid; gap: .6rem; }
.pf-more-title { margin: .6rem 0 .1rem .3rem; font-size: 1rem; font-weight: 600; }
.pf-acc { background: #fff; border: 1px solid #E9E9E9; border-radius: 18px; overflow: hidden; }
.pf-acc > summary { display: flex; align-items: center; gap: .85rem; padding: 1rem 1.25rem; list-style: none; cursor: pointer; }
.pf-acc > summary::-webkit-details-marker { display: none; }
.pf-acc > summary::after { content: '\f282'; font-family: 'bootstrap-icons'; margin-left: .25rem; color: var(--muted); transition: transform .15s; }
.pf-acc[open] > summary::after { transform: rotate(180deg); }
.pf-acc > summary > i { flex: none; width: 36px; height: 36px; border-radius: 50%; background: #F3F3F3; display: grid; place-items: center; font-size: 1rem; }
.pf-acc > summary > span { flex: 1; min-width: 0; display: grid; }
.pf-acc > summary strong { font-size: .92rem; font-weight: 600; }
.pf-acc > summary small { font-size: .8rem; color: var(--muted); }
.pf-acc > summary:hover { background: #FCFCFC; }
.pf-acc-n { flex: none; min-width: 22px; height: 22px; padding: 0 .4rem; border-radius: 999px; background: #F1F1F1; font-size: .74rem; font-style: normal; font-weight: 600; display: grid; place-items: center; }
.pf-acc-n:empty { display: none; }
.pf-acc-body { padding: .25rem 1.25rem 1.25rem; }
.pf-acc .pf-switch { margin-bottom: .85rem; }
.pf-made-days { margin: -.2rem 0 1rem 3.15rem; }
.pf-days { max-width: 180px; }
.pf-dims { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; margin-bottom: .5rem; }
.pf-specs { display: grid; gap: .45rem; }
.pf-spec { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) auto; gap: .45rem; align-items: center; }
.pf-rel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.pf-rel { padding: .9rem; border: 1px solid #ECECEC; border-radius: 14px; min-width: 0; }
.pf-rel-list { list-style: none; margin: 0 0 .5rem; padding: 0; display: grid; gap: .35rem; }
.pf-rel-list:empty { display: none; }
.pf-rel-item { display: flex; align-items: center; gap: .6rem; padding: .35rem .35rem .35rem .4rem; border-radius: 12px; background: #F7F7F7; min-width: 0; }
.pf-rel-item > span.min-w-0 { flex: 1; }
.pf-rel-item img, .pf-rel-opt img, .pf-rel-ph { width: 36px; height: 36px; flex: none; border-radius: 8px; object-fit: cover; background: #EDEDED; display: grid; place-items: center; color: var(--faint); }
.pf-rel-item small, .pf-rel-opt small { font-size: .74rem; }
.pf-rel-search { position: relative; }
.pf-rel-search > i { position: absolute; left: .7rem; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .85rem; }
.pf-rel-search .form-control { padding-left: 2rem; }
.pf-rel-results { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px); max-height: 280px; overflow-y: auto; padding: .3rem; background: #fff; border: 1px solid #E3E3E3; border-radius: 12px; box-shadow: 0 10px 28px rgba(0, 0, 0, .12); }
.pf-rel-opt { display: flex; align-items: center; gap: .6rem; width: 100%; padding: .35rem; border: 0; border-radius: 10px; background: transparent; text-align: left; color: var(--ink); min-width: 0; }
.pf-rel-opt:hover, .pf-rel-opt:focus { background: #F3F3F3; }
.pf-rel-opt > span { flex: 1; }

/* Lateral: vista previa, quién lo ve y guardar */
.pf-side { display: grid; gap: 1rem; padding: 1rem; background: #fff; border: 1px solid #E9E9E9; border-radius: 20px; }
.pf-preview .product-media { aspect-ratio: 4 / 3; }
.pf-vis { margin: 0; padding: 0; border: 0; }
.pf-vis legend { float: none; width: auto; margin: 0 0 .45rem; font-size: .84rem; font-weight: 600; }
.pf-vis-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; padding: 3px; border-radius: 12px; background: #F2F2F2; }
.pf-vis-seg label { position: relative; margin: 0; cursor: pointer; }
.pf-vis-seg input { position: absolute; opacity: 0; pointer-events: none; }
.pf-vis-seg span { display: flex; align-items: center; justify-content: center; gap: .3rem; height: 34px; border-radius: 9px; font-size: .78rem; font-weight: 500; color: var(--muted); white-space: nowrap; }
.pf-vis-seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.pf-vis-seg input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 1px; }
.pf-vis-hint { margin: .45rem 0 0; font-size: .76rem; color: var(--muted); }
.pf .pf-share { margin: 0; }
.pf-actions { display: grid; gap: .35rem; }
.pf-actions-links { display: flex; justify-content: space-between; gap: .5rem; }
.pf-actions-links .btn { padding-left: 0; padding-right: 0; }
.pf-side-links { display: flex; justify-content: center; gap: 1rem; }
.pf-savebar { display: none; }

@media (max-width: 991.98px) {
  .pf .product-form-aside { order: 2; }
  .pf-actions { display: none; }
  .pf-savebar { position: sticky; bottom: 0; z-index: 25; display: flex; justify-content: flex-end; align-items: center; gap: .5rem; margin: 1rem -1rem -1rem; padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid #E6E6E6; }
  .pf-savebar .btn-ink { min-width: 170px; }
  .pf .pf-preview { display: none !important; }
}
@media (max-width: 575.98px) {
  .pf-step { padding: 1.1rem 1rem 1.2rem; border-radius: 18px; }
  .pf-step-head { margin-bottom: .95rem; }
  .pf-price-grid, .pf-choice, .pf-rel-grid { grid-template-columns: minmax(0, 1fr); }
  .pf-bulk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-dims { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-opt-label { display: none; }
  .pf-opt-name { max-width: none; }
  .pf-spec { grid-template-columns: minmax(0, 1fr) auto; }
  .pf-spec input:nth-child(2) { grid-column: 1; grid-row: 2; }
  .pf-spec button { grid-row: 1 / 3; grid-column: 2; }
  .pf-barcode { flex-wrap: wrap; }
  .pf-barcode .form-control { flex: 1 1 100%; }
  .pf-acc > summary { padding: .9rem 1rem; }
  .pf-acc-body { padding: .25rem 1rem 1rem; }
  .pf-made-days { margin-left: 0; }
  .pf-savebar .btn-ink { flex: 1; }
}
.pf-switch.form-switch, .pf-tc-sell.form-switch { padding-left: 0; min-height: 0; }
.pf-sub-row { margin-bottom: .85rem; }
.pf-sub-row .pf-sub-hint { margin-bottom: 0; }
.pf-vmore .is-wide { grid-column: 1 / -1; }
.pf-code .pf-phone-btn { position: relative; }
.pf-code .pf-phone-dot { top: 3px; right: 3px; }

/* ===== v2.16.2 · Categorías: cuadros del mismo tamaño que los productos, o lista ===== */
.cat-tools { display: flex; align-items: center; gap: .5rem; }
.cat-tools .view-toggle { height: 40px; }
.cat-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.25rem; }
.cat-grid .cat-card { padding: .55rem; border-radius: 18px; transition: border-color var(--t-fast), box-shadow 220ms var(--ease), transform 220ms var(--ease); }
.cat-grid .cat-card:hover { border-color: #D6D6D6; box-shadow: 0 10px 24px -12px rgba(17, 17, 17, .18); transform: translateY(-2px); }
.cat-grid .cat-card-media { aspect-ratio: 4 / 3.4; border-radius: 12px; overflow: hidden; background: #F5F5F4; color: var(--faint); font-size: 1.6rem; text-decoration: none; }
.cat-grid .cat-card-body { padding: .75rem .45rem .4rem; }
.cat-grid .cat-card-body h3 { font-size: .92rem; font-weight: 600; }
.cat-grid .cat-card-body p { font-size: .8rem; color: var(--muted); }
.cat-grid .cat-card-actions { margin: .35rem -.55rem -.55rem; padding: .45rem .55rem .45rem .35rem; border-top: 1px solid #EFEFEF; }
.cat-list { list-style: none; margin: 0; padding: 0; display: grid; background: #fff; border: 1px solid #E8E8E8; border-radius: 18px; overflow: hidden; }
.cat-list .cat-card { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: .75rem 1rem; border: 0; border-top: 1px solid #F0F0F0; border-radius: 0; }
.cat-list .cat-card:first-child { border-top: 0; }
.cat-list .cat-card:hover { background: #FAFAFA; }
.cat-list .cat-card.is-hidden { opacity: 1; }
.cat-list .cat-card.is-hidden .cat-card-media img { opacity: .55; }
.cat-list .cat-card-media { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; background: #F4F4F4; display: grid; place-items: center; color: var(--faint); text-decoration: none; }
.cat-list .cat-card-media img { width: 100%; height: 100%; object-fit: cover; }
.cat-list .cat-card-body { padding: 0; min-width: 0; }
.cat-list .cat-card-body h3 { margin: 0; font-size: .92rem; font-weight: 600; display: flex; align-items: center; gap: .4rem; }
.cat-list .cat-card-body h3 .ord-badge { font-size: .66rem; padding: .08rem .4rem; font-weight: 500; }
.cat-list .cat-card-body p { margin: .1rem 0; font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat-list .cat-card-body small { font-size: .74rem; }
.cat-list .cat-card-actions { padding: 0; }
@media (max-width: 575.98px) {
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .cat-grid .cat-card { padding: .4rem; border-radius: 16px; }
  .cat-grid .cat-card-body { padding: .6rem .3rem .3rem; }
  .cat-grid .cat-card-actions { margin: .3rem -.4rem -.4rem; padding: .35rem .3rem; flex-wrap: wrap; }
  .cat-grid .cat-card-actions .btn-link { display: none; }
  .cat-list .cat-card { grid-template-columns: 48px minmax(0, 1fr); gap: .5rem .8rem; }
  .cat-list .cat-card-media { width: 48px; height: 48px; }
  .cat-list .cat-card-actions { grid-column: 1 / -1; justify-content: flex-end; }
  .cat-tools { width: 100%; justify-content: space-between; }
}
.pf-cat-dialog { max-width: 640px; }
.cat-grid .cat-card-body p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cat-grid .cat-card-actions .btn-icon { width: 30px; height: 30px; border-radius: 50%; color: var(--muted); }

/* ===== v2.16.4 · Tienda: catálogo en tiempo real ===== */
.store-catalog.is-loading .store-grid, .store-catalog.is-loading .store-empty, .store-catalog.is-loading .store-pager { opacity: .45; transition: opacity .15s; pointer-events: none; }
.store-catalog.is-loading .store-count::after { content: ' · cargando…'; }
.pf-vpays { display: block; margin-top: .2rem; font-size: .7rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-vpays.is-own { color: var(--ink-2); font-weight: 500; }
.pf-vpays:empty { display: none; }
/* v2.16.4 · Buscador de relacionados/alternativos: los resultados se abren justo debajo del campo, dentro del recuadro (nunca tapados). */
.pf-acc { overflow: visible; }
.pf-acc > summary { border-radius: 18px; }
.pf-acc[open] > summary { border-radius: 18px 18px 0 0; }
.pf-rel-results { position: static; margin-top: .4rem; max-height: 260px; box-shadow: 0 6px 18px rgba(0, 0, 0, .08); }
.pf-rel-results[hidden] { display: none; }
/* v2.16.4 · Inventario › variantes: columnas claras (existencias, «avisarme con», referencia) y ayuda arriba */
.iv-help { margin: 0 0 .9rem; padding: .75rem .9rem; border-radius: 12px; background: #F7F7F7; font-size: .8rem; color: var(--ink-2); display: grid; gap: .3rem; }
.iv-help p { margin: 0; line-height: 1.5; }
.iv-help i { color: var(--muted); }
.iv-key { display: inline-flex; align-items: center; gap: .25rem; padding: 0 .4rem; border-radius: 6px; background: #fff; border: 1px solid #E3E3E3; font-size: .76rem; white-space: nowrap; }
.iv-tr { grid-template-columns: minmax(0, 1.4fr) 128px 132px minmax(0, 1fr) auto; }
.iv-stock strong { font-size: 1rem; }
.iv-min { flex-wrap: nowrap; }
.iv-min .form-control { min-width: 0; }
.iv-field > span:not(.input-group):not(.invalid-feedback) { font-size: .86rem; }
.iv-actions { min-width: 0; gap: .35rem; align-items: center; }
.iv-actions .btn { white-space: nowrap; border-radius: 999px; }
@media (max-width: 767.98px) {
  .iv-tr { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .iv-name { grid-column: 1 / -1; grid-row: auto; }
  .iv-stock { grid-column: 1 / -1; grid-row: auto; justify-content: flex-start; }
  .iv-stock .iv-label { margin: 0 .3rem 0 0; }
  .iv-actions { grid-column: 1 / -1; flex-wrap: wrap; }
}
.pf-rel-opt > .pf-rel-ph { flex: 0 0 36px; }
.pf-rel-opt > span.min-w-0 { flex: 1; }
.pf-rel-search > i { top: 1rem; }
.iv-tr { grid-template-columns: minmax(0, 1.3fr) 128px 128px minmax(0, 1fr) 172px; }
.iv-actions { justify-content: flex-end; }
@media (max-width: 767.98px) { .iv-tr { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .iv-actions { justify-content: flex-start; } }
/* v2.16.5 · Inventario › Existencias: botones con texto (Variantes ▾ · Movimiento) */
@media (min-width: 768px) {
  .stock-row, .stock-var { grid-template-columns: minmax(0, 2.2fr) minmax(120px, 1fr) 70px 110px 120px 290px; }
}
.stock-actions .btn { white-space: nowrap; border-radius: 999px; }
.stock-move-btn { height: 30px; padding: 0 .7rem; font-size: .78rem; display: inline-flex; align-items: center; gap: .25rem; }
.stock-var-toggle { font-size: .8rem; color: var(--ink-2); text-decoration: none; padding: 0 .35rem; }
.stock-var-toggle i { font-size: .72rem; }
@media (max-width: 575.98px) { .stock-move-btn span { display: none; } }
@media (max-width: 767.98px) {
  .stock-row > .stock-actions { grid-area: auto; grid-column: 1 / -1; justify-content: flex-end; }
}

/* ==========================================================================
   v2.17 · Resumen único: periodo, cifras clave, por hacer, pedidos en curso, ventas y más vendidos
   ========================================================================== */
.sm-page { display: grid; gap: 1rem; }
.sm-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .75rem 1rem; }
.sm-head .mod-sub { margin: .15rem 0 0; }
.sm-head-tools { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.sm-periods { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: #F1F1F1; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.sm-periods::-webkit-scrollbar { display: none; }
.sm-period { flex: none; height: 32px; padding: 0 .85rem; border-radius: 999px; display: inline-flex; align-items: center; font-size: .82rem; font-weight: 500; color: var(--muted); text-decoration: none; white-space: nowrap; }
.sm-period:hover { color: var(--ink); }
.sm-period.is-active { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.sm-tool { width: 38px; height: 38px; border: 1px solid #E3E3E3; background: #fff; }

.sm-kpis { display: grid; grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); background: #fff; border: 1px solid #E8E8E8; border-radius: 18px; overflow: hidden; }
.sm-kpi { display: grid; align-content: start; gap: .15rem; padding: 1rem 1.15rem; border-left: 1px solid #F0F0F0; color: var(--ink); text-decoration: none; min-width: 0; }
.sm-kpi:first-child { border-left: 0; }
a.sm-kpi:hover { background: #FAFAFA; color: var(--ink); }
.sm-kpi-label { font-size: .78rem; color: var(--muted); }
.sm-kpi-value { font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sm-kpi.is-main .sm-kpi-value { font-size: 1.65rem; }
.sm-kpi-value.is-muted { color: var(--faint); }
.sm-kpi-value.is-neg { color: var(--danger); }
.sm-kpi.is-warn .sm-kpi-value { color: #A85F00; }
.sm-kpi-foot { font-size: .74rem; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; }
.sm-kpi-link { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.sm-delta { font-weight: 600; font-size: .72rem; padding: .05rem .4rem; border-radius: 999px; background: #F1F1F1; }
.sm-delta.is-up { background: var(--success-tint); color: var(--success); }
.sm-delta.is-down { background: var(--danger-tint); color: var(--danger); }

.sm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.sm-grid.is-wide { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.sm-card { margin: 0; padding: 1.15rem 1.25rem; border-radius: 18px; min-width: 0; }
.sm-card-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .75rem; }
.sm-h { margin: 0; font-size: .98rem; font-weight: 600; display: flex; align-items: center; gap: .4rem; }
.sm-h-n, .sm-count { min-width: 22px; height: 22px; padding: 0 .45rem; border-radius: 999px; background: #F1F1F1; font-size: .74rem; font-weight: 600; display: inline-grid; place-items: center; }
.sm-count { background: var(--warn-tint); color: var(--warn); }
.sm-empty { margin: 0; font-size: .86rem; color: var(--muted); }
.sm-todo .ov-todo-icon.tone-danger { background: var(--danger-tint); color: var(--danger); }
.sm-todo a { padding: .5rem .7rem; }

.sm-pipe { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.sm-pipe a { display: flex; align-items: center; gap: .7rem; padding: .5rem .6rem; margin: 0 -.6rem; border-radius: 12px; color: var(--muted); text-decoration: none; font-size: .88rem; }
.sm-pipe a:hover { background: #FAFAFA; }
.sm-pipe li.has a { color: var(--ink); }
.sm-pipe-icon { width: 32px; height: 32px; border-radius: 50%; background: #F3F3F3; display: grid; place-items: center; flex: none; }
.sm-pipe li.has .sm-pipe-icon { background: var(--ink); color: #fff; }
.sm-pipe-label { flex: 1; min-width: 0; }
.sm-pipe-n { font-size: 1rem; font-variant-numeric: tabular-nums; }
.sm-pipe li:not(.has) .sm-pipe-n { font-weight: 500; color: var(--faint); }
.sm-late { color: var(--danger); font-weight: 600; font-size: .72rem; }

.sm-chart svg { display: block; width: 100%; height: 170px; }
.sm-xaxis { display: flex; margin-top: .3rem; }
.sm-xaxis span { flex: 1; text-align: center; font-size: .66rem; color: var(--faint); min-width: 0; }
.sm-today { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.sm-today div { padding: .75rem; border-radius: 12px; background: #F7F7F7; display: grid; gap: .15rem; }
.sm-today span { font-size: .74rem; color: var(--muted); }
.sm-today strong { font-size: 1.1rem; font-variant-numeric: tabular-nums; }

.sm-top { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.sm-top li { display: flex; align-items: center; gap: .7rem; }
.sm-top-rank { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #F1F1F1; font-size: .74rem; font-weight: 600; display: grid; place-items: center; }
.sm-top li:first-child .sm-top-rank { background: var(--ink); color: #fff; }
.sm-top-main { flex: 1; min-width: 0; display: grid; gap: .25rem; }
.sm-top-name { font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sm-top-bar { height: 5px; border-radius: 999px; background: #F1F1F1; overflow: hidden; }
.sm-top-bar > span { display: block; height: 100%; border-radius: 999px; background: color-mix(in srgb, var(--accent) 70%, #fff); }
.sm-top-bar > .w-0{width:0%} .sm-top-bar > .w-5{width:5%} .sm-top-bar > .w-10{width:10%} .sm-top-bar > .w-15{width:15%} .sm-top-bar > .w-20{width:20%} .sm-top-bar > .w-25{width:25%} .sm-top-bar > .w-30{width:30%} .sm-top-bar > .w-35{width:35%} .sm-top-bar > .w-40{width:40%} .sm-top-bar > .w-45{width:45%} .sm-top-bar > .w-50{width:50%} .sm-top-bar > .w-55{width:55%} .sm-top-bar > .w-60{width:60%} .sm-top-bar > .w-65{width:65%} .sm-top-bar > .w-70{width:70%} .sm-top-bar > .w-75{width:75%} .sm-top-bar > .w-80{width:80%} .sm-top-bar > .w-85{width:85%} .sm-top-bar > .w-90{width:90%} .sm-top-bar > .w-95{width:95%} .sm-top-bar > .w-100{width:100%}
.sm-top-val { flex: none; display: grid; justify-items: end; line-height: 1.2; }
.sm-top-val strong { font-size: .86rem; font-variant-numeric: tabular-nums; }
.sm-top-val small { font-size: .7rem; color: var(--muted); }

.sm-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.sm-notes li { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; line-height: 1.45; }
.sm-notes li > i { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #F3F3F3; font-size: .85rem; }
.sm-notes li.tone-good > i { background: var(--success-tint); color: var(--success); }
.sm-notes a { color: var(--ink); font-weight: 500; }
.sm-page .ov-sharebar { margin: 0; }

@media (max-width: 1199.98px) {
  .sm-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm-kpi.is-main { grid-column: 1 / -1; border-bottom: 1px solid #F0F0F0; }
  .sm-kpi:nth-child(2) { border-left: 0; }
  .sm-kpi:nth-child(n+3) { border-left: 1px solid #F0F0F0; }
  .sm-kpi:nth-child(5) { border-left: 0; border-top: 1px solid #F0F0F0; grid-column: 1 / -1; }
}
@media (max-width: 991.98px) { .sm-grid, .sm-grid.is-wide { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 575.98px) {
  .sm-head-tools { width: 100%; justify-content: space-between; flex-wrap: nowrap; }
  .sm-periods { flex: 1; min-width: 0; }
  .sm-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-kpi { padding: .85rem .9rem; border-left: 0; border-top: 1px solid #F0F0F0; }
  .sm-kpi.is-main { border-top: 0; border-bottom: 0; }
  .sm-kpi:nth-child(odd):not(.is-main) { border-left: 0; }
  .sm-kpi:nth-child(3), .sm-kpi:nth-child(5) { border-left: 1px solid #F0F0F0; }
  .sm-kpi:nth-child(5) { grid-column: auto; }
  .sm-kpi-value { font-size: 1.1rem; }
  .sm-kpi.is-main .sm-kpi-value { font-size: 1.45rem; }
  .sm-card { padding: 1rem; }
  .sm-today { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ===== v2.18 · Menú de herramientas personalizable ===== */
.biz-more-edit { display: flex; align-items: center; justify-content: center; gap: .4rem; width: 100%; margin-top: .5rem; padding: .55rem .75rem; border: 1px dashed #D6D6D6; border-radius: 12px; background: transparent; color: var(--ink-2); font-size: .8rem; font-weight: 500; }
.biz-more-edit:hover { border-color: var(--ink); color: var(--ink); background: #FAFAFA; }
.nav-edit-dialog { max-width: 760px; }
.nav-edit-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.nav-edit-h { display: flex; align-items: center; gap: .4rem; margin: 0 0 .5rem; font-size: .86rem; font-weight: 600; }
.nav-edit-h span { color: var(--muted); font-weight: 500; }
.nav-edit-list { list-style: none; margin: 0; padding: .4rem; min-height: 120px; display: grid; align-content: start; gap: .35rem; border: 1px solid #E8E8E8; border-radius: 14px; background: #FAFAFA; transition: border-color .12s, background-color .12s; }
.nav-edit-list.is-over { border-color: var(--ink); background: #F3F3F3; }
.nav-edit-item { display: flex; align-items: center; gap: .55rem; padding: .45rem .5rem; border-radius: 10px; background: #fff; border: 1px solid #EBEBEB; cursor: grab; }
.nav-edit-item.is-dragging { opacity: .45; }
.nav-edit-grip { color: var(--faint); }
.nav-edit-icon { width: 30px; height: 30px; flex: none; border-radius: 50%; background: #F3F3F3; display: grid; place-items: center; }
.nav-edit-name { flex: 1; min-width: 0; font-size: .86rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-edit-tools { display: flex; align-items: center; gap: .1rem; flex: none; }
.nav-edit-move { height: 28px; padding: 0 .6rem; font-size: .72rem; border-radius: 999px; white-space: nowrap; margin-left: .2rem; }
.nav-edit-empty { padding: .9rem .5rem; font-size: .8rem; color: var(--muted); text-align: center; }
@media (max-width: 575.98px) { .nav-edit-cols { grid-template-columns: 1fr; } }

/* ===== v2.19 · Resumen: rango de fechas y panel único con pestañas ===== */
.sm-dates-btn { height: 38px; padding: 0 .9rem; border: 1px solid #E3E3E3; border-radius: 999px; background: #fff; display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.sm-dates-btn:hover { border-color: var(--ink); color: var(--ink); }
.sm-dates-btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.sm-dates { width: 300px; padding: .9rem; border-radius: 16px; }
.sm-dates-title { margin: 0 0 .6rem; font-size: .86rem; font-weight: 600; }
.sm-dates-row { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-bottom: .6rem; }
.sm-dates-row label { display: grid; gap: .2rem; margin: 0; font-size: .74rem; color: var(--muted); }
.sm-dates-quick { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .75rem; }
.sm-dates-quick a { padding: .2rem .6rem; border-radius: 999px; background: #F1F1F1; font-size: .74rem; color: var(--ink-2); text-decoration: none; }
.sm-dates-quick a:hover { background: #E6E6E6; color: var(--ink); }
.sm-dates .btn { border-radius: 999px; }

.sm-tabs-card { margin: 0; padding: 0; border-radius: 18px; overflow: hidden; }
.sm-tabs { display: flex; gap: .25rem; padding: .5rem .6rem 0; border-bottom: 1px solid #EFEFEF; overflow-x: auto; scrollbar-width: none; }
.sm-tabs::-webkit-scrollbar { display: none; }
.sm-tab { flex: none; display: inline-flex; align-items: center; gap: .4rem; padding: .7rem .85rem; border: 0; border-bottom: 2px solid transparent; background: none; font-size: .86rem; font-weight: 500; color: var(--muted); white-space: nowrap; margin-bottom: -1px; }
.sm-tab:hover { color: var(--ink); }
.sm-tab.active { color: var(--ink); border-bottom-color: var(--ink); font-weight: 600; }
.sm-tab-n { min-width: 20px; height: 20px; padding: 0 .35rem; border-radius: 999px; background: #F1F1F1; font-size: .7rem; font-weight: 600; display: inline-grid; place-items: center; }
.sm-pane { padding: 1.15rem 1.25rem 1.3rem; }
.sm-pane-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .9rem; }
.sm-pane-head p { margin: 0; font-size: .88rem; color: var(--ink-2); }
.sm-pane .sm-today { margin-bottom: 1rem; }
.sm-pane .sm-chart svg { height: 210px; }
.sm-table-toggle { margin-top: .9rem; }
.sm-table-toggle summary { cursor: pointer; font-size: .82rem; color: var(--muted); }
.sm-table-toggle .rep-table { margin-top: .6rem; }
.sm-foot { margin: .9rem 0 0; font-size: .8rem; color: var(--muted); }
.sm-sub-h { margin: 1.2rem 0 .6rem; font-size: .86rem; font-weight: 600; }
.sm-top a.sm-top-main { color: var(--ink); text-decoration: none; }
.sm-top a.sm-top-main:hover { text-decoration: underline; }
@media (max-width: 575.98px) {
  .sm-head-tools { flex-wrap: wrap; }
  .sm-periods { flex: 1 1 100%; }
  .sm-dates { width: min(300px, calc(100vw - 32px)); }
  .sm-pane { padding: 1rem; }
}
.sm-head > *, .sm-head-tools, .sm-periods { min-width: 0; max-width: 100%; }
@media (max-width: 575.98px) { .sm-head-tools { width: 100%; } .sm-periods { flex: 1 1 100%; width: 100%; } }
.sm-page { grid-template-columns: minmax(0, 1fr); }

/* ===================== v2.21 · Onboarding: tarjetas «¿Qué vas a vender?» ===================== */
.offer-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; max-width: 760px; margin: 0 auto; }
@media (max-width: 767.98px) { .offer-pick { grid-template-columns: 1fr; gap: .75rem; } }
.offer-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; padding: 1.5rem 1.35rem 1.35rem; border: 1px solid #E6E4DF; border-radius: 18px; background: #fff; cursor: pointer; text-align: left; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.offer-card:hover { border-color: #C9C6BF; transform: translateY(-2px); box-shadow: 0 10px 28px -18px rgba(17,17,17,.35); }
.offer-card input { position: absolute; opacity: 0; pointer-events: none; }
.offer-card-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #F3F1EC; color: #111; font-size: 1.4rem; margin-bottom: .6rem; transition: background-color .18s ease, color .18s ease; }
.offer-card-title { font-size: 1.08rem; font-weight: 600; color: #111; letter-spacing: -.01em; }
.offer-card-desc { font-size: .87rem; line-height: 1.45; color: #6E6D68; }
.offer-card-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .6rem; }
.offer-card-tags span { font-size: .72rem; padding: .2rem .55rem; border-radius: 999px; background: #F6F5F2; color: #55534E; }
.offer-card-check { position: absolute; top: 1rem; right: 1rem; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #D6D3CC; display: grid; place-items: center; color: transparent; font-size: .75rem; transition: all .18s ease; }
.offer-card:has(input:checked) { border-color: #111; box-shadow: 0 0 0 1px #111, 0 14px 30px -20px rgba(17,17,17,.45); }
.offer-card:has(input:checked) .offer-card-icon { background: #111; color: #fff; }
.offer-card:has(input:checked) .offer-card-check { background: #111; border-color: #111; color: #fff; }
.offer-card:has(input:focus-visible) { outline: 2px solid #111; outline-offset: 3px; }
@media (max-width: 767.98px) {
  .offer-card { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: .9rem; padding: 1rem 2.75rem 1rem 1rem; }
  .offer-card-icon { margin: 0; width: 44px; height: 44px; font-size: 1.2rem; }
  .offer-card-title { flex: 1; }
  .offer-card-desc, .offer-card-tags { flex-basis: 100%; }
  .offer-card-check { top: 50%; transform: translateY(-50%); }
}
.offer-desc { max-width: 520px; margin: 1.75rem auto 0; }
.offer-desc .form-label { font-weight: 500; font-size: .9rem; }

/* ===================== v2.21 · Administración: acciones por usuario ===================== */
.adm-actions { display: inline-flex; align-items: center; gap: .4rem; justify-content: flex-end; }
.adm-actions form { margin: 0; }
.adm-pro-btn { white-space: nowrap; display: inline-flex; align-items: center; gap: .35rem; }
.adm-more { width: 32px; padding-left: 0; padding-right: 0; }
.adm-menu { min-width: 240px; padding: .5rem; border-radius: 14px; }
.adm-menu form { margin: 0; }
.adm-menu .dropdown-item { border-radius: 8px; display: flex; align-items: center; gap: .5rem; font-size: .88rem; }
.adm-menu-label { margin: .25rem .5rem .4rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: #8A8883; }
.adm-menu-months { display: flex; flex-wrap: wrap; gap: .35rem; padding: 0 .5rem .5rem; }
.adm-menu-months .adm-chip { border: 1px solid #E3E1DC; background: #fff; cursor: pointer; }
.adm-menu-months .adm-chip:hover { border-color: #111; }

/* ===================== v2.21 · Resumen limpio ===================== */
.sx-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin-bottom: 1rem; }
.sx-kpi { display: flex; flex-direction: column; gap: .2rem; padding: 1.1rem 1.2rem; background: #fff; border: 1px solid #ECEAE6; border-radius: 16px; color: #111; text-decoration: none; min-width: 0; transition: border-color .15s ease; }
a.sx-kpi:hover { border-color: #CFCCC5; color: #111; }
.sx-kpi-label { font-size: .8rem; color: #77746E; }
.sx-kpi-value { font-size: 1.55rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-kpi-value.is-neg { color: #B4321F; }
.sx-kpi-foot { display: flex; align-items: center; gap: .45rem; font-size: .76rem; color: #8A8780; min-height: 1.1rem; }
.sx-kpi.is-warn .sx-kpi-value { color: #A65B00; }
.sx-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: .75rem; margin-bottom: .75rem; }
.sx-grid.is-even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 991.98px) { .sx-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sx-grid, .sx-grid.is-even { grid-template-columns: 1fr; } }
.sx-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #ECEAE6; border-radius: 16px; padding: 1.15rem 1.25rem; min-width: 0; }
.sx-card-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .9rem; }
.sx-h { margin: 0; font-size: .95rem; font-weight: 600; letter-spacing: -.01em; display: flex; align-items: center; gap: .45rem; }
.sx-count { font-size: .72rem; font-weight: 600; background: #111; color: #fff; border-radius: 999px; padding: .05rem .5rem; }
.sx-link { font-size: .8rem; color: #55524C; text-decoration: none; white-space: nowrap; }
.sx-link:hover { color: #111; }
.sx-link i { font-size: .75rem; }
.sx-chart { margin-top: auto; }
.sx-empty { flex: 1; display: grid; place-items: center; text-align: center; padding: 1.5rem 1rem; color: #8A8780; gap: .35rem; }
.sx-empty i { font-size: 1.6rem; color: #C9C6BF; }
.sx-empty p { margin: 0; font-size: .86rem; max-width: 320px; }
.sx-muted { margin: 0; color: #8A8780; font-size: .86rem; }
.sx-done { display: flex; align-items: center; gap: .75rem; padding: .25rem 0 1rem; }
.sx-done i { font-size: 1.5rem; color: #2E7D5B; }
.sx-done span { display: grid; }
.sx-done small { color: #8A8780; }
.sx-todo { list-style: none; margin: 0 0 .75rem; padding: 0; }
.sx-todo a { display: flex; align-items: center; gap: .7rem; padding: .6rem 0; border-bottom: 1px solid #F2F0EC; color: #111; text-decoration: none; font-size: .88rem; }
.sx-todo li:last-child a { border-bottom: 0; }
.sx-todo a i { margin-left: auto; color: #B5B2AB; font-size: .75rem; }
.sx-todo a:hover .sx-todo-text { text-decoration: underline; }
.sx-dot { width: 8px; height: 8px; border-radius: 50%; background: #111; flex: none; }
.sx-dot.tone-warn { background: #D9822B; }
.sx-dot.tone-danger, .sx-dot.tone-bad { background: #C8402B; }
.sx-dot.tone-ok, .sx-dot.tone-good { background: #2E7D5B; }
.sx-dot.tone-info, .sx-dot.tone-muted { background: #9A968F; }
.sx-pipe { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .75rem .9rem; border-radius: 12px; background: #F7F6F3; color: #111; text-decoration: none; font-size: .86rem; }
.sx-pipe:hover { background: #F1EFEA; color: #111; }
.sx-list { list-style: none; margin: 0; padding: 0; }
.sx-list li { display: flex; align-items: center; gap: .75rem; padding: .55rem 0; border-bottom: 1px solid #F2F0EC; font-size: .88rem; }
.sx-list li:last-child { border-bottom: 0; }
.sx-list li > a { display: flex; align-items: center; gap: .75rem; width: 100%; color: #111; text-decoration: none; }
.sx-rank { width: 22px; height: 22px; border-radius: 50%; background: #F3F1EC; display: grid; place-items: center; font-size: .72rem; font-weight: 600; flex: none; }
.sx-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sx-name small, .sx-val small { display: block; font-size: .74rem; color: #8A8780; }
.sx-val { text-align: right; font-weight: 500; white-space: nowrap; }

/* ===================== v2.23 · Tienda › Indicadores compactos ===================== */
.ins2-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 1rem; align-items: stretch; }
.ins2-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: start; }
@media (max-width: 991.98px) { .ins2-row, .ins2-trio { grid-template-columns: 1fr; } }
.ins2-chart-panel { display: flex; flex-direction: column; }
.ins2-chart-panel .ins-chart { flex: 1; }
.ins2-aud { display: flex; flex-direction: column; gap: .2rem; }
.ins2-dev { margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--line); }
.ins2-dev .ins-panel-head { margin-bottom: .55rem; }
.ins2-stack { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: var(--sunken); }
.ins2-stack span { display: block; height: 100%; width: 0; transition: width .5s ease; }
.ins2-stack .is-0, .ins2-dot.is-0 { background: #111; }
.ins2-stack .is-1, .ins2-dot.is-1 { background: #8C8C8C; }
.ins2-stack .is-2, .ins2-dot.is-2 { background: #D4D4D4; }
.ins2-legend { list-style: none; margin: .6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem 1rem; font-size: .82rem; color: var(--ink-2); }
.ins2-legend li { display: inline-flex; align-items: center; gap: .35rem; }
.ins2-legend b { color: var(--ink); }
.ins2-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.ins2-top { list-style: none; margin: 0; padding: 0; }
.ins2-top li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: .6rem; padding: .45rem 0; border-bottom: 1px solid var(--line); font-size: .86rem; }
.ins2-top li:last-child { border-bottom: 0; }
.ins .ins-panel { padding: 1rem 1.15rem; }
.ins .ins-panel-head { margin-bottom: .7rem; }

/* ===================== v2.23 · Tienda › Pausar tienda compacto ===================== */
.pz3-form { padding: 1.15rem 1.25rem 0; }
.pz4-block { min-width: 0; }
.pz4-label { margin: 0 0 .65rem; font-size: .92rem; font-weight: 600; color: var(--ink); }
.pz4-label span { font-weight: 400; font-size: .8rem; color: var(--muted); margin-left: .35rem; }
.pz4-modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; margin-bottom: 1.15rem; }
@media (max-width: 767.98px) { .pz4-modes { grid-template-columns: 1fr; } }
.pz4-mode { position: relative; display: flex; align-items: flex-start; gap: .7rem; padding: .8rem .9rem; border: 1px solid var(--line-strong); border-radius: 14px; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease; }
.pz4-mode:hover { border-color: #9A9A9A; }
.pz4-mode input { position: absolute; opacity: 0; pointer-events: none; }
.pz4-mode-ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--sunken); color: var(--ink-2); }
.pz4-mode-text { display: grid; gap: .1rem; min-width: 0; }
.pz4-mode-text strong { font-size: .88rem; font-weight: 600; }
.pz4-mode-text small { font-size: .76rem; color: var(--muted); line-height: 1.35; }
.pz4-mode:has(input:checked) { border-color: #111; box-shadow: 0 0 0 1px #111; }
.pz4-mode:has(input:checked) .pz4-mode-ic { background: #111; color: #fff; }
.pz4-mode:has(input:focus-visible) { outline: 2px solid #111; outline-offset: 2px; }
.pz4-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
@media (max-width: 991.98px) { .pz4-grid { grid-template-columns: 1fr; } }
.pz4-opts { display: grid; gap: .6rem; align-content: start; }
.pz4-opt { padding: .75rem .9rem; border-radius: 12px; background: var(--sunken); }
.pz4-opt .form-check { margin: 0; display: flex; gap: .65rem; align-items: flex-start; padding-left: 0; }
.pz4-opt .form-check-input { margin: .15rem 0 0; flex: none; float: none; }
.pz4-opt .form-check-label { display: grid; gap: .05rem; }
.pz4-opt .form-check-label strong { font-size: .86rem; font-weight: 600; }
.pz4-opt .form-check-label small { font-size: .76rem; color: var(--muted); }
.pz4-opt .pz3-date { margin-top: .65rem; }
.pz3-form .pz3-foot { margin: 1.1rem -1.25rem 0; }

/* ==========================================================================
   v2.24 · Crear producto: «¿Ya lo vendes en otra página?» (traer datos desde un enlace)
   ========================================================================== */
.pi { margin: 0 0 1rem; background: #fff; border: 1px solid #E9E9E9; border-radius: 16px; overflow: hidden; }
.pi.is-open { border-color: #DADADA; }
.pi-trigger { display: flex; align-items: center; gap: .8rem; width: 100%; padding: .7rem 1rem; border: 0; background: transparent; text-align: left; color: var(--ink); cursor: pointer; }
.pi-trigger:hover { background: #FAFAFA; }
.pi-trigger:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.pi-ico { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-tint); color: var(--accent); font-size: 1rem; }
.pi-trigger-text { display: grid; min-width: 0; flex: 1; }
.pi-trigger-text strong { font-size: .88rem; font-weight: 600; }
.pi-trigger-text span { font-size: .78rem; color: var(--muted); }
.pi-cta { flex: none; display: inline-flex; align-items: center; gap: .35rem; height: 32px; padding: 0 .85rem; border: 1px solid #E3E3E3; border-radius: 999px; font-size: .8rem; font-weight: 500; }
.pi-cta i { font-size: .7rem; transition: transform .15s; }
.pi.is-open .pi-cta i { transform: rotate(180deg); }
.pi-done { display: flex; gap: .5rem; align-items: flex-start; margin: 0; padding: .6rem 1rem; border-top: 1px solid #F0F0F0; font-size: .8rem; color: var(--ink-2); background: var(--success-tint, #EEF6EE); }
.pi-done i { color: var(--success, #2E7D32); font-size: .95rem; }
.pi-panel { padding: .25rem 1rem 1rem; border-top: 1px solid #F0F0F0; }
.pi-form { padding-top: .75rem; }
.pi-url-row { display: flex; gap: .5rem; align-items: center; }
.pi-url-row .input-group { flex: 1; min-width: 0; }
.pi-hint { margin: .45rem 0 0; font-size: .76rem; color: var(--muted); }
.pi-loading { display: flex; align-items: center; gap: .55rem; margin: .9rem 0 0; font-size: .84rem; color: var(--muted); }

/* Revisión */
.pi-review { padding-top: .85rem; }
.pi-review-head { margin-bottom: .75rem; }
.pi-review-title { display: block; font-size: .95rem; font-weight: 600; }
.pi-review-sub { font-size: .78rem; color: var(--muted); }
.pi-source { color: var(--ink); font-weight: 500; }
.pi-source i { font-size: .65rem; }
.pi-label { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; margin-bottom: .4rem; font-size: .82rem; }
.pi-count { font-size: .74rem; color: var(--muted); }
.pi-count.is-warn { color: #B45309; }
.pi-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: .5rem; margin: 0 0 .9rem; padding: 0; list-style: none; }
.pi-photo label { position: relative; display: block; aspect-ratio: 1; margin: 0; border: 1.5px solid #E6E6E6; border-radius: 12px; overflow: hidden; cursor: pointer; background: #F6F6F6; }
.pi-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pi-photo input { position: absolute; opacity: 0; pointer-events: none; }
.pi-photo-mark { position: absolute; top: 5px; right: 5px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid #fff; background: rgba(0, 0, 0, .25); color: transparent; font-size: .7rem; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.pi-photo input:checked ~ .pi-photo-mark { background: var(--ink); color: #fff; }
.pi-photo label:has(input:checked) { border-color: var(--ink); }
.pi-photo label:has(input:not(:checked)) img { opacity: .55; }
.pi-photo input:focus-visible ~ .pi-photo-mark { outline: 2px solid var(--ink); outline-offset: 2px; }
.pi-photo.is-loading label { animation: pi-pulse 1.2s ease-in-out infinite; }
.pi-photo.is-off label { cursor: not-allowed; }
.pi-photo.is-off label img { opacity: .25; }
.pi-photo.is-off label::after { content: attr(data-off); position: absolute; left: 0; right: 0; bottom: 6px; text-align: center; font-size: .66rem; font-weight: 600; color: var(--ink-2); }
.pi-photo.is-off .pi-photo-mark { display: none; }
@keyframes pi-pulse { 50% { background: #ECECEC; } }
.pi-rows { margin: 0; padding: 0; list-style: none; border: 1px solid #EFEFEF; border-radius: 12px; }
.pi-row + .pi-row { border-top: 1px solid #F2F2F2; }
.pi-check { display: flex; gap: .7rem; align-items: flex-start; margin: 0; padding: .6rem .8rem; cursor: pointer; }
.pi-check .form-check-input { flex: none; float: none; margin: .15rem 0 0; }
.pi-check:has(input:disabled) { cursor: default; }
.pi-row-text { display: grid; min-width: 0; gap: .1rem; }
.pi-row-text strong { font-size: .76rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.pi-row-val { font-size: .86rem; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pi-row-val.is-multi { white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.pi-check:has(input:not(:checked)) .pi-row-val { color: var(--muted); text-decoration: line-through; text-decoration-color: #C9C9C9; }
.pi-row-note { font-size: .74rem; color: #8A6D1F; }
.pi-note { display: flex; gap: .5rem; align-items: flex-start; margin: .75rem 0 0; font-size: .8rem; color: var(--muted); }
.pi-foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: .9rem; }
.pi-legal { font-size: .72rem; color: var(--muted); }
.pi-foot-btns { display: flex; gap: .35rem; align-items: center; flex: none; }

/* Campos que se llenaron: un borde suave hasta que el usuario los edite */
.pf .pi-filled.form-control, .pf .pi-filled.form-select, .pf .pi-filled .form-control { background-color: #FBFAF4; border-color: #D9CF9E; }

@media (max-width: 767.98px) {
  .pi-trigger { padding: .65rem .8rem; }
  .pi-trigger-text span, .pi-cta i { display: none; }
  .pi-cta { padding: 0 .7rem; }
  .pi-url-row { flex-wrap: wrap; }
  .pi-url-row .input-group { flex-basis: 100%; }
  .pi-url-row .btn-ink { flex: 1; }
  .pi-foot { flex-direction: column; align-items: stretch; }
  .pi-foot-btns { justify-content: flex-end; }
}

/* v2.25 · Traer producto completo: variantes, ficha técnica y marcar todas las fotos */
.pi-label-right { display: inline-flex; align-items: baseline; gap: .75rem; }
.pi-all { font-size: .74rem; color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.pi-photo-tag { position: absolute; left: 5px; bottom: 5px; padding: 0 .35rem; border-radius: 6px; background: rgba(255, 255, 255, .92); font-size: .62rem; font-weight: 600; color: var(--ink-2); }
.pi-variants { display: grid; gap: .3rem; min-width: 0; }
.pi-vdetails summary { font-size: .78rem; color: var(--ink); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.pi-vdetails[open] summary { margin-bottom: .35rem; }
.pi-vtable { width: 100%; font-size: .76rem; border-collapse: collapse; }
.pi-vtable th { font-weight: 600; color: var(--muted); text-align: left; padding: .25rem .5rem .25rem 0; border-bottom: 1px solid #EFEFEF; }
.pi-vtable td { padding: .25rem .5rem .25rem 0; border-bottom: 1px solid #F5F5F5; color: var(--ink-2); }
.pi-vdetails { max-height: 260px; overflow: auto; }
.pi-specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .15rem 1rem; margin: .1rem 0 0; padding: 0; list-style: none; font-size: .8rem; }
.pi-specs li { display: flex; gap: .35rem; min-width: 0; }
.pi-specs span { color: var(--muted); flex: none; }
.pi-specs span::after { content: ':'; }
.pi-specs b { font-weight: 500; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pi-check:has(input:not(:checked)) .pi-specs, .pi-check:has(input:not(:checked)) .pi-variants { opacity: .5; }
.pf .pi-filled-block { border-color: #D9CF9E; }
.pf label.pi-filled { background: #FBFAF4; border-radius: 10px; }

/* v2.26 · Descripción completa editable en la revisión; fotos pequeñas ocultas */
.pi-row-text:has(.pi-desc) { flex: 1; }
.pi-desc { margin-top: .3rem; font-size: .84rem; line-height: 1.5; resize: vertical; min-height: 8rem; background: #FCFCFC; }
.pi-check:has(input[type="checkbox"]:not(:checked)) .pi-desc { opacity: .5; }
.pi-photos-wrap > .pi-count { display: block; margin-bottom: .5rem; }

/* v2.27 · Traer producto: reintentos con animación (hasta 3) */
.pi-loading { flex-wrap: wrap; }
.pi-loading-text { flex: 1 1 auto; min-width: 0; }
.pi-steps { display: inline-flex; gap: 5px; align-items: center; }
.pi-steps i { width: 22px; height: 4px; border-radius: 4px; background: #E6E6E6; }
.pi-steps i.is-failed { background: #D9CF9E; }
.pi-steps i.is-now { background: var(--ink); animation: pi-try 1s ease-in-out infinite; }
.pi-try { font-size: .72rem; color: var(--muted); }
.pi-loading.is-retry .pi-loading-text { color: var(--ink-2); }
@keyframes pi-try { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .pi-steps i.is-now { animation: none; } }

/* ==========================================================================
   v2.28 · Texto enriquecido: contenido (panel y tienda) y editor
   ========================================================================== */
.rt-content { line-height: 1.65; overflow-wrap: anywhere; }
.rt-content > :first-child { margin-top: 0; }
.rt-content > :last-child { margin-bottom: 0; }
.rt-content p { margin: 0 0 .75em; }
.store-block .rt-content h2, .rt-content h2 { font-size: 1.3em; font-weight: 600; letter-spacing: -.01em; text-transform: none; color: inherit; margin: 1.1em 0 .45em; }
.rt-content h3 { font-size: 1.12em; font-weight: 600; margin: 1em 0 .4em; color: inherit; }
.rt-content h4 { font-size: 1em; font-weight: 600; margin: .9em 0 .35em; color: inherit; }
.rt-content ul, .rt-content ol { margin: 0 0 .75em; padding-left: 1.35em; }
.rt-content li { margin: .15em 0; }
.rt-content blockquote { margin: 0 0 .75em; padding: .35em 0 .35em 1em; border-left: 3px solid currentColor; opacity: .85; font-style: italic; }
.rt-content hr { border: 0; border-top: 1px solid rgba(127, 127, 127, .35); margin: 1.1em 0; opacity: 1; }
.rt-content a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.rt-content .rt-table { width: 100%; border-collapse: collapse; margin: 0 0 1em; font-size: .95em; display: table; }
.rt-content .rt-table th, .rt-content .rt-table td { border: 1px solid rgba(127, 127, 127, .35); padding: .45em .6em; vertical-align: top; text-align: left; }
.rt-content .rt-table th { background: rgba(127, 127, 127, .1); font-weight: 600; }
.rt-content .rt-sm { font-size: .85em; }
.rt-content .rt-lg { font-size: 1.25em; }
.rt-content .rt-xl { font-size: 1.6em; line-height: 1.3; }
.rt-content .rt-center { text-align: center; }
.rt-content .rt-right { text-align: right; }
.rt-content .rt-justify { text-align: justify; }
.rt-content .rt-hl { background: #FFF1A8; color: #1F1F1F; padding: 0 .12em; border-radius: 2px; }
.rt-c-gray { color: #6B6B6B; } .rt-c-red { color: #C62828; } .rt-c-orange { color: #D9730D; } .rt-c-green { color: #2E7D32; }
.rt-c-blue { color: #1E63C6; } .rt-c-purple { color: #7B3FB0; } .rt-c-pink { color: #C2185B; } .rt-c-brown { color: #8D5A3B; }
@media (max-width: 575.98px) { .rt-content .rt-table { display: block; overflow-x: auto; } }

/* Editor */
.rt { border: 1px solid var(--bs-border-color, #DADADA); border-radius: 12px; background: #fff; position: relative; transition: border-color .12s, box-shadow .12s; }
.rt.is-focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17, 17, 17, .06); }
.rt.is-over { border-color: #C62828; }
.rt-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; padding: 5px 6px; border-bottom: 1px solid #EFEFEF; background: #FAFAFA; border-radius: 12px 12px 0 0; }
.rt-btn { display: inline-flex; align-items: center; gap: .3rem; height: 30px; min-width: 30px; padding: 0 .45rem; border: 0; border-radius: 7px; background: transparent; color: var(--ink-2); font-size: .95rem; cursor: pointer; }
.rt-btn:hover { background: #EEEEEE; color: var(--ink); }
.rt-btn.is-on { background: var(--ink); color: #fff; }
.rt-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.rt-btn-text { font-size: .74rem; font-weight: 500; }
.rt-sep { width: 1px; height: 20px; margin: 0 4px; background: #E3E3E3; }
.rt-select { height: 30px; padding: 0 1.6rem 0 .55rem; border: 1px solid #E3E3E3; border-radius: 7px; background-color: #fff; font-size: .78rem; color: var(--ink); cursor: pointer;
  appearance: none; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23555' stroke-width='2' d='m4 6 4 4 4-4'/%3e%3c/svg%3e");
  background-repeat: no-repeat; background-position: right .45rem center; background-size: 10px; }
.rt-drop { position: relative; display: inline-flex; }
.rt-drop-panel { position: absolute; top: calc(100% + 4px); left: 0; z-index: 20; display: grid; grid-template-columns: repeat(5, 24px); gap: 6px; padding: 8px; background: #fff; border: 1px solid #E3E3E3; border-radius: 10px; box-shadow: 0 8px 24px rgba(0, 0, 0, .1); }
.rt-drop-panel[hidden] { display: none; }
.rt-swatch { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #DADADA; cursor: pointer; padding: 0; }
.rt-swatch:hover { box-shadow: 0 0 0 2px var(--ink); }
.rt-sw-auto { background: linear-gradient(135deg, #1F1F1F 50%, #fff 50%); }
.rt-sw-gray { background: #6B6B6B; } .rt-sw-red { background: #C62828; } .rt-sw-orange { background: #D9730D; } .rt-sw-green { background: #2E7D32; }
.rt-sw-blue { background: #1E63C6; } .rt-sw-purple { background: #7B3FB0; } .rt-sw-pink { background: #C2185B; } .rt-sw-brown { background: #8D5A3B; }
.rt-tablebar { background: #F5F7FB; border-radius: 0; }
.rt-tablebar[hidden] { display: none; }
.rt-tablebar-title { font-size: .74rem; font-weight: 600; color: var(--muted); margin: 0 .35rem 0 .25rem; }
.rt-linkbar { display: flex; gap: .5rem; align-items: center; padding: 6px 8px; border-bottom: 1px solid #EFEFEF; background: #FFFDF5; }
.rt-linkbar[hidden] { display: none; }
.rt-linkbar .form-control { max-width: 360px; }
.rt-area { min-height: 9rem; max-height: 32rem; overflow-y: auto; padding: .8rem .95rem; outline: none; font-size: .92rem; color: var(--ink); cursor: text; }
.rt-area.is-tall { min-height: 14rem; }
.rt.is-expanded .rt-area { min-height: 26rem; max-height: 70vh; }
.rt-area:empty::before { content: attr(data-placeholder); color: #9A9A9A; pointer-events: none; }
.rt-area .rt-table td, .rt-area .rt-table th { min-width: 60px; }
.rt-hint { position: absolute; right: 10px; bottom: 8px; padding: .3rem .6rem; border-radius: 8px; background: var(--ink); color: #fff; font-size: .74rem; z-index: 5; }
.rt-hint[hidden] { display: none; }
@media (max-width: 767.98px) {
  .rt-bar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
  .rt-btn-text { display: none; }
  .rt-drop-panel { position: fixed; top: auto; left: 16px; right: 16px; bottom: 90px; grid-template-columns: repeat(9, 1fr); }
}
/* Revisión al traer un producto: el editor ocupa todo el ancho */
.pi .rt { margin-top: .3rem; }
.pi .rt-area { max-height: 22rem; }
.pi-check:has(input[type="checkbox"]:not(:checked)) .rt { opacity: .55; }
.pi-desc-box { padding: 0 .8rem .75rem 2.55rem; }
.pf .rt.pi-filled { border-color: #D9CF9E; background: #FBFAF4; }
@media (max-width: 575.98px) { .pi-desc-box { padding-left: .8rem; } }

/* v2.28 · listas del texto enriquecido siempre con viñeta/número (aunque estén dentro de otra lista sin estilo) */
.rt-content ul { list-style: disc; }
.rt-content ol { list-style: decimal; }
.rt-content ul ul { list-style: circle; }

/* ===================== v2.29 · Planes Gratis / Pro / Max y Almacenamiento ===================== */
/* Mi plan */
.plan-current .plan-store { display: flex; flex-direction: column; gap: .35rem; min-width: 240px; flex: 0 1 320px; padding: .8rem .95rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; font-size: .86rem; }
.plan-current .plan-store:hover { border-color: var(--line-strong); color: var(--ink); }
.plan-store-top .bi { margin-right: .2rem; }
.plan-store small { color: var(--muted); font-size: .76rem; }
.plan-store.is-warn .rep-fill { background: #C98A00; }
.plan-store.is-danger .rep-fill, .plan-store.is-full .rep-fill { background: var(--danger, #C62828); }
.pu-label { display: flex; flex-direction: column; }
.pu-left { font-size: .74rem; color: var(--faint); }
.pu-row.is-warn .rep-fill { background: #C98A00; }
.pu-row.is-full .pu-left { color: var(--danger, #C62828); }
.pu-inf { color: var(--faint); text-align: center; font-size: 1rem; }
.pu-row.is-free .pu-num small { color: var(--faint); }
.plan-head { flex-wrap: wrap; gap: .75rem; }
.plan-periods { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--soft); }
.plan-period { border: 0; background: transparent; padding: .38rem .8rem; border-radius: 999px; font-size: .84rem; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.plan-period b { font-weight: 600; color: #1A7F37; font-size: .76rem; }
.plan-period.is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.plan-period:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
@media (min-width: 992px) { .plan-cards.is-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) and (max-width: 991.98px) { .plan-cards.is-3 { grid-template-columns: 1fr 1fr; } }
.plan-card.is-current { background: #FAFAFA; }
.plan-tag { margin: -.5rem 0 0; color: var(--muted); font-size: .86rem; }
.plan-price-box[hidden] { display: none; }
.plan-price-box .plan-price, .plan-card > .plan-price { margin: 0; }
.plan-bill { margin: .15rem 0 0; font-size: .8rem; color: var(--muted); min-height: 1.2rem; }
.plan-card .plan-feats { flex: 1; }
.plan-card-cta .btn { padding-left: 1.1rem; padding-right: 1.1rem; }
.plan-cta-period { font-size: .72rem; font-weight: 400; opacity: .75; }
.plan-credit { margin: .5rem 0 0; font-size: .78rem; color: var(--muted); }
.plan-compare { margin-top: 1rem; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.plan-compare > summary { cursor: pointer; padding: .8rem 1rem; font-weight: 500; font-size: .9rem; list-style: none; }
.plan-compare > summary::-webkit-details-marker { display: none; }
.plan-compare > summary::after { content: "+"; float: right; color: var(--muted); }
.plan-compare[open] > summary::after { content: "–"; }
.plan-compare .adm-table-wrap { border: 0; border-top: 1px solid var(--line); border-radius: 0 0 16px 16px; }
.plan-table th[scope="row"] { font-weight: 500; font-size: .86rem; }
.plan-table th[scope="row"] small { font-weight: 400; font-size: .74rem; }
.plan-table td.is-current, .plan-table th.is-current { background: #F7F7F7; font-weight: 600; }
.plan-faq { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .6rem; font-size: .84rem; color: var(--ink-2); }
@media (min-width: 992px) { .plan-faq { grid-template-columns: repeat(3, 1fr); } }
.plan-faq li { padding: .8rem .95rem; border-radius: 14px; background: #FAFAFA; }
.plan-faq strong { display: block; font-weight: 600; margin-bottom: .15rem; color: var(--ink); }

/* Menú lateral: almacenamiento */
.side-storage { align-items: center; }
.side-storage-text { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.2; }
.side-storage-text small { font-size: .7rem; color: var(--muted); }
.side-storage-bar { display: block; height: 3px; margin-top: .3rem; border-radius: 3px; background: var(--soft-2); overflow: hidden; }
.side-storage-bar > i { display: block; height: 100%; background: var(--ink); border-radius: 3px; }
.side-storage.is-warn .side-storage-bar > i { background: #C98A00; }
.side-storage.is-danger .side-storage-bar > i { background: #C62828; }
.side-storage.is-danger > .ic { color: #C62828; }
.side-storage-bar > .w-0{width:0%} .side-storage-bar > .w-5{width:5%} .side-storage-bar > .w-10{width:10%} .side-storage-bar > .w-15{width:15%} .side-storage-bar > .w-20{width:20%} .side-storage-bar > .w-25{width:25%} .side-storage-bar > .w-30{width:30%} .side-storage-bar > .w-35{width:35%} .side-storage-bar > .w-40{width:40%} .side-storage-bar > .w-45{width:45%} .side-storage-bar > .w-50{width:50%} .side-storage-bar > .w-55{width:55%} .side-storage-bar > .w-60{width:60%} .side-storage-bar > .w-65{width:65%} .side-storage-bar > .w-70{width:70%} .side-storage-bar > .w-75{width:75%} .side-storage-bar > .w-80{width:80%} .side-storage-bar > .w-85{width:85%} .side-storage-bar > .w-90{width:90%} .side-storage-bar > .w-95{width:95%} .side-storage-bar > .w-100{width:100%}

/* Página de almacenamiento */
.st-page { display: flex; flex-direction: column; gap: 1.5rem; }
.st-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; padding: 1.3rem 1.4rem; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.st-card.is-danger, .st-card.is-full { border-color: #F0C2C2; background: #FFF8F8; }
.st-card.is-warn { border-color: #EBD9A5; background: #FFFCF3; }
.st-main { flex: 1 1 420px; min-width: 0; }
.st-big { margin: .1rem 0 .7rem; font-size: 1.05rem; color: var(--muted); }
.st-big strong { font-size: 1.9rem; font-weight: 600; color: var(--ink); letter-spacing: -.02em; margin-right: .2rem; }
.st-bar { display: flex; gap: 2px; height: 12px; border-radius: 999px; background: var(--soft); overflow: hidden; }
.st-seg { display: block; height: 100%; width: 0; min-width: 3px; }
.st-seg:first-child { border-radius: 999px 0 0 999px; }
.st-free { margin: .6rem 0 0; font-size: .86rem; color: var(--ink-2); }
.st-side { display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; }
.st-link { font-size: .82rem; color: var(--muted); }
@media (max-width: 575.98px) { .st-side { align-items: stretch; width: 100%; } .st-side .btn { width: 100%; } }
.st-legend { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .5rem; }
.st-legend a { display: flex; align-items: center; gap: .55rem; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; font-size: .86rem; background: #fff; }
.st-legend a:hover, .st-legend a[aria-current] { border-color: var(--ink); }
.st-legend-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-legend-num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 500; display: flex; flex-direction: column; line-height: 1.15; }
.st-legend-num small { font-weight: 400; color: var(--faint); font-size: .72rem; }
.st-dot { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.st-c-products { background: #1F6FEB; } .st-c-categories { background: #8250DF; } .st-c-site { background: #1A7F37; } .st-c-social { background: #D4A72C; }
.st-c-social_thumbs { background: #BF8700; } .st-c-logos { background: #CF222E; } .st-c-quotes { background: #0A7EA4; } .st-c-profile { background: #6E7781; }
.st-head { flex-wrap: wrap; gap: .6rem; }
.st-filters { display: flex; flex-wrap: wrap; gap: .4rem; }
.st-filters .form-select { width: auto; min-width: 150px; border-radius: 999px; }
.st-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .8rem; }
@media (max-width: 575.98px) { .st-grid { grid-template-columns: 1fr 1fr; gap: .6rem; } }
.st-file { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.st-thumb { position: relative; display: block; aspect-ratio: 1; background: #F4F4F4; }
.st-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-size { position: absolute; left: 6px; bottom: 6px; padding: .1rem .45rem; border-radius: 999px; background: rgba(17,17,17,.78); color: #fff; font-size: .7rem; font-variant-numeric: tabular-nums; }
.st-meta { display: flex; flex-direction: column; gap: .15rem; padding: .55rem .65rem .65rem; min-width: 0; font-size: .82rem; }
.st-meta strong { font-weight: 500; }
.st-meta small { color: var(--muted); font-size: .72rem; }
.st-use { display: flex; align-items: center; gap: .25rem; margin-top: .2rem; font-size: .74rem; color: var(--ink-2); min-width: 0; }
.st-use a { margin-left: auto; flex: none; font-weight: 500; }
.st-del { margin-top: .25rem; border: 0; padding: .3rem .55rem; border-radius: 999px; background: #FFF1F1; color: #B42318; font-size: .74rem; font-weight: 500; width: 100%; }
.st-del:hover { background: #FFE2E2; }
.st-empty { padding: 2.5rem 1rem; text-align: center; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: 16px; }
.st-empty .bi { font-size: 1.6rem; display: block; margin-bottom: .4rem; }
.st-pages { display: flex; align-items: center; justify-content: center; gap: .75rem; margin-top: 1rem; }
/* Cupo del plan junto al título de un módulo */
.plan-quota { display: inline-flex; align-items: center; gap: .35rem; padding: .28rem .7rem; border-radius: 999px; background: var(--soft); color: var(--ink-2); font-size: .78rem; font-weight: 500; text-decoration: none; white-space: nowrap; vertical-align: middle; }
.plan-quota:hover { color: var(--ink); background: var(--soft-2); }
.plan-quota .bi { font-size: .8rem; }
.plan-quota b { font-weight: 600; padding-left: .35rem; margin-left: .1rem; border-left: 1px solid var(--line-strong); }
.plan-quota.is-warn { background: #FFF6DB; color: #7A5600; }
.plan-quota.is-full { background: #FFECEC; color: #B42318; }
.plan-price .plan-was { font-size: .95rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.st-filters .form-select { min-height: 0; height: 36px; padding-top: .3rem; padding-bottom: .3rem; font-size: .86rem; }
.st-link { border: 0 !important; padding: 0 !important; background: none !important; }
@media (max-width: 575.98px) { .st-legend { grid-template-columns: 1fr 1fr; } .st-legend a { padding: .5rem .6rem; font-size: .8rem; } }

/* ===================== v2.30 ===================== */
/* Ventana del sistema (confirmaciones y avisos del plan) */
.limit-box.is-danger .limit-icon { background: #FFECEC; color: #B42318; }
.limit-box.is-warn .limit-icon { background: #FFF4D6; color: #9A6700; }
.limit-note { margin: -.6rem 0 1rem; padding: .55rem .7rem; border-radius: 10px; background: #FFF8E6; color: #7A5600; font-size: .8rem; text-align: left; }
/* Almacenamiento: selección, lote y visor */
.st-selbar { position: sticky; top: 64px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; margin: 0 0 .8rem; padding: .45rem .75rem; border-radius: 14px; background: #fff; border: 1px solid transparent; font-size: .84rem; }
.st-selbar.is-active { border-color: var(--line-strong); box-shadow: 0 6px 18px rgba(0,0,0,.06); }
.st-check-all { display: inline-flex; align-items: center; gap: .4rem; cursor: pointer; color: var(--ink-2); }
.st-sel-info { font-weight: 500; }
.st-sel-actions { display: inline-flex; flex-wrap: wrap; gap: .4rem; margin-left: auto; }
.st-sel-actions[hidden], .st-sel-info[hidden] { display: none; }
.st-file { position: relative; }
.st-file.is-picked { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.st-pick { position: absolute; top: 8px; left: 8px; z-index: 2; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: rgba(255,255,255,.92); cursor: pointer; }
.st-pick .form-check-input { margin: 0; cursor: pointer; }
button.st-thumb { padding: 0; border: 0; width: 100%; cursor: zoom-in; }
.st-badge { position: absolute; right: 6px; bottom: 6px; padding: .05rem .4rem; border-radius: 999px; background: rgba(255,255,255,.9); color: #1A7F37; font-size: .64rem; font-weight: 600; }
.st-use.is-free { color: var(--faint); }
body.st-busy { cursor: progress; }
.st-viewer { position: fixed; inset: 0; z-index: 1080; display: none; grid-template-columns: minmax(0, 1fr) 320px; background: rgba(12,12,12,.92); outline: 0; }
.st-viewer.is-open { display: grid; }
body.st-viewing { overflow: hidden; }
.st-v-stage { position: relative; display: grid; place-items: center; padding: 2rem 4rem; min-height: 0; }
.st-v-img { max-width: 100%; max-height: calc(100vh - 4rem); object-fit: contain; border-radius: 6px; background: #fff; }
.st-v-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 1.1rem; }
.st-v-nav:hover { background: rgba(255,255,255,.26); }
.st-v-nav.is-prev { left: 1rem; } .st-v-nav.is-next { right: 1rem; }
.st-v-nav[hidden] { display: none; }
.st-v-side { position: relative; background: #fff; padding: 1.4rem 1.2rem; overflow-y: auto; display: flex; flex-direction: column; gap: .8rem; }
.st-v-close { position: absolute; top: .7rem; right: .7rem; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--soft); }
.st-v-title { font-size: 1rem; font-weight: 600; margin: .2rem 2.4rem 0 0; word-break: break-word; }
.st-v-data { display: grid; grid-template-columns: auto 1fr; gap: .3rem .9rem; margin: 0; font-size: .84rem; }
.st-v-data dt { font-weight: 400; color: var(--muted); }
.st-v-data dd { margin: 0; }
.st-v-use { margin: 0; font-size: .84rem; padding: .6rem .7rem; border-radius: 10px; background: #FAFAFA; }
.st-v-use .is-free { color: var(--muted); }
.st-v-actions { display: flex; flex-wrap: wrap; gap: .4rem; }
.st-v-count { margin: auto 0 0; font-size: .76rem; color: var(--faint); }
@media (max-width: 767.98px) {
  .st-viewer { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .st-v-stage { padding: 3.2rem .5rem 1rem; }
  .st-v-img { max-height: 55vh; }
  .st-v-nav { width: 38px; height: 38px; }
  .st-v-nav.is-prev { left: .3rem; } .st-v-nav.is-next { right: .3rem; }
  .st-v-side { max-height: 45vh; border-radius: 16px 16px 0 0; }
  .st-selbar { top: 56px; }
}
.plan-current-cta { display: flex; align-items: center; justify-content: flex-end; gap: .75rem; }
.plan-current-cta .btn { padding-left: 1.1rem; padding-right: 1.1rem; white-space: nowrap; }
.plan-up-link { font-size: .8rem; color: var(--muted); }
/* Tarjeta del plan actual: datos a la izquierda; almacenamiento y botón a la derecha */
.plan-current { align-items: flex-start; }
.plan-current-main { flex: 1 1 320px; min-width: 0; }
.plan-current-side { display: flex; flex-direction: column; align-items: stretch; gap: .75rem; flex: 0 1 300px; }
.plan-current-side .plan-store { min-width: 0; flex: none; }
@media (max-width: 575.98px) { .plan-current-side { flex-basis: 100%; } .plan-current-cta { justify-content: space-between; } }
@media (max-width: 575.98px) { .st-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); } .st-legend a { min-width: 0; } .st-legend-num { flex: none; } }

/* Consumo del plan en la barra superior (ícono + lista) */
.topbar-plan { position: relative; width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; color: var(--ink); border: 0; background: transparent; }
.topbar-plan:hover, .topbar-plan[aria-expanded="true"] { background: var(--soft, #F1F1F1); }
.topbar-plan .ic { width: 1.2rem; height: 1.2rem; }
.topbar-dot.is-warn { background: #D4A72C; }
.plan-pop { width: min(320px, calc(100vw - 24px)); }
.plan-pop-head { display: flex; flex-direction: column; margin-bottom: .6rem; }
.plan-pop-head strong { font-weight: 600; font-size: .95rem; }
.plan-pop-head small { color: var(--muted); font-size: .76rem; }
.plan-pop-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.plan-pop-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem .6rem; font-size: .82rem; }
.plan-pop-list .rep-meter { grid-column: 1 / -1; }
.plan-pop-label { color: var(--ink-2); }
.plan-pop-num { font-variant-numeric: tabular-nums; font-weight: 500; }
.plan-pop-num span { color: var(--faint); font-weight: 400; }
.plan-pop-list li.is-warn .rep-fill { background: #C98A00; }
.plan-pop-list li.is-full .rep-fill { background: #C62828; }
.plan-pop-list li.is-full .plan-pop-num { color: #B42318; }
.plan-pop-foot { display: flex; align-items: center; justify-content: space-between; margin-top: .8rem; padding-top: .7rem; border-top: 1px solid var(--line); font-size: .82rem; }
/* v2.30 · «Mi cuenta» con 3 accesos (Mi plan vive abajo en el menú lateral) */
.acct-pop-tiles { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
/* «Plan» del menú lateral abre el consumo en una ventana */
button.side-plan { text-align: left; }
.plan-usage-box { position: relative; text-align: left; width: min(360px, 100%); }
.plan-usage-box .plan-pop { width: auto; padding: 0; }
.plan-usage-close { position: absolute; top: .7rem; right: .7rem; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--soft, #F1F1F1); }

/* ===================== v2.31 · Centro de notificaciones: lista limpia, filtro en un botón e historial por semanas ===================== */
.notif-page { max-width: 820px; }
.notif-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.notif-head .page-title { margin: 0; }
.notif-lead { margin: .2rem 0 0; color: var(--muted); font-size: .88rem; }
.notif-tools { display: flex; align-items: center; gap: .5rem; }
.notif-filter-btn { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.notif-filter-btn:hover, .notif-filter-btn[aria-expanded="true"] { background: var(--soft, #F1F1F1); }
.notif-filter-menu { min-width: 220px; padding: .4rem; border-radius: 14px; }
.notif-filter-title { margin: .2rem .6rem .35rem; font-size: .74rem; color: var(--faint); text-transform: uppercase; letter-spacing: .05em; }
.notif-filter-menu .dropdown-item { display: flex; align-items: center; gap: .6rem; border-radius: 10px; font-size: .88rem; padding: .45rem .6rem; }
.notif-filter-menu .dropdown-item .bi:first-child { color: var(--muted); }
.notif-check { margin-left: auto; visibility: hidden; }
.notif-filter-menu .dropdown-item.is-active { background: var(--soft, #F1F1F1); color: var(--ink); font-weight: 500; }
.notif-filter-menu .dropdown-item.is-active .notif-check { visibility: visible; }
.notif-active { display: inline-flex; align-items: center; gap: .3rem; height: 32px; padding: 0 .35rem 0 .8rem; border-radius: 999px; background: var(--soft, #F1F1F1); font-size: .82rem; font-weight: 500; }
.notif-active[hidden] { display: none; }
.notif-active button { width: 24px; height: 24px; border: 0; border-radius: 50%; background: transparent; display: grid; place-items: center; font-size: .7rem; color: var(--muted); }
.notif-active button:hover { background: #E4E4E4; color: var(--ink); }
.notif-group[hidden], .notif-list li[hidden], .notif-empty[hidden], .notif-end[hidden] { display: none; }
.notif-week-empty { color: var(--faint); font-size: .84rem; margin: 0 0 1.25rem; }
.notif-more { display: flex; justify-content: center; margin: .25rem 0 1.5rem; }
.notif-more[hidden] { display: none; }
.notif-end { text-align: center; color: var(--faint); font-size: .82rem; margin: .5rem 0 1.5rem; }
@media (max-width: 575.98px) { .notif-head { align-items: center; } }

/* ---------- tiencol · nueva marca (logo «tiencol» con sonrisa naranja) ---------- */
.brand-logo, .sidebar .brand-logo { height: 26px; width: auto; }
.auth-header .brand-logo { height: 28px; }
.brand-icon, .sidebar .brand-icon { height: 28px; width: auto; }
.eco-hub { box-shadow: 0 14px 34px rgba(17, 17, 17, .28); }
.eco-hub img { width: auto; height: 40px; }
.eco-hub::before, .eco-hub::after { border-color: rgba(17, 17, 17, .12); }

/* ==========================================================================
   v2.33 · Acceso y registro (estilo limpio y moderno): una columna centrada, fondo cálido,
   formulario en tarjeta, frase con palabra que cambia (solo CSS) y ayudas de validación en vivo. Clases au-*.
   ========================================================================== */
body.au { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: #FAF9F6; color: var(--ink); }
.au-top { display: flex; align-items: center; justify-content: center; padding: 1.75rem 1.25rem .5rem; }
.au-top .brand-logo { height: 26px; }
.au-main { flex: 1; width: 100%; max-width: 440px; margin: 0 auto; padding: 1.5rem 1.25rem 2rem; display: flex; flex-direction: column; justify-content: center; outline: none; }

/* Frase con palabra que cambia */
.au-hero { text-align: center; margin: 0 0 1.75rem; }
.au-tag { margin: 0; font-size: clamp(1.85rem, 5.5vw, 2.6rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.12; color: var(--ink); }
.au-rot { display: grid; justify-items: center; }
.au-rot > span { grid-area: 1 / 1; color: #111111; opacity: 0; transform: translateY(.35em); filter: blur(4px); animation: auWord 9s cubic-bezier(.2, .7, .2, 1) infinite; }
.au-rot > span:nth-child(2) { animation-delay: 3s; }
.au-rot > span:nth-child(3) { animation-delay: 6s; }
@keyframes auWord {
  0% { opacity: 0; transform: translateY(.35em); filter: blur(4px); }
  6%, 30% { opacity: 1; transform: none; filter: blur(0); }
  36%, 100% { opacity: 0; transform: translateY(-.35em); filter: blur(4px); }
}
@media (prefers-reduced-motion: reduce) {
  .au-rot > span { animation: none; }
  .au-rot > span:first-child { opacity: 1; transform: none; filter: none; }
}

/* Tarjeta */
.au-card { background: #fff; border: 1px solid #ECEAE4; border-radius: 20px; padding: 1.9rem 1.75rem 1.6rem; box-shadow: 0 1px 2px rgba(17, 17, 17, .03), 0 16px 40px -12px rgba(17, 17, 17, .08); }
.au .auth-intro { margin: 0 0 1.35rem; text-align: left; }
.au .auth-title { font-family: var(--font-sans); font-size: 1.35rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.25; margin: 0 0 .3rem; }
.au .auth-lead { font-size: .9rem; color: var(--muted); margin: 0; }
.au .back-link { margin-bottom: 1rem; }
.au-alt { margin: 1.35rem 0 0; padding-top: 1.2rem; border-top: 1px solid #F0EEE9; text-align: center; font-size: .88rem; color: var(--muted); }
.au-alt a, .au .auth-lead a { color: var(--ink); font-weight: 500; text-decoration: none; }
.au-alt a:hover, .au .auth-lead a:hover { color: #111111; }

/* Campos */
.au .field { margin-bottom: 1rem; }
.au .form-label { font-size: .84rem; font-weight: 500; color: var(--ink-2); margin-bottom: .38rem; }
.au .form-control, .au .form-select { height: 46px; border-radius: 10px; border: 1px solid #E3E1DB; background-color: #fff; font-size: .95rem; box-shadow: none; transition: border-color .15s ease, box-shadow .15s ease; }
.au .form-control:hover, .au .form-select:hover { border-color: #CBC8C0; }
.au .form-control:focus, .au .form-select:focus { border-color: #111; box-shadow: 0 0 0 3px rgba(17, 17, 17, .07); }
.au .form-control::placeholder { color: #A9A69E; }
.au .form-control.is-invalid, .au .phone-group.is-invalid .form-control { border-color: #D93025; background-image: none; padding-right: .75rem; }
.au .form-control.is-invalid:focus { box-shadow: 0 0 0 3px rgba(217, 48, 37, .1); }
.au .input-wrap.has-toggle .form-control.is-invalid { padding-right: 2.9rem; }
.au .invalid-feedback { font-size: .78rem; color: #C5221F; margin-top: .35rem; }
/* Campo correcto: chulito a la derecha */
.au .field.is-ok .input-wrap:not(.has-toggle)::after { content: ""; position: absolute; right: .85rem; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: #1E8E3E 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 / 16px no-repeat; animation: fadeIn .2s ease; }
.au .field.is-ok .input-wrap:not(.has-toggle) .form-control { padding-right: 2.4rem; }
.au .input-toggle { right: .4rem; }
/* Ayudas: sugerencia de correo, Bloq Mayús, pista de contraseña */
.au-help:empty { display: none; }
.au-help { margin-top: .35rem; font-size: .78rem; color: var(--muted); animation: fadeIn .2s ease; }
.au-caps { color: #B06000; }
.au-suggest-btn { border: 0; background: none; padding: 0; color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.au .strength { display: none; margin-top: .5rem; }
.au .strength.is-active, .au .field:focus-within .strength { display: block; }
.au .strength-list { display: none; }
.au .strength-bar { height: 3px; }
.au-pw-hint { margin: .4rem 0 0; font-size: .78rem; color: var(--muted); }
.au-pw-hint.is-ok { color: #1E8E3E; }
/* Casillas y botón */
.au .form-check { margin: .25rem 0 .25rem; }
.au .form-check-input { width: 1.05em; height: 1.05em; margin-top: .2em; border-radius: 4px; border-color: #CBC8C0; }
.au .form-check-input:checked { background-color: #111; border-color: #111; }
.au .form-check-input:focus { box-shadow: 0 0 0 3px rgba(17, 17, 17, .08); }
.au .form-check-input.is-invalid { border-color: #D93025; }
.au .form-check-label { font-size: .88rem; color: var(--ink-2); }
.au .form-check-label.small { font-size: .8rem; line-height: 1.45; color: var(--muted); }
.au .form-check-label a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: #D6D3CB; }
.au .auth-form .btn-ink { height: 46px; border-radius: 10px; font-weight: 500; font-size: .95rem; margin-top: .85rem; }
.au .auth-form .btn-ink:disabled { opacity: .7; }
.au .ref-field .btn-link { font-size: .84rem; text-decoration: none; color: var(--ink-2); }
.au .otp-box:focus { border-color: #111; box-shadow: 0 0 0 3px rgba(17, 17, 17, .07); }

.au-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.1rem; padding: 0 1.25rem 1.5rem; font-size: .78rem; color: #9A978F; }
.au-foot a { color: #9A978F; text-decoration: none; }
.au-foot a:hover { color: var(--ink); }

@media (max-width: 520px) {
  body.au { background: #fff; }
  .au-top { padding-top: 1.25rem; }
  .au-main { justify-content: flex-start; padding-top: 1.25rem; }
  .au-card { border: 0; box-shadow: none; padding: 0; border-radius: 0; }
  .au-hero { margin-bottom: 2rem; }
}
/* La pista ya dice qué falta: no repetir el error de composición debajo; en rojo si el campo quedó con error. */
.au .field.pw-missing .invalid-feedback { display: none; }
.au .field.pw-missing .form-control.is-invalid ~ * .au-pw-hint, .au .field.pw-missing:has(.is-invalid) .au-pw-hint { color: #C5221F; }

/* ==========================================================================
   v2.34 · Documentos legales y páginas de aviso/error con el estilo limpio del acceso.
   Clases lg-* (legal) y mn-* (mínimo). El HTML de cada documento no cambia.
   ========================================================================== */
body.lg { background: #FAF9F6; color: var(--ink); }
.lg-top { position: sticky; top: 0; z-index: 20; background: rgba(250, 249, 246, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid #ECEAE4; }
.lg-top-in { max-width: 1120px; margin: 0 auto; padding: .7rem 1.25rem; display: flex; align-items: center; gap: 1rem; }
.lg-top .brand-logo { height: 24px; }
.lg-tabs { display: inline-flex; gap: 2px; padding: 3px; margin: 0 auto; background: #EFEDE7; border-radius: 999px; }
.lg-tabs a { padding: .38rem .9rem; border-radius: 999px; font-size: .85rem; color: var(--ink-2); text-decoration: none; transition: background-color .15s ease, color .15s ease; }
.lg-tabs a:hover { color: var(--ink); }
.lg-tabs a[aria-current="page"] { background: #fff; color: var(--ink); font-weight: 500; box-shadow: 0 1px 2px rgba(17, 17, 17, .08); }
.lg-enter { flex: none; font-size: .85rem; font-weight: 500; color: #fff; background: #111; padding: .45rem .95rem; border-radius: 999px; text-decoration: none; }
.lg-enter:hover { background: #2A2A2A; color: #fff; }

.lg-shell { max-width: 1120px; margin: 0 auto; padding: 2.5rem 1.25rem 3rem; display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.lg-main { min-width: 0; max-width: 720px; outline: none; }
.lg-side { display: none; }
@media (min-width: 992px) {
  .lg-shell { grid-template-columns: 240px minmax(0, 1fr); gap: 4rem; padding-top: 3.5rem; }
  .lg-shell.no-toc { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .lg-side { display: block; position: sticky; top: 84px; align-self: start; max-height: calc(100vh - 110px); overflow-y: auto; padding-right: .5rem; }
  .lg-toc-m { display: none; }
}
.lg-side-t { margin: 0 0 .75rem; font-size: .75rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: #9A978F; }
.lg-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: none; display: grid; gap: 1px; }
.lg-toc a { display: block; padding: .38rem .7rem; border-radius: 8px; font-size: .86rem; line-height: 1.35; color: var(--muted); text-decoration: none; border-left: 2px solid transparent; transition: color .15s ease, background-color .15s ease; }
.lg-toc a:hover { color: var(--ink); background: #F1EFE9; }
.lg-toc a.is-active { color: var(--ink); background: #fff; font-weight: 500; box-shadow: inset 2px 0 0 #111111; border-radius: 0 8px 8px 0; }
.lg-toc-m { margin: 0 0 2rem; background: #fff; border: 1px solid #ECEAE4; border-radius: 14px; }
.lg-toc-m summary { list-style: none; cursor: pointer; padding: .8rem 1rem; font-size: .9rem; font-weight: 500; display: flex; justify-content: space-between; align-items: center; }
.lg-toc-m summary::-webkit-details-marker { display: none; }
.lg-toc-m summary::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s ease; }
.lg-toc-m[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.lg-toc-m .lg-toc { padding: 0 .5rem .6rem; }

/* Texto del documento */
.lg .legal-doc { font-size: 1rem; line-height: 1.75; color: #3A3935; }
.lg .legal-kicker { display: inline-block; margin: 0 0 1rem; padding: .25rem .7rem; border-radius: 999px; background: #fff; border: 1px solid #ECEAE4; font-size: .74rem; letter-spacing: .02em; text-transform: none; color: var(--muted); }
.lg .legal-doc h1 { font-size: clamp(2rem, 4.5vw, 2.75rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.1; color: var(--ink); margin: 0 0 .6rem; }
.lg .legal-meta { margin: 0 0 2.25rem; font-size: .9rem; color: var(--muted); }
.lg .legal-doc h2 { font-size: 1.3rem; font-weight: 500; letter-spacing: -.015em; color: var(--ink); margin: 2.75rem 0 .75rem; padding-top: 2rem; border-top: 1px solid #ECEAE4; scroll-margin-top: 84px; }
.lg .legal-doc h1 + .legal-meta + h2, .lg .legal-meta + h2 { border-top: 0; padding-top: 0; margin-top: 0; }
.lg .legal-doc h3 { font-size: 1.02rem; font-weight: 500; color: var(--ink); margin: 1.6rem 0 .4rem; scroll-margin-top: 84px; }
.lg .legal-doc p { margin: 0 0 1rem; }
.lg .legal-doc ul, .lg .legal-doc ol { padding-left: 1.2rem; margin: 0 0 1rem; }
.lg .legal-doc li { margin-bottom: .45rem; padding-left: .2rem; }
.lg .legal-doc li::marker { color: #B5B2AA; }
.lg .legal-doc strong { font-weight: 500; color: var(--ink); }
.lg .legal-doc a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(17,17,17, .5); text-underline-offset: 3px; }
.lg .legal-doc a:hover { text-decoration-color: #111111; }
.lg .legal-company { display: grid; gap: 0; margin: 1rem 0 1.25rem; padding: .35rem 1.1rem; background: #fff; border: 1px solid #ECEAE4; border-radius: 14px; }
.lg .legal-company div { display: flex; flex-wrap: wrap; gap: .1rem 1rem; padding: .6rem 0; border-bottom: 1px solid #F1EFEA; }
.lg .legal-company div:last-child { border-bottom: 0; }
.lg .legal-company dt { min-width: 150px; font-weight: 400; font-size: .86rem; color: var(--muted); }
.lg .legal-company dd { font-size: .92rem; color: var(--ink); }
.lg .legal-table-wrap { margin: 1rem 0 1.5rem; background: #fff; border: 1px solid #ECEAE4; border-radius: 14px; overflow-x: auto; }
.lg .legal-table { min-width: 560px; font-size: .88rem; }
.lg .legal-table th { background: #F7F6F2; font-weight: 500; font-size: .8rem; color: var(--ink-2); }
.lg .legal-table th, .lg .legal-table td { padding: .7rem .9rem; border-bottom: 1px solid #F1EFEA; vertical-align: top; }
.lg .legal-table tr:last-child td { border-bottom: 0; }
.lg .legal-doc .btn-outline-ink { border-radius: 999px; padding: .4rem 1rem; }
.lg-up { display: inline-flex; margin-top: 2.5rem; font-size: .85rem; color: var(--muted); text-decoration: none; }
.lg-up::before { content: "↑"; margin-right: .4rem; }
.lg-up:hover { color: var(--ink); }

.lg-foot { border-top: 1px solid #ECEAE4; }
.lg-foot-in { max-width: 1120px; margin: 0 auto; padding: 1.5rem 1.25rem 2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.5rem; font-size: .8rem; color: #9A978F; }
.lg-foot-links { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; align-items: center; }
.lg-foot a, .lg-foot .legal-linkbtn { color: #9A978F; font-size: .8rem; text-decoration: none; }
.lg-foot a:hover, .lg-foot .legal-linkbtn:hover { color: var(--ink); }

@media (max-width: 640px) {
  .lg-top-in { flex-wrap: wrap; row-gap: .6rem; }
  .lg-tabs { order: 3; width: 100%; justify-content: space-between; }
  .lg-tabs a { flex: 1; text-align: center; }
  .lg-enter { margin-left: auto; }
  .lg-shell { padding-top: 1.75rem; }
  .lg .legal-doc { font-size: .97rem; }
}
@media print {
  .lg-top, .lg-side, .lg-toc-m, .lg-up, .lg-foot { display: none !important; }
  body.lg { background: #fff; }
}

/* Páginas de aviso y error */
body.mn { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: #FAF9F6; }
.mn-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 2rem 1.25rem; }
.mn .error-page { max-width: 460px; margin: 0; padding: 0; text-align: center; }
.mn .error-code { display: inline-block; margin: 0 0 1.1rem; padding: .25rem .75rem; border-radius: 999px; background: #fff; border: 1px solid #ECEAE4; font-family: var(--font-sans); font-size: .78rem; font-weight: 500; line-height: 1.4; letter-spacing: .02em; color: var(--muted); }
.mn .error-code::before { content: "Error "; }
.mn .error-title { font-family: var(--font-sans); font-size: clamp(1.9rem, 5vw, 2.4rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.12; margin: 0 0 .7rem; color: var(--ink); }
.mn .error-text { font-size: 1rem; color: var(--muted); margin: 0 0 1.75rem; }
.mn .error-page .btn-ink { height: 46px; padding: 0 1.4rem; border-radius: 10px; display: inline-flex; align-items: center; font-weight: 500; }
.mn .error-id { margin: 1.25rem 0 0; font-size: .8rem; }
.mn .error-id code { color: var(--ink-2); background: #fff; border: 1px solid #ECEAE4; padding: .1rem .4rem; border-radius: 6px; }
.mn .error-debug { margin-top: 1.5rem; max-width: 90vw; }

/* ==========================================================================
   v2.35 · Continuar con Google, separador «o», «Continuar con correo» y nota legal.
   ========================================================================== */
.au-google, .au-email-btn { display: flex; align-items: center; justify-content: center; gap: .65rem; width: 100%; height: 46px; padding: 0 1rem; border-radius: 10px; border: 1px solid #DAD7CF; background: #fff; color: var(--ink); font-size: .95rem; font-weight: 500; text-decoration: none; transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease; }
.au-google:hover, .au-email-btn:hover { background: #F7F6F2; border-color: #CBC8C0; color: var(--ink); }
.au-google:focus-visible, .au-email-btn:focus-visible { outline: none; border-color: #111; box-shadow: 0 0 0 3px rgba(17, 17, 17, .08); }
.au-google-g { flex: none; }
.au-google.is-loading { pointer-events: none; opacity: .65; }
.au-email-btn { margin-top: .6rem; }
.au-email-btn .bi { font-size: 1rem; color: var(--ink-2); }
.au-or { display: flex; align-items: center; gap: .85rem; margin: 1.15rem 0; color: #A9A69E; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.au-or::before, .au-or::after { content: ""; flex: 1; height: 1px; background: #ECEAE4; }
.au-or + .au-email-btn { margin-top: 0; }
.au-legal { margin: 1rem 0 0; text-align: center; font-size: .74rem; line-height: 1.5; color: #9A978F; }
.au-legal a { color: #77746C; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: #D6D3CB; }
.au .auth-form.fade-in { animation: fadeIn .25s ease; }

/* ==========================================================================
   v2.36 · Registro del negocio (asistente) y recorrido de bienvenida con el estilo limpio del acceso.
   body.ob (layouts/onboarding) · país (ctry-*), bancos propios (pay-*), recorrido (wt-*).
   ========================================================================== */
body.ob { background: #FAF9F6; color: var(--ink); min-height: 100vh; }
.ob .focus-header { max-width: 1120px; margin: 0 auto; padding: 1.25rem 1.25rem .5rem; }
.ob .focus-header .brand-logo { height: 26px; }
.ob .focus-header [data-exit-link] { font-size: .86rem; color: var(--muted); text-decoration: none; }
.ob .focus-header [data-exit-link]:hover { color: var(--ink); }
.ob .focus-main { padding: 0 1.25rem 4rem; }
.ob .wizard { max-width: 640px; }
.ob .wizard-progress { width: min(280px, 70%); height: 3px; background: #E9E6DF; border-radius: 3px; margin: .75rem auto 2.5rem; overflow: hidden; }
.ob .wizard-progress span { background: #111111; border-radius: 3px; }
.ob .wstep-head { text-align: center; margin-bottom: 1.9rem; }
.ob .wstep-kicker { font-size: .8rem; color: #9A978F; letter-spacing: .01em; margin: 0 0 .6rem; text-transform: none; font-weight: 400; }
.ob .wstep-title { font-family: var(--font-sans); font-size: clamp(1.7rem, 4.6vw, 2.25rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.15; margin: 0 0 .55rem; color: var(--ink); }
.ob .wstep-lead { font-size: .98rem; color: var(--muted); max-width: 46ch; margin: 0 auto; }
.ob .wstep > form { background: #fff; border: 1px solid #ECEAE4; border-radius: 20px; padding: 1.75rem; box-shadow: 0 1px 2px rgba(17, 17, 17, .03), 0 16px 40px -12px rgba(17, 17, 17, .08); }
.ob .wstep-head { margin-top: -.25rem; }
.ob .form-label { font-size: .84rem; font-weight: 500; color: var(--ink-2); }
.ob .form-control, .ob .form-select { border-radius: 10px; border-color: #E3E1DB; min-height: 46px; box-shadow: none; }
.ob .form-control:focus, .ob .form-select:focus { border-color: #111; box-shadow: 0 0 0 3px rgba(17, 17, 17, .07); }
.ob .form-control-xl { font-size: 1.15rem; min-height: 54px; text-align: center; }
.ob .wstep-nav { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid #F0EEE9; }
.ob .wstep-nav-end { display: flex; align-items: center; gap: .35rem; margin-left: auto; }
.ob .wstep-nav .btn-ink { height: 46px; padding: 0 1.3rem; border-radius: 10px; font-weight: 500; display: inline-flex; align-items: center; gap: .45rem; }
.ob .wstep-nav .btn-link { font-size: .9rem; text-decoration: none; }
/* Chips (pagos, redes) */
.ob .chip-group { margin-bottom: 1.4rem; }
.ob .chip-group legend { font-size: .82rem; font-weight: 500; color: var(--ink-2); margin-bottom: .65rem; }
.ob .chip span, .edit-ig .chip.is-custom > span { border-radius: 999px; border-color: #E3E1DB; background: #fff; font-size: .88rem; padding: .48rem .9rem; }
.ob .chip:hover span { border-color: #111; }
.ob .chip input:checked + span { background: #111; border-color: #111; color: #fff; }
.pay-country { font-weight: 400; color: #9A978F; }
.chips-inline { display: contents; }
.chip.is-custom { display: inline-flex; align-items: center; cursor: default; position: relative; }
.chip.is-custom > span { display: inline-flex; align-items: center; gap: .45rem; padding: .48rem 2.1rem .48rem .9rem; border-radius: 999px; border: 1px solid #111; background: #111; color: #fff; font-size: .88rem; }
.chip.is-custom > span i { color: #fff; }
.chip-x { position: absolute; right: .35rem; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; display: grid; place-items: center; padding: 0; line-height: 1; }
.chip-x:hover { background: rgba(255, 255, 255, .3); }
.pay-add { display: flex; gap: .5rem; margin-top: .85rem; max-width: 460px; }
.pay-add .form-control { flex: 1; min-width: 0; min-height: 42px; }
.pay-add .btn { flex: none; border-radius: 10px; min-height: 42px; display: inline-flex; align-items: center; gap: .35rem; font-weight: 500; }
/* País */
.ctry-detected { display: flex; align-items: center; justify-content: center; gap: .4rem; margin: 0 0 1rem; font-size: .86rem; color: var(--ink-2); }
.ctry-detected i { color: #111111; }
.ctry-search { position: relative; margin-bottom: .75rem; }
.ctry-search i { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: #A9A69E; pointer-events: none; }
.ctry-search input { width: 100%; min-height: 46px; padding: .6rem .9rem .6rem 2.4rem; border: 1px solid #E3E1DB; border-radius: 10px; font-size: .95rem; background: #FAF9F6; }
.ctry-search input:focus { outline: none; border-color: #111; background: #fff; box-shadow: 0 0 0 3px rgba(17, 17, 17, .07); }
.ctry-list { display: grid; gap: 2px; max-height: 320px; overflow-y: auto; margin: 0 -.35rem; padding: 0 .35rem; overscroll-behavior: contain; }
.ctry-item { position: relative; display: flex; align-items: center; gap: .75rem; padding: .7rem .85rem; border-radius: 12px; cursor: pointer; transition: background-color .12s ease; }
.ctry-item input { position: absolute; opacity: 0; pointer-events: none; }
.ctry-item:hover { background: #F5F3EE; }
.ctry-flag { font-size: 1.35rem; line-height: 1; }
.ctry-name { flex: 1; font-size: .95rem; color: var(--ink); }
.ctry-cur { font-size: .76rem; color: #9A978F; letter-spacing: .02em; }
.ctry-check { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; border: 1px solid #D6D3CB; color: transparent; font-size: .8rem; flex: none; }
.ctry-item:has(input:checked) { background: #F5F3EE; }
.ctry-item input:checked ~ .ctry-check { background: #111; border-color: #111; color: #fff; }
.ctry-item input:focus-visible ~ .ctry-name { text-decoration: underline; text-underline-offset: 3px; }
.ctry-item[hidden] { display: none; }
.ctry-empty { margin: .75rem 0; text-align: center; font-size: .86rem; color: var(--muted); }
/* Qué vendes y marca */
.ob .offer-card { border-radius: 16px; border-color: #ECEAE4; background: #fff; }
.ob .offer-card:has(input:checked) { border-color: #111; box-shadow: 0 0 0 1px #111; }
.ob .logo-editor.is-card, .ob .brand-box, .ob .location { border-radius: 16px; border-color: #ECEAE4; background: #FAF9F6; }
.ob .slug-box { border-radius: 12px; background: #FAF9F6; border-color: #ECEAE4; }
@media (max-width: 575.98px) {
  body.ob { background: #fff; }
  .ob .wstep > form { border: 0; box-shadow: none; padding: 0; background: transparent; }
  .ob .wizard-progress { margin-bottom: 1.75rem; }
  .ob .wstep-nav { position: sticky; bottom: 0; background: #fff; margin: 1.5rem -1.25rem 0; padding: .85rem 1.25rem; z-index: 5; }
  .ctry-list { max-height: 52vh; }
  .pay-add { max-width: none; }
}

/* v2.36b · Medios de pago más livianos: formas de pago + bancos principales + «Agregar otro banco». */
.pay-block + .pay-block { margin-top: 1.5rem; }
.pay-h { margin: 0 0 .65rem; font-size: .82rem; font-weight: 500; color: var(--ink-2); }
.pay-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.pay-chip { position: relative; cursor: pointer; margin: 0; }
.pay-chip[hidden] { display: none; }
.pay-chip > input[type="checkbox"] { position: absolute; opacity: 0; pointer-events: none; }
.pay-chip > span { display: inline-flex; align-items: center; gap: .45rem; height: 38px; padding: 0 .85rem; border: 1px solid #E3E1DB; border-radius: 10px; background: #fff; font-size: .88rem; color: var(--ink); transition: border-color .12s ease, box-shadow .12s ease, background-color .12s ease; user-select: none; }
.pay-chip > span > .bi:first-child { color: #9A978F; font-size: .95rem; }
.pay-tick { display: none; color: #111; font-size: .95rem; margin-left: -.1rem; }
.pay-chip:hover > span { border-color: #CBC8C0; }
.pay-chip > input:checked + span { border-color: #111; box-shadow: inset 0 0 0 1px #111; background: #FAF9F6; }
.pay-chip > input:checked + span .pay-tick { display: inline-block; }
.pay-chip > input:checked + span > .bi:first-child { color: var(--ink); }
.pay-chip > input:focus-visible + span { outline: 2px solid #111111; outline-offset: 2px; }
.pay-chip.is-new > span { animation: pop .22s ease; }
.pay-chip.is-custom { cursor: default; }
.pay-chip.is-custom > span { border-color: #111; box-shadow: inset 0 0 0 1px #111; background: #FAF9F6; padding-right: .35rem; }
.pay-chip.is-custom > span > .bi:first-child { color: var(--ink); }
.pay-chip .chip-x { position: static; transform: none; width: 26px; height: 26px; border-radius: 8px; background: transparent; color: var(--muted); }
.pay-chip .chip-x:hover { background: #EFEDE7; color: var(--ink); }
.pay-add { display: flex; align-items: center; gap: .5rem; max-width: 420px; height: 44px; margin-top: .75rem; padding: 0 .35rem 0 .85rem; border: 1px dashed #CFCCC4; border-radius: 10px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.pay-add:focus-within { border-style: solid; border-color: #111; box-shadow: 0 0 0 3px rgba(17, 17, 17, .07); }
.pay-add-ic { color: #9A978F; }
.pay-add-input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: .9rem; color: var(--ink); }
.pay-add-input::placeholder { color: #9A978F; }
.pay-add-btn { flex: none; height: 32px; padding: 0 .8rem; border: 0; border-radius: 8px; background: #111; color: #fff; font-size: .82rem; font-weight: 500; }
.pay-add-btn:hover { background: #2A2A2A; }
@media (max-width: 575.98px) { .pay-add { max-width: none; } }

/* v2.36b · Recorrido de bienvenida (portada con herramientas + un paso por herramienta en una ventana). */
.wt { max-width: 1040px; margin: 0 auto; }
.wt-intro { text-align: center; padding-top: 1.25rem; }
.wt-pill { display: inline-flex; align-items: center; gap: .4rem; margin: 0 0 1.1rem; padding: .3rem .8rem; border-radius: 999px; background: #fff; border: 1px solid #ECEAE4; font-size: .8rem; color: var(--ink-2); }
.wt-pill i { color: #1E8E3E; }
.wt-title { font-size: clamp(1.9rem, 5vw, 2.75rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.12; margin: 0 0 .7rem; }
.wt-lead { font-size: 1rem; color: var(--muted); max-width: 46ch; margin: 0 auto 1.6rem; }
.wt-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 2.75rem; }
.wt-btn { height: 46px; padding: 0 1.3rem; border-radius: 10px; font-weight: 500; display: inline-flex; align-items: center; gap: .45rem; }
.wt-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; text-align: left; }
.wt-card { width: 100%; height: 100%; display: flex; align-items: center; gap: .85rem; padding: 1rem; background: #fff; border: 1px solid #ECEAE4; border-radius: 16px; color: var(--ink); text-align: left; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.wt-card:hover { border-color: #D6D3CB; transform: translateY(-2px); box-shadow: 0 12px 28px -14px rgba(17, 17, 17, .2); }
.wt-card-b { display: grid; gap: .15rem; flex: 1; min-width: 0; }
.wt-card-t { font-size: .95rem; font-weight: 500; }
.wt-card-s { font-size: .8rem; color: var(--muted); line-height: 1.35; }
.wt-card-go { color: #C2BFB7; transition: transform .15s ease, color .15s ease; }
.wt-card:hover .wt-card-go { color: #111111; transform: translateX(2px); }
.wt-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: linear-gradient(145deg, #FFF3EA, #FFE4D2); color: #111111; }
.wt-ic .ic { width: 1.15rem; height: 1.15rem; }
.wt-ic .bi { font-size: 1.1rem; }
.wt-ic.is-lg { width: 48px; height: 48px; border-radius: 14px; }
.wt-ic.is-lg .ic { width: 1.35rem; height: 1.35rem; }
/* Pasos */
.wt-top { display: flex; align-items: center; justify-content: space-between; margin: .25rem 0 .75rem; }
.wt-ghost { border: 0; background: none; padding: .35rem .5rem; margin: 0 -.5rem; border-radius: 8px; font-size: .86rem; color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.wt-ghost:hover { color: var(--ink); background: #F1EFE9; }
.wt-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; margin-bottom: 1.5rem; }
.wt-seg span { height: 3px; border-radius: 3px; background: #E6E3DC; transition: background-color .3s ease; }
.wt-seg span.is-on { background: #111111; }
.wt-step { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 3rem; align-items: center; padding: 2.25rem; background: #fff; border: 1px solid #ECEAE4; border-radius: 28px; box-shadow: 0 24px 60px -28px rgba(17, 17, 17, .18); animation: wtIn .35s cubic-bezier(.2, .7, .2, 1); }
@keyframes wtIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.wt-head { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.1rem; }
.wt-kicker { font-size: .8rem; color: #9A978F; }
.wt-h { font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.1; margin: 0 0 .5rem; }
.wt-tag { font-size: 1.05rem; color: var(--muted); margin: 0 0 1.4rem; }
.wt-points { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: .7rem; }
.wt-points li { display: flex; align-items: flex-start; gap: .65rem; font-size: .95rem; color: var(--ink-2); line-height: 1.45; }
.wt-dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #111; color: #fff; font-size: .75rem; margin-top: 1px; }
.wt-open { display: inline-flex; align-items: center; gap: .4rem; height: 40px; padding: 0 1rem; border: 1px solid #E3E1DB; border-radius: 10px; font-size: .88rem; font-weight: 500; color: var(--ink); text-decoration: none; transition: border-color .15s ease, background-color .15s ease; }
.wt-open:hover { border-color: #111; color: var(--ink); background: #FAF9F6; }
.wt-window { border-radius: 18px; background: #F4F2ED; padding: 8px; border: 1px solid #ECEAE4; box-shadow: 0 18px 40px -22px rgba(17, 17, 17, .25); }
.wt-chrome { display: flex; align-items: center; gap: 6px; padding: 4px 6px 10px; }
.wt-chrome span { width: 9px; height: 9px; border-radius: 50%; background: #DAD7CF; }
.wt-chrome em { flex: 1; margin-left: 8px; height: 22px; border-radius: 7px; background: #fff; font-style: normal; font-size: .7rem; color: #9A978F; display: flex; align-items: center; padding: 0 .6rem; overflow: hidden; white-space: nowrap; }
.wt-media { aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: #fff; }
.wt-media video, .wt-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wt-ph { position: relative; height: 100%; display: grid; place-items: center; background: radial-gradient(90% 80% at 80% 0%, #FFE9DA 0%, rgba(255, 233, 218, 0) 60%), linear-gradient(180deg, #FFFFFF, #FAF8F4); }
.wt-ph-ui { width: 62%; display: grid; gap: 10px; justify-items: start; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid #EFECE6; box-shadow: 0 20px 40px -24px rgba(17, 17, 17, .25); animation: wtFloat 6s ease-in-out infinite; }
.wt-ph-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(145deg, #FFF3EA, #FFE4D2); color: #111111; }
.wt-ph-ic .ic { width: 1.3rem; height: 1.3rem; }
.wt-ph-ic .bi { font-size: 1.25rem; }
.wt-ph-l { height: 9px; border-radius: 5px; background: #ECE9E2; }
.wt-ph-l.is-1 { width: 70%; background: #DCD8CF; }
.wt-ph-l.is-2 { width: 45%; }
.wt-ph-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; margin-top: 4px; }
.wt-ph-row i { height: 44px; border-radius: 10px; background: #F4F2ED; }
.wt-ph-row i:first-child { background: #FFE9DA; }
.wt-ph-t { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, .9); border: 1px solid #ECEAE4; font-size: .74rem; color: var(--muted); white-space: nowrap; }
@keyframes wtFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.wt-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.wt-nav .btn-light-ink:disabled { opacity: .4; }
@media (prefers-reduced-motion: reduce) { .wt-step, .wt-ph-ui { animation: none; } }
@media (max-width: 991.98px) { .wt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767.98px) {
  .wt-step { grid-template-columns: 1fr; gap: 1.5rem; padding: 1rem; border-radius: 22px; }
  .wt-window { order: -1; }
  .wt-text { padding: 0 .35rem .25rem; }
  .wt-grid { grid-template-columns: 1fr; }
  .wt-nav { position: sticky; bottom: 0; background: #fff; padding: .75rem 0; }
  .wt-ph-row { display: none; }
  .wt-ph-ui { width: 70%; padding: 14px; margin-bottom: 18px; }
  .wt-ph-t { bottom: 8px; }
}

/* ==========================================================================
   v2.36c · Asistente estilo Claude: lienzo cálido sin tarjetas, textos a la izquierda y vista previa
   en vivo de la tienda a la derecha (obw-*, obp-*). Banderas en SVG (assets/flags).
   ========================================================================== */
.ob .wizard.obw { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 540px) 360px; justify-content: center; align-items: start; gap: 5.5rem; }
.ob .obw-main { min-width: 0; padding-top: .5rem; }
.ob .obw .wizard-progress { width: 100%; height: 3px; margin: 0 0 2.75rem; background: #E8E5DE; }
.ob .obw .wstep > form { background: transparent; border: 0; box-shadow: none; padding: 0; }
.ob .obw .wstep-head { text-align: left; margin: 0 0 2rem; }
.ob .obw .wstep-kicker { font-size: .8rem; color: #9A978F; margin-bottom: .75rem; }
.ob .obw .wstep-title { font-size: clamp(1.9rem, 4vw, 2.5rem); letter-spacing: -.04em; line-height: 1.1; margin-bottom: .7rem; }
.ob .obw .wstep-lead { margin: 0; max-width: 44ch; font-size: 1rem; }
.ob .obw .form-control-xl { text-align: left; font-size: 1.2rem; min-height: 56px; padding-left: 1rem; background: #fff; }
.ob .obw .invalid-feedback.text-center { text-align: left !important; }
.ob .obw .slug-box { background: transparent; border: 0; padding: .6rem 0 0; }
.ob .obw .wstep-nav { border-top: 0; padding-top: 0; margin-top: 2.25rem; }
.ob .obw .logo-editor.is-card, .ob .obw .brand-box, .ob .obw .location { background: #fff; }
/* País con banderas */
.ob .obw .ctry-detected { justify-content: flex-start; margin-bottom: .85rem; font-size: .88rem; }
.ctry-detected-flag, .ctry-flag img, .obp-id-t small img { border-radius: 3px; box-shadow: 0 0 0 1px rgba(17, 17, 17, .08); object-fit: cover; flex: none; }
.ctry-flag { display: inline-flex; width: 30px; justify-content: center; }
.ctry-flag img { width: 28px; height: 19px; }
.ob .obw .ctry-list { background: #fff; border: 1px solid #ECEAE4; border-radius: 16px; padding: .35rem; margin: 0; max-height: 360px; }
.ob .obw .ctry-item { padding: .65rem .75rem; border-radius: 11px; }
.ob .obw .ctry-search input { background: #fff; }
/* Vista previa */
.obp { position: sticky; top: 24px; padding-top: 3.4rem; }
.obp-label { display: flex; align-items: center; gap: .5rem; margin: 0 0 .85rem; font-size: .78rem; color: #9A978F; letter-spacing: .01em; }
.obp-live { width: 7px; height: 7px; border-radius: 50%; background: #1E8E3E; box-shadow: 0 0 0 3px rgba(30, 142, 62, .15); }
.obp-win { background: #F1EEE8; border: 1px solid #E6E2DA; border-radius: 20px; padding: 8px; box-shadow: 0 30px 60px -30px rgba(17, 17, 17, .3); }
.obp-chrome { display: flex; align-items: center; gap: 5px; padding: 3px 6px 9px; }
.obp-chrome > span { width: 8px; height: 8px; border-radius: 50%; background: #D9D5CC; }
.obp-chrome em { flex: 1; min-width: 0; margin-left: 8px; height: 22px; border-radius: 7px; background: #fff; font-style: normal; font-size: .68rem; color: #9A978F; display: flex; align-items: center; padding: 0 .55rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.obp-chrome em b { color: var(--ink); font-weight: 500; }
.obp-store { --pv-1: #111111; --pv-2: #F4F2ED; background: #fff; border-radius: 14px; overflow: hidden; padding-bottom: 14px; }
.obp-cover { height: 70px; background: var(--pv-2); transition: background-color .3s ease; }
.obp-id { display: flex; align-items: flex-end; gap: .7rem; padding: 0 14px; margin-top: -26px; }
.obp-logo { width: 56px; height: 56px; border-radius: 16px; background: var(--pv-1); border: 3px solid #fff; display: grid; place-items: center; overflow: hidden; flex: none; color: #fff; box-shadow: 0 6px 16px -8px rgba(17, 17, 17, .35); transition: background-color .3s ease; }
.obp-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.obp-logo b { font-size: 1.35rem; font-weight: 500; }
.obp-id-t { display: grid; min-width: 0; padding-bottom: 2px; }
.obp-id-t strong { font-size: 1rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.obp-id-t small { display: flex; align-items: center; gap: .35rem; font-size: .74rem; color: var(--muted); white-space: nowrap; overflow: hidden; }
.obp-id-t small img { width: 18px; height: 12px; }
.obp-wa { display: flex; align-items: center; justify-content: center; gap: .4rem; margin: 14px 14px 0; height: 38px; border-radius: 10px; background: var(--pv-1); color: #fff; font-size: .82rem; font-weight: 500; transition: background-color .3s ease, opacity .2s ease; }
.obp-wa.is-off { opacity: .35; }
.obp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px 14px 0; }
.obp-grid i { aspect-ratio: 1; border-radius: 10px; background: #F4F2ED; }
.obp-grid i:nth-child(2) { background: #EFEBE3; }
.obp-row { display: flex; align-items: flex-start; gap: .6rem; padding: 12px 14px 0; }
.obp-row[hidden] { display: none; }
.obp-row-t { font-size: .7rem; color: #9A978F; width: 42px; flex: none; padding-top: 3px; }
.obp-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.obp-tags span { font-size: .7rem; padding: .15rem .5rem; border-radius: 6px; background: #F4F2ED; color: var(--ink-2); }
.obp-icons { display: flex; gap: .55rem; font-size: .95rem; color: var(--ink-2); }
.obp-note { margin: .9rem 0 0; font-size: .78rem; color: #9A978F; text-align: center; }
@media (max-width: 1099.98px) {
  .ob .wizard.obw { grid-template-columns: minmax(0, 560px); gap: 0; }
  .obp { display: none; }
}
@media (max-width: 575.98px) {
  .ob .obw .wizard-progress { margin-bottom: 2rem; }
  .ob .obw .ctry-list { max-height: 50vh; }
}
.ob .obw .slug-label { display: block; text-align: left; font-size: .8rem; color: #9A978F; margin-bottom: .25rem; }
.ob .obw .slug-preview { padding: 0; }

/* ==========================================================================
   v2.36d · Marca (idf-*) y sedes (loc-*) estilo Claude · compartido entre el asistente y Ajustes.
   ========================================================================== */
.idf { display: grid; gap: 1.25rem; }
.idf-logo { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 1.25rem; align-items: center; }
.idf-drop { position: relative; width: 168px; height: 168px; margin: 0; border: 1.5px dashed #CFCBC2; border-radius: 22px; background: #fff; display: grid; place-items: center; overflow: hidden; cursor: pointer; transition: border-color .15s ease, background-color .15s ease, transform .15s ease; }
.idf-drop:hover, .idf-drop.is-dragover { border-color: #111111; background: #FFF8F3; }
.idf-drop.is-dragover { transform: scale(1.02); }
.idf-drop.has-logo { border-style: solid; border-color: #ECEAE4; }
.idf-drop img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.idf-ph { display: grid; justify-items: center; gap: .3rem; text-align: center; padding: 0 .75rem; }
.idf-ph-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: #F4F2EC; color: #111111; font-size: 1.25rem; margin-bottom: .2rem; }
.idf-ph strong { font-size: .88rem; font-weight: 500; }
.idf-ph small { font-size: .74rem; color: #9A978F; line-height: 1.3; }
.idf-spin { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: .4rem; background: rgba(255, 255, 255, .88); font-size: .78rem; color: var(--muted); }
.idf-spin[hidden] { display: none; }
.idf-logo-t { margin: 0 0 .2rem; font-size: .95rem; font-weight: 500; }
.idf-logo-s { margin: 0 0 .85rem; font-size: .84rem; color: var(--muted); max-width: 34ch; }
.idf-logo-btns { display: flex; align-items: center; gap: .6rem; }
.idf-btn { display: inline-flex; align-items: center; height: 38px; padding: 0 1rem; margin: 0; border-radius: 10px; background: #111; color: #fff; font-size: .86rem; font-weight: 500; cursor: pointer; }
.idf-btn:hover { background: #2A2A2A; }
.idf-link { border: 0; background: none; padding: 0; font-size: .86rem; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.idf-link:hover { color: var(--ink); }
.idf-switch { display: flex; align-items: flex-start; gap: .75rem; margin: 0; padding: .95rem 1rem; background: #fff; border: 1px solid #ECEAE4; border-radius: 14px; cursor: pointer; }
.idf-switch .form-check-input { margin: .15rem 0 0; flex: none; width: 2.2em; height: 1.2em; cursor: pointer; }
.idf-switch .form-check-input:checked { background-color: #111; border-color: #111; }
.idf-switch span { display: grid; gap: .1rem; }
.idf-switch strong { font-size: .9rem; font-weight: 500; }
.idf-switch small { font-size: .8rem; color: var(--muted); }
.idf-brand { margin-top: .75rem; padding: 1rem; background: #fff; border: 1px solid #ECEAE4; border-radius: 14px; display: grid; gap: 1rem; animation: fadeIn .2s ease; }
.idf-brand[hidden] { display: none; }
.idf-sw { display: flex; flex-wrap: wrap; gap: .5rem; }
.idf-sw-i { position: relative; display: inline-flex; width: 52px; height: 36px; padding: 3px; border: 1px solid #E3E1DB; border-radius: 10px; background: #fff; overflow: hidden; transition: border-color .12s ease, box-shadow .12s ease, transform .12s ease; }
.idf-sw-i span { flex: 1; height: 100%; }
.idf-sw-i span:first-child { border-radius: 7px 0 0 7px; }
.idf-sw-i span:nth-child(2) { border-radius: 0 7px 7px 0; }
.idf-sw-i:hover { transform: translateY(-1px); border-color: #CBC8C0; }
.idf-sw-i.is-on { border-color: #111; box-shadow: 0 0 0 1px #111; }
.idf-sw-i.is-logo { width: auto; padding-right: .55rem; gap: 0; }
.idf-sw-i.is-logo span { width: 22px; flex: none; }
.idf-sw-i.is-logo em { font-style: normal; font-size: .74rem; color: var(--ink-2); align-self: center; margin-left: .45rem; white-space: nowrap; }
.idf-exact { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.idf-color .form-label { font-size: .78rem; color: var(--muted); font-weight: 400; margin-bottom: .3rem; }
.idf-color .form-control { min-height: 40px; }
.idf-preview { margin: 0; padding: .7rem .85rem; border: 0; border-radius: 10px; }
@media (max-width: 575.98px) {
  .idf-logo { grid-template-columns: 120px minmax(0, 1fr); gap: 1rem; }
  .idf-drop { width: 120px; height: 120px; border-radius: 18px; }
  .idf-ph small { display: none; }
}
/* Sedes */
.loc-online { margin-bottom: 1rem; }
.location-list { display: grid; gap: .75rem; }
.loc { margin: 0; padding: 1rem 1.1rem 1.1rem; background: #fff; border: 1px solid #ECEAE4; border-radius: 16px; animation: fadeIn .2s ease; min-width: 0; }
.loc.is-removing { animation: fadeOut 180ms ease forwards; }
.loc-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .85rem; }
.loc-pin { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: #F4F2EC; color: #111111; flex: none; }
.loc-title { float: none; width: auto; margin: 0; font-size: .92rem; font-weight: 500; line-height: 1; }
.loc-main { display: none; font-size: .7rem; padding: .15rem .5rem; border-radius: 999px; background: #F4F2ED; color: var(--ink-2); }
.location-list > .loc:first-child .loc-main { display: inline-block; }
.loc-x { margin-left: auto; width: 32px; height: 32px; border: 0; border-radius: 9px; background: transparent; color: #9A978F; display: grid; place-items: center; }
.loc-x:hover { background: #F4F2ED; color: var(--danger); }
.location-list > .loc:only-child .loc-x { display: none; }
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem .85rem; }
.loc-grid .field { margin: 0; }
.loc-address, .loc-name { grid-column: 1 / -1; }
.loc-grid .form-label { font-size: .8rem; }
.loc-add { display: flex; align-items: center; justify-content: center; gap: .45rem; width: 100%; height: 46px; margin-top: .75rem; border: 1.5px dashed #CFCBC2; border-radius: 14px; background: transparent; font-size: .88rem; font-weight: 500; color: var(--ink-2); transition: border-color .15s ease, background-color .15s ease, color .15s ease; }
.loc-add:hover:not(:disabled) { border-color: #111; color: var(--ink); background: #fff; }
.loc-add:disabled { opacity: .55; }
@media (max-width: 575.98px) { .loc-grid { grid-template-columns: 1fr; } }

/* v2.36d · Final del asistente: la vista previa viaja al centro y la tienda «se arma» antes de la bienvenida. */
body.obc-open { overflow: hidden; }
.obc { position: fixed; inset: 0; z-index: 3000; background: rgba(250, 249, 246, 0); transition: background-color .45s ease; }
.obc.is-in { background: rgba(250, 249, 246, .97); }
.obc-card { position: fixed; margin: 0; box-shadow: 0 40px 80px -30px rgba(17, 17, 17, .35); }
.obc-card .obp-store > *, .obc-card .obp-grid i { transition: none; }
.obc-card.is-building .obp-cover { animation: obcCover .6s cubic-bezier(.2, .7, .2, 1) both; }
.obc-card.is-building .obp-logo { animation: obcPop .5s cubic-bezier(.3, 1.4, .5, 1) .25s both; }
.obc-card.is-building .obp-id-t { animation: obcUp .45s ease .45s both; }
.obc-card.is-building .obp-wa { animation: obcUp .45s ease .7s both; }
.obc-card.is-building .obp-grid i { animation: obcUp .4s ease both; }
.obc-card.is-building .obp-grid i:nth-child(1) { animation-delay: .95s; }
.obc-card.is-building .obp-grid i:nth-child(2) { animation-delay: 1.05s; }
.obc-card.is-building .obp-grid i:nth-child(3) { animation-delay: 1.15s; }
.obc-card.is-building .obp-row { animation: obcUp .4s ease 1.35s both; }
.obc-card.is-building .obp-store { position: relative; overflow: hidden; }
.obc-card.is-building .obp-store::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .7) 50%, transparent 70%); transform: translateX(-100%); animation: obcShine 1.6s ease .2s 1; pointer-events: none; }
.obc-badge { position: absolute; top: -14px; right: -14px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #1E8E3E; color: #fff; font-size: 1.3rem; box-shadow: 0 10px 24px -8px rgba(30, 142, 62, .6); transform: scale(0); opacity: 0; }
.obc-card.is-done .obc-badge { animation: obcPop .55s cubic-bezier(.3, 1.5, .5, 1) both; }
.obc-text { position: fixed; left: 0; right: 0; bottom: 14vh; text-align: center; padding: 0 1.25rem; }
.obc-title { margin: 0 0 .4rem; font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 400; letter-spacing: -.03em; color: var(--ink); }
.obc-step { margin: 0; font-size: .95rem; color: var(--muted); }
.obc-step.is-anim { animation: obcUp .35s ease both; }
.obc-step.is-url { color: var(--ink); font-weight: 500; }
@keyframes obcCover { from { transform: scaleY(0); transform-origin: top; } to { transform: none; } }
@keyframes obcPop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes obcUp { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes obcShine { to { transform: translateX(100%); } }
@media (max-height: 640px) { .obc-text { bottom: 4vh; } }
@media (prefers-reduced-motion: reduce) { .obc-card * { animation: none !important; } .obc-badge { transform: none; opacity: 1; } }
.obc.is-in { background: #FAF9F6; }
.obc-card .obp-id-t strong { color: var(--ink); }
.idf-switch.form-switch { padding-left: 1rem; }
.idf-switch.form-switch .form-check-input { margin-left: 0; float: none; }

/* ==========================================================================
   v2.37 · Panel «modo Claude»: lienzo cálido, menú lateral y barra superior renovados,
   herramientas que se habilitan con el primer producto y bienvenida única.
   Prefijos: sb (menú lateral), tb (barra superior), tl (herramienta bloqueada), wm (bienvenida), pe (primer producto).
   ========================================================================== */
body.page-app {
  --cl-bg: #FAF9F6; --cl-side: #F4F2EC; --cl-line: #ECEAE4; --cl-field: #E3E1DB; --cl-hover: #EBE8E1;
  --cl-ink: #111111; --cl-2: #6B6862; --cl-3: #8E8A83; --cl-acc: #111111; --cl-acc-soft: #F4F2EC; --cl-acc-ink: #B84A08;
  background: var(--cl-bg);
}
body.page-app .app-body { background: var(--cl-bg); }

/* ---------- Menú lateral ---------- */
body.page-app .sidebar { background: var(--cl-side) !important; border-right: 1px solid var(--cl-line); }
body.page-app .sidebar-head { height: var(--topbar-h); padding: 0 1.1rem; justify-content: flex-start; border-bottom: 0; }
body.page-app .sidebar-nav { padding: .35rem .65rem 1rem; scrollbar-width: none; }
body.page-app .sidebar-nav::-webkit-scrollbar { display: none; }
body.page-app .side-link {
  position: relative; display: flex; align-items: center; gap: .7rem; min-height: 38px; padding: .4rem .7rem;
  border: 0; border-radius: 10px; background: transparent; color: #3D3A35; font-size: .9rem; font-weight: 400; line-height: 1.25;
  text-decoration: none; transition: background-color 160ms ease-out, color 160ms ease-out;
}
body.page-app .side-link > .ic, body.page-app .side-link > i { flex: none; width: 1.15rem; height: 1.15rem; font-size: 1.05rem; color: var(--cl-2); transition: color 160ms ease-out; }
body.page-app .side-link:hover { background: var(--cl-hover); color: var(--cl-ink); }
body.page-app .side-link:hover > .ic, body.page-app .side-link:hover > i { color: var(--cl-ink); }
body.page-app .side-link.is-active { background: #fff; color: var(--cl-ink); font-weight: 500; box-shadow: 0 0 0 1px var(--cl-line), 0 1px 2px rgba(17, 17, 17, .04); }
body.page-app .side-link.is-active > .ic, body.page-app .side-link.is-active > i { color: var(--cl-acc); }
body.page-app .side-link:focus-visible { outline: 2px solid var(--cl-acc); outline-offset: 1px; }
body.page-app .side-group { margin-top: 1.1rem; padding-top: 0; border-top: 0; }
body.page-app .side-group-title { display: flex; align-items: center; justify-content: space-between; padding: 0 .7rem .35rem; font-size: .74rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--cl-3); }
body.page-app .side-group-title a { color: var(--cl-3); }
body.page-app .side-group-title a:hover, body.page-app .side-group-title a.is-active { color: var(--cl-ink); }
body.page-app .side-count { padding: .05rem .45rem; border-radius: 999px; background: var(--cl-hover); color: var(--cl-2); font-size: .68rem; font-weight: 500; }
body.page-app .side-logo { width: 22px; height: 22px; border-radius: 7px; object-fit: cover; flex: none; }
body.page-app .side-logo-empty { display: inline-grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1px var(--cl-field); color: var(--cl-ink); font-size: .58rem; font-weight: 600; }
body.page-app .side-add, body.page-app .side-add > .ic { color: var(--cl-3); }
body.page-app .side-notif-badge { margin-left: auto; min-width: 19px; height: 19px; padding: 0 .35rem; border-radius: 999px; background: var(--cl-acc); color: #fff; font-size: .66rem; font-weight: 600; line-height: 19px; text-align: center; border: 0; }
body.page-app .side-notif-badge.is-news { background: var(--cl-ink); }
body.page-app .side-storage-bar { background: var(--cl-field); }
body.page-app .side-storage-text small { color: var(--cl-3); }
body.page-app .sidebar-foot { display: grid; gap: .15rem; padding: .7rem .65rem .9rem; border-top: 1px solid var(--cl-line); }
body.page-app .side-plan { margin: .15rem 0 .25rem; padding: .55rem .65rem; background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px var(--cl-line); text-align: left; }
body.page-app .side-plan:hover { background: #fff; box-shadow: 0 0 0 1px var(--cl-field), 0 4px 14px rgba(17, 17, 17, .05); }
body.page-app .side-plan > .ic { color: var(--cl-acc); }
body.page-app .side-plan-text { display: grid; min-width: 0; line-height: 1.2; }
body.page-app .side-plan-text strong { font-size: .86rem; font-weight: 500; color: var(--cl-ink); }
body.page-app .side-plan-text small { font-size: .72rem; color: var(--cl-3); }
body.page-app .side-plan-cta { margin-left: auto; padding: .22rem .6rem; border-radius: 999px; background: var(--cl-ink); color: #fff; font-size: .7rem; font-weight: 500; }

@media (min-width: 992px) {
  /* El menú reducido mide siempre lo mismo: al desplegarse con el mouse flota sobre el contenido (no lo empuja). */
  body.page-app.sidebar-auto, body.page-app.sidebar-auto.sidebar-peek { --sidebar-w: 68px; }
  body.page-app.sidebar-auto .app-shell { grid-template-columns: 68px minmax(0, 1fr); transition: none; }
  body.page-app.sidebar-auto .sidebar { position: sticky; top: 0; z-index: 1045; width: 68px; height: 100vh; transition: width 240ms cubic-bezier(.2, .7, .2, 1), box-shadow 240ms ease-out; }
  body.page-app.sidebar-auto.sidebar-peek .sidebar { width: 256px; box-shadow: 18px 0 40px rgba(17, 17, 17, .07); }
  body.page-app.sidebar-mini .sidebar-head { justify-content: center; padding: 0; }
  body.page-app.sidebar-mini .side-group-title, body.page-app.sidebar-mini .side-link > span:not(.side-logo), body.page-app.sidebar-mini .side-link > .badge-soft { display: none; }
  body.page-app.sidebar-mini .sidebar-nav { padding: .35rem .7rem 1rem; }
  body.page-app.sidebar-mini .side-link { justify-content: center; gap: 0; padding: .4rem; }
  body.page-app.sidebar-mini .side-link > .ic, body.page-app.sidebar-mini .side-link > i { width: 1.2rem; height: 1.2rem; }
  body.page-app.sidebar-mini .side-group { margin-top: .55rem; padding-top: .55rem; border-top: 1px solid var(--cl-line); }
  body.page-app.sidebar-mini .side-plan { padding: .4rem; background: transparent; box-shadow: none; }
  body.page-app.sidebar-mini .side-plan > span { display: none; }
  body.page-app.sidebar-mini .sidebar-foot { padding: .6rem .7rem .8rem; }
  body.page-app.sidebar-mini .side-notif-badge { position: absolute; top: 2px; right: 6px; left: auto; margin: 0; min-width: 16px; height: 16px; line-height: 16px; font-size: .58rem; box-shadow: 0 0 0 2px var(--cl-side); border: 0; }
}
@media (max-width: 991.98px) {
  body.page-app .sidebar { --bs-offcanvas-width: 288px; }
}
@media (prefers-reduced-motion: reduce) { body.page-app.sidebar-auto .sidebar { transition: none; } }

/* ---------- Barra superior ---------- */
body.page-app .topbar {
  height: var(--topbar-h); gap: .6rem; padding: 0 1.25rem;
  background: rgba(250, 249, 246, .86); backdrop-filter: saturate(1.2) blur(12px); -webkit-backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid var(--cl-line);
}
@media (min-width: 992px) { body.page-app .topbar { padding: 0 1.75rem 0 2rem; } }
body.page-app .topbar-burger { width: 38px; height: 38px; border-radius: 10px; color: var(--cl-ink); }
body.page-app .topbar-burger:hover { background: var(--cl-hover); }
body.page-app .topbar-title { font-size: .95rem; font-weight: 500; color: var(--cl-ink); letter-spacing: -.01em; }
body.page-app .crumbs ol { display: flex; align-items: center; gap: .1rem; margin: 0; padding: 0; list-style: none; font-size: .9rem; }
body.page-app .crumbs li { display: inline-flex; align-items: center; min-width: 0; color: var(--cl-3); }
body.page-app .crumbs li + li::before { content: ""; width: 5px; height: 5px; margin: 0 .55rem; border-top: 1.5px solid #C9C5BD; border-right: 1.5px solid #C9C5BD; transform: rotate(45deg); flex: none; background: none; }
body.page-app .crumbs a { color: var(--cl-2); text-decoration: none; padding: .2rem .4rem; margin: 0 -.4rem; border-radius: 8px; transition: background-color 160ms ease-out, color 160ms ease-out; }
body.page-app .crumbs a:hover { background: var(--cl-hover); color: var(--cl-ink); }
body.page-app .crumbs li.is-current span { color: var(--cl-ink); font-weight: 500; }
body.page-app .topbar-actions { gap: .45rem; }
body.page-app .topbar-news { width: 38px; height: 38px; border-radius: 50%; color: var(--cl-ink); transition: background-color 160ms ease-out; }
body.page-app .topbar-news:hover { background: var(--cl-hover); }
body.page-app .topbar-dot { top: 7px; right: 8px; width: 7px; height: 7px; background: var(--cl-acc); border: 2px solid var(--cl-bg); }
body.page-app .user-menu {
  gap: .55rem; height: 40px; padding: 3px .7rem 3px 3px; border-radius: 999px; background: #fff; color: var(--cl-ink);
  box-shadow: 0 0 0 1px var(--cl-field); transition: box-shadow 160ms ease-out;
}
body.page-app .user-menu:hover, body.page-app .user-menu[aria-expanded="true"] { background: #fff; box-shadow: 0 0 0 1px #D3CFC7, 0 2px 8px rgba(17, 17, 17, .05); }
body.page-app .user-menu .avatar { width: 32px; height: 32px; }
body.page-app .user-menu-text { line-height: 1.1; text-align: left; }
body.page-app .user-menu-name { font-size: .86rem; font-weight: 500; }
body.page-app .user-menu-text small { font-size: .7rem; color: var(--cl-3); }
body.page-app .user-menu > .bi-chevron-down { color: var(--cl-3); font-size: .7rem; }

/* Panel de la cuenta */
body.page-app .acct-pop { width: 320px; padding: .5rem; border: 1px solid var(--cl-line); border-radius: 18px; background: #fff; box-shadow: 0 12px 36px rgba(17, 17, 17, .09); }
body.page-app .acct-pop-kicker { margin: 0 0 .5rem; font-size: .72rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--cl-3); }
body.page-app .acct-pop-kicker > i { color: var(--cl-3); }
body.page-app .acct-pop-me, body.page-app .acct-pop-biz { padding: .75rem .75rem .8rem; border-radius: 14px; }
body.page-app .acct-pop-biz { margin-top: .25rem; border-top: 1px solid var(--cl-line); border-radius: 0; background: transparent; }
body.page-app .acct-pop-tiles { gap: .4rem; }
body.page-app .acct-tile { border-radius: 12px; background: var(--cl-bg); border: 1px solid var(--cl-line); color: var(--cl-ink); transition: border-color 160ms ease-out, background-color 160ms ease-out; }
body.page-app .acct-tile:hover { background: #fff; border-color: var(--cl-field); }
body.page-app .acct-tile > i { color: var(--cl-2); }
body.page-app .acct-biz-row { border-radius: 12px; }
body.page-app .acct-biz-row:hover { background: var(--cl-bg); }
body.page-app .acct-pop-foot { margin-top: .25rem; padding: .5rem .25rem .15rem; border-top: 1px solid var(--cl-line); background: transparent; }
body.page-app .acct-pop-foot a, body.page-app .acct-pop-foot button { border-radius: 10px; color: var(--cl-2); }
body.page-app .acct-pop-foot a:hover, body.page-app .acct-pop-foot button:hover { background: var(--cl-bg); color: var(--cl-ink); }
body.page-app .acct-new { background: var(--cl-acc); color: #fff; }

/* ---------- Herramientas del negocio (columna) en el lienzo cálido ---------- */
@media (min-width: 992px) {
  body.page-app .app-main.biz-page > .biz-nav { border-right: 1px solid var(--cl-line) !important; background: transparent; }
  body.page-app .app-main.biz-page > .biz-nav > .biz-nav-more { background: linear-gradient(to bottom, rgba(250, 249, 246, 0), var(--cl-bg) 28%); }
  body.page-app .app-main.biz-page > .biz-nav .biz-nav-title { font-size: .7rem; font-weight: 500; letter-spacing: .06em; color: var(--cl-3); }
}
body.page-app .biz-page .biz-nav .biz-nav-icon { position: relative; background: #fff; border: 1px solid var(--cl-line); color: #3D3A35; box-shadow: none; transition: transform 200ms ease-out, border-color 200ms ease-out, box-shadow 200ms ease-out, background-color 200ms ease-out; }
body.page-app .biz-page .biz-nav .biz-nav-label { color: var(--cl-2); font-size: .74rem; }
body.page-app .biz-page .biz-nav > .biz-nav-item:hover .biz-nav-icon, body.page-app .biz-page .biz-nav > .biz-nav-more > .biz-nav-item:hover .biz-nav-icon { border-color: var(--cl-field); box-shadow: 0 4px 12px rgba(17, 17, 17, .06); }
body.page-app .biz-page .biz-nav > .biz-nav-item.is-active .biz-nav-icon, body.page-app .biz-page .biz-nav > .biz-nav-more > .biz-nav-item.is-active .biz-nav-icon { background: var(--cl-ink); border-color: var(--cl-ink); color: #fff; box-shadow: 0 0 0 3px var(--cl-bg), 0 0 0 4.5px var(--cl-ink); }
body.page-app .biz-page .biz-nav > .biz-nav-item.is-active .biz-nav-label, body.page-app .biz-page .biz-nav > .biz-nav-more > .biz-nav-item.is-active .biz-nav-label { color: var(--cl-ink); font-weight: 600; }
body.page-app .biz-nav .biz-nav-badge { border-color: var(--cl-bg); background: var(--cl-ink); }
body.page-app .biz-nav .biz-nav-badge.is-alert { background: var(--cl-acc); }

/* Bloqueadas hasta el primer producto */
.biz-nav .biz-nav-item.is-locked { cursor: pointer; border: 0; background: transparent; font: inherit; }
.biz-nav .biz-nav-item.is-locked .biz-nav-icon { opacity: .45; filter: grayscale(1); background: var(--cl-side, #F4F2EC) !important; border-style: dashed !important; border-color: #D9D5CD !important; box-shadow: none !important; transform: none !important; }
.biz-nav .biz-nav-item.is-locked .biz-nav-label { opacity: .5; }
.biz-nav .biz-nav-item.is-locked:hover .biz-nav-icon, .biz-nav .biz-nav-item.is-locked:focus-visible .biz-nav-icon { opacity: .7; }
.biz-nav .biz-nav-item.is-locked:hover .biz-nav-label { opacity: .8; }
.biz-nav-lock { position: absolute; right: -3px; bottom: -3px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px #E3E1DB; color: #8E8A83; font-size: .52rem; filter: none; }
.biz-nav .biz-nav-item.is-locked .biz-nav-icon .biz-nav-lock { opacity: 1; }
.biz-nav .biz-nav-item.is-next .biz-nav-icon { border-color: var(--cl-acc, #111111) !important; box-shadow: 0 0 0 3px var(--cl-bg, #FAF9F6), 0 0 0 4.5px rgba(17,17,17, .35) !important; color: var(--cl-ink, #111); }
.biz-nav-next { display: inline-block; margin-top: -.15rem; padding: .08rem .45rem; border-radius: 999px; background: var(--cl-acc-soft, #F4F2EC); color: var(--cl-acc-ink, #B84A08); font-size: .62rem; font-weight: 600; white-space: nowrap; }
.biz-nav .biz-nav-item.is-pulse .biz-nav-icon { animation: tl-pulse 1.2s ease-out 2; }
@keyframes tl-pulse { 0% { box-shadow: 0 0 0 3px var(--cl-bg, #FAF9F6), 0 0 0 4.5px rgba(17,17,17, .5); } 70% { box-shadow: 0 0 0 3px var(--cl-bg, #FAF9F6), 0 0 0 14px rgba(17,17,17, 0); } 100% { box-shadow: 0 0 0 3px var(--cl-bg, #FAF9F6), 0 0 0 4.5px rgba(17,17,17, .35); } }
/* Recién habilitadas: se «encienden» una a una */
.biz-nav.is-unlocking .biz-nav-item .biz-nav-icon { opacity: .45; filter: grayscale(1); }
.biz-nav.is-unlocking.is-lit .biz-nav-item .biz-nav-icon { opacity: 1; filter: none; transition: opacity 420ms ease-out var(--d, 0ms), filter 420ms ease-out var(--d, 0ms); }
@media (prefers-reduced-motion: reduce) {
  .biz-nav .biz-nav-item.is-pulse .biz-nav-icon { animation: none; }
  .biz-nav.is-unlocking .biz-nav-item .biz-nav-icon { opacity: 1; filter: none; transition: none; }
}

/* ---------- Ventanas: bienvenida (wm) y herramienta bloqueada (tl) ---------- */
body:has(.wm-modal.show) .modal-backdrop.show, body:has(.tl-modal.show) .modal-backdrop.show { background: #F4F2EC; opacity: .82; }
.wm-modal .modal-dialog, .tl-modal .modal-dialog { max-width: 440px; padding: 0 16px; }
.wm-modal .modal-content, .tl-modal .modal-content {
  position: relative; align-items: center; padding: 2.4rem 2rem 1.6rem; text-align: center;
  border: 1px solid #ECEAE4; border-radius: 24px; background: #fff; box-shadow: 0 24px 60px rgba(17, 17, 17, .10);
}
.wm-modal.fade .modal-dialog, .tl-modal.fade .modal-dialog { transform: translateY(10px) scale(.97); transition: transform 420ms cubic-bezier(.2, .7, .2, 1); }
.wm-modal.show .modal-dialog, .tl-modal.show .modal-dialog { transform: none; }
.wm-close, .tl-close { position: absolute; top: .85rem; right: .85rem; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: #8E8A83; transition: background-color 160ms ease-out, color 160ms ease-out; }
.wm-close:hover, .tl-close:hover { background: #F4F2EC; color: #111; }
.wm-art { position: relative; margin-bottom: 1.25rem; }
.wm-logo { display: grid; place-items: center; width: 72px; height: 72px; overflow: hidden; border-radius: 20px; background: #F4F2EC; box-shadow: inset 0 0 0 1px #ECEAE4; color: #111; font-size: 1.35rem; font-weight: 500; letter-spacing: -.02em; }
.wm-logo img { width: 100%; height: 100%; object-fit: cover; }
.wm-check { position: absolute; right: -8px; bottom: -6px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #111111; color: #fff; font-size: .95rem; box-shadow: 0 0 0 3px #fff; }
.wm-modal.show .wm-check { animation: wm-pop 520ms cubic-bezier(.2, .7, .2, 1.3) 260ms both; }
@keyframes wm-pop { from { transform: scale(0); opacity: 0; } to { transform: none; opacity: 1; } }
.wm-kicker { display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 .4rem; font-size: .8rem; color: #6B6862; }
.wm-kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #111111; }
.wm-title, .tl-title { margin: 0 0 .6rem; font-size: 2rem; font-weight: 400; letter-spacing: -.035em; line-height: 1.1; color: #111; }
.tl-title { font-size: 1.45rem; line-height: 1.2; letter-spacing: -.03em; }
.wm-text, .tl-text { margin: 0 0 1rem; max-width: 340px; font-size: .95rem; line-height: 1.5; color: #6B6862; }
.wm-text strong { font-weight: 500; color: #111; }
.wm-link { display: inline-flex; align-items: center; gap: .3rem; max-width: 100%; margin: 0 0 1.4rem; padding: .3rem .75rem; overflow: hidden; border-radius: 999px; background: #FAF9F6; box-shadow: inset 0 0 0 1px #ECEAE4; color: #6B6862; font-size: .8rem; white-space: nowrap; text-overflow: ellipsis; }
.wm-actions { display: grid; gap: .35rem; width: 100%; }
.wm-cta, .tl-cta { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; width: 100%; height: 46px; border-radius: 10px; }
.wm-skip { color: #6B6862; text-decoration: none; font-size: .9rem; }
.wm-skip:hover { color: #111; }
.tl-art { position: relative; display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 1.1rem; border-radius: 50%; background: #F4F2EC; color: #111111; }
.tl-art > .ic { width: 1.45rem; height: 1.45rem; }
.tl-art > b { position: absolute; right: -4px; bottom: -4px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px #E3E1DB; color: #8E8A83; font-size: .62rem; }
@media (max-width: 575.98px) {
  .wm-modal .modal-content, .tl-modal .modal-content { padding: 2.1rem 1.25rem 1.25rem; }
  .wm-title { font-size: 1.7rem; }
}
@media (prefers-reduced-motion: reduce) { .wm-modal.fade .modal-dialog, .tl-modal.fade .modal-dialog { transition: none; transform: none; } .wm-modal.show .wm-check { animation: none; } }

/* ---------- Primer producto (primer paso del recorrido) ---------- */
.product-empty.is-first { border: 1px solid #ECEAE4; border-radius: 24px; background: #fff; }
.pe-kicker { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 .5rem; font-size: .8rem; color: #6B6862; }
.pe-kicker span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #F4F2EC; color: #B84A08; font-size: .72rem; font-weight: 600; }
.pe-unlock { display: flex; flex: 0 0 100%; justify-content: center; align-items: flex-start; gap: .45rem; margin: -.25rem auto 1.25rem; max-width: 440px; font-size: .84rem; color: #8E8A83; text-align: left; }
.pe-unlock > i { color: #111111; margin-top: .1rem; }
body.page-app .crumbs a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 767.98px) {
  body.page-app .crumbs li.is-far { display: none; }
  body.page-app .crumbs li.is-far + li:not(.is-far)::before { display: none; }
  body.page-app .crumbs li:not(.is-current) a { max-width: 8rem; }
  body.page-app .user-menu { padding-right: .55rem; }
  body.page-app .biz-page > .biz-nav { background: transparent; border-bottom-color: var(--cl-line) !important; }
}

/* ==========================================================================
   v2.38 · Formulario de producto, Tienda web (estructuras), Notificaciones, Novedades y Ajustes «modo Claude».
   Prefijos nuevos: sd (Tienda web: elegir estructura), pf-progress (avance del producto).
   ========================================================================== */
body.page-app { --cl-r-card: 20px; }

/* ---------- Encabezados de página: título ligero y una frase ---------- */
body.page-app .pf-head .page-title, body.page-app .notif-head .page-title, body.page-app .rel-page .page-title,
body.page-app .acct-content .page-title, body.page-app .sd-title {
  font-size: clamp(1.75rem, 2.6vw, 2.35rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.1; color: var(--cl-ink);
}
body.page-app .pf-head-sub, body.page-app .page-lead, body.page-app .notif-lead, body.page-app .sd-lead { font-size: .95rem; color: var(--cl-2); line-height: 1.5; }
body.page-app .ord-back { display: inline-flex; align-items: center; gap: .35rem; margin-bottom: .6rem; padding: .25rem .6rem .25rem .45rem; border-radius: 999px; color: var(--cl-2); font-size: .84rem; text-decoration: none; transition: background-color 160ms ease-out; }
body.page-app .ord-back:hover { background: var(--cl-hover); color: var(--cl-ink); }

/* ---------- Campos (dentro de las pantallas renovadas) ---------- */
body.page-app :is(.pf, .pi, .acct-content, .sd) :is(.form-control, .form-select) { min-height: 46px; border-radius: 10px; border-color: var(--cl-field); background-color: #fff; font-size: .95rem; transition: border-color 160ms ease-out, box-shadow 160ms ease-out; }
body.page-app :is(.pf, .pi, .acct-content, .sd) :is(.form-control, .form-select):focus { border-color: var(--cl-acc); box-shadow: 0 0 0 3px rgba(17,17,17, .12); }
body.page-app :is(.pf, .acct-content) .form-label { font-size: .84rem; font-weight: 500; color: var(--cl-ink); margin-bottom: .35rem; }
body.page-app :is(.pf, .pi) .input-group-text { border-color: var(--cl-field); background: var(--cl-bg); color: var(--cl-2); border-radius: 10px; }
body.page-app .pf .input-group > .form-control { border-radius: 0 10px 10px 0; }
body.page-app .pf .input-group > .input-group-text:first-child { border-radius: 10px 0 0 10px; }
body.page-app :is(.pf, .acct-content, .notif-prefs) .form-check-input:checked { background-color: var(--cl-ink); border-color: var(--cl-ink); }
body.page-app :is(.pf, .acct-content) .form-check-input:focus { box-shadow: 0 0 0 3px rgba(17,17,17, .14); border-color: var(--cl-acc); }
body.page-app :is(.pf, .acct-content) .field-hint, body.page-app .pf .form-text { color: var(--cl-3); font-size: .78rem; }

/* ---------- Producto: «Traer datos» ---------- */
body.page-app .pi { margin-bottom: 1.25rem; border: 1px dashed #DCD8CF; border-radius: 16px; background: transparent; box-shadow: none; }
body.page-app .pi-trigger { padding: .85rem 1rem; border-radius: 16px; background: transparent; }
body.page-app .pi-trigger:hover { background: #fff; }
body.page-app .pi-ico { width: 36px; height: 36px; border-radius: 50%; background: var(--cl-acc-soft); color: var(--cl-acc); }
body.page-app .pi-trigger-text strong { font-size: .9rem; font-weight: 500; color: var(--cl-ink); }
body.page-app .pi-trigger-text span { font-size: .8rem; color: var(--cl-2); }
body.page-app .pi-cta { border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--cl-field); color: var(--cl-ink); font-weight: 500; }
body.page-app .pi-panel { padding: 0 1rem 1rem; }

/* ---------- Producto: pasos ---------- */
body.page-app .product-form-grid { gap: 1.5rem; }
body.page-app .pf-step, body.page-app .pf-more details, body.page-app .pf-side {
  border: 1px solid var(--cl-line); border-radius: var(--cl-r-card); background: #fff; box-shadow: none;
}
body.page-app .pf-step { padding: 1.5rem 1.5rem 1.6rem; scroll-margin-top: calc(var(--topbar-h) + 16px); }
body.page-app .pf-step + .pf-step { margin-top: 1rem; }
body.page-app .pf-step-head { gap: .85rem; margin-bottom: 1.15rem; align-items: flex-start; }
body.page-app .pf-step-n { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--cl-acc-soft); color: var(--cl-acc-ink); font-size: .8rem; font-weight: 600; box-shadow: none; }
body.page-app .pf-step-head h2 { margin: .1rem 0 .15rem; font-size: 1.12rem; font-weight: 500; letter-spacing: -.015em; color: var(--cl-ink); }
body.page-app .pf-step-head p { margin: 0; font-size: .86rem; color: var(--cl-2); }
body.page-app .pf-step h2[id], body.page-app .pf-more-title { scroll-margin-top: calc(var(--topbar-h) + 24px); }
/* Selectores en píldora (tipo, visibilidad, variantes) */
body.page-app .pf-kind, body.page-app .pf-vis-seg { padding: 4px; border-radius: 999px; background: var(--cl-side); box-shadow: inset 0 0 0 1px var(--cl-line); }
body.page-app .pf-kind-opt span, body.page-app .pf-vis-seg label span { border-radius: 999px; color: var(--cl-2); font-weight: 500; }
body.page-app .pf-kind-opt input:checked + span, body.page-app .pf-vis-seg input:checked + span { background: #fff; color: var(--cl-ink); box-shadow: 0 0 0 1px var(--cl-line), 0 1px 3px rgba(17, 17, 17, .06); }
/* Zona de fotos */
body.page-app .pf .uploader, body.page-app .pf [data-dropzone], body.page-app .pf .pf-drop { border: 1.5px dashed #DCD8CF; border-radius: 16px; background: var(--cl-bg); }
body.page-app .pf .uploader:hover, body.page-app .pf [data-dropzone]:hover { border-color: var(--cl-acc); background: #fff; }
/* Más opciones */
body.page-app .pf-more { margin-top: 1.5rem; }
body.page-app .pf-more-title { font-size: 1rem; font-weight: 500; color: var(--cl-ink); }
body.page-app .pf-more details { margin-top: .6rem; overflow: hidden; }
body.page-app .pf-more summary { padding: .95rem 1.1rem; }
body.page-app .pf-more summary:hover { background: var(--cl-bg); }
/* Columna derecha: vista previa, publicar y avance */
@media (min-width: 992px) {
  body.page-app .product-form-aside { position: sticky; top: calc(var(--topbar-h) + 16px); align-self: start; }
}
body.page-app .pf-side { padding: 1rem; }
body.page-app .pf-preview { border-radius: 14px; border: 1px solid var(--cl-line); box-shadow: none; overflow: hidden; }
body.page-app .pf-preview .product-media { background: var(--cl-bg); }
body.page-app .pf-vis legend { font-size: .8rem; font-weight: 500; color: var(--cl-ink); }
body.page-app .pf-vis-hint { color: var(--cl-3); font-size: .76rem; }
body.page-app .pf-actions .btn-ink { height: 46px; border-radius: 10px; font-weight: 500; }
body.page-app .pf-actions-links .btn-link { color: var(--cl-2); text-decoration: none; }
body.page-app .pf-actions-links .btn-link:hover { color: var(--cl-ink); }
.pf-progress { margin-top: 1rem; padding: 1rem 1rem .75rem; border: 1px solid var(--cl-line, #ECEAE4); border-radius: 20px; background: transparent; }
.pf-progress-title { display: flex; justify-content: space-between; align-items: center; margin: 0 0 .5rem; font-size: .8rem; font-weight: 500; color: var(--cl-ink, #111); }
.pf-progress-title span { color: var(--cl-3, #8E8A83); font-weight: 400; }
.pf-progress ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.pf-progress a { display: flex; align-items: center; gap: .6rem; padding: .4rem .5rem; border-radius: 10px; color: var(--cl-2, #6B6862); font-size: .86rem; text-decoration: none; transition: background-color 160ms ease-out, color 160ms ease-out; }
.pf-progress a:hover { background: var(--cl-hover, #EBE8E1); color: var(--cl-ink, #111); }
.pf-progress small { margin-left: auto; color: var(--cl-3, #8E8A83); font-size: .7rem; }
.pf-progress b { flex: none; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #D3CFC7; transition: background-color 240ms ease-out, box-shadow 240ms ease-out; }
.pf-progress li.is-optional b { box-shadow: inset 0 0 0 1.5px #E3E1DB; }
.pf-progress li.is-done a { color: var(--cl-ink, #111); }
.pf-progress li.is-done b { background: var(--cl-acc, #111111); box-shadow: none; }
.pf-progress li.is-done b::after { content: ""; width: 7px; height: 4px; margin-top: -2px; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(-45deg); }
@media (max-width: 991.98px) { .pf-progress { display: none; } }

/* ---------- Tienda web: elegir estructura (sd) ---------- */
.sd { display: grid; gap: 1.75rem; }
.sd-intro { display: flex; align-items: center; gap: .85rem; padding: .9rem 1.1rem; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--cl-line, #ECEAE4); animation: sd-in 500ms cubic-bezier(.2, .7, .2, 1) both; }
.sd-intro-n { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--cl-acc, #111111); color: #fff; font-size: .85rem; font-weight: 600; }
.sd-intro strong { display: block; font-size: .92rem; font-weight: 500; color: var(--cl-ink, #111); }
.sd-intro span { font-size: .84rem; color: var(--cl-2, #6B6862); }
@keyframes sd-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.sd-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 1.5rem; }
.sd-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-bottom: .35rem; }
.sd-title { margin: 0; }
.sd-lead { margin: 0; max-width: 560px; }
.sd-link { display: inline-flex; align-items: center; gap: .45rem; max-width: 100%; height: 40px; padding: 0 .35rem 0 .85rem; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--cl-field, #E3E1DB); font-size: .86rem; }
.sd-link > i { color: var(--cl-3, #8E8A83); }
.sd-link a { color: var(--cl-ink, #111); text-decoration: none; min-width: 0; }
.sd-copy { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--cl-2, #6B6862); }
.sd-copy:hover { background: var(--cl-side, #F4F2EC); color: var(--cl-ink, #111); }
/* Así se ve ahora */
.sd-now { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.75rem; align-items: center; padding: 1.25rem; border: 1px solid var(--cl-line, #ECEAE4); border-radius: 24px; background: #fff; }
.sd-now-shot { margin: 0; border-radius: 16px; border: 1px solid var(--cl-line, #ECEAE4); box-shadow: none; overflow: hidden; }
.sd-now-shot .site-hero-preview { aspect-ratio: 16 / 10; height: auto; }
.sd-kicker { display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 .35rem; font-size: .78rem; color: var(--cl-2, #6B6862); }
.sd-kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cl-acc, #111111); }
.sd-now-title { margin: 0 0 .35rem; font-size: 1.55rem; font-weight: 400; letter-spacing: -.03em; color: var(--cl-ink, #111); }
.sd-now-text { margin: 0 0 1.1rem; font-size: .92rem; color: var(--cl-2, #6B6862); }
.sd-now-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.1rem; }
.sd-now-actions .btn { display: inline-flex; align-items: center; gap: .45rem; height: 44px; padding: 0 1.1rem; border-radius: 10px; font-weight: 500; }
.sd-now-actions form { display: inline-flex; }
.sd-shortcuts { list-style: none; margin: 0; padding: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; border-top: 1px solid var(--cl-line, #ECEAE4); }
.sd-shortcuts a { display: inline-flex; align-items: center; gap: .4rem; height: 34px; padding: 0 .8rem; border-radius: 999px; background: var(--cl-bg, #FAF9F6); box-shadow: inset 0 0 0 1px var(--cl-line, #ECEAE4); color: var(--cl-ink, #111); font-size: .8rem; text-decoration: none; transition: box-shadow 160ms ease-out, background-color 160ms ease-out; }
.sd-shortcuts a:hover { background: #fff; box-shadow: inset 0 0 0 1px var(--cl-field, #E3E1DB); }
.sd-shortcuts a .ic, .sd-shortcuts a > i { width: .95rem; height: .95rem; color: var(--cl-2, #6B6862); }
.sd-shortcuts a span { padding: 0 .4rem; border-radius: 999px; background: var(--cl-side, #F4F2EC); font-size: .7rem; color: var(--cl-2, #6B6862); }
/* Elegir estructura */
.sd-pick-head h2 { margin: 0 0 .25rem; font-size: 1.3rem; font-weight: 400; letter-spacing: -.025em; color: var(--cl-ink, #111); }
.sd-pick-head p { margin: 0 0 1rem; font-size: .9rem; color: var(--cl-2, #6B6862); }
.sd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.1rem; }
.sd-card { position: relative; display: grid; gap: .7rem; padding: .6rem .6rem .85rem; border: 1px solid var(--cl-line, #ECEAE4); border-radius: 20px; background: #fff; transition: transform 220ms ease-out, box-shadow 220ms ease-out, border-color 220ms ease-out; }
.sd-card:hover { transform: translateY(-2px); border-color: var(--cl-field, #E3E1DB); box-shadow: 0 10px 28px rgba(17, 17, 17, .07); }
.sd-card.is-current { border-color: var(--cl-ink, #111); box-shadow: 0 0 0 1px var(--cl-ink, #111); }
.sd-shot { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 14px; background: var(--cl-bg, #FAF9F6); }
.sd-shot iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; pointer-events: none; opacity: 0; transition: opacity 400ms ease-out; }
.sd-shot.is-ready iframe { opacity: 1; }
.sd-ph { position: absolute; inset: 0; display: grid; place-items: center; color: #CFCBC2; font-size: 1.8rem; }
.sd-shot.is-ready .sd-ph { display: none; }
.sd-see { position: absolute; left: 50%; bottom: .7rem; transform: translate(-50%, 6px); display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .75rem; border-radius: 999px; background: rgba(17, 17, 17, .86); color: #fff; font-size: .74rem; white-space: nowrap; opacity: 0; transition: opacity 200ms ease-out, transform 200ms ease-out; }
.sd-card:hover .sd-see, .sd-card-btn:focus-visible ~ .sd-shot .sd-see { opacity: 1; transform: translate(-50%, 0); }
.sd-info { display: grid; gap: .15rem; padding: 0 .35rem; }
.sd-name { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.sd-name strong { font-size: .95rem; font-weight: 500; color: var(--cl-ink, #111); }
.sd-name em { padding: .05rem .5rem; border-radius: 999px; background: var(--cl-acc-soft, #F4F2EC); color: var(--cl-acc-ink, #B84A08); font-size: .66rem; font-style: normal; font-weight: 600; }
.sd-name em.is-now { background: var(--cl-ink, #111); color: #fff; }
.sd-info small { font-size: .78rem; color: var(--cl-2, #6B6862); }
.sd-sw { display: flex; gap: .25rem; margin-top: .35rem; }
.sd-sw i { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(17, 17, 17, .12); }
.sd-card-btn { position: absolute; inset: 0; z-index: 2; border: 0; border-radius: 20px; background: transparent; cursor: pointer; }
.sd-card-btn:focus-visible { outline: 2px solid var(--cl-acc, #111111); outline-offset: 2px; }
/* Vista grande */
body:has(.sd-modal.show) .modal-backdrop.show { background: #F4F2EC; opacity: .9; }
.sd-m-dialog { max-width: min(1180px, calc(100vw - 32px)); }
.sd-modal .modal-content { overflow: hidden; border: 1px solid var(--cl-line, #ECEAE4); border-radius: 24px; background: #fff; box-shadow: 0 24px 60px rgba(17, 17, 17, .12); }
.sd-modal.fade .modal-dialog { transform: translateY(10px) scale(.98); transition: transform 380ms cubic-bezier(.2, .7, .2, 1); }
.sd-modal.show .modal-dialog { transform: none; }
.sd-m-head { display: flex; align-items: center; gap: 1rem; padding: 1rem 1rem 1rem 1.4rem; border-bottom: 1px solid var(--cl-line, #ECEAE4); }
.sd-m-head > .min-w-0 { flex: 1; }
.sd-m-name { margin: 0; font-size: 1.25rem; font-weight: 400; letter-spacing: -.025em; color: var(--cl-ink, #111); }
.sd-m-desc { margin: .1rem 0 0; font-size: .84rem; color: var(--cl-2, #6B6862); }
.sd-device { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--cl-side, #F4F2EC); box-shadow: inset 0 0 0 1px var(--cl-line, #ECEAE4); }
.sd-device button { display: inline-flex; align-items: center; gap: .35rem; height: 32px; padding: 0 .8rem; border: 0; border-radius: 999px; background: transparent; color: var(--cl-2, #6B6862); font-size: .8rem; font-weight: 500; }
.sd-device button.is-on { background: #fff; color: var(--cl-ink, #111); box-shadow: 0 0 0 1px var(--cl-line, #ECEAE4), 0 1px 3px rgba(17, 17, 17, .06); }
.sd-m-close { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--cl-3, #8E8A83); }
.sd-m-close:hover { background: var(--cl-side, #F4F2EC); color: var(--cl-ink, #111); }
.sd-m-stage { display: flex; justify-content: center; padding: 1rem; background: var(--cl-bg, #FAF9F6); }
.sd-m-frame { position: relative; width: 100%; height: min(64vh, 680px); overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--cl-line, #ECEAE4); transition: width 320ms cubic-bezier(.2, .7, .2, 1), border-radius 320ms ease-out; }
.sd-m-frame.is-mobile { width: 390px; max-width: 100%; border-radius: 28px; box-shadow: 0 0 0 8px #111, 0 18px 40px rgba(17, 17, 17, .18); }
.sd-m-frame iframe { width: 100%; height: 100%; border: 0; }
.sd-m-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .5rem; background: #fff; color: var(--cl-2, #6B6862); font-size: .86rem; }
.sd-m-loading[hidden] { display: none; }
.sd-m-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; padding: .9rem 1.1rem .9rem 1.4rem; border-top: 1px solid var(--cl-line, #ECEAE4); }
.sd-m-note { display: flex; align-items: center; gap: .4rem; margin: 0; font-size: .82rem; color: var(--cl-2, #6B6862); }
.sd-m-form { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.sd-m-form .btn-ink { display: inline-flex; align-items: center; gap: .4rem; height: 44px; padding: 0 1.2rem; border-radius: 10px; font-weight: 500; }
@media (max-width: 991.98px) { .sd-now { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) {
  .sd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .sd-card { padding: .45rem .45rem .65rem; border-radius: 16px; }
  .sd-info small, .sd-sw { display: none; }
  .sd-m-head { flex-wrap: wrap; padding: .9rem 1rem; }
  .sd-device { order: 3; width: 100%; justify-content: center; }
  .sd-m-stage { padding: .6rem; }
  .sd-m-frame { height: 58vh; }
  .sd-m-frame.is-mobile { box-shadow: 0 0 0 1px var(--cl-line, #ECEAE4); border-radius: 14px; }
  .sd-m-form { width: 100%; }
  .sd-m-form .btn-ink { flex: 1; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .sd-card, .sd-m-frame, .sd-modal.fade .modal-dialog { transition: none; } .sd-intro { animation: none; } }

/* ---------- Notificaciones ---------- */
body.page-app .notif-page { max-width: 760px; }
body.page-app .notif-filter-btn { width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--cl-field); color: var(--cl-ink); }
body.page-app .notif-filter-btn:hover { box-shadow: 0 0 0 1px #D3CFC7; }
body.page-app .notif-group-title { font-size: .78rem; font-weight: 500; color: var(--cl-3); text-transform: none; letter-spacing: 0; }
body.page-app .notif-list { overflow: hidden; border: 1px solid var(--cl-line); border-radius: var(--cl-r-card); background: #fff; box-shadow: none; }
body.page-app .notif-item { gap: .9rem; padding: .95rem 1.15rem; transition: background-color 160ms ease-out; }
body.page-app .notif-item + .notif-item { border-top: 1px solid var(--cl-line); }
body.page-app a.notif-item:hover { background: var(--cl-bg); }
body.page-app .notif-item.is-unread { background: #fff; }
body.page-app .notif-icon { width: 38px; height: 38px; border-radius: 50%; background: var(--cl-side); color: var(--cl-ink); }
body.page-app .notif-dot { background: var(--cl-acc); }
body.page-app .notif-more .btn, body.page-app .notif-active .btn { border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--cl-field); }
body.page-app .notif-empty-icon { background: var(--cl-side); color: var(--cl-2); }

/* ---------- Novedades ---------- */
body.page-app .rel-page { max-width: 760px; }
body.page-app .rel-card { border: 1px solid var(--cl-line); border-radius: var(--cl-r-card); background: #fff; box-shadow: none; overflow: hidden; }
body.page-app .rel-card + .rel-card, body.page-app .rel-item + .rel-item { margin-top: 1rem; }
body.page-app .rel-version { border-radius: 999px; background: var(--cl-side); color: var(--cl-ink); box-shadow: inset 0 0 0 1px var(--cl-line); font-weight: 600; }
body.page-app .rel-title { font-size: 1.15rem; font-weight: 500; letter-spacing: -.02em; color: var(--cl-ink); }
body.page-app .rel-new { border-radius: 999px; background: var(--cl-acc-soft); color: var(--cl-acc-ink); font-size: .64rem; font-weight: 600; letter-spacing: .02em; }
body.page-app .rel-date, body.page-app .rel-summary { color: var(--cl-2); }
body.page-app .rel-body li::marker { color: var(--cl-acc); }
body.page-app .rel-foot { border-top: 1px solid var(--cl-line); }
body.page-app .rel-face { border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--cl-field); border: 0; }
body.page-app .rel-face.is-on { background: var(--cl-acc-soft); box-shadow: 0 0 0 1px rgba(17,17,17, .35); color: var(--cl-acc-ink); }
body.page-app .rel-comments { background: var(--cl-bg); border-top: 1px solid var(--cl-line); }
body.page-app .rel-comment-input, body.page-app .rel-comment-form .form-control { border-radius: 10px; border-color: var(--cl-field); }

/* ---------- Ajustes (cuenta y negocio): menú lateral y tarjetas ---------- */
body.page-app .edit-ig .edit-nav { background: transparent; border-right: 1px solid var(--cl-line); }
body.page-app .edit-ig-title { font-size: 1.6rem; font-weight: 400; letter-spacing: -.03em; color: var(--cl-ink); }
body.page-app .edit-ig-search .form-control { min-height: 40px; border-radius: 999px; border-color: var(--cl-field); background: #fff; }
body.page-app .edit-ig-search .form-control:focus { border-color: var(--cl-acc); box-shadow: 0 0 0 3px rgba(17,17,17, .12); }
body.page-app .edit-ig-group-title { font-size: .74rem; font-weight: 500; color: var(--cl-3); text-transform: none; letter-spacing: 0; }
body.page-app .edit-ig-group-title > i { color: var(--cl-3); }
body.page-app .edit-nav-link { min-height: 40px; border-radius: 10px; color: #3D3A35; font-size: .9rem; transition: background-color 160ms ease-out; }
body.page-app .edit-nav-link > i { color: var(--cl-2); }
body.page-app .edit-nav-link:hover { background: var(--cl-hover); color: var(--cl-ink); }
body.page-app .edit-nav-link.is-active { background: #fff; color: var(--cl-ink); font-weight: 500; box-shadow: 0 0 0 1px var(--cl-line), 0 1px 2px rgba(17, 17, 17, .04); }
body.page-app .edit-nav-link.is-active > i { color: var(--cl-acc); }
body.page-app .edit-nav-dot { background: var(--cl-acc); }
body.page-app .settings-biz-one { border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--cl-line); }
body.page-app .settings-biz { background: transparent; box-shadow: none; border: 0; }
body.page-app .acct-content .panel, body.page-app .edit-sections .panel { border: 1px solid var(--cl-line); border-radius: var(--cl-r-card); background: #fff; box-shadow: none; }
body.page-app .acct-content .panel-title, body.page-app .acct-content .settings-label strong { font-weight: 500; color: var(--cl-ink); }
body.page-app .acct-content .btn-ink, body.page-app .edit-sections .btn-ink { min-height: 44px; border-radius: 10px; font-weight: 500; }
body.page-app .notif-prefs-head { background: var(--cl-bg); color: var(--cl-3); }
body.page-app .notif-pref + .notif-pref { border-top-color: var(--cl-line); }
body.page-app .notif-pref-icon { background: var(--cl-side); color: var(--cl-ink); border-radius: 50%; }
body.page-app .notif-prefs-foot { background: var(--cl-bg); border-top-color: var(--cl-line); }
@media (min-width: 992px) {
  /* Menú reducido: los contadores se ven como un punto discreto sobre el ícono */
  body.page-app.sidebar-mini .side-notif-badge { top: 7px; right: 50%; left: auto; min-width: 0; width: 8px; height: 8px; padding: 0; margin: 0 -13px 0 0; font-size: 0; line-height: 0; box-shadow: 0 0 0 2px var(--cl-side); }
}
.sd-shot { background: #fff; }

/* v2.39 · Aviso del recorrido en Tienda web (paso 1 listo → paso 2 ahora → paso 3) */
.sd-intro { position: relative; display: grid; gap: .35rem; padding: 1.6rem 1.6rem 1.5rem; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--cl-line, #ECEAE4); transition: opacity 240ms ease-out, transform 240ms ease-out; }
.sd-intro.is-out { opacity: 0; transform: translateY(-6px); }
.sd-intro-x { position: absolute; top: .9rem; right: .9rem; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: var(--cl-3, #8E8A83); }
.sd-intro-x:hover { background: var(--cl-side, #F4F2EC); color: var(--cl-ink, #111); }
.sd-intro-kicker { display: inline-flex; align-items: center; gap: .4rem; margin: 0; font-size: .82rem; color: var(--cl-acc-ink, #B84A08); }
.sd-intro-kicker i { color: var(--cl-acc, #111111); }
.sd-intro-title { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.15; color: var(--cl-ink, #111); }
.sd-intro-text { margin: 0 0 .9rem; max-width: 560px; font-size: .95rem; color: var(--cl-2, #6B6862); }
.sd-steps { list-style: none; margin: 0 0 1.1rem; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; counter-reset: none; }
.sd-steps li { position: relative; display: flex; align-items: center; gap: .65rem; padding: .75rem .85rem; border-radius: 14px; background: var(--cl-bg, #FAF9F6); box-shadow: inset 0 0 0 1px var(--cl-line, #ECEAE4); }
.sd-steps b { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px #D9D5CD; color: var(--cl-3, #8E8A83); font-size: .8rem; font-weight: 600; }
.sd-steps span { display: grid; min-width: 0; line-height: 1.25; }
.sd-steps strong { font-size: .86rem; font-weight: 500; color: var(--cl-ink, #111); }
.sd-steps small { font-size: .74rem; color: var(--cl-3, #8E8A83); }
.sd-steps li.is-done b { background: var(--cl-acc, #111111); box-shadow: none; color: #fff; }
.sd-steps li.is-done strong { color: var(--cl-2, #6B6862); }
.sd-steps li.is-now { background: #fff; box-shadow: inset 0 0 0 1.5px var(--cl-ink, #111); }
.sd-steps li.is-now b { background: var(--cl-ink, #111); box-shadow: none; color: #fff; }
.sd-intro-cta { justify-self: start; display: inline-flex; align-items: center; gap: .45rem; height: 44px; padding: 0 1.2rem; border-radius: 10px; font-weight: 500; }
.sd-pick-head h2 { scroll-margin-top: calc(var(--topbar-h, 60px) + 20px); }
@media (max-width: 767.98px) { .sd-steps { grid-template-columns: 1fr; } .sd-intro { padding: 1.3rem 1.1rem 1.2rem; } .sd-intro-cta { justify-self: stretch; justify-content: center; } }

/* v2.41 · Tienda web: aviso del recorrido tras el primer producto (st-intro) */
.st-intro { display: grid; gap: .35rem; margin-bottom: 1.5rem; padding: 1.5rem 1.6rem; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--cl-line, #ECEAE4); animation: sd-in 500ms cubic-bezier(.2, .7, .2, 1) both; }
.st-intro-kicker { display: inline-flex; align-items: center; gap: .4rem; margin: 0; font-size: .82rem; color: var(--cl-acc-ink, #B84A08); }
.st-intro-kicker i { color: var(--cl-acc, #111111); }
.st-intro-title { margin: 0; font-size: clamp(1.45rem, 2.3vw, 1.9rem); font-weight: 400; letter-spacing: -.035em; color: var(--cl-ink, #111); }
.st-intro-text { margin: 0 0 .8rem; max-width: 600px; font-size: .94rem; color: var(--cl-2, #6B6862); }
.st-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.st-steps li { display: flex; align-items: center; gap: .65rem; padding: .7rem .85rem; border-radius: 14px; background: var(--cl-bg, #FAF9F6); box-shadow: inset 0 0 0 1px var(--cl-line, #ECEAE4); }
.st-steps b { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px #D9D5CD; color: var(--cl-3, #8E8A83); font-size: .8rem; font-weight: 600; }
.st-steps span { display: grid; line-height: 1.25; min-width: 0; }
.st-steps strong { font-size: .86rem; font-weight: 500; color: var(--cl-ink, #111); }
.st-steps small { font-size: .74rem; color: var(--cl-3, #8E8A83); }
.st-steps li.is-done b { background: var(--cl-acc, #111111); box-shadow: none; color: #fff; }
.st-steps li.is-now { background: #fff; box-shadow: inset 0 0 0 1.5px var(--cl-ink, #111); }
.st-steps li.is-now b { background: var(--cl-ink, #111); box-shadow: none; color: #fff; }
@media (max-width: 767.98px) { .st-steps { grid-template-columns: 1fr; } }
.st-side > .st-actions { margin-left: 0; margin-right: 0; width: 100%; max-width: none; }

/* ==========================================================================
   v2.42 · Notificaciones, Novedades, Almacenamiento e Invita y gana «modo Claude», con una sola línea gráfica.
   Prefijos: hx (piezas compartidas: encabezado, tarjeta, píldoras, vacío, cifras), notif, rel, stg (almacenamiento), rf (invita y gana).
   Arreglo: antes .notif-page tenía ancho máximo sin margin auto y quedaba pegada a la izquierda. Ahora las 4 páginas usan todo el ancho
   (data-full-page) con el mismo margen lateral, sin íconos en el encabezado: solo título y una frase.
   ========================================================================== */
body.page-app .hx { width: 100%; max-width: none; margin: 0; padding: 0 0 3rem; display: flex; flex-direction: column; gap: 1.75rem; }
@media (min-width: 992px) { body.page-app .hx { padding: 2.5rem clamp(2rem, 3.5vw, 3.5rem) 4rem; } }
body.page-app .hx > * { min-width: 0; }

/* ---------- Encabezado: ícono + título ligero + una frase ---------- */
body.page-app .hx-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin: 0; padding-bottom: 1.25rem; border-bottom: 1px solid var(--cl-line); }
body.page-app .hx-head-text { flex: 1; min-width: 0; }
body.page-app .hx-title { margin: 0; font-size: clamp(1.7rem, 2.6vw, 2.25rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.1; color: var(--cl-ink); }
body.page-app .hx-lead { margin: .35rem 0 0; font-size: .95rem; line-height: 1.5; color: var(--cl-2); }
body.page-app .hx-lead strong { font-weight: 500; color: var(--cl-ink); }
body.page-app .hx-dot-label { display: inline-flex; align-items: center; gap: .4rem; color: var(--cl-acc-ink); font-weight: 500; }
body.page-app .hx-dot-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cl-acc); }
body.page-app .hx-head-actions { flex: none; display: flex; align-items: center; gap: .5rem; }

/* ---------- Botones ---------- */
body.page-app .hx-btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 44px; padding: 0 1.15rem; border-radius: 10px; font-weight: 500; font-size: .92rem; }
body.page-app .hx-pill-btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 40px; padding: 0 1rem; border: 0; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--cl-field); color: var(--cl-ink); font-size: .88rem; font-weight: 500; text-decoration: none; cursor: pointer; transition: box-shadow 160ms ease-out, background-color 160ms ease-out; }
body.page-app .hx-pill-btn:hover { box-shadow: 0 0 0 1px #CFCAC0; background: #fff; color: var(--cl-ink); }
body.page-app .hx-pill-btn:disabled { opacity: .45; cursor: not-allowed; }
body.page-app .hx-icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--cl-field); color: var(--cl-ink); text-decoration: none; transition: box-shadow 160ms ease-out; }
body.page-app .hx-icon-btn:hover { box-shadow: 0 0 0 1px #CFCAC0; color: var(--cl-ink); }
body.page-app .hx-icon-btn[hidden], body.page-app .hx-pill-btn[hidden] { display: none; }

/* ---------- Tarjeta, etiquetas y textos ---------- */
body.page-app .hx-card { border: 1px solid var(--cl-line); border-radius: var(--cl-r-card, 20px); background: #fff; padding: 1.5rem; }
body.page-app .hx-kicker { display: block; margin: 0; font-size: .74rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--cl-3); }
body.page-app .hx-section-title { display: flex; align-items: baseline; gap: .45rem; margin: 0; font-size: 1.05rem; font-weight: 500; letter-spacing: -.015em; color: var(--cl-ink); }
body.page-app .hx-section-title span { font-size: .82rem; font-weight: 400; color: var(--cl-3); }
body.page-app .hx-note { display: flex; gap: .5rem; align-items: flex-start; margin: 1rem 0 0; font-size: .8rem; line-height: 1.5; color: var(--cl-3); }
body.page-app .hx-note .bi { margin-top: .1rem; }

/* ---------- Píldoras de filtro ---------- */
body.page-app .hx-chips { display: flex; gap: .45rem; overflow-x: auto; scrollbar-width: none; margin: 0 -1rem; padding: .15rem 1rem; -webkit-overflow-scrolling: touch; }
body.page-app .hx-chips::-webkit-scrollbar { display: none; }
body.page-app .hx-chip { flex: none; display: inline-flex; align-items: center; gap: .45rem; height: 36px; padding: 0 .95rem; border: 0; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--cl-field); color: #3D3A35; font-size: .86rem; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 160ms ease-out, color 160ms ease-out, box-shadow 160ms ease-out; }
body.page-app .hx-chip .bi { font-size: .95rem; color: var(--cl-2); }
body.page-app .hx-chip b { min-width: 20px; height: 20px; padding: 0 .35rem; border-radius: 999px; background: var(--cl-side); color: var(--cl-2); font-size: .7rem; font-weight: 600; line-height: 20px; text-align: center; }
body.page-app .hx-chip:hover { box-shadow: 0 0 0 1px #CFCAC0; color: var(--cl-ink); }
body.page-app .hx-chip.is-on { background: var(--cl-ink); box-shadow: 0 0 0 1px var(--cl-ink); color: #fff; }
body.page-app .hx-chip.is-on .bi { color: #fff; }
body.page-app .hx-chip.is-on b { background: rgba(255, 255, 255, .18); color: #fff; }
body.page-app .hx-chip[hidden] { display: none; }
body.page-app .hx-chips.is-compact { margin: 0; padding: .15rem; }
body.page-app .hx-chips.is-compact .hx-chip { height: 32px; padding: 0 .8rem; font-size: .82rem; }

/* ---------- Vacío ---------- */
body.page-app .hx-empty { display: grid; justify-items: center; gap: .35rem; padding: 3rem 1.25rem; border: 1px dashed #DCD8CF; border-radius: var(--cl-r-card, 20px); text-align: center; }
body.page-app .hx-empty[hidden] { display: none; }
body.page-app .hx-empty-ic { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: .5rem; border-radius: 50%; background: var(--cl-side); color: var(--cl-2); font-size: 1.35rem; }
body.page-app .hx-empty strong { font-size: 1rem; font-weight: 500; color: var(--cl-ink); }
body.page-app .hx-empty p { max-width: 420px; margin: 0; font-size: .88rem; line-height: 1.5; color: var(--cl-2); }
body.page-app .hx-empty-inline { margin: 0; padding: 1.25rem 0; text-align: center; font-size: .86rem; color: var(--cl-3); }
body.page-app .hx-empty-inline[hidden] { display: none; }

/* ---------- Ver más / final ---------- */
body.page-app .hx-more { display: flex; justify-content: center; }
body.page-app .hx-more[hidden], body.page-app .hx-end[hidden] { display: none; }
body.page-app .hx-end { margin: 0; text-align: center; font-size: .82rem; color: var(--cl-3); }

/* ---------- Cifras ---------- */
body.page-app .hx-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
body.page-app .hx-stats li { display: grid; gap: .25rem; padding: 1rem 1.1rem; border: 1px solid var(--cl-line); border-radius: 16px; background: #fff; }
body.page-app .hx-stats span { font-size: .78rem; color: var(--cl-2); }
body.page-app .hx-stats strong { font-size: 1.6rem; font-weight: 400; letter-spacing: -.03em; line-height: 1.1; color: var(--cl-ink); font-variant-numeric: tabular-nums; }
body.page-app .hx-stats li.is-acc { background: var(--cl-acc-soft); border-color: transparent; }
body.page-app .hx-stats li.is-acc span { color: var(--cl-acc-ink); }
@media (max-width: 575.98px) { body.page-app .hx-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ==================== Notificaciones ==================== */
body.page-app .notif-page { max-width: none; }
body.page-app .notif-weeks { display: flex; flex-direction: column; gap: 1.5rem; }
body.page-app .notif-weeks:empty { display: none; }
body.page-app .notif-week { display: flex; flex-direction: column; gap: 1.5rem; }
body.page-app .notif-week.is-fresh { animation: hx-in .35s ease-out; }
body.page-app .notif-week-label { margin: .5rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--cl-line); font-size: .78rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--cl-3); }
body.page-app .notif-week-empty { margin: 0; font-size: .86rem; color: var(--cl-3); }
body.page-app .notif-group { margin: 0; }
body.page-app .notif-group-title { margin: 0 0 .6rem .25rem; font-size: .84rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--cl-2); }
body.page-app .notif-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--cl-line); border-radius: var(--cl-r-card, 20px); background: #fff; overflow: hidden; }
body.page-app .notif-list li + li { border-top: 1px solid var(--cl-line); }
body.page-app .notif-item { display: flex; align-items: flex-start; gap: .95rem; padding: 1rem 1.15rem; color: var(--cl-ink); text-decoration: none; background: #fff; transition: background-color 160ms ease-out; }
body.page-app a.notif-item:hover { background: var(--cl-bg); color: var(--cl-ink); }
body.page-app .notif-item.is-unread { background: #FFFCF8; }
body.page-app .notif-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-size: 1.05rem; background: var(--cl-side); color: var(--cl-ink); }
body.page-app .notif-icon.tone-ok { background: #EAF5EE; color: #1E7A45; }
body.page-app .notif-icon.tone-warn { background: #FDF3E1; color: #9A5B00; }
body.page-app .notif-icon.tone-danger { background: #FDECEC; color: #B42318; }
body.page-app .notif-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .15rem; line-height: 1.4; }
body.page-app .notif-body strong { font-size: .93rem; font-weight: 500; color: var(--cl-ink); }
body.page-app .notif-text { font-size: .86rem; color: var(--cl-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
body.page-app .notif-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; margin-top: .2rem; font-size: .76rem; color: var(--cl-3); }
body.page-app .notif-meta time { display: inline; font-variant-numeric: tabular-nums; }
body.page-app .notif-biz { display: inline-flex; align-items: center; max-width: 100%; padding: .05rem .5rem; border-radius: 999px; background: var(--cl-side); color: var(--cl-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.page-app .notif-dot { flex: none; width: 8px; height: 8px; margin-top: .45rem; border-radius: 50%; background: var(--cl-acc); }
body.page-app .notif-go { flex: none; align-self: center; font-size: .8rem; color: #C4BFB6; transition: transform 160ms ease-out, color 160ms ease-out; }
body.page-app a.notif-item:hover .notif-go { color: var(--cl-ink); transform: translateX(2px); }
body.page-app .notif-group[hidden], body.page-app .notif-list li[hidden] { display: none; }
@media (max-width: 575.98px) {
  body.page-app .notif-item { gap: .75rem; padding: .9rem .95rem; }
  body.page-app .notif-icon { width: 36px; height: 36px; font-size: .95rem; }
  body.page-app .notif-go { display: none; }
}

/* ==================== Novedades ==================== */
body.page-app .rel-page { max-width: none; }
body.page-app .rel-tl { list-style: none; margin: 0; padding: 0 0 0 1.75rem; position: relative; display: flex; flex-direction: column; gap: 1rem; }
body.page-app .rel-tl::before { content: ""; position: absolute; left: 6px; top: 1.6rem; bottom: 1.6rem; width: 1px; background: var(--cl-line); }
body.page-app .rel-tl-item { position: relative; margin: 0 !important; }
body.page-app .rel-tl-dot { position: absolute; left: -1.75rem; top: 1.6rem; width: 13px; height: 13px; border-radius: 50%; background: var(--cl-bg); box-shadow: inset 0 0 0 2px #D3CFC7; }
body.page-app .rel-tl-item.is-latest .rel-tl-dot { background: var(--cl-acc); box-shadow: 0 0 0 4px var(--cl-acc-soft); }
body.page-app .rel-card { padding: 1.4rem 1.5rem 0; border: 1px solid var(--cl-line); border-radius: var(--cl-r-card, 20px); background: #fff; box-shadow: none; overflow: hidden; }
body.page-app .rel-card.is-new { border-color: #F6CDB2; }
body.page-app .rel-head { display: block; margin: 0 0 .9rem; }
body.page-app .rel-tags { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin-bottom: .6rem; }
body.page-app .rel-version { display: inline-flex; align-items: center; height: 26px; min-width: 0; padding: 0 .65rem; border-radius: 999px; background: var(--cl-side); color: var(--cl-ink); box-shadow: none; font-size: .76rem; font-weight: 600; font-variant-numeric: tabular-nums; }
body.page-app .rel-new { display: inline-flex; align-items: center; height: 26px; margin: 0; padding: 0 .65rem; border-radius: 999px; background: var(--cl-acc-soft); color: var(--cl-acc-ink); font-size: .72rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
body.page-app .rel-new.is-soft { background: transparent; box-shadow: inset 0 0 0 1px var(--cl-line); color: var(--cl-2); }
body.page-app .rel-date { margin-left: auto; font-size: .8rem; color: var(--cl-3); }
body.page-app .rel-title { margin: 0; font-size: 1.3rem; font-weight: 500; letter-spacing: -.025em; line-height: 1.25; color: var(--cl-ink); }
body.page-app .rel-summary { margin: .4rem 0 0; font-size: .93rem; line-height: 1.55; color: var(--cl-2); }
body.page-app .rel-body { margin: 0 0 1rem; padding: 1rem 1.1rem; border-radius: 14px; background: var(--cl-bg); font-size: .9rem; line-height: 1.6; color: #3D3A35; }
body.page-app .rel-body[hidden] { display: none; }
body.page-app .rel-body h3 { margin: 1rem 0 .4rem; font-size: .8rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--cl-3); }
body.page-app .rel-body h3:first-child { margin-top: 0; }
body.page-app .rel-body ul { margin: 0 0 .5rem; padding-left: 1.1rem; display: grid; gap: .4rem; }
body.page-app .rel-body li::marker { color: var(--cl-acc); }
body.page-app .rel-body strong { font-weight: 500; color: var(--cl-ink); }
body.page-app .rel-more { display: inline-flex; align-items: center; gap: .35rem; margin: 0 0 1rem; padding: 0; border: 0; background: none; color: var(--cl-ink); font-size: .86rem; font-weight: 500; cursor: pointer; }
body.page-app .rel-more:hover { color: var(--cl-acc-ink); }
body.page-app .rel-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding: .85rem 0; border-top: 1px solid var(--cl-line); }
body.page-app .rel-react { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
body.page-app .rel-face { display: inline-flex; align-items: center; gap: .35rem; height: 36px; padding: 0 .75rem 0 .6rem; border: 0; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--cl-field); color: #3D3A35; font-size: .84rem; transition: box-shadow 160ms ease-out, background-color 160ms ease-out, transform 160ms ease-out; }
body.page-app .rel-face i { font-size: 1.15rem; line-height: 1; }
body.page-app .rel-face b { font-weight: 500; font-variant-numeric: tabular-nums; }
body.page-app .rel-face:hover { box-shadow: 0 0 0 1px #CFCAC0; transform: translateY(-1px); }
body.page-app .rel-face.is-on { background: var(--cl-acc-soft); box-shadow: 0 0 0 1px rgba(17,17,17, .35); color: var(--cl-acc-ink); }
body.page-app .rel-talk { display: inline-flex; align-items: center; gap: .4rem; height: 36px; padding: 0 .85rem; border: 0; border-radius: 999px; background: transparent; color: var(--cl-2); font-size: .84rem; cursor: pointer; transition: background-color 160ms ease-out, color 160ms ease-out; }
body.page-app .rel-talk:hover, body.page-app .rel-talk.is-on { background: var(--cl-hover); color: var(--cl-ink); }
body.page-app .rel-comments { margin: 0 -1.5rem; padding: 1rem 1.5rem 1.15rem; border-top: 1px solid var(--cl-line); background: var(--cl-bg); }
body.page-app .rel-comments[hidden] { display: none; }
body.page-app .rel-comment-form .form-control { border-radius: 10px; border-color: var(--cl-field); background: #fff; }
body.page-app .rel-comment-form .form-control:focus { border-color: var(--cl-acc); box-shadow: 0 0 0 3px rgba(17,17,17, .12); }
body.page-app .rel-comment-body { border-color: var(--cl-line); border-radius: 12px; }
@media (max-width: 575.98px) {
  body.page-app .rel-tl { padding-left: 0; }
  body.page-app .rel-tl::before, body.page-app .rel-tl-dot { display: none; }
  body.page-app .rel-card { padding: 1.15rem 1.1rem 0; }
  body.page-app .rel-comments { margin: 0 -1.1rem; padding: .9rem 1.1rem 1rem; }
  body.page-app .rel-date { margin-left: 0; width: 100%; }
}

/* ==================== Almacenamiento (stg) ==================== */
body.page-app .stg-sum { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1.25rem 2rem; align-items: start; }
body.page-app .stg-sum.is-warn { border-color: #EBD9A5; }
body.page-app .stg-sum.is-danger, body.page-app .stg-sum.is-full { border-color: #F0C2C2; }
body.page-app .stg-sum-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
body.page-app .stg-level { padding: .15rem .6rem; border-radius: 999px; background: #EAF5EE; color: #1E7A45; font-size: .74rem; font-weight: 500; }
body.page-app .stg-sum.is-warn .stg-level { background: #FDF3E1; color: #9A5B00; }
body.page-app .stg-sum.is-danger .stg-level, body.page-app .stg-sum.is-full .stg-level { background: #FDECEC; color: #B42318; }
body.page-app .stg-big { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem; margin: .7rem 0 .9rem; font-size: 1rem; color: var(--cl-2); }
body.page-app .stg-big strong { font-size: 2.3rem; font-weight: 400; letter-spacing: -.04em; line-height: 1; color: var(--cl-ink); }
body.page-app .stg-big em { margin-left: auto; font-style: normal; font-size: .9rem; font-weight: 500; color: var(--cl-ink); font-variant-numeric: tabular-nums; }
body.page-app .stg-bar { display: flex; gap: 2px; height: 10px; border-radius: 999px; background: var(--cl-side); overflow: hidden; }
body.page-app .stg-seg { display: block; height: 100%; width: 0; min-width: 3px; transition: width .6s ease-out; }
body.page-app .stg-free { margin: .75rem 0 0; font-size: .86rem; line-height: 1.5; color: var(--cl-2); }
body.page-app .stg-free strong { font-weight: 500; color: var(--cl-ink); }
body.page-app .stg-types { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
body.page-app .stg-types a { display: flex; align-items: center; gap: .7rem; padding: .5rem .6rem; border-radius: 10px; color: var(--cl-ink); text-decoration: none; font-size: .88rem; transition: background-color 160ms ease-out; }
body.page-app .stg-types a:hover { background: var(--cl-bg); }
body.page-app .stg-types a[aria-current] { background: var(--cl-side); }
body.page-app .stg-type-name { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
body.page-app .stg-type-name small { font-size: .74rem; color: var(--cl-3); }
body.page-app .stg-type-num { font-variant-numeric: tabular-nums; font-size: .86rem; color: #3D3A35; }
body.page-app .stg-plan-link { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: .35rem; justify-self: start; padding-top: 1rem; border-top: 1px solid var(--cl-line); width: 100%; color: var(--cl-2); font-size: .84rem; text-decoration: none; }
body.page-app .stg-plan-link:hover { color: var(--cl-ink); }
body.page-app .stg-dot { flex: none; display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
body.page-app .stg-c-products { background: #1F1F1F; } body.page-app .stg-c-categories { background: #111111; }
body.page-app .stg-c-site { background: #6B8F71; } body.page-app .stg-c-social { background: #D4A24C; }
body.page-app .stg-c-social_thumbs { background: #B98A3E; } body.page-app .stg-c-logos { background: #B5655B; }
body.page-app .stg-c-quotes { background: #5F7FA3; } body.page-app .stg-c-profile { background: #A39E95; }
body.page-app .stg-files { display: flex; flex-direction: column; gap: 1rem; }
body.page-app .stg-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; }
body.page-app .stg-sorts { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; }
body.page-app .stg-sorts .form-select { width: auto; min-width: 150px; height: 36px; min-height: 0; padding-top: .3rem; padding-bottom: .3rem; border-radius: 999px; border-color: var(--cl-field); background-color: #fff; font-size: .84rem; }
body.page-app .stg-sorts .form-select:focus { border-color: var(--cl-acc); box-shadow: 0 0 0 3px rgba(17,17,17, .12); }
body.page-app .stg-selbar { position: sticky; top: calc(var(--topbar-h, 64px) + 8px); z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; padding: .5rem .85rem; border: 1px solid transparent; border-radius: 12px; background: var(--cl-bg); font-size: .84rem; transition: background-color 160ms ease-out, box-shadow 160ms ease-out; }
body.page-app .stg-selbar.is-active { background: #fff; border-color: var(--cl-line); box-shadow: 0 8px 24px rgba(17, 17, 17, .06); }
body.page-app .stg-check-all { display: inline-flex; align-items: center; gap: .45rem; cursor: pointer; color: var(--cl-2); }
body.page-app .stg-sel-info { font-weight: 500; }
body.page-app .stg-sel-actions { display: inline-flex; flex-wrap: wrap; gap: .4rem; margin-left: auto; }
body.page-app .stg-sel-actions[hidden], body.page-app .stg-sel-info[hidden] { display: none; }
body.page-app .stg-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .85rem; }
body.page-app .stg-file { position: relative; display: flex; flex-direction: column; border: 1px solid var(--cl-line); border-radius: 16px; background: #fff; overflow: hidden; transition: box-shadow 160ms ease-out, border-color 160ms ease-out; }
body.page-app .stg-file:hover { border-color: #DCD8CF; }
body.page-app .stg-file.is-picked { border-color: var(--cl-ink); box-shadow: 0 0 0 1px var(--cl-ink); }
body.page-app .stg-pick { position: absolute; top: 8px; left: 8px; z-index: 2; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: rgba(255, 255, 255, .94); box-shadow: 0 1px 3px rgba(17, 17, 17, .12); cursor: pointer; }
body.page-app .stg-pick .form-check-input { margin: 0; cursor: pointer; }
body.page-app .stg-pick .form-check-input:checked { background-color: var(--cl-ink); border-color: var(--cl-ink); }
body.page-app .stg-thumb { position: relative; display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; background: var(--cl-side); cursor: zoom-in; }
body.page-app .stg-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease-out; }
body.page-app .stg-file:hover .stg-thumb img { transform: scale(1.03); }
body.page-app .stg-size { position: absolute; left: 8px; bottom: 8px; padding: .1rem .5rem; border-radius: 999px; background: rgba(17, 17, 17, .72); color: #fff; font-size: .7rem; font-variant-numeric: tabular-nums; }
body.page-app .stg-meta { display: flex; flex-direction: column; gap: .15rem; min-width: 0; padding: .6rem .75rem .75rem; font-size: .84rem; }
body.page-app .stg-meta strong { font-weight: 500; color: var(--cl-ink); }
body.page-app .stg-meta small { font-size: .74rem; color: var(--cl-3); }
body.page-app .stg-use { display: inline-flex; align-items: center; gap: .3rem; min-width: 0; margin-top: .25rem; font-size: .74rem; color: #3D3A35; }
body.page-app .stg-use.is-free { color: #1E7A45; }
body.page-app .stg-pages { display: flex; align-items: center; justify-content: center; gap: .9rem; font-size: .84rem; color: var(--cl-2); }
@media (max-width: 767.98px) { body.page-app .stg-sum { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) {
  body.page-app .stg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  body.page-app .stg-big strong { font-size: 1.9rem; }
  body.page-app .stg-sorts { width: 100%; }
  body.page-app .stg-sorts .form-select { flex: 1; min-width: 0; }
}
/* Visor (mismo componente de v2.30, con el estilo nuevo) */
.st-viewer { background: rgba(17, 17, 17, .9); }
.st-v-side { background: #FAF9F6; }
.st-v-close { background: #fff; box-shadow: 0 0 0 1px #E3E1DB; }
.st-v-title { font-weight: 500; letter-spacing: -.01em; }
.st-v-use { background: #fff; border: 1px solid #ECEAE4; }
.st-v-use .is-free { color: #1E7A45; }

/* ==================== Invita y gana (rf) ==================== */
body.page-app .rf { max-width: none; margin: 0; }
body.page-app .rf-reward { display: flex; align-items: center; gap: .9rem; padding: .9rem 1rem .9rem 1.1rem; border-radius: 16px; background: var(--cl-ink); color: #fff; }
body.page-app .rf-reward-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .1); color: var(--cl-acc); font-size: 1.15rem; }
body.page-app .rf-reward-text { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
body.page-app .rf-reward-text strong { font-weight: 500; }
body.page-app .rf-reward-text small { font-size: .78rem; color: rgba(255, 255, 255, .65); }
body.page-app .rf-reward form { margin: 0; }
body.page-app .rf-reward-btn { min-height: 40px; padding: 0 1.1rem; border-radius: 999px; background: #fff; color: var(--cl-ink); font-weight: 500; }
body.page-app .rf-reward-btn:hover { background: var(--cl-acc-soft); color: var(--cl-ink); }
body.page-app .rf-note { display: flex; align-items: center; gap: .6rem; padding: .75rem 1rem; border-radius: 14px; background: var(--cl-acc-soft); color: var(--cl-ink); font-size: .88rem; text-decoration: none; }
body.page-app .rf-note > .bi:first-child { color: var(--cl-acc); }
body.page-app .rf-note:hover { color: var(--cl-ink); background: #FFE8D6; }
body.page-app .rf-note-go { margin-left: auto; font-weight: 500; white-space: nowrap; }
/* Trato: tú ganas + tu invitado recibe */
body.page-app .rf-hero { display: grid; gap: 1.5rem; padding: 1.5rem; }
body.page-app .rf-deal { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: .75rem; }
body.page-app .rf-deal-tile { display: grid; align-content: start; gap: .2rem; padding: 1.1rem 1.15rem; border-radius: 16px; background: var(--cl-bg); }
body.page-app .rf-deal-tile.is-you { background: var(--cl-acc-soft); }
body.page-app .rf-deal-ic { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: .45rem; border-radius: 10px; background: #fff; color: var(--cl-ink); font-size: 1rem; }
body.page-app .rf-deal-tile.is-you .rf-deal-ic { color: var(--cl-acc); }
body.page-app .rf-deal-k { font-size: .76rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--cl-3); }
body.page-app .rf-deal-tile.is-you .rf-deal-k { color: var(--cl-acc-ink); }
body.page-app .rf-deal-tile strong { font-size: 1.2rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.25; color: var(--cl-ink); }
body.page-app .rf-deal-tile small { font-size: .8rem; color: var(--cl-2); }
body.page-app .rf-deal-plus { align-self: center; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--cl-line); color: var(--cl-3); font-size: .8rem; }
body.page-app .rf-share { display: grid; gap: .5rem; margin: 0; }
body.page-app .rf-share-label { font-size: .84rem; font-weight: 500; color: var(--cl-ink); }
body.page-app .rf-share-label span { font-weight: 400; color: var(--cl-3); }
body.page-app .rf-share .form-control { min-height: 46px; border-radius: 10px; border-color: var(--cl-field); font-size: .95rem; }
body.page-app .rf-share .form-control:focus { border-color: var(--cl-acc); box-shadow: 0 0 0 3px rgba(17,17,17, .12); }
body.page-app .rf-share .invalid-feedback { margin-top: 0; }
body.page-app .rf-share-btns { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .35rem; }
body.page-app .rf-share-btns .hx-btn { min-height: 46px; }
body.page-app .rf-share-btns .hx-pill-btn { min-height: 46px; }
body.page-app .rf-fine { display: flex; align-items: center; gap: .35rem; margin: .15rem 0 0; font-size: .78rem; color: var(--cl-3); }
/* Invitación lista */
body.page-app .rf-ticket { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; align-items: center; position: relative; overflow: hidden; }
body.page-app .rf-ticket::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--cl-acc); }
body.page-app .rf-ticket.is-fresh { animation: hx-in .45s ease-out; box-shadow: 0 0 0 3px rgba(17,17,17, .12); }
body.page-app .rf-ticket-main { min-width: 0; display: grid; gap: .4rem; }
body.page-app .rf-ticket-code { margin: .1rem 0 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 600; letter-spacing: .06em; color: var(--cl-ink); }
body.page-app .rf-ticket-url { margin: 0; font-size: .84rem; color: var(--cl-2); }
body.page-app .rf-ticket-btns { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: .4rem; }
body.page-app .rf-ticket-qr { display: grid; justify-items: center; gap: .4rem; padding: .85rem; border-radius: 16px; background: var(--cl-bg); }
body.page-app .rf-ticket-qr canvas { width: 132px; height: 132px; border-radius: 8px; background: #fff; }
body.page-app .rf-ticket-qr small { font-size: .72rem; color: var(--cl-3); }
body.page-app .rf-qr-dl { display: inline-flex; align-items: center; gap: .3rem; height: 30px; padding: 0 .75rem; border: 0; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--cl-field); color: var(--cl-ink); font-size: .78rem; }
body.page-app .rf-qr-dl:hover { box-shadow: 0 0 0 1px #CFCAC0; }
/* Lista de invitaciones */
body.page-app .rf-invites { display: flex; flex-direction: column; gap: .9rem; }
body.page-app .rf-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; padding: 0; border: 0; }
body.page-app .rf-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--cl-line); border-radius: var(--cl-r-card, 20px); background: #fff; overflow: hidden; }
body.page-app .rf-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.5fr) 6.5rem auto; align-items: center; gap: 1rem; padding: .9rem 1.15rem; border: 0; font-size: .86rem; }
body.page-app .rf-row + .rf-row { border-top: 1px solid var(--cl-line); }
body.page-app .rf-row[hidden] { display: none; }
body.page-app .rf-row.is-fresh { background: #FFFCF8; border-radius: 0; animation: hx-in .4s ease-out; }
body.page-app .rf-row-main { display: grid; min-width: 0; line-height: 1.3; }
body.page-app .rf-code { font-size: .86rem; font-weight: 600; letter-spacing: .04em; color: var(--cl-ink); }
body.page-app .rf-row.is-done .rf-code { color: var(--cl-3); font-weight: 500; }
body.page-app .rf-who { font-size: .8rem; color: var(--cl-2); }
body.page-app .rf-progress { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; min-width: 0; }
body.page-app .rf-steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 3px; width: 100%; max-width: 220px; }
body.page-app .rf-steps li { flex: 1; display: grid; gap: .2rem; font-size: .66rem; color: var(--cl-3); }
body.page-app .rf-steps li::before { content: ""; height: 4px; border-radius: 999px; background: var(--cl-side); }
body.page-app .rf-steps li.is-done::before { background: var(--cl-acc); }
body.page-app .rf-steps li.is-done { color: var(--cl-ink); }
body.page-app .rf-progress.is-review .rf-steps li.is-done::before { background: #D4A24C; }
body.page-app .rf-progress .ref-pill { font-weight: 500; }
body.page-app .rf-when { font-size: .78rem; color: var(--cl-3); white-space: nowrap; text-align: left; }
body.page-app .rf-actions { display: flex; justify-content: flex-end; align-items: center; gap: .15rem; }
body.page-app .rf-actions form { margin: 0; }
body.page-app .rf-ic { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--cl-2); font-size: .95rem; text-decoration: none; transition: background-color 160ms ease-out, color 160ms ease-out; }
body.page-app .rf-ic:hover { background: var(--cl-hover); color: var(--cl-ink); }
body.page-app .rf-ic.is-wa { color: #1E8E4E; }
body.page-app .rf-ic.is-muted { color: var(--cl-3); font-size: .78rem; }
/* Cómo funciona */
body.page-app .rf-how { display: flex; flex-direction: column; gap: .9rem; font-size: inherit; color: inherit; }
body.page-app .rf-how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
body.page-app .rf-how-steps li { display: grid; align-content: start; gap: .3rem; padding: 1.1rem; border: 1px solid var(--cl-line); border-radius: 16px; background: #fff; }
body.page-app .rf-how-n { display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: .3rem; border-radius: 50%; background: var(--cl-acc-soft); color: var(--cl-acc-ink); font-size: .8rem; font-weight: 600; }
body.page-app .rf-how-steps strong { font-size: .95rem; font-weight: 500; color: var(--cl-ink); }
body.page-app .rf-how-steps p { margin: 0; font-size: .84rem; line-height: 1.5; color: var(--cl-2); }
body.page-app .rf-terms summary { cursor: pointer; font-size: .84rem; font-weight: 500; color: var(--cl-2); }
body.page-app .rf-terms summary:hover { color: var(--cl-ink); }
body.page-app .rf-terms p { margin: .5rem 0 0; font-size: .8rem; line-height: 1.55; color: var(--cl-3); }
@media (max-width: 767.98px) {
  body.page-app .rf-deal { grid-template-columns: 1fr; }
  body.page-app .rf-deal-plus { justify-self: center; margin: -.6rem 0; position: relative; z-index: 1; }
  body.page-app .rf-ticket { grid-template-columns: 1fr; }
  body.page-app .rf-ticket-qr { grid-template-columns: auto 1fr; justify-items: start; align-items: center; }
  body.page-app .rf-ticket-qr canvas { grid-row: span 2; width: 96px; height: 96px; }
  body.page-app .rf-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "main actions" "prog prog" "when when"; row-gap: .5rem; }
  body.page-app .rf-row-main { grid-area: main; }
  body.page-app .rf-progress { grid-area: prog; }
  body.page-app .rf-steps { max-width: none; }
  body.page-app .rf-when { grid-area: when; }
  body.page-app .rf-actions { grid-area: actions; }
  body.page-app .rf-how-steps { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  body.page-app .hx { gap: 1.25rem; }
  body.page-app .hx-head { align-items: flex-start; }
    body.page-app .hx-card, body.page-app .rf-hero { padding: 1.15rem; }
  body.page-app .rf-share-btns > * { flex: 1 1 100%; }
  body.page-app .rf-reward { flex-wrap: wrap; }
  body.page-app .rf-reward form { width: 100%; }
  body.page-app .rf-reward-btn { width: 100%; }
}
/* ---------- Aprovechar el ancho en pantallas grandes ---------- */
@media (min-width: 1200px) {
  body.page-app .notif-group { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 1.5rem; align-items: start; }
  body.page-app .notif-group-title { position: sticky; top: calc(var(--topbar-h, 64px) + 1rem); margin: .9rem 0 0; font-size: .95rem; color: var(--cl-ink); }
  body.page-app .notif-week-label { margin-left: 0; }
  body.page-app .rel-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); column-gap: 2.5rem; }
  body.page-app .rel-card > .rel-head { grid-column: 1; }
  body.page-app .rel-card > .rel-body, body.page-app .rel-card > .rel-more { grid-column: 2; grid-row: 1; align-self: start; }
  body.page-app .rel-card > .rel-more { justify-self: start; margin-top: .4rem; }
  body.page-app .rel-card > .rel-foot, body.page-app .rel-card > .rel-comments { grid-column: 1 / -1; }
  body.page-app .stg-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
}
@media (min-width: 992px) {
  body.page-app .rf-hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 2.5rem; padding: 2rem; }
  body.page-app .rf-share { padding-left: 2.5rem; border-left: 1px solid var(--cl-line); }
  body.page-app .rf-row { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.6fr) 8rem auto; }
}
@keyframes hx-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  body.page-app .notif-week.is-fresh, body.page-app .rf-ticket.is-fresh, body.page-app .rf-row.is-fresh { animation: none; }
  body.page-app .stg-seg, body.page-app .stg-thumb img { transition: none; }
}

/* ==========================================================================
   v2.45 · «Modo Claude» sencillo (reemplaza los estilos de v2.43 y v2.44).
   - Menú lateral: al abrirse con el mouse EMPUJA el contenido (ya no pasa por encima).
   - Módulos del menú (Notificaciones, Novedades, Almacenamiento, Invita y gana, Mi plan): título sin ícono + una frase,
     contenido limpio con líneas finas en lugar de cajas pesadas.
   - Ajustes: solo cuenta y negocio; menú de texto a la izquierda y el ajuste en una columna limpia a la derecha.
   Prefijos: hx (piezas compartidas), set (Ajustes).
   ========================================================================== */

/* ---------- Menú lateral que empuja el contenido ---------- */
@media (min-width: 992px) {
  body.page-app.sidebar-auto .app-shell { grid-template-columns: 68px minmax(0, 1fr); transition: grid-template-columns 240ms cubic-bezier(.2, .7, .2, 1); }
  body.page-app.sidebar-auto.sidebar-peek .app-shell { grid-template-columns: 256px minmax(0, 1fr); }
  body.page-app.sidebar-auto .sidebar, body.page-app.sidebar-auto.sidebar-peek .sidebar { width: auto; box-shadow: none; transition: none; }
}
@media (min-width: 992px) and (prefers-reduced-motion: reduce) { body.page-app.sidebar-auto .app-shell { transition: none; } }

/* ---------- Piezas compartidas, más livianas ---------- */
body.page-app .hx { max-width: none; margin: 0; padding: 0 0 3rem; gap: 2rem; }
body.page-app .hx-head { padding: 0; border: 0; align-items: flex-end; }
body.page-app .hx-title { font-size: clamp(1.75rem, 2.4vw, 2.2rem); font-weight: 400; letter-spacing: -.035em; }
body.page-app .hx-lead { margin-top: .4rem; font-size: .95rem; color: var(--cl-2); }
body.page-app .hx-page-head { margin-bottom: 2rem; }
body.page-app .hx-section-title { font-size: .95rem; font-weight: 500; }
body.page-app .hx-chip { height: 34px; padding: 0 .9rem; background: transparent; box-shadow: 0 0 0 1px var(--cl-field); color: #3D3A35; font-weight: 400; }
body.page-app .hx-chip:hover { background: #fff; box-shadow: 0 0 0 1px #CFCAC0; }
body.page-app .hx-chip .bi { display: none; }
body.page-app .hx-chip b { background: transparent; color: var(--cl-3); min-width: 0; padding: 0; font-weight: 500; }
body.page-app .hx-chip.is-on { background: var(--cl-ink); box-shadow: 0 0 0 1px var(--cl-ink); color: #fff; }
body.page-app .hx-chip.is-on b { background: transparent; color: rgba(255, 255, 255, .7); }
body.page-app .hx-chips { margin: 0; padding: .1rem; }
body.page-app .hx-empty { border: 0; padding: 3.5rem 1rem; }
body.page-app .hx-empty-ic { background: transparent; box-shadow: 0 0 0 1px var(--cl-line); }

/* ==================== Notificaciones ==================== */
body.page-app .notif-page .hx-chips { margin-top: -1rem; }
body.page-app .notif-weeks, body.page-app .notif-week { gap: 1.75rem; }
body.page-app .notif-group, body.page-app .notif-week-label { max-width: 760px; }
body.page-app .notif-group-title { margin: 0 0 .4rem; padding: 0; font-size: .8rem; font-weight: 500; color: var(--cl-3); }
body.page-app .notif-week-label { margin: 0; padding-top: 1.5rem; }
body.page-app .notif-list { max-width: none; border: 0; border-top: 1px solid var(--cl-line); border-radius: 0; background: transparent; }
body.page-app .notif-list li + li { border-top: 0; }
body.page-app .notif-list li { border-bottom: 1px solid var(--cl-line); }
body.page-app .notif-item { align-items: center; gap: .9rem; padding: .9rem .25rem; border-radius: 0; background: transparent; }
body.page-app a.notif-item:hover { background: transparent; }
body.page-app a.notif-item:hover .notif-body strong { text-decoration: underline; text-decoration-color: #CFCAC0; text-underline-offset: 3px; }
body.page-app .notif-item.is-unread { background: transparent; }
body.page-app .notif-icon { width: 36px; height: 36px; border-radius: 50%; font-size: .95rem; background: var(--cl-side); }
body.page-app .notif-body strong { font-size: .92rem; font-weight: 500; }
body.page-app .notif-item.is-unread .notif-body strong { font-weight: 600; }
body.page-app .notif-text { font-size: .86rem; color: var(--cl-2); -webkit-line-clamp: 1; }
body.page-app .notif-meta { margin-top: .1rem; }
body.page-app .notif-biz { padding: 0; background: none; font-size: .76rem; color: var(--cl-3); }
body.page-app .notif-side { flex: none; display: flex; flex-direction: row; align-items: center; gap: .6rem; padding: 0; }
body.page-app .notif-side time { font-size: .78rem; color: var(--cl-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
body.page-app .notif-dot { width: 7px; height: 7px; margin: 0; }
body.page-app .notif-go { display: none; }
@media (min-width: 1200px) { body.page-app .notif-group { display: block; } }

/* ==================== Novedades ==================== */
body.page-app .rel-page .rel-tl { max-width: 760px; padding-left: 0; gap: 0; border-top: 1px solid var(--cl-line); }
body.page-app .rel-tl::before, body.page-app .rel-tl-dot { display: none; }
body.page-app .rel-tl-item { border-bottom: 1px solid var(--cl-line); }
body.page-app .rel-card, body.page-app .rel-card.is-new { display: block; padding: 1.6rem 0 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; }
body.page-app .rel-tags { gap: .5rem; margin-bottom: .5rem; }
body.page-app .rel-version { height: auto; padding: 0; background: none; box-shadow: none; color: var(--cl-3); font-size: .8rem; font-weight: 500; }
body.page-app .rel-new { height: 22px; padding: 0 .55rem; font-size: .7rem; }
body.page-app .rel-new.is-soft { display: none; }
body.page-app .rel-date { margin-left: 0; font-size: .8rem; color: var(--cl-3); }
body.page-app .rel-date::before { content: "·"; margin-right: .5rem; }
body.page-app .rel-title { font-size: 1.3rem; font-weight: 400; letter-spacing: -.025em; }
body.page-app .rel-summary { margin-top: .35rem; font-size: .93rem; }
body.page-app .rel-body { margin: 1rem 0; padding: 0; background: none; border-radius: 0; }
body.page-app .rel-more { margin: .25rem 0 .9rem; color: var(--cl-2); font-weight: 400; }
body.page-app .rel-foot { padding: .6rem 0 1.25rem; border-top: 0; }
body.page-app .rel-face { height: 32px; padding: 0 .65rem 0 .5rem; background: transparent; box-shadow: none; color: var(--cl-2); }
body.page-app .rel-face:hover { background: var(--cl-hover); box-shadow: none; transform: none; }
body.page-app .rel-face.is-on { background: var(--cl-acc-soft); box-shadow: none; color: var(--cl-acc-ink); }
body.page-app .rel-talk { height: 32px; }
body.page-app .rel-comments { margin: 0 0 1.25rem; padding: 1rem; border: 1px solid var(--cl-line); border-radius: 14px; background: #fff; }
@media (max-width: 575.98px) { body.page-app .rel-comments { margin: 0 0 1rem; } body.page-app .rel-date { width: auto; } }

/* ==================== Almacenamiento ==================== */
body.page-app .stg-sum { padding: 0 0 1.75rem; border: 0; border-bottom: 1px solid var(--cl-line); border-radius: 0; background: transparent; }
body.page-app .stg-sum.is-warn, body.page-app .stg-sum.is-danger, body.page-app .stg-sum.is-full { border-color: var(--cl-line); }
body.page-app .stg-types a { padding: .45rem .5rem; }
body.page-app .stg-plan-link { padding-top: .9rem; }
body.page-app .stg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1.1rem; columns: auto; }
body.page-app .stg-file { display: flex; margin: 0; border: 0; border-radius: 0; background: transparent; overflow: visible; }
body.page-app .stg-file:hover { border: 0; }
body.page-app .stg-thumb { aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--cl-side); }
body.page-app .stg-thumb img { height: 100%; object-fit: cover; }
body.page-app .stg-file.is-picked { box-shadow: none; }
body.page-app .stg-file.is-picked .stg-thumb { box-shadow: 0 0 0 2px var(--cl-ink); }
body.page-app .stg-pick { border-radius: 8px; }
body.page-app .stg-size { left: 8px; right: auto; bottom: 8px; }
body.page-app .stg-meta { padding: .5rem .1rem 0; }
@media (max-width: 575.98px) { body.page-app .stg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; } }

/* ==================== Invita y gana ==================== */
body.page-app .rf-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 2rem 3.5rem; align-items: start; padding: 0 0 2rem; border: 0; border-bottom: 1px solid var(--cl-line); border-radius: 0; background: transparent; }
body.page-app .rf-hero-title { margin: 0; font-size: clamp(1.4rem, 2.3vw, 1.85rem); font-weight: 400; letter-spacing: -.03em; line-height: 1.2; color: var(--cl-ink); }
body.page-app .rf-hero-title span { color: var(--cl-acc-ink); }
body.page-app .rf-hero-sub { margin: .6rem 0 0; font-size: .93rem; line-height: 1.5; color: var(--cl-2); }
body.page-app .rf-nums { list-style: none; margin: 1.75rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; }
body.page-app .rf-nums li { display: grid; gap: .1rem; }
body.page-app .rf-nums strong { font-size: 1.6rem; font-weight: 400; letter-spacing: -.03em; line-height: 1; color: var(--cl-ink); font-variant-numeric: tabular-nums; }
body.page-app .rf-nums span { font-size: .78rem; color: var(--cl-3); }
body.page-app .rf-nums li.is-acc strong { color: var(--cl-acc); }
body.page-app .rf-share { padding: 1.25rem; border: 1px solid var(--cl-line); border-radius: 16px; background: #fff; }
body.page-app .rf-share-btns { flex-direction: column; }
body.page-app .rf-share-btns > * { width: 100%; }
body.page-app .rf-reward { border-radius: 14px; }
body.page-app .rf-ticket { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: start; padding: 0 0 2rem; border: 0; border-bottom: 1px solid var(--cl-line); border-radius: 0; background: transparent; overflow: visible; }
body.page-app .rf-ticket::before { display: none; }
body.page-app .rf-ticket.is-fresh { box-shadow: none; }
body.page-app .rf-ticket-qr { background: #fff; border: 1px solid var(--cl-line); }
body.page-app .rf-preview { display: grid; gap: .4rem; margin-top: .75rem; max-width: 520px; }
body.page-app .rf-preview-k { font-size: .74rem; color: var(--cl-3); }
body.page-app .rf-bubble { margin: 0; padding: .7rem .9rem; border-radius: 14px 14px 14px 4px; background: #E7F6E9; color: #1F2A22; font-size: .86rem; line-height: 1.45; }
body.page-app .rf-bubble span { color: #1B6FB5; word-break: break-all; }
body.page-app .rf-list { border: 0; border-top: 1px solid var(--cl-line); border-radius: 0; background: transparent; }
body.page-app .rf-row { padding: .9rem .25rem; border-bottom: 1px solid var(--cl-line); }
body.page-app .rf-row + .rf-row { border-top: 0; }
body.page-app .rf-how-steps li { border: 0; padding: 0; background: transparent; }
@media (max-width: 991.98px) { body.page-app .rf-hero { grid-template-columns: 1fr; } }
@media (max-width: 767.98px) { body.page-app .rf-ticket { grid-template-columns: 1fr; } }

/* ==========================================================================
   v2.46 · Menú lateral como el ejemplo «Syncra» y Ajustes con pestañas y filas (ejemplos del usuario),
   con la paleta modo Claude.
   - Menú: expandido (ícono + texto) o contraído (solo íconos) con el botón « / »; empuja el contenido.
     Contraído: globo oscuro (.sb-tip) y «Ajustes» como tarjeta al lado. Expandido: «Ajustes» se despliega con línea guía.
   - Ajustes: título, pestañas arriba (Perfil · Seguridad · Avisos · Negocio · Equipo) y filas
     (título y descripción a la izquierda, el control a la derecha) dentro de tarjetas blancas.
   ========================================================================== */

/* ---------- Menú lateral ---------- */
body.page-app .sidebar { background: #fff !important; border-right: 1px solid var(--cl-line); }
body.page-app .sidebar-head { position: relative; display: flex; align-items: center; gap: .5rem; height: var(--topbar-h); padding: 0 .75rem 0 1.15rem; border-bottom: 1px solid var(--cl-line); }
body.page-app .sb-toggle { margin-left: auto; width: 30px; height: 30px; place-items: center; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--cl-3); font-size: .85rem; transition: background-color 160ms ease-out, color 160ms ease-out; }
body.page-app .sb-toggle:hover { background: var(--cl-hover); color: var(--cl-ink); }
body.page-app .sidebar-nav { display: flex; flex-direction: column; gap: 2px; padding: .75rem .7rem 1rem; }
body.page-app .side-label { display: flex; align-items: center; gap: .4rem; margin: 1.1rem .65rem .35rem; font-size: .72rem; font-weight: 500; color: var(--cl-3); }
body.page-app .side-label .side-count { margin-left: auto; font-size: .7rem; color: var(--cl-3); }
body.page-app .side-link { display: flex; align-items: center; gap: .7rem; min-height: 36px; padding: .4rem .65rem; border: 0; border-radius: 8px; background: transparent; color: #3D3A35; font-size: .88rem; font-weight: 400; text-align: left; text-decoration: none; transition: background-color 160ms ease-out, color 160ms ease-out; }
body.page-app .side-link > .ic { flex: none; width: 1.1rem; height: 1.1rem; color: var(--cl-2); }
body.page-app .side-link:hover { background: var(--cl-hover); color: var(--cl-ink); }
body.page-app .side-link.is-active { background: #EFEDE8; color: var(--cl-ink); font-weight: 500; }
body.page-app .side-link.is-active > .ic { color: var(--cl-ink); }
body.page-app .side-link .side-logo { width: 20px; height: 20px; border-radius: 6px; }
body.page-app .side-meta { margin-left: auto; font-size: .72rem; color: var(--cl-3); font-variant-numeric: tabular-nums; }
body.page-app .side-link.is-warn .side-meta { color: #9A5B00; }
body.page-app .side-link.is-danger .side-meta { color: #B42318; }
/* «Ajustes» desplegable */
body.page-app .side-sub-toggle { width: 100%; }
body.page-app .side-sub-caret { margin-left: auto; font-size: .7rem; color: var(--cl-3); transition: transform 200ms ease-out; }
body.page-app .side-sub.is-open .side-sub-caret { transform: rotate(180deg); }
body.page-app .side-sub-list { display: none; flex-direction: column; gap: 2px; margin: 2px 0 6px 1.2rem; padding-left: .7rem; border-left: 1px solid var(--cl-line); }
body.page-app .side-sub.is-open .side-sub-list { display: flex; }
body.page-app .side-sub-link { display: flex; align-items: center; gap: .6rem; min-height: 34px; padding: .35rem .6rem; border-radius: 8px; color: #3D3A35; font-size: .86rem; text-decoration: none; white-space: nowrap; transition: background-color 160ms ease-out; }
body.page-app .side-sub-link .bi { font-size: .95rem; color: var(--cl-3); }
body.page-app .side-sub-link:hover { background: var(--cl-hover); color: var(--cl-ink); }
body.page-app .side-sub-link.is-active { background: #EFEDE8; color: var(--cl-ink); font-weight: 500; }
body.page-app .side-sub-link.is-active .bi { color: var(--cl-ink); }
/* Pie */
body.page-app .sidebar-foot { padding: .6rem .7rem .9rem; border-top: 1px solid var(--cl-line); }
/* Globo (menú contraído) */
.sb-tip { position: fixed; z-index: 1090; padding: .32rem .6rem; border-radius: 6px; background: #2B2A27; color: #fff; font-size: .76rem; font-weight: 500; line-height: 1.2; white-space: nowrap; pointer-events: none; box-shadow: 0 4px 14px rgba(17, 17, 17, .18); }
.sb-tip[hidden] { display: none; }

@media (min-width: 992px) {
  body.page-app { --sidebar-w: 248px; }
  body.page-app.sidebar-mini { --sidebar-w: 72px; }
  body.page-app .app-shell { grid-template-columns: var(--sidebar-w) minmax(0, 1fr); transition: grid-template-columns 220ms cubic-bezier(.2, .7, .2, 1); }
  body.page-app .sidebar { position: sticky; top: 0; z-index: 1030; height: 100vh; width: auto; overflow: visible; }
  body.page-app .sidebar-nav { overflow-y: auto; scrollbar-width: none; }
  body.page-app .sidebar-nav::-webkit-scrollbar { display: none; }
  /* Contraído */
  body.page-app.sidebar-mini .sidebar-head { justify-content: center; padding: 0; }
  body.page-app.sidebar-mini .sb-toggle { position: absolute; top: 50%; right: -13px; z-index: 5; width: 26px; height: 26px; margin: -13px 0 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--cl-line), 0 2px 6px rgba(17, 17, 17, .06); font-size: .72rem; }
  body.page-app.sidebar-mini .sidebar-nav { align-items: center; padding: .75rem .5rem 1rem; }
  body.page-app.sidebar-mini .side-label { width: 28px; height: 1px; margin: .7rem auto; padding: 0; overflow: hidden; background: var(--cl-line); font-size: 0; }
  body.page-app.sidebar-mini .side-link { justify-content: center; width: 40px; min-height: 40px; padding: 0; gap: 0; }
  body.page-app.sidebar-mini .side-link > span:not(.side-logo), body.page-app.sidebar-mini .side-meta, body.page-app.sidebar-mini .side-sub-caret, body.page-app.sidebar-mini .side-link > .badge-soft { display: none; }
  body.page-app.sidebar-mini .side-sub { position: relative; }
  body.page-app.sidebar-mini .side-sub-list { display: none; }
  body.page-app.sidebar-mini .side-sub.is-fly .side-sub-list { display: flex; position: fixed; z-index: 1085; min-width: 210px; margin: 0; padding: .45rem; border: 1px solid var(--cl-line); border-radius: 12px; background: #fff; box-shadow: 0 12px 32px rgba(17, 17, 17, .1); }
  body.page-app.sidebar-mini .sidebar-foot { display: flex; flex-direction: column; align-items: center; padding: .6rem .5rem .9rem; }
  body.page-app.sidebar-mini .side-plan { width: 40px !important; }
}
@media (min-width: 992px) and (prefers-reduced-motion: reduce) { body.page-app .app-shell { transition: none; } }

/* ---------- Ajustes ---------- */
body.page-app .set { width: 100%; max-width: 1120px; margin: 0 auto; }
@media (min-width: 992px) { body.page-app .set { padding: 2.25rem 2rem 4rem; } }
body.page-app .set-title { margin: 0 0 1.1rem; font-size: clamp(1.6rem, 2.2vw, 2rem); font-weight: 400; letter-spacing: -.03em; color: var(--cl-ink); }
body.page-app .set-tabs-bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; border-bottom: 1px solid var(--cl-line); }
body.page-app .set-tabs { display: flex; gap: 1.75rem; min-width: 0; overflow-x: auto; scrollbar-width: none; }
body.page-app .set-tabs::-webkit-scrollbar { display: none; }
body.page-app .set-tab { flex: none; margin-bottom: -1px; padding: .55rem 0 .75rem; border-bottom: 2px solid transparent; color: var(--cl-2); font-size: .92rem; text-decoration: none; white-space: nowrap; transition: color 160ms ease-out, border-color 160ms ease-out; }
body.page-app .set-tab:hover { color: var(--cl-ink); }
body.page-app .set-tab.is-active { border-bottom-color: var(--cl-ink); color: var(--cl-ink); font-weight: 500; }
body.page-app .set-biz-switch { flex: none; width: auto; min-width: 200px; margin-bottom: .5rem; border-radius: 10px; border-color: var(--cl-field); font-size: .86rem; }
body.page-app .set-body { display: flex; flex-direction: column; gap: 1.25rem; }
body.page-app .set-body > .hx-head, body.page-app .set .set-stack > .hx-head { margin: 0; }
body.page-app .set-body .hx-title { font-size: 1.2rem; font-weight: 500; letter-spacing: -.015em; }
body.page-app .set-body .hx-lead { margin-top: .2rem; font-size: .88rem; }
body.page-app .set .set-stack { display: flex; flex-direction: column; gap: 1.25rem; }

/* Filas (Perfil, Seguridad): una tarjeta blanca, cada fila con título a la izquierda y el control a la derecha */
body.page-app .set .settings { display: block; padding: 0 1.5rem; border: 1px solid var(--cl-line); border-radius: 16px; background: #fff; }
body.page-app .set .settings > .panel { display: grid; grid-template-columns: 1fr; gap: .9rem; margin: 0; padding: 1.5rem 0; border: 0; border-top: 1px solid var(--cl-line); border-radius: 0; background: transparent; box-shadow: none; }
body.page-app .set .settings > .panel:first-child, body.page-app .set .settings > .sec-summary + .panel { border-top: 0; }
body.page-app .set .sec-summary { display: none; }
@media (min-width: 992px) {
  body.page-app .set .settings > .panel { grid-template-columns: 280px minmax(0, 1fr); column-gap: 3rem; row-gap: .75rem; align-items: start; }
  body.page-app .set .settings > .panel > :first-child { grid-column: 1; grid-row: span 3; }
  body.page-app .set .settings > .panel > :not(:first-child) { grid-column: 2; }
}
body.page-app .set .panel-title { margin: 0 0 .25rem; font-size: .95rem; font-weight: 500; letter-spacing: -.01em; color: var(--cl-ink); }
body.page-app .set .settings-label .text-muted, body.page-app .set .panel .text-muted, body.page-app .set .sec-card-text .text-muted { font-size: .84rem; color: var(--cl-2) !important; }
body.page-app .set .panel-head { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; margin: 0; }
body.page-app .set .sec-card-head { margin: 0; }
body.page-app .set .sec-fold > summary { border-radius: 10px; }
body.page-app .set .photo-editor { display: flex; align-items: center; gap: 1rem; }
body.page-app .set .device-list, body.page-app .set .activity-list { margin: 0; }
body.page-app .set .device-icon { border-radius: 10px; background: var(--cl-side); color: var(--cl-ink); }
body.page-app .set .tfa-state { border-radius: 999px; font-weight: 500; }

/* Avisos: la tabla en una tarjeta */
body.page-app .set .notif-prefs { margin: 0; padding: 0; border: 1px solid var(--cl-line); border-radius: 16px; background: #fff; box-shadow: none; overflow: hidden; }
body.page-app .set .notif-pref-text strong { font-weight: 500; }

/* Negocio: cada sección es una tarjeta con su título a la izquierda y sus campos a la derecha */
body.page-app .set .edit-back { display: none !important; }
body.page-app .set .edit-section, body.page-app .set .danger-zone { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin: 0; padding: 1.5rem; border: 1px solid var(--cl-line); border-radius: 16px; background: #fff; box-shadow: none; scroll-margin-top: calc(var(--topbar-h, 64px) + 1rem); }
body.page-app .set [data-edit-section][hidden] { display: grid; }
@media (min-width: 992px) {
  body.page-app .set .edit-section, body.page-app .set .danger-zone { grid-template-columns: 280px minmax(0, 1fr); column-gap: 3rem; align-items: start; }
}
body.page-app .set .edit-section-head { display: block; margin: 0; }
body.page-app .set .edit-section-icon { display: none; }
body.page-app .set .edit-section-head .panel-title, body.page-app .set #danger-title { margin: 0 0 .3rem; font-size: 1rem; font-weight: 500; letter-spacing: -.01em; color: var(--cl-ink); }
body.page-app .set .edit-section-head .text-muted, body.page-app .set .danger-zone .text-muted { font-size: .84rem; line-height: 1.5; color: var(--cl-2) !important; }
body.page-app .set .edit-dirty { display: inline-flex; margin-top: .6rem; padding: .1rem .55rem; border-radius: 999px; background: var(--cl-acc-soft); color: var(--cl-acc-ink); font-size: .72rem; font-weight: 500; }
body.page-app .set .edit-dirty[hidden] { display: none; }
body.page-app .set .edit-section > form { min-width: 0; margin: 0; }
body.page-app .set .danger-zone { border-color: #F4C7C3; }
body.page-app .set .danger-zone > :last-child { justify-self: start; }
/* Campos */
body.page-app .set .form-label, body.page-app .set legend.form-label { margin-bottom: .4rem; font-size: .86rem; font-weight: 500; color: var(--cl-ink); }
body.page-app .set .field { margin-bottom: 1.25rem; }
body.page-app .set .form-control, body.page-app .set .form-select { min-height: 44px; border-radius: 10px; border-color: var(--cl-field); background-color: #fff; font-size: .94rem; }
body.page-app .set textarea.form-control { min-height: 96px; }
body.page-app .set .form-control:focus, body.page-app .set .form-select:focus { border-color: var(--cl-acc); box-shadow: 0 0 0 3px rgba(17,17,17, .12); }
body.page-app .set .input-group-text { border-color: var(--cl-field); background: var(--cl-bg); color: var(--cl-2); }
body.page-app .set .field-hint { font-size: .8rem; color: var(--cl-3); }
body.page-app .set .cat-current { min-height: 44px; border-radius: 10px; border-color: var(--cl-field); }
body.page-app .set .edit-ig-card { display: flex; align-items: center; gap: 1rem; margin: 0 0 1.25rem; padding: .9rem 1rem; border-radius: 12px; background: var(--cl-bg); }
body.page-app .set .edit-ig-card > .min-w-0 { flex: 1; }
body.page-app .set .edit-ig-card strong { font-weight: 500; }
body.page-app .set .edit-ig-card span { font-size: .84rem; color: var(--cl-2); }
body.page-app .set .edit-ig-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: #fff; display: grid; place-items: center; flex: none; }
body.page-app .set .edit-actions { display: flex; justify-content: flex-end; gap: .5rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--cl-line); }
body.page-app .set .edit-actions [data-edit-save] { min-width: 150px; min-height: 40px; border-radius: 10px; font-weight: 500; }
body.page-app .set .ck-opt { border-color: var(--cl-field); border-radius: 12px; }
body.page-app .set .seo-preview { border: 1px solid var(--cl-line); border-radius: 12px; background: var(--cl-bg); }
@media (max-width: 575.98px) {
  body.page-app .set .settings { padding: 0 1rem; }
  body.page-app .set .edit-section, body.page-app .set .danger-zone { padding: 1.1rem; }
  body.page-app .set-tabs { gap: 1.25rem; }
  body.page-app .set-tabs-bar { flex-direction: column-reverse; align-items: stretch; }
  body.page-app .set-biz-switch { width: 100%; }
  body.page-app .set .edit-actions [data-edit-save] { flex: 1; }
}

/* ==========================================================================
   v2.47 · Menú lateral cerrado que se abre con el mouse (empuja el contenido) y
   Notificaciones / Novedades a todo el ancho: contenido a la izquierda y panel útil a la derecha.
   Prefijos: nx (panel de notificaciones y tarjetas laterales), rx (novedades).
   ========================================================================== */

/* ---------- Menú: cerrado, se abre con el mouse ---------- */
@media (min-width: 992px) {
  body.page-app.sidebar-auto .sidebar { overflow-x: hidden; }
  body.page-app.sidebar-auto .sb-toggle { display: none !important; }
}

/* ---------- Estructura de dos columnas ---------- */
body.page-app .nx-layout, body.page-app .rx-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem; align-items: start; }
body.page-app .nx-side, body.page-app .rx-side { display: none; }
@media (min-width: 992px) {
  body.page-app .nx-layout, body.page-app .rx-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 2.5rem; }
  body.page-app .nx-side, body.page-app .rx-side { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: calc(var(--topbar-h, 64px) + 1.5rem); }
  body.page-app .nx-chips { display: none; }
}
body.page-app .nx-main { display: flex; flex-direction: column; gap: 1.5rem; min-width: 0; }
body.page-app .nx-card { display: block; padding: 1.1rem 1.2rem; border: 1px solid var(--cl-line); border-radius: 16px; background: #fff; }
body.page-app .nx-k { margin: 0 0 .55rem; font-size: .78rem; font-weight: 500; color: var(--cl-3); }
body.page-app .nx-big { display: flex; align-items: baseline; gap: .45rem; margin: 0; }
body.page-app .nx-big strong { font-size: 2.2rem; font-weight: 400; letter-spacing: -.04em; line-height: 1; color: var(--cl-ink); font-variant-numeric: tabular-nums; }
body.page-app .nx-big span { font-size: .92rem; color: var(--cl-2); }
body.page-app .nx-sub { margin: .45rem 0 0; font-size: .82rem; color: var(--cl-3); }
body.page-app .nx-filters { display: flex; flex-direction: column; gap: 2px; }
body.page-app .nx-filter { display: flex; align-items: center; gap: .6rem; width: 100%; padding: .45rem .55rem; border: 0; border-radius: 8px; background: transparent; color: #3D3A35; font-size: .88rem; text-align: left; transition: background-color 160ms ease-out; }
body.page-app .nx-filter .bi { font-size: .95rem; color: var(--cl-3); }
body.page-app .nx-filter b { margin-left: auto; font-size: .76rem; font-weight: 500; color: var(--cl-3); font-variant-numeric: tabular-nums; }
body.page-app .nx-filter:hover { background: var(--cl-hover); }
body.page-app .nx-filter.is-on { background: #EFEDE8; color: var(--cl-ink); font-weight: 500; }
body.page-app .nx-filter.is-on .bi { color: var(--cl-ink); }
body.page-app .nx-filter[hidden] { display: none; }
body.page-app .nx-link { display: flex; align-items: center; justify-content: space-between; gap: .75rem; color: var(--cl-ink); text-decoration: none; transition: border-color 160ms ease-out; }
body.page-app .nx-link span { display: grid; line-height: 1.3; }
body.page-app .nx-link strong { font-size: .9rem; font-weight: 500; }
body.page-app .nx-link small { font-size: .78rem; color: var(--cl-3); }
body.page-app .nx-link .bi { color: var(--cl-3); transition: transform 160ms ease-out, color 160ms ease-out; }
body.page-app .nx-link:hover { border-color: #DCD8CF; color: var(--cl-ink); }
body.page-app .nx-link:hover .bi { color: var(--cl-ink); transform: translateX(2px); }

/* ---------- Notificaciones: lista en tarjeta blanca a todo el ancho ---------- */
body.page-app .notif-page .notif-weeks, body.page-app .notif-page .notif-week { gap: 1.5rem; }
body.page-app .notif-page .notif-group, body.page-app .notif-page .notif-week-label { max-width: none; }
body.page-app .notif-page .notif-group-title { margin: 0 0 .5rem .2rem; font-size: .82rem; font-weight: 500; color: var(--cl-2); }
body.page-app .notif-page .notif-week-label { margin: .5rem 0 0; padding: 0 .2rem; border: 0; font-size: .74rem; }
body.page-app .notif-page .notif-list { border: 1px solid var(--cl-line); border-radius: 16px; background: #fff; overflow: hidden; }
body.page-app .notif-page .notif-list li { border-bottom: 0; }
body.page-app .notif-page .notif-list li + li { border-top: 1px solid var(--cl-line); }
body.page-app .notif-page .notif-item { align-items: center; gap: 1rem; padding: .95rem 1.25rem; transition: background-color 160ms ease-out; }
body.page-app .notif-page a.notif-item:hover { background: var(--cl-bg); }
body.page-app .notif-page a.notif-item:hover .notif-body strong { text-decoration: none; }
body.page-app .notif-page .notif-item.is-unread { background: #FFFCF8; }
body.page-app .notif-page .notif-icon { width: 40px; height: 40px; font-size: 1rem; }
body.page-app .notif-page .notif-text { -webkit-line-clamp: 1; }
body.page-app .notif-page .notif-side { gap: .75rem; }
body.page-app .notif-page .nx-empty { border: 1px solid var(--cl-line); border-radius: 16px; background: #fff; }
body.page-app .notif-page .hx-more { justify-content: flex-start; }

/* ---------- Novedades: versiones en tarjetas e índice a la derecha ---------- */
body.page-app .rel-page .rel-tl { max-width: none; display: flex; flex-direction: column; gap: 1rem; padding: 0; border: 0; }
body.page-app .rel-page .rel-tl-item { border: 0; scroll-margin-top: calc(var(--topbar-h, 64px) + 1.5rem); }
body.page-app .rel-page .rel-card { padding: 1.5rem 1.6rem 0; border: 1px solid var(--cl-line); border-radius: 16px; background: #fff; overflow: hidden; }
body.page-app .rel-page .rel-card.is-new { border-color: #F6CDB2; }
body.page-app .rel-page .rel-tags { display: flex; align-items: center; gap: .5rem; margin-bottom: .7rem; }
body.page-app .rel-page .rel-version { display: inline-flex; align-items: center; height: 24px; padding: 0 .6rem; border-radius: 999px; background: var(--cl-side); color: var(--cl-ink); font-size: .74rem; font-weight: 600; }
body.page-app .rel-page .rel-date { margin-left: auto; font-size: .8rem; color: var(--cl-3); }
body.page-app .rel-page .rel-date::before { content: none; }
body.page-app .rel-page .rel-title { font-size: 1.3rem; font-weight: 500; letter-spacing: -.02em; }
body.page-app .rel-page .rel-summary { margin-top: .35rem; font-size: .93rem; color: var(--cl-2); }
body.page-app .rel-page .rel-body { margin: 1.1rem 0; padding: 1rem 1.15rem; border-radius: 12px; background: var(--cl-bg); }
body.page-app .rel-page .rel-more { margin: .3rem 0 1rem; color: var(--cl-ink); font-weight: 500; }
body.page-app .rel-page .rel-foot { padding: .75rem 0; border-top: 1px solid var(--cl-line); }
body.page-app .rel-page .rel-face { background: #fff; box-shadow: 0 0 0 1px var(--cl-field); }
body.page-app .rel-page .rel-face:hover { background: var(--cl-bg); box-shadow: 0 0 0 1px #CFCAC0; }
body.page-app .rel-page .rel-face.is-on { background: var(--cl-acc-soft); box-shadow: 0 0 0 1px rgba(17,17,17, .35); }
body.page-app .rel-page .rel-comments { margin: 0 -1.6rem; padding: 1rem 1.6rem 1.15rem; border: 0; border-top: 1px solid var(--cl-line); border-radius: 0; background: var(--cl-bg); }
@media (min-width: 1200px) {
  body.page-app .rel-page .rel-body ul { columns: 2; column-gap: 2rem; display: block; }
  body.page-app .rel-page .rel-body li { break-inside: avoid; margin-bottom: .4rem; }
}
@media (max-width: 575.98px) {
  body.page-app .rel-page .rel-card { padding: 1.15rem 1.1rem 0; }
  body.page-app .rel-page .rel-comments { margin: 0 -1.1rem; padding: .9rem 1.1rem 1rem; }
}
body.page-app .rx-index { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; max-height: 50vh; overflow-y: auto; scrollbar-width: thin; }
body.page-app .rx-index a { display: flex; align-items: center; gap: .6rem; padding: .45rem .5rem; border-radius: 8px; color: #3D3A35; font-size: .86rem; text-decoration: none; transition: background-color 160ms ease-out; }
body.page-app .rx-index a:hover { background: var(--cl-hover); color: var(--cl-ink); }
body.page-app .rx-index a.is-first { background: #EFEDE8; color: var(--cl-ink); font-weight: 500; }
body.page-app .rx-v { flex: none; min-width: 2.7rem; font-size: .74rem; font-weight: 600; color: var(--cl-3); font-variant-numeric: tabular-nums; }
body.page-app .rx-t { min-width: 0; }
body.page-app .rx-dot { flex: none; width: 7px; height: 7px; margin-left: auto; border-radius: 50%; background: var(--cl-acc); }
body.page-app .rx-help strong { display: block; margin-bottom: .3rem; font-size: .9rem; font-weight: 500; }
body.page-app .rx-help p { margin: 0; font-size: .84rem; line-height: 1.5; color: var(--cl-2); }

/* ==========================================================================
   v2.48 · Almacenamiento: barra e indicadores por tipo en una tarjeta blanca.
   (Las Herramientas del negocio conservan su diseño de círculos.)
   ========================================================================== */

/* ---------- Almacenamiento ---------- */
body.page-app .stg-sum, body.page-app .stg-sum.is-warn, body.page-app .stg-sum.is-danger, body.page-app .stg-sum.is-full { padding: 1.5rem 1.6rem; border: 1px solid var(--cl-line); border-radius: 16px; background: #fff; }
body.page-app .stg-sum.is-warn { border-color: #EBD9A5; }
body.page-app .stg-sum.is-danger, body.page-app .stg-sum.is-full { border-color: #F0C2C2; }
body.page-app .stg-sum .stg-types a:hover { background: var(--cl-bg); }
body.page-app .stg-sum .stg-types a[aria-current] { background: #EFEDE8; }
@media (max-width: 575.98px) { body.page-app .stg-sum { padding: 1.15rem; } }

/* ==========================================================================
   v2.49 · Herramientas del negocio: columna con fondo blanco y círculos en gris cálido (contraste);
   estilo opcional «Lista» (.biz-nav.is-list) elegido en «Editar menú de herramientas».
   ========================================================================== */
@media (min-width: 992px) {
  body.page-app .app-main.biz-page > .biz-nav { background: #fff; border-right: 1px solid var(--cl-line) !important; }
  body.page-app .app-main.biz-page > .biz-nav > .biz-nav-more { background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 28%); }
  /* Círculos: gris cálido sobre blanco; activo en negro */
  body.page-app .app-main.biz-page > .biz-nav:not(.is-list) .biz-nav-icon { background: #F2F0EB; border-color: transparent; color: #2B2A27; }
  body.page-app .app-main.biz-page > .biz-nav:not(.is-list) > .biz-nav-item:hover .biz-nav-icon,
  body.page-app .app-main.biz-page > .biz-nav:not(.is-list) > .biz-nav-more > .biz-nav-item:hover .biz-nav-icon { background: #E8E5DE; border-color: transparent; box-shadow: none; }
  body.page-app .app-main.biz-page > .biz-nav:not(.is-list) > .biz-nav-item.is-active .biz-nav-icon,
  body.page-app .app-main.biz-page > .biz-nav:not(.is-list) > .biz-nav-more > .biz-nav-item.is-active .biz-nav-icon { background: var(--cl-ink); color: #fff; box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px var(--cl-ink); }
  body.page-app .app-main.biz-page > .biz-nav .biz-nav-badge { border-color: #fff; }
  body.page-app .app-main.biz-page > .biz-nav:not(.is-list) > .biz-nav-item.is-locked .biz-nav-icon { background: #F7F6F2 !important; }
  body.page-app .app-main.biz-page > .biz-nav:not(.is-list) .biz-nav-lock { background: #fff; }

}

/* ---------- «Editar menú de herramientas»: elegir el estilo ---------- */
.nav-view { margin: 0 0 1.25rem; padding: 0; border: 0; }
.nav-view-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.nav-view-opt { position: relative; display: flex; align-items: center; gap: .8rem; padding: .8rem .9rem; border: 1px solid #E3E1DB; border-radius: 12px; background: #fff; cursor: pointer; transition: border-color 160ms ease-out, box-shadow 160ms ease-out; }
.nav-view-opt input { position: absolute; opacity: 0; pointer-events: none; }
.nav-view-opt:hover { border-color: #CFCAC0; }
.nav-view-opt:has(input:checked) { border-color: #111; box-shadow: 0 0 0 1px #111; }
.nav-view-opt:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(17,17,17, .25); }
.nav-view-text { display: grid; min-width: 0; line-height: 1.3; }
.nav-view-text strong { font-size: .9rem; font-weight: 500; color: #111; }
.nav-view-text small { font-size: .76rem; color: #8E8A83; }
.nav-view-art { flex: none; display: grid; gap: 4px; width: 46px; padding: 6px; border-radius: 8px; background: #F2F0EB; }
.nav-view-art.is-circles { justify-items: center; }
.nav-view-art.is-circles i { width: 12px; height: 12px; border-radius: 50%; background: #CFCAC0; }
.nav-view-art.is-circles i:first-child { background: #111; }
.nav-view-art.is-list i { height: 6px; border-radius: 3px; background: #CFCAC0; }
.nav-view-art.is-list i:first-child { background: #111; }
@media (max-width: 575.98px) { .nav-view-opts { grid-template-columns: 1fr; } }

/* ---------- v2.49b · Herramientas en «Lista»: filas iguales al menú lateral, siempre desplegadas ---------- */
@media (min-width: 992px) {
  body.page-app .app-main.biz-page:has(> .biz-nav.is-list) { grid-template-columns: 220px minmax(0, 1fr); }
  body.page-app .app-main.biz-page > .biz-nav.is-list { align-items: stretch; gap: 2px !important; padding: 1.25rem .7rem 1rem !important; }
  body.page-app .app-main.biz-page > .biz-nav.is-list .biz-nav-title { align-self: stretch; margin: 0 .65rem .55rem !important; font-size: .72rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--cl-3); text-align: left; }
  body.page-app .app-main.biz-page > .biz-nav.is-list .bl-item {
    position: relative; display: flex !important; flex-direction: row; align-items: center; justify-content: flex-start; gap: .7rem;
    width: 100%; min-width: 0; min-height: 36px; margin: 0; padding: .4rem .65rem !important;
    border: 0; border-radius: 8px; background: transparent; box-shadow: none;
    color: #3D3A35; font: inherit; font-size: .88rem; font-weight: 400; line-height: 1.25; text-align: left; text-decoration: none; white-space: nowrap;
    transition: background-color 160ms ease-out, color 160ms ease-out;
  }
  body.page-app .app-main.biz-page > .biz-nav.is-list .bl-ic { flex: none; width: 1.1rem; height: 1.1rem; font-size: 1.05rem; line-height: 1; color: var(--cl-2); }
  body.page-app .app-main.biz-page > .biz-nav.is-list .bl-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  body.page-app .app-main.biz-page > .biz-nav.is-list .bl-end { flex: none; margin-left: auto; }
  body.page-app .app-main.biz-page > .biz-nav.is-list .bl-badge { min-width: 20px; height: 20px; padding: 0 .4rem; border-radius: 999px; background: #F2F0EB; color: var(--cl-2); font-size: .68rem; font-weight: 600; line-height: 20px; text-align: center; }
  body.page-app .app-main.biz-page > .biz-nav.is-list .bl-badge.is-alert { background: var(--cl-acc-soft); color: var(--cl-acc-ink); }
  body.page-app .app-main.biz-page > .biz-nav.is-list .bl-next { padding: .1rem .45rem; border-radius: 999px; background: var(--cl-acc-soft); color: var(--cl-acc-ink); font-size: .66rem; font-weight: 600; }
  body.page-app .app-main.biz-page > .biz-nav.is-list .bl-soon { font-size: .66rem; color: var(--cl-3); }
  body.page-app .app-main.biz-page > .biz-nav.is-list .bl-lock, body.page-app .app-main.biz-page > .biz-nav.is-list .bl-ext { font-size: .7rem; color: var(--cl-3); }
  body.page-app .app-main.biz-page > .biz-nav.is-list .bl-item:hover { background: #F2F0EB; color: var(--cl-ink); }
  body.page-app .app-main.biz-page > .biz-nav.is-list .bl-item:hover .bl-ic { color: var(--cl-ink); }
  body.page-app .app-main.biz-page > .biz-nav.is-list .bl-item.is-active { background: #EFEDE8; color: var(--cl-ink); font-weight: 500; }
  body.page-app .app-main.biz-page > .biz-nav.is-list .bl-item.is-active .bl-ic { color: var(--cl-ink); }
  body.page-app .app-main.biz-page > .biz-nav.is-list .bl-item.is-locked { cursor: pointer; }
  body.page-app .app-main.biz-page > .biz-nav.is-list .bl-item.is-locked .bl-ic, body.page-app .app-main.biz-page > .biz-nav.is-list .bl-item.is-locked .bl-label { opacity: .45; }
  body.page-app .app-main.biz-page > .biz-nav.is-list .bl-item.is-soon { opacity: .55; cursor: default; }
  body.page-app .app-main.biz-page > .biz-nav.is-list .bl-item.is-next { background: var(--cl-acc-soft); }
  body.page-app .app-main.biz-page > .biz-nav.is-list .bl-item::after, body.page-app .app-main.biz-page > .biz-nav.is-list .bl-item::before { content: none; display: none; }
  body.page-app .app-main.biz-page > .biz-nav.is-list > .biz-nav-more { display: block !important; position: sticky; bottom: 0; width: 100%; margin-top: auto; padding: .6rem 0 0; border-top: 1px solid var(--cl-line); background: #fff; }
}
@media (max-width: 991.98px) {
  /* En celular la lista se muestra como una fila de píldoras deslizable */
  body.page-app .biz-page > .biz-nav.is-list { display: flex; flex-wrap: nowrap; align-items: center; gap: .4rem; overflow-x: auto; scrollbar-width: none; }
  body.page-app .biz-page > .biz-nav.is-list .biz-nav-title { display: none; }
  body.page-app .biz-page > .biz-nav.is-list .bl-item { flex: none; display: inline-flex; align-items: center; gap: .45rem; min-width: 0; padding: .45rem .8rem; border: 1px solid var(--cl-line); border-radius: 999px; background: #fff; color: #3D3A35; font-size: .84rem; white-space: nowrap; text-decoration: none; }
  body.page-app .biz-page > .biz-nav.is-list .bl-item.is-active { background: var(--cl-ink); border-color: var(--cl-ink); color: #fff; }
  body.page-app .biz-page > .biz-nav.is-list .bl-ic { width: 1rem; height: 1rem; font-size: .95rem; }
  body.page-app .biz-page > .biz-nav.is-list .bl-badge { min-width: 18px; height: 18px; padding: 0 .35rem; border-radius: 999px; background: #F2F0EB; font-size: .64rem; font-weight: 600; line-height: 18px; text-align: center; }
  body.page-app .biz-page > .biz-nav.is-list .bl-next, body.page-app .biz-page > .biz-nav.is-list .bl-ext, body.page-app .biz-page > .biz-nav.is-list .bl-soon { display: none; }
  body.page-app .biz-page > .biz-nav.is-list > .biz-nav-more { flex: none; margin: 0; }
}

/* ==========================================================================
   v2.50 · Ajustes: pestañas con el mismo estilo de Productos (prod-subnav: píldoras con ícono).
   ========================================================================== */
body.page-app .set-tabs-bar { align-items: center; border-bottom: 0; margin-bottom: 1.75rem; }
body.page-app .set-tabs-bar .set-subnav { margin: 0; }
body.page-app .set-tabs-bar .set-biz-switch { margin-bottom: 0; }
@media (max-width: 575.98px) { body.page-app .set-tabs-bar .set-subnav { width: 100%; } }

/* ==========================================================================
   v2.51 · Casilla «No soy un robot» (Google reCAPTCHA v2). Solo aparece en producción con claves.
   ========================================================================== */
.rc-field { display: flex; flex-direction: column; align-items: center; gap: .35rem; margin: .25rem 0 1rem; min-height: 78px; }
.rc-field .g-recaptcha { max-width: 100%; }
.rc-field .invalid-feedback { text-align: center; }
.rc-field .invalid-feedback:empty { display: none !important; }
.page-app .rc-field { align-items: flex-start; }
.g-recaptcha-response { display: none !important; }
@media (max-width: 360px) { .rc-field .g-recaptcha { transform: scale(.9); transform-origin: center top; } }
/* v2.52 · reCAPTCHA Enterprise (invisible): sin casilla; aviso corto en lugar del sello flotante de Google. */
.rc-field.is-invisible { min-height: 0; margin: 0 0 .9rem; }
.rc-note { margin: 0; font-size: .74rem; line-height: 1.4; color: #8E8A83; text-align: center; }
.rc-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.rc-note .bi { margin-right: .15rem; }
.page-app .rc-note { text-align: left; }
.grecaptcha-badge { visibility: hidden !important; }
/* v2.53 · Aviso de reCAPTCHA abajo de todo y discreto */
.rc-field.is-invisible { margin: 0; }
.rc-note { margin: 1.25rem 0 0; font-size: .68rem; color: #A39E95; opacity: .85; }
.rc-note .bi { display: none; }

/* ===================== v2.55 · Catálogo proporcional ===================== */
/* «Grandes» (is-c3): 2 · 3 · 4 por fila. «Compactos» (is-c4): 2 · 4 · 5 por fila. Las tarjetas ya no crecen sin control. */
.store-grid.is-c3, .store-grid.is-c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem .85rem; }
@media (min-width: 768px) {
  .store-grid.is-c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem 1.1rem; }
  .store-grid.is-c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem 1rem; }
}
@media (min-width: 1100px) {
  .store-grid.is-c3 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 1.25rem; }
  .store-grid.is-c4 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.75rem 1rem; }
}

/* ===================== v2.55 · Pedido (bolsa) rediseñado ===================== */
body.has-drawer { overflow: hidden; }
.bag { font-family: var(--font-sans); color: var(--ink); line-height: 1.45; }
.bag .store-drawer-backdrop { background: rgba(17, 17, 17, .42); backdrop-filter: blur(2px); }
.bag-panel { width: min(440px, 100%); height: 100%; max-height: 100dvh; border-radius: 20px 0 0 20px; overflow: hidden; box-shadow: -12px 0 40px rgba(17, 17, 17, .16); }
.bag .bag-head h2, .bag .bag-done-title { font-family: var(--font-sans); letter-spacing: -.01em; }
.bag-head { flex: none; padding: .9rem 1rem .75rem 1.25rem; border-bottom: 1px solid var(--line); background: var(--surface); }
.bag-head-row { display: flex; align-items: center; gap: .5rem; }
.bag-head-text { flex: 1; min-width: 0; display: grid; }
.bag .bag-head h2 { margin: 0; font-size: 1.15rem; font-weight: 600; line-height: 1.25; color: var(--ink); }
.bag-head-sub { font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bag-head-sub:empty { display: none; }
.bag-icon { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--sunken); color: var(--ink); font-size: .95rem; cursor: pointer; transition: background .15s; }
.bag-icon:hover { background: var(--line); }
.bag-icon[hidden] { display: none; }
.bag-icon:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.bag-steps { display: flex; gap: .35rem; list-style: none; margin: .75rem 0 0; padding: 0; }
.bag-steps li { flex: 1; display: flex; align-items: center; gap: .4rem; padding-top: .5rem; border-top: 3px solid var(--sunken); font-size: .74rem; color: var(--muted); white-space: nowrap; }
.bag-steps li span { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: var(--sunken); font-size: .66rem; font-weight: 600; color: var(--muted); }
.bag-steps li.is-active { border-top-color: var(--ink); color: var(--ink); font-weight: 500; }
.bag-steps li.is-active span, .bag-steps li.is-done span { background: var(--ink); color: #fff; }
.bag-steps li.is-done { border-top-color: var(--ink); }
/* Cada paso: contenido con scroll + pie fijo (el botón nunca se sale de la pantalla) */
.bag-step { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.bag-step[hidden] { display: none; }
.bag-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: .5rem 1.25rem 1rem; }
.bag-foot { flex: none; display: grid; gap: .55rem; padding: .85rem 1.25rem calc(.9rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--surface); box-shadow: 0 -8px 24px rgba(17, 17, 17, .04); }
.bag-foot[hidden] { display: none; }
.bag-cta { width: 100%; min-height: 50px; font-size: .98rem; font-weight: 600; }
.bag-clear { justify-self: center; padding: .15rem 0; font-size: .82rem; }
.bag-foot-note { margin: 0; text-align: center; font-size: .72rem; color: var(--muted); }
/* Productos */
.bag .bag-list { list-style: none; margin: 0; padding: 0; }
.bag .bag-item { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: .85rem; align-items: start; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.bag .bag-item:last-child { border-bottom: 0; }
.bag .bag-item-media { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--sunken); display: grid; place-items: center; font-weight: 600; color: var(--muted); text-decoration: none; }
.bag .bag-item-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bag .bag-item-body { min-width: 0; display: grid; gap: .1rem; }
.bag-item-top { display: flex; align-items: flex-start; gap: .5rem; }
.bag .bag-item-name { flex: 1; min-width: 0; font-weight: 500; font-size: .9rem; line-height: 1.3; color: var(--ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bag .bag-item-name:hover { text-decoration: underline; text-underline-offset: 2px; }
.bag-item-rm { width: 26px; height: 26px; flex: none; margin: -2px -4px 0 0; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: .72rem; cursor: pointer; }
.bag-item-rm:hover { background: var(--sunken); color: var(--ink); }
.bag .bag-item-variant { font-size: .76rem; color: var(--muted); }
.bag .bag-item-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .45rem; }
.bag .bag-item-price { font-weight: 600; font-size: .9rem; font-variant-numeric: tabular-nums; }
.bag-qty { display: inline-flex; align-items: center; height: 32px; border: 1px solid var(--line-strong, #E2E2E2); border-radius: 999px; background: var(--surface); }
.bag-qty button { width: 32px; height: 100%; display: grid; place-items: center; border: 0; background: transparent; color: var(--ink); border-radius: 999px; font-size: .85rem; cursor: pointer; }
.bag-qty button:hover:not(:disabled) { background: var(--sunken); }
.bag-qty button:disabled { color: var(--faint, #BBB); cursor: not-allowed; }
.bag-qty-val { min-width: 20px; text-align: center; font-size: .86rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.bag .bag-empty { display: grid; justify-items: center; gap: .4rem; text-align: center; padding: 3.5rem 1rem 2rem; color: var(--muted); }
.bag .bag-empty[hidden] { display: none; }
.bag-empty-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--sunken); color: var(--ink); font-size: 1.5rem; margin-bottom: .35rem; }
.bag .bag-empty strong { color: var(--ink); font-weight: 600; }
.bag .bag-empty p { margin: 0 0 .75rem; font-size: .86rem; max-width: 28ch; }
/* Totales */
.bag .bag-totals { display: grid; gap: .2rem; margin: 0; }
.bag .bag-totals:empty { display: none; }
.bag .bag-totals.is-final { padding: 0; background: none; border-radius: 0; margin: 0; }
.bag .bag-total-row { font-size: .84rem; }
.bag .bag-total-row.bag-total { padding-top: .15rem; font-size: .95rem; }
.bag .bag-totals.is-final .bag-total-row.bag-total { border-top: 0; margin-top: 0; }
.bag .bag-total-row.bag-total strong { font-size: 1.1rem; }
.bag .bag-tax { font-size: .72rem; }
/* Datos del cliente */
.bag .bag-form { display: flex; gap: 0; padding: 0; }
.bag-form .bag-scroll { display: grid; gap: .9rem; align-content: start; padding-top: .9rem; }
.bag-sum { border: 1px solid var(--line); border-radius: 14px; background: var(--paper, #FAFAFA); }
.bag-sum summary { display: flex; align-items: center; gap: .6rem; padding: .7rem .9rem; cursor: pointer; list-style: none; font-size: .86rem; }
.bag-sum summary::-webkit-details-marker { display: none; }
.bag-sum summary span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2, #444); }
.bag-sum summary strong { font-variant-numeric: tabular-nums; }
.bag-sum summary .bi { font-size: .75rem; color: var(--muted); transition: transform .2s; }
.bag-sum[open] summary .bi { transform: rotate(180deg); }
.bag-sum-list { list-style: none; margin: 0; padding: 0 .9rem .6rem; display: grid; gap: .45rem; }
.bag-sum-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: .6rem; align-items: center; font-size: .8rem; }
.bag-sum-list .bag-item-media { width: 40px; height: 40px; border-radius: 8px; font-size: .8rem; }
.bag-sum-list span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bag-known { display: flex; align-items: center; gap: .75rem; padding: .8rem .9rem; border-radius: 14px; background: var(--sunken); }
.bag-known[hidden] { display: none; }
.bag-known-avatar { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 600; }
.bag-known-body { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
.bag-known-body strong { font-size: .92rem; font-weight: 600; }
.bag-known-body span { font-size: .78rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bag-known-edit { flex: none; border: 1px solid var(--line-strong, #E2E2E2); background: var(--surface); color: var(--ink); border-radius: 999px; padding: .35rem .8rem; font-size: .8rem; font-weight: 500; cursor: pointer; }
.bag-known-edit:hover { border-color: var(--ink); }
.bag-fields { display: grid; gap: .7rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.bag-fields[hidden] { display: none; }
.bag-group { display: grid; gap: .6rem; }
.bag-lead { margin: 0; padding: 0; font-size: .86rem; font-weight: 600; color: var(--ink); float: none; width: auto; }
.bag .bag-field { display: grid; gap: .25rem; font-size: .8rem; color: var(--ink-2, #444); margin: 0; }
.bag .bag-field[hidden] { display: none; }
.bag .bag-field input, .bag .bag-field textarea { width: 100%; min-height: 46px; border: 1px solid var(--line-strong, #E2E2E2); border-radius: 12px; padding: .6rem .85rem; font: inherit; font-size: 16px; color: var(--ink); background: var(--surface); }
.bag .bag-field textarea { min-height: 70px; resize: vertical; }
.bag .bag-field input:focus, .bag .bag-field textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17, 17, 17, .08); }
.bag .bag-choice { gap: .5rem; }
.bag .bag-choice span { min-height: 44px; border-radius: 12px; font-size: .84rem; }
.bag .bag-choice input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: none; }
.bag .bag-ship-note { margin: 0; }
.bag-note-toggle { justify-self: start; display: inline-flex; align-items: center; gap: .4rem; border: 0; background: none; padding: 0; color: var(--ink); font-size: .84rem; font-weight: 500; cursor: pointer; }
.bag-note-toggle[hidden] { display: none; }
.bag-note-toggle:hover { text-decoration: underline; text-underline-offset: 3px; }
.bag-checks { display: grid; gap: .45rem; }
.bag .bag-check { font-size: .8rem; }
.bag .bag-hint { margin: 0; text-align: left; font-size: .72rem; color: var(--muted); }
.bag .bag-hint a { color: inherit; }
.bag .bag-error { margin: 0; padding: .55rem .75rem; border-radius: 10px; background: #FBEDEC; color: #B3261E; font-size: .82rem; }
.bag .bag-error[hidden] { display: none; }
/* Listo */
.bag .bag-done .bag-scroll { display: grid; justify-items: center; align-content: center; gap: .6rem; text-align: center; padding-top: 2rem; }
.bag .bag-done-title { margin: .25rem 0 0; font-size: 1.35rem; font-weight: 600; }
.bag .bag-done-text { max-width: 32ch; }
/* Celular: pantalla completa, sin bordes redondeados */
@media (max-width: 575.98px) {
  .bag-panel { width: 100%; border-radius: 0; }
  .bag-head { padding: .75rem .9rem .65rem 1rem; }
  .bag-scroll { padding-left: 1rem; padding-right: 1rem; }
  .bag-foot { padding-left: 1rem; padding-right: 1rem; }
}
.bag-foot .bag-totals.is-final { gap: .05rem; }
.bag-foot .bag-totals.is-final .bag-total-row:not(.bag-total) { font-size: .8rem; color: var(--muted); }
@media (max-width: 575.98px) { .bag-foot-note { display: none; } .bag-foot { gap: .45rem; } .bag-steps { margin-top: .55rem; } }

/* ===================== v2.55 · Carritos abandonados (Pedidos) ===================== */
.carts-btn-n { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 .3rem; margin-left: .15rem; border-radius: 999px; background: #E0457B; color: #fff; font-size: .68rem; font-weight: 600; }
.carts-kpis .kpi-value small.carts-rate { font-size: .78rem; font-weight: 500; color: #1E8E4E; }
.carts-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 1.25rem; align-items: start; }
@media (max-width: 1099.98px) { .carts-layout { grid-template-columns: minmax(0, 1fr); } }
.carts-list { display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg, 16px); overflow: hidden; }
.cart-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) 140px auto; gap: 1rem; align-items: center; padding: .95rem 1.1rem; border-bottom: 1px solid var(--line); }
.cart-row:last-child { border-bottom: 0; }
.cart-row.is-contacted { background: color-mix(in srgb, var(--sunken) 45%, transparent); }
.cart-who { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.cart-avatar { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-size: .82rem; font-weight: 600; }
.cart-avatar.is-anon { background: var(--sunken); color: var(--muted); }
.cart-who-text { display: grid; line-height: 1.35; }
.cart-who-text strong { font-weight: 500; font-size: .92rem; }
.cart-who-text small { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; font-size: .76rem; color: var(--muted); }
.cart-who-text small.cart-addr { display: block; }
.cart-items { display: flex; align-items: center; gap: .7rem; }
.cart-thumbs { display: flex; flex: none; }
.cart-thumb { width: 36px; height: 36px; flex: none; display: grid; place-items: center; overflow: hidden; border-radius: 10px; background: var(--sunken); border: 2px solid var(--surface); font-size: .66rem; font-weight: 600; color: var(--muted); }
.cart-thumbs .cart-thumb + .cart-thumb { margin-left: -10px; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-thumb.is-more { background: var(--ink); color: #fff; }
.cart-names { margin: 0; min-width: 0; font-size: .82rem; color: var(--ink-2, #444); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-money { display: grid; justify-items: end; gap: .25rem; text-align: right; }
.cart-money strong { font-weight: 600; font-variant-numeric: tabular-nums; }
.cart-badge { display: inline-flex; align-items: center; gap: .25rem; padding: .12rem .5rem; border-radius: 999px; background: var(--sunken); color: var(--muted); font-size: .7rem; font-weight: 500; white-space: nowrap; text-decoration: none; }
.cart-badge.is-warm { background: #FDF3E1; color: #A15C07; }
.cart-badge.is-info { background: #E8F0FE; color: #1F4E9E; }
.cart-badge.is-ok { background: #E6F4EA; color: #1E8E4E; }
.cart-actions { display: flex; align-items: center; justify-content: flex-end; gap: .35rem; min-width: 132px; }
.cart-actions .btn { white-space: nowrap; }
@media (max-width: 767.98px) {
  .cart-row { grid-template-columns: minmax(0, 1fr) auto; gap: .6rem .75rem; padding: .9rem; }
  .cart-items { grid-column: 1 / -1; order: 3; }
  .cart-money { order: 2; }
  .cart-actions { grid-column: 1 / -1; order: 4; justify-content: flex-start; min-width: 0; }
}
.carts-side { display: grid; gap: 1rem; }
.carts-card { padding: 1rem 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg, 16px); }
.carts-card h3 { margin: 0 0 .75rem; font-size: .95rem; font-weight: 600; }
.carts-muted { margin: .75rem 0 0; font-size: .76rem; color: var(--muted); }
.carts-top { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.carts-top li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: .65rem; align-items: center; }
.carts-top strong { font-weight: 500; font-size: .84rem; }
.carts-top small { font-size: .74rem; color: var(--muted); }
.carts-how { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.carts-how li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: .5rem; font-size: .8rem; color: var(--ink-2, #444); line-height: 1.4; }
.carts-how .bi { font-size: 1rem; color: var(--ink); margin-top: .05rem; }
.carts-empty p { max-width: 46ch; margin-left: auto; margin-right: auto; }
@media (max-width: 575.98px) { .carts-kpis .kpi-value { font-size: 1.1rem; } }
/* v2.56 · Formulario del pedido más corto (con correo) */
.bag-row2 { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: .6rem; }
@media (max-width: 379.98px) { .bag-row2 { grid-template-columns: minmax(0, 1fr); } }
.bag-form .bag-scroll { gap: .75rem; }
.bag-fields { gap: .6rem; }
.bag .bag-field > span:not(.visually-hidden) { font-size: .76rem; color: var(--muted); }
.bag-checks { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; }
.bag-foot-note a { color: inherit; }
.bag .bag-done-text strong { color: var(--ink); font-weight: 500; }
body.has-drawer .store-toast { display: none; }

/* v6.8 · Ficha del producto: datos del servicio (duración, modalidad, cita) y entrega que aplica */
.store-meta-list { display: flex; flex-wrap: wrap; gap: .45rem; margin: .1rem 0 1rem; padding: 0; list-style: none; }
.store-meta-list li { display: inline-flex; align-items: center; gap: .4rem; padding: .38rem .75rem; border-radius: 999px; background: rgba(0, 0, 0, .05); font-size: .84rem; line-height: 1.3; color: inherit; }
.store-meta-list i { font-size: .95rem; opacity: .8; }

/* v6.9 · Botón «Regresar» unificado para todo el sistema: cuadro con flecha + texto «Regresar», minimalista.
 * Uso: <a class="tc-back" href="…" title="Volver a X"><i class="bi bi-arrow-left" aria-hidden="true"></i><span class="tc-back-tx">Regresar<span class="visually-hidden"> a X</span></span></a>
 * Va encima del título del módulo. */
html body .tc-back { display: inline-flex; align-items: center; gap: 10px; width: max-content; margin: 0 0 14px; padding: 0 12px 0 0; border: 0; background: none; color: #6B6B68; font-size: 14px; font-weight: 500; line-height: 1; text-decoration: none; transition: color .15s; }
html body .tc-back > .bi { flex: none; display: grid; place-items: center; width: 36px; height: 36px; margin: 0; border: 1px solid #E3E3E0; border-radius: 10px; background: #fff; color: #111; font-size: 16px; transition: border-color .15s, background-color .15s; }
html body .tc-back:hover { color: #111; }
html body .tc-back:hover > .bi { border-color: #C9C9C6; background: #FAFAF9; }
html body .tc-back:focus-visible { outline: 2px solid #111; outline-offset: 3px; border-radius: 10px; }
/* La flecha se mueve DENTRO del cuadro (antes se movía el cuadro y se cortaba en el borde izquierdo) */
html body .tc-back > .bi::before { display: inline-block; transition: transform .15s; }
html body .tc-back:hover > .bi::before { transform: translateX(-2px); }

/* v6.9 · Botón «Ver más» de las listas (pedidos, clientes) */
html body .tc-loadmore { display: flex; justify-content: center; padding: 16px 0 4px; }
html body .tc-loadmore-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 20px; border: 1px solid #E3E3E0; border-radius: 999px; background: #fff; color: #111; font-size: 14px; font-weight: 500; cursor: pointer; transition: border-color .15s, background-color .15s; }
html body .tc-loadmore-btn span { color: #9A9A96; font-weight: 400; }
html body .tc-loadmore-btn:hover { border-color: #C9C9C6; background: #FAFAF9; }
html body .tc-loadmore-btn:disabled { opacity: .6; cursor: progress; }
html body .tc-loadmore-btn:focus-visible { outline: 2px solid #111; outline-offset: 2px; }

/* v6.9.1 · Listas de Pedidos y Clientes (prefijo lx-): limpias y alineadas, en la línea gráfica de Crear producto.
 * Columnas fijas para que estados y valores queden alineados; datos secundarios en gris separados por puntos. */
html body.page-app .lx-list { margin: 0; padding: 6px; border: 1px solid #ECECEB; border-radius: 16px; background: #fff; }
html body.page-app .lx-row { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr) 150px 120px 14px; align-items: center; gap: 16px; padding: 14px 14px; border-radius: 12px; color: #111; text-decoration: none; transition: background-color .15s; }
html body.page-app .lx-row.is-cus { grid-template-columns: 40px minmax(0, 1fr) auto 120px 14px; }
html body.page-app .lx-row + .lx-row { margin-top: 0; }
html body.page-app .lx-row + .lx-row::after { content: ''; position: absolute; left: 70px; right: 14px; top: 0; height: 1px; background: #F1F1EF; }
html body.page-app .lx-row:hover { background: #F7F7F6; color: #111; }
html body.page-app .lx-row:hover::after, html body.page-app .lx-row:hover + .lx-row::after { opacity: 0; }
html body.page-app .lx-row:focus-visible { outline: 2px solid #111; outline-offset: -2px; }
html body.page-app .lx-row.is-new .lx-av { background: #111; color: #fff; }
html body.page-app .lx-row.is-off { opacity: .5; }
html body.page-app .lx-av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #F1F1EF; color: #44443F; font-size: 13px; font-weight: 600; letter-spacing: .02em; }
html body.page-app .lx-main { display: grid; gap: 2px; min-width: 0; }
html body.page-app .lx-top { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
html body.page-app .lx-top strong { font-size: 14.5px; font-weight: 600; letter-spacing: -.005em; }
html body.page-app .lx-num { flex: none; font-size: 12.5px; color: #9A9A96; font-variant-numeric: tabular-nums; }
html body.page-app .lx-new { flex: none; align-self: center; padding: 2px 8px; border-radius: 999px; background: #F1F1EF; color: #111; font-size: 11px; font-weight: 600; }
html body.page-app .lx-items { display: block; font-size: 13px; color: #44443F; }
html body.page-app .lx-meta { display: flex; flex-wrap: wrap; align-items: center; font-size: 12.5px; line-height: 1.5; color: #8A8A86; }
html body.page-app .lx-meta > span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
html body.page-app .lx-meta > span + span::before { content: '·'; margin: 0 7px; color: #C9C9C6; }
html body.page-app .lx-meta .bi { font-size: 11.5px; }
html body.page-app .lx-meta .is-mute { color: #A3A3A0; }
html body.page-app .lx-due { font-weight: 500; }
html body.page-app .lx-due.is-soon { color: #8A5A00; }
html body.page-app .lx-due.is-late { color: #B42318; }
html body.page-app .lx-note { color: #44443F; }
html body.page-app .lx-state { justify-self: start; min-width: 0; }
html body.page-app .lx-state .ord-badge { white-space: nowrap; }
html body.page-app .lx-money { display: grid; justify-items: end; gap: 2px; text-align: right; }
html body.page-app .lx-money strong { font-size: 14.5px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.005em; }
html body.page-app .lx-pay { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: #8A8A86; }
html body.page-app .lx-pay::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #C9C9C6; }
html body.page-app .is-cus .lx-pay::before { display: none; }
html body.page-app .lx-pay.pay-paid::before { background: #12B76A; }
html body.page-app .lx-pay.pay-unpaid::before { background: #F79009; }
html body.page-app .lx-pay.is-partial::before { background: #2E90FA; }
html body.page-app .lx-bar { display: block; width: 72px; height: 3px; border-radius: 3px; background: #EEEEEC; overflow: hidden; }
html body.page-app .lx-bar > span { display: block; height: 100%; border-radius: 3px; background: #2E90FA; }
html body.page-app .lx-stats { display: grid; grid-template-columns: repeat(3, 92px); }
html body.page-app .lx-stats > span { display: grid; justify-items: end; gap: 1px; padding-left: 12px; text-align: right; }
html body.page-app .lx-stats b { font-size: 13.5px; font-weight: 500; font-variant-numeric: tabular-nums; color: #111; }
html body.page-app .lx-stats small { font-size: 11.5px; color: #A3A3A0; }
html body.page-app .lx-stats .is-late b { color: #B42318; }
html body.page-app .lx-go { color: #D6D6D3; font-size: 12px; transition: color .15s, transform .15s; }
html body.page-app .lx-row:hover .lx-go { color: #111; transform: translateX(2px); }
@media (max-width: 1199.98px) { html body.page-app .lx-stats { grid-template-columns: repeat(2, 92px); } html body.page-app .lx-stats > span:nth-child(2) { display: none; } }
@media (max-width: 991.98px) {
  html body.page-app .lx-stats { display: none; }
  html body.page-app .lx-row, html body.page-app .lx-row.is-cus { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 6px 14px; }
  html body.page-app .lx-row .lx-state { grid-column: 2; grid-row: 2; }
  html body.page-app .lx-row .lx-money { grid-column: 3; grid-row: 1 / span 2; align-self: start; }
  html body.page-app .lx-row .lx-av { grid-row: 1 / span 2; align-self: start; }
  html body.page-app .lx-go { display: none; }
}
@media (max-width: 575.98px) {
  html body.page-app .lx-list { padding: 4px; border-radius: 14px; }
  html body.page-app .lx-row { padding: 12px 10px; }
  html body.page-app .lx-row + .lx-row::after { left: 10px; right: 10px; }
  html body.page-app .lx-av { width: 36px; height: 36px; font-size: 12px; }
}

html body.page-app .lx-row.is-cus { grid-template-columns: 40px minmax(0, 1fr) 120px 14px; }
html body.page-app .lx-meta .is-late { color: #B42318; }
@media (max-width: 991.98px) { html body.page-app .lx-row.is-cus .lx-money { grid-row: 1 / span 2; } }

/* v6.9 · Detalle del cliente (prefijo cdx-): tarjeta de perfil con indicadores, pedidos y lo que más compra a la izquierda,
 * datos y notas a la derecha. Superficies blancas con borde fino, como Crear/Editar producto. */
html body.page-app .cdx { display: grid; gap: 16px; max-width: 1180px; color: #111; }
html body.page-app .cdx > .tc-back { margin: 0; }
html body.page-app .cdx-hero, html body.page-app .cdx-sec { background: #fff; border: 1px solid #ECECEB; border-radius: 16px; min-width: 0; }
html body.page-app .cdx-hero-top { display: flex; align-items: flex-start; gap: 16px; padding: 22px 24px; }
html body.page-app .cdx-av { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #F1F1EF; color: #44443F; font-size: 18px; font-weight: 600; }
html body.page-app .cdx-id { flex: 1; min-width: 0; }
html body.page-app .cdx-name { display: flex; align-items: center; gap: 10px; min-width: 0; }
html body.page-app .cdx-name h1 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; }
html body.page-app .cdx-sub { margin: 3px 0 0; font-size: 13px; color: #8A8A86; }
html body.page-app .cdx-contact { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 0; font-size: 13px; }
html body.page-app .cdx-contact > * { display: inline-flex; align-items: center; gap: 6px; color: #44443F; text-decoration: none; }
html body.page-app .cdx-contact .bi { color: #9A9A96; font-size: 13px; }
html body.page-app .cdx-contact a:hover { color: #111; text-decoration: underline; text-underline-offset: 3px; }
html body.page-app .cdx-actions { flex: none; display: flex; align-items: center; gap: 8px; }
html body.page-app .cdx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 38px; padding: 0 14px; border: 1px solid #E3E3E0; border-radius: 10px; background: #fff; color: #111; font-size: 13.5px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: border-color .15s, background-color .15s; }
html body.page-app .cdx-btn:hover { border-color: #C9C9C6; background: #FAFAF9; color: #111; }
html body.page-app .cdx-btn.is-main { border-color: #111; background: #111; color: #fff; }
html body.page-app .cdx-btn.is-main:hover { background: #2A2A2A; border-color: #2A2A2A; color: #fff; }
html body.page-app .cdx-btn.is-icon { width: 38px; padding: 0; }
html body.page-app .cdx-btn .bi-whatsapp { color: #1DA851; }
html body.page-app .cdx-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: 1px solid #F0F0EE; }
html body.page-app .cdx-kpis > div { padding: 14px 24px; min-width: 0; }
html body.page-app .cdx-kpis > div + div { border-left: 1px solid #F0F0EE; }
html body.page-app .cdx-kpis dt { font-size: 12px; font-weight: 500; color: #8A8A86; }
html body.page-app .cdx-kpis dd { margin: 3px 0 0; font-size: 18px; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

html body.page-app .cdx-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
html body.page-app .cdx-col { display: grid; gap: 16px; min-width: 0; }
html body.page-app .cdx-col.is-side { position: sticky; top: 84px; }
html body.page-app .cdx-sec { padding: 20px 22px; }
html body.page-app .cdx-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 12px; }
html body.page-app .cdx-sec-head h2 { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
html body.page-app .cdx-link { display: inline-flex; align-items: center; gap: 5px; padding: 0; border: 0; background: none; color: #111; font-size: 13px; font-weight: 500; text-decoration: none; cursor: pointer; }
html body.page-app .cdx-link:hover { text-decoration: underline; text-underline-offset: 3px; color: #111; }
html body.page-app .cdx-link .bi { font-size: 12px; }
html body.page-app .cdx .is-mute { color: #A3A3A0; }

html body.page-app .cdx-orders { margin: 0 -10px; padding: 0; list-style: none; }
html body.page-app .cdx-order { display: grid; grid-template-columns: minmax(0, 1fr) auto 110px; align-items: center; gap: 14px; padding: 11px 10px; border-radius: 10px; color: #111; text-decoration: none; transition: background-color .15s; }
html body.page-app .cdx-orders li + li .cdx-order { box-shadow: inset 0 1px 0 #F1F1EF; }
html body.page-app .cdx-order:hover { background: #F7F7F6; box-shadow: none; color: #111; }
html body.page-app .cdx-order.is-off { opacity: .5; }
html body.page-app .cdx-order-main { display: grid; gap: 1px; min-width: 0; }
html body.page-app .cdx-order-main strong { font-size: 14px; font-weight: 600; }
html body.page-app .cdx-order-main small { font-size: 12.5px; color: #8A8A86; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body.page-app .cdx-order-total { text-align: right; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
html body.page-app .cdx-more { margin-top: 6px; }
html body.page-app .cdx-more summary { display: inline-flex; padding: 6px 0; font-size: 13px; font-weight: 500; cursor: pointer; list-style: none; }
html body.page-app .cdx-more summary::-webkit-details-marker { display: none; }
html body.page-app .cdx-empty { display: grid; justify-items: center; gap: 6px; padding: 18px 0 6px; text-align: center; color: #8A8A86; font-size: 13px; }
html body.page-app .cdx-empty .bi { font-size: 22px; color: #C9C9C6; }
html body.page-app .cdx-empty p { margin: 0; }

html body.page-app .cdx-top { margin: 0; padding: 0; list-style: none; }
html body.page-app .cdx-top li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto 110px; align-items: center; gap: 12px; padding: 9px 0; font-size: 13.5px; }
html body.page-app .cdx-top li + li { border-top: 1px solid #F1F1EF; }
html body.page-app .cdx-top-n { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #F1F1EF; font-size: 11.5px; font-weight: 600; color: #44443F; }
html body.page-app .cdx-top-q { color: #8A8A86; font-size: 12.5px; }
html body.page-app .cdx-top-v { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }

html body.page-app .cdx-dl { margin: 0; }
html body.page-app .cdx-dl > div { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 10px; padding: 9px 0; font-size: 13.5px; }
html body.page-app .cdx-dl > div + div { border-top: 1px solid #F1F1EF; }
html body.page-app .cdx-dl dt { font-weight: 400; color: #8A8A86; }
html body.page-app .cdx-dl dd { margin: 0; color: #111; }
html body.page-app .cdx-dl a { color: #111; }
html body.page-app .cdx-ok { display: inline-flex; align-items: center; gap: 4px; color: #067647; }
html body.page-app .cdx-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
html body.page-app .cdx-tags span { padding: 3px 10px; border-radius: 999px; background: #F1F1EF; font-size: 12px; font-weight: 500; color: #44443F; }
html body.page-app .cdx-notes { margin: 0; font-size: 13.5px; line-height: 1.55; color: #44443F; }
html body.page-app .cdx-notes.is-mute { color: #A3A3A0; font-size: 13px; }
html body.page-app .cdx .cus-web { padding: 20px 22px; }

@media (max-width: 991.98px) {
  html body.page-app .cdx-grid { grid-template-columns: 1fr; }
  html body.page-app .cdx-col.is-side { position: static; }
  html body.page-app .cdx-hero-top { flex-wrap: wrap; }
  html body.page-app .cdx-actions { width: 100%; }
  html body.page-app .cdx-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body.page-app .cdx-kpis > div:nth-child(3) { border-left: 0; }
  html body.page-app .cdx-kpis > div:nth-child(n+3) { border-top: 1px solid #F0F0EE; }
}
@media (max-width: 575.98px) {
  html body.page-app .cdx-hero-top { padding: 18px; gap: 12px; }
  html body.page-app .cdx-av { width: 46px; height: 46px; font-size: 15px; }
  html body.page-app .cdx-name { flex-wrap: wrap; gap: 6px; }
  html body.page-app .cdx-name h1 { font-size: 19px; }
  html body.page-app .cdx-actions .cdx-btn:not(.is-icon) { flex: 1; }
  html body.page-app .cdx-kpis > div { padding: 12px 18px; }
  html body.page-app .cdx-sec, html body.page-app .cdx .cus-web { padding: 18px; border-radius: 14px; }
  html body.page-app .cdx-order { grid-template-columns: minmax(0, 1fr) auto; }
  html body.page-app .cdx-order-st { grid-column: 1; grid-row: 2; }
  html body.page-app .cdx-order-total { grid-row: 1 / span 2; }
  html body.page-app .cdx-top li { grid-template-columns: 22px minmax(0, 1fr) auto; }
  html body.page-app .cdx-top-q { display: none; }
}
/* v6.9.2 · Lista de pedidos más sencilla: nombre + número, una sola línea gris (hace cuánto · qué pidió), estado y valor */
html body.page-app .lx-sub { display: block; font-size: 13px; color: #8A8A86; }
html body.page-app .lx-sub > span { color: #8A8A86; }
html body.page-app .lx-flag { flex: none; align-self: center; padding: 1px 8px; border-radius: 999px; background: #FEF4E2; color: #8A5A00; font-size: 11px; font-weight: 600; }
html body.page-app .lx-flag.is-late { background: #FEECEB; color: #B42318; }
/* Detalle del cliente: sin espacio de sobra arriba */
html body.page-app .cus-detail.cdx { margin-top: 0; padding-top: 0; gap: 12px; }
html body.page-app .cdx-hero-top { padding: 18px 22px; }
html body.page-app .cdx-kpis > div { padding: 12px 22px; }
/* v6.9.1 · Detalle del cliente por filas: Pedidos | Datos y notas con la MISMA altura (sin huecos), luego a lo ancho
 * «Lo que más compra» (en columnas) y «En tu tienda web». */
html body.page-app .cdx-row { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 12px; align-items: stretch; }
html body.page-app .cdx-row > .cdx-sec { height: 100%; }
html body.page-app .cdx-side .cdx-sub-head { margin: 16px 0 8px; padding-top: 14px; border-top: 1px solid #F0F0EE; }
html body.page-app .cdx-side .cdx-sub-head h3 { margin: 0; font-size: 14px; font-weight: 600; }
html body.page-app .cdx-sec-head { padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid #F0F0EE; }
html body.page-app .cdx-side .cdx-sub-head { border-bottom: 0; padding-bottom: 0; }
html body.page-app .cdx-orders { margin-top: 2px; }
html body.page-app .cdx-top { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 24px; padding-top: 4px; }
html body.page-app .cdx-top li + li { border-top: 0; }
html body.page-app .cdx-top li { border-bottom: 1px solid #F1F1EF; grid-template-columns: 22px minmax(0, 1fr) auto; }
html body.page-app .cdx-top-v { display: none; }
html body.page-app .cdx-top-q { color: #111; font-weight: 500; }
html body.page-app .cdx .cus-web { margin: 0; }
@media (max-width: 991.98px) { html body.page-app .cdx-row { grid-template-columns: 1fr; } }
/* v6.9.2 · «En tu tienda web» del cliente (prefijo cw-) */
html body.page-app .cw-last { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: #8A8A86; }
html body.page-app .cw-dot { width: 7px; height: 7px; border-radius: 50%; background: #12B76A; }
html body.page-app .cw-empty { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0 2px; }
html body.page-app .cw-empty-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #F4F4F3; color: #6B6B68; font-size: 17px; }
html body.page-app .cw-empty strong { display: block; font-size: 14px; font-weight: 600; }
html body.page-app .cw-empty p { margin: 3px 0 0; max-width: 560px; font-size: 13px; line-height: 1.5; color: #8A8A86; }
html body.page-app .cw-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 14px 0 0; border: 1px solid #F0F0EE; border-radius: 12px; }
html body.page-app .cw-kpis > div { padding: 12px 16px; min-width: 0; }
html body.page-app .cw-kpis > div + div { border-left: 1px solid #F0F0EE; }
html body.page-app .cw-kpis dt { font-size: 12px; font-weight: 400; color: #8A8A86; }
html body.page-app .cw-kpis dd { margin: 2px 0 0; font-size: 17px; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
html body.page-app .cw-facts { display: flex; flex-wrap: wrap; margin: 12px 0 0; font-size: 12.5px; color: #6B6B68; }
html body.page-app .cw-facts > span { display: inline-flex; align-items: center; gap: 4px; }
html body.page-app .cw-facts > span + span::before { content: '·'; margin: 0 8px; color: #C9C9C6; }
html body.page-app .cw-facts .bi { color: #9A9A96; font-size: 12px; }
html body.page-app .cw-block { margin-top: 18px; padding-top: 16px; border-top: 1px solid #F0F0EE; }
html body.page-app .cw-h { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 13.5px; font-weight: 600; }
html body.page-app .cw-seen { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
html body.page-app .cw-seen a { display: grid; gap: 4px; color: #111; text-decoration: none; }
html body.page-app .cw-img { position: relative; display: grid; place-items: center; aspect-ratio: 1; border: 1px solid #F0F0EE; border-radius: 10px; background: #FAFAF9; overflow: hidden; color: #C9C9C6; font-size: 20px; transition: border-color .15s; }
html body.page-app .cw-seen a:hover .cw-img { border-color: #C9C9C6; }
html body.page-app .cw-img img { width: 100%; height: 100%; object-fit: cover; }
html body.page-app .cw-img em { position: absolute; top: 6px; right: 6px; padding: 1px 6px; border-radius: 999px; background: rgba(17, 17, 17, .78); color: #fff; font-size: 11px; font-style: normal; font-weight: 600; }
html body.page-app .cw-name { font-size: 12.5px; font-weight: 500; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
html body.page-app .cw-seen small { font-size: 11.5px; color: #9A9A96; }
html body.page-app .cw-rows { margin: 0; padding: 0; list-style: none; }
html body.page-app .cw-row { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 0; font-size: 13px; }
html body.page-app .cw-row + .cw-row { border-top: 1px solid #F4F4F2; }
html body.page-app .cw-row-t { display: grid; gap: 1px; min-width: 0; color: #44443F; }
html body.page-app .cw-row-t small { font-size: 12px; color: #8A8A86; }
html body.page-app .cw-row-n { display: grid; justify-items: end; gap: 1px; text-align: right; }
html body.page-app .cw-row-n b { font-weight: 600; font-variant-numeric: tabular-nums; }
html body.page-app .cw-row-n small { font-size: 11.5px; color: #9A9A96; }
html body.page-app .cw-row.is-visit { grid-template-columns: 64px minmax(0, 1fr); }
html body.page-app .cw-visit-d { display: grid; gap: 1px; }
html body.page-app .cw-visit-d b { font-size: 13px; font-weight: 600; }
html body.page-app .cw-visit-d small { font-size: 11.5px; color: #9A9A96; }
html body.page-app .cw-visit-m { color: #111; }
html body.page-app .cw-visit-m .bi { color: #9A9A96; }
html body.page-app .cw-pill { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; background: #F1F1EF; color: #44443F; font-size: 11.5px; font-weight: 500; white-space: nowrap; }
html body.page-app .cw-pill.is-ok { background: #E7F6EC; color: #067647; }
html body.page-app .cw-pill.is-warn { background: #FEF4E2; color: #8A5A00; }
html body.page-app .cw-pill.is-live { background: #EEF4FF; color: #1849A9; }
html body.page-app .cw-pill.is-mute { color: #9A9A96; }
@media (max-width: 575.98px) {
  html body.page-app .cw-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body.page-app .cw-kpis > div:nth-child(3) { border-left: 0; }
  html body.page-app .cw-kpis > div:nth-child(n+3) { border-top: 1px solid #F0F0EE; }
  html body.page-app .cw-row { grid-template-columns: minmax(0, 1fr) auto; }
  html body.page-app .cw-row > .cw-pill { grid-column: 1 / -1; justify-self: start; }
  html body.page-app .cw-seen { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* v6.9 · Carrito abandonado en el detalle del cliente */
html body.page-app .cdx-cart { border-color: #F5D9A8; background: #FFFCF5; }
html body.page-app .cdx-cart-head { display: flex; align-items: center; gap: 12px; }
html body.page-app .cdx-cart-ic { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #FEF0D7; color: #8A5A00; font-size: 17px; }
html body.page-app .cdx-cart-tx h2 { margin: 0; font-size: 15px; font-weight: 600; }
html body.page-app .cdx-cart-tx p { margin: 2px 0 0; font-size: 13px; color: #8A8A86; }
html body.page-app .cdx-cart-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
html body.page-app .cdx-cart-items li { display: flex; align-items: center; gap: 10px; padding: 8px; border: 1px solid #F3E6CC; border-radius: 10px; background: #fff; min-width: 0; }
html body.page-app .cdx-cart-img { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: #F4F4F3; overflow: hidden; color: #C9C9C6; }
html body.page-app .cdx-cart-img img { width: 100%; height: 100%; object-fit: cover; }
html body.page-app .cdx-cart-name { flex: 1; min-width: 0; font-size: 13px; font-weight: 500; }
html body.page-app .cdx-cart-q { flex: none; font-size: 12.5px; color: #8A8A86; }
html body.page-app .cdx-cart-act { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
html body.page-app .cdx-cart-disc { display: grid; gap: 4px; margin: 0; font-size: 12px; color: #6B6B68; }
html body.page-app .cdx-cart-disc select { height: 38px; min-width: 160px; border-radius: 10px; border-color: #E3E3E0; font-size: 13.5px; }
html body.page-app .cdx-cart-btns { display: flex; flex-wrap: wrap; gap: 8px; }
html body.page-app .cdx-cart-hint { margin: 10px 0 0; font-size: 12px; color: #9A9A96; }
@media (max-width: 575.98px) { html body.page-app .cdx-cart-btns, html body.page-app .cdx-cart-btns .cdx-btn { width: 100%; } html body.page-app .cdx-cart-disc, html body.page-app .cdx-cart-disc select { width: 100%; } }
/* v6.9.1 · «Lo que más compra»: cada producto con foto y enlace */
html body.page-app .cdx-top li { display: block; padding: 0; }
html body.page-app .cdx-top-link { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 6px; margin: 0 -6px; border-radius: 10px; color: #111; text-decoration: none; transition: background-color .15s; }
html body.page-app a.cdx-top-link:hover { background: #F7F7F6; color: #111; }
html body.page-app a.cdx-top-link:hover .cdx-top-name { text-decoration: underline; text-underline-offset: 3px; }
html body.page-app .cdx-top-img { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: #F4F4F3; overflow: hidden; color: #C9C9C6; }
html body.page-app .cdx-top-img img { width: 100%; height: 100%; object-fit: cover; }

/* v6.9 · «Visitantes en vivo» en el menú: cuando hay personas en la tienda ahora, el nombre respira (zoom suave)
 * y aparece un punto verde con un halo. Sutil y sin moverse si la persona prefiere menos animación. */
html body .tc-live-dot { display: none; flex: none; position: relative; width: 7px; height: 7px; margin-left: auto; border-radius: 50%; background: #12B76A; }
html body .tc-link.is-live-now .tc-live-dot { display: inline-block; }
html body .tc-link.is-live-now .tc-live-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #12B76A; animation: tcLiveHalo 2s ease-out infinite; }
html body .tc-link.is-live-now .tc-link-text { display: inline-block; transform-origin: left center; animation: tcLiveBreath 2.6s ease-in-out infinite; color: #067647; font-weight: 600; }
@keyframes tcLiveBreath { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.045); } }
@keyframes tcLiveHalo { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(2.8); opacity: 0; } }
html body.sidebar-mini .tc-link.is-live-now .tc-live-dot { position: absolute; top: 8px; right: 10px; }
@media (prefers-reduced-motion: reduce) {
  html body .tc-link.is-live-now .tc-link-text, html body .tc-link.is-live-now .tc-live-dot::after { animation: none; }
}
html body.page-app .pl5-cur-note { margin: 0 0 10px; font-size: 12.5px; color: #6B6B68; } /* v6.9 · aviso de moneda en Mi plan */
html body.page-app .lx-bar > span { width: 0; transition: width .4s ease; }

/* v6.9 · Visitantes en vivo con la tienda en pausa o en preparación: tienda «en construcción» */
html body.page-app .lvp { display: grid; place-items: center; min-height: 60vh; padding: 24px 0; }
html body.page-app .lvp-card { display: grid; justify-items: center; gap: 10px; max-width: 520px; padding: 34px 32px; border: 1px solid #ECECEB; border-radius: 20px; background: #fff; text-align: center; }
html body.page-app .lvp-art { width: 100%; max-width: 300px; height: auto; margin-bottom: 6px; }
html body.page-app .lvp-dot { animation: lvpBlink 1.4s ease-in-out infinite; }
@keyframes lvpBlink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
html body.page-app .lvp-chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px; border-radius: 999px; background: #FEF4E2; color: #8A5A00; font-size: 12px; font-weight: 600; }
html body.page-app .lvp-card h1 { margin: 4px 0 0; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
html body.page-app .lvp-card p { margin: 0; max-width: 420px; font-size: 14px; line-height: 1.55; color: #6B6B68; }
html body.page-app .lvp-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 10px; }
html body.page-app .lvp-btn { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border: 1px solid #E3E3E0; border-radius: 10px; background: #fff; color: #111; font-size: 14px; font-weight: 500; text-decoration: none; }
html body.page-app .lvp-btn:hover { border-color: #C9C9C6; background: #FAFAF9; color: #111; }
html body.page-app .lvp-btn.is-main { border-color: #111; background: #111; color: #fff; }
html body.page-app .lvp-btn.is-main:hover { background: #2A2A2A; color: #fff; }
@media (prefers-reduced-motion: reduce) { html body.page-app .lvp-dot { animation: none; } }
/* v6.9.1 · Tienda en pausa: mundo de ejemplo + aviso al lado */
html body.page-app .lvp2 { padding: 0; border: 0; background: none; }
html body.page-app .lvp2-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, 1fr); gap: 16px; align-items: stretch; }
html body.page-app .lvp2-stage { position: relative; min-height: 440px; border: 1px solid #ECECEB; border-radius: 20px; background: #fff; overflow: hidden; }
html body.page-app .lvp2-demo { position: absolute; top: 14px; left: 14px; padding: 3px 10px; border-radius: 999px; background: #F4F4F3; color: #6B6B68; font-size: 11.5px; font-weight: 600; }
html body.page-app .lvp2-card { align-content: center; max-width: none; justify-items: start; text-align: left; }
html body.page-app .lvp2-card .lvp-acts { justify-content: flex-start; }
html body.page-app .lvp2-note { display: flex; align-items: center; gap: 6px; font-size: 12.5px !important; color: #A3A3A0 !important; }
@media (max-width: 991.98px) { html body.page-app .lvp2-grid { grid-template-columns: 1fr; } html body.page-app .lvp2-stage { min-height: 340px; } }
/* v6.9.2 · Mundo de ejemplo sin recuadro + mensaje a la derecha */
html body.page-app .lvp2 { padding: 8px 0 0; }
html body.page-app .lvp2-grid { grid-template-columns: minmax(0, 1.25fr) minmax(300px, 1fr); gap: 40px; align-items: center; }
html body.page-app .lvp2-stage { min-height: 0; border: 0; border-radius: 0; background: transparent; overflow: visible; }
html body.page-app .lvp2-stage .lg-canvas { background: transparent; }
html body.page-app .lvp2-msg { display: grid; gap: 14px; justify-items: start; max-width: 440px; }
html body.page-app .lvp2-badge { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px 0 10px; border-radius: 999px; background: #FEF4E2; color: #8A5A00; font-size: 12.5px; font-weight: 600; }
html body.page-app .lvp2-pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #F79009; }
html body.page-app .lvp2-pulse::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #F79009; animation: tcLiveHalo 2s ease-out infinite; }
html body.page-app .lvp2-msg h1 { margin: 0; font-size: 30px; font-weight: 600; letter-spacing: -.025em; line-height: 1.15; color: #111; }
html body.page-app .lvp2-msg > p { margin: 0; font-size: 15px; line-height: 1.55; color: #6B6B68; }
html body.page-app .lvp2-list { display: grid; gap: 10px; margin: 4px 0 0; padding: 0; list-style: none; }
html body.page-app .lvp2-list li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: #111; }
html body.page-app .lvp2-ic { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #F4F4F3; color: #111; font-size: 16px; }
html body.page-app .lvp2-msg .lvp-acts { justify-content: flex-start; margin-top: 6px; }
html body.page-app .lvp2-note { margin: 0 !important; font-size: 12px !important; color: #A3A3A0 !important; }
@media (max-width: 991.98px) { html body.page-app .lvp2-grid { grid-template-columns: 1fr; gap: 20px; } html body.page-app .lvp2-msg { max-width: none; } html body.page-app .lvp2-msg h1 { font-size: 24px; } }
html body.page-app .lg.lvp2 { border: 0 !important; background: none !important; box-shadow: none !important; padding: 8px 0 0 !important; }
html body.page-app .lvp2 .lg-stage { border: 0 !important; box-shadow: none !important; background: transparent !important; }
html body.page-app .lvp2 [data-lg-list] { display: none !important; }
/* v6.9.3 · Mundo más grande y el mensaje en una tarjeta SOBRE el mundo, un poco a la derecha */
html body.page-app .lvp2-grid { position: relative; display: block; }
html body.page-app .lvp2-stage { width: min(100%, 980px); margin: 0 auto 0 0; }
html body.page-app .lvp2-msg { position: absolute; top: 50%; right: 0; transform: translateY(-50%); z-index: 3; width: 400px; max-width: 42%; padding: 28px 28px 24px; border: 1px solid #ECECEB; border-radius: 22px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 24px 60px -24px rgba(11, 11, 11, .22); }
html body.page-app .lvp2-msg h1 { font-size: 26px; }
html body.page-app .lvp2-miss { width: 100%; padding: 12px 14px; border: 1px solid #F5D9A8; border-radius: 12px; background: #FFFCF5; }
html body.page-app .lvp2-miss strong { display: block; margin-bottom: 6px; font-size: 13px; color: #8A5A00; }
html body.page-app .lvp2-miss ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
html body.page-app .lvp2-miss a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0; font-size: 13.5px; font-weight: 500; color: #111; text-decoration: none; }
html body.page-app .lvp2-miss a:hover span { text-decoration: underline; text-underline-offset: 3px; }
html body.page-app .lvp2 .lg-pop { z-index: 2; }
@media (max-width: 1099.98px) {
  html body.page-app .lvp2-stage { width: 100%; }
  html body.page-app .lvp2-msg { position: static; transform: none; width: auto; max-width: none; margin-top: 12px; }
}
html body.page-app .sq-ready { padding: 14px 18px; border-color: #F5D9A8; background: #FFFCF5; }
html body.page-app .sq-ready strong { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #8A5A00; }
html body.page-app .sq-ready ul { margin: 8px 0 0; padding: 0 0 0 24px; }
html body.page-app .sq-ready a { font-size: 13.5px; font-weight: 500; color: #111; }
/* v6.9.4 · Mundo a la izquierda y la tarjeta a la derecha (sin quedar encima) */
html body.page-app .lvp2-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: center; }
html body.page-app .lvp2-stage { width: 100%; margin: 0; }
html body.page-app .lvp2-msg { position: static; transform: none; width: auto; max-width: none; }
@media (max-width: 1099.98px) { html body.page-app .lvp2-grid { grid-template-columns: 1fr; gap: 12px; } }

/* v10.28 · Administración › Usuarios: plan de almacenamiento en una ventana (sin Pro/Max) */
.adm-plan { border: 0; border-radius: 20px; }
.adm-plan .modal-body { padding: 1.5rem 1.5rem .5rem; }
.adm-plan .modal-footer { border-top: 0; padding: .75rem 1.5rem 1.25rem; gap: .5rem; }
.adm-plan-t { font-size: 1.15rem; font-weight: 600; margin: 0 0 .25rem; color: #111; }
.adm-plan-sub { font-size: .88rem; color: #6B6A66; margin: 0 0 1.1rem; }
.adm-plan-list { display: grid; gap: .5rem; }
.adm-plan-opt { position: relative; display: flex; align-items: center; gap: .75rem; padding: .8rem 1rem; border: 1px solid #E6E5E1; border-radius: 14px; cursor: pointer; transition: border-color .15s, background-color .15s; }
.adm-plan-opt:hover { border-color: #BDBBB5; }
.adm-plan-opt input { position: absolute; opacity: 0; pointer-events: none; }
.adm-plan-opt::before { content: ""; flex: 0 0 18px; height: 18px; border-radius: 50%; border: 1.5px solid #C9C7C1; background: #fff; transition: border .15s; }
.adm-plan-opt:has(input:checked) { border-color: #111; background: #FAFAF9; }
.adm-plan-opt:has(input:checked)::before { border: 5px solid #111; }
.adm-plan-opt:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(17,17,17,.12); }
.adm-plan-gb { font-weight: 500; color: #111; font-size: .95rem; }
.adm-plan-price { margin-left: auto; font-size: .86rem; color: #6B6A66; }
.adm-plan-now { font-size: .7rem; padding: .15rem .5rem; border-radius: 999px; background: #F0EFEC; color: #6B6A66; }
.adm-plan-time { margin-top: 1.1rem; }
.adm-plan:has(input[name="plan"][value="free"]:checked) .adm-plan-time { display: none; }
.adm-plan-label { font-size: .8rem; color: #6B6A66; margin: 0 0 .5rem; }
.adm-plan-months { display: flex; flex-wrap: wrap; gap: .4rem; }
.adm-plan-mo { cursor: pointer; margin: 0; }
.adm-plan-mo input { position: absolute; opacity: 0; pointer-events: none; }
.adm-plan-mo span { display: inline-block; padding: .4rem .9rem; border: 1px solid #E6E5E1; border-radius: 999px; font-size: .85rem; color: #111; background: #fff; transition: all .15s; }
.adm-plan-mo:hover span { border-color: #BDBBB5; }
.adm-plan-mo input:checked + span { background: #111; border-color: #111; color: #fff; }
.adm-plan-mo input:focus-visible + span { box-shadow: 0 0 0 3px rgba(17,17,17,.12); }
.adm-plan-hint { font-size: .78rem; color: #8A8883; margin: .6rem 0 0; }
.adm-plan-save { border-radius: 999px; padding: .55rem 1.4rem; }
.adm-plan .btn-link { text-decoration: none; }
@media (max-width: 991.98px) {
  .adm-plan .modal-body { padding: 1.25rem 1.1rem .25rem; }
  .adm-plan .modal-footer { padding: .75rem 1.1rem 1.1rem; }
  .adm-plan-save { flex: 1; }
}

/* ==========================================================================================
   v10.29 · ESTÁNDAR DE ADMINISTRACIÓN (Resumen · Usuarios · Negocios y demás listas de /admin)
   Controles en píldora · alto 40 (buscar) / 36 (filtros) / 34 (acciones de fila) · pesos 400/500
   Grises: #F4F4F2 relleno · #ECECEA borde · #8A8A86 texto suave · #0B0B0B tinta
   ========================================================================================== */
html body.page-app .adm-tools { gap: 8px; margin-bottom: 14px; align-items: center; }
/* Buscar: la lupa dentro, el texto empieza después de ella (antes se encimaban) */
html body.page-app .adm-search { position: relative; flex: 1 1 280px; max-width: 380px; }
html body.page-app .adm-search > .bi { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 14px; line-height: 1; color: #8A8A86; pointer-events: none; z-index: 2; }
html body.page-app .adm-search .form-control { height: 40px; min-height: 40px; padding: 0 16px 0 42px !important; border-radius: 999px !important; border: 1px solid transparent !important; background: #F4F4F2 !important; font-size: 14px; color: #0B0B0B; box-shadow: none !important; transition: background-color .15s, border-color .15s; }
html body.page-app .adm-search .form-control::placeholder { color: #8A8A86; }
html body.page-app .adm-search .form-control:hover { background: #EFEFEC !important; }
html body.page-app .adm-search .form-control:focus { background: #fff !important; border-color: #0B0B0B !important; }
html body.page-app .adm-search .form-control::-webkit-search-cancel-button { cursor: pointer; }
/* Filtros */
html body.page-app .adm-chips { gap: 6px; }
html body.page-app .adm-chip { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid #ECECEA; background: #fff; color: #0B0B0B; font-size: 13px; font-weight: 400; text-decoration: none; white-space: nowrap; }
html body.page-app .adm-chip:hover { border-color: #D6D6D2; background: #fff; color: #0B0B0B; }
html body.page-app .adm-chip.is-on { background: #0B0B0B; border-color: #0B0B0B; color: #fff; }
/* Conteo */
html body.page-app .adm-tools + p.small { font-size: 13px; color: #8A8A86 !important; margin-bottom: 10px; }
/* Tabla */
html body.page-app .adm-table-wrap { border: 1px solid #ECECEA; border-radius: 14px; background: #fff; }
html body.page-app .adm-table thead th { padding: 10px 18px !important; background: #FAFAF9 !important; color: #8A8A86 !important; font-size: 12px !important; font-weight: 400 !important; text-transform: none !important; letter-spacing: 0 !important; border-bottom: 1px solid #F1F1EF !important; }
html body.page-app .adm-table tbody td { padding: 12px 18px !important; font-size: 13.5px; color: #0B0B0B; border-bottom: 1px solid #F1F1EF !important; }
html body.page-app .adm-table tbody tr:hover td { background: #FAFAF9; }
html body.page-app .adm-cell { display: inline-flex; align-items: center; gap: 12px; }
html body.page-app .adm-cell strong, html body.page-app .adm-stack > span:first-child { font-size: 14px; font-weight: 500; color: #0B0B0B; }
html body.page-app .adm-cell small, html body.page-app .adm-stack small { display: block; font-size: 12.5px; color: #8A8A86; }
html body.page-app .adm-table a { color: inherit; text-decoration: none; }
html body.page-app .adm-table a:hover { text-decoration: underline; }
html body.page-app .adm-av { width: 32px; height: 32px; border: 0; background: #F2F2F0; color: #4A4A47; font-size: 12px; font-weight: 500; }
html body.page-app .adm-av.is-biz { border-radius: 8px; background: #F2F2F0; color: #4A4A47; }
/* Etiquetas (igual que Resumen) */
html body.page-app .adm-pill { height: 24px; padding: 0 10px !important; font-size: 12px !important; font-weight: 400 !important; background: #F2F2F0; color: #4A4A47; }
html body.page-app .adm-pill.is-ok { background: #EAF6EF; color: #1D7A4B; }
html body.page-app .adm-pill.is-bad { background: #FDECEC; color: #B42318; }
html body.page-app .adm-pill.is-dark { background: #0B0B0B; color: #fff; }
/* Acciones de fila */
html body.page-app .adm-actions { gap: 6px; }
html body.page-app .adm-actions .btn { height: 34px !important; min-height: 34px !important; padding: 0 14px !important; border-radius: 999px !important; border: 1px solid #ECECEA; background: #fff; color: #0B0B0B; font-size: 13px !important; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; box-shadow: none; }
html body.page-app .adm-actions .btn:hover { border-color: #D6D6D2; background: #fff; }
html body.page-app .adm-actions .adm-more { width: 34px; padding: 0 !important; justify-content: center; }
html body.page-app .adm-menu { border: 1px solid #ECECEA; border-radius: 14px; box-shadow: 0 12px 32px rgba(0,0,0,.08); }
/* Paginación */
html body.page-app .adm-pager { gap: 10px; color: #8A8A86; font-size: 13px; }
html body.page-app .adm-pager .btn { height: 36px !important; min-height: 36px !important; padding: 0 16px !important; border-radius: 999px !important; border: 1px solid #ECECEA; background: #fff; color: #0B0B0B; font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; }
/* Resumen: enlaces sin subrayado, como el resto */
html body.page-app .adm2-card-h a { text-decoration: none; }
html body.page-app .adm2-card-h a:hover { text-decoration: underline; color: #0B0B0B; }

/* Celular: buscador a todo el ancho, filtros deslizables y cada fila como tarjeta (sin desplazarse de lado) */
@media (max-width: 991.98px) {
  html body.page-app .adm-tools { flex-direction: column; align-items: stretch; }
  html body.page-app .adm-search { max-width: none; flex: 0 0 auto; width: 100%; min-width: 0; }
  html body.page-app .adm-search .form-control { width: 100% !important; min-width: 0 !important; }
  html body.page-app .adm-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; width: calc(100% + 32px); max-width: calc(100% + 32px); min-width: 0; }
  html body.page-app .adm-chip { flex: 0 0 auto; }
  html body.page-app .adm-chips::-webkit-scrollbar { display: none; }
  html body.page-app .adm-table-wrap { overflow: visible; border: 0; background: transparent; border-radius: 0; }
  html body.page-app .adm-table, html body.page-app .adm-table tbody { display: block; }
  html body.page-app .adm-table thead { display: none; }
  html body.page-app .adm-table tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; padding: 14px 16px; margin-bottom: 10px; border: 1px solid #ECECEA; border-radius: 14px; background: #fff; }
  html body.page-app .adm-table tbody tr:hover td { background: transparent; }
  html body.page-app .adm-table tbody td { display: block; padding: 0 !important; border: 0 !important; text-align: left !important; min-width: 0; }
  html body.page-app .adm-table tbody td[data-label]::before { content: attr(data-label); display: block; font-size: 12px; color: #8A8A86; margin-bottom: 2px; }
  html body.page-app .adm-table tbody td.adm-td-main, html body.page-app .adm-table tbody td.adm-td-actions { grid-column: 1 / -1; }
  html body.page-app .adm-table tbody td.adm-td-main { padding-bottom: 10px !important; border-bottom: 1px solid #F1F1EF !important; }
  html body.page-app .adm-table tbody td.adm-td-actions { padding-top: 10px !important; border-top: 1px solid #F1F1EF !important; }
  html body.page-app .adm-td-actions .adm-actions { display: flex; justify-content: flex-start; }
  html body.page-app .adm-table tbody td.adm-empty { grid-column: 1 / -1; text-align: center !important; color: #8A8A86; }
  html body.page-app .adm-table tbody tr:has(td.adm-empty) { display: block; }
}

/* v10.30 · Administración › Facturas: indicadores, buscar al instante, lista estándar y «Nueva factura» en ventana */
html body.page-app .inv3 .adm2-kpis { margin-bottom: 18px; }
html body.page-app .inv3 .adm2-kpi { cursor: default; }
html body.page-app .inv3 .adm2-kpi:hover { border-color: #ECECEA; }
html body.page-app .inv3-tools { flex-wrap: wrap; }
html body.page-app .inv3-tools .adm-search { flex: 1 1 320px; max-width: 420px; }
html body.page-app .inv3-tools .adm-chips { flex: 1 1 auto; }
html body.page-app .inv3-tools .adm-chip { cursor: pointer; gap: 6px; }
html body.page-app .inv3-count { font-size: 12px; color: #8A8A86; }
html body.page-app .adm-chip.is-on .inv3-count { color: rgba(255,255,255,.7); }
html body.page-app .inv3-new { height: 40px !important; min-height: 40px !important; padding: 0 18px !important; border-radius: 999px !important; display: inline-flex; align-items: center; gap: 6px; font-size: 14px !important; font-weight: 500; margin-left: auto; white-space: nowrap; }
html body.page-app .inv3-total { font-size: 13px; color: #8A8A86; margin-bottom: 10px; }
html body.page-app .inv3 .adm-av.is-biz { font-size: 14px; }
html body.page-app .inv3-late { color: #B42318; }
html body.page-app .inv3 .adm-table td.num { white-space: nowrap; }
html body.page-app .inv3-none { text-align: center; padding: 28px 16px; color: #8A8A86; font-size: 14px; border: 1px dashed #E3E3E0; border-radius: 14px; }
html body.page-app .inv3-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 48px 20px; border: 1px solid #ECECEA; border-radius: 14px; background: #fff; }
html body.page-app .inv3-empty > .bi { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: #F4F4F2; font-size: 20px; margin-bottom: 6px; }
html body.page-app .inv3-empty strong { font-weight: 500; font-size: 15px; }
html body.page-app .inv3-empty p { margin: 0 0 12px; font-size: 13.5px; color: #8A8A86; max-width: 340px; }
html body.page-app .inv3-empty .inv3-new { margin-left: 0; }
/* Ventana */
html body.page-app .inv3-form .modal-body { display: grid; gap: 14px; }
html body.page-app .inv3-form .adm-plan-sub { margin-bottom: 2px; }
html body.page-app .inv3-form .field { margin: 0; }
html body.page-app .inv3-form .form-control:not([type="search"]) { height: 44px; border-radius: 12px; }
html body.page-app .inv3-form textarea.form-control { height: auto !important; min-height: 64px; padding-top: 10px; }
html body.page-app .inv3-client { position: relative; }
html body.page-app .inv3-client .adm-search { max-width: none; }
html body.page-app .inv3-client .adm-search .form-control { height: 44px; min-height: 44px; }
html body.page-app .inv3-results { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 20; max-height: 300px; overflow-y: auto; padding: 6px; background: #fff; border: 1px solid #ECECEA; border-radius: 14px; box-shadow: 0 12px 32px rgba(0,0,0,.08); }
html body.page-app .inv3-opt { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; border-radius: 10px; background: transparent; text-align: left; color: #0B0B0B; }
html body.page-app .inv3-opt:hover, html body.page-app .inv3-opt.is-active { background: #F4F4F2; }
html body.page-app .inv3-opt strong, html body.page-app .inv3-picked strong { font-size: 14px; font-weight: 500; }
html body.page-app .inv3-opt small, html body.page-app .inv3-picked small { font-size: 12.5px; color: #8A8A86; }
html body.page-app .inv3-results-none { margin: 0; padding: 10px; font-size: 13px; color: #8A8A86; }
html body.page-app .inv3-picked { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #0B0B0B; border-radius: 14px; background: #FAFAF9; }
html body.page-app .inv3-picked[hidden], html body.page-app .inv3-client-search[hidden], html body.page-app .inv3-results[hidden] { display: none !important; }
html body.page-app .inv3-change { margin-left: auto; border: 0; background: transparent; font-size: 13px; color: #0B0B0B; text-decoration: underline; padding: 4px; }
html body.page-app .inv3-form .adm-plan-months .adm-plan-mo span { white-space: nowrap; }
@media (max-width: 991.98px) {
  html body.page-app .inv3-tools .adm-search { max-width: none; flex: 0 0 auto; }
  html body.page-app .inv3-new { width: 100%; justify-content: center; margin-left: 0; height: 48px !important; }
  html body.page-app .inv3-tools { gap: 10px; }
  html body.page-app .inv3-tools .inv3-new { order: -1; }
}

/* v10.31 · Facturación del cliente: pagar en línea o por transferencia con comprobante */
html body.page-app .fv3-state { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12.5px; color: #6B6A66; }
html body.page-app .fv3-state.is-bad { color: #B42318; }
html body.page-app .fv2-item.is-review { background: #FAFAF9; }
html body.page-app .fv3 { border: 0; border-radius: 20px; }
html body.page-app .fv3 .modal-body { padding: 1.5rem 1.5rem .5rem; }
html body.page-app .fv3 .modal-footer { border-top: 0; padding: .25rem 1.5rem 1rem; }
html body.page-app .fv3-k { margin: 0; font-size: 13px; color: #8A8A86; }
html body.page-app .fv3-t { margin: 2px 0 14px; font-size: 28px; font-weight: 500; letter-spacing: -.01em; color: #0B0B0B; }
html body.page-app .fv3-p { margin: 0 0 8px; font-size: 14px; color: #0B0B0B; }
html body.page-app .fv3-ways { display: grid; gap: 8px; margin-bottom: 14px; }
html body.page-app .fv3-way { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid #E6E5E1; border-radius: 14px; cursor: pointer; margin: 0; }
html body.page-app .fv3-way input { position: absolute; opacity: 0; pointer-events: none; }
html body.page-app .fv3-way:has(input:checked) { border-color: #0B0B0B; background: #FAFAF9; }
html body.page-app .fv3-way strong { display: block; font-size: 14px; font-weight: 500; }
html body.page-app .fv3-way small { display: block; font-size: 12.5px; color: #8A8A86; }
html body.page-app .fv3-way-ic { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border-radius: 10px; background: #F4F4F2; font-size: 16px; }
html body.page-app .fv3-panel { display: none; }
html body.page-app .fv3:has(input[value="online"]:checked) .fv3-panel[data-way="online"],
html body.page-app .fv3:has(input[value="transfer"]:checked) .fv3-panel[data-way="transfer"] { display: block; }
html body.page-app .fv3-btn { width: 100%; height: 48px; border: 0; border-radius: 999px; background: #111; color: #fff; font-size: 15px; font-weight: 500; margin-top: 4px; }
html body.page-app .fv3-btn:disabled { opacity: .7; }
html body.page-app .fv3-hint { margin: 8px 0 0; font-size: 12.5px; color: #8A8A86; }
html body.page-app .fv3-step { margin: 4px 0 8px; font-size: 13.5px; color: #0B0B0B; }
html body.page-app .fv3-step b { font-weight: 500; }
html body.page-app .fv3-accs { display: grid; gap: 8px; margin-bottom: 14px; }
html body.page-app .fv3-acc { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #F4F4F2; }
html body.page-app .fv3-acc strong { display: block; font-size: 13px; font-weight: 500; color: #6B6A66; }
html body.page-app .fv3-num { display: block; font-size: 17px; font-weight: 500; letter-spacing: .02em; color: #0B0B0B; font-variant-numeric: tabular-nums; }
html body.page-app .fv3-acc small { display: block; font-size: 12.5px; color: #8A8A86; }
html body.page-app .fv3-copy { margin-left: auto; flex: 0 0 auto; height: 34px; padding: 0 12px; border: 1px solid #E6E5E1; border-radius: 999px; background: #fff; font-size: 13px; color: #0B0B0B; display: inline-flex; align-items: center; gap: 6px; }
html body.page-app .fv3-drop { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 18px 14px; border: 1.5px dashed #D6D6D2; border-radius: 14px; text-align: center; cursor: pointer; margin: 0 0 8px; transition: border-color .15s, background .15s; }
html body.page-app .fv3-drop:hover { border-color: #0B0B0B; }
html body.page-app .fv3-drop.has-file { border-style: solid; border-color: #0B0B0B; background: #FAFAF9; }
html body.page-app .fv3-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
html body.page-app .fv3-drop > .bi { font-size: 22px; color: #6B6A66; }
html body.page-app .fv3-drop span { font-size: 14px; color: #0B0B0B; word-break: break-all; }
html body.page-app .fv3-drop small { font-size: 12px; color: #8A8A86; }
html body.page-app .fv3-note { border-radius: 12px; margin-bottom: 8px; font-size: 14px; }
@media (max-width: 767.98px) {
  html body.page-app .fv3 .modal-body { padding: 1.25rem 1.1rem .25rem; }
}

/* v10.31 · Administración › Facturas: PDF de la DIAN, comprobantes por revisar y cuentas para transferencia */
html body.page-app .inv3-tools .adm-chips { flex: 1 1 100%; order: 3; }
html body.page-app .inv3-head-acts { display: flex; gap: 8px; margin-left: auto; }
html body.page-app .inv3-head-acts .inv3-new { margin-left: 0; }
html body.page-app .inv3-ghost { position: relative; height: 40px !important; min-height: 40px !important; padding: 0 16px !important; border-radius: 999px !important; border: 1px solid #ECECEA !important; background: #fff !important; color: #0B0B0B !important; font-size: 14px !important; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
html body.page-app .inv3-ghost:hover { border-color: #D6D6D2 !important; }
html body.page-app .inv3-dot { position: absolute; top: 6px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: #E5484D; }
html body.page-app .adm-actions .btn.inv3-review { background: #0B0B0B; border-color: #0B0B0B; color: #fff; }
html body.page-app .inv3-k { margin: 0 0 2px; font-size: 13px; color: #8A8A86; }
html body.page-app .inv3-drop { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 18px 14px; border: 1.5px dashed #D6D6D2; border-radius: 14px; text-align: center; cursor: pointer; margin: 0; transition: border-color .15s, background .15s; }
html body.page-app .inv3-drop.is-sm { padding: 12px 14px; }
html body.page-app .inv3-drop:hover { border-color: #0B0B0B; }
html body.page-app .inv3-drop.has-file { border-style: solid; border-color: #0B0B0B; background: #FAFAF9; }
html body.page-app .inv3-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
html body.page-app .inv3-drop > .bi { font-size: 20px; color: #6B6A66; }
html body.page-app .inv3-drop span { font-size: 14px; color: #0B0B0B; word-break: break-all; }
html body.page-app .inv3-drop small { font-size: 12px; color: #8A8A86; }
html body.page-app .inv3-rcpt { display: block; border: 1px solid #ECECEA; border-radius: 14px; overflow: hidden; background: #F4F4F2; }
html body.page-app .inv3-rcpt img { display: block; width: 100%; max-height: 360px; object-fit: contain; }
html body.page-app .inv3-rcpt-pdf { display: flex; align-items: center; justify-content: center; gap: 8px; height: 56px; border: 1px solid #ECECEA; border-radius: 14px; background: #F4F4F2; color: #0B0B0B; font-size: 14px; font-weight: 500; text-decoration: none; }
html body.page-app .inv3-quote { margin: 0; padding: 10px 12px; border-radius: 12px; background: #FAFAF9; font-size: 13.5px; color: #4A4A47; }
html body.page-app .inv3-reject summary { font-size: 13px; color: #6B6A66; cursor: pointer; text-align: center; list-style: none; padding: 4px 0; }
html body.page-app .inv3-reject summary::-webkit-details-marker { display: none; }
html body.page-app .inv3-reject[open] summary { color: #0B0B0B; margin-bottom: 8px; }
html body.page-app .inv3-reject textarea { border-radius: 12px; margin-bottom: 8px; font-size: 14px; }
html body.page-app .inv3-reject-btn { height: 44px; border-radius: 999px !important; border: 1px solid #ECECEA !important; font-size: 14px; font-weight: 500; }
html body.page-app .inv3-accf { display: grid; gap: 8px; padding: 12px; border: 1px solid #ECECEA; border-radius: 14px; margin: 0; }
html body.page-app .inv3-accf legend { float: none; width: auto; margin: 0; padding: 0; font-size: 12.5px; color: #8A8A86; }
@media (max-width: 991.98px) {
  html body.page-app .inv3-head-acts { order: -1; width: 100%; margin-left: 0; flex-direction: column-reverse; }
  html body.page-app .inv3-head-acts .btn { width: 100%; justify-content: center; }
  html body.page-app .inv3-head-acts .inv3-new { height: 48px !important; }
  html body.page-app .inv3-tools .inv3-new { order: 0; }
}

/* v10.32 · Ventana para ver la factura + estado (Pendiente · Vencida · En revisión · Pagada · Anulada) */
html body.page-app .fv3-pill { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; background: #FFF5E6; color: #9A5B00; font-size: 11.5px; font-weight: 400; vertical-align: middle; white-space: nowrap; letter-spacing: 0; }
html body.page-app .fv3-pill.is-ok { background: #EAF6EF; color: #1D7A4B; }
html body.page-app .fv3-pill.is-bad { background: #FDECEC; color: #B42318; }
html body.page-app .fv3-pill.is-off { background: #F2F2F0; color: #8A8A86; }
html body.page-app .fv-viewer .modal-content { border: 0; border-radius: 20px; overflow: hidden; }
html body.page-app .fv-viewer-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 14px 20px; border-bottom: 1px solid #ECECEA; }
html body.page-app .fv-viewer-k { margin: 0; font-size: 12.5px; color: #8A8A86; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body.page-app .fv-viewer-t { margin: 0; font-size: 17px; font-weight: 500; color: #0B0B0B; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
html body.page-app .fv-viewer-acts { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
html body.page-app .fv-viewer-btn { height: 36px; padding: 0 14px; border: 1px solid #ECECEA; border-radius: 999px; background: #fff; color: #0B0B0B; font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
html body.page-app .fv-viewer-btn[hidden] { display: none; }
html body.page-app .fv-viewer-btn:hover { border-color: #D6D6D2; color: #0B0B0B; }
html body.page-app .fv-viewer-x { width: 36px; height: 36px; border: 0; border-radius: 50%; background: #F4F4F2; color: #0B0B0B; display: grid; place-items: center; }
html body.page-app .fv-viewer-b { position: relative; background: #fff; }
html body.page-app .fv-viewer-f { display: block; width: 100%; height: min(78vh, 900px); border: 0; opacity: 0; transition: opacity .2s; }
html body.page-app .fv-viewer-f.is-ready { opacity: 1; }
html body.page-app .fv-viewer-load { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13.5px; color: #8A8A86; }
html body.page-app .fv-viewer-load[hidden] { display: none; }
@media (max-width: 767.98px) {
  html body.page-app .fv-viewer .modal-content { border-radius: 0; }
  html body.page-app .fv-viewer-f { height: calc(100dvh - 70px); }
  html body.page-app .fv-viewer-btn span { display: none; }
  html body.page-app .fv-viewer-btn { width: 36px; padding: 0; justify-content: center; }
}

/* v10.33 · Pagos del cliente: cada fila abre su factura */
html body.page-app a.bl-tr.bl-btn { color: inherit; text-decoration: none; }
html body.page-app .bl-st.is-off { background: #F2F2F0; color: #8A8A86; }
html body.page-app .bl-st.is-wait { background: #FFF5E6; color: #9A5B00; }

/* v10.34 · Datos de Wompi en Administración */
html body.page-app .adm-wompi { display: inline-flex; align-items: center; gap: 5px; height: 26px; margin-top: 4px; padding: 0 10px; border: 1px solid #ECECEA; border-radius: 999px; background: #fff; color: #0B0B0B; font-size: 12px; font-weight: 500; white-space: nowrap; }
html body.page-app .adm-wompi:hover { border-color: #0B0B0B; }
html body.page-app .wp-load { display: flex; align-items: center; gap: 8px; padding: 18px 0; font-size: 13.5px; color: #8A8A86; }
html body.page-app .wp-load[hidden], html body.page-app .wp-err[hidden] { display: none; }
html body.page-app .wp-err { margin: 6px 0; padding: 12px 14px; border-radius: 12px; background: #FDECEC; color: #B42318; font-size: 13.5px; }
html body.page-app .wp-group { margin-top: 14px; }
html body.page-app .wp-group h3 { margin: 0 0 6px; font-size: 12.5px !important; font-weight: 400 !important; color: #8A8A86 !important; letter-spacing: 0 !important; }
html body.page-app .wp-group dl { margin: 0; border: 1px solid #ECECEA; border-radius: 14px; overflow: hidden; }
html body.page-app .wp-group dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; font-size: 13.5px; }
html body.page-app .wp-group dl > div + div { border-top: 1px solid #F1F1EF; }
html body.page-app .wp-group dt { font-weight: 400; color: #6B6A66; flex: 0 0 auto; }
html body.page-app .wp-group dd { margin: 0; text-align: right; color: #0B0B0B; word-break: break-all; display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
html body.page-app .wp-copy { width: 26px; height: 26px; flex: 0 0 26px; border: 1px solid #ECECEA; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 12px; color: #0B0B0B; }

/* v10.35 · Recurrentes: el pago se habilita 20 días antes; fecha de pago y días que faltan */
html body.page-app .fv4-info { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; padding: 12px 14px; border-radius: 14px; background: #F7F7F5; font-size: 13.5px; color: #4A4A47; }
html body.page-app .fv4-info b { font-weight: 500; color: #0B0B0B; }
html body.page-app .fv4-info .bi { margin-top: 2px; }
html body.page-app .fv4-due { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; color: #4A4A47; }
html body.page-app .fv4-due b { font-weight: 500; color: #0B0B0B; }
html body.page-app .fv4-due.is-soon, html body.page-app .fv4-due.is-soon b { color: #9A5B00; }
html body.page-app .fv4-due.is-late, html body.page-app .fv4-due.is-late b { color: #B42318; }
html body.page-app .fv3-state b { font-weight: 500; }
html body.page-app .ux-btn.fv4-wait { background: #F4F4F2 !important; border-color: #F4F4F2 !important; color: #8A8A86 !important; cursor: default; display: inline-flex; align-items: center; gap: 6px; }
html body.page-app .fv3-state, html body.page-app .fv4-due { align-items: flex-start; }
html body.page-app .fv3-state > .bi, html body.page-app .fv4-due > .bi { margin-top: 2px; flex: 0 0 auto; }
/* v10.36 · Pendientes más limpias */
html body.page-app .fv4-due { margin-top: 2px; font-size: 12.5px; color: #8A8A86; }
html body.page-app .fv2-main small .fv4-due { display: inline; margin: 0; font-size: inherit; }
html body.page-app .fv2-main small .fv4-due.is-soon { color: #9A5B00; }
html body.page-app .fv2-main small .fv4-due.is-late { color: #B42318; }

/* v10.38 · Pagos: renovaciones de planes arriba y compras con Wompi debajo */
html body.page-app .pg5 { margin-bottom: 28px; }
html body.page-app .pg5-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 10px; }
html body.page-app .pg5-h h2 { margin: 0; font-size: 16px !important; font-weight: 500 !important; color: #0B0B0B; }
html body.page-app .pg5-sum { font-size: 13px; color: #8A8A86; }
html body.page-app .pg5-sum b { font-weight: 500; color: #9A5B00; }
html body.page-app .pg5-empty { margin: 0; padding: 18px; border: 1px dashed #E3E3E0; border-radius: 14px; font-size: 13.5px; color: #8A8A86; text-align: center; }

/* v10.39 · «Nueva factura» amplia: formulario por pasos + vista previa en vivo */
html body.page-app .inv5 .modal-dialog { max-width: 1080px; }
html body.page-app .inv5-box { border: 0; border-radius: 22px; overflow: hidden; background: #fff; }
html body.page-app .inv5-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 28px 18px; border-bottom: 1px solid #F1F1EF; }
html body.page-app .inv5-t { margin: 0; font-size: 22px !important; font-weight: 600 !important; letter-spacing: -.01em; color: #0B0B0B; }
html body.page-app .inv5-sub { margin: 4px 0 0; font-size: 13.5px; color: #8A8A86; }
html body.page-app .inv5-x { width: 38px; height: 38px; flex: 0 0 38px; border: 0; border-radius: 50%; background: #F4F4F2; color: #0B0B0B; display: grid; place-items: center; }
html body.page-app .inv5-x:hover { background: #ECECEA; }
html body.page-app .inv5-body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; max-height: min(72vh, 760px); }
html body.page-app .inv5-form { padding: 8px 28px 24px; overflow-y: auto; }
html body.page-app .inv5-sec { padding: 18px 0; border-bottom: 1px solid #F1F1EF; }
html body.page-app .inv5-sec:last-child { border-bottom: 0; }
html body.page-app .inv5-sec .field { margin-bottom: 14px; }
html body.page-app .inv5-step { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 15px; font-weight: 500; color: #0B0B0B; }
html body.page-app .inv5-step > span:first-child { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #0B0B0B; color: #fff; font-size: 12px; font-weight: 500; }
html body.page-app .inv5-step .optional { font-weight: 400; color: #8A8A86; font-size: 13px; }
html body.page-app .inv5 .form-control:not([type="search"]) { height: 46px; border-radius: 12px; font-size: 15px; }
html body.page-app .inv5 textarea.form-control { height: auto !important; min-height: 72px; padding-top: 11px; }
html body.page-app .inv5 .form-label { font-size: 13px; color: #4A4A47; font-weight: 400; }
html body.page-app .inv5 .inv3-client .adm-search .form-control { height: 46px; min-height: 46px; }
html body.page-app .inv5-money { position: relative; }
html body.page-app .inv5-money > span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #8A8A86; font-size: 15px; pointer-events: none; }
html body.page-app .inv5-money .form-control { padding-left: 28px; font-variant-numeric: tabular-nums; }
html body.page-app .inv5-side { padding: 24px; background: #FAFAF9; border-left: 1px solid #F1F1EF; overflow-y: auto; }
html body.page-app .inv5-side-k { margin: 0 0 10px; font-size: 12.5px; color: #8A8A86; }
html body.page-app .inv5-pv { padding: 20px; border: 1px solid #ECECEA; border-radius: 18px; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.04); }
html body.page-app .inv5-pv-top { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid #F1F1EF; }
html body.page-app .inv5-pv small { display: block; font-size: 12px; color: #8A8A86; }
html body.page-app .inv5-pv-top b { font-size: 18px; font-weight: 500; }
html body.page-app .inv5-pv-row { padding: 14px 0; border-bottom: 1px solid #F1F1EF; }
html body.page-app .inv5-pv-row b { display: block; font-weight: 500; font-size: 14px; margin-top: 2px; }
html body.page-app .inv5-pv em, html body.page-app .inv5-pv-line em { display: block; font-style: normal; font-size: 12.5px; color: #8A8A86; word-break: break-word; }
html body.page-app .inv5-pv-line { padding: 14px 0; border-bottom: 1px solid #F1F1EF; }
html body.page-app .inv5-pv-line b { display: block; font-weight: 500; font-size: 14px; word-break: break-word; }
html body.page-app .inv5-pv-line b.is-empty { color: #BDBBB5; }
html body.page-app .inv5-pv-total { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 0 6px; }
html body.page-app .inv5-pv-total strong { font-size: 26px; font-weight: 500; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
html body.page-app .inv5-pv-dl { margin: 6px 0 0; }
html body.page-app .inv5-pv-dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 13px; }
html body.page-app .inv5-pv-dl dt { font-weight: 400; color: #8A8A86; }
html body.page-app .inv5-pv-dl dd { margin: 0; text-align: right; color: #0B0B0B; word-break: break-word; }
html body.page-app .inv5-side-note { margin: 12px 2px 0; font-size: 12px; color: #A3A3A0; }
html body.page-app .inv5-foot { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 14px 28px; border-top: 1px solid #F1F1EF; background: #fff; }
html body.page-app .inv5-save { height: 46px !important; min-height: 46px !important; padding: 0 22px !important; border-radius: 999px !important; font-size: 15px !important; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 991.98px) {
  html body.page-app .inv5-box { border-radius: 0; }
  html body.page-app .inv5-head { padding: 16px 18px 14px; }
  html body.page-app .inv5-body { grid-template-columns: 1fr; max-height: none; flex: 1; overflow-y: auto; }
  html body.page-app .inv5-form { padding: 4px 18px 8px; overflow: visible; }
  html body.page-app .inv5-side { border-left: 0; border-top: 1px solid #F1F1EF; padding: 18px; overflow: visible; }
  html body.page-app .inv5-foot { padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); }
  html body.page-app .inv5-foot .inv5-save { flex: 1; justify-content: center; height: 50px !important; }
}

/* v10.40 · «Nueva factura»: el formulario y la vista previa se desplazan dentro de la ventana (antes se cortaba abajo) */
html body.page-app .inv5-box { display: flex; flex-direction: column; max-height: calc(100vh - 3.5rem); max-height: calc(100dvh - 3.5rem); }
html body.page-app .inv5-head, html body.page-app .inv5-foot { flex: 0 0 auto; }
html body.page-app .inv5-body { flex: 1 1 auto; min-height: 0; max-height: none; grid-template-rows: minmax(0, 1fr); overflow: hidden; }
html body.page-app .inv5-form, html body.page-app .inv5-side { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
@media (max-width: 991.98px) {
  html body.page-app .inv5-box { max-height: none; height: 100%; }
  html body.page-app .inv5-body { display: block; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  html body.page-app .inv5-form, html body.page-app .inv5-side { overflow: visible; }
}

/* v10.41 · Precio con su moneda: «$ 89.000 [bandera] COP» */
.mny { display: inline-flex; align-items: baseline; gap: .4em; white-space: nowrap; }
.mny-c { display: inline-flex; align-items: center; gap: 4px; align-self: center; font-size: 11px; font-weight: 500; letter-spacing: .03em; color: #8A8A86; line-height: 1; }
.mny-f { width: 16px; height: 11px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.08); flex: 0 0 auto; }
.adm2-kpi strong .mny-c, .fv3-t .mny-c, .fv-total .mny-c, .inv5-pv-total .mny-c { font-size: 12px; }
.num .mny, .fv-r .mny, .fv-totals .mny { justify-content: flex-end; }
@media print { .mny-f { box-shadow: none; } }

/* v10.41 · La bandera solo en las tablas; en el resto solo «COP» */
.mny-f { display: none; }
table .mny-f, .bl-table .mny-f { display: inline-block; }
.mny-c { align-self: baseline; } .mny-f { align-self: center; }

/* v10.42 · En la factura no va la bandera (solo «COP») */
.fv-doc .mny-f, .fv-table .mny-f, .fv-page .mny-f { display: none !important; }

/* v10.43 · Dominio › «Ya tengo mi dominio» (clases ow-*) */
html body.page-app .dm6-table.has-act .dm6-tr { grid-template-columns: minmax(0, 2fr) .9fr 1.3fr 1fr 130px; }
html body.page-app .dm6-act { display: flex; justify-content: flex-end; }
html body.page-app .ow-row-btn { height: 34px; padding: 0 14px; border: 1px solid #E2E2DF; border-radius: 999px; background: #fff; color: #0B0B0B; font-size: 13px; font-weight: 500; white-space: nowrap; }
html body.page-app .ow-row-btn:hover { background: #F5F5F3; }
html body.page-app .ow-row-btn.is-main { border-color: #0B0B0B; background: #0B0B0B; color: #fff; }
html body.page-app .ow-row-btn.is-main:hover { background: #262626; }
html body.page-app .dm6-st.is-connected::before { background: #2DB37A; }
html body.page-app .dm6-st.is-transferring::before { background: #E5A000; }
html body.page-app .dm6-st.is-file_pending::before, html body.page-app .dm6-st.is-transfer_pending::before, html body.page-app .dm6-st.is-choose::before { background: #BDBDB8; }
html body.page-app .ow-hasone { margin: 14px 0 0; font-size: 13.5px; color: #5A5A57; }
html body.page-app .ow-hasone button { padding: 0; border: 0; background: none; color: #0B0B0B; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
html body.page-app .ow-empty-acts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
html body.page-app .dm6-btn.is-main { border-color: #0B0B0B; background: #0B0B0B; color: #fff; }
html body.page-app .dm6-btn.is-main:hover { background: #262626; color: #fff; }
@media (max-width: 991.98px) {
  html body.page-app .dm6-table.has-act .dm6-tr { grid-template-columns: minmax(0, 1fr) auto; }
  html body.page-app .dm6-table.has-act .dm6-tr.is-h > :nth-child(5) { display: none; }
  html body.page-app .dm6-table.has-act .dm6-act { grid-column: 1 / -1; justify-content: flex-start; }
  html body.page-app .dm6-table.has-act .dm6-act:empty { display: none; }
}

/* Ventana */
html body.page-app .ow-modal .modal-dialog { max-width: 560px; }
html body.page-app .ow-modal .modal-content { position: relative; border: 0; border-radius: 24px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .4); }
html body.page-app .ow-body { padding: 30px 28px 24px; }
html body.page-app .ow-x { position: absolute; top: 14px; right: 14px; z-index: 2; }
html body.page-app .ow-h { margin: 0 32px 6px 0; font-size: 20px; font-weight: 600; letter-spacing: -.01em; color: #0B0B0B; overflow-wrap: anywhere; }
html body.page-app .ow-lead { margin: 0 0 18px; font-size: 14px; line-height: 1.5; color: #5A5A57; }
html body.page-app .ow-back { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 12px; padding: 0; border: 0; background: none; font-size: 13px; color: #5A5A57; }
html body.page-app .ow-back:hover { color: #0B0B0B; }
html body.page-app .ow-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border: 1px solid #E2E2DF; border-radius: 10px; background: #fff; color: #0B0B0B; font-size: 13.5px; font-weight: 500; text-decoration: none; white-space: nowrap; }
html body.page-app .ow-btn:hover { background: #F5F5F3; color: #0B0B0B; }
html body.page-app .ow-btn.is-main { border-color: #0B0B0B; background: #0B0B0B; color: #fff; }
html body.page-app .ow-btn.is-main:hover { background: #262626; color: #fff; }
html body.page-app .ow-btn:disabled { opacity: .7; }

/* Buscar */
html body.page-app .ow-bar { display: flex; align-items: center; gap: 8px; padding: 4px 4px 4px 14px; border: 1px solid #E2E2DF; border-radius: 12px; background: #fff; transition: border-color .15s; }
html body.page-app .ow-bar:focus-within { border-color: #0B0B0B; }
html body.page-app .ow-pre { font-size: 14px; color: #8A8A86; }
html body.page-app .ow-bar input { flex: 1; min-width: 0; height: 38px; border: 0; outline: 0; background: transparent; font-size: 15px; color: #0B0B0B; }
html body.page-app .ow-out:empty { display: none; }
html body.page-app .ow-out { margin-top: 16px; }
html body.page-app .ow-wait { display: flex; align-items: center; gap: 10px; margin: 6px 0; font-size: 13.5px; color: #5A5A57; }

/* Datos del dominio */
html body.page-app .ow-card { padding: 16px 18px; border: 1px solid #ECECEA; border-radius: 14px; background: #FAFAF9; }
html body.page-app .ow-card.is-empty { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
html body.page-app .ow-card.is-empty p { margin: 0; font-size: 14px; color: #3F3F3D; }
html body.page-app .ow-card-h { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 15px; color: #0B0B0B; }
html body.page-app .ow-card-h b { font-weight: 500; overflow-wrap: anywhere; }
html body.page-app .ow-tag { margin-left: auto; padding: 2px 9px; border-radius: 999px; background: #E9F6EF; color: #1E7A50; font-size: 12px; white-space: nowrap; }
html body.page-app .ow-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 0; }
html body.page-app .ow-dl > div { min-width: 0; }
html body.page-app .ow-dl dt { font-size: 12px; font-weight: 400; color: #8A8A86; }
html body.page-app .ow-dl dd { margin: 2px 0 0; font-size: 13.5px; color: #0B0B0B; overflow-wrap: anywhere; }
html body.page-app .ow-dl.is-tech { grid-template-columns: 1fr; margin-top: 10px; }
html body.page-app .ow-dl.is-tech dd { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; color: #3F3F3D; }
html body.page-app .ow-dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; vertical-align: 1px; }
html body.page-app .ow-dot.is-ok { background: #2DB37A; } html body.page-app .ow-dot.is-warn { background: #E5A000; }
html body.page-app .ow-tech { margin-top: 12px; border-top: 1px solid #ECECEA; padding-top: 10px; }
html body.page-app .ow-tech summary, html body.page-app .ow-more summary { cursor: pointer; font-size: 13px; font-weight: 500; color: #3F3F3D; }

/* Elegir */
html body.page-app .ow-q { margin: 20px 0 10px; font-size: 15px; font-weight: 600; color: #0B0B0B; }
html body.page-app .ow-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
html body.page-app .ow-choice { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px; border: 1px solid #E2E2DF; border-radius: 14px; background: #fff; text-align: left; transition: border-color .15s, box-shadow .15s; }
html body.page-app .ow-choice:hover { border-color: #0B0B0B; box-shadow: 0 6px 18px -10px rgba(0, 0, 0, .25); }
html body.page-app .ow-choice.is-busy { opacity: .6; pointer-events: none; }
html body.page-app .ow-choice-t { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 500; color: #0B0B0B; }
html body.page-app .ow-choice-t em { padding: 1px 8px; border-radius: 999px; background: #0B0B0B; color: #fff; font-size: 11px; font-style: normal; font-weight: 400; }
html body.page-app .ow-choice-p { font-size: 13px; line-height: 1.45; color: #5A5A57; }
html body.page-app .ow-choice-b { margin-top: auto; padding-top: 4px; font-size: 13.5px; font-weight: 500; color: #0B0B0B; }

/* Pasos */
html body.page-app .ow-steps { list-style: none; margin: 0; padding: 0; }
html body.page-app .ow-steps > li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid #F2F2F0; }
html body.page-app .ow-steps > li:first-child { border-top: 0; padding-top: 4px; }
html body.page-app .ow-steps > li > b { flex: 0 0 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #F2F2F0; font-size: 12.5px; font-weight: 500; color: #0B0B0B; }
html body.page-app .ow-steps > li > div { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; flex: 1; }
html body.page-app .ow-steps strong { font-size: 14px; font-weight: 500; color: #0B0B0B; }
html body.page-app .ow-steps span { font-size: 13.5px; line-height: 1.5; color: #5A5A57; }
html body.page-app .ow-steps code, html body.page-app .ow-modal code { padding: 1px 5px; border-radius: 5px; background: #F2F2F0; color: #0B0B0B; font-size: 12.5px; }
html body.page-app .ow-steps .ow-btn { margin-top: 4px; }
html body.page-app .ow-in { width: 100%; height: 40px; padding: 0 12px; border: 1px solid #E2E2DF; border-radius: 10px; font-size: 14px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; outline: 0; }
html body.page-app .ow-in:focus { border-color: #0B0B0B; }
html body.page-app .ow-in.is-bad { border-color: #D64545; }
html body.page-app .ow-res { margin: 4px 0 0; padding: 10px 12px; border-radius: 10px; font-size: 13.5px; line-height: 1.45; }
html body.page-app .ow-res.is-ok { background: #E9F6EF; color: #1E7A50; }
html body.page-app .ow-res.is-bad { background: #F7F7F5; color: #3F3F3D; }
html body.page-app .ow-flag { font-size: 12.5px !important; }
html body.page-app .ow-flag.is-warn { color: #9A6A00 !important; } html body.page-app .ow-flag.is-ok { color: #1E7A50 !important; }
html body.page-app .ow-price { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; padding: 14px 16px; border: 1px solid #ECECEA; border-radius: 14px; background: #FAFAF9; }
html body.page-app .ow-price span { display: flex; flex-direction: column; font-size: 14px; font-weight: 500; color: #0B0B0B; }
html body.page-app .ow-price small { font-size: 12.5px; font-weight: 400; color: #5A5A57; }
html body.page-app .ow-price b { font-size: 17px; font-weight: 600; color: #0B0B0B; white-space: nowrap; }
html body.page-app .ow-warn { margin: 0 0 14px; padding: 10px 12px; border-radius: 10px; background: #FFF6E0; color: #6B4B00; font-size: 13.5px; line-height: 1.45; }
html body.page-app .ow-more { margin-top: 6px; padding: 12px 0 0; border-top: 1px solid #F2F2F0; }
html body.page-app .ow-more ul { margin: 10px 0 0; padding-left: 18px; font-size: 13px; line-height: 1.55; color: #5A5A57; }
html body.page-app .ow-more li + li { margin-top: 4px; }
html body.page-app .ow-help { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 13px; color: #3F3F3D; text-decoration: none; }
html body.page-app .ow-help:hover { color: #0B0B0B; text-decoration: underline; }
html body.page-app .ow-rm { margin-top: 18px; padding-top: 12px; border-top: 1px solid #F2F2F0; }
html body.page-app .ow-link { padding: 0; border: 0; background: none; font-size: 12.5px; color: #8A8A86; text-decoration: underline; text-underline-offset: 3px; }
html body.page-app .ow-link:hover { color: #D64545; }
@media (max-width: 575.98px) {
  html body.page-app .ow-body { padding: 24px 18px 18px; }
  html body.page-app .ow-choices, html body.page-app .ow-dl { grid-template-columns: 1fr; }
  html body.page-app .ow-pre { display: none; }
}

/* v10.43 · Administración › Dominios: traslado y su código */
html body.page-app .adm-dm-tr { color: #5A5A57; }
html body.page-app .adm-dm-tr code { user-select: all; }

/* v10.45 · Administración › Dominios y Correos: tabla sencilla con ganancia y ventana de detalle (adm-dd-*) */
html body.page-app .adm-dm-row { cursor: pointer; }
html body.page-app .adm-dm-row:hover > td { background: #FAFAF9; }
html body.page-app .adm-dm-row:focus-visible { outline: 2px solid #0B0B0B; outline-offset: -2px; }
html body.page-app .adm-dm-win { color: #1E7A50; font-weight: 500; }
html body.page-app .adm-dm-win.is-neg { color: #C0392B; }
html body.page-app .adm-dd .modal-dialog, html body.page-app .modal-dialog:has(> .adm-dd) { max-width: 560px; }
html body.page-app .adm-dd .modal-body { display: block; }
html body.page-app .adm-dd-k { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: 12.5px; color: #8A8A86; }
html body.page-app .adm-dd .adm-plan-t { overflow-wrap: anywhere; }
html body.page-app .adm-dd-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 12px; }
html body.page-app .adm-dd-sum > div { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid #ECECEA; border-radius: 12px; background: #FAFAF9; min-width: 0; }
html body.page-app .adm-dd-sum span { font-size: 12px; color: #8A8A86; }
html body.page-app .adm-dd-sum b { font-size: 15px; font-weight: 600; color: #0B0B0B; white-space: nowrap; }
html body.page-app .adm-dd-sum .is-win { border-color: #CDEBDB; background: #F1FAF5; }
html body.page-app .adm-dd-sum .is-win b { color: #1E7A50; }
html body.page-app .adm-dd-h { margin: 18px 0 6px; font-size: 13px; font-weight: 600; color: #0B0B0B; }
html body.page-app .adm-dd-dl { margin: 0; }
html body.page-app .adm-dd-dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-top: 1px solid #F2F2F0; font-size: 13.5px; }
html body.page-app .adm-dd-dl > div:first-child { border-top: 0; }
html body.page-app .adm-dd-dl dt { font-weight: 400; color: #5A5A57; min-width: 0; overflow-wrap: anywhere; }
html body.page-app .adm-dd-dl dd { margin: 0; color: #0B0B0B; text-align: right; overflow-wrap: anywhere; }
html body.page-app .adm-dd-dl > div.is-sep { border-top: 1px dashed #E2E2DF; }
html body.page-app .adm-dd-dl > div.is-total { border-top: 1px solid #0B0B0B; font-weight: 500; }
html body.page-app .adm-dd-dl > div.is-total dd { color: #1E7A50; }
html body.page-app .adm-dd-code code { display: inline-block; padding: 6px 10px; border-radius: 8px; background: #F2F2F0; color: #0B0B0B; font-size: 14px; user-select: all; }
html body.page-app .adm-dd-help { margin: 0 0 10px; font-size: 13px; line-height: 1.5; color: #5A5A57; }
html body.page-app .adm-dd-form { display: grid; gap: 10px; }
html body.page-app .adm-dd-l { display: grid; gap: 4px; font-size: 12.5px; color: #5A5A57; }
html body.page-app .adm-dd-l small { color: #8A8A86; }
html body.page-app .adm-dd-form .form-select, html body.page-app .adm-dd-form .form-control { border-radius: 10px; font-size: 14px; }
html body.page-app .adm-dd-form .form-select, html body.page-app .adm-dd-form input.form-control { height: 42px; }
html body.page-app .adm-dd .adm-wompi { margin-top: 8px; }
@media (max-width: 575.98px) { html body.page-app .adm-dd-sum { grid-template-columns: 1fr; } }

/* v10.49 · Administración › Precios: pestañas, campos con explicación y simulación (pr2-*) */
html body.page-app .pr2-tabs button { position: relative; padding: 0 0 9px; border: 0; background: none; font-size: 13px; color: var(--tc-mute); }
html body.page-app .pr2-tabs button.is-on { color: var(--tc-ink); font-weight: 500; }
html body.page-app .pr2-tabs button.is-on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1.5px; background: var(--tc-ink); }
html body.page-app .pr2-pane { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; padding-top: 22px; }
html body.page-app .pr2-pane[hidden] { display: none; }
html body.page-app .pr2-h { margin: 0; font-size: 15px; font-weight: 600; color: #0B0B0B; }
html body.page-app .pr2-lead { margin: 4px 0 14px; font-size: 13.5px; color: #5A5A57; }
html body.page-app .pr2-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid #F2F2F0; margin: 0; }
html body.page-app .pr2-l { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
html body.page-app .pr2-l b { font-size: 14px; font-weight: 500; color: #0B0B0B; }
html body.page-app .pr2-l small { font-size: 12.5px; color: #8A8A86; }
html body.page-app .pr2-in { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 170px; height: 40px; padding: 0 12px; border: 1px solid #E2E2DF; border-radius: 10px; background: #fff; }
html body.page-app .pr2-in:focus-within { border-color: #0B0B0B; }
html body.page-app .pr2-in i { font-style: normal; font-size: 13px; color: #8A8A86; }
html body.page-app .pr2-in input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 14px; color: #0B0B0B; text-align: right; font-variant-numeric: tabular-nums; }
html body.page-app .pr2-in.is-sm { flex: 0 0 auto; width: 120px; height: 34px; }
html body.page-app .pr2-more { margin-top: 6px; border-top: 1px solid #F2F2F0; padding-top: 14px; }
html body.page-app .pr2-more summary { cursor: pointer; font-size: 13px; font-weight: 500; color: #3F3F3D; }
html body.page-app .pr2-ext { margin-top: 10px; }
html body.page-app .pr2-ext-h, html body.page-app .pr2-ext-r { display: grid; grid-template-columns: 1fr 120px 120px; gap: 10px; align-items: center; padding: 6px 0; }
html body.page-app .pr2-ext-h { font-size: 12px; color: #8A8A86; }
html body.page-app .pr2-ext-r b { font-size: 13.5px; font-weight: 500; }
html body.page-app .pr2-sim { position: sticky; top: 16px; padding: 18px; border: 1px solid #ECECEA; border-radius: 16px; background: #FAFAF9; }
html body.page-app .pr2-sim-k { margin: 0 0 10px; font-size: 12px; color: #8A8A86; }
html body.page-app .pr2-sim-pick { display: grid; gap: 8px; margin-bottom: 14px; }
html body.page-app .pr2-sim-pick select { height: 40px; padding: 0 12px; border: 1px solid #E2E2DF; border-radius: 10px; background: #fff; font-size: 14px; }
html body.page-app .pr2-sim-pick .pr2-in { flex: 1; width: 100%; }
html body.page-app .pr2-seg { display: flex; gap: 4px; padding: 3px; border-radius: 10px; background: #ECECEA; }
html body.page-app .pr2-seg button { flex: 1; height: 32px; border: 0; border-radius: 8px; background: none; font-size: 12.5px; color: #5A5A57; }
html body.page-app .pr2-seg button.is-on { background: #fff; color: #0B0B0B; font-weight: 500; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
html body.page-app .pr2-bd { margin: 0; }
html body.page-app .pr2-bd > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 13.5px; color: #5A5A57; }
html body.page-app .pr2-bd dt { font-weight: 400; } html body.page-app .pr2-bd dd { margin: 0; color: #0B0B0B; font-variant-numeric: tabular-nums; }
html body.page-app .pr2-bd .is-big { padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid #ECECEA; }
html body.page-app .pr2-bd .is-big dd { font-size: 20px; font-weight: 600; }
html body.page-app .pr2-bd .is-win { margin-top: 4px; padding-top: 10px; border-top: 1px solid #0B0B0B; color: #0B0B0B; font-weight: 500; }
html body.page-app .pr2-bd .is-win dd { color: #1E7A50; font-size: 16px; font-weight: 600; }
html body.page-app .pr2-bd .is-soft { font-size: 12.5px; }
html body.page-app .pr2-save { position: sticky; bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; padding: 10px 10px 10px 18px; border: 1px solid #ECECEA; border-radius: 14px; background: rgba(255, 255, 255, .96); box-shadow: 0 12px 30px -18px rgba(0, 0, 0, .3); font-size: 13px; color: #5A5A57; }
@media (max-width: 991.98px) { html body.page-app .pr2-pane { grid-template-columns: 1fr; } html body.page-app .pr2-sim { position: static; } }
@media (max-width: 575.98px) { html body.page-app .pr2-row { flex-direction: column; align-items: stretch; } html body.page-app .pr2-in { flex-basis: auto; } html body.page-app .pr2-ext-h, html body.page-app .pr2-ext-r { grid-template-columns: 1fr 100px 100px; } html body.page-app .pr2-in.is-sm { width: 100px; } }

/* v10.48 · Correo corporativo del cliente con el mismo diseño de «Tu dominio» */
html body.page-app .em9 .dm6-table.has-act .dm6-tr { grid-template-columns: minmax(0, 2fr) .8fr 1.4fr .9fr 230px; }
html body.page-app .em-acts { gap: 6px; }
html body.page-app .ow-row-btn { display: inline-flex; align-items: center; text-decoration: none; }
html body.page-app .ow-row-btn.is-main:hover { color: #fff; }
html body.page-app .ow-row-btn.is-off { color: #A8A8A4; border-color: #ECECEA; cursor: default; }
@media (max-width: 991.98px) { html body.page-app .em9 .dm6-table.has-act .dm6-tr { grid-template-columns: minmax(0, 1fr) auto; } }
/* v10.48 · El correo (y el dominio) se ve completo: sin «…», baja de línea si no cabe; el precio va debajo */
html body.page-app .dm6-dn { flex-wrap: wrap; row-gap: 2px; }
html body.page-app .dm6-dn strong { overflow: visible; text-overflow: clip; white-space: normal; overflow-wrap: anywhere; min-width: 0; flex: 1 1 0; }
html body.page-app .dm6-dn small { flex-basis: 100%; padding-left: 26px; white-space: normal; }
html body.page-app .em9 .dm6-table.has-act .dm6-tr { grid-template-columns: minmax(0, 2.6fr) .7fr 1fr .8fr 220px; }

/* v10.50 · Precios: conexión con Hostinger y fecha de la última actualización */
html body.page-app .pr2-sync { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; padding: 12px 14px; border: 1px solid #ECECEA; border-radius: 14px; background: #fff; }
html body.page-app .pr2-sync-dot { flex: 0 0 8px; height: 8px; border-radius: 50%; background: #2DB37A; box-shadow: 0 0 0 4px #E9F6EF; }
html body.page-app .pr2-sync.is-off .pr2-sync-dot { background: #E5A000; box-shadow: 0 0 0 4px #FFF6E0; }
html body.page-app .pr2-sync-t { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
html body.page-app .pr2-sync-t b { font-size: 13.5px; font-weight: 500; color: #0B0B0B; }
html body.page-app .pr2-sync-t small { font-size: 12.5px; color: #5A5A57; }
html body.page-app .pr2-sync form { margin: 0; }
html body.page-app .pr2-sync-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; border-radius: 10px; white-space: nowrap; }
html body.page-app .pr2-note { margin: 8px 0 0; font-size: 12.5px; color: #8A8A86; }
html body.page-app .pr2-ext-v { font-size: 13.5px; color: #0B0B0B; font-variant-numeric: tabular-nums; }
@media (max-width: 575.98px) { html body.page-app .pr2-sync { flex-wrap: wrap; } }

/* v10.52 · Administración › Pagos con pestañas */
html body.page-app .pg6-tabs { margin-bottom: 18px; }
html body.page-app .pg6-types { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12.5px !important; font-weight: 400 !important; color: #5A5A57; }
html body.page-app .pg6-types b { font-weight: 500; color: #0B0B0B; }
html body.page-app .pg6-table .adm-actions { justify-content: flex-end; }

/* v10.54 · Pagos: botones del detalle */
html body.page-app .adm-dd-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
html body.page-app .adm-dd-acts .adm-wompi { margin-top: 0; height: 31px; }

/* v10.55 · Entrar al buzón */
body.page-bare .wg { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: #F7F7F5; }
body.page-bare .wg-card { width: 100%; max-width: 380px; padding: 32px 28px; border-radius: 24px; background: #fff; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .35); text-align: center; }
body.page-bare .wg-ic { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: #F2F2F0; font-size: 22px; color: #0B0B0B; }
body.page-bare .wg-k { margin: 14px 0 2px; font-size: 12.5px; color: #8A8A86; }
body.page-bare .wg-mail { margin: 0; font-size: 18px; font-weight: 600; color: #0B0B0B; overflow-wrap: anywhere; }
body.page-bare .wg-lead { margin: 6px 0 20px; font-size: 13.5px; color: #5A5A57; }
body.page-bare .wg-btn { width: 100%; height: 48px; border: 0; border-radius: 999px; background: #111; color: #fff; font-size: 15px; font-weight: 500; }

/* v10.58 · Eliminar dominio */
html body.page-app .ow-del { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-left: 6px; border: 1px solid transparent; border-radius: 999px; background: none; color: #8A8A86; }
html body.page-app .ow-del:hover { border-color: #F2D4D4; background: #FDF3F3; color: #C0392B; }
html body.page-app .del-ic { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 12px; border-radius: 50%; background: #FDF3F3; color: #C0392B; font-size: 20px; }
html body.page-app .del-list { margin: 0 0 18px; padding-left: 18px; font-size: 13.5px; line-height: 1.55; color: #3F3F3D; }
html body.page-app .del-list li + li { margin-top: 6px; }
html body.page-app .del-confirm { display: grid; gap: 6px; font-size: 13px; color: #5A5A57; }
html body.page-app .del-confirm b { color: #0B0B0B; font-weight: 600; }
html body.page-app .del-acts { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
html body.page-app .ow-btn.is-danger { border-color: #C0392B; background: #C0392B; color: #fff; }
html body.page-app .ow-btn.is-danger:hover { background: #A93226; color: #fff; }
html body.page-app .ow-btn.is-danger:disabled { opacity: .45; }
html body.page-app .dm6:not(.em9) .dm6-table.has-act .dm6-tr { grid-template-columns: minmax(0, 2fr) .9fr 1.1fr 1fr 180px; }
@media (max-width: 991.98px) { html body.page-app .dm6:not(.em9) .dm6-table.has-act .dm6-tr { grid-template-columns: minmax(0, 1fr) auto; } }

/* v10.59 · Botón «Eliminar» más claro: píldora con ícono y texto, rojo suave que se llena al pasar el mouse */
html body.page-app .ow-del { width: auto; height: 34px; gap: 6px; padding: 0 12px 0 10px; border: 1px solid #F2D4D4; border-radius: 999px; background: #fff; color: #C0392B; font-size: 13px; font-weight: 500; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
html body.page-app .ow-del i { font-size: 13px; }
html body.page-app .ow-del:hover, html body.page-app .ow-del:focus-visible { border-color: #C0392B; background: #C0392B; color: #fff; outline: 0; }
html body.page-app .dm6:not(.em9) .dm6-table.has-act .dm6-tr { grid-template-columns: minmax(0, 2fr) .9fr 1.1fr 1fr 230px; }
@media (max-width: 991.98px) { html body.page-app .dm6:not(.em9) .dm6-table.has-act .dm6-tr { grid-template-columns: minmax(0, 1fr) auto; } }
@media (max-width: 575.98px) { html body.page-app .ow-del span { display: none; } html body.page-app .ow-del { width: 34px; padding: 0; justify-content: center; } }

/* v10.60 · Botón «…» neutro y circular + ventana de detalle del dominio */
html body.page-app .ow-dots { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-left: 6px; padding: 0; border: 1px solid #E2E2DF; border-radius: 50%; background: #fff; color: #3F3F3D; font-size: 16px; transition: background .15s, border-color .15s; }
html body.page-app .ow-dots:hover, html body.page-app .ow-dots:focus-visible { border-color: #0B0B0B; background: #F5F5F3; color: #0B0B0B; outline: 0; }
html body.page-app .dm6:not(.em9) .dm6-table.has-act .dm6-tr { grid-template-columns: minmax(0, 2fr) .9fr 1.1fr 1fr 180px; }
@media (max-width: 991.98px) { html body.page-app .dm6:not(.em9) .dm6-table.has-act .dm6-tr { grid-template-columns: minmax(0, 1fr) auto; } }
html body.page-app .dd-k { margin: 0 0 4px; font-size: 12.5px; color: #8A8A86; }
html body.page-app .dd-h { margin: 20px 0 8px; font-size: 13px; font-weight: 600; color: #0B0B0B; }
html body.page-app .dd-dl { grid-template-columns: 1fr 1fr; }
html body.page-app .dd-dl dd { font-size: 13.5px; }
html body.page-app .dd-empty { margin: 0; font-size: 13px; color: #8A8A86; }
html body.page-app .dd-foot { margin-top: 22px; padding-top: 16px; border-top: 1px solid #F2F2F0; }
html body.page-app .dd-del { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 1px solid #E2E2DF; border-radius: 10px; background: #fff; color: #3F3F3D; font-size: 13.5px; font-weight: 500; }
html body.page-app .dd-del:hover { border-color: #0B0B0B; color: #0B0B0B; }
@media (max-width: 575.98px) { html body.page-app .dd-dl { grid-template-columns: 1fr; } }

/* v10.61 · Ventanas de detalle técnico y de eliminar: más limpias */
html body.page-app .dd-modal .modal-dialog, html body.page-app .del-modal .modal-dialog { max-width: 460px; }
html body.page-app .dd-body { padding: 28px 28px 24px; }
html body.page-app .dd-head { display: flex; align-items: center; gap: 14px; margin: 0 28px 22px 0; }
html body.page-app .dd-ic { flex: 0 0 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #F2F2F0; color: #0B0B0B; font-size: 19px; }
html body.page-app .dd-head-t { min-width: 0; }
html body.page-app .dd-head-t h2 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.01em; color: #0B0B0B; overflow-wrap: anywhere; }
html body.page-app .dd-head-t p { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; font-size: 12.5px; color: #8A8A86; }
html body.page-app .dd-dot { width: 3px; height: 3px; border-radius: 50%; background: #C8C8C4; }
html body.page-app .dd-pill { padding: 1px 8px; border-radius: 999px; background: #F2F2F0; color: #3F3F3D; }
html body.page-app .dd-h { margin: 18px 0 6px; font-size: 11.5px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: #8A8A86; }
html body.page-app .dd-list { margin: 0; border: 1px solid #F0F0EE; border-radius: 14px; overflow: hidden; }
html body.page-app .dd-list > div { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 11px 14px; border-top: 1px solid #F0F0EE; }
html body.page-app .dd-list > div:first-child { border-top: 0; }
html body.page-app .dd-list dt { flex: 0 0 auto; font-size: 13px; font-weight: 400; color: #5A5A57; }
html body.page-app .dd-list dd { margin: 0; min-width: 0; font-size: 13px; color: #0B0B0B; text-align: right; overflow-wrap: anywhere; }
html body.page-app .dd-list code { padding: 1px 6px; border-radius: 6px; background: #F5F5F3; color: #3F3F3D; font-size: 12px; }
html body.page-app .dd-ns { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
html body.page-app .dd-st { display: inline-flex; align-items: center; gap: 6px; }
html body.page-app .dd-st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #BDBDB8; }
html body.page-app .dd-st.is-ok::before { background: #2DB37A; } html body.page-app .dd-st.is-warn::before { background: #E5A000; }
html body.page-app .dd-empty { margin: 0; padding: 14px; border: 1px dashed #E2E2DF; border-radius: 14px; font-size: 13px; color: #8A8A86; }
html body.page-app .dd-skel { display: grid; gap: 1px; border: 1px solid #F0F0EE; border-radius: 14px; overflow: hidden; }
html body.page-app .dd-skel i { display: block; height: 42px; background: linear-gradient(90deg, #FAFAF9 0%, #F2F2F0 50%, #FAFAF9 100%); background-size: 200% 100%; animation: ddSk 1.2s ease-in-out infinite; }
@keyframes ddSk { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
html body.page-app .dd-del { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 42px; margin-top: 22px; border: 0; border-radius: 12px; background: #F5F5F3; color: #3F3F3D; font-size: 13.5px; font-weight: 500; transition: background .15s, color .15s; }
html body.page-app .dd-del:hover { background: #ECECEA; color: #0B0B0B; }

html body.page-app .del-body { padding: 32px 28px 22px; text-align: center; }
html body.page-app .del-modal .del-ic { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin: 0 0 14px; border-radius: 50%; background: #F5F5F3; color: #0B0B0B; font-size: 20px; }
html body.page-app .del-t { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.01em; color: #0B0B0B; overflow-wrap: anywhere; }
html body.page-app .del-lead { margin: 6px 0 16px; font-size: 13.5px; color: #5A5A57; }
html body.page-app .del-modal .del-list { margin: 0 0 18px; padding: 4px 16px; list-style: none; border-radius: 14px; background: #FAFAF9; text-align: left; }
html body.page-app .del-modal .del-list li { position: relative; margin: 0; padding: 10px 0 10px 16px; border-top: 1px solid #F0F0EE; font-size: 13px; line-height: 1.5; color: #3F3F3D; }
html body.page-app .del-modal .del-list li:first-child { border-top: 0; }
html body.page-app .del-modal .del-list li::before { content: ""; position: absolute; left: 0; top: 18px; width: 5px; height: 5px; border-radius: 50%; background: #0B0B0B; }
html body.page-app .del-modal .del-confirm { display: grid; gap: 8px; text-align: left; font-size: 12.5px; color: #5A5A57; }
html body.page-app .del-modal .del-confirm input { width: 100%; height: 44px; padding: 0 14px; border: 1px solid #E2E2DF; border-radius: 12px; font-size: 14px; outline: 0; transition: border-color .15s; }
html body.page-app .del-modal .del-confirm input:focus { border-color: #0B0B0B; }
html body.page-app .del-go { width: 100%; height: 46px; margin-top: 14px; border: 0; border-radius: 999px; background: #0B0B0B; color: #fff; font-size: 14px; font-weight: 500; transition: opacity .15s; }
html body.page-app .del-go:disabled { opacity: .25; cursor: not-allowed; }
html body.page-app .del-cancel { width: 100%; height: 40px; margin-top: 6px; border: 0; background: none; font-size: 13.5px; color: #5A5A57; }
html body.page-app .del-cancel:hover { color: #0B0B0B; }
@media (max-width: 575.98px) { html body.page-app .dd-body, html body.page-app .del-body { padding: 24px 18px 18px; } }

/* v10.62 · Administrador dentro del panel de un cliente */
html body.page-app .imp-bar { position: sticky; top: 0; z-index: 1030; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 16px; background: #0B0B0B; color: #fff; font-size: 13px; }
html body.page-app .imp-bar b { font-weight: 600; }
html body.page-app .imp-bar i { margin-right: 6px; opacity: .8; }
html body.page-app .imp-bar form { margin: 0; }
html body.page-app .imp-bar button { height: 30px; padding: 0 14px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: transparent; color: #fff; font-size: 12.5px; font-weight: 500; white-space: nowrap; }
html body.page-app .imp-bar button:hover { background: #fff; color: #0B0B0B; }
html body.page-app .imp-modal .modal-dialog { max-width: 420px; }
html body.page-app .imp-modal .modal-content { border: 0; border-radius: 24px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.4); }
html body.page-app .imp-body { padding: 30px 28px 20px; text-align: center; }
html body.page-app .imp-ic { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 14px; border-radius: 50%; background: #F5F5F3; color: #0B0B0B; font-size: 21px; }
html body.page-app .imp-t { margin: 0; font-size: 18px; font-weight: 600; color: #0B0B0B; overflow-wrap: anywhere; }
html body.page-app .imp-lead { margin: 8px 0 18px; font-size: 13px; line-height: 1.5; color: #5A5A57; }
html body.page-app .imp-l { display: grid; gap: 8px; text-align: left; font-size: 12.5px; color: #5A5A57; }
html body.page-app .imp-l input { width: 100%; height: 44px; padding: 0 14px; border: 1px solid #E2E2DF; border-radius: 12px; font-size: 14px; outline: 0; }
html body.page-app .imp-l input:focus { border-color: #0B0B0B; }
html body.page-app .imp-go { width: 100%; height: 46px; margin-top: 14px; border: 0; border-radius: 999px; background: #0B0B0B; color: #fff; font-size: 14px; font-weight: 500; }
html body.page-app .imp-cancel { width: 100%; height: 40px; margin-top: 4px; border: 0; background: none; font-size: 13.5px; color: #5A5A57; }
@media (max-width: 575.98px) { html body.page-app .imp-bar { flex-wrap: wrap; } }

/* v10.63 · Editar datos del cliente */
html body.page-app .imp-body.is-form .imp-l { margin-top: 12px; }
html body.page-app .imp-body.is-form .imp-lead { margin-bottom: 6px; }
html body.page-app .imp-l small { color: #8A8A86; }
html body.page-app .imp-note { margin: 12px 0 0; font-size: 12px; color: #8A8A86; text-align: left; }

/* v10.64 · Despliegues a producción */
html body.page-app .dp-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 14px; margin-bottom: 18px; }
html body.page-app .dp-now { display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 18px 20px; border: 1px solid #ECECEA; border-radius: 16px; background: #fff; }
html body.page-app .dp-now-k { font-size: 12px; color: #8A8A86; }
html body.page-app .dp-now strong { font-size: 20px; font-weight: 600; color: #0B0B0B; }
html body.page-app .dp-now small { font-size: 12.5px; color: #5A5A57; }
html body.page-app .dp-up { display: flex; align-items: stretch; gap: 10px; padding: 10px; border: 1px solid #ECECEA; border-radius: 16px; background: #fff; }
html body.page-app .dp-drop { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 84px; padding: 10px; border: 1.5px dashed #DADAD6; border-radius: 12px; background: #FAFAF9; text-align: center; cursor: pointer; }
html body.page-app .dp-drop:hover { border-color: #0B0B0B; }
html body.page-app .dp-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
html body.page-app .dp-drop i { font-size: 20px; color: #3F3F3D; }
html body.page-app .dp-drop span { font-size: 13.5px; font-weight: 500; color: #0B0B0B; overflow-wrap: anywhere; }
html body.page-app .dp-drop small { font-size: 11.5px; color: #8A8A86; }
html body.page-app .dp-up-btn { align-self: center; height: 40px; border-radius: 10px; white-space: nowrap; }
html body.page-app .dp-pre { max-height: 260px; overflow: auto; margin: 0; padding: 12px 14px; border-radius: 12px; background: #FAFAF9; font-size: 12px; line-height: 1.5; color: #3F3F3D; white-space: pre-wrap; }
@media (max-width: 767.98px) { html body.page-app .dp-top { grid-template-columns: 1fr; } html body.page-app .dp-up { flex-direction: column; } }

/* v10.68 · Administración › Usuarios › Editar datos: verificar correo */
html body.page-app .imp-ver { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; font-size: 13px; color: #3A3A37; text-align: left; cursor: pointer; }
html body.page-app .imp-ver input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: #0B0B0B; cursor: pointer; }
html body.page-app .imp-ver small { color: #8A8A86; }
html body.page-app .imp-ver.is-ok { cursor: default; }
html body.page-app .imp-ver.is-ok i { font-size: 16px; }

/* v10.70 · Nueva factura: al elegir frecuencia o medio de pago la ventana ya no salta ni se desacomoda.
   La casilla oculta quedaba posicionada fuera de su opción y el navegador movía el scroll para mostrarla. */
html body.page-app .adm-plan-mo { position: relative; display: inline-flex; }
html body.page-app .adm-plan-mo input { left: 0; top: 0; width: 1px; height: 1px; margin: 0; }
html body.page-app .inv5 .adm-plan-months { align-items: flex-start; }
html body.page-app .inv5 .adm-plan-mo span { white-space: nowrap; line-height: 1.2; }
html body.page-app .inv5-pv-dl dd { overflow-wrap: anywhere; }
html body.page-app .inv5-foot .btn { flex: none; }

/* v10.71 · Administración › Gestión de correos: nuevo correo, editar dirección/negocio/capacidad/contraseña y eliminar */
html body.page-app .em-tools-r { display: flex; align-items: center; gap: 12px; }
html body.page-app .em-new-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 1px solid #E2E2DF; border-radius: 10px; background: #fff; color: #0B0B0B; font-size: 14px; font-weight: 500; cursor: pointer; }
html body.page-app .em-new-btn:hover { background: #F7F7F5; }
html body.page-app .em-srv-note { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 12px; padding: 10px 14px; border-radius: 10px; background: #F7F7F5; font-size: 13px; color: #5A5A57; }
html body.page-app .em-addr { display: flex; align-items: center; gap: 6px; }
html body.page-app .em-addr b { font-weight: 400; color: #8A8A86; }
html body.page-app .em-addr .form-control { min-width: 0; }
html body.page-app .em-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
html body.page-app .em-chk { display: flex; align-items: center; gap: 9px; margin: 2px 0; font-size: 13px; color: #3A3A37; cursor: pointer; }
html body.page-app .em-chk input[type="checkbox"] { width: 16px; height: 16px; margin: 0; flex: none; accent-color: #0B0B0B; }
html body.page-app .em-chk small { color: #8A8A86; }
html body.page-app .em-chk.is-off { opacity: .5; cursor: default; }
html body.page-app .em-del { margin-top: 18px; padding-top: 14px; border-top: 1px solid #F0F0EE; }
html body.page-app .em-del summary { font-size: 13px; color: #B42318; cursor: pointer; list-style: none; }
html body.page-app .em-del summary::-webkit-details-marker { display: none; }
html body.page-app .em-del[open] summary { margin-bottom: 10px; }
html body.page-app .em-del-btn { height: 40px; padding: 0 16px; border: 1px solid #F4C7C3; border-radius: 10px; background: #fff; color: #B42318; font-size: 14px; font-weight: 500; cursor: pointer; }
html body.page-app .em-del-btn:hover { background: #FEF3F2; }
@media (max-width: 575.98px) { html body.page-app .em-2 { grid-template-columns: 1fr; } html body.page-app .em-tools-r { width: 100%; justify-content: space-between; } }

/* v10.73 · Entrar al buzón: pide la contraseña del correo */
body.page-bare .wg-l { display: block; margin: 0 0 10px; }
body.page-bare .wg-in { width: 100%; height: 48px; padding: 0 16px; border: 1px solid #E2E2DF; border-radius: 12px; font-size: 15px; outline: 0; text-align: left; }
body.page-bare .wg-in:focus { border-color: #0B0B0B; }
body.page-bare .wg-err { margin: 0 0 12px; font-size: 13px; color: #B42318; text-align: left; }
body.page-bare .wg-back { display: inline-block; margin-top: 14px; font-size: 13px; color: #6B6B66; text-decoration: none; }
body.page-bare .wg-back:hover { color: #0B0B0B; }
