/* El marco v3 del Portal (Marquito, 15 y 16-nov; idea del panel de Polo Tab, sin copiar su diseño): las dos barras, la página, las
   ventanas como panel lateral y las piezas de Reportes. Va después de portal-tema.css (letra, colores y piezas base) y antes de la
   hoja de cada pantalla. Solo forma y tamaños; los colores salen de portal-tema.css (variables). */

/* ── Arriba de la página: el título y quién entró ── */
.portal__title { margin: 0; overflow: hidden; color: var(--text); font: 700 19px/1.2 var(--v3-ui); text-overflow: ellipsis; white-space: nowrap; }
.portal__who b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 14px/1.2 var(--v3-ui); }

/* ── Opciones del mismo ancho a todo lo largo del campo (Horario especial: Normal | Especial, días, Propina Sí | No; 15-nov) ── */
.chips--fill { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.chips--fill > .chip { padding: 0; }

/* ── Ventanas (H17, 19-nov): una sola forma, el panel a la derecha con la lista atrás (Marquito, 15-nov, como Polo Tab); ui.js le
   pone dialog--panel a toda ventana salvo dialog--wide y rec-page, que siguen al centro ── */
.dialog__title { font: 700 17px/1.2 var(--v3-ui); letter-spacing: 0; text-align: center; text-transform: none; }
@media (min-width: 761px) {
  .scrim:has(> .dialog--panel) { align-items: stretch; justify-content: flex-end; padding: 0; }
  .dialog.dialog--panel { width: min(var(--pt-sheet), 100vw); max-height: none; gap: 0; padding: 0; border-radius: 0; box-shadow: inset 1px 0 0 var(--pt-line), var(--pt-shadow-pop); }
  .dialog--panel > .dialog__head { flex: 0 0 72px; place-items: center start; padding: 0 64px 0 20px; border-bottom: 1px solid var(--pt-line); }
  .dialog--panel > .dialog__head > .icon-btn { top: 50%; right: 16px; transform: translateY(-50%); }
  .dialog--panel > .dialog__head .dialog__title { text-align: left; }
  .dialog--panel > .dialog__body { display: flex; flex-direction: column; gap: 14px; padding: 20px; overflow-y: auto; }
  .dialog--panel > .dialog__msg { padding: 0 20px; text-align: left; }
  .dialog--panel > .dialog__msg:empty { min-height: 0; }
}
/* El pie: los botones del mismo ancho; con tres o más, dos por renglón y la acción principal (la última) sola a todo el ancho.
   En el teléfono la tarjeta ya trae su margen: el pie solo se separa arriba */
.dialog--panel > .dialog__foot { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; margin-top: auto; padding: 14px 0 0; border-top: 1px solid var(--pt-line); }
.dialog--panel > .dialog__foot:has(> :nth-child(3)) { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dialog--panel > .dialog__foot > .btn { width: 100%; min-width: 0; height: var(--btn-h, 44px); }
.dialog--panel > .dialog__foot > .btn:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 761px) { .dialog--panel > .dialog__foot { padding: 14px 20px; } }
/* Un «Confirmar …» largo (armTwice) no se corta: toma el renglón y parte el texto */
.dialog--panel > .dialog__foot > .is-armed { grid-column: 1 / -1; white-space: normal; }
.dialog--panel .kpis { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }

/* ── Operación, Marketing y Facturación del Portal final (tanda 1, 17-nov) ── */
/* Interruptor de prender/apagar: azul = prendido */
.v3-sw { position: relative; flex: none; width: 36px; height: 20px; padding: 0; border: 0; border-radius: 10px; background: var(--pt-line-strong); cursor: pointer; transition: background .12s; }
.v3-sw::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--on-fill); box-shadow: 0 1px 2px rgba(0, 0, 0, .25); transition: transform .12s; }
.v3-sw.is-on { background: var(--blue); }
.v3-sw.is-on::after { transform: translateX(16px); }
.v3-sw:disabled { opacity: .6; cursor: default; }
.t__c:has(> .v3-sw) { display: flex; align-items: center; justify-content: flex-start; }
/* Lo que sigue a este espacio va a la derecha de la barra */
.itools > .v3-grow { flex: 1 1 0; min-width: 0; }
/* Tarjetas arriba y la barra debajo */
.v3-head { display: flex; flex-direction: column; gap: var(--sp-3); margin-bottom: var(--sp-3); }
/* Campos lado a lado dentro del panel lateral */
.v3-row2, .v3-row3 { display: grid; gap: var(--sp-2); }
.v3-row2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.v3-row3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v3-row3 .btn { width: 100%; min-width: 0; }
.v3-swrow { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); min-height: 40px; }
/* Pasos de una actividad (Operación → Actividades, 19-nov): la caja crece para leerlos sin desplazar */
.act-steps { min-height: 250px; }
/* Datos de una ficha (factura, cliente): nombre a la izquierda, valor a la derecha */
.v3-facts { display: flex; flex-direction: column; }
.v3-fact { display: flex; justify-content: space-between; gap: var(--sp-3); padding: 10px 0; border-bottom: 1px solid var(--line); }
.v3-fact > span { color: var(--muted); }
.v3-fact > b { min-width: 0; text-align: right; overflow-wrap: anywhere; }
.v3-files { display: flex; flex-wrap: wrap; gap: var(--sp-2); }

/* ── Teléfono ── */
@media (max-width: 760px) {
  .portal__title { font-size: 17px; }
  .v3-row3 { grid-template-columns: minmax(0, 1fr); }
  .itools > .v3-grow { display: none; }
}
/* ── Letra en todo el Portal ── */
body { background: var(--bg); color: var(--text); font: 500 var(--fs-md)/1.4 var(--pt-font); -webkit-font-smoothing: antialiased; }
.btn, .chip, .field, .icon-btn, .kpi, .dialog, .dialog__title, .t, .note, .label, .fine, .empty { font-family: var(--pt-font); }
.btn--ghost { background: none; box-shadow: none; color: var(--muted); }
.btn--ghost:hover { background: var(--tile); color: var(--text); }

