/* Estilos acotados a Matemáticas · Segundo EGB. */
.s2-visual{font-family:inherit;font-size:22px;font-weight:600;line-height:1.45;color:#26334a;width:100%;max-width:100%;box-sizing:border-box;text-align:center}
.s2-question{font-size:22px!important;line-height:1.4!important;padding:20px!important;min-width:0;overflow-wrap:anywhere}
.s2-page .video-stage{background:#e8f3ff!important;color:#273a57!important;border:1px solid #c8def7!important;border-radius:24px;padding:22px!important}
.s2-page .video-stage .k,.s2-page .video-stage .copy,.s2-page .video-stage .tip{color:#273a57!important}
.s2-page .video-stage .eq{font-size:24px!important;line-height:1.3;min-width:0}
.s2-page .v28-guide-audio{color:#244f81;background:#fff;border-color:#bbd2ef}
.s2-page .video-stage .tip:empty{display:none}
.s2-page .video-stage .copy{font-size:19px!important;line-height:1.5;max-width:none}
.s2-page .helper .help:nth-child(2){display:none}
.s2-page .helper-math{font-size:18px!important;overflow:auto}
.s2-page .helper-math .s2-equation{font-size:30px}
.s2-page .helper-math .s2-pair{grid-template-columns:1fr}
.s2-page .helper-math .s2-token{font-size:23px;min-width:30px;height:34px}
.s2-page .helper-math .s2-visual{font-size:16px}
.s2-page .s2-concept{background:#fff!important;border:1px solid #dbe6f6!important;padding:22px!important}
.s2-page .s2-concept .concept-definition{display:none}
.s2-page .s2-concept .concept-cols{display:grid;grid-template-columns:1fr 1.2fr;gap:15px;margin-top:16px}
.s2-page .s2-concept .concept-block{border:1px solid #c9dff9!important;box-shadow:none!important;background:#edf6ff!important;padding:17px!important}
.s2-page .s2-concept .concept-block:nth-child(2){background:#f8fbff!important}
.s2-page .s2-concept .concept-block ul{list-style:none;padding-left:0}
.s2-page .s2-concept .concept-block h4{font-size:19px!important;color:#244f81}
.s2-page .s2-concept .concept-block li{font-size:18px!important;line-height:1.5!important}
.s2-page .s2-concept .concept-block ol{padding-left:24px}
.s2-page .s2-concept .v28-audio{margin-top:9px;font-size:14px;min-height:40px}
.s2-page .kid-board{background:#f3fbfa;border:1px solid #cde7e2;padding:18px!important}
.s2-page .kid-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.s2-page .choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.s2-page .choice{font-size:22px!important;text-align:center;min-height:60px;padding:14px 10px!important;white-space:normal;overflow-wrap:anywhere;line-height:1.3;border-radius:17px}
.s2-page .choice:focus-visible,[data-s2-tap]:focus-visible{outline:3px solid #2169cc;outline-offset:3px}
.s2-page .s2-exercise-guide{margin:12px 0 20px}
.s2-exercise-guide{display:grid;grid-template-columns:1fr 1.4fr;gap:12px;font-size:17px;line-height:1.5;color:#263d5a;text-align:left;font-weight:500}
.s2-hint,.s2-actions{background:#edf6ff;border:1px solid #cee2f9;border-radius:18px;padding:15px 17px;min-width:0}
.s2-actions{background:#f8fbff}
.s2-hint b,.s2-actions b{font-size:17px;color:#255480}
.s2-hint p{margin:8px 0 0}
.s2-actions ol{margin:8px 0 0;padding-left:23px}
.s2-actions li{margin:4px 0}
.s2-equation{font-size:clamp(30px,5vw,53px);font-weight:850;letter-spacing:.015em;margin:8px 0 17px;color:#25294c;line-height:1.3}
.s2-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:stretch}
.s2-panel{background:#fff;border:1px solid #dfe6f4;border-radius:18px;padding:13px;margin:8px 0;min-width:0}
.s2-label{font-size:16px;font-weight:650;color:#50647c;margin:0 0 8px;line-height:1.5}
.s2-dots{display:flex;flex-wrap:wrap;gap:4px;justify-content:center;align-items:center;max-width:480px;margin:auto}
.s2-token{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:43px;font-size:29px;border:2px solid transparent;border-radius:10px;line-height:1;user-select:none;position:relative;box-sizing:border-box}
[data-s2-tap]{cursor:pointer;touch-action:manipulation}
.s2-counted{background-color:#dbf4e8!important;border-color:#268966!important;box-shadow:0 0 0 2px #268966}
.s2-gone{opacity:.38;position:relative}
.s2-gone:after{content:'';position:absolute;height:3px;background:#c33946;top:49%;left:0;width:100%;transform:rotate(-35deg)}
.s2-base{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:center;gap:9px;min-height:50px;margin:8px auto;max-width:470px}
.s2-ten{display:flex;flex-direction:column;width:17px;border:1px solid #5479ba;background:#90bafd;border-radius:3px;position:relative;box-sizing:content-box}
.s2-ten i{height:10px;box-sizing:border-box;border-bottom:1px solid #5278b9;display:block}
.s2-ten i:last-child{border-bottom:none}
.s2-unit{width:17px;height:11px;box-sizing:content-box;border:1px solid #bd7918;background:#ffd676;display:block;position:relative}
.s2-empty{font-size:17px;color:#68758b;border:2px dashed #d6dfec;border-radius:12px;padding:15px}
.s2-word{font-size:clamp(21px,4vw,34px);font-weight:750;margin:9px 0;line-height:1.35}
.s2-story{font-size:21px;font-weight:650;margin:8px 0}
.s2-shape{width:190px;height:165px;max-width:100%;display:block;margin:6px auto;overflow:visible}
.s2-pattern{display:flex;justify-content:center;align-items:center;gap:9px;flex-wrap:wrap;font-size:32px;padding:12px 0}
.s2-pattern>span{border:1px solid #dfe5f2;border-radius:12px;background:#fff;padding:6px 10px;min-width:34px}
.s2-pattern .s2-missing{border:2px dashed #6a68df;color:#5857c6}
.s2-map{display:grid;grid-template-columns:repeat(5,44px);gap:3px;width:max-content;max-width:100%;margin:auto}
.s2-map>span{height:44px;display:grid;place-items:center;background:#fff;border:1px solid #c9dfd6;border-radius:6px;font-size:28px}
.s2-strip-object{height:17px;border-radius:0 8px 8px 0;margin:3px 0 8px;max-width:100%}
.s2-blockline{display:flex;justify-content:flex-start;margin:6px 0;gap:0;flex-wrap:nowrap}
.s2-blockline>span{width:26px;min-width:0;height:26px;background:#78b1ea;border:1px solid #416f9d;box-sizing:border-box;display:block;position:relative}
.s2-days{display:flex;justify-content:center;gap:7px;flex-wrap:wrap;margin:12px 0}
.s2-days span{font-size:16px;padding:7px 10px;border:1px solid #dce4f2;border-radius:10px;background:#fff;font-weight:550}
.s2-days .s2-selected{background:#d9eafa;border-color:#4888bf}
.s2-daypart{font-size:72px;line-height:1.2;margin:10px 0}
.s2-coins{display:flex;gap:8px;flex-wrap:wrap;align-items:center;justify-content:center}
.s2-coin{width:72px;height:72px;box-sizing:border-box;border-radius:50%;background:#fff1bc;border:3px double #b89336;display:flex;flex-direction:column;justify-content:center;font-size:28px;font-weight:850;line-height:1.2;color:#694d11;user-select:none}
.s2-coin small{font-size:11px;font-weight:650;margin-top:2px}
.s2-result{font-size:37px;color:#245c71;font-weight:850;line-height:1.3;padding:15px}
.s2-next-eval{display:block;margin-top:12px}
.s2-page #verifyBox .s2-visual{margin:15px 0}
.s2-page #verifyBox .choices{grid-template-columns:repeat(3,minmax(0,1fr))}
.s2-page #verifyBox .choices>.btn{grid-column:1/-1}
.s2-page #taskList .assignment-item{padding:20px}
.s2-page #taskList .s2-visual{max-width:750px;margin:auto}
@media(max-width:700px){
 .s2-page .s2-concept .concept-cols,.s2-exercise-guide{grid-template-columns:1fr}
 .s2-question{padding:14px!important}
 .s2-page .choice{font-size:19px!important;min-height:56px}
 .s2-pair{gap:8px}.s2-panel{padding:9px}
 .s2-token{font-size:25px;min-width:31px;height:36px}
 .s2-ten{width:14px}.s2-ten i{height:9px}.s2-unit{width:14px;height:10px}.s2-base{gap:7px}
 .s2-label{font-size:14px}.s2-story{font-size:18px}.s2-shape{width:165px;height:145px}
 .s2-page .s2-concept{padding:16px!important}.s2-page .video-stage{padding:16px!important}
 .s2-page .s2-concept .concept-block li{font-size:16px!important}
 .s2-exercise-guide{font-size:16px}.s2-pattern{font-size:24px;gap:6px}
 .s2-days span{font-size:14px}.s2-coin{width:59px;height:59px;font-size:25px}
 .s2-page #taskList .assignment-item{padding:12px}.s2-page #taskList .choices{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media print{
 .s2-page .s2-exercise-guide{font-size:11px}.s2-page .s2-question{font-size:15px!important}
 .s2-page .assignment-item{break-inside:avoid}.s2-page .s2-next-eval{display:none}
}
/* Una misma unidad visual incluso dentro de la ayuda estrecha. */
.s2-ruler{width:234px;max-width:100%}
.s2-ruler .s2-blockline>span{flex:1;aspect-ratio:1;height:auto}
