/* TuDron — línea gráfica 10 nov 2026: colores de Tukán (azul, amarillo, naranja) + el color propio de TuDron, rojo naranja señal.
   Logo «B · Hélices redondas» (app/funciones.php: logo_tudron). Pensado primero para el celular.
   Reglas de la marca: el color del producto va en cuadritos y marcas chicas, no en bloques grandes; sobre amarillo o naranja el texto
   va en azul; el señal #C8401A va sobre claro (5:1 con blanco) y #FF5A1F sobre el azul oscuro. */
:root {
    --fondo: #F7F7F4;            /* fondo de Tukán */
    --superficie: #FFFFFF;
    --tinta: #16203A;
    --tinta-suave: #596278;
    --linea: #E2E2DA;
    --marino: #14213D;           /* azul Tukán */
    --marino-oscuro: #0A1020;    /* azul noche */
    --marino-claro: #E8EBF2;
    --amarillo: #FFC93C;         /* amarillo pico */
    --naranja: #FF8A1F;          /* naranja pico */
    --naranja-claro: #FFEED8;
    --senal: #C8401A;            /* TuDron: rojo naranja señal (sobre claro) */
    --senal-noche: #FF5A1F;      /* TuDron sobre el azul oscuro */
    --senal-claro: #FBE6DE;
    --rojo: #B3261E;
    --rojo-claro: #F9E3E1;
    --verde: #1F7A4D;
    --verde-claro: #E0F2E8;
    --azul: #2563A8;
    --azul-claro: #E3EDF8;
    --gris-claro: #EDEDE7;
    --radio: 12px;
    --sombra: 0 1px 2px rgba(10, 16, 32, .06);
    --fuente: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --fuente-titulo: 'Space Grotesk', 'DM Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--fuente); font-size: 16px; line-height: 1.5; color: var(--tinta); background: var(--fondo); font-feature-settings: "tnum" 1; }
a { color: var(--marino); }
:focus-visible { outline: 3px solid var(--amarillo); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--fuente-titulo); line-height: 1.2; margin: 0 0 .5rem; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: 1.6rem; }
h2 { font-size: 1.2rem; }
h3 { font-size: 1rem; }
p { margin: 0 0 .75rem; }
small, .suave { color: var(--tinta-suave); }
.derecha { text-align: right; }
.centro { text-align: center; }
.nowrap { white-space: nowrap; }

/* ---------- Estructura ----------
   (10 nov 2026) La barra de arriba, el menú de la izquierda y el menú del celular los pone el kit común de Tukán
   (public/assets/tukan-ui.css + tukan-ui.js, idénticos en todos los programas). Aquí solo queda lo propio de TuDron. */