/* Color de cada módulo: uno de los cuatro (azul, morado, verde, rojo) o gris */
[data-mod] { --mod: var(--pt-ink-3); }
[data-mod="resultados"], [data-mod="reportes"], [data-mod="personal"], [data-mod="facturacion"] { --mod: var(--pt-blue); }
[data-mod="finanzas"], [data-mod="cajas"] { --mod: var(--pt-green); }
[data-mod="inventario"], [data-mod="marketing"] { --mod: var(--pt-red); }
[data-mod="menu"], [data-mod="operacion"], [data-mod="capacitacion"] { --mod: var(--pt-purple); }
[data-mod="tienda"] { --mod: var(--pt-green); }

/* ── El marco: barra de iconos | barra de páginas | página ── */
.pt { --rail-w: var(--pt-rail); --menu-w: var(--pt-menu); flex: 1; display: grid; grid-template-columns: var(--rail-w) var(--menu-w) minmax(0, 1fr); min-height: 0; background: var(--pt-canvas); }
/* Barra abierta con los nombres (mismo ancho que la segunda barra) y módulo sin segunda barra (Reportes) */
.pt.is-wide { --rail-w: var(--pt-menu); }
.pt.no-sub { grid-template-columns: var(--rail-w) minmax(0, 1fr); }

/* Primera barra: la sucursal arriba, un icono por módulo (gris; el abierto en azul), abajo Contraer y la firma */
.pt-rail { display: flex; flex-direction: column; align-items: stretch; gap: 4px; min-width: 0; min-height: 0; padding: 10px 8px 12px; background: var(--pt-side); border-right: 1px solid var(--pt-line); overflow: hidden; }
.pt-rail__branch { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; height: 44px; padding: 0 7px; margin-bottom: 6px; }
.pt-rail__branch-tile { display: grid; flex: none; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--pt-purple); color: var(--on-fill); font: 700 15.5px/1 var(--pt-font); }
.pt-rail__branch-text { display: flex; flex-direction: column; gap: 1px; }
.pt-rail__branch-text small { color: var(--pt-purple); font: 600 13px/1.1 var(--pt-font); }
.pt-rail__branch-text b { color: var(--text); font: 700 15.5px/1.2 var(--pt-font); }
.pt-rail__mods { display: flex; flex: 1; flex-direction: column; align-items: stretch; gap: 4px; min-height: 0; overflow-y: auto; scrollbar-width: none; }
.pt-rail__mods::-webkit-scrollbar { display: none; }
.pt-mod { display: flex; flex: none; align-items: center; gap: 10px; height: 44px; padding: 0 7px; border: 0; border-radius: 10px; background: none; color: var(--text); font: 600 15.5px/1 var(--pt-font); text-align: left; cursor: pointer; }
.pt-mod:hover, .pt-mod.is-shown { background: var(--pt-hover); }
.pt-mod__tile { display: grid; flex: none; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: color-mix(in srgb, var(--pt-ink-3) 14%, transparent); color: var(--pt-ink-3); }
.pt-mod.is-on .pt-mod__tile { background: var(--pt-blue); color: var(--on-fill); }
.pt-mod.is-on { color: var(--pt-blue); }
.pt-mod__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt:not(.is-wide) .pt-mod__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pt-rail__btn { display: flex; flex: none; align-items: center; gap: 10px; height: 40px; padding: 0 13px; border: 0; border-radius: var(--r-sm); background: none; color: var(--pt-ink-3); font: 600 15.5px/1 var(--pt-font); cursor: pointer; }
.pt-rail__btn:hover { background: var(--pt-hover); color: var(--text); }
.pt-rail__sig { padding: 10px 12px 0; color: var(--faint); font: 600 10px/1.2 var(--pt-font); letter-spacing: .04em; white-space: nowrap; }
.pt:not(.is-wide) .pt-rail__sig { display: none; }

/* La página */
.pt-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.pt-top { position: relative; display: flex; flex: 0 0 var(--pt-top); align-items: center; gap: 12px; min-width: 0; padding: 0 24px; border-bottom: 1px solid var(--pt-line); background: var(--pt-canvas); }
.pt-top::after { content: ''; position: absolute; left: 50%; top: 50%; width: 140px; height: 26px; transform: translate(-50%, -50%); background: var(--pt-logo, var(--logo)) center / contain no-repeat; pointer-events: none; }
.pt-top__burger { display: none; }
.pt-top__path { display: flex; align-items: center; gap: 6px; min-width: 0; color: var(--faint); font: 600 14.5px/1 var(--pt-font); white-space: nowrap; }
.pt-top__crumb { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.pt-top__crumb:hover { color: var(--pt-blue); }
.pt-top__here { color: var(--muted); }
.pt-top__user { display: flex; flex: none; align-items: center; gap: 8px; margin-left: auto; }
.pt-top__user .portal__who b { font: 700 15.5px/1.2 var(--pt-font); }
.pt-top__out { height: 32px; padding: 0 10px; gap: 6px; }
.pt-body { display: flex; flex: 1; flex-direction: column; gap: 16px; min-width: 0; min-height: 0; padding: 24px 32px; overflow: hidden; }
/* Un solo renglón (Marquito, 25-nov): ícono, título y (Reportes) la fecha en gris; fijo */
.pt-page__head { display: flex; flex: none; align-items: center; gap: 10px; min-height: 32px; }
.pt-page__title { margin: 0; color: var(--text); font: 700 25.5px/1.2 var(--pt-font); } /* −1 px (Marquito, 25-nov) */
.pt-scrim { display: none; }
.pt .portal__main { display: flex; flex: 1; flex-direction: column; min-height: 0; }

/* ── Mientras carga y sin datos ── */
.pt-skel { display: flex; flex-direction: column; gap: 12px; }
.pt-skel__cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.pt-skel__card { display: flex; flex-direction: column; gap: 10px; height: 150px; padding: 16px; border: 1px solid var(--pt-line); border-radius: var(--r-md); }
.pt-skel i { display: block; height: 10px; border-radius: 5px; background: var(--pt-skel); animation: pt-pulse 1.4s ease-in-out infinite; }
.pt-skel__card i:nth-child(1) { width: 40%; }
.pt-skel__card i:nth-child(2) { width: 60%; height: 18px; }
.pt-skel__card i:nth-child(3) { width: 100%; height: 52px; margin-top: auto; border-radius: 8px; }
.pt-skel__row { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--pt-line); }
.pt-skel__row i:first-child { width: 30%; }
.pt-skel__row i:last-child { width: 14%; margin-left: auto; }
@keyframes pt-pulse { 50% { opacity: .45; } }
.pt-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px 12px; color: var(--faint); font-size: var(--fs-sm); text-align: center; }
.pt-empty p { margin: 0; }

