/* Foco de estudio. Presentation only; diagrams keep their geometry and scale relationships. */
@font-face{font-family:AGC Inter;src:url('/inter-variable.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
body.study-practice{--focus-green:#184c3c;--focus-ink:#20352c;--focus-muted:#586c60;--focus-border:#dfe7e0;--focus-soft:#f3f6f2;background:#f4f6f3;color:var(--focus-ink);font-family:"AGC Inter","Segoe UI",Arial,sans-serif}
body.study-practice button,body.study-practice input,body.study-practice select,.study-dialog,.study-dialog button{font-family:"AGC Inter","Segoe UI",Arial,sans-serif}
body.study-practice #studyBrandHeader{background:#173f33;border-bottom:0;min-height:72px;padding:8px max(24px,calc((100vw - 1180px)/2));gap:24px;box-shadow:0 1px 0 #173f3314}
body.study-practice .study-brand-lockup{gap:20px;min-width:0}
body.study-practice .study-brand-lockup img{width:152px;height:54px;object-fit:contain;flex-shrink:0}
body.study-practice .study-brand-words{padding-left:0;border:0;min-width:0}
body.study-practice .study-brand-lockup strong{font-size:14px;font-weight:600;line-height:1.35;color:#fff;letter-spacing:0}
body.study-practice .study-brand-lockup span{font-size:11px;letter-spacing:0;color:#d5e1d9;margin-top:2px}
body.study-practice .study-brand-lockup .study-environment{font-size:10px;color:#e1ce98;margin-top:2px;line-height:1.3}
body.study-practice .study-header-exit{font-size:12px;font-weight:500;min-height:44px;border:1px solid #ffffff30;border-radius:10px;padding:10px 14px;background:#ffffff05;color:#fff;box-shadow:none;white-space:nowrap}
body.study-practice .study-header-exit:hover{background:#ffffff12;border-color:#ffffff70}
body.study-practice .workspace{max-width:1228px;margin:0 auto;padding:16px 24px 28px}
body.study-practice #learner>.heading{max-width:1180px;margin:0 auto 14px;gap:12px;align-items:center}
body.study-practice #learner>.heading h1{font-size:13px;font-weight:500;color:#435c4e}
body.study-practice .study-family-label{font-size:11px;font-weight:400;letter-spacing:0;margin-left:10px;color:#63756b}
body.study-practice #learner>.heading button{font-size:12px;min-height:40px;font-weight:500;border:0;background:transparent;padding:8px 10px;border-radius:9px;color:#3f5d4d;box-shadow:none}
body.study-practice #learner>.heading button:hover{background:#e9efe8}
body.study-practice #refreshLearner{color:#65776a;font-size:11px}
.study-exercise#exerciseCard,.study-exercise#demoExercise{max-width:1180px;padding:24px 32px!important;border:1px solid #dfe7e0;border-radius:16px;background:#fff;box-shadow:0 8px 32px #18392909;font-family:"AGC Inter","Segoe UI",Arial,sans-serif;color:#20352c}
.study-exercise#exerciseCard>.heading,.study-exercise#demoExercise>.heading{display:flex;flex-direction:column-reverse;align-items:center;gap:10px;margin:0 0 12px!important}
.study-exercise#exerciseCard #exerciseTitle,.study-exercise#demoExercise #demoTitle{font-size:clamp(21px,2.2vw,27px);font-weight:600;letter-spacing:-.65px;line-height:1.3;text-align:center;max-width:950px;margin:0}
.study-exercise .tag{background:#edf4ed;color:#365644;font-size:11px;font-weight:500;padding:4px 10px;border-radius:20px;border:0}
.study-exercise#exerciseCard .exercise-instructions,.study-exercise#demoExercise .exercise-instructions{font-size:14px;line-height:1.55;color:#586c60;max-width:880px;margin:0 auto 18px;text-align:center;padding:0;background:none;border:0}
.study-exercise .study-question-area.study-text-choices{display:flex;flex-direction:column;gap:18px;max-width:960px;margin:auto}
.study-exercise .study-text-choices>.board{display:block;width:100%;padding:18px 24px;border:0;border-radius:12px;background:#f5f7f4}
.study-exercise .expression.word-problem,.study-exercise .expression.verbal-instructions{font-size:16px;line-height:1.6;padding:0;max-width:78ch;margin:auto}
.study-exercise .expression:not(.word-problem):not(.verbal-instructions){text-align:center}
.study-exercise .study-text-choices>fieldset{width:100%;padding:0}
.study-exercise fieldset legend,.study-exercise .board h4{font-size:12px;font-weight:500;color:#586c60;margin:0 0 10px;line-height:1.5}
.study-exercise .spatial-responsive:has(.spatial-givens),.study-exercise .graphic-responsive:has(>.graphic-relation){display:block;max-width:1040px;margin:auto}
.study-exercise .spatial-responsive:has(.spatial-givens)>.spatial-brief{display:flex;flex-direction:column-reverse;gap:12px}
.study-exercise .spatial-responsive:has(.spatial-givens) .spatial-rules{width:100%;text-align:center;padding:0;background:none;border:0;max-width:900px;margin:auto}
.study-exercise .spatial-rules h4{display:none}
.study-exercise .spatial-rules p{font-size:14px;line-height:1.5;margin:0;color:#586c60}
.study-exercise .spatial-responsive:has(.spatial-givens) .spatial-givens{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:14px;min-height:0;width:100%;background:none;border:0;padding:0}
.study-exercise .spatial-givens>figure{flex:0 1 360px;min-width:0;width:100%;padding:10px 16px;background:#f5f7f4;border:0;border-radius:12px}
.study-exercise .spatial-givens:has(>figure:nth-child(2))>figure{flex-basis:280px}
.study-exercise .spatial-responsive:has(.spatial-givens) .spatial-givens svg:not(svg svg){height:210px;max-width:100%;width:100%;min-height:0}
.study-exercise .spatial-responsive:has(.spatial-givens) .spatial-givens svg[data-study-target]{height:175px;max-width:260px}
.study-exercise .graphic-responsive:has(>.graphic-relation)>.graphic-relation{background:#f5f7f4;border:0;border-radius:12px;padding:12px;max-width:880px;margin:0 auto 14px;text-align:center}
.study-exercise .board .graphic-responsive>.graphic-relation svg:not(svg svg){height:210px;max-width:100%;width:100%}
.study-exercise .graphic-responsive:has(>.graphic-relation)>h4{text-align:center;margin-bottom:8px}
.study-exercise .spatial-responsive:has(.spatial-givens)>.spatial-answers,.study-exercise .graphic-responsive:has(>.graphic-relation)>.graphic-answers{margin:16px 0 0;padding:0;border:0}
.study-exercise .graphic-options,.study-exercise .stage2-options,.study-exercise .spatial-options,.study-exercise .spatial-responsive:has(.spatial-givens) .spatial-options,.study-exercise .graphic-responsive:has(>.graphic-relation) .graphic-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.study-exercise #options{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.study-exercise #options.focus-long-options{grid-template-columns:repeat(2,minmax(0,1fr))}
.study-exercise #options label,.study-exercise .study-option-card,.study-exercise .spatial-responsive:has(.spatial-givens) .study-option-card,.study-exercise .graphic-responsive:has(>.graphic-relation) .study-option-card{position:relative;border:1px solid #d6e1d9;border-radius:12px;background:#fff;padding:12px;box-shadow:none;min-width:0;min-height:76px;transition:background .18s,border-color .18s,box-shadow .18s,transform .18s}
.study-exercise #options label{display:flex;align-items:center;gap:12px;font-size:16px;line-height:1.5;cursor:pointer;margin:0}
.study-exercise #options label:hover,.study-exercise .study-option-card:hover{background:#f6faf6;border-color:#8aab95;box-shadow:0 4px 12px #1839290b;transform:translateY(-2px)}
.study-exercise #options label:has(:checked),.study-exercise .study-option-card.study-selected{background:#edf5ee;border-color:#24553e;box-shadow:0 0 0 1px #24553e;outline:0}
.study-exercise #options label:has(:focus-visible),.study-exercise .study-option-card:has(:focus-visible){outline:3px solid #a78632;outline-offset:4px}
.study-exercise #options label:has(:disabled),.study-exercise .study-option-card:has(:disabled){cursor:default;transform:none}
.study-exercise .focus-letter{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;flex-shrink:0;border-radius:7px;border:1px solid #dfe7e0;background:#fff;color:#586c60;font-size:12px;font-weight:500}
.study-exercise .focus-answer-text{font-weight:500;overflow-wrap:anywhere;min-width:0}
.study-exercise .study-option-label{position:static;min-height:28px;font-size:12px!important;font-weight:500!important;gap:8px}
.study-exercise .focus-radio{position:absolute!important;width:1px!important;height:1px!important;opacity:0;margin:0!important;clip-path:inset(50%)}
.study-exercise .study-option-card.study-selected::after{content:'●';position:absolute;right:10px;top:10px;font-size:14px;color:#24553e;pointer-events:none}
.study-exercise .study-option-card>button,.study-exercise .spatial-responsive:has(.spatial-givens) .study-option-card>button,.study-exercise .graphic-responsive:has(>.graphic-relation) .study-option-card>button{position:static;display:block;margin:4px auto 0;font-size:11px;min-height:32px;padding:4px 8px;color:#586c60;border:0;background:transparent;text-decoration:underline;text-underline-offset:3px}
.study-exercise .study-option-card svg:not(svg svg),.study-exercise .spatial-responsive:has(.spatial-givens) .study-option-card svg:not(svg svg),.study-exercise .graphic-responsive:has(>.graphic-relation) .study-option-card svg:not(svg svg){height:112px!important;width:100%!important;max-height:none!important}
.study-exercise .study-option-card svg.study-fragments,.study-exercise .spatial-responsive:has(.spatial-givens) .study-option-card svg.study-fragments{height:100px!important}
.study-exercise .spatial-text-option.study-option-card{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:18px;padding:16px;min-height:90px}
.study-exercise .spatial-text-option.study-option-card>strong{font-size:28px;font-weight:500;color:#20352c}
.study-exercise .spatial-text-option.study-option-card>span{display:none}
.study-exercise .study-actions{border-top:1px solid #e3e9e2;padding-top:18px;margin:20px 0 0!important;gap:12px}
.study-exercise .study-actions button{font-size:13px;font-weight:500;min-height:44px;border-radius:10px;padding:10px 16px;box-shadow:none}
.study-exercise .study-actions button.secondary{background:#fff;color:#24553e;border:1px solid #d6e1d9}
.study-exercise .study-actions button.secondary:hover{background:#f3f7f2}
.study-exercise .study-actions #answer,.study-exercise .study-actions #next{background:#184c3c;border-color:#184c3c;color:#fff;min-width:170px;box-shadow:0 3px 9px #184c3c10}
.study-exercise .study-actions #answer:hover,.study-exercise .study-actions #next:hover{background:#103f30}
.study-exercise #reportAssignment{font-size:11px;font-weight:400;color:#66786c;margin:10px 0 0;padding:4px 0;min-height:32px;text-decoration:underline;text-underline-offset:3px}
.study-dialog{font-family:"AGC Inter","Segoe UI",Arial,sans-serif}
.study-dialog .study-dialog-head{min-height:64px;padding:10px 24px}
.study-dialog .study-dialog-head h2{font-size:19px;font-weight:600;letter-spacing:-.3px}
.study-dialog .study-step>h4{font-size:22px;font-weight:600}
.study-dialog button{font-weight:500}
@media(min-width:901px) and (max-height:820px){
 body.study-practice #studyBrandHeader{min-height:64px;padding-top:6px;padding-bottom:6px}body.study-practice .study-brand-lockup img{height:48px}
 body.study-practice .workspace{padding-top:12px}.study-exercise#exerciseCard,.study-exercise#demoExercise{padding:18px 28px!important}
 .study-exercise#exerciseCard>.heading{gap:6px;margin-bottom:8px!important}.study-exercise#exerciseCard #exerciseTitle{font-size:24px}
 .study-exercise .spatial-responsive:has(.spatial-givens) .spatial-givens svg:not(svg svg){height:170px}
 .study-exercise .board .graphic-responsive>.graphic-relation svg:not(svg svg){height:170px}
 .study-exercise .study-option-card svg:not(svg svg),.study-exercise .spatial-responsive:has(.spatial-givens) .study-option-card svg:not(svg svg),.study-exercise .graphic-responsive:has(>.graphic-relation) .study-option-card svg:not(svg svg){height:88px!important}
 .study-exercise .study-actions{margin-top:14px!important;padding-top:12px}
}
@media(max-width:900px){
 body.study-practice #studyBrandHeader{padding:8px 20px;min-height:72px;gap:14px}body.study-practice .study-brand-lockup img{width:132px;height:50px}
 body.study-practice .workspace{padding:14px 18px 24px}.study-exercise#exerciseCard,.study-exercise#demoExercise{padding:22px!important}
 .study-exercise .study-option-card svg:not(svg svg){height:100px!important}
}
@media(max-width:600px){
 body.study-practice #studyBrandHeader{display:flex;min-height:64px;padding:6px 12px;gap:12px}body.study-practice .study-brand-lockup{gap:8px}
 body.study-practice .study-brand-lockup img{width:104px;height:48px}body.study-practice .study-brand-lockup strong{display:none}
 body.study-practice .study-brand-lockup span{font-size:11px}body.study-practice .study-brand-lockup .study-environment{font-size:9px;max-width:120px}
 body.study-practice .study-header-exit{font-size:11px;padding:8px 10px;min-height:44px}
 body.study-practice .workspace{padding:12px 10px 20px}body.study-practice #learner>.heading{margin-bottom:10px;gap:5px}
 body.study-practice #learner>.heading>div{flex-basis:100%;gap:4px}body.study-practice .study-family-label{margin:0;font-size:10px}
 body.study-practice #learner>.heading h1{font-size:12px}body.study-practice #learner>.heading button{min-height:36px;padding:6px 8px;font-size:11px}
 .study-exercise#exerciseCard,.study-exercise#demoExercise{padding:16px!important;border-radius:16px}
 .study-exercise#exerciseCard>.heading{align-items:flex-start;gap:8px;margin-bottom:10px!important}
 .study-exercise#exerciseCard #exerciseTitle,.study-exercise#demoExercise #demoTitle{text-align:left;font-size:21px;letter-spacing:-.5px}
 .study-exercise#exerciseCard .exercise-instructions{font-size:13px;text-align:left;line-height:1.5;margin-bottom:12px}
 .study-exercise .spatial-rules p{font-size:13px;line-height:1.45;text-align:left}
 .study-exercise .spatial-responsive:has(.spatial-givens) .spatial-givens svg:not(svg svg){height:170px}
 .study-exercise .spatial-responsive:has(.spatial-givens) .spatial-givens svg[data-study-target]{height:150px}
 .study-exercise .spatial-givens>figure{padding:8px;flex-basis:100%}
 .study-exercise .board .graphic-responsive>.graphic-relation svg:not(svg svg){height:auto;min-height:115px;max-height:230px}
 .study-exercise .graphic-options,.study-exercise .stage2-options,.study-exercise .spatial-options,.study-exercise .spatial-responsive:has(.spatial-givens) .spatial-options,.study-exercise .graphic-responsive:has(>.graphic-relation) .graphic-options,.study-exercise #options{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .study-exercise #options.focus-long-options{grid-template-columns:1fr}
 .study-exercise .study-option-card,.study-exercise .spatial-responsive:has(.spatial-givens) .study-option-card,.study-exercise .graphic-responsive:has(>.graphic-relation) .study-option-card{padding:10px}
 .study-exercise .study-option-card svg:not(svg svg),.study-exercise .spatial-responsive:has(.spatial-givens) .study-option-card svg:not(svg svg),.study-exercise .graphic-responsive:has(>.graphic-relation) .study-option-card svg:not(svg svg){height:90px!important}
 .study-exercise .study-option-card svg.study-fragments{height:85px!important}
 .study-exercise #options label{padding:12px;font-size:16px;gap:10px;min-height:68px}
 .study-exercise .spatial-text-option.study-option-card{gap:12px;min-height:68px}.study-exercise .spatial-text-option.study-option-card>strong{font-size:25px}
 .study-exercise .study-text-choices>.board{padding:14px}.study-exercise .study-question-area.study-text-choices{gap:14px}
 .study-exercise .study-actions{margin-top:16px!important;padding-top:14px;gap:10px}.study-exercise .study-actions button{font-size:12px;padding:10px 12px;min-height:44px}
 .study-exercise .study-actions #answer,.study-exercise .study-actions #next{min-width:140px}
 .study-dialog .study-dialog-head{padding:10px 12px}.study-dialog .study-step>h4{font-size:20px}
}
@media(max-width:380px){body.study-practice .study-brand-words{display:none}body.study-practice #learner>.heading>div{flex-direction:column;align-items:flex-start}.study-exercise .study-actions #answer,.study-exercise .study-actions #next{flex:1;min-width:120px}.study-exercise .focus-letter{width:25px;height:25px}.study-exercise #options label{padding:10px;gap:8px}}
/* Dense exercises use the available desktop width before requiring vertical scrolling. */
@media(min-width:901px){
 .study-exercise.focus-adapt .study-question-area.study-text-choices{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(240px,.85fr);align-items:center;gap:24px}
 .study-exercise.focus-adapt #options{grid-template-columns:repeat(2,minmax(0,1fr))}
 .study-exercise.focus-adapt #options.focus-long-options{grid-template-columns:1fr}
 .study-exercise.focus-adapt .spatial-responsive:has(.spatial-givens),.study-exercise.focus-adapt .graphic-responsive:has(>.graphic-relation){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 24px;align-items:center}
 .study-exercise.focus-adapt .spatial-responsive:has(.spatial-givens)>.spatial-brief{display:contents}
 .study-exercise.focus-adapt .spatial-responsive:has(.spatial-givens) .spatial-rules{grid-column:1/-1;grid-row:1}
 .study-exercise.focus-adapt .spatial-responsive:has(.spatial-givens) .spatial-givens{grid-column:1;grid-row:2}
 .study-exercise.focus-adapt .spatial-responsive:has(.spatial-givens)>.spatial-answers{grid-column:2;grid-row:2;margin:0}
 .study-exercise.focus-adapt .spatial-responsive:has(.spatial-givens) .spatial-options,.study-exercise.focus-adapt .graphic-responsive:has(>.graphic-relation) .graphic-options{grid-template-columns:repeat(2,minmax(0,1fr))}
 .study-exercise.focus-adapt .graphic-responsive:has(>.graphic-relation)>h4{grid-column:1;grid-row:1}
 .study-exercise.focus-adapt .graphic-responsive:has(>.graphic-relation)>.graphic-relation{grid-column:1;grid-row:2;margin:0}
 .study-exercise.focus-adapt .graphic-responsive:has(>.graphic-relation)>.graphic-answers{grid-column:2;grid-row:1/3;margin:0}
 .study-exercise.focus-adapt .study-option-card>button{min-height:28px;margin-top:0}
}
@media(prefers-reduced-motion:reduce){.study-exercise #options label,.study-exercise .study-option-card{transition:none!important;transform:none!important}}
.study-exercise#exerciseCard .study-option-card.study-selected,.study-exercise#demoExercise .study-option-card.study-selected{background:#edf5ee;border-color:#24553e;box-shadow:0 0 0 1px #24553e}
.study-exercise#exerciseCard .study-option-card:hover:not(:has(:disabled)),.study-exercise#demoExercise .study-option-card:hover:not(:has(:disabled)){background:#f1f7f1;border-color:#789e85}
.study-exercise .spatial-options,.study-exercise .graphic-options,.study-exercise .stage2-options{padding:4px}

/* Submitted-answer feedback takes precedence over selected/hover styling. */
.study-exercise#exerciseCard .study-option-card:has(.answer-incorrect),
.study-exercise#exerciseCard #options label.answer-incorrect{background:#fff3f0;border-color:#b53c31;box-shadow:0 0 0 1px #b53c31;outline:0}
.study-exercise#exerciseCard .study-option-card:has(.answer-incorrect)::after{content:'×';position:absolute;right:10px;top:7px;font-size:23px;line-height:1;color:#a42f26;pointer-events:none}
.study-exercise#exerciseCard .study-option-card:has(.answer-correct)::after{content:'✓';position:absolute;right:10px;top:10px;font-size:14px;color:#24553e;pointer-events:none}
.study-exercise#exerciseCard .learning-feedback.is-error{background:#fff3f0;border:1px solid #edc2bb;border-left:4px solid #b53c31;border-radius:12px;color:#742920;scroll-margin-block:16px}
.study-exercise#exerciseCard .learning-feedback.is-error strong{color:#8b2d25}
.study-exercise#exerciseCard .learning-feedback.is-error p{color:#742920}
.study-exercise#exerciseCard .learning-feedback{flex-wrap:wrap}
.study-exercise#exerciseCard .learning-feedback>div{flex:1 1 220px;min-width:0}
.study-exercise#exerciseCard .learning-feedback .learning-choice{font-size:13px;white-space:nowrap}
