/* Trabajos Produ — layout del theme. Colores, tipos y medidas salen de tokens.css. */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-text); font-size: 16px; line-height: 24px;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: 2px; }
a:hover { color: var(--brand-hover); }
/* Botones que son links: el color del texto lo define el botón, no el link (también en hover). */
a.tp-btn--primary, a.tp-btn--primary:hover { color: var(--on-brand); }
a.tp-btn--secondary:hover, a.tp-btn--ghost:hover { color: var(--brand); }
a.tp-btn--on-brand:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); color: var(--ink); text-wrap: balance; margin: 0 0 var(--space-4); }
h1 { font-size: 28px; line-height: 34px; font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: 22px; line-height: 28px; font-weight: 600; }
h3 { font-size: 18px; line-height: 24px; font-weight: 600; }
p { margin: 0 0 var(--space-4); }
@media (min-width: 768px) {
  h1 { font-size: 36px; line-height: 42px; letter-spacing: -0.015em; }
  h2 { font-size: 28px; line-height: 34px; letter-spacing: -0.01em; }
  h3 { font-size: 22px; line-height: 28px; }
}
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto; padding: var(--space-3) var(--space-4); background: var(--surface); color: var(--brand); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }

.tp-container { width: 100%; max-width: calc(var(--container) + 2 * var(--space-4)); margin-inline: auto; padding-inline: var(--space-4); }
@media (min-width: 768px) { .tp-container { padding-inline: var(--space-5); max-width: calc(var(--container) + 2 * var(--space-5)); } }
.tp-main { padding-block: 48px 80px; }
@media (min-width: 768px) { .tp-main { padding-block: 64px 112px; } }

/* ---------- Header ---------- */
.tp-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.admin-bar .tp-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .tp-header { top: 32px; } }
.tp-header__inner { display: flex; align-items: center; gap: var(--space-4); min-height: 72px; }
.tp-logo { display: inline-flex; align-items: center; flex: none; }
.tp-logo img { display: block; height: 22px; width: auto; }
@media (min-width: 768px) { .tp-logo img { height: 26px; } }
.tp-nav { margin-left: auto; }
.tp-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--space-1); }
.tp-nav a { display: block; padding: var(--space-2) var(--space-3); border-radius: var(--radius-md); color: var(--ink); text-decoration: none; font: 600 15px/20px var(--font-text); }
.tp-nav a:hover { background: var(--surface-sunken); color: var(--ink); }
.tp-nav .current-menu-item > a, .tp-nav .current_page_item > a, .tp-nav .current-menu-ancestor > a { color: var(--brand); background: var(--brand-soft); }
.tp-header__actions { display: flex; gap: var(--space-2); align-items: center; }
.tp-menu-toggle { display: none; margin-left: auto; border: 1px solid var(--line-strong); background: var(--surface); border-radius: var(--radius-md); width: 44px; height: 44px; cursor: pointer; place-content: center; color: var(--ink); }
.tp-menu-toggle svg { display: block; }

@media (max-width: 899px) {
  .tp-menu-toggle { display: grid; }
  .tp-nav, .tp-header__actions { display: none; }
  .tp-header.is-open .tp-header__panel { display: flex; }
  .tp-header__panel { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: var(--space-4); padding: var(--space-4); background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); }
  .tp-header.is-open .tp-nav, .tp-header.is-open .tp-header__actions { display: flex; margin: 0; }
  .tp-header.is-open .tp-nav ul { flex-direction: column; width: 100%; }
  .tp-header.is-open .tp-nav { width: 100%; }
  .tp-header.is-open .tp-nav a { padding: var(--space-3); font-size: 16px; }
  .tp-header.is-open .tp-header__actions { flex-direction: column; align-items: stretch; }
  .tp-header.is-open .tp-header__actions .tp-btn { width: 100%; }
}
@media (min-width: 900px) {
  .tp-header__panel { display: contents; }
  .tp-nav { margin-inline: auto; }
  .tp-header__actions { gap: var(--space-3); }
}
.tp-header__login { gap: 6px; }
.tp-header__login svg { flex: none; }

/* Crear cuenta: botón con menú de dos opciones */
.tp-signup { position: relative; }
.tp-signup__btn { gap: 6px; padding-right: var(--space-4); }
.tp-signup__btn svg { transition: transform .15s; }
.tp-signup__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.tp-signup__menu { position: absolute; right: 0; top: calc(100% + 10px); width: 360px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px rgba(38, 49, 131, .18); padding: 8px; z-index: 60; }
.tp-signup__opt { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.tp-signup__opt:hover, .tp-signup__opt:focus-visible { background: var(--surface-sunken); color: var(--ink); }
.tp-signup__opt strong { display: block; font: 700 16px/22px var(--font-display); }
.tp-signup__opt span span { display: block; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.tp-signup__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-content: center; }
.tp-signup__ic--pro { background: var(--brand); color: var(--on-brand); }
.tp-signup__ic--emp { background: var(--lila); color: var(--ink); }
.tp-signup__foot { margin: 4px 0 0; padding: 12px 12px 6px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-muted); }
.tp-signup__foot a { font-weight: 600; }
@media (max-width: 899px) {
  .tp-header.is-open .tp-signup__btn { display: none; }
  .tp-header.is-open .tp-signup__menu[hidden] { display: block; }
  .tp-signup__menu { position: static; width: auto; box-shadow: none; padding: 4px; }
  .tp-header.is-open .tp-header__login { order: 2; }
}

/* ---------- Footer ---------- */
.tp-footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: 56px 32px; color: var(--ink-muted); font-size: 14px; line-height: 20px; }
.tp-footer__grid { display: grid; gap: var(--space-5); }
@media (min-width: 768px) { .tp-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.tp-footer__logo { display: inline-block; margin-bottom: var(--space-4); }
.tp-footer__brand .tp-footer__logo img { height: 44px; width: auto; display: block; margin: 0; }
@media (min-width: 768px) { .tp-footer { padding-block: 72px 36px; } }
.tp-footer__brand p { max-width: 36ch; margin: 0; }
.tp-footer h2 { font: 600 12px/16px var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); margin: 0 0 var(--space-3); }
.tp-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.tp-footer a { color: var(--ink); text-decoration: none; }
.tp-footer a:hover { color: var(--brand); text-decoration: underline; }
.tp-footer__bottom { margin-top: 48px; padding-top: var(--space-4); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: space-between; }

/* ---------- Página genérica (editor de bloques) ---------- */
.tp-page__header { margin-bottom: var(--space-5); }
.tp-entry { max-width: 760px; }
.tp-entry--full { max-width: none; }
.tp-entry > * { margin-block: 0 var(--space-4); }
.tp-entry h2, .tp-entry h3 { margin-top: var(--space-6); }
.tp-entry ul, .tp-entry ol { padding-left: 1.25em; }
.tp-entry .alignwide { max-width: var(--container); }
.tp-entry .alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.tp-surface { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-5); }
@media (min-width: 768px) { .tp-surface { padding: var(--space-6); } }

/* ---------- Páginas de auth-kit ---------- */
.tp-auth .auth-kit { background: transparent; padding: 0; min-height: 0; }

/* ---------- Listado de empleos ---------- */
.tp-listing { display: grid; gap: var(--space-5); }
@media (min-width: 1024px) { .tp-listing { grid-template-columns: 280px minmax(0, 1fr); align-items: start; } }
.tp-filters { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-5); display: grid; gap: var(--space-4); }
@media (min-width: 1024px) { .tp-filters { position: sticky; top: 88px; } }
.tp-filters__title { font: 600 18px/24px var(--font-display); margin: 0; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
.tp-filters__title::-webkit-details-marker { display: none; }
.tp-filters__title::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--ink-muted); border-bottom: 2px solid var(--ink-muted); transform: rotate(45deg); margin: -4px 4px 0 auto; transition: transform .15s; }
.tp-filters__details[open] .tp-filters__title::after { transform: rotate(-135deg); margin-top: 4px; }
.tp-filters__title .tp-badge { margin-left: var(--space-2); }
.tp-filters__body { display: grid; gap: var(--space-4); margin-top: var(--space-4); }
@media (min-width: 1024px) { .tp-filters__title { cursor: default; } .tp-filters__title::after { display: none; } }
.tp-filters { padding: var(--space-4) var(--space-5); }
@media (min-width: 1024px) { .tp-filters { padding: var(--space-5); } }
.tp-results__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--space-3); margin-bottom: var(--space-4); }
.tp-results__count { color: var(--ink-muted); font-size: 14px; margin: 0; }
.tp-cards { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 768px) { .tp-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .tp-cards--list { grid-template-columns: 1fr; } }
.tp-empty { background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); padding: var(--space-6); text-align: center; }
.tp-empty h2 { font-size: 20px; line-height: 26px; }
.tp-empty p { color: var(--ink-muted); max-width: 46ch; margin-inline: auto; }
.tp-pagination-wrap { margin-top: var(--space-5); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-3); }

