/*
 * Scout Wand · "Cómo funciona": réplica de la ventana de la app con un cursor que la usa sola.
 * (public/css/sw-tour.css)  Va con public/js/sw-tour.js y resources/views/partials/merge/tour.blade.php.
 *
 * Es un archivo APARTE de site.css a propósito: no hace falta recompilar Tailwind.
 * Todo está acotado a .hx-tour (la sección) y .sw-* (la réplica), así que no toca nada del resto de la página.
 * La base de la réplica (.sw-app, .sw-side, .sw-row...) es la de la versión 1; lo nuevo (selector de archivos,
 * navegador, oferta de empleo, cursor) está al final. Lo del scroll fijado ("pin") ya no existe.
 */
.sw-wrap { container-type: inline-size; height: 100%; min-height: 0; }
.sw-app {
  --g: #3f9f73; --g-hi: #46d493; --amber: #e6a83c; --panel: #111b17; --field: #08090d; --line: rgba(255, 255, 255, 0.09);
  position: relative; height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; overflow: hidden; border-radius: 16px;
  background: #0d1411; color: #eef3f0; font: 500 13px / 1.4 'IBM Plex Sans', system-ui, sans-serif; text-align: left;
}
.sw-app__bar { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; background: #090d0b; border-bottom: 1px solid var(--line); }
.sw-app__bar span { margin-right: auto; font-size: 12px; color: rgba(255, 255, 255, 0.6); }
.sw-app__bar i { width: 9px; height: 9px; border-radius: 2px; background: rgba(255, 255, 255, 0.16); }
.sw-app__body { position: relative; min-height: 0; display: grid; grid-template-columns: minmax(220px, 34%) minmax(0, 1fr); }
.sw-app button, .sw-app textarea { font: inherit; cursor: pointer; }
.sw-app textarea { cursor: text; }
.sw-app :focus-visible { outline: 2px solid var(--g-hi); outline-offset: 2px; }
.sw-app p, .sw-app ul, .sw-app li { margin: 0; padding: 0; list-style: none; }

.sw-side { position: relative; scroll-behavior: smooth; min-height: 0; overflow-y: auto; display: grid; align-content: start; gap: 9px; padding: 12px; background: var(--panel); border-right: 1px solid var(--line); scrollbar-width: thin; scrollbar-color: #2b3a33 transparent; }
.sw-lab { font-weight: 700; font-size: 12.5px; color: #fff; }
.sw-q { color: var(--amber); font-weight: 600; margin-left: 4px; cursor: help; }
.sw-file { margin-top: 2px; font-size: 12px; color: rgba(255, 255, 255, 0.55); }
.sw-cv__btns { display: grid; gap: 6px; margin-top: 6px; }
.sw-ghost { min-height: 32px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--g); color: var(--g-hi); background: transparent; font-weight: 600; transition: background-color 0.2s; }
.sw-ghost:hover { background: rgba(70, 212, 147, 0.1); }
.sw-fieldbox { display: grid; gap: 5px; }
.sw-fieldbox textarea { resize: none; width: 100%; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--field); color: #dfe6e2; line-height: 1.35; transition: border-color 0.2s, box-shadow 0.2s; }
.sw-fieldbox textarea::placeholder { color: rgba(255, 255, 255, 0.28); }
.sw-fieldbox[data-typing='true'] textarea, .sw-fieldbox textarea:focus { border-color: var(--g-hi); box-shadow: 0 0 0 3px rgba(70, 212, 147, 0.18); outline: none; }
.sw-sites { display: grid; gap: 3px; border: 0; padding: 0; margin: 0; min-width: 0; }
.sw-sites legend { padding: 0; margin-bottom: 2px; }
.sw-check { position: relative; display: flex; align-items: center; gap: 9px; min-height: 25px; cursor: pointer; font-size: 13px; }
.sw-check input { position: absolute; opacity: 0; width: 20px; height: 20px; margin: 0; cursor: inherit; }
.sw-box { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 5px; border: 2px solid #8b9692; color: transparent; transition: background-color 0.2s, border-color 0.2s; }
.sw-box svg { width: 14px; height: 14px; stroke-width: 3; }
.sw-check input:checked + .sw-box { background: var(--g); border-color: var(--g); color: #fff; }
.sw-check input:focus-visible + .sw-box { outline: 2px solid var(--g-hi); outline-offset: 2px; }
.sw-check--off { color: rgba(255, 255, 255, 0.34); cursor: not-allowed; }
.sw-check--off .sw-box { border-color: #4b5551; }
.sw-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; margin-top: 6px; border-radius: 8px; background: var(--field); }
.sw-seg button { min-height: 30px; border-radius: 6px; background: #4a4d52; color: #e3e6e8; font-weight: 600; border: 0; transition: background-color 0.2s; }
.sw-seg button[aria-pressed='true'] { background: var(--g); color: #fff; }
.sw-go { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sw-btn { min-height: 38px; border-radius: 8px; border: 0; color: #fff; font-weight: 700; transition: transform 0.15s, filter 0.2s, opacity 0.2s; }
.sw-btn--search { background: var(--g); }
.sw-btn--stop { background: #9b1c1c; }
.sw-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.sw-btn[data-pressed='true'] { transform: scale(0.94); filter: brightness(1.3); }

.sw-main { min-width: 0; min-height: 0; display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; background: #0a100d; }
.sw-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; }
.sw-status { display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, 0.82); min-width: 0; }
.sw-status span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sw-status i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #5d6a64; }
.sw-status i[data-on='true'] { background: var(--g-hi); animation: sw-pulse 1s ease-in-out infinite; }
@keyframes sw-pulse { 50% { opacity: 0.3; } }
.sw-count { flex: none; font-weight: 700; color: var(--g-hi); }
.sw-tabs { display: grid; grid-template-columns: 1.1fr 1fr 0.7fr; gap: 6px; }
.sw-tabs button { min-height: 32px; padding: 0 8px; border-radius: 7px; background: var(--field); border: 1px solid var(--line); color: #e3e8e5; font-size: 12px; font-weight: 600; }
.sw-tabs button[aria-pressed='true'] { background: var(--g); border-color: var(--g); color: #fff; }
.sw-tabs .sw-clear { background: #9b1c1c; border-color: #9b1c1c; color: #fff; }
.sw-list { flex: 1; min-height: 0; overflow-y: auto; display: grid; gap: 8px; align-content: start; padding-right: 4px; scrollbar-width: thin; scrollbar-color: #2b3a33 transparent; }
.sw-empty { padding: 18px 6px; color: rgba(255, 255, 255, 0.5); }
.sw-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 8px 12px; padding: 10px 12px; border-radius: 9px; background: var(--panel); border: 1px solid var(--line); animation: sw-in 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes sw-in { from { opacity: 0; transform: translateY(14px); } }
.sw-row__t { font-weight: 700; font-size: 13.5px; color: #fff; overflow-wrap: anywhere; }
.sw-row__m { margin-top: 1px; font-size: 11.5px; color: rgba(255, 255, 255, 0.55); }
.sw-badge { padding: 4px 9px; border-radius: 6px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.02em; }
.sw-badge--indeed { background: #2a1d10; color: #e6a83c; }
.sw-badge--infojobs { background: #0f2a20; color: #46d493; }
.sw-badge--linkedin { background: #10263a; color: #4ab0ff; }
.sw-row__act { display: flex; align-items: center; gap: 6px; }
.sw-row[data-hot='true'] { border-color: var(--g); }
.sw-x { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; border: 0; background: transparent; color: rgba(255, 255, 255, 0.55); }
.sw-x:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.sw-x svg { width: 15px; height: 15px; stroke-width: 2.2; }

@keyframes sw-fade { from { opacity: 0; } }

/* el botón Aplicar: aparece al terminar y la demo NUNCA lo pulsa */

.sw-switch { display: none; grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px 10px; background: #090d0b; border-top: 1px solid var(--line); }
.sw-switch button { min-height: 36px; border-radius: 8px; background: var(--field); border: 1px solid var(--line); font-weight: 700; color: #e3e8e5; }
.sw-switch button[aria-pressed='true'] { background: var(--g); border-color: var(--g); color: #fff; }
.sw-toast { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 6; padding: 9px 12px; border-radius: 9px; background: #1d2a24; border: 1px solid rgba(70, 212, 147, 0.4); color: #eaf3ee; font-size: 12.5px; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity 0.25s, transform 0.25s; }
.sw-toast[data-on='true'] { opacity: 1; transform: none; }

/* ventana estrecha (móvil, ventanas pequeñas): un panel cada vez */
@container (max-width: 700px) {
  .sw-app__body { grid-template-columns: 1fr; }
  .sw-app[data-panel='form'] .sw-main, .sw-app[data-panel='offers'] .sw-side { display: none; }
  .sw-side { border-right: 0; padding: 12px; gap: 10px; }
  .sw-cv__btns { grid-template-columns: 1fr 1fr; }
  .sw-sites { grid-template-columns: 1fr 1fr; gap: 2px 10px; }
  .sw-sites legend { grid-column: 1 / -1; }
  .sw-switch { display: grid; }
  .sw-row { grid-template-columns: minmax(0, 1fr) auto; }
  .sw-row__act { grid-column: 1 / -1; justify-content: flex-end; }
}


/* quien prefiere menos movimiento: sin transiciones largas ni brillos */
@media (prefers-reduced-motion: reduce) {
  .sw-app * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .sw-cur { display: none; }
}

/* ---- ventana de datos de autorrelleno (detección del CV) ---- */
.sw-cvm { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; padding: 14px; background: rgba(4, 8, 6, 0.72); backdrop-filter: blur(2px); animation: sw-fade 0.3s; }
.sw-cvm[hidden] { display: none; }
.sw-cvm__card { width: min(100%, 560px); max-height: 100%; overflow: auto; padding: 16px; border-radius: 14px; background: #101a16; border: 1px solid rgba(70, 212, 147, 0.35); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); display: grid; gap: 12px; }
.sw-cvm__body { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 14px; align-items: stretch; }
.sw-paper { position: relative; display: grid; align-content: start; gap: 7px; padding: 14px 12px; border-radius: 8px; background: #e9eeea; overflow: hidden; min-height: 190px; }
.sw-paper__line { display: block; height: 7px; border-radius: 4px; background: #b9c4bd; transition: background-color 0.3s, box-shadow 0.3s; }
.sw-paper__line:first-child { height: 11px; background: #8d9a93; }
.sw-paper__line[data-hit='true'] { background: #46d493; box-shadow: 0 0 0 3px rgba(70, 212, 147, 0.25); }
.sw-paper__gap { height: 6px; }
.sw-scan { position: absolute; left: 0; right: 0; height: 2px; top: 4%; background: var(--g-hi); box-shadow: 0 0 14px 3px rgba(70, 212, 147, 0.7); transition: top 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s; }
.sw-scan[data-end='true'] { opacity: 0; }
.sw-cvm__list { display: grid; gap: 4px; align-content: start; }
.sw-cvm__list li { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); align-items: center; gap: 8px; min-height: 30px; padding: 0 9px; border-radius: 7px; background: var(--field); border: 1px solid var(--line); font-size: 12.5px; transition: border-color 0.3s, background-color 0.3s; }
.sw-cvm__list li[data-done='true'] { border-color: rgba(70, 212, 147, 0.55); background: rgba(70, 212, 147, 0.07); }
.sw-cvm__k { color: rgba(255, 255, 255, 0.5); }
.sw-cvm__v { color: var(--g-hi); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sw-cvm__note { font-size: 11.5px; color: rgba(255, 255, 255, 0.55); }
.sw-cvm__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sw-btn--ghostbtn { background: transparent; border: 1px solid rgba(255, 255, 255, 0.25); }
.sw-btn--ghostbtn:hover { background: rgba(255, 255, 255, 0.06); }
.sw-ghost[data-pressed='true'] { transform: scale(0.95); background: rgba(70, 212, 147, 0.22); }
@container (max-width: 700px) {
  .sw-cvm__body { grid-template-columns: 1fr; }
  .sw-paper { min-height: 96px; grid-template-columns: repeat(2, 1fr); }
  .sw-paper__gap { display: none; }
  .sw-paper__line { width: 100% !important; }
  .sw-cvm__list { grid-template-columns: 1fr 1fr; }
  .sw-cvm__list li { grid-template-columns: 1fr; padding: 4px 8px; }
  .sw-cvm__k { font-size: 10.5px; }
}

/* =====================================================================================
   Distribución de la sección "Cómo funciona" (sin scroll fijado: es una sección normal)
   ===================================================================================== */
.hx-tour { --t-accent: #3E9C6E; --t-ivory: #F2F5F1; --t-dim: #8FA39A; --t-ink: #0B1210; }
/* Sin JavaScript solo se ven las tres tarjetas de siempre; con JS (clase hx-tour--js) aparece la ventana con el cursor */
.hx-tour__fig { display: none; margin: 0 0 2.5rem; }
.hx-tour--js .hx-tour__fig { display: grid; gap: .8rem; }
.hx-tour__win { position: relative; height: clamp(600px, 82svh, 700px); border-radius: 16px; box-shadow: 0 40px 120px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .1); }
.hx-tour__win[inert] { pointer-events: none; }
@media (max-width: 899px) { .hx-tour__win { height: clamp(560px, 84svh, 680px); } }
.hx-tour__rail { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.hx-tour__rail i { display: block; height: 100%; background: var(--t-accent); transform-origin: left; transform: scaleX(var(--p, 0)); }
.hx-tour--live .hx-tour__rail { display: none; }
.hx-tour__foot { display: grid; gap: .5rem 1.4rem; align-items: start; }
@media (min-width: 900px) { .hx-tour__foot { grid-template-columns: minmax(0, 1fr) auto; } }
.hx-tour__txt { display: grid; gap: .3rem; min-width: 0; }
.hx-tour__cap { margin: 0; min-height: 1.5em; font-size: .98rem; font-weight: 600; color: var(--t-ivory); }
.hx-tour__note { margin: 0; font-size: .78rem; line-height: 1.45; color: rgba(255, 255, 255, .58); }
.hx-tour__end { margin: 0; font-size: .9rem; font-weight: 600; color: var(--t-ivory); opacity: 0; transform: translateY(4px); transition: opacity .5s, transform .5s; }
.hx-tour__end b { color: var(--t-accent); }
.hx-tour__end[data-on='true'] { opacity: 1; transform: none; }
.hx-tour__btns { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.hx-tour__btn { min-height: 40px; padding: 0 1rem; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .2); background: transparent; color: var(--t-ivory); font-weight: 600; font-size: .88rem; cursor: pointer; transition: background-color .2s, border-color .2s; }
.hx-tour__btn:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .36); }
.hx-tour__btn--main { background: var(--t-accent); border-color: var(--t-accent); color: var(--t-ink); }
.hx-tour__btn--main:hover { background: #358761; border-color: #358761; }
.hx-tour__btn[hidden] { display: none; }
.hx-tour__btn:focus-visible { outline: 2px solid #34D399; outline-offset: 2px; }
/* El paso activo del recorrido se marca en la tarjeta de siempre (las tarjetas son las de tu página original) */
.hx-tour .panel-luxury[data-step] { transition: border-color .4s, box-shadow .4s, transform .4s; }
.hx-tour .panel-luxury[data-active='true'] { border-color: rgba(62, 156, 110, .7); box-shadow: 0 1px 0 0 rgba(255, 255, 255, .06) inset, 0 20px 40px -15px rgba(0, 0, 0, .7), 0 0 0 1px rgba(62, 156, 110, .35), 0 24px 70px -24px rgba(62, 156, 110, .45); }
.hx-tour .panel-luxury[data-active='true'] .ghost-num { opacity: .32; }
@media (prefers-reduced-motion: reduce) { .hx-tour__end { transition: none; } }

/* =====================================================================================
   NUEVO en la versión fusionada: selector de archivos, ventana del navegador, oferta de empleo y cursor.
   Todo es de la réplica (clases sw-*) y no puede afectar al resto de la página.
   ===================================================================================== */

/* ---- cursor falso: se mueve solo durante el recorrido y pulsa los botones ---- */
.sw-cur { position: absolute; left: 0; top: 0; z-index: 30; width: 24px; height: 24px; pointer-events: none; opacity: 0; transform: translate3d(var(--cx, 0px), var(--cy, 0px), 0); transition: opacity .25s; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .55)); will-change: transform; }
.sw-cur[data-on='true'] { opacity: 1; }
.sw-cur svg { width: 24px; height: 24px; display: block; }
.sw-cur::after { content: ''; position: absolute; left: -9px; top: -9px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--g-hi); opacity: 0; transform: scale(.4); }
.sw-cur[data-click='true']::after { animation: sw-click .45s ease-out; }
@keyframes sw-click { 0% { opacity: .95; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.9); } }

/* ---- selector de archivos del sistema (ejemplo, con archivos inventados) ---- */
.sw-pick { position: absolute; inset: 0; z-index: 6; display: grid; place-items: center; padding: 14px; background: rgba(4, 8, 6, .55); animation: sw-fade .25s; }
.sw-pick[hidden] { display: none; }
.sw-pick__win { width: min(100%, 540px); border-radius: 10px; overflow: hidden; background: #f4f5f7; color: #1c222a; box-shadow: 0 24px 70px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .3); font-size: 12.5px; }
.sw-pick__bar { display: flex; align-items: center; justify-content: space-between; height: 32px; padding: 0 12px; background: #e3e6ea; border-bottom: 1px solid #cdd2d8; font-weight: 600; }
.sw-pick__bar i { width: 10px; height: 10px; border-radius: 50%; background: #c9ced5; display: inline-block; margin-left: 6px; }
.sw-pick__body { display: grid; grid-template-columns: 7.4rem minmax(0, 1fr); min-height: 196px; }
.sw-pick__side { display: grid; align-content: start; gap: 2px; padding: 8px 6px; background: #eceff2; border-right: 1px solid #d3d8de; }
.sw-pick__side span { padding: 5px 9px; border-radius: 6px; color: #3a434e; }
.sw-pick__side span[data-on='true'] { background: #d6dce4; font-weight: 700; color: #1c222a; }
.sw-pick__list { display: grid; align-content: start; padding: 4px 6px 6px; }
.sw-pick__head, .sw-pick__row { display: grid; grid-template-columns: minmax(0, 1fr) 6.4rem; gap: 8px; align-items: center; padding: 5px 8px; border-radius: 6px; }
.sw-pick__head { color: #6a7480; font-size: 11px; border-bottom: 1px solid #dde1e6; border-radius: 0; }
.sw-pick__row { width: 100%; border: 0; background: transparent; text-align: left; color: inherit; cursor: pointer; min-height: 30px; }
.sw-pick__row span:first-child { display: flex; align-items: center; gap: 8px; min-width: 0; }
.sw-pick__row b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sw-pick__row em { font-style: normal; color: #6a7480; font-size: 11.5px; }
.sw-pick__ico { flex: none; width: 15px; height: 18px; border-radius: 2px; background: #c8d1dc; position: relative; }
.sw-pick__ico::after { content: ''; position: absolute; right: 0; top: 0; width: 6px; height: 6px; background: #f4f5f7; border-bottom-left-radius: 3px; }
.sw-pick__ico[data-k='pdf'] { background: #e4574a; }
.sw-pick__ico[data-k='doc'] { background: #4b7be0; }
.sw-pick__ico[data-k='xls'] { background: #36a56b; }
.sw-pick__ico[data-k='zip'] { background: #c9a43a; }
.sw-pick__row[data-hover='true'] { background: #e6eaf0; }
.sw-pick__row[aria-selected='true'] { background: #2f6fe4; color: #fff; }
.sw-pick__row[aria-selected='true'] em { color: rgba(255, 255, 255, .85); }
.sw-pick__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 10px; border-top: 1px solid #d3d8de; background: #eceff2; }
.sw-pick__name { flex: 1 1 9rem; min-width: 0; display: flex; gap: 6px; align-items: center; }
.sw-pick__name span { color: #6a7480; }
.sw-pick__name b { flex: 1; min-width: 0; padding: 4px 8px; border-radius: 5px; background: #fff; border: 1px solid #cdd2d8; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-height: 26px; }
.sw-pick__btn { min-height: 30px; padding: 0 14px; border-radius: 6px; border: 1px solid #c3c9d0; background: #fff; color: #1c222a; font-weight: 600; }
.sw-pick__btn--go { background: #2f6fe4; border-color: #2f6fe4; color: #fff; }
.sw-pick__btn--go[data-pressed='true'], .sw-pick__btn[data-pressed='true'] { transform: scale(.94); filter: brightness(.92); }

/* ---- ventana de navegador (parecida a Chrome) que se abre al pulsar Buscar y al pulsar Autorrelleno ---- */
.sw-chr { position: absolute; inset: 4% 3.5% 6% 3.5%; z-index: 5; display: grid; grid-template-rows: auto auto minmax(0, 1fr); border-radius: 10px; overflow: hidden; background: #fff; color: #1f2328;
  box-shadow: 0 26px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(0, 0, 0, .35); transform-origin: 14% 100%;
  opacity: calc(var(--o, 1) * (1 - var(--m, 0))); transform: translateY(calc((1 - var(--o, 1)) * 14px + var(--m, 0) * 46%)) scale(calc((.965 + .035 * var(--o, 1)) * (1 - var(--m, 0) * .86))); }
.sw-chr[hidden] { display: none; }
.sw-chr[data-away='true'] { pointer-events: none; visibility: hidden; }
.sw-chr__tabs { display: flex; align-items: flex-end; justify-content: space-between; background: #dee1e6; padding: 6px 0 0 8px; min-height: 36px; }
.sw-chr__tab { display: flex; align-items: center; gap: 8px; max-width: 13rem; padding: 7px 12px; border-radius: 9px 9px 0 0; background: #fff; font-size: 12px; font-weight: 500; }
.sw-chr__tab i { flex: none; width: 13px; height: 13px; border-radius: 3px; background: var(--g); }
.sw-chr__tab span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sw-chr__ctl { display: flex; align-self: stretch; }
.sw-chr__ctl button { width: 40px; border: 0; background: transparent; color: #3a4048; display: grid; place-items: center; transition: background-color .15s; }
.sw-chr__ctl button:hover { background: rgba(0, 0, 0, .08); }
.sw-chr__ctl button[data-x]:hover { background: #e81123; color: #fff; }
.sw-chr__ctl button[data-pressed='true'] { background: rgba(0, 0, 0, .18); }
.sw-chr__ctl svg { width: 12px; height: 12px; stroke-width: 1.6; }
.sw-chr__bar { display: flex; align-items: center; gap: 10px; padding: 6px 10px; background: #fff; border-bottom: 1px solid #e3e5e8; }
.sw-chr__nav { display: flex; gap: 8px; color: #5f6670; font-size: 14px; letter-spacing: .1em; }
.sw-chr__url { flex: 1; min-width: 0; display: flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; background: #eef0f3; font-size: 12px; color: #3a4048; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sw-chr__url svg { flex: none; width: 11px; height: 11px; }
.sw-chr__page { position: relative; min-height: 0; overflow: hidden auto; padding: 14px 16px 18px; background: #f6f7f9; scrollbar-width: thin; }

/* página de búsqueda: Scout Wand recorre las webs de empleo */
.sw-scout { display: grid; gap: 10px; padding: 12px 14px; border-radius: 10px; background: #0f1a15; color: #e9f2ed; border: 1px solid rgba(70, 212, 147, .45); }
.sw-scout__t { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 13px; }
.sw-scout__t i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--g-hi); animation: sw-pulse 1s ease-in-out infinite; }
.sw-scout__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sw-scout__chips span { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .07); font-size: 11.5px; font-weight: 600; color: rgba(255, 255, 255, .6); transition: background-color .3s, color .3s; }
.sw-scout__chips span[data-on='true'] { background: rgba(70, 212, 147, .18); color: var(--g-hi); }
.sw-scout__chips span[data-on='true']::after { content: '\2713'; font-weight: 800; }
.sw-scout__hint { font-size: 12px; color: #f2c46d; font-weight: 600; }
.sw-skel { display: grid; gap: 8px; margin-top: 12px; }
.sw-skel div { display: grid; gap: 6px; padding: 11px 12px; border-radius: 8px; background: #fff; border: 1px solid #e3e5e8; }
.sw-skel i { display: block; height: 8px; border-radius: 4px; background: #e1e4e8; }
.sw-skel i:first-child { width: 52%; height: 10px; background: #cfd4da; }
.sw-skel i:last-child { width: 34%; }

/* página de oferta + formulario de candidatura (empresa inventada) */
.sw-job__head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.sw-job__logo { flex: none; width: 36px; height: 36px; border-radius: 9px; background: #1f6f4a; color: #fff; display: grid; place-items: center; font-weight: 800; }
.sw-job__title { font-weight: 800; font-size: 16px; line-height: 1.2; color: #14181d; }
.sw-job__meta { font-size: 12px; color: #5f6670; }
.sw-job__desc { display: grid; gap: 2px; margin: 4px 0 12px; font-size: 12.5px; color: #3a4048; }
.sw-job__h { margin: 4px 0 8px; font-weight: 800; font-size: 13.5px; color: #14181d; }
.sw-lstbar { position: sticky; top: -14px; z-index: 2; display: flex; align-items: center; gap: 9px; margin: -14px -16px 12px; padding: 9px 16px; background: #0f1a15; color: #e9f2ed; font-size: 12px; font-weight: 700; }
.sw-lstbar i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #5d6a64; }
.sw-lstbar[data-state='run'] i { background: var(--g-hi); animation: sw-pulse 1s ease-in-out infinite; }
.sw-lstbar[data-state='done'] i { background: var(--g-hi); }
.sw-form { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 12px; }
.sw-ff { display: grid; gap: 3px; min-width: 0; }
.sw-ff--wide { grid-column: 1 / -1; }
.sw-ff label { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: #3a4048; }
.sw-ff label em { font-style: normal; font-weight: 600; font-size: 10px; padding: 1px 6px; border-radius: 999px; opacity: 0; transition: opacity .25s; }
.sw-ff[data-state='auto'] label em { opacity: 1; background: #dff3e8; color: #1f6f4a; }
.sw-ff[data-state='needs'] label em, .sw-ff[data-state='err'] label em { opacity: 1; background: #fdebc8; color: #8a5a00; }
.sw-ff input { width: 100%; min-height: 32px; padding: 6px 9px; border-radius: 7px; border: 1px solid #cfd4da; background: #fff; color: #14181d; font: inherit; font-size: 12.5px; }
.sw-ff input:focus-visible { outline: 2px solid #2f6fe4; outline-offset: 1px; }
.sw-ff[data-state='auto'] input { border-color: #46d493; box-shadow: inset 3px 0 0 #46d493; }
.sw-ff[data-state='needs'] input { border-color: #e6a83c; background: #fffaf0; }
.sw-ff[data-state='typing'] input { border-color: #2f6fe4; box-shadow: 0 0 0 3px rgba(47, 111, 228, .18); }
.sw-ff[data-state='ok'] input { border-color: #9fb0a6; }
.sw-ff[data-state='err'] input { border-color: #d64545; background: #fff5f5; }
.sw-ff__e { display: none; font-size: 11px; color: #c53030; font-weight: 600; }
.sw-ff[data-state='err'] .sw-ff__e { display: block; }
.sw-chip { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 0 10px; border-radius: 7px; border: 1px dashed #cfd4da; color: #8a929b; font-size: 12.5px; background: #fff; }
.sw-ff[data-state='auto'] .sw-chip { border: 1px solid #46d493; color: #14181d; box-shadow: inset 3px 0 0 #46d493; }
.sw-chip::before { content: ''; width: 11px; height: 14px; border-radius: 2px; background: #e4574a; flex: none; }
.sw-sub { display: flex; justify-content: flex-end; margin-top: 12px; }
.sw-submit { min-height: 38px; padding: 0 26px; border-radius: 8px; border: 0; background: #1f6f4a; color: #fff; font-weight: 800; transition: transform .15s, filter .2s; }
.sw-submit[data-pressed='true'] { transform: scale(.94); filter: brightness(1.25); }
.sw-sent { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 26px 10px; animation: sw-fade .4s; }
.sw-sent[hidden] { display: none; }
.sw-sent i { width: 46px; height: 46px; border-radius: 50%; background: #1f6f4a; color: #fff; display: grid; place-items: center; }
.sw-sent i svg { width: 24px; height: 24px; stroke-width: 3; }
.sw-sent b { font-size: 16px; color: #14181d; }
.sw-sent p { max-width: 30rem; color: #3a4048; font-size: 12.5px; }
@container (max-width: 700px) {
  .sw-chr { inset: 2% 2% 3% 2%; }
  .sw-form { grid-template-columns: 1fr; }
  .sw-pick__body { grid-template-columns: 1fr; }
  .sw-pick__side { display: none; }
  .sw-chr__nav { display: none; }
}

/* ---- piezas que la versión 1 tenía en el diálogo de autorrelleno y que siguen haciendo falta ---- */
.sw-fillbtn { min-height: 32px; padding: 0 12px; border-radius: 8px; border: 0; background: var(--g); color: #fff; font-weight: 700; transition: transform .15s, filter .2s; white-space: nowrap; }
.sw-fillbtn[data-pressed='true'] { transform: scale(.93); filter: brightness(1.35); }
.sw-fill__t { font-weight: 800; font-size: 15px; color: #fff; }
.sw-fill__t span { margin-left: 6px; color: var(--g-hi); font-weight: 700; font-size: 12px; }
.sw-fill__s { font-size: 12px; color: rgba(255, 255, 255, .6); }
.sw-cvm__head { margin-bottom: 10px; }
.sw-ghost[data-pressed='true'] { transform: scale(.95); background: rgba(70, 212, 147, .22); }
.sw-check[data-pressed='true'] .sw-box { transform: scale(.85); }
.sw-seg button[data-pressed='true'] { transform: scale(.94); }
.sw-submit:disabled { opacity: .45; cursor: not-allowed; }
.sw-scout__hint { opacity: 0; transition: opacity .35s; }
.sw-scout__hint[data-on='true'] { opacity: 1; }
.sw-chr__ctl button[data-nudge='true'] { animation: sw-nudge 1.1s ease-in-out infinite; }
@keyframes sw-nudge { 50% { background: rgba(47, 111, 228, .22); } }
.sw-chr__page .sw-form input[readonly] { cursor: default; }
