/* v5.21 — PDFs consolidados e cadastros compactos, sem perder os campos originais */
.v521-pdf-dialog{max-width:100%}
.v521-pdf-dialog h2{margin:0 0 7px;font-size:1.35rem;color:#123653}
.v521-pdf-dialog>p{margin:0 0 17px;color:#5d7588;font-size:.88rem;line-height:1.5}
.v521-pdf-dialog h3{font-size:.88rem;color:#11685f;margin:17px 0 9px;text-transform:uppercase;letter-spacing:.035em}
.v521-pdf-choice{display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:100%;width:100%;text-align:left;background:#f8fbfc;border:1px solid #d7e5eb;border-radius:10px;padding:12px 14px;margin:7px 0;color:#143b55;cursor:pointer;font:inherit}
.v521-pdf-choice:hover,.v521-pdf-choice:focus-visible{background:#eaf7f3;border-color:#70bdae;outline:2px solid transparent}
.v521-pdf-choice strong{font-size:.88rem;font-weight:800;display:block;overflow-wrap:anywhere}
.v521-pdf-choice small{font-size:.75rem;color:#627f90;display:block;margin-top:4px;line-height:1.35}
.v521-pdf-choice>span:last-child{color:#14766e;flex:none;font-size:1.5rem;font-weight:750}
.v521-pdf-dialog .actions{margin-top:16px}
/* Professores: resumo pequeno por padrão; detalhes completos continuam acessíveis. */
.v59-teacher-list.v511-teacher-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start}
.v511-teacher-card{min-width:0;padding:11px 13px;scroll-margin-top:120px}
.v511-teacher-card.is-fresh,.v511-teacher-card:has(.v511-teacher-details){grid-column:1 / -1}
.v511-teacher-top{gap:10px;padding-bottom:0;border-bottom:0}
.v511-teacher-card:has(.v511-teacher-details) .v511-teacher-top{padding-bottom:12px;border-bottom:1px solid #e1ebef}
.v511-teacher-avatar{width:37px;height:37px;border-radius:10px;font-size:1.08rem}
.v511-eyebrow{font-size:.6rem}
.v511-teacher-name h4{font-size:.98rem;margin:2px 0}
.v511-teacher-name p{font-size:.72rem}
.v511-teacher-actions{flex-shrink:0;gap:5px}
.v511-teacher-actions .btn{padding:8px 10px;font-size:.74rem}
.v521-teacher-summary{display:flex;justify-content:space-between;gap:5px 16px;align-items:start;flex-wrap:wrap;margin-top:9px;padding-top:8px;border-top:1px dashed #dfebef;color:#637f8f;font-size:.74rem;line-height:1.5}
.v521-teacher-summary span{min-width:0;overflow-wrap:anywhere}
.v521-teacher-summary b{color:#286b6c}
/* Aulas por turma: cartões condensados, com edição expansível somente quando solicitada */
.v512-lesson-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start}
.v512-lesson-card{min-width:0;padding:11px 12px}
.v512-lesson-card:has(.v512-lesson-grid){grid-column:1 / -1}
.v512-lesson-card-head{margin:0;padding:0;border-bottom:0;gap:7px}
.v512-lesson-card:has(.v512-lesson-grid) .v512-lesson-card-head{padding-bottom:11px;margin-bottom:11px;border-bottom:1px solid #e7eef3}
.v512-lesson-head-actions{gap:5px}
.v512-lesson-head-actions .btn{padding:7px 9px;font-size:.75rem}
.v512-lesson-heading strong{font-size:.85rem}
.v512-lesson-heading small{font-size:.69rem}
.v512-lesson-index{width:27px;height:27px;font-size:.72rem}
.v512-lesson-count{font-size:.71rem;padding:4px 7px}
.v521-lesson-summary{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px;margin-top:9px;padding-top:8px;border-top:1px dashed #dfebef;color:#647e8f;font-size:.74rem;line-height:1.5}
.v521-lesson-summary span{overflow-wrap:anywhere}
.v521-lesson-summary b{color:#286a6c}
@media(max-width:1260px){.v59-teacher-list.v511-teacher-list{grid-template-columns:1fr}.v512-lesson-list{grid-template-columns:1fr}}
@media(max-width:700px){.v511-teacher-top{flex-wrap:wrap}.v511-teacher-actions{width:100%}.v511-teacher-actions .btn{flex:1}.v512-lesson-head-actions{width:100%;justify-content:flex-start}.v512-lesson-card{padding:11px 10px}.v512-lesson-count{margin-right:auto}.v521-pdf-choice{padding:10px 11px}}
