/* v101 — formulário de pesquisa (card do aluno e link do WhatsApp). Só tokens, com reserva. */
.pf { display: grid; gap: 16px; text-align: left; }
.pf-titulo { margin: 0; font-size: 1.15rem; overflow-wrap: anywhere; }
.pf-desc { margin: 0; color: var(--text-secondary, var(--muted, #9a9aa8)); font-size: .92rem; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
.pf-anon { margin: 0; font-size: .82rem; color: var(--text-secondary, var(--muted, #9a9aa8)); }
.pf-pergunta { display: grid; gap: 8px; }
.pf-rotulo { font-size: .95rem; line-height: 1.4; overflow-wrap: anywhere; }
.pf-opc, .pf-dica { color: var(--text-muted, var(--muted, #9a9aa8)); font-size: .8rem; font-weight: 400; }
.pf-notas { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.pf-nota { padding: 10px 0; border-radius: 10px; border: 1px solid var(--border, #2a2a38); background: var(--bg-tertiary, #1e1e2a); color: inherit; font-size: .95rem; font-weight: 600; cursor: pointer; }
.pf-nota.on { background: var(--accent, #8B3FE8); border-color: var(--accent, #8B3FE8); color: #fff; }
.pf-escala { display: flex; justify-content: space-between; font-size: .72rem; color: var(--text-muted, var(--muted, #9a9aa8)); }
.pf-estrelas { display: flex; gap: 6px; }
.pf-estrela { font-size: 2rem; line-height: 1; background: none; border: 0; padding: 2px; cursor: pointer; color: var(--border, #3a3a48); }
.pf-estrela.on { color: #F5B301; }
.pf-opcoes { display: grid; gap: 6px; }
.pf-opcao { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--border, #2a2a38); border-radius: 10px; cursor: pointer; overflow-wrap: anywhere; }
.pf-opcao input { width: 18px; height: 18px; flex: none; accent-color: var(--accent, #8B3FE8); margin: 0; }
.pf-opcao:has(input:checked) { border-color: var(--accent, #8B3FE8); background: var(--accent-dim, rgba(139,63,232,.12)); }
.pf-texto { width: 100%; box-sizing: border-box; min-height: 80px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border, #2a2a38); background: var(--bg-tertiary, #1e1e2a); color: inherit; font: inherit; font-size: .95rem; resize: vertical; }
.pf-erro { color: var(--danger, #ff6b6b); font-size: .85rem; }
.pf-enviar { width: 100%; padding: 14px; border: 0; border-radius: 10px; background: var(--accent, #8B3FE8); color: #fff; font-size: 1rem; font-weight: 600; cursor: pointer; }
.pf-enviar:disabled { opacity: .55; cursor: default; }
.pf-fim { text-align: center; padding: 12px 0; }
.pf-emoji { font-size: 2.4rem; }

/* card na Home do aluno + janela (desenhada no <body>) */
.sh-pesq { display: flex; align-items: center; gap: 12px; justify-content: space-between; }
.sh-pesq-txt { min-width: 0; }
.sh-pesq-txt b { display: block; overflow-wrap: anywhere; }
.pf-ov { position: fixed; inset: 0; z-index: 3000; background: rgba(0,0,0,.6); display: flex; align-items: flex-end; justify-content: center; }
.pf-janela { width: 100%; max-width: 520px; max-height: 92dvh; max-height: 92vh; overflow: auto; background: var(--bg-card, var(--bg-secondary, #16161f)); color: var(--text-primary, #eee); border-radius: 18px 18px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); box-sizing: border-box; }
.pf-janela-topo { display: flex; justify-content: flex-end; }
.pf-fechar { background: none; border: 0; color: inherit; font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 4px 8px; }
@media (min-width: 640px) { .pf-ov { align-items: center; } .pf-janela { border-radius: 18px; } }
/* v8-mobile-hotfix.css põe todo <label> em display:block !important no celular — aqui a opção precisa ser linha */
.pf label.pf-opcao { display: flex !important; width: auto !important; margin: 0 !important; min-height: 0 !important; padding: 10px 12px !important; font-size: .95rem !important; text-transform: none !important; letter-spacing: normal !important; font-weight: 400 !important; color: inherit !important; }
