/* ==========================================================================
   Reservations Insider — Módulo de Empleos
   Sistema de diseño. CSS puro sobre Bootstrap 5.
   Paleta heredada del sitio (índigo brand) + acentos editoriales.
   ========================================================================== */

#components-reconnect-modal {
    display: none;
}

#components-reconnect-modal.components-reconnect-show {
    display: block;
}

#components-reconnect-modal.ri-reconnect--dismissed {
    display: none;
}

:root {
    /* Marca — índigo Reservations Insider */
    --brand-50: #EEF2FF;
    --brand-100: #E0E7FF;
    --brand-200: #C7D2FE;
    --brand-500: #6366F1;
    --brand-600: #4F46E5;
    --brand-700: #4338CA;
    --brand-900: #312E81;
    /* Neutrales */
    --ink: #0F172A;
    --ink-2: #334155;
    --muted: #64748B;
    --faint: #94A3B8;
    --line: #E2E8F0;
    --line-soft: #F1F5F9;
    --canvas: #F8F9FB;
    --surface: #FFFFFF;
    /* Acentos funcionales (heredados del diagrama del proyecto) */
    --ai: #7C3AED; /* Entrevista IA  */
    --ai-soft: #F5F3FF;
    --ok: #10B981; /* Análisis / disponible */
    --ok-soft: #ECFDF5;
    --warn: #F59E0B;
    --warn-soft: #FFFBEB;
    --danger: #EF4444;
    --danger-soft: #FEF2F2;

    /* Landings: acentos de Jobs Now */
    --now: #16A34A;
    --now-bright: #22C55E;
    --now-soft: #F0FDF4;
    --now-ink: #14532D;
    --now-700: #15803D;
    /* Radios */
    --r-sm: 10px;
    --r-md: 14px;
    --r-lg: 18px;
    --r-xl: 24px;
    --r-pill: 999px;
    /* Sombras */
    --sh-sm: 0 1px 2px rgba(15, 23, 42, .05);
    --sh-md: 0 4px 16px rgba(15, 23, 42, .08);
    --sh-lg: 0 12px 32px rgba(15, 23, 42, .12);
    --sh-brand: 0 8px 24px rgba(79, 70, 229, .25);
    /* Tipografía */
    --font-display: 'Instrument Serif', Georgia, serif;
    --font-ui: 'Inter', -apple-system, system-ui, sans-serif;
    --font-data: 'IBM Plex Mono', ui-monospace, monospace;
    --nav-h: 68px;
}

/* ---------- Base ---------- */
* { -webkit-font-smoothing: antialiased; }
/* Nada abre scroll horizontal y el fondo detrás del body no es blanco. clip no crea contenedor de scroll:
   la barra sticky sigue funcionando. */
html { overflow-x: clip; background-color: var(--canvas); }

body {
  font-family: var(--font-ui);
  background-color: var(--canvas);
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.6;
}

::selection { background-color: var(--brand-100); color: var(--brand-900); }

a { color: var(--brand-600); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--brand-700); }

:focus-visible {
  outline: 2px solid var(--brand-600);
  outline-offset: 2px;
  border-radius: 4px;
}

.ri-main {
    min-height: 70vh;
    padding-top: 2rem;
    padding-bottom: 4rem;
}
.ri-container {
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 1.25rem;
}
.ri-container-narrow { max-width: 860px; margin-inline: auto; padding-inline: 1.25rem; }

/* ---------- Tipografía ---------- */
.ri-display {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -.015em;
  line-height: 1.08;
}
.ri-display em { font-style: italic; color: var(--brand-600); }

h1.ri-display { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2.ri-display { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3.ri-display { font-size: 1.45rem; }

.ri-title {
  font-family: var(--font-ui);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.02em;
}

.ri-eyebrow {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-600);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.ri-eyebrow::before,
.ri-eyebrow::after { content: "•"; color: var(--brand-200); letter-spacing: 0; }

.ri-lead { color: var(--muted); font-size: 1.02rem; line-height: 1.65; }
.ri-meta { color: var(--muted); font-size: .85rem; }
.ri-data { font-family: var(--font-data); font-weight: 500; letter-spacing: -.02em; }

.text-ink { color: var(--ink) !important; }
.text-muted-ri { color: var(--muted) !important; }
.text-brand { color: var(--brand-600) !important; }
.text-ai { color: var(--ai) !important; }

.ri-brand { display: flex; align-items: center; gap: .6rem; }
.ri-brand__name {
  font-weight: 600;
  color: var(--ink);
  font-size: .98rem;
  letter-spacing: .02em;
  white-space: nowrap;
}
.ri-brand__name span { color: var(--brand-600); }


.ri-avatar-btn {
  width: 38px; height: 38px;
  border-radius: var(--r-pill);
  border: 2px solid var(--line);
  overflow: hidden;
  padding: 0;
  background: none;
}
.ri-avatar-btn img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Botones ---------- */
.btn {
  font-family: var(--font-ui);
  font-size: .875rem;
  font-weight: 500;
  border-radius: var(--r-md);
  padding: .6rem 1.15rem;
  transition: all .18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  border: 1px solid transparent;
}
.btn-ri {
  background: var(--brand-600);
  border-color: var(--brand-600);
  color: #fff;
  box-shadow: var(--sh-sm);
}
.btn-ri:hover { background: var(--brand-700); border-color: var(--brand-700); color: #fff; box-shadow: var(--sh-brand); }
.btn-ri-ghost {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink-2);
}
.btn-ri-ghost:hover { background: var(--canvas); border-color: var(--brand-200); color: var(--ink); }
.btn-ri-withdraw { color: var(--danger); }
.btn-ri-withdraw:hover { background: var(--danger-soft); border-color: var(--danger); color: #B91C1C; }
.btn-ri-soft {
  background: var(--brand-50);
  border-color: transparent;
  color: var(--brand-700);
}
.btn-ri-soft:hover { background: var(--brand-100); color: var(--brand-900); }
.btn-ai {
  background: var(--ai);
  border-color: var(--ai);
  color: #fff;
}
.btn-ai:hover { background: #6D28D9; border-color: #6D28D9; color: #fff; }
.btn-ri-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-ri-dark:hover { background: #1E293B; color: #fff; }
.btn-lg-ri { padding: .8rem 1.6rem; font-size: .95rem; border-radius: var(--r-md); }
.btn-icon { padding: .6rem; width: 40px; height: 40px; }

.btn-ri-applied {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .75rem 1.25rem;
    border: 1.5px solid color-mix(in srgb, var(--ok) 35%, #fff);
    border-radius: var(--r-md);
    background: var(--ok-soft);
    color: #047857;
    font: inherit;
    font-size: .9rem;
    font-weight: 600;
    line-height: 1;
    cursor: not-allowed;
    user-select: none;
}

    .btn-ri-applied[disabled],
    .btn-ri-applied[aria-disabled="true"] {
        opacity: 1;
        pointer-events: none;
    }

.btn-ri-applied--sm {
    padding: .5rem .85rem;
    font-size: .8rem;
    border-radius: var(--r-sm);
}

/* Etiqueta sobre la imagen de la tarjeta de vacante. */
.btn-ri-applied--xs {
    gap: .3rem;
    padding: .25rem .55rem;
    font-size: .7rem;
    border-radius: var(--r-sm);
}

/* ---------- Cards ---------- */
.ri-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.ri-card--hover:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
  border-color: var(--brand-200);
}
.ri-card__body { padding: 1.25rem; }
.ri-card__media { position: relative; overflow: hidden; background: var(--line-soft); }
.ri-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.ri-card--hover:hover .ri-card__media img { transform: scale(1.05); }

.ri-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  padding: 1.5rem;
}

/* ---------- Badges / chips ---------- */
.ri-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .72rem;
  font-weight: 500;
  padding: .3rem .65rem;
  border-radius: var(--r-pill);
  line-height: 1.3;
  white-space: nowrap;
}
.ri-badge--brand  { background: var(--brand-50);  color: var(--brand-700); }
.ri-badge--ok     { background: var(--ok-soft);   color: #047857; }
.ri-badge--ai     { background: var(--ai-soft);   color: var(--ai); }
.ri-badge--warn   { background: var(--warn-soft); color: #B45309; }
.ri-badge--danger { background: var(--danger-soft);color: #B91C1C; }
.ri-badge--slate  { background: var(--line-soft); color: var(--ink-2); }
.ri-badge--solid  { background: var(--brand-600); color: #fff; box-shadow: var(--sh-md); }
.ri-badge--live   { background: var(--ok); color: #fff; }

.ri-badge--live .dot,
.ri-dot-pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: ri-pulse 2s ease-in-out infinite;
}
.ri-badge--live .dot { background: #fff; }

@keyframes ri-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

.ri-chip {
  font-size: .75rem;
  font-weight: 500;
  color: var(--ink-2);
  background: var(--line-soft);
  border: 1px solid transparent;
  padding: .35rem .8rem;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: all .15s ease;
}
.ri-chip:hover { background: var(--line); }
.ri-chip.is-active { background: var(--brand-600); color: #fff; }

.ri-skill {
  font-size: .72rem;
  font-weight: 500;
  padding: .28rem .65rem;
  border-radius: var(--r-pill);
  background: var(--brand-50);
  color: var(--brand-700);
}
.ri-skill--1 { background: #FFF7ED; color: #C2410C; }
.ri-skill--2 { background: #EFF6FF; color: #1D4ED8; }
.ri-skill--3 { background: var(--ok-soft); color: #047857; }
.ri-skill--4 { background: var(--ai-soft); color: var(--ai); }
.ri-skill--5 { background: #FFFBEB; color: #B45309; }

/* ---------- Media overlays ---------- */
.ri-media-tl { position: absolute; top: .8rem; left: .8rem; z-index: 2; }
.ri-media-tr { position: absolute; top: .8rem; right: .8rem; z-index: 2; }
.ri-media-bl { position: absolute; bottom: .8rem; left: .8rem; z-index: 2; }

.ri-media-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0) 45%, rgba(15,23,42,.72) 100%);
  z-index: 1;
  pointer-events: none;
}

/* ---------- Foto de la vista previa (JobPost, ShiftPost): marca de agua + InputFile encima ---------- */
.ri-photo-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 2; }
.ri-photo-input:disabled { cursor: default; }
.ri-card__media:has(.ri-photo-input:focus-visible) { outline: 2px solid var(--brand-600); outline-offset: -2px; }
.ri-photo-mark {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  padding: .5rem; pointer-events: none;
}
.ri-photo-mark__chip {
  display: flex; flex-direction: column; align-items: center; gap: .2rem;
  max-width: 90%; padding: .55rem .9rem; text-align: center;
  border-radius: var(--r-md); border: 1px dashed var(--line);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  color: var(--ink-2);
}
.ri-photo-mark__text { font-size: .82rem; font-weight: 600; line-height: 1.25; }
.ri-photo-mark__hint { font-size: .7rem; color: var(--muted); }
.ri-photo-mark--has { opacity: 0; background: rgba(15, 23, 42, .5); transition: opacity .15s ease; }
.ri-photo-mark--has .ri-photo-mark__chip { background: transparent; border-color: transparent; color: #fff; }
.ri-card__media:hover .ri-photo-mark--has,
.ri-card__media:focus-within .ri-photo-mark--has,
.ri-photo-mark--has.is-busy { opacity: 1; }

/* ---------- SIGNATURE: botón de video de presentación ---------- */
.ri-video-cue {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.ri-video-cue__ring {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255, 255, 255, .75);
  display: grid; place-items: center;
  color: #fff;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), background .25s ease;
  box-shadow: 0 6px 24px rgba(15, 23, 42, .3);
}
.ri-video-cue:hover .ri-video-cue__ring {
  transform: scale(1.12);
  background: var(--brand-600);
  border-color: var(--brand-600);
}
.ri-video-cue__ring::after {
  content: "";
  position: absolute;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .55);
  animation: ri-ripple 2.6s ease-out infinite;
}
@keyframes ri-ripple {
  0%   { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.9); opacity: 0; }
}

.ri-video-tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(15, 23, 42, .55);
  backdrop-filter: blur(6px);
  padding: .3rem .6rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,.2);
}

/* ---------- SIGNATURE: anillo de compatibilidad IA ---------- */
.ri-score {
  --val: 0;
  --ring: var(--ai);
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background:
    conic-gradient(var(--ring) calc(var(--val) * 1%), var(--line-soft) 0);
  position: relative;
}
.ri-score::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--surface);
}
.ri-score__num {
  position: relative;
  font-family: var(--font-data);
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
  letter-spacing: -.04em;
}
.ri-score--sm { width: 46px; height: 46px; }
.ri-score--sm::before { inset: 4px; }
.ri-score--sm .ri-score__num { font-size: .78rem; }
.ri-score--lg { width: 108px; height: 108px; }
.ri-score--lg .ri-score__num { font-size: 1.7rem; }
.ri-score--high { --ring: var(--ok); }
.ri-score--mid  { --ring: var(--warn); }
.ri-score--low  { --ring: var(--faint); }

/* ---------- Buscador ---------- */
.ri-search {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1rem;
  box-shadow: var(--sh-sm);
}
.ri-field { position: relative; }
.ri-field > svg.ri-ico {
  position: absolute;
  left: .9rem; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  color: var(--faint);
  pointer-events: none;
}
.ri-input,
.ri-select,
.ri-textarea {
  width: 100%;
  font-family: var(--font-ui);
  font-size: .875rem;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: .72rem 1rem;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.ri-field .ri-input,
.ri-field .ri-select { padding-left: 2.4rem; }
.ri-input::placeholder, .ri-textarea::placeholder { color: var(--faint); }
.ri-input:focus,
.ri-select:focus,
.ri-textarea:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px var(--brand-100);
}
.ri-textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.ri-select { appearance: none; cursor: pointer; }
.ri-label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: .4rem;
  letter-spacing: .01em;
}
.ri-help { font-size: .75rem; color: var(--faint); margin-top: .35rem; }

/* ---------- Sidebar de filtros ---------- */
.ri-filter-group + .ri-filter-group {
  border-top: 1px solid var(--line-soft);
  margin-top: 1.1rem;
  padding-top: 1.1rem;
}
.ri-filter-group__title {
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--faint);
  margin-bottom: .75rem;
}
.ri-check {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .85rem;
  color: var(--ink-2);
  padding: .25rem 0;
  cursor: pointer;
}
.ri-check input {
  width: 16px; height: 16px;
  accent-color: var(--brand-600);
  cursor: pointer;
}
.ri-check span.count { margin-left: auto; color: var(--faint); font-size: .75rem; }

/* ---------- Chat de entrevista IA ---------- */
.ri-chat {
  display: flex;
  flex-direction: column;
  height: min(72vh, 640px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
}
.ri-chat__head {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .9rem 1.15rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.ri-chat__avatar {
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--ai), var(--brand-600));
  color: #fff;
  display: grid; place-items: center;
  flex: 0 0 auto;
}
.ri-chat__log {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  background: var(--canvas);
  display: flex;
  flex-direction: column;
  gap: .9rem;
  scroll-behavior: smooth;
}
.ri-msg { display: flex; gap: .65rem; max-width: 88%; animation: ri-rise .35s ease both; }
.ri-msg--bot { align-self: flex-start; }
.ri-msg--me  { align-self: flex-end; flex-direction: row-reverse; }
.ri-msg__ico {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: grid; place-items: center;
  flex: 0 0 auto;
  background: var(--ai-soft);
  color: var(--ai);
}
.ri-msg--me .ri-msg__ico { background: var(--brand-100); color: var(--brand-700); }
.ri-msg__bubble {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  border-top-left-radius: 4px;
  padding: .75rem 1rem;
  font-size: .9rem;
  color: var(--ink-2);
  line-height: 1.6;
  box-shadow: var(--sh-sm);
}
.ri-msg--me .ri-msg__bubble {
  background: var(--brand-600);
  border-color: var(--brand-600);
  color: #fff;
  border-radius: var(--r-md);
  border-top-right-radius: 4px;
}
/* Chat de la entrevista: más específico que las reglas globales de .ri-msg (Mensajes). */
.ri-chat__log .ri-msg { flex-direction: row; align-items: flex-start; max-width: 88%; }
.ri-chat__log .ri-msg--bot { align-self: flex-start; }
.ri-chat__log .ri-msg--me { align-self: flex-end; flex-direction: row-reverse; }
.ri-chat__log .ri-msg--me .ri-msg__bubble {
  background: var(--brand-600);
  border-color: var(--brand-600);
  color: #fff;
  border-top-right-radius: 4px;
}
@keyframes ri-rise {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.ri-typing { display: inline-flex; gap: 4px; padding: .3rem 0; }
.ri-typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--faint);
  animation: ri-bounce 1.2s infinite ease-in-out;
}
.ri-typing span:nth-child(2) { animation-delay: .15s; }
.ri-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes ri-bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: .4; }
  40% { transform: translateY(-5px); opacity: 1; }
}

