*{box-sizing:border-box}html,body{min-height:100%;margin:0}body{font-family:var(--study-font);font-size:var(--study-size);color:var(--study-text);background:var(--study-bg);line-height:1.55}.study-shell{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:28px}.study-card{width:min(100%,var(--study-width));background:rgba(255,255,255,.96);border-radius:14px;padding:clamp(22px,4vw,48px);box-shadow:0 12px 40px #00000012}.study-card h1{margin-top:0;line-height:1.15}.study-content img{max-width:100%;height:auto}.study-content video{max-width:100%;height:auto}.study-button,button.study-button{display:inline-block;width:auto;background:var(--study-button);color:var(--study-button-text);border:0;border-radius:var(--study-radius);padding:13px 24px;text-decoration:none;font:inherit;font-weight:700;cursor:pointer}.study-button:hover,button.study-button:hover{background:var(--study-button-hover)}.study-actions{margin-top:28px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}.study-field{margin:18px 0}.study-field label,.study-field legend{display:block;font-weight:700;margin-bottom:7px}.study-field input[type=text],.study-field input[type=email],.study-field input[type=date],.study-field input[type=number],.study-field select{width:100%;padding:11px;border:1px solid #b9c1c7;border-radius:7px;font:inherit;background:#fff}.study-field .choice{display:block;font-weight:400;margin:7px 0}.docs{padding:14px 18px;background:#f5f7f9;border-radius:9px}.docs a{text-decoration:underline}.consent{padding:15px;border:1px solid #bdc8d0;border-radius:9px;margin:22px 0;background:#fff}.consent label{font-weight:700}.dynamic-code{font-size:1.25em;font-weight:800;word-break:break-word}.external-codes{margin-top:24px;padding:16px;background:#f5f7f9;border-radius:9px}.error-box{background:#fff0f0;border:1px solid #e6b7b7;padding:14px;border-radius:8px;margin-bottom:18px}@media(max-width:640px){.study-shell{padding:12px}.study-card{padding:22px 18px;border-radius:8px}}
/* V2.4 contenido editorial y registro */
.study-content figure{margin:1.2em 0;text-align:center}.study-content figcaption{font-size:.9em;opacity:.78;margin-top:.4em}.study-content a{color:inherit;text-decoration:underline}.study-content img,.study-content video{max-width:100%;height:auto}.field-help{font-size:.88em;opacity:.75;margin-top:6px}.required:after{content:" *";color:#a33131}

/* V2.4.8 · Bloque independiente de confirmación de lectura de documentos */
.reading-confirmation{margin:28px 0 24px;padding:22px;border:1px solid rgba(0,0,0,.12);border-radius:12px;background:rgba(255,255,255,.42)}
.reading-confirmation h2{margin-top:0;margin-bottom:12px;font-size:1.35em}
.reading-confirmation .docs{margin-top:16px}
.reading-confirmation .docs ul{margin-bottom:0}
@media (max-width:600px){.reading-confirmation{margin:20px 0;padding:16px}.reading-confirmation h2{font-size:1.2em}}

/* V2.4.8: consentimiento editable y alineado tras la confirmación documental */
.consent-layout{display:flex;align-items:flex-start;gap:12px}
.consent-layout>input[type="checkbox"]{flex:0 0 auto;margin-top:.35em;width:20px;height:20px}
.consent-copy{margin:0;min-width:0}
.consent-copy>:first-child{margin-top:0}
.consent-copy>:last-child{margin-bottom:0}
@media (max-width:600px){.consent-layout{gap:10px}.consent-layout>input[type="checkbox"]{width:22px;height:22px}}