/* ── Reportes: filtro de periodo ── */
.pt-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pt-filter__wrap { position: relative; }
.pt-filter__btn { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border: 1px solid var(--pt-line); border-radius: var(--r-sm); background: var(--pt-raised); color: var(--text); font: 600 15.5px/1 var(--pt-font); cursor: pointer; }
.pt-filter__btn:hover { border-color: var(--pt-line-strong); }
.pt-filter__name { color: var(--faint); font-weight: 600; }
.pt-filter__chev { color: var(--faint); font-size: 12px; }
.pt-filter__vs { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 4px 0 12px; border: 1px solid var(--pt-line); border-radius: var(--r-sm); font: 600 15.5px/1 var(--pt-font); }
.pt-filter__vs small { color: var(--faint); font: inherit; font-weight: 500; }
.pt-filter__x { width: 26px; height: 26px; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--faint); font-size: 19px; line-height: 1; cursor: pointer; }
.pt-filter__x:hover { background: var(--pt-hover); color: var(--text); }
.pt-filter__add { height: 34px; padding: 0 12px; border: 1px dashed var(--pt-line-strong); border-radius: var(--r-sm); background: none; color: var(--muted); font: 600 15.5px/1 var(--pt-font); cursor: pointer; }
.pt-filter__end { flex: 1; }
.pt-pop { position: absolute; top: calc(100% + 6px); left: 0; z-index: 20; grid-template-columns: 160px 260px; border: 1px solid var(--pt-line); border-radius: var(--r-md); background: var(--pt-raised); box-shadow: var(--pt-shadow-pop); display: block; padding: 0; }
.pt-pop[hidden] { display: none; }

.pt-field { display: flex; flex-direction: column; gap: 6px; color: var(--muted); font: 600 14.5px/1.2 var(--pt-font); }
.pt-field .field { height: 36px; }

.pt-cal { display: grid; grid-template-columns: 150px auto; }
.pt-cal--bare { grid-template-columns: auto; }
.pt-cal__list { display: flex; flex-direction: column; gap: 2px; padding: 10px 8px; border-right: 1px solid var(--pt-line); }
.pt-cal__opt { height: 32px; padding: 0 10px; border: 0; border-radius: var(--r-sm); background: none; color: var(--text); font: 500 15.5px/1 var(--pt-font); text-align: left; cursor: pointer; }
.pt-cal__opt:hover { background: var(--pt-hover); }
.pt-cal__opt.is-on { background: color-mix(in srgb, var(--pt-blue) 9%, transparent); color: var(--pt-blue); font-weight: 700; }
.pt-cal__main { display: flex; flex-direction: column; gap: 14px; padding: 14px 16px; }
.pt-cal__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pt-cal__value { display: flex; align-items: center; height: 34px; padding: 0 10px; border: 1px solid var(--pt-line); border-radius: var(--r-sm); color: var(--text); font: 600 15.5px/1 var(--pt-font); }
.pt-cal__months { position: relative; display: grid; grid-template-columns: repeat(2, 236px); gap: 24px; }
.pt-cal__month { display: flex; flex-direction: column; gap: 8px; }
.pt-cal__mtitle { height: 28px; color: var(--text); font: 700 15.5px/28px var(--pt-font); text-align: center; text-transform: capitalize; }
.pt-cal__nav { position: absolute; top: 0; width: 28px; height: 28px; padding: 0; border: 0; border-radius: var(--r-sm); background: none; color: var(--muted); font-size: 21.5px; line-height: 1; cursor: pointer; }
.pt-cal__nav:hover:not(:disabled) { background: var(--pt-hover); color: var(--text); }
.pt-cal__nav:disabled { opacity: .3; cursor: default; }
.pt-cal__nav--prev { left: 0; }
.pt-cal__nav--next { right: 0; }
.pt-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 2px; }
.pt-cal__dow { height: 24px; color: var(--faint); font: 600 13px/24px var(--pt-font); text-align: center; }
.pt-cal__day { height: 30px; padding: 0; border: 0; border-radius: 0; background: none; color: var(--text); font: 500 14.5px/1 var(--pt-font); cursor: pointer; }
.pt-cal__day:hover:not(:disabled) { background: var(--pt-hover); border-radius: 15px; }
.pt-cal__day:disabled { color: var(--pt-line-strong); cursor: default; }
.pt-cal__day.is-in { background: color-mix(in srgb, var(--pt-blue) 12%, transparent); color: var(--pt-blue); }
.pt-cal__day.is-edge { border-radius: 15px; background: var(--pt-blue); color: var(--on-fill); font-weight: 700; }
.pt-cal__day.is-today:not(.is-edge) { box-shadow: inset 0 0 0 1px var(--pt-blue); border-radius: 15px; }
.pt-cal__foot { display: flex; justify-content: flex-end; gap: 8px; padding-top: 12px; border-top: 1px solid var(--pt-line); }
.pt-cal__foot .btn { width: 120px; }

