/* Rediseño progresivo del panel docente. Se aplica únicamente al rol docente. */
:root{--pd-navy:#12385f;--pd-navy-2:#174b79;--pd-blue:#1767b8;--pd-blue-soft:#eaf3fc;--pd-yellow:#f2c94c;--pd-bg:#fff;--pd-line:#dce5ef;--pd-text:#1f344d;--pd-muted:#6e7f93;--pd-sidebar:226px;--pd-sidebar-background:linear-gradient(180deg,#174b79 0%,#12385f 58%,#0f2f50 100%);--pd-surface-gradient:var(--pd-sidebar-background);--pd-accent:#1767b8;--pd-accent-strong:#12385f;--pd-accent-soft:#eaf3fc}
body.teacher-workspace{padding:0;background:#fff;align-items:stretch;justify-content:stretch}
body.teacher-workspace #animated-bg{display:none}
body.teacher-workspace #app{max-width:none;min-height:100vh;height:100vh;border-radius:0;box-shadow:none;background:#fff;padding-left:var(--pd-sidebar);overflow:hidden}
body.teacher-workspace #app>.topbar{display:none!important}
body.teacher-workspace #app>.topbar .logo{display:none}
body.teacher-workspace #app>.topbar .nav-buttons{display:none}
body.teacher-workspace #app>.topbar .user-badge{margin-left:auto;background:#f4f7fb;border:1px solid var(--pd-line);color:var(--pd-text)}
body.teacher-workspace .view{padding:24px 32px 38px;max-height:100vh;background:#fff}
body.teacher-workspace .view.visible{animation:pdEnter .22s ease both}
body.teacher-grade-picker .pd-sidebar,body.teacher-grade-picker .pd-menu-toggle,body.teacher-grade-picker .pd-sidebar-overlay{display:none!important}
body.teacher-grade-picker #view-teacher-grados>.pd-breadcrumbs{display:none!important}
body.teacher-grade-picker #view-teacher-grados{background:#fff}
@keyframes pdEnter{from{opacity:.35;transform:translateY(5px)}to{opacity:1;transform:none}}

.pd-sidebar{position:fixed;z-index:110;inset:0 auto 0 0;width:var(--pd-sidebar);display:flex;flex-direction:column;padding:12px 10px;background:var(--pd-sidebar-background);color:#fff;box-shadow:6px 0 22px rgba(18,56,95,.12);overflow-y:auto;overflow-x:hidden;scrollbar-width:none;transition:background .3s ease}.pd-sidebar::-webkit-scrollbar{display:none}
.pd-brand{display:flex;align-items:center;gap:10px;padding:2px 8px 11px;margin-bottom:5px;border-bottom:1px solid rgba(255,255,255,.12)}
.pd-brand-mark{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(145deg,#f7db60,#e5b91f);color:#102a4c;font-size:1rem;box-shadow:0 6px 14px rgba(0,0,0,.14)}
.pd-brand strong{display:block;font-size:1.18rem;letter-spacing:.01em}.pd-brand small{color:#b9c9da;font-size:.72rem}
.pd-grade-switch-wrap{padding:4px 1px 8px}.pd-grade-switch{position:relative;width:100%;display:grid;grid-template-columns:34px minmax(0,1fr) 14px;align-items:center;gap:8px;padding:9px 9px;border:1px solid rgba(255,255,255,.24);border-radius:12px;overflow:hidden;background:linear-gradient(115deg,#f2c94c,#f8e18a,#f2c94c);background-size:220% 100%;color:#18324f;text-align:left;cursor:pointer;box-shadow:0 7px 18px rgba(4,22,42,.18);animation:pdGradeGlow 3.4s ease-in-out infinite}.pd-grade-switch:after{content:"";position:absolute;inset:-40% auto -40% -35%;width:28%;transform:rotate(18deg);background:rgba(255,255,255,.42);filter:blur(5px);animation:pdGradeShine 3.4s ease-in-out infinite}.pd-grade-switch>*{position:relative;z-index:1}.pd-grade-switch-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:#173b62;color:#fff}.pd-grade-switch small,.pd-grade-switch strong{display:block}.pd-grade-switch small{font-size:.56rem;letter-spacing:.08em;text-transform:uppercase;opacity:.72}.pd-grade-switch strong{font-size:.74rem;margin-top:2px}.pd-grade-switch>i{font-size:.65rem}@keyframes pdGradeGlow{0%,100%{background-position:0 50%;transform:translateY(0)}50%{background-position:100% 50%;transform:translateY(-1px)}}@keyframes pdGradeShine{0%,48%{left:-35%;opacity:0}58%{opacity:1}78%,100%{left:120%;opacity:0}}
.pd-nav{display:flex;flex-direction:column;gap:1px;min-height:0;overflow:visible;padding:1px}
.pd-nav-label{padding:8px 10px 3px;color:#a9bfd5;font-size:.59rem;font-weight:800;letter-spacing:.11em;text-transform:uppercase}
.pd-nav button{width:100%;min-height:34px;display:flex;align-items:center;gap:9px;padding:7px 10px;border:0;border-radius:9px;background:transparent;color:#e2ebf4;font:600 .77rem Inter,sans-serif;text-align:left;cursor:pointer;transition:.18s ease}
.pd-nav button i{width:19px;text-align:center;color:#9fb8d2}.pd-nav button:hover{background:rgba(255,255,255,.08);color:#fff}.pd-nav button.active{background:#fff;color:#153a67;box-shadow:0 8px 22px rgba(0,0,0,.15)}.pd-nav button.active i{color:#1767b8}
.pd-grade-select{display:block;margin:3px 2px 6px;padding:7px 8px;border-radius:10px;background:rgba(255,255,255,.09);color:#dce9f5;font-size:.59rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.pd-grade-select select{width:100%;margin-top:5px;padding:6px 7px;border:1px solid rgba(255,255,255,.18);border-radius:7px;background:#fff;color:#173b62;font:700 .72rem Inter,sans-serif}.pd-sidebar-foot{margin-top:auto;padding-top:6px;border-top:1px solid rgba(255,255,255,.1)}
.pd-user-mini{display:flex;align-items:center;gap:8px;padding:5px 8px 6px}.pd-user-avatar{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:#f2c94c;color:#163352;font-size:.75rem;font-weight:800}.pd-user-mini strong{display:block;max-width:145px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.69rem}.pd-user-mini small{color:#b4c5d7;font-size:.6rem}
.pd-menu-toggle{display:none;position:fixed;z-index:130;left:14px;top:14px;width:43px;height:43px;border:0;border-radius:12px;background:#102a4c;color:#fff;box-shadow:0 8px 22px rgba(16,42,76,.2)}
.pd-sidebar-overlay{display:none;position:fixed;z-index:105;inset:0;background:rgba(7,23,42,.45);backdrop-filter:blur(2px)}

.pd-breadcrumbs{display:flex;align-items:center;gap:7px;min-height:28px;margin:0 0 14px;color:var(--pd-muted);font-size:.77rem;font-weight:600;overflow-x:auto;white-space:nowrap}.pd-breadcrumbs button{border:0;background:transparent;color:#35699c;cursor:pointer;font:inherit;padding:2px}.pd-breadcrumbs i{font-size:.6rem;color:#9cabbc}.pd-breadcrumbs .current{color:var(--pd-text);font-weight:750}
body.teacher-workspace .btn-volver{display:none}
body.teacher-workspace .dash-header{padding:0;margin-bottom:18px;align-items:flex-start}
body.teacher-workspace .dash-header h2{font-size:1.55rem;color:var(--pd-text);line-height:1.25}
body.teacher-workspace .badge-pill{background:#fff;border:1px solid var(--pd-line);color:#496078;padding:7px 13px;font-size:.78rem}

.pd-welcome{display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center;padding:27px 30px;margin-bottom:22px;border-radius:20px;background:linear-gradient(125deg,#153c6b,#1767b8);color:#fff;box-shadow:0 14px 36px rgba(20,64,110,.16);overflow:hidden;position:relative}.pd-welcome:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-80px;top:-130px;background:rgba(255,255,255,.08)}.pd-welcome h1{font-size:1.65rem;margin-bottom:7px}.pd-welcome p{max-width:650px;color:#dbe9f7;line-height:1.5}.pd-welcome .btn{position:relative;z-index:1;background:#f2c94c;color:#18314d;white-space:nowrap}
.pd-section-title{margin:4px 0 14px;color:var(--pd-text);font-size:1.02rem}.pd-help{margin-top:18px;padding:14px 16px;border:1px solid #d8e5f2;border-radius:13px;background:#fff;color:#5c7188;font-size:.82rem;line-height:1.5}.pd-help i{color:#1767b8;margin-right:7px}

body.teacher-workspace .areas-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;padding:0;justify-content:stretch}
body.teacher-workspace #teacherAreasGrid,body.teacher-workspace #teacherGradosGrid{grid-template-columns:repeat(auto-fill,minmax(230px,310px));justify-content:start}
body.teacher-workspace .area-card{width:auto;min-height:174px;padding:24px 21px;border:1px solid var(--pd-line);border-radius:17px;text-align:left;box-shadow:0 5px 18px rgba(25,54,87,.06);display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
body.teacher-workspace .area-card:hover{transform:translateY(-3px);box-shadow:0 12px 26px rgba(25,54,87,.11)}
body.teacher-workspace .area-card .icono-area{font-size:2.1rem;margin-bottom:15px}.pd-card-arrow{position:absolute;right:18px;bottom:17px;color:#6c8197;font-size:.9rem}

body.teacher-workspace #teacherUnidadesGrid{grid-template-columns:repeat(auto-fit,minmax(380px,1fr));gap:13px;padding:0}
body.teacher-workspace .unidad-docente-card{min-height:92px;background:#fff!important;border:1px solid var(--pd-line);border-radius:15px;box-shadow:0 4px 14px rgba(25,54,87,.045)}
body.teacher-workspace .unidad-docente-card:hover{border-color:#a9c8e6;box-shadow:0 9px 23px rgba(25,54,87,.09)}
body.teacher-workspace #teacherClasesList .resource-item{padding:14px 16px;margin-bottom:9px;background:#fff;border:1px solid var(--pd-line);border-radius:13px;box-shadow:0 3px 11px rgba(25,54,87,.04)}
body.teacher-workspace #teacherClasesList .resource-item:hover{border-color:#a9c8e6}

.pd-session-tabs{display:flex;gap:5px;padding:5px;margin:0 0 18px;border:1px solid var(--pd-line);border-radius:13px;background:#eaf0f6;overflow-x:auto}.pd-session-tabs button{flex:1;min-width:135px;padding:10px 13px;border:0;border-radius:9px;background:transparent;color:#52687f;font-weight:750;cursor:pointer}.pd-session-tabs button:hover{background:rgba(255,255,255,.65)}.pd-session-tabs button.active{background:#fff;color:#145da7;box-shadow:0 3px 10px rgba(24,63,105,.1)}.pd-session-tabs i{margin-right:7px}
.pd-session-actions{display:flex;justify-content:flex-end;gap:7px;margin:-7px 0 14px}.pd-session-actions .btn{background:#fff;border:1px solid var(--pd-line);color:#31506f}
body.teacher-workspace #view-teacher-panel>.dash-header+div{display:none!important}
.pd-legacy-session-actions,.pd-dashboard-legacy{display:none!important}
.pd-collapsible-form{display:none!important}.pd-collapsible-form.pd-open{display:flex!important}
.pd-secondary-tools>*{display:inline-flex}.pd-secondary-tools select{display:inline-block}
body.teacher-workspace .panel-docente-grid{grid-template-columns:1fr 1fr;gap:15px}
body.teacher-workspace .panel-columna{padding:0;border:1px solid var(--pd-line);border-radius:16px;background:#fff;box-shadow:0 4px 16px rgba(25,54,87,.05);overflow:hidden}
body.teacher-workspace .resource-toolbar{padding:16px 17px;border-bottom:1px solid var(--pd-line);background:#fbfcfe;margin:0}
body.teacher-workspace .resource-toolbar h3{font-size:1rem;color:var(--pd-text)}
body.teacher-workspace .upload-section{display:none;margin:0;padding:17px;background:#f8fafc;border:0;border-bottom:1px solid var(--pd-line);border-radius:0}
body.teacher-workspace .upload-section.pd-open{display:block;animation:pdEnter .2s ease}
body.teacher-workspace .resource-list{padding:12px;max-height:510px!important}
.pd-add-resource{background:#1767b8!important;color:#fff!important;border:0!important}.actividades .pd-add-resource{background:#7a4eb0!important}
body.teacher-workspace #rubricaLiveSection{margin:12px!important;padding:20px!important;border:1px solid #cddceb!important;border-radius:13px!important;background:#f4f8fc!important}

/* Edición de recursos: el formulario del modal no debe heredar el plegado de los formularios del panel. */
body.teacher-workspace #modalEditResource{z-index:200100;padding:18px}
body.teacher-workspace #modalEditResource .modal-content{width:min(720px,calc(100% - 24px));max-height:calc(100dvh - 36px);padding:25px 27px 27px;border-radius:20px;box-shadow:0 24px 70px rgba(8,31,54,.28)}
body.teacher-workspace #modalEditResource .modal-content>h3{margin:0 38px 19px 0;color:var(--pd-text);font-size:1.2rem}
body.teacher-workspace #modalEditResource .upload-section,
body.teacher-workspace #modalEditResource .upload-section.pd-open{display:block!important;margin:0;padding:18px;border:1px solid var(--pd-line);border-radius:15px;background:#f8fbfe;animation:pdEnter .18s ease}
body.teacher-workspace #modalEditResource .upload-section label{margin:0 0 5px;color:#334e68;font-weight:800}
body.teacher-workspace #modalEditResource .upload-section input,
body.teacher-workspace #modalEditResource .upload-section select,
body.teacher-workspace #modalEditResource .upload-section textarea{margin-bottom:12px;background:#fff}
body.teacher-workspace #modalEditResource .upload-section .btn{width:100%;justify-content:center;margin-top:3px}

/* Tarjetas docentes: contenido legible arriba y acciones compactas debajo. */
body.teacher-workspace .resource-list .recurso-docente-card{display:grid!important;grid-template-columns:48px minmax(0,1fr);align-items:start;column-gap:12px;row-gap:10px;padding:14px 15px!important;cursor:default}
body.teacher-workspace .recurso-docente-card>.tipo-icon{grid-column:1;grid-row:1 / span 2;width:44px;min-width:44px;height:44px;display:grid;place-items:center;border-radius:11px;background:#f0f5fb;font-size:1.55rem}
body.teacher-workspace .recurso-docente-card>.info{grid-column:2;min-width:0;width:100%}
body.teacher-workspace .recurso-docente-card>.info h4{margin:0 0 3px;font-size:.94rem;line-height:1.3;overflow-wrap:anywhere;word-break:normal}
body.teacher-workspace .recurso-docente-card>.info .meta{line-height:1.35}
body.teacher-workspace .recurso-docente-card>.recurso-docente-acciones{grid-column:2;display:flex;align-items:center;gap:6px;flex-wrap:wrap;width:100%}
body.teacher-workspace .recurso-docente-acciones button{min-height:31px;margin:0!important;padding:6px 9px!important;border-radius:9px!important;font-size:.71rem!important;line-height:1;white-space:nowrap;justify-content:center}
body.teacher-workspace .recurso-docente-acciones .btn-rojo{width:32px;min-width:32px;padding:6px!important}
body.teacher-workspace .recurso-docente-acciones .btn-modo-recurso{background:#eef1ff;color:#5142a6;border:1px solid #d8d5fb}
body.teacher-workspace .recurso-docente-acciones .btn-modo-recurso.activo{background:#e7f6ed;color:#17643a;border-color:#bfe4cd}
body.teacher-workspace .recurso-docente-card.recurso-modo-confirmado{animation:pdModoClaseConfirmado .65s ease 2;border-color:#32a76b!important;box-shadow:0 0 0 4px #32a76b20!important}@keyframes pdModoClaseConfirmado{50%{transform:translateX(4px);background:#eefbf3}}
body.teacher-workspace .recurso-docente-card>.controles-orden{grid-column:2;justify-self:end}
.edit-preguntas-recuperacion{display:grid;gap:9px;margin-top:8px}
.edit-pregunta-recuperacion-fila{display:grid;grid-template-columns:90px minmax(0,1fr);align-items:center;gap:10px;margin:0!important;padding:9px 10px;border:1px solid #d8e2ef;border-radius:10px;background:#f8fbff}
.edit-pregunta-recuperacion-fila span{font-size:.78rem;font-weight:800;color:#174a8b}
.edit-pregunta-recuperacion-fila input{width:100%;min-height:40px;margin:0!important;border:1px solid #bfcfe2;border-radius:8px;padding:8px 10px}
.pd-session-name-editor{display:grid;gap:7px;width:min(100%,620px);font-size:.78rem;color:#50667d}
.pd-session-name-editor input{width:100%;min-height:42px;padding:8px 11px;border:2px solid #1767b8;border-radius:9px;background:#fff;color:#122d49;font:inherit;font-size:1rem;font-weight:700}
.pd-session-name-editor>span:last-child{display:flex;flex-wrap:wrap;gap:7px}
.pd-youtube-page{padding:30px!important;background:#fff}.pd-youtube-head{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(250px,.8fr) minmax(360px,1.2fr);align-items:end;gap:30px;padding:28px;border-radius:22px;background:linear-gradient(125deg,var(--pd-theme-start,#123f7d),var(--pd-theme-end,#0e7a64));color:#fff;box-shadow:0 14px 34px #17355520}.pd-youtube-head:after{content:"";position:absolute;width:220px;height:220px;right:-70px;top:-120px;border:32px solid #ffffff12;border-radius:50%;animation:pdYoutubeOrbit 4.8s linear infinite}.pd-youtube-head .pd-eyebrow{color:#ffe17a}.pd-youtube-head h2{margin:4px 0 7px;font-size:1.7rem}.pd-youtube-head h2 i{color:#ff3344}.pd-youtube-head p{margin:0;color:#eef8ff}.pd-youtube-search{position:relative;z-index:1}.pd-youtube-search label{display:block;margin-bottom:7px;font-size:.78rem;font-weight:800;text-transform:uppercase}.pd-youtube-search>div{display:flex;gap:9px}.pd-youtube-search input{min-width:0;flex:1;min-height:48px;border:2px solid #ffffff80;border-radius:12px;padding:0 14px;background:#fff;color:#17324f}.pd-youtube-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(330px,.8fr);gap:20px;margin-top:20px}.pd-youtube-layout>section,.pd-youtube-preview{border:1px solid #d8e3ef;border-radius:18px;background:#fff;box-shadow:0 9px 25px #1735550d}.pd-youtube-layout>section{padding:16px}.pd-youtube-status{padding:11px 13px;border-radius:11px;background:#eef5fb;color:#31506f;font-size:.86rem}.pd-youtube-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.pd-youtube-result{display:grid;grid-template-columns:124px minmax(0,1fr);gap:11px;width:100%;padding:9px;border:1px solid #d8e3ef;border-radius:13px;background:#fff;text-align:left;cursor:pointer;transition:.2s}.pd-youtube-result:hover,.pd-youtube-result.active{border-color:#e52d3c;box-shadow:0 8px 18px #e52d3c1c;transform:translateY(-2px)}.pd-youtube-result img{width:124px;height:70px;object-fit:cover;border-radius:9px;background:#e9eef5}.pd-youtube-result span{min-width:0}.pd-youtube-result strong,.pd-youtube-result small,.pd-youtube-result em{display:block}.pd-youtube-result strong{font-size:.82rem;line-height:1.25;color:#17324f}.pd-youtube-result small{margin-top:5px;color:#64768a}.pd-youtube-result em{margin-top:7px;color:#be1f2d;font-size:.73rem;font-style:normal;font-weight:800}.pd-youtube-preview{position:sticky;top:16px;align-self:start;overflow:hidden;padding:16px}.pd-youtube-preview iframe{width:100%;aspect-ratio:16/9;border:0;border-radius:13px;background:#101820}.pd-youtube-empty{display:grid;place-items:center;min-height:240px;text-align:center;color:#66798e}.pd-youtube-empty>i{font-size:3rem;color:#e52d3c}.pd-youtube-empty h3{margin:8px 0 0}.pd-youtube-empty p{margin:4px 0}.pd-youtube-preview [id="pdYoutubeSelection"]{display:grid;gap:9px;margin-top:14px}.pd-youtube-preview [id="pdYoutubeSelection"][hidden]{display:none}.pd-youtube-preview label{display:grid;gap:5px;font-size:.78rem;font-weight:800}.pd-youtube-preview select{min-height:42px;border:1px solid #c6d5e5;border-radius:9px;padding:0 9px;background:#fff}.pd-youtube-preview h3{margin:0;color:#17324f}.pd-youtube-preview p{margin:0;color:#65778b}.pd-youtube-preview small{color:#66798e;line-height:1.4}@keyframes pdYoutubeOrbit{to{transform:rotate(360deg)}}@media(max-width:980px){.pd-youtube-head,.pd-youtube-layout{grid-template-columns:1fr}.pd-youtube-preview{position:static}.pd-youtube-results{grid-template-columns:1fr}}@media(max-width:560px){.pd-youtube-page{padding:14px!important}.pd-youtube-head{padding:20px}.pd-youtube-search>div{flex-direction:column}.pd-youtube-result{grid-template-columns:105px minmax(0,1fr)}.pd-youtube-result img{width:105px;height:62px}}

body.teacher-workspace .modo-clase-shell{gap:15px}body.teacher-workspace .mc-panel{border-radius:16px;box-shadow:0 4px 16px rgba(25,54,87,.06)}

/* Modo Clase guiado: una acción principal por momento. */
body.teacher-workspace #view-teacher-class-mode{padding-top:20px;background:#f7f9fc}
.mc-guide-hero{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 27px;border-radius:20px;background:var(--pd-theme-gradient,var(--pd-surface-gradient));color:#fff;box-shadow:0 15px 36px color-mix(in srgb,var(--pd-accent,#1767b8) 22%,transparent)}
.mc-guide-hero:before,.mc-guide-hero:after{content:"";position:absolute;z-index:-1;border-radius:50%;background:rgba(255,255,255,.09);animation:mcGuideFloat 5.8s ease-in-out infinite}
.mc-guide-hero:before{width:86px;height:86px;right:13%;top:-27px}.mc-guide-hero:after{width:44px;height:44px;right:5%;bottom:-15px;animation-delay:-2.4s}
@keyframes mcGuideFloat{0%,100%{transform:translate(0,0) scale(1)}50%{transform:translate(-12px,10px) scale(1.08)}}
.mc-guide-eyebrow{display:block;margin-bottom:7px;color:#ffe47b;font-size:.65rem;font-weight:900;letter-spacing:.13em}.mc-guide-hero h2{margin:0;font-size:1.55rem;line-height:1.25}.mc-guide-hero h2 i{margin-right:8px;color:#ffe47b}.mc-guide-hero p{max-width:650px;margin:7px 0 0;color:#eef6ff;font-size:.84rem;line-height:1.45}.mc-guide-hero-meta{position:relative;z-index:1;display:flex;align-items:flex-end;gap:7px;flex-direction:column}.mc-origin-badge,.mc-activity-badge{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:rgba(255,255,255,.12);color:#fff;font-size:.7rem;font-weight:800;white-space:nowrap}
.mc-flow{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;margin:15px 0;padding:7px;border:1px solid #dbe5ef;border-radius:16px;background:#fff;box-shadow:0 5px 18px rgba(24,52,82,.05)}.mc-flow button{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;min-height:47px;padding:8px;border:0;border-radius:11px;background:transparent;color:#6a7b8e;font:800 .75rem Inter,sans-serif;cursor:pointer}.mc-flow button:not(:last-child):after{content:"";position:absolute;right:-1px;width:1px;height:22px;background:#e3eaf1}.mc-flow button span{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#edf2f7;color:#65778b;font-size:.68rem}.mc-flow button.completed{color:#197149}.mc-flow button.completed span{background:#ddf3e6;color:#197149}.mc-flow button.active{background:color-mix(in srgb,var(--pd-accent,#1767b8) 10%,white);color:var(--pd-accent-strong,#12385f);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--pd-accent,#1767b8) 20%,white)}.mc-flow button.active span{background:var(--pd-accent,#1767b8);color:#fff}
.mc-guide-stage{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(240px,.55fr);gap:0;overflow:hidden;border:1px solid #d9e4ee;border-radius:18px;background:#fff;box-shadow:0 7px 24px rgba(24,52,82,.06)}.mc-guide-main{padding:21px 23px}.mc-guide-aside{padding:20px;border-left:1px solid #e1e8ef;background:linear-gradient(145deg,#f7fafc,#f0f5f9)}.mc-guide-kicker{display:flex;align-items:center;gap:8px;margin-bottom:8px;color:var(--pd-accent,#1767b8);font-size:.68rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.mc-guide-main h3{margin:0;color:#1e3854;font-size:1.2rem}.mc-guide-main>p{max-width:760px;margin:7px 0 15px;color:#60748a;font-size:.84rem;line-height:1.55}.mc-guide-checklist{display:grid;gap:8px;margin:14px 0}.mc-guide-check{display:grid;grid-template-columns:30px minmax(0,1fr);gap:9px;align-items:start}.mc-guide-check>i{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:#e7f3ee;color:#15815d}.mc-guide-check strong,.mc-guide-check small{display:block}.mc-guide-check strong{color:#2a435d;font-size:.79rem}.mc-guide-check small{margin-top:2px;color:#75869a;font-size:.7rem;line-height:1.35}.mc-guide-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;margin-top:4px;padding:0 17px;border:0;border-radius:11px;background:var(--pd-accent,#1767b8);color:#fff;font-weight:850;cursor:pointer;box-shadow:0 7px 16px color-mix(in srgb,var(--pd-accent,#1767b8) 25%,transparent)}.mc-guide-action.danger{background:#c4333e}.mc-guide-action.secondary{border:1px solid #bfcddd;background:#fff;color:#31506f;box-shadow:none}.mc-guide-aside h4{margin:0 0 10px;color:#2a435d;font-size:.84rem}.mc-guide-note{padding:11px 12px;border-radius:11px;background:#fff;border-left:4px solid var(--pd-accent,#1767b8);color:#546a80;font-size:.73rem;line-height:1.45}.mc-guide-note+ .mc-guide-note{margin-top:8px}.mc-guide-note strong{display:block;margin-bottom:3px;color:#2b4663}.mc-guide-questions{display:grid;gap:7px;margin:10px 0 0}.mc-guide-question{padding:9px 11px;border:1px solid #dbe5ef;border-radius:10px;background:#fff;color:#425c76;font-size:.73rem;font-style:italic;line-height:1.4}.mc-guide-question:before{content:"\f0eb";margin-right:7px;color:#e09b16;font-family:"Font Awesome 6 Free";font-weight:900}.mc-stage-hidden{display:none!important}
.mc-stage-iniciar #classModeLaunch{display:block!important}.mc-stage-acompanar #classModeLive,.mc-stage-cerrar #classModeLive,.mc-stage-evidencias #classModeLive{order:3}.mc-stage-acompanar #classModeActivities{order:4}.mc-stage-preparar #classModeHeatmap{order:3}.mc-stage-preparar #classModeActivities{order:4}
body.teacher-workspace #view-teacher-class-mode .mc-panel{padding:17px;border-radius:16px}body.teacher-workspace #view-teacher-class-mode .mc-en-vivo{border:0;box-shadow:0 13px 30px rgba(16,42,86,.18)}
@media(max-width:900px){.mc-guide-stage{grid-template-columns:1fr}.mc-guide-aside{border-top:1px solid #e1e8ef;border-left:0}.mc-guide-hero{align-items:flex-start;flex-direction:column}.mc-guide-hero-meta{align-items:flex-start}.mc-flow{overflow-x:auto;grid-template-columns:repeat(5,minmax(135px,1fr))}}
@media(max-width:600px){.mc-guide-hero{padding:20px}.mc-guide-hero h2{font-size:1.25rem}.mc-guide-main,.mc-guide-aside{padding:17px}.mc-flow{margin:11px 0}.mc-flow button{min-height:43px}.mc-flow button:not(:last-child):after{display:none}}
@media(prefers-reduced-motion:reduce){.mc-guide-hero:before,.mc-guide-hero:after{animation:none}}
body.teacher-workspace #prepSummary>div{border:1px solid var(--pd-line);box-shadow:none!important}
body.teacher-workspace .form-box{border:1px solid var(--pd-line);border-radius:17px;box-shadow:0 7px 22px rgba(25,54,87,.06)}

.pd-ai-assistant{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 15px;border:1px solid #bcd6ef;border-radius:12px;background:linear-gradient(120deg,#edf6ff,#f8fbff)}.pd-ai-assistant div{min-width:0}.pd-ai-assistant strong{display:block;color:#174c82}.pd-ai-assistant small{color:#5f7690}.pd-ai-assistant button{white-space:nowrap;background:linear-gradient(120deg,#145aa5,#7449a2)!important;color:#fff!important}
.pd-ai-status{display:none;align-items:center;gap:9px;margin-top:10px;padding:10px 12px;border-radius:9px;background:#fff7dc;color:#6c5615;font-size:.78rem}.pd-ai-status.visible{display:flex}
.pd-pdf-button{background:#b4232d!important;color:#fff!important}
.pd-theme-settings{margin-bottom:18px;padding:20px;border:1px solid var(--pd-line);border-radius:17px;background:#fff;box-shadow:0 7px 22px rgba(25,54,87,.06)}.pd-theme-heading{display:flex;align-items:center;gap:13px;margin-bottom:16px}.pd-theme-heading>span{width:43px;height:43px;display:grid;place-items:center;border-radius:13px;background:#eaf3fc;color:#1767b8;font-size:1.1rem}.pd-theme-heading h2{margin:0 0 3px;color:var(--pd-text);font-size:1.12rem}.pd-theme-heading p{margin:0;color:var(--pd-muted);font-size:.77rem}.pd-theme-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.pd-theme-grid button{position:relative;display:grid;grid-template-columns:45px minmax(0,1fr) 20px;align-items:center;gap:10px;padding:9px;border:1px solid var(--pd-line);border-radius:12px;background:#fff;color:var(--pd-text);text-align:left;cursor:pointer}.pd-theme-grid button:hover{border-color:#9ebedd;background:#f8fbff}.pd-theme-grid button.selected{border-color:#1767b8;box-shadow:0 0 0 2px rgba(23,103,184,.12)}.pd-theme-grid button>span{width:45px;height:34px;border-radius:9px;background:var(--pd-theme-swatch);box-shadow:inset 0 0 0 1px rgba(255,255,255,.24)}.pd-theme-grid strong{font-size:.73rem}.pd-theme-grid button>i{display:none;color:#1767b8}.pd-theme-grid button.selected>i{display:block}
.pd-dashboard-thermometer-section{margin-top:22px}.pd-dashboard-thermometer-section .pd-dashboard-section-head{align-items:flex-end}.pd-dashboard-thermometer-section .pd-dashboard-section-head p{margin:4px 0 0;color:var(--pd-muted);font-size:.76rem}.pd-dashboard-thermometer-section .pd-dashboard-section-head label{color:var(--pd-muted);font-size:.67rem;font-weight:800;text-transform:uppercase}.pd-dashboard-thermometer-section select{display:block;min-width:310px;max-width:430px;margin-top:5px;padding:9px 11px;border:1px solid var(--pd-line);border-radius:9px;background:#fff;color:var(--pd-text)}#pdDashboardThermometer{border-color:#f2d59b;border-top:5px solid #e9a11b;background:linear-gradient(145deg,#fffaf0 0%,#fff 58%)}#pdDashboardThermometer .mc-panel-header h3,#pdDashboardThermometer .mc-panel-header h3 i{color:#9a5d00}#pdDashboardThermometer .badge-pill{background:#fff0cf;color:#855000;border:1px solid #f0d08d}.pd-therm-loading{padding:35px;text-align:center;color:#7c6847;font-weight:700}.pd-therm-loading i{margin-right:7px}

@media(max-width:1100px){body.teacher-workspace .panel-docente-grid{grid-template-columns:1fr}.pd-session-tabs button{min-width:125px}}
@media(max-width:820px){body.teacher-workspace #app{padding-left:0}.pd-sidebar{position:fixed;z-index:10010;transform:translateX(-105%);transition:transform .22s ease}.pd-sidebar.open{transform:none}.pd-sidebar-overlay.open{display:block;z-index:10000;left:var(--pd-sidebar)}.pd-menu-toggle{display:grid;z-index:10020;place-items:center}body.teacher-workspace .view{padding:68px 15px 30px}.pd-welcome{grid-template-columns:1fr;padding:23px}.pd-welcome .btn{justify-self:start}body.teacher-workspace #teacherUnidadesGrid{grid-template-columns:1fr}.sesion-grid.dos{grid-template-columns:1fr}.sesion-grid .span-2{grid-column:auto}.pd-ai-assistant{align-items:flex-start;flex-direction:column}.pd-theme-grid{grid-template-columns:1fr 1fr}.pd-dashboard-thermometer-section .pd-dashboard-section-head{align-items:stretch;flex-direction:column}.pd-dashboard-thermometer-section select{min-width:0;width:100%;max-width:none}}
@media(max-width:560px){body.teacher-workspace .areas-grid{grid-template-columns:1fr}.pd-session-tabs{padding:4px}.pd-session-tabs button{min-width:112px;font-size:.75rem;padding:9px}.pd-session-tabs button i{display:none}.pd-welcome h1{font-size:1.35rem}.pd-welcome p{font-size:.87rem}.pd-session-actions{justify-content:flex-start;overflow-x:auto}.sesion-wizard{border-radius:13px;height:calc(100dvh - 16px)}.sesion-modal{padding:8px}.sesion-progress span{display:none}.sesion-wizard-body{padding:17px}.sesion-wizard-foot{padding:12px;gap:8px;align-items:stretch;flex-direction:column}.sesion-wizard-foot>div{display:flex;gap:6px;flex-wrap:wrap}.sesion-momentos{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){body.teacher-workspace .view.visible,.pd-sidebar,.upload-section.pd-open,.pd-grade-switch,.pd-grade-switch:after{animation:none!important;transition:none!important}}

/* Los reportes de respuestas ocupan únicamente el espacio de trabajo docente. */
body.teacher-workspace #modalPreview{left:var(--pd-sidebar);width:calc(100% - var(--pd-sidebar));padding:18px;z-index:190000}
body.teacher-workspace #modalPreview .modal-content.reporte-interaccion{width:min(1120px,calc(100% - 24px));max-width:none;max-height:calc(100dvh - 36px);overflow:auto;margin:0}
body.teacher-workspace #modalPreview .modal-content{max-height:calc(100dvh - 36px);overflow:auto}
@media(max-width:820px){body.teacher-workspace #modalPreview{left:0;width:100%;padding:8px}body.teacher-workspace #modalPreview .modal-content.reporte-interaccion{width:100%;max-height:calc(100dvh - 16px)}}

.profile-photo-editor{display:flex;align-items:center;gap:18px;padding:16px;margin:12px 0 18px;border:1px solid #d8e3ef;border-radius:16px;background:#f8fbff}.profile-photo-editor img{width:92px;height:92px;border-radius:50%;object-fit:cover;background:linear-gradient(135deg,var(--pd-accent,#0d7a5c),#f4ca35);border:4px solid #fff;box-shadow:0 7px 20px #16365326}.profile-photo-editor>div{display:grid;gap:5px}.profile-photo-editor small{color:#687b91}.profile-photo-editor label{width:max-content;margin-top:5px}
.sesion-enfoques-preview{margin-bottom:18px;padding:14px;border:1px solid #cfe0ec;border-radius:14px;background:#f8fbfd}.sesion-enfoques-grid{display:grid;gap:9px}.sesion-enfoque-card{display:grid;grid-template-columns:minmax(140px,.7fr) minmax(120px,.55fr) minmax(220px,1.5fr);gap:10px;padding:10px 12px;border-radius:10px;background:#fff;border-left:4px solid var(--pd-accent,#087e62);box-shadow:0 3px 12px #1c41560d}.sesion-enfoque-card strong,.sesion-enfoque-card span{display:block}.sesion-enfoque-card small{display:block;color:#65778a;font-size:.7rem;text-transform:uppercase;font-weight:800;margin-bottom:3px}.sesion-enfoques-vacio{padding:15px;text-align:center;color:#6d7e91;background:#fff;border-radius:10px}
.pd-plan-pill{gap:6px}.pd-plan-pill i{font-size:.72rem}.pd-session-row.finalizada-plan .pd-session-main h3{padding-right:8px}.pd-student-results{overflow:auto;border:1px solid #d8e3ef;border-radius:16px;background:#fff}.pd-student-results table{width:100%;border-collapse:collapse;min-width:720px}.pd-student-results th,.pd-student-results td{padding:12px 14px;border-bottom:1px solid #e5edf5;text-align:center}.pd-student-results th{position:sticky;top:0;background:#f2f7fb;color:#24415f;font-size:.78rem}.pd-student-results th:first-child,.pd-student-results td:first-child{text-align:left;position:sticky;left:0;background:#fff;min-width:230px}.pd-student-results th:first-child{background:#f2f7fb;z-index:2}.pd-level{display:inline-grid;place-items:center;min-width:38px;height:30px;border-radius:999px;font-weight:900}.pd-level.AD{background:#dff5e8;color:#12663b}.pd-level.A{background:#e0efff;color:#16528d}.pd-level.B{background:#fff1c8;color:#835d00}.pd-level.C{background:#fde1e2;color:#9d2630}.pd-level.none{background:#eef2f6;color:#6f7e8f;font-size:.7rem;padding:0 9px}
#pdEditPlan{display:none!important}
@media(max-width:700px){.profile-photo-editor{align-items:flex-start}.sesion-enfoque-card{grid-template-columns:1fr}.pd-student-results th,.pd-student-results td{padding:10px}}

/* Dashboard y herramientas docentes avanzadas */
.pd-dashboard-pro{grid-template-columns:minmax(0,1.45fr) minmax(220px,.55fr);padding:34px 36px}.pd-eyebrow{display:block;margin-bottom:7px;color:#ffd75b;font-size:.68rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.pd-welcome-copy h1{font-size:2rem}.pd-welcome-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:20px}.pd-primary-action{background:#f2c94c!important;color:#17334f!important}.pd-secondary-action{background:rgba(255,255,255,.12)!important;border:1px solid rgba(255,255,255,.25)!important;color:#fff!important}.pd-dashboard-visual{position:relative;z-index:1;min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:18px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.13)}.pd-dashboard-visual>i{font-size:2.5rem;color:#ffd75b;margin-bottom:11px}.pd-dashboard-visual strong{font-size:1.02rem}.pd-dashboard-visual span{margin-top:5px;color:#dceafb;font-size:.78rem}.pd-dashboard-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:-6px 0 24px}.pd-dashboard-stats article{display:flex;align-items:center;gap:13px;padding:17px;background:#fff;border:1px solid var(--pd-line);border-radius:15px;box-shadow:0 4px 14px rgba(25,54,87,.05)}.pd-dashboard-stats article>span{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#eaf3fc;color:#1767b8}.pd-dashboard-stats strong,.pd-dashboard-stats small{display:block}.pd-dashboard-stats strong{font-size:1.25rem;color:var(--pd-text)}.pd-dashboard-stats small{color:var(--pd-muted);font-size:.72rem}
.pd-home-clean>.dash-header,.pd-home-clean>.pd-dashboard-legacy,.pd-home-clean>.pd-section-title,.pd-home-clean>#teacherAreasGrid,.pd-home-clean>.pd-help{display:none!important}.pd-dashboard-recent{margin-top:4px}.pd-dashboard-section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:12px}.pd-dashboard-section-head .pd-eyebrow{margin-bottom:3px;color:#1767b8}.pd-dashboard-section-head h2{margin:0;color:var(--pd-text);font-size:1.2rem}.pd-recent-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.pd-recent-grid>button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:112px;padding:16px;border:1px solid var(--pd-line);border-radius:14px;background:#fff;color:var(--pd-text);text-align:left;cursor:pointer;box-shadow:0 3px 12px rgba(25,54,87,.04);transition:.18s ease}.pd-recent-grid>button:hover{border-color:#a8c7e4;transform:translateY(-2px);box-shadow:0 8px 20px rgba(25,54,87,.08)}.pd-recent-grid>button span>*{display:block}.pd-recent-grid small{margin-bottom:5px;color:#1767b8;font-size:.67rem;font-weight:800;text-transform:uppercase}.pd-recent-grid strong{line-height:1.35}.pd-recent-grid em{margin-top:8px;color:var(--pd-muted);font-size:.68rem;font-style:normal}.pd-recent-grid>button>i{color:#1767b8}
.pd-session-hub{width:100%;max-width:1040px;margin:0 auto;padding:24px 32px 38px!important}.pd-hub-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:25px 27px;border-radius:18px;background:linear-gradient(125deg,#163c69,#1c69b4);color:#fff}.pd-hub-head h2{font-size:1.65rem;margin:2px 0 5px}.pd-hub-head p{color:#dbe8f6}.pd-create-session{display:flex;gap:8px;align-items:center;position:relative;z-index:1}.pd-create-session select{min-width:270px;padding:11px;border:1px solid rgba(255,255,255,.25);border-radius:10px}.pd-hub-filters{display:flex;align-items:end;gap:12px;margin:17px 0;padding:13px 15px;border:1px solid var(--pd-line);border-radius:13px;background:#fff}.pd-hub-filters label{font-size:.7rem;font-weight:800;color:#65788d;text-transform:uppercase}.pd-hub-filters select{display:block;min-width:160px;margin-top:5px;padding:8px 10px;border:1px solid var(--pd-line);border-radius:8px}.pd-hub-filters>span{margin-left:auto;color:var(--pd-muted);font-size:.8rem;font-weight:700}.pd-hub-list{display:grid;gap:10px}.pd-session-row{display:grid;grid-template-columns:78px minmax(0,1fr) auto;align-items:center;gap:15px;padding:15px 17px;border:1px solid var(--pd-line);border-radius:14px;background:#fff;box-shadow:0 3px 12px rgba(25,54,87,.04)}.pd-session-date{display:flex;flex-direction:column;align-items:center;gap:5px;padding:9px;border-radius:11px;background:#edf5fd;color:#1767b8;font-size:.72rem;font-weight:800}.pd-session-main h3{margin:4px 0 8px;color:var(--pd-text);font-size:.98rem}.pd-session-path{color:var(--pd-muted);font-size:.7rem}.pd-plan-pill{display:inline-block;padding:4px 8px;border-radius:20px;background:#eef2f6;color:#5c6f84;font-size:.67rem;font-weight:800}.pd-plan-pill.lista,.pd-plan-pill.aplicada,.pd-plan-pill.evaluada{background:#e4f5ea;color:#197043}.pd-plan-pill.borrador{background:#fff4d8;color:#856300}.pd-resource-count{margin-left:9px;color:#6f8194;font-size:.7rem}.pd-session-row-actions{display:flex;gap:7px}.pd-empty{text-align:center;padding:45px;border:1px dashed #bfd0e2;border-radius:16px;background:#fff;color:var(--pd-muted)}.pd-empty i{font-size:2.4rem;color:#93b3d2}.pd-empty h3{margin:10px 0 5px;color:var(--pd-text)}
.pd-session-hub:not(.pd-create-mode) .pd-create-session{display:none}.pd-session-hub.pd-create-mode .pd-hub-filters,.pd-session-hub.pd-create-mode .pd-hub-list{display:none}.pd-session-hub.pd-create-mode .pd-hub-head{min-height:245px;align-items:center}.pd-create-session label{color:#dceafb;font-size:.68rem;font-weight:800;text-transform:uppercase}.pd-create-session label select{display:block;margin-top:6px;text-transform:none;font-weight:600}

/* Centro de sesiones: el grado ya fue elegido antes de ingresar. */
.pd-session-hub{box-sizing:border-box}
.pd-session-hub:not(.pd-create-mode) .pd-hub-filters{display:none!important}
.pd-session-hub .pd-hub-head{position:relative;overflow:hidden;isolation:isolate;align-items:center;background:var(--pd-theme-gradient,linear-gradient(125deg,#174d79,#148467));box-shadow:0 16px 38px color-mix(in srgb,var(--pd-theme,#0f6d58) 22%,transparent)}
.pd-session-hub .pd-hub-head>*:not(.pd-hub-orbit){position:relative;z-index:3}
.pd-hub-orbit{position:absolute;inset:0;z-index:0;pointer-events:none}
.pd-hub-orbit i{position:absolute;border:1px solid rgba(255,255,255,.28);border-radius:50%;background:rgba(255,255,255,.1);box-shadow:inset 0 0 20px rgba(255,255,255,.08);animation:pdHubFloat 3.9s ease-in-out infinite}
.pd-hub-orbit i:nth-child(1){width:108px;height:108px;right:6%;top:-42px}.pd-hub-orbit i:nth-child(2){width:42px;height:42px;right:25%;bottom:14px;animation-delay:-1.8s}.pd-hub-orbit i:nth-child(3){width:18px;height:18px;left:46%;top:18px;animation-delay:-3.2s}.pd-hub-orbit i:nth-child(4){width:64px;height:64px;left:4%;bottom:-34px;animation-delay:-4.5s}
.pd-session-hub .pd-hub-head:after{content:"";position:absolute;z-index:1;inset:-80% auto -80% -28%;width:18%;transform:rotate(18deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);animation:pdHubFlash 4.1s ease-in-out infinite}
.pd-hub-main-actions{display:flex;align-items:center;gap:10px;margin-top:15px;flex-wrap:wrap}.pd-hub-count{display:inline-flex;align-items:center;gap:7px;padding:8px 12px;border:1px solid rgba(255,255,255,.28);border-radius:999px;background:rgba(255,255,255,.14);font-size:.77rem;font-weight:800;color:#fff}.pd-manual-toggle{padding:9px 15px!important;background:#fff!important;color:var(--pd-theme,#075d50)!important;box-shadow:0 8px 20px rgba(0,0,0,.14)}
.pd-manual-session-panel{margin:17px 0;padding:20px 22px;border:1px solid color-mix(in srgb,var(--pd-theme,#0b806b) 24%,#dbe5ee);border-radius:16px;background:linear-gradient(145deg,#fff,color-mix(in srgb,var(--pd-theme-soft,#e8f8f3) 40%,#fff));box-shadow:0 10px 28px rgba(25,54,87,.07)}.pd-manual-session-panel[hidden]{display:none}.pd-manual-head{display:flex;justify-content:space-between;gap:18px;margin-bottom:16px}.pd-manual-head h3{margin:3px 0 4px;color:var(--pd-text)}.pd-manual-head p{margin:0;color:var(--pd-muted);font-size:.83rem}.pd-manual-close{width:35px;height:35px;border:0;border-radius:50%;background:#edf2f6;color:#42566c;cursor:pointer}.pd-manual-session-panel form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px 16px}.pd-manual-session-panel label{font-size:.75rem;font-weight:800;color:#344c65}.pd-manual-session-panel label.span-2,.pd-manual-submit.span-2{grid-column:span 3}.pd-manual-session-panel input,.pd-manual-session-panel select{display:block;width:100%;margin-top:6px;padding:10px 12px;border:1px solid #c9d7e4;border-radius:9px;background:#fff;font:inherit}.pd-manual-file{padding:13px;border:1px dashed color-mix(in srgb,var(--pd-theme,#0b806b) 45%,#c9d7e4);border-radius:11px}.pd-manual-file small{display:block;margin-top:6px;color:var(--pd-muted)}.pd-manual-submit{display:flex;align-items:center;justify-content:space-between;gap:14px}.pd-manual-submit span{font-size:.78rem;color:var(--pd-muted)}
@keyframes pdHubFloat{0%,100%{transform:translate3d(0,0,0) scale(1);opacity:.72}50%{transform:translate3d(10px,-9px,0) scale(1.08);opacity:1}}@keyframes pdHubFlash{0%,65%{left:-28%;opacity:0}72%{opacity:1}88%,100%{left:125%;opacity:0}}
@media(prefers-reduced-motion:reduce){.pd-hub-orbit i,.pd-session-hub .pd-hub-head:after{animation:none!important}}
.pd-tool-modal{display:none;position:fixed;z-index:200000;inset:0;padding:18px;background:rgba(7,24,45,.74);backdrop-filter:blur(5px)}.pd-tool-modal.open{display:grid;place-items:center}.pd-tool-dialog{width:min(1180px,100%);height:min(780px,calc(100dvh - 36px));display:flex;flex-direction:column;overflow:hidden;border-radius:19px;background:#fff;box-shadow:0 25px 70px rgba(0,0,0,.3)}.pd-tool-dialog>header{display:flex;justify-content:space-between;padding:19px 23px;background:linear-gradient(125deg,#123d6c,#1767b8);color:#fff}.pd-tool-dialog header h2{margin:3px 0}.pd-tool-dialog header p{color:#dbe9f7}.pd-tool-dialog header>button{width:38px;height:38px;border:0;border-radius:50%;background:rgba(255,255,255,.15);color:#fff;font-size:1.5rem}.pd-html-layout{display:grid;grid-template-columns:350px 1fr;min-height:0;flex:1}.pd-html-config{padding:21px;border-right:1px solid var(--pd-line);overflow:auto}.pd-html-config label{display:block;margin-bottom:13px;color:var(--pd-text);font-size:.78rem;font-weight:750}.pd-html-config textarea,.pd-html-config select,.pd-html-save input,.pd-html-save select{width:100%;margin-top:6px;padding:10px;border:1px solid #cdd9e6;border-radius:9px;font:inherit}.pd-html-hint{display:block;margin-top:7px;padding:8px 9px;border-radius:8px;background:#edf6fc;color:#466980;font-size:.66rem;font-weight:600;line-height:1.4}.pd-html-hint i{margin-right:4px;color:#1473ad}.pd-two{display:grid;grid-template-columns:1fr 1fr;gap:9px}.pd-html-status{margin-top:13px;padding:9px 10px;border-radius:9px;background:#edf8f4;color:#26715e;font-size:.76rem;line-height:1.45}.pd-html-status:empty{display:none}.pd-html-status.has-warning{background:#fff5df;color:#865d13}.pd-html-result{display:flex;flex-direction:column;min-width:0;padding:16px;background:#f5f8fc}.pd-html-tabs{display:flex;gap:4px;margin-bottom:8px}.pd-html-tabs button{padding:8px 14px;border:0;border-radius:8px;background:transparent;color:#62778e;font-weight:750}.pd-html-tabs button.active{background:#fff;color:#1767b8;box-shadow:0 2px 8px rgba(20,55,90,.08)}#pdHtmlPreview,#pdHtmlCode{width:100%;flex:1;min-height:0;border:1px solid var(--pd-line);border-radius:11px;background:#fff}#pdHtmlCode{display:none;padding:12px;resize:none;font:12px Consolas,monospace}.pd-tool-modal.show-code #pdHtmlPreview{display:none}.pd-tool-modal.show-code #pdHtmlCode{display:block}.pd-html-save{display:grid;grid-template-columns:1fr 1.2fr auto;gap:8px;margin-top:9px}.pd-html-save input,.pd-html-save select{margin:0}.pd-ai-suggested-field{display:none!important}
.pd-html-improve{margin-top:16px;padding:14px;border:1px solid #bddccd;border-radius:12px;background:linear-gradient(145deg,#f1fbf6,#fff)}.pd-html-improve[hidden]{display:none}.pd-html-improve h3{margin:0 0 10px;color:#087557;font-size:.9rem}.pd-html-improve textarea{min-height:86px}.pd-html-improve .btn{width:100%;justify-content:center}.pd-html-improve ol{display:grid;gap:5px;margin:10px 0 0;padding-left:22px;color:#49657b;font-size:.7rem;line-height:1.35}.pd-html-improve ol:empty{display:none}.pd-html-improve li{padding:5px 7px;border-radius:7px;background:#fff}
.pd-html-tabs .pd-html-expand{margin-left:auto;display:inline-flex;align-items:center;gap:7px;border:1px solid #b8cce0;background:#fff;color:#174d87}.pd-html-tabs .pd-html-expand:hover{border-color:#1767b8;background:#edf6ff}.pd-html-page.preview-expanded .pd-html-result{position:fixed;z-index:310000;inset:12px;min-height:0;padding:14px;border:1px solid #bfd0e1;border-radius:16px;background:#f5f8fc;box-shadow:0 28px 90px rgba(4,22,42,.38)}.pd-html-page.preview-expanded #pdHtmlPreview{display:block!important}.pd-html-page.preview-expanded #pdHtmlCode{display:none!important}.pd-html-page.preview-expanded .pd-html-save{display:none}.pd-html-page.preview-expanded .pd-html-tabs{flex:none}.pd-html-page.preview-expanded .pd-html-tabs [data-html-tab]{display:none}.pd-html-page.preview-expanded .pd-html-expand{margin-left:auto;background:#174d87;color:#fff}
@media(max-width:720px){.pd-html-page.preview-expanded .pd-html-result{inset:4px;padding:8px;border-radius:10px}.pd-html-tabs .pd-html-expand{font-size:.72rem}}
.pd-html-context{display:grid;gap:10px;margin-bottom:15px;padding:14px;border:1px solid #c8d9ea;border-radius:13px;background:linear-gradient(145deg,#f4f9ff,#fff)}.pd-html-step{display:block;margin:1px 0 8px;color:#155b9f;font-size:.67rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.pd-html-context label{margin:0}.pd-html-context .btn{width:100%;justify-content:center}.pd-html-context-status{padding:8px 9px;border-radius:8px;background:#eaf2fb;color:#4b667f;font-size:.68rem;line-height:1.4}.pd-html-annex-head{display:flex;justify-content:space-between;gap:8px;margin:4px 0 7px;color:#294963;font-size:.72rem}.pd-html-annex-head small{color:#74889a}.pd-html-annex-list{display:grid;gap:6px;max-height:175px;overflow:auto}.pd-html-annex-list label{display:flex;align-items:flex-start;gap:8px;margin:0;padding:8px;border:1px solid #d9e4ee;border-radius:9px;background:#fff;cursor:pointer}.pd-html-annex-list input{flex:none;width:16px;height:16px;margin:2px 0 0;accent-color:#08775c}.pd-html-annex-list span,.pd-html-annex-list strong,.pd-html-annex-list small{display:block}.pd-html-annex-list strong{color:#29445d;font-size:.72rem}.pd-html-annex-list small{margin-top:2px;color:#7a8c9d;font-size:.64rem}.pd-html-proposal{margin:15px 0;padding:13px;border:1px solid #d7c788;border-radius:12px;background:#fffcf0}.pd-html-proposal[hidden]{display:none}.pd-html-proposal label{margin:0}.pd-html-proposal textarea{min-height:220px;font:11px/1.45 Consolas,monospace}.pd-html-proposal>small{display:block;margin-top:7px;color:#766b49;font-size:.66rem}.pd-html-generate-step{margin-top:14px}.pd-html-save{grid-template-columns:1fr auto}.pd-html-save #pdHtmlSession{display:none}
.pd-ai-suggested-review{border:1px solid #d8e4f2;border-radius:14px;background:#f7faff;overflow:hidden}.pd-ai-suggested-review summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;cursor:pointer;color:#173b69;font-weight:800}.pd-ai-suggested-review summary small{color:#687b91;font-weight:500}.pd-ai-suggested-review[open] summary{border-bottom:1px solid #d8e4f2;background:#eef5ff}.pd-ai-suggested-review>.sesion-grid{padding:14px}
@media(max-width:1000px){.pd-dashboard-stats{grid-template-columns:1fr 1fr}.pd-recent-grid{grid-template-columns:1fr 1fr}.pd-session-row{grid-template-columns:68px 1fr}.pd-session-row-actions{grid-column:2}.pd-create-session{align-items:stretch;flex-direction:column}.pd-html-layout{grid-template-columns:310px 1fr}}
@media(max-width:720px){.pd-dashboard-pro{grid-template-columns:1fr;padding:25px}.pd-dashboard-visual{display:none}.pd-dashboard-stats{grid-template-columns:1fr 1fr}.pd-recent-grid{grid-template-columns:1fr}.pd-hub-head{align-items:stretch;flex-direction:column}.pd-create-session select{min-width:0;width:100%}.pd-session-hub{padding:18px 14px 30px!important}.pd-session-row{grid-template-columns:1fr}.pd-session-date{align-items:center;flex-direction:row;justify-content:flex-start}.pd-session-row-actions{grid-column:1;flex-wrap:wrap}.pd-manual-session-panel form{grid-template-columns:1fr}.pd-manual-session-panel label.span-2,.pd-manual-submit.span-2{grid-column:1}.pd-manual-submit{align-items:stretch;flex-direction:column}.pd-html-layout{grid-template-columns:1fr;overflow:auto}.pd-html-config{border-right:0;border-bottom:1px solid var(--pd-line)}.pd-html-result{min-height:520px}.pd-html-save{grid-template-columns:1fr}.pd-tool-modal{padding:6px}.pd-tool-dialog{height:calc(100dvh - 12px);border-radius:13px}}

/* Personalización integral del espacio docente */
body.teacher-workspace .pd-welcome,
body.teacher-workspace .pd-hub-head,
body.teacher-workspace #modalSesionAprendizaje .sesion-wizard-head,
body.teacher-workspace .pd-tool-dialog>header{background:var(--pd-surface-gradient)}
body.teacher-workspace .pd-eyebrow,
body.teacher-workspace .pd-breadcrumbs button,
body.teacher-workspace .pd-dashboard-section-head h2,
body.teacher-workspace .pd-recent-grid button small,
body.teacher-workspace .pd-recent-grid button>i,
body.teacher-workspace .pd-session-path{color:var(--pd-accent)}
body.teacher-workspace .pd-dashboard-stats article>span,
body.teacher-workspace .pd-session-date,
body.teacher-workspace .pd-theme-heading>span{background:var(--pd-accent-soft);color:var(--pd-accent)}
body.teacher-workspace .btn-primario:not(.btn-rojo),
body.teacher-workspace .pd-add-resource,
body.teacher-workspace .pd-session-row-actions .btn-primario,
body.teacher-workspace #modalSesionAprendizaje .sesion-wizard-foot .btn-primario{background:var(--pd-accent)!important;border-color:var(--pd-accent)!important;color:#fff!important}
body.teacher-workspace .btn-outline:not(.btn-rojo){border-color:color-mix(in srgb,var(--pd-accent) 42%,#fff);color:var(--pd-accent-strong)}
body.teacher-workspace .pd-nav button.active{color:var(--pd-accent-strong)}
body.teacher-workspace .pd-nav button.active i{color:var(--pd-accent)}
body.teacher-workspace .pd-grade-switch{background:linear-gradient(115deg,#fff,var(--pd-accent-soft),#fff);color:var(--pd-accent-strong);border-color:rgba(255,255,255,.4)}
body.teacher-workspace .pd-grade-switch-icon{background:var(--pd-accent-strong)}
body.teacher-workspace .pd-dashboard-pro{grid-template-columns:minmax(0,1fr) 174px;padding:19px 25px;margin:0 0 14px;border-radius:17px}
body.teacher-workspace .pd-welcome-copy h1{font-size:1.62rem;line-height:1.12;margin-bottom:5px}
body.teacher-workspace .pd-welcome-copy p{font-size:.86rem;line-height:1.38}
body.teacher-workspace .pd-dashboard-visual{min-height:92px;border-radius:14px}
body.teacher-workspace .pd-dashboard-visual>i{margin-bottom:6px;font-size:1.8rem}
body.teacher-workspace .pd-dashboard-visual strong{font-size:.9rem}
body.teacher-workspace .pd-dashboard-visual span{margin-top:2px}
body.teacher-workspace .pd-dashboard-stats{gap:10px;margin:0 0 18px}
body.teacher-workspace .pd-dashboard-stats article{padding:13px 15px}
body.teacher-workspace .pd-dashboard-stats article>span{width:38px;height:38px}
body.teacher-workspace .pd-dashboard-section-head{margin-bottom:10px}
body.teacher-workspace .pd-create-session{display:grid;grid-template-columns:minmax(250px,1fr) minmax(155px,.48fr) auto;gap:10px;align-items:end;min-width:min(690px,62vw)}
body.teacher-workspace .pd-create-session label select{width:100%;min-width:0}
body.teacher-workspace .pd-create-session .btn{min-height:43px;white-space:nowrap}
body.teacher-workspace .pd-session-hub.pd-create-mode .pd-hub-head{min-height:205px;align-items:center}
body.teacher-workspace .pd-session-hub.pd-create-mode .pd-hub-copy{max-width:390px}

/* El planificador ocupa toda el área de trabajo, conservando la navegación lateral. */
body.teacher-workspace #modalSesionAprendizaje.sesion-modal{inset:0 0 0 var(--pd-sidebar);width:auto!important;padding:0;align-items:stretch;justify-content:stretch;background:#fff;backdrop-filter:none}
body.teacher-workspace #modalSesionAprendizaje .sesion-wizard{width:100%;max-width:none;height:100dvh;max-height:none;border-radius:0;box-shadow:none}
body.teacher-workspace #modalSesionAprendizaje .sesion-wizard-head{padding:18px 30px 14px}
body.teacher-workspace #modalSesionAprendizaje .sesion-wizard-body{padding:24px 32px}
body.teacher-workspace #modalSesionAprendizaje .sesion-grid{max-width:1080px;margin:0 auto}
body.teacher-workspace #modalSesionAprendizaje input[readonly]{background:var(--pd-accent-soft);border-color:color-mix(in srgb,var(--pd-accent) 24%,#dce5ef);color:var(--pd-accent-strong);font-weight:750}
body.teacher-workspace #modalSesionAprendizaje input:focus,
body.teacher-workspace #modalSesionAprendizaje select:focus,
body.teacher-workspace #modalSesionAprendizaje textarea:focus{border-color:var(--pd-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--pd-accent) 14%,transparent)}
body.teacher-workspace #modalSesionAprendizaje .sesion-progress button.active b,
body.teacher-workspace #modalSesionAprendizaje .sesion-criterio-num{background:var(--pd-accent)}

@media(max-width:1000px){body.teacher-workspace .pd-create-session{min-width:0;width:100%;grid-template-columns:1fr 1fr}body.teacher-workspace .pd-create-session .btn{grid-column:1/-1;justify-content:center}}
@media(max-width:820px){body.teacher-workspace #modalSesionAprendizaje.sesion-modal{left:0}body.teacher-workspace .pd-dashboard-pro{grid-template-columns:1fr;padding:18px 20px}body.teacher-workspace .pd-dashboard-visual{display:none}}
@media(max-width:620px){body.teacher-workspace .pd-create-session{grid-template-columns:1fr}body.teacher-workspace .pd-create-session .btn{grid-column:auto}body.teacher-workspace #modalSesionAprendizaje .sesion-wizard-body{padding:16px}}

/* Coherencia del tema y controles pedagógicos */
body:not(.teacher-workspace) .pd-sidebar,
body:not(.teacher-workspace) .pd-menu-toggle,
body:not(.teacher-workspace) .pd-sidebar-overlay{display:none!important}
body:has(#view-director-dashboard.visible) .pd-sidebar,
body:has(#view-admin-dashboard.visible) .pd-sidebar,
body:has(#view-landing.visible) .pd-sidebar,
body:has(#view-director-login.visible) .pd-sidebar,
body:has(#view-teacher-login.visible) .pd-sidebar,
body:has(#view-student-login.visible) .pd-sidebar{display:none!important}

/* Barra docente: navegación y cierre siempre separados, incluso en pantallas bajas. */
.pd-sidebar{height:100dvh;box-sizing:border-box;overflow:hidden}
.pd-sidebar>.pd-nav{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;padding:1px 2px 12px;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.28) transparent}
.pd-sidebar>.pd-nav::-webkit-scrollbar{width:5px}.pd-sidebar>.pd-nav::-webkit-scrollbar-thumb{background:rgba(255,255,255,.28);border-radius:10px}
.pd-sidebar-foot{position:relative;z-index:3;flex:0 0 43px;min-height:43px;margin-top:7px;padding:7px 2px 0;border-top:1px solid rgba(255,255,255,.18);background:rgba(0,0,0,.10)}
.pd-sidebar-foot>.pd-nav{display:block;min-height:0;padding:0;overflow:visible}.pd-sidebar-foot .pd-nav button{min-height:34px;margin:0;line-height:1.15}

/* Contraste estable para cualquier color o degradado elegido por el docente. */
body.teacher-workspace .pd-youtube-head .pd-eyebrow{display:inline-flex;width:max-content;padding:5px 9px;border:1px solid rgba(255,255,255,.24);border-radius:999px;background:rgba(7,25,50,.28);color:#fff3a6!important;text-shadow:0 1px 2px rgba(0,0,0,.45)}
body.teacher-workspace .pd-youtube-search label{color:#fff!important;text-shadow:0 1px 2px rgba(0,0,0,.42)}
.pd-youtube-context{display:flex;align-items:center;gap:7px;margin-top:12px;color:#eef8ff;font-size:.75rem;font-weight:700}.pd-youtube-context i{color:#fff3a6}
.pd-youtube-filters{display:grid!important;grid-template-columns:1fr 1fr;gap:8px!important;margin-top:9px}.pd-youtube-filters select{min-width:0;height:39px;padding:0 9px;border:1px solid rgba(255,255,255,.5);border-radius:9px;background:rgba(255,255,255,.96);color:#17324f;font:600 .75rem Inter,sans-serif}
.pd-youtube-suggestions{display:flex;flex-wrap:wrap;gap:7px;margin-top:9px}.pd-youtube-suggestions button{padding:6px 9px;border:1px solid rgba(255,255,255,.35);border-radius:999px;background:rgba(255,255,255,.12);color:#fff;font:700 .68rem Inter,sans-serif;cursor:pointer}.pd-youtube-suggestions button:hover{background:#fff;color:#17324f}
@media(max-width:560px){.pd-youtube-filters{grid-template-columns:1fr}}

.pd-rubrics-hero{position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:25px 28px;border-radius:20px;background:var(--pd-surface-gradient);color:#fff;overflow:hidden}.pd-rubrics-hero:after{content:'';position:absolute;width:190px;height:190px;border-radius:50%;right:-55px;top:-105px;background:rgba(255,255,255,.12)}.pd-rubrics-hero>div,.pd-rubrics-hero>button{position:relative;z-index:1}.pd-rubrics-hero span{font-size:.7rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:#ffdf68}.pd-rubrics-hero h2{margin:5px 0 4px;color:#fff}.pd-rubrics-hero p{margin:0;opacity:.88}.pd-rubrics-list{display:grid;gap:12px;margin-top:18px}.pd-rubric-card{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:15px;padding:16px 18px;border:1px solid #d8e4ef;border-radius:15px;background:#fff;box-shadow:0 5px 16px rgba(18,56,95,.06)}.pd-rubric-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:13px;background:var(--pd-accent-soft);color:var(--pd-accent);font-size:1.25rem}.pd-rubric-card small{color:var(--pd-accent);font-weight:800}.pd-rubric-card h3{margin:3px 0;color:#1f344d;font-size:1rem}.pd-rubric-card p{margin:0;color:#6e7f93;font-size:.78rem}@media(max-width:700px){.pd-rubrics-hero{align-items:flex-start;flex-direction:column}.pd-rubric-card{grid-template-columns:46px 1fr}.pd-rubric-card>button{grid-column:1/-1;width:100%}}
.pd-student-report-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 12px}.pd-student-report-actions #pdStudentAttentionButton{border-color:color-mix(in srgb,var(--pd-accent) 42%,#fff);background:var(--pd-accent-soft);color:var(--pd-accent-strong)}.pd-student-report-actions #pdStudentAttentionButton:hover{background:var(--pd-accent);border-color:var(--pd-accent);color:#fff}
body:has(#view-director-dashboard.visible) #app,
body:has(#view-admin-dashboard.visible) #app,
body:has(#view-landing.visible) #app,
body:has(#view-director-login.visible) #app,
body:has(#view-teacher-login.visible) #app,
body:has(#view-student-login.visible) #app{padding-left:0!important}
body.teacher-workspace .unidad-docente-card .unidad-icono-profesional{background:var(--pd-surface-gradient)!important;color:#fff!important;box-shadow:0 10px 22px color-mix(in srgb,var(--pd-accent) 24%,transparent)}
body.teacher-workspace .unidad-card-acciones button{color:var(--pd-accent);border-color:color-mix(in srgb,var(--pd-accent) 20%,#fff)}
body.teacher-workspace .unidad-card-acciones button:hover{background:var(--pd-accent);border-color:var(--pd-accent);color:#fff}
body.teacher-workspace .count-badge{color:var(--pd-accent-strong);border-color:color-mix(in srgb,var(--pd-accent) 28%,#dce5ef)}
.sesion-competencias-field{position:relative;min-width:0}.sesion-multiselect-toggle{width:100%;min-height:44px;margin-top:6px;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px;border:1.5px solid #cbd7e6;border-radius:9px;background:#fff;color:#50657d;text-align:left;cursor:pointer}.sesion-multiselect-toggle span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sesion-multiselect-toggle.has-selection{border-color:var(--pd-accent);color:var(--pd-accent-strong);font-weight:700}.sesion-multiselect-menu{position:absolute;z-index:40;left:0;right:0;top:72px;max-height:245px;padding:7px;overflow:auto;border:1px solid #cbd7e6;border-radius:11px;background:#fff;box-shadow:0 16px 36px rgba(28,51,78,.18)}.sesion-multiselect-menu label{display:flex!important;align-items:flex-start;gap:9px;padding:9px 10px;border-radius:8px;color:#30465f!important;font-size:.82rem!important;cursor:pointer}.sesion-multiselect-menu label:hover{background:var(--pd-accent-soft)}.sesion-multiselect-menu input{width:17px!important;height:17px;margin:1px 0 0!important;accent-color:var(--pd-accent);flex:none}
.pd-custom-theme{display:grid;grid-template-columns:minmax(0,1fr) 58px auto;align-items:center;gap:12px;margin-top:13px;padding:13px 14px;border:1px dashed color-mix(in srgb,var(--pd-accent) 34%,#dce5ef);border-radius:13px;background:var(--pd-accent-soft)}.pd-custom-theme label{display:flex;align-items:center;gap:11px;color:var(--pd-accent-strong)}.pd-custom-theme label>i{font-size:1.2rem}.pd-custom-theme strong,.pd-custom-theme small{display:block}.pd-custom-theme small{margin-top:3px;color:var(--pd-muted);font-size:.72rem}.pd-custom-theme input[type=color]{width:58px;height:42px;padding:3px;border:1px solid #cbd7e6;border-radius:10px;background:#fff;cursor:pointer}.pd-custom-theme .btn{white-space:nowrap}
@media(max-width:620px){.pd-custom-theme{grid-template-columns:1fr 58px}.pd-custom-theme .btn{grid-column:1/-1;justify-content:center}}
.pd-ai-status.error{color:#b42318!important;background:#fff1f0;border:1px solid #f3b7b2;border-radius:9px;padding:8px 10px}

/* Inicio dinámico y herramientas a pantalla completa */
body.teacher-workspace #view-teacher-dashboard{padding-top:16px}
body.teacher-workspace .pd-dashboard-pro{isolation:isolate;background:var(--pd-surface-gradient);background-size:180% 180%;animation:pdWelcomeGradient 4.2s ease-in-out infinite;box-shadow:0 14px 34px color-mix(in srgb,var(--pd-accent) 24%,transparent)}
body.teacher-workspace .pd-dashboard-pro:before{content:"";position:absolute;z-index:0;inset:-80% auto -80% -35%;width:22%;transform:rotate(18deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.3),transparent);filter:blur(5px);animation:pdWelcomeFlash 3.1s ease-in-out infinite}
body.teacher-workspace .pd-dashboard-pro:after{animation:pdWelcomeOrb 3.8s ease-in-out infinite}
body.teacher-workspace .pd-dashboard-pro>*{position:relative;z-index:1}
@keyframes pdWelcomeGradient{0%,100%{background-position:0 50%}50%{background-position:100% 50%}}
@keyframes pdWelcomeFlash{0%,42%{left:-35%;opacity:0}50%{opacity:.9}68%,100%{left:120%;opacity:0}}
@keyframes pdWelcomeOrb{0%,100%{transform:translate3d(0,0,0) scale(1)}50%{transform:translate3d(-24px,28px,0) scale(1.12)}}
@media(prefers-reduced-motion:reduce){body.teacher-workspace .pd-dashboard-pro,body.teacher-workspace .pd-dashboard-pro:before,body.teacher-workspace .pd-dashboard-pro:after{animation:none!important}}

body.teacher-workspace .pd-html-page{padding:18px 26px 28px!important;background:#fff}
body.teacher-workspace .pd-html-page .pd-tool-dialog{width:100%;height:calc(100vh - 46px);border:1px solid var(--pd-line);border-radius:18px;box-shadow:0 10px 30px rgba(25,54,87,.08)}
body.teacher-workspace .pd-html-page.show-code #pdHtmlPreview{display:none}
body.teacher-workspace .pd-html-page.show-code #pdHtmlCode{display:block}
body.teacher-workspace .pd-html-page .pd-html-result{min-height:0}
.pd-html-head-actions{display:flex;align-items:center;gap:9px}.pd-html-head-actions>button{min-height:38px;border:1px solid rgba(255,255,255,.28);border-radius:10px;color:#fff;cursor:pointer}.pd-html-head-actions>[data-close]{width:38px;padding:0;background:rgba(255,255,255,.15);font-size:1.35rem}.pd-html-delete-draft{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 12px;background:rgba(87,12,19,.28);font-size:.72rem;font-weight:850}.pd-html-delete-draft:hover{background:#a91f2b;border-color:#d85c66}.pd-html-delete-draft:focus-visible,.pd-html-head-actions>[data-close]:focus-visible{outline:3px solid rgba(255,255,255,.45);outline-offset:2px}

body.teacher-workspace .pd-resources-hub{padding:20px 30px 34px!important;background:#fff}
.pd-resources-head{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 25px;border-radius:18px;background:var(--pd-surface-gradient);color:#fff;overflow:hidden;position:relative}.pd-resources-head h2{margin:3px 0 5px;font-size:1.55rem}.pd-resources-head p{margin:0;color:rgba(255,255,255,.83)}.pd-resources-head label{min-width:min(420px,44vw);color:rgba(255,255,255,.85);font-size:.7rem;font-weight:800;text-transform:uppercase}.pd-resources-head select{display:block;width:100%;margin-top:6px;padding:11px 12px;border:1px solid rgba(255,255,255,.4);border-radius:10px;background:#fff;color:var(--pd-text);font:inherit;text-transform:none}.pd-resources-content{padding-top:17px}.pd-resource-session-summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;border:1px solid var(--pd-line);border-radius:14px;background:#fff;box-shadow:0 5px 16px rgba(25,54,87,.05)}.pd-resource-session-summary small{color:var(--pd-accent);font-weight:800}.pd-resource-session-summary h3{margin:4px 0;color:var(--pd-text)}.pd-resource-session-summary p{margin:0;color:var(--pd-muted);font-size:.78rem}.pd-resource-section-title{margin:20px 0 11px}.pd-resource-section-title h3{margin:2px 0 3px;color:var(--pd-text)}.pd-resource-section-title p{margin:0;color:var(--pd-muted);font-size:.76rem}.pd-suggested-resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.pd-suggested-resource-grid article{display:flex;flex-direction:column;min-height:210px;padding:16px;border:1px solid var(--pd-line);border-top:4px solid var(--pd-accent);border-radius:14px;background:#fff;box-shadow:0 4px 14px rgba(25,54,87,.05)}.pd-resource-type{align-self:flex-start;padding:5px 8px;border-radius:20px;background:var(--pd-accent-soft);color:var(--pd-accent-strong);font-size:.68rem;font-weight:800}.pd-suggested-resource-grid h4{margin:12px 0 7px;color:var(--pd-text);font-size:.95rem}.pd-suggested-resource-grid p{margin:0 0 8px;color:#536a82;font-size:.78rem;line-height:1.45}.pd-suggested-resource-grid small{color:var(--pd-muted);line-height:1.4}.pd-suggested-resource-grid a,.pd-resource-unavailable{margin-top:auto;padding-top:13px;color:var(--pd-accent);font-size:.76rem;font-weight:800;text-decoration:none}.pd-resource-unavailable{color:#8595a6}
@media(max-width:900px){.pd-resources-head{align-items:stretch;flex-direction:column}.pd-resources-head label{min-width:0}.pd-suggested-resource-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){body.teacher-workspace .pd-html-page,body.teacher-workspace .pd-resources-hub{padding:68px 12px 20px!important}.pd-html-layout{grid-template-columns:1fr}.pd-html-delete-draft{width:38px;padding:0;font-size:0}.pd-html-delete-draft i{font-size:.9rem}.pd-resources-head{padding:18px}.pd-resource-session-summary{align-items:stretch;flex-direction:column}.pd-suggested-resource-grid{grid-template-columns:1fr}}
#pdManualSessionToggle[hidden],.pd-hub-main-actions[hidden]{display:none!important}

/* Cabeceras vivas y legibles para las herramientas docentes. */
body.teacher-workspace .pd-youtube-head,
body.teacher-workspace #view-teacher-worksheets-hub .pd-resources-head{isolation:isolate;background:var(--pd-sidebar-background)!important}
body.teacher-workspace .pd-youtube-head>*,body.teacher-workspace #view-teacher-worksheets-hub .pd-resources-head>*{position:relative;z-index:2}
body.teacher-workspace .pd-youtube-head:before,
body.teacher-workspace #view-teacher-worksheets-hub .pd-resources-head:before{content:"";position:absolute;z-index:1;inset:-70% auto -70% -24%;width:16%;transform:rotate(18deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.24),transparent);filter:blur(1px);animation:pdToolFlash 4.2s ease-in-out infinite;pointer-events:none}
body.teacher-workspace .pd-youtube-head:after{width:118px;height:118px;right:7%;top:-58px;border:17px solid rgba(255,255,255,.10);box-shadow:-152px 96px 0 -38px rgba(255,255,255,.13),70px 118px 0 -32px rgba(255,255,255,.10);animation:pdToolFloat 5s ease-in-out infinite}
body.teacher-workspace #view-teacher-worksheets-hub .pd-resources-head:after{content:"";position:absolute;z-index:1;width:105px;height:105px;right:6%;top:-47px;border:15px solid rgba(255,255,255,.10);border-radius:50%;box-shadow:-125px 85px 0 -34px rgba(255,255,255,.12),58px 105px 0 -28px rgba(255,255,255,.09);animation:pdToolFloat 5s ease-in-out infinite;pointer-events:none}
body.teacher-workspace .pd-youtube-head .pd-eyebrow,
body.teacher-workspace #view-teacher-worksheets-hub .pd-resources-head .pd-eyebrow,
body.teacher-workspace .pd-session-hub .pd-hub-head .pd-eyebrow{display:inline-flex;width:max-content;padding:5px 9px;border:1px solid rgba(255,255,255,.25);border-radius:999px;background:rgba(5,25,45,.28);color:#fff3a6!important;text-shadow:0 1px 2px rgba(0,0,0,.46)}
@keyframes pdToolFlash{0%,58%{left:-24%;opacity:0}66%{opacity:1}83%,100%{left:118%;opacity:0}}
@keyframes pdToolFloat{0%,100%{transform:translate3d(0,0,0) rotate(0);opacity:.72}50%{transform:translate3d(-10px,9px,0) rotate(9deg);opacity:1}}

/* Selección de YouTube compacta, con título verificable. */
.pd-youtube-layout{grid-template-columns:minmax(0,1.28fr) minmax(340px,.72fr)}
.pd-youtube-preview{padding:14px}
.pd-youtube-empty{position:relative;overflow:hidden;min-height:280px;padding:34px 24px;border:1px solid #dce9f5;border-radius:14px;background:linear-gradient(145deg,#f4f9ff,#eef8f5);color:#526b82}
.pd-youtube-empty[hidden]{display:none!important}
.pd-youtube-empty:after{content:"";position:absolute;width:150px;height:150px;right:-70px;bottom:-85px;border:24px solid color-mix(in srgb,var(--pd-accent) 10%,transparent);border-radius:50%}
.pd-youtube-empty-mark{position:relative;z-index:1;width:66px;height:66px;display:grid;place-items:center;border-radius:20px;background:linear-gradient(145deg,#ff4152,#d91831);color:#fff;box-shadow:0 13px 28px rgba(217,24,49,.23);animation:pdYoutubeMark 2.8s ease-in-out infinite}
.pd-youtube-empty .pd-youtube-empty-mark i{font-size:1.7rem;color:#fff}.pd-youtube-empty h3,.pd-youtube-empty p,.pd-youtube-empty small{position:relative;z-index:1}.pd-youtube-empty h3{margin:15px 0 5px}.pd-youtube-empty p{max-width:310px;margin:0 auto;line-height:1.45}.pd-youtube-empty small{display:inline-flex;align-items:center;gap:6px;margin-top:17px;padding:7px 10px;border-radius:20px;background:#fff;color:#527089;font-size:.7rem;box-shadow:0 5px 14px rgba(32,72,108,.08)}
@keyframes pdYoutubeMark{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-5px) scale(1.03)}}
.pd-youtube-preview [id="pdYoutubeSelection"]{gap:7px;margin-top:10px}.pd-youtube-selected-head{padding:1px 1px 3px}.pd-youtube-selected-head .pd-eyebrow{margin-bottom:4px}.pd-youtube-selected-head h3{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:1rem;line-height:1.25}.pd-youtube-selected-head p{margin-top:3px;font-size:.75rem}
.pd-youtube-preview label{gap:4px;font-size:.7rem}.pd-youtube-preview input,.pd-youtube-preview select{width:100%;min-height:38px;border:1px solid #c6d5e5;border-radius:9px;padding:0 9px;background:#fff;color:#17324f;font:inherit;box-sizing:border-box}.pd-youtube-title-field>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px}.pd-youtube-title-field button{display:inline-flex;align-items:center;gap:6px;padding:0 10px;border:1px solid color-mix(in srgb,var(--pd-accent) 42%,#fff);border-radius:9px;background:var(--pd-accent-soft);color:var(--pd-accent-strong);font-size:.68rem;font-weight:800;cursor:pointer}.pd-youtube-destination-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(125px,.65fr);gap:7px}.pd-youtube-preview #pdYoutubeAdd{width:100%;min-height:40px}.pd-youtube-help{display:flex;align-items:flex-start;gap:6px;padding:7px 9px;border-radius:9px;background:#f2f6fa;color:#607489!important;font-size:.68rem!important;line-height:1.32!important}
@media(max-width:980px){.pd-youtube-layout{grid-template-columns:1fr}.pd-youtube-destination-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.pd-youtube-title-field>div,.pd-youtube-destination-grid{grid-template-columns:1fr}.pd-youtube-title-field button{min-height:36px;justify-content:center}}
@media(prefers-reduced-motion:reduce){.pd-youtube-empty-mark{animation:none!important}body.teacher-workspace .pd-youtube-head:before,body.teacher-workspace .pd-youtube-head:after,body.teacher-workspace #view-teacher-worksheets-hub .pd-resources-head:before,body.teacher-workspace #view-teacher-worksheets-hub .pd-resources-head:after{animation:none!important}}

/* YouTube · enlace directo sin controles de transcripción */
.pd-youtube-link-field>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px}.pd-youtube-link-field input{font-size:.68rem!important;color:#45617d!important;background:#f7fafc!important}.pd-youtube-link-field button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:0 11px;border:1px solid #9dbbd6;border-radius:9px;background:#edf5fb;color:#164f83;font-size:.68rem;font-weight:850;cursor:pointer}.pd-youtube-link-field button:hover{background:#dcecf8}
@media(max-width:560px){.pd-youtube-link-field>div{grid-template-columns:1fr}}

/* Partículas pequeñas y destello perceptible a velocidad media. */
body.teacher-workspace .pd-welcome:after{width:76px;height:76px;right:22px;top:-28px;box-shadow:-108px 94px 0 -24px rgba(255,255,255,.10),46px 112px 0 -22px rgba(255,255,255,.08)}
body.teacher-workspace .pd-rubrics-hero:after{width:72px;height:72px;right:24px;top:-25px;box-shadow:-96px 78px 0 -23px rgba(255,255,255,.10),35px 91px 0 -21px rgba(255,255,255,.08)}
.pd-hub-orbit i:nth-child(1){width:52px;height:52px;right:7%;top:-18px}.pd-hub-orbit i:nth-child(2){width:24px;height:24px;right:25%;bottom:17px}.pd-hub-orbit i:nth-child(3){width:10px;height:10px;left:46%;top:20px}.pd-hub-orbit i:nth-child(4){width:31px;height:31px;left:5%;bottom:-14px}
body.teacher-workspace .pd-youtube-head:after{width:56px;height:56px;right:8%;top:-22px;border-width:8px;box-shadow:-94px 72px 0 -20px rgba(255,255,255,.13),42px 84px 0 -19px rgba(255,255,255,.10)}
body.teacher-workspace #view-teacher-worksheets-hub .pd-resources-head:after{width:52px;height:52px;right:7%;top:-19px;border-width:8px;box-shadow:-88px 67px 0 -19px rgba(255,255,255,.12),39px 78px 0 -18px rgba(255,255,255,.09)}
.pd-youtube-empty:after{width:76px;height:76px;right:-30px;bottom:-38px;border-width:12px}
.pd-grade-switch{animation:pdGradePulse 3s ease-in-out infinite!important}
.pd-grade-switch:after{inset:-65% auto -65% -42%;width:38%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.9),transparent);filter:blur(2px);animation:pdGradeShineVisible 3s ease-in-out infinite!important}
@keyframes pdGradePulse{0%,100%{transform:translateY(0);box-shadow:0 7px 18px rgba(4,22,42,.18)}50%{transform:translateY(-1px);box-shadow:0 9px 24px color-mix(in srgb,var(--pd-accent) 35%,transparent)}}
@keyframes pdGradeShineVisible{0%,43%{left:-42%;opacity:0}52%{opacity:1}74%{left:118%;opacity:.75}80%,100%{left:118%;opacity:0}}
@media(prefers-reduced-motion:reduce){.pd-grade-switch,.pd-grade-switch:after{animation:none!important}}

/* Campo de burbujas pequeñas distribuido en todas las cabeceras. */
body.teacher-workspace .pd-dashboard-pro,
body.teacher-workspace .pd-session-hub .pd-hub-head,
body.teacher-workspace .pd-rubrics-hero,
body.teacher-workspace .pd-youtube-head,
body.teacher-workspace .pd-resources-head,
body.teacher-workspace .pd-tool-dialog>header,
body.teacher-workspace #modalSesionAprendizaje .sesion-wizard-head{position:relative;overflow:hidden;isolation:isolate}
body.teacher-workspace .pd-dashboard-pro:after,
body.teacher-workspace .pd-session-hub .pd-hub-head:after,
body.teacher-workspace .pd-rubrics-hero:after,
body.teacher-workspace .pd-youtube-head:after,
body.teacher-workspace .pd-resources-head:after,
body.teacher-workspace .pd-tool-dialog>header:after,
body.teacher-workspace #modalSesionAprendizaje .sesion-wizard-head:after{content:""!important;position:absolute!important;z-index:0!important;inset:-12px!important;width:auto!important;height:auto!important;border:0!important;border-radius:inherit!important;background-color:transparent!important;background-image:radial-gradient(circle at 5% 24%,rgba(255,255,255,.18) 0 3px,transparent 4px),radial-gradient(circle at 14% 72%,rgba(255,255,255,.12) 0 5px,transparent 6px),radial-gradient(circle at 25% 38%,rgba(255,255,255,.15) 0 2px,transparent 3px),radial-gradient(circle at 35% 82%,rgba(255,255,255,.11) 0 4px,transparent 5px),radial-gradient(circle at 45% 17%,rgba(255,255,255,.16) 0 5px,transparent 6px),radial-gradient(circle at 56% 59%,rgba(255,255,255,.12) 0 3px,transparent 4px),radial-gradient(circle at 66% 29%,rgba(255,255,255,.14) 0 4px,transparent 5px),radial-gradient(circle at 74% 80%,rgba(255,255,255,.13) 0 5px,transparent 6px),radial-gradient(circle at 84% 45%,rgba(255,255,255,.17) 0 3px,transparent 4px),radial-gradient(circle at 93% 18%,rgba(255,255,255,.12) 0 5px,transparent 6px),radial-gradient(circle at 97% 75%,rgba(255,255,255,.15) 0 2px,transparent 3px),radial-gradient(circle at 61% 91%,rgba(255,255,255,.10) 0 3px,transparent 4px)!important;box-shadow:none!important;opacity:1!important;pointer-events:none!important;animation:pdBubbleField 4.6s ease-in-out infinite!important}
body.teacher-workspace .pd-dashboard-pro>*,
body.teacher-workspace .pd-rubrics-hero>*,
body.teacher-workspace .pd-youtube-head>*,
body.teacher-workspace .pd-resources-head>*,
body.teacher-workspace .pd-tool-dialog>header>*,
body.teacher-workspace #modalSesionAprendizaje .sesion-wizard-head>*{position:relative;z-index:2}
body.teacher-workspace .pd-dashboard-pro:before,
body.teacher-workspace .pd-session-hub .pd-hub-head:before,
body.teacher-workspace .pd-rubrics-hero:before,
body.teacher-workspace .pd-youtube-head:before,
body.teacher-workspace .pd-resources-head:before,
body.teacher-workspace .pd-tool-dialog>header:before,
body.teacher-workspace #modalSesionAprendizaje .sesion-wizard-head:before{content:"";position:absolute;z-index:1;inset:-75% auto -75% -24%;width:15%;transform:rotate(18deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.25),transparent);filter:blur(2px);pointer-events:none;animation:pdHeaderFlashUnified 3.9s ease-in-out infinite}
@keyframes pdBubbleField{0%,100%{transform:translate3d(0,0,0);filter:brightness(1)}35%{transform:translate3d(8px,-6px,0);filter:brightness(1.12)}68%{transform:translate3d(-5px,7px,0);filter:brightness(.96)}}
@keyframes pdHeaderFlashUnified{0%,57%{left:-24%;opacity:0}65%{opacity:1}82%,100%{left:118%;opacity:0}}
@media(prefers-reduced-motion:reduce){body.teacher-workspace .pd-dashboard-pro:before,body.teacher-workspace .pd-session-hub .pd-hub-head:before,body.teacher-workspace .pd-rubrics-hero:before,body.teacher-workspace .pd-youtube-head:before,body.teacher-workspace .pd-resources-head:before,body.teacher-workspace .pd-tool-dialog>header:before,body.teacher-workspace #modalSesionAprendizaje .sesion-wizard-head:before,body.teacher-workspace .pd-dashboard-pro:after,body.teacher-workspace .pd-session-hub .pd-hub-head:after,body.teacher-workspace .pd-rubrics-hero:after,body.teacher-workspace .pd-youtube-head:after,body.teacher-workspace .pd-resources-head:after,body.teacher-workspace .pd-tool-dialog>header:after,body.teacher-workspace #modalSesionAprendizaje .sesion-wizard-head:after{animation:none!important}}
body.teacher-workspace .pd-dashboard-pro:after,
body.teacher-workspace .pd-session-hub .pd-hub-head:after,
body.teacher-workspace .pd-rubrics-hero:after,
body.teacher-workspace .pd-youtube-head:after,
body.teacher-workspace .pd-resources-head:after,
body.teacher-workspace .pd-tool-dialog>header:after,
body.teacher-workspace #modalSesionAprendizaje .sesion-wizard-head:after{background-image:radial-gradient(circle at 4% 22%,rgba(255,255,255,.28) 0 3px,transparent 4px),radial-gradient(circle at 10% 68%,rgba(255,255,255,.20) 0 5px,transparent 6px),radial-gradient(circle at 18% 38%,rgba(255,255,255,.25) 0 2px,transparent 3px),radial-gradient(circle at 25% 82%,rgba(255,255,255,.19) 0 4px,transparent 5px),radial-gradient(circle at 32% 16%,rgba(255,255,255,.27) 0 5px,transparent 6px),radial-gradient(circle at 39% 56%,rgba(255,255,255,.20) 0 3px,transparent 4px),radial-gradient(circle at 46% 30%,rgba(255,255,255,.24) 0 4px,transparent 5px),radial-gradient(circle at 53% 83%,rgba(255,255,255,.21) 0 5px,transparent 6px),radial-gradient(circle at 60% 14%,rgba(255,255,255,.28) 0 3px,transparent 4px),radial-gradient(circle at 67% 58%,rgba(255,255,255,.20) 0 5px,transparent 6px),radial-gradient(circle at 73% 32%,rgba(255,255,255,.25) 0 2px,transparent 3px),radial-gradient(circle at 79% 85%,rgba(255,255,255,.20) 0 4px,transparent 5px),radial-gradient(circle at 85% 19%,rgba(255,255,255,.27) 0 5px,transparent 6px),radial-gradient(circle at 90% 56%,rgba(255,255,255,.21) 0 3px,transparent 4px),radial-gradient(circle at 95% 33%,rgba(255,255,255,.25) 0 4px,transparent 5px),radial-gradient(circle at 98% 80%,rgba(255,255,255,.20) 0 3px,transparent 4px)!important}
.resource-yuyai-context{display:grid;gap:7px;margin:13px 0;padding:13px;border:1px solid #cddbea;border-left:4px solid #6b4ec1;border-radius:12px;background:#fff}.resource-yuyai-context label{display:flex!important;align-items:center;gap:7px;margin:0!important;color:#263f5b!important;font-size:.75rem!important;font-weight:850!important}.resource-yuyai-context label>i{color:#6b4ec1}.resource-yuyai-context label>strong{margin-left:auto;padding:3px 7px;border-radius:99px;background:#f0ebfb;color:#6345aa;font-size:.54rem;text-transform:uppercase}.resource-yuyai-context textarea{box-sizing:border-box;width:100%;min-height:118px;margin:0!important;padding:10px 11px;border:1px solid #c9d7e5;border-radius:9px;background:#fafcff;color:#203a55;font:inherit;line-height:1.45;resize:vertical}.resource-yuyai-context textarea:focus{border-color:#7455c1;box-shadow:0 0 0 3px rgba(116,85,193,.11);outline:0}.resource-yuyai-context small{color:#6d8092;font-size:.62rem;line-height:1.4}
.resource-yuyai-context[hidden]{display:none!important}.resource-analysis-note{display:block;margin:8px 0 2px;padding:9px 10px;border:1px solid #cfe1dc;border-radius:9px;background:#f8fcfb;color:#346b62;font-size:.65rem;line-height:1.4}.resource-analysis-note i{margin-right:5px;color:#087d6a}
.pd-gemini-review{border-color:#cfc4ec;background:#fff}.pd-gemini-review summary i{color:#6c45a8}.pd-gemini-review-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:14px}.pd-gemini-review-grid section{border:1px solid #dce4ed;border-radius:12px;padding:12px;background:#fbfcfe}.pd-gemini-review-grid h4{margin:0 0 10px;color:#203b59}.pd-gemini-review-grid label{display:block;margin:9px 0;font-weight:700;font-size:.83rem;color:#36516d}.pd-gemini-review-grid textarea{display:block;width:100%;margin-top:5px;resize:vertical;font:inherit;font-weight:400;line-height:1.45}@media(max-width:760px){.pd-gemini-review-grid{grid-template-columns:1fr;padding:10px}}
.pd-plan-connected.pd-load-error{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;background:#fff6e6!important;color:#805400!important;border:1px solid #efcf8b}
.pd-plan-connected.pd-load-error .btn{background:#fff;color:#805400;border:1px solid #d9ae55;font-weight:700}
.pd-html-tabs .pd-html-import{display:inline-flex;align-items:center;gap:7px;border:1px solid #b8cce0;background:#fff;color:#174d87}.pd-html-tabs .pd-html-import:hover,.pd-html-tabs .pd-html-import:focus-visible{border-color:#1767b8;background:#edf6ff;outline:0}.pd-html-tabs .pd-html-import+.pd-html-expand{margin-left:auto}@media(max-width:760px){.pd-html-tabs .pd-html-import{padding-inline:10px;font-size:.7rem}}
