@charset "UTF-8";
:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#142f49;background:#fbfdff;font-synthesis:none;--blue:#0865ed;--muted:#526a80;--line:#dde7f0}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #ed9f16;outline-offset:5px}p{line-height:1.7}h1,h2,h3,p{margin-top:0}img{max-width:100%;height:auto}.skip{position:absolute;top:-80px;left:16px;z-index:20;padding:12px;background:white;border:2px solid var(--blue)}.skip:focus{top:10px}.header{max-width:1320px;margin:auto;min-height:96px;display:flex;align-items:center;gap:30px;padding:20px 32px}.brand{display:flex;align-items:center;gap:12px;flex-shrink:0}.brand strong{font-size:26px;letter-spacing:-1.1px;font-weight:800}.brand small{display:block;font-size:11px;letter-spacing:.7px;color:var(--muted);margin-top:2px}.header nav{display:flex;align-items:center;gap:26px;margin-left:auto;font-size:14px;font-weight:600}.header nav a{padding:8px 0;white-space:nowrap}.header nav a:hover{color:var(--blue)}.menu-toggle{display:none}.button{display:inline-flex;align-items:center;justify-content:center;gap:20px;padding:15px 22px;border-radius:12px;font-weight:700;border:1px solid transparent;line-height:1.3;min-height:48px;transition:background .15s,box-shadow .15s}.button span{font-size:21px}.primary{color:white;background:var(--blue);box-shadow:0 7px 18px #0865ed20}.primary:hover{background:#0051ca}.secondary,.login{background:#fff;color:#17466f;border-color:#caddeb}.secondary:hover,.login:hover{background:#eef6ff}.header .login{padding:10px 18px;font-size:14px;gap:16px}.hero{max-width:1320px;margin:auto;min-height:620px;display:grid;grid-template-columns:.95fr 1.05fr;align-items:center;gap:8px;padding:36px 32px 62px;position:relative}.hero:before{content:"";position:absolute;inset:0 0;z-index:-1;background:radial-gradient(ellipse at 76% 35%,#d7efff 0,transparent 58%);pointer-events:none}.eyebrow{font-size:11px;font-weight:800;letter-spacing:1.7px;color:#167e9d;display:inline-flex;align-items:center;gap:9px;margin-bottom:22px}.status-dot{width:7px;height:7px;border-radius:50%;background:#0aa787}.hero h1{font-size:clamp(44px,5.4vw,76px);line-height:1.05;letter-spacing:-3.5px;margin-bottom:24px;font-weight:850}.hero h1 span{color:var(--blue)}.hero-copy>p:not(.availability){font-size:17px;max-width:450px;color:var(--muted);margin-bottom:26px}.hero-actions{display:flex;flex-wrap:wrap;gap:12px}.availability{color:var(--muted);font-size:12px;margin:12px 0 28px}.hero-tags{display:flex;gap:21px;font-size:12px;font-weight:600;color:#3c607d;flex-wrap:wrap}.hero-visual{position:relative;min-width:0}.hero-art{display:block;width:100%;filter:drop-shadow(0 15px 24px #12517a12)}.floating-note{position:absolute;left:8%;bottom:8%;display:flex;align-items:center;gap:12px;background:#fffef5eb;border:1px solid #fff;border-radius:16px;padding:14px 20px;box-shadow:0 10px 35px #21496d15;backdrop-filter:blur(8px)}.floating-note>span{display:grid;place-items:center;width:36px;height:36px;background:#fff0b4;color:#94630b;border-radius:10px;font-size:24px}.floating-note strong{font-size:13px}.floating-note small{display:block;color:var(--muted);font-size:11px;margin-top:5px}.art-caption{position:absolute;right:8%;bottom:0;font-size:10px;color:var(--muted)}.section{padding:78px 32px;max-width:1256px;margin:auto}.section-heading{max-width:670px;margin-bottom:38px}.section-heading h2,.closing h2{font-size:clamp(29px,3.1vw,43px);line-height:1.16;letter-spacing:-1.5px;margin-bottom:18px}.section-heading p{color:var(--muted);font-size:16px;margin:0;max-width:610px}.section-heading .eyebrow{margin-bottom:15px}.intro{border-top:1px solid var(--line)}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:28px}.steps article{padding-right:16px}.step-number{display:inline-grid;place-items:center;width:48px;height:48px;border-radius:14px;font-size:16px;font-weight:800;margin-bottom:18px}.blue{color:#075ecb;background:#e5f0ff}.purple{color:#7a35bf;background:#f1e8ff}.green{color:#087c5b;background:#def6ec}.orange{color:#ad6008;background:#fff0d7}h3{font-size:20px;letter-spacing:-.5px;margin-bottom:10px}.steps p,.lab-grid p{font-size:14px;color:var(--muted);margin-bottom:0}.route{background:#f0f7fd;border:1px solid #e1edf7;border-radius:28px;padding:48px;margin-top:10px}.route-top{display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:12px;color:var(--muted);border-top:1px solid #d4e3ef;padding:20px 0}.route-top p{margin:0;max-width:600px}.route-top>span{white-space:nowrap}.label{display:inline-block;color:#796017;background:#fff3c6;border-radius:6px;padding:5px 8px;font-size:10px;letter-spacing:.8px;font-weight:800}.route-top .label{margin-right:8px}.levels{display:grid;grid-template-columns:1fr 1fr;gap:12px}.level{display:flex;gap:16px;background:white;border:1px solid var(--line);border-radius:14px;padding:20px;align-items:start}.level-number{min-width:38px;display:grid;place-items:center;padding:10px 0;border-radius:10px;background:#edf3f8;color:#526a80;font-size:15px;font-weight:800}.level.free .level-number{background:#e4f8ee;color:#0b7351}.level-access{font-size:10px;font-weight:700;color:#687e92}.level.free .level-access{color:#0b7351}.level h3{font-size:16px;margin:6px 0}.level p{margin:0;color:var(--muted);font-size:12px;line-height:1.6}.route-foot{display:flex;gap:20px;align-items:center;justify-content:space-between;padding-top:24px;font-size:12px;color:var(--muted)}.text-button{border:0;padding:8px 0;background:none;color:#0659cd;font-size:12px;font-weight:700;white-space:nowrap}.text-button span{margin-left:8px}.lab-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.lab-grid article{padding:28px;border-radius:16px;background:white;border:1px solid var(--line)}.feature-icon{font-size:28px;display:block;margin-bottom:20px;color:var(--blue)}.lab-link{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px 30px;border-radius:16px;background:#edf5fb;margin-top:20px}.lab-link strong{font-size:15px}.lab-link p{font-size:12px;color:var(--muted);margin:7px 0 0}.lab-link .button{font-size:13px;flex-shrink:0}.pricing{padding-top:20px}.plans{display:grid;grid-template-columns:1fr 1fr;gap:24px;max-width:1000px}.plan{padding:34px;border:1px solid var(--line);border-radius:20px;background:white;display:flex;flex-direction:column;align-items:start}.plan.featured{background:#eff6ff;border-color:#bfd9fc}.plan h3{font-size:24px;margin:20px 0 12px}.plan>p{color:var(--muted);font-size:14px;margin-bottom:16px}.plan ul{padding:0;list-style:none;margin:0 0 28px;line-height:2.25;font-size:14px}.plan li:before{content:"✓";margin-right:10px;color:#008462;font-weight:800}.plan .button{margin-top:auto;width:100%;font-size:14px}.plan>small{font-size:11px;color:var(--muted);align-self:center;margin-top:12px}.faq{display:grid;grid-template-columns:.85fr 1.15fr;gap:60px;padding-top:35px}.faq-list details{border-bottom:1px solid var(--line);padding:19px 0}.faq-list summary{cursor:pointer;font-size:15px;font-weight:650;line-height:1.5}.faq-list p{font-size:14px;color:var(--muted);margin:14px 0 0}.closing{text-align:center;padding:70px 24px;background:linear-gradient(120deg,#eaf7ff,#edf1ff);margin-top:15px}.closing p{color:var(--muted);font-size:15px}.closing .button{margin-top:12px;font-size:14px}footer{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:30px 32px;max-width:1320px;margin:auto;font-size:11px;color:var(--muted)}footer .brand strong{font-size:21px}dialog{border:1px solid var(--line);border-radius:20px;padding:34px;max-width:460px;width:calc(100% - 32px);color:#142f49;box-shadow:0 20px 80px #081e4a40}dialog::backdrop{background:#102e4c70;backdrop-filter:blur(3px)}dialog h2{font-size:26px;margin:18px 0;letter-spacing:-.8px;line-height:1.2}dialog p{color:var(--muted);font-size:14px}dialog .button{width:100%;margin-top:12px}.dialog-close{position:absolute;right:12px;top:10px;background:none;border:0;font-size:26px;color:#526a80;width:36px;height:36px}.noscript{padding:20px;color:#526a80;text-align:center}
@media(min-width:1400px){.hero:before{inset:0}}@media(max-width:1100px){.header{gap:20px}.header nav{gap:16px;font-size:12px}.brand strong{font-size:23px}.brand small{font-size:10px}.hero h1{letter-spacing:-2px}.hero-actions .button{font-size:13px;padding:14px 16px}.hero-tags{gap:12px}.route{margin:0 24px}.hero:before{inset:0}.floating-note{padding:10px 14px;left:4%}.floating-note strong{font-size:11px}}
@media(max-width:850px){.header{position:relative;flex-wrap:wrap;padding:16px 24px;min-height:84px;gap:15px}.header .brand{margin-right:auto}.header .brand img{width:38px}.menu-toggle{display:flex;align-items:center;gap:9px;padding:10px 13px;border:1px solid #caddeb;background:white;border-radius:10px;font-size:13px}.header nav{display:none;flex-basis:100%;order:4;margin:0;flex-wrap:wrap;padding:12px 0;gap:16px;font-size:14px}.header nav.open{display:flex}.hero{min-height:auto;padding:35px 24px 48px}.hero h1{font-size:51px}.hero-copy>p:not(.availability){font-size:15px}.hero-actions{gap:8px}.hero-tags{font-size:10px}.floating-note{bottom:8%;padding:8px 10px}.floating-note small{font-size:9px}.floating-note>span{width:28px;height:28px}.section{padding:55px 24px}.route{padding:30px}.route-top{display:block}.route-top>span{display:block;margin-top:12px}.steps{gap:20px;grid-template-columns:1fr 1fr}.lab-grid{gap:12px}.lab-grid article{padding:20px}.lab-grid h3{font-size:17px}.lab-link{padding:22px}.faq{gap:30px}.plan{padding:25px}.route-foot{flex-direction:column;align-items:start}footer{flex-wrap:wrap}}
@media(max-width:600px){html{scroll-padding-top:20px}.header{padding:16px 20px;gap:10px}.header .brand{gap:8px}.brand strong{font-size:22px}.brand small{font-size:9px;letter-spacing:.2px}.header .login{padding:8px 10px;min-height:40px;font-size:12px;gap:6px}.menu-toggle{padding:8px 10px;min-height:40px}.menu-toggle span{display:none}.hero{grid-template-columns:1fr;padding:28px 20px 38px;gap:20px}.hero .eyebrow{font-size:9px;letter-spacing:1px;margin-bottom:19px}.hero h1{font-size:53px;letter-spacing:-2.5px}.hero h1 br:nth-child(2){display:none}.hero-copy>p:not(.availability){font-size:15px;max-width:100%}.hero-actions{display:grid;grid-template-columns:1fr}.hero-actions .button{font-size:14px}.availability{margin:12px 0 20px}.hero-tags{font-size:11px;gap:15px}.hero-visual{max-width:460px;justify-self:center;width:100%}.floating-note{padding:10px 15px;left:7%}.floating-note strong{font-size:12px}.floating-note small{font-size:10px}.art-caption{font-size:9px}.section{padding:44px 20px}.section-heading{margin-bottom:28px}.section-heading h2{font-size:30px;letter-spacing:-1px}.section-heading p{font-size:14px}.eyebrow{font-size:9px;letter-spacing:1.1px}.steps{gap:28px 18px}.steps article{padding:0}.steps h3{font-size:18px}.steps p{font-size:13px}.route{margin:0 12px;padding:26px 18px;border-radius:20px}.levels{grid-template-columns:1fr}.level{padding:17px 14px;gap:13px}.level h3{font-size:15px}.route-top p{font-size:11px}.lab-grid,.plans,.faq{grid-template-columns:1fr}.lab-grid article{padding:24px}.lab-link{align-items:start;flex-direction:column;gap:18px;padding:24px}.lab-link .button{width:100%}.plans{gap:18px}.plan{padding:26px}.plan h3{font-size:23px}.faq{gap:0}.faq .section-heading{margin-bottom:8px}.closing{padding:46px 20px}.closing h2{font-size:30px}footer{padding:26px 20px;gap:16px}footer>span{flex-basis:100%}dialog{padding:30px 24px}.hero:before{inset:0}.level p{font-size:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

@media(max-width:600px){.header{gap:8px;padding:14px 16px}.header .brand img{width:32px}.header .brand strong{font-size:19px}.header .brand small{display:none}.header .menu-toggle{margin-left:auto}.hero h1{font-size:42px;letter-spacing:-1.5px}.hero h1 br:nth-child(2){display:initial}}

/* Bienvenida institucional: recursos propios y acceso público independiente. */
.header{max-width:none;margin:0;background:linear-gradient(110deg,#103c70,#08234d);color:white;padding:14px 4.5%;border:0;gap:30px}.header .brand{color:white}.header .brand img{width:64px;height:64px;object-fit:contain}.header .brand strong{font-size:32px;letter-spacing:-1px}.header .brand b{color:#31c7f8}.header .brand small{color:white;font-size:12px}.header nav{margin-left:auto;gap:26px}.header nav a{color:white;display:flex;align-items:center;gap:9px}.header nav a:first-child{border-bottom:3px solid #42d6ff;padding-bottom:8px}.header nav svg{width:24px;height:24px}.language{font-size:14px}.menu-toggle{color:white;background:#163e6c}
.welcome{background:#dcefff url('../img/fondo_aula.png') center top/cover no-repeat;color:#071c50}.welcome-scene{max-width:1680px;margin:auto;display:grid;grid-template-columns:35% 27% 38%;align-items:center;padding:24px 3% 0;min-height:620px}.welcome-robot{width:100%;height:610px;object-fit:contain;align-self:end;filter:drop-shadow(0 16px 12px #23466930)}.welcome-copy{align-self:center;padding:0 15px 90px 0}.welcome-copy h1{font-size:clamp(30px,3.1vw,52px);line-height:1.1;letter-spacing:-1.6px;margin:0 0 16px;font-weight:800}.welcome-copy h1 strong{font-size:1.3em;white-space:nowrap}.welcome-copy h1 span{color:#0878f8}.welcome-copy p{font-size:clamp(19px,1.7vw,28px);line-height:1.3;color:#3e5c84;margin:0}.welcome-swoosh{display:block;width:130px;height:25px;border-top:6px solid #2dccf3;border-radius:50%;transform:rotate(-12deg);margin:20px auto}.access-column{padding-left:16px;align-self:center}.access-card{background:#fffffff2;border:1px solid #fff;border-radius:27px;padding:25px 30px;box-shadow:0 15px 35px #497dba18}.access-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.access-heading h2{font-size:clamp(26px,2.5vw,40px);margin:0;font-weight:800;letter-spacing:-1px}.access-heading img{object-fit:contain}.access-status{font-size:12px;color:#536984;margin:4px 0 17px}.access-card label{display:block;font-size:14px;margin:14px 0 7px}.access-card input{width:100%;box-sizing:border-box;border:1px solid #ceddf3;border-radius:12px;padding:13px 16px;background:#fafcff;font:inherit;font-size:14px;color:#7183a1;opacity:1}.access-card .button{width:100%;justify-content:center;border-radius:12px;min-height:48px;padding:12px;box-sizing:border-box;font-size:16px}.access-card .primary{background:#0878fa;margin-top:18px;box-shadow:none}.access-divider{display:flex;align-items:center;gap:12px;color:#657696;margin:16px 0}.access-divider:before,.access-divider:after{content:'';height:1px;background:#d5e1f2;flex:1}.visitor{background:#f7fbff;color:#0063e5;border:1px solid #75aaff;gap:10px}.visitor svg{width:22px;height:22px}.account-links{display:flex;justify-content:space-between;gap:10px;margin-top:17px}.account-links button{border:0;background:none;color:#0064e2;padding:0;font:inherit;font-size:12px;cursor:pointer}.roles{background:#ffffffc9;border-radius:22px;padding:12px 15px;margin-top:12px}.roles p{margin:0 0 9px;font-size:13px}.roles>div{display:flex;gap:6px;flex-wrap:wrap}.role{display:flex;align-items:center;justify-content:center;gap:5px;padding:9px 7px;border:1px solid;border-radius:11px;font:inherit;font-size:11px;text-decoration:none;cursor:pointer;flex:1}.role svg{width:20px;height:20px;flex-shrink:0}.admin{background:#eee7ff;color:#5428bf;border-color:#c6b2ff}.school{background:#e1f1ff;color:#0961d0;border-color:#b1d1fa}.teacher{background:#def6ed;color:#087d50;border-color:#a7dfce}.student{background:#fff0df;color:#b84d00;border-color:#ffd19c}.guest{background:#e8edf5;color:#34455f;border-color:#ccd6e7}.welcome-features{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;padding:32px 5%;background:#f9fcfff2;border-radius:50% 50% 0 0 / 25px 25px 0 0}.feature{display:flex;align-items:center;gap:18px;text-decoration:none;color:#071c50;padding:5px 12px;border-right:1px solid #d3e0f1}.feature:last-child{border:0}.feature-icon{display:grid;place-items:center;min-width:66px;height:66px;border-radius:19px;color:white}.feature-icon svg{width:38px;height:38px}.explore .feature-icon{background:#8260ff}.learn .feature-icon{background:#04bf91}.create .feature-icon{background:#ff9927}.challenge .feature-icon{background:#328ff0}.feature strong{display:block;font-size:20px}.feature small{display:block;font-size:14px;line-height:1.4;color:#536d95;margin-top:5px}
@media(min-width:1600px){.welcome-scene{min-height:690px}.welcome-robot{height:690px}.access-card{padding:30px 36px}.role{font-size:12px}}
@media(max-width:1100px){.welcome-scene{grid-template-columns:30% 29% 41%;padding:20px 2% 0}.welcome-robot{height:520px}.access-card{padding:20px}.welcome-copy h1{font-size:30px}.roles>div{gap:5px}.role{flex-basis:25%}.welcome-features{gap:10px;padding:25px 3%}.feature{gap:10px;padding:4px}.feature-icon{min-width:48px;height:48px}.feature strong{font-size:17px}.feature small{font-size:12px}}
@media(max-width:760px){.header{padding:10px 18px;flex-wrap:wrap}.header .brand strong{font-size:26px}.header .brand img{width:48px;height:48px}.header nav{background:#103c70;width:100%;margin:0}.header nav a{color:white}.welcome-scene{grid-template-columns:42% 58%;min-height:0;padding:20px 16px}.welcome-robot{height:280px}.welcome-copy{padding:0 0 0 8px}.welcome-copy h1{font-size:26px;letter-spacing:-.8px}.welcome-copy p{font-size:18px}.welcome-copy h1 strong{font-size:1.15em}.access-column{grid-column:1/-1;padding:0;width:100%;max-width:500px;margin:15px auto 0}.access-heading h2{font-size:30px}.access-card{padding:22px}.welcome-features{grid-template-columns:1fr 1fr;border-radius:25px 25px 0 0;padding:20px 16px;gap:18px}.feature{border:0}.roles>div{gap:7px}.role{flex-basis:28%;font-size:12px}}
@media(prefers-reduced-motion:reduce){.welcome *{scroll-behavior:auto}}

/* La bienvenida ocupa el viewport; información ampliada por navegación. */
.header{height:76px;min-height:76px;padding:8px 4%}.header .brand img{width:52px;height:52px}.header .brand strong{font-size:29px}
.welcome{height:calc(100dvh - 76px);min-height:600px;display:grid;grid-template-rows:minmax(0,1fr) 114px}.welcome-scene{min-height:0;width:100%;height:100%;padding:16px 3% 0}.welcome-robot{height:100%;max-height:100%;min-height:0;object-fit:contain}.welcome-copy{padding-bottom:30px}.access-column{max-height:100%;padding-bottom:12px}.access-card{padding:18px 25px}.access-heading img{width:58px;height:58px}.access-heading h2{font-size:32px}.access-status{margin:0 0 10px}.access-card label{margin:10px 0 5px}.access-card input{padding:10px 14px}.access-card .button{min-height:42px;padding:10px;font-size:14px}.access-card .primary{margin-top:13px}.access-divider{margin:10px 0}.account-links{margin-top:12px}.roles{padding:9px 12px;margin-top:9px}.roles p{margin-bottom:6px}.role{padding:8px 6px}.welcome-features{padding:18px 5%;gap:12px}.feature-icon{min-width:58px;height:58px}.feature strong{font-size:18px}.feature small{font-size:13px}
#principal>.section,#principal>.closing,body>footer{display:none}#principal>.section:target,#principal>.closing:target{display:block}
@media(min-width:761px) and (max-height:760px){.welcome{min-height:530px;grid-template-rows:minmax(0,1fr) 90px}.access-card{padding:12px 20px}.access-heading img{width:42px;height:42px}.access-heading h2{font-size:28px}.access-card label{margin-top:7px}.access-card input{padding:8px 12px}.access-card .button{min-height:36px;padding:8px}.roles{padding:7px 10px}.role{padding:6px}.welcome-features{padding:12px 4%}.feature-icon{min-width:48px;height:48px}}
@media(max-width:760px){.header{height:64px;min-height:64px;padding:8px 14px;position:relative;flex-wrap:nowrap}.header .brand strong{font-size:24px}.header .brand img{width:40px;height:40px}.header nav.open{position:absolute;top:64px;left:0;z-index:10;padding:12px 20px}.welcome{height:calc(100dvh - 64px);min-height:700px;grid-template-rows:minmax(0,1fr) 100px}.welcome-scene{grid-template-columns:35% 65%;grid-template-rows:150px minmax(0,1fr);padding:8px 12px 0;align-items:center}.welcome-robot{height:150px;align-self:center}.welcome-copy{padding:0 0 0 8px}.welcome-copy h1{font-size:22px;margin-bottom:8px}.welcome-copy p{font-size:14px;line-height:1.3}.welcome-swoosh{width:95px;height:14px;border-width:4px;margin:12px auto 0}.access-column{margin:0 auto;padding:0 0 8px;align-self:center}.access-card{padding:13px 18px;border-radius:20px}.access-heading h2{font-size:26px;letter-spacing:-.7px;white-space:nowrap}.access-heading img{width:46px;height:46px}.access-status{font-size:10px;margin:0 0 8px;line-height:1.3}.access-card label{font-size:12px;margin:7px 0 4px}.access-card input{padding:8px 12px;font-size:12px}.access-card .button{min-height:36px;font-size:12px;padding:8px}.access-card .primary{margin-top:10px}.access-divider{margin:8px 0;font-size:12px}.account-links{margin-top:10px}.account-links button{font-size:10px}.roles{margin-top:7px;padding:8px 10px;border-radius:15px}.roles p{font-size:11px;margin-bottom:5px}.roles>div{gap:4px}.role{flex-basis:28%;padding:5px 4px;font-size:10px}.role svg{width:15px;height:15px}.welcome-features{padding:10px 14px;gap:8px;align-items:center}.feature{gap:8px;padding:0}.feature-icon{min-width:32px;height:32px;border-radius:10px}.feature-icon svg{width:23px;height:23px}.feature strong{font-size:13px}.feature small{font-size:10px;line-height:1.2;margin-top:2px}}

@media(max-width:760px){.welcome{grid-template-rows:minmax(0,1fr) 130px}.welcome-scene{grid-template-rows:120px minmax(0,1fr)}.welcome-robot{height:120px}.welcome-features{min-height:0;grid-template-rows:1fr 1fr}.feature small{font-size:9px}.feature strong{font-size:12px}}

/* Segunda reducción: tipografía, ilustración y acceso más compactos. */
@media(min-width:761px){
.header{height:60px;min-height:60px;padding:6px 4%;gap:20px}.header .brand img{width:40px;height:40px}.header .brand strong{font-size:23px}.header .brand small{font-size:10px}.header nav{gap:20px;font-size:12px}.header nav svg{width:19px;height:19px}.language{font-size:12px}
.welcome{height:calc(100dvh - 60px);min-height:440px;grid-template-rows:minmax(0,1fr) 84px}.welcome-scene{padding:10px 4% 0;grid-template-columns:33% 30% 37%}.welcome-robot{height:82%;max-height:480px;align-self:center;justify-self:center;width:90%}.welcome-copy{padding:0 18px 20px 0}.welcome-copy h1{font-size:clamp(24px,2.2vw,36px);letter-spacing:-1px;margin-bottom:12px}.welcome-copy h1 strong{font-size:1.22em}.welcome-copy p{font-size:clamp(16px,1.25vw,21px);line-height:1.35}.welcome-swoosh{width:100px;height:18px;border-width:4px;margin:14px auto}
.access-column{width:100%;max-width:470px;justify-self:center;padding:0 0 8px 10px}.access-card{padding:14px 20px;border-radius:21px}.access-heading h2{font-size:25px}.access-heading img{width:40px;height:40px}.access-status{font-size:10px;line-height:1.4;margin-bottom:8px}.access-card label{font-size:12px;margin:8px 0 4px}.access-card input{font-size:12px;padding:8px 12px;border-radius:9px}.access-card .button{font-size:12px;min-height:34px;padding:8px;border-radius:9px}.access-card .primary{margin-top:10px}.access-card .button span{font-size:17px}.access-divider{margin:8px 0;font-size:12px}.visitor svg{width:18px;height:18px}.account-links{margin-top:9px}.account-links button{font-size:10px}.roles{padding:7px 10px;margin-top:7px;border-radius:15px}.roles p{font-size:11px;margin-bottom:5px}.roles>div{gap:4px}.role{font-size:10px;padding:6px 4px;gap:4px}.role svg{width:16px;height:16px}
.welcome-features{padding:12px 5%;gap:10px}.feature{gap:12px}.feature-icon{min-width:44px;height:44px;border-radius:13px}.feature-icon svg{width:27px;height:27px}.feature strong{font-size:15px}.feature small{font-size:11px;line-height:1.3}
}
@media(max-width:760px){.header .brand strong{font-size:21px}.header .brand img{width:34px;height:34px}.welcome-copy h1{font-size:20px}.welcome-copy p{font-size:13px}.welcome-robot{height:105px}.access-heading h2{font-size:23px}.access-heading img{width:38px;height:38px}.access-card{padding:12px 16px}.access-card .button{font-size:11px}.visitor svg{width:18px;height:18px}}

@media(min-width:761px){.welcome-features{min-height:0}.feature{min-height:0;padding:0 8px}.feature small{margin-top:3px}}

/* Tercera reducción de la composición de bienvenida. */
@media(min-width:761px){
.header{height:48px;min-height:48px;padding:4px 4%}.header .brand strong{font-size:19px}.header .brand small{font-size:9px}.header .brand img{width:32px;height:32px}.header nav{font-size:11px;gap:16px}.header nav svg{width:16px;height:16px}
.welcome{height:calc(100dvh - 48px);min-height:350px;grid-template-rows:minmax(0,1fr) 65px}.welcome-scene{padding:6px 4% 0;grid-template-columns:33% 30% 37%}.welcome-robot{height:68%;max-height:360px;width:76%}.welcome-copy h1{font-size:clamp(20px,1.8vw,29px);margin-bottom:9px}.welcome-copy p{font-size:clamp(13px,1vw,17px)}.welcome-copy{padding-bottom:10px}.welcome-swoosh{width:80px;margin:10px auto;height:12px;border-width:3px}
.access-column{max-width:380px;padding:0 0 4px 8px}.access-card{padding:10px 15px;border-radius:17px}.access-heading h2{font-size:21px}.access-heading img{width:30px;height:30px}.access-status{font-size:9px;margin-bottom:4px}.access-card label{font-size:10px;margin:5px 0 3px}.access-card input{font-size:10px;padding:6px 10px}.access-card .button{font-size:10px;min-height:28px;padding:6px}.access-card .primary{margin-top:7px}.access-divider{margin:5px 0;font-size:10px}.account-links{margin-top:6px}.account-links button{font-size:9px}.visitor svg{width:14px;height:14px}.roles{padding:5px 8px;margin-top:5px}.roles p{font-size:10px;margin-bottom:4px}.role{font-size:9px;padding:4px 3px;gap:3px;flex-basis:auto}.role svg{width:13px;height:13px}
.welcome-features{padding:8px 4%;gap:8px}.feature{gap:8px}.feature-icon{min-width:34px;height:34px;border-radius:10px}.feature-icon svg{width:22px;height:22px}.feature strong{font-size:13px}.feature small{font-size:10px;margin-top:2px}
}
@media(max-width:760px){.welcome-robot{height:90px}.welcome-copy h1{font-size:18px}.welcome-copy p{font-size:12px}.access-heading h2{font-size:21px}.access-heading img{width:32px;height:32px}.access-card{max-width:300px;margin:auto}.roles{max-width:300px;margin:7px auto 0}}

@media(min-width:761px) and (max-height:500px){.access-card{padding:7px 12px}.access-heading{height:26px}.access-heading h2{font-size:18px}.access-heading img{width:24px;height:24px}.access-status{font-size:8px;margin:0 0 2px}.access-card label{margin:3px 0 2px;font-size:9px}.access-card input{height:24px;padding:4px 8px}.access-card .button{height:26px;min-height:26px;padding:4px;line-height:1.1}.access-card .button span{font-size:12px}.access-card .primary{margin-top:5px}.access-divider{margin:4px 0;line-height:1}.account-links{margin-top:5px}.roles>div{flex-wrap:nowrap}.role{flex:1;min-width:0;font-size:8px;padding:3px 2px}.role svg{width:10px;height:10px}.roles p{font-size:9px;margin-bottom:3px}}

/* Ajustes de figura, bienvenida y campos editables. */
.welcome-robot{transform:scaleX(-1)}.welcome-copy p>span{display:block}.access-field{position:relative;display:flex;align-items:center}.access-field>svg{position:absolute;left:9px;width:15px;height:15px;color:#6e83a2;pointer-events:none}.access-card .access-field input{padding-left:31px;padding-right:32px}.access-field input:focus{outline:2px solid #328ff0;outline-offset:1px}#password-toggle{position:absolute;right:5px;display:grid;place-items:center;border:0;background:none;color:#567598;width:26px;height:26px;padding:4px}#password-toggle svg{width:18px;height:18px}#password-toggle[aria-pressed="true"]{color:#0063e5}
@media(min-width:761px){.welcome-robot{height:76%;max-height:405px;width:84%}.welcome-copy h1{font-size:clamp(23px,2.05vw,33px)}.welcome-copy p{font-size:clamp(13px,1.12vw,18px);line-height:1.45}.access-column{max-width:350px}.access-card{padding:9px 13px}.access-heading h2{font-size:20px}.access-card input{padding-top:5px;padding-bottom:5px}.access-card .button{min-height:26px}.roles .role{font-size:8px}}
@media(max-width:760px){.welcome-robot{height:100px}.welcome-copy h1{font-size:20px}.welcome-copy p{font-size:11px}.access-card{max-width:285px}.roles{max-width:285px}}

/* Roles con jerarquía propia, más anchos que la tarjeta de ingreso. */
.roles{box-shadow:0 6px 18px #4675aa12;background:#f8fcfff0}.roles p{font-weight:600;color:#082653}.roles .role{font-weight:700;border-width:1px;border-radius:10px}.roles .admin{color:#5020d4;background:#e8ddff;border-color:#bda2ff}.roles .school{color:#0056db;background:#dfedff;border-color:#a3caff}.roles .teacher{color:#00744e;background:#d9f5eb;border-color:#9bdfcd}.roles .student{color:#d65700;background:#fff0df;border-color:#ffc58c}.roles .guest{color:#344259;background:#e3e9f2;border-color:#c4d0df}.roles .role svg{stroke-width:2.5}.roles .role:hover{filter:brightness(.96)}
@media(min-width:761px){.access-column{max-width:350px;position:relative}.roles{width:calc(100% + 64px);margin-left:-32px;padding:9px 12px;margin-top:10px;border-radius:18px}.roles p{font-size:11px;margin-bottom:7px}.roles>div{flex-wrap:nowrap;gap:6px}.roles .role{font-size:10px;padding:8px 5px;gap:5px;flex:1;white-space:nowrap}.roles .role svg{width:17px;height:17px}.access-card .access-heading img{width:42px;height:42px}.access-card .visitor{font-weight:750}.access-card .visitor svg{stroke-width:2.5}}
@media(min-width:761px) and (max-height:500px){.roles{padding:6px 9px;margin-top:6px}.roles p{font-size:9px;margin-bottom:4px}.roles .role{font-size:8px;padding:5px 3px;gap:3px}.roles .role svg{width:13px;height:13px}.access-card .access-heading img{width:26px;height:26px}}
@media(max-width:760px){.roles{max-width:315px;padding:8px 9px}.roles .role{font-size:10px;padding:6px 4px}.roles .role svg{width:17px;height:17px}.roles p{font-size:11px}.access-card .access-heading img{width:38px;height:38px}}

@media(min-width:761px) and (min-height:501px){.roles .role{font-size:9px;padding:8px 3px;gap:3px}.roles .role svg{width:15px;height:15px}}

/* Borde derecho común y robot un 25% mayor. */
@media(min-width:761px){.roles{margin-left:-64px}.welcome-robot{height:95%;max-height:506.25px;width:105%}}
@media(max-width:760px){.access-card{margin-left:auto;margin-right:0}.roles{margin-left:auto;margin-right:0}.welcome-robot{height:125px}}

@media(min-width:761px){.welcome-robot{max-width:105%}}

/* Chrome/WebKit puede pintar la primera línea del autofill con otra fuente. */
.access-card .access-field input{--access-input-size:10px;font-family:inherit;font-size:var(--access-input-size);font-weight:400;letter-spacing:normal;line-height:1.3}
.access-card .access-field input:-webkit-autofill,
.access-card .access-field input:-webkit-autofill:hover,
.access-card .access-field input:-webkit-autofill:focus{font-family:inherit;font-size:var(--access-input-size);-webkit-text-fill-color:#183b57;caret-color:#183b57}
.access-card .access-field input:-webkit-autofill::first-line{font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:var(--access-input-size);font-weight:400;line-height:1.3;letter-spacing:normal}
.access-card .access-field input:autofill{font-family:inherit;font-size:var(--access-input-size)}
@media(max-width:760px){.access-card .access-field input{--access-input-size:12px}}

/* Bienvenida: texto un 50% mayor, conservando los tres renglones. */
@media(min-width:761px){.welcome-copy h1{font-size:clamp(34.5px,3.075vw,49.5px)}.welcome-copy p{font-size:clamp(19.5px,1.68vw,27px)}}
@media(max-width:760px){.welcome-copy h1{font-size:30px}.welcome-copy p{font-size:16.5px}}

@media(max-width:760px){.welcome-copy h1{font-size:20px}.welcome-copy p{font-size:11px}}

/* Encuadre completo del aula, sin ampliar ni recortar la imagen. */
.welcome{background-size:contain;background-position:center;background-repeat:no-repeat;background-color:#dcefff}

/* Fondo extendido al ancho y alto de la bienvenida. */
.welcome{background-size:100% 100%;background-position:center}

.welcome-robot{transform:translateY(18px) scaleX(-1)}
@media(max-width:760px){.welcome-robot{transform:translateY(6px) scaleX(-1)}}

/* Marca con subtítulo pequeño y centrado, como la referencia. */
.header .brand>span{text-align:center}
.header .brand strong{display:block;font-size:23px;line-height:1.05;letter-spacing:-.8px}
.header .brand small{font-size:8px;line-height:1.15;letter-spacing:0;margin-top:2px;text-align:center}
@media(max-width:760px){.header .brand strong{font-size:24px}.header .brand small{font-size:8px}}

.header .brand img{width:44px;height:44px;object-fit:contain}

/* Formulario un 10% más estrecho, con borde derecho conservado. */
.access-card{width:90%;margin-left:auto;margin-right:0}
@media(max-width:760px){.access-card{width:256.5px;max-width:90%}}

/* Destellos decorativos junto a Lab. */
.welcome-lab{position:relative;display:inline-block}.lab-spark{position:absolute;right:-.62em;top:-1.12em;width:.48em;height:.62em;background:#71b9ff;clip-path:polygon(50% 0,65% 33%,100% 50%,65% 67%,50% 100%,35% 67%,0 50%,35% 33%);pointer-events:none}.lab-rays{position:absolute;right:-.48em;top:-.29em;width:.12em;height:.4em;background:#ffd32d;border-radius:1em;transform:rotate(20deg);pointer-events:none}.lab-rays:after{content:'';position:absolute;left:.3em;top:.17em;width:.12em;height:.4em;background:#ffd32d;border-radius:1em;transform:rotate(40deg)}