/* Píldoras de estado */
.pt-pill { display: inline-flex; align-items: center; font: 600 14.5px/1 var(--pt-font); white-space: nowrap; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 13px; }
.pt-pill[role="button"] { cursor: pointer; }
.pt-pill--ok { background: var(--ok-soft); color: var(--pt-green); }
.pt-pill--bad { background: var(--bad-soft); color: var(--pt-red-ink); }

/* ── Reportes: tarjetas ── */
.pt-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px; padding: 6px; border-radius: var(--r-md); background: var(--pt-side); }

.pt-stat { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--pt-line); border-radius: var(--r-md); background: var(--pt-raised); color: var(--text); font: inherit; text-align: left; gap: 2px; padding: 10px 14px; }
button.pt-stat { cursor: pointer; }
button.pt-stat:hover { border-color: var(--pt-line-strong); box-shadow: var(--pt-shadow); }
.pt-stat__label { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font: 600 14.5px/16px var(--pt-font); font-size: 13px; }

.pt-stat__line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pt-stat__value { display: block; font: 700 26.5px/28px var(--pt-font); font-variant-numeric: tabular-nums; font-size: 17.5px; line-height: 22px; }
.pt-stat--bad .pt-stat__value { color: var(--pt-red-ink); }
.pt-stat--ok .pt-stat__value { color: var(--pt-green); }
.pt-stat--wait .pt-stat__value { color: var(--pt-purple); }
.pt-stat__note { color: var(--faint); font: 500 14.5px/1.3 var(--pt-font); }
.pt-stat .res__delta { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 999px; background: var(--pt-hover); color: var(--muted); font: 700 13px/1 var(--pt-font); }
.pt-stat .res__delta--up { background: var(--ok-soft); color: var(--pt-green); }
.pt-stat .res__delta--down { background: var(--bad-soft); color: var(--pt-red-ink); }
.pt-stat > .pt-chart, .pt-stat > .pt-stack, .pt-stat > .pt-top5, .pt-stat > .pt-empty { margin-top: 10px; }
.pt-today { display: flex; flex-direction: column; gap: 8px; }
.pt-today__head { display: flex; align-items: baseline; gap: 8px; }
.pt-today__head b { font: 700 17px/1.2 var(--pt-font); }
.pt-today__head small { color: var(--faint); font: 500 14.5px/1.2 var(--pt-font); }
.pt-today .pt-stat { min-height: 0; }

.pt .res__now { margin: 0; }

/* Dos o tres renglones dentro de una tarjeta: nombre, número y su cambio */
.pt-pair { display: flex; flex-direction: column; margin-top: 6px; }
.pt-pair__row { display: grid; grid-template-columns: minmax(0, 1fr) auto 64px; align-items: center; gap: 8px; min-height: 32px; border-bottom: 1px solid var(--pt-line); font: 500 15.5px/1.2 var(--pt-font); }
.pt-pair__row:last-child { border-bottom: 0; }
.pt-pair__row > span { color: var(--muted); }
.pt-pair__row > b { font: 700 18px/1.2 var(--pt-font); text-align: right; font-variant-numeric: tabular-nums; }
.pt-pair__row > .res__delta { justify-self: end; }
.pt-pair__row:not(:has(.res__delta))::after { content: ''; }
.pt-pair__row--bad > b { color: var(--pt-red-ink); }
/* Tarjeta en su lugar, sin dato todavía: gris y sin números */
.pt-stat--soon { border-style: dashed; }
.pt-stat--soon .pt-stat__label { color: var(--faint); }

/* Gráfica de línea */
.pt-chart { margin: 0; }
.pt-chart__svg { display: block; width: 100%; height: auto; overflow: visible; }
.pt-chart__grid { stroke: var(--pt-line); stroke-width: 1; stroke-dasharray: 2 3; }
.pt-chart__base { stroke: var(--pt-line-strong); stroke-width: 1; }
.pt-chart__tick { fill: var(--faint); font: 500 12px var(--pt-font); }
.pt-chart__line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.pt-chart__line.is-now { stroke: var(--pt-blue); }
.pt-chart__line.is-before { stroke: var(--pt-ink-3); stroke-width: 1.5; stroke-dasharray: 4 4; }
.pt-chart__dot.is-now { fill: var(--pt-blue); }
.pt-chart__dot.is-before { fill: var(--pt-ink-3); }

.pt-chart__cap { margin: 6px 0 0; color: var(--faint); font: 500 13px/1.2 var(--pt-font); text-align: center; }

/* Barra de reparto: tonos del azul, del más fuerte al más claro */
.pt-stack { display: flex; flex-direction: column; gap: 10px; }
.pt-stack__bar { display: flex; gap: 2px; height: 10px; overflow: hidden; border-radius: 5px; background: var(--pt-hover); }
.pt-stack__part { flex: 1 1 0; min-width: 3px; transition: opacity .12s; }
.is-0 { --tone: 100%; } .is-1 { --tone: 72%; } .is-2 { --tone: 50%; } .is-3 { --tone: 34%; } .is-4 { --tone: 22%; } .is-5 { --tone: 14%; }
.pt-stack__part, .pt-stack__key { background: color-mix(in srgb, var(--pt-blue) var(--tone), var(--pt-raised)); }
.pt-stack__key.is-none { background: var(--pt-hover); }
.pt-stack__rows { display: flex; flex-direction: column; }
.pt-stack__row { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto 96px; align-items: center; gap: 8px; min-height: 28px; padding: 0; border: 0; background: none; color: var(--text); font: 500 14.5px/1.2 var(--pt-font); text-align: left; border-radius: var(--r-sm); }
button.pt-stack__row { cursor: pointer; }
.pt-stack__key { width: 10px; height: 10px; border-radius: 3px; }
.pt-stack__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-stack__pct { color: var(--faint); font: 500 13px/1 var(--pt-font); }
.pt-stack__val { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }

/* Platillos más vendidos */
.pt-top5 { display: flex; flex-direction: column; }
.pt-top5__row { display: grid; grid-template-columns: minmax(0, 1fr) 40px 96px; align-items: center; gap: 8px; min-height: 28px; border-bottom: 1px solid var(--pt-line); font: 500 14.5px/1.2 var(--pt-font); }
.pt-top5__row:last-child { border-bottom: 0; }
.pt-top5__row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-top5__row small { color: var(--faint); text-align: right; }
.pt-top5__row b { text-align: right; font-variant-numeric: tabular-nums; }

/* ── Pestañas dentro de la página (Menú: Categorías, Productos, Modificadores) ── */
.pt-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--pt-line); overflow-x: auto; scrollbar-width: none; }
.pt-tabs::-webkit-scrollbar { display: none; }
.pt-tabs__tab { flex: none; height: 40px; margin-bottom: -1px; padding: 0 2px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--muted); font: 600 15.5px/1 var(--pt-font); cursor: pointer; }
.pt-tabs__tab:hover { color: var(--text); }
.pt-tabs__tab.is-on { border-bottom-color: var(--pt-blue); color: var(--pt-blue); }
.pt-menuhead { display: flex; flex-direction: column; gap: 16px; }
.pt-menuhead__tools { display: flex; align-items: center; gap: 12px; }
.pt-menuhead__tools .field { max-width: 280px; }
.pt-menubody { display: flex; flex-direction: column; gap: 16px; }
.pt-pill--off { background: var(--pt-hover); color: var(--muted); }
.pt-pill--wait { background: var(--warn-soft); color: var(--pt-purple); }

/* ── Tabla con renglones que se abren (↳ hijos), como las listas de Polo Tab ── */
.pt-x { border: 1px solid var(--pt-line); border-radius: var(--r-md); background: var(--pt-raised); overflow: hidden; }
.pt-x__row { display: grid; align-items: center; column-gap: 12px; min-height: 48px; padding: 0 16px 0 4px; border-top: 1px solid var(--pt-line); font: 500 15.5px/1.3 var(--pt-font); }
.pt-x__row--head { min-height: 40px; border-top: 0; background: var(--pt-side); color: var(--muted); font: 600 14.5px/1.2 var(--pt-font); }
.pt-x__row.is-tap { cursor: pointer; }
.pt-x__row.is-tap:hover { background: var(--pt-hover); }
.pt-x__row--kid { min-height: 44px; background: var(--pt-side); color: var(--text); }
.pt-x__cell { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pt-x__cell.is-r { text-align: right; }
.pt-x__cell.is-c { text-align: center; }
.pt-x__cell .btns { justify-content: flex-end; }
.pt-x__chev { justify-self: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--faint); font-size: 21.5px; line-height: 1; cursor: pointer; transition: transform .12s; }
.pt-x__chev:hover { background: var(--pt-line); color: var(--text); }
.pt-x__chev.is-open { transform: rotate(90deg); color: var(--pt-blue); }
.pt-x__kid { display: inline-flex; align-items: center; gap: 8px; padding-left: 8px; }
.pt-x__kid i { color: var(--faint); font-style: normal; }
.pt-x__empty { padding: 24px; color: var(--faint); text-align: center; }

/* ── Paneles laterales de alta y cambio (como Polo Tab): «(Requerido)» y separadores ── */
.pt-req { color: var(--faint); font-weight: 500; }
.pt-sep { display: flex; align-items: center; gap: 12px; margin-top: 6px; color: var(--faint); font: 600 14.5px/1 var(--pt-font); }
.pt-sep::before, .pt-sep::after { content: ''; flex: 1; height: 1px; background: var(--pt-line); }
.pt-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: end; }
.pt-fixed { display: flex; align-items: center; height: var(--h-field); color: var(--muted); }
/* Renglones de modificadores: Defecto · Nombre · Precio · × */
.pt-mods { display: flex; flex-direction: column; gap: 6px; }
.pt-mods__row { display: grid; grid-template-columns: 56px minmax(0, 1fr) 120px 32px; align-items: center; gap: 8px; min-height: 36px; }
.pt-mods__row--head { min-height: 20px; color: var(--muted); font: 600 13px/1 var(--pt-font); }
.pt-mods__row--new > * { min-width: 0; }
.pt-radio { justify-self: center; width: 18px; height: 18px; padding: 0; border: 1.5px solid var(--pt-line-strong); border-radius: 50%; background: var(--pt-raised); cursor: pointer; }
.pt-radio.is-on { border: 5px solid var(--pt-blue); }
.pt-mods__name { display: flex; align-items: center; gap: 8px; height: var(--h-field); padding: 0 12px; border: 1px solid var(--pt-line); border-radius: var(--r-sm); background: var(--pt-raised); color: var(--text); font: 500 15.5px/1 var(--pt-font); text-align: left; cursor: pointer; }
.pt-mods__name:hover { border-color: var(--pt-line-strong); }
.pt-mods__price { display: flex; align-items: center; height: var(--h-field); padding: 0 12px; border: 1px solid var(--pt-line); border-radius: var(--r-sm); color: var(--text); font: 600 15.5px/1 var(--pt-font); font-variant-numeric: tabular-nums; }
.pt-mods__x { width: 28px; height: 28px; padding: 0; border: 0; border-radius: 6px; background: var(--bad-soft); color: var(--pt-red-ink); font-size: 19px; line-height: 1; cursor: pointer; }
.pt-mods__add { width: 100%; margin-top: 4px; }

