/* Muuch — caja de sucursal (handoff 82).
   Se apoya en /dashboard/styles.css (tokens, .card, .btn, .btn-huge,
   .scan-overlay, .toast, .dots): aquí sólo vive lo que es de la caja.

   El aparato es la tablet o el teléfono del mesero, de pie, con el cliente
   enfrente y prisa. Tres reglas salen de ahí:
     1. Una persona a la vez, con TODAS sus tarjetas a la vista.
     2. Una acción principal por tarjeta, grande, en el mismo lugar siempre.
     3. Lo que no se deshace pide un segundo toque, no un diálogo encima. */

.caja { max-width: 760px; margin: 0 auto; padding: 18px 16px 48px; }
.caja .card { margin: 0; }
.caja .card + .card { margin-top: 16px; }

/* QR y botones de la sucursal: va al final y cerrado — no estorba a la caja. */
.suc-links summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }
.suc-links summary::-webkit-details-marker { display: none; }
.suc-links summary h2 { margin: 0; }
.suc-links summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); margin-right: 4px; transition: transform 200ms cubic-bezier(.2, .8, .2, 1); }
.suc-links[open] summary::after { transform: rotate(-135deg); }
.suc-links form { display: grid; gap: 8px; }
.suc-links label { margin-top: 6px; }
.suc-links-qr { display: grid; justify-items: start; gap: 10px; margin: 12px 0 4px; }
.suc-links-qr img { border-radius: 12px; border: 1px solid var(--border); background: #fff; }
.suc-links-extra { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 8px; }
@media (max-width: 520px) { .suc-links-extra { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .suc-links summary::after { transition: none; } }
.caja h2 { margin: 0 0 4px; font-size: 19px; }
.caja .hint { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

::selection { background: color-mix(in srgb, var(--brand) 26%, transparent); }
:focus-visible { outline: 2px solid var(--brand-deep); outline-offset: 2px; }
input { caret-color: var(--brand-deep); }

/* ---------- Topbar: la marca de ESTA sucursal junto a su nombre ---------- */
.loc-brand {
  width: 36px; height: 36px; border-radius: 10px; flex: none;
  display: grid; place-items: center; overflow: hidden;
  background: var(--brand-color, var(--brand-deep)); color: #fff;
  font-family: var(--font-title); font-weight: 800; font-size: 14px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .16);
}
.loc-brand img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.loc-id { min-width: 0; }
.loc-id .biz-name, .loc-id .biz-plan { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Atender: escanear primero, teléfono después ---------- */
.attend-row { display: grid; grid-template-columns: auto 1fr; gap: 12px; margin-top: 14px; align-items: stretch; }
.attend-scan { min-height: 56px; padding: 12px 20px; font-size: 16px; border-radius: 12px; }
.attend-scan .ico { width: 22px; height: 22px; }
.attend-search {
  display: flex; align-items: stretch; min-width: 0;
  border: 1px solid var(--border); border-radius: 12px; background: #fff;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.attend-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.attend-search input {
  flex: 1; min-width: 0; border: 0; background: transparent; box-shadow: none !important;
  font-size: 17px; padding: 0 14px; font-variant-numeric: tabular-nums;
}
.attend-search .btn { border: 0; border-left: 1px solid var(--border); border-radius: 0 11px 11px 0; min-height: 54px; }
@media (max-width: 560px) {
  .attend-row { grid-template-columns: 1fr; }
  .attend-scan { min-height: 60px; }
}

.search-results:empty { display: none; }
.search-results { margin-top: 12px; border-top: 1px solid var(--border); }
.sr-person {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 14px 4px; border: 0; border-bottom: 1px solid var(--border);
  background: none; text-align: left; cursor: pointer; color: var(--text);
}
.sr-person:hover { background: var(--bg); }
.sr-person:active { background: color-mix(in srgb, var(--brand) 6%, var(--bg)); }
.sr-person strong { display: block; font-size: 15px; }
.sr-person small { display: block; color: var(--muted); font-size: 13px; margin-top: 1px; }
.sr-person .sr-count { margin-left: auto; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.sr-empty { padding: 16px 4px 4px; color: var(--muted); font-size: 14px; }

/* ---------- La persona ---------- */
.person:focus { outline: none; }
/* El encabezado es pegajoso: sin este margen, al abrir a alguien su nombre
   quedaba escondido debajo de la barra. */
.person, .receipt { scroll-margin-top: 76px; scroll-margin-bottom: 16px; }
.person-head { display: flex; align-items: flex-start; gap: 12px; }
.person-who { min-width: 0; flex: 1; }
.person-who h2 { font-size: 22px; overflow-wrap: anywhere; }
.person-who .hint { font-variant-numeric: tabular-nums; }
.person-close { flex: none; }
.person-close .ico { width: 16px; height: 16px; }

/* Selector de tarjeta: una pastilla por tarjeta, en una fila que se desliza.
   La elegida es blanca con borde de marca; las demás, sobre el gris del
   fondo. Una tarjeta que aquí no se opera se ve, pero con candado. */
.card-switch {
  display: flex; gap: 8px; margin: 16px -4px 0; padding: 2px 4px 6px;
  overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.card-switch:empty { display: none; }
.cs-chip {
  flex: none; scroll-snap-align: start;
  display: grid; grid-template-columns: auto 1fr; column-gap: 9px; align-items: center;
  min-width: 150px; max-width: 230px; min-height: 56px;
  padding: 9px 12px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--bg); color: var(--text);
  text-align: left; cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease, transform 80ms ease;
}
.cs-chip:hover { background: #fff; }
.cs-chip:active { transform: scale(.98); }
.cs-chip[aria-selected="true"] {
  background: #fff; border-color: var(--brand-deep);
  box-shadow: 0 0 0 1px var(--brand-deep), 0 2px 8px rgba(16, 24, 40, .08);
}
.cs-chip .cs-name { font-weight: 650; font-size: 14px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-chip .cs-meta { grid-column: 2; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-chip[data-operable="false"] .cs-name, .cs-chip[data-operable="false"] .cs-meta { color: var(--muted); }
.cs-chip[data-operable="false"] .brand-mark { filter: grayscale(1); opacity: .6; }
.cs-chip .cs-lock { width: 14px; height: 14px; vertical-align: -2px; margin-right: 3px; }

/* La marca de un programa, en chiquito: su logo, o su inicial en su color. */
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px; grid-row: span 2;
  display: grid; place-items: center; overflow: hidden;
  background: var(--mark, var(--navy)); color: #fff;
  font-family: var(--font-title); font-weight: 800; font-size: 12.5px;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.brand-mark.is-group { background: var(--navy); }
.brand-mark .ico { width: 17px; height: 17px; }

/* ---------- El panel de la tarjeta elegida ---------- */
.card-panel { margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--border); }
.cp-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cp-head .cp-program { font-weight: 650; font-size: 15px; color: var(--navy); }
.cp-scope {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12.5px; font-weight: 600; padding: 3px 9px; border-radius: 99px;
  background: var(--bg); color: var(--muted);
}
.cp-scope[data-tone="group"] { background: color-mix(in srgb, var(--navy) 8%, #fff); color: var(--navy); }
.cp-scope .ico { width: 14px; height: 14px; }

.cp-figure {
  margin: 14px 0 2px;
  font-family: var(--font-title); font-weight: 800; color: var(--navy);
  font-size: 34px; line-height: 1.1; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.cp-figure small { font-family: inherit; font-size: 17px; font-weight: 700; color: var(--muted); letter-spacing: -.01em; }
.cp-sub { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.cp-sub strong { color: var(--text); font-weight: 600; }
.card-panel .dots { margin-top: 12px; }
.card-panel .dot { width: 16px; height: 16px; }

.cp-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-top: 16px; }
.cp-fields label { margin-bottom: 6px; }
.cp-fields label .muted { font-weight: 400; }

/* Monto con su signo de moneda por dentro: un solo campo, como la lada. */
.money {
  display: flex; align-items: center; background: #fff;
  border: 1px solid var(--border); border-radius: 10px;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.money:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.money span { padding-left: 13px; color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.money input {
  flex: 1; min-width: 0; border: 0; background: transparent; box-shadow: none !important;
  font-size: 20px; font-weight: 600; min-height: 52px; font-variant-numeric: tabular-nums;
}
.money input::placeholder { color: #98a2b3; font-weight: 500; }
.field-note { display: block; margin-top: 5px; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }

.card-panel .action-buttons { margin-top: 16px; }
.card-panel .btn-huge { position: relative; overflow: hidden; }
.card-panel .btn-huge.btn-ghost { background: #fff; color: var(--navy); border: 1px solid var(--border); }
.card-panel .action-buttons.single { grid-template-columns: 1fr; }

/* Segundo toque para confirmar. El botón cambia su texto y se vacía una
   barra: si no se vuelve a tocar en 3 s, se desarma solo. Es la única
   confirmación de la caja, y sólo en lo que no se deshace. */
.card-panel .btn-huge[data-armed="true"] { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-huge[data-armed="true"]::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%;
  background: rgba(255, 255, 255, .55); transform-origin: left;
  animation: arm-drain 3s linear forwards;
}
@keyframes arm-drain { from { transform: scaleX(1); } to { transform: scaleX(0); } }

.cp-blocked {
  display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center;
  margin-top: 16px; padding: 14px 16px; border-radius: 12px;
  background: var(--warn-bg); color: var(--warn);
}
.cp-blocked .ico { width: 26px; height: 26px; }
.cp-blocked strong { display: block; font-size: 15px; color: color-mix(in srgb, var(--warn) 80%, var(--text)); }
.cp-blocked span { display: block; font-size: 13.5px; margin-top: 2px; color: color-mix(in srgb, var(--warn) 70%, var(--text)); }

.cp-note {
  margin-top: 16px; padding: 14px 16px; border-radius: 12px;
  background: var(--bg); font-size: 14px; line-height: 1.5; color: var(--text);
}

/* El recibo de lo que se acaba de hacer: se queda a la vista (el toast se
   va), para que el mesero pueda decirlo en voz alta al cliente. */
.receipt {
  display: flex; align-items: center; gap: 10px;
  margin: 16px 0 0; padding: 12px 14px; border-radius: 12px;
  background: var(--ok-bg); color: var(--ok); font-weight: 600; font-size: 14.5px;
  font-variant-numeric: tabular-nums;
}
.receipt .ico { width: 20px; height: 20px; }
.receipt .ico path { stroke-dasharray: 24; }
@media (prefers-reduced-motion: no-preference) {
  .receipt.is-fresh { animation: receipt-arrive .32s cubic-bezier(.2, .8, .2, 1); }
  .receipt.is-fresh .ico path { animation: receipt-draw .42s .06s cubic-bezier(.2, .8, .2, 1) both; }
  .card-panel.is-switching { animation: panel-in .2s cubic-bezier(.2, .8, .2, 1); }
}
@keyframes receipt-arrive { from { opacity: 0; transform: translateY(4px) scale(.99); } to { opacity: 1; transform: none; } }
@keyframes receipt-draw { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }
@keyframes panel-in { from { opacity: .4; transform: translateY(3px); } to { opacity: 1; transform: none; } }

/* ---------- Atendidos aquí ---------- */
.served { margin-top: 10px; }
.served-row {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 12px 2px; border: 0; border-bottom: 1px solid var(--border);
  background: none; text-align: left; cursor: pointer; color: var(--text);
}
.served-row:last-child { border-bottom: 0; }
.served-row:hover { background: var(--bg); }
.served-row strong { display: block; font-size: 14.5px; }
.served-row small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.served-row .served-when { margin-left: auto; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.served .empty { padding: 18px 0 4px; color: var(--muted); font-size: 14px; }

/* Esqueleto de carga: la forma de lo que viene, sin girar nada en medio. */
.skeleton { display: grid; gap: 10px; padding: 12px 0; }
.skeleton i { display: block; height: 14px; border-radius: 6px; background: linear-gradient(90deg, #eef0f3, #f6f7f9, #eef0f3); background-size: 200% 100%; }
.skeleton i:nth-child(2) { width: 70%; }
.skeleton i:nth-child(3) { width: 45%; }
@media (prefers-reduced-motion: no-preference) {
  .skeleton i { animation: sk 1.2s ease-in-out infinite; }
}
@keyframes sk { from { background-position: 100% 0; } to { background-position: -100% 0; } }

@media (prefers-reduced-motion: reduce) {
  .btn-huge[data-armed="true"]::after { animation: none; transform: scaleX(.5); }
  .cs-chip, .attend-search, .money { transition: none; }
}

/* ---------- Modo recorrido (Handoff 79 §6) ----------
   La parada sella con un toque y ve lo mínimo. El sello de goma es la
   figura: el logo de la parada, que cae girado y con su aro de tinta,
   igual que en la página del pase. Es el único momento animado. */
.tp-stamp {
  --mark: var(--navy);
  width: 64px; height: 64px; border-radius: 50%; flex: none;
  display: grid; place-items: center; overflow: hidden;
  background: #fff; color: #fff;
  font-family: var(--font-title); font-weight: 800; font-size: 20px; letter-spacing: -.01em;
  box-shadow: 0 0 0 1.5px var(--border);
  filter: grayscale(1); opacity: .45;
}
.tp-stamp:not(:has(img)) { background: var(--mark); }
.tp-stamp img { width: 100%; height: 100%; object-fit: contain; padding: 15%; }
.tp-stamp.is-bleed img { object-fit: cover; padding: 0; }
.tp-stamp.is-light { background: var(--mark); }
.tp-stamp.is-stamped {
  filter: none; opacity: 1; transform: rotate(-7deg);
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px color-mix(in srgb, var(--mark) 70%, transparent), 0 2px 6px rgba(14, 37, 51, .14);
}
@media (prefers-reduced-motion: no-preference) {
  .tp-stamp.is-stamped.is-fresh { animation: stamp-press .46s cubic-bezier(.2, .9, .25, 1) both; }
}
@media (prefers-reduced-motion: reduce) {
  .tp-stamp.is-stamped.is-fresh { animation: stamp-fade .2s ease both; }
}
@keyframes stamp-press {
  0% { transform: scale(1.32) rotate(-16deg); opacity: 0; filter: blur(2px); }
  55% { transform: scale(.94) rotate(-6deg); opacity: 1; filter: none; }
  100% { transform: rotate(-7deg); }
}
@keyframes stamp-fade { from { opacity: 0; } to { opacity: 1; } }

.tp-figure { display: flex; align-items: center; gap: 16px; margin: 16px 0 10px; }
.tp-figure strong { display: block; font-family: var(--font-title); font-weight: 800; font-size: 22px; line-height: 1.15; letter-spacing: -.015em; color: var(--navy); }
.tp-figure span { display: block; margin-top: 3px; color: var(--muted); font-size: 14px; }
.tp-progress { font-variant-numeric: tabular-nums; }

.tp-milestones { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--border); }
.tp-milestones li {
  display: grid; grid-template-columns: 7.5em 1fr; gap: 2px 12px; align-items: baseline;
  padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 14px;
}
.tp-ms-label { grid-row: span 2; font-weight: 650; color: var(--navy); font-variant-numeric: tabular-nums; }
.tp-ms-prize { font-weight: 600; color: var(--text); }
.tp-ms-state { font-size: 13px; color: var(--muted); }
.tp-milestones li[data-state="ready"] .tp-ms-state { color: var(--ok); font-weight: 600; }
.tp-milestones li[data-state="done"] { color: var(--muted); }
.tp-milestones li[data-state="done"] .tp-ms-prize { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1px; }

/* Tu parada: cuántos llegaron, a qué hora y quiénes. */
.ts-head { display: flex; align-items: center; gap: 14px; }
.ts-head .tp-stamp { width: 48px; height: 48px; font-size: 16px; filter: none; opacity: 1; }
.ts-figures { display: flex; gap: 28px; margin: 16px 0 4px; }
.ts-figures strong { display: block; font-family: var(--font-title); font-weight: 800; font-size: 30px; line-height: 1; letter-spacing: -.02em; color: var(--navy); font-variant-numeric: tabular-nums; }
.ts-figures span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.ts-hours:empty { display: none; }
.ts-hours { display: flex; align-items: flex-end; gap: 6px; height: 72px; margin: 14px 0 2px; }
.ts-hours span { flex: 1; max-width: 34px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.ts-hours i { display: block; width: 100%; height: calc(var(--h) * 50px + 3px); border-radius: 4px 4px 2px 2px; background: color-mix(in srgb, var(--brand) 78%, #fff); }
.ts-hours b { font-size: 11px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.ts-h3 { margin: 18px 0 2px; font-size: 14px; font-weight: 650; color: var(--navy); }
.ts-list { list-style: none; margin: 0; padding: 0; max-height: 340px; overflow: auto; }
.ts-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.ts-list li:last-child { border-bottom: 0; }
.ts-list time { color: var(--muted); font-size: 13px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ts-list .empty { color: var(--muted); border: 0; }

.tour-grad .tg-open { margin-top: 14px; min-height: 44px; }
.tg-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-top: 14px; }
.tg-form .hint { margin: 6px 0 12px; }
.tg-form .btn { min-height: 44px; }
.tg-done { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--ok-bg); color: var(--ok); font-weight: 600; font-size: 14.5px; }

/* Promo flash (Handoff 92) */
.tour-promo .hint { margin: 4px 0 0; }
.tpr-form { display: grid; gap: 12px; margin-top: 14px; }
.tpr-form textarea { width: 100%; min-height: 64px; resize: vertical; font: inherit; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); }
.tpr-count { font-size: 12.5px; color: var(--muted); text-align: right; margin-top: -8px; font-variant-numeric: tabular-nums; }
.tpr-mins { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.tpr-mins label { position: relative; }
.tpr-mins input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tpr-mins span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--border); font-weight: 600; font-size: 14px; transition: background .15s ease, color .15s ease; }
.tpr-mins input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.tpr-mins input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }
.tpr-form .btn { min-height: 44px; }
.tpr-state { margin-top: 12px; padding: 14px; border-radius: 12px; background: var(--bg, #f6f7f9); }
.tpr-state strong { display: block; font-size: 16px; line-height: 1.35; }
.tpr-state p { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.tpr-state.is-live { background: var(--ok-bg); }
.tpr-state.is-live p { color: var(--ok); font-weight: 600; }
.tpr-state .btn { margin-top: 12px; min-height: 40px; }

/* Graduación (Handoff 92) */
.tg-hero { display: flex; align-items: baseline; gap: 10px; margin-top: 10px; }
.tg-hero strong { font-size: 44px; font-weight: 760; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--navy); }
.tg-hero span { font-size: 15px; color: var(--muted); }
.tg-points { margin: 12px 0 0; padding-left: 18px; font-size: 14.5px; line-height: 1.5; color: var(--text); }
.tg-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.tg-actions .btn { min-height: 44px; }
.tg-plans { border: 0; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.tg-plans legend { font-size: 14px; font-weight: 650; margin-bottom: 8px; padding: 0; }
.tg-plan { position: relative; display: block; padding: 14px; border-radius: 14px; border: 1.5px solid var(--border); cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease; }
.tg-plan input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tg-plan:has(input:checked) { border-color: var(--navy); box-shadow: 0 0 0 3px color-mix(in srgb, var(--navy) 12%, transparent); }
.tg-plan:has(input:focus-visible) { outline: 2px solid var(--navy); outline-offset: 2px; }
.tg-plan strong { display: block; font-size: 16px; }
.tg-plan b { display: block; margin-top: 2px; font-size: 20px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.tg-plan small { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); line-height: 1.4; }
.tg-plan .tg-reco { position: absolute; top: 12px; right: 12px; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--navy); color: #fff; }
.tg-terms { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; font-size: 14px; line-height: 1.45; }
.tg-terms input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.tg-account-done { margin-top: 12px; }

/* ---------- Tarjeta de un hijo (cuenta del tutor, handoff 95) ----------
   La foto va grande y arriba: es lo que la cajera compara con quien tiene
   enfrente antes de cobrar. */
.kid-head { display: flex; align-items: center; gap: 16px; }
.kid-head > div { min-width: 0; }
.kid-photo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--border); }
.kid-initial { display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 14%, white); color: var(--brand-deep); font-family: var(--font-title); font-weight: 800; font-size: 28px; }
.kid-frozen { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: #f2f4f7; color: #344054; font-size: 14px; font-weight: 550; }
.kid-short { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--danger-bg); color: var(--danger); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.kid-short p { margin: 0; font-size: 14.5px; font-weight: 550; line-height: 1.4; flex: 1 1 220px; }
.kid-short .btn { flex: none; }
.cp-rules { margin-top: 4px; color: var(--text); font-weight: 600; font-size: 13.5px; }