.ri-chat__foot {
  padding: .85rem 1.15rem;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.ri-chat__quick { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .7rem; }
.ri-chat__form { display: flex; gap: .6rem; align-items: flex-end; }

/* ---------- Wizard / stepper ---------- */
.ri-steps { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.ri-step { display: flex; align-items: center; gap: .55rem; }
.ri-step__num {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: .78rem;
  font-weight: 600;
  background: var(--line-soft);
  color: var(--faint);
  border: 1px solid var(--line);
  flex: 0 0 auto;
}
.ri-step__label { font-size: .82rem; font-weight: 500; color: var(--faint); white-space: nowrap; }
.ri-step.is-active .ri-step__num { background: var(--brand-600); color: #fff; border-color: var(--brand-600); }
.ri-step.is-active .ri-step__label { color: var(--ink); }
.ri-step.is-done .ri-step__num { background: var(--ok-soft); color: #047857; border-color: #A7F3D0; }
.ri-step.is-done .ri-step__label { color: var(--ink-2); }
.ri-step__bar { width: 28px; height: 1px; background: var(--line); }
@media (max-width: 767.98px) {
  .ri-step__label { display: none; }
  .ri-step__bar { width: 14px; }
}

/* ---------- Dropzone (CV / foto / video) ---------- */
.ri-drop {
    position: relative;
    display: block;
    width: 100%;
    border: 1.5px dashed var(--line);
    border-radius: var(--r-md);
    background: var(--canvas);
    padding: 1.75rem 1.25rem;
    text-align: center;
    cursor: pointer;
    transition: all .2s ease;
}

    .ri-drop:hover {
        border-color: var(--brand-500);
        background: var(--brand-50);
    }

    .ri-drop.is-filled {
        border-style: solid;
        border-color: #A7F3D0;
        background: var(--ok-soft);
    }

    .ri-drop input[type="file"],
    .ri-drop__input {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        cursor: pointer;
        z-index: 1;
    }

.ri-drop__ico,
.ri-drop__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--r-md);
    background: var(--surface);
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    margin: 0 auto .75rem;
    color: var(--brand-600);
}

.ri-drop.is-filled .ri-drop__ico,
.ri-drop.is-filled .ri-drop__icon {
    color: #047857;
    border-color: #A7F3D0;
}

/* Variante en fila */
.ri-drop--row {
    display: flex;
    align-items: center;
    gap: .875rem;
    padding: 1.125rem 1rem;
    text-align: left;
}

    .ri-drop--row .ri-drop__ico,
    .ri-drop--row .ri-drop__icon {
        margin: 0;
        flex: 0 0 auto;
    }

    .ri-drop--row .ri-drop__text {
        display: flex;
        flex-direction: column;
        gap: .15rem;
    }

        .ri-drop--row .ri-drop__text strong {
            font-size: .9rem;
            font-weight: 600;
            color: var(--ink);
        }

/* ---------- Selector de archivo ya cargado ---------- */
.ri-pick {
    position: relative;
    display: flex;
    align-items: center;
    gap: .875rem;
    padding: .875rem 1rem;
    border: 1.5px solid var(--line);
    border-radius: var(--r-md);
    background: var(--surface);
    cursor: pointer;
    transition: all .18s ease;
    margin-bottom: .75rem;
}

    .ri-pick:hover {
        border-color: var(--brand-200);
        background: var(--brand-50);
    }

    .ri-pick.is-active {
        border-color: var(--brand-600);
        background: var(--brand-50);
        box-shadow: 0 0 0 3px var(--brand-100);
    }

    .ri-pick input[type="radio"] {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

.ri-pick__ico {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: var(--r-sm);
    background: var(--canvas);
    border: 1px solid var(--line);
    color: var(--brand-600);
}

.ri-pick__body {
    display: flex;
    flex-direction: column;
    gap: .1rem;
    flex: 1;
    min-width: 0;
    max-width: 100%;
}

.ri-pick__name {
    font-size: .9rem;
    font-weight: 600;
    color: var(--ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ri-pick__meta {
    font-size: .78rem;
    color: var(--muted);
}

.ri-pick__check {
    flex: 0 0 auto;
    color: var(--line);
    transition: color .15s ease;
}

.ri-pick.is-active .ri-pick__check {
    color: var(--ok);
}
/* Marco de grabación de video */
.ri-recorder {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.55);
}
.ri-recorder__corner {
  position: absolute;
  width: 22px; height: 22px;
  border: 2px solid rgba(255,255,255,.4);
}
.ri-recorder__corner:nth-child(1) { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.ri-recorder__corner:nth-child(2) { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
.ri-recorder__corner:nth-child(3) { bottom: 12px; left: 12px; border-right: 0; border-top: 0; }
.ri-recorder__corner:nth-child(4) { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }
.ri-rec-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--danger);
  animation: ri-pulse 1.4s infinite;
}

/* ---------- Tablas / listas de panel ---------- */
.ri-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.ri-table thead th {
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--faint);
  padding: .7rem 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--canvas);
  white-space: nowrap;
}
.ri-table tbody td {
  padding: .9rem 1rem;
  border-bottom: 1px solid var(--line-soft);
  font-size: .875rem;
  vertical-align: middle;
}
.ri-table tbody tr:last-child td { border-bottom: 0; }
.ri-table tbody tr { transition: background .15s ease; }
.ri-table tbody tr:hover { background: var(--canvas); }
.ri-table-wrap { overflow-x: auto; }

/* En celular cada fila se ve como tarjeta; la etiqueta sale de data-label. */
@media (max-width: 767.98px) {
  .ri-table--cards thead { display: none; }
  .ri-table--cards,
  .ri-table--cards tbody,
  .ri-table--cards tbody tr,
  .ri-table--cards tbody td { display: block; width: 100%; }
  .ri-table--cards tbody tr {
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: .4rem 0;
    margin-bottom: .75rem;
  }
  .ri-table--cards tbody tr:last-child { margin-bottom: 0; }
  .ri-table--cards tbody td,
  .ri-table--cards tbody tr:last-child td {
    padding: .45rem 1rem;
    border-bottom: 0;
  }
  .ri-table--cards tbody td[data-label] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-align: right;
  }
  .ri-table--cards tbody td[data-label]::before {
    content: attr(data-label);
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: var(--faint);
    text-align: left;
    white-space: nowrap;
  }
  .ri-table--cards tbody td.text-end { border-top: 1px solid var(--line-soft); margin-top: .3rem; padding-top: .7rem; }
  .ri-table--cards tbody td[colspan] { border: 0; margin: 0; padding: .9rem 1rem; }
  .ri-table--cards tbody tr:has(td[colspan]) { border: 0; }
}

/* ---------- Stats ---------- */
.ri-stat { display: flex; align-items: flex-start; gap: .9rem; }
.ri-stat__ico {
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  display: grid; place-items: center;
  background: var(--brand-50);
  color: var(--brand-600);
  flex: 0 0 auto;
}
.ri-stat__num {
  font-family: var(--font-data);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.03em;
  line-height: 1.1;
}
.ri-stat__label { font-size: .78rem; color: var(--muted); }

/* ---------- Sidebar de panel ---------- */
.ri-side {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: .6rem;
  box-shadow: var(--sh-sm);
}
.ri-side__link {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .65rem .8rem;
  border-radius: var(--r-sm);
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: all .15s ease;
}
.ri-side__link:hover { background: var(--canvas); color: var(--ink); }
.ri-side__link.is-active { background: var(--brand-50); color: var(--brand-700); }
.ri-side__link .badge-n {
  margin-left: auto;
  font-family: var(--font-data);
  font-size: .7rem;
  background: var(--line-soft);
  color: var(--muted);
  padding: .1rem .45rem;
  border-radius: var(--r-pill);
}
.ri-side__link.is-active .badge-n { background: var(--brand-100); color: var(--brand-700); }

button.ri-side__link {
    width: 100%;
    border: none;
    background: transparent;
    font: inherit;
    cursor: pointer;
    text-align: left;
}
/* ---------- Timeline de análisis IA ---------- */
.ri-insight {
  display: flex;
  gap: .8rem;
  padding: .85rem 0;
  border-bottom: 1px dashed var(--line);
}
.ri-insight:last-child { border-bottom: 0; }
.ri-insight__ico {
  width: 26px; height: 26px;
  border-radius: 7px;
  display: grid; place-items: center;
  flex: 0 0 auto;
  margin-top: 2px;
}
.ri-insight--ok  .ri-insight__ico { background: var(--ok-soft); color: #047857; }
.ri-insight--gap .ri-insight__ico { background: var(--warn-soft); color: #B45309; }
.ri-insight__title { font-size: .85rem; font-weight: 600; color: var(--ink); }
.ri-insight__text { font-size: .82rem; color: var(--muted); line-height: 1.55; }

/* Barra de habilidad */
.ri-bar { height: 6px; background: var(--line-soft); border-radius: var(--r-pill); overflow: hidden; }
.ri-bar__fill { height: 100%; background: var(--brand-600); border-radius: var(--r-pill); transition: width .8s cubic-bezier(.2,.8,.2,1); }
.ri-bar__fill--ai { background: var(--ai); }
.ri-bar__fill--ok { background: var(--ok); }

/* ---------- Toast ---------- */
.ri-toast-zone {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.ri-toast {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-md);
  padding: .8rem 1.1rem;
  font-size: .85rem;
  box-shadow: var(--sh-lg);
  display: flex;
  align-items: center;
  gap: .6rem;
  animation: ri-toast-in .3s ease both;
  max-width: 340px;
}
@media (max-width: 400px) {
  .ri-toast-zone { left: 1.5rem; }
  .ri-toast { max-width: none; }
}
@keyframes ri-toast-in {
  from { opacity: 0; transform: translateY(10px) scale(.97); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Auth ---------- */
.ri-auth {
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.ri-auth__aside {
  background: var(--brand-900);
  color: #fff;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.ri-auth__aside::after {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,.55), transparent 65%);
  bottom: -180px; right: -160px;
}
.ri-auth__form { padding: 3rem; display: grid; place-items: center; background: var(--surface); }
.ri-auth__form-inner { width: 100%; max-width: 400px; }
@media (max-width: 991.98px) {
  .ri-auth { grid-template-columns: 1fr; }
  .ri-auth__aside { display: none; }
  .ri-auth__form { padding: 2rem 1.25rem; }
}

.ri-roles { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.ri-role {
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 1rem;
  text-align: left;
  background: var(--surface);
  cursor: pointer;
  transition: all .18s ease;
}
.ri-role:hover { border-color: var(--brand-200); background: var(--brand-50); }
.ri-role.is-active { border-color: var(--brand-600); background: var(--brand-50); box-shadow: 0 0 0 3px var(--brand-100); }
.ri-role__ico { color: var(--brand-600); margin-bottom: .5rem; }
.ri-role__title { font-size: .875rem; font-weight: 600; color: var(--ink); }
.ri-role__desc { font-size: .75rem; color: var(--muted); line-height: 1.45; }

/* ---------- Utilidades ---------- */
.ri-divider { height: 1px; background: var(--line); border: 0; margin: 1.5rem 0; }
.ri-sticky { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
@media (max-width: 991.98px) {
  .ri-filter-panel { position: static; }
}
.ri-cover-16x9 { aspect-ratio: 16/9; }
.ri-cover-4x3  { aspect-ratio: 4/3; }
.ri-cover-1x1  { aspect-ratio: 1/1; }
.ri-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ri-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ri-avatar { border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.ri-avatar--sm { width: 34px; height: 34px; }
.ri-avatar--md { width: 48px; height: 48px; }
.ri-avatar--lg { width: 72px; height: 72px; }
.ri-avatar--xl { width: 112px; height: 112px; border: 3px solid #fff; box-shadow: var(--sh-md); }

.ri-logo-sq {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--surface);
  flex: 0 0 auto;
}

svg.ri-ico { stroke-width: 1.75; }

/* Accesibilidad: respeta reducción de movimiento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   AJUSTES — Pase 1 (portada)
   ========================================================================== */

/* ---------- Botón de regreso a Reservations Insider ---------- */
/* Distintivo a propósito: oscuro, redondo y separado del índigo del producto.
   Es la única puerta de salida al sitio editorial. */
.ri-home-btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .3rem .95rem .3rem .35rem;
  border-radius: var(--r-pill);
  background: var(--ink);
  border: 1px solid var(--ink);
  color: #fff;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.ri-home-btn:hover {
  background: #1E293B;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--sh-md);
}
.ri-home-btn__mark {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  display: grid; place-items: center;
  flex: 0 0 auto;
}
.ri-home-btn__txt { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.ri-home-btn__txt small {
  font-size: .55rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #94A3B8;
}
.ri-home-btn__txt strong { font-size: .76rem; font-weight: 600; letter-spacing: .01em; }
.ri-home-btn__go { color: #64748B; flex: 0 0 auto; }
.ri-home-btn:hover .ri-home-btn__go { color: #fff; }

/* ---------- SIGNATURE: card de video vertical ---------- */
/* El video manda: ocupa ~75% de la card. Los datos van abajo, en blanco. */
.ri-vcard {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease, border-color .25s ease;
}
.ri-vcard:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-lg);
  border-color: var(--brand-200);
}

/* Formato reel. ¿Lo quieres más corto? Cambia --video-ar aquí y cambia
   en toda la maqueta: 9/16 reel · 2/3 intermedio · 4/5 corto. */
:root { --video-ar: 9 / 16; }

.ri-vcard__media {
  position: relative;
  aspect-ratio: var(--video-ar);
  overflow: hidden;
  background: var(--ink);
  flex: 0 0 auto;
}

/* Dos capas, como un reel grabado en horizontal y subido en vertical:
   el retrato entra completo y el fondo se rellena con su propia copia
   desenfocada. Así el rostro se ve a escala real y no estirado. */
.ri-vcard__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: blur(28px) saturate(1.3) brightness(.55);
  transform: scale(1.3);
}
.ri-vcard__fg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center 38%;
  transition: transform .7s cubic-bezier(.2, .8, .2, 1);
}
.ri-vcard:hover .ri-vcard__fg { transform: scale(1.04); }

/* Cromo de reproductor: lo que hace que se lea como video y no como foto */
.ri-vcard__track {
  position: absolute;
  left: .8rem; right: .8rem; bottom: .8rem;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .3);
  z-index: 3;
}
.ri-vcard__track span {
  display: block;
  height: 100%;
  width: 28%;
  border-radius: 2px;
  background: #fff;
  transition: width 1.2s cubic-bezier(.2, .8, .2, 1);
}
.ri-vcard:hover .ri-vcard__track span { width: 64%; }

.ri-vcard__len {
  position: absolute;
  left: .8rem; bottom: 1.6rem;
  z-index: 3;
}

.ri-vcard__body {
  padding: .8rem .9rem .9rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
/* El sueldo vive en las vacantes, no en las personas. */
.ri-vcard__name {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1.3;
}
.ri-vcard__role {
  font-size: .78rem;
  font-weight: 500;
  color: var(--brand-600);
  margin-top: .1rem;
}
.ri-vcard__meta {
  font-size: .72rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .3rem;
}
/* La card entera es el enlace, así no hace falta un botón que ocupe otra fila. */
.ri-vcard__name a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.ri-vcard:hover .ri-vcard__name a { color: var(--brand-700) !important; }

/* El anillo de compatibilidad, sobre el video */
.ri-vcard .ri-score { box-shadow: 0 4px 14px rgba(15, 23, 42, .35); }

/* En pantallas chicas, dos por fila sin que se vuelvan torres */
@media (max-width: 575.98px) {
  .ri-vcard__body { padding: .65rem .7rem .75rem; }
  .ri-vcard__name { font-size: .82rem; }
  .ri-vcard__role { font-size: .7rem; }
}

/* ==========================================================================
   AJUSTES — Pase 2 (versión final)
   ========================================================================== */

/* ---------- Abierto a ofertas: la puerta al reclutamiento directo ---------- */
.ri-badge--open {
  background: var(--brand-600);
  color: #fff;
  box-shadow: var(--sh-md);
}
.ri-badge--open .dot { background: #fff; }

/* ---------- Muro de reels: el lado izquierdo de login y registro ---------- */
/* Fuera el rectángulo azul. El fondo son las caras: tres columnas de reels
   que se mueven en direcciones distintas, como un feed que no se acaba.
   Es el argumento entero del producto, sin decir una palabra. */
.ri-auth__aside {
  background: var(--ink);
  padding: 0;
  overflow: hidden;
}
.ri-auth__aside::after { display: none; }

.ri-wall {
  position: absolute;
  inset: -14%;
  display: flex;
  gap: 14px;
  justify-content: center;
  transform: rotate(-8deg) scale(1.08);
  z-index: 0;
}
.ri-wall__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 0 0 auto;
  animation: ri-wall-up 54s linear infinite;
  will-change: transform;
}
.ri-wall__col--down { animation-name: ri-wall-down; animation-duration: 64s; }
.ri-wall__col--slow { animation-duration: 76s; }

/* Al pasar el mouse se detiene, así se puede hacer clic en una cara concreta */
.ri-wall:hover .ri-wall__col { animation-play-state: paused; }

@keyframes ri-wall-up {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
@keyframes ri-wall-down {
  from { transform: translateY(-50%); }
  to   { transform: translateY(0); }
}

.ri-wall__card {
  position: relative;
  width: 186px;
  aspect-ratio: 9 / 16;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #1E293B;
  border: 0;
  padding: 0;
  cursor: pointer;
  flex: 0 0 auto;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .5);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.ri-wall__card:hover { transform: scale(1.05); z-index: 5; }
.ri-wall__card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 26%;
}
.ri-wall__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0) 40%, rgba(15,23,42,.9) 100%);
}
.ri-wall__play {
  position: absolute;
  top: 50%; left: 50%;
  translate: -50% -50%;
  z-index: 2;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .6);
  display: grid; place-items: center;
  color: #fff;
  opacity: 0;
  transition: opacity .25s ease;
}
.ri-wall__card:hover .ri-wall__play { opacity: 1; }
.ri-wall__tag {
  position: absolute;
  bottom: .55rem; left: .6rem; right: .6rem;
  z-index: 2;
  text-align: left;
}
.ri-wall__name {
  display: block;
  font-size: .7rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.25;
}
.ri-wall__role {
  display: block;
  font-size: .6rem;
  color: #C7D2FE;
  margin-top: 1px;
}

/* Velo: deja leer el texto sin apagar las caras */
.ri-auth__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(49, 46, 129, .96) 0%, rgba(49, 46, 129, .62) 34%,
                            rgba(15, 23, 42, .55) 58%, rgba(15, 23, 42, .96) 100%),
    radial-gradient(120% 80% at 0% 0%, rgba(124, 58, 237, .5), transparent 70%);
  pointer-events: none;
}

.ri-auth__content {
  position: relative;
  z-index: 2;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  pointer-events: none;
}
/* Solo lo interactivo recupera el clic */
.ri-auth__content a,
.ri-auth__content button { pointer-events: auto; }

/* Prueba social del pie */
.ri-proof {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .8rem 1rem;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-md);
  backdrop-filter: blur(12px);
}
.ri-proof__logos { display: flex; }
.ri-proof__logos img {
  width: 34px; height: 34px;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, .25);
  margin-left: -8px;
}
.ri-proof__logos img:first-child { margin-left: 0; }