/* ---------- Ficha de empleo / empresa ---------- */
.tp-detail { display: grid; gap: var(--space-5); }
@media (min-width: 1024px) { .tp-detail { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } }
.tp-detail__aside { display: grid; gap: var(--space-4); }
@media (min-width: 1024px) { .tp-detail__aside { position: sticky; top: 88px; } }
.tp-back { display: inline-flex; gap: var(--space-1); align-items: center; font: 600 14px/20px var(--font-text); text-decoration: none; margin-bottom: var(--space-4); }
.tp-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.tp-facts li { display: grid; gap: 2px; }
.tp-facts dt, .tp-facts .tp-facts__label { font: 600 12px/16px var(--font-text); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-muted); }
.tp-facts .tp-facts__value { font-size: 15px; line-height: 22px; color: var(--ink); }
.tp-company-head { display: flex; gap: var(--space-4); align-items: center; }
.tp-company-logo { width: 72px; height: 72px; border-radius: var(--radius-lg); background: var(--celeste); display: grid; place-content: center; font: 700 24px/1 var(--font-display); color: var(--brand); overflow: hidden; flex: none; }
.tp-company-logo img { width: 100%; height: 100%; object-fit: contain; background: var(--surface); }
.tp-section-title { font: 600 18px/24px var(--font-display); margin: var(--space-6) 0 var(--space-3); }
.tp-section-title:first-child { margin-top: 0; }
.tp-prose { max-width: 70ch; }
.tp-prose p:last-child { margin-bottom: 0; }

/* ---------- Secciones prediseñadas (patterns) ---------- */
.tp-band { padding-block: var(--space-7); }
@media (min-width: 768px) { .tp-band { padding-block: var(--space-8); } }
.tp-band--surface { background: var(--surface); }
.tp-band--brand { background: var(--brand); color: var(--on-brand); }
.tp-band--brand h2, .tp-band--brand p { color: var(--on-brand); }
.tp-hero { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 900px) { .tp-hero { grid-template-columns: 1.15fr 1fr; } }
.tp-hero__title { font: 700 36px/40px var(--font-display); letter-spacing: -0.02em; margin: 0 0 var(--space-4); }
@media (min-width: 768px) { .tp-hero__title { font-size: 48px; line-height: 52px; } }
.tp-hero__lead { font-size: 18px; line-height: 28px; color: var(--ink-muted); max-width: 44ch; }
.tp-hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }
.tp-hero__art { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 48px; gap: var(--space-3); }
.tp-hero__art span { border-radius: var(--radius-lg); }
.tp-hero__art .a { grid-column: 1 / span 3; grid-row: span 3; background: var(--brand); }
.tp-hero__art .b { grid-column: 4 / span 3; grid-row: span 2; background: var(--lila); }
.tp-hero__art .c { grid-column: 4 / span 2; grid-row: span 2; background: var(--celeste); }
.tp-hero__art .d { grid-column: 6 / span 1; grid-row: span 1; background: var(--lima); }
.tp-hero__art .e { grid-column: 1 / span 2; grid-row: span 1; background: var(--ink); }
.tp-steps { display: grid; gap: var(--space-4); counter-reset: paso; padding: 0; margin: var(--space-5) 0 0; list-style: none; }
@media (min-width: 768px) { .tp-steps { grid-template-columns: repeat(3, 1fr); } }
.tp-steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-5); counter-increment: paso; }
.tp-band--surface .tp-steps li { background: var(--bg); border-color: transparent; }
.tp-steps li::before { content: counter(paso); display: inline-grid; place-content: center; width: 36px; height: 36px; border-radius: var(--radius-md); background: var(--lima); color: var(--ink); font: 700 18px/1 var(--font-display); margin-bottom: var(--space-3); }
.tp-steps h3 { margin-bottom: var(--space-2); }
.tp-steps p { color: var(--ink-muted); margin: 0; }
.tp-cats { display: grid; gap: var(--space-3); grid-template-columns: 1fr; margin-top: var(--space-5); }
@media (min-width: 640px) { .tp-cats { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .tp-cats { grid-template-columns: repeat(3, 1fr); } }
.tp-cat { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); padding: var(--space-4) var(--space-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: var(--ink); font: 600 16px/22px var(--font-display); transition: border-color .15s, box-shadow .15s; }
.tp-cat:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); color: var(--ink); }
.tp-cat small { font: 500 13px/18px var(--font-text); color: var(--ink-muted); white-space: nowrap; }
.tp-cta { display: grid; gap: var(--space-4); align-items: center; }
@media (min-width: 768px) { .tp-cta { grid-template-columns: 1fr auto; } }
.tp-cta h2 { margin: 0 0 var(--space-2); }
.tp-cta p { margin: 0; opacity: .9; }
.tp-btn--on-brand { background: var(--lima); color: var(--ink); }
.tp-btn--on-brand:hover { background: var(--surface); color: var(--ink); }

/* ---------- Bloques de WordPress con el design system ---------- */
.tp-landing > * { margin: 0; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.tp-root .wp-block-button > .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: var(--space-3) var(--space-5); border-radius: var(--radius-md); border: 1px solid transparent;
  background: var(--brand); color: var(--on-brand); font: 600 15px/20px var(--font-text); text-decoration: none;
  transition: background-color .15s, border-color .15s;
}
.tp-root .wp-block-button > .wp-block-button__link:hover { background: var(--brand-hover); color: var(--on-brand); }
.tp-root .wp-block-button.is-style-outline > .wp-block-button__link { background: var(--surface); color: var(--brand); border-color: var(--line-strong); }
.tp-root .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--brand-soft); border-color: var(--brand); }
.tp-root .wp-block-button.is-style-lima > .wp-block-button__link { background: var(--lima); color: var(--ink); }
.tp-root .wp-block-button.is-style-lima > .wp-block-button__link:hover { background: var(--surface); color: var(--ink); }
.tp-steps.wp-block-columns { display: grid; gap: var(--space-4); counter-reset: paso; margin: var(--space-5) 0 0; }
@media (min-width: 768px) { .tp-steps.wp-block-columns { grid-template-columns: repeat(3, 1fr); } }
.tp-steps > .wp-block-column { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-5); counter-increment: paso; margin: 0; }
.tp-band--surface .tp-steps > .wp-block-column { background: var(--bg); border-color: transparent; }
.tp-steps > .wp-block-column::before { content: counter(paso); display: inline-grid; place-content: center; width: 36px; height: 36px; border-radius: var(--radius-md); background: var(--lima); color: var(--ink); font: 700 18px/1 var(--font-display); margin-bottom: var(--space-3); }
.tp-steps > .wp-block-column h3 { margin: 0 0 var(--space-2); }
.tp-steps > .wp-block-column p { color: var(--ink-muted); margin: 0; }
.tp-band .tp-container > .tp-overline { margin-bottom: var(--space-2); }

/* ---------- Home y landings (patrones 0.2) ---------- */
.tp-band--celeste { background: var(--celeste); }
.tp-landing .tp-band { padding-block: 64px; }
@media (min-width: 768px) { .tp-landing .tp-band { padding-block: 104px; } }
/* Los grupos de los patrones manejan su propio espaciado. */
.tp-root :is(.tp-hh, .tp-hh__text, .tp-sec-head, .tp-paths, .tp-pc, .tp-checks, .tp-tabset, .tp-tabpanel, .tp-st, .tp-st > *, .tp-rowhead, .tp-split, .tp-split__text, .tp-kp, .tp-faqgrid, .tp-faq, .tp-fin .tp-container) > * { margin-block: 0; }
.tp-root p.tp-badge { width: fit-content; margin: 0; }
.tp-landing > .tp-container { margin-inline: auto; }
.tp-root .tp-hh__text > .tp-find { margin-top: 28px; }
.tp-root .tp-hh__text > .tp-hh__actions { margin-top: 32px; gap: var(--space-3); }
.tp-root .tp-landing .wp-block-button:not(.is-style-enlace) > .wp-block-button__link { min-height: 48px; padding: 14px 24px; font-size: 16px; }
.tp-root .tp-hh__actions .wp-block-button > .wp-block-button__link { min-height: 52px; padding-inline: 28px; }

.tp-sec-head { display: grid; gap: var(--space-3); max-width: 640px; margin-bottom: 32px; }
@media (min-width: 768px) { .tp-sec-head { margin-bottom: 48px; } }
.tp-sec-head h2 { font: 700 26px/32px var(--font-display); letter-spacing: -0.015em; }
.tp-sec-head p { font-size: 18px; line-height: 28px; color: var(--ink-muted); }
@media (min-width: 768px) { .tp-sec-head h2 { font-size: 32px; line-height: 38px; } }

