:root{--rmpp-bg:#f7f5fb;--rmpp-card:#fff;--rmpp-ink:#2a2430;--rmpp-muted:#746b7f;--rmpp-line:#e7e0ed;--rmpp-primary:#7a4f92;--rmpp-accent:#d36d9c;--rmpp-soft:#f0e8f4;--rmpp-danger:#b93d4d}
.rmpp-shell{max-width:1180px;margin:24px auto;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--rmpp-ink)}
.rmpp-hero{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:28px 30px;border-radius:22px;background:linear-gradient(135deg,#f3e9f7,#fff0f6);border:1px solid var(--rmpp-line);margin-bottom:22px;box-shadow:0 10px 30px rgba(74,47,87,.08)}
.rmpp-kicker,.rmpp-section-head span{display:block;text-transform:uppercase;letter-spacing:.12em;font-size:11px;font-weight:800;color:var(--rmpp-primary);margin-bottom:6px}.rmpp-hero h2,.rmpp-section-head h3{margin:0}.rmpp-hero p{margin:8px 0 0;color:var(--rmpp-muted);max-width:720px}.rmpp-hero-badge{background:var(--rmpp-primary);color:#fff;padding:9px 14px;border-radius:999px;font-weight:700;font-size:13px}
.rmpp-toolbar,.rmpp-section-head,.rmpp-actions{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:18px 0}.rmpp-search-wrap{min-width:280px}.rmpp-search-wrap.full{width:100%}.rmpp-search-wrap input{width:100%;padding:12px 14px;border:1px solid var(--rmpp-line);border-radius:12px;background:#fff}
.rmpp-btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none!important;border-radius:11px;padding:10px 15px;border:1px solid var(--rmpp-line);font-weight:700;font-size:14px;cursor:pointer;transition:.2s ease}.rmpp-btn.primary{background:var(--rmpp-primary);border-color:var(--rmpp-primary);color:#fff}.rmpp-btn.ghost{background:#fff;color:var(--rmpp-primary)}.rmpp-btn.danger{background:#fff;color:var(--rmpp-danger);border-color:#efc8cf}.rmpp-btn:hover{transform:translateY(-1px)}
.rmpp-card-grid{display:grid;gap:12px}.rmpp-student-card{display:flex;align-items:center;gap:14px;padding:15px 16px;border:1px solid var(--rmpp-line);background:#fff;border-radius:16px;box-shadow:0 4px 18px rgba(40,28,45,.04)}.rmpp-avatar{width:44px;height:44px;border-radius:13px;background:var(--rmpp-soft);color:var(--rmpp-primary);display:grid;place-items:center;font-weight:900}.rmpp-card-body{flex:1}.rmpp-card-body h3{margin:0;font-size:16px}.rmpp-card-body p{margin:3px 0 0;color:var(--rmpp-muted);font-size:13px}
.rmpp-form{max-width:980px;margin:0 auto}.rmpp-form .rmpp-section-head,.rmpp-form .rmpp-panel,.rmpp-form .rmpp-actions{max-width:980px;margin-left:auto;margin-right:auto}.rmpp-form .rmpp-actions{padding:0 2px}
.rmpp-panel{background:#fff;border:1px solid var(--rmpp-line);border-radius:18px;padding:22px;margin:16px 0;box-shadow:0 5px 20px rgba(40,28,45,.04)}.rmpp-panel h4{margin:0 0 16px;font-size:17px}.rmpp-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:16px}.rmpp-grid-2 label{display:flex;flex-direction:column;gap:7px;font-weight:700;font-size:13px}.rmpp-grid-2 input,.rmpp-grid-2 select{padding:11px 12px;border:1px solid var(--rmpp-line);border-radius:10px;background:#fff}
.rmpp-success,.rmpp-notice{padding:13px 15px;border-radius:12px;background:#effaf1;border:1px solid #cee9d3;margin:14px 0}.rmpp-notice{background:#fff8e8;border-color:#f1dfae}.rmpp-empty{padding:26px;border:1px dashed var(--rmpp-line);border-radius:16px;text-align:center;color:var(--rmpp-muted)}.rmpp-empty strong,.rmpp-empty span{display:block}.rmpp-empty strong{color:var(--rmpp-ink);margin-bottom:4px}.rmpp-prose{line-height:1.75;font-size:16px;color:#39313e}.rmpp-prose img{max-width:100%;height:auto;border-radius:12px;margin:12px auto;display:block}.rmpp-prose p:first-child{margin-top:0}.rmpp-prose p:last-child{margin-bottom:0}
@media(max-width:760px){.rmpp-shell{margin:14px 10px}.rmpp-hero{padding:20px;align-items:flex-start}.rmpp-hero-badge{display:none}.rmpp-toolbar,.rmpp-section-head{align-items:stretch;flex-direction:column}.rmpp-toolbar .rmpp-btn,.rmpp-search-wrap{width:100%}.rmpp-grid-2{grid-template-columns:1fr}.rmpp-panel{padding:16px}.rmpp-student-card{align-items:flex-start;flex-wrap:wrap}.rmpp-student-card .rmpp-btn{margin-left:58px}.rmpp-form{max-width:none}.rmpp-form .rmpp-section-head,.rmpp-form .rmpp-panel,.rmpp-form .rmpp-actions{max-width:none}}

/* v0.5.2 — campos numéricos configuráveis */
.rmpp-number-field{display:flex;flex-direction:column;gap:8px;font-weight:700;font-size:13px}.rmpp-number-field input{width:100%;max-width:360px;padding:12px 13px;border:1px solid var(--rmpp-line);border-radius:10px;background:#fff;font:inherit}.rmpp-number-readonly strong{font-size:30px;font-family:Georgia,'Times New Roman',serif;font-weight:700;color:#3a3029}


/* v0.5.3 — Foto e currículo */
.rmpp-profile-card{max-width:980px;margin:24px auto;display:grid;grid-template-columns:minmax(180px,260px) 1fr;gap:28px;align-items:start;padding:28px;background:#fff;border:1px solid var(--rmpp-line);border-radius:20px;box-shadow:0 8px 28px rgba(40,28,45,.06)}
.rmpp-profile-photo img{display:block;width:100%;height:auto;border-radius:16px;object-fit:cover}.rmpp-profile-curriculum{min-width:0}.rmpp-profile-curriculum .rmpp-prose{font-size:16px;line-height:1.75}
@media(max-width:760px){.rmpp-profile-card{grid-template-columns:1fr;padding:18px;gap:20px}.rmpp-profile-photo{max-width:240px;margin:0 auto;width:100%}}


/* v0.5.4 — currículo: neutraliza de forma agressiva as cores herdadas do tema */
.rmpp-profile-card,
.rmpp-profile-card *:not(img){
  color:#111111!important;
  text-shadow:none!important;
}
.rmpp-profile-card .rmpp-profile-curriculum,
.rmpp-profile-card .rmpp-profile-curriculum p,
.rmpp-profile-card .rmpp-profile-curriculum li,
.rmpp-profile-card .rmpp-profile-curriculum span,
.rmpp-profile-card .rmpp-profile-curriculum div{
  color:#111111!important;
  font-weight:600!important;
}
.rmpp-profile-card .rmpp-profile-curriculum h1,
.rmpp-profile-card .rmpp-profile-curriculum h2,
.rmpp-profile-card .rmpp-profile-curriculum h3,
.rmpp-profile-card .rmpp-profile-curriculum h4,
.rmpp-profile-card .rmpp-profile-curriculum h5,
.rmpp-profile-card .rmpp-profile-curriculum h6,
.rmpp-profile-card .rmpp-profile-curriculum strong,
.rmpp-profile-card .rmpp-profile-curriculum b{
  color:#000000!important;
  font-weight:800!important;
}
.rmpp-profile-card .rmpp-profile-curriculum a,
.rmpp-profile-card .rmpp-profile-curriculum a:visited,
.rmpp-profile-card .rmpp-profile-curriculum a:hover{
  color:#000000!important;
  font-weight:700!important;
  text-decoration-color:#000000!important;
}
.rmpp-shell > .rmpp-profile-card:first-child{margin-top:0;margin-bottom:18px}


/* v0.5.5 — foto/currículo com proporção estável em monitores diferentes */
.rmpp-profile-card{
  grid-template-columns:220px minmax(0,1fr)!important;
  align-items:start!important;
}
.rmpp-profile-photo{
  width:220px!important;
  max-width:220px!important;
  min-width:0!important;
  justify-self:start!important;
}
.rmpp-profile-photo img{
  display:block!important;
  width:220px!important;
  max-width:220px!important;
  height:300px!important;
  max-height:300px!important;
  object-fit:cover!important;
  object-position:center top!important;
}
.rmpp-profile-curriculum{min-width:0!important;overflow-wrap:anywhere!important}
@media(min-width:761px) and (max-width:1050px){
  .rmpp-profile-card{grid-template-columns:180px minmax(0,1fr)!important;gap:20px!important;padding:22px!important}
  .rmpp-profile-photo{width:180px!important;max-width:180px!important}
  .rmpp-profile-photo img{width:180px!important;max-width:180px!important;height:250px!important;max-height:250px!important}
}
@media(max-width:760px){
  .rmpp-profile-card{grid-template-columns:1fr!important;padding:18px!important;gap:18px!important}
  .rmpp-profile-photo{width:160px!important;max-width:160px!important;margin:0 auto!important;justify-self:center!important}
  .rmpp-profile-photo img{width:160px!important;max-width:160px!important;height:220px!important;max-height:220px!important}
}


/* v0.5.6 — fotos estilizadas de professora e aluno */
.rmpp-profile-photo,
.rmpp-student-photo-preview,
.rmpp-student-book-photo{
  position:relative!important;
  border-radius:28px 12px 30px 14px!important;
  background:linear-gradient(145deg,#ffffff,#f3eee8)!important;
  padding:8px!important;
  box-shadow:0 16px 32px rgba(47,35,28,.16),0 3px 8px rgba(47,35,28,.10)!important;
  transform:rotate(-1.2deg)!important;
  border:1px solid rgba(108,84,66,.16)!important;
}
.rmpp-profile-photo::after,
.rmpp-student-photo-preview::after,
.rmpp-student-book-photo::after{
  content:"";position:absolute;inset:6px;border-radius:22px 8px 24px 10px;border:1px solid rgba(255,255,255,.72);pointer-events:none!important;
}
.rmpp-profile-photo img,
.rmpp-student-photo-preview img,
.rmpp-student-book-photo img{
  display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center top!important;border-radius:20px 8px 22px 10px!important;box-shadow:none!important;margin:0!important;
}
.rmpp-profile-photo{overflow:visible!important}
.rmpp-student-photo-control{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:0 0 22px}
.rmpp-student-photo-preview{width:132px;height:168px;display:grid;place-items:center;overflow:hidden;color:var(--rmpp-muted);font-size:12px;font-weight:700}
.rmpp-student-photo-actions{display:flex;gap:8px;flex-wrap:wrap}
.rmpp-avatar-photo{padding:0!important;overflow:hidden;background:#fff!important;border-radius:14px 7px 15px 8px!important;box-shadow:0 4px 10px rgba(40,28,45,.10)!important;transform:rotate(-1deg)!important}
.rmpp-avatar-photo img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:inherit!important}
@media(max-width:760px){.rmpp-student-photo-control{justify-content:center}.rmpp-student-photo-actions{justify-content:center}.rmpp-student-photo-preview{width:120px;height:154px}}


/* v0.6.1 — seletor de capa no formulário front-end */
.rmpp-student-cover-control{margin:18px 0;padding:16px;border:1px solid var(--rmpp-line);border-radius:16px;background:#faf8f5}
.rmpp-student-cover-preview{width:min(260px,100%);aspect-ratio:3/4;border:1px dashed #cec4ba;border-radius:16px;overflow:hidden;background:#f3eee8;display:grid;place-items:center;color:#84776c;font-size:12px;font-weight:700;margin-bottom:10px}
.rmpp-student-cover-preview img{width:100%;height:100%;object-fit:cover;display:block}


/* v0.7.3 — ações distintas para professora e direção */
.rmpp-toolbar-actions,.rmpp-card-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.rmpp-card-actions{justify-content:flex-end}.rmpp-reader-action{white-space:nowrap}.rmpp-reader-action.danger{color:var(--rmpp-danger);border-color:#efc8cf}.rmpp-card-actions .rmpp-btn{margin-left:0!important}
@media(max-width:760px){.rmpp-toolbar-actions{width:100%;flex-direction:column}.rmpp-toolbar-actions .rmpp-btn{width:100%}.rmpp-card-actions{width:100%;margin-left:58px;justify-content:flex-start}.rmpp-card-actions .rmpp-btn{width:auto;flex:1;min-width:92px}.rmpp-reader-header{align-items:flex-start}.rmpp-book-actions{width:100%}}

/* v0.7.4 - grupo de downloads PDF */
.rmpp-pdf-actions{display:flex;flex-wrap:wrap;gap:7px;align-items:center}.rmpp-pdf-actions .rmpp-btn{white-space:nowrap}
