@font-face{font-family:AulaDisplay;src:url(aula/bungee.woff2) format("woff2");font-display:swap}
.role-teacher:has(.aula-home){background:#d4f6f5 url(aula/bg.webp) center/cover fixed}
.role-teacher .sidebar,.role-teacher .topbar{background-image:linear-gradient(100deg,#28141de6,#710d20b8),url(aula/head.webp);background-size:cover;background-position:center 46%;border-bottom:3px solid #86192b}
.role-teacher .brand-mark{background:#96e3e0}.role-teacher .nav-link.active,.role-teacher .nav-link:hover{background:#ffffff25}.role-teacher .main-content:has(.aula-home){padding:10px 16px;max-width:1600px}
.aula-home{color:#203644}.aula-title,.aula-panel{border:1px solid #bfcdd2;border-radius:13px;overflow:hidden;min-width:0;box-shadow:0 3px 10px #28445113}.aula-title{display:flex;align-items:center;justify-content:space-between;background:#f7fbfcf0;border-left:5px solid #9d1931;padding:8px 15px;margin-bottom:9px}.aula-title small,.aula-panel>header small{font:750 9px system-ui;letter-spacing:.12em;text-transform:uppercase;color:#546b76}.aula-title h1,.aula-panel h2,.aula-access strong{font-family:AulaDisplay,system-ui,sans-serif;font-weight:normal;margin:0;line-height:1.16}.aula-title h1{font-size:clamp(18px,2vw,29px)}.aula-title>span{font-size:12px;color:#4b6068}.aula-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(225px,1.18fr) minmax(170px,.9fr);height:clamp(435px,calc(100svh - 167px),760px);gap:10px}.aula-panel{display:flex;flex-direction:column;background:#fcfefe}.aula-panel>header{padding:7px 14px;background:#fffffff0;border-bottom:1px solid #cfdbde}.aula-panel h2{font-size:clamp(14px,1.45vw,21px)}.aula-panel.cool{background:#d9ebfcdf}.aula-panel.warm{background:#fff1ccdf}.aula-port{flex:1;min-height:0;display:grid;grid-template-columns:1fr .88fr 1fr;grid-template-rows:1fr 1fr;gap:6px;padding:8px}.aula-access{position:relative;border:1px solid #c8d8dd;border-radius:9px;background:#fafdff;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;color:#19384b;min-height:0;min-width:0;padding:5px;text-align:center}.aula-access:hover,.aula-access:focus-visible{outline:2px solid #166e82;outline-offset:-2px}.aula-access img{min-height:0;width:75%;height:55%;max-height:94px;object-fit:contain}.aula-access strong{font-size:clamp(12px,1.15vw,17px)}.aula-access small{font-size:clamp(10px,.85vw,13px);line-height:1.15}.aula-access.dom{background:radial-gradient(ellipse at top,#cc2c45,#550d1f);color:white}.aula-access .count{position:absolute;right:5px;top:5px;padding:2px 7px;border-radius:30px;background:#99213a;color:white;font:700 12px system-ui}.slot-0{grid-area:1/1}.slot-1{grid-area:2/1}.slot-2{grid-area:1/3}.slot-3{grid-area:2/3}.aula-mascot{grid-area:1/2/3/3;width:100%;height:100%;object-fit:contain}.aula-agenda{display:grid;grid-template-columns:1fr 1fr;padding:11px 15px;gap:15px;align-items:center;flex:1;min-height:0}.monthline{display:flex;gap:10px;font-size:13px;align-items:center}.monthline strong{margin-right:auto}.monthline a{padding:2px 5px}.days{display:grid;grid-template-columns:repeat(7,1fr);text-align:center;gap:2px;font-size:11px}.days b,.days span{padding:2px 0}.days b{color:#5c7181}.days .today{border-radius:5px;background:#17647a;color:white}.days .marker{text-decoration:underline;text-decoration-color:#a31e3b;text-decoration-thickness:2px}.aula-news,.aula-social{font-size:13px}.aula-news{border-left:1px solid #d6e0e5;padding-left:13px;min-width:0}.aula-news p,.aula-empty p{color:#5a7180;margin:.4em 0}.aula-news article,.aula-social .thread{display:grid;margin-bottom:5px}.aula-social{display:flex;flex-direction:column;gap:6px;padding:11px 14px;flex:1;min-height:0}.aula-tabs{display:flex;gap:7px;font-size:11px}.aula-tabs a{background:#f1e3e7;color:#81233b;border-radius:15px;padding:4px 10px}.aula-empty{margin:auto;text-align:center}.aula-forum{align-self:flex-end;margin-top:auto}.rr-written,.rr-writing,.aula-news b,.aula-social b{overflow-wrap:anywhere}.rr-writing+.rr-writing{border-top:1px solid #d6e1e4;padding-top:10px;margin-top:10px}
@media(max-width:650px){.role-teacher .main-content:has(.aula-home){padding:6px}.aula-title{margin-bottom:5px;padding:5px 8px}.aula-title>span{display:none}.aula-grid{height:auto;grid-template-columns:1fr;grid-template-rows:auto;gap:6px}.aula-port{height:clamp(125px,24svh,189px);flex:none;padding:4px;gap:3px}.aula-access{padding:2px;gap:1px}.aula-access img{max-height:38px}.aula-panel>header{padding:4px 8px}.aula-panel>header small{display:none}.aula-access small{display:none}.aula-title h1{font-size:17px}.aula-grid>.aula-panel:nth-child(n+3){display:none}}
@media(min-width:651px) and (max-height:650px){.aula-grid{height:auto;min-height:0;grid-template-rows:220px auto}.aula-agenda{padding:5px 10px}.aula-social{gap:3px}}
.aula-more{display:none}.aula-access.dom small{color:#fff}
@media(min-width:821px){:is(.role-teacher,.role-student) .sidebar{height:66px;min-height:66px;padding:6px 20px;gap:20px;overflow:visible}:is(.role-teacher,.role-student) .sidebar .brand{width:auto;flex:none;margin:0;padding:0}:is(.role-teacher,.role-student) .sidebar .brand strong{white-space:nowrap}:is(.role-teacher,.role-student) .sidebar .side-nav{width:auto;display:flex;align-items:center;flex-wrap:nowrap}:is(.role-teacher,.role-student) .sidebar .side-nav>a:not(:first-child){display:none}:is(.role-teacher,.role-student) .sidebar-account{width:auto;margin:0 0 0 auto;flex-direction:row;gap:14px;white-space:nowrap}:is(.role-teacher,.role-student) .sidebar-account .account-copy{display:none}.aula-more{display:block;position:relative}.aula-more summary{cursor:pointer;font-weight:700;list-style:none;font-size:13px;background:#ffffff1b;border:1px solid #ffffff48;border-radius:6px;padding:6px 11px}.aula-more>div{position:absolute;top:calc(100% + 4px);left:0;z-index:9;display:grid;min-width:170px;border:1px solid #c3d3d9;box-shadow:0 5px 18px #17394a24;background:#fff;border-radius:8px;padding:5px}.aula-more>div a{color:#233949;padding:6px 9px;border-radius:4px}.aula-more>div a:hover,.aula-more>div a:focus-visible{background:#e4eff2}.role-teacher .aula-grid{height:clamp(400px,calc(100svh - 176px),760px)}}
/* Inicio del alumno: cuatro accesos alrededor del mismo personaje que usa en Dominio. */
.role-student:has(.student-home){background:#e0f3f2 url(aula/bg.webp) center/cover fixed}
.student-home{width:min(100%,960px);margin:clamp(4px,3vh,30px) auto}
.student-home .aula-panel{background:linear-gradient(115deg,#e7f3fa,#d8ebf6 52%,#e4f2ef)}
.student-home .aula-panel>header{padding:clamp(9px,1.7vh,18px) clamp(12px,2vw,23px);border-top:3px solid #14757d}
.student-home h1{font:400 clamp(18px,2.1vw,30px)/1.1 AulaDisplay,system-ui;margin:2px 0 0}
.student-home-board{flex:none;height:clamp(230px,53svh,450px);grid-template-columns:minmax(0,1fr) minmax(0,.94fr) minmax(0,1fr);padding:clamp(6px,1.5vw,16px);gap:clamp(5px,1.2vw,12px)}
.student-home-board .aula-access{gap:clamp(3px,1vh,9px);background:linear-gradient(145deg,#fff,#f4fafb);text-decoration:none}
.student-home-board .aula-access svg{display:block;width:clamp(40px,8vw,89px);height:clamp(40px,10vh,84px);max-height:56%;flex-shrink:1}
.student-home-board .aula-access strong{font-size:clamp(12px,1.6vw,22px);overflow-wrap:anywhere}
.pupil-portrait{display:grid;grid-template-rows:minmax(0,1fr) auto;align-items:center;justify-items:center;min-height:0;min-width:0;gap:4px;margin:0;text-align:center}
.pupil-portrait .student-sprite{height:100%;min-height:0}
.pupil-portrait figcaption{max-width:100%;padding:4px clamp(4px,1vw,12px);border:1px solid #abbec7;border-radius:8px;background:#fbfdff;color:#183b51;font:400 clamp(12px,1.8vw,24px)/1.13 AulaDisplay,system-ui;overflow-wrap:anywhere}
.class-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,165px),1fr));gap:10px}
.class-avatar{display:grid;justify-items:center;align-content:start;text-align:center;min-width:0}
.class-avatar .student-sprite{height:clamp(140px,22vh,210px)}.class-avatar h2{margin:.45em 0 .15em;font-size:1rem;overflow-wrap:anywhere}.class-avatar small{color:#4d6473}
@media(max-width:650px){.student-home .aula-panel>header small{display:block}.student-home-board{height:clamp(205px,42svh,320px)}.student-home-board .aula-access small{display:none}.class-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.class-tabs{gap:0}.class-tabs a{padding-inline:9px}}
@media(max-height:460px){.student-home{margin:0 auto}.student-home-board{height:clamp(135px,calc(100svh - 126px),240px)}.student-home-board .aula-access small{display:none}.student-home-board .aula-access svg{height:clamp(23px,9vh,40px)}}
