/* KORbuild Match — protótipo de validação (dados fictícios) */

/* Identidade visual "Modelo C · marca forte": azul-marinho, verde-limão e azul de apoio. */
:root {
  --ink: #0A1628;
  --ink-2: #13233D;
  --lime: #C6F432;
  --lime-dark: #B3E01F;
  --blue: #1F4FD8;
  --blue-dark: #173EAE;
  --blue-tint: #E8EEFD;
  --ground: #F3F6FA;
  --card: #FFFFFF;
  --line: #E3E8EF;
  --line-strong: #CDD5E1;
  --muted: #4E5B70;
  --muted-2: #66748A;
  --green: #0E7C3A;
  --green-ring: #0E9F6E;
  --green-tint: #E4F8E9;
  --on-dark: #9FB0C8;
  --shadow: 0 1px 0 rgba(10, 22, 40, 0.04), 0 8px 20px -14px rgba(10, 22, 40, 0.28);
  --amber: #B45309;
  --amber-tint: #FDF0E6;
  --alert: #C2410C;
  --neutral-tint: #EEF0F4;
  --on-dark-muted: #C9D1E0;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); }
a:hover { color: var(--blue-dark); }

button, input { font-family: inherit; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

h1, h2, p { margin: 0; }

[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Estrutura ---------- */

.app {
  max-width: 480px;
  min-height: 100dvh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: var(--ground);
}

@media (min-width: 520px) {
  body { background: #E4E8EF; }
  .app { box-shadow: 0 0 0 1px var(--line); }
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  padding-top: calc(12px + env(safe-area-inset-top, 0px));
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

.content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 20px 16px calc(104px + env(safe-area-inset-bottom, 0px));
}

.section { display: flex; flex-direction: column; gap: 10px; }

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.section-head h2, .section > h2 { font-size: 17px; font-weight: 800; }

.section-head a { font-size: 14px; font-weight: 700; text-decoration: none; }

.greeting { display: flex; flex-direction: column; gap: 4px; }
.greeting h1 { font-size: 24px; font-weight: 800; letter-spacing: -0.4px; }
.greeting p { font-size: 14px; color: var(--muted); }

.greeting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.greeting-row .btn { flex-shrink: 0; }

.stack { display: flex; flex-direction: column; gap: 14px; }

/* ---------- Marca ---------- */

.brand { display: flex; align-items: center; gap: 10px; }

.brand-mark {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.brand-mark.lg { width: 36px; height: 36px; border-radius: 10px; }

.brand-name { font-size: 17px; font-weight: 800; letter-spacing: -0.3px; }
.brand-name span { color: var(--blue); }

/* ---------- Botões ---------- */

.btn {
  position: relative;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 120ms ease;
}

/* Botão visualmente com 40px, mas com área de toque de 44px. */
.btn:not(.btn-lg)::after {
  content: "";
  position: absolute;
  inset: -2px;
}

.btn-lg { min-height: 52px; font-size: 16px; border-radius: 14px; }

/* Botão solto dentro de um card: largura pelo conteúdo, não 100%. */
.card > .btn { align-self: flex-start; }

.btn-primary { background: var(--blue); color: #FFFFFF; }
.btn-primary:hover { background: var(--blue-dark); color: #FFFFFF; }

.btn-outline { background: var(--card); color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { background: var(--ground); color: var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.icon-btn {
  position: relative;
  width: 44px; height: 44px;
  border-radius: 22px;
  border: 0;
  background: var(--ground);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.icon-btn .dot {
  position: absolute;
  top: 9px; right: 10px;
  width: 9px; height: 9px;
  border-radius: 5px;
  background: var(--alert);
  border: 2px solid var(--ground);
}

.avatar {
  width: 44px; height: 44px;
  border-radius: 22px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800;
  text-decoration: none;
  flex-shrink: 0;
  color: #FFFFFF;
  background: var(--ink);
}

.avatar:hover { color: #FFFFFF; }
.avatar.blue { background: var(--blue); }
.avatar.lg { width: 48px; height: 48px; border-radius: 24px; font-size: 16px; color: var(--ink); }

/* ---------- Cards e linhas ---------- */

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-highlight { border: 1.5px solid var(--blue); }
.card-new { border: 1px dashed #9AA6BC; }

.row-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--ink);
  text-decoration: none;
}

.row-link:hover { color: var(--ink); border-color: var(--line-strong); }

.row-main { flex-grow: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.row-title { font-size: 15px; font-weight: 700; }
.row-sub { font-size: 13px; line-height: 1.4; color: var(--muted); }

.icon-tile {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: var(--neutral-tint);
  color: var(--ink);
}

.icon-tile.blue { background: var(--blue-tint); color: var(--blue); }
.icon-tile.amber { background: var(--amber-tint); color: var(--amber); }

.media { display: flex; gap: 12px; align-items: flex-start; }
.media.center { align-items: center; }

.chevron { color: var(--muted-2); flex-shrink: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }

.chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  background: var(--neutral-tint);
  color: var(--ink);
  line-height: 1.35;
}

.chip.green { background: var(--green-tint); color: var(--green); }
.chip.blue { background: var(--blue-tint); color: var(--blue); }
.chip.grey { background: var(--neutral-tint); color: var(--muted); }

.note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}

.note svg { color: var(--green); flex-shrink: 0; margin-top: 1px; }

/* ---------- Lista de vagas ---------- */

.list {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
}

.list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--neutral-tint);
}

.list-item:last-child { border-bottom: 0; }

/* ---------- Filtro de vagas (indicações) ---------- */

.filter {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  /* espaço para o anel de foco não ser cortado pelo overflow */
  padding: 4px;
  margin: -4px;
}

.filter button {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 20px;
  border: 1px solid var(--line-strong);
  background: var(--card);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  cursor: pointer;
}

.filter button[aria-pressed="true"] {
  border: 1.5px solid var(--blue);
  background: var(--blue-tint);
  color: var(--blue);
  font-weight: 700;
}

/* ---------- Reputação ---------- */


.rep-badge {
  display: flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 700; color: #9FE3C1;
}

.rep-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.rep-value { font-size: 26px; font-weight: 800; }
.rep-label { font-size: 12px; line-height: 1.35; color: var(--on-dark-muted); }
.rep-foot { font-size: 12px; line-height: 1.4; color: var(--on-dark-muted); }

/* ---------- Accordion ---------- */

.acc-h { margin: 0; font-size: inherit; }

.acc-btn {
  width: 100%;
  min-height: 60px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.acc-btn:hover { border-color: var(--line-strong); }

.acc-text { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.acc-title { font-size: 17px; font-weight: 800; }
.acc-sum { font-size: 13px; line-height: 1.35; color: var(--muted); }

.acc-arrow {
  display: flex;
  flex-shrink: 0;
  color: var(--muted-2);
  transition: transform 200ms ease;
}

.acc.is-open .acc-arrow { transform: rotate(180deg); }

/* Abre e fecha animando a altura (0fr -> 1fr). Fechado, o conteúdo sai da ordem de tabulação. */
.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  /* folga lateral para o anel de foco dos itens internos */
  margin: 0 -6px;
  transition: grid-template-rows 200ms ease, visibility 0s linear 200ms;
}

.acc.is-open .acc-panel {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 200ms ease, visibility 0s;
}

.acc-clip { min-height: 0; overflow: hidden; }

.acc-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 6px 4px;
}

.acc-more { display: flex; justify-content: flex-end; }

.acc-more a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 4px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

/* Variante escura (reputação) */
.acc-dark {
  background: var(--ink);
  color: #FFFFFF;
  border-radius: 18px;
}

.acc-dark .acc-btn {
  background: transparent;
  border-color: transparent;
  color: #FFFFFF;
  border-radius: 18px;
}

.acc-dark .acc-sum, .acc-dark .acc-arrow { color: var(--on-dark-muted); }
.acc-dark .acc-btn:focus-visible { outline-color: #B8CCF5; }
.acc-dark .acc-panel { margin: 0; }
.acc-dark .acc-inner { padding: 2px 16px 6px; }
.acc-dark a { color: #B8CCF5; }
.acc-dark a:focus-visible { outline-color: #B8CCF5; }

/* ---------- Navegação inferior ---------- */

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  z-index: 10;
  display: flex;
  background: var(--card);
  border-top: 1px solid var(--line);
  padding: 6px 4px calc(10px + env(safe-area-inset-bottom, 0px));
}

.bottom-nav a {
  flex: 1 1 0;
  min-height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none;
  color: var(--muted-2);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: -0.1px;
  min-width: 0;
}

.bottom-nav a[aria-current="page"] { color: var(--blue); font-weight: 800; }

/* ---------- Login ---------- */

.login {
  padding: 20px 24px 32px;
  padding-top: calc(20px + env(safe-area-inset-top, 0px));
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.login-top { display: flex; align-items: center; justify-content: space-between; }

.lang-btn {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 22px;
  border: 1px solid #D5DBE5;
  background: var(--card);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

.hero { display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }
.hero h1 { font-size: 30px; line-height: 1.15; font-weight: 800; letter-spacing: -0.6px; }
.hero p { font-size: 15px; line-height: 1.5; color: var(--muted); }

.login-card {
  margin: 0 -8px;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field-label { font-size: 13px; font-weight: 700; }
.field-head { display: flex; justify-content: space-between; align-items: baseline; }
.field-head a { font-size: 13px; font-weight: 600; text-decoration: none; }

.field input:not([type="radio"]):not([type="checkbox"]),
.field select,
.field textarea {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 16px;
  color: var(--ink);
  background: var(--card);
}

.segmented {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: #EDF0F5;
  border-radius: 14px;
}

.segmented button {
  flex-grow: 1;
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}

.segmented button[aria-pressed="true"] {
  background: var(--card);
  box-shadow: 0 1px 2px rgba(15, 27, 51, 0.12);
  font-weight: 700;
  color: var(--blue);
}

.divider { display: flex; align-items: center; gap: 12px; color: #6B7488; font-size: 13px; }
.divider::before, .divider::after { content: ""; flex-grow: 1; height: 1px; background: var(--line); }

.login-foot { text-align: center; font-size: 14px; color: var(--muted); }
.login-foot a { font-weight: 700; text-decoration: none; }

/* ---------- Aviso de protótipo ---------- */

.proto-banner {
  background: #FFF7E0;
  color: #6B4E00;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  padding: 6px 12px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 448px;
  z-index: 20;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.toast.show { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .acc-arrow { transition: none; }
}

/* ==========================================================================
   Jornada da empresa: telas internas, formulários, perfil e avaliação
   ========================================================================== */

/* ---------- Topo das telas internas ---------- */

.topbar-title { font-size: 18px; font-weight: 800; flex-grow: 1; min-width: 0; }

a.icon-btn { color: var(--ink); text-decoration: none; }
a.icon-btn:hover { color: var(--ink); }

/* ---------- Peças gerais ---------- */

.card-title { font-size: 17px; font-weight: 800; }
.page-title { font-size: 22px; line-height: 1.2; font-weight: 800; letter-spacing: -0.3px; }

.head-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.chip.amber { background: var(--amber-tint); color: var(--amber); }

.row-static { cursor: default; }
.row-static:hover { border-color: var(--line); }

a.list-item { color: inherit; text-decoration: none; }
a.list-item:hover { background: var(--ground); }
a.list-item:focus-visible { outline-offset: -3px; }
.list-item .chip { flex-shrink: 0; max-width: 9rem; justify-content: center; text-align: center; }

.note-box {
  padding: 12px 14px;
  background: var(--blue-tint);
  border-radius: var(--radius-sm);
  color: var(--ink);
}

.note-box svg { color: var(--blue); }

.empty {
  padding: 20px 16px;
  background: var(--card);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.plain-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  line-height: 1.4;
}

.status-select select {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--card);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

#cand-list:focus { outline: none; }

/* ---------- Formulários ---------- */

.form { display: flex; flex-direction: column; gap: 18px; }
.form-block { display: flex; flex-direction: column; gap: 18px; }
.form-note { font-size: 13px; line-height: 1.5; color: var(--muted); }

.field select, .field textarea { width: 100%; font-family: inherit; }
.field select { padding-right: 8px; }
.field textarea { padding: 12px 14px; min-height: 104px; resize: vertical; line-height: 1.45; }

.req { color: var(--alert); }
.field-hint { font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.field-error { font-size: 13px; line-height: 1.4; font-weight: 700; color: var(--alert); }

.field.invalid input:not([type="radio"]):not([type="checkbox"]),
.field.invalid select,
.field.invalid textarea { border-color: var(--alert); border-width: 1.5px; }
.field.invalid .pill span { border-color: var(--alert); }

fieldset.group { border: 0; padding: 0; margin: 0; min-width: 0; gap: 8px; }
fieldset.group > legend { padding: 0; margin-bottom: 8px; font-size: 13px; font-weight: 700; }

.form-status { font-size: 14px; font-weight: 700; color: var(--alert); }
.form-status:empty { margin: -9px 0; }
.form-actions { align-items: center; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.field .mini, .mini {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}

.add-row { display: flex; gap: 8px; align-items: center; }
.add-row input { flex: 1 1 auto; min-width: 0; }
.add-row .btn { flex-shrink: 0; }
.add-row.wrap { flex-wrap: wrap; align-items: flex-end; }
.add-row.wrap .mini { flex: 1 1 130px; }

.counter { margin-top: -12px; font-size: 12px; color: var(--muted); text-align: right; }

/* Chips com botão de remover */
.chip-list { list-style: none; margin: 0; padding: 0; gap: 10px 8px; }
.chip-list:empty { display: none; }
.chip-removable { padding-right: 4px; gap: 2px; }

.chip-x {
  position: relative;
  width: 24px; height: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 12px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.chip-x::after { content: ""; position: absolute; inset: -10px; }
.chip-x:hover { background: rgba(15, 27, 51, 0.1); }

/* Opções em formato de botão (radio) */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.field .pill, .pill { position: relative; cursor: pointer; font-size: 14px; font-weight: 600; }

.pill-input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
  margin: 0;
}

.pill span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: var(--card);
  color: var(--muted);
}

.pill-input:checked + span {
  border: 1.5px solid var(--blue);
  background: var(--blue-tint);
  color: var(--blue);
  font-weight: 700;
}

.pill-input:focus-visible + span,
.pill-input:focus-visible + .star-ico { outline: 3px solid var(--blue); outline-offset: 2px; }

/* Estrelas de nota */
.stars { display: flex; gap: 2px; }
.field .star, .star { position: relative; cursor: pointer; color: var(--muted-2); }
.star-ico { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 12px; }
.star.on { color: var(--amber); }
.star.on svg { fill: currentColor; }

.stars-static { display: inline-flex; gap: 2px; color: var(--amber); }

/* Escolha de candidato (radio ou checkbox em cartão) */
.choice { display: block; position: relative; cursor: pointer; }

.choice-input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
  margin: 0;
}

.choice-body {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.choice-body::after {
  content: "";
  flex-shrink: 0;
  width: 22px; height: 22px;
  border: 2px solid var(--line-strong);
  border-radius: 50%;
  background: var(--card);
}

.choice-input[type="checkbox"] + .choice-body::after { border-radius: 6px; }

.choice-input:checked + .choice-body { border: 1.5px solid var(--blue); background: var(--blue-tint); padding: 13.5px 15.5px; }
.choice-input:checked + .choice-body::after { border-color: var(--blue); background: var(--blue); box-shadow: inset 0 0 0 3px var(--blue-tint); }
.choice-input:focus-visible + .choice-body { outline: 3px solid var(--blue); outline-offset: 2px; }

/* ---------- Tela de conclusão ---------- */

.done {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  text-align: center;
}

.done h2 { font-size: 22px; line-height: 1.2; font-weight: 800; letter-spacing: -0.3px; }
.done h2:focus { outline: none; }
.done-text { max-width: 340px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.done .note { text-align: left; max-width: 340px; }
.done-actions { flex-direction: column; align-items: center; margin-top: 6px; }

.icon-tile.lg { width: 64px; height: 64px; border-radius: 20px; }

/* Lista de dados (rótulo e valor) */
.summary { margin: 0; display: flex; flex-direction: column; gap: 8px; width: 100%; text-align: left; }
.summary > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 8px; }
.summary dt { font-size: 13px; color: var(--muted); }
.summary dd { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.4; }

.done .summary {
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

/* ---------- Perfil do profissional ---------- */

.avatar.xl { width: 64px; height: 64px; border-radius: 32px; font-size: 20px; color: var(--ink); }
.profile-head { gap: 14px; }
.profile-name { display: flex; align-items: center; gap: 6px; font-size: 19px; font-weight: 800; letter-spacing: -0.2px; }

.rep-light .rep-value { color: var(--ink); }
.rep-light .rep-label { color: var(--muted); }

.hist { display: flex; flex-direction: column; gap: 12px; padding: 14px 16px; border-radius: var(--radius-md); }
.hist-badge { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; }
.hist-item + .hist-item { padding-top: 12px; border-top: 1px solid var(--line); }

/* Verificada: fundo verde e faixa lateral. Declarada: borda tracejada e neutra. */
.hist-verified { background: var(--green-tint); border: 1px solid #B7DFC9; border-left: 5px solid var(--green); }
.hist-verified .hist-badge { color: var(--green); }
.hist-verified .hist-item + .hist-item { border-top-color: #B7DFC9; }

.hist-declared { background: var(--card); border: 1.5px dashed #9AA6BC; }
.hist-declared .hist-badge { color: var(--muted); }

/* Avaliações recebidas */
.review {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.review-head { display: flex; flex-direction: column; gap: 4px; }
.review-answers { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.review-answers > div { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.review-answers dt { color: var(--muted); }
.review-answers dd { margin: 0; font-weight: 700; }
.review-text { margin: 0; padding-left: 12px; border-left: 3px solid var(--line-strong); font-size: 14px; line-height: 1.5; }
.review-reply { margin-left: 16px; padding: 10px 12px; background: var(--ground); border-radius: var(--radius-sm); font-size: 13px; line-height: 1.45; }
.review-reply p { margin-top: 4px; }

/* Estrela marcada não usa o visual de "pílula" */
.star .pill-input:checked + .star-ico { border: 0; background: transparent; color: inherit; }

/* Filtros quebram em mais de uma linha em vez de rolar para o lado */
.filter { flex-wrap: wrap; overflow-x: visible; }

/* ==========================================================================
   Jornada do profissional: vaga, candidaturas, perfil da empresa, avaliação
   ========================================================================== */

.inline-link { font-weight: 700; text-decoration: none; }
.inline-link:hover { text-decoration: underline; }

.card-tap { position: relative; }
.card-link { color: inherit; text-decoration: none; }
.card-link:hover { text-decoration: underline; }
.card-link:focus-visible { outline-offset: 3px; }
.vaga-title { margin: 0; font-size: 15px; }
.vaga-h { margin-bottom: 2px; }
.title-link { font-size: 16px; }

.avatar-empresa { background: var(--ink); color: #FFFFFF; }

.rep-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.prose { font-size: 14px; line-height: 1.55; color: var(--ink); white-space: pre-line; }

/* Lista de requisitos da vaga: atende (verde) e falta (âmbar) */
.req-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }

.req-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.req-ico {
  display: flex;
  flex-shrink: 0;
  width: 24px; height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.req-ok .req-ico { background: var(--green-tint); color: var(--green); }
.req-falta .req-ico { background: var(--neutral-tint); color: var(--muted-2); }
.req-falta span:not(.req-ico):not(.chip) { color: var(--muted); }
.req-list li .chip { margin-left: auto; }

/* Linha do tempo da candidatura */
.timeline {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(var(--n), 1fr);
  align-items: start;
}

.timeline li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  font-size: 10.5px;
  line-height: 1.25;
  color: var(--muted-2);
  padding-top: 5px;
}

.timeline li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: var(--line-strong);
  z-index: 0;
}

.timeline li:first-child::before { display: none; }

.tl-dot {
  position: relative;
  z-index: 1;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--line-strong);
}

.tl-done .tl-dot { background: var(--blue); border-color: var(--blue); }
.tl-done::before { background: var(--blue); }
.tl-current .tl-dot { background: var(--card); border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-tint); }
.tl-current .tl-label { color: var(--blue); font-weight: 700; }
.tl-nao .tl-dot { background: var(--alert); border-color: var(--alert); }
.tl-nao::before { background: var(--alert); }
.tl-nao .tl-label { color: var(--alert); font-weight: 700; }

/* ==========================================================================
   Chat: lista de conversas, conversa e liberação de WhatsApp/SMS/e-mail
   ========================================================================== */

/* ---------- Lista de conversas ---------- */

.chat-list { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-md); display: flex; flex-direction: column; }

.chat-row {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--neutral-tint);
  color: inherit;
  text-decoration: none;
}

.chat-row:last-child { border-bottom: 0; }
.chat-row:hover { background: var(--ground); }
.chat-row.chat-unread .row-title { font-weight: 800; }

.chat-row-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.chat-time { flex-shrink: 0; font-size: 12px; color: var(--muted-2); }
.chat-vaga-lbl { font-size: 12px; font-weight: 600; color: var(--blue); }
.chat-preview { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-wa-badge { margin-top: 2px; }

.chat-dot {
  flex-shrink: 0;
  width: 10px; height: 10px;
  margin-top: 6px;
  border-radius: 5px;
  background: var(--blue);
}

/* ---------- Cabeçalho de vaga no topo do chat ---------- */

.chat-vaga {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 0 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.chat-vaga a { color: var(--blue); }

/* ---------- Barra de liberação de WhatsApp / SMS / e-mail ---------- */

.wa-bar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  margin: 0 -16px 12px;
  background: var(--blue-tint);
  border-bottom: 1px solid var(--line);
}

.wa-bar.wa-liberado { background: var(--green-tint); }
.wa-msg { font-size: 13px; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.wa-liberado .wa-msg svg { color: var(--green); }

.wa-preview {
  margin: 0 0 12px;
  padding: 12px 14px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wa-preview-lbl { margin: 0; font-size: 13px; font-weight: 600; }
.wa-preview blockquote { margin: 0; padding-left: 10px; border-left: 3px solid var(--line-strong); font-size: 14px; line-height: 1.4; }
.wa-preview-note { margin: 0; font-size: 12px; color: var(--muted); }

/* ---------- Balões de mensagem ---------- */

.bubbles {
  list-style: none;
  margin: 0;
  padding: 4px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 52vh;
  overflow-y: auto;
}

.bubble { max-width: 82%; display: flex; flex-direction: column; gap: 2px; }
.bubble-in { align-self: flex-start; align-items: flex-start; }
.bubble-out { align-self: flex-end; align-items: flex-end; }

.bubble-text {
  padding: 9px 12px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.4;
  white-space: pre-wrap;
}

.bubble-in .bubble-text { background: var(--neutral-tint); color: var(--ink); border-bottom-left-radius: 4px; }
.bubble-out .bubble-text { background: var(--blue); color: #FFFFFF; border-bottom-right-radius: 4px; }
.bubble-time { font-size: 11px; color: var(--muted-2); padding: 0 4px; }

.bubble-sys {
  align-self: center;
  padding: 6px 12px;
  background: var(--neutral-tint);
  border-radius: 12px;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}

/* ---------- Campo de escrever mensagem ---------- */

.chat-compose {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding-top: 10px;
}

.chat-compose textarea {
  flex-grow: 1;
  min-height: 44px;
  max-height: 120px;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.35;
  resize: none;
  color: var(--ink);
  background: var(--card);
}

.chat-send {
  flex-shrink: 0;
  width: 40px;
  min-width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 20px;
}

/* ==========================================================================
   Triagem, pretensão salarial, currículo e bloco "Candidatura"
   ========================================================================== */

.triagem-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  margin-top: 12px;
  background: var(--ground);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.triagem-item .head-row { align-items: center; }
.triagem-item .head-row strong { font-size: 14px; }

.triagem-opcoes { display: flex; flex-direction: column; gap: 10px; }

/* ---------- Anexar currículo ---------- */

.file-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.file-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  background: var(--ground);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
}

.file-name {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
}

/* ---------- Bloco "Candidatura" (candidatos.html e perfil-profissional.html) ---------- */

.cand-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 12px;
  margin-top: 2px;
  border-top: 1px dashed var(--line-strong);
}

.cand-msg { font-style: italic; }
.cand-arquivo { margin-top: -6px; }

/* ---------- Localização (indicações e busca) ---------- */

.card-warn { border: 1.5px solid var(--amber); }
.card-warn > .btn { align-self: flex-start; }
.loc-line { color: var(--ink); }
.note-indent { padding-left: 24px; }


/* ==========================================================================
   Modelo C · marca forte — camada visual (topo escuro, verde-limão, cards leves)
   ========================================================================== */

:focus-visible { outline-color: var(--blue); }

@media (min-width: 520px) { body { background: #DDE3EA; } }

/* Topo escuro em todas as telas */
.topbar {
  background: var(--ink);
  color: #FFFFFF;
  border-bottom: 0;
}
.topbar :focus-visible { outline-color: var(--lime); }
.topbar .icon-btn, .topbar a.icon-btn { background: rgba(255, 255, 255, 0.1); color: #FFFFFF; }
.topbar a.icon-btn:hover { color: #FFFFFF; background: rgba(255, 255, 255, 0.16); }
.topbar .icon-btn .dot { background: var(--lime); border-color: var(--ink); }
.topbar .avatar { background: #FFFFFF; color: var(--ink); }
.topbar .avatar.blue { background: var(--lime); color: var(--ink); }
.topbar .chevron { color: var(--on-dark); }
.topbar-sub { font-size: 11px; font-weight: 600; color: var(--on-dark); }

.brand-mark { background: var(--lime); color: var(--ink); }
.brand-name span { color: var(--lime); }
.login .brand-name span { color: var(--lime); }

/* Botões: primário azul-marinho, destaque em verde-limão */
.btn-primary { background: var(--ink); color: #FFFFFF; }
.btn-primary:hover { background: var(--ink-2); color: #FFFFFF; }
.btn-outline { background: #EEF2F7; border-color: transparent; color: var(--ink); }
.btn-outline:hover { background: #E3E9F1; color: var(--ink); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: var(--lime-dark); color: var(--ink); }

/* Cards leves, sem borda marcada */
.card, .row-link, .list, .acc-btn, .empty {
  border-color: transparent;
  box-shadow: var(--shadow);
}
.empty { border: 1px dashed var(--line-strong); box-shadow: none; }
.row-link:hover, .acc-btn:hover { border-color: var(--line-strong); }
.card-highlight { border: 2px solid var(--lime); box-shadow: 0 0 0 4px rgba(198, 244, 50, 0.18), var(--shadow); }
.card-new { border: 1px dashed #A9B4C6; box-shadow: none; }
.card-warn { border: 2px solid #F5B94A; }
.icon-tile.blue { background: var(--ink); color: var(--lime); }

.chip { border-radius: 8px; background: #EEF2F7; color: #3A485C; }
.chip.green { background: var(--green-tint); color: var(--green); }
.note svg { color: var(--green-ring); }

.section-head h2, .section > h2, .acc-title { letter-spacing: -0.2px; }

/* Seletor de vaga / status: pílulas escuras */
.filter button { border-color: transparent; background: #FFFFFF; box-shadow: var(--shadow); }
.filter button[aria-pressed="true"] { border: 0; background: var(--ink); color: #FFFFFF; }

/* Seleção (pílulas de formulário) */
.pill-input:checked + span { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }

/* Navegação inferior: ativo com pílula verde-limão no ícone */
.bottom-nav { border-top: 1px solid var(--line); }
.bottom-nav a[aria-current="page"] { color: var(--ink); }
.bottom-nav a[aria-current="page"] svg {
  background: var(--lime);
  border-radius: 10px;
  padding: 2px 6px;
  width: 36px;
  height: 28px;
  box-sizing: border-box;
}

/* Anel de compatibilidade ("5/5") */
.match {
  --p: 100%;
  position: relative;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
  background: conic-gradient(var(--ring, var(--green-ring)) 0 var(--p), #E3E8EF 0);
  font-size: 13px; font-weight: 800; color: var(--ink);
}
.match::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #FFFFFF; }
.match span { position: relative; }
.match.low { --ring: #9AA6BA; }

/* ---------- Topo das telas iniciais (hero escuro com a reputação) ---------- */

.hero-c {
  margin: -20px -16px 0;
  padding: 8px 16px 64px;
  color: #FFFFFF;
  background:
    linear-gradient(var(--ink) 0, rgba(10, 22, 40, 0) 72px),
    radial-gradient(120% 80% at 100% 10%, rgba(31, 79, 216, 0.95) 0%, rgba(31, 79, 216, 0) 60%),
    radial-gradient(80% 70% at 0% 100%, rgba(14, 124, 102, 0.9) 0%, rgba(14, 124, 102, 0) 62%),
    var(--ink);
  border-radius: 0 0 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-c .greeting h1 { font-size: 15px; font-weight: 600; color: var(--on-dark); letter-spacing: 0; }
.hero-c .greeting p { font-size: 13px; color: #FFFFFF; font-weight: 600; }
.hero-c :focus-visible { outline-color: var(--lime); }

.hero-score { display: flex; align-items: flex-end; gap: 12px; }
.hero-score b { font-size: 56px; line-height: 0.95; font-weight: 800; letter-spacing: -2px; }
.hero-score div { display: flex; flex-direction: column; gap: 2px; padding-bottom: 6px; }
.hero-score strong { font-size: 14px; color: var(--lime); }
.hero-score span { font-size: 13px; color: var(--on-dark); }
.hero-score .novo { font-size: 30px; letter-spacing: -0.5px; }

.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hero-stat {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-stat b { display: block; font-size: 18px; font-weight: 800; }
.hero-stat span { display: block; font-size: 11.5px; line-height: 1.3; color: var(--on-dark); margin-top: 2px; }

.hero-actions { display: flex; }

/* Busca sobreposta ao topo escuro */
.search-c {
  position: relative;
  z-index: 1;
  margin-top: -56px;
  min-height: 54px;
  color: var(--muted-2);
  font-size: 15px;
  box-shadow: 0 10px 24px -12px rgba(10, 22, 40, 0.45);
}
.search-c > span:first-child { color: var(--ink); display: flex; }

/* ---------- Login ---------- */

body[data-page="login"] .app {
  background:
    radial-gradient(120% 50% at 100% 0%, rgba(31, 79, 216, 0.9) 0%, rgba(31, 79, 216, 0) 60%),
    radial-gradient(90% 40% at 0% 45%, rgba(14, 124, 102, 0.75) 0%, rgba(14, 124, 102, 0) 62%),
    var(--ink);
}
.login .brand-name, .login .hero h1 { color: #FFFFFF; }
.login .hero p { color: var(--on-dark); }
.login .lang-btn { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.18); color: #FFFFFF; }
.login .lang-btn:focus-visible { outline-color: var(--lime); }
.login-card { border: 0; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5); }
.login-foot { color: var(--on-dark); }
.login-foot a { color: var(--lime); }
.segmented button[aria-pressed="true"] { color: var(--ink); }

/* ---------- Minha empresa: plano e uso ---------- */

.plan-card { background: var(--ink); color: #FFFFFF; }
.plan-card .row-sub { color: var(--on-dark); }
.plan-card .btn-outline { background: rgba(255, 255, 255, 0.1); color: #FFFFFF; }
.plan-card :focus-visible { outline-color: var(--lime); }
.chip.lime { background: var(--lime); color: var(--ink); }
.usage-row { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: -6px; }
.usage-row span { color: var(--on-dark); }
.usage { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.usage span { display: block; height: 100%; border-radius: 4px; background: var(--lime); }
.plain-list li { display: flex; align-items: center; gap: 6px; }

/* ---------- Meu perfil: privacidade ---------- */

.priv-row { display: grid; grid-template-columns: minmax(0, 1fr) 150px; align-items: center; gap: 8px; }
.priv-row span { font-size: 14px; font-weight: 600; color: var(--ink); }

/* ---------- Resposta garantida: prazo vencido e seleção em lote ---------- */

.chip.red { background: #FDE8E4; color: #B42318; }
.sel-check { display: flex; align-items: center; gap: 8px; min-height: 36px; font-size: 13px; font-weight: 700; color: var(--ink); cursor: pointer; }
.sel-check input { width: 20px; height: 20px; accent-color: var(--ink); }
.sel-bar {
  position: sticky; top: 76px; z-index: 5;
  display: flex; flex-direction: column; gap: 10px;
  padding: 12px 14px; border-radius: var(--radius-md);
  background: var(--ink); color: #FFFFFF; font-size: 14px; font-weight: 700;
}
.sel-bar .btn-primary { background: var(--lime); color: var(--ink); }
.sel-bar .btn-outline { background: rgba(255, 255, 255, 0.12); color: #FFFFFF; }
.sel-bar :focus-visible { outline-color: var(--lime); }
.btn[aria-disabled="true"] { opacity: 0.5; }

/* ---------- Conexões: convites e talentos ---------- */

.card-convite { border: 2px solid var(--blue); box-shadow: 0 0 0 4px rgba(31, 79, 216, 0.12), var(--shadow); }
.sub-h { margin: 6px 0 0; font-size: 14px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: 0.4px; }
[data-salvar][aria-pressed="true"] { background: var(--ink); color: #FFFFFF; }
.avatar.avatar-empresa { color: #FFFFFF; background: var(--ink); }

/* ---------- Reputação: responder e denunciar ---------- */

.review-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.btn-quiet { background: transparent; color: var(--muted); }
.btn-quiet:hover { background: #EEF2F7; color: var(--ink); }
.btn-vinc { min-height: 34px; padding: 0 10px; font-size: 12.5px; flex-shrink: 0; }
.btn-vinc[aria-pressed="true"] { background: var(--ink); color: #FFFFFF; }

/* ---------- Notificações ---------- */

.icon-btn .bell-count {
  position: absolute; top: 4px; right: 2px;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--lime); color: var(--ink);
  font-size: 11px; font-weight: 800; line-height: 18px; text-align: center;
}
.notif { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--neutral-tint); color: var(--ink); text-decoration: none; }
.notif:last-child { border-bottom: 0; }
.notif:hover { background: var(--ground); color: var(--ink); }
.notif:focus-visible { outline-offset: -3px; }
.notif-nova { background: #F6FBE6; }
.notif .row-title { font-size: 14.5px; }
.pref-grid { display: grid; grid-template-columns: minmax(0, 1fr) 64px 64px; gap: 10px 6px; align-items: center; }
.pref-h { font-size: 12px; font-weight: 800; color: var(--muted); text-align: center; }
.pref-cat { font-size: 14px; font-weight: 600; }
.pref-ck { display: flex; justify-content: center; min-height: 44px; align-items: center; cursor: pointer; }
.pref-ck input { width: 22px; height: 22px; accent-color: var(--ink); }

/* ---------- Planos ---------- */

.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.check-list li { display: flex; gap: 8px; align-items: flex-start; }
.check-list svg { color: var(--green-ring); flex-shrink: 0; margin-top: 2px; }
.plan-card .row-title { color: #FFFFFF; }

/* ---------- Ajuda da IA ---------- */

.ia-card { border: 1.5px dashed var(--blue); box-shadow: none; }
.ia-card .row-title { display: flex; align-items: center; gap: 6px; color: var(--blue); }
.ia-sugestao { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
.ia-tag { font-size: 12px; font-weight: 800; color: var(--blue); text-transform: uppercase; letter-spacing: 0.4px; }

/* ---------- Cadastro ---------- */

body[data-page="cadastro"] .app,
body[data-page="entrar"] .app,
body[data-page="recuperar"] .app,
body[data-page="nova-senha"] .app {
  background:
    radial-gradient(120% 50% at 100% 0%, rgba(31, 79, 216, 0.9) 0%, rgba(31, 79, 216, 0) 60%),
    radial-gradient(90% 40% at 0% 45%, rgba(14, 124, 102, 0.75) 0%, rgba(14, 124, 102, 0) 62%),
    var(--ink);
}
.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; font-weight: 500; cursor: pointer; }
.check-row input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--ink); flex-shrink: 0; }
.done-card { align-items: flex-start; }
.den-row { justify-content: flex-end; }
.den-ok { display: flex; gap: 6px; align-items: center; }

/* ---------- Cadastro: confirmação do e-mail ---------- */

.email-card { align-items: flex-start; }
.email-previa { border: 1.5px dashed var(--line-strong); background: #FAFBFD; }
.email-corpo { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: var(--radius-sm); background: #FFFFFF; border: 1px solid var(--line); font-size: 14px; line-height: 1.5; }
.email-corpo .btn { align-self: flex-start; }
.login > .login-card + .login-card { margin-top: -12px; }
.email-previa .summary dd { overflow-wrap: anywhere; }

/* ---------- Demonstração ---------- */

body[data-page="demo"] .app {
  background:
    radial-gradient(120% 50% at 100% 0%, rgba(31, 79, 216, 0.9) 0%, rgba(31, 79, 216, 0) 60%),
    radial-gradient(90% 40% at 0% 45%, rgba(14, 124, 102, 0.75) 0%, rgba(14, 124, 102, 0) 62%),
    var(--ink);
}
.demo-link { box-shadow: none; border: 1px solid var(--line); }
.login-card .sub-h { margin: 4px 0 -6px; }

/* ---------- Mensagens sem resposta ---------- */

#msg-filter { margin-bottom: 4px; }
.sr-intro { margin: 0; }
.sr-card { display: flex; flex-direction: column; gap: 12px; }
.sr-card .row-main { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.sr-espera { margin-top: 4px; }
.sr-msg {
  margin: 0;
  padding: 12px 14px;
  border-radius: 4px 16px 16px 16px;
  background: var(--neutral-tint);
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.sr-rapidas { display: flex; flex-wrap: wrap; gap: 8px; }
.sr-rapida {
  flex-shrink: 0;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 20px;
  border: 1px solid var(--line-strong);
  background: var(--card);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.sr-rapida:hover { border-color: var(--blue); color: var(--blue); }
.sr-form { display: flex; flex-direction: column; gap: 10px; }
.sr-form textarea {
  width: 100%;
  min-height: 72px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  font: inherit;
  font-size: 15px;
  resize: vertical;
  background: var(--card);
  color: var(--ink);
}

/* ---------- Versão real (app/) ---------- */

.beta-banner { background: var(--ink); color: var(--lime); }
.meter { height: 8px; border-radius: 4px; background: var(--neutral-tint); overflow: hidden; }
.meter span { display: block; height: 100%; border-radius: 4px; background: var(--blue); transition: width .3s; }
.todo-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); }
.todo-list li { display: flex; gap: 8px; align-items: center; }
.todo-list li.ok { color: var(--ink); }
.todo-list li.ok svg { color: var(--green-ring); }
.btn[disabled] { opacity: .7; cursor: progress; }
.btn-sair { margin-left: auto; min-height: 40px; padding: 0 16px; background: rgba(255, 255, 255, .12); color: #FFFFFF; border: 0; }
.btn-sair:hover { background: rgba(255, 255, 255, .2); }

/* Busca de cidade (combobox) */
.combo { position: relative; }
.combo-lista {
  position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px);
  margin: 0; padding: 6px; list-style: none;
  max-height: 288px; overflow-y: auto;
  background: #FFFFFF; border: 1px solid var(--line-strong); border-radius: var(--radius-md);
  box-shadow: 0 16px 32px -16px rgba(10, 22, 40, 0.45);
}
.combo-lista [role="option"] {
  display: flex; flex-direction: column; gap: 1px;
  min-height: 44px; justify-content: center;
  padding: 6px 10px; border-radius: 10px; cursor: pointer;
}
.combo-lista [role="option"] strong { font-size: 15px; font-weight: 700; color: var(--ink); }
.combo-lista [role="option"] span { font-size: 12.5px; color: var(--muted); }
.combo-lista [role="option"]:hover,
.combo-lista [role="option"][aria-selected="true"] { background: var(--blue-tint); }
.combo-vazio { padding: 10px; font-size: 14px; color: var(--muted); }
.sobre-hero { position: relative; z-index: 1; margin-top: -48px; box-shadow: 0 10px 24px -12px rgba(10, 22, 40, 0.45); }
.combo input { width: 100%; box-sizing: border-box; }

/* ---------- Versão real: vagas e candidaturas ---------- */
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.exp-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.exp-item { padding: 12px 16px; border-bottom: 1px solid var(--neutral-tint); }
.exp-item:last-child { border-bottom: 0; }
.search-form input {
  width: 100%; box-sizing: border-box; min-height: 52px; padding: 0 16px;
  border: 1px solid var(--line-strong); border-radius: 16px; background: #FFFFFF;
  font: inherit; font-size: 15px; color: var(--ink);
}
.search-form input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.confirmar { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: var(--radius-sm); }
.triagem-item { display: flex; flex-direction: column; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--neutral-tint); }
.vaga-item .chips, .cand-card .chips { margin-top: 2px; }
#nova-vaga { align-self: flex-start; }
/* Mensagens (versão real) */
.bottom-nav a { position: relative; }
.nav-badge {
  position: absolute; top: 2px; left: calc(50% + 6px);
  min-width: 18px; height: 18px; padding: 0 5px; box-sizing: border-box;
  border-radius: 9px; background: var(--blue); color: #FFFFFF;
  font-size: 11px; font-weight: 800; line-height: 18px; text-align: center;
}
.chat-aviso { font-size: 12px; margin: 0; }
/* Contratação e reputação (versão real) */
.estrelas { display: inline-flex; gap: 1px; color: var(--line-strong); flex-shrink: 0; }
.estrela.on { color: var(--amber); }
.estrela.on svg { fill: currentColor; }
.av-respostas { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.av-respostas li { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); }
.av-respostas .chip { flex-shrink: 0; }
.av-resposta { padding: 10px 12px; border-left: 3px solid var(--line-strong); background: var(--ground); border-radius: 0 10px 10px 0; }
.av-responder { display: flex; flex-direction: column; gap: 8px; }
.av-responder textarea { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font: inherit; font-size: 14px; }
.av-ref { margin: -2px 0 2px; font-weight: 600; color: var(--blue); }
.avaliacao .head-row { align-items: flex-start; }
/* Avisos e plano (versão real) */
.notif-nova { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue) inset; }
.notif-quando { font-size: 12px; color: var(--muted-2); }
.pref-linha { border: 0; margin: 0; padding: 12px 0; border-bottom: 1px solid var(--neutral-tint); display: flex; flex-direction: column; gap: 6px; }
.pref-linha:last-of-type { border-bottom: 0; }
.pref-linha legend { padding: 0; float: left; }
.plano-preco { display: flex; align-items: baseline; gap: 6px; }
.plano-preco b { font-size: 30px; font-weight: 800; letter-spacing: -0.5px; }
.plano-preco span { color: var(--muted); font-size: 14px; }
.topbar #sino { margin-left: auto; }
