/* Funsers Talent — diseño oscuro premium, acento naranja Fusanya.
   Fluido por construcción: clamp/flex/% en todo, sin escalones por aparato. */

:root {
  --bg: #0a0a0d;
  --bg-soft: #121218;
  --card: #16161e;
  --card-line: #26262f;
  --text: #f4f4f6;
  --text-dim: #a7a7b3;
  --orange: #ff7a18;
  --orange-soft: rgba(255, 122, 24, 0.14);
  --green: #3ecf7a;
  --red: #ff5252;
  --radius: 18px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background:
    radial-gradient(1100px 480px at 85% -10%, rgba(255, 122, 24, 0.16), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* Campos a 16px en pantallas táctiles: evita el zoom automático de iOS. */
@media (pointer: coarse) {
  input, select, textarea { font-size: 16px !important; }
}

/* Sin flechas nativas en campos numéricos. */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type="number"] { -moz-appearance: textfield; appearance: textfield; }

/* ---------- Encabezado ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: clamp(12px, 2.5vw, 20px) clamp(16px, 4vw, 40px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: clamp(17px, 2.4vw, 20px);
}
.brand strong { color: var(--orange); font-weight: 700; }
.brand-mark {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex: none;
}
.header-dept {
  color: var(--text-dim);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.header-right {
  display: inline-flex;
  align-items: center;
  gap: clamp(10px, 2.5vw, 18px);
}

/* ---------- Interruptor de idioma EN | ES ---------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--card-line);
  border-radius: 999px;
  padding: 3px 6px;
  background: var(--bg-soft);
}
.lang-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 9px;
  border-radius: 999px;
  cursor: pointer;
  min-height: 32px;
}
.lang-btn.active { background: var(--orange); color: #16100a; }
.lang-sep { color: var(--card-line); font-size: 13px; }

.app {
  flex: 1;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px) clamp(28px, 5vw, 48px);
}

.site-footer {
  padding: 20px clamp(16px, 4vw, 40px) 28px;
  color: var(--text-dim);
  font-size: 13px;
  text-align: center;
}

/* ---------- Hero: solo la primera pantalla, interior fluido ---------- */
.hero {
  min-height: min(78dvh, 640px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(14px, 3vh, 26px);
  padding: clamp(10px, 3vh, 30px) 0;
}
.hero-kicker {
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  font-size: clamp(34px, 7.2vw, 58px);
  line-height: 1.06;
  font-weight: 800;
  max-width: 14ch;
}
.hero h1 .accent { color: var(--orange); }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(108px, 1fr));
  gap: clamp(10px, 2vw, 16px);
}
.stat {
  background: var(--bg-soft);
  border: 1px solid var(--card-line);
  border-radius: var(--radius);
  padding: clamp(12px, 2.4vh, 18px) clamp(14px, 3vw, 22px);
  min-width: 128px;
}
.stat .num { font-size: clamp(24px, 4.5vw, 32px); font-weight: 800; }
.stat .lbl { color: var(--text-dim); font-size: 13px; margin-top: 2px; }
.hero-note { color: var(--text-dim); max-width: 56ch; margin: 0; font-size: clamp(15px, 2.4vw, 17px); line-height: 1.55; }

/* ---------- Filtros de la bolsa pública ---------- */
.filters {
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--radius);
  padding: clamp(14px, 3vw, 20px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 12px;
  margin-top: clamp(6px, 1.5vh, 14px);
}
.filters .field { margin-bottom: 0; }
.results-line {
  color: var(--text-dim);
  font-size: 14.5px;
  margin: clamp(22px, 4vh, 32px) 0 12px;
}
.chip.chip-mode { color: var(--orange); border-color: rgba(255, 122, 24, 0.45); }

/* ---------- Secciones y tarjetas ---------- */
.state-title {
  font-size: clamp(21px, 4vw, 27px);
  font-weight: 800;
  margin: clamp(26px, 5vh, 40px) 0 14px;
}
.card-list { display: flex; flex-direction: column; gap: 12px; }

