/* Academia Pacto de Bendición v4.9 · estilos aislados */
.lms-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;margin:0 0 20px}.lms-head h2{font-size:27px;margin:4px 0 6px;letter-spacing:-.6px}.lms-head p{margin:0;color:#64748b}.lms-kicker{text-transform:uppercase;letter-spacing:.15em;color:#9b4266!important;font-weight:750;font-size:11px}.lms-pad{padding:23px;margin-bottom:18px}.lms-pad h3{margin:0 0 16px;font-size:19px;color:#263443}.lms-pad h4{margin-top:25px}.lms-pad label:not(.lms-check):not(.lms-member){font-weight:600;font-size:13px;display:block;margin:13px 0 6px;color:#42526a}.lms-pad input:not([type=checkbox]),.lms-pad textarea,.lms-pad select{width:100%;border:1px solid #d9e0e9;border-radius:10px;padding:10px 12px;background:#fff;outline-color:#934f70}.lms-pad textarea{resize:vertical;min-height:70px}.lms-pad .btn{margin-top:12px}.lms-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.lms-row{display:flex;gap:12px}.lms-row>*{flex:1;min-width:0}.lms-check{display:flex;gap:9px;align-items:flex-start;margin:13px 0;color:#465368;font-size:13px}.lms-check input{margin-top:3px}.lms-note{font-size:12px;color:#66758a;line-height:1.6}.lms-list{display:grid;gap:8px}.lms-line{padding:11px 12px;border:1px solid #e9edf2;background:#f9fafb;border-radius:11px;display:flex;justify-content:space-between;align-items:center;gap:15px}.lms-line strong{font-size:13px;color:#29394b}.lms-line small{font-size:11px;color:#6c7888;display:block;margin-top:4px}.lms-line form{flex-shrink:0}.lms-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.lms-exam-link{text-decoration:none;color:#7c405c}.lms-exam-link.sel{border-color:#a86485;background:#fcf3f6}.lms-members{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:290px;overflow:auto;margin:12px 0 16px}.lms-member{display:flex;align-items:center;gap:6px;padding:8px;border:1px solid #e7eaf0;border-radius:8px;font-size:12px}.lms-member[hidden]{display:none}.lms-member small{margin-left:auto;color:#8a97a8}.lms-review{border:1px solid #e5e9f0;border-radius:10px;padding:12px;margin-top:8px}.lms-review summary{font-weight:650;cursor:pointer}.lms-answer{padding:15px;background:#fafbfc;margin:11px 0;white-space:pre-wrap;line-height:1.7}.lms-student{max-width:930px;margin:32px auto 75px;padding:0 18px}.lms-student>a{color:#865072;text-decoration:none}.lms-student-head{margin:25px 0}.lms-student-head span{color:#9a5978;font-weight:700;letter-spacing:.08em;text-transform:uppercase;font-size:12px}.lms-student-head h1{font-size:clamp(26px,4vw,38px);margin:10px 0}.lms-student-head p{color:#606d7d;white-space:pre-line}.lms-paper{background:#fff;border-radius:20px;padding:clamp(19px,4vw,38px);box-shadow:0 6px 30px rgba(20,37,56,.08);margin:20px 0;border:1px solid #ececf0}.lms-paper h2{font-size:20px;margin:0 0 13px}.lms-question{border:0;border-bottom:1px solid #e9e9ee;padding:24px 0 28px;margin:0 0 10px;min-width:0}.lms-question legend{font-size:15px;line-height:1.6;width:100%;padding-top:20px}.lms-question legend small{float:right;color:#718096}.lms-option{display:flex;align-items:center;gap:12px;padding:12px;margin:8px 0;border-radius:11px;border:1px solid #e0e6ee;cursor:pointer}.lms-option:has(input:checked){background:#f4eef5;border-color:#b97d98}.lms-option input{flex-shrink:0}.lms-question textarea{width:100%;padding:14px;border:1px solid #d9e1ec;border-radius:12px;min-height:140px}.lms-timer{padding:12px;background:#fff4e0;border-radius:10px;color:#8a5e1c;font-weight:700}.lms-main-btn{appearance:none;border:none;border-radius:11px;background:#7e3959;color:white;padding:13px 24px;font-size:15px;font-weight:700;cursor:pointer}.lms-main-btn:hover{background:#602641}.lms-error{padding:14px;border-radius:12px;background:#fee9e9;color:#9e2424}.lms-pass{color:#107844;font-weight:750}.lms-fail{color:#ac3434;font-weight:750}.lms-result{font-size:25px}.lms-reading{white-space:normal;line-height:1.95;font-size:16px;color:#28333e;margin:25px 0 30px}.lms-course-additions{margin-top:18px;padding-top:15px;border-top:1px solid #ececf3}.lms-course-additions h4{font-size:15px;margin:0 0 8px}.lms-certificate-link{display:block;border-radius:11px;background:#e7f6ed;color:#17633b;text-align:center;padding:12px;font-weight:700;text-decoration:none;margin-top:15px}.lms-certificate-page{background:#f8f7f4;font-family:Georgia,serif;margin:0;padding:0;color:#263443}.lms-cert-tools{display:flex;justify-content:center;gap:25px;margin:20px}.lms-cert-tools a,.lms-cert-tools button{background:#704054;color:white;border:0;padding:12px 20px;border-radius:9px;font:600 13px system-ui;text-decoration:none;cursor:pointer}.lms-certificate{background:white;max-width:1000px;min-height:640px;margin:20px auto 40px;padding:72px 65px;border:14px double #c9aa6a;text-align:center;box-shadow:0 6px 25px #0001}.lms-cert-subtitle{text-transform:uppercase;letter-spacing:.2em;font-size:18px;font-weight:bold;color:#7a405c}.lms-certificate h1{font-size:41px;color:#29364c;margin:48px 0 38px}.lms-certificate h2{font-size:32px;border-bottom:1px solid #c8a865;display:inline-block;padding:0 38px 13px}.lms-certificate h3{font-size:26px;color:#86516e}.lms-certificate p{font-size:17px}.lms-certificate footer{margin-top:58px;color:#667;overflow-wrap:anywhere}.lms-valid{color:#0b814f;margin-top:30px;font-weight:bold}.lms-revoked{color:#b11;font-size:24px;font-weight:bold;margin:35px auto;border:2px solid #b11;padding:8px}
@media(max-width:800px){.lms-grid{grid-template-columns:1fr}.lms-members{grid-template-columns:1fr}.lms-line{align-items:flex-start;flex-wrap:wrap}.lms-pad{padding:16px}.lms-head h2{font-size:22px}.lms-certificate{padding:35px 20px;min-height:0;border-width:6px}.lms-certificate h1{font-size:28px}.lms-certificate h2{font-size:23px}.lms-row{flex-wrap:wrap}}
@media print{.lms-cert-tools{display:none!important}.lms-certificate-page{background:#fff}.lms-certificate{box-shadow:none;margin:0;max-width:none;width:100%;min-height:600px;page-break-inside:avoid}@page{size:A4 landscape;margin:12mm}}

.lms-lesson-image{display:block;width:100%;max-height:360px;object-fit:contain;border-radius:13px;margin:24px auto;background:#f3f5f7}

.lms-question-image{display:block;max-width:100%;max-height:300px;object-fit:contain;margin:15px 0;border-radius:10px}.lms-blank-input{display:block;width:100%;padding:12px;border:1px solid #cbd5e1;border-radius:9px}

/* v4.11 Avisos de evaluación en el portal privado */
.pdb-exam-pending-banner{background:#fff;border:1px solid #b5d0f6;border-left:5px solid #1f65b2;border-radius:17px;margin:18px 0 24px;padding:19px;box-shadow:0 4px 14px #112c4b0c}
.pdb-exam-pending-heading{display:flex;align-items:center;gap:13px;color:#21375b}.pdb-exam-pending-heading strong{font-size:18px}
.pdb-exam-pending-heading p{font-size:13px;margin:5px 0;color:#50627b}
.pdb-exam-count{display:grid;place-items:center;background:#ca2d42;color:#fff;min-width:37px;height:37px;border-radius:50%;font-weight:800}
.pdb-exam-pending-items{display:grid;gap:9px;margin-top:14px}
.pdb-exam-pending-link{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f4f8ff;border:1px solid #dce9fb;border-radius:10px;padding:12px 14px;text-decoration:none;color:#183e75;font-weight:600;font-size:13px}
.pdb-exam-pending-link b{white-space:nowrap;color:#165ea8}
.pdb-course-exam-alert{display:flex;align-items:center;gap:9px;flex-wrap:wrap;border-radius:11px;background:#eaf2ff;padding:10px 12px;margin:12px 0;color:#224575;font-size:12px}
.pdb-course-exam-dot{font-weight:900;display:grid;place-items:center;width:22px;height:22px;background:#d5384d;color:white;border-radius:50%}
.pdb-course-exam-alert a{margin-left:auto;color:#135fb0;font-weight:800;text-decoration:none}
@media(max-width:550px){.pdb-exam-pending-link{align-items:flex-start;flex-direction:column}.pdb-exam-pending-link b{white-space:normal}}

/* v4.12: distinguish overtime from remaining time. */
.lms-timer.lms-overtime{background:#fff0df!important;border-color:#efb86c!important;color:#8c4a06!important;font-weight:800}


/* v4.13 · Vista de examen. Se aísla de los estilos generales del sitio. */
body.pdb-exam-page{background:#faf9fa;color:#0c2446;min-width:0}
.pdb-exam-shell{width:min(100% - 32px,1060px);margin:0 auto;padding:44px 0 90px;font-family:inherit;color:#112441}
.pdb-exam-back{display:inline-flex;align-items:center;gap:9px;text-decoration:none;color:#88395d;font-size:14px;font-weight:650;margin-bottom:34px}
.pdb-exam-back:hover,.pdb-exam-back:focus-visible{text-decoration:underline}
.pdb-exam-intro{position:relative;padding:0 5px 12px;isolation:isolate}
.pdb-exam-intro:after{content:'';position:absolute;right:8px;top:0;width:220px;height:160px;border:15px solid rgba(135,56,89,.035);border-radius:45% 55% 50% 70%;transform:rotate(-21deg);pointer-events:none;z-index:-1}
.pdb-exam-eyebrow{color:#8b3960!important;letter-spacing:.11em;text-transform:uppercase;font-size:12px!important;font-weight:750!important;margin:0 0 18px!important}
.pdb-exam-intro h1{font-size:clamp(30px,5vw,47px)!important;letter-spacing:-.035em;color:#0c2446;line-height:1.12;margin:0 0 12px!important;font-weight:850}
.pdb-exam-subtitle{color:#708096;font-size:15px;line-height:1.7;margin:0 0 17px}
.pdb-exam-facts{display:flex;flex-wrap:wrap;gap:8px;margin-top:17px}
.pdb-exam-facts span{font-size:12px;color:#40516d;border:1px solid #dee6ef;padding:7px 11px;border-radius:99px;background:#fff}
.pdb-exam-sheet,.pdb-exam-history{background:#fff;border:1px solid #e7e8ee;border-radius:19px;box-shadow:0 12px 36px rgba(15,28,52,.075);padding:clamp(19px,3.5vw,36px);margin-top:26px;min-width:0}
.pdb-exam-timerbar{display:flex;align-items:center;gap:16px;padding:17px 22px;background:#fff3df;border-radius:13px;color:#895316;font-weight:800;font-size:18px;line-height:1.4}
.pdb-exam-timer-icon{display:grid;place-items:center;flex:0 0 41px;height:41px;border-radius:50%;font-size:32px;color:#fff;background:linear-gradient(135deg,#bd8c2e,#9c600e)}
.pdb-exam-timerbar.pdb-exam-overtime{color:#913d58;background:#fff0f5}
.pdb-exam-timerbar.pdb-exam-overtime .pdb-exam-timer-icon{background:#903d62}
.pdb-exam-progress-wrap{margin-top:18px;padding:0 1px 20px;border-bottom:1px solid #edf0f5}
.pdb-exam-progress-wrap>div:first-child{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#617189}
.pdb-exam-progress-wrap>div:first-child strong{color:#253a57}
.pdb-exam-progress-track{height:7px;background:#e6ecf4;border-radius:99px;overflow:hidden;margin-top:10px}
#pdb-exam-progress-fill{display:block;width:0%;height:100%;border-radius:99px;background:#2867c1;transition:width .2s ease}
fieldset.pdb-exam-question{min-width:0;border:0;border-bottom:1px solid #e8ecf2;margin:0;padding:24px 0 31px;display:block;width:100%}
fieldset.pdb-exam-question legend{width:100%;float:left;display:flex;justify-content:space-between;gap:12px;color:#7b8ba1;font-size:12px;font-weight:700;padding:0;margin:0 0 12px}
fieldset.pdb-exam-question legend+.pdb-exam-question-kind{clear:both}
.pdb-exam-qpoints{color:#687d9b;white-space:nowrap;font-weight:700}
.pdb-exam-question-kind{text-transform:uppercase;color:#8a4063;letter-spacing:.08em;font-size:10px;font-weight:800;margin-bottom:8px}
fieldset.pdb-exam-question h2{color:#132947;font-size:clamp(17px,2.3vw,21px);font-weight:800;line-height:1.5;margin:0 0 22px;max-width:100%;overflow-wrap:anywhere}
.pdb-exam-figure{display:block;max-width:100%;max-height:330px;object-fit:contain;margin:0 0 22px;border:1px solid #e3e9f1;border-radius:12px}
.pdb-exam-choices{display:grid;gap:12px;width:100%}
.pdb-exam-choices label.pdb-exam-choice{box-sizing:border-box;display:flex!important;flex-flow:row nowrap!important;align-items:center!important;justify-content:flex-start!important;gap:17px!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:71px;margin:0!important;padding:17px 21px!important;cursor:pointer;border:1px solid #dbe3ee!important;border-radius:11px!important;background:#fff!important;color:#182c4d!important;text-align:left!important;line-height:1.5!important;font-size:15px!important;font-weight:650!important;position:relative;overflow:visible;transition:border-color .16s,background .16s,box-shadow .16s}
.pdb-exam-choices label.pdb-exam-choice:hover{background:#f8faff!important;border-color:#aabdd9!important}
.pdb-exam-choices label.pdb-exam-choice:focus-within{outline:2px solid #3577c4;outline-offset:2px}
.pdb-exam-choices label.pdb-exam-choice:has(input:checked){border-color:#396caf!important;background:#f1f7ff!important;box-shadow:0 0 0 1px rgba(55,109,181,.12)}
.pdb-exam-choices label.pdb-exam-choice input[type=radio],.pdb-exam-choices label.pdb-exam-choice input[type=checkbox]{appearance:auto!important;display:block!important;position:static!important;float:none!important;transform:none!important;margin:0!important;padding:0!important;flex:0 0 19px!important;width:19px!important;height:19px!important;accent-color:#2e65b4!important;min-width:19px!important;min-height:19px!important;opacity:1!important}
.pdb-exam-choices .pdb-exam-choice-text{display:block!important;flex:1 1 auto!important;min-width:0!important;width:auto!important;max-width:100%!important;position:static!important;margin:0!important;padding:0!important;color:inherit!important;text-align:left!important;overflow-wrap:anywhere}
.pdb-exam-free-label{display:block;font-size:13px;font-weight:700;color:#435575;margin-bottom:8px}
.pdb-exam-question textarea,.pdb-exam-question input.pdb-exam-free-input{display:block;width:100%;min-width:0;box-sizing:border-box;background:#fff;border:1px solid #cbd5e4;color:#142742;padding:14px 16px;border-radius:11px;font-size:15px;line-height:1.6}
.pdb-exam-question textarea:focus-visible,.pdb-exam-question input.pdb-exam-free-input:focus-visible{border-color:#306ec0;outline:2px solid #306ec044}
.pdb-exam-hint{color:#728198;font-size:12px;margin:10px 0 0}
.pdb-exam-submit-line{display:flex;align-items:center;gap:20px;flex-wrap:wrap;padding-top:26px}
.pdb-exam-submit-line p{margin:0;color:#7b899b;font-size:12px;flex:1 1 200px}
.pdb-exam-submit{display:inline-flex;align-items:center;justify-content:center;min-height:49px;padding:13px 28px;background:linear-gradient(100deg,#7d3154,#922f61);color:#fff!important;border:0;border-radius:35px;font-weight:800;font-size:14px;cursor:pointer;box-shadow:0 8px 18px #7d31542b;max-width:100%}
.pdb-exam-submit:hover{filter:brightness(.96)}.pdb-exam-submit:disabled{opacity:.7;cursor:wait}
.pdb-exam-secondary{display:inline-block;margin-top:15px;color:#873b5c;font-weight:700}
.pdb-exam-start h2,.pdb-exam-result h2,.pdb-exam-history h2{color:#122746;font-size:20px;margin:0 0 10px}
.pdb-exam-start p,.pdb-exam-result p{color:#526781;line-height:1.7;margin:10px 0 21px}
.pdb-exam-history-heading{display:flex;align-items:center;gap:15px;margin-bottom:23px}
.pdb-exam-history-icon{display:grid;place-items:center;width:48px;height:48px;flex:0 0 48px;border-radius:50%;color:#8b3a5b;background:#f6e9ef;font-size:22px}
.pdb-exam-history-heading p{color:#8390a5;font-size:13px;margin:0}
.pdb-exam-history-labels,.pdb-exam-history-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,.35fr);gap:14px;align-items:center;padding:12px 18px}
.pdb-exam-history-labels{background:#f5f7fa;border:1px solid #e7eaf1;border-bottom:0;border-radius:10px 10px 0 0;font-size:11px;color:#687891;letter-spacing:.045em}
.pdb-exam-history-row{border:1px solid #e7eaf1;border-radius:0 0 10px 10px;color:#28405f;font-size:13px}
.pdb-exam-history-row>span:first-child{overflow-wrap:anywhere}
.pdb-exam-history-row>span:first-child span{font-size:19px;vertical-align:middle;margin-right:8px;color:#8596ae}
.pdb-exam-status{display:inline-flex;align-items:center;justify-self:start;border-radius:99px;padding:7px 12px;background:#fff3dd;color:#8c5b17;font-size:12px;font-weight:750;line-height:1.3;max-width:100%}
.pdb-exam-status-good{background:#e4f8ec;color:#127c41}.pdb-exam-status-bad{background:#ffebea;color:#a63939}
@media(max-width:690px){.pdb-exam-shell{width:min(100% - 20px,1060px);padding:22px 0 55px}.pdb-exam-back{margin-bottom:26px}.pdb-exam-sheet,.pdb-exam-history{padding:18px 15px;border-radius:14px;margin-top:18px}.pdb-exam-timerbar{font-size:15px;padding:12px 13px;gap:11px}.pdb-exam-timer-icon{height:33px;flex-basis:33px;font-size:25px}.pdb-exam-choices label.pdb-exam-choice{min-height:59px;padding:12px 13px!important;gap:12px!important;font-size:14px!important}.pdb-exam-submit-line{display:block}.pdb-exam-submit-line p{margin-top:13px}.pdb-exam-history-labels,.pdb-exam-history-row{grid-template-columns:minmax(0,1fr) minmax(98px,.6fr);padding:11px 9px;gap:6px;font-size:12px}}
@media(prefers-reduced-motion:reduce){#pdb-exam-progress-fill,.pdb-exam-choice{transition:none!important}}

/* v4.14 · Historial privado, respuestas y acceso a nuevos intentos */
.pdb-my-exams-shortcut{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;padding:20px 23px;background:#fff;border:1px solid #dfe6ed;border-radius:15px;margin:15px 0}
.pdb-my-exams-shortcut p{font-size:13px;color:#627286;margin:6px 0 0}
.pdb-my-exams-shortcut .pdb-btn{white-space:normal}
.pdb-my-exams-grid{display:grid;gap:15px;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));margin-top:18px}
.pdb-my-exam-card{border:1px solid #dae4ef;border-radius:14px;padding:18px;display:flex;flex-direction:column;justify-content:space-between;gap:17px}
.pdb-my-exam-card small{font-size:11px;font-weight:750;color:#7b3957;text-transform:uppercase}
.pdb-my-exam-card h3{font-size:19px;color:#132846;margin:7px 0}
.pdb-my-exam-card p{font-size:13px;color:#607188;margin:0}
.pdb-my-exam-card .pdb-exam-submit{text-decoration:none;font-size:13px;text-align:center}
.pdb-exam-history-row{text-decoration:none!important;color:inherit;cursor:pointer}
.pdb-exam-history-row:hover{background:#f3f7fb}
.pdb-exam-review-desc{color:#61758c;font-size:14px;margin:0 0 18px}
.pdb-exam-review-item{padding:17px 0;border-top:1px solid #e9edf3}
.pdb-exam-review-item strong{display:block;color:#193252;font-size:15px;line-height:1.5}
.pdb-exam-review-item ul{margin:9px 0 0 17px;padding:0;color:#36516d}
.pdb-exam-review-item p{margin:9px 0 0;color:#36516d;white-space:normal;overflow-wrap:anywhere}
@media(max-width:600px){.pdb-my-exams-shortcut{padding:15px}.pdb-my-exams-shortcut .pdb-btn{width:100%;text-align:center}}