/* ── Todas las tablas del Portal (inventario-util.js table, kit.js xTable): mismas columnas, orden y nombres; solo cambia el aspecto.
   v3.2 (Marquito, 17-nov: «yo no veo el nuevo diseño»), como la prueba (prueba/css/app.css .tbl): tarjeta redonda, encabezado en
   MAYÚSCULAS chicas gris sobre gris suave, sin rayas verticales, renglones de ~50 px con raya fina y hover suave, y cada sección con
   su flecha para plegar, el nombre en negritas y la cuenta en pastilla gris ── */
.pt .t { border: 1px solid var(--pt-line); border-radius: var(--r-md); background: var(--pt-raised); box-shadow: 0 1px 2px color-mix(in srgb, var(--pt-ink) 3%, transparent); }
.pt .t__row { gap: 0; min-height: 50px; padding: 0; border-bottom: 1px solid var(--pt-line); font: 500 15.5px/1.3 var(--pt-font); }
.pt .t__row:last-child { border-bottom: 0; }
.pt .t__row > .t__c { padding: 6px 14px; border-right: 0; }
.pt .t__row:not(.t__row--head):not(.t__row--group):hover { background: var(--pt-hover); }
.pt .t__row--head { min-height: 38px; background: var(--pt-side); color: var(--muted); font: 600 12.5px/1.2 var(--pt-font); letter-spacing: .02em; text-transform: uppercase; }
.pt .t__row--head > .t__c { padding-top: 4px; padding-bottom: 4px; }
/* Encabezado fijo (Marquito, 20-nov: «la barra superior debe de permanecer fija»): la tabla corre de lado (.t overflow-x), así que es
   su propia caja de scroll; mide lo que queda de pantalla bajo las pestañas (la página llega a dejarla arriba, completa) y por dentro
   el encabezado se queda arriba. relative: los « · » ocultos de los grupos (pt-grp__sep) se quedan dentro y no alargan la página */
.pt .t { position: relative; max-height: calc(100dvh - 168px); overflow: auto; }
.pt .t__row--head { position: sticky; top: 0; z-index: 3; }
.pt .t__row--group { min-height: 0; padding: 10px 14px; background: var(--pt-side); color: var(--text); font: 700 14.5px/1.2 var(--pt-font); }
.pt .t__row--group.pt-grp, .pt .ptable__row--group.pt-grp { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 6px 14px; letter-spacing: 0; text-transform: none; cursor: pointer; user-select: none; -webkit-user-select: none; }
.pt .t__row--group.pt-grp:hover { background: var(--pt-hover); }
.pt .t__row--group.pt-grp:focus-visible { outline: 2px solid var(--pt-blue); outline-offset: -2px; }
.pt-grp__chev { position: relative; flex: none; width: 22px; height: 22px; border: 1px solid var(--pt-line); border-radius: 6px; background: var(--pt-raised); }
.pt-grp__chev::after { content: ''; position: absolute; top: 8px; left: 7.5px; width: 5px; height: 5px; border-top: 1.5px solid var(--muted); border-left: 1.5px solid var(--muted); transform: rotate(45deg); transition: transform .12s, top .12s; }
.pt-grp.is-shut .pt-grp__chev::after { top: 5px; transform: rotate(225deg); }
.pt-grp__name { color: var(--text); font: 700 14.5px/1.2 var(--pt-font); }
.pt-grp__sep { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }   /* « · » solo en el texto */
.pt-grp__n { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 6px; background: var(--pt-line); color: var(--pt-ink-2); font: 700 12px/1 var(--pt-font); font-variant-numeric: tabular-nums; }
.pt .pt-grp-off { display: none !important; }
.pt .t__row.is-tap:hover { background: var(--pt-hover); }
.pt .t__two b { font-weight: 600; }
.pt .t__two small { color: var(--faint); font-size: 13px; font-weight: 500; }
/* Una tabla sola en su tarjeta de sección (sin título) ya es la tarjeta: sin doble marco, como la prueba */
.pt .sec:has(> .t:only-child) { padding: 0; border: 0; background: none; }
/* La tabla de renglones que se abren (kit.js xTable) con el mismo encabezado */
.pt .pt-x__row--head { min-height: 38px; font: 600 12.5px/1.2 var(--pt-font); letter-spacing: .02em; text-transform: uppercase; }
.pt .pt-x__row:not(.pt-x__row--head):not(.pt-x__row--kid):hover { background: var(--pt-hover); }
/* Las secciones (tarjetas de cada página) */
.pt .sec { padding: 16px; border: 1px solid var(--pt-line); border-radius: var(--r-md); background: var(--pt-raised); box-shadow: none; }
.pt .sec__head .label { color: var(--text); font: 700 17px/1.2 var(--pt-font); letter-spacing: 0; text-transform: none; }
/* Las tarjetas de número de siempre (kpi()) */
.pt .kpi { border: 1px solid var(--pt-line); border-radius: var(--r-md); background: var(--pt-raised); box-shadow: none; }
.pt .kpi__label { color: var(--muted); font: 600 14.5px/1.2 var(--pt-font); letter-spacing: 0; text-transform: none; }
.pt .kpi__value { font: 700 26.5px/1.2 var(--pt-font); }