a.pos-card, .pos-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--radius);
  padding: clamp(16px, 3vw, 22px);
  color: var(--text);
  text-decoration: none;
}
a.pos-card:active { border-color: var(--orange); }
.pos-card-img {
  display: block;
  width: 100%;
  height: clamp(150px, 26vw, 210px);
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 14px;
  background: var(--bg-soft);
}
.detail-img {
  display: block;
  width: 100%;
  height: clamp(200px, 42vw, 360px);
  object-fit: cover;
  border-radius: var(--radius);
  margin: 14px 0 4px;
  background: var(--bg-soft);
}
.pos-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.pos-card h3 { margin: 0; font-size: clamp(18px, 3.4vw, 21px); font-weight: 700; }
.pos-card p { margin: 8px 0 0; color: var(--text-dim); line-height: 1.5; font-size: 15px; }
.badge {
  flex: none;
  background: var(--orange-soft);
  color: var(--orange);
  border: 1px solid rgba(255, 122, 24, 0.45);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.badge.full { background: rgba(255, 255, 255, 0.06); color: var(--text-dim); border-color: var(--card-line); }
.badge.signed { background: rgba(62, 207, 122, 0.14); color: var(--green); border-color: rgba(62, 207, 122, 0.45); }
.pos-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip {
  font-size: 12.5px;
  color: var(--text-dim);
  border: 1px solid var(--card-line);
  border-radius: 999px;
  padding: 4px 10px;
}

/* ---------- Vista completa (detalle) ---------- */
.back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--card-line);
  background: var(--bg-soft);
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
  text-decoration: none;
  margin-bottom: 16px;
}
.detail h1 { font-size: clamp(26px, 5.5vw, 38px); margin: 0 0 6px; line-height: 1.15; }
.detail .state-line { color: var(--orange); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 13px; }
.detail section { margin-top: clamp(20px, 4vh, 30px); }
.detail h2 { font-size: 18px; margin: 0 0 10px; }
.detail p, .detail li { color: var(--text-dim); line-height: 1.6; font-size: 15.5px; }
.detail ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--orange);
  color: #16100a;
  border: none;
  border-radius: 14px;
  padding: 14px 22px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  min-height: 52px;
}
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--card-line);
}
.btn.danger { background: transparent; color: var(--red); border: 1px solid rgba(255, 82, 82, 0.5); }
.btn.small { min-height: 42px; padding: 9px 16px; font-size: 14px; border-radius: 11px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* ---------- Indicador de pasos ---------- */
.steps {
  display: flex;
  align-items: flex-start;
  margin: clamp(18px, 4vh, 28px) 0 8px;
}
.step { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 7px; position: relative; }
.step::before {
  content: "";
  position: absolute;
  top: 15px;
  left: calc(-50% + 17px);
  width: calc(100% - 34px);
  height: 2px;
  background: var(--card-line);
}
.step:first-child::before { display: none; }
.step.done::before, .step.current::before { background: var(--orange); }
.step .dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--card-line);
  background: var(--bg-soft);
  color: var(--text-dim);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  position: relative; z-index: 1;
}
.step.current .dot { border-color: var(--orange); background: var(--orange); color: #16100a; }
.step.done .dot { border-color: var(--orange); background: var(--orange-soft); color: var(--orange); }
.step .step-lbl { font-size: 10.5px; color: var(--text-dim); text-align: center; line-height: 1.25; padding: 0 2px; overflow-wrap: break-word; max-width: 100%; }
.step.current .step-lbl { color: var(--text); font-weight: 600; }

/* ---------- Formularios ---------- */
.form-card {
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--radius);
  padding: clamp(18px, 4vw, 28px);
  margin-top: 14px;
}
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--card-line);
  border-radius: 12px;
  color: var(--text);
  padding: 13px 14px;
  font-size: 16px;
  font-family: inherit;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--orange);
}
.field .hint { color: var(--text-dim); font-size: 13px; margin-top: 5px; }
.field-error { color: var(--red); font-size: 13.5px; margin-top: 5px; }
.form-error {
  background: rgba(255, 82, 82, 0.1);
  border: 1px solid rgba(255, 82, 82, 0.45);
  color: #ffb3b3;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14.5px;
  margin-bottom: 16px;
}
.radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-pill {
  flex: 1;
  min-width: 120px;
  border: 1px solid var(--card-line);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  background: var(--bg-soft);
}
.radio-pill.selected { border-color: var(--orange); background: var(--orange-soft); color: var(--orange); }

