/* =====================================================================
   tgcristobal — estilo único del sitio, el login y los paneles.
   Todo en amarillo: se cambia desde las variables de :root.
   ===================================================================== */

:root {
    --amarillo-50: #fefce8;
    --amarillo-100: #fef9c3;
    --amarillo-200: #fef08a;
    --amarillo-300: #fde047;
    --amarillo-400: #facc15;
    --amarillo-500: #eab308;
    --amarillo-600: #ca8a04;
    --amarillo-700: #a16207;
    --tinta: #713f12;        /* texto fuerte sobre amarillo claro */
    --texto: #33290f;
    --texto-suave: #6b5d3a;
    --blanco: #ffffff;
    --borde: #fde68a;
    --sombra: 0 10px 30px rgba(161, 98, 7, 0.12);
    --radio: 14px;
    --verde: #15803d;
    --error: #b91c1c;
    --ambar: #c2410c;        /* avisos: naranja, para no confundirse con la marca */
    --alto-barra: 70px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--alto-barra) + 12px); }

body {
    margin: 0;
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--texto);
    background: var(--amarillo-50);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main { flex: 1 0 auto; }

img { max-width: 100%; height: auto; }

a { color: var(--amarillo-700); }

h1, h2, h3 { color: var(--tinta); line-height: 1.25; margin: 0 0 .6em; }

.contenedor { width: min(1150px, 100% - 32px); margin: 0 auto; }

/* ------------------------------------------------------------ botones */

.boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    padding: .8em 1.5em;
    border: 0;
    border-radius: 999px;
    background: var(--amarillo-400);
    color: #422006;
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s, transform .2s, box-shadow .2s;
    box-shadow: 0 4px 14px rgba(234, 179, 8, .35);
}
.boton:hover { background: var(--amarillo-300); transform: translateY(-1px); }
.boton:focus-visible { outline: 3px solid var(--amarillo-700); outline-offset: 2px; }
.boton-claro { background: var(--blanco); color: var(--tinta); box-shadow: none; border: 2px solid var(--amarillo-300); }
.boton-claro:hover { background: var(--amarillo-100); }
.boton-chico { padding: .45em 1.1em; font-size: .9rem; }
.boton-peligro { background: #fecaca; color: #7f1d1d; box-shadow: none; }
.boton-peligro:hover { background: #fca5a5; }
.boton-bloque { width: 100%; }

/* ------------------------------------------------ barra y menú superior */

.barra {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, var(--amarillo-300), var(--amarillo-400));
    box-shadow: 0 4px 16px rgba(202, 138, 4, .25);
}
.barra-interior {
    width: min(1250px, 100% - 32px);
    margin: 0 auto;
    height: var(--alto-barra);
    display: flex;
    align-items: center;
    gap: 16px;
}
.marca {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #422006;
    font-weight: 800;
    font-size: 1.15rem;
    text-decoration: none;
    white-space: nowrap;
}
.marca img { border-radius: 50%; background: #ffffff; }

.menu { margin-left: auto; height: 100%; }
.menu > ul { display: flex; align-items: center; height: 100%; margin: 0; padding: 0; list-style: none; gap: 2px; }
.menu li { position: relative; list-style: none; }
.menu > ul > li { height: 100%; display: flex; align-items: center; }
.menu > ul > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 100%;
    padding: 0 12px;
    color: #422006;
    font-size: .88rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: background .2s;
}
.menu > ul > li > a:hover { background: rgba(255, 255, 255, .35); }
.menu > ul > li.menu-entrar > a { height: auto; text-transform: none; margin-left: 8px; background: var(--blanco); }
.menu > ul > li.menu-entrar > a:hover { background: var(--amarillo-100); }
.menu .flecha { font-size: .65rem; opacity: .7; }
.menu li ul {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    margin: 0;
    padding: 8px 0;
    background: var(--blanco);
    border: 1px solid var(--borde);
    border-radius: 0 0 var(--radio) var(--radio);
    box-shadow: var(--sombra);
    visibility: hidden;
    opacity: 0;
    transform: translateY(8px);
    transition: all .2s;
}
.menu li:hover > ul, .menu li:focus-within > ul { visibility: visible; opacity: 1; transform: none; }
.menu li ul a {
    display: block;
    padding: 8px 18px;
    color: var(--tinta);
    font-size: .9rem;
    text-decoration: none;
}
.menu li ul a:hover { background: var(--amarillo-100); padding-left: 24px; transition: padding .2s; }
.menu-abrir, .menu-boton { display: none; }

@media (max-width: 1000px) {
    .menu-boton {
        display: flex;
        margin-left: auto;
        font-size: 1.6rem;
        color: #422006;
        cursor: pointer;
        padding: 8px;
    }
    .menu {
        position: fixed;
        top: var(--alto-barra);
        left: 0;
        right: 0;
        height: auto;
        max-height: calc(100vh - var(--alto-barra));
        overflow-y: auto;
        background: var(--amarillo-100);
        display: none;
        box-shadow: var(--sombra);
    }
    .menu-abrir:checked ~ .menu { display: block; }
    .menu > ul { flex-direction: column; align-items: stretch; padding: 8px 0 16px; }
    .menu > ul > li { flex-direction: column; align-items: stretch; height: auto; }
    .menu > ul > li > a { padding: 12px 20px; }
    .menu li ul {
        position: static;
        visibility: visible;
        opacity: 1;
        transform: none;
        box-shadow: none;
        border: 0;
        border-radius: 0;
        background: transparent;
        padding: 0 0 6px 16px;
        display: none;
    }
    .menu li:hover > ul, .menu li:focus-within > ul { display: block; }
    .menu > ul > li.menu-entrar { padding: 10px 20px; }
    .menu > ul > li.menu-entrar > a { margin: 0; justify-content: center; }
}

/* ---------------------------------------------------------- portada */

.portada {
    background: radial-gradient(circle at 50% 0%, var(--amarillo-200) 0%, var(--amarillo-50) 70%);
    padding: 0 0 40px;
}
/* foto casi de orilla a orilla; si la pantalla es muy ancha se
   recorta un poco arriba y abajo en vez de crecer sin fin */
.portada-imagen {
    display: block;
    width: calc(100% - 10cm);   /* 5 cm libres a cada lado */
    margin: 20px auto 0;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(202, 138, 4, .30);
    aspect-ratio: 2000 / 988;
    max-height: clamp(380px, 100vh - 170px, 720px); /* deja ver el titulo sin bajar */
    object-fit: cover;
    object-position: center;
    background: #ffffff;
}
@media (max-width: 700px) { .portada-imagen { width: calc(100% - 32px); margin-top: 16px; } }
.portada-texto h1 { font-size: clamp(1.6rem, 4vw, 2.6rem); margin: 28px 0 .3em; }
.portada-texto { text-align: center; }
.portada-texto p { color: var(--texto-suave); max-width: 720px; margin: 0 auto 1.2em; font-size: 1.05rem; }
.portada-botones { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* --------------------------------------------------------- secciones */

.seccion { padding: 56px 0; }
.seccion-blanca { background: var(--blanco); }
.seccion-titulo { text-align: center; font-size: clamp(1.4rem, 3vw, 2rem); text-transform: uppercase; letter-spacing: 1px; }
.seccion-sub { text-align: center; color: var(--texto-suave); margin: -.3em auto 2em; max-width: 640px; }

.rejilla { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.beneficio {
    background: linear-gradient(160deg, var(--amarillo-100), var(--blanco));
    border: 1px solid var(--borde);
    border-radius: var(--radio);
    padding: 26px 22px;
    text-align: center;
    box-shadow: var(--sombra);
}
.beneficio i {
    display: inline-grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: var(--amarillo-300);
    color: #422006;
    font-size: 1.5rem;
    margin-bottom: 12px;
}
.beneficio h3 { font-size: 1.05rem; margin-bottom: .3em; }
.beneficio p { margin: 0; color: var(--texto-suave); font-size: .95rem; }

.producto {
    display: flex;
    flex-direction: column;
    background: var(--blanco);
    border: 1px solid var(--borde);
    border-radius: var(--radio);
    overflow: hidden;
    box-shadow: var(--sombra);
    transition: transform .2s;
}
.producto:hover { transform: translateY(-4px); }
.producto-foto { aspect-ratio: 16 / 10; background: var(--amarillo-100); display: grid; place-items: center; overflow: hidden; }
.producto-foto img { width: 100%; height: 100%; object-fit: cover; }
.producto-cuerpo { padding: 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.producto-categoria { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--amarillo-700); }
.producto h3 { font-size: 1.1rem; margin: 0; }
.producto p { margin: 0; color: var(--texto-suave); font-size: .92rem; }
.producto-precio { font-weight: 700; color: var(--tinta) !important; margin-top: 4px !important; }
.producto-acciones { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 12px; }

/* ------------------------------------------------------- misión, etc. */

.tarjeta {
    position: relative;
    background: var(--blanco);
    border: 1px solid var(--borde);
    border-radius: var(--radio);
    padding: 44px 26px 26px;
    text-align: center;
    box-shadow: var(--sombra);
}
.tarjeta-icono {
    position: absolute;
    top: -30px;
    left: calc(50% - 30px);
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    background: var(--amarillo-300);
    color: #422006;
    border: 3px solid var(--blanco);
}
.panel-quienes {
    display: flex;
    flex-wrap: wrap;
    background: var(--blanco);
    border-radius: var(--radio);
    overflow: hidden;
    box-shadow: var(--sombra);
    margin-top: 48px;
}
.panel-quienes .texto { flex: 1 1 380px; }
.panel-quienes h2 { margin: 0; padding: 18px 28px; background: linear-gradient(90deg, var(--amarillo-300), var(--amarillo-200)); }
.panel-quienes ul { padding: 24px 28px 0 48px; margin: 0; }
.panel-quienes li { margin-bottom: 14px; }
.panel-quienes .compromiso { padding: 0 28px 26px; font-weight: 600; color: var(--tinta); }
.panel-quienes .foto { flex: 1 1 300px; min-height: 260px; background: url('../imagenes/tgcristobal-portada-chica.jpg?v=2') center / cover no-repeat; }

/* ----------------------------------------------------- próximamente */

.proximamente { text-align: center; padding: 80px 0; }
.proximamente h1 { font-size: clamp(2.2rem, 7vw, 4.2rem); letter-spacing: 4px; }
.cuenta { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.cuenta div { background: var(--blanco); border: 1px solid var(--borde); border-radius: var(--radio); padding: 18px; min-width: 110px; box-shadow: var(--sombra); }
.cuenta span { display: block; font-size: 2.4rem; font-weight: 800; color: var(--amarillo-600); line-height: 1; }
.cuenta p { margin: 8px 0 0; font-size: .8rem; text-transform: uppercase; letter-spacing: 2px; color: var(--texto-suave); }

/* ------------------------------------------------------ formularios */

.acceso {
    flex: 1 0 auto;
    display: grid;
    place-items: center;
    padding: 40px 16px;
    background: radial-gradient(circle at 50% 0%, var(--amarillo-200) 0%, var(--amarillo-50) 70%);
}
.caja {
    width: min(440px, 100%);
    background: var(--blanco);
    border: 1px solid var(--borde);
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: var(--sombra);
}
.caja-ancha { width: min(620px, 100%); }
.caja-logo { display: block; width: 84px; height: 84px; margin: -74px auto 10px; border-radius: 50%; border: 4px solid var(--blanco); background: #ffffff; box-shadow: var(--sombra); }
.caja h1 { text-align: center; font-size: 1.5rem; margin-bottom: .2em; }
.caja .sub { text-align: center; color: var(--texto-suave); margin: 0 0 1.4em; font-size: .95rem; }
.caja .enlaces { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 16px; font-size: .92rem; }

.campo { margin-bottom: 14px; }
.campo label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 5px; color: var(--tinta); }
.campo input, .campo select, .campo textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--amarillo-200);
    border-radius: 10px;
    background: var(--amarillo-50);
    color: var(--texto);
    font: inherit;
    transition: border-color .2s, box-shadow .2s;
}
.campo textarea { min-height: 110px; resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus {
    outline: none;
    border-color: var(--amarillo-500);
    box-shadow: 0 0 0 3px rgba(234, 179, 8, .3);
    background: var(--blanco);
}
.campo small { color: var(--texto-suave); font-size: .8rem; }
.fila-campos { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 14px; }

.aviso { padding: 11px 14px; border-radius: 10px; margin-bottom: 14px; font-size: .93rem; border: 1px solid; }
.aviso-error { background: #fef2f2; border-color: #fecaca; color: var(--error); }
.aviso-ok { background: #f0fdf4; border-color: #bbf7d0; color: var(--verde); }
.aviso-info { background: var(--amarillo-100); border-color: var(--amarillo-200); color: var(--tinta); }

/* --------------------------------------------------------------- pie */

.pie { background: var(--amarillo-200); color: var(--tinta); margin-top: auto; }
.pie-columnas {
    width: min(1150px, 100% - 32px);
    margin: 0 auto;
    padding: 36px 0 20px;
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.pie-columnas div { display: flex; flex-direction: column; gap: 4px; }
.pie-columnas strong { font-size: 1.05rem; margin-bottom: 4px; }
.pie-columnas p { margin: 0; font-size: .92rem; }
.pie-columnas a, .pie-columnas span { color: var(--tinta); font-size: .92rem; text-decoration: none; }
.pie-columnas a:hover { text-decoration: underline; }
.pie-credito {
    text-align: center;
    padding: 16px;
    font-size: .88rem;
    font-weight: 600;
    background: var(--amarillo-300);
    color: #422006;
    letter-spacing: .3px;
}

/* ---------------------------------------------------- redes flotantes */

.redes { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; gap: 10px; }
.red {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--blanco) center / 30px no-repeat;
    box-shadow: 0 4px 14px rgba(202, 138, 4, .3);
    border: 2px solid var(--amarillo-200);
    transition: transform .2s;
}
.red:hover { transform: scale(1.08); }
.red-whatsapp { background-image: url('../imagenes/whats2.png'); }
.red-facebook { background-image: url('../imagenes/img/fb3.png'); }
.red-tiktok { background-image: url('../imagenes/tiktok.png'); background-size: 36px; }
.red-youtube { background-image: url('../imagenes/youtube.png'); }
@media (max-width: 600px) {
    .redes { flex-direction: column; right: 12px; bottom: 12px; gap: 8px; }
    .red { width: 44px; height: 44px; background-size: 24px; }
    .red-tiktok { background-size: 30px; }
}

/* =====================================================================
   Paneles (cliente y administrador)
   ===================================================================== */

.panel { display: flex; min-height: 100vh; }
.lateral {
    width: 260px;
    flex-shrink: 0;
    background: linear-gradient(180deg, var(--amarillo-200), var(--amarillo-100));
    border-right: 1px solid var(--borde);
    padding: 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}
.lateral-usuario { display: flex; gap: 10px; align-items: center; background: rgba(255,255,255,.6); padding: 10px; border-radius: 12px; }
.lateral-usuario strong { display: block; font-size: .92rem; color: var(--tinta); line-height: 1.2; }
.lateral-usuario small { color: var(--texto-suave); font-size: .78rem; }
.avatar { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--amarillo-400); color: #422006; font-weight: 800; }
.lateral nav { display: flex; flex-direction: column; gap: 2px; }
.lateral nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--tinta);
    text-decoration: none;
    font-weight: 500;
    font-size: .93rem;
}
.lateral nav a i { width: 20px; text-align: center; }
.lateral nav a:hover { background: rgba(255,255,255,.7); }
.lateral nav a.activo { background: var(--amarillo-400); color: #422006; font-weight: 700; }
.globo { margin-left: auto; background: var(--error); color: #fff; font-size: .72rem; font-weight: 700; border-radius: 999px; padding: 1px 8px; }
.lateral-salir { margin-top: auto; }
.lateral-salir button { width: 100%; padding: 10px; border: 1px solid var(--amarillo-300); border-radius: 10px; background: var(--blanco); color: var(--tinta); font: inherit; font-weight: 600; cursor: pointer; }
.lateral-salir button:hover { background: var(--amarillo-50); }
.lateral-abrir, .lateral-boton { display: none; }

.panel-contenido { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.panel-barra {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: var(--blanco);
    border-bottom: 1px solid var(--borde);
    position: sticky;
    top: 0;
    z-index: 20;
}
.panel-barra h1 { margin: 0; font-size: 1.3rem; flex: 1; }
.panel-cuerpo { flex: 1; padding: 26px 28px 40px; }
.panel-contenido .pie-credito { margin-top: auto; }
a.pie-credito { display: block; text-decoration: none; }
a.pie-credito:hover, a.pie-credito:focus-visible { text-decoration: underline; }

@media (max-width: 900px) {
    .lateral {
        position: fixed;
        left: 0;
        top: 0;
        z-index: 60;
        transform: translateX(-100%);
        transition: transform .25s;
        box-shadow: var(--sombra);
    }
    .lateral-abrir:checked ~ .lateral { transform: none; }
    .lateral-boton { display: flex; font-size: 1.4rem; color: var(--tinta); cursor: pointer; padding: 4px; }
    .panel-barra { padding: 12px 16px; }
    .panel-cuerpo { padding: 18px 16px 32px; }
    .solo-ancho { display: none; }
}

/* ---------------------------------------------------------- tarjetas */

.numeros { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-bottom: 24px; }
.numero-enlace { text-decoration: none; color: inherit; }
.numero {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--blanco);
    border: 1px solid var(--borde);
    border-radius: var(--radio);
    padding: 18px;
    box-shadow: var(--sombra);
    height: 100%;
}
.numero i { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--amarillo-200); color: var(--tinta); font-size: 1.2rem; flex-shrink: 0; }
.numero span { display: block; font-size: 1.5rem; font-weight: 800; color: var(--tinta); line-height: 1.1; }
.numero small { color: var(--texto-suave); font-size: .85rem; }

.bloque {
    background: var(--blanco);
    border: 1px solid var(--borde);
    border-radius: var(--radio);
    padding: 20px;
    box-shadow: var(--sombra);
    margin-bottom: 22px;
}
.bloque-titulo { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.bloque-titulo h2 { margin: 0; font-size: 1.1rem; }
.dos-columnas { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.vacio { text-align: center; color: var(--texto-suave); padding: 22px 10px; }
.vacio i { display: block; font-size: 2rem; color: var(--amarillo-300); margin-bottom: 8px; }

/* ------------------------------------------------------------ tablas */

.tabla-caja { overflow-x: auto; }
.tabla { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tabla th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .5px; color: var(--texto-suave); padding: 10px; border-bottom: 2px solid var(--amarillo-100); white-space: nowrap; }
.tabla td { padding: 11px 10px; border-bottom: 1px solid var(--amarillo-100); vertical-align: middle; }
.tabla tr:hover td { background: var(--amarillo-50); }
.tabla a { font-weight: 600; }
.derecha { text-align: right; }

.etiqueta { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; white-space: nowrap; background: var(--amarillo-100); color: var(--tinta); }
.etiqueta-activo, .etiqueta-aceptada, .etiqueta-cerrado { background: #dcfce7; color: #166534; }
.etiqueta-pendiente, .etiqueta-nueva, .etiqueta-abierto { background: #ffedd5; color: #9a3412; }
.etiqueta-en_proceso, .etiqueta-en_revision { background: #e0e7ff; color: #3730a3; }
.etiqueta-suspendido, .etiqueta-rechazada { background: #fee2e2; color: #991b1b; }

/* ------------------------------------------------------ conversación */

.chat { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.mensaje { max-width: 78%; padding: 12px 16px; border-radius: 16px; background: var(--amarillo-50); border: 1px solid var(--borde); }
.mensaje-mio { align-self: flex-end; background: var(--amarillo-200); border-color: var(--amarillo-300); }
.mensaje p { margin: 0; white-space: pre-wrap; word-wrap: break-word; }
.mensaje small { display: block; margin-top: 4px; color: var(--texto-suave); font-size: .75rem; }

.lista-limpia { list-style: none; margin: 0; padding: 0; }
.lista-limpia li { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--amarillo-100); }
.lista-limpia li:last-child { border-bottom: 0; }
.lista-limpia small { color: var(--texto-suave); }

.filtros { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.filtros a { padding: 6px 14px; border-radius: 999px; background: var(--blanco); border: 1px solid var(--borde); color: var(--tinta); text-decoration: none; font-size: .88rem; }
.filtros a.activo { background: var(--amarillo-400); border-color: var(--amarillo-400); font-weight: 700; }
.en-linea { display: inline; }
.acciones { display: flex; gap: 8px; flex-wrap: wrap; }

@media (max-width: 600px) {
    .numeros { grid-template-columns: 1fr 1fr; gap: 10px; }
    .numero { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; }
    .numero i { width: 40px; height: 40px; font-size: 1rem; }
    .numero span { font-size: 1.15rem; }
    .numero small { font-size: .78rem; line-height: 1.3; }
    .dos-columnas { grid-template-columns: 1fr; }
    .mensaje { max-width: 92%; }
}

/* ------------------------------------ ojo para ver la contraseña */

.clave-caja { position: relative; }
.clave-caja input { padding-right: 56px !important; }
.clave-caja input::-ms-reveal, .clave-caja input::-ms-clear { display: none; }  /* el ojo propio de Edge */
.clave-ojo {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1.5px solid #111;
    border-radius: 9px;
    background: #fff;
    color: #111;
    font-size: 1rem;
    cursor: pointer;
    transition: background .15s, color .15s;
}
.clave-ojo:hover, .clave-ojo[aria-pressed="true"] { background: #111; color: #fff; }
.clave-ojo:focus-visible { outline: 3px solid var(--amarillo-600); outline-offset: 2px; }

/* ------------------------------------------------- bolsa de trabajo */

.bolsa { max-width: 980px; }
.form-bolsa fieldset { border: 1px solid var(--borde); margin: 0 0 20px; }
.form-bolsa legend { font-weight: 700; color: var(--tinta); font-size: 1.05rem; padding: 0 8px; }
.form-bolsa .nota, .bolsa .nota { color: var(--texto-suave); font-size: .9rem; margin: 0 0 12px; }
.obligatorio { color: var(--error); font-weight: 700; }
.campo-error input, .campo-error select { border-color: var(--error); background: #fef2f2; }
.error-campo { display: block; color: var(--error) !important; margin-top: 4px; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.aviso-privacidad {
    max-height: 190px;
    overflow-y: auto;
    padding: 12px 16px;
    margin-bottom: 12px;
    border: 1px solid var(--borde);
    border-radius: 10px;
    background: var(--amarillo-50);
    font-size: .88rem;
    color: var(--texto-suave);
}
.aviso-privacidad p { margin: 0 0 8px; }
.casilla { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; font-size: .93rem; cursor: pointer; }
.casilla input { margin-top: 5px; width: 18px; height: 18px; flex-shrink: 0; }
.casilla.campo-error span { color: var(--error); }
.datos-postulacion { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 4px 20px; }
.datos-postulacion div { padding: 6px 0; border-bottom: 1px solid var(--amarillo-100); }
.datos-postulacion small { display: block; color: var(--texto-suave); font-size: .78rem; }

/* ------------------------------------------ páginas legales (privacidad) */

.legal { max-width: 820px; }
.legal h1 { font-size: clamp(1.5rem, 3.5vw, 2rem); }
.legal h2 { font-size: 1.15rem; margin-top: 1.6em; }
.legal li { margin-bottom: 6px; }
.legal .nota { color: var(--texto-suave); font-size: .9rem; }

/* =====================================================================
   Mis productos: vehículos, envíos, seguridad y limpieza
   ===================================================================== */

[hidden] { display: none !important; }
.solo-lectores { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.lateral-titulo { display: block; margin: 12px 12px 2px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--texto-suave); }

/* mosaicos "Selecciona el producto que deseas utilizar…" */
.productos-saludo { margin-bottom: 30px; }
.productos-saludo h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 600; margin: 0 0 6px; }
.productos-saludo > p { font-weight: 700; font-size: 1.08rem; color: var(--tinta); margin: 0 0 18px; }
/* 4 en fila cuando cabe; si no, 2 y 2 (nunca 3 + 1 suelto) */
.productos { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1000px; }
@media (min-width: 1180px) { .productos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 420px) {
    .productos { gap: 12px; }
    .producto-op { padding: 16px 10px 14px; }
    .producto-op svg { width: 60px; height: 60px; }
    .producto-op small { font-size: .8rem; }
}
.producto-op {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    padding: 22px 16px 18px;
    background: var(--blanco);
    border: 2px solid transparent;
    border-radius: 16px;
    box-shadow: var(--sombra);
    color: var(--texto);
    text-decoration: none;
    transition: border-color .15s, transform .15s;
}
.producto-op:hover { border-color: var(--amarillo-600); transform: translateY(-2px); }
.producto-op:focus-visible { outline: none; border-color: var(--amarillo-700); box-shadow: 0 0 0 4px var(--amarillo-200); }
.producto-op svg { width: 78px; height: 78px; margin-bottom: 6px; }
.producto-op strong { color: var(--amarillo-700); font-size: 1.08rem; font-weight: 600; }
.producto-op small { font-size: .9rem; line-height: 1.4; }
.productos-cuantos { margin-top: 8px; font-size: .75rem; font-weight: 700; border-radius: 999px; padding: 2px 11px; background: var(--amarillo-100); color: var(--tinta); }
.productos-cuantos-cero { background: #f1f5f9; color: var(--texto-suave); }

/* barra de la lista: Crear · Acciones ▾ · Red ▾ · buscar */
.boton-oscuro { background: var(--tinta); color: #fff; box-shadow: none; }
.boton-oscuro:hover { background: var(--amarillo-700); }
.op-barra { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.op-buscar { margin-left: auto; position: relative; display: block; }
.op-buscar input { padding: 9px 40px 9px 14px; border: 1.5px solid var(--amarillo-300); border-radius: 10px; font: inherit; font-size: .93rem; width: min(280px, 100%); background: var(--blanco); color: var(--texto); }
.op-buscar input:focus { outline: none; border-color: var(--amarillo-600); box-shadow: 0 0 0 3px rgba(234, 179, 8, .3); }
.op-buscar i { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); color: var(--tinta); pointer-events: none; }
.op-pista { font-size: .85rem; color: var(--texto-suave); margin: -4px 0 10px; }

.desplegable-caja { position: relative; }
.desplegable {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 30;
    min-width: 220px;
    padding: 6px 0;
    background: var(--blanco);
    border: 1.5px solid var(--amarillo-600);
    border-radius: 10px;
    box-shadow: var(--sombra);
}
.desplegable-derecha .desplegable { left: auto; right: 0; }
.desplegable-caja.abierto .desplegable { display: block; }
.desplegable button, .desplegable a {
    display: block;
    width: 100%;
    padding: 8px 18px;
    border: 0;
    background: none;
    color: var(--tinta);
    font: inherit;
    font-size: .93rem;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}
.desplegable button:hover:not(:disabled), .desplegable a:hover { background: var(--amarillo-50); }
.desplegable button:disabled { color: #b8ab85; cursor: default; }
.desplegable hr { border: 0; border-top: 1px solid var(--amarillo-200); margin: 4px 12px; }
.desplegable form { margin: 0; }
.desplegable-titulo { display: block; padding: 6px 18px 2px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--texto-suave); }

/* tabla de servidores */
.tabla-op td { white-space: nowrap; }
.tabla-op .celda-elegir { width: 34px; }
.tabla-op input[type="radio"] { width: 20px; height: 20px; accent-color: var(--amarillo-700); cursor: pointer; margin: 0; }
.tabla-op tr[data-fila] { cursor: pointer; }
.tabla-op tr.elegida td { background: var(--amarillo-100); }
.tabla-op .centro { text-align: center; }
.tipo-icono { color: var(--amarillo-700); font-size: 1.05rem; }
.celda-dato-largo { max-width: 380px; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 700px) { .ocultar-celular { display: none; } }

.punto { display: inline-block; width: 13px; height: 13px; border-radius: 50%; background: #cbd5e1; vertical-align: middle; flex-shrink: 0; }
.punto-verde { background: #22c55e; }
.punto-rojo { background: #ef4444; }
.punto-ambar { background: #f97316; }
.punto-gris { background: #94a3b8; }
.punto-revisando { background: var(--amarillo-300); animation: latido 1.2s ease-in-out infinite; }
@keyframes latido { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .punto-revisando { animation: none; } }


.etiqueta-encendido, .etiqueta-publicado, .etiqueta-hecha { background: #dcfce7; color: #166534; }
.etiqueta-apagado, .etiqueta-pausado { background: #e2e8f0; color: #334155; }
.etiqueta-en_desarrollo { background: #e0e7ff; color: #3730a3; }
.etiqueta-vencido { background: #fee2e2; color: #991b1b; }

/* ficha de un servidor o dominio */
.volver { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; font-weight: 600; text-decoration: none; }
.op-cabecera { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.op-cabecera h2 { margin: 0; font-size: 1.45rem; word-break: break-word; }
.op-cabecera em { color: var(--texto-suave); }
.op-cabecera .sub { display: block; font-size: .88rem; color: var(--texto-suave); margin-top: 2px; }
.pildora { display: inline-flex; align-items: center; gap: 8px; padding: 9px 20px; border: 0; border-radius: 999px; font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer; }
.pildora-encendido { background: #22c55e; color: #fff; }
.pildora-encendido:hover { background: #16a34a; }
.pildora-apagado { background: #e2e8f0; color: #334155; }
.pildora-suspendido { background: #fed7aa; color: #7c2d12; }
.pildora-sin-respuesta { background: #ef4444; color: #fff; }
.pildora:focus-visible { outline: 3px solid var(--amarillo-700); outline-offset: 2px; }

.ficha-titulo { font-size: 1.25rem; font-weight: 600; margin: 28px 0 12px; }
.ficha { max-width: 1000px; }
.ficha h3 { font-size: 1.12rem; font-weight: 600; margin: 0 0 14px; }
.ficha dl { display: grid; grid-template-columns: minmax(150px, 230px) 1fr; gap: 12px 18px; margin: 0; font-size: .93rem; }
.ficha dt { color: var(--texto); }
.ficha dd { margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; word-break: break-word; }
.ficha dd > span { min-width: 0; }
.ficha hr { border: 0; border-top: 1px solid var(--amarillo-200); margin: 20px 0; }
.ficha .apagado { color: var(--texto-suave); }
.copiar { flex-shrink: 0; border: 0; background: none; color: var(--tinta); cursor: pointer; padding: 5px 7px; border-radius: 6px; font-size: 1rem; }
.copiar:hover { background: var(--amarillo-100); }
.copiar:focus-visible { outline: 2px solid var(--amarillo-700); }
.vivo-linea { display: flex; align-items: center; gap: 10px; }
@media (max-width: 600px) {
    .ficha dl { grid-template-columns: 1fr; gap: 0; }
    .ficha dt { font-weight: 600; color: var(--texto-suave); font-size: .82rem; }
    .ficha dd { margin-bottom: 12px; }
}

.mosaicos-info { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 22px; }
@media (min-width: 1180px) { .mosaicos-info { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 480px) { .mosaicos-info { grid-template-columns: 1fr; } }
.mosaicos-info .bloque { margin: 0; }
.mosaicos-info small { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--texto-suave); margin-bottom: 4px; }
.mosaicos-info strong { color: var(--tinta); }

/* tarjetas de buzones y proyectos */
.tarjetas-op { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr)); }
.tarjeta-op { display: flex; flex-direction: column; gap: 10px; background: var(--blanco); border: 1px solid var(--borde); border-radius: var(--radio); padding: 18px; box-shadow: var(--sombra); min-width: 0; }
.tarjeta-op-cabeza { display: flex; gap: 12px; align-items: flex-start; }
.tarjeta-op-cabeza > div { flex: 1; min-width: 0; }
.tarjeta-op-cabeza strong { display: block; color: var(--tinta); overflow-wrap: anywhere; line-height: 1.3; }
.tarjeta-op-cabeza small { color: var(--texto-suave); font-size: .85rem; }
.icono-redondo { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--amarillo-100); color: var(--amarillo-700); font-size: 1.15rem; }
.tarjeta-op p { margin: 0; font-size: .9rem; }
.tarjeta-op .acciones { margin-top: auto; padding-top: 4px; }

/* ventanitas de acciones */
.dialogo { width: min(580px, calc(100% - 32px)); max-height: calc(100vh - 40px); padding: 0; border: 0; border-radius: 16px; color: var(--texto); box-shadow: 0 24px 60px rgba(66, 32, 6, .35); }
.dialogo::backdrop { background: rgba(66, 32, 6, .45); }
.dialogo form, .dialogo-cuerpo { padding: 24px; }
.dialogo h3 { margin: 0 0 12px; font-size: 1.2rem; }
.dialogo p { margin: 0 0 12px; font-size: .95rem; }
.dialogo-peligro h3 { color: var(--error); }
.dialogo-nota { font-size: .85rem !important; color: var(--texto-suave); }
.dialogo-botones { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 18px; }
.dialogo .boton:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.imagenes { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin-bottom: 14px; }
.imagen-opcion { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border: 1.5px solid var(--amarillo-200); border-radius: 12px; font-size: .88rem; cursor: pointer; }
.imagen-opcion input { accent-color: var(--amarillo-700); margin: 0; }
.imagen-opcion:has(input:checked) { border-color: var(--amarillo-600); background: var(--amarillo-50); box-shadow: 0 0 0 2px var(--amarillo-200); }
.comando { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #1c1917; color: #fef9c3; border-radius: 10px; padding: 10px 12px 10px 16px; margin-bottom: 12px; }
.comando code { font-family: Consolas, "Courier New", monospace; font-size: .95rem; word-break: break-all; }
.comando .copiar { color: #fef9c3; }
.comando .copiar:hover { background: rgba(255, 255, 255, .12); }
.datos-correo { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: .93rem; margin: 0; }
.datos-correo dt { font-weight: 600; color: var(--tinta); }
.datos-correo dd { margin: 0; word-break: break-all; }

.ilustracion-vacia { display: block; width: 96px; height: 96px; margin: 0 auto 8px; }

/* formulario de alta (admin) */
.campo-ancho { grid-column: 1 / -1; }
#alta summary { list-style: none; margin-bottom: 0; }
#alta summary::-webkit-details-marker { display: none; }
#alta details[open] summary { margin-bottom: 14px; }
.lista-op-cliente li > span { display: flex; align-items: center; gap: 10px; min-width: 0; }

/* =====================================================================
   tgcristobal: portada, rastreo y operación
   ===================================================================== */

.seccion-titulo i { color: var(--amarillo-600); margin-right: 6px; }

/* las cinco líneas de negocio */
.lineas { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.linea {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 24px 20px;
    border-radius: var(--radio);
    background: linear-gradient(160deg, var(--amarillo-100), var(--blanco));
    border: 1px solid var(--borde);
    box-shadow: var(--sombra);
    color: var(--texto);
    text-decoration: none;
    transition: transform .2s, border-color .2s;
}
.linea:hover { transform: translateY(-3px); border-color: var(--amarillo-400); }
.linea > i {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--amarillo-600);
    color: #fff;
    font-size: 1.45rem;
    margin-bottom: 6px;
}
.linea h3 { margin: 0; font-size: 1.08rem; }
.linea p { margin: 0; color: var(--texto-suave); font-size: .92rem; flex: 1; }
.linea span { font-size: .85rem; font-weight: 700; color: var(--amarillo-700); }

/* caja de rastreo (portada y rastreo.php) */
.seccion-rastreo { padding: 34px 0; background: linear-gradient(90deg, var(--amarillo-600), var(--amarillo-400)); }
.rastreo-caja {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 28px;
    padding: 22px 26px;
    border-radius: 18px;
    background: var(--blanco);
    box-shadow: var(--sombra);
    margin-bottom: 22px;
}
.seccion-rastreo .rastreo-caja { margin: 0; }
.rastreo-caja h2 { margin: 0 0 4px; font-size: 1.3rem; }
.rastreo-caja p { margin: 0; color: var(--texto-suave); font-size: .93rem; }
.rastreo-campo { display: flex; gap: 10px; flex: 1 1 340px; max-width: 520px; }
.rastreo-campo input {
    flex: 1;
    min-width: 0;
    padding: 12px 16px;
    border: 2px solid var(--amarillo-300);
    border-radius: 999px;
    font: inherit;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--tinta);
    background: var(--amarillo-50);
}
.rastreo-campo input:focus { outline: none; border-color: var(--amarillo-600); background: var(--blanco); }
.rastreo-pagina { max-width: 900px; }
@media (max-width: 520px) { .rastreo-campo { flex-direction: column; } }

/* llamado a la bolsa de trabajo */
.llamado {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 28px 30px;
    border-radius: 18px;
    background: linear-gradient(120deg, var(--tinta), var(--amarillo-700));
    color: #fff;
    box-shadow: var(--sombra);
}
.llamado h2 { color: #fff; margin: 0 0 6px; }
.llamado p { margin: 0; max-width: 640px; color: #fef9c3; }
.llamado .boton { background: #fff; color: var(--tinta); }

/* avisos de vencimiento (seguro, verificación, servicio, contrato) */
.alertas { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.alerta { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: .8rem; font-weight: 600; }
.alerta-ambar { background: #ffedd5; color: #9a3412; }
.alerta-rojo { background: #fee2e2; color: #991b1b; }
.datos-cortos { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .88rem !important; color: var(--texto-suave); }
.datos-cortos i { color: var(--amarillo-600); width: 16px; text-align: center; }

/* cabecera de las fichas */
.op-cabecera-nombre { display: flex; align-items: center; gap: 14px; min-width: 0; }
.op-cabecera-nombre h2 { display: flex; align-items: center; gap: 4px; }
.icono-grande { width: 58px; height: 58px; font-size: 1.5rem; border-radius: 16px; background: var(--amarillo-600); color: #fff; }
.op-cabecera .sub b { color: var(--tinta); }

/* barra de avance del envío */
.pasos { display: flex; list-style: none; margin: 22px 0 8px; padding: 0; counter-reset: paso; }
.pasos li { flex: 1; position: relative; text-align: center; font-size: .82rem; color: var(--texto-suave); padding-top: 34px; }
.pasos li span {
    position: absolute;
    top: 0;
    left: calc(50% - 14px);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--blanco);
    border: 3px solid var(--amarillo-200);
    z-index: 1;
}
.pasos li::before { content: ''; position: absolute; top: 12px; left: -50%; width: 100%; height: 4px; background: var(--amarillo-200); }
.pasos li:first-child::before { display: none; }
.pasos li.hecho, .pasos li.actual { color: var(--tinta); font-weight: 700; }
.pasos li.hecho span { background: var(--amarillo-600); border-color: var(--amarillo-600); }
.pasos li.hecho span::after { content: '\2713'; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: .85rem; font-weight: 800; }
.pasos li.actual span { border-color: var(--amarillo-600); box-shadow: 0 0 0 5px var(--amarillo-100); }
.pasos li.hecho::before, .pasos li.actual::before { background: var(--amarillo-600); }
@media (max-width: 520px) { .pasos li { font-size: .7rem; } }

/* seguimiento y bitácora */
.linea-tiempo { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 3px solid var(--amarillo-200); }
.linea-tiempo li { position: relative; padding: 0 0 18px 14px; }
.linea-tiempo li::before { content: ''; position: absolute; left: -31px; top: 3px; width: 15px; height: 15px; border-radius: 50%; background: var(--blanco); border: 3px solid var(--amarillo-300); }
.linea-tiempo li.ultimo::before { background: var(--amarillo-600); border-color: var(--amarillo-600); box-shadow: 0 0 0 4px var(--amarillo-100); }
.linea-tiempo li.evento-entregado::before { background: #22c55e; border-color: #22c55e; }
.linea-tiempo li.evento-incidencia::before, .linea-tiempo li.evento-cancelado::before { background: #ef4444; border-color: #ef4444; }
.linea-tiempo strong { display: block; color: var(--tinta); }
.linea-tiempo strong i { color: var(--amarillo-600); margin-right: 4px; }
.linea-tiempo small { color: var(--texto-suave); }
.linea-tiempo p { margin: 4px 0 0; font-size: .92rem; }
.form-movimiento { margin-top: 14px; padding: 14px; border-radius: 12px; background: var(--amarillo-50); border: 1px dashed var(--amarillo-300); }
.separador { border: 0; border-top: 1px solid var(--amarillo-100); margin: 18px 0; }
.entrada-chica { padding: 6px 10px; border: 1.5px solid var(--amarillo-200); border-radius: 8px; font: inherit; font-size: .85rem; min-width: 0; max-width: 190px; background: var(--blanco); }

/* estados de la operación */
.etiqueta-terminado, .etiqueta-verificado { background: #dcfce7; color: #166534; }
.etiqueta-solicitado { background: #ffedd5; color: #9a3412; }
.etiqueta-confirmado, .etiqueta-en_camino { background: #e0e7ff; color: #3730a3; }
.etiqueta-incidencia { background: #fee2e2; color: #991b1b; }
.etiqueta-cancelado { background: #e2e8f0; color: #334155; }
.linea-tiempo li.evento-terminado::before { background: #22c55e; border-color: #22c55e; }
.op-cabecera .acciones { align-items: center; }
.tabla-op td:last-child { white-space: normal; }
.tabla-op td:last-child .acciones { justify-content: flex-end; }
.tabla-op td:last-child form.acciones { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; min-width: 230px; }
.tabla-op td:last-child form.acciones .boton { grid-column: 1 / -1; }
.tabla-op td:last-child form.acciones .entrada-chica { max-width: none; width: 100%; }
.lista-limpia li > a { text-decoration: none; display: flex; align-items: center; gap: 8px; }

/* profesional asignado, estrellas y calificación */
.profesional-tarjeta { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin: 0 0 18px; border-radius: 12px; background: var(--amarillo-50); border: 1px solid var(--borde); }
.profesional-tarjeta strong { color: var(--tinta); }
.profesional-tarjeta small { color: var(--texto-suave); }
.avatar-grande { width: 54px; height: 54px; font-size: 1.35rem; }
.estrellas { color: var(--amarillo-500); white-space: nowrap; letter-spacing: 1px; }
.estrellas small { color: var(--texto-suave); letter-spacing: 0; }
.calificar { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; margin: 4px 0 12px; }
.calificar input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.calificar label { font-size: 2rem; line-height: 1; color: var(--amarillo-200); cursor: pointer; transition: color .15s, transform .15s; }
.calificar label:hover, .calificar label:hover ~ label, .calificar input:checked ~ label { color: var(--amarillo-500); }
.calificar input:focus-visible + label { outline: 3px solid var(--tinta); outline-offset: 2px; border-radius: 4px; }
.lineas-elegir { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-bottom: 18px; }
.lineas-elegir a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--borde); background: var(--blanco); color: var(--tinta); text-decoration: none; font-weight: 600; }
.lineas-elegir a.activo, .lineas-elegir a:hover { border-color: var(--amarillo-500); background: var(--amarillo-100); }
.seguir-cajas { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.seguir-cajas .rastreo-caja { margin: 0; height: 100%; }