/* ── Teléfono: las dos barras son un cajón que sale por la izquierda ── */
@media (max-width: 760px) {
  .pt, .pt.is-wide, .pt.no-sub { grid-template-columns: minmax(0, 1fr); }
    .pt-rail { position: fixed; top: 0; bottom: 0; z-index: 40; transform: translateX(calc(-100% - var(--pt-menu) - 8px)); transition: transform .18s ease; left: 0; width: var(--pt-menu); }

    .pt.is-drawer .pt-rail { transform: none; }
  .pt.is-drawer .pt-scrim { display: block; position: fixed; inset: 0; z-index: 30; background: var(--pt-scrim); }
  .pt-rail__fold { display: none; }
  .pt-top { padding: 0 12px 0 4px; }
  .pt-top__burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 4px; width: 40px; height: 40px; padding: 0 11px; border: 0; background: none; cursor: pointer; }
  .pt-top__burger i { display: block; height: 2px; border-radius: 1px; background: var(--text); }
  .pt-top__path { display: none; }
  .pt-top__outlabel { display: none; }
  .pt-top__user .portal__who b, .pt-top__user .portal__who small { display: none; }
  .pt-top__user .portal__ini { display: inline-flex; width: 32px; height: 32px; }
  .pt-body { gap: 12px; padding: 16px; overflow-y: auto; }
  .pt-page__title { font-size: 23px; }

  .pt-chart__svg { max-height: 150px; }
  .pt-pop { position: fixed; top: 64px; left: 8px; right: 8px; max-height: calc(100vh - 80px); overflow-y: auto; }
  .pt-cal { grid-template-columns: minmax(0, 1fr); }
  .pt-cal__list { flex-direction: row; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid var(--pt-line); }
  .pt-cal__months { grid-template-columns: minmax(0, 1fr); }
  .pt-cal__months > .pt-cal__month:nth-child(2) { display: none; } /* en el teléfono, solo el mes de la fecha final */
}

/* Cantidad en píldora del color de su estado (Existencias, como el Stock de Polo Tab) */
.pt-qty { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 6px; font: 600 14.5px/1 var(--pt-font); font-variant-numeric: tabular-nums; }
.pt-qty--bad { background: var(--bad-soft); color: var(--pt-red-ink); }
.pt-qty--ok { background: var(--ok-soft); color: var(--pt-green); }
.pt-qty--wait { background: var(--warn-soft); color: var(--pt-purple); }

/* Portal v3.2 (Marquito, 17-nov, prueba «igual a Polo»): sin segunda barra; las páginas en pestañas bajo el título y un cuadrito azul
   del módulo arriba del título. Un grupo con varias páginas abre su lista (pt-navpop). */
.pt-page__tile { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 8px; background: var(--pt-blue); color: var(--on-fill); }
.pt-nav { flex: none; gap: 6px; }
.pt-nav[hidden] { display: none; }
.pt-nav .pt-tabs__tab { display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; font-size: 14.5px; } /* −1 px (Marquito, 25-nov) */
.pt-tabs__caret { display: inline-flex; color: var(--pt-ink-3); }
.pt-tabs__tab.is-on .pt-tabs__caret { color: var(--pt-blue); }
.pt-navpop { position: fixed; z-index: 60; display: flex; flex-direction: column; gap: 2px; min-width: 220px; padding: 6px; border: 1px solid var(--pt-line); border-radius: var(--r-md); background: var(--pt-raised); box-shadow: var(--pt-shadow-pop); }
.pt-navpop__opt { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 38px; padding: 0 10px; border: 0; border-radius: var(--r-sm); background: none; color: var(--text); font: 500 15.5px/1 var(--pt-font); text-align: left; cursor: pointer; }
.pt-navpop__opt:hover { background: var(--pt-hover); }
.pt-navpop__opt.is-on { background: color-mix(in srgb, var(--pt-blue) 9%, transparent); color: var(--pt-blue); font-weight: 700; }
   /* v3.2: todo gris y solo donde estás en azul (17-nov) */

.pin__logo { width: 220px; height: 41px; background: var(--logo) center / contain no-repeat; background-image: var(--pt-logo, var(--logo)); }   /* logo alternativo también en el PIN (17-nov) */
.btn[hidden], .pt-pill[hidden] { display: none !important; }   /* un botón escondido no se ve aunque .btn ponga display (17-nov) */

.pt-stats .pt-stat { border-color: transparent; }
@media (max-width: 760px) { .pt-stats, .pt-today > .pt-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; } }

/* Celdas de hoja (kit.js cellInput y cellSelect; Marquito, 17-nov): texto limpio, sin caja; hover suave; se escribe ahí mismo y el
   desplegable abre la lista flotante de la prueba (opción de hoy en azul con palomita, buscador con más de 8) */
.pt-cell { cursor: pointer; outline: 0; }
.pt-cell:hover { background: var(--pt-hover); }
.pt-cell:focus-visible { box-shadow: inset 0 0 0 2px var(--pt-blue); }
.pt-cell--dd .pt-cell__txt { display: inline-block; vertical-align: middle; max-width: calc(100% - 18px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-cell__chev { display: inline-flex; vertical-align: middle; margin-left: 6px; color: var(--pt-ink-3); }
.pt-cell__chev svg { width: 12px; height: 12px; }
.pt-cell--dd.is-open { box-shadow: inset 0 0 0 2px var(--pt-blue); }
.pt-cell--dd.is-open .pt-cell__chev { color: var(--pt-blue); transform: rotate(180deg); }
.pt-cell__in { width: 100%; min-width: 70px; margin: -3px -5px; padding: 2px 4px; border: 1px solid var(--pt-blue); border-radius: 6px; outline: 0;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--pt-blue) 18%, transparent); background: var(--pt-raised); color: var(--pt-ink); font: inherit; }
.pt-dd { position: fixed; z-index: 90; display: flex; flex-direction: column; max-width: min(360px, calc(100vw - 16px)); padding: 6px;
  border: 1px solid var(--pt-line); border-radius: 10px; background: var(--pt-raised); box-shadow: var(--pt-shadow-pop); color: var(--pt-ink); font: 600 var(--fs-sm)/1.3 var(--pt-font); }
