* { box-sizing: border-box; }
:root {
  --amber: #FFC728;
  --amber-dark: #f2b900;
  --ink: #14151a;
  --ink-soft: #4a4d57;
  --muted: #7a7d87;
  --line: #e8e8ec;
  --bg: #F2F2F2;
  --card: #ffffff;
  --radius: 16px;
}
html, body { height: 100%; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 { color: var(--ink); font-weight: 800; letter-spacing: -0.01em; }
hr { border: none; border-top: 1px solid var(--line); margin: 1.2rem 0; }
.muted { color: var(--muted); font-size: 0.9rem; }
label { display: block; font-weight: 600; font-size: 0.9rem; margin: 12px 0 5px 0; color: var(--ink-soft); }

input[type="text"], input[type="email"], input[type="password"], select, textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d8d8de;
    border-radius: 10px;
    font-size: 0.96rem;
    background: #fff;
    color: var(--ink);
    font-family: inherit;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--amber); outline-offset: 1px; }

.form-row { display: flex; gap: 16px; flex-wrap: wrap; }
.form-col { flex: 1 1 220px; min-width: 0; }

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-weight: 400;
    font-size: 0.9rem;
    margin: 12px 0;
    color: var(--ink-soft);
}
.checkbox-row input { margin-top: 3px; }