/* Hero */
.tp-hh { display: grid; gap: var(--space-6); align-items: center; padding-block: 48px 64px; }
@media (min-width: 1024px) { .tp-hh { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; padding-block: 96px 112px; } }
.tp-hh__text { display: grid; gap: 0; }
.tp-hh__title { font: 700 44px/46px var(--font-display); letter-spacing: -0.03em; margin-top: 18px !important; }
@media (min-width: 768px) { .tp-hh__title { font-size: 64px; line-height: 66px; } }
@media (min-width: 1200px) { .tp-hh__title { font-size: 76px; line-height: 76px; letter-spacing: -0.035em; } }
.tp-mark { background: var(--lila); color: inherit; padding: 0 .12em; border-radius: 6px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.tp-hh__lead { font-size: 19px; line-height: 30px; color: var(--ink-muted); max-width: 28em; margin-top: 22px !important; }
@media (min-width: 768px) { .tp-hh__lead { font-size: 20px; } }
.tp-find { margin-top: 28px; background: var(--surface); border-radius: var(--radius-lg); padding: var(--space-4); display: grid; gap: var(--space-3); box-shadow: 0 0 0 1px var(--line); }
@media (min-width: 640px) { .tp-find { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; align-items: end; } }
.tp-find .tp-btn { min-height: 44px; }
.tp-hh__alt { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); margin-top: var(--space-4) !important; font-size: 14px; color: var(--ink-muted); }
.tp-hh__alt a { font-weight: 600; }

