/* WorkUco — estilos base (2026) */
:root {
  /* v3 · el Valle de noche */
  --night: #0b1612;
  --night-2: #12241d;
  --night-3: #1b3229;
  --night-text: #e8efe9;
  --night-muted: #a9bcb1;
  --cream: #f5f1e6;
  --cream-2: #ece6d6;
  --lime: #c8f560;
  --lime-2: #b3e24a;
  --malbec: #7a1f4d;
  --malbec-2: #5e1639;
  --malbec-soft: #f5e6ee;
  --font-display: "Bricolage Grotesque", "Inter", ui-sans-serif, system-ui, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --bg: var(--cream);
  --bg-warm: #faf6ec;
  --surface: #fffdf8;
  --surface-2: #f0eadc;
  --surface-3: #e6dfcd;
  --ink: #0f1a15;
  --text: #1c2822;
  --muted: #56615a;
  --line: #e3dbc9;
  --line-strong: #cfc4ad;
  --green: #0a8263;
  --green-dark: #076a51;
  --green-bright: #12b98d;
  --green-soft: #e6f7f0;
  --green-softer: #f2fbf7;
  --sand: #f4ecdf;
  --amber: #a4690a;
  --amber-soft: #fdf2df;
  --red: #b3261e;
  --red-soft: #fdeceb;
  --violet: #6b5bd2;
  --violet-soft: #eeecfc;
  --teal: #0d7c86;
  --teal-soft: #e4f5f6;
  --blue: #2f6fbf;
  --blue-soft: #e8f1fd;
  --gray: #6b7770;
  --gray-soft: #eef1ee;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-xs: 9px;
  --shadow: 0 1px 2px rgba(23, 33, 28, .04), 0 10px 30px rgba(23, 33, 28, .06);
  --shadow-lg: 0 20px 60px rgba(16, 28, 22, .16);
  --max: 1180px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--text); background: var(--bg);
  font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.03em; font-weight: 700; color: var(--ink); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