.btn-primary {
    background-color: var(--amber);
    border: 1px solid var(--amber);
    border-radius: 10px;
    color: #14151a;
    font-weight: 700;
    padding: 0.6rem 1.3rem;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background-color .15s ease;
}
.btn-primary:hover { background-color: var(--amber-dark); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-secondary {
    background: #f1f1f3;
    border: 1px solid #e2e2e6;
    border-radius: 10px;
    color: var(--ink);
    padding: 0.55rem 1.15rem;
    cursor: pointer;
    font-size: 0.92rem;
}
.btn-secondary:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-block { width: 100%; margin-top: 14px; }
.btn-lg { padding: 0.85rem 2rem; font-size: 1.02rem; border-radius: 12px; }
.btn-sm { padding: 0.4rem 0.85rem; font-size: 0.82rem; }

.stAlert {
    background-color: #FFF3C4;
    border-left: 5px solid var(--amber);
    border-radius: 10px;
    padding: 10px 14px;
    color: #14151a;
    margin: 10px 0;
    font-size: 0.9rem;
    white-space: pre-wrap;
}
.stAlert.error { background-color: #fde2e1; border-left-color: #c0392b; }
.stAlert.success { background-color: #dff5e4; border-left-color: #1a7a3c; }
.stAlert.warning { background-color: #FFF3C4; border-left-color: var(--amber); }

/* ================= screens ================= */
.screen { min-height: 100vh; }

/* ---- intro ---- */
#screen-intro { display: flex; align-items: center; justify-content: center; padding: 6vh 1.5rem; }
.intro-wrap { max-width: 680px; margin: 0 auto; padding: 2rem 0 3rem 0; }
.intro-eyebrow {
    text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem;
    font-weight: 700; color: var(--amber-dark); margin-bottom: 14px;
}
.intro-title {
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    line-height: 1.18;
    margin: 0 0 20px 0;
}
.intro-lead {
    font-size: 1.15rem; line-height: 1.6; color: var(--ink-soft); margin-bottom: 2.4rem;
    font-weight: 500;
}
.intro-block { margin-bottom: 1.6rem; }
.intro-block p { font-size: 1.02rem; line-height: 1.75; color: var(--ink-soft); margin: 0; }
.intro-cta { margin-top: 2.6rem; text-align: left; }
.intro-login-link { margin-top: 14px; font-size: 0.92rem; color: var(--muted); }
.intro-login-link a { color: var(--ink); font-weight: 600; text-decoration: underline; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- auth (login / cadastro) ---- */
.auth-screen { display: flex; align-items: center; justify-content: center; padding: 6vh 1.5rem; }
.auth-card {
    width: 100%; max-width: 480px; background: var(--card); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 2rem 2rem 2.2rem 2rem;
    box-shadow: 0 8px 30px rgba(20,21,26,0.06);
}
.auth-card h2 { margin: 0 0 4px 0; font-size: 1.4rem; }
.auth-switch { margin-top: 18px; font-size: 0.9rem; color: var(--muted); text-align: center; }
.auth-switch a { color: var(--ink); font-weight: 600; text-decoration: underline; }
.auth-steps { display: flex; gap: 10px; margin-bottom: 14px; }
.auth-steps .step {
    font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em;
    color: var(--muted); padding: 4px 10px; border-radius: 999px; background: #f1f1f3;
}
.auth-steps .step.active { background: #fff3c4; color: #14151a; }
.signup-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; gap: 10px; }

/* ================= chat screen ================= */
.chat-screen {
    display: flex; flex-direction: column;
    height: 100vh; height: 100dvh;
    max-width: min(1040px, 96vw);
    margin: 0 auto;
    position: relative;
}

/* ---- barra de topo com o menu "Meu diagnóstico" (substitui os antigos
   botões flutuantes, que ficavam sobre as mensagens do chat) ---- */
.chat-topbar {
    flex: 0 0 auto;
    display: flex; justify-content: flex-end;
    padding: 14px clamp(16px, 4vw, 40px) 0;
}
.chat-menu { position: relative; }
.menu-trigger {
    display: inline-flex; align-items: center; gap: 7px;
    background: #fff; border: 1px solid var(--line); border-radius: 999px;
    padding: 8px 14px; font-size: 0.82rem; font-weight: 600; color: var(--ink-soft);
    cursor: pointer; box-shadow: 0 2px 10px rgba(20,21,26,0.06);
    transition: all .15s ease;
}
.menu-trigger:hover { border-color: var(--amber); color: var(--ink); }
.menu-trigger .menu-chevron { transition: transform .15s ease; }
.menu-trigger[aria-expanded="true"] .menu-chevron { transform: rotate(180deg); }

.menu-dropdown {
    position: absolute; top: calc(100% + 8px); right: 0; z-index: 20;
    background: var(--card); border: 1px solid var(--line); border-radius: 14px;
    box-shadow: 0 10px 30px rgba(20,21,26,0.12);
    min-width: 230px; padding: 6px; display: flex; flex-direction: column; gap: 2px;
}
.menu-dropdown[hidden] { display: none; }
.menu-item {
    display: flex; align-items: center; gap: 10px;
    background: none; border: none; border-radius: 9px;
    padding: 10px 12px; font-size: 0.86rem; font-weight: 600; color: var(--ink);
    cursor: pointer; text-align: left; width: 100%; font-family: inherit;
}
.menu-item:hover { background: #f6f6f7; }
.menu-item:disabled { opacity: 0.5; cursor: default; }
.menu-item svg { flex: 0 0 auto; color: var(--muted); }
.menu-divider { height: 1px; background: var(--line); margin: 6px 4px; }
.menu-item-danger { color: #c0392b; }
.menu-item-danger svg { color: #c0392b; }
.menu-item-danger:hover { background: #fde2e1; }
@media (max-width: 560px) { .menu-trigger span { display: none; } }

/* ---- hero centralizado (identidade do chat) ---- */
.chat-hero {
    flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 40px clamp(16px, 5vw, 40px); gap: 4px;
    transition: opacity .35s ease, transform .35s ease;
}
.chat-hero.hero-fading { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.chat-hero-title { font-size: clamp(1.6rem, 4vw, 2.1rem); font-weight: 800; margin: 0; }
.chat-hero-title .accent { color: var(--amber-dark); }
.chat-hero-subtitle { font-size: 0.95rem; color: var(--muted); font-weight: 600; margin: 2px 0 18px 0; }
.chat-hero-welcome { font-size: 1.05rem; color: var(--ink-soft); margin: 0 0 26px 0; max-width: 480px; }
.chat-hero .chat-suggestions { padding: 0; max-width: 640px; width: 100%; }
.chat-hero .ps-toggle-wrap { display: none; }
.chat-hero .ps-grid { display: grid !important; }

/* ---- barra de progresso do questionário guiado (fixa, não rola com o chat) ---- */
.quiz-progress {
    flex: 0 0 auto;
    padding: 54px clamp(16px, 4vw, 40px) 2px;
}
.quiz-progress-label {
    font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em;
    color: var(--muted); margin-bottom: 8px;
}
.quiz-progress-dots { display: flex; gap: 6px; }
.qp-dot {
    flex: 1 1 0; height: 5px; border-radius: 999px; background: var(--line);
    transition: background-color .2s ease;
}
.qp-dot.active { background: var(--amber); }
.qp-dot.done { background: var(--amber-dark); }

.chat-messages {
    flex: 1 1 auto; overflow-y: auto;
    padding: 24px clamp(16px, 4vw, 40px);
    display: flex; flex-direction: column; gap: 14px;
}
.chat-msg {
    line-height: 1.65;
    font-size: 0.97rem;
    white-space: pre-wrap;
}
.chat-msg p { margin: 0 0 0.7em 0; }
.chat-msg p:last-child { margin-bottom: 0; }
.chat-msg h4, .chat-msg h5 { margin: 0.9em 0 0.4em 0; font-size: 1.02rem; }
.chat-msg h6 { margin: 0.8em 0 0.3em 0; font-size: 0.92rem; font-weight: 700; color: var(--ink-soft); }

.chat-msg .md-table-wrap {
    overflow-x: auto; margin: 0.9em 0;
    border: 1px solid var(--line); border-radius: 12px;
    background: var(--card);
}
.chat-msg table { border-collapse: collapse; width: 100%; font-size: 0.88rem; }
.chat-msg th, .chat-msg td { padding: 8px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.chat-msg th { background: #f6f6f7; font-weight: 700; color: var(--ink); }
.chat-msg tbody tr:last-child td { border-bottom: none; }
.chat-msg tbody tr:nth-child(even) { background: #fafafa; }
.chat-msg ul { margin: 0.3em 0 0.7em 0; padding-left: 1.3em; }
.chat-msg li { margin-bottom: 0.3em; }
.chat-msg hr { margin: 1em 0; border-top: 1px solid var(--line); }

.chat-msg pre.md-code {
    background: #1e1f24; color: #e8e8ec;
    border-radius: 10px; padding: 14px 16px; margin: 0.6em 0;
    overflow-x: auto;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 0.84rem; line-height: 1.55; white-space: pre;
}
.chat-msg pre.md-code code { background: none; padding: 0; color: inherit; }
.chat-msg code {
    background: #f1f1f3; color: var(--ink);
    padding: 1px 5px; border-radius: 5px;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 0.85em;
}

/* Mensagem do usuário: mantém a "caixa" com cor própria, alinhada à direita */
.chat-msg.user {
    align-self: flex-end;
    max-width: min(560px, 82%);
    padding: 12px 16px;
    border-radius: 16px;
    background: var(--amber); color: #14151a; border-bottom-right-radius: 4px;
}

/* Mensagem da IA: texto livre, sem caixa, ocupando a largura útil */
.chat-msg.assistant {
    align-self: stretch;
    max-width: 100%;
    background: transparent;
    border: none;
    padding: 4px 0;
    border-radius: 0;
    color: var(--ink);
}

/* Sugestão única de próxima pergunta, alinhada à direita (estilo Gemini) —
   um clique manda a pergunta como se o usuário tivesse digitado. */
.suggested-reply-row { display: flex; justify-content: flex-end; }
.suggested-reply-chip {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; border: 1px solid var(--line); border-radius: 999px;
    padding: 9px 16px; font-size: 0.86rem; font-weight: 600; color: var(--ink);
    cursor: pointer; font-family: inherit;
    box-shadow: 0 2px 8px rgba(20,21,26,0.05);
    transition: all .15s ease;
}
.suggested-reply-chip:hover { border-color: var(--amber); background: #fffaf0; transform: translateY(-1px); }
.suggested-reply-chip svg { flex: 0 0 auto; color: var(--muted); }

/* Rótulo discreto acima da pergunta do questionário — só situa o usuário
   ("Pergunta 2 de 4"), sem parecer campo de formulário. */
.quiz-q-index {
    font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em;
    color: var(--muted); margin-bottom: 6px;
}

/* Cabeçalho da seção do questionário: hierarquia explícita entre a dimensão
   (título 1) e a seção (título 2). */
.chat-msg.quiz-heading-msg { padding-top: 8px; }
.quiz-part-title {
    font-size: clamp(1.35rem, 3.2vw, 1.7rem); font-weight: 900; line-height: 1.2;
    letter-spacing: -0.01em; color: var(--ink); margin: 0;
}
.quiz-part-title::after {
    content: ""; display: block; width: 46px; height: 4px; border-radius: 999px;
    background: var(--amber); margin-top: 10px;
}
.quiz-sec-title {
    font-size: 1.08rem; font-weight: 700; line-height: 1.3;
    color: var(--ink-soft); margin: 14px 0 0 0;
}

/* Mensagem de transição entre seções: as duas falas ficam juntas na mesma
   bolha (mesma margem esquerda), com espaço próprio e mais enxuto entre
   elas do que o espaçamento padrão entre bolhas do chat. */
.chat-msg.checkpoint-msg p { margin: 0 0 6px 0; }
.checkpoint-actions {
    margin-top: 10px;
    /* .chat-msg herda white-space:pre-wrap (para preservar texto digitado);
       aqui isso faz a indentação do template HTML aparecer como espaço/quebra
       de linha visível antes do <button>, empurrando-o para a direita. */
    white-space: normal;
}

.chat-msg.typing {
    display: flex; gap: 4px; align-items: center;
    max-width: fit-content;
    background: var(--card); border: 1px solid var(--line);
    border-radius: 16px; padding: 14px 16px;
}
.chat-msg.typing span {
    width: 6px; height: 6px; border-radius: 50%; background: var(--muted); display: inline-block;
    animation: typing-bounce 1.2s infinite ease-in-out;
}
.chat-msg.typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-msg.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing-bounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
    30% { transform: translateY(-4px); opacity: 1; }
}

/* Chips de resposta rápida — como um "quick reply" de chat, não um formulário */
/* Os rótulos ficaram longos ("prática existente, mas incompleta ou
   desconectada"), então os chips empilham em coluna e o texto pode quebrar —
   fica legível sem virar formulário. */
.quiz-choices { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 12px; }
.quiz-choice {
    display: inline-flex; align-items: center; gap: 8px;
    max-width: 100%; text-align: left;
    background: #fff; border: 1.5px solid #e2e2e6; border-radius: 999px;
    padding: 7px 14px 7px 8px; cursor: pointer; color: var(--ink);
    font-family: inherit;
    transition: border-color .15s ease, background-color .15s ease, transform .15s ease;
}
.quiz-choice .qc-num { flex: 0 0 auto; }
.quiz-choice .qc-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; border-radius: 50%;
    background: #f1f1f3; color: var(--ink-soft);
    font-size: 0.74rem; font-weight: 800; line-height: 1;
}
.quiz-choice .qc-label { font-size: 0.85rem; font-weight: 600; }
.quiz-choice:hover:not(:disabled) { border-color: var(--amber); background: #fffaf0; transform: translateY(-1px); }
.quiz-choice.selected { background: var(--amber); border-color: var(--amber); }
.quiz-choice.selected .qc-num { background: rgba(20,21,26,0.12); color: #14151a; }
.quiz-choice.selected .qc-label { color: #14151a; }
.quiz-choice:disabled { cursor: default; }
.quiz-choice:disabled:not(.selected) { opacity: 0.4; }

.chat-suggestions { flex: 0 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.chat-suggestions .ps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin: 0 0 0.8rem 0; }
.chat-suggestions .ps-col { display: flex; flex-direction: column; gap: 0.5rem; }
.chat-suggestions .ps-head {
    font-size: 0.68rem; font-weight: 700; color: var(--muted); text-transform: uppercase;
    text-align: left; letter-spacing: 0.06em; padding-left: 2px;
}
.chat-suggestions .ps-chip {
    display: block;
    background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--amber);
    border-radius: 12px; color: var(--ink-soft);
    font-weight: 500; font-size: 0.85rem; line-height: 1.3; padding: 0.65rem 0.85rem;
    cursor: pointer; text-align: left;
    box-shadow: 0 1px 3px rgba(20,21,26,0.03);
    transition: all .15s ease;
}
.chat-suggestions .ps-chip:hover {
    border-color: var(--amber); color: var(--ink); transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(20,21,26,0.08);
}
.chat-suggestions .ps-toggle-wrap { text-align: center; margin-bottom: 0.7rem; }
.chat-suggestions .ps-toggle {
    display: inline-flex; align-items: center; gap: 6px;
    background: #fff; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft);
    font-weight: 600; font-size: 0.84rem; padding: 0.45rem 1.1rem; cursor: pointer;
    box-shadow: 0 2px 8px rgba(20,21,26,0.05); transition: all .15s ease;
}
.chat-suggestions .ps-toggle:hover {
    border-color: var(--amber); color: var(--ink); background: #fffaf0; transform: translateY(-1px);
}
@media (max-width: 640px) { .chat-suggestions .ps-grid { grid-template-columns: 1fr; } }

.chat-input-row {
    display: flex; gap: 10px; align-items: flex-end;
    padding: 12px clamp(16px, 4vw, 40px) clamp(16px, 3vw, 26px) clamp(16px, 4vw, 40px);
    flex: 0 0 auto;
}
.chat-input-row textarea {
    flex: 1; resize: none; border-radius: 22px;
    padding: 11px 18px; border-color: #dcdce0;
    font-family: inherit; font-size: 0.96rem; line-height: 1.4;
    max-height: 160px; overflow-y: auto;
}
.chat-input-row .btn-primary { border-radius: 999px; padding: 0.6rem 1.4rem; }
.chat-input-row textarea:disabled, .chat-input-row button:disabled { opacity: 0.6; cursor: default; }

/* ================= relatório embutido no chat ================= */
/* .chat-msg herda white-space:pre-wrap (preserva quebra de linha em texto
   digitado); esse HTML estruturado é gerado com bastante indentação no JS,
   que apareceria como espaço/quebra de linha visível sem este reset. */
.score-report { white-space: normal; }
.visual-block { border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin-top: 10px; background: #fcfcfc; }
.visual-title { font-weight: 800; margin-bottom: 8px; font-size: 0.92rem; }
.bar-track { width: 100%; height: 10px; background: #eee; border-radius: 999px; overflow: hidden; margin: 6px 0 4px 0; }
.bar-fill { height: 100%; background: linear-gradient(90deg, var(--amber) 0%, var(--amber-dark) 100%); border-radius: 999px; }
.bar-legend { font-size: 0.8rem; color: var(--muted); }
.level-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.level-badge { font-size: 0.74rem; padding: 4px 8px; border-radius: 999px; border: 1px solid #ddd; background: #fafafa; color: #555; }
.level-badge.active { background: #fff3c4; border-color: var(--amber); color: #111; font-weight: 700; }
.dim-card { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-top: 8px; background: #fff; }
.dim-card strong { display: block; margin-bottom: 4px; font-size: 0.9rem; }
.compare-row { margin-top: 6px; }
.compare-label { font-size: 0.78rem; font-weight: 700; margin-bottom: 2px; color: var(--ink-soft); }
.compare-track { width: 100%; height: 8px; background: #eee; border-radius: 999px; overflow: hidden; }
.compare-fill-org { height: 100%; background: var(--amber); border-radius: 999px; }
.compare-fill-base { height: 100%; background: #cfcfcf; border-radius: 999px; }

/* ================= modal: editar respostas ================= */
.modal-backdrop {
    position: fixed; inset: 0; z-index: 50;
    background: rgba(20,21,26,0.45); backdrop-filter: blur(2px);
    display: flex; align-items: center; justify-content: center; padding: 24px;
}
.modal-card {
    width: 100%; max-width: 640px; max-height: 85vh;
    background: var(--card); border-radius: 20px; overflow: hidden;
    display: flex; flex-direction: column;
    box-shadow: 0 20px 60px rgba(20,21,26,0.25);
}
.modal-card-sm { max-width: 420px; }
.modal-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 22px; border-bottom: 1px solid var(--line); flex: 0 0 auto;
}
.modal-header h3 { margin: 0; font-size: 1.1rem; }
.modal-close {
    background: none; border: none; font-size: 1.6rem; line-height: 1; cursor: pointer;
    color: var(--muted); padding: 0 4px;
}
.modal-close:hover { color: var(--ink); }
.modal-body { flex: 1 1 auto; overflow-y: auto; padding: 18px 22px; }
.modal-footer {
    display: flex; justify-content: flex-end; gap: 10px;
    padding: 16px 22px; border-top: 1px solid var(--line); flex: 0 0 auto;
}

.edit-part-title {
    font-size: 1.05rem; font-weight: 800; margin: 26px 0 4px 0;
    padding-top: 20px; border-top: 1px solid var(--line);
}
.edit-part-title:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.edit-sec-title {
    font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em;
    color: var(--muted); margin: 16px 0 10px 0;
}
.edit-question-item {
    padding: 14px; margin-bottom: 8px;
    background: #fafafa; border-radius: 12px;
}
.edit-question-text { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 10px; line-height: 1.45; }
.edit-question-item .quiz-choices { margin-top: 0; }
.edit-question-item .quiz-choice { padding: 6px 12px 6px 6px; }
.edit-question-item .qc-num { width: 19px; height: 19px; font-size: 0.68rem; }
.edit-question-item .qc-label { font-size: 0.78rem; }

/* ================= modal: meu perfil ================= */
.perfil-nome { font-size: 1.05rem; font-weight: 800; text-align: center; margin-top: 4px; margin-bottom: 2px; }
.perfil-email { font-size: 0.85rem; color: var(--muted); text-align: center; margin-bottom: 18px; }
.perfil-field {
    display: flex; justify-content: space-between; gap: 12px;
    padding: 10px 0; border-bottom: 1px solid var(--line);
    font-size: 0.88rem;
}
.perfil-field:last-child { border-bottom: none; }
.perfil-field-label { color: var(--muted); font-weight: 600; }
.perfil-field-value { color: var(--ink); font-weight: 600; text-align: right; }