@media (prefers-reduced-motion: reduce) {
  .ri-wall__col { animation: none !important; }
}
@media (max-width: 991.98px) {
  .ri-wall, .ri-auth__veil { display: none; }
}

/* ---------- Switch de idioma ---------- */
.ri-lang {
  display: inline-flex;
  align-items: center;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 2px;
  flex: 0 0 auto;
}
.ri-lang__opt {
  border: 0;
  background: transparent;
  border-radius: var(--r-pill);
  padding: .28rem .6rem;
  font-family: var(--font-ui);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--muted);
  cursor: pointer;
  transition: all .18s ease;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  white-space: nowrap;
}
.ri-lang__opt:hover { color: var(--ink); }
.ri-lang__opt.is-active {
  background: var(--brand-600);
  color: #fff;
  box-shadow: var(--sh-sm);
}
.ri-lang__flag { font-size: .8rem; line-height: 1; }

/* En la barra oscura del panel interno */
.ri-admin-bar .ri-lang { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); }
.ri-admin-bar .ri-lang__opt { color: #94A3B8; }
.ri-admin-bar .ri-lang__opt:hover { color: #fff; }
/* ---------- Gestor de videos del perfil ---------- */
.ri-vitem {
  display: flex;
  gap: .9rem;
  padding: .8rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.ri-vitem:hover { border-color: var(--brand-200); box-shadow: var(--sh-sm); }
.ri-vitem--perfil { border-color: var(--brand-600); background: var(--brand-50); }
.ri-vitem__thumb {
  position: relative;
  width: 62px;
  aspect-ratio: 9 / 16;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--ink);
  flex: 0 0 auto;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.ri-vitem__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center 26%; }
.ri-vitem__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .3);
}
.ri-vitem__play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  color: #fff;
}
.ri-vitem__body { flex: 1; min-width: 0; }
.ri-vitem__acts { display: flex; align-items: flex-start; gap: .3rem; flex: 0 0 auto; }

/* Hueco para grabar uno nuevo */
.ri-vadd {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .8rem;
  border: 1.5px dashed var(--line);
  border-radius: var(--r-md);
  background: var(--canvas);
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: all .18s ease;
}
.ri-vadd:hover { border-color: var(--brand-500); background: var(--brand-50); }
.ri-vadd__box {
  width: 62px;
  aspect-ratio: 9 / 16;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--brand-600);
  flex: 0 0 auto;
}

/* ---------- Selector de video al postularse ---------- */
.ri-vpick {
  display: block;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: .7rem;
  cursor: pointer;
  background: var(--surface);
  transition: all .18s ease;
  width: 100%;
  text-align: left;
}
.ri-vpick:hover { border-color: var(--brand-200); background: var(--brand-50); }
.ri-vpick.is-active { border-color: var(--brand-600); background: var(--brand-50); box-shadow: 0 0 0 3px var(--brand-100); }

/* ---------- Pasos de la postulación (JobApply y ShiftApply) ---------- */
.ri-apply__step + .ri-apply__step { margin-top: 1.25rem; }
.ri-apply__step-head { display: flex; align-items: flex-start; gap: .875rem; margin-bottom: 1.25rem; }
.ri-apply__step-num {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--canvas);
  font-family: var(--font-data);
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted);
}
.ri-apply__step-title { margin: 0 0 .25rem; font-size: 1.05rem; font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.ri-apply__step-desc { margin: 0; }

/* Selector de video */
.ri-apply__videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .875rem; }
.ri-vpick { position: relative; }
.ri-vpick__radio { position: absolute; opacity: 0; pointer-events: none; }
.ri-vpick__media { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: var(--r-sm); overflow: hidden; background: var(--ink); }
.ri-vpick__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ri-vpick__placeholder { position: absolute; inset: 0; color: rgba(255,255,255,.6); }
.ri-vpick__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--ink);
}
.ri-vpick__len {
  position: absolute;
  right: .4rem;
  bottom: .4rem;
  padding: .1rem .4rem;
  border-radius: 6px;
  background: rgba(15,23,42,.75);
  color: #fff;
  font-family: var(--font-data);
  font-size: .68rem;
}
.ri-vpick__body { padding: .6rem .15rem .1rem; }
.ri-vpick__tag { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); }
.ri-vpick__desc { display: block; font-size: .78rem; color: var(--muted); }
.ri-vpick__check {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  z-index: 2;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ok);
  opacity: 0;
  transition: opacity .15s ease;
}
.ri-vpick.is-active .ri-vpick__check { opacity: 1; }
.ri-apply__record { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; font-size: .85rem; font-weight: 500; }
.ri-apply__record:hover { text-decoration: underline; }