/* Muestra: directorio de profesionales */
.tp-demo-dir { position: relative; padding: 0 0 24px 24px; }
.tp-demo-dir::before { content: ""; position: absolute; left: 0; bottom: 0; width: 70%; height: 70%; background: var(--lila); border-radius: 24px; }
.tp-demo-dir__card { position: relative; background: var(--surface); border-radius: 20px; box-shadow: 0 24px 60px rgba(38, 49, 131, .16); overflow: hidden; }
.tp-demo-dir__top { padding: 20px 22px 16px; border-bottom: 1px solid var(--line); display: grid; gap: 14px; }
.tp-demo-dir__t { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); }
.tp-demo-dir__t strong { font: 700 18px/24px var(--font-display); }
.tp-demo-dir__t span { font-size: 13px; color: var(--ink-muted); }
.tp-demo-dir__q { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: var(--radius-md); background: var(--surface-sunken, #f2f2f4); font-size: 15px; }
.tp-demo-dir__q svg { color: var(--ink-muted); }
.tp-demo-dir__chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.tp-chip { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; font: 600 13px/1 var(--font-text); background: var(--brand-soft); color: var(--brand); }
.tp-chip--off { background: transparent; color: var(--ink-muted); box-shadow: inset 0 0 0 1px var(--line-strong); }
.tp-demo-dir__row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.tp-demo-dir__row:last-child { border-bottom: 0; }
.tp-demo-dir__row.is-hl { background: #f7f7fb; }
.tp-demo-dir__row .tp-avatar { width: 44px; height: 44px; font-size: 15px; }
.tp-avatar--celeste { background: var(--celeste); }
.tp-avatar--lima { background: var(--lima); color: var(--ink); }
.tp-demo-dir__n { display: block; font: 700 15px/20px var(--font-display); }
.tp-demo-dir__r { display: block; font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.tp-demo-dir__row .tp-tags { margin-top: 6px; gap: 6px; }
.tp-demo-dir__row .tp-tag { font-size: 12px; padding: 2px 8px; }
.tp-demo-dir__side { display: grid; justify-items: end; gap: 6px; }
.tp-demo-dir__link { font: 600 13px/18px var(--font-text); color: var(--brand); }
@media (max-width: 520px) { .tp-demo-dir { padding: 0 0 16px 16px; } .tp-demo-dir__row { grid-template-columns: 40px minmax(0, 1fr); } .tp-demo-dir__side { display: none; } }

/* Franja de profesiones */
.tp-ticker { background: var(--brand); color: var(--on-brand); overflow: hidden; padding-block: 18px; }
.tp-ticker__track { display: flex; gap: 28px; width: max-content; animation: tp-ticker 48s linear infinite; }
.tp-ticker span { font: 600 22px/28px var(--font-display); white-space: nowrap; display: inline-flex; align-items: center; gap: 28px; }
.tp-ticker span::after { content: ""; width: 10px; height: 10px; background: var(--lima); border-radius: 2px; transform: rotate(45deg); }
@keyframes tp-ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tp-ticker__track { animation: none; flex-wrap: wrap; width: auto; padding-inline: var(--space-4); } }

/* Caminos */
.tp-paths { display: grid; gap: var(--space-4); align-items: stretch; }
@media (min-width: 860px) { .tp-paths { grid-template-columns: 1fr 1fr; } }
.tp-pc { border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.tp-root .tp-pc > .wp-block-buttons { margin-top: auto; padding-top: var(--space-2); }
@media (min-width: 768px) { .tp-pc { padding: 36px; } }
.tp-pc__tag { font: 600 13px/18px var(--font-text); opacity: .8; }
.tp-pc__title { font: 700 34px/38px var(--font-display); letter-spacing: -0.025em; }
@media (min-width: 768px) { .tp-pc__title { font-size: 40px; line-height: 42px; } }
.tp-pc--pro { background: var(--lila); color: var(--ink); }
.tp-pc--emp { background: var(--brand); color: var(--on-brand); }
.tp-pc--emp .tp-pc__title { color: var(--on-brand); }
.tp-checks { display: grid; gap: var(--space-3); }
.tp-checks p { position: relative; padding-left: 30px; font-size: 16px; line-height: 24px; }
.tp-checks p::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.tp-pc .wp-block-buttons { align-items: center; gap: var(--space-5); }

/* Botón "enlace" y "borde claro" */
.tp-root .wp-block-button.is-style-enlace > .wp-block-button__link { background: transparent; color: var(--brand); padding-inline: 0; min-height: 0; border-color: transparent; text-decoration: underline; text-underline-offset: 3px; }
.tp-root .wp-block-button.is-style-enlace > .wp-block-button__link:hover { background: transparent; color: var(--brand-hover); }
.tp-root .tp-pc--pro .wp-block-button.is-style-enlace > .wp-block-button__link { color: var(--ink); }
.tp-root :is(.tp-pc--emp, .tp-band--brand) .wp-block-button.is-style-enlace > .wp-block-button__link { color: var(--on-brand); }
.tp-root .wp-block-button.is-style-borde-claro > .wp-block-button__link { background: transparent; color: var(--on-brand); border-color: rgba(255, 255, 255, .7); }
.tp-root .wp-block-button.is-style-borde-claro > .wp-block-button__link:hover { background: rgba(255, 255, 255, .12); color: var(--on-brand); }

/* Pestañas (Cómo funciona) */
.tp-switch { display: inline-flex; flex-wrap: wrap; gap: 4px; background: #ececf0; border-radius: 999px; padding: 4px; }
.tp-root .tp-tabset > .tp-switch { margin-bottom: 28px; }
.tp-switch [role="tab"] { border: 0; background: transparent; padding: 10px 18px; border-radius: 999px; font: 600 15px/20px var(--font-text); color: var(--ink-muted); cursor: pointer; }
.tp-switch [role="tab"][aria-selected="true"] { background: var(--brand); color: var(--on-brand); }
.tp-tabset:not(.is-ready) .tp-tabpanel + .tp-tabpanel { margin-top: var(--space-6); }
.tp-tabpanel__label { font: 700 20px/26px var(--font-display); margin-bottom: var(--space-4) !important; }
.tp-st { display: grid; gap: var(--space-4); counter-reset: tp-st; }
@media (min-width: 860px) { .tp-st { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tp-st > * { counter-increment: tp-st; background: var(--bg); border-radius: 16px; padding: 28px; display: grid; gap: 10px; align-content: start; }
.tp-st > *::before { content: counter(tp-st); font: 700 56px/48px var(--font-display); letter-spacing: -0.04em; color: var(--brand); }
.tp-st h4 { font: 700 22px/28px var(--font-display); }
.tp-st p { color: var(--ink-muted); font-size: 15px; line-height: 22px; }

/* Últimos empleos */
.tp-rowhead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--space-4); margin-bottom: 32px; }
@media (min-width: 768px) { .tp-rowhead { margin-bottom: 48px; } }
.tp-rowhead .tp-sec-head { margin-bottom: 0; }
.tp-joblist { background: var(--surface); border-radius: 20px; overflow: hidden; }
.tp-joblist__row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto 20px; gap: var(--space-4); align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.tp-joblist__row:last-child { border-bottom: 0; }
.tp-joblist__row:hover { background: #f7f7fb; color: var(--ink); }
.tp-joblist__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-content: center; background: var(--celeste); color: var(--brand); }
.tp-joblist__title { display: block; font: 700 17px/22px var(--font-display); }
.tp-joblist__meta { display: block; font-size: 14px; line-height: 20px; color: var(--ink-muted); margin-top: 2px; }
.tp-joblist__date { display: flex; align-items: center; gap: var(--space-3); font-size: 14px; color: var(--ink-muted); white-space: nowrap; }
.tp-joblist__chev { color: var(--ink-muted); }
@media (max-width: 640px) { .tp-joblist__row { grid-template-columns: 44px minmax(0, 1fr); padding: 16px; } .tp-joblist__date { grid-column: 2; } .tp-joblist__chev { display: none; } }
.tp-joblist--empty { padding: var(--space-6); display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; justify-content: space-between; }
.tp-joblist--empty p { margin: 0; color: var(--ink-muted); }
.tp-joblist--empty strong { color: var(--ink); }

/* Rubros */
.tp-rubros { display: grid; gap: var(--space-3); }
@media (min-width: 560px) { .tp-rubros { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .tp-rubros { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tp-rubro { background: var(--surface); border-radius: 16px; padding: 20px; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 14px; align-items: center; text-decoration: none; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.tp-band--surface .tp-rubro { background: var(--surface); }
.tp-rubro:hover { box-shadow: inset 0 0 0 2px var(--brand); color: var(--ink); }
.tp-rubro__ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-content: center; background: var(--celeste); color: var(--brand); }
.tp-rubro__name { display: block; font: 700 17px/22px var(--font-display); }
.tp-rubro__desc { display: block; font-size: 13px; line-height: 18px; color: var(--ink-muted); margin-top: 2px; }
.tp-rubro__n { font: 600 13px/18px var(--font-text); color: var(--brand); background: var(--brand-soft); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }

/* Bloque dividido (texto + muestra) */
.tp-split { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 960px) { .tp-split { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; } }
.tp-split__text { display: grid; gap: var(--space-4); justify-items: start; }
.tp-split__title { font: 700 34px/38px var(--font-display); letter-spacing: -0.025em; }
@media (min-width: 768px) { .tp-split__title { font-size: 44px; line-height: 46px; } }
.tp-split__lead { font-size: 18px; line-height: 28px; color: var(--ink-muted); }
.tp-kp { display: flex; flex-wrap: wrap; gap: 32px; margin-block: var(--space-2) !important; }
.tp-kp p { font-size: 14px; line-height: 20px; color: var(--ink-muted); max-width: 16em; }
.tp-kp strong { white-space: nowrap; }
.tp-kp strong { display: block; font: 700 36px/40px var(--font-display); color: var(--brand); }
.tp-demo-panel { background: var(--surface); border-radius: 20px; overflow: hidden; box-shadow: 0 24px 60px rgba(38, 49, 131, .18); }
.tp-demo-panel__head { padding: 20px 24px 0; display: grid; gap: 2px; }
.tp-demo-panel__head strong { font: 700 20px/26px var(--font-display); margin-bottom: var(--space-3); }

/* Preguntas */
.tp-faqgrid { display: grid; gap: var(--space-5); align-items: start; }
@media (min-width: 860px) { .tp-faqgrid { grid-template-columns: 1fr 1fr; gap: var(--space-6); } }
.tp-faq { display: grid; gap: var(--space-2); }
.tp-faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 0 20px; }
.tp-band--surface .tp-faq details { background: var(--bg); border-color: transparent; }
.tp-faq summary { cursor: pointer; list-style: none; padding: 18px 0; font: 600 17px/24px var(--font-display); display: flex; justify-content: space-between; gap: var(--space-4); }
.tp-faq summary::-webkit-details-marker { display: none; }
.tp-faq summary::after { content: "+"; font: 400 22px/24px var(--font-text); color: var(--brand); }
.tp-faq details[open] summary::after { content: "–"; }
.tp-faq details p { padding: 0 0 18px; margin: 0; color: var(--ink-muted); max-width: 64ch; }

/* Cierre */
.tp-fin { position: relative; overflow: hidden; }
.tp-fin::before, .tp-fin::after { content: ""; position: absolute; border-radius: 18px; pointer-events: none; }
.tp-fin::before { width: 180px; height: 180px; background: var(--lila); right: 6%; top: -40px; transform: rotate(12deg); }
.tp-fin::after { width: 110px; height: 110px; background: var(--lima); right: 18%; bottom: -30px; transform: rotate(-10deg); }
@media (max-width: 760px) { .tp-fin::before { width: 110px; height: 110px; right: -20px; } .tp-fin::after { display: none; } }
.tp-fin .tp-container { position: relative; display: grid; gap: var(--space-4); }
.tp-fin__title { font: 700 40px/42px var(--font-display); letter-spacing: -0.03em; color: var(--on-brand); max-width: 12em; }
@media (min-width: 768px) { .tp-fin__title { font-size: 64px; line-height: 64px; } }
.tp-fin__lead { font-size: 18px; line-height: 28px; opacity: .85; }
.tp-fin .wp-block-buttons { margin-top: var(--space-4); }

/* Footer: firma */
.tp-footer__by { display: inline-flex; align-items: center; gap: var(--space-2); color: inherit; text-decoration: none; }
.tp-footer__by:hover { opacity: .8; }
.tp-footer__by img { height: 16px; width: auto; display: block; }


/* ---------- Landings (patrones 0.3) ---------- */
.tp-root :is(.tp-demo, .tp-feats, .tp-feat) > * { margin-block: 0; }
@media (min-width: 1200px) { .tp-hh--landing .tp-hh__title { font-size: 60px; line-height: 62px; letter-spacing: -0.03em; } }
.tp-root .tp-hh__text > .tp-hh__note { margin-top: var(--space-4); font-size: 15px; color: var(--ink-muted); }

/* Rasgos con ícono */
.tp-feats { display: grid; gap: var(--space-4); }
@media (min-width: 600px) { .tp-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .tp-feats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tp-feat { background: var(--bg); border-radius: 16px; padding: 24px; display: grid; gap: 10px; align-content: start; }
.tp-band:not(.tp-band--surface) .tp-feat { background: var(--surface); }
.tp-feat::before { content: ""; width: 48px; height: 48px; border-radius: 12px; margin-bottom: 6px; background: var(--celeste); }
.tp-feat { position: relative; }
.tp-feat::after { content: ""; position: absolute; top: 37px; left: 37px; width: 22px; height: 22px; background: var(--brand); -webkit-mask: var(--tp-feat-icon) center / contain no-repeat; mask: var(--tp-feat-icon) center / contain no-repeat; }
.tp-feat h3 { font: 700 19px/24px var(--font-display); }
.tp-feat p { color: var(--ink-muted); font-size: 15px; line-height: 22px; }
.tp-feat--etiquetas { --tp-feat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2H2v10l9.3 9.3a1 1 0 0 0 1.4 0l8.6-8.6a1 1 0 0 0 0-1.4z'/%3E%3Ccircle cx='7' cy='7' r='1.5'/%3E%3C/svg%3E"); }
.tp-feat--valija { --tp-feat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2'/%3E%3Cpath d='M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16'/%3E%3C/svg%3E"); }
.tp-feat--video { --tp-feat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='3'/%3E%3Cpath d='m10 9 5 3-5 3z'/%3E%3C/svg%3E"); }
.tp-feat--campana { --tp-feat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9'/%3E%3Cpath d='M10.3 21a1.9 1.9 0 0 0 3.4 0'/%3E%3C/svg%3E"); }
.tp-feat--candado { --tp-feat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E"); }
.tp-feat--ubicacion { --tp-feat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.tp-feat--personas { --tp-feat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M3 21v-2a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v2'/%3E%3Cpath d='M16 3.1a4 4 0 0 1 0 7.8'/%3E%3Cpath d='M21 21v-2a4 4 0 0 0-3-3.9'/%3E%3C/svg%3E"); }
.tp-feat--filtro { --tp-feat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 3H2l8 9.5V19l4 2v-8.5z'/%3E%3C/svg%3E"); }
.tp-feat--panel { --tp-feat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='M3 9h18'/%3E%3Cpath d='M9 21V9'/%3E%3C/svg%3E"); }
.tp-feat--archivo { --tp-feat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cpath d='M16 13H8'/%3E%3Cpath d='M16 17H8'/%3E%3C/svg%3E"); }
.tp-feat--telefono { --tp-feat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E"); }
.tp-feat--pausa { --tp-feat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='4' width='4' height='16' rx='1'/%3E%3Crect x='14' y='4' width='4' height='16' rx='1'/%3E%3C/svg%3E"); }
.tp-feat--estrella { --tp-feat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l1.9 5.8L20 11l-6.1 2.2L12 19l-1.9-5.8L4 11l6.1-2.2z'/%3E%3C/svg%3E"); }

/* Pasos sobre fondo gris: tarjetas blancas */
.tp-band:not(.tp-band--surface) .tp-st > * { background: var(--surface); }

/* Muestras con bloque de color detrás */
.tp-demo { position: relative; padding: 0 0 24px 24px; }
.tp-demo::before { content: ""; position: absolute; left: 0; bottom: 0; width: 70%; height: 70%; background: var(--lila); border-radius: 24px; }
.tp-demo--lima::before { background: var(--lima); }
.tp-demo > *, .tp-demo__card { position: relative; }
.tp-demo__card { background: var(--surface); border-radius: 20px; box-shadow: 0 24px 60px rgba(38, 49, 131, .16); overflow: hidden; }
.tp-pf__head { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: var(--space-4); align-items: center; padding: 24px; }
.tp-pf__head .tp-avatar { width: 72px; height: 72px; font-size: 24px; }
.tp-pf__name { display: block; font: 700 22px/28px var(--font-display); }
.tp-pf__role { display: block; font-size: 14px; line-height: 20px; color: var(--ink-muted); margin-bottom: 6px; }
.tp-pf__sec { padding: 16px 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.tp-pf__lbl { font: 600 13px/18px var(--font-text); color: var(--ink-muted); }
.tp-pf__xp { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; }
.tp-pf__xp strong { font: 600 15px/20px var(--font-text); }
.tp-pf__xp span { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.tp-pf__xp em { font-style: normal; font-size: 13px; color: var(--ink-muted); grid-row: span 2; align-self: center; }
.tp-pf__links { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.tp-pf__links > span { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--surface-sunken); font: 600 13px/1 var(--font-text); }
.tp-pf__links svg { color: var(--brand); }
.tp-pf__bar { padding: 16px 24px; background: #f7f7fb; border-top: 1px solid var(--line); }
.tp-demo:has(.tp-toast) { padding-bottom: 40px; }
.tp-demo .tp-pf__sec:last-child { padding-bottom: 44px; }
.tp-toast { position: absolute !important; left: 0; bottom: 0; display: flex; align-items: center; gap: 12px; background: var(--surface); border-radius: 14px; padding: 14px 18px; box-shadow: 0 18px 40px rgba(0, 0, 0, .18); max-width: 300px; }
.tp-toast__ic { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-content: center; background: var(--lima); color: var(--ink); }
.tp-toast strong { display: block; font: 700 15px/20px var(--font-display); }
.tp-toast span span { display: block; font-size: 13px; line-height: 18px; color: var(--ink-muted); }
@media (max-width: 640px) { .tp-toast { position: relative !important; bottom: auto; margin-top: 12px; } }

/* Muestra: empleo publicado */
.tp-aviso__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 24px 0; }
.tp-aviso__vence { font-size: 13px; color: var(--ink-muted); }
.tp-aviso__main { padding: 14px 24px 20px; display: grid; gap: 12px; }
.tp-aviso__title { font: 700 24px/30px var(--font-display); letter-spacing: -0.01em; }
.tp-aviso__co { display: flex; align-items: center; gap: 10px; font: 600 15px/20px var(--font-text); }
.tp-aviso__co span span { display: block; font: 400 13px/18px var(--font-text); color: var(--ink-muted); }
.tp-aviso__logo { width: 36px; height: 36px; border-radius: 10px; background: var(--brand); color: var(--on-brand); display: grid; place-content: center; font: 700 13px/1 var(--font-display); }
.tp-aviso__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.tp-aviso__fact { background: var(--surface); padding: 14px 24px; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: center; }
.tp-aviso__fi { width: 36px; height: 36px; border-radius: 10px; background: var(--celeste); color: var(--brand); display: grid; place-content: center; }
.tp-aviso__fact small { display: block; font: 600 12px/16px var(--font-text); color: var(--ink-muted); }
.tp-aviso__fact b { display: block; font: 600 15px/20px var(--font-text); }
.tp-aviso__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 16px 24px 48px; background: #f7f7fb; }
.tp-aviso__people { display: flex; align-items: center; gap: 12px; font: 600 14px/20px var(--font-text); }
.tp-aviso__stack { display: flex; }
.tp-aviso__stack span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-content: center; font: 700 12px/1 var(--font-display); border: 2px solid #f7f7fb; margin-left: -8px; background: var(--lila); color: var(--brand); }
.tp-aviso__stack span:first-child { margin-left: 0; }
.tp-aviso__stack .c { background: var(--celeste); }
.tp-aviso__stack .l { background: var(--lima); color: var(--ink); }
.tp-aviso__stack .n { background: var(--ink); color: var(--on-brand); }
.tp-aviso__go { display: inline-flex; align-items: center; gap: 6px; font: 600 14px/20px var(--font-text); color: var(--brand); }
@media (max-width: 520px) { .tp-aviso__fact { padding: 12px 14px; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: start; } .tp-aviso__fi { width: 28px; height: 28px; border-radius: 8px; } .tp-aviso__fi svg { width: 15px; height: 15px; } .tp-aviso__main, .tp-aviso__top, .tp-aviso__foot { padding-inline: 16px; } }

/* Las muestras son ilustraciones: sin manito ni selección de texto al pasar el mouse. */
:is(.tp-demo, .tp-demo-dir, .tp-demo-panel) { pointer-events: none; user-select: none; -webkit-user-select: none; cursor: default; }

/* Bloque dividido con la muestra a la izquierda */
@media (min-width: 960px) { .tp-split--rev { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
@media (max-width: 959px) { .tp-split--rev > .tp-split__text { order: -1; } }

/* ---------- Contacto ---------- */
.tp-feat--mail { --tp-feat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E"); }
.tp-feat--instagram { --tp-feat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='20' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M17.5 6.5h.01'/%3E%3C/svg%3E"); }
.tp-ct { display: grid; gap: 40px; align-items: start; padding-block: 48px 64px; }
@media (min-width: 1024px) { .tp-ct { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; padding-block: 96px 112px; } }
.tp-root :is(.tp-ct, .tp-ct__text, .tp-canales, .tp-canal, .tp-ct__form, .tp-faqcols, .tp-faqcol) > * { margin-block: 0; }
.tp-ct__title { font: 700 42px/46px var(--font-display); letter-spacing: -0.03em; margin-top: 18px !important; }
@media (min-width: 768px) { .tp-ct__title { font-size: 64px; line-height: 66px; } }
.tp-root .tp-ct__lead { font-size: 19px; line-height: 30px; color: var(--ink-muted); margin-top: 20px; max-width: 28em; }
.tp-root .tp-canales { display: grid; gap: 12px; margin-top: 36px; }
.tp-canal { position: relative; background: var(--surface); border-radius: 16px; padding: 16px 20px 16px 82px; min-height: 80px; display: grid; align-content: center; gap: 2px; }
.tp-canal::before { content: ""; position: absolute; left: 20px; top: 50%; width: 48px; height: 48px; margin-top: -24px; border-radius: 12px; background: var(--celeste); }
.tp-canal::after { content: ""; position: absolute; left: 33px; top: 50%; width: 22px; height: 22px; margin-top: -11px; background: var(--brand); -webkit-mask: var(--tp-feat-icon) center / contain no-repeat; mask: var(--tp-feat-icon) center / contain no-repeat; }
.tp-canal__t strong { font: 700 16px/22px var(--font-display); }
.tp-canal__v { font-size: 15px; line-height: 22px; }
.tp-canal__v a { color: var(--ink-muted); text-decoration: none; }
.tp-canal__v a:hover { color: var(--brand); text-decoration: underline; }
.tp-ct__form { position: relative; padding: 0 0 24px 24px; }
.tp-ct__form::before { content: ""; position: absolute; left: 0; bottom: 0; width: 70%; height: 60%; background: var(--lila); border-radius: 24px; }
@media (max-width: 640px) { .tp-ct__form { padding: 0 0 16px 16px; } }

/* Formulario [tp_contacto] (lo genera tp-core) */
.tp-contacto { position: relative; background: var(--surface); border-radius: 20px; box-shadow: 0 24px 60px rgba(38, 49, 131, .16); padding: 32px; display: grid; gap: 20px; scroll-margin-top: 96px; }
@media (max-width: 640px) { .tp-contacto { padding: 22px; } }
.tp-contacto .tp-contacto__title { font: 700 24px/30px var(--font-display); margin: 0; }
.tp-contacto fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.tp-contacto legend { font: 600 14px/20px var(--font-text); margin-bottom: 10px; padding: 0; }
.tp-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; background: #ececf0; border-radius: 999px; padding: 4px; }
.tp-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.tp-seg label { padding: 9px 18px; border-radius: 999px; font: 600 14px/20px var(--font-text); color: var(--ink-muted); cursor: pointer; }
.tp-seg input:checked + label { background: var(--brand); color: var(--on-brand); }
.tp-seg input:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 2px; }
.tp-contacto__grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .tp-contacto__grid { grid-template-columns: 1fr 1fr; } }
.tp-contacto .tp-field { display: grid; gap: 6px; align-content: start; }
.tp-contacto__trampa { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tp-contacto__foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.tp-contacto__foot p { font-size: 14px; line-height: 20px; color: var(--ink-muted); max-width: 24em; margin: 0; }
.tp-contacto__foot .tp-btn { min-height: 52px; padding-inline: 28px; font-size: 16px; }
.tp-contacto--ok { justify-items: start; }
.tp-contacto--ok h2 { font: 700 26px/32px var(--font-display); margin: 0 !important; }
.tp-contacto--ok p { color: var(--ink-muted); margin: 0; max-width: 34em; }
.tp-contacto__okic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-content: center; background: var(--lima); color: var(--ink); }

/* Preguntas en dos columnas */
.tp-faqcols { display: grid; gap: 32px; align-items: start; }
@media (min-width: 860px) { .tp-faqcols { grid-template-columns: 1fr 1fr; } }
.tp-faqcol h3 { font: 700 22px/28px var(--font-display); margin-bottom: 16px !important; }

/* ---------- Próximamente (plantilla sin header ni footer) ---------- */
.tp-soon { position: relative; min-height: 100vh; min-height: 100dvh; display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; background: var(--bg); padding: 24px 16px; }
@media (min-width: 768px) { .tp-soon { padding: 40px 48px; } }
.tp-soon::before, .tp-soon::after { content: ""; position: absolute; border-radius: 28px; pointer-events: none; }
.tp-soon::before { width: 220px; height: 220px; background: var(--lila); right: -60px; top: 18%; transform: rotate(12deg); }
.tp-soon::after { width: 140px; height: 140px; background: var(--lima); left: -40px; bottom: 12%; transform: rotate(-10deg); }
@media (max-width: 640px) { .tp-soon::before { width: 120px; height: 120px; right: -50px; top: 10%; } .tp-soon::after { width: 90px; height: 90px; left: -40px; bottom: 8%; } }
.tp-soon__top, .tp-soon__main, .tp-soon__by { position: relative; z-index: 1; }
.tp-soon__top { display: flex; justify-content: center; }
.tp-soon__logo img { display: block; height: 26px; width: auto; }
.tp-soon__main { display: grid; place-items: center; padding-block: 40px; }
.tp-soon__content { max-width: 760px; display: grid; justify-items: center; text-align: center; gap: 0; }
.tp-root .tp-soon__content > * { margin-block: 0; }
.tp-soon__title { font: 700 44px/48px var(--font-display); letter-spacing: -0.03em; margin-top: 20px !important; }
@media (min-width: 768px) { .tp-soon__title { font-size: 76px; line-height: 78px; letter-spacing: -0.035em; } }
.tp-root .tp-soon__date { display: inline-block; margin-top: 28px !important; padding: 12px 22px; border-radius: 999px; background: var(--brand); color: var(--on-brand); font: 700 18px/24px var(--font-display); }
@media (min-width: 768px) { .tp-root .tp-soon__date { font-size: 22px; line-height: 28px; padding: 14px 28px; } }
.tp-soon__date::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 12px; vertical-align: 2px; background: var(--lima); border-radius: 2px; transform: rotate(45deg); }
.tp-soon__lead { font-size: 19px; line-height: 30px; color: var(--ink-muted); max-width: 34em; margin-top: 28px !important; }
.tp-soon__note { font: 600 16px/24px var(--font-text); color: var(--ink); margin-top: 12px !important; }
.tp-soon__by { display: flex; justify-content: center; align-items: center; gap: var(--space-2); font-size: 14px; color: var(--ink-muted); }
.tp-soon__by img { height: 16px; width: auto; display: block; }

/* ---------- 404 ---------- */
.tp-404 { text-align: center; padding-block: var(--space-7); }
.tp-404__code { font: 700 96px/1 var(--font-display); color: var(--brand); margin: 0 0 var(--space-3); letter-spacing: -0.03em; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation-duration: 0.01ms !important; } }

/* =========================================================
   Empleos: tablero (/empleos/) — v0.8
   ========================================================= */
.tp-tablero__hero { background: var(--surface); border-bottom: 1px solid var(--line); padding: 56px 0 40px; }
.tp-tablero__hero h1 { margin: 0; font: 700 clamp(28px, 3.2vw, 40px)/1.1 var(--font-display); letter-spacing: -.02em; }
.tp-tablero__hero p { margin: 12px 0 0; max-width: 56ch; font-size: 17px; line-height: 26px; color: var(--ink-muted); }
.tp-tablero__main { padding-block: 32px 96px; }

.tp-listing[aria-busy=true] .tp-results { opacity: .55; transition: opacity .15s; }
.tp-filters { border-radius: 20px; }
.tp-filters__title > span { display: inline-flex; align-items: center; gap: 8px; }
.tp-filters__n { display: inline-grid; place-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--brand); color: var(--on-brand); font: 700 12px/1 var(--font-text); }
.tp-filters fieldset.tp-field { border: 0; margin: 0; padding: 0; min-width: 0; }
.tp-filters fieldset.tp-field legend { padding: 0; margin-bottom: 6px; }
.tp-filters__clear { justify-self: start; font: 600 14px/20px var(--font-text); color: var(--brand); }

/* Casillas con cantidad */
.tp-checks-f { display: grid; gap: 2px; }
.tp-check-f { position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 7px 8px; margin-inline: -8px; border-radius: 10px; cursor: pointer; font-size: 15px; line-height: 20px; }
.tp-check-f:hover { background: var(--surface-sunken); }
.tp-check-f input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tp-check-f__box { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-strong); background: var(--surface); }
.tp-check-f input:checked + .tp-check-f__box { background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; border-color: var(--brand); }
.tp-check-f input:focus-visible + .tp-check-f__box { outline: 2px solid var(--focus); outline-offset: 2px; }
.tp-check-f__n { font-size: 13px; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.tp-check-f.is-cero { color: var(--ink-muted); }

/* Encabezado de resultados */
.tp-results__head { align-items: center; margin-bottom: 12px; }
.tp-results__count { margin: 0; font: 700 20px/26px var(--font-display); color: var(--ink); }
.tp-orden { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-muted); }
.tp-orden .tp-select { width: auto; min-width: 190px; height: 40px; padding-block: 0; font-size: 14px; background-color: var(--surface); }
.tp-chips { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tp-chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px 0 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font: 600 13px/1 var(--font-text); text-decoration: none; }
.tp-chip:hover { background: var(--brand); color: var(--on-brand); }

/* Fila de empleo */
.tp-joblist-x { display: grid; gap: 12px; }
.tp-jobrow { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: start; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.tp-jobrow:hover { border-color: var(--brand); box-shadow: 0 10px 24px -16px rgba(38, 49, 131, .45); color: var(--ink); }
.tp-jobrow:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.tp-jobrow__logo { width: 56px; height: 56px; border-radius: 14px; overflow: hidden; display: grid; place-content: center; background: var(--celeste); color: var(--brand); font: 700 18px/1 var(--font-display); border: 1px solid var(--line); }
.tp-jobrow__logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; display: block; }
.tp-jobrow__body { display: grid; gap: 4px; min-width: 0; }
.tp-jobrow__top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-height: 22px; }
.tp-jobrow__top .tp-overline { margin: 0; }
.tp-jobrow__title { font: 700 19px/25px var(--font-display); letter-spacing: -.01em; }
.tp-jobrow__company { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; line-height: 20px; color: var(--ink-muted); }
.tp-verif-ic { display: inline-flex; color: var(--success); }
.tp-jobrow__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--ink); }
.tp-jobrow__meta > span { display: inline-flex; align-items: center; gap: 6px; }
.tp-jobrow__meta svg { color: var(--ink-muted); flex: none; }
.tp-jobrow__side { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-muted); }
.tp-jobrow__go { margin-left: auto; display: inline-grid; place-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--surface-sunken); color: var(--brand); transition: transform .15s, background-color .15s; }
.tp-jobrow:hover .tp-jobrow__go { background: var(--brand); color: var(--on-brand); transform: translateX(2px); }
@media (min-width: 900px) {
  .tp-jobrow { grid-template-columns: 56px minmax(0, 1fr) 176px; padding: 22px 24px; }
  .tp-jobrow__side { grid-column: auto; white-space: nowrap; flex-direction: column; align-items: flex-end; justify-content: space-between; align-self: stretch; text-align: right; padding: 0 0 0 18px; margin: 0; border-top: 0; border-left: 1px solid var(--line); }
  .tp-jobrow__go { margin: auto 0 0; }
}
@media (max-width: 560px) {
  .tp-jobrow { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 16px; }
  .tp-jobrow__logo { width: 44px; height: 44px; border-radius: 12px; font-size: 15px; }
  .tp-jobrow__title { font-size: 17px; line-height: 23px; }
  .tp-jobrow__side { grid-column: 1 / -1; }
  .tp-orden label { display: none; }
}
@media (prefers-reduced-motion: reduce) { .tp-jobrow, .tp-jobrow__go { transition: none; } }

/* =========================================================
   Empleos: ficha
   ========================================================= */
.tp-empleo__cerrado { margin-bottom: 16px; }
.tp-empleo__cerrado a { font-weight: 600; }
.tp-empleo__col { display: grid; gap: 20px; min-width: 0; }
.tp-empleo__main { display: grid; gap: 28px; border-radius: 20px; }
.tp-empleo__head { display: grid; gap: 10px; }
.tp-empleo__top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tp-empleo__top .tp-overline { margin: 0; }
.tp-empleo__title { margin: 0; font: 700 clamp(24px, 2.4vw, 32px)/1.18 var(--font-display); letter-spacing: -.015em; }
.tp-empleo__company { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.tp-empleo__company > span:last-child { display: grid; gap: 2px; }
.tp-empleo__company strong { font: 700 16px/22px var(--font-display); }
.tp-empleo__logo { width: 48px; height: 48px; flex: none; border-radius: 12px; overflow: hidden; display: grid; place-content: center; background: var(--celeste); color: var(--brand); font: 700 16px/1 var(--font-display); border: 1px solid var(--line); }
.tp-empleo__logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; display: block; }
.tp-sello { display: inline-flex; align-items: center; gap: 4px; font: 600 13px/18px var(--font-text); color: var(--success); }

.tp-datos { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.tp-datos__item { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; align-content: center; align-items: center; padding: 14px; border-radius: 14px; background: var(--surface-sunken); }
.tp-datos__ic { grid-row: 1 / 3; width: 40px; height: 40px; border-radius: 12px; display: grid; place-content: center; background: var(--surface); color: var(--brand); }
.tp-datos dt { font: 600 12px/16px var(--font-text); color: var(--ink-muted); }
.tp-datos dd { margin: 0; font: 600 15px/20px var(--font-text); color: var(--ink); }
.tp-datos dd strong { font-weight: 700; }
.tp-datos dd small { display: block; font-weight: 400; font-size: 13px; line-height: 18px; color: var(--ink-muted); }

.tp-empleo__sec { display: grid; gap: 10px; }
.tp-empleo__sec h2 { margin: 0; font: 700 20px/26px var(--font-display); }
.tp-empleo__sec .tp-prose { font-size: 16px; line-height: 26px; }
.tp-empleo__sec .tp-prose > :first-child { margin-top: 0; }
.tp-empleo__sec .tp-prose > :last-child { margin-bottom: 0; }
.tp-empleo__prof { margin: 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-muted); }
.tp-empleo__prof a { font-weight: 600; }

/* Quién publica */
.tp-empresa-box { display: grid; gap: 14px; border-radius: 20px; }
.tp-empresa-box__k { margin: 0; font: 600 13px/18px var(--font-text); color: var(--ink-muted); }
.tp-empresa-box__head { display: flex; gap: 14px; align-items: center; }
.tp-empresa-box__head > div { display: grid; gap: 2px; }
.tp-empresa-box__logo { width: 64px; height: 64px; flex: none; border-radius: 16px; overflow: hidden; display: grid; place-content: center; background: var(--celeste); color: var(--brand); font: 700 20px/1 var(--font-display); border: 1px solid var(--line); }
.tp-empresa-box__logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; display: block; }
.tp-empresa-box__name { font: 700 18px/24px var(--font-display); }
.tp-empresa-box__meta { font-size: 14px; color: var(--ink-muted); }
.tp-empresa-box__sobre { margin: 0; font-size: 15px; line-height: 23px; color: var(--ink-muted); }
.tp-empresa-box__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-muted); }

/* Postularse + compartir */
.tp-apply { display: grid; gap: 14px; border-radius: 20px; }
.tp-apply__quedan { margin: 0; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); font-size: 14px; }
.tp-apply__hint { margin: -4px 0 0; text-align: center; font-size: 14px; color: var(--ink-muted); }
.tp-apply__fechas { margin: 0; text-align: center; font-size: 13px; color: var(--ink-muted); }
.tp-share { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.tp-share__t { font: 600 13px/18px var(--font-text); color: var(--ink-muted); }
.tp-share__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.tp-share__btn { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: 600 14px/1 var(--font-text); text-decoration: none; cursor: pointer; }
.tp-share__btn:hover { border-color: var(--brand); color: var(--brand); }
.tp-share__btn--wa:hover { border-color: #1e8f4e; color: #1e8f4e; }
.tp-share__btn.is-ok { border-color: var(--success); color: var(--success); }
.tp-share__btn[hidden] { display: none; }

/* Barra fija en el celular */
.tp-applybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -10px 24px -18px rgba(0, 0, 0, .35); transform: translateY(110%); transition: transform .2s; }
.tp-applybar.is-on { transform: none; }
.tp-applybar__t { min-width: 0; flex: 1; display: grid; }
.tp-applybar__t strong { font: 700 14px/18px var(--font-display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tp-applybar__t small { font-size: 12px; color: var(--ink-muted); }
.tp-applybar .tp-btn { flex: none; }
@media (min-width: 1024px) { .tp-applybar { display: none; } }
@media (prefers-reduced-motion: reduce) { .tp-applybar { transition: none; } }
@media (max-width: 560px) {
  .tp-datos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tp-datos__item { grid-template-columns: 1fr; row-gap: 8px; padding: 12px; }
  .tp-datos__ic { grid-row: auto; width: 34px; height: 34px; border-radius: 10px; }
}

/* ---------- Postularse (tp-core 0.9) ---------- */
.tp-post { display: grid; gap: 14px; }
.tp-apply:has([data-vista="postulado"]) .tp-apply__quedan,
.tp-apply:has([data-vista="duenio"]) .tp-apply__quedan { display: none; }
.tp-post__err { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--danger-soft); color: var(--danger); font-size: 14px; line-height: 20px; }
.tp-post__txt { margin: 0; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.tp-post__link { justify-self: center; display: inline-flex; align-items: center; min-height: 40px; padding: 0 10px; border-radius: 8px; color: var(--brand); font-weight: 700; font-size: 14px; text-decoration: none; }
.tp-post__link:hover { background: var(--brand-soft); }
.tp-post__yo { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--surface-sunken); }
.tp-post__yot { flex: 1; min-width: 0; display: grid; gap: 8px; font-size: 14px; }
.tp-post__ava { flex: none; display: grid; place-content: center; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--brand-soft); color: var(--brand); font: 700 15px/1 var(--font-display); }
.tp-post__ava img { width: 100%; height: 100%; object-fit: cover; }
.tp-post__ava--lg { width: 52px; height: 52px; font-size: 17px; }
.tp-pbar { position: relative; display: block; height: 6px; border-radius: 99px; background: var(--brand-soft); }
.tp-pbar > span { display: block; max-width: 100%; height: 100%; border-radius: inherit; background: var(--brand); }
.tp-pbar.has-marca { height: 8px; }
.tp-pbar.has-marca > span { background: var(--warning); }
.tp-pbar.has-marca::after { content: ""; position: absolute; left: var(--m); top: -4px; width: 2px; height: 16px; background: var(--ink); }
.tp-post__prog { display: grid; gap: 8px; }
.tp-post__progr { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; }
.tp-post__progr strong { font: 700 20px/24px var(--font-display); color: var(--warning); }
.tp-post__mini { justify-self: end; font-size: 12px; color: var(--ink-muted); }
.tp-post__aviso { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--warning-soft); font-size: 14px; line-height: 20px; }
.tp-post__ok { display: grid; justify-items: start; gap: 10px; }
.tp-post__okico { display: grid; place-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--success-soft); color: var(--success); }
.tp-post__okt { font: 700 18px/24px var(--font-display); }
.tp-post__est { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.tp-post__num { margin: 0; font-size: 15px; }
.tp-post__num strong { font: 700 22px/1 var(--font-display); color: var(--brand); }

/* Estado de una postulación. */
.tp-epill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px; font: 700 12px/18px var(--font-text); white-space: nowrap; }
.tp-epill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tp-epill--recibida { background: var(--brand-soft); color: var(--brand); }
.tp-epill--candidato { background: var(--success-soft); color: var(--success); }
.tp-epill--descartado { background: var(--surface-sunken); color: var(--ink-muted); }

/* Ventanas de postularse. */
.tp-pdlg { width: min(480px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 0; border-radius: 20px; background: var(--surface); color: var(--ink); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); overflow: auto; overscroll-behavior: contain; }
.tp-pdlg--cen { width: min(440px, calc(100vw - 32px)); }
.tp-pdlg::backdrop { background: rgba(0, 0, 0, .55); }
.tp-pdlg__top { display: flex; justify-content: flex-end; padding: 12px 12px 0; }
.tp-pdlg__x { display: grid; place-content: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--surface-sunken); color: var(--ink); cursor: pointer; }
.tp-pdlg__x:hover { background: var(--line); }
.tp-pdlg__body { margin: 0; padding: 0 28px 28px; }
.tp-pdlg__paso, .tp-pdlg--cen .tp-pdlg__body { display: grid; gap: 16px; }
.tp-pdlg--cen .tp-pdlg__body, .tp-pdlg__paso--ok { justify-items: center; text-align: center; }
.tp-pdlg__paso[hidden] { display: none; }
.tp-pdlg p { margin: 0; color: var(--ink-muted); font-size: 15px; line-height: 22px; }
.tp-pdlg__t { margin: 0; font: 700 22px/28px var(--font-display); overflow-wrap: anywhere; }
.tp-pdlg__t:focus { outline: none; }
.tp-pdlg__ico { display: grid; place-content: center; width: 56px; height: 56px; border-radius: 16px; background: var(--brand-soft); color: var(--brand); }
.tp-pdlg__ico--ok { border-radius: 50%; background: var(--success-soft); color: var(--success); }
.tp-pdlg__cv { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; }
.tp-pdlg__cvt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.tp-pdlg__cvt strong { font-size: 16px; }
.tp-pdlg__cvt span { font-size: 13px; color: var(--ink-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tp-pdlg__cvp { font: 700 20px/1 var(--font-display); color: var(--brand); }
.tp-pdlg .tp-post__link { justify-self: start; margin-left: -10px; }
.tp-pdlg__acc { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.tp-pdlg__acc--col { width: 100%; grid-template-columns: 1fr; }
.tp-pdlg__mini { font-size: 13px !important; }
.tp-btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
@media (max-width: 479px) {
	.tp-pdlg__body { padding: 0 20px 22px; }
	.tp-pdlg__acc { grid-template-columns: 1fr; }
	.tp-pdlg__acc .tp-btn--primary { order: -1; }
}


/* ---------- Desplegables (select) con la identidad del sitio ----------
 * Flecha propia en todos los navegadores. En Chrome/Edge (appearance: base-select)
 * también la lista que se abre: bordes redondeados, sombra, opciones con hover de marca.
 * Safari/Firefox y el iPhone muestran la lista del sistema.
 */
.tp-select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23575766' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-position: right 14px center;
	background-size: 16px 16px;
	background-repeat: no-repeat;
}
@supports (appearance: base-select) {
	.tp-select, .tp-pp__estsel, .tp-telpais__sel { appearance: base-select; }
	.tp-select { display: flex; align-items: center; background-image: none; padding-right: 14px; }
	.tp-select::picker-icon {
		content: ""; flex: none; width: 16px; height: 16px; margin-left: auto; padding-left: 10px; box-sizing: content-box;
		background: var(--ink-muted);
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right center / 16px 16px no-repeat;
		mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right center / 16px 16px no-repeat;
		transition: rotate .2s;
	}
	.tp-select:open::picker-icon { rotate: 180deg; }
	.tp-select:open { border-color: var(--brand); }
	.tp-pp__estsel::picker-icon, .tp-telpais__sel::picker-icon { display: none; }
	.tp-select::picker(select), .tp-pp__estsel::picker(select), .tp-telpais__sel::picker(select) {
		appearance: base-select;
		min-width: anchor-size(width);
		max-height: min(360px, 60dvh);
		margin: 6px 0;
		padding: 6px;
		border: 1px solid var(--line);
		border-radius: 14px;
		background: var(--surface);
		box-shadow: 0 20px 44px -14px rgba(0, 0, 0, .3);
		overflow-y: auto;
		overscroll-behavior: contain;
	}
	.tp-telpais__sel::picker(select) { min-width: 240px; }
	:is(.tp-select, .tp-pp__estsel, .tp-telpais__sel) option {
		display: flex; align-items: center; gap: 10px;
		min-height: 40px; padding: 9px 12px; border-radius: 9px;
		font: 400 15px/20px var(--font-text); color: var(--ink); cursor: pointer;
	}
	:is(.tp-select, .tp-pp__estsel, .tp-telpais__sel) option:hover,
	:is(.tp-select, .tp-pp__estsel, .tp-telpais__sel) option:focus-visible { background: var(--brand-soft); outline: none; }
	:is(.tp-select, .tp-pp__estsel, .tp-telpais__sel) option:checked { font-weight: 700; color: var(--brand); }
	:is(.tp-select, .tp-pp__estsel, .tp-telpais__sel) option::checkmark { order: 1; margin-left: auto; color: var(--brand); }
	:is(.tp-select, .tp-pp__estsel, .tp-telpais__sel) option:disabled { color: var(--ink-subtle); cursor: default; }
	.tp-select optgroup { padding-top: 4px; }
	.tp-select optgroup::label { display: block; padding: 10px 12px 4px; font: 700 12px/16px var(--font-text); color: var(--ink-muted); }
	.tp-select optgroup + optgroup { margin-top: 4px; border-top: 1px solid var(--line); }
}


/* ---------- Revisión de landings (tp-theme 0.16) ---------- */
/* Directorio (muestra): idiomas / portfolio a la derecha. */
.tp-demo-dir__extra { font-size: 12px; line-height: 16px; color: var(--ink-muted); text-align: right; max-width: 18ch; }
/* Ícono "ojo" para "Aparecé en el directorio". */
.tp-feat--ojo { --tp-feat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12c1-1.5 4.5-6 9.5-6s8.5 4.5 9.5 6c-1 1.5-4.5 6-9.5 6s-8.5-4.5-9.5-6z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
/* Pasos: con cuatro, 2×2 en tablet y 4 en fila en compu. */
@media (min-width: 860px) { .tp-st:has(> :nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .tp-st:has(> :nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); } .tp-st:has(> :nth-child(4)) > * { padding: 24px; } }
/* Elegí tu camino: botón y link más juntos cuando se apilan. */
.tp-pc .wp-block-buttons { row-gap: 12px; }
/* Celular: rubros compactos (sin la lista de roles) y rasgos en filas con el ícono al costado. */
@media (max-width: 559px) {
  .tp-rubro { padding: 14px 16px; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; }
  .tp-rubro__ic { width: 40px; height: 40px; border-radius: 10px; }
  .tp-rubro__desc { display: none; }
  .tp-rubro__name { font-size: 16px; line-height: 21px; }
}
@media (max-width: 599px) {
  .tp-feat { grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; padding: 18px; }
  .tp-feat::before { grid-row: 1 / span 2; width: 44px; height: 44px; margin: 0; }
  .tp-feat::after { top: 29px; left: 29px; }
  .tp-feat h3 { font-size: 17px; line-height: 22px; }
  .tp-feat p { font-size: 14px; line-height: 20px; }
}
/* Panel de postulantes (muestra) en celular: dos pestañas y el estado sin cortarse. */
@media (max-width: 520px) {
  .tp-demo-panel .tp-tab:nth-child(3) { display: none; }
  .tp-demo-panel .tp-table td:last-child { width: 1%; white-space: nowrap; }
  .tp-demo-panel__head { padding-inline: 16px; }
}
/* Muestra de la tarjeta "Visible para empresas". */
.tp-demo--lila::before { background: var(--lila); }
.tp-demo-vis__card { display: grid; gap: 14px; padding: 24px; border-top: 4px solid var(--success); }
.tp-demo-vis__top { display: flex; align-items: center; gap: 14px; }
.tp-demo-vis__ico { flex: none; display: grid; place-content: center; width: 48px; height: 48px; border-radius: 14px; background: var(--success-soft); color: var(--success); }
.tp-demo-vis__t { display: block; font: 600 13px/18px var(--font-text); color: var(--ink-muted); }
.tp-demo-vis__top strong { display: block; font: 700 20px/26px var(--font-display); }
.tp-demo-vis__txt { margin: 0; font-size: 14px; line-height: 21px; color: var(--ink-muted); }
.tp-demo-vis__sw { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 14px 0 16px; border: 1.5px solid var(--brand); border-radius: 12px; background: var(--brand-soft); font: 700 15px/1.2 var(--font-text); }
.tp-demo-vis__track { position: relative; flex: none; width: 46px; height: 26px; border-radius: 999px; background: var(--brand); }
.tp-demo-vis__track span { position: absolute; top: 3px; left: 23px; width: 20px; height: 20px; border-radius: 50%; background: #fff; }
@media (max-width: 520px) { .tp-demo-dir__t span { display: none; } }

/* Páginas de texto (términos, privacidad, genéricas): columna de lectura. */
.tp-main--texto { max-width: calc(820px + 2 * var(--space-5)); }
.tp-main--texto .tp-entry h2 { margin-top: var(--space-6); }