/* ---------- Confirmación ---------- */
.confirm {
  text-align: center;
  padding: clamp(28px, 7vh, 54px) 0;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.confirm .big-check {
  width: 76px; height: 76px; border-radius: 50%;
  background: rgba(62, 207, 122, 0.14);
  border: 2px solid var(--green);
  color: var(--green);
  font-size: 36px;
  display: flex; align-items: center; justify-content: center;
}
.confirm h1 { margin: 0; font-size: clamp(24px, 5vw, 32px); }
.confirm p { color: var(--text-dim); max-width: 52ch; line-height: 1.6; margin: 0; }
.confirm .folio { font-size: 19px; font-weight: 800; color: var(--orange); letter-spacing: 0.05em; }

/* ---------- Panel interno (RR. HH.) ---------- */
.hr-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.hr-head h1 { font-size: clamp(24px, 5vw, 32px); margin: 10px 0 4px; }
.stage-counts { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 20px; }
.stage-count {
  border: 1px solid var(--card-line);
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  color: var(--text-dim);
}
.stage-count strong { color: var(--text); }
.app-card h3 { margin: 0; font-size: 17px; }
.app-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.sign-link {
  display: block;
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--orange);
  word-break: break-all;
}
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 6px 14px; margin-top: 14px; font-size: 14.5px; }
.kv dt { color: var(--text-dim); }
.kv dd { margin: 0; }
@media (max-width: 560px) { .kv { grid-template-columns: 1fr; gap: 2px; } .kv dd { margin-bottom: 8px; } }