/* Preguntas */
.ri-apply__q + .ri-apply__q { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line-soft); }
.ri-apply__ta { min-height: 96px; }
@media (max-width: 575.98px) { .ri-apply__videos { grid-template-columns: 1fr; } }

/* ---------- Panel interno de Jobs ---------- */
/* Se distingue del producto a propósito: barra oscura y cinta de aviso. */
.ri-admin-bar {
  background: var(--ink);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  position: sticky;
  top: 0;
  z-index: 1030;
}
.ri-admin-bar__inner {
  max-width: 1320px;
  margin-inline: auto;
  padding: .8rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.ri-admin-bar .ri-brand__name { color: #fff; }

.ri-admin-tag {
  font-family: var(--font-data);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--warn);
  border: 1px solid rgba(245, 158, 11, .45);
  background: rgba(245, 158, 11, .12);
  padding: .18rem .5rem;
  border-radius: var(--r-sm);
  white-space: nowrap;
}

.ri-admin-strip {
  background: repeating-linear-gradient(
    45deg,
    rgba(245, 158, 11, .14) 0 12px,
    rgba(245, 158, 11, .05) 12px 24px
  );
  border-bottom: 1px solid rgba(245, 158, 11, .3);
  color: #92400E;
  font-size: .74rem;
  padding: .45rem 1.25rem;
  text-align: center;
}

.ri-admin-container { max-width: 1320px; margin-inline: auto; padding-inline: 1.25rem; }

/* Interruptor de ajustes */
.ri-switch {
  position: relative;
  width: 40px; height: 22px;
  border-radius: var(--r-pill);
  background: var(--line);
  border: 0;
  flex: 0 0 auto;
  cursor: pointer;
  transition: background .2s ease;
  padding: 0;
}
.ri-switch::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--sh-sm);
  transition: transform .2s cubic-bezier(.2, .8, .2, 1);
}
.ri-switch.is-on { background: var(--brand-600); }
.ri-switch.is-on::after { transform: translateX(18px); }

.ri-ajuste {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  padding: .85rem 0;
  border-bottom: 1px dashed var(--line);
}
.ri-ajuste:last-child { border-bottom: 0; }

/* Prioridad en la cola de moderación */
.ri-prio {
  width: 3px;
  border-radius: 2px;
  flex: 0 0 auto;
  align-self: stretch;
}
.ri-prio--alta  { background: var(--danger); }
.ri-prio--media { background: var(--warn); }
.ri-prio--baja  { background: var(--faint); }

/* Bitácora */
.ri-log { display: flex; gap: .8rem; padding: .7rem 0; border-bottom: 1px dashed var(--line); }
.ri-log:last-child { border-bottom: 0; }
.ri-log__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex: 0 0 auto;
  margin-top: .45rem;
}
.ri-log__dot--danger { background: var(--danger); }
.ri-log__dot--warn   { background: var(--warn); }
.ri-log__dot--brand  { background: var(--brand-600); }
.ri-log__dot--ok     { background: var(--ok); }
.ri-log__dot--slate  { background: var(--faint); }