.pt-dd__search { display: flex; align-items: center; flex: none; height: 30px; margin-bottom: 6px; padding: 0 8px; border: 1px solid var(--pt-line); border-radius: 7px; }
.pt-dd__search:focus-within { border-color: var(--pt-blue); }
.pt-dd__q { width: 100%; border: 0; outline: 0; background: transparent; color: var(--pt-ink); font: 500 var(--fs-sm) var(--pt-font); }
.pt-dd__q.is-hidden { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pt-dd__list { flex: 0 1 auto; min-height: 0; overflow: auto; }
.pt-dd__opt { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 28px; padding: 3px 8px; border: 0; border-radius: 6px; background: transparent;
  color: var(--pt-ink); font: inherit; text-align: left; white-space: nowrap; cursor: pointer; }
.pt-dd__opt.is-hi { background: var(--pt-hover); }
.pt-dd__opt.is-on { color: var(--pt-blue); }
.pt-dd__opt.is-blank { color: var(--pt-ink-3); font-style: italic; }
.pt-dd__ck { display: inline-flex; margin-left: auto; }
.pt-dd__ck svg { width: 14px; height: 14px; }
.pt-dd__none { padding: 6px 8px; color: var(--pt-ink-3); font-weight: 500; }
.pt-cell__in[type="number"] { appearance: textfield; -moz-appearance: textfield; }
.pt-cell__in::-webkit-inner-spin-button, .pt-cell__in::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* v3.2 (17-nov, como la prueba): ícono gris en cada pestaña del módulo y en la lista de su grupo; la de donde estás, en azul */
.pt-tabs__ico { display: inline-flex; color: var(--pt-ink-3); }
.pt-tabs__tab.is-on .pt-tabs__ico { color: var(--pt-blue); }
.pt-navpop__lbl { display: inline-flex; align-items: center; gap: 10px; }
.pt-navpop__ico { display: inline-flex; color: var(--pt-ink-3); }
.pt-navpop__opt.is-on .pt-navpop__ico { color: var(--pt-blue); }
/* La fecha chica en gris bajo el título (Reportes) */
.pt-page__date { margin: 0 0 0 4px; color: var(--faint); font: 500 var(--fs-sm)/1.3 var(--pt-font); }
.pt-page__date[hidden] { display: none; }
/* «Acciones» a la derecha del filtro (calendar.js actionsMenu) */
.pt-acts { position: relative; flex: none; }
.pt-acts__btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; }
.pt-acts__chev { display: inline-flex; transition: transform .12s; }
.pt-acts__btn.is-open .pt-acts__chev { transform: rotate(180deg); }
.pt-acts__pop { position: absolute; top: calc(100% + 6px); right: 0; z-index: 60; display: flex; flex-direction: column; gap: 2px; min-width: 200px; padding: 6px;
  border: 1px solid var(--pt-line); border-radius: var(--r-md); background: var(--pt-raised); box-shadow: var(--pt-shadow-pop); }
.pt-acts__pop[hidden] { display: none; }
.pt-acts__opt { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; border: 0; border-radius: var(--r-sm); background: none; color: var(--text); font: 500 15.5px/1 var(--pt-font); text-align: left; white-space: nowrap; cursor: pointer; }
.pt-acts__opt:hover { background: var(--pt-hover); }
.pt-acts__ico { display: inline-flex; color: var(--pt-ink-3); }
/* v3.2 (17-nov, como la prueba): botón normal y casillas blancos con borde fino; tarjetas «de tres» respetan sus tres columnas; negritas en tablas */
.btn:not(.btn--go):not(.btn--bad):not(.btn--ghost) { background: var(--pt-raised); box-shadow: inset 0 0 0 1px var(--pt-line-strong); }
.btn:not(.btn--go):not(.btn--bad):not(.btn--ghost):hover { background: var(--pt-hover); }
.pt-stats.pt-stats--3, .pt-today > .pt-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pt-x__cell b, .t b { font-weight: 700; }
@media (max-width: 760px) { .pt-stats.pt-stats--3, .pt-today > .pt-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Tres puntos al final del renglón (rowMenu, 18-nov) */
.pt-kebab { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 0; border-radius: var(--r-sm); background: none; color: var(--pt-ink-3); cursor: pointer; }
.pt-kebab:hover { background: var(--pt-hover); color: var(--text); }
.pt-navpop__opt--danger { color: var(--pt-red-ink); }
.pt-navpop__opt.btn--bad { background: var(--danger-bg); color: var(--on-fill); } /* la opción armada (armTwice) */

/* Entrada del Portal con usuario y contraseña (maqueta aprobada, 19-nov): 320 de ancho, campos de 44, Entrar azul; firma abajo */
.login__view { overflow-y: auto; padding: 24px 16px 40px; }
.login { display: flex; flex-direction: column; align-items: stretch; gap: 12px; width: min(320px, 100%); margin: auto; }
.login .pin__logo { align-self: center; margin-bottom: 12px; }
.login__row { gap: 5px; }
.login__label { color: var(--pt-ink-2); font: 600 13px/1.2 var(--pt-font); }
.login .field { height: 44px; font-size: 16px; border-radius: 10px; }
.login .field:focus { box-shadow: inset 0 0 0 2px var(--pt-blue); }
.login .btn--go { height: 44px; margin-top: 4px; border-radius: 10px; font: 700 16px/1 var(--pt-font); }
.login__msg { min-height: 18px; font-size: 14px; }
.login__sig { position: fixed; bottom: 10px; left: 0; right: 0; color: var(--faint); font: 500 11px/1.2 var(--pt-font); letter-spacing: .04em; text-align: center; pointer-events: none; }
/* Cambiar contraseña, en el lugar de la página */
.pt-password { max-width: 360px; }
.pt-password .pin__msg { text-align: left; }
.pt-password__actions { display: flex; gap: var(--sp-2); }
/* La manija ≡ (Actividades, 20-nov; operacion/arrastrar.js): gris, se toma con ratón o dedo; el renglón que se arrastra se marca */
.pt-grip { display: inline-grid; place-items: center; width: 28px; height: 32px; color: var(--muted); cursor: grab; touch-action: none; user-select: none; }
.pt-grip:hover { color: var(--text); }
.t__row.is-drag { position: relative; z-index: 1; background: var(--surface, #fff); box-shadow: 0 6px 18px rgb(0 0 0 / .14); cursor: grabbing; }