/* ---------- Firma de contrato ---------- */
.contract-doc {
  background: #101016;
  border: 1px solid var(--card-line);
  border-radius: var(--radius);
  padding: clamp(18px, 4vw, 30px);
  white-space: pre-wrap;
  line-height: 1.65;
  font-size: 15px;
  color: #d9d9e2;
  max-height: 52dvh;
  overflow-y: auto;
  margin-top: 14px;
}
.sig-wrap { margin-top: 20px; }
.sig-pad {
  width: 100%;
  height: 190px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--card-line);
  touch-action: none;
  display: block;
}
.sig-tools { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.sig-tools span { color: var(--text-dim); font-size: 13px; }
.link-btn { background: none; border: none; color: var(--orange); font-weight: 700; cursor: pointer; font-size: 14px; padding: 6px; }
.check-row { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; cursor: pointer; }
.check-row input { width: 22px; height: 22px; accent-color: var(--orange); flex: none; margin-top: 1px; }
.check-row span { font-size: 15px; line-height: 1.5; }
.signed-box {
  margin-top: 18px;
  border: 1px solid rgba(62, 207, 122, 0.45);
  background: rgba(62, 207, 122, 0.08);
  border-radius: var(--radius);
  padding: 18px;
}
.signed-box img { max-width: 260px; background: #fff; border-radius: 8px; padding: 6px; }
.empty-note { color: var(--text-dim); padding: 22px 0; }
.loading { color: var(--text-dim); padding: 40px 0; text-align: center; }

/* ---------- Documento tradicional de contrato (página carta) ---------- */
.doc-page {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  padding: clamp(26px, 5.5vw, 64px) clamp(20px, 6vw, 72px);
  margin-top: 16px;
  max-width: 860px;
}
.doc-page .doc-inner { font-family: Georgia, 'Times New Roman', serif; color: #141419; }
.doc-page .doc-head { border-bottom: 2px solid #141419; padding-bottom: 10px; margin-bottom: 22px; }
.doc-page .doc-brand { font-size: 21px; font-weight: 700; letter-spacing: 0.02em; }
.doc-page .doc-dept { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #55555f; margin-top: 3px; font-family: Helvetica, Arial, sans-serif; }
.doc-page .doc-title { font-size: clamp(20px, 4.6vw, 25px); text-align: center; margin: 0 0 4px; text-transform: uppercase; letter-spacing: 0.04em; color: #141419; }
.doc-page .doc-subtitle { text-align: center; font-size: 15px; color: #55555f; margin-bottom: 22px; }
.doc-page .doc-body { font-size: 14.5px; line-height: 1.75; text-align: justify; margin: 0 0 13px; color: #141419; }
.doc-page .doc-closing { margin-top: 20px; }
.doc-page .sig-block { display: flex; gap: clamp(20px, 5vw, 48px); margin-top: 44px; flex-wrap: wrap; }
.doc-page .sig-col { flex: 1; min-width: 200px; }
.doc-page .sig-visual { height: 84px; display: flex; align-items: flex-end; justify-content: center; }
.doc-page .sig-img { max-height: 82px; max-width: 100%; }
.doc-page .sig-line { border-top: 2px solid #141419; margin-top: 2px; }
.doc-page .sig-name { font-size: 14.5px; font-weight: 700; margin-top: 7px; color: #141419; }
.doc-page .sig-role { font-size: 13px; color: #55555f; }
.doc-page .sig-date { font-size: 13px; color: #55555f; margin-top: 5px; }
.doc-page .doc-foot { margin-top: 40px; border-top: 1px solid #c9c9d2; padding-top: 9px; font-size: 11px; color: #77777f; font-family: Helvetica, Arial, sans-serif; text-align: center; }
.sig-canvas-doc {
  width: 100%;
  height: 84px;
  display: block;
  background: rgba(255, 122, 24, 0.05);
  border: 1px dashed #b9b9c4;
  border-bottom: none;
  touch-action: none;
  cursor: crosshair;
}
.sign-intro { color: var(--text-dim); line-height: 1.6; font-size: 15px; max-width: 62ch; }
.sig-controls { max-width: 860px; margin-top: 22px; }
.sign-declaration { color: var(--text-dim); font-size: 13.5px; line-height: 1.6; margin-top: 14px; }
.signed-banner {
  margin-top: 16px;
  border: 1px solid rgba(62, 207, 122, 0.45);
  background: rgba(62, 207, 122, 0.08);
  color: var(--text);
  border-radius: var(--radius);
  padding: 15px 18px;
  font-size: 15px;
  line-height: 1.55;
  max-width: 860px;
}

/* ---------- Reglas de la casa (fase Jobs) ---------- */
html{scrollbar-width:none;}
body{scrollbar-width:none;}
::-webkit-scrollbar{display:none;}
html,body{overflow-x:clip;}
a.pos-card{display:block;}
a.pos-card:hover{border-color:var(--orange);}
.brand-mark{border-radius:50%;}
.site-header{position:relative;}
.langbtn{flex:none;width:42px;height:42px;display:flex;align-items:center;justify-content:center;background:var(--bg-soft);border:1px solid var(--card-line);border-radius:12px;color:var(--text);cursor:pointer;padding:0;}
.lglyph{position:relative;display:inline-block;width:24px;height:24px;font-weight:700;line-height:1;}
.lglyph .lg1{position:absolute;left:0;top:0;font-size:17px;}
.lglyph .lg2{position:absolute;right:0;bottom:0;font-size:13px;}
dialog.sheet-dialog,dialog.lang-dialog{border:1px solid var(--card-line);background:var(--card);color:var(--text);border-radius:20px;padding:0;width:min(430px,calc(100vw - 32px));box-shadow:0 24px 60px rgba(0,0,0,.55);}
dialog.sheet-dialog::backdrop,dialog.lang-dialog::backdrop{background:rgba(4,4,8,.66);backdrop-filter:blur(3px);}
.dbox{padding:22px 20px 18px;}
.dbox h2{font-size:19px;font-weight:800;margin:0 0 8px;}
.dnote{color:var(--text-dim);font-size:14.5px;line-height:1.5;margin:0 0 8px;}
.dbtns{display:flex;gap:10px;margin-top:16px;}
.dbtns .cancelbtn{flex:1;background:transparent;color:var(--text);border:1.5px solid var(--card-line);border-radius:14px;font-size:16px;font-weight:700;padding:13px 10px;cursor:pointer;}
.dbtns .dodanger{flex:1;background:#c62f24;color:#fff;border:none;border-radius:14px;font-size:16px;font-weight:800;padding:13px 10px;cursor:pointer;}
.dbtns .primarybtn{flex:1;background:var(--orange);color:#16100a;border:none;border-radius:14px;font-size:16px;font-weight:800;padding:13px 10px;cursor:pointer;}
.dbtns button:disabled{opacity:.55;cursor:default;}
.lbox{padding:18px 18px calc(14px + env(safe-area-inset-bottom));}
.lhead{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;}
.lhead h2{font-size:17px;font-weight:800;text-align:center;flex:1;margin:0;}
.lclose{width:36px;height:36px;background:transparent;border:none;color:var(--text-dim);font-size:16px;cursor:pointer;}
.lopt{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:transparent;border:none;color:var(--text);font:inherit;font-size:16.5px;font-weight:600;padding:14px 6px;cursor:pointer;border-top:1px solid var(--card-line);}
.lradio{width:22px;height:22px;border-radius:50%;flex:none;border:2px solid var(--text-dim);position:relative;}
.lradio.on{border-color:var(--orange);}
.lradio.on::after{content:"";position:absolute;inset:4px;border-radius:50%;background:var(--orange);}
@media (max-width:560px){
  dialog.lang-dialog{margin:auto auto 0;width:100vw;max-width:100vw;border-radius:20px 20px 0 0;border-bottom:none;}
}
/* Filtros tocables por chips (sin select nativos) */
.chiprow{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 4px;}
.fchip{border:1.5px solid var(--card-line);background:var(--bg-soft);color:var(--text-dim);border-radius:999px;padding:9px 16px;font:inherit;font-size:14.5px;font-weight:700;cursor:pointer;min-height:42px;}
.fchip.on{border-color:var(--orange);background:var(--orange-soft);color:var(--orange);}
.filters2{background:var(--card);border:1px solid var(--card-line);border-radius:var(--radius);padding:clamp(14px,3vw,20px);margin-top:clamp(6px,1.5vh,14px);}
.filters2 .flabel{font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--text-dim);margin:6px 0 2px;}
/* Selector propio con Popover */
.popwrap{position:relative;}
.popbtn{width:100%;background:var(--bg-soft);border:1px solid var(--card-line);border-radius:12px;color:var(--text);padding:13px 14px;font-size:16px;font-family:inherit;text-align:left;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:10px;}
.popbtn:focus{border-color:var(--orange);outline:none;}
.popbtn .car{color:var(--text-dim);font-size:13px;}
.pop-panel{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:60;background:var(--card);border:1px solid var(--card-line);border-radius:14px;box-shadow:0 22px 50px rgba(0,0,0,.5);padding:6px;max-height:290px;overflow-y:auto;scrollbar-width:none;}
.pop-panel::-webkit-scrollbar{display:none;}
.pop-panel [role="option"]{display:flex;align-items:center;gap:10px;width:100%;text-align:left;background:transparent;border:none;color:var(--text);font:inherit;font-size:15.5px;font-weight:600;padding:12px 10px;border-radius:10px;cursor:pointer;}
.pop-panel [role="option"]:hover,.pop-panel [role="option"].sel{background:var(--orange-soft);}
.pop-panel [role="option"] .lradio{width:19px;height:19px;}
/* Subida de foto: las 5 señales de la casa */
.photo-zone{border:1.5px dashed var(--card-line);border-radius:14px;background:var(--bg-soft);padding:16px;text-align:center;cursor:pointer;transition:border-color .15s,background .15s;}
.photo-zone.drag{border-color:var(--orange);background:var(--orange-soft);}
.photo-zone .pz-note{color:var(--text-dim);font-size:14px;line-height:1.5;}
.photo-preview{display:flex;align-items:center;gap:14px;margin-top:12px;text-align:left;}
.photo-preview img{width:74px;height:74px;border-radius:50%;object-fit:cover;border:2px solid var(--orange);flex:none;}
.progress{height:8px;border-radius:99px;background:rgba(255,255,255,.08);overflow:hidden;margin-top:12px;display:none;}
.progress.on{display:block;}
.progress i{display:block;height:100%;width:0;background:var(--orange);border-radius:99px;transition:width .25s;}
.photo-status{font-size:13.5px;margin-top:8px;color:var(--text-dim);}
.photo-status.err{color:var(--red);}
.photo-status.ok{color:var(--green);}
.linklike{background:none;border:none;color:var(--orange);font-weight:700;cursor:pointer;font-size:14px;padding:4px;}
/* Lista de verificación */
.checklist{border:1px solid rgba(255,122,24,.45);background:var(--orange-soft);border-radius:var(--radius);padding:16px 18px;margin-top:14px;}
.checklist.done{border-color:rgba(62,207,122,.45);background:rgba(62,207,122,.08);}
.checklist h3{margin:0 0 8px;font-size:16px;}
.checklist ul{margin:0;padding-left:20px;color:var(--text);line-height:1.7;font-size:15px;}
/* Panel de candidato e interno */
.panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;}
.stage-pill{flex:none;border-radius:999px;padding:6px 12px;font-size:13px;font-weight:700;border:1px solid var(--card-line);color:var(--text-dim);white-space:nowrap;}
.stage-pill.aprobado{background:rgba(62,207,122,.14);color:var(--green);border-color:rgba(62,207,122,.45);}
.stage-pill.baja{background:rgba(255,82,82,.1);color:var(--red);border-color:rgba(255,82,82,.4);}
.origin-pill{font-size:12px;font-weight:700;border-radius:999px;padding:4px 10px;border:1px solid var(--card-line);color:var(--text-dim);}
.origin-pill.manual{color:var(--orange);border-color:rgba(255,122,24,.45);}
.msg{font-size:14.5px;line-height:1.45;margin-top:12px;display:none;}
.msg.err{color:var(--red);display:block;}
.msg.ok{color:var(--green);display:block;}
.passwrap{position:relative;display:block;}
.passwrap .field-in{padding-right:50px;}
.eyebtn{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:38px;height:38px;display:flex;align-items:center;justify-content:center;background:transparent;border:none;color:var(--text-dim);cursor:pointer;padding:0;}
.grid2{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:0 14px;}
.textlink{display:block;margin-top:10px;background:transparent;border:none;color:var(--text-dim);font-size:15px;font-weight:600;text-decoration:underline;text-underline-offset:3px;padding:8px 2px;cursor:pointer;}
.hidden{display:none !important;}