::selection { background: #c9f1e3; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); font-size: 13.5px; }
.soft-text { color: #46534c; font-size: 14.5px; }
.muted-link { background: none; border: 0; color: var(--muted); font-size: 13px; padding: 4px 0; text-align: left; }
.muted-link:hover { color: var(--ink); }
.icon { flex: 0 0 auto; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 26px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 750; letter-spacing: -.04em; font-size: 19.5px; }
.brand-logo { width: 31px; height: 31px; object-fit: contain; flex: 0 0 auto; }
.brand-svg { flex: 0 0 auto; }
.main-nav { display: flex; gap: 2px; margin-right: auto; }
.nav-link { padding: 8px 12px; border-radius: 9px; color: var(--muted); font-size: 14.5px; font-weight: 550; transition: .15s; }
.nav-link:hover { color: var(--ink); background: var(--surface-2); }
.nav-link.is-active { color: var(--ink); background: var(--surface-2); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.btn-avatar { padding-left: 6px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 6px; color: var(--ink); }
.mobile-menu { display: flex; flex-direction: column; gap: 2px; padding: 10px 22px 16px; border-top: 1px solid var(--line); background: var(--surface); }
.mobile-menu a { padding: 10px 4px; color: var(--muted); font-weight: 550; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 11px;
  border: 1px solid transparent; background: none; cursor: pointer;
  font-weight: 650; font-size: 14.5px; white-space: nowrap; text-align: center;
  transition: background .15s, border-color .15s, color .15s, transform .06s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 6px 16px rgba(10, 130, 99, .18); }
.btn-primary:hover { background: var(--green-dark); }
.btn-outline { border-color: var(--line-strong); background: var(--surface); color: var(--text); }
.btn-outline:hover { border-color: #b9c5bd; background: var(--surface-2); }
.btn-ghost { color: var(--muted); }
.btn-ghost:hover { color: var(--ink); background: var(--surface-2); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--green-soft); }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: 13px; border-radius: 9px; }
.btn-lg { min-height: 50px; padding: 0 24px; font-size: 15.5px; border-radius: 13px; }
.btn-block { width: 100%; }
.btn-danger { background: var(--red-soft); color: var(--red); }
.btn-danger:hover { background: #fadcd9; }
.btn[disabled] { opacity: .55; cursor: not-allowed; box-shadow: none; }
.icon-btn { border: 0; background: var(--surface-2); width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: var(--muted); }
.icon-btn:hover { background: var(--surface-3); color: var(--ink); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-home {
  padding: 54px 0 46px;
  background:
    radial-gradient(700px 340px at 12% -10%, rgba(18, 185, 141, .13), transparent 65%),
    radial-gradient(600px 300px at 92% 6%, rgba(244, 236, 223, .85), transparent 65%),
    linear-gradient(180deg, #fbfcf9, var(--bg));
}
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 38px; align-items: center; }
.hero-copy { max-width: 680px; }
.eyebrow, .kicker {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase;
  color: var(--green-dark); background: var(--green-soft);
  border-radius: 99px; padding: 5px 11px; margin-bottom: 16px;
}
.kicker { background: none; padding: 0; margin-bottom: 8px; color: var(--green); }
.kicker.light { color: #9fe6ce; }
.hero h1 { font-size: clamp(38px, 5.2vw, 62px); letter-spacing: -.045em; margin-bottom: 16px; }
.hero h1 .mark { color: var(--green); position: relative; white-space: nowrap; }
.hero h1 .mark::after {
  content: ""; position: absolute; left: 2px; right: 2px; bottom: 4px; height: 10px;
  background: linear-gradient(90deg, rgba(18,185,141,.22), rgba(18,185,141,.05));
  border-radius: 99px; z-index: -1;
}
.hero-sub { color: var(--muted); font-size: clamp(16px, 1.6vw, 18.5px); max-width: 560px; margin-bottom: 26px; }

.role-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; max-width: 520px; }
.role-btn {
  display: flex; align-items: center; gap: 11px; padding: 12px 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 13px;
  transition: .15s;
}
.role-btn:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.role-btn.is-active { border-color: var(--green); box-shadow: 0 0 0 3px rgba(10,130,99,.10); }
.role-ico { width: 37px; height: 37px; border-radius: 10px; background: var(--green-soft); color: var(--green-dark); display: grid; place-items: center; flex: 0 0 auto; }
.role-btn:last-child .role-ico { background: var(--sand); color: #8a5a1f; }
.role-btn strong { display: block; font-size: 14.5px; }
.role-btn small { display: block; color: var(--muted); font-size: 12px; }

.search-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); padding: 9px; display: flex; gap: 8px; flex-wrap: wrap;
  max-width: 720px;
}
.search-card .field { flex: 1 1 150px; }
.search-card .field-q { flex: 2 1 220px; }
.search-card .btn { flex: 0 0 auto; min-height: 44px; }
.field-ico { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-card .field, .search-main-input { position: relative; }
.search-card .field-q .input, .search-main-input .input { padding-left: 38px; }
.hero-hint { margin-top: 14px; font-size: 13px; color: var(--muted); display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }
.chip-link { border: 1px solid var(--line); background: var(--surface); border-radius: 99px; padding: 4px 11px; font-size: 12.5px; color: var(--muted); transition: .15s; }
.chip-link:hover { border-color: var(--green); color: var(--green-dark); background: var(--green-softer); }

/* arte del hero */
.hero-art { position: relative; min-height: 410px; }
.art-glow { position: absolute; inset: 10% 0 10% 12%; background: radial-gradient(circle at 60% 40%, rgba(18,185,141,.24), transparent 62%); filter: blur(6px); }
.art-ring { position: absolute; right: 2%; top: 4%; width: 270px; height: 270px; border: 1.5px dashed rgba(10,130,99,.25); border-radius: 50%; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.art-card {
  position: absolute; display: flex; align-items: center; gap: 11px;
  background: rgba(255,255,255,.94); border: 1px solid rgba(225,231,226,.9);
  border-radius: 15px; padding: 13px 15px; box-shadow: var(--shadow-lg);
  backdrop-filter: blur(6px); width: 300px;
}
.art-card b { display: block; font-size: 14px; letter-spacing: -.01em; }
.art-card small { display: block; color: var(--muted); font-size: 11.8px; }
.art-card.art-1 { top: 40px; left: 2%; transform: rotate(-2.5deg); z-index: 3; }
.art-card.art-2 { top: 155px; right: 0; transform: rotate(2deg); z-index: 2; }
.art-card.art-3 { top: 275px; left: 0; transform: rotate(-1deg); z-index: 4; }
.art-logo {
  width: 42px; height: 42px; border-radius: 11px; background: #6b2f3a; color: #fff;
  display: grid; place-items: center; font-weight: 750; font-size: 14px; flex: 0 0 auto;
}
.art-logo.alt { background: #8a5a3f; }
.art-logo.alt2 { background: #334e68; }
.art-tag { font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--green-dark); background: var(--green-soft); padding: 3px 8px; border-radius: 99px; margin-left: auto; }
.art-match { font-style: normal; font-size: 10.5px; font-weight: 700; color: #fff; background: var(--green); padding: 3px 8px; border-radius: 99px; margin-left: auto; }
.art-pill {
  position: absolute; bottom: 18px; left: 42%; display: inline-flex; align-items: center; gap: 7px;
  background: var(--ink); color: #fff; border-radius: 99px; padding: 8px 14px; font-size: 12.5px; font-weight: 600;
  box-shadow: var(--shadow-lg); z-index: 5;
}

/* ---------- trust ---------- */
.trust-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 18px 24px; }
.trust-grid > div { display: flex; align-items: center; gap: 11px; color: var(--green-dark); }
.trust-grid strong { display: block; font-size: 13.5px; color: var(--ink); }
.trust-grid small { display: block; color: var(--muted); font-size: 12px; }

/* ---------- secciones ---------- */
.section { padding: 58px 0; }
.section-tight { padding: 34px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-head.center { justify-content: center; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -.04em; }
.section-head p { color: var(--muted); font-size: 14.5px; margin-top: 7px; }
.section-title { font-size: 26px; margin: 30px 0 16px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--green-dark); font-weight: 650; font-size: 14px; white-space: nowrap; }
.link-arrow:hover { text-decoration: underline; }
.link-inline { color: var(--green-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- tarjetas de empleo ---------- */
.jobs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.job-card {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color .15s, box-shadow .2s, transform .2s;
}
.job-card:hover { border-color: #cbd5ce; box-shadow: var(--shadow); transform: translateY(-3px); }
.job-cover {
  height: 92px; position: relative; background: linear-gradient(135deg, #dff2e9, #f4ecdf 55%, #e6f0e8);
  background-size: cover; background-position: center;
}
.job-cover.has-img { background-size: cover; }
.job-cover-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(10,30,22,.18)); }
.job-cover .badge { position: absolute; top: 10px; right: 10px; }
.job-card-body { padding: 0 18px 16px; position: relative; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.job-card-body .logo { margin-top: -22px; }
.job-card-body .job-top { margin-top: -28px; padding-left: 54px; min-height: 46px; }
.job-title { font-size: 17px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.job-company { color: var(--muted); font-size: 13px; margin-top: 3px; display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.verified { color: var(--green); display: inline-flex; align-items: center; gap: 3px; font-size: 11.5px; font-weight: 600; }
.job-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.8px; font-weight: 550; color: #40504a;
  background: var(--surface-2); border-radius: 99px; padding: 4px 9px;
}
.badge-green { background: var(--green-soft); color: var(--green-dark); }
.badge-amber { background: var(--amber-soft); color: var(--amber); }
.badge-red { background: var(--red-soft); color: var(--red); }
.badge-featured { background: var(--ink); color: #fff; }
.badge-benefit { background: var(--green-softer); color: var(--green-dark); border: 1px solid #d5f0e5; }
.badge-ai { background: var(--violet-soft); color: var(--violet); }
.badge-ai-soft { background: var(--violet-soft); color: #5344b8; }
.job-salary { font-weight: 700; font-size: 13.5px; }
.job-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 12px; border-top: 1px solid var(--line); padding-top: 11px; margin-top: auto; }
.job-excerpt { color: var(--muted); font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.logo { width: 44px; height: 44px; border-radius: 12px; object-fit: contain; background: #fff; border: 1px solid var(--line); padding: 3px; flex: 0 0 auto; }
.logo-fallback { display: grid; place-items: center; background: var(--surface-3); color: var(--green-dark); font-weight: 750; font-size: 14px; letter-spacing: -.02em; }
.logo-sm { width: 36px; height: 36px; border-radius: 10px; object-fit: contain; background: #fff; border: 1px solid var(--line); padding: 3px; flex: 0 0 auto; }
.logo-xs { width: 30px; height: 30px; border-radius: 8px; font-size: 11px; }
.logo-md { width: 54px; height: 54px; border-radius: 14px; }
.logo-lg { width: 72px; height: 72px; border-radius: 16px; padding: 5px; }
.logo-xl { width: 84px; height: 84px; border-radius: 20px; padding: 5px; box-shadow: var(--shadow); }
.logo-xxl { width: 108px; height: 108px; border-radius: 24px; padding: 7px; box-shadow: var(--shadow-lg); }
.logo-fallback.logo-sm { font-size: 12px; }
.logo-fallback.logo-lg { font-size: 22px; }
.logo-fallback.logo-xl { font-size: 26px; }
.logo-fallback.logo-xxl { font-size: 32px; }

/* ---------- empresas strip ---------- */
.companies-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.company-pill {
  display: flex; align-items: center; gap: 11px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; transition: .15s;
}
.company-pill:hover { border-color: var(--green); background: var(--green-softer); }
.company-pill strong { display: block; font-size: 13.5px; }
.company-pill small { display: block; color: var(--muted); font-size: 11.8px; }

/* ---------- categorías ---------- */
.cats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.cat-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 15px 14px; display: flex; align-items: center; gap: 10px; transition: .15s;
}
.cat-card:hover { border-color: var(--green); background: var(--green-softer); }
.cat-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; color: var(--green-dark); flex: 0 0 auto; }
.cat-card:hover .cat-icon { background: #fff; }
.cat-name { font-weight: 650; font-size: 13.5px; }
.cat-arrow { margin-left: auto; color: var(--muted); opacity: .5; }
.cat-card:hover .cat-arrow { color: var(--green); opacity: 1; }

/* ---------- cómo funciona ---------- */
.how-section { background: linear-gradient(180deg, var(--bg), #f1f5ee); }
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 950px; margin: 0 auto; }
.how-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
.how-company { background: var(--ink); color: #fff; border-color: var(--ink); }
.how-company h3, .how-company strong { color: #fff; }
.how-company p { color: #b7c4be; }
.how-company .how-badge { background: rgba(255,255,255,.1); color: #fff; }
.how-company .how-steps li > span { background: rgba(255,255,255,.12); color: #fff; }
.how-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.how-head h3 { font-size: 20px; }
.how-badge { width: 42px; height: 42px; border-radius: 12px; background: var(--green-soft); color: var(--green-dark); display: grid; place-items: center; }
.how-steps { list-style: none; display: flex; flex-direction: column; gap: 15px; margin-bottom: 22px; }
.how-steps li { display: flex; gap: 12px; }
.how-steps li > span { width: 26px; height: 26px; border-radius: 50%; background: var(--green-soft); color: var(--green-dark); display: grid; place-items: center; font-size: 12px; font-weight: 750; flex: 0 0 auto; margin-top: 2px; }
.how-steps strong { display: block; font-size: 14.5px; }
.how-steps p { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* ---------- CTA ---------- */
.cta-band {
  background: radial-gradient(600px 240px at 85% 10%, rgba(18,185,141,.28), transparent 60%), var(--ink);
  color: #fff; border-radius: 22px; padding: 40px 42px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(24px, 3vw, 32px); color: #fff; max-width: 560px; }
.cta-band p { color: #b9c5bf; margin-top: 8px; max-width: 560px; font-size: 14.5px; }

/* ---------- página de empresas ---------- */
.page-wrap { padding: 44px 0 70px; }
.page-head { max-width: 680px; margin-bottom: 28px; }
.page-head h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 8px; }
.page-head p { color: var(--muted); font-size: 15.5px; }
.companies-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.company-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .2s; }
.company-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #cbd5ce; }
.company-cover { height: 130px; background: linear-gradient(135deg, #dff2e9, #f4ecdf); background-size: cover; background-position: center; }
.company-card-body { padding: 0 20px 20px; position: relative; }
.company-card-body .logo-lg { margin-top: -34px; }
.company-name { font-size: 18px; font-weight: 700; margin-top: 10px; display: flex; align-items: center; gap: 6px; }
.company-meta { color: var(--muted); font-size: 12.8px; display: flex; align-items: center; gap: 5px; margin-top: 3px; flex-wrap: wrap; }
.company-desc { color: var(--muted); font-size: 13.2px; margin-top: 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.company-cta { border-style: dashed; background: linear-gradient(160deg, var(--green-softer), #fbf8f2); }
.company-cta:hover { border-color: var(--green); }
.company-cta-inner { min-height: 258px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 7px; padding: 26px; }
.company-cta-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--green-soft); color: var(--green-dark); display: grid; place-items: center; margin-bottom: 4px; }
.company-cta h3 { font-size: 18px; }
.company-cta p { color: var(--muted); font-size: 13px; max-width: 230px; margin-bottom: 8px; }

/* ---------- empresa pública ---------- */
.company-hero { position: relative; }
.company-carousel { height: 330px; border-radius: 0; }
.company-carousel .carousel-slide { border-radius: 0; }
.company-hero-info { display: flex; align-items: flex-start; gap: 18px; position: relative; z-index: 3; }
.company-hero-info .logo-xxl { margin-top: -54px; }
.company-hero-info h1 { font-size: clamp(28px, 4vw, 42px); display: flex; align-items: center; gap: 8px; }
.company-hero-info > div { padding-top: 8px; padding-bottom: 8px; }
.company-content { max-width: var(--max); margin: 0 auto; padding: 34px 24px 70px; }
.company-about { max-width: 760px; margin-bottom: 20px; }
.company-about h2 { font-size: 20px; margin-bottom: 8px; }
.company-about .link-arrow { margin-top: 12px; }

/* ---------- buscador ---------- */
.search-page { padding: 36px 0 70px; }
.search-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.search-page-head h1 { font-size: clamp(27px, 3.4vw, 38px); margin-bottom: 4px; }
.results-count { color: var(--muted); font-size: 13.5px; }
.search-sort { min-width: 220px; }
.search-main { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.search-main-input { flex: 1 1 280px; }
.search-main-input .input { min-height: 48px; font-size: 15px; }
.filters-toggle { display: none; }
.filter-panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; display: flex; flex-direction: column; gap: 13px; margin-bottom: 22px;
}
.filter-row { display: grid; grid-template-columns: 104px 1fr; gap: 12px; align-items: start; }
.filter-label { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; padding-top: 7px; }
.filter-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-chip {
  border: 1px solid var(--line); background: var(--surface); border-radius: 99px;
  padding: 7px 12px; font-size: 12.8px; color: #4a5851; font-weight: 550; transition: .13s; white-space: nowrap;
}
.filter-chip:hover { border-color: var(--green); color: var(--green-dark); }
.filter-chip.is-active { background: var(--green); border-color: var(--green); color: #fff; }
.filter-panel > .btn { align-self: flex-start; }
.results-list { display: flex; flex-direction: column; gap: 10px; }
.job-row { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: .15s; }
.job-row:hover { border-color: #cbd5ce; box-shadow: var(--shadow); }
.job-row-main { display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; padding: 17px 20px; align-items: start; position: relative; z-index: 2; }
.job-row-info .job-title { font-size: 16.5px; }
.job-row .badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.job-row .side { text-align: right; display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 10px; }
.job-row .side .date { color: var(--muted); font-size: 12px; }
.job-row-cover {
  position: absolute; right: 0; top: 0; bottom: 0; width: 210px; background-size: cover; background-position: center;
  opacity: .18; mask-image: linear-gradient(to right, transparent, #000 55%); pointer-events: none;
}
.save-btn { position: absolute; right: 14px; bottom: 12px; z-index: 3; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; color: var(--muted); }
.save-btn:hover { color: var(--red); border-color: #f1c3c0; }
.save-btn.is-on { color: var(--red); background: var(--red-soft); border-color: #f1c3c0; }
.save-btn.is-on svg { fill: currentColor; }
.empty { text-align: center; padding: 56px 20px; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--surface); color: var(--muted); }
.empty h3 { color: var(--ink); margin-bottom: 6px; font-size: 19px; }
.skeleton { background: linear-gradient(90deg, #edf1ed 25%, #f7f9f6 50%, #edf1ed 75%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 10px; }
@keyframes sk { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.load-more { display: flex; justify-content: center; margin-top: 22px; }

/* ---------- detalle ---------- */
.detail-wrap { padding: 28px 0 70px; }
.breadcrumb { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: 12.8px; margin-bottom: 14px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--ink); }
.detail-grid { display: grid; grid-template-columns: 1fr 350px; gap: 22px; align-items: start; }
.detail-main { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.detail-hero { border-bottom: 1px solid var(--line); }
.detail-head { display: flex; gap: 16px; padding: 0 28px 24px; align-items: flex-start; }
.detail-head .logo-xl { margin-top: -42px; }
.detail-head-info { padding-top: 16px; min-width: 0; }
.detail-main h1 { font-size: clamp(25px, 3.5vw, 34px); margin: 8px 0 6px; }
.detail-company { color: var(--muted); font-size: 14px; display: flex; gap: 7px; align-items: center; flex-wrap: wrap; }
.detail-company a { color: var(--ink); font-weight: 650; }
.dot-sep { opacity: .5; }
.detail-block { padding: 22px 28px; border-bottom: 1px solid var(--line); }
.detail-block:last-child { border-bottom: 0; }
.detail-block h2 { font-size: 17.5px; margin-bottom: 9px; }
.detail-block p, .detail-block li { color: #3c4942; font-size: 14.8px; }
.detail-block .prose { white-space: pre-line; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.check-list li { display: flex; gap: 9px; align-items: flex-start; }
.check-list li svg { color: var(--green); margin-top: 4px; flex: 0 0 auto; }
.detail-aside { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 13px; }
.aside-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.aside-card h3 { font-size: 15px; margin-bottom: 12px; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 13.5px; border-bottom: 1px solid #eef2ee; }
.kv:last-child { border-bottom: 0; }
.kv span:first-child { color: var(--muted); }
.kv span:last-child { text-align: right; font-weight: 600; }
.aside-note { font-size: 12.3px; color: var(--muted); margin-top: 10px; line-height: 1.5; }
.apply-card { padding: 18px; }
.apply-card .btn-lg { min-height: 52px; }
.applied-box { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 12px; background: var(--green-soft); color: var(--green-dark); }
.applied-box strong { display: block; font-size: 14px; }
.applied-box span { font-size: 12.5px; }
.aside-actions { display: flex; gap: 4px; justify-content: space-between; margin-top: 10px; flex-wrap: wrap; }
.profile-hint { font-size: 12px; color: var(--muted); margin-top: 8px; text-align: center; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* carrusel */
.carousel { position: relative; height: 270px; overflow: hidden; background: linear-gradient(135deg, #dff2e9, #f4ecdf 55%, #e6f0e8); }
.carousel-track { position: absolute; inset: 0; }
.carousel-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .5s; }
.carousel-slide.is-active { opacity: 1; }
.cover-fallback { display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, #dff2e9, #eaf0e5 55%, #f4ecdf); }
.cover-fallback span { font-size: 64px; font-weight: 800; color: rgba(10,130,99,.28); letter-spacing: -.06em; }
.carousel-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.86);
  color: var(--ink); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.carousel-nav.prev { left: 12px; }
.carousel-nav.next { right: 12px; }
.carousel-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 4px; z-index: 4; }
.carousel-dot {
  width: 14px; height: 14px; border-radius: 50%; border: 3px solid transparent; padding: 0;
  background: rgba(255,255,255,.8); background-clip: padding-box;
  box-shadow: 0 1px 4px rgba(0,0,0,.45); transition: width .2s, background .2s;
}
.carousel-dot.is-active { background: #fff; background-clip: padding-box; width: 24px; border-radius: 99px; }

/* ---------- modal ---------- */
.modal-backdrop { position: fixed; inset: 0; background: rgba(9, 18, 13, .52); z-index: 90; display: flex; align-items: flex-end; justify-content: center; padding: 0; backdrop-filter: blur(2px); }
.modal { background: var(--surface); width: 100%; max-width: 600px; max-height: 92vh; overflow-y: auto; border-radius: 20px 20px 0 0; padding: 24px; position: relative; animation: modal-in .22s ease-out; }
@keyframes modal-in { from { transform: translateY(26px); opacity: .6; } to { transform: none; opacity: 1; } }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.modal-head h2 { font-size: 21px; }
.modal-sub { color: var(--muted); font-size: 13.5px; margin-top: 3px; }
.modal-close { border: 0; background: var(--surface-2); width: 34px; height: 34px; border-radius: 9px; color: var(--muted); display: grid; place-items: center; flex: 0 0 auto; }
.modal-close:hover { background: var(--surface-3); color: var(--ink); }
.modal-success { text-align: center; padding: 18px 6px; }
.modal-success h2 { margin: 14px 0 6px; }
.modal-success p { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.modal-success .btn { margin: 8px 4px 0; }
.success-ring { width: 64px; height: 64px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin: 0 auto; }
.apply-profile { display: flex; gap: 13px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 8px; background: var(--green-softer); }
.apply-profile strong { display: block; font-size: 15px; }
.apply-profile span { display: block; color: var(--muted); font-size: 13px; }
.apply-profile small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 3px; }
.profile-bar { height: 6px; background: #dfe8e2; border-radius: 99px; overflow: hidden; margin: 8px 0 2px; width: 190px; max-width: 100%; }
.profile-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--green-bright)); border-radius: 99px; }
.profile-bar.big { height: 8px; width: 100%; margin-top: 14px; }
.apply-warn { font-size: 12.5px; color: var(--amber); background: var(--amber-soft); padding: 8px 10px; border-radius: 9px; margin-top: 4px; }
.apply-warn a { color: var(--amber); font-weight: 700; text-decoration: underline; }
.notice-soft { background: var(--surface-2); border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; font-size: 13px; }
.notice-soft strong { display: block; font-size: 13.5px; }
.notice-soft span { color: var(--muted); }
.notice-soft a { color: var(--green-dark); font-weight: 650; text-decoration: underline; }

/* ---------- formularios ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label { font-size: 13px; font-weight: 650; color: #37433c; }
.field .hint { font-size: 12px; color: var(--muted); font-weight: 500; }
.input, select.input, textarea.input {
  width: 100%; min-height: 44px; padding: 10px 12px;
  border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface);
  font-size: 14.5px; transition: border-color .15s, box-shadow .15s; color: var(--ink);
}
textarea.input { min-height: 100px; resize: vertical; line-height: 1.55; }
select.input { appearance: none; padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235f6d66' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(10, 130, 99, .13); }
.input.is-error { border-color: #d46b64; }
.input-lg { min-height: 50px; font-size: 16px; }
.input-sm { min-height: 36px; padding: 6px 10px; font-size: 13px; }
.error-text { color: var(--red); font-size: 12.3px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.file-input { border: 1px dashed var(--line-strong); border-radius: 10px; padding: 12px; background: var(--surface-2); font-size: 13px; }
.file-input::file-selector-button { border: 0; background: var(--surface); border-radius: 7px; padding: 6px 10px; margin-right: 10px; font-weight: 600; cursor: pointer; }

/* ---------- auth ---------- */
.auth-wrap { min-height: calc(100vh - 70px); display: grid; place-items: center; padding: 36px 18px; background: radial-gradient(700px 320px at 15% 0%, rgba(18,185,141,.10), transparent 60%), var(--bg); }
.auth-shell { width: 100%; max-width: 1040px; display: grid; grid-template-columns: 1fr 440px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); }
.auth-aside { background: radial-gradient(500px 300px at 90% 0%, rgba(18,185,141,.30), transparent 60%), #14231d; color: #fff; padding: 38px 36px; display: flex; flex-direction: column; }
.brand-light { color: #fff; margin-bottom: 34px; }
.auth-aside h2 { color: #fff; font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.04em; max-width: 380px; }
.auth-points { list-style: none; display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.auth-points li { display: flex; gap: 11px; color: #9fe6ce; }
.auth-points strong { display: block; color: #fff; font-size: 14px; }
.auth-points small { display: block; color: #a9b8b1; font-size: 12.5px; margin-top: 2px; }
.auth-aside-foot { margin-top: auto; color: #7f9189; font-size: 12px; }
.auth-card { padding: 34px 32px; }
.auth-logo { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; color: var(--night, #0b1612); font: 800 26px/1 var(--font-display, inherit); letter-spacing: -.04em; }
.auth-logo .brand-svg { width: 38px; height: 38px; }
.brand-dot { fill: var(--brand-dot, #c8f560); }
.auth-logo .brand-dot { fill: #0a8263; }
.auth-card h1 { font-size: 25px; margin-bottom: 5px; }
.auth-card .sub { color: var(--muted); font-size: 13.8px; margin-bottom: 20px; }
.auth-tabs { display: flex; background: var(--surface-2); border-radius: 11px; padding: 4px; margin-bottom: 18px; }
.auth-tabs button { flex: 1; border: 0; background: none; padding: 8px; border-radius: 8px; font-weight: 650; font-size: 13.5px; color: var(--muted); }
.auth-tabs button.is-active { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.auth-form .field + .field { margin-top: 12px; }
.auth-form .btn { margin-top: 18px; }
.auth-foot { margin-top: 16px; font-size: 12.5px; color: var(--muted); text-align: center; }
.auth-foot a { color: var(--green-dark); font-weight: 650; }
.role-picker { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 8px; }
.role-card { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; padding: 15px 16px; border: 1px solid var(--line-strong); background: var(--surface); border-radius: 14px; transition: .15s; }
.role-card:hover { border-color: var(--green); background: var(--green-softer); transform: translateY(-1px); }
.role-card-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--green-soft); color: var(--green-dark); display: grid; place-items: center; margin-bottom: 4px; }
.role-card strong { font-size: 15px; }
.role-card small { color: var(--muted); font-size: 12.5px; }
.auth-logged { text-align: center; padding: 16px 0; }
.auth-logged h1 { margin: 12px 0 4px; }
.gate-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }

/* ---------- publicar / wizard ---------- */
.publish-wrap { max-width: 900px; padding: 38px 24px 80px; }
.publish-head { margin-bottom: 18px; }
.wizard { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: clip; } /* clip, no hidden: con hidden la barra sticky se pega a la tarjeta y no a la pantalla */
.wizard-top { padding: 20px 26px 0; border-bottom: 1px solid var(--line); background: var(--surface); position: sticky; top: 70px; z-index: 10; }
.wizard-dots { display: flex; gap: 6px; justify-content: space-between; }
.wizard-dot { border: 0; background: none; display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 650; color: var(--muted); padding: 3px 0 12px; }
.wizard-dot span { width: 25px; height: 25px; border-radius: 50%; background: var(--surface-2); color: var(--muted); display: grid; place-items: center; font-size: 11.5px; }
.wizard-dot.is-active { color: var(--ink); }
.wizard-dot.is-active span { background: var(--green); color: #fff; }
.wizard-dot.is-done span { background: var(--green-soft); color: var(--green-dark); }
.wizard-bar { height: 3px; background: var(--surface-2); border-radius: 99px; overflow: hidden; margin: 0 -26px; }
.wizard-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--green), var(--green-bright)); transition: width .3s; }
.wizard-current { font-size: 12px; color: var(--muted); padding: 9px 0 10px; }
.wizard-step { padding: 26px; }
.wizard-step-head { margin-bottom: 20px; }
.wizard-step-head h2 { font-size: clamp(22px, 2.6vw, 28px); }
.wizard-step-head p { color: var(--muted); font-size: 14px; margin-top: 5px; }
.quick-chips { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-top: 9px; }
.pick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pick-tile { border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 11px 10px; display: flex; align-items: center; gap: 8px; font-size: 12.8px; font-weight: 600; text-align: left; transition: .13s; }
.pick-tile:hover { border-color: var(--green); background: var(--green-softer); }
.pick-tile.is-active { border-color: var(--green); background: var(--green-soft); color: var(--green-dark); box-shadow: 0 0 0 2px rgba(10,130,99,.10); }
.pick-icon { width: 28px; height: 28px; border-radius: 8px; background: var(--surface-2); display: grid; place-items: center; color: var(--green-dark); flex: 0 0 auto; }
.pick-tile.is-active .pick-icon { background: #fff; }
.pick-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pick-card { display: flex; align-items: center; gap: 10px; text-align: left; padding: 12px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; color: var(--ink); transition: .13s; }
.pick-card:hover { border-color: var(--green); background: var(--green-softer); }
.pick-card.is-active { border-color: var(--green); background: var(--green-soft); box-shadow: 0 0 0 2px rgba(10,130,99,.10); }
.pick-card strong { display: block; font-size: 14px; }
.pick-card small { display: block; color: var(--muted); font-size: 11.5px; }
.pick-compact { padding: 11px 12px; }
.positions-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; padding: 14px 16px; background: var(--surface-2); border-radius: 13px; }
.positions-row strong { display: block; font-size: 14px; }
.positions-row span { display: block; color: var(--muted); font-size: 12.5px; }
.stepper { display: flex; align-items: center; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.stepper button { width: 32px; height: 32px; border: 0; background: var(--surface-2); border-radius: 7px; font-size: 17px; font-weight: 600; }
.stepper button:hover { background: var(--surface-3); }
.stepper span { min-width: 30px; text-align: center; font-weight: 700; }
.ai-strip { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid #ddd8f7; background: var(--violet-soft); border-radius: 13px; margin-bottom: 12px; }
.ai-strip > div { display: flex; align-items: center; gap: 9px; color: var(--violet); }
.ai-strip strong { display: block; font-size: 13.5px; color: #44358f; }
.ai-strip small { display: block; font-size: 12px; color: #6f63b8; }
.editor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.editor > label { display: block; font-size: 13px; font-weight: 650; margin-bottom: 7px; }
.chip-list { list-style: none; display: flex; flex-direction: column; gap: 5px; margin-bottom: 8px; min-height: 30px; }
.chip-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: var(--surface-2); border-radius: 8px; padding: 7px 9px; font-size: 12.8px; }
.chip-item button { border: 0; background: none; color: var(--muted); padding: 2px; display: grid; place-items: center; }
.chip-item button:hover { color: var(--red); }
.chip-empty { color: var(--muted); font-size: 12.3px; padding: 6px 0; }
.inline-add { display: flex; gap: 6px; }
.inline-add .input { flex: 1; }
.preview-wrap { max-width: 560px; }
.preview-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--surface); }
.preview-cover { height: 100px; background: linear-gradient(135deg, #dff2e9, #f4ecdf 55%, #e6f0e8); display: grid; place-items: center; }
.preview-cover span { font-size: 11.5px; font-weight: 700; color: var(--green-dark); background: rgba(255,255,255,.8); padding: 4px 10px; border-radius: 99px; }
.preview-body { padding: 0 18px 16px; }
.preview-body .logo { margin-top: -20px; }
.preview-body .job-title { margin-top: 8px; }
.preview-desc { color: var(--muted); font-size: 13.2px; margin-top: 10px; }
.preview-body .job-foot { margin-top: 12px; }
.wizard-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 26px; border-top: 1px solid var(--line); background: var(--surface); flex-wrap: wrap; }
.wizard-foot-right { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.success-card { text-align: center; padding: 48px 28px; }
.success-card h1 { margin: 16px 0 8px; }
.success-card p { color: var(--muted); max-width: 480px; margin: 0 auto; }
.gate-card { text-align: center; padding: 46px 28px; max-width: 620px; margin: 20px auto; }
.gate-card h1 { font-size: 27px; margin-bottom: 8px; }
.gate-card p { color: var(--muted); max-width: 470px; margin: 0 auto; }

/* ---------- panel ---------- */
.panel-shell { min-height: calc(100vh - 70px); }
#panel-app { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: calc(100vh - 70px); }
.panel-side { background: var(--surface); border-right: 1px solid var(--line); padding: 22px 18px; display: flex; flex-direction: column; gap: 18px; position: sticky; top: 70px; height: calc(100vh - 70px); overflow-y: auto; }
.panel-brand { display: flex; align-items: center; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.panel-brand-text { min-width: 0; }
.panel-brand-text strong { display: block; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.panel-brand-text a { display: inline-flex; align-items: center; gap: 3px; color: var(--green-dark); font-size: 11.5px; font-weight: 600; margin-top: 2px; }
#panel-logo .logo-fallback { width: 54px; height: 54px; border-radius: 14px; font-size: 17px; }
.panel-nav { display: flex; flex-direction: column; gap: 3px; }
.panel-nav-item { display: flex; align-items: center; gap: 10px; border: 0; background: none; padding: 10px 11px; border-radius: 10px; color: var(--muted); font-size: 14px; font-weight: 600; text-align: left; }
.panel-nav-item:hover { background: var(--surface-2); color: var(--ink); }
.panel-nav-item.is-active { background: var(--green-soft); color: var(--green-dark); }
.panel-side > .btn { width: 100%; }
.panel-side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--line); padding-top: 12px; }
.panel-main { padding: 28px 30px 70px; min-width: 0; }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 20px; }
.panel-head h1 { font-size: clamp(26px, 3vw, 34px); }
.panel-head p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.head-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.kpi-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-bottom: 18px; }
.kpi-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; align-items: center; gap: 10px; }
.kpi-card .kpi-ico { width: 34px; height: 34px; border-radius: 9px; background: var(--surface-2); color: var(--green-dark); display: grid; place-items: center; flex: 0 0 auto; }
.kpi-card b { display: block; font-size: 22px; letter-spacing: -.03em; line-height: 1.1; }
.kpi-card small { color: var(--muted); font-size: 11.8px; }
.kpi-card.highlight { background: var(--green-soft); border-color: #c9ecdf; }
.kpi-card.highlight .kpi-ico { background: #fff; }
.overview-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card + .card { margin-top: 14px; }
.card h2 { font-size: 17px; margin-bottom: 4px; }
.card .sub { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.card-head-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.funnel { display: flex; flex-direction: column; gap: 9px; }
.funnel-row { display: grid; grid-template-columns: 96px 1fr 26px; gap: 9px; align-items: center; font-size: 12.5px; }
.funnel-label { color: var(--muted); }
.funnel-bar { height: 9px; background: var(--surface-2); border-radius: 99px; overflow: hidden; }
.funnel-fill { display: block; height: 100%; border-radius: 99px; background: var(--green); }
.funnel-n { font-weight: 700; text-align: right; }
.funnel-fill.stage-nuevo { background: var(--blue); } .funnel-fill.stage-revisado { background: var(--violet); }
.funnel-fill.stage-entrevista { background: #d99a1f; } .funnel-fill.stage-ofrecido { background: var(--teal); }
.funnel-fill.stage-contratado { background: var(--green); } .funnel-fill.stage-descartado { background: #9aa39d; }
.todo-list { display: flex; flex-direction: column; gap: 6px; }
.todo-row { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: var(--surface-2); border: 0; border-radius: 10px; padding: 10px 11px; font-size: 12.8px; color: var(--text); }
.todo-row:hover { background: var(--surface-3); }
.todo-row strong { margin-left: auto; color: var(--green-dark); font-size: 11.8px; white-space: nowrap; }
.todo-icon { width: 30px; height: 30px; border-radius: 8px; background: #fff; color: var(--green-dark); display: grid; place-items: center; flex: 0 0 auto; }
.todo-done { display: flex; align-items: center; gap: 8px; color: var(--green-dark); background: var(--green-soft); padding: 12px; border-radius: 10px; font-size: 13px; }
.recent-list { display: flex; flex-direction: column; gap: 4px; }
.recent-row { display: flex; align-items: center; gap: 10px; border: 0; background: none; padding: 8px 6px; border-radius: 9px; text-align: left; }
.recent-row:hover { background: var(--surface-2); }
.recent-main { flex: 1; min-width: 0; }
.recent-main strong { display: block; font-size: 13.5px; }
.recent-main small { display: block; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--surface-3); flex: 0 0 auto; }
.avatar-fallback { display: grid; place-items: center; color: var(--green-dark); font-weight: 700; font-size: 14px; }
.avatar-xs { width: 24px; height: 24px; font-size: 9px; }
.avatar-sm { width: 34px; height: 34px; font-size: 11px; }
.avatar-lg { width: 56px; height: 56px; font-size: 17px; }
.avatar-xl { width: 76px; height: 76px; font-size: 24px; }
.avatar-xxl { width: 104px; height: 104px; font-size: 32px; }
.score-mini { font-size: 11px; font-weight: 750; color: var(--violet); background: var(--violet-soft); border-radius: 99px; padding: 3px 8px; white-space: nowrap; }

/* ofertas del panel */
.toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.toolbar-search { flex: 1 1 220px; max-width: 340px; margin-left: auto; }
.toolbar-select { max-width: 280px; }
.offer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.offer-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.offer-cover { height: 86px; background: linear-gradient(135deg, #dff2e9, #f4ecdf 55%, #e6f0e8); background-size: cover; background-position: center; padding: 10px; }
.offer-body { padding: 0 16px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.offer-body h3 { font-size: 16px; margin-top: 4px; }
.offer-meta { color: var(--muted); font-size: 12px; }
.offer-stats { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.offer-stats span { display: inline-flex; align-items: center; gap: 4px; }
.new-dot { color: var(--green-dark); background: var(--green-soft); border-radius: 99px; padding: 2px 7px; font-weight: 650; }
.reject-note { font-size: 12px; color: var(--red); background: var(--red-soft); padding: 6px 8px; border-radius: 7px; }
.offer-actions { display: flex; gap: 4px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; border-top: 1px solid var(--line); }

/* kanban */
.kanban { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 10px; min-height: 420px; scroll-snap-type: x proximity; }
.kanban-col { min-width: 258px; width: 258px; background: #edf1ed; border-radius: 14px; padding: 8px; display: flex; flex-direction: column; gap: 7px; scroll-snap-align: start; transition: background .15s; }
.kanban-col.is-over { background: #dff3ea; outline: 2px dashed var(--green); }
.kanban-head { display: flex; align-items: center; justify-content: space-between; padding: 5px 6px 3px; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.kanban-head b { background: var(--surface); border-radius: 99px; padding: 1px 7px; font-size: 11px; }
.kanban-cards { display: flex; flex-direction: column; gap: 7px; min-height: 60px; }
.kanban-empty { color: #8b978f; font-size: 12px; text-align: center; padding: 18px 8px; border: 1px dashed #d3dbd5; border-radius: 10px; }
.app-card { background: var(--surface); border: 1px solid var(--line); border-radius: 11px; padding: 10px; cursor: grab; transition: .13s; }
.app-card:hover { border-color: #bdc9c1; box-shadow: 0 4px 12px rgba(23,33,28,.06); }
.app-card.is-dragging { opacity: .45; }
.app-card-top { display: flex; align-items: center; gap: 8px; }
.app-card-name { flex: 1; min-width: 0; }
.app-card-name strong { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-card-name small { display: block; color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-card-meta { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 10.8px; margin-top: 7px; }
.stars-mini { color: #d99a1f; letter-spacing: 1px; }
.app-advance { display: flex; align-items: center; justify-content: center; gap: 4px; width: 100%; margin-top: 7px; border: 1px solid var(--line); background: var(--surface); border-radius: 7px; font-size: 11px; padding: 4px; color: var(--muted); }
.app-advance:hover { border-color: var(--green); color: var(--green-dark); background: var(--green-softer); }
.kanban-hint { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; margin-top: 4px; }

.stage-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 650; padding: 3px 8px; border-radius: 99px; background: var(--gray-soft); color: var(--gray); white-space: nowrap; }
.stage-pill i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.stage-pill.stage-nuevo { background: var(--blue-soft); color: var(--blue); }
.stage-pill.stage-revisado { background: var(--violet-soft); color: var(--violet); }
.stage-pill.stage-entrevista { background: var(--amber-soft); color: var(--amber); }
.stage-pill.stage-ofrecido { background: var(--teal-soft); color: var(--teal); }
.stage-pill.stage-contratado { background: var(--green-soft); color: var(--green-dark); }
.stage-pill.stage-descartado { background: var(--gray-soft); color: var(--gray); }

/* drawer */
.drawer { position: fixed; inset: 0; z-index: 95; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(9, 18, 13, .48); backdrop-filter: blur(2px); }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(560px, 100%); background: var(--surface); box-shadow: -20px 0 60px rgba(0,0,0,.18); animation: drawer-in .24s ease-out; overflow-y: auto; }
@keyframes drawer-in { from { transform: translateX(30px); opacity: .7; } to { transform: none; opacity: 1; } }
#drawer-body { padding: 22px; }
.drawer-head { display: flex; align-items: flex-start; gap: 12px; }
.drawer-id { flex: 1; min-width: 0; }
.drawer-id h2 { font-size: 22px; }
.drawer-id p { color: var(--muted); font-size: 13px; margin-top: 2px; }
.drawer-badges { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 6px; }
.contact-actions { display: flex; gap: 6px; flex-wrap: wrap; margin: 16px 0 4px; }
.drawer-section { border-top: 1px solid var(--line); padding: 16px 0 2px; margin-top: 14px; }
.drawer-section h3 { font-size: 14px; margin-bottom: 10px; }
.stage-picker { display: flex; gap: 5px; flex-wrap: wrap; }
.stage-choice { border: 1px solid var(--line); background: var(--surface); border-radius: 99px; padding: 6px 10px; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.stage-choice:hover { border-color: var(--green); color: var(--green-dark); }
.stage-choice.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.rating-row { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.stars { display: flex; gap: 1px; }
.star { border: 0; background: none; padding: 1px; color: #d6ddd7; }
.star.is-on { color: #e3a41c; }
.star.is-on svg { fill: currentColor; }
.tag-editor { margin-bottom: 12px; }
.tag-list { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 7px; }
.tag { display: inline-flex; align-items: center; gap: 4px; background: var(--violet-soft); color: #5344b8; border-radius: 99px; padding: 3px 8px; font-size: 11.5px; font-weight: 600; }
.tag button { border: 0; background: none; color: inherit; padding: 0; display: grid; place-items: center; opacity: .7; }
.tag-add { display: flex; gap: 6px; }
.tag-add .input { flex: 1; }
.notes-label { display: block; font-size: 12.5px; font-weight: 650; margin: 8px 0 5px; }
.notes-state { font-size: 11.5px; color: var(--green-dark); height: 16px; }
.drawer-headline { font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.mini-grid > div { background: var(--surface-2); border-radius: 9px; padding: 8px 10px; }
.mini-grid span { display: block; color: var(--muted); font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; }
.mini-grid strong { display: block; font-size: 12.5px; font-weight: 600; margin-top: 2px; }
.quote { margin: 0; padding: 10px 12px; border-left: 3px solid var(--green); background: var(--green-softer); border-radius: 0 9px 9px 0; font-size: 13.5px; color: #3f4c45; white-space: pre-line; }
.ai-box { background: var(--violet-soft); border: 1px solid #e0dbfa; border-radius: 13px; padding: 14px; margin-top: 16px; }
.ai-box-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.ai-box-head h3 { display: flex; align-items: center; gap: 5px; margin: 0; color: #44358f; }
.ai-score-row { display: flex; align-items: center; gap: 13px; margin-bottom: 10px; }
.score-ring { width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; position: relative; flex: 0 0 auto; }
.score-ring::after { content: ""; position: absolute; inset: 6px; background: var(--surface); border-radius: 50%; }
.score-ring span { position: relative; z-index: 1; font-size: 21px; font-weight: 750; letter-spacing: -.04em; }
.score-ring small { position: absolute; z-index: 1; bottom: 13px; font-size: 8.5px; color: var(--muted); letter-spacing: .1em; }
.ai-rec { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 99px; }
.ai-rec-ok { background: #d8f3e8; color: #076a51; }
.ai-rec-info { background: var(--blue-soft); color: var(--blue); }
.ai-rec-warn { background: var(--amber-soft); color: var(--amber); }
.ai-rec-bad { background: var(--red-soft); color: var(--red); }
.ai-summary { font-size: 13px; color: #3d3a5c; margin-bottom: 10px; }
.ai-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ai-cols h4 { display: flex; align-items: center; gap: 4px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: #5a4f9f; margin-bottom: 5px; }
.ai-cols ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.ai-cols li { font-size: 12px; color: #46425f; padding-left: 10px; position: relative; }
.ai-cols li::before { content: "•"; position: absolute; left: 0; color: #8b7fe0; }
.ai-loading { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #5a4f9f; }
.spinner { width: 15px; height: 15px; border: 2px solid #cfc8f2; border-top-color: #6b5bd2; border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; }
.drawer-foot { display: flex; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 18px; }

/* empresa editar */
.company-edit-grid { display: grid; grid-template-columns: 300px 1fr; gap: 14px; align-items: start; }
.logo-upload { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.gallery-item { position: relative; margin: 0; border-radius: 11px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-del { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 7px; border: 0; background: rgba(15,25,20,.72); color: #fff; display: grid; place-items: center; }
.gallery-empty { grid-column: 1/-1; border: 1px dashed var(--line-strong); border-radius: 12px; padding: 28px 16px; display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--muted); font-size: 12.5px; text-align: center; }
#p-gallery { margin-top: 10px; }

/* IA config */
.ai-status { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 99px; padding: 7px 12px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #b6c0ba; display: inline-block; }
.status-dot.ok { background: var(--green-bright); }
.status-dot.warn { background: #e3a41c; }
.provider-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.provider-card { border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 13px 14px; text-align: left; }
.provider-card:hover { border-color: var(--green); }
.provider-card.is-active { border-color: var(--green); background: var(--green-softer); box-shadow: 0 0 0 2px rgba(10,130,99,.10); }
.provider-card strong { display: block; font-size: 14px; }
.provider-card small { display: block; color: var(--muted); font-size: 11.8px; margin-top: 3px; line-height: 1.4; }
.toggle-row { display: flex; align-items: flex-start; gap: 11px; padding: 12px 0; border-top: 1px solid var(--line); margin-top: 12px; font-size: 13px; }
.toggle-row strong { display: block; font-size: 13.5px; }
.toggle-row small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.switch { position: relative; width: 42px; height: 24px; flex: 0 0 auto; margin-top: 2px; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: #ccd5cf; border-radius: 99px; transition: .2s; cursor: pointer; }
.switch span::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; background: #fff; top: 3px; left: 3px; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + span { background: var(--green); }
.switch input:checked + span::after { transform: translateX(18px); }
.ai-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.ai-explainer { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ai-explainer > div { background: var(--surface-2); border-radius: 11px; padding: 12px; }
.ai-explainer strong { display: block; font-size: 13px; margin-bottom: 4px; }
.ai-explainer p { font-size: 12.2px; color: var(--muted); }

/* ---------- perfil de persona ---------- */
.profile-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 20px; align-items: start; }
.profile-side { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 10px; }
.profile-card { text-align: center; padding: 22px; }
.profile-card > .avatar, .profile-card > .avatar-fallback { margin: 0 auto; }
.profile-card h2 { font-size: 20px; margin-top: 10px; }
.profile-headline { color: var(--muted); font-size: 13px; margin-top: 3px; }
.profile-card .muted { display: inline-flex; align-items: center; gap: 4px; margin-top: 5px; }
.profile-pct { font-size: 11.5px; color: var(--green-dark); font-weight: 650; margin-top: 4px; }
.profile-mini-stats { display: flex; justify-content: center; gap: 24px; margin: 16px 0 12px; }
.profile-mini-stats strong { display: block; font-size: 20px; letter-spacing: -.03em; }
.profile-mini-stats span { display: block; color: var(--muted); font-size: 11px; }
.profile-tip { display: flex; gap: 9px; background: var(--violet-soft); border: 1px solid #e2ddfa; border-radius: 13px; padding: 13px; color: var(--violet); }
.profile-tip strong { display: block; font-size: 12.5px; color: #44358f; }
.profile-tip span { font-size: 11.8px; color: #6b60b1; }
.profile-main { min-width: 0; }
.profile-form .card { margin-bottom: 0; }
.profile-form .card + .card { margin-top: 14px; }
.photo-row { display: flex; align-items: center; gap: 16px; }
.photo-preview .avatar-xxl, .photo-preview .avatar-fallback { border-radius: 50%; }
.photo-preview { flex: 0 0 auto; }
.sticky-save { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px; margin-top: 14px; display: flex; justify-content: flex-end; }
.my-list { display: flex; flex-direction: column; gap: 7px; }
.my-app { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; background: var(--surface); }
.my-app:hover { border-color: #cbd5ce; }
.my-app-main { flex: 1; min-width: 0; }
.my-app-main strong { display: block; font-size: 13.8px; }
.my-app-main span { display: block; color: var(--muted); font-size: 12px; }
.my-app-main small { display: block; color: #8a968f; font-size: 11.3px; margin-top: 2px; }
.file-pill { display: flex; align-items: center; gap: 8px; background: var(--surface-2); border-radius: 10px; padding: 10px 12px; font-size: 13px; margin-bottom: 12px; }
.file-pill span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.file-pill a { color: var(--green-dark); font-weight: 650; }
.file-pill button { border: 0; background: none; color: var(--red); font-size: 12px; }
.file-empty { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12.8px; background: var(--surface-2); border-radius: 10px; padding: 11px 12px; margin-bottom: 12px; }

/* ---------- admin ---------- */
.app-shell { padding: 34px 0 70px; }
.app-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.app-head h1 { font-size: 28px; }
.app-head p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; }
.tab { padding: 10px 14px; border: 0; background: none; color: var(--muted); font-weight: 650; font-size: 13.5px; cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; }
.tab.is-active { color: var(--ink); border-bottom-color: var(--green); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 22px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 13px; padding: 16px; }
.kpi .n { font-size: 26px; font-weight: 750; letter-spacing: -.03em; }
.kpi .l { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.table-wrap { overflow-x: auto; margin: 0 -20px; padding: 0 20px; }
table.data { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.data th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; padding: 0 10px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data td { padding: 12px 10px; border-bottom: 1px solid #eef2ee; vertical-align: top; }
table.data tr:last-child td { border-bottom: 0; }
table.data .cell-title { font-weight: 650; }
table.data .cell-sub { color: var(--muted); font-size: 12.3px; }
.row-actions { display: flex; gap: 5px; flex-wrap: wrap; }
.list-empty { color: var(--muted); font-size: 13.5px; padding: 24px 0; text-align: center; }
.company-cell { display: flex; align-items: center; gap: 8px; }

/* alertas y toasts */
.alert { border-radius: 11px; padding: 12px 14px; font-size: 13.6px; border: 1px solid transparent; margin-bottom: 12px; }
.alert-error { background: var(--red-soft); color: #8a1f19; border-color: #f3cbc8; }
.alert-ok { background: var(--green-soft); color: var(--green-dark); border-color: #c4e5d4; }
.alert-info { background: var(--surface-2); color: #3f4a45; border-color: var(--line); }
.toast-wrap { position: fixed; right: 18px; bottom: 18px; z-index: 120; display: flex; flex-direction: column; gap: 8px; }
.toast { background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 11px; font-size: 13.5px; box-shadow: 0 10px 30px rgba(0,0,0,.2); animation: toast-in .18s ease-out; max-width: 340px; }
.toast.ok { background: var(--green-dark); }
.toast.err { background: #8a1f19; }
@keyframes toast-in { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- info ---------- */
.info-page { max-width: 780px; padding: 52px 24px 80px; }
.info-page h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 14px; }
.info-page h2 { font-size: 20px; margin: 30px 0 8px; }
.info-page p { color: #3c4942; margin-bottom: 12px; }
.info-page ul { padding-left: 20px; list-style: disc; color: #3c4942; display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.info-page .lead { font-size: 17px; color: var(--muted); }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-top: 18px; }

/* ---------- footer ---------- */
.site-footer { background: #14211b; color: #b9c4bf; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; padding: 46px 24px 34px; }
.footer-brand .brand { color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: 13.3px; max-width: 300px; color: #9aa9a2; }
.footer-col h4 { color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.footer-col a { display: block; font-size: 13.3px; padding: 4px 0; color: #b9c4bf; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 18px 24px; border-top: 1px solid #26352d; font-size: 12.3px; color: #8d9c95; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr 420px; gap: 20px; }
  .hero-art { transform: scale(.9); transform-origin: center right; }
  .jobs-grid { grid-template-columns: repeat(2, 1fr); }
  .cats-grid { grid-template-columns: repeat(4, 1fr); }
  .companies-strip { grid-template-columns: repeat(3, 1fr); }
  .companies-grid { grid-template-columns: repeat(2, 1fr); }
  .kpi-grid { grid-template-columns: repeat(3, 1fr); }
  .offer-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr 320px; }
  #panel-app { grid-template-columns: 220px minmax(0, 1fr); }
  .panel-main { padding: 24px 22px 60px; }
  .company-edit-grid { grid-template-columns: 260px 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .hero-copy { max-width: 100%; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-aside { position: static; }
  .how-grid { grid-template-columns: 1fr; }
  .auth-shell { grid-template-columns: 1fr; max-width: 520px; }
  .auth-aside { display: none; }
  #panel-app { grid-template-columns: 1fr; }
  .panel-side { position: sticky; top: 70px; z-index: 30; height: auto; padding: 10px 16px; border-right: 0; border-bottom: 1px solid var(--line); flex-direction: row; align-items: center; gap: 10px; overflow-x: auto; }
  .panel-brand { border: 0; padding: 0; flex: 0 0 auto; }
  .panel-brand-text a { display: none; }
  .panel-brand { display: none; }
  .panel-nav { flex-direction: row; gap: 2px; }
  .panel-nav-item { padding: 8px 10px; white-space: nowrap; }
  .panel-nav-item span { display: none; }
  .panel-side > .btn { width: auto; min-height: 36px; padding: 0 12px; font-size: 0; gap: 0; flex: 0 0 auto; }
  .panel-side > .btn svg { width: 18px; height: 18px; }
  .panel-side-foot { display: none; }
  .panel-main { padding-top: 20px; }
  .profile-layout { grid-template-columns: 1fr; }
  .profile-side { position: static; }
  .company-hero-info .logo-xxl { margin-top: -40px; }
  .company-carousel { height: 240px; }
  .overview-grid { grid-template-columns: 1fr; }
  .ai-explainer { grid-template-columns: 1fr; }
  .company-edit-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .container { padding: 0 18px; }
  .header-inner { height: 62px; gap: 12px; }
  .main-nav { display: none; }
  .header-actions { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .mobile-menu[hidden] { display: none !important; }
  .hero-home { padding: 36px 0 30px; }
  .hero h1 { font-size: clamp(32px, 8.6vw, 44px); }
  .hero-sub { font-size: 15.5px; }
  .role-switch { grid-template-columns: 1fr; max-width: none; }
  .search-card { padding: 10px; }
  .search-card .field, .search-card .field-q { flex: 1 1 100%; }
  .search-card .btn { width: 100%; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 14px 8px; }
  .trust-grid strong { font-size: 12.5px; }
  .trust-grid small { font-size: 11px; }
  .section { padding: 40px 0; }
  .section-tight { padding: 26px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .jobs-grid { grid-template-columns: 1fr; }
  .cats-grid { grid-template-columns: 1fr 1fr; }
  .companies-strip { grid-template-columns: 1fr 1fr; }
  .companies-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px; padding-top: 34px; }
  .footer-brand { grid-column: 1/-1; }
  .search-page { padding: 26px 0 56px; }
  .search-main-input { flex: 1 1 100%; }
  .search-main .btn { flex: 1; }
  .filter-panel { display: none; padding: 14px; }
  .filter-panel.is-open { display: flex; }
  .filter-row { grid-template-columns: 1fr; gap: 4px; }
  .filter-label { padding-top: 0; }
  .filters-toggle { display: inline-flex; }
  .job-row-main { grid-template-columns: 44px 1fr; padding: 14px 15px; }
  .job-row .side { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; text-align: left; }
  .job-row-cover { display: none; }
  .save-btn { right: 10px; bottom: 10px; }
  .detail-wrap { padding: 18px 0 56px; }
  .carousel { height: 210px; }
  .detail-head { padding: 0 18px 18px; gap: 12px; }
  .detail-head .logo-xl { width: 66px; height: 66px; border-radius: 16px; margin-top: -32px; }
  .detail-block { padding: 18px; }
  .kv { display: block; }
  .kv span { display: block; }
  .kv span:last-child { text-align: left; margin-top: 3px; }
  .company-hero-info { padding: 0 18px; }
  .company-hero-info .logo-xxl { width: 84px; height: 84px; }
  .company-content { padding: 26px 18px 56px; }
  .publish-wrap { padding: 24px 14px 60px; }
  .wizard { border-radius: 18px; }
  .wizard-top { padding: 14px 16px 0; top: 62px; }
  .wizard-dot { font-size: 0; gap: 0; }
  .wizard-dot span { font-size: 11.5px; }
  .wizard-bar { margin: 0 -16px; }
  .wizard-current { padding: 7px 0 8px; }
  .wizard-step { padding: 18px; }
  .pick-grid { grid-template-columns: 1fr 1fr; }
  .pick-cards { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .editor-grid { grid-template-columns: 1fr; }
  .wizard-foot { padding: 13px 16px; }
  .wizard-foot-right { width: 100%; justify-content: flex-end; }
  .ai-strip { flex-direction: column; align-items: flex-start; }
  .panel-shell, #panel-app { min-height: auto; }
  .panel-side { top: 62px; }
  .panel-brand-text { display: none; }
  .panel-main { padding: 18px 14px 60px; }
  .kpi-grid { grid-template-columns: repeat(3, 1fr); }
  .kpi-card { padding: 11px; }
  .kanban { scroll-snap-type: x mandatory; margin: 0 -14px; padding: 0 14px 12px; }
  .kanban-col { min-width: 82vw; width: 82vw; }
  .toolbar-search { margin-left: 0; max-width: none; }
  .toolbar-select { max-width: none; flex: 1; }
  .drawer-panel { width: 100%; }
  #drawer-body { padding: 18px; }
  .mini-grid { grid-template-columns: 1fr 1fr; }
  .ai-cols { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-card { padding: 18px; }
  .my-app { flex-wrap: wrap; }
  .my-app .stage-pill { margin-left: 46px; }
  .sticky-save { bottom: 8px; }
  .modal { padding: 20px; }
  .auth-wrap { padding: 18px 12px 40px; }
  .auth-card { padding: 26px 20px; }
  .company-cell .cell-sub { white-space: nowrap; }
  .table-wrap { margin: 0 -14px; padding: 0 14px; }
}

@media (max-width: 430px) {
  .container { padding: 0 15px; }
  .brand-name { font-size: 18px; }
  .role-btn { padding: 10px 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cats-grid { grid-template-columns: 1fr 1fr; }
  .companies-strip { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .pick-grid { grid-template-columns: 1fr; }
  .stage-picker { gap: 4px; }
  .stage-choice { font-size: 10.5px; padding: 5px 8px; }
  .contact-actions .btn { flex: 1; }
  .toast-wrap { left: 12px; right: 12px; }
  .toast { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .art-ring { display: none; }
}
