/* Applied exclusively by guiado.html; normal laboratory keeps its layout. */
body.guided{height:100dvh;display:flex;flex-direction:column;overflow:auto;background:#e9f3fb;color:#183b57}.guided button,.guided a{font:inherit}.guided button:focus-visible,.guided a:focus-visible{outline:2px solid #80ceff;outline-offset:2px}.guided-header{display:flex;align-items:center;gap:14px;padding:12px 20px;background:#163d5e;color:white;flex-shrink:0}.guided-header>a{color:white;font-size:24px;text-decoration:none;font-weight:800}.guided-header b{color:#ffcf31}.guided-header>span{margin-right:auto;font-size:13px}.guided-header button{background:#24587e;color:white;border:1px solid #83b3ce;border-radius:9px;padding:9px 12px;cursor:pointer}.guided #app{display:flex;flex:1;min-height:0;height:auto;background:none}.guided .app-header,.guided .mobile-tabs,.guided #catalogs,.guided .workspace-lower,.guided .dashboard-splitter,.guided .workspace-stage,.guided .program-tabs,.guided #save-project,.guided .mission-compact,.guided .activity-context,.guided .scene-tool-group,.guided .normal-tool-rail,.guided .scene-edit-tools,.guided #fullscreen,.guided .workspace-resume,.guided #app>footer{display:none!important}.guided .app-workspace{display:grid!important;grid-template-columns:310px minmax(0,1fr);grid-template-rows:minmax(0,1fr)!important;gap:12px;padding:12px;flex:1;min-height:0}.guided .workspace-upper{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(280px,.8fr)!important;min-height:0;gap:12px}.guided .workspace-upper .simulator{display:flex!important;grid-column:auto!important;height:100%;min-height:320px}.guided .workspace-upper .programming{display:flex!important;grid-column:auto!important;height:100%;min-height:340px}.guided[data-guided-level="1"] .workspace-upper{grid-template-columns:minmax(0,1fr)!important}.guided[data-guided-level="1"] .workspace-upper #programming{display:none!important}.guided-panel{min-width:0;background:#fff;border:1px solid #bcd6e6;border-radius:14px;padding:20px;overflow:auto}.guided-panel small{font-size:12px;color:#3d657e}.guided-panel h1{font-size:25px;line-height:1.18;margin:10px 0 12px}.guided-panel p,.guided-panel li{font-size:14px;line-height:1.5}.guided-panel ol{padding-left:20px}.guided-panel li{margin-bottom:10px}.guided-panel details{padding:10px 0}.guided-panel summary{cursor:pointer;font-weight:600}.guided-criterion{background:#e9f4fd;border-radius:8px;padding:12px}.guided-panel output{display:block;font-size:13px;line-height:1.65;color:#355875;margin-bottom:15px}.guided-actions,#guided-directions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}.guided-actions button,#guided-directions button{border:1px solid #abcade;background:#edf5fc;color:#173e5a;border-radius:8px;padding:10px 7px;cursor:pointer;font-size:13px;min-height:42px}.guided-actions button:disabled{opacity:.5;cursor:default}#guided-run,#guided-check{background:#0875b5;color:#fff;border-color:#0875b5}#guided-save{display:block;line-height:1.5}#guided-result{color:#145073}.guided-route{width:min(820px,calc(100% - 24px));max-height:90dvh;border:1px solid #9bbfd5;border-radius:18px;padding:26px;color:#173e5a;background:#fff;overflow:auto}.guided-route::backdrop{background:#102d48aa}.guided-route h2{font-size:28px;margin-top:0}.guided-route p{line-height:1.6;font-size:14px}.guided-route button{border:1px solid #a7c9df;background:#edf5fc;border-radius:9px;padding:12px;cursor:pointer;color:#164c70}.guided-route a{color:#12619d}#guided-levels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0}#guided-levels h3{font-size:18px}#guided-levels section{background:#f1f7fc;padding:16px;border-radius:12px}#guided-levels button{display:block;width:100%;text-align:left;margin:8px 0;background:#fff;font-size:13px}.guided .indicator-legend{font-size:11px}.guided .keyboard-help{display:none!important}
@media(max-width:1100px){.guided .app-workspace{grid-template-columns:260px minmax(0,1fr)}.guided .workspace-upper{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(230px,.9fr) minmax(300px,1fr)}.guided .workspace-upper .simulator{min-height:230px}.guided .workspace-upper .programming{min-height:300px}.guided[data-guided-level="1"] .workspace-upper{grid-template-rows:minmax(0,1fr)}.guided-panel{padding:16px}}
@media(max-width:650px){body.guided{height:auto;min-height:100dvh;overflow:auto}.guided-header{padding:12px;gap:8px;flex-wrap:wrap}.guided-header>a{font-size:22px}.guided-header>span{flex:1;font-size:11px}.guided-header button{font-size:12px;flex:1}.guided #app{overflow:visible;min-height:0}.guided .app-workspace{display:flex!important;flex-direction:column;padding:8px;overflow:visible}.guided-panel{overflow:visible}.guided .workspace-upper{display:flex!important;flex-direction:column;overflow:visible}.guided .workspace-upper .simulator{height:330px;min-height:330px;flex:none}.guided .workspace-upper .programming{height:430px;min-height:430px;flex:none}.guided-route{padding:20px}#guided-levels{grid-template-columns:1fr}.guided .viewport-caption span:last-child{display:none}.guided .indicator-legend{display:none!important}}

.guided-panel output{white-space:pre-line}.guided-mobile-tabs,.guided-mobile-actions{display:none}
@media(max-width:650px){.guided-header>a{width:100px}.guided-header>span{flex:1;font-size:12px}.guided-header{gap:10px}.guided-mobile-tabs{display:flex;gap:8px;padding:8px;background:#dcecf8}.guided-mobile-tabs button{flex:1;border:1px solid #94b8d0;border-radius:8px;background:white;padding:10px;color:#173e5a}.guided-mobile-tabs button[aria-pressed=true]{background:#0875b5;color:white}.guided-mobile-actions{display:block;position:fixed;bottom:0;left:0;right:0;z-index:30;background:#fff;border-top:1px solid #abcade;padding:8px 12px}.guided-mobile-buttons{display:flex;gap:8px}.guided-mobile-buttons button{flex:1;border:1px solid #abcade;border-radius:8px;padding:12px 4px;color:#173e5a;background:#eaf4fc}.guided-mobile-directions{display:none}.guided[data-guided-level="1"] .guided-mobile-directions{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:8px}.guided-mobile-directions button{border:1px solid #abcade;border-radius:8px;padding:10px 4px;background:#eaf4fc;color:#173e5a;font-size:13px}.guided-mobile-actions small{display:block;font-size:11px;line-height:1.4;margin-top:5px;max-height:32px;overflow:auto}.guided{padding-bottom:112px}.guided[data-guided-level="1"]{padding-bottom:205px}.guided[data-guided-view="activity"] .workspace-upper{display:none!important}.guided[data-guided-view="scene"] .guided-panel,.guided[data-guided-view="blocks"] .guided-panel{display:none!important}.guided[data-guided-view="scene"] .workspace-upper .programming,.guided[data-guided-view="blocks"] .workspace-upper .simulator{display:none!important}.guided[data-guided-view="scene"] .workspace-upper .simulator{height:calc(100dvh - 260px);min-height:330px}.guided[data-guided-view="blocks"] .workspace-upper .programming{height:calc(100dvh - 260px);min-height:380px}}

.guided .measurement-tools,.guided .coordinate-gizmo{display:none!important}@media(max-width:650px){.guided-header>a{width:auto;font-size:20px;white-space:nowrap}.guided-header>span{display:none}.guided .scene-toolbar .camera-mode-control{display:none}}

.guided[data-guided-mode="practice"] #guided-steps,.guided[data-guided-mode="practice"] .guided-criterion{display:none}

.guided[data-guided-activity="1-1"] .guided-mobile-directions{display:none!important}@media(max-width:650px){.guided[data-guided-activity="1-1"]{padding-bottom:112px}}

/* Ficha acotada: las instrucciones desplazan, las acciones permanecen visibles. */
.guided .guided-panel{display:flex;flex-direction:column;min-height:0;padding:12px;overflow:hidden;font-size:13px}
.guided-content{min-height:0;overflow:auto;flex:1;padding-right:4px}
.guided .guided-panel h1{font-size:20px;margin:7px 0;line-height:1.2}
.guided .guided-panel p,.guided .guided-panel li{font-size:13px;line-height:1.4;margin-top:6px;margin-bottom:6px}
.guided .guided-panel small{font-size:11px;line-height:1.35}
.guided .guided-panel ol{margin:8px 0;padding-left:18px}
.guided .guided-panel details{padding:5px 0}
.guided .guided-criterion{padding:8px}
.guided .guided-panel output{font-size:12px;line-height:1.4;margin-bottom:8px}
.guided-footer{flex-shrink:0;border-top:1px solid #d7e5ef;padding-top:8px}
#guided-check-help{display:block;margin-bottom:6px}
.guided .guided-actions,#guided-directions{gap:6px;margin-bottom:6px}
.guided .guided-actions button,.guided #guided-directions button{font-size:12px;padding:7px 5px;min-height:34px;line-height:1.2}
.guided .guided-panel [hidden],.guided .guided-mobile-actions [hidden]{display:none!important}
.guided #guided-result{max-height:64px;overflow:auto;margin:5px 0;font-size:12px}
.guided #guided-save{font-size:10px}
@media(max-width:650px){
 body.guided[data-guided-view="activity"]{height:100dvh;min-height:0;padding-bottom:0;overflow:hidden}
 .guided[data-guided-view="activity"] .guided-mobile-actions{display:none}
 .guided[data-guided-view="activity"] #app{overflow:hidden}
 .guided[data-guided-view="activity"] .app-workspace{min-height:0;overflow:hidden}
 .guided[data-guided-view="activity"] .guided-panel{flex:1;min-height:0;overflow:hidden}
 .guided .guided-actions button,.guided #guided-directions button{min-height:40px}
 .guided .guided-mobile-buttons button{font-size:12px}
}

/* Altura natural sin separar instrucciones y acciones. */
.guided .guided-panel{align-self:start;max-height:100%;padding:10px;font-size:12px}
.guided .guided-content{flex:0 1 auto}
.guided .guided-panel h1{font-size:18px;margin:5px 0}
.guided .guided-panel p,.guided .guided-panel li{font-size:12px;line-height:1.35;margin-top:5px;margin-bottom:5px}
.guided .guided-actions button,.guided #guided-directions button{font-size:11px;padding:6px 4px;min-height:32px}
.guided .guided-footer{margin-top:6px;padding-top:6px}
@media(max-width:650px){
 .guided[data-guided-view="activity"] .guided-panel{align-self:stretch;flex:0 1 auto;max-height:100%}
 .guided .guided-actions button,.guided #guided-directions button{min-height:40px}
}

.guided #simulator>h2{flex-wrap:wrap;gap:5px 12px}
.guided #guided-achievement{font-size:11px;line-height:1.4;text-align:right;white-space:normal;overflow-wrap:anywhere;min-width:0}
.guided #guided-achievement[data-completed="true"]{color:#dcffcf}
@media(max-width:650px){.guided #guided-achievement{flex-basis:100%;text-align:left;font-size:10px}}

/* Pulsación breve independiente del foco y de la selección permanente. */
body.guided button:focus{outline:none}
body.guided button:focus-visible{outline:2px solid #80ceff;outline-offset:2px}
body.guided button:not(:disabled):active,body.guided button.press-feedback{background:#a6e5ff!important;color:#123d58!important;border-color:#51b8e4!important;box-shadow:inset 0 0 0 2px #51b8e4;transform:translateY(1px)}

.guided .workspace-upper{grid-template-columns:minmax(180px,var(--guided-split,55fr)) 10px minmax(180px,var(--guided-rest,45fr))!important;gap:6px}
.guided-splitter{border-radius:6px;background:#c0d9e9;cursor:col-resize;touch-action:none;position:relative}
.guided-splitter::after{content:'';position:absolute;left:3px;right:3px;top:42%;bottom:42%;background:#568db0;border-radius:3px}
.guided-splitter:hover,.guided-splitter:focus-visible{background:#8cd7f5;outline:2px solid #268fc4;outline-offset:-2px}
.guided-program-alert{color:#a51c2b;background:#fff0f1;border:1px solid #e6a4ab;border-radius:6px;padding:8px 10px;margin:6px;font-size:12px;line-height:1.4;max-height:100px;overflow:auto;flex-shrink:0}
.guided-program-alert[hidden]{display:none}
.guided[data-guided-level="1"] .guided-splitter{display:none}
@media(min-width:651px) and (max-width:1100px){.guided .workspace-upper{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(180px,var(--guided-split,55fr)) 10px minmax(180px,var(--guided-rest,45fr))!important}.guided .workspace-upper .simulator,.guided .workspace-upper .programming{min-height:180px}.guided-splitter{cursor:row-resize}.guided-splitter::after{top:3px;bottom:3px;left:42%;right:42%}.guided[data-guided-level="1"] .workspace-upper{grid-template-rows:minmax(0,1fr)!important}}
@media(max-width:650px){.guided-splitter{display:none}}

/* Línea fina dentro de una zona de arrastre cómoda. */
.guided-splitter{background:linear-gradient(to right,transparent 3.5px,#c0d9e9 3.5px,#c0d9e9 6.5px,transparent 6.5px)}
.guided-splitter::after{left:4px;right:4px}
.guided-splitter:hover,.guided-splitter:focus-visible{background:linear-gradient(to right,transparent 3.5px,#8cd7f5 3.5px,#8cd7f5 6.5px,transparent 6.5px);outline:none}
@media(min-width:651px) and (max-width:1100px){
 .guided-splitter{background:linear-gradient(to bottom,transparent 3.5px,#c0d9e9 3.5px,#c0d9e9 6.5px,transparent 6.5px)}
 .guided-splitter::after{top:4px;bottom:4px;left:42%;right:42%}
 .guided-splitter:hover,.guided-splitter:focus-visible{background:linear-gradient(to bottom,transparent 3.5px,#8cd7f5 3.5px,#8cd7f5 6.5px,transparent 6.5px)}
}

/* Hoja de ruta: identidad y herramientas de cada nivel. */
.guided-route{padding:20px;width:min(900px,calc(100% - 24px))}
.guided-route h2{font-size:24px;margin-bottom:8px}
.guided-route>p{font-size:13px;line-height:1.45;margin-bottom:8px}
#guided-levels{gap:12px;margin:16px 0}
#guided-levels section{--level-color:#1674b5;--level-tint:#edf7ff;padding:14px;border:1px solid #c4daea;border-top:4px solid var(--level-color);background:var(--level-tint);border-radius:10px}
#guided-levels section[data-level="2"]{--level-color:#438a24;--level-tint:#f1fae9}
#guided-levels section[data-level="3"]{--level-color:#7950b5;--level-tint:#f5f0fc}
.guided-level-heading{display:flex;align-items:center;gap:9px;margin-bottom:12px;color:var(--level-color)}
.guided-level-icon{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;background:white;border-radius:9px}
.guided-route svg{width:23px;height:23px;flex-shrink:0}
.guided-level-heading small{font-size:11px;font-weight:650}
#guided-levels h3{font-size:16px;margin:2px 0;line-height:1.25}
.guided-route-robot{display:flex;gap:8px;align-items:center;padding:9px;background:#ffffffb8;border-radius:8px;margin-bottom:10px;color:var(--level-color)}
.guided-route-robot strong{font-size:12px;display:block}
.guided-route-robot small{font-size:11px;display:block;color:#4e667d;margin-top:3px}
#guided-levels section>p{font-size:12px;line-height:1.45;min-height:52px}
.guided-level-progress{font-size:11px;font-weight:650;color:var(--level-color);margin:10px 0}
#guided-levels button{display:flex;align-items:center;gap:8px;font-size:12px;line-height:1.35;min-height:44px;padding:9px;border-color:#c4daea}
.guided-activity-mark{font-weight:750;color:var(--level-color)}
.guided-future{border-top:1px solid #cbddea;background:#f5f8fc;padding:12px;border-radius:8px;margin-bottom:10px}
.guided-future strong{font-size:13px}
.guided-future p{font-size:12px;margin-top:4px;line-height:1.4}

.guided-welcome-robots{display:grid;grid-template-columns:130px minmax(0,1fr) 130px;align-items:center;gap:14px;margin-bottom:12px;text-align:center}
.guided-welcome-robots figure{margin:0;min-width:0}
.guided-welcome-thumbnail{display:block;width:130px;height:87px;object-fit:contain;margin:auto}
.guided-welcome-robots figcaption{font-size:11px;font-weight:650;color:#24577a}
.guided-welcome-robots small{display:block;font-size:10px;font-weight:400;margin-top:3px}
.guided-welcome-robots h2{margin:0;font-size:24px;line-height:1.25}
@media(max-width:550px){.guided-welcome-robots{grid-template-columns:1fr 1fr;gap:10px}.guided-welcome-robots h2{grid-column:1/-1;grid-row:1;font-size:21px}.guided-welcome-robots figure{grid-row:2}.guided-welcome-thumbnail{width:120px;height:80px}}

/* Fondo holográfico suministrado y contenido real de la ruta. */
.guided-route{width:min(1180px,calc(100% - 20px));max-height:94dvh;padding:20px 30px;border:1px solid #c4efff;border-radius:24px;background:#e8f5ff url('../../sitio-publico/img/Panel_hologr%C3%A1fico.png') center/100% 100% no-repeat;box-shadow:0 20px 70px #031e4690}
.guided-route::backdrop{background:#07234099}
.guided-route-brand{color:white;margin-bottom:4px;line-height:1.2}
.guided-route-brand strong{font-size:22px}.guided-route-brand b{color:#ffcd36}.guided-route-brand small{display:block;font-size:10px;letter-spacing:1px;margin-left:25px}
.guided-route button.guided-route-close{position:absolute;right:14px;top:14px;border:0;border-radius:50%;background:#b5e5ff;color:#164b80;width:30px;height:30px;padding:5px;display:grid;place-items:center}
.guided-route-close svg{width:20px;height:20px}
.guided-welcome-robots{grid-template-columns:170px minmax(0,1fr) 170px;gap:12px;margin:0 0 12px}
.guided-welcome-thumbnail{width:170px;height:115px;filter:drop-shadow(0 8px 9px #022c5960)}
.guided-welcome-robots figcaption{background:#eefaff;color:#104779;border:1px solid #91ddff;border-radius:8px;padding:5px;font-size:12px;box-shadow:0 0 12px #4acbff60}
.guided-welcome-robots h2{color:white;font-size:32px;font-weight:800;text-shadow:0 3px 3px #072650;line-height:1.12}.guided-welcome-robots h2 em{font-style:normal;color:#ffcd36}
.guided-hero-copy>p{font-size:12px;color:white;line-height:1.45;margin-top:10px}
.guided-hero-copy .guided-slogan{color:#6de5ff;font-size:13px;font-weight:700;letter-spacing:1px}
.guided-route #guided-continue{display:block;margin:0 auto 12px;background:#e8f8ff;color:#114f86;padding:8px 16px;font-size:12px}
#guided-levels{padding:10px;background:#eefaffbb;border-radius:22px;margin:8px 0 12px;gap:12px}
#guided-levels section{padding:0 12px 12px;border-top:0;background:linear-gradient(135deg,#fff,var(--level-tint));overflow:hidden;box-shadow:0 6px 12px #3981b31c}
.guided-level-ribbon{display:flex;justify-content:space-between;align-items:center;gap:5px;background:var(--level-color);color:white;margin:0 -12px 12px;padding:10px 12px;font-size:14px}
.guided-level-ribbon span{font-size:10px;background:#ffffff26;padding:4px 6px;border-radius:12px}
.guided-level-heading small{display:none}.guided-level-heading{margin-bottom:8px}#guided-levels h3{font-size:16px}
.guided-card-robot{width:85px;height:60px;object-fit:contain;flex-shrink:0}
.guided-route-robot{padding:2px;background:transparent;margin-bottom:6px;gap:4px}
#guided-levels button{background:var(--level-tint);border-color:transparent;min-height:36px;margin:5px 0}
.guided-level-progress{margin:6px 0}
.guided-future{background:#ffffffab;margin-bottom:7px;padding:8px 12px}
.guided-route-storage{font-size:11px!important;line-height:1.4!important;color:#245481;margin-top:8px!important;border-top:1px solid #a9cee6;padding-top:8px}
.guided-route>a{font-size:11px;color:#1b547c}
@media(max-width:650px){.guided-route{padding:18px 14px;background-size:auto 100%;background-position:center top}.guided-route-brand{margin-bottom:14px}.guided-welcome-robots{grid-template-columns:1fr 1fr;gap:10px}.guided-hero-copy{grid-column:1/-1;grid-row:1}.guided-welcome-robots figure{grid-row:2}.guided-welcome-robots h2{font-size:25px}.guided-welcome-thumbnail{width:125px;height:85px}.guided-hero-copy>p{font-size:12px}#guided-levels{padding:8px;gap:10px}}

.guided-route{background-size:107% 110%;background-position:center center}.guided-route-brand{padding-top:4px}.guided-route-storage{background:#eef8ffdb;border-radius:6px;padding:8px!important}@media(max-width:650px){.guided-route{background-size:auto 110%}}

/* Versión compacta del popup holográfico. */
.guided-route{width:min(1000px,calc(100% - 24px));padding:16px 22px;max-height:92dvh}
.guided-route-brand strong{font-size:18px}.guided-route-brand small{font-size:9px}
.guided-welcome-robots{grid-template-columns:125px minmax(0,1fr) 125px;gap:10px;margin-bottom:8px}
.guided-welcome-thumbnail{width:125px;height:84px}
.guided-welcome-robots h2{font-size:26px}
.guided-welcome-robots figcaption{font-size:10px;padding:4px}.guided-welcome-robots small{font-size:9px}
.guided-hero-copy>p{font-size:11px;margin-top:7px}.guided-hero-copy .guided-slogan{font-size:11px;letter-spacing:.5px}
.guided-route #guided-continue{padding:6px 12px;margin-bottom:8px;font-size:11px}
#guided-levels{padding:8px;gap:10px;margin:6px 0 8px}
#guided-levels section{padding:0 10px 10px}
.guided-level-ribbon{margin:0 -10px 8px;padding:7px 10px;font-size:12px}.guided-level-ribbon span{font-size:9px;padding:3px 5px}
.guided-level-heading{gap:6px;margin-bottom:5px}#guided-levels h3{font-size:14px}.guided-level-icon{width:28px;height:28px}.guided-route svg{width:20px;height:20px}
.guided-card-robot{width:65px;height:46px}.guided-route-robot strong{font-size:11px}.guided-route-robot small{font-size:10px}
#guided-levels section>p{font-size:11px;min-height:40px;line-height:1.35}
.guided-level-progress{font-size:10px;margin:5px 0}
#guided-levels button{font-size:11px;min-height:32px;padding:6px 8px;margin:4px 0}
.guided-future{padding:6px 9px;margin-bottom:5px}.guided-future strong{font-size:11px}.guided-future p{font-size:10px}
.guided-route-storage{font-size:10px!important;margin-top:5px!important;padding:6px!important}
@media(max-width:650px){.guided-route{padding:15px 12px}.guided-welcome-robots{grid-template-columns:1fr 1fr}.guided-welcome-robots h2{font-size:22px}.guided-welcome-thumbnail{width:110px;height:74px}#guided-levels button{min-height:40px}.guided-route-brand{margin-bottom:10px}}

/* Escala del panel y alineación con las plataformas del fondo. */
.guided-route{width:min(880px,calc(100% - 24px));padding:14px 20px;background-size:107% 110%}
.guided-welcome-robots{grid-template-columns:100px minmax(0,1fr) 100px;gap:8px;align-items:start;margin:0 -5px 7px;min-height:160px;position:relative}
.guided-welcome-robots figure{padding-top:45px}
.guided-welcome-thumbnail{width:110px;height:74px;max-width:100%}
.guided-welcome-robots h2{font-size:23px}
.guided-hero-copy{padding-top:7px}
.guided-hero-copy>p{font-size:11px;line-height:1.4}.guided-hero-copy .guided-slogan{font-size:10px}
.guided-welcome-robots figcaption{font-size:9px;padding:3px}.guided-welcome-robots small{font-size:8px}
#guided-levels{gap:8px;padding:7px}
#guided-levels h3{font-size:13px}.guided-level-ribbon{font-size:11px;padding:6px 8px}
.guided-card-robot{width:55px;height:38px}
#guided-levels section>p{font-size:10px;min-height:35px}
#guided-levels button{font-size:10px;min-height:29px;padding:5px 6px}
@media(max-width:650px){.guided-route{padding:14px 12px;background-size:auto 110%}.guided-welcome-robots{grid-template-columns:1fr 1fr;margin:0 0 7px;min-height:0}.guided-welcome-robots figure{padding-top:0}.guided-hero-copy{padding-top:0}.guided-welcome-robots h2{font-size:21px}.guided-welcome-thumbnail{width:110px;height:74px}#guided-levels button{min-height:40px;font-size:11px}}

@media(min-width:651px){.guided-welcome-robots figure{padding-top:90px}.guided-welcome-robots figure:first-child{transform:translateX(45px)}.guided-welcome-robots figure:last-child{transform:translateX(-45px)}}

/* Marca mayor y modelos legibles sin cambiar el tamaño del panel. */
.guided-route-brand strong{font-size:24px}.guided-route-brand small{font-size:11px}
.guided-welcome-thumbnail{width:150px;max-width:none;height:100px;position:relative;left:50%;transform:translateX(-50%);margin:0}
@media(min-width:651px){.guided-welcome-robots figure{padding-top:58px}}
@media(max-width:650px){.guided-route-brand strong{font-size:22px}.guided-route-brand small{font-size:10px}.guided-welcome-thumbnail{width:150px;height:100px}}

@media(min-width:651px){.guided-welcome-robots figure:first-child{transform:translate(45px,-34px)}.guided-welcome-robots figure:last-child{transform:translate(-45px,-34px)}}

@media(min-width:651px){.guided-route #guided-continue{margin-top:-28px}}

.guided-route #guided-continue{position:relative;z-index:1}

/* Ficha de actividad por secciones, sin duplicar lógica. */
.guided .guided-panel{padding:8px;background:linear-gradient(#f3faff,#fff);border-radius:12px}
.guided-activity-heading{padding:3px 4px 8px}
.guided .guided-panel h1{font-size:18px;margin:4px 0}
.guided .guided-panel p,.guided .guided-panel li{font-size:12px;line-height:1.35}
.guided-section{border:1px solid #cce5f8;background:#ffffffc9;border-radius:8px;margin:0 0 6px;padding:6px!important}
.guided-section summary,.guided-results h2{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:700;color:#164c7c;line-height:1.3;cursor:pointer}
.guided-section summary::after{content:'⌄';margin-left:auto}.guided-section[open] summary::after{content:'⌃'}
.guided-section svg,.guided-actions svg{width:17px;height:17px;flex-shrink:0;color:#1689c9}
.guided .guided-panel ol{padding-left:23px;margin:7px 0 0}.guided .guided-panel li{padding-left:2px;margin:5px 0}.guided-panel li::marker{color:#087ab5;font-weight:700}
.guided-mouse-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin-top:7px;background:#edf8ff;border-radius:6px;padding:5px 2px}
.guided-mouse-grid>div{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;font-size:10px;border-right:1px solid #c9e4f5}.guided-mouse-grid>div:last-child{border:0}
.guided-mouse-grid svg{width:23px;height:28px}.guided-mouse-grid strong{font-size:10px;line-height:1.3}.guided-mouse-grid span{font-size:9px}
.guided-results h2{margin:0 0 4px;font-size:12px;background:none;padding:0}
.guided .guided-panel #guided-reading{display:grid;grid-template-columns:1fr 1fr;gap:5px;white-space:normal;margin:7px 0 0;font-size:10px}
#guided-reading>span{display:flex;flex-direction:column;gap:3px;min-width:0}#guided-reading b{background:#e9f3fb;border-radius:4px;padding:3px 5px;font-size:11px;font-variant-numeric:tabular-nums}#guided-reading label{font-size:10px}
.guided .guided-actions button{display:flex;align-items:center;justify-content:center;gap:5px;font-size:11px;min-height:32px}
.guided .guided-actions #guided-run svg,.guided .guided-actions #guided-check svg{color:inherit}
.guided .guided-footer{margin-top:0;padding-top:5px}
.guided[data-guided-mode="practice"] .guided-section:has(#guided-steps){display:none}
@media(max-width:650px){.guided .guided-actions button{min-height:40px}}

/* Fuente más compacta exclusivamente en la ficha izquierda. */
.guided .guided-panel{font-size:11px}
.guided .guided-panel h1{font-size:16px}
.guided .guided-panel p,.guided .guided-panel li{font-size:11px;line-height:1.35}
.guided .guided-panel small{font-size:10px}
.guided .guided-panel .guided-section summary,.guided .guided-panel .guided-results h2{font-size:11px}
.guided .guided-panel .guided-actions button,.guided .guided-panel #guided-directions button{font-size:10px}
.guided .guided-panel #guided-result{font-size:11px}
.guided .guided-panel #guided-save{font-size:9px}

/* Acentos por nivel y navegación con iconos. */
body.guided{--activity-accent:#1674b5;--activity-soft:#edf7ff}
body.guided[data-guided-level="2"]{--activity-accent:#438a24;--activity-soft:#f1fae9}
body.guided[data-guided-level="3"]{--activity-accent:#7950b5;--activity-soft:#f5f0fc}
.guided .guided-activity-heading{border-left:3px solid var(--activity-accent);background:var(--activity-soft);border-radius:6px;padding:6px 8px;margin-bottom:6px}
.guided .guided-activity-heading h1{color:var(--activity-accent)}
.guided .guided-section{border-color:color-mix(in srgb,var(--activity-accent) 22%,white)}
.guided .guided-section summary,.guided .guided-results h2{color:var(--activity-accent)}
.guided .guided-section summary{background:var(--activity-soft);border-radius:4px;padding:4px}
.guided .guided-section svg{color:var(--activity-accent)}
.guided .guided-criterion,.guided #guided-reading b{background:var(--activity-soft)}
.guided-header button{display:inline-flex;align-items:center;justify-content:center;gap:6px}
.guided-header button svg,.guided #programming>h2 svg{width:18px;height:18px;flex-shrink:0}
.guided #programming>h2{justify-content:flex-start;gap:8px}

/* Paleta solicitada: mostaza claro, vegetación y violeta. */
#guided-levels section[data-level="1"]{--level-color:#947015;--level-tint:#fff9e3}
#guided-levels section[data-level="1"] .guided-level-ribbon{background:#e8c65b;color:#493908}
body.guided[data-guided-level="1"]{--activity-accent:#947015;--activity-soft:#fff9e3}

.guided-header .guided-brand{display:flex;align-items:center;gap:7px;flex-shrink:0}
.guided-brand-logo{width:52px;height:44px;object-fit:contain;display:block}
@media(max-width:650px){.guided-header .guided-brand{width:auto;gap:4px}.guided-brand-logo{width:38px;height:34px}}

#guided-levels{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}#guided-levels section[data-level="4"]{--level-color:#167e91;--level-tint:#eefbfc}body.guided[data-guided-level="4"]{--activity-accent:#167e91;--activity-soft:#eefbfc}@media(max-width:650px){#guided-levels{grid-template-columns:1fr}}

#guided-levels section[data-level="5"]{--level-color:#c45e24;--level-tint:#fff5ed}body.guided[data-guided-level="5"]{--activity-accent:#c45e24;--activity-soft:#fff5ed}

#guided-levels section[data-level="6"]{--level-color:#a14492;--level-tint:#fff0fa}body.guided[data-guided-level="6"]{--activity-accent:#a14492;--activity-soft:#fff0fa}

#guided-levels section[data-level="7"]{--level-color:#3b8198;--level-tint:#eefaff}body.guided[data-guided-level="7"]{--activity-accent:#3b8198;--activity-soft:#eefaff}

#guided-levels section[data-level="8"]{--level-color:#946a29;--level-tint:#fff7e6}body.guided[data-guided-level="8"]{--activity-accent:#946a29;--activity-soft:#fff7e6}#guided-levels section[data-level="10"]{--level-color:#486ca5;--level-tint:#eff5ff}body.guided[data-guided-level="10"]{--activity-accent:#486ca5;--activity-soft:#eff5ff}

.guided-team-roles{display:flex;gap:5px;margin-bottom:6px}.guided-team-roles button{flex:1;font-size:11px;padding:6px}.guided-team-roles[hidden]{display:none}#guided-levels section[data-level="9"]{--level-color:#537431;--level-tint:#f3fae8}body.guided[data-guided-level="9"]{--activity-accent:#537431;--activity-soft:#f3fae8}

.guided-mobile-buttons button{display:flex;align-items:center;justify-content:center;gap:6px}.guided-mobile-buttons button svg{width:18px;height:18px;flex-shrink:0}

body.guided[data-guided-activity="8-2"] .mission-compact{display:none}

body.guided[data-guided-activity="10-2"] .mission-compact{display:none}

body.guided[data-guided-activity="10-3"] .mission-compact{display:none}