/* Estado de cuenta */
.ri-estado { font-size: .72rem; font-weight: 500; padding: .25rem .6rem; border-radius: var(--r-pill); white-space: nowrap; }
.ri-estado--activa     { background: var(--ok-soft); color: #047857; }
.ri-estado--verificada { background: var(--brand-50); color: var(--brand-700); }
.ri-estado--baneada    { background: var(--danger-soft); color: #B91C1C; }
.ri-estado--pendiente  { background: var(--warn-soft); color: #B45309; }
.ri-estado--incompleto { background: var(--line-soft); color: var(--muted); }

/* ==========================================================================
   UTILIDADES — para sacar los style="..." del HTML y dejarlo como estructura.
   Nombres con prefijo ri- para no chocar con Bootstrap.
   ========================================================================== */

/* ---------- Tamaños de ícono (lucide) ---------- */
.ri-i-11 { width: 11px; height: 11px; }
.ri-i-12 { width: 12px; height: 12px; }
.ri-i-13 { width: 13px; height: 13px; }
.ri-i-14 { width: 14px; height: 14px; }
.ri-i-15 { width: 15px; height: 15px; }
.ri-i-16 { width: 16px; height: 16px; }
.ri-i-17 { width: 17px; height: 17px; }
.ri-i-18 { width: 18px; height: 18px; }
.ri-i-20 { width: 20px; height: 20px; }
.ri-i-22 { width: 22px; height: 22px; }
.ri-i-40 { width: 40px; height: 40px; }

/* ---------- Tamaños de texto de la escala del producto ---------- */
.ri-fs-70 { font-size: .7rem; }
.ri-fs-72 { font-size: .72rem; }
.ri-fs-75 { font-size: .75rem; }
.ri-fs-78 { font-size: .78rem; }
.ri-fs-80 { font-size: .8rem; }
.ri-fs-82 { font-size: .82rem; }
.ri-fs-85 { font-size: .85rem; }
.ri-fs-88 { font-size: .88rem; }
.ri-fs-90 { font-size: .9rem; }
.ri-fs-92 { font-size: .92rem; }
.ri-fs-95 { font-size: .95rem; }
.ri-fs-100 { font-size: 1rem; }
.ri-fs-105 { font-size: 1.05rem; }
.ri-fs-110 { font-size: 1.1rem; }
.ri-fs-160 { font-size: 1.6rem; }
.ri-fs-200 { font-size: 2rem; }
.ri-fs-210 { font-size: 2.1rem; }
.ri-fs-230 { font-size: 2.3rem; }

/* ---------- Colores de texto que se repiten ---------- */
.ri-c-white { color: #fff; }
.ri-c-indigo-100 { color: var(--brand-100); }
.ri-c-indigo-300 { color: #A5B4FC; }
.ri-c-indigo-400 { color: #C7D2FE; }
.ri-c-amber-ink { color: #92400E; }
.ri-c-amber-700 { color: #B45309; }
.ri-c-emerald { color: #047857; }
.ri-c-red-700 { color: #B91C1C; }

/* ---------- Ayudas de layout puntuales ---------- */
.ri-flex-0 { flex: 0 0 auto; }
.ri-mt-2px { margin-top: 2px; }
.ri-soft-box { background: var(--canvas); border-radius: var(--r-md); }
.ri-nowrap { white-space: nowrap; }

/* ---------- Cajas de estadística sobre fondo oscuro (banner de empresas) ---------- */
.ri-glass-stat {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-md);
  padding: 1.1rem;
}
.ri-glass-num { font-size: 1.6rem; color: #fff; }
.ri-glass-label { font-size: .75rem; color: #A5B4FC; }

/* ---------- Íconos coloreados (combinaciones frecuentes) ---------- */
.ri-i-ai { color: var(--ai); }
.ri-i-ok { color: var(--ok); }
.ri-i-brand { color: var(--brand-600); }
.ri-i-danger { color: var(--danger); }
.ri-i-warn { color: #B45309; }
.ri-i-emerald { color: #047857; }

/* Ícono que encabeza un aviso: no se encoge y baja 2px para alinear con el texto */
.ri-i-lead { flex: 0 0 auto; margin-top: 2px; }

/* ---------- Botones y píldoras compactas ---------- */
.ri-btn-xs { padding: .3rem .6rem; font-size: .72rem; }
.ri-btn-sm2 { padding: .35rem .7rem; font-size: .75rem; }
.ri-chip-pad { padding: .5rem .85rem; }

/* ---------- Textareas y anchos de prosa ---------- */
.ri-ta-100 { min-height: 100px; }
.ri-mw-58 { max-width: 58ch; }
.ri-mw-60 { max-width: 60ch; }

/* ---------- Panel resaltado del agente ---------- */
.ri-panel-ai { border-color: var(--ai); box-shadow: 0 0 0 3px var(--ai-soft); }

/* ---------- Separadores internos ---------- */
.ri-bt-line { border-top: 1px solid var(--line); }
.ri-bt-soft { border-top: 1px solid var(--line-soft); }

/* ---------- Últimas utilidades del barrido ---------- */
.ri-fw-400 { font-weight: 400; }
.ri-fs-220 { font-size: 2.2rem; }
.ri-home-pad { padding: .7rem 1rem; border-radius: var(--r-md); }
.ri-range-ai { flex: 1; accent-color: var(--ai); }
.ri-ok-chip { background: var(--ok-soft); color: #047857; }
.ri-ok-soft-box { background: var(--ok-soft); border-radius: var(--r-sm); }
.ri-ai-chip { background: var(--ai-soft); color: var(--ai); }
.ri-ai-box { background: var(--ai-soft); border-radius: var(--r-md); padding: 1rem; }
.ri-modal-plain { border: 0; border-radius: var(--r-lg); }

/* ---------- Enlace de volver (migas) ---------- */
.ri-back {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .15s ease;
}
.ri-back:hover { color: var(--brand-600); }

/* ---------- Anchos de prosa que se repiten ---------- */
.ri-mw-62 { max-width: 62ch; }
.ri-mw-64 { max-width: 64ch; }

/* ---------- Avisos con fondo de color (se repiten entre vistas) ---------- */
.ri-note {
  border-radius: var(--r-md);
  padding: 1rem;
}
.ri-note--warn  { background: var(--warn-soft); border: 1px solid rgba(245, 158, 11, .4); }
.ri-note--brand { background: var(--brand-50); border: 1px solid var(--brand-600); }
.ri-note--ok    { background: var(--ok-soft); }
.ri-note__title-warn { font-size: .9rem; color: #92400E; }
.ri-note__text-warn  { font-size: .8rem; color: #92400E; }

/* Ícono de aviso: no encoge, baja 2px */
.ri-note__ico { flex: 0 0 auto; margin-top: 2px; }

/* Recuadro de café/canvas para agrupar un control */
.ri-frame { background: var(--canvas); border: 1px solid var(--line); border-radius: var(--r-md); }

/* Botón compacto de acción secundaria */
.ri-btn-block { font-size: .78rem; padding: .45rem; }

.bg-ri-surface { background: var(--surface); }
.ri-bc-line { border-color: var(--line); }
.ri-m-2 { margin: .5rem; }

/* ==========================================================================
   Iconos SVG incrustados (lucide, versión estática sin JavaScript)
   Los SVG traen width/height 24 fijo; el CSS manda sobre el tamaño real.
   currentColor hace que hereden el color del texto del contenedor.
   ========================================================================== */
svg.ri-ico {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.125em;
  flex-shrink: 0;
}
/* Las clases de tamaño ri-i-NN definen el ancho/alto en px; forzarlas sobre el SVG */
svg.ri-i-11 { width: 11px; height: 11px; }
svg.ri-i-12 { width: 12px; height: 12px; }
svg.ri-i-13 { width: 13px; height: 13px; }
svg.ri-i-14 { width: 14px; height: 14px; }
svg.ri-i-15 { width: 15px; height: 15px; }
svg.ri-i-16 { width: 16px; height: 16px; }
svg.ri-i-17 { width: 17px; height: 17px; }
svg.ri-i-18 { width: 18px; height: 18px; }
svg.ri-i-20 { width: 20px; height: 20px; }
svg.ri-i-22 { width: 22px; height: 22px; }
svg.ri-i-40 { width: 40px; height: 40px; }

.ri-error {
    display: block;
    color: var(--ri-color-error, #e53e3e);
    font-size: 0.72rem;
    margin-top: 0.25rem;
}

.is-invalid {
    border-color: var(--ri-color-error, #e53e3e) !important;
}

.is-saved .ri-ico {
    color: var(--brand-500);
    fill: var(--brand-500);
}

.ri-ico {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ==========================================================================
   Landings Jobs Now (.jl-*)
   Todo vive bajo .jl-landing (raíz de cada landing), que solo redefine los tokens
   cuyo valor difiere del sitio (radios, sombras, canvas, line-soft).
   overflow-x: clip (no hidden) para no romper animation-timeline: view().
   ========================================================================== */
.jl-landing {
  --line-soft: #EEF2F6;
  --canvas: #F8FAFC;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --sh-sm: 0 2px 8px rgba(15,23,42,.06);
  --sh-md: 0 12px 32px rgba(15,23,42,.10);
  --sh-lg: 0 30px 70px rgba(15,23,42,.18);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--surface);
  overflow-x: clip;
  isolation: isolate;
}
.jl-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.jl-landing.theme-now { --accent: var(--now); --accent-soft: var(--now-soft); --accent-ink: var(--now-ink); }
.jl-display { font-family: var(--font-display); font-weight: 400; line-height: .98; letter-spacing: -.01em; margin: 0; }
.jl-display em { font-style: italic; }
.jl-eyebrow {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.jl-lead { font-size: 1.15rem; line-height: 1.6; color: var(--ink-2); max-width: 56ch; }
.jl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: .95rem;
  padding: .85rem 1.6rem;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
  -webkit-appearance: none;
  appearance: none;
}
.jl-btn:hover { transform: translateY(-2px); }
.jl-btn--solid { background: var(--accent); color: #fff; box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 35%, transparent); }
.jl-btn--solid:hover { box-shadow: 0 14px 30px color-mix(in srgb, var(--accent) 45%, transparent); }
.jl-btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.jl-btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.jl-btn--lg { padding: 1.05rem 2rem; font-size: 1.05rem; }
.jl-btn--white { background: #fff; color: var(--ink); }
.jl-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem .85rem;
  border-radius: var(--r-pill);
  font-size: .82rem;
  font-weight: 500;
  background: var(--canvas);
  border: 1px solid var(--line);
  color: var(--ink-2);
}
.jl-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .75rem;
  border-radius: var(--r-pill);
  font-size: .78rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}
.jl-badge--live { background: rgba(34,197,94,.16); color: #15803D; }
.jl-badge--now { background: rgba(132,204,22,.18); color: #4D7C0F; }
.jl-badge--match { background: rgba(255,255,255,.92); color: var(--ink); box-shadow: var(--sh-sm); }
.jl-badge--offers { background: rgba(251,113,133,.16); color: #BE123C; }
.jl-badge--near { background: rgba(255,255,255,.9); color: var(--ink-2); box-shadow: var(--sh-sm); }
.jl-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--now-bright); position: relative; flex: 0 0 auto; }
.jl-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--now-bright);
  animation: jl-ping 1.8s cubic-bezier(0,0,.2,1) infinite;
}
@keyframes jl-ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
.jl-hero { padding: 4rem 0 3rem; position: relative; }
.jl-hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; }
.jl-hero__title { font-size: clamp(3rem, 7vw, 5.5rem); margin: 1.2rem 0; }
.jl-hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 1.4rem; }
.jl-hero__roles {
  font-size: .92rem;
  color: var(--muted);
  letter-spacing: .01em;
  line-height: 1.7;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-soft);
}
.jl-hero__badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.jl-hero__visual { position: relative; }
.jl-hero__photo { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); aspect-ratio: 4 / 5; }
.jl-hero__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jl-float {
  position: absolute;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-radius: var(--r-md);
  box-shadow: var(--sh-md);
  padding: .9rem 1rem;
  animation: jl-float 6s ease-in-out infinite;
}
.jl-float--br { bottom: 8%; right: -5%; animation-delay: 1.5s; }
@keyframes jl-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (max-width: 900px) {
  .jl-hero__grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .jl-hero__visual { margin: 0 1rem; }
  .jl-float--br { right: 0; }
}
.jl-section { padding: 5rem 0; }
.jl-section--tint { background: var(--canvas); }
.jl-section__head { max-width: 60ch; margin-bottom: 3rem; }
.jl-section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.jl-section__title { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin: 1rem 0 .8rem; }
.jl-situations { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.jl-situation { padding: 1.6rem; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.jl-situation__ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.jl-situation h3 { font-size: 1.05rem; margin: 0 0 .4rem; }
.jl-situation p { font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.5; }
.jl-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.jl-step { padding: 2rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); position: relative; }
.jl-step__num { font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--accent); opacity: .35; }
.jl-step h3 { font-size: 1.2rem; margin: .8rem 0 .5rem; }
.jl-step p { color: var(--muted); margin: 0; line-height: 1.55; }
.jl-step__opts { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
@media (max-width: 900px) {
  .jl-situations { grid-template-columns: repeat(2, 1fr); }
  .jl-steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .jl-situations { grid-template-columns: 1fr; }
}
.jl-radar-wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; }
.jl-radar {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 8%, transparent) 0%, transparent 70%);
}
.jl-radar__ring { position: absolute; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); inset: 0; }
.jl-radar__ring--2 { inset: 16%; }
.jl-radar__ring--3 { inset: 33%; }
.jl-radar__ring--4 { inset: 50%; }
.jl-radar__sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, color-mix(in srgb, var(--accent) 22%, transparent), transparent 55%);
  -webkit-mask: radial-gradient(circle, #000 0 66%, transparent 66%);
  mask: radial-gradient(circle, #000 0 66%, transparent 66%);
  animation: jl-sweep 6s linear infinite;
}
@keyframes jl-sweep { to { transform: rotate(360deg); } }
.jl-radar__center { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 3; text-align: center; }
.jl-radar__pin {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 45%, transparent);
  margin: 0 auto .5rem;
}
.jl-radar__center small { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.jl-radar__stats { display: flex; flex-direction: column; gap: 1rem; }
.jl-stat-row { display: flex; align-items: baseline; gap: .8rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line-soft); }
.jl-stat-row__n { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--accent); }
.jl-stat-row__l { font-size: .92rem; color: var(--ink-2); }
@media (max-width: 900px) {
  .jl-radar-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
}
.jl-cta {
  border-radius: var(--r-xl);
  padding: 4rem 2rem;
  text-align: center;
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.jl-cta__glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 55%, transparent), transparent 70%);
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  opacity: .5;
  pointer-events: none;
}
.jl-cta__title { font-size: clamp(2rem,5vw,3.6rem); margin: 0 auto 1rem; max-width: 20ch; position: relative; }
.jl-cta__ctas { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.8rem; position: relative; }
@media (prefers-reduced-motion: no-preference) {
  .jl-reveal { animation: jl-reveal-in linear both; animation-timeline: view(); animation-range: entry 0% cover 25%; }
  @keyframes jl-reveal-in { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
}
.jl-note {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding: 1.1rem 1.3rem;
  background: var(--accent-soft);
  border-radius: var(--r-md);
  font-size: .9rem;
  color: var(--accent-ink);
  max-width: 60ch;
}
.jl-chip--on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-ink); }
.jl-field-label { font-size: .78rem; color: var(--muted); margin-bottom: .4rem; }
.jl-check-list { list-style: none; padding: 0; margin: 1.5rem 0; display: flex; flex-direction: column; gap: .8rem; }
.jl-check-list li { display: flex; gap: .6rem; align-items: center; }
.jl-avail-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.8rem;
  box-shadow: var(--sh-md);
}
.jl-avail-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.3rem; }
.jl-avail-card__body { display: flex; flex-direction: column; gap: 1rem; }
.jl-float__kicker--now { color: var(--now); }
.jl-float__line { font-weight: 700; margin: .2rem 0; }
.jl-mt-sm { margin-top: .4rem; }
.jl-radar__stats-title { font-size: 1.4rem; margin: 0 0 1.5rem; }
.jl-block-cta { text-align: center; margin-top: 2.5rem; }
.jl-cta__lead { margin: 0 auto; color: rgba(255,255,255,.75); }
.jl-cta__eyebrow--now { color: var(--now-bright); }
.jl-check-line { display: flex; gap: .6rem; align-items: center; }
.jl-ico-now { color: var(--now); }
.jl-fs-82-muted { font-size: .82rem; color: var(--muted); }
.jl-fs-72-kicker { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
svg.jl-ico { width: 1em; height: 1em; display: inline-block; vertical-align: -.125em; flex-shrink: 0; stroke-width: 2; }
.jl-situation__ico svg.jl-ico { width: 1.3rem; height: 1.3rem; }
.jl-radar__pin svg.jl-ico { width: 1.5rem; height: 1.5rem; }

/* ==========================================================================
   JOBS NOW — páginas de turnos, landing del trabajador, panel JN y mapa
   Se AGREGA AL FINAL de wwwroot/css/styles.css. No pisa reglas existentes.
   Base: jobs-now-extra.css del diseñador, depurado:
   - sin clases no usadas (jl-now-band*, jl-turnomini, jl-apply-card__match,
     jl-daychip--more, jl-shift__head, jl-detail__hero-top)
   - .jl-detail__hero-foot fusionado en una sola regla
   - sin url('assets/images/jobsnow20.jpg')
   - fix del punto del tema trabajador (::after usa border, no background)
   - tamaños para iconos Lucide (svg.jl-ico) donde el diseño usaba emojis
   ========================================================================== */

/* ---------- Barra de filtros ---------- */
.jl-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin: 2rem 0 1.5rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.jl-filter { display: flex; flex-direction: column; gap: .6rem; }
.jl-chips { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
button.jl-chip { cursor: pointer; font-family: var(--font-ui); -webkit-appearance: none; appearance: none; }

.jl-result-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: .5rem;
}

/* ---------- Grid de turnos ---------- */
.jl-shift-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ---------- Card de turno ---------- */
.jl-shift {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.4rem;
  box-shadow: var(--sh-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.jl-shift:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: color-mix(in srgb, var(--now) 40%, var(--line));
}
.jl-shift__role {
  font-family: var(--font-ui);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}
.jl-shift__rest { font-size: .9rem; color: var(--now-ink); font-weight: 600; margin-top: .15rem; }
.jl-shift__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem 1rem;
  margin: .9rem 0;
  font-size: .85rem;
  color: var(--muted);
}
.jl-shift__pay {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  padding: .8rem 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.jl-shift__amount {
  font-family: var(--font-data);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--now);
  letter-spacing: -.02em;
}
.jl-shift__extra { font-size: .82rem; color: var(--muted); }
.jl-shift__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: .9rem 0;
}
.jl-shift__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  margin-top: auto;
  padding-top: .6rem;
}
.jl-shift__cta { padding: .6rem 1.4rem; font-size: .9rem; margin-left: auto; }
.jl-shift__when { font-weight: 500; }
.jl-shift__dist { white-space: nowrap; }

/* Shift card con foto arriba */
.jl-shift--media { padding: 0; overflow: hidden; }
.jl-shift__photo { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.jl-shift__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.jl-shift--media:hover .jl-shift__photo img { transform: scale(1.05); }
.jl-shift__photo-top {
  position: absolute; top: .8rem; left: .8rem; right: .8rem; z-index: 2;
  display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem;
}
.jl-shift__content { padding: 1.3rem 1.4rem 1.4rem; display: flex; flex-direction: column; flex: 1; }

/* Fechas/días en la card */
.jl-shift__dates { display: flex; flex-wrap: wrap; gap: .35rem; margin: .7rem 0 .2rem; }
.jl-daychip {
  font-size: .74rem; font-weight: 600;
  padding: .22rem .6rem;
  border-radius: var(--r-pill);
  background: var(--accent-soft, #F0FDF4);
  color: var(--accent-ink, #14532D);
  border: 1px solid color-mix(in srgb, var(--accent, #16A34A) 25%, transparent);
}
.jl-shift__datehint { font-size: .78rem; color: var(--muted); display: flex; align-items: center; gap: .35rem; }

/* ---------- Resumen de ingresos (landing trabajador) ---------- */
.jl-earn-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: .95rem;
  color: var(--ink-2);
}
.jl-earn-row strong { font-family: var(--font-data); color: var(--ink); }
.jl-earn-row--total {
  border-bottom: 0;
  margin-top: .3rem;
  padding-top: 1rem;
  border-top: 2px solid var(--now);
  font-size: 1.05rem;
}
.jl-earn-row--total strong { color: var(--now); font-size: 1.3rem; }

@media (max-width: 991px) {
  .jl-shift-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .jl-shift-grid { grid-template-columns: 1fr; }
  .jl-filters { gap: 1.2rem; }
}

/* ---------- Hero de listado con escena de fondo ---------- */
.jl-now-hero { position: relative; overflow: hidden; padding: 5rem 0; }
.jl-now-hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.jl-now-hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg,
    rgba(255,255,255,.97) 0%, rgba(255,255,255,.92) 38%, rgba(255,255,255,.55) 70%, rgba(255,255,255,.2) 100%);
}
.jl-now-hero__inner { position: relative; z-index: 2; }
.jl-now-hero__eyebrow { margin-bottom: 1rem; }
.jl-now-hero__title { margin: 1rem 0 .8rem; }
.jl-now-hero__lead { max-width: 52ch; }
.jl-now-pt0 { padding-top: 2.5rem; }
.jl-now-pt-sm { padding-top: 1.75rem; }
.jl-now-pb0 { padding-bottom: 0; }

/* ---------- Mini tarjetas flotantes del hero trabajador ---------- */
.jl-availmini { min-width: 220px; }
.jl-availmini__head {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  margin-bottom: .7rem;
}
.jl-availmini__head strong { font-size: .92rem; }
.jl-availmini__row {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  padding: .25rem 0;
}
.jl-float--tl { top: 8%; left: -5%; animation-delay: 0s; }
@media (max-width: 640px) { .jl-float--tl { left: 0; } }

/* ==========================================================================
   TEMA TRABAJADOR (naranja). La landing de empresa sigue en verde (.theme-now)
   ========================================================================== */
.jl-landing.theme-now-worker {
  --worker:        #F97316;
  --worker-bright: #FB923C;
  --worker-deep:   #EA580C;
  --worker-soft:   #FFF7ED;
  --worker-ink:    #7C2D12;
  --worker-accent2:#FB7185;
  --accent:      var(--worker);
  --accent-soft: var(--worker-soft);
  --accent-ink:  var(--worker-ink);
}
.theme-now-worker .jl-dot { background: var(--worker-bright); }
.theme-now-worker .jl-dot::after { border-color: var(--worker-bright); }
.theme-now-worker .jl-badge--live { background: var(--worker-soft); color: var(--worker-deep); }
.theme-now-worker .jl-badge--now  { background: #FFEDD5; color: var(--worker-deep); }
.theme-now-worker .jl-chip--on { background: var(--worker-soft); border-color: var(--worker); color: var(--worker-ink); }
.theme-now-worker .jl-ico-now { color: var(--worker-deep); }
.theme-now-worker .jl-cta__eyebrow--now { color: var(--worker-bright); }
.theme-now-worker .jl-earn-row--total { border-top-color: var(--worker); }
.theme-now-worker .jl-earn-row--total strong { color: var(--worker-deep); }
.theme-now-worker .jl-shift__amount { color: var(--worker-deep); }
.theme-now-worker .jl-shift__rest { color: var(--worker-ink); }

.jl-worker-hero {
  background:
    radial-gradient(1100px 500px at 85% -10%, #FFEDD5 0%, transparent 60%),
    radial-gradient(900px 500px at 0% 110%, #FFE4E6 0%, transparent 55%),
    var(--surface);
}
.jl-worker-band {
  background: linear-gradient(120deg, var(--worker-deep), var(--worker-accent2));
  position: relative; overflow: hidden; padding: 4.5rem 0;
}
.jl-worker-band__inner { position: relative; z-index: 2; text-align: center; max-width: 46ch; margin-inline: auto; }
.jl-worker-band__title { color: #fff; font-size: clamp(2rem,4.5vw,3.2rem); }
.jl-worker-band__lead { color: rgba(255,255,255,.9); font-size: 1.08rem; margin-top: 1rem; }
.jl-worker-band__ctas { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.6rem; }

.jl-earn-badge {
  display: inline-flex; flex-direction: column; gap: .1rem;
  background: var(--worker); color: #fff;
  padding: .7rem 1.1rem; border-radius: var(--r-md);
  box-shadow: 0 10px 24px rgba(249,115,22,.35);
}
.jl-earn-badge small { font-size: .7rem; opacity: .9; }
.jl-earn-badge strong { font-family: var(--font-data); font-size: 1.3rem; }

.theme-now-worker .jl-cta { background: linear-gradient(135deg, #1C1917, var(--worker-deep)); }
.theme-now-worker .jl-cta__glow { background: radial-gradient(circle, rgba(251,146,60,.5), transparent 70%); }

/* Enlace "¿Tienes un restaurante?" de la landing trabajador */
.jl-biz-link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-size: .9rem; color: var(--muted); }
.jl-biz-link:hover { color: var(--accent); }

/* ==========================================================================
   Buscador, detalle, aplicar y confirmación
   ========================================================================== */
.jl-search {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: .5rem .5rem .5rem 1rem;
  box-shadow: var(--sh-md);
  max-width: 720px;
  margin-top: 1.8rem;
}
.jl-search__field { display: flex; align-items: center; gap: .5rem; flex: 1; min-width: 0; }
.jl-search__ico { flex: 0 0 auto; opacity: .7; }
.jl-search__input {
  border: 0; outline: 0; background: transparent;
  font-family: var(--font-ui); font-size: .95rem; color: var(--ink);
  width: 100%; padding: .5rem 0;
}
.jl-search__divider { width: 1px; align-self: stretch; background: var(--line); margin: .3rem 0; }
.jl-search__btn { flex: 0 0 auto; padding: .7rem 1.6rem; }
@media (max-width: 640px) {
  .jl-search { flex-direction: column; align-items: stretch; border-radius: var(--r-lg); padding: 1rem; }
  .jl-search__divider { display: none; }
  .jl-search__field { border: 1px solid var(--line); border-radius: var(--r-md); padding: .3rem .8rem; }
  .jl-search__btn { width: 100%; }
}

.jl-back { display: inline-flex; align-items: center; gap: .3rem; font-weight: 600; color: var(--muted); font-size: .9rem; }
.jl-back:hover { color: var(--accent); }

/* Detalle */
.jl-detail { display: grid; grid-template-columns: 1fr 360px; gap: 2.5rem; align-items: start; }
.jl-detail__main { min-width: 0; }
.jl-detail__hero { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16/10; box-shadow: var(--sh-lg); }
.jl-detail__hero img { width: 100%; height: 100%; object-fit: cover; }
.jl-detail__hero-foot {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; flex-wrap: wrap; gap: .5rem;
  padding: 2.5rem 1.1rem 1.1rem;
  background: linear-gradient(to top, rgba(15,23,42,.6), transparent);
}
.jl-detail__headbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin: 1.6rem 0 1.2rem; }
.jl-detail__title { font-size: clamp(2rem,4vw,2.8rem); margin: 0; }
.jl-detail__rest { color: var(--muted); font-weight: 500; margin-top: .3rem; }
.jl-detail__city { color: var(--faint); }
.jl-detail__pay { text-align: right; white-space: nowrap; }
@media (max-width: 560px) {
  .jl-detail__headbar { flex-wrap: wrap; }
  .jl-detail__pay { text-align: left; }
}
.jl-detail__amount { font-family: var(--font-data); font-size: 1.8rem; font-weight: 600; color: var(--accent); display: block; }
.jl-detail__extra { font-size: .85rem; color: var(--muted); }
.jl-detail__facts { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; padding: 1.3rem; background: var(--canvas); border-radius: var(--r-lg); margin-bottom: 1.8rem; }
.jl-fact { display: flex; gap: .6rem; align-items: center; }
.jl-fact__ico { font-size: 1.2rem; flex: 0 0 auto; color: var(--accent); }
.jl-fact__ico svg.jl-ico, svg.jl-fact__ico { width: 1.2rem; height: 1.2rem; }
.jl-fact__k { display: block; font-size: .72rem; color: var(--muted); }
.jl-fact__v { display: block; font-weight: 700; font-size: .9rem; }
.jl-detail__block { margin-bottom: 1.8rem; }
.jl-detail__h2 { font-family: var(--font-ui); font-size: 1.2rem; font-weight: 700; margin: 0 0 .8rem; }
.jl-detail__p { color: var(--ink-2); line-height: 1.7; margin: 0; }
.jl-detail__hint { font-size: .8rem; color: var(--muted); margin: .7rem 0 0; }
.jl-daypicker { gap: .5rem; }
@media (max-width: 860px) {
  .jl-detail { grid-template-columns: 1fr; }
  .jl-detail__facts { grid-template-columns: repeat(2,1fr); }
}

/* Card del restaurante */
.jl-rest-card { display: flex; gap: 1rem; padding: 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.jl-rest-card__logo { width: 72px; height: 72px; border-radius: var(--r-md); object-fit: cover; flex: 0 0 auto; }
.jl-rest-card__body { min-width: 0; }
.jl-rest-card__name { font-weight: 700; display: flex; align-items: center; gap: .5rem; }
.jl-rest-card__meta { font-size: .85rem; color: var(--muted); margin: .2rem 0 .5rem; }
.jl-rest-card__desc { font-size: .9rem; color: var(--ink-2); margin: 0; line-height: 1.5; }

/* Panel de aplicación sticky */
.jl-detail__side { position: sticky; top: calc(var(--nav-h, 68px) + 1.5rem); }
.jl-apply-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 1.6rem; box-shadow: var(--sh-lg); }
.jl-apply-card__head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.jl-apply-card__pay { padding: 1rem 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); margin-bottom: 1rem; }
.jl-apply-card__amount { font-family: var(--font-data); font-size: 2.2rem; font-weight: 600; color: var(--accent); }
.jl-apply-card__extra { font-size: .85rem; color: var(--muted); margin-left: .4rem; }
.jl-apply-card__rows { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.3rem; }
.jl-apply-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .9rem; color: var(--muted); }
.jl-apply-row strong { color: var(--ink); text-align: right; }
.jl-apply-card__cta { width: 100%; }
.jl-apply-card__note { font-size: .8rem; color: var(--muted); text-align: center; margin-top: .8rem; }
.jl-apply-card__secondary { display: flex; gap: .5rem; margin-top: 1rem; }
.jl-icon-btn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
  padding: .6rem; border: 1px solid var(--line); border-radius: var(--r-md);
  background: transparent; font-family: var(--font-ui); font-size: .85rem; font-weight: 600; color: var(--ink-2); cursor: pointer;
}
.jl-icon-btn:hover { border-color: var(--accent); color: var(--accent); }

/* Aplicar */
.jl-apply-wrap { max-width: 1000px; margin: 0 auto; }
.jl-steps-bar { display: flex; gap: .5rem; list-style: none; padding: 0; margin: 0 0 2rem; flex-wrap: wrap; }
.jl-steps-bar__item { display: flex; align-items: center; gap: .5rem; padding: .6rem 1rem; border-radius: var(--r-pill); background: var(--canvas); color: var(--muted); font-size: .85rem; font-weight: 600; }
.jl-steps-bar__n { width: 22px; height: 22px; border-radius: 50%; background: var(--line); color: var(--surface); display: grid; place-items: center; font-size: .78rem; }
.jl-steps-bar__item.is-done { background: var(--accent-soft); color: var(--accent-ink); }
.jl-steps-bar__item.is-done .jl-steps-bar__n { background: var(--accent); }
.jl-steps-bar__item.is-active { background: var(--accent); color: #fff; }
.jl-steps-bar__item.is-active .jl-steps-bar__n { background: rgba(255,255,255,.3); }
.jl-apply-grid { display: grid; grid-template-columns: 1fr 360px; gap: 2.5rem; align-items: start; }
.jl-apply-form { min-width: 0; }
.jl-apply-form__title { font-size: clamp(1.8rem,3.5vw,2.4rem); margin: 0 0 .5rem; }
.jl-form-field { margin-top: 1.1rem; }
.jl-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.jl-input { width: 100%; font-family: var(--font-ui); font-size: .95rem; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: .8rem 1rem; outline: none; }
.jl-input:focus { border-color: var(--accent); }
.jl-textarea { resize: vertical; min-height: 90px; line-height: 1.5; }
.jl-apply-form__send { width: 100%; margin-top: 1.6rem; }
.jl-apply-form__note { font-size: .8rem; color: var(--muted); text-align: center; margin-top: .8rem; }
.jl-apply-summary { position: sticky; top: calc(var(--nav-h, 68px) + 1.5rem); display: flex; flex-direction: column; gap: 1rem; }
.jl-summary-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-md); }
.jl-summary-card__img { display: block; width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; }
.jl-summary-card__body { padding: 1.3rem; }
.jl-summary-card__role { font-size: 1.3rem; margin: .6rem 0 .2rem; }
.jl-summary-card__rest { color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
.jl-summary-card__rows { display: flex; flex-direction: column; gap: .6rem; }
@media (max-width: 860px) {
  .jl-apply-grid { grid-template-columns: 1fr; }
  .jl-form-row { grid-template-columns: 1fr; }
}

/* Confirmación */
.jl-done { max-width: 620px; margin: 0 auto; text-align: center; }
.jl-done__check { width: 72px; height: 72px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 2rem; display: grid; place-items: center; margin: 0 auto 1.5rem; box-shadow: 0 12px 30px color-mix(in srgb, var(--accent) 40%, transparent); }
.jl-done__check svg.jl-ico { width: 2rem; height: 2rem; stroke-width: 2.5; }
.jl-done__title { font-size: clamp(2rem,4.5vw,3rem); margin: 1rem 0; }
.jl-done__lead { margin: 0 auto 2rem; }
.jl-done__card { display: flex; align-items: center; gap: 1rem; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1rem; box-shadow: var(--sh-sm); max-width: 480px; margin: 0 auto; }
.jl-done__card img { width: 80px; height: 80px; border-radius: var(--r-md); object-fit: cover; flex: 0 0 auto; }
.jl-done__card-body { min-width: 0; }
.jl-done__card-role { font-size: 1.05rem; margin: .5rem 0 .2rem; }
.jl-done__card-meta { font-size: .82rem; color: var(--muted); }
.jl-done__ctas { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

/* Badges */
.jl-badge--brandnow {
  background: rgba(22,163,74,.14);
  color: var(--now, #16A34A);
  font-weight: 700;
  letter-spacing: .02em;
}
.jl-badge--brandnow .jl-badge__spark { font-size: .9em; line-height: 1; }
.theme-now-worker .jl-badge--brandnow { background: rgba(249,115,22,.14); color: var(--worker-deep, #EA580C); }
.jl-badge--rating { background: #FEF3C7; color: #92400E; font-weight: 700; }

/* Selector de horario flexible */
.jl-timepick { display: flex; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.jl-timepick__group { display: flex; flex-direction: column; gap: .4rem; }
.jl-timepick__input { font-family: var(--font-data, monospace); font-size: 1rem; padding: .7rem .9rem; min-width: 150px; }
.jl-timepick__sep { color: var(--faint); font-size: 1.2rem; padding-bottom: .6rem; }
@media (max-width: 480px) {
  .jl-timepick { flex-direction: column; align-items: stretch; }
  .jl-timepick__sep { display: none; }
  .jl-timepick__input { width: 100%; }
}

/* Utilidades del diseño */
.jl-mb1 { margin-bottom: 1rem; }
.jl-mt1 { margin-top: 1rem; }
.jl-mt15 { margin-top: 1.5rem; }

/* ==========================================================================
   Páginas JN de empresa y panel JN del candidato (layouts privados)
   .ri-theme-now redefine los tokens de marca a verde Jobs Now dentro de la
   página, así todos los componentes ri- existentes (btn-ri, ri-chip, ri-side,
   ri-badge--brand, ri-switch, ri-step...) se ven en verde sin duplicarlos.
   Se aplica al elemento raíz de la página, NO a la navbar.
   ========================================================================== */
.ri-theme-now {
  --brand-50:  #F0FDF4;
  --brand-100: #DCFCE7;
  --brand-200: #BBF7D0;
  --brand-500: #22C55E;
  --brand-600: #16A34A;
  --brand-700: #15803D;
  --brand-900: #14532D;
  --sh-brand: 0 8px 24px rgba(22, 163, 74, .25);
}

/* ==========================================================================
   LocationPicker (Leaflet + OpenStreetMap)
   z-index:0 + isolation contienen los panes de Leaflet (z-index 400+) para
   que no queden encima de la navbar fija ni del offcanvas.
   ========================================================================== */
.ri-map {
  position: relative;
  z-index: 0;
  isolation: isolate;
  width: 100%;
  height: 320px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg, 16px);
  overflow: hidden;
  background: #F8FAFC;
}
.ri-map--sm { height: 240px; }
.ri-map-search { display: flex; gap: .5rem; margin-bottom: .75rem; }
.ri-map-search .form-control { flex: 1; min-width: 0; }
.ri-map-hint { display: flex; gap: .4rem; align-items: flex-start; font-size: .8rem; color: var(--muted); margin-top: .5rem; }
.ri-map-hint svg { flex: 0 0 auto; width: 1rem; height: 1rem; margin-top: .1rem; }
.ri-map-status { font-size: .8rem; margin-top: .4rem; }
.ri-map-pin { background: transparent; border: 0; }
.ri-map-pin span {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50% 50% 50% 0;
  background: var(--brand-600);
  border: 3px solid #fff;
  transform: rotate(-45deg);
  box-shadow: 0 6px 14px rgba(15, 23, 42, .35);
}
.ri-map .leaflet-control-attribution { font-size: .68rem; }

/* ---------- Selector de empresa en el encabezado de los paneles (CompanySwitcher) ---------- */
.ri-orgswitch { display: inline-block; max-width: 100%; }
.ri-orgswitch__toggle {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  max-width: 100%;
  padding: .35rem .6rem .35rem .35rem;
  margin: -.35rem -.6rem -.35rem -.35rem;   /* el área clicable crece sin mover el encabezado */
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background .15s ease;
}
.ri-orgswitch__toggle:hover,
.ri-orgswitch__toggle[aria-expanded="true"] { background: var(--brand-50); }
.ri-orgswitch__toggle:focus-visible { outline: 2px solid var(--brand-600); outline-offset: 2px; }
.ri-orgswitch__chevron { color: var(--muted); flex: none; }
.ri-orgswitch__menu { min-width: 16rem; max-height: 20rem; overflow-y: auto; }
.ri-orgswitch__item { display: flex; align-items: center; gap: .5rem; }
.ri-orgswitch__item.is-active { font-weight: 600; }
.ri-orgswitch__item .ri-ico { margin-left: auto; }
.ri-orgswitch__logo { width: 24px; height: 24px; border-radius: 6px; object-fit: cover; flex: none; }
.ri-orgswitch__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Barra de navegación (jn-) ---------- */
.jn { position: sticky; top: 0; z-index: 1030; --jn-accent: var(--brand-600); --jn-accent-700: var(--brand-700); }
.jn.jn--now { --jn-accent: var(--now); --jn-accent-700: var(--now-700); }

.jn-top { display: flex; align-items: center; gap: 1rem; padding: .5rem clamp(16px, 4vw, 32px); background: var(--ink); color: #fff; }
.jn-logo { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.12rem; letter-spacing: -.02em; color: #fff; text-decoration: none; }
.jn-logo:hover { color: #fff; }
.jn-logo__mark { width: 32px; height: 32px; border-radius: 9px; object-fit: contain; }

.jn-switch { display: inline-flex; gap: 3px; padding: 4px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r-pill); margin-left: .2rem; }
.jn-switch__opt { display: inline-flex; align-items: center; gap: .4rem; padding: .42rem .9rem; border-radius: var(--r-pill);
  font-weight: 600; font-size: .85rem; color: rgba(255, 255, 255, .72); white-space: nowrap; text-decoration: none; }
.jn-switch__opt:hover { color: #fff; }
.jn-switch__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .5; }
.jn-switch__opt.on { color: #fff; }
.jn-switch__opt--jobs.on { background: var(--brand-600); }
.jn-switch__opt--now.on { background: var(--now); box-shadow: 0 3px 10px rgba(22, 163, 74, .4); }
.jn-switch__opt.on .jn-switch__dot { opacity: 1; background: #fff; }

.jn-top__right { margin-left: auto; display: flex; align-items: center; gap: .3rem; }
.jn-rswitch { display: inline-flex; gap: 2px; padding: 3px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r-pill); margin-right: .4rem; }
.jn-rswitch button { display: inline-flex; align-items: center; gap: .35rem; padding: .38rem .75rem; border: 0; background: transparent; border-radius: var(--r-pill);
  font: inherit; font-weight: 600; font-size: .8rem; color: rgba(255, 255, 255, .72); cursor: pointer; white-space: nowrap; }
.jn-rswitch button .ri-ico { width: 15px; height: 15px; }
.jn-rswitch button.on { background: #fff; color: var(--ink); }

/* Componentes de RISuite sobre la fila oscura: traen estilos para fondo claro. */
.jn-top .rs-launch { color: rgba(255, 255, 255, .85); }
.jn-top .rs-launch:hover { background: rgba(255, 255, 255, .12); border-color: transparent; color: #fff; }
.jn-top .rs-langbtn { color: rgba(255, 255, 255, .85); background: transparent; border-color: transparent; }
.jn-top .rs-langbtn:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.jn-top .rs-avatarbtn { background: transparent; border-color: rgba(255, 255, 255, .25); }
.jn-top .rs-avatarbtn:hover { border-color: rgba(255, 255, 255, .6); }
.jn-top .btn-ri-ghost { background: transparent; border-color: rgba(255, 255, 255, .22); color: rgba(255, 255, 255, .88); }
.jn-top .btn-ri-ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); color: #fff; }
.jn-top .ri-notif__count { border: 2px solid var(--ink); }

/* barra 2 */
.jn-main { display: flex; align-items: center; gap: clamp(1rem, 3vw, 1.7rem); padding: .7rem clamp(16px, 4vw, 32px); background: var(--surface); border-bottom: 1px solid var(--line); }
.jn-burger { display: none; width: 40px; height: 40px; border: 0; background: transparent; color: var(--ink); cursor: pointer; place-items: center; }
.jn-burger .ri-ico { width: 20px; height: 20px; }
.jn-links { display: flex; align-items: center; gap: clamp(.9rem, 2.4vw, 1.5rem); overflow-x: auto; scrollbar-width: none; }
.jn-links::-webkit-scrollbar { display: none; }
.jn-link { font-weight: 500; font-size: .92rem; padding: .35rem 0; position: relative; white-space: nowrap; color: var(--ink-2); cursor: pointer; text-decoration: none; }
.jn-link__bdg { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 6px; border-radius: 999px; background: var(--brand-600); color: #fff; font-family: var(--font-data); font-size: .7rem; font-weight: 700; line-height: 1; vertical-align: middle; }
.jn-link:hover { color: var(--jn-accent); }
.jn-link.on { color: var(--jn-accent); font-weight: 600; }
.jn-link.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; border-radius: 2px; background: var(--jn-accent); }
/* Empresa sin sesión de empresa: en escritorio no hay nada que mostrar en la fila 2; en móvil queda la hamburguesa. */
@media (min-width: 901px) { .jn--no-sections .jn-main { display: none; } }
.jn-main__cta { margin-left: auto; display: flex; align-items: center; gap: .8rem; }
.jn-cta { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .9rem; padding: .6rem 1.15rem; border-radius: var(--r-pill); border: 0; background: var(--jn-accent); color: #fff; cursor: pointer; white-space: nowrap; text-decoration: none; }
.jn-cta:hover { background: var(--jn-accent-700); color: #fff; }
.jn-cta .ri-ico { width: 16px; height: 16px; }

.jn-mobile { display: none; background: var(--surface); border-bottom: 1px solid var(--line); padding: .3rem clamp(16px, 4vw, 32px) .9rem; }
@media (max-width: 900px) { .jn-mobile.open { display: block; } }
.jn-mobile .jn-link { display: block; padding: .75rem .2rem; border-bottom: 1px solid var(--line-soft); }
.jn-mobile .jn-link::after { display: none; }
.jn-mrow { display: flex; gap: .6rem; padding-top: .8rem; flex-wrap: wrap; }
.jn-mrow button, .jn-mrow__btn { flex: 1; min-width: 120px; padding: .65rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font: inherit; font-size: .85rem; font-weight: 600; text-align: center; cursor: pointer; text-decoration: none; }
.jn-mrow__btn--primary { background: var(--jn-accent); border-color: transparent; color: #fff; }
.jn-mlang { padding-top: .8rem; }

@media (max-width: 900px) {
  .jn-rswitch, .jn-links { display: none; }
  .jn-burger { display: grid; }
  .jn-switch__opt { padding: .4rem .7rem; font-size: .82rem; }
  /* El idioma pasa al menú móvil */
  .jn-top .dropdown:has(> .rs-langbtn) { display: none; }
  .jn-top { gap: .6rem; }
  .jn-switch { margin-left: 0; }
}

/* Celular: la fila 1 cabe desde 320 px sin mover nada de sitio. */
.jn-logo, .jn-switch, .jn-top__right { flex: 0 0 auto; }
@media (max-width: 600px) {
  .jn-logo { font-size: 0; gap: 0; }           /* queda el isotipo; el selector ya dice "Jobs" */
  .jn-logo__mark { width: 30px; height: 30px; }
  .jn-switch { padding: 3px; gap: 2px; }
  .jn-switch__opt { padding: .36rem .6rem; font-size: .78rem; gap: .3rem; }
  .jn-switch__dot { display: none; }
  .jn-top__right { gap: .2rem; }
  .jn-top .btn-ri-ghost { padding: .45rem .7rem; font-size: .8rem; }
}
@media (max-width: 400px) {
  .jn-top { padding-inline: 12px; gap: .45rem; }
  .jn-switch__opt { padding: .34rem .5rem; font-size: .74rem; }
  .jn-top .rs-launch { width: 34px; }
  .jn-top .btn-ri-ghost { padding: .4rem .55rem; font-size: .76rem; }
}

/* La barra fija es más alta: las anclas no deben quedar debajo. */
#jobs, #applications, #availability { scroll-margin-top: 130px; }

/* ---------- Landing de Jobs (jx-) ---------- */
.jx-wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.jx-eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .72rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--brand-600); }
.jx-eyebrow::before, .jx-eyebrow.dot-both::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .7; }

/* hero */
.jx-hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 80% -10%, rgba(124, 58, 237, .55), transparent 60%),
  linear-gradient(135deg, #1E1B4B 0%, #312E81 45%, #4338CA 100%); color: #fff; }
.jx-hero__glow { position: absolute; inset: 0; background: radial-gradient(600px 300px at 15% 110%, rgba(99, 102, 241, .45), transparent 70%); pointer-events: none; }
.jx-hero > .jx-wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center; padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.jx-hero__eyebrow { color: #C7D2FE; }
.jx-hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.02; margin: .7rem 0 0; letter-spacing: -.015em; color: #fff; }
.jx-hero h1 em { font-style: italic; color: #C4B5FD; }
.jx-hero__sub { color: #DDD6FE; font-size: clamp(1rem, 1.4vw, 1.14rem); line-height: 1.6; max-width: 46ch; margin: 1.1rem 0 0; }

.jx-search { margin-top: 1.8rem; background: #fff; border-radius: var(--r-xl); padding: .5rem; display: flex; gap: .4rem; box-shadow: var(--sh-lg); flex-wrap: wrap; }
.jx-search__f { flex: 1; min-width: 150px; display: flex; align-items: center; gap: .5rem; padding: .6rem .85rem; border-radius: 16px; margin: 0; }
.jx-search__f + .jx-search__f { border-left: 1px solid var(--line); }
.jx-search__f .ri-ico { width: 18px; height: 18px; color: var(--faint); flex: none; }
.jx-search__f input { border: 0; outline: 0; font: inherit; font-size: .95rem; color: var(--ink); width: 100%; background: transparent; }
.jx-search__f input::placeholder { color: var(--faint); }
.jx-search__btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; background: var(--brand-600); color: #fff; border: 0;
  font: inherit; font-weight: 600; font-size: .95rem; padding: 0 1.6rem; border-radius: 18px; cursor: pointer; }
.jx-search__btn:hover { background: var(--brand-700); }
.jx-search__btn .ri-ico { width: 17px; height: 17px; }
.jx-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.jx-chip { font-size: .8rem; font-weight: 600; color: #E0E7FF; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  padding: .4rem .85rem; border-radius: var(--r-pill); cursor: pointer; text-decoration: none; }
.jx-chip:hover { background: rgba(255, 255, 255, .2); color: #fff; }

.jx-hero__art { position: relative; min-height: 420px; }
.jx-hero__photo { position: absolute; inset: 0; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); border: 1px solid rgba(255, 255, 255, .14); }
.jx-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.jx-float { position: absolute; background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); border-radius: 16px;
  box-shadow: var(--sh-md); padding: .7rem .9rem; display: flex; align-items: center; gap: .6rem; color: var(--ink); }
.jx-float small { display: block; font-size: .68rem; color: var(--muted); font-weight: 600; }
.jx-float b { font-size: .9rem; }
.jx-float__ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; color: #fff; }
.jx-float__ic .ri-ico { width: 17px; height: 17px; }
.jx-float--a { top: 1.4rem; left: -1.2rem; }
.jx-float--a .jx-float__ic { background: var(--brand-600); }
.jx-float--b { bottom: 5.5rem; right: -1.3rem; }
.jx-float--b .jx-float__ic { background: var(--now); }
.jx-float--c { bottom: 1.2rem; left: 1.4rem; }
.jx-float__score { width: 38px; height: 38px; border-radius: 50%; background: conic-gradient(var(--brand-600) 0 90%, #E0E7FF 90% 100%);
  display: grid; place-items: center; flex: none; font-family: var(--font-data); font-weight: 700; font-size: .72rem; }
.jx-float__score span { width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--ink); }

.jx-trust { border-top: 1px solid rgba(255, 255, 255, .12); }
.jx-trust .jx-wrap { display: flex; flex-wrap: wrap; gap: clamp(1rem, 5vw, 3rem); justify-content: space-between;
  padding: 1.1rem clamp(16px, 4vw, 32px); position: relative; }
.jx-trust__i { display: flex; flex-direction: column; }
.jx-trust__i b { font-family: var(--font-data); font-size: 1.3rem; color: #fff; font-weight: 600; }
.jx-trust__i span { font-size: .78rem; color: #C7D2FE; }

/* secciones */
.jx-sec { padding: clamp(3rem, 7vw, 5rem) 0; scroll-margin-top: 130px; }
.jx-sec--flush { padding-top: 0; }
.jx-sec--band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.jx-sec--tail { padding-bottom: clamp(2rem, 5vw, 3rem); }
.jx-sec__head { max-width: 640px; margin-bottom: 2.2rem; }
.jx-sec__head.center { margin-left: auto; margin-right: auto; text-align: center; }
.jx-sec h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 4.2vw, 3rem); margin: .6rem 0 0; line-height: 1.05; }
.jx-sec h2.jx-h2--sm { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.jx-sec h2 em { font-style: italic; color: var(--brand-600); }
.jx-sec__lead { color: var(--muted); font-size: 1.02rem; line-height: 1.6; margin: .8rem 0 0; }
.jx-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.jx-link { display: inline-flex; align-items: center; gap: .4rem; color: var(--brand-600); font-weight: 600; font-size: .92rem; text-decoration: none; }
.jx-link .ri-ico { width: 16px; height: 16px; }
.jx-link:hover { color: var(--brand-700); }
.jx-link--btn { border: 0; background: transparent; padding: 0; font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer; }

/* pasos */
.jx-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.jx-step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; box-shadow: var(--sh-sm); position: relative; overflow: hidden; }
.jx-step::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--brand-600), var(--ai)); }
.jx-step__n { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-50); color: var(--brand-600); display: grid; place-items: center;
  font-family: var(--font-data); font-weight: 700; font-size: 1.05rem; margin-bottom: 1rem; }
.jx-step h3 { font-size: 1.1rem; margin: 0 0 .4rem; }
.jx-step p { color: var(--muted); font-size: .92rem; line-height: 1.55; margin: 0; }

/* vacante destacada */
.jx-feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--sh-md); display: grid; grid-template-columns: 5fr 7fr; }
.jx-feature__media { position: relative; min-height: 320px; }
.jx-feature__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.jx-feature__badges { position: absolute; top: 1rem; left: 1rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.jx-feature__body { padding: clamp(1.5rem, 3vw, 2.3rem); display: flex; flex-direction: column; justify-content: center; }
.jx-company { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.jx-company__badge { margin-left: auto; }
.jx-company__logo { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, #F59E0B, #B45309); display: grid; place-items: center; color: #fff; font-weight: 800; flex: none; }
.jx-company__n b { font-size: .98rem; }
.jx-company__n span { display: block; font-size: .8rem; color: var(--muted); }
.jx-feature__body h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.1; margin: 0 0 .7rem; }
.jx-meta { display: flex; flex-wrap: wrap; gap: .3rem 1rem; color: var(--muted); font-size: .86rem; margin-bottom: 1rem; }
.jx-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.jx-meta .ri-ico { width: 14px; height: 14px; color: var(--faint); }
.jx-feature__desc { color: var(--muted); font-size: .94rem; line-height: 1.6; margin: 0 0 1.1rem; }
.jx-benefits { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-bottom: 1.3rem; }
.jx-benefits span { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; color: var(--ink-2); }
.jx-benefits .ri-ico { width: 15px; height: 15px; color: var(--now); }
.jx-feature__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.jx-price { font-family: var(--font-data); font-weight: 600; font-size: 1.3rem; color: var(--ink); }
.jx-price small { display: block; font-family: var(--font-ui); font-size: .74rem; color: var(--muted); font-weight: 500; }

.jx-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.1rem; }
.jx-tag { font-size: .75rem; font-weight: 600; padding: .3rem .7rem; border-radius: var(--r-pill); background: var(--brand-50); color: var(--brand-700); }
.jx-tag.o { background: #FFF7ED; color: #C2410C; } .jx-tag.g { background: var(--now-soft); color: var(--now-700); }
.jx-tag.b { background: #EFF6FF; color: #1D4ED8; } .jx-tag.p { background: #FAF5FF; color: #7E22CE; }
.jx-pill { display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 700; padding: .35rem .7rem; border-radius: var(--r-pill); }
.jx-pill .ri-ico { width: 12px; height: 12px; }
.jx-pill--feat { background: var(--brand-600); color: #fff; }
.jx-pill--urgent { background: #FEE2E2; color: #B91C1C; }
.jx-pill--verified { background: var(--now-soft); color: var(--now-700); }
.jx-pill--live { background: var(--now); color: #fff; }
.jx-pill--wait { background: var(--warn-soft); color: var(--warn); }
.jx-dotpulse { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: jx-pulse 1.8s infinite; }
@keyframes jx-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .5); } 70% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }

/* botones */
.jx-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: inherit; font-weight: 600; font-size: .92rem;
  padding: .72rem 1.4rem; border-radius: var(--r-pill); cursor: pointer; border: 1px solid transparent; transition: .15s; text-decoration: none; }
.jx-btn .ri-ico { width: 17px; height: 17px; }
.jx-btn--primary { background: var(--brand-600); color: #fff; }
.jx-btn--primary:hover { background: var(--brand-700); color: #fff; }
.jx-btn--ghost { background: #fff; color: var(--ink-2); border-color: var(--line); }
.jx-btn--ghost:hover { background: var(--canvas); color: var(--ink-2); }
.jx-btn--lg { padding: .9rem 1.8rem; font-size: 1rem; }
.jx-btn--white { background: #fff; color: var(--brand-700); }
.jx-btn--white:hover { background: #EEF2FF; color: var(--brand-700); }
.jx-btn--outline-w { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.jx-btn--outline-w:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* candidatos en video */
.jx-cands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.jx-cand { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); transition: .18s; }
.jx-cand:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.jx-cand__media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; }
.jx-cand__media img { width: 100%; height: 100%; object-fit: cover; }
.jx-cand__top { position: absolute; top: .7rem; left: .7rem; right: .7rem; display: flex; align-items: center; justify-content: space-between; }
.jx-cand__score { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-family: var(--font-data);
  font-weight: 700; font-size: .8rem; color: var(--brand-600); box-shadow: var(--sh-sm); border: 2px solid var(--brand-600); }
.jx-cand__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 54px; height: 54px; border-radius: 50%;
  background: rgba(255, 255, 255, .25); backdrop-filter: blur(4px); border: 1.5px solid rgba(255, 255, 255, .7); display: grid; place-items: center; }
.jx-cand__play .ri-ico { width: 20px; height: 20px; color: #fff; fill: #fff; margin-left: 2px; }
.jx-cand__dur { position: absolute; bottom: .7rem; left: .7rem; background: rgba(15, 23, 42, .72); color: #fff; font-size: .7rem; font-weight: 600;
  padding: .2rem .5rem; border-radius: 7px; display: inline-flex; align-items: center; gap: .3rem; }
.jx-cand__dur .ri-ico { width: 12px; height: 12px; }
.jx-cand__body { padding: 1rem 1.1rem 1.15rem; }
.jx-cand__body h3 { font-size: 1rem; margin: 0; }
.jx-cand__role { color: var(--brand-600); font-weight: 600; font-size: .82rem; margin: .1rem 0 .6rem; }
.jx-cand__meta { display: flex; flex-wrap: wrap; gap: .3rem .8rem; color: var(--muted); font-size: .78rem; margin-bottom: .7rem; }
.jx-cand__meta span { display: inline-flex; align-items: center; gap: .3rem; }
.jx-cand__meta .ri-ico { width: 12px; height: 12px; }
.jx-cand__foot { display: flex; align-items: center; justify-content: space-between; padding-top: .7rem; border-top: 1px solid var(--line-soft); }
.jx-cand__pay { font-family: var(--font-data); font-weight: 600; font-size: .82rem; }
.jx-cand__btn { font-size: .78rem; font-weight: 600; color: var(--brand-600); background: var(--brand-50); padding: .35rem .75rem; border-radius: var(--r-pill); border: 0; cursor: pointer; }
.jx-cand__btn:hover { background: var(--brand-100); }

/* categorías */
.jx-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.jx-cat { display: flex; align-items: center; gap: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.1rem 1.2rem; box-shadow: var(--sh-sm); transition: .15s; cursor: pointer; text-decoration: none; color: inherit; }
.jx-cat:hover { border-color: var(--brand-600); box-shadow: var(--sh-md); transform: translateY(-2px); color: inherit; }
.jx-cat__ic { width: 46px; height: 46px; border-radius: 13px; background: var(--brand-50); color: var(--brand-600); display: grid; place-items: center; flex: none; }
.jx-cat__ic .ri-ico { width: 22px; height: 22px; }
.jx-cat b { font-size: .98rem; display: block; }
.jx-cat span { font-size: .8rem; color: var(--muted); }
.jx-cat__arrow { margin-left: auto; color: var(--faint); }
.jx-cat:hover .jx-cat__arrow { color: var(--brand-600); }
.jx-cat__arrow .ri-ico { width: 18px; height: 18px; }

/* banda de empresas */
.jx-cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl);
  background: radial-gradient(800px 400px at 90% 0%, rgba(124, 58, 237, .6), transparent 60%), linear-gradient(135deg, #312E81, #4338CA); color: #fff; }
.jx-cta-band__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: center; padding: clamp(2rem, 4vw, 3.2rem); }
.jx-cta-band h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: 1.08; margin: .6rem 0 0; color: #fff; }
.jx-cta-band h2 em { font-style: italic; color: #C4B5FD; }
.jx-cta-band p { color: #DDD6FE; line-height: 1.6; margin: .9rem 0 1.4rem; max-width: 44ch; }
.jx-cta-band__eyebrow { color: #C7D2FE; }
.jx-cta-band__actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.jx-cta-band__media { position: relative; min-height: 240px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg); }
.jx-cta-band__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

/* footer */
.jx-footer { background: var(--ink); color: #CBD5E1; margin-top: clamp(3rem, 7vw, 5rem); }
.jx-footer .jx-wrap { padding: clamp(2.5rem, 5vw, 3.5rem) clamp(16px, 4vw, 32px) 2rem; }
.jx-footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.jx-footer__brand .jn-logo { margin-bottom: .9rem; }
.jx-footer__brand p { font-size: .88rem; line-height: 1.6; color: #94A3B8; max-width: 34ch; }
.jx-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 1rem; }
.jx-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .6rem; }
.jx-footer a { font-size: .88rem; color: #CBD5E1; text-decoration: none; }
.jx-footer a:hover { color: #fff; }
.jx-footer__bar { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 2.2rem; padding-top: 1.4rem; display: flex;
  align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: #94A3B8; }
.jx-footer__ri { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  padding: .5rem .9rem; border-radius: var(--r-pill); color: #E2E8F0; font-weight: 600; }
.jx-footer__ri .ri-ico { width: 15px; height: 15px; }

@media (max-width: 980px) {
  .jx-hero > .jx-wrap { grid-template-columns: 1fr; }
  .jx-hero__art { min-height: 340px; margin-top: 1rem; }
  .jx-feature { grid-template-columns: 1fr; }
  .jx-feature__media { min-height: 240px; }
  .jx-cands { grid-template-columns: repeat(2, 1fr); }
  .jx-cats { grid-template-columns: repeat(2, 1fr); }
  .jx-cta-band__grid { grid-template-columns: 1fr; }
  .jx-footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .jx-steps { grid-template-columns: 1fr; }
  .jx-cands { grid-template-columns: 1fr 1fr; }
  .jx-cats { grid-template-columns: 1fr; }
  .jx-footer__top { grid-template-columns: 1fr 1fr; gap: 1.75rem 1.25rem; }
  .jx-footer__top > div { min-width: 0; }
  .jx-footer__brand, .jx-footer__col--ri { grid-column: 1 / -1; }
  .jx-footer a { overflow-wrap: anywhere; }
  .jx-footer .jx-footer__col--ri ul { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(2, auto); grid-auto-flow: column; gap: .6rem 1rem; }
  .jx-search__f + .jx-search__f { border-left: 0; border-top: 1px solid var(--line); }
  .jx-search__btn { width: 100%; padding: .8rem; }
  .jx-float--a, .jx-float--b { display: none; }
}

/* Icono de guardar relleno (SaveJobButton, tarjeta de candidato destacado). */
.ri-ico.is-filled {
    fill: currentColor;
}