.principal { padding: 16px; max-width: 1200px; margin: 0 auto; }
.tk-contenido.principal { max-width: none; margin: 0; padding: 25px 30px 40px; }
@media (max-width: 768px) { .tk-contenido.principal { padding: 18px 14px 32px; } }
.tk-arriba-izq { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tk-marca .tk-logo svg { display: block; }
.tk-menu .tk-menu-salir { margin-top: 12px; border-top: 1px solid var(--tk-noche-2); }
.tk-menu-legal { padding: 4px 20px 0; color: #94a3b8; font-size: 12px; }
.tk-menu-legal a { color: #cbd5e1; }
.icono { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* Los botones del kit no heredan el estilo viejo de <button> */
button.tk-boton-menu:hover { background: rgba(0,0,0,.25); }

/* ---------- Franjas y avisos ---------- */
.franja-admin { border-left-color: var(--tk-noche); }
.aviso { padding: 10px 14px; border-radius: var(--radio); margin-bottom: 12px; }
.aviso-ok { background: var(--verde-claro); color: #12492E; }
.aviso-error { background: var(--rojo-claro); color: #6E1F19; }
.aviso-info { background: var(--azul-claro); color: #173E6B; }

/* ---------- Encabezado de página ---------- */
.cabecera { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cabecera h1 { margin: 0; }
.acciones { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Tarjetas y rejillas ---------- */
.tarjeta { background: var(--superficie); border: 1px solid var(--linea); border-radius: var(--radio); padding: 16px; margin-bottom: 14px; box-shadow: var(--sombra); }
.tarjeta h2:first-child, .tarjeta h3:first-child { margin-top: 0; }
.rejilla { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.rejilla-2 { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .rejilla-2 { grid-template-columns: 1fr 1fr; } }
.cifra { background: var(--superficie); border: 1px solid var(--linea); border-radius: var(--radio); padding: 14px; }
.cifra small { display: block; }
.cifra strong { display: block; font-family: var(--fuente-titulo); font-size: 1.5rem; line-height: 1.2; }
.cifra .delta-sube { color: var(--verde); font-size: .85rem; }
.cifra .delta-baja { color: var(--rojo); font-size: .85rem; }

/* ---------- Botones ---------- */
.boton, .boton-sec, .boton-naranja, .boton-peligro, button { font: inherit; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--marino); background: var(--marino); color: #fff; padding: 9px 16px; border-radius: 8px; cursor: pointer; text-decoration: none; font-weight: 600; min-height: 42px; }
.boton:hover, button:hover { background: var(--marino-oscuro); }
.boton-sec { background: #fff; color: var(--marino); border-color: #C9CEDA; }
.boton-sec:hover { background: var(--marino-claro); }
.boton-naranja { background: var(--naranja); border-color: var(--naranja); color: var(--marino-oscuro); }
.boton-naranja:hover { background: #F27A0C; border-color: #F27A0C; }
.boton-peligro { background: #fff; color: var(--rojo); border-color: var(--rojo); }
.boton-peligro:hover { background: var(--rojo-claro); }
.boton-chico { padding: 5px 10px; min-height: 34px; font-size: .9rem; }
.boton-enlace { background: none; border: none; color: var(--marino); padding: 0; min-height: 0; text-decoration: underline; font-weight: 500; }
.boton-enlace:hover { background: none; }

/* ---------- Formularios ---------- */
form.formulario { display: grid; gap: 12px; }
label { display: block; font-weight: 600; font-size: .92rem; }
label small { font-weight: 400; }
input, select, textarea { font: inherit; width: 100%; padding: 9px 11px; border: 1px solid #C9CEDA; border-radius: 8px; background: #fff; color: var(--tinta); margin-top: 4px; min-height: 42px; }
textarea { min-height: 80px; }
input[type=checkbox], input[type=radio] { width: auto; min-height: 0; margin: 0 6px 0 0; }
.casilla { display: flex; align-items: center; font-weight: 500; }
.campos { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
fieldset { border: 1px solid var(--linea); border-radius: var(--radio); padding: 12px; margin: 0; }
legend { font-weight: 700; padding: 0 6px; }

/* ---------- Tablas ---------- */
.tabla-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
/* Lo que va dentro de una rejilla o formulario puede achicarse: una tabla ancha se desplaza dentro de su tarjeta y no estira la pantalla. */
.rejilla > *, .rejilla-2 > *, .campos > *, form.formulario > * { min-width: 0; }
.campos input, .campos select, .campos textarea { max-width: 100%; min-width: 0; }
table.tabla { width: 100%; border-collapse: collapse; background: #fff; font-size: .94rem; }
.tabla th, .tabla td { padding: 8px 10px; border-bottom: 1px solid var(--linea); text-align: left; vertical-align: top; }
.tabla th { font-size: .82rem; font-weight: 600; color: var(--tinta-suave); background: #FAFAF7; }
.tabla tr:last-child td { border-bottom: none; }
.tabla .num { text-align: right; white-space: nowrap; }
.tabla tfoot td { font-weight: 700; background: #FAFAF7; }

/* ---------- Etiquetas de estado ---------- */
.etiqueta { display: inline-block; padding: 1px 9px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: var(--gris-claro); color: var(--tinta-suave); white-space: nowrap; }
.etiqueta-verde { background: var(--verde-claro); color: #12492E; }
.etiqueta-rojo { background: var(--rojo-claro); color: #6E1F19; }
.etiqueta-naranja { background: var(--naranja-claro); color: #7A3A08; }
.etiqueta-azul { background: var(--azul-claro); color: #173E6B; }
.etiqueta-marino { background: var(--marino); color: #fff; }
.etiqueta-senal { background: var(--senal-claro); color: #8A2A0F; }
.etiqueta-amarillo { background: #FFF3CC; color: #6B5000; }

/* ---------- Listas ---------- */
.lista { list-style: none; margin: 0; padding: 0; }
.lista li { padding: 10px 0; border-bottom: 1px solid var(--linea); display: flex; gap: 10px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.lista li:last-child { border-bottom: none; }
.vacio { color: var(--tinta-suave); text-align: center; padding: 22px 10px; }

/* ---------- Pestañas ---------- */
.pestanas { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--linea); margin-bottom: 14px; }
.pestanas a { padding: 8px 14px; text-decoration: none; color: var(--tinta-suave); white-space: nowrap; border-bottom: 3px solid transparent; font-weight: 600; }
.pestanas a.activo { color: var(--marino); border-bottom-color: var(--senal); }

/* ---------- Pantallas sin sesión ---------- */
.caja-entrar { max-width: 420px; margin: 8vh auto; }
.pie-entrar { margin-top: 14px; }
.sin-sesion .principal { padding-bottom: 32px; }

/* ---------- En vivo ---------- */
.en-vivo { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--verde); }
.en-vivo::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--verde); animation: latido 2s infinite; }
.en-vivo.sin-conexion { color: var(--rojo); }
.en-vivo.sin-conexion::before { background: var(--rojo); animation: none; }
@keyframes latido { 50% { opacity: .3; } }

@media print {
    .acciones, .no-imprimir, .franja { display: none !important; }
    body { background: #fff; }
    .tarjeta { box-shadow: none; border: none; }
}

/* Opciones de precio: filas de formulario que se acomodan en el celular */
.fila-opcion { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-end; }
.fila-opcion .casilla { margin: 0; }
.tabla-opciones input { min-width: 80px; max-width: 120px; margin: 0; }
.opciones-elegidas { font-size: .85rem; color: var(--tinta-suave); }
.web-opciones { list-style: none; margin: 6px 0 0; padding: 0; }
.web-opciones li { display: flex; gap: 10px; justify-content: space-between; align-items: center; flex-wrap: wrap; padding: 8px 0; border-top: 1px solid var(--linea); }

/* ---------- TuDron: mapas, gráficos, etiquetas QR ---------- */
.mapa { height: 360px; border-radius: var(--radio); margin: 0 0 1rem; background: var(--gris-claro); z-index: 0; }
@media (min-width: 900px) { .mapa { height: 460px; } }
.grafico { margin: 0 0 1rem; }
.grafico svg { width: 100%; height: 180px; display: block; }
.grafico-guia { stroke: var(--linea); stroke-width: 1; vector-effect: non-scaling-stroke; }
.grafico-texto { fill: var(--tinta-suave); font-size: 12px; }
.grafico-leyenda { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .85rem; }
.grafico-leyenda i { display: inline-block; width: 12px; height: 3px; margin-right: 6px; vertical-align: middle; border-radius: 2px; }
.qr svg { width: 160px; height: 160px; }
.tarjeta-enlace { display: block; color: inherit; text-decoration: none; }
.tarjeta-enlace:hover { border-color: var(--marino); }
.apagada { opacity: .55; }
form.en-linea { display: inline; }
.filtros .campos { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.semaforo { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.semaforo-verde { background: var(--verde-claro); color: var(--verde); }
.semaforo-amarillo { background: var(--naranja-claro); color: #8A4A00; }
.semaforo-rojo { background: var(--rojo-claro); color: var(--rojo); }
.contenido-publico { max-width: 960px; margin: 0 auto; padding: 16px; }
.etiqueta-gris { background: var(--gris-claro); color: var(--tinta-suave); }
/* Fase 2: chequeos con casillas grandes (se tocan con el dedo en el control) e incidentes */
.casilla.grande { padding: 10px 0; border-bottom: 1px solid var(--linea); gap: 10px; font-size: 1.05rem; }
.casilla.grande input { width: 26px; height: 26px; flex: none; }
.bloque { padding: 12px 0; border-bottom: 1px solid var(--linea); }
.bloque:last-child { border-bottom: 0; }
.bloque p { margin: 4px 0; }
details summary { cursor: pointer; font-weight: 600; padding: 8px 0; }
.mapa-alto { height: 420px; }
@media (max-width: 600px) { .mapa-alto { height: 340px; } }
.barra { height: 12px; background: var(--linea); border-radius: 6px; overflow: hidden; margin: 10px 0; }
.barra > div { height: 100%; width: 0; background: var(--verde); transition: width .3s; }
.fotos-gcp { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.foto-gcp { position: relative; cursor: crosshair; }
.foto-gcp img { width: 100%; display: block; border-radius: 6px; }
.foto-gcp .marca { position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px; border: 2px solid #fff; border-radius: 50%; background: rgba(220,38,38,.7); pointer-events: none; }
.foto-gcp .zoom { position: fixed; inset: 0; background: rgba(0,0,0,.85); z-index: 50; overflow: auto; }
.documento .tabla tfoot td { border-top: 1px solid var(--linea); }
@media print { .no-imprimir, nav, header, .menu, .barra-inferior { display: none !important; } .tarjeta { box-shadow: none; border: 0; } body { background: #fff; } }

/* Pago del plan con Google Play (solo dentro de la app de Android: app/vistas/mi_plan.php y public/assets/play.js) */
.pago-play { display: grid; gap: 8px; margin: 8px 0 14px; }
.boton-play { justify-content: space-between; width: 100%; }
.boton-play:disabled { opacity: .55; cursor: default; }

/* «Cancelar mi plan» (módulo común TukanCancelarPlan.php, 7 nov 2026) */
.tukan-cancelar details summary{cursor:pointer;font-weight:600}
.tukan-cancelar label{display:block;margin:10px 0}
.tukan-cancelar textarea{width:100%;box-sizing:border-box}
.tukan-cancelar .tc-confirmo{display:flex;gap:8px;align-items:flex-start}
.tukan-cancelar .boton-peligro{background:#b42318;border-color:#b42318;color:#fff}
/* Aviso de términos y enlaces legales (módulo común TukanLegal.php, 7 nov 2026) */
.tukan-legal-aviso{background:#fff8e1;border:1px solid #f2c94c;border-radius:10px;padding:12px 14px;margin:0 0 14px}
.tukan-legal-aviso p{margin:0 0 8px}
.tukan-legal-aviso label{display:inline-flex;gap:8px;align-items:center;margin-right:10px}
.pie-legal{font-size:.85rem;opacity:.8;margin-top:10px}
.tukan-legal-enlaces a{color:inherit}

/* ---------- Línea gráfica TuDron (10 nov 2026) ---------- */
.marca-nombre { font-family: var(--fuente-titulo); font-weight: 700; font-size: 1.25rem; letter-spacing: -.015em; color: #fff; }
.logo-tudron { display: block; flex: none; }

/* Cifras de dos en dos en el celular (antes salían una por fila y había que bajar mucho) */
@media (max-width: 599px) {
    .rejilla { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
    .rejilla.rejilla-planes { grid-template-columns: 1fr; }
    .cifra { padding: 12px; }
    .cifra strong { font-size: 1.35rem; }
}

/* Bloque plegable (filtros de Vuelos): cerrado en el celular, abierto en la computadora (app.js) */
details.plegable { padding: 0; }
details.plegable > summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 12px 16px; min-height: 48px; font-weight: 600; }
details.plegable > summary::-webkit-details-marker { display: none; }
details.plegable > summary::after { content: ''; width: 8px; height: 8px; margin-left: auto; border-right: 2px solid var(--tinta-suave); border-bottom: 2px solid var(--tinta-suave); transform: rotate(45deg); transition: transform .15s; }
details.plegable[open] > summary::after { transform: rotate(-135deg); }
details.plegable > form, details.plegable > .plegable-contenido { padding: 0 16px 16px; }
@media (prefers-reduced-motion: reduce) { details.plegable > summary::after { transition: none; } }

/* Pantallas de entrar y crear cuenta: panel de marca con las hélices del logo de fondo */
.pantalla-entrar .principal { max-width: none; padding: 0; }
.entrar { min-height: 100vh; display: flex; flex-direction: column; }
.entrar-marca { color: #fff; padding: 28px 20px 52px; padding-top: calc(28px + env(safe-area-inset-top));
    background-color: var(--marino-oscuro);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='%23ffffff' fill-opacity='.05'%3E%3Ccircle cx='27' cy='27' r='7'/%3E%3Ccircle cx='69' cy='27' r='7'/%3E%3Ccircle cx='27' cy='69' r='7'/%3E%3Ccircle cx='69' cy='69' r='7'/%3E%3Crect x='38' y='38' width='20' height='20' rx='5'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 96px 96px; }
.entrar-marca-logo { display: flex; align-items: center; gap: 14px; }
.entrar-marca-nombre { font-family: var(--fuente-titulo); font-weight: 700; font-size: 2.1rem; letter-spacing: -.02em; line-height: 1; }
.entrar-lema { color: #C9D0DF; font-size: 1.02rem; max-width: 34ch; margin: 18px 0 0; }
.entrar-familia { display: none; color: #8792AB; font-size: .85rem; margin: 0; align-items: center; gap: 10px; }
.cuadritos { display: inline-flex; gap: 3px; }
.cuadritos i { width: 9px; height: 9px; border-radius: 2.5px; background: var(--amarillo); }
.cuadritos i:nth-child(2) { background: var(--naranja); }
.cuadritos i:nth-child(3) { background: var(--senal-noche); }
.entrar .caja-entrar { width: calc(100% - 32px); margin: -28px auto 32px; position: relative; padding: 22px 20px; }
.entrar .caja-entrar h1 { font-size: 1.5rem; }
@media (min-width: 900px) {
    .entrar { flex-direction: row; }
    .entrar-marca { flex: 1 1 52%; display: flex; flex-direction: column; justify-content: center; padding: 56px 64px; position: relative; }
    .entrar-marca .logo-tudron { width: 72px; height: 72px; }
    .entrar-marca-nombre { font-size: 3rem; }
    .entrar-lema { font-size: 1.15rem; margin-top: 24px; }
    .entrar-familia { display: flex; position: absolute; left: 64px; bottom: 40px; }
    .entrar .caja-entrar { flex: 0 1 460px; align-self: center; margin: 40px 56px; width: auto; padding: 28px; }
}
/* (10 nov 2026) Mi plan → Pague con tarjeta: el valor de lo que va a pagar */
.cifra-pago strong{font-size:1.35em}
.plan-tarjeta{border:1px solid var(--linea);border-radius:var(--radio);padding:10px 14px;margin:0 0 12px}
.plan-tarjeta .opcion-pago{display:flex;gap:8px;align-items:baseline;margin:8px 0;flex-wrap:wrap}

/* ---------- (10 nov 2026) Puente al kit común de Tukán ----------
   Las pantallas usan las clases del kit (tk-titulo-pagina, tk-tarjeta, tk-boton, tk-tabla, tk-chip…). Estas reglas hacen que las
   clases propias que todavía acompañan a esas (o que quedan en partes chicas) se vean igual que el kit: mismos colores, radios y letra. */
/* Dentro del kit: la letra, los radios y el fondo comunes de Tukán (los portales públicos de los clientes no cambian) */
body.tk { --fuente: var(--tk-letra); --fuente-titulo: var(--tk-letra); --radio: var(--tk-radio); font-family: var(--tk-letra); font-size: 15px; background: var(--tk-fondo); color: var(--tk-tinta); }
body.tk h1, body.tk h2, body.tk h3 { letter-spacing: 0; font-family: var(--tk-letra); }
body.tk .tk-contenido a:not([class]) { color: #1d4ed8; }
.tk .boton, .tk .boton-sec, .tk .boton-naranja, .tk .boton-peligro, .tk button:not(.tk-boton-menu):not(.boton-enlace):not(.tk-ocultar) {
    border-radius: 6px; font-weight: 800; font-size: 13.5px; min-height: 40px; background: var(--tk-color); border-color: var(--tk-color); color: var(--tk-color-texto); line-height: 1.2; }
.tk .boton:hover, .tk button:not(.tk-boton-menu):not(.boton-enlace):not(.tk-ocultar):hover { background: var(--tk-color); filter: brightness(.95); }
.tk .boton-sec, .tk button.boton-sec { background: #fff; color: var(--tk-tinta); border-color: #cbd5e1; }
.tk .boton-sec:hover, .tk button.boton-sec:hover { background: #fff; filter: brightness(.97); }
.tk .boton-peligro, .tk button.boton-peligro { background: var(--tk-mal); border-color: var(--tk-mal); color: #fff; }
.tk .boton-chico { min-height: 30px; padding: 5px 10px; font-size: 12px; }
.tk .boton-enlace { color: #1d4ed8; }
.tk label { font-size: 12px; font-weight: 800; color: #334155; text-transform: uppercase; letter-spacing: .3px; }
.tk label input, .tk label select, .tk label textarea { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--tk-tinta); }
.tk label.casilla, .tk .casilla, .tk label small, .tk .tukan-legal-aviso label, .tk .tukan-cancelar label { text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 600; }
.tk input, .tk select, .tk textarea { border-radius: 6px; border-color: #cbd5e1; background: #f8fafc; font-size: 14px; }
.tk input:focus, .tk select:focus, .tk textarea:focus { border-color: var(--tk-color); background: #fff; outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--tk-color) 25%, transparent); }
.tk .tarjeta { border-left: 5px solid var(--tk-color); border-radius: var(--tk-radio); padding: 20px; }
.tk .tarjeta > h2:first-child, .tk .tarjeta > h3:first-child, .tk .tarjeta .cabecera h2 { font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .2px; }
.tk .tabla th { background: var(--tk-noche); color: #fff; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; font-weight: 800; }
.tk .tabla tfoot td { background: #f8fafc; }
.tk .cifra { background: var(--tk-noche); color: #fff; border: 0; border-left: 5px solid var(--tk-color); border-radius: var(--tk-radio); padding: 16px 18px; box-shadow: var(--tk-sombra); }
.tk .cifra small { font-size: 11px; font-weight: 800; text-transform: uppercase; color: #94a3b8; letter-spacing: .3px; }
.tk .cifra strong { color: var(--tk-color-claro); font-weight: 900; font-size: 24px; margin-top: 4px; }
.tk .cifra a { color: #fff; }
.tk .cifra .delta-sube { color: var(--tk-ok-claro); } .tk .cifra .delta-baja { color: var(--tk-mal-claro); }
.tk .etiqueta { border-radius: 4px; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; padding: 3px 8px; }
.tk .pestanas a.activo { color: var(--tk-tinta); border-bottom-color: var(--tk-color); }
.tk .lista li a { color: #1d4ed8; }
.tk .tk-titulo-pagina.cabecera h1 { font-size: 22px; font-weight: 900; }
.tk .tukan-legal-aviso { background: #fff; border: 0; border-left: 5px solid var(--tk-aviso); border-radius: var(--tk-radio); box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.tk .tk-tira .tk-boton, .tk .tk-tira a.tk-boton { white-space: nowrap; }
/* Dashboard: lista corta dentro de una tarjeta del kit y accesos rápidos */
.tk-accesos { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 22px; }
.tk-pasos .tk-ocultar { background: none; border: 0; color: var(--tk-muy-suave); font-size: 12.5px; font-weight: 700; text-decoration: underline; cursor: pointer; min-height: 0; padding: 4px; }
.tk .tk-pasos button.tk-ocultar:hover { background: none; filter: none; }
.tk-pasos form { margin: 0; }
@media (max-width: 768px) { .tk-accesos { grid-template-columns: 1fr 1fr; } }
/* Pantallas de entrar y crear cuenta con el color de TuDron */
.tk.pantalla-entrar .entrar-marca { background-color: var(--tk-color); }
.tk.pantalla-entrar .entrar-marca .tk-logo-caja { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #fff; flex: none; }
.tk.pantalla-entrar .entrar-lema { color: #fff; opacity: .92; }
.tk.pantalla-entrar .entrar-familia { color: #fff; opacity: .85; }
.tk.pantalla-entrar .entrar-marca-nombre { font-weight: 900; }
.tk.pantalla-entrar .caja-entrar { border-left: 5px solid var(--tk-color); }
.tk.pantalla-entrar .caja-entrar h1 { font-size: 22px; font-weight: 900; }
.tk.pantalla-entrar .caja-entrar .tk-form { grid-template-columns: 1fr; }
.tk.pantalla-entrar .pie-entrar a { color: #1d4ed8; }
.tk-arriba small { color: inherit; }
.tk-menu .tk-menu-legal a { display: inline; padding: 0; min-height: 0; color: #cbd5e1; font-size: 12px; }
.tk-menu .tk-menu-legal a:hover { padding: 0; background: none; }
.tk-accesos .tk-boton { text-align: center; }
.tk.pantalla-entrar .principal { width: 100%; }
/* Las clases de color del kit («aviso») no toman el margen del .aviso propio; nombre largo de la empresa con «…» en el celular */
.tk .tk-chip.aviso, .tk .tk-cifra.aviso { margin-bottom: 0; }
.tk-arriba-izq { flex: 1 1 auto; overflow: hidden; }
.tk-marca > span:last-child { min-width: 0; overflow: hidden; }
.tk-marca small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.tk .tk-marca small { color: inherit; }
