.pcrp-auth-shell{--pcrp-yellow:#ffd400;--pcrp-black:#090909;--pcrp-card:#151515;--pcrp-line:#343434;box-sizing:border-box;width:100%;max-width:1180px;margin:0 auto;padding:18px;background:#090909;color:#fff;font-family:Arial,sans-serif;font-size:14px;line-height:1.5}.pcrp-auth-shell *{box-sizing:border-box}.pcrp-auth-heading{padding:22px;border:1px solid var(--pcrp-line);border-radius:14px;background:linear-gradient(135deg,#121212,#080808)}.pcrp-auth-heading span{display:block;color:var(--pcrp-yellow);font-size:13px;font-weight:800;letter-spacing:.08em}.pcrp-auth-heading h1{margin:6px 0;color:#fff;font-size:16px;line-height:1.25}.pcrp-auth-heading p{margin:0;color:#d3d3d3;font-size:14px}.pcrp-auth-grid,.pcrp-auth-dashboard{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px}.pcrp-auth-card{padding:18px;border:1px solid var(--pcrp-line);border-radius:14px;background:var(--pcrp-card);color:#fff}.pcrp-auth-card h2{margin:0 0 14px;color:#fff;font-size:16px}.pcrp-auth-card p,.pcrp-auth-card label,.pcrp-auth-card input,.pcrp-auth-card select,.pcrp-auth-card textarea,.pcrp-auth-card button,.pcrp-auth-card a{font-size:14px}.pcrp-auth-card label{display:block;margin:0 0 12px;color:#fff;font-weight:700}.pcrp-auth-card input[type=text],.pcrp-auth-card input[type=email],.pcrp-auth-card input[type=password],.pcrp-auth-card input[type=tel],.pcrp-auth-card input[type=url],.pcrp-auth-card select,.pcrp-auth-card textarea{display:block;width:100%;min-height:46px;margin-top:6px;padding:10px 12px;border:1px solid #4a4a4a;border-radius:8px;background:#0c0c0c;color:#fff}.pcrp-auth-card textarea{min-height:96px;resize:vertical}.pcrp-auth-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pcrp-auth-check{font-weight:400!important}.pcrp-auth-check input{vertical-align:middle}.pcrp-auth-primary,.pcrp-auth-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:11px 18px;border-radius:8px;font-weight:900;text-decoration:none!important;cursor:pointer}.pcrp-auth-primary{width:100%;border:0;background:var(--pcrp-yellow);color:#000!important}.pcrp-auth-secondary{border:1px solid var(--pcrp-yellow);background:#111;color:var(--pcrp-yellow)!important}.pcrp-auth-actions{display:flex;gap:10px;flex-wrap:wrap}.pcrp-auth-actions .pcrp-auth-primary,.pcrp-auth-actions .pcrp-auth-secondary{width:auto;flex:1 1 180px}.pcrp-auth-link{display:inline-block;margin-top:12px;color:var(--pcrp-yellow)!important}.pcrp-auth-note{margin-top:14px;padding:14px;border-left:4px solid var(--pcrp-yellow);background:#171717;color:#ddd}.pcrp-auth-message{margin:14px 0;padding:12px 14px;border-radius:8px;font-weight:800}.pcrp-auth-message.is-success{background:#173c20;color:#bff0c8}.pcrp-auth-message.is-error{background:#491818;color:#ffd0d0}.pcrp-auth-status{display:inline-block;margin-bottom:10px;padding:5px 10px;border-radius:999px;font-size:13px;font-weight:900}.pcrp-auth-status.is-approved{background:#184821;color:#bff5c8}.pcrp-auth-status.is-pending{background:#4e3b00;color:#ffe58a}.pcrp-auth-status.is-rejected{background:#4a1717;color:#ffd0d0}.pcrp-auth-approved{border-color:#315d38}.pcrp-auth-session{margin-top:14px}@media(max-width:760px){.pcrp-auth-shell{max-width:none;padding:10px}.pcrp-auth-grid,.pcrp-auth-dashboard,.pcrp-auth-two{grid-template-columns:1fr}.pcrp-auth-heading,.pcrp-auth-card{border-radius:10px;padding:14px}.pcrp-auth-actions{display:grid;grid-template-columns:1fr}.pcrp-auth-actions .pcrp-auth-primary,.pcrp-auth-actions .pcrp-auth-secondary{width:100%}}
.pcrp-open-auth{cursor:pointer}.pcrp-auth-modal{position:fixed;inset:0;z-index:999999;display:none;align-items:center;justify-content:center;padding:16px}.pcrp-auth-modal.is-open{display:flex}.pcrp-auth-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.78);backdrop-filter:blur(4px)}.pcrp-auth-modal-dialog{position:relative;z-index:2;width:min(560px,100%);max-height:92vh;overflow:auto;background:#0b0b0b;border:1px solid #555;border-radius:18px;padding:18px;box-shadow:0 24px 80px rgba(0,0,0,.6)}.pcrp-auth-modal-close{position:absolute;right:12px;top:10px;width:38px;height:38px;border:0;border-radius:50%;background:var(--pcrp-yellow);color:#000;font-size:28px;line-height:1;cursor:pointer}.pcrp-auth-modal-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:42px 0 12px}.pcrp-auth-modal-tabs button{min-height:44px;border:1px solid #555;background:#151515;color:#fff;border-radius:10px;font-size:14px;font-weight:900;cursor:pointer}.pcrp-auth-modal-tabs button.is-active{background:var(--pcrp-yellow);color:#000;border-color:var(--pcrp-yellow)}.pcrp-auth-modal-panel{display:none;margin:0}.pcrp-auth-modal-panel.is-active{display:block}.pcrp-auth-small{font-size:13px;color:#bbb}.pcrp-role-panel{grid-column:1/-1}.pcrp-role-tabs{display:flex;gap:8px;overflow:auto;margin:12px 0 16px}.pcrp-role-tabs a,.pcrp-user-shortcuts a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 14px;border:1px solid #555;border-radius:9px;color:#fff!important;font-size:13px;font-weight:900;white-space:nowrap}.pcrp-content-form{padding:14px;background:#111;border:1px solid #333;border-radius:12px}.pcrp-my-content,.pcrp-profile-summary{margin-top:16px;padding-top:14px;border-top:1px solid #333}.pcrp-content-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #292929}.pcrp-content-row small{display:block;color:#aaa;font-size:13px;margin-top:4px}.pcrp-post-status{font-size:12px;font-weight:900;padding:5px 8px;border-radius:999px;background:#333}.pcrp-post-status.is-publish{background:#174b24;color:#c9ffd3}.pcrp-post-status.is-pending{background:#5a4500;color:#ffe785}.pcrp-user-shortcuts{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.pcrp-logout-button{display:inline-flex!important;width:auto!important}.pcrp-auth-modal-open{overflow:hidden}@media(max-width:760px){.pcrp-auth-modal{padding:10px;align-items:flex-end}.pcrp-auth-modal-dialog{width:100%;max-height:94vh;border-radius:16px 16px 0 0}.pcrp-role-tabs{margin-left:-4px;margin-right:-4px}.pcrp-user-shortcuts{display:grid;grid-template-columns:1fr}.pcrp-user-shortcuts a{width:100%}}

/* v1.3.0: limpia el título del tema y muestra paneles frontend separados. */
body.pcrp-clean-frontend-page .entry-header,
body.pcrp-clean-frontend-page .page-header,
body.pcrp-clean-frontend-page h1.entry-title,
body.pcrp-clean-frontend-page .entry-title,
body.pcrp-clean-frontend-page .page-title,
body.pcrp-clean-frontend-page .wp-block-post-title,
body.pcrp-clean-frontend-page main > article > header:first-child {
  display:none!important;
}
body.pcrp-clean-frontend-page .site-main,
body.pcrp-clean-frontend-page .content-area,
body.pcrp-clean-frontend-page main {
  padding-top:0!important;
  margin-top:0!important;
}
.pcrp-admin-frontend-note{grid-column:1/-1}
.pcrp-admin-panel-heading{grid-column:1/-1;display:flex;align-items:center;gap:10px;margin:12px 0 0;padding:12px 14px;background:#090909;border:1px solid #333;border-left:4px solid var(--pcrp-yellow);border-radius:10px}
.pcrp-admin-panel-heading span{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;border-radius:50%;background:var(--pcrp-yellow);color:#000;font-size:13px;font-weight:900}
.pcrp-admin-panel-heading h2{margin:0!important;color:#fff!important;font-size:16px!important;line-height:1.25!important}
.pcrp-auth-dashboard>.pcrp-role-panel{grid-column:1/-1}
@media(max-width:760px){
  body.pcrp-clean-frontend-page .site-content,
  body.pcrp-clean-frontend-page .content-area,
  body.pcrp-clean-frontend-page main,
  body.pcrp-clean-frontend-page article{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important}
  .pcrp-admin-panel-heading{margin-left:0;margin-right:0}
}
.pcrp-request-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;grid-column:1/-1}.pcrp-request-card h3{margin:0 0 10px;color:#fff;font-size:16px}.pcrp-request-card p{margin:0 0 14px;color:#d8d8d8}.pcrp-role-help{margin:0 0 10px;color:#ddd}.pcrp-request-card .pcrp-auth-primary{margin-top:6px}@media(max-width:900px){.pcrp-request-grid{grid-template-columns:1fr}}

/* v1.4.1: corrige desbordes y mejora legibilidad de paneles frontend. */
.pcrp-auth-shell,
.pcrp-auth-card,
.pcrp-role-panel,
.pcrp-content-form,
.pcrp-my-content,
.pcrp-profile-summary,
.pcrp-admin-panel-heading{max-width:100%;overflow:hidden}
.pcrp-auth-card,
.pcrp-role-panel,
.pcrp-content-form,
.pcrp-profile-summary,
.pcrp-my-content{word-break:break-word;overflow-wrap:anywhere}
.pcrp-auth-card h2,
.pcrp-auth-card h3,
.pcrp-role-panel h2,
.pcrp-role-panel h3,
.pcrp-profile-summary h2,
.pcrp-profile-summary h3,
.pcrp-my-content h2,
.pcrp-my-content h3{color:#fff!important;font-size:16px!important;line-height:1.3!important}
.pcrp-content-row{flex-wrap:wrap;align-items:flex-start}
.pcrp-content-row > div{min-width:0;flex:1 1 260px}
.pcrp-role-tabs{padding-bottom:2px}
@media(max-width:760px){
  .pcrp-auth-shell{padding:8px}
  .pcrp-auth-card,
  .pcrp-role-panel,
  .pcrp-content-form,
  .pcrp-profile-summary,
  .pcrp-my-content{padding:14px!important}
  .pcrp-admin-panel-heading{padding:12px!important}
  .pcrp-content-row{display:block}
  .pcrp-content-row > div{width:100%}
}

/* v1.4.4: acceso y cuenta personal en ventana flotante desde Home y página Carreras Perú. */
.pcrp-auth-modal-dialog.is-account{width:min(520px,100%);padding:18px}
.pcrp-modal-account{color:#fff}
.pcrp-modal-account-head{padding:18px;border:1px solid #333;border-radius:14px;background:linear-gradient(135deg,#151515,#090909)}
.pcrp-modal-account-head span{display:block;color:var(--pcrp-yellow);font-size:13px;font-weight:900;letter-spacing:.08em}
.pcrp-modal-account-head h2{margin:6px 0;color:#fff!important;font-size:16px!important;line-height:1.25!important}
.pcrp-modal-account-head p{margin:0;color:#d7d7d7;font-size:14px;overflow-wrap:anywhere}
.pcrp-modal-account-body{padding:16px 2px 2px}
.pcrp-modal-account-body>p{margin:0 0 14px;color:#ddd;font-size:14px}
.pcrp-modal-account-links{display:grid;grid-template-columns:1fr;gap:9px}
.pcrp-modal-account-links a{display:flex;align-items:center;justify-content:center;min-height:46px;padding:11px 14px;border:1px solid #555;border-radius:9px;background:#151515;color:#fff!important;text-align:center;text-decoration:none!important;font-size:14px;font-weight:900}
.pcrp-modal-account-links a.is-primary{background:var(--pcrp-yellow);border-color:var(--pcrp-yellow);color:#000!important}
.pcrp-modal-logout{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-top:12px;padding:10px 16px;border:1px solid var(--pcrp-yellow);border-radius:9px;color:var(--pcrp-yellow)!important;text-decoration:none!important;font-size:14px;font-weight:900}
@media(max-width:760px){
  .pcrp-auth-modal-dialog.is-account{padding:14px}
  .pcrp-modal-account-head{padding:15px}
  .pcrp-modal-account-body{padding-top:14px}
  .pcrp-modal-logout{width:100%}
}


/* v1.4.5: botón Cerrar sesión uniforme, texto 14px y 4px alrededor. */
.pcrp-logout-button,
.pcrp-modal-logout{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  margin-top:12px!important;
  padding:4px!important;
  border:1px solid var(--pcrp-yellow)!important;
  border-radius:4px!important;
  background:#111!important;
  color:var(--pcrp-yellow)!important;
  font-size:14px!important;
  line-height:1.2!important;
  font-weight:900!important;
  white-space:nowrap!important;
  text-decoration:none!important;
}
@media(max-width:760px){
  .pcrp-logout-button,
  .pcrp-modal-logout{width:auto!important;font-size:14px!important;padding:4px!important}
}


/* v1.4.6: accesos institucionales independientes desde botones compactos. */
.pcrp-role-entry-grid{display:grid;grid-template-columns:1fr;gap:14px;grid-column:1/-1}
.pcrp-role-entry-card{padding:18px;border:1px solid var(--pcrp-line);border-radius:14px;background:#111;color:#fff}
.pcrp-role-entry-head{display:flex;align-items:center;gap:10px;margin:0 0 10px}
.pcrp-role-entry-head span{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;border-radius:50%;background:var(--pcrp-yellow);color:#000;font-size:13px;font-weight:900}
.pcrp-role-entry-head h3{margin:0;color:#fff;font-size:16px;line-height:1.3}
.pcrp-role-entry-card p{margin:0 0 14px;color:#ddd}
.pcrp-role-entry-button{display:inline-flex!important;width:auto!important}
.pcrp-role-landing-grid{margin-top:14px}
.pcrp-role-benefits-card ul{margin:0;padding-left:18px}
.pcrp-role-benefits-list li{margin:0 0 8px}
.pcrp-role-landing-card,.pcrp-role-benefits-card{grid-column:span 1}
@media(max-width:760px){.pcrp-role-entry-card{padding:14px}.pcrp-role-entry-button{width:100%!important;justify-content:center}}


/* v1.4.7: botones de accesos institucionales dentro de la ventana flotante de Mi Cuenta. */
.pcrp-modal-role-links{margin-top:16px;padding-top:14px;border-top:1px solid #333}
.pcrp-modal-role-links h3{margin:0 0 8px;color:#fff!important;font-size:16px!important;line-height:1.25!important}
.pcrp-modal-role-links p{margin:0 0 12px;color:#d7d7d7;font-size:14px;line-height:1.45}
.pcrp-modal-role-buttons{display:grid;grid-template-columns:1fr;gap:9px}
.pcrp-modal-role-buttons .pcrp-auth-secondary{width:100%;justify-content:center;text-align:center;font-size:14px!important;padding:10px 14px!important}


/* v1.4.8: junta IR AL EVENTO y CERRAR SESIÓN dentro del mismo bloque para reducir espacios vacíos. */
.pcrp-modal-account-links{gap:8px!important}
.pcrp-modal-account-links .pcrp-modal-logout{margin-top:0!important;justify-content:center!important}
.pcrp-modal-role-links{margin-top:12px!important}


/* v1.4.9: elimina IR AL PANEL INSTITUCIONAL y sube CERRAR SESIÓN. */
.pcrp-modal-account-links .pcrp-modal-logout{margin-top:0!important}


/* v1.5.0: elimina nombre intermedio y resalta títulos en amarillo. */
.pcrp-modal-account-head > span{color:var(--pcrp-yellow)!important}
.pcrp-modal-account-head h2{display:none!important}
.pcrp-modal-role-links h3{color:var(--pcrp-yellow)!important}


/* v1.5.1: fuerza en amarillo los títulos señalados en la ventana flotante. */
.pcrp-modal-account-head > span,
.pcrp-modal-role-links > h3{
  color:#ffd400 !important;
}


/* v1.5.3: solo convierte los accesos institucionales en vistas flotantes; conserva botones, colores y navegación existentes. */
.pcrp-modal-view{display:none}
.pcrp-modal-view.is-active{display:block}
.pcrp-role-modal-back{margin:0 0 10px!important;width:auto!important;min-height:0!important;padding:4px!important;font-size:14px!important}
.pcrp-role-modal-card{margin-top:12px}
.pcrp-role-modal-card .pcrp-role-benefits-list{margin:0;padding-left:20px}
.pcrp-role-modal-card .pcrp-role-benefits-list li{margin:0 0 8px}
.pcrp-role-request-wrap{margin-top:12px}
.pcrp-role-request-wrap .pcrp-request-card{margin:0}


/* v1.5.4: restaura exactamente los colores y botones del panel original dentro de la ventana flotante. */
.pcrp-modal-role-buttons button.pcrp-auth-secondary{
  width:100%!important;
  justify-content:center!important;
  text-align:center!important;
  font-size:14px!important;
  padding:10px 14px!important;
  border:1px solid var(--pcrp-yellow)!important;
  background:#111!important;
  color:var(--pcrp-yellow)!important;
  font-weight:900!important;
}
.pcrp-role-modal-actions{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;margin-top:12px!important}
.pcrp-role-modal-actions .pcrp-auth-primary,
.pcrp-role-modal-actions .pcrp-auth-secondary{width:100%!important;min-height:46px!important;padding:11px 18px!important;border-radius:8px!important;font-size:14px!important;font-weight:900!important}
.pcrp-role-modal-actions .pcrp-auth-primary{background:var(--pcrp-yellow)!important;color:#000!important;border:1px solid var(--pcrp-yellow)!important}
.pcrp-role-modal-actions .pcrp-auth-secondary{background:#111!important;color:var(--pcrp-yellow)!important;border:1px solid var(--pcrp-yellow)!important}


/* v1.5.5: dentro de la ventana flotante se reutiliza exactamente el diseño original de la página, sin botones ni colores inventados. */
.pcrp-role-original-view .pcrp-auth-shell{
  width:100%!important;
  max-width:1180px!important;
  margin:0 auto!important;
}
.pcrp-role-original-view .pcrp-auth-grid,
.pcrp-role-original-view .pcrp-auth-dashboard{
  margin-top:14px!important;
}
.pcrp-role-original-view .pcrp-auth-heading,
.pcrp-role-original-view .pcrp-auth-card,
.pcrp-role-original-view .pcrp-auth-primary,
.pcrp-role-original-view .pcrp-auth-secondary{
  opacity:1!important;
  visibility:visible!important;
}


/* v1.5.8: panel Organizador uniforme a 14px y casillas de archivos oficiales. */
.pcrp-independent-panel-shell,
.pcrp-independent-panel-shell p,
.pcrp-independent-panel-shell li,
.pcrp-independent-panel-shell label,
.pcrp-independent-panel-shell input,
.pcrp-independent-panel-shell select,
.pcrp-independent-panel-shell textarea,
.pcrp-independent-panel-shell button,
.pcrp-independent-panel-shell a,
.pcrp-independent-panel-shell small{font-size:14px!important}
.pcrp-independent-panel-shell h1,
.pcrp-independent-panel-shell h2,
.pcrp-independent-panel-shell h3{font-size:16px!important;line-height:1.3!important}
.pcrp-organizer-file-box{margin:14px 0;padding:14px;border:1px solid #3a3a3a;border-radius:12px;background:#0d0d0d}
.pcrp-organizer-file-box h3{margin:0 0 6px;color:var(--pcrp-yellow)!important}
.pcrp-organizer-file-box p{margin:0 0 12px;color:#d7d7d7}
.pcrp-organizer-file-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.pcrp-organizer-file-grid label{min-width:0}
.pcrp-organizer-file-grid input[type=file]{width:100%;min-height:44px;padding:8px;border:1px solid #444;border-radius:8px;background:#111;color:#fff}
.pcrp-organizer-current-files{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.pcrp-organizer-file-link{display:inline-flex!important;align-items:center;min-height:34px!important;padding:6px 9px!important;border:1px solid var(--pcrp-yellow)!important;border-radius:7px!important;color:var(--pcrp-yellow)!important;text-decoration:none!important;font-size:13px!important}
@media(max-width:760px){.pcrp-organizer-file-grid{grid-template-columns:1fr}}


/* v1.5.9: formatos básicos Organizador, enlace externo y carga sin ZIP/MP4. */
.pcrp-organizer-file-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.pcrp-organizer-embed-check{display:flex!important;align-items:flex-start;gap:8px;margin:10px 0 4px!important;font-weight:400!important;color:#ddd!important}
.pcrp-organizer-embed-check input{width:auto!important;min-height:0!important;margin:3px 0 0!important}
.pcrp-organizer-file-box small,.pcrp-content-form label small{font-size:13px!important;color:#aaa!important;font-weight:400!important}
@media(max-width:760px){.pcrp-organizer-file-grid{grid-template-columns:1fr!important}}


/* v1.5.11: autogestión Organizador, edición, eliminación y estados de aprobación. */
.pcrp-content-form-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.pcrp-content-form-actions .pcrp-auth-primary,.pcrp-content-form-actions .pcrp-auth-secondary{width:auto;flex:1 1 190px}
.pcrp-content-row-main{min-width:0;flex:1 1 260px}
.pcrp-content-row-side{display:flex;flex-direction:column;align-items:flex-end;gap:8px;flex:0 0 auto}
.pcrp-content-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.pcrp-content-actions a,.pcrp-content-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:0;padding:4px 7px;border:1px solid #777;border-radius:4px;background:#444;color:#fff!important;font-size:12px!important;font-weight:900;text-decoration:none!important;cursor:pointer}
.pcrp-content-actions form{margin:0}
.pcrp-post-status{max-width:180px;text-align:center}
@media(max-width:760px){.pcrp-content-row-side{align-items:flex-start;width:100%;margin-top:10px}.pcrp-content-actions{justify-content:flex-start}.pcrp-content-form-actions{display:grid;grid-template-columns:1fr}.pcrp-content-form-actions .pcrp-auth-primary,.pcrp-content-form-actions .pcrp-auth-secondary{width:100%}}
